分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
% E3 y! A6 b6 @4 P" P
8 ?' b3 t# p& j& I
  1. [PHP]
    ; B3 P1 O* P4 L/ ^1 @$ K& v

  2. 7 q' r* U' F# E' ~
  3. ;;;;;;;;;;;;;;;;;;;
    + H6 q1 k( b& u1 B2 e  N% p" g# W
  4. ; About php.ini   ;: O: E2 S# h5 C% F( y  c
  5. ;;;;;;;;;;;;;;;;;;;( N1 C! l/ z+ {8 T
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    8 {& T; Y0 f, x  L
  7. ; configuring many of the aspects of PHP's behavior.2 o" V. g, X! n4 s3 S& c
  8. , n& c- g  g# G( E3 \! P) i  z0 h! }$ Y
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * o# P8 |" g0 Z1 ^
  10. ; The following is a summary of its search order:
    * p8 w# y1 {2 C- Y
  11. ; 1. SAPI module specific location.
    7 J$ \, b5 P; h
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)  a* V1 P4 a! H: P9 t( m5 _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    : Z6 \7 o: X6 B' G4 X
  14. ; 4. Current working directory (except CLI)
    & U/ H) e% C$ Y+ N& i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    7 ~" m4 p( K6 i1 j" T0 K
  16. ; (otherwise in Windows)8 y* n' [* H7 x4 y$ j
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      R& b/ Q. @4 m5 d
  18. ; Windows directory (C:\windows or C:\winnt)
    $ }4 e* Q4 A9 C6 ]7 F
  19. ; See the PHP docs for more specific information.8 _. n& T$ r! I
  20. ; http://php.net/configuration.file
    9 r- B. y6 m- E
  21. - |! r$ ]4 F2 P& O' U0 S
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    $ M- W+ r8 s3 ^; r6 V$ l
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    * E  x$ |& j& B% j
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    # B9 X( A; U: W0 I9 Z" X8 ?# O
  25. ; they might mean something in the future.
    " m: z, h+ t( \- y' q9 J! i
  26. ! y  k: A, [" h
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " n( k( F9 I. x9 p  v
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # m/ v5 f9 g  u6 }! Q
  29. ; following the section heading [HOST=www.example.com] only apply to) T9 n  U4 j2 D3 n/ U# p
  30. ; PHP files served from www.example.com.  Directives set in these
    ( P' x% R3 e" L) R# r3 D" B, T
  31. ; special sections cannot be overridden by user-defined INI files or
    9 Q7 {' B4 j# X- k/ L! O! p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    , [' ?6 W4 U) R4 ~2 S" l& a1 v
  33. ; CGI/FastCGI.
    9 Q' d8 |& B: a# m' {7 ~
  34. ; http://php.net/ini.sections. y, I, N: g) T2 G. J# |; G

  35. ) S' ?  Y2 o& f: N' Y
  36. ; Directives are specified using the following syntax:
    2 s; m* b+ r) H" e: v7 D; q4 L
  37. ; directive = value) Z4 ~9 e+ E, f* x9 a
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.- G/ m0 c3 l4 X' Y5 k( H
  39. ; Directives are variables used to configure PHP or PHP extensions.3 e8 w. ^& G9 z/ l! ^; [
  40. ; There is no name validation.  If PHP can't find an expected
    % y. c6 Q& Q& m5 s) G
  41. ; directive because it is not set or is mistyped, a default value will be used.8 ~3 A8 l0 Q' Y

  42. " \7 x. q0 X/ V" [' Q! X
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one$ x  c$ g" U: ]; |
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression5 l, g  Z9 J6 @+ w* r1 ~  c
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 x3 l+ i7 M; {( s
  46. ; previously set variable or directive (e.g. ${foo})
    " `$ d; H  k0 K. c: V
  47. - S# K5 w6 Q3 @4 n
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    7 G7 w7 \8 v# o5 v! F1 `: {' R
  49. ; |  bitwise OR
    ; F" R6 t' H) c/ k. I
  50. ; ^  bitwise XOR" L* _' h& T+ O. t/ \/ a
  51. ; &  bitwise AND5 M# _; F/ o: a. @- T' C& h
  52. ; ~  bitwise NOT! R) d5 A" h' W  O- _
  53. ; !  boolean NOT
    / Z" T4 u* _) |
  54. / D+ h& s, t( s0 X: Q% G
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 p/ X( {* ~$ I' t+ q- r: a
  56. ; They can be turned off using the values 0, Off, False or No.
    1 c- Q' e; i; h  [7 s

  57. - ]3 ]* \! r  R% t1 Q
  58. ; An empty string can be denoted by simply not writing anything after the equal5 X/ o2 _9 X+ _0 j. U
  59. ; sign, or by using the None keyword:
    2 m3 W$ A2 F0 I* J: o/ A

  60. 9 i& `& P+ p6 ^3 a# {$ @
  61. ;  foo =         ; sets foo to an empty string
    1 [5 _3 f+ M" z1 b
  62. ;  foo = None    ; sets foo to an empty string
    1 N* Y4 j, _: c) o1 e
  63. ;  foo = "None"  ; sets foo to the string 'None'2 t( c$ r6 L4 }! b9 O1 f! o
  64. . T& J$ r5 Y0 v& y, m
  65. ; If you use constants in your value, and these constants belong to a
    1 c0 K, F/ e0 K4 P9 N* W( q" n
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 b/ N, g0 v( B
  67. ; you may only use these constants *after* the line that loads the extension., n/ b6 n# |( |8 X( I( a

  68. ! j: v0 z9 U+ @" D+ j" w
  69. ;;;;;;;;;;;;;;;;;;;
    / X& _! z& G  K
  70. ; About this file ;/ R% U$ c+ f4 u* i( _& ]' x
  71. ;;;;;;;;;;;;;;;;;;;3 V4 m1 t- X- b2 ]; y# x
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    / g; D& d5 ^2 U& U7 c
  73. ; in production environments and one that is recommended to be used in$ \$ O  Y# d# M, w( I/ _
  74. ; development environments.( r/ v, J8 b: l" }1 I& q
  75. 5 D  U0 h1 g: }
  76. ; php.ini-production contains settings which hold security, performance and
    . }  k( d* R- Q4 c8 @
  77. ; best practices at its core. But please be aware, these settings may break
    : F2 b% J4 A& N. x+ }
  78. ; compatibility with older or less security conscience applications. We$ P8 J3 T- N: w4 K) D
  79. ; recommending using the production ini in production and testing environments.) ]( c; j, B1 z$ P: R9 W

  80. 1 F4 R, ?- j8 U" U6 B8 x3 X  n
  81. ; php.ini-development is very similar to its production variant, except it is
    5 C5 L; [1 q* }* A  c; P
  82. ; much more verbose when it comes to errors. We recommend using the  S8 i5 x$ u& s6 r  \
  83. ; development version only in development environments, as errors shown to
    . F* g7 @% g2 B, j
  84. ; application users can inadvertently leak otherwise secure information.
    . z' w: p3 T& D; G. B3 H' M
  85. 9 _, s1 g- `1 z9 q
  86. ; This is php.ini-production INI file.
    7 z: s/ g/ A3 ?% Z+ Q

  87. 7 D( Y- P2 z. Z4 J: o2 @$ a
  88. ;;;;;;;;;;;;;;;;;;;
    & t. O- O' ~8 ?' `+ U+ a7 q
  89. ; Quick Reference ;/ T4 o  [* E% w* T' U
  90. ;;;;;;;;;;;;;;;;;;;; ?4 l- V7 d# {. O% Z
  91. ; The following are all the settings which are different in either the production3 Y( r$ x9 K2 M' \0 S
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      s; W* x3 g) l# p- L: S, J5 {
  93. ; Please see the actual settings later in the document for more details as to why# l/ r* F0 ~% \* `8 Y
  94. ; we recommend these changes in PHP's behavior.% p% M. C3 y7 i7 z. g5 c0 x

  95. " ?" u$ x9 }* J" }( {$ l
  96. ; display_errors4 `; _, @' }  z  l
  97. ;   Default Value: On
    . ?6 K# ?& r1 ^9 u5 C9 m2 |( h$ a
  98. ;   Development Value: On% a2 W; z1 e2 U0 [8 X7 V
  99. ;   Production Value: Off' L! R0 ~7 T: j. E: M

  100. ; N9 j; T5 K1 b) X
  101. ; display_startup_errors  R0 L+ S' ~4 O+ x% q
  102. ;   Default Value: Off  n  @) m( B; O
  103. ;   Development Value: On2 G! m  p( \/ }" Z3 Z3 m* R- z( L
  104. ;   Production Value: Off
    7 d% O' O$ q) t8 X

  105. 3 m4 s( E9 Q% `' D- g. d2 h8 c
  106. ; error_reporting1 |7 z, p- s- U* X- B! v+ e1 E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  ~7 ]! t: _& ]) q( f  s5 b* N8 W
  108. ;   Development Value: E_ALL
    1 u( R8 N. }# K9 n
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 \: _; u5 `4 Q  ~
  110. , b  V' V% H% @, O
  111. ; html_errors6 L8 c1 f- Z# O, [  t0 Y
  112. ;   Default Value: On
    # F9 K; G  H* S" V8 h0 h
  113. ;   Development Value: On, Q8 u. l8 ]- l0 Y" l% e6 D" q
  114. ;   Production value: On6 q5 J1 v0 H5 T9 E

  115. ' Y8 G: Q; i- ?% x( e% U
  116. ; log_errors
    ; v7 @- o4 q$ u3 P  o/ r' m
  117. ;   Default Value: Off: X9 c, F6 t! S5 Y
  118. ;   Development Value: On
    ) D- `# c1 U, g  n# A  Q
  119. ;   Production Value: On0 p* Q8 y4 F$ j' v
  120. 1 K- f5 L) X" @2 B5 O, E; Y
  121. ; max_input_time  N' L1 M$ J( z+ d4 [0 u
  122. ;   Default Value: -1 (Unlimited)
    5 A  }2 ]$ I' z
  123. ;   Development Value: 60 (60 seconds)& {0 h; k5 O2 E; a
  124. ;   Production Value: 60 (60 seconds)
    # B) F6 p# P! k6 w2 h
  125. , |! F7 q* z! r' \1 P
  126. ; output_buffering% A) f# B1 q$ e! W
  127. ;   Default Value: Off5 Z6 O3 {' h: \6 w) [( O4 s  _
  128. ;   Development Value: 4096
    # g- L' G9 y8 }; h: Q/ s$ W4 w8 W
  129. ;   Production Value: 4096, y' I# C& \, R3 Q$ Z& Q

  130. * e- \/ `, M; s- D: A. @
  131. ; register_argc_argv8 B* l& `" z* U! Q2 `! p1 T/ D
  132. ;   Default Value: On& H+ W2 i" ?3 X
  133. ;   Development Value: Off1 r4 g4 n6 b9 W+ |  Z7 {
  134. ;   Production Value: Off: i$ z+ W0 C5 ~9 R6 W1 o( g! {
  135. 4 ~, h/ F. z2 R' L
  136. ; request_order9 x8 C& }: T) g: B" v
  137. ;   Default Value: None
    ! T$ l$ Z3 D6 Y7 Y) N! \
  138. ;   Development Value: "GP"
    ! c8 ~" y4 |/ V" U# r( s
  139. ;   Production Value: "GP"
    : Y* c" ]7 s& n& Y6 i
  140. + x. b( P9 p. s) p' h6 C: M
  141. ; session.gc_divisor
    3 `  q8 M6 u% F3 f- Z- c
  142. ;   Default Value: 100
    , ~+ T& k! E- v: ]1 E7 |, {
  143. ;   Development Value: 1000: o# s. m( P  l( w! S6 x1 y
  144. ;   Production Value: 10004 l7 }& z2 c% e/ T5 j4 W% [$ g

  145. * c: E! g8 d. ~. ]
  146. ; session.hash_bits_per_character9 _- I% L. m) u+ T' ]8 h2 M$ O
  147. ;   Default Value: 4" v, x( J5 V: j4 G3 w
  148. ;   Development Value: 5) }' g- I' O3 B' V
  149. ;   Production Value: 5
    ( x! ?6 ~2 A! }7 F3 ~9 `
  150. 6 {1 u, L9 E, F2 U2 b4 k! e
  151. ; short_open_tag
    " f' z# N, b+ }1 {! u0 u$ Y
  152. ;   Default Value: On
    % ^8 b0 W2 f$ V6 j5 P# g1 c: R
  153. ;   Development Value: Off
    9 D5 N5 G& W9 i% `/ \: d
  154. ;   Production Value: Off
    + I2 Q) c' _; W) ^8 U* Q

  155. ; J+ K6 R! Y  ?- B) e
  156. ; track_errors
    * x; }1 c3 \/ {7 |) Y
  157. ;   Default Value: Off9 `$ A7 p. m5 z5 M# j3 L
  158. ;   Development Value: On
    8 }$ [% H0 l0 a1 O! j0 ^/ I1 {  q
  159. ;   Production Value: Off
      o% S) X8 i* F( U0 J! |2 a7 |- [! _

  160. - @* G; M! }( }
  161. ; url_rewriter.tags
    + T' B; L4 H. {2 S4 c4 J! Y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' s* J  z$ P4 u0 o( a1 k
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 l4 Y, A6 t, d5 g$ l; c/ v
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . X  w& {8 }0 t& B  ~2 M- I

  165. 9 d# m! I' `4 [# x
  166. ; variables_order
    ' l5 v0 q1 C9 ~
  167. ;   Default Value: "EGPCS"
    3 z7 ~& `  O; y& Q4 v
  168. ;   Development Value: "GPCS"
    - R  u% v9 i( p; x. ]* x! L( U
  169. ;   Production Value: "GPCS"0 U- Y0 j7 T; {8 ~

  170. : W8 l( W3 Y# U1 G! |
  171. ;;;;;;;;;;;;;;;;;;;;7 p4 t9 h9 J! r/ f+ B  v; G
  172. ; php.ini Options  ;5 L. j( Z7 g0 W5 C% d% ]
  173. ;;;;;;;;;;;;;;;;;;;;
    ' [/ A- f. c9 R$ `0 k3 b
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    3 M3 u* K/ Z3 f5 a. ^; Q" b
  175. ;user_ini.filename = ".user.ini"/ [2 Q/ }- C% A! o* p

  176. 7 F* |  {  C  s0 ?
  177. ; To disable this feature set this option to empty value' e1 G" f, z4 }6 v5 Q
  178. ;user_ini.filename =4 k% [. h6 n" e  `

  179. 5 u) |7 i1 K6 F
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)5 {/ a5 u. ]' w- F' f* f* C' l0 m
  181. ;user_ini.cache_ttl = 3006 X9 s. G. o1 J- |3 U: B

  182. 4 ?, m0 ]7 M3 ]) d0 }4 `/ n# J
  183. ;;;;;;;;;;;;;;;;;;;;- \6 Q# `" x5 j8 |* y
  184. ; Language Options ;4 P5 c* h3 Q( V# [. r4 X
  185. ;;;;;;;;;;;;;;;;;;;;* n+ v5 d6 a8 H# a7 B
  186. 7 @! J* e3 A" e' a; _" C
  187. ; Enable the PHP scripting language engine under Apache." Q& L/ w; b+ Z. ~+ U
  188. ; http://php.net/engine, A; g. W5 S: n/ @6 n5 }* f3 n
  189. engine = On9 D1 y& Z+ ?/ p0 w& r' C# z

  190. ) z, c- M2 H1 W1 X
  191. ; This directive determines whether or not PHP will recognize code between
    , L  K# l9 _7 v: N5 O1 y4 g& q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    & n3 |- b9 b) q: N) I2 J
  193. ; generally recommended that <?php and ?> should be used and that this feature9 R! D+ |/ J7 y$ G! B
  194. ; should be disabled, as enabling it may result in issues when generating XML
    9 _+ B+ _2 e, _; A7 \* O3 H
  195. ; documents, however this remains supported for backward compatibility reasons./ j! B; H/ y6 q4 Z# @$ V
  196. ; Note that this directive does not control the <?= shorthand tag, which can be/ M: y( B* `. o8 x
  197. ; used regardless of this directive.9 X. c) b7 ^4 q, _
  198. ; Default Value: On  C, b) q7 C' C! t4 N  Y) g4 J
  199. ; Development Value: Off
    0 r0 H5 n& e) f! s, F* j7 g$ ^
  200. ; Production Value: Off8 `7 s6 W' w- [8 W5 j" E+ j
  201. ; http://php.net/short-open-tag
    7 v# N2 Y( N. ?. D+ H% L. v
  202. short_open_tag = On
    * O4 E6 N. w! k) b, z

  203. + N! Q0 t; ^' z& ^1 z$ p- t
  204. ; The number of significant digits displayed in floating point numbers.1 f. Q3 e2 e2 ~- p6 t+ J
  205. ; http://php.net/precision( C8 h2 L7 m! K9 Z* Y
  206. precision = 14. b( E# x& J' F& D) F4 P! O% T
  207. 3 R8 a; {, g% Y# K6 O- V. L
  208. ; Output buffering is a mechanism for controlling how much output data
    1 \% y$ q/ d7 a5 b1 T4 J2 {. W! I
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; f- ?% ~2 d5 G( F( S! y
  210. ; data to the client. If your application's output exceeds this setting, PHP
    2 X9 `+ a) _5 R. v6 z6 b
  211. ; will send that data in chunks of roughly the size you specify.
    + i% o9 |0 r; A0 p8 X% f
  212. ; Turning on this setting and managing its maximum buffer size can yield some9 B& h: C0 F  i) r
  213. ; interesting side-effects depending on your application and web server.
    9 V6 Z% F8 d" s0 ^/ f, E) S
  214. ; You may be able to send headers and cookies after you've already sent output
    ( G4 N  {/ c( A8 L1 D
  215. ; through print or echo. You also may see performance benefits if your server is7 z# `, Y' ]; q& C7 f
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    0 J4 J+ H) X$ R' K: z& n
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 H+ R3 C7 ]+ y% a3 V9 C  M- e' g+ W
  218. ; reasons./ J* |% ]5 z6 ]! @+ T7 p
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 ~4 e5 o+ w$ J; B: W% }8 U
  220. ;   functions.: y! Y, B& C9 P7 A" x
  221. ; Possible Values:
    8 F: Z' o8 x; S5 D
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    % n* S8 s; w' v/ J
  223. ;   Off = Disabled
    ' z  Z+ [* S+ g$ ~5 F1 k
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , U' x7 G, T8 ?' P$ ?7 B: f6 \
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ |+ o+ ?% |' U3 @0 I3 [' q
  226. ; Default Value: Off
    $ G( u; A7 j" H; q4 Q# m7 L5 q' e
  227. ; Development Value: 40966 s' N' i2 c( S9 p( {
  228. ; Production Value: 40965 U% z  k( d+ }4 l( j3 F
  229. ; http://php.net/output-buffering
    7 V3 j: Z4 i5 Y; @. w7 |/ J
  230. output_buffering = 40961 n, j' ]  x! l) H' p- ^
  231. 0 ]5 W0 e- x' q5 z$ }
  232. ; You can redirect all of the output of your scripts to a function.  For; w% x5 [' B( M1 b4 d8 Q
  233. ; example, if you set output_handler to "mb_output_handler", character
    $ b4 F0 v7 |5 b
  234. ; encoding will be transparently converted to the specified encoding.4 r) u/ h- T' W
  235. ; Setting any output handler automatically turns on output buffering.8 Z3 |3 k$ I* j; |$ t7 h
  236. ; Note: People who wrote portable scripts should not depend on this ini
    " L* I0 W. p; @
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    7 s) `3 W! b9 h
  238. ;   Using this ini directive may cause problems unless you know what script) E" `4 o  q0 _* t: A/ n& ^
  239. ;   is doing.
    8 p0 I( \6 d* N# G( C6 J
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"* w/ j9 X$ ~! [4 S4 a
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".; V! [4 P% Q7 Y$ \
  242. ; Note: output_handler must be empty if this is set 'On' !!!!1 |0 b2 w2 J; P! U1 b; m$ e
  243. ;   Instead you must use zlib.output_handler.! g/ S9 {+ K3 Q) u# ?. Q* X
  244. ; http://php.net/output-handler  V& m' }4 Z, n/ l* ?
  245. ;output_handler =
    0 u- |/ S, a3 D$ p1 v# n- L9 N
  246. ' K2 d: |# E9 Y, {: v8 P
  247. ; Transparent output compression using the zlib library8 |0 E- [" z  W7 p
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size/ D# Q8 Y. `! h! p" v
  249. ; to be used for compression (default is 4KB)
    ! x' M! [) a8 k7 o. c7 B0 ^
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP3 M2 s7 I) w6 U9 r
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    % ]8 x) X% U! B# c, R/ K+ a
  252. ;   compression. If you prefer a larger chunk size for better$ P5 l+ j4 X9 r& w
  253. ;   performance, enable output_buffering in addition.6 J7 A+ N# N9 F' F
  254. ; Note: You need to use zlib.output_handler instead of the standard
    & R) ~( w+ M. d( r7 u) P1 _$ h
  255. ;   output_handler, or otherwise the output will be corrupted.
    9 B/ |* J/ h' H4 v$ K( E0 C
  256. ; http://php.net/zlib.output-compression( V* U3 V* c4 V3 F/ Y+ `% G2 a
  257. zlib.output_compression = Off
    3 k9 Q& b4 I5 Q% Q- s
  258. " `" J% g$ x; n' G
  259. ; http://php.net/zlib.output-compression-level
    $ U. j! i4 X% {
  260. ;zlib.output_compression_level = -1+ c# ]6 I) R* j
  261. % b# |* S# [! X, R- t) X
  262. ; You cannot specify additional output handlers if zlib.output_compression
    $ x! e7 X7 P$ V: @3 Y
  263. ; is activated here. This setting does the same as output_handler but in
    # Z: {# X8 l7 o' {9 r0 y
  264. ; a different order.0 ^7 D: i! S4 n4 q$ X" Q5 i6 K
  265. ; http://php.net/zlib.output-handler
    . g" K5 z# \* o0 n) I% f
  266. ;zlib.output_handler =
    5 v: D. l! H! ~% E
  267. ) }: A+ O% B. S
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    3 ^! Z5 q" Y3 ^6 Q  M' ^5 p
  269. ; automatically after every output block.  This is equivalent to calling the
    4 R) j* {  L. O; |9 v% {
  270. ; PHP function flush() after each and every call to print() or echo() and each
    + G- |8 r& W9 J8 [( u
  271. ; and every HTML block.  Turning this option on has serious performance( j! s  x0 j5 o% f: G
  272. ; implications and is generally recommended for debugging purposes only.2 U& N# U: |5 C4 S; R9 l
  273. ; http://php.net/implicit-flush; I7 c+ P4 ]( j0 B. S$ F
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' P+ E% l" w4 z' w7 v& i
  275. implicit_flush = Off2 W$ U8 Q' }0 q# x- ^" m

  276.   j( p0 G# k- L( `3 u# j
  277. ; The unserialize callback function will be called (with the undefined class'7 e* a2 M7 p* m$ I
  278. ; name as parameter), if the unserializer finds an undefined class
    , `# ~  x0 Z  M5 D7 K7 m
  279. ; which should be instantiated. A warning appears if the specified function is+ z$ l, q! P6 W3 L# X. s
  280. ; not defined, or if the function doesn't include/implement the missing class.
    . C1 |+ z) W# y5 n, p
  281. ; So only set this entry, if you really want to implement such a
    " o" N5 O- ?) O7 q; }4 B
  282. ; callback-function.+ \, _- J. i( C; R) x" i
  283. unserialize_callback_func =
      k! |0 f/ @0 c+ d( w) R

  284. $ {$ v: A# R" N& |# @$ V
  285. ; When floats & doubles are serialized store serialize_precision significant
    , X1 `5 R$ [4 W$ X2 {/ w
  286. ; digits after the floating point. The default value ensures that when floats& W" A1 t# b$ U; ]' e* Z  r# K+ l
  287. ; are decoded with unserialize, the data will remain the same.. r3 Y5 e4 t% l* c7 B
  288. serialize_precision = 17& J  O( n% n0 x; l# s1 i" V& b
  289. 2 J0 Z; K7 H# Y8 w; p
  290. ; open_basedir, if set, limits all file operations to the defined directory- j, ~! p2 f  f
  291. ; and below.  This directive makes most sense if used in a per-directory
    9 {) |% @' _- I2 O! \* q
  292. ; or per-virtualhost web server configuration file.
    6 Y" r( i& E. Z2 {8 t
  293. ; http://php.net/open-basedir
      S) _# f2 S7 R: x4 N& F$ O' M
  294. ;open_basedir =
    ' ~4 H3 q+ B" w! m* a

  295. $ m0 }2 O+ Z; g
  296. ; This directive allows you to disable certain functions for security reasons.
    7 {8 X/ R4 Y9 A. p7 u/ l
  297. ; It receives a comma-delimited list of function names.
    ' H& f& F1 C5 T2 l) }
  298. ; http://php.net/disable-functions
    $ W8 _: s$ |7 |
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    % w" x5 M/ k: P$ P& |  Y

  300. / i6 Y+ g$ ^+ q. Z3 d- u
  301. ; This directive allows you to disable certain classes for security reasons.
    1 D5 ]+ e+ u1 O
  302. ; It receives a comma-delimited list of class names.. |# Y, B5 B9 o, q8 v9 }0 f# ~1 l
  303. ; http://php.net/disable-classes8 y0 X& v4 f' A( k0 P
  304. disable_classes =$ V) \' Q9 c3 ^) u4 B$ A: y% T

  305. . d5 o  K3 j6 u* l
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in, p, M% E0 D, `; T; V9 q  J
  307. ; <span style="color: ???????"> would work.
    4 }, S+ x, f6 [( a) B4 R
  308. ; http://php.net/syntax-highlighting5 P6 b! |# m( g, b
  309. ;highlight.string  = #DD00009 e# c( H) f1 |7 k
  310. ;highlight.comment = #FF9900
    # {2 k6 C2 d% Y  ?
  311. ;highlight.keyword = #007700
    : N+ V! f7 G0 N1 q4 R. H
  312. ;highlight.default = #0000BB0 I6 p2 o! x- K- W
  313. ;highlight.html    = #000000' K, a* g; B% m/ ]5 m) m+ C5 n
  314. 2 N6 [& r# u+ A5 I8 S
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ' r- H  P- l, h5 Y
  316. ; the request. Consider enabling it if executing long requests, which may end up7 U$ k6 u  W) x# z1 Y/ ]
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior4 h$ W6 Y, {) A
  318. ; is to disable this feature.
    4 |& _+ W2 A& F' F3 L
  319. ; http://php.net/ignore-user-abort
    8 A" \3 m6 j* C2 w1 p7 d) Z2 J
  320. ;ignore_user_abort = On3 }9 W- s: h) |8 g' s2 X

  321. & p3 T# n3 a) }- I" t
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    7 i0 \" w9 j$ r/ J- J
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    & f; h7 t; u0 f( Z+ |# N' j
  324. ; the file operations performed.
    + f2 [$ v% p( V( W4 V) j% {
  325. ; http://php.net/realpath-cache-size4 ?/ u" t' y0 V8 ^: H# v$ D8 e
  326. ;realpath_cache_size = 4096k( \" ]: z$ D4 @3 o
  327. ; o, J  \4 u" Y7 @" O7 `' F# @
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    " O+ I$ W- |. @# T. E( k) {7 y+ x8 q
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    3 `3 U  x( ~" U; ?6 i
  330. ; value.
    & X  t& O5 @( D$ s
  331. ; http://php.net/realpath-cache-ttl
    # K% y& X0 l: Q8 _& U4 E& ^, |
  332. ;realpath_cache_ttl = 120
    / q7 [3 d8 m3 z! i
  333. $ @! M/ q2 C" ~+ c* u. M7 y
  334. ; Enables or disables the circular reference collector.
    * `4 g# @5 y$ {( F- ?" d: M
  335. ; http://php.net/zend.enable-gc+ }$ X7 K4 _% d- h8 D% V) H8 ^% N
  336. zend.enable_gc = On6 Z2 T: r9 ~; G+ s% ]. t% s$ z
  337. - D# `! y, }& f* G( ], o
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    9 H% I$ I; d. q! C
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- d" d$ P+ Y. Y, L& H
  340. ; encodings.  To use this feature, mbstring extension must be enabled.8 N+ M7 M# _. h+ d
  341. ; Default: Off
    , q% }# U- C$ M$ a3 E* x" G
  342. ;zend.multibyte = Off3 N6 |1 ~$ l0 j8 P8 T

  343. , D# r! V- W3 g1 p
  344. ; Allows to set the default encoding for the scripts.  This value will be used( k8 A0 }) S% k% s: Z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.+ L3 O% X8 ~. O0 I8 j
  346. ; Only affects if zend.multibyte is set.
    - x( k" `& r! t# ]6 I
  347. ; Default: ""
    . z; |' R' d! t0 y( G
  348. ;zend.script_encoding =
    $ T' V2 Z$ K/ w6 @5 S  `
  349.   k+ I# {% n: X& m) \
  350. ;;;;;;;;;;;;;;;;;& K- w7 A& g/ a4 T
  351. ; Miscellaneous ;
    & C- T7 p- M4 j! w
  352. ;;;;;;;;;;;;;;;;;$ g) M6 u# A3 o; Q& M: ^0 e
  353. 6 T9 V5 N& D5 l
  354. ; Decides whether PHP may expose the fact that it is installed on the server) l+ J2 ]: J8 b4 c$ @
  355. ; (e.g. by adding its signature to the Web server header).  It is no security. J1 O9 i' f3 y8 [
  356. ; threat in any way, but it makes it possible to determine whether you use PHP# R* W" K+ E6 x( D# Z0 O9 p) H
  357. ; on your server or not.$ b, y& Q3 s  e* }
  358. ; http://php.net/expose-php
    $ l1 s  d0 [6 V/ g$ N4 Z
  359. expose_php = On' i* z& m/ Z6 w+ z' k5 v

  360. ; ~4 v) e! X+ Z$ i6 G; B5 [
  361. ;;;;;;;;;;;;;;;;;;;
    - @3 J# W, E1 v; H% d' z% i5 T
  362. ; Resource Limits ;3 S/ j- U8 c3 r7 I) f# @% v, h
  363. ;;;;;;;;;;;;;;;;;;;
    6 e. Q, a) i) r) a2 y

  364. ) C. \4 Y3 }. z
  365. ; Maximum execution time of each script, in seconds
    & d3 p* I$ h% u1 u0 W0 E; m
  366. ; http://php.net/max-execution-time
    ! a/ t0 N2 Z+ ^$ u9 b
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI" _9 I- |" Q) c" i
  368. max_execution_time = 300
    ) f: D9 L0 U4 c! J) c8 R

  369. 5 N% o8 p0 m0 t$ L% D+ Y; Y2 W
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( d' v5 [, |, n& Y  P2 A5 d
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 X5 Z6 R6 @  Y) T: P2 w6 u. S
  372. ; long running scripts.% t+ z2 C% K# c' C
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI) g! d' v/ `% v6 ?  ~6 z7 G+ @
  374. ; Default Value: -1 (Unlimited)+ i+ \4 f: c0 M# A" T! g! A7 ~, D) Q+ Q
  375. ; Development Value: 60 (60 seconds)
    : R/ L+ ?$ |2 \( P
  376. ; Production Value: 60 (60 seconds)
    . p+ T/ J" ~7 S/ E
  377. ; http://php.net/max-input-time8 a  g+ W0 C4 x; q
  378. max_input_time = 60: Y" e) i1 {0 L6 Y% u
  379. + q9 I5 a+ {7 H$ m7 y7 X
  380. ; Maximum input variable nesting level
    / ]# }; d' f4 {( G# |6 N
  381. ; http://php.net/max-input-nesting-level! F- E" j9 Q& e2 Z
  382. ;max_input_nesting_level = 648 \' a6 [1 k2 k0 K* p+ B

  383. 4 [, D) T; {* Q8 }/ v# z+ Z8 l
  384. ; How many GET/POST/COOKIE input variables may be accepted2 ?5 N7 E; c- ^' P
  385. ; max_input_vars = 10008 s; e0 x. \& V
  386. # g- h$ ?: e# N  k1 W) e
  387. ; Maximum amount of memory a script may consume (128MB)
    : w( u* e( r2 F+ W- S8 U, @' `
  388. ; http://php.net/memory-limit8 s' a: l  c$ t- \9 ]5 z+ B
  389. memory_limit = 128M
    - R  z2 W- `6 c1 D% }7 W
  390. 2 a2 I% l4 U% j% M
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 J0 D4 b! [2 W( m2 D) K
  392. ; Error handling and logging ;
    * w) J* E2 R6 B7 d
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: ]9 v( k  ]0 K3 W& K% o

  394. 4 t* d7 q7 p# o1 ?) V
  395. ; This directive informs PHP of which errors, warnings and notices you would like0 V8 C! }: d3 |4 l* t& W
  396. ; it to take action for. The recommended way of setting values for this% L1 t- `; U& R
  397. ; directive is through the use of the error level constants and bitwise
    $ J0 n7 S2 C' n& M* B
  398. ; operators. The error level constants are below here for convenience as well as
    3 ^# x7 Y) M% I5 f( t$ `. A
  399. ; some common settings and their meanings.
    " t; f+ v* l2 y0 q1 b' e
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT4 e: B  Q- t% f( I* X2 u
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      ?4 q+ P/ ?% L3 l) O
  402. ; recommended coding standards in PHP. For performance reasons, this is the& N0 K! }4 {! }$ E+ f6 k3 T
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    & r9 [+ ]+ \8 Z8 p4 Z: f
  404. ; resources complaining about best practices and coding standards. That's what
    0 V4 @$ v, a6 y5 F" ~
  405. ; development servers and development settings are for.
    4 _. Q+ L& x+ z! C' S4 f6 \) _
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    * M/ K; z8 z; N7 @3 e! Y
  407. ; means it pretty much reports everything which is exactly what you want during+ r; B/ A& k0 t: ^6 @* N3 k
  408. ; development and early testing.
    ' }6 \9 s8 }0 U0 j0 b+ L* i3 q5 h
  409. ;0 N" k& `3 p- e1 o. ]" t
  410. ; Error Level Constants:
    ! M6 P. B4 X6 c  i/ P6 S
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)' J! \* [+ j; ~) T0 r
  412. ; E_ERROR           - fatal run-time errors7 D& P/ E; g/ F8 A& A7 C! Z$ Q. G
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors, W; b1 F4 H1 n' O$ c
  414. ; E_WARNING         - run-time warnings (non-fatal errors)+ d& Z+ U4 e+ h& X; Z% R+ [
  415. ; E_PARSE           - compile-time parse errors: r6 N/ ?1 O$ N1 d6 ]& e
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) a, @- S( W; O, T1 s- f
  417. ;                     from a bug in your code, but it's possible that it was( i7 B' t. K/ `1 m! t3 Q
  418. ;                     intentional (e.g., using an uninitialized variable and" c! |7 G% ~. O
  419. ;                     relying on the fact it is automatically initialized to an5 r" H5 ]" e* ^/ u" ~' a
  420. ;                     empty string)
    $ \7 y3 V9 @% g/ d& k; @" u
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    % ?7 V4 c2 @( J" f" T2 p: D. \
  422. ;                     to your code which will ensure the best interoperability
    , U* q( G6 d4 c; S: O* n) g# i
  423. ;                     and forward compatibility of your code
    . R/ u) P. D# O$ ^( F; I+ k
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    8 L6 C# G' |3 X$ D/ h2 c
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's! ^( }9 Y) a8 U: W
  426. ;                     initial startup9 s) T' q) Z  Z. n% ?2 u* s/ \. |
  427. ; E_COMPILE_ERROR   - fatal compile-time errors0 y7 I2 t8 ^( J, m. f
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    / E$ @: @  z5 N, S4 i
  429. ; E_USER_ERROR      - user-generated error message
    : D  X- W5 A" Y- `; x. ?
  430. ; E_USER_WARNING    - user-generated warning message
    ! d/ k; G* A% k1 |
  431. ; E_USER_NOTICE     - user-generated notice message# L) d4 `$ E$ p! d% k) ]
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    0 c+ I% @( Y, a8 g4 H! l$ t
  433. ;                     of PHP5 V; b6 D( U0 s- N
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    # x% R0 O+ n% h) @  ]# K* ?
  435. ;& C( G- P- ], D1 w$ A/ z
  436. ; Common Values:
    - F1 r" f9 {0 |  G
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 L: |& p) T) V# A
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + K: z* K, E' }( m6 ~1 E+ z
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    : {/ h! f3 s8 A, u' D0 ^# O3 Y2 j
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)3 o7 }' \# ?5 Z  t
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* X' o  C9 f6 g& F
  442. ; Development Value: E_ALL
    : B# ]! q" U+ [  L: f# z& U
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 U! P& y( ~. |* g3 l6 R% y
  444. ; http://php.net/error-reporting" x1 w9 ?6 @; F# Q
  445. error_reporting = E_ALL & ~E_NOTICE$ M" u4 ~' U# \7 f  b
  446. . b; t+ E  ^: {  z, v  D! c. J$ I
  447. ; This directive controls whether or not and where PHP will output errors,
    ! S4 w- c. A" A
  448. ; notices and warnings too. Error output is very useful during development, but
    4 D0 G7 P) \: y7 z. A
  449. ; it could be very dangerous in production environments. Depending on the code6 f7 u9 K3 k; s* D( [: ^% B) p
  450. ; which is triggering the error, sensitive information could potentially leak* F; W9 s8 b2 m+ t+ `; r$ W
  451. ; out of your application such as database usernames and passwords or worse.! m9 e. f# ~. k) ?% {/ u7 _
  452. ; For production environments, we recommend logging errors rather than' q" p: R- G9 ]; l
  453. ; sending them to STDOUT.6 k- A/ o, S& r0 F
  454. ; Possible Values:6 t) }/ V! R5 _
  455. ;   Off = Do not display any errors" e6 L1 x9 U5 m
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!); h9 \' c8 C8 K1 J% u. O% C
  457. ;   On or stdout = Display errors to STDOUT
    * o) k. g) ?+ h! q8 K7 E, F7 i7 q
  458. ; Default Value: On
    ; M+ D1 h+ D7 c- e3 A
  459. ; Development Value: On$ n3 g5 H+ i$ W- X* ~4 v
  460. ; Production Value: Off
    # o' E* f* B7 r
  461. ; http://php.net/display-errors
    ) J' b# |! H1 M& K/ D8 F
  462. display_errors = On
    ) J" Y# D" U( G  [0 A
  463. 6 s0 h8 h: H+ V8 P
  464. ; The display of errors which occur during PHP's startup sequence are handled
    0 Q! D: \5 d- j+ v( D1 ?
  465. ; separately from display_errors. PHP's default behavior is to suppress those8 ^. O, L- T  A8 }3 y
  466. ; errors from clients. Turning the display of startup errors on can be useful in7 c' y% m4 k9 M
  467. ; debugging configuration problems. We strongly recommend you  B4 V$ R2 A6 Q2 L
  468. ; set this to 'off' for production servers.
    : r( [; c' E. f8 Z# L, U
  469. ; Default Value: Off
    . z+ Y  o# \7 ^. w) \
  470. ; Development Value: On
    8 D  E$ p) C7 W0 y
  471. ; Production Value: Off
    / z7 P' J& r* y* T: Z7 h* ?9 U
  472. ; http://php.net/display-startup-errors
    0 t  \+ Q5 x$ `7 H2 v: P: k
  473. display_startup_errors = Off8 k- S* r. ]0 t7 W% N- }; E

  474. + r" J; |( G4 u5 H
  475. ; Besides displaying errors, PHP can also log errors to locations such as a) m0 F. [* X2 o+ f
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ I6 h8 ]" T+ J/ ]
  477. ; directive found below. While errors should not be displayed on productions3 R/ A5 @. L) ?
  478. ; servers they should still be monitored and logging is a great way to do that.
    . G% a! H8 Z  p7 @* d
  479. ; Default Value: Off7 P  F. s- B0 w0 E$ D; w  w
  480. ; Development Value: On0 L! u$ S# d, j+ i
  481. ; Production Value: On
    $ _  P% B8 u. q& @3 h' ^
  482. ; http://php.net/log-errors
    0 |0 z4 |" U  s& _" z% S
  483. log_errors = On
    % U, p& \- T* J  r
  484. & z/ g* F4 f; V9 z
  485. ; Set maximum length of log_errors. In error_log information about the source is
    6 _$ c3 W& g, m7 b  e
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 f$ Q/ O) L/ `2 t
  487. ; http://php.net/log-errors-max-len
    + @5 D6 \6 a1 n  R. X1 }9 B( G
  488. log_errors_max_len = 1024
    ; \3 q1 B7 |3 Q8 p; l# [
  489. 1 w& k/ s7 H& @- X
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same# P3 e* R  H2 A, ~
  491. ; line unless ignore_repeated_source is set true.! ]; g5 D  v' ^0 E6 `, g
  492. ; http://php.net/ignore-repeated-errors
    , {+ Z7 k* ]$ X6 i. U5 }3 @7 Z
  493. ignore_repeated_errors = Off
    9 S9 M1 d2 t5 b2 z. k; B4 F5 h- W

  494. 1 _8 b4 M$ E6 H/ q: D) w  v  e2 E
  495. ; Ignore source of message when ignoring repeated messages. When this setting7 D4 `7 d# u, v  m% i: H$ c
  496. ; is On you will not log errors with repeated messages from different files or
    , M- p, u1 t" I8 A4 d
  497. ; source lines.
    : I' N7 U; i% N; o
  498. ; http://php.net/ignore-repeated-source
    8 z$ V, u  [' D
  499. ignore_repeated_source = Off
    7 ]/ S$ k: I* |: q( b4 V

  500. % g& {. X# V, _- v1 ]4 h
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on3 n, ^, O/ C' W  W' T
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    7 N% ^/ a+ s9 \) O% X
  503. ; error reporting includes E_WARNING in the allowed list
    ; Z4 _5 P7 n: I% N
  504. ; http://php.net/report-memleaks' z- i" l1 ?0 V8 S  w: J
  505. report_memleaks = On/ |: ^8 W" ]3 t2 N% J6 K
  506. ) M; _$ D8 e, R; y, k$ N9 {% I
  507. ; This setting is on by default.
    4 _7 N$ A: S; B! _- C. F6 E* B3 v
  508. ;report_zend_debug = 04 A! B. |" U7 H# A+ V
  509. 1 ^5 ^/ z2 J9 U6 u* {$ U- f5 Q
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value: y+ X, m; F5 j1 H
  511. ; to On can assist in debugging and is appropriate for development servers. It should. j! D) |8 Q$ A
  512. ; however be disabled on production servers.  [: x" j* _% G( c
  513. ; Default Value: Off# ?0 {8 q/ E2 g* u
  514. ; Development Value: On7 b4 A  l+ x* b$ _6 Y/ z: l! _
  515. ; Production Value: Off
    8 {% y0 i3 S* W0 t+ O% O( I
  516. ; http://php.net/track-errors
    . J2 w) g* _5 f, N/ j8 S
  517. track_errors = Off
    ' Q, M& O% U$ W/ K
  518. . Y. B9 x  I0 G/ a( o
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ' Y' z/ F# p1 x0 O
  520. ; http://php.net/xmlrpc-errors
    6 Z4 }( Q3 d+ t" y5 U8 i8 V) ~
  521. ;xmlrpc_errors = 0
    9 H$ K' ?# S" ~: p. m
  522. 7 h! B* T: p6 }2 X' v( v# M0 K
  523. ; An XML-RPC faultCode" E3 s( J% A$ p3 \2 f
  524. ;xmlrpc_error_number = 0
    $ j3 n! J/ {9 b) c8 K6 R8 x: f% o

  525. # @! p' _% o0 z' S0 h
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    % u5 h8 D" w  X1 `
  527. ; error message as HTML for easier reading. This directive controls whether! R, [' F+ |! q. q& O2 f
  528. ; the error message is formatted as HTML or not.
    5 ]2 p8 a5 ^; e5 M0 L* q/ R) d
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 P$ T0 V+ V: [" k
  530. ; Default Value: On, [9 N  K: f& t: o9 I
  531. ; Development Value: On
    , U! U( b% s! m: ?
  532. ; Production value: On7 b5 o, s. e3 H5 O1 G
  533. ; http://php.net/html-errors
      `2 E  H0 ?4 L4 m7 L2 c: ^
  534. html_errors = On( [" {2 C4 @, y) [9 Y5 ~
  535. ' Z' x, U5 Y, M- i5 a* _
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    2 s5 f9 M3 S, K0 O2 F
  537. ; produces clickable error messages that direct to a page describing the error; k4 I, I+ _" @9 g
  538. ; or function causing the error in detail.; F3 V! N* a+ z* L! A* }
  539. ; You can download a copy of the PHP manual from http://php.net/docs
      A* u" h, D% x
  540. ; and change docref_root to the base URL of your local copy including the
    8 o$ B4 B% Y* D* {9 b  p9 W$ |
  541. ; leading '/'. You must also specify the file extension being used including: Y* w- D2 ]0 R+ k
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which) _( ^7 i# m% S8 W
  543. ; case no links to documentation are generated.
    & F0 n3 j7 B$ b' q) t6 t
  544. ; Note: Never use this feature for production boxes.
    & C8 H/ ?- b0 E. }
  545. ; http://php.net/docref-root! G% {* P% F+ v+ O+ j
  546. ; Examples+ G: R' P" Y5 k, @
  547. ;docref_root = "/phpmanual/"
    - \7 p9 t" G1 y: y
  548. 6 E6 T  e, z% O* x7 e; i2 f# @
  549. ; http://php.net/docref-ext* G! X3 t/ s6 K4 W0 f
  550. ;docref_ext = .html- _/ s6 V0 {0 y8 z7 s, A% w
  551. ' p; X- I* _1 R6 Z9 M, g9 L3 E
  552. ; String to output before an error message. PHP's default behavior is to leave, G/ O  ^' l  v
  553. ; this setting blank.
    " D: f7 ]& d( g& [/ A: W
  554. ; http://php.net/error-prepend-string
    " s3 l6 p3 q( F) l6 w
  555. ; Example:
    8 e2 C8 O/ l4 D9 Y5 Y6 \
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
      s( y9 g. L  s8 ?+ l  j
  557. ; Y5 P# W4 c% P! B" r* l# K3 R+ m0 k
  558. ; String to output after an error message. PHP's default behavior is to leave+ G/ v+ E; l4 V7 `: b
  559. ; this setting blank.
    . a3 ]! R: @) a: V4 B
  560. ; http://php.net/error-append-string
    8 U; A, R7 n. d* l+ s: ~
  561. ; Example:
    + _- Y" X: G6 G& [1 _3 b' X
  562. ;error_append_string = "</span>"+ T; u% f& I* @8 E

  563. ' i. m* h* Y% {7 U) o
  564. ; Log errors to specified file. PHP's default behavior is to leave this value4 c# G" k5 v4 E
  565. ; empty.
    ( d/ M; O/ E9 z3 u  D( _
  566. ; http://php.net/error-log/ j) x! D+ r, W4 k& T4 S
  567. ; Example:
    : z  }( \2 E% \3 A
  568. ;error_log = php_errors.log  K% e9 G& I% d
  569. ; Log errors to syslog (Event Log on Windows).
    : R3 B' [# h( l5 ^" Y% ?7 B! k
  570. ;error_log = syslog* S6 \1 a( k9 j0 @

  571. * h" H: y% D- M! d: J% }
  572. ;windows.show_crt_warning
    1 [. W0 r7 ^  }1 {4 a9 w
  573. ; Default value: 0; Q$ x; i' U6 J* u& O. n+ s4 L# ?6 x. J
  574. ; Development value: 0) \+ ]/ e: F( y5 w
  575. ; Production value: 0
    3 s! ^& k7 o( H9 _$ E1 l/ ]& D9 r
  576. % {( h/ v$ v$ {. i+ _' g, U. \
  577. ;;;;;;;;;;;;;;;;;9 V- ?' H$ r& P- O  a
  578. ; Data Handling ;6 ~  D5 l9 l9 u" O
  579. ;;;;;;;;;;;;;;;;;
    $ ~1 p/ n7 J- H6 T0 n- x
  580. 2 N' Y+ V8 D) a0 e% Q2 t
  581. ; The separator used in PHP generated URLs to separate arguments.1 T& e8 ^: z, j- x
  582. ; PHP's default setting is "&".! U3 k' w) t$ `5 e9 J
  583. ; http://php.net/arg-separator.output: t. r1 @% A( c6 H( h
  584. ; Example:
    - I1 a8 {; q4 @$ G
  585. ;arg_separator.output = "&"( N* b+ V( R$ g( q2 K; ]; z
  586. ( ^& J# d, `: h' y! H0 O
  587. ; List of separator(s) used by PHP to parse input URLs into variables.8 M, y/ Y5 N8 Q7 R, W
  588. ; PHP's default setting is "&".
    . q- M5 I1 ?: \
  589. ; NOTE: Every character in this directive is considered as separator!8 o2 }3 r/ f1 @9 ~" q6 p
  590. ; http://php.net/arg-separator.input- A* i: s; A  a; c
  591. ; Example:7 r* J& z6 L! Z  O
  592. ;arg_separator.input = ";&"$ }, P& }% D* A5 N/ R+ i: ^# P
  593. / m2 o) P  \8 ?
  594. ; This directive determines which super global arrays are registered when PHP0 }1 B/ F. e/ ^9 w: g) z# b& Z
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
      ~6 X5 T, @8 w* g! p4 M# i
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    " M( {+ _- s& j
  597. ; paid for the registration of these arrays and because ENV is not as commonly6 m1 G$ u; x. D2 K3 l
  598. ; used as the others, ENV is not recommended on productions servers. You3 R0 g. ^4 x% T, P  u  X
  599. ; can still get access to the environment variables through getenv() should you# S. b" X! q  ]- \' g0 |  q
  600. ; need to.9 W4 _6 t9 ?0 }* {( b) `
  601. ; Default Value: "EGPCS"
    : @& c( y0 f) e# o$ M
  602. ; Development Value: "GPCS"
    & J" O, N5 p5 ?1 F8 Y/ j
  603. ; Production Value: "GPCS";
    4 W- }  w, s9 r
  604. ; http://php.net/variables-order
    ; r" t- D/ M: u) B# u
  605. variables_order = "GPCS"
    - N$ M; s6 d! I6 r
  606. 6 t2 k! b# C5 @# f5 s" S
  607. ; This directive determines which super global data (G,P & C) should be9 Z. Q, S1 n# C) [/ O- P% X' N8 `
  608. ; registered into the super global array REQUEST. If so, it also determines
      z& w5 c+ {: U7 d9 G8 w; J7 ~
  609. ; the order in which that data is registered. The values for this directive
    & q) b! s0 ]. \4 q. n. R! O+ O
  610. ; are specified in the same manner as the variables_order directive,) _" `9 D# W1 g" Y3 _
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 F+ }/ R- n' F8 M8 [& y8 o9 S
  612. ; in the variables_order directive. It does not mean it will leave the super
    ( L0 v( {) ]% d8 t
  613. ; globals array REQUEST empty.
    ) v( w% c$ j. `( {. L; @
  614. ; Default Value: None7 Q$ d9 t3 B/ c% K0 }
  615. ; Development Value: "GP"
    ( q, U' l1 ?9 u3 D/ R9 ]
  616. ; Production Value: "GP"
    ' I' i4 E4 d4 R4 b: v
  617. ; http://php.net/request-order
    ! a0 m* \! a% A( E7 f: _5 u6 v8 P0 H- L
  618. request_order = "GP": f6 Z: K# n9 s2 A. r
  619. - p$ ^# Y* l. D: ]' g8 U( T5 q
  620. ; This directive determines whether PHP registers $argv & $argc each time it, {4 @) Y/ L: m1 H  @
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    0 `$ E+ t# b. s+ L! Z
  622. ; is invoked. $argc contains an integer representing the number of arguments( e( t$ P( @; v3 Y( w
  623. ; that were passed when the script was invoked. These arrays are extremely
    / E  }/ h! ~4 L9 @
  624. ; useful when running scripts from the command line. When this directive is; E& K0 R1 Z$ \- ^) U. C  e
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 U7 I5 q; ~" i. d8 p3 R+ ^/ Y
  626. ; a script is executed. For performance reasons, this feature should be disabled; P8 f0 L/ a2 a' N5 j' P
  627. ; on production servers.% Q0 e/ A& j* {2 w# r+ [, w
  628. ; Note: This directive is hardcoded to On for the CLI SAPI/ B( N. Q: l- O  V  \( A6 ^
  629. ; Default Value: On$ B- i" V6 d5 Q) ]
  630. ; Development Value: Off# ?9 q6 z- L% @2 C9 F% A0 Z  {/ J
  631. ; Production Value: Off0 ~' M$ s) F% L; Z: T
  632. ; http://php.net/register-argc-argv
    ' g+ o& T0 S7 l4 A( x
  633. register_argc_argv = Off
    , l4 S" y& r/ c/ G" v! Q# ?% x: e

  634. # T2 t' T+ @) M2 N8 g
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    " |2 w* v7 V( P1 u
  636. ; first used (Just In Time) instead of when the script starts. If these
    6 Z0 N, F( ~2 I, P5 K5 k  s1 [- @
  637. ; variables are not used within a script, having this directive on will result
    , f0 {* O+ c! S2 _; w, j
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' g/ w  I. t+ j, ?
  639. ; for this directive to have any affect.) M" B4 c9 T! j- U+ u, L! V
  640. ; http://php.net/auto-globals-jit
    6 o9 M, g- }" y' ^
  641. auto_globals_jit = On4 R+ P) B2 z8 M$ z2 t2 c" g

  642. 3 q& h; x5 }: U0 V6 o$ q' y
  643. ; Whether PHP will read the POST data.
    ) j( e4 @/ P- Q, |9 s
  644. ; This option is enabled by default.# i; D5 H. Z7 Z, ?
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    3 J( [/ j; F# Z6 x
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    2 [& u$ B; \3 F3 G2 O+ B6 o
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ( t/ Q: k& q7 Q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ) R0 [0 ?4 e% O- |4 J% T
  649. ; http://php.net/enable-post-data-reading1 L8 a& P; t: W9 S
  650. ;enable_post_data_reading = Off
    5 b9 I  L. X, B- ?# |- b
  651. ! z1 W4 x8 F9 }( `9 |& a& f
  652. ; Maximum size of POST data that PHP will accept.
    ; k  J9 r) V! c; j
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 O6 S7 A/ m' }) a
  654. ; is disabled through enable_post_data_reading.
    % n1 _! }: D1 p$ q1 H6 K1 i
  655. ; http://php.net/post-max-size
    + F; y8 P5 `0 g  P0 a
  656. post_max_size = 50M
    0 P5 |  u  d" h2 x, F
  657. # y4 o' z2 O  `! J
  658. ; Automatically add files before PHP document.  r' k- y7 G3 B2 ?/ p
  659. ; http://php.net/auto-prepend-file
    2 `% N& B" Q5 z3 z
  660. auto_prepend_file =
    " R' @+ t. z. H# l% l- E
  661. - h( s. M! F& r6 ~0 o% i
  662. ; Automatically add files after PHP document.9 Q1 b: B9 g. k# j
  663. ; http://php.net/auto-append-file8 q* |: p$ T7 r: p+ J
  664. auto_append_file =
    + Q  a( W* l4 A- }" v; u, u0 r
  665. $ y! n, c% H* v
  666. ; By default, PHP will output a media type using the Content-Type header. To: }. u; z7 h! ?5 Y3 c$ S; C. u- f
  667. ; disable this, simply set it to be empty.
    # _& N# i: i+ \, ~' {: L, i
  668. ;4 M/ B8 o; P+ @% h
  669. ; PHP's built-in default media type is set to text/html.) P, |8 o0 x% a9 p& L7 M% B
  670. ; http://php.net/default-mimetype
    ' P: S/ l+ [4 |/ E: J3 i2 W
  671. default_mimetype = "text/html"
    * R3 S& f+ d% {) S' k8 K

  672. ! |; I! Y1 b  i! |1 r7 A
  673. ; PHP's default character set is set to UTF-8.9 Q* R7 K' [( h% D' k# R
  674. ; http://php.net/default-charset
    2 J* b) a3 |% K6 v; O
  675. default_charset = "UTF-8"
    , L5 N  X7 |; i: T) \7 u

  676. & r$ _& \2 ]* y; U1 [
  677. ; PHP internal character encoding is set to empty.
    " M( ^2 r6 O. e
  678. ; If empty, default_charset is used.1 c: s: a/ O+ a7 z' r2 u! ?( v' Y; z8 c
  679. ; http://php.net/internal-encoding$ n. O! f# T1 D- R( I4 @; W7 `
  680. ;internal_encoding =
    & i/ h5 W: h! d
  681. ! }( e* r: v( S+ }9 p
  682. ; PHP input character encoding is set to empty.1 W% P; g& j% u$ m# Z' h  Z% k0 T
  683. ; If empty, default_charset is used.$ J" ^# ]# O& z  e
  684. ; http://php.net/input-encoding
    * A# K% }0 N, Z" P
  685. ;input_encoding =
    . i  M6 X% {, E4 x8 \: @  B

  686. ' o$ v$ X0 ^2 o4 A1 C
  687. ; PHP output character encoding is set to empty.
    & d$ Q! G. u$ T0 ~7 p8 D% r' c
  688. ; If empty, default_charset is used.5 |3 {' J$ c$ W- x: {1 h
  689. ; See also output_buffer.
    * Q* n' \4 A, a/ M& V5 S" Z" f
  690. ; http://php.net/output-encoding
    2 f# f$ p. l1 L8 m% O, s
  691. ;output_encoding =4 r' E  \2 S1 V8 [. U$ @

  692.   ^  U0 R  ^, R* |) a' U
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;6 z+ |( u- g  a& t, y" Q
  694. ; Paths and Directories ;
    2 S" w) Y. H) H8 w! Q! L* ]0 @1 Y  B& O
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;6 f  n8 W' F2 r; W

  696. 5 y3 a3 O' z8 C
  697. ; UNIX: "/path1:/path2"& j  `$ M5 L9 z
  698. ;include_path = ".:/php/includes"1 x( ]0 u6 _+ m7 ?0 k7 m, F* |
  699. ;2 Z1 ], d8 k; K
  700. ; Windows: "\path1;\path2"
    5 t0 f9 S9 h' H( u+ ?8 D
  701. ;include_path = ".;c:\php\includes"
    6 T, V! g, _8 d  `
  702. ;
    0 ?7 L: k/ {5 d* g: z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"" X0 H" q& a5 w4 ]( J" C6 E
  704. ; http://php.net/include-path
      N( p& y1 @* {2 G2 Q# W6 T
  705. + O/ [% T! M" K3 Z, L
  706. ; The root of the PHP pages, used only if nonempty.# s3 `3 ^/ Y8 L! x% H
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& a; v+ V5 ~6 J
  708. ; if you are running php as a CGI under any web server (other than IIS)& p' g3 E6 j+ A/ x' Y0 _" E' d
  709. ; see documentation for security issues.  The alternate is to use the# [5 J$ n3 M+ h' ~% s
  710. ; cgi.force_redirect configuration below5 T, N+ `# y- z$ ]$ y6 U$ N
  711. ; http://php.net/doc-root/ J% s9 H) N5 Z9 c/ t% L
  712. doc_root =. H( _: U* j: _- O
  713. " f1 X7 c2 G$ \. r; g3 q" R8 S5 z
  714. ; The directory under which PHP opens the script using /~username used only( v8 E# d! C  u; N- n
  715. ; if nonempty.1 m2 G" Q6 {! [1 O; F0 `
  716. ; http://php.net/user-dir
    $ @5 o+ C9 [5 r: ^+ R
  717. user_dir =
    1 B, |- w% O& a9 I

  718. 9 m1 M: R. P. Q/ E
  719. ; Directory in which the loadable extensions (modules) reside.: R+ h# {$ s0 S3 ~: ~" f
  720. ; http://php.net/extension-dir  O! l" R' q3 }/ r) O" E
  721. ; extension_dir = "./"/ g) P1 k0 W. |0 B* ^) n
  722. ; On windows:
    , b% ?  l" W( K: W
  723. ; extension_dir = "ext"
    3 h9 V- Y! p" C: h5 [5 X
  724. 0 ]3 |' ^, l. b
  725. ; Directory where the temporary files should be placed." H& @6 _6 ~& _! d: @, I
  726. ; Defaults to the system default (see sys_get_temp_dir)$ _$ ?2 w$ ?6 ^+ S! Z7 Z
  727. ; sys_temp_dir = "/tmp"
    / J1 q* D) ?. f2 v# D3 |

  728. 3 [6 Q. [* y4 _! b5 _8 l
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work8 z+ H( }% e5 A* h
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 ]9 j5 T  i, }& b$ L+ `; K4 g
  731. ; disabled on them.
    4 p6 u7 R1 v; f7 E* e$ O
  732. ; http://php.net/enable-dl: r5 T, Z. J0 G- t
  733. enable_dl = Off
    ( t: R/ a: e$ i
  734. 3 L& U+ k. u3 v9 X; ?2 y
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    # _3 z2 k6 n! F
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ! T( O- f) M4 y9 j2 R! q
  737. ; turn it off here AT YOUR OWN RISK
    * z4 Z7 Q% E- E% x- F
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**" t( G5 d3 G' w" V6 O5 P8 |% _
  739. ; http://php.net/cgi.force-redirect
    4 y' g: u# c& T& F2 N) x6 p+ N
  740. ;cgi.force_redirect = 12 ~* G% f" @  \% Y+ s  {
  741. $ A1 m- V% E/ R8 _. H' S4 h
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with- J$ }, a! o  Z1 r+ E; ]8 a- V
  743. ; every request. PHP's default behavior is to disable this feature.
    # L4 G2 g+ n0 R8 w1 @# n7 F* E
  744. ;cgi.nph = 1
    9 F0 v3 ^1 v: j- O0 N
  745. , a4 G. M" R3 B6 ~% `, Q7 C
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : O: k) e* P$ l! |
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 ]( s  `; S3 B: X* R; P& N
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY, L0 R5 l( \6 q; Y
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.9 M8 Y* S" }! a- D
  750. ; http://php.net/cgi.redirect-status-env/ A6 N7 n& R4 o7 h
  751. ;cgi.redirect_status_env =
    $ r! I9 v' w6 \( G: g$ D

  752. * w& v; R6 b2 h: k- o& M
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    " k# V. v5 i. _# Y& G" f3 A# q  Z
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok9 V; C% V. M6 C/ V
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    : j" A0 l" J9 p1 o; b4 Z( v" ^
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting7 x1 n* Y6 i1 H4 h) Q
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 c1 f4 m/ z/ ]2 M% M
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & \1 f" F3 u; V, z9 p
  759. ; http://php.net/cgi.fix-pathinfo
    / I; ~3 D, ]' {: q6 S9 ]
  760. cgi.fix_pathinfo=1% R1 u$ h" _: S7 s' @6 G

  761. 3 E( d2 a# v. Q& ?( i6 m
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside. L+ |  b  ~: U& J! X
  763. ; of the web tree and people will not be able to circumvent .htaccess security.* m0 k- T* U" Y# C( \7 d
  764. ; http://php.net/cgi.dicard-path
    7 y+ N' b& u7 Q( D: N
  765. ;cgi.discard_path=1& W/ ?3 w: d" n' C* z% {
  766. ) P- h1 n. u' Y
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% R) ?: c5 j3 p% G. c$ ?6 A
  768. ; security tokens of the calling client.  This allows IIS to define the9 Y4 ^8 @. O1 e1 p7 d0 ?) _
  769. ; security context that the request runs under.  mod_fastcgi under Apache( i% [" j* I+ m, Z3 W5 ^
  770. ; does not currently support this feature (03/17/2002)
    $ M" T, a# t# X2 L+ I: c/ R
  771. ; Set to 1 if running under IIS.  Default is zero.2 t5 V: h- y8 \" N) m- [. V
  772. ; http://php.net/fastcgi.impersonate& ?5 K3 P% V: l0 q! x. s+ ]
  773. ;fastcgi.impersonate = 1$ M& `" ?7 R: j% [% M9 u5 C
  774. 1 Q5 u: `  c- G( F3 l7 {( j7 D4 j3 t& E
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    7 E* |+ o, B; v: A+ |0 Y
  776. ; this feature.2 u+ a3 D0 R+ p, E* z9 M8 i7 M
  777. ;fastcgi.logging = 0
    5 n0 g  r! l6 `1 I  \+ g; G4 E
  778. + n0 l; M; T, t4 O& c7 T8 E
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    8 |$ r8 H* n/ N
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 |1 t* k( Q+ T% c6 O
  781. ; is supported by Apache. When this option is set to 1, PHP will send* _- G0 o1 ?3 `' p5 u/ ~8 d5 V8 C. ]
  782. ; RFC2616 compliant header.' K8 a# Q# o5 Q4 k3 q, I" e
  783. ; Default is zero.! E# N4 N( O2 A; L; ^) T
  784. ; http://php.net/cgi.rfc2616-headers3 O1 ]. R9 X) \
  785. ;cgi.rfc2616_headers = 0
    1 K  A$ h( y/ }/ Z. C
  786. ( x/ i9 T' K- I' Y( w  D2 R
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' V- X1 g* ?: {7 m, {
  788. ; (shebang) at the top of the running script. This line might be needed if the( T: D, @& _$ v6 x: y" s8 y
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ; x$ O' y6 F* n" d6 C; N
  790. ; mode skips this line and ignores its content if this directive is turned on.6 S( E; t, F+ @% B( V  z
  791. ; http://php.net/cgi.check-shebang-line
    6 F- U! b9 j: ~& @
  792. ;cgi.check_shebang_line=1
    : x0 R4 M0 ?* Z/ C" b
  793. 2 _' p3 y" d5 f+ d' I
  794. ;;;;;;;;;;;;;;;;- ~8 W" Y7 e' Q7 j
  795. ; File Uploads ;: b. j* E4 }4 U1 I" D
  796. ;;;;;;;;;;;;;;;;
    7 X  w8 F5 ^8 q. |$ T* h8 F" L; ]

  797. " |8 p' w1 z3 a, E/ f+ c
  798. ; Whether to allow HTTP file uploads./ C% L; j  z2 M9 m! `% `/ V$ A
  799. ; http://php.net/file-uploads( u  ^" x5 W4 j3 D4 H
  800. file_uploads = On
    " y- S; |# W$ f% L  D& K- U

  801. ! }& P3 P8 M1 I' \1 a+ U9 R' E7 l
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ; s7 I+ \$ k* `: I( w, k
  803. ; specified).) i' q7 m: D6 f$ ~( {5 L  Z$ b2 g
  804. ; http://php.net/upload-tmp-dir  t7 a4 u+ p1 G9 F) _6 K4 y
  805. ;upload_tmp_dir =# l# Z- z# |% \

  806. ; Z. ]1 R* ?1 c7 d+ ?
  807. ; Maximum allowed size for uploaded files.8 S4 Q8 g3 {3 ^/ c
  808. ; http://php.net/upload-max-filesize2 `2 R4 [# @* j- Q: v% a
  809. upload_max_filesize = 50M% c5 q2 g, t8 A3 f+ X4 _5 z# o" P, k

  810. 5 a/ P4 P9 s5 Q3 N
  811. ; Maximum number of files that can be uploaded via a single request
    1 X- S' Y( Y* Z& _, `1 V( F2 b
  812. max_file_uploads = 20
    " K+ s& e# Q; i( j0 Q

  813. ( w( U' l4 u  }9 J# g
  814. ;;;;;;;;;;;;;;;;;;
    $ I. r; S  ?2 K' T' ?/ @
  815. ; Fopen wrappers ;
    3 ^" h2 I0 @  v' y
  816. ;;;;;;;;;;;;;;;;;;- Z3 T8 y7 Q8 u
  817. " `3 t; _# g' I6 X& u
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 v% e4 Y5 F. _# _5 a1 `+ |5 m
  819. ; http://php.net/allow-url-fopen
    3 j% {. ]3 J2 L! B* a
  820. allow_url_fopen = On
    ' ^' F( Y( N- ~, B0 l+ ?

  821. 2 \/ j! P! M4 {
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.- H. i! B) b+ S3 P& }/ V1 f
  823. ; http://php.net/allow-url-include
    7 C; }+ v- d- W- y' ?( h4 q
  824. allow_url_include = Off4 c6 ~0 Q% E7 K5 W# O. N. a* Q

  825. $ `) x. ]) t7 x: z9 S! E% M7 J9 H) y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    / o8 s# s6 i5 i1 b$ z3 R
  827. ; for this is empty.
    & Y2 G$ y& Z! t. e8 V4 v
  828. ; http://php.net/from
    ! r$ h7 C+ N; v/ f
  829. ;from="john@doe.com", |9 v3 X1 m$ C" h( ]- Z+ y
  830. 1 Z  j; |/ K# f: u/ o4 Q
  831. ; Define the User-Agent string. PHP's default setting for this is empty., k& u" `4 o- i2 `- S; o1 [" I/ u
  832. ; http://php.net/user-agent$ ?$ c& G0 g- H( {+ ~7 `- H8 H
  833. ;user_agent="PHP"
    % w% m0 b. j7 p; W' o

  834. # s4 }' R8 P9 B) F3 R
  835. ; Default timeout for socket based streams (seconds)' B9 H9 @0 ?! y  J+ }0 Y7 U6 N
  836. ; http://php.net/default-socket-timeout
    2 \8 U' R" E; n  I- w# P* B) e; @
  837. default_socket_timeout = 60
    0 d3 u4 D! m. M" ^* D

  838. % e9 |6 n3 `" n$ k* w. ?" I' F
  839. ; If your scripts have to deal with files from Macintosh systems,
    5 L9 W1 O7 X0 ]# t- k1 A5 O; v
  840. ; or you are running on a Mac and need to deal with files from
    % P8 D- |. e7 }3 C* r/ {1 M8 N
  841. ; unix or win32 systems, setting this flag will cause PHP to, }+ q9 K* ]9 k( ?% T0 {- ]
  842. ; automatically detect the EOL character in those files so that
    , l" U0 y/ L; a% e* {/ s% U
  843. ; fgets() and file() will work regardless of the source of the file.
    # g, E, x3 H- W
  844. ; http://php.net/auto-detect-line-endings4 \1 Q+ ~9 L3 A5 L
  845. ;auto_detect_line_endings = Off
    ; m" T/ a: a5 o1 {: F9 C  I# p

  846.   N. C, l! V; T
  847. ;;;;;;;;;;;;;;;;;;;;;;) P1 l0 ]2 {; I5 X  P
  848. ; Dynamic Extensions ;6 x8 m8 p5 h5 v9 Z2 K6 `( j
  849. ;;;;;;;;;;;;;;;;;;;;;;. ?+ j3 ^& T# |9 Y; }" o
  850. 5 a$ V% k6 w0 f3 }. [) U* S2 W  Y) I
  851. ; If you wish to have an extension loaded automatically, use the following
    8 w* {7 a7 K( U8 u! {
  852. ; syntax:" B: ?8 `; U! N
  853. ;
    , J; V* p" t7 ~
  854. ;   extension=modulename.extension
    - Z( B" H0 f' m
  855. ;
    5 [: k) ~1 h3 N; a0 `
  856. ; For example, on Windows:
    ' m' `" |, b* r, O6 z1 a
  857. ;4 c* N! L3 ?) s2 x4 l& E0 |( d  |
  858. ;   extension=msql.dll
    ; J8 R5 l9 J: U
  859. ;- @7 F! i4 j& F/ S' e6 j
  860. ; ... or under UNIX:1 g5 u' h1 u) m4 C7 j+ o' q0 k
  861. ;/ f; n: Z, y: Q3 q1 v0 L
  862. ;   extension=msql.so# y# S) |) @9 {7 x
  863. ;4 _( f6 q& O) u# {' i2 i
  864. ; ... or with a path:7 O0 P# `5 v: s6 u' r
  865. ;$ w. T. ?2 R2 k
  866. ;   extension=/path/to/extension/msql.so4 A: s1 Z- T4 {  M, e2 J" y) M
  867. ;7 H& q) i3 E  I1 c/ _: O, h& Z
  868. ; If you only provide the name of the extension, PHP will look for it in its+ Z( `& _. V9 R$ I& O  `+ t
  869. ; default extension directory.
    " T% ]$ U, M) I# V  v( B
  870. ;) u- E3 i( b% N; M$ r1 I
  871. ; Windows Extensions. p3 a; z+ N8 i$ G* l8 y
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    3 A( @  B0 e+ W" b3 X  N
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)3 q9 p8 N7 X) m0 U1 s6 G2 b# W
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+)., b  _& X' ]- C$ P
  875. ; Be sure to appropriately set the extension_dir directive.+ {! ~) `( J4 l+ K- N3 \1 h) b- o# L1 T
  876. ;
    2 w" o% d* _* ~
  877. ;extension=php_bz2.dll4 z4 N4 g: m1 b- R; f+ d# v$ M
  878. ;extension=php_curl.dll  |5 R/ E- a' \% B" w9 ]- x
  879. ;extension=php_fileinfo.dll
    7 m) A8 ~& [7 u
  880. ;extension=php_ftp.dll- [9 p3 r" E3 k
  881. ;extension=php_gd2.dll" t& O- D- E3 R$ z5 y
  882. ;extension=php_gettext.dll, E' s  m3 ^. _+ ]+ o
  883. ;extension=php_gmp.dll
    2 Q+ _; {: z7 C  c0 r
  884. ;extension=php_intl.dll' |7 n3 r# A! }; I
  885. ;extension=php_imap.dll
    $ @7 w4 B& G- F6 b
  886. ;extension=php_interbase.dll7 I! R: ?# C. F' e
  887. ;extension=php_ldap.dll8 ^$ ]) s7 J0 z6 Y% |9 O# E
  888. ;extension=php_mbstring.dll) D! ~. G, g: y. Y* @: F% k
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    5 A  G$ }- I5 k0 e9 o6 C8 n' e
  890. ;extension=php_mysqli.dll
    * d5 }* v1 u+ X; ~; {$ z' `
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client( Z7 c6 f. G5 q8 R4 K
  892. ;extension=php_openssl.dll
    ; z: P1 v; j" y
  893. ;extension=php_pdo_firebird.dll& L0 s  |  M9 [+ m4 W
  894. ;extension=php_pdo_mysql.dll
    & D7 K0 c6 w0 l3 B# ?1 A
  895. ;extension=php_pdo_oci.dll, g9 J" n+ Y1 E4 H$ {! Y0 _  g5 P
  896. ;extension=php_pdo_odbc.dll
    5 I! B% O, A% L
  897. ;extension=php_pdo_pgsql.dll3 k9 W% e! v" j, k
  898. ;extension=php_pdo_sqlite.dll* c% F) e+ c% R" W% \! e7 T8 x5 D
  899. ;extension=php_pgsql.dll
    ( `* Z- ~" L( F* d. x
  900. ;extension=php_shmop.dll
    / S8 s- R( {9 V* k, Q

  901. 4 w% h& w4 `8 R
  902. ; The MIBS data available in the PHP distribution must be installed.: P3 y* T' G" }# j3 U8 w
  903. ; See http://www.php.net/manual/en/snmp.installation.php4 f; ]' w3 }' K& u. n% l; W: ?4 r
  904. ;extension=php_snmp.dll  Q/ W/ e1 v  z& j, N$ Z/ u
  905. " {6 n8 b2 U7 _2 u* z" _- f2 B+ J
  906. ;extension=php_soap.dll
    7 U2 g+ A: E6 V" X) y" i2 r( ]
  907. ;extension=php_sockets.dll
    / e( G# }# h1 a; ]
  908. ;extension=php_sqlite3.dll
    # T8 ^  o+ Y& c* c0 p: J* {
  909. ;extension=php_tidy.dll( ?7 R; V1 L! C& i2 ^4 L- }
  910. ;extension=php_xmlrpc.dll
    % k6 e2 g7 q& T1 B2 n$ U
  911. ;extension=php_xsl.dll$ x$ D* q: I) ^4 }# t$ H

  912. 1 ]8 t1 B( W1 _( T
  913. ;;;;;;;;;;;;;;;;;;;8 U. b( Y4 l3 q4 k8 Z0 g( a
  914. ; Module Settings ;1 \( R+ |  U$ J9 A6 q- a# K# F$ `
  915. ;;;;;;;;;;;;;;;;;;;
    ' p5 w, A8 f, f! g% X; `$ _

  916. % u; h' x( M4 h( Z) V( r
  917. [CLI Server]) |4 q" g& F, f, C
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.# U" F8 r  q% B0 l6 [+ B; q2 y
  919. cli_server.color = On
      V# X% B8 f# c( k, `$ l
  920. 3 R+ V! G- \: G, r
  921. [Date]
    6 U+ y& g5 O1 C, I( S
  922. ; Defines the default timezone used by the date functions
    & P& K% c  z  z1 T5 C/ ^, }
  923. ; http://php.net/date.timezone
    . }9 w1 o& n3 ?  Q" G7 V. n
  924. date.timezone = PRC
    5 L6 J) t' K- s& f# l5 e3 \0 z* }
  925. ; {4 ~& s1 O. b2 G6 Z
  926. ; http://php.net/date.default-latitude/ v% g- K1 \# r: f( ^& I6 U" ~
  927. ;date.default_latitude = 31.7667& E$ Y; A' z% U5 G4 ]# F

  928. : S, v7 v0 ?  |' u, [
  929. ; http://php.net/date.default-longitude
    " \3 M; P- O5 b4 d
  930. ;date.default_longitude = 35.2333) n0 D3 W( _+ s6 |4 S

  931. 2 F7 W. R7 g# z6 j4 V' e
  932. ; http://php.net/date.sunrise-zenith
    0 V4 q2 H& ^6 r+ Q
  933. ;date.sunrise_zenith = 90.5833338 V% Q0 M& i6 a6 D% \
  934. % b8 ~5 T  L: J9 P1 K/ N+ n, n
  935. ; http://php.net/date.sunset-zenith$ X' v$ {- T9 f' B8 w7 }  J7 v: I
  936. ;date.sunset_zenith = 90.583333
    ) R. D3 j' q, g+ C0 |, m

  937. + c: _1 S+ Z3 f7 C5 ]+ g% ]) h
  938. [filter]
    : h1 H3 u' U; h! S/ O3 R$ |1 k
  939. ; http://php.net/filter.default/ _0 y8 ]! V3 h% m' `4 S
  940. ;filter.default = unsafe_raw8 L) ]! P' Z% \4 n4 q5 L' a8 y
  941. $ H( ]7 L+ A( `4 J+ |1 d7 X
  942. ; http://php.net/filter.default-flags% I) B2 P  H9 ?1 e; [5 C
  943. ;filter.default_flags =
    ; J$ P9 n8 p. |$ r/ U8 N5 Q8 _

  944. , }1 R/ R  c- ~
  945. [iconv]' ~. \7 d/ |2 g
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.0 y7 [: w+ ]$ P6 ?/ Z
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    # w1 [  L; K8 `: K; `3 ?1 k
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    " W6 Z( }: X9 w8 w. \7 {  d# V
  949. ;iconv.input_encoding =
    8 ]4 X7 @+ `) s

  950. & X: {/ l2 i3 Y1 e
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 G' X3 M! u8 l& Q' h0 T
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 C0 a5 i* v9 `# x* Y2 }
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' k( d+ ^. y# A% r' z' `/ D( Q1 F
  954. ;iconv.internal_encoding =
    . [* @% {. s6 k1 g- y8 N1 \

  955. # x) g# X0 E. d* _8 y
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.! x" R( ~2 n" {6 d. i8 y$ C/ n
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' I3 G9 [; R" \* c) H# D- @
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , L" }5 `# _, [  @# o# @6 |& ~' p
  959. ; To use an output encoding conversion, iconv's output handler must be set9 X+ _5 `' m; k4 h0 O- N. _, t
  960. ; otherwise output encoding conversion cannot be performed.
    $ V7 F/ f2 I; X. W9 k2 X+ X8 S
  961. ;iconv.output_encoding =
    - `1 a( K7 S& z" M$ ?

  962. 3 w$ }3 @  X! {& u+ k. @; d) H, G
  963. [intl]
    9 Q# z8 B; t4 [. M3 t( |
  964. ;intl.default_locale =
    " N, `7 c, Q6 R# j5 h9 ~0 z
  965. ; This directive allows you to produce PHP errors when some error
    + V9 J$ z5 ^" ~5 {( r& h3 E
  966. ; happens within intl functions. The value is the level of the error produced., {( ^7 o) k3 R+ W3 ]. _) W
  967. ; Default is 0, which does not produce any errors.. [" \6 }' R3 o
  968. ;intl.error_level = E_WARNING
    , t; X3 z; [4 A# i$ c& h4 b; o
  969. ;intl.use_exceptions = 0( h0 C5 Q; C+ w7 a* e2 d

  970. ' n! C  X$ |8 ~. j
  971. [sqlite3]
      e' {! O2 k6 e9 T5 ^& j4 D
  972. ;sqlite3.extension_dir =4 [" A$ p* r* Q9 U

  973. 2 A- q3 U. V6 [( Q6 t2 C
  974. [Pcre]* ^9 F7 l3 o0 z0 q' ]
  975. ;PCRE library backtracking limit.
    ! y! E# A. l& J, Y& r/ k
  976. ; http://php.net/pcre.backtrack-limit3 p- u9 j) \9 g9 p$ k/ ?' O
  977. ;pcre.backtrack_limit=100000
    4 ^" M; I9 V. L8 T

  978. 9 t6 m" P. U* c+ F5 H3 X
  979. ;PCRE library recursion limit.0 _8 X  a  O% D  I
  980. ;Please note that if you set this value to a high number you may consume all
    & N; h+ {: ~* w/ G! a( r' w" n% D
  981. ;the available process stack and eventually crash PHP (due to reaching the4 w+ b' y. R8 a$ v# }
  982. ;stack size limit imposed by the Operating System).
    # s! Y7 s! Q# z
  983. ; http://php.net/pcre.recursion-limit
    ) }" N% H7 x3 @, }% Z  g
  984. ;pcre.recursion_limit=1000002 r- I6 ]9 `3 B8 ]

  985. % T" S7 u5 I* d& s
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    8 W) P7 n7 C* @) D' Y
  987. ;library to be compiled with JIT support.8 y& ?- Q' `/ V/ [$ d) X% @( I
  988. ;pcre.jit=1
      ~0 W0 U6 `, p" T$ J3 [+ [
  989. 4 H# k' J  ~- m/ T  H4 C/ _4 R
  990. [Pdo]
    2 {  u9 W8 k# }1 O
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 b7 V) Y1 ]: l' e9 m0 W: {! L/ A
  992. ; http://php.net/pdo-odbc.connection-pooling
    ) a; Q7 o, X  I/ h% R% @
  993. ;pdo_odbc.connection_pooling=strict
    : ^1 }. p$ K- I5 d$ C

  994. 5 T# l5 |& w  d- B
  995. ;pdo_odbc.db2_instance_name
    ' H2 h/ |3 w* ?3 ~

  996. 5 [* M, N: d* p3 A) c
  997. [Pdo_mysql]) h& v: o! p! I" w: W. V
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 ]5 \) L( M- M
  999. ; http://php.net/pdo_mysql.cache_size4 E" ]- w8 T- Y8 @' J1 k
  1000. pdo_mysql.cache_size = 20009 W. x1 U9 ]! Z$ U

  1001. , @  X; P6 a9 Q6 q: {1 C
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . `# Q6 u! l& G/ \8 \, \
  1003. ; MySQL defaults.
    ; \# E% p) y6 C& W4 j2 B$ D
  1004. ; http://php.net/pdo_mysql.default-socket& ]4 G+ z% Q% ^. L* ~
  1005. pdo_mysql.default_socket=" K: {0 O6 I$ A$ q0 P

  1006. + @0 r) `( X/ u. `5 C5 s
  1007. [Phar]% ]3 S3 \$ \, K. h+ p
  1008. ; http://php.net/phar.readonly- R9 d. n0 a" N$ F# {2 q
  1009. ;phar.readonly = On' c& g5 z" T+ F* e3 o, m5 R

  1010. . {/ n' E1 A: R" e( F, b1 n1 ^
  1011. ; http://php.net/phar.require-hash( a/ p! k$ u* e
  1012. ;phar.require_hash = On3 y$ M5 B* e, ^

  1013.   e  X8 x2 s# [& n! K& j  _5 _
  1014. ;phar.cache_list =, u4 p- H6 |2 u' u$ |

  1015. 4 {$ o: o* b3 g; H
  1016. [mail function]+ o% [) t- U. ~: {- x
  1017. ; For Win32 only.
    / F" N% U, V; g2 V9 {5 N
  1018. ; http://php.net/smtp+ h  |% g2 ?. e* n  }# w" t' Z
  1019. SMTP = localhost8 D& a$ ^# K) @, `
  1020. ; http://php.net/smtp-port/ _: G3 q3 y. G
  1021. smtp_port = 25/ S3 ^/ D) C; H/ B. i1 o! b
  1022. 7 t7 ?7 [# P* ?) o- S0 J
  1023. ; For Win32 only.% w/ T5 e6 Q' @8 @
  1024. ; http://php.net/sendmail-from
    4 r# G; Z4 D% ~
  1025. ;sendmail_from = me@example.com
    7 |/ ~, t0 l' e

  1026. " N3 e9 t$ x7 n( s+ Q0 d9 h
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 \+ }7 }6 V4 b: z* g4 a3 A
  1028. ; http://php.net/sendmail-path
    ; l# L+ R2 E* h) K! S
  1029. sendmail_path = /usr/sbin/sendmail -t -i% {9 _. ]8 g  r& V

  1030. 8 e) S; s7 y% {) H7 W& e2 w
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ( `, _1 w" F% X
  1032. ; to the sendmail binary. These parameters will always replace the value of
    . ^. t6 q8 A( r$ c6 x+ u, Y
  1033. ; the 5th parameter to mail().3 a1 D) s9 @+ J6 n
  1034. ;mail.force_extra_parameters =
    " q+ e1 ?. [6 k" m

  1035. + c# v' ?+ S7 q
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ! ]6 N, l2 E4 n2 u  q
  1037. mail.add_x_header = On
    4 _+ E0 [+ X: |+ i; \( r" b6 i' C
  1038. 5 @' Z& J  i* [8 d
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    : R  ]8 I( d5 G  `
  1040. ; the full path of the script, line number, To address and headers.
    4 ~. {- w; P3 f$ z$ q7 T
  1041. ;mail.log =3 t0 l5 [9 @  G: I2 ~& F  G
  1042. ; Log mail to syslog (Event Log on Windows).
    + x. X8 R6 s" J7 h4 U
  1043. ;mail.log = syslog
    6 W: V/ S1 _) u, s0 w6 K' u+ K
  1044. & b, g% V# s8 d5 |3 s
  1045. [SQL]2 e* Y7 \$ O% h& Q% ^" _
  1046. ; http://php.net/sql.safe-mode
    $ A% ~( S: V, {. O  u& i) @
  1047. sql.safe_mode = Off
    " }. x' q, [. A' r. R

  1048. 5 e$ ]/ D/ w8 i: f5 k. ]5 ^& R
  1049. [ODBC]
    . N+ ?1 ^0 p3 P  \
  1050. ; http://php.net/odbc.default-db' x4 F1 l! i9 B0 C
  1051. ;odbc.default_db    =  Not yet implemented
    , c; F6 N6 g1 V
  1052. ; O! [2 s, r3 K; V
  1053. ; http://php.net/odbc.default-user
      e/ {4 I. P: G. T0 e8 N- R
  1054. ;odbc.default_user  =  Not yet implemented4 J* k6 s4 I  y1 _5 ]

  1055. . ^2 L8 R/ M; W7 F* n" g# b
  1056. ; http://php.net/odbc.default-pw
    / K) I0 |5 m) q; y) |. ~7 j
  1057. ;odbc.default_pw    =  Not yet implemented; r8 N# h2 s0 w, R- ~* ~

  1058. 3 g. G$ I1 p, S' W0 q
  1059. ; Controls the ODBC cursor model.- R. \: B; i2 h2 N4 r% ]0 j
  1060. ; Default: SQL_CURSOR_STATIC (default).
    * ]8 v4 Z8 k" a
  1061. ;odbc.default_cursortype8 y  W) K) X$ W3 g7 F+ P( N
  1062. : k  e+ T- c0 R! t3 i
  1063. ; Allow or prevent persistent links.
    : s0 Z% v8 l6 y% S
  1064. ; http://php.net/odbc.allow-persistent
      y2 {6 ?) _& q0 V! [, X
  1065. odbc.allow_persistent = On% e8 L. T9 ^7 h

  1066. 4 I- a; s8 ^$ I8 S
  1067. ; Check that a connection is still valid before reuse.. y- i% j. z6 C1 b( f
  1068. ; http://php.net/odbc.check-persistent
    " i% X; ?7 D, v* q* i
  1069. odbc.check_persistent = On
    + O- _; b3 O/ V: K6 K, F  i% ~
  1070. 4 O( `; [' C8 B7 _
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ! L( {  p2 D5 F5 T7 }+ p0 E
  1072. ; http://php.net/odbc.max-persistent
    % x( g- P: B8 D0 v8 y/ m
  1073. odbc.max_persistent = -12 z5 i6 q) @, G) G+ s
  1074. : O5 a4 a7 i8 @* m+ S
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: [( [( c' s4 c9 X6 R+ e4 m
  1076. ; http://php.net/odbc.max-links* P) c9 A) M% ?" ], D( C
  1077. odbc.max_links = -10 g% g% p) k5 Q% N

  1078. : ]; y3 R6 j% l3 Y: W& f2 J" V
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means, i& H% y/ Y% o  j3 O8 l
  1080. ; passthru.  P* Q: }1 U3 V+ }) z: J
  1081. ; http://php.net/odbc.defaultlrl
    ) V9 Z1 c0 y# L8 w
  1082. odbc.defaultlrl = 4096
    ! R/ q, J  H1 i, F7 T

  1083. / l- J- W% ?% w5 i+ N! Y) [
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char., L  w3 {& s  ]7 Y
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - F2 {* N' H2 {
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode* Q( a& R+ M% ~& D1 @% |3 m
  1087. ; http://php.net/odbc.defaultbinmode) U! V( O' v- t* h& B1 ?, Z
  1088. odbc.defaultbinmode = 1
    ; |5 W1 q' v: R* w6 n% e
  1089. 6 l$ o) s8 H6 F; Q  @
  1090. ;birdstep.max_links = -1
    % h6 B1 \. o  {( h4 D
  1091. * x. F! Y  g% m  B) m' d  V5 E
  1092. [Interbase]+ J" V# N1 Q' b" b: J
  1093. ; Allow or prevent persistent links.
    / B/ a- e7 @& \( j9 ?% o* v$ `
  1094. ibase.allow_persistent = 1$ z/ b* I9 a$ r( W8 ~6 \

  1095. ( L/ V7 L& V6 ^. {. M
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ! x6 e  e: {5 R& b7 d
  1097. ibase.max_persistent = -1! o2 T5 {6 G% e8 \( U$ e

  1098. 2 f+ q. W$ ~  B
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." V4 i9 [1 [' G% b$ p/ E9 B
  1100. ibase.max_links = -1
    7 T/ F1 G8 F( ~7 ~/ C
  1101. - j$ F; _0 t7 m( q, @. T
  1102. ; Default database name for ibase_connect().
    * W  G1 r8 g! g! L$ ~! x& ^
  1103. ;ibase.default_db =/ i- f( [, _; W: b- X9 b
  1104. 0 e3 g2 A1 t, v- `
  1105. ; Default username for ibase_connect().1 F) B% s: g4 G" V! a5 g
  1106. ;ibase.default_user =
    " R- x# j4 I7 W8 q4 V8 }

  1107. 9 g5 H; J: l+ l# r; u0 _' |4 ~( P
  1108. ; Default password for ibase_connect().
    , X% y; F: |5 N+ b3 B* Z- Q
  1109. ;ibase.default_password =7 c/ i* C3 A- Y
  1110. . ~8 Y$ S, j7 Y
  1111. ; Default charset for ibase_connect().
    . X, o2 Q& O; F* M, n3 Y
  1112. ;ibase.default_charset =( l8 d) F8 B! e- R, p7 K: i% o
  1113. . A8 _# Z" T  I2 c6 F2 d! h
  1114. ; Default timestamp format.) X, Y7 K8 C+ I/ @$ i
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"( B( I6 j' A* k7 K
  1116. 6 h$ ?) ?' r* [8 p8 Q
  1117. ; Default date format.1 B# j  E( ?* q+ ?( @, m9 b
  1118. ibase.dateformat = "%Y-%m-%d"! X0 y! W6 G6 K( ~4 M7 ?9 w

  1119. * e6 _% Z' p% q: x4 _$ \# ^
  1120. ; Default time format.4 k( s& R7 E! B
  1121. ibase.timeformat = "%H:%M:%S": C& \* S1 k1 ~* e  a7 m& w1 X
  1122. * y5 i7 V/ g1 t- i" r0 l
  1123. [MySQLi]
    + v0 [* J0 W( C: ~8 h

  1124. 5 A: C/ C0 O6 a& S( o. S! Z
  1125. ; Maximum number of persistent links.  -1 means no limit.
    2 z/ o- }4 p: h4 K( @! K
  1126. ; http://php.net/mysqli.max-persistent+ I' ?9 `2 ^% G
  1127. mysqli.max_persistent = -1/ q, x9 y# F2 A1 S& S
  1128. 7 J) b: B! D* }6 W
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    * s& v2 \9 Y1 t6 ]7 b
  1130. ; http://php.net/mysqli.allow_local_infile
    ( P9 Y9 P) z9 a4 g( ?$ J- v0 O
  1131. ;mysqli.allow_local_infile = On
    5 R. k' d0 }2 v" c1 b

  1132. 6 N9 f3 t  {' g+ R3 R; h. W
  1133. ; Allow or prevent persistent links.
    ( \. B' M: S" `3 o) z: ]
  1134. ; http://php.net/mysqli.allow-persistent# T' K" @7 \9 }- m9 E3 c: T3 ^1 G! o
  1135. mysqli.allow_persistent = On0 I# Q6 Y: Y6 @; [/ C
  1136. ! h: b% F! }) o' O0 z+ }( p; ~2 N: Z
  1137. ; Maximum number of links.  -1 means no limit.& i4 x$ A1 t4 G1 `8 I" ?
  1138. ; http://php.net/mysqli.max-links
    1 n4 v4 _3 V9 g. L7 R. K
  1139. mysqli.max_links = -1
    6 ]+ ~) W. L: ^% E! D" z
  1140. . m% N5 {9 z4 e
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache: |4 ]  U2 W- N- q/ ^( K
  1142. ; http://php.net/mysqli.cache_size
    ' c0 t$ |  ?1 C( @; F
  1143. mysqli.cache_size = 2000
    1 V, m0 d* y: M
  1144. ! v- J/ S! n0 h1 {
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    5 V/ d" P0 ~& M
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( B3 _% B- H9 f8 Q5 X' b/ y; e
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, j& `( A8 Y6 R) I
  1148. ; at MYSQL_PORT.
      ^% h# W! I8 S- F9 c, k* D
  1149. ; http://php.net/mysqli.default-port0 Y, D) ?" e% I4 Z
  1150. mysqli.default_port = 3306
    6 U5 c" `; S8 i

  1151. ) Y  @6 O% p, s4 ?, i) G) S
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 Z* y. }5 A8 H! E; e) q7 ~& b' u
  1153. ; MySQL defaults.
    " x5 z3 H4 B8 E
  1154. ; http://php.net/mysqli.default-socket- K5 b# ]% `) c8 v& p  L' B
  1155. mysqli.default_socket =
    0 Q+ v/ s) A/ l$ J. O6 U
  1156. ( j8 j9 Y- |0 p& @- z
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 s: V7 Z4 a1 w
  1158. ; http://php.net/mysqli.default-host
    / t( f8 Y6 b0 Z- p0 [/ ^0 t
  1159. mysqli.default_host =9 t3 [: `0 J6 ~" c+ p/ }( r- U
  1160. 5 p* N& b+ w4 G2 S
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).3 B" ~1 E" z- k/ i& m
  1162. ; http://php.net/mysqli.default-user% q/ H1 V6 M7 N7 ?. }
  1163. mysqli.default_user =
    ) U2 i8 D2 [' v
  1164. - W, s3 }9 |/ J4 Q2 ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 d8 S" s* X7 |8 f* K8 z& U* B
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.6 T( q$ D+ y5 m& h) P4 K
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 z- A; X  n0 J. T0 {6 y
  1168. ; and reveal this password!  And of course, any users with read access to this
    5 z! a" H, Z5 o$ ]8 E* M
  1169. ; file will be able to reveal the password as well.
    - Z- R/ {/ T! W6 F- E
  1170. ; http://php.net/mysqli.default-pw5 B8 G; K/ O5 b6 H
  1171. mysqli.default_pw =$ p- Q  c4 i, e  N, H" B5 G
  1172. 2 ?. W# h$ B$ I
  1173. ; Allow or prevent reconnect6 c& C; o- z: i
  1174. mysqli.reconnect = Off
    # z- _0 {& N- J0 W0 s
  1175. 9 U+ _8 ~& G; Q: m, m! t% ~, Z
  1176. [mysqlnd]; I  Z3 D) O5 i+ e3 _# J
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
      C! n, a6 P- r, U) ?7 [* C
  1178. ; used to tune and monitor MySQL operations.( c' {1 B: q/ a! N$ P% H* U
  1179. ; http://php.net/mysqlnd.collect_statistics
    ( _; I2 {/ k! A1 u
  1180. mysqlnd.collect_statistics = On
    % l) O) G0 S7 W: }, [% V

  1181. % W, @7 b/ I* T' v2 q5 y4 }- _& ~
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be4 N2 h+ |5 d% T! u" ~
  1183. ; used to tune and monitor MySQL operations.
    8 {4 Z' t( `) V& }2 H
  1184. ; http://php.net/mysqlnd.collect_memory_statistics# i4 B5 ?) T, @6 ~
  1185. mysqlnd.collect_memory_statistics = Off9 b+ n* ~* A: w8 b# z! ^

  1186. # f  _9 K  r; C" w1 D) v
  1187. ; Records communication from all extensions using mysqlnd to the specified log+ S; Q7 U$ \4 v1 B- }0 v, H2 u
  1188. ; file.8 v9 T' j$ F; I0 T3 V8 b
  1189. ; http://php.net/mysqlnd.debug
    2 a7 m/ h8 k/ }) y/ l
  1190. ;mysqlnd.debug =/ B0 b: j! ?" m3 m
  1191. & }) N' J* W1 h: a
  1192. ; Defines which queries will be logged.
    " [- f" k% k& a( W
  1193. ; http://php.net/mysqlnd.log_mask
    + N8 R, G2 i( o$ i- y( N
  1194. ;mysqlnd.log_mask = 0
    9 `8 u7 H; @; U$ s

  1195. ) C/ x" b# ^, S- e% f
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    5 n; Z( o. L# v& F' @
  1197. ; http://php.net/mysqlnd.mempool_default_size
    * X& A: `0 E" B% D
  1198. ;mysqlnd.mempool_default_size = 16000
    5 F) d4 c+ L. y0 ?3 u
  1199. * n$ ]% P2 J: D1 ?8 S
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.% |5 I6 E$ k) c( J# ^
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size# a; t2 x; n+ t) q1 z) @, Q) Q
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    # f1 _! @- K) K5 J) g
  1203. / u& _; @4 }6 e7 Q, I
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    " g- c( l8 R# B) j5 \1 Y8 M5 A
  1205. ; bytes.( g' ]. b: Q( C, [# ]& b5 e
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    # X% J2 u) i! q4 f- ]. E
  1207. ;mysqlnd.net_read_buffer_size = 32768
    , H2 M' x9 R" @# Z$ ?& O

  1208. ) v+ T! _& @) @4 Y; s1 U% m: ~  Q/ |
  1209. ; Timeout for network requests in seconds.) ^9 v, H) z3 i# C/ L2 I8 `6 d- r
  1210. ; http://php.net/mysqlnd.net_read_timeout
    + y4 G# b: ]0 r; B
  1211. ;mysqlnd.net_read_timeout = 31536000
    5 v% o" B- @9 C% D; I: e. s2 h4 z
  1212. 8 H. L6 m' r3 S! s# O* k
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA% q0 Q1 h9 R; l( j
  1214. ; key.
    " L3 c: w% Y1 z$ l; {- Q7 O+ S
  1215. ; http://php.net/mysqlnd.sha256_server_public_key. e1 u$ K/ ?/ F
  1216. ;mysqlnd.sha256_server_public_key =: ^( e+ ?) B# ^  N+ E# z, n( K

  1217. $ N7 a( a: x2 q) C" ^, I
  1218. [OCI8]: `& r) q# e' R6 \
  1219. : J5 {1 P+ D8 X7 F# }  x
  1220. ; Connection: Enables privileged connections using external
    % ?+ S  c$ H3 R
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    " m- Y! N. I$ g
  1222. ; http://php.net/oci8.privileged-connect/ W* J6 n7 `2 E/ v' b
  1223. ;oci8.privileged_connect = Off
    / L, {! j# A5 m

  1224. 0 h+ C# q4 y5 J% ^4 l" A
  1225. ; Connection: The maximum number of persistent OCI8 connections per% [, [4 [( t) ~1 @: ^/ u6 T
  1226. ; process. Using -1 means no limit.! c& o4 w1 \# M  Z) \
  1227. ; http://php.net/oci8.max-persistent
    7 O; d2 D: z' W" e& G7 E! ?
  1228. ;oci8.max_persistent = -1$ _% z+ K' i# Y" I8 R, j! [" ]' l

  1229. # f* x2 J# @9 Q0 N1 U& O$ ?
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ( M& ], {2 E7 M6 r8 y7 A9 ^
  1231. ; maintain an idle persistent connection. Using -1 means idle
    " e% U/ p4 D  b5 Y, Q
  1232. ; persistent connections will be maintained forever.1 F. z4 Z1 y& U6 P0 `- b5 {
  1233. ; http://php.net/oci8.persistent-timeout
    9 D! c3 z. H! P  }
  1234. ;oci8.persistent_timeout = -1. F/ A* J" n3 n( E! ], B
  1235. 2 N/ E$ F& U& |
  1236. ; Connection: The number of seconds that must pass before issuing a! y5 {. q, y6 T$ Y" I* z5 c5 `
  1237. ; ping during oci_pconnect() to check the connection validity. When
    6 Q+ z. T" g" t0 c0 m6 x( s
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    7 z- V& ^) v" _
  1239. ; pings completely.
    " \. \8 P6 ^9 t, ?+ g  u; o2 ~8 S/ Z
  1240. ; http://php.net/oci8.ping-interval) V* p. o0 a- _- n2 D5 t
  1241. ;oci8.ping_interval = 60
    3 S, D% a6 a; O7 k* R1 b

  1242. 3 J7 ^! K* n. j% L, b
  1243. ; Connection: Set this to a user chosen connection class to be used
    . V) K0 o9 P9 G& n0 w
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    / }' n1 W2 g2 z  f
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to( @+ f. C6 g1 M4 r' |" D0 j$ ~) ], @& J
  1246. ; the same string for all web servers running the same application,6 \$ Q6 w  d- K  ~% _9 z
  1247. ; the database pool must be configured, and the connection string must+ t7 k, P+ U, w* f! J+ U
  1248. ; specify to use a pooled server.
    & t9 \; E  a% Q1 W
  1249. ;oci8.connection_class =
    $ t0 N; O3 y6 Z

  1250. 3 b2 x$ r& c$ j" l: n- N1 Y
  1251. ; High Availability: Using On lets PHP receive Fast Application
    : |3 I0 C# ^& V& R8 K
  1252. ; Notification (FAN) events generated when a database node fails. The
    # S, K  k' a% A9 O, U) _; A
  1253. ; database must also be configured to post FAN events.
    . {  k! R. q6 V' g2 Q8 n/ R
  1254. ;oci8.events = Off2 g( l2 Z$ L, w/ W5 A
  1255. 7 J+ W; y  u$ X$ P: E9 e6 K
  1256. ; Tuning: This option enables statement caching, and specifies how
    ; m, |- W  n) W7 t
  1257. ; many statements to cache. Using 0 disables statement caching.
    4 }+ P; j3 V+ d
  1258. ; http://php.net/oci8.statement-cache-size( J7 n1 m. E# l% d% \& a
  1259. ;oci8.statement_cache_size = 20
    1 s$ z; A% O! F0 |

  1260. 3 h/ h" B- p, j5 [; m
  1261. ; Tuning: Enables statement prefetching and sets the default number of# V0 k: h' Q. d; W8 ]
  1262. ; rows that will be fetched automatically after statement execution.
    # E1 X4 T0 E: q% u- ?
  1263. ; http://php.net/oci8.default-prefetch* n; \* h) ^$ m6 u$ x
  1264. ;oci8.default_prefetch = 100
    % V( j' M6 m- e3 {! ]4 H& o# A

  1265.   J7 G, A; ?3 T+ D) [8 l& h1 }
  1266. ; Compatibility. Using On means oci_close() will not close; H: D2 v7 O* t5 d" e4 N$ D- l
  1267. ; oci_connect() and oci_new_connect() connections.% X  }9 N  x& y2 t/ U; h+ _
  1268. ; http://php.net/oci8.old-oci-close-semantics
    4 J1 \, ]  B( S* D8 k5 v
  1269. ;oci8.old_oci_close_semantics = Off" j2 ~! `% h9 Y$ x3 h- h: V! B
  1270. 9 S, U) p5 ?+ w) E
  1271. [PostgreSQL]
    ; x1 E$ l4 R+ o: d9 J
  1272. ; Allow or prevent persistent links.
    & p* q& Y( l( o, e% U: I- \1 C
  1273. ; http://php.net/pgsql.allow-persistent
    1 \  r! z# t$ {- `9 _8 b' @) B) R
  1274. pgsql.allow_persistent = On7 u' g2 {* h0 j6 I3 t

  1275. 3 q! P- ~" H- e5 ^% u* b
  1276. ; Detect broken persistent links always with pg_pconnect().
    " O3 y1 ?) n7 y0 L1 k
  1277. ; Auto reset feature requires a little overheads.
    - Z1 _0 S) l* S6 F5 k2 x
  1278. ; http://php.net/pgsql.auto-reset-persistent
    9 {; I0 O/ V4 I, ]1 a
  1279. pgsql.auto_reset_persistent = Off
    9 y: Q% G4 Z6 r/ E, I5 F, b( ]
  1280. % z2 c- @5 F# [" @/ d6 S
  1281. ; Maximum number of persistent links.  -1 means no limit.8 o( [# ?+ i: E
  1282. ; http://php.net/pgsql.max-persistent
    ) i# B# R' ^8 K& m1 q
  1283. pgsql.max_persistent = -1* m9 j. q  s* z4 N. K( o

  1284. % L6 {- }; [3 O  F3 C: M' C& g
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # R5 z4 t/ J( B$ Q% N% \
  1286. ; http://php.net/pgsql.max-links
    % u6 E1 y9 x$ I0 d) V4 G* z
  1287. pgsql.max_links = -1
    / {. S( [' ?" g7 g; I* ?
  1288. ) ^$ p5 ^) R" _, N& Y& ~8 t/ g* k0 E
  1289. ; Ignore PostgreSQL backends Notice message or not.5 Q; A. ?: t# q; F+ ?
  1290. ; Notice message logging require a little overheads.0 N4 R: I  l) I9 k, ^  H
  1291. ; http://php.net/pgsql.ignore-notice
    ( {! ~+ n, C& _- Z' T/ V8 K
  1292. pgsql.ignore_notice = 0
    7 p9 Q1 h0 z" m1 r3 w) U0 r* C

  1293. 4 a( i/ w/ A* l; M
  1294. ; Log PostgreSQL backends Notice message or not.
    - G: W9 e" Q9 \# t
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    5 ^$ s& s3 o1 `' O
  1296. ; http://php.net/pgsql.log-notice
    ! N0 @% {/ s# K$ e, g
  1297. pgsql.log_notice = 01 d6 |3 F5 u6 K: U1 R* v1 [* [. I

  1298. . w% X$ O2 ]5 I/ M8 V, {6 ?
  1299. [bcmath]2 O/ R* h4 f, }( U1 M
  1300. ; Number of decimal digits for all bcmath functions.
    1 J9 I5 V  N! ^2 l8 T  n7 K9 g8 m4 W
  1301. ; http://php.net/bcmath.scale  W' |7 ~( F3 r
  1302. bcmath.scale = 04 g: R" U% S* m8 \& @
  1303. ) A/ L4 }+ j- ^. h: Z/ I0 U2 O) n
  1304. [browscap]
    ( \5 N) p5 G, |
  1305. ; http://php.net/browscap( B% _( K+ K) i( m
  1306. ;browscap = extra/browscap.ini
    8 d+ R- z/ D( t7 X# C1 q9 Z

  1307. 2 m8 C9 F/ K* `% Z. Z' k$ ]
  1308. [Session]
    1 y9 f$ r  H' D% B# q
  1309. ; Handler used to store/retrieve data.) d; t9 j2 S2 S* ]4 B! u3 L8 o
  1310. ; http://php.net/session.save-handler
    ; C# x/ r5 z0 V& [! q. {" P! v  q
  1311. session.save_handler = files- R# U! z% |4 s: i" K, ^, @' F
  1312. / B9 d8 B3 y& i5 {8 W
  1313. ; Argument passed to save_handler.  In the case of files, this is the path0 P1 f1 O0 g3 H$ k# L
  1314. ; where data files are stored. Note: Windows users have to change this
    / k$ e# `+ y2 X" T
  1315. ; variable in order to use PHP's session functions.
    . Y# e) n/ ]3 C2 l
  1316. ;1 \8 ~- C4 G# ?; Z; L
  1317. ; The path can be defined as:
    5 y. M" x& C& Z) z, l0 i
  1318. ;
    ( f8 g0 ~' O. ?. d
  1319. ;     session.save_path = "N;/path"
    8 S0 I" {$ c! a% L' b2 B- ]% I
  1320. ;  l& X8 r4 P% d
  1321. ; where N is an integer.  Instead of storing all the session files in$ V- E# J5 D1 ^1 b
  1322. ; /path, what this will do is use subdirectories N-levels deep, and$ x0 J7 o9 R- u% ]* B' r% X
  1323. ; store the session data in those directories.  This is useful if* B9 z7 F) a, e- T/ a
  1324. ; your OS has problems with many files in one directory, and is
    8 [8 S) u9 l8 w6 S* f
  1325. ; a more efficient layout for servers that handle many sessions.
    ( n( @* i- g$ ?& d
  1326. ;, U3 c% ?- X' J$ t8 R/ S
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    : |; W. n4 K6 o' k7 W, Y! O
  1328. ;         You can use the script in the ext/session dir for that purpose.) X  m4 p  n* N  Y4 f
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ! Z- u2 ~; K. r+ \0 L
  1330. ;         use subdirectories for session storage
      p2 h7 R/ h0 q) A8 A. r8 d2 O
  1331. ;
    % Y9 ~4 v  M5 v/ p
  1332. ; The file storage module creates files using mode 600 by default.
    ) @2 J! s, y3 d2 L
  1333. ; You can change that by using
    * M' m( K) C% b) H
  1334. ;
    / u) s7 Z2 i7 L1 N  ~; C  ?
  1335. ;     session.save_path = "N;MODE;/path"1 q* g% g+ ?5 Q7 l6 e
  1336. ;
    ! N5 u# m- y" H+ f- k1 f* u
  1337. ; where MODE is the octal representation of the mode. Note that this; e* y: f: V# C
  1338. ; does not overwrite the process's umask.3 X* e& I' k7 v* ^
  1339. ; http://php.net/session.save-path
    9 L. G, M( t$ `: T/ r0 m$ k
  1340. ;session.save_path = "/tmp"  e& x1 ]$ O2 W6 N% d3 f

  1341. + C& f% c4 }3 m' C
  1342. ; Whether to use strict session mode.
    & |  h2 N& e. j
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    5 M( d* U7 m. }! k! J9 s( v+ N
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects. O/ x/ J* p( R
  1345. ; applications from session fixation via session adoption vulnerability. It is; w* Z. ], `' j, N  \; G7 ~0 ?3 E. v7 q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; u" [$ ]3 T! k( E4 t  i
  1347. ; https://wiki.php.net/rfc/strict_sessions; t8 v( ~7 z2 _* V8 r, h
  1348. session.use_strict_mode = 0
    ( b( x* S" k* A

  1349. 1 C0 s4 i* U8 u3 Y
  1350. ; Whether to use cookies.* S! v" u: q* m7 _7 {5 c
  1351. ; http://php.net/session.use-cookies
    ) B* X+ b6 {& e5 X
  1352. session.use_cookies = 1
    ) B* h& }, C. _% l. E" ]) T
  1353. " B" Q( x% m" _* N8 c- W8 v
  1354. ; http://php.net/session.cookie-secure" O) e  C6 H8 a$ Z
  1355. ;session.cookie_secure =  m. f+ E9 [* C/ G1 k" d; l. G) U

  1356. 0 T- ~0 {/ |% x2 I0 S
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining9 b6 E  s* u$ L6 V1 d$ W& K. y
  1358. ; the session id. We encourage this operation as it's very helpful in combating! V( M0 ?9 D$ M
  1359. ; session hijacking when not specifying and managing your own session id. It is
    4 R0 x4 D: Q; a0 V4 T
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    $ f0 s4 G0 e9 g/ T3 z
  1361. ; http://php.net/session.use-only-cookies
    1 d; F" h, J% I* ^- S, R* I
  1362. session.use_only_cookies = 1* ^4 Z: O% J: B( \+ C5 j
  1363. 3 N0 ~7 D5 K- g
  1364. ; Name of the session (used as cookie name).
    ! N  f( G; }6 S$ v; V
  1365. ; http://php.net/session.name" X8 f6 O$ p4 [1 v, W- U& A# @
  1366. session.name = PHPSESSID
    : e6 V8 A" @- _; W+ m5 Z
  1367. 3 R+ [# [  o3 Y
  1368. ; Initialize session on request startup.& d( d7 u3 [+ O( }; A/ d
  1369. ; http://php.net/session.auto-start+ K" v6 p9 k3 m3 Y2 v
  1370. session.auto_start = 0
    ! c* G8 m; J2 F" S: q5 a

  1371. 4 F; S2 m* a/ h1 ]- f! b2 S
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * M% T$ u; j( O/ X; `2 T+ a
  1373. ; http://php.net/session.cookie-lifetime
    2 w. G4 u  N+ s+ f; F7 [3 Z
  1374. session.cookie_lifetime = 09 K3 h1 X* t0 M+ N# {5 T
  1375. ; w' I) G6 a. u  ]8 L/ p3 [% C* w1 ~
  1376. ; The path for which the cookie is valid.) u  J' e0 r0 t, D7 \
  1377. ; http://php.net/session.cookie-path0 F. N1 G; ^+ G6 `
  1378. session.cookie_path = /
    , w: h" z+ F; n3 z
  1379. - U% Y/ a. R  B/ L5 W
  1380. ; The domain for which the cookie is valid.
      U. _1 @/ F: @# r( Q
  1381. ; http://php.net/session.cookie-domain
    ; V' a2 ^1 A& x6 R2 \- j5 t
  1382. session.cookie_domain =8 U, j9 _5 K  \6 P. ]

  1383. ) B6 L$ d/ k( a8 s* `
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.+ Q1 Q$ F" G2 n/ [
  1385. ; http://php.net/session.cookie-httponly
    7 U" z6 d, Z( W) w
  1386. session.cookie_httponly =* H9 O* s* b' ?  B( Q

  1387. : O: R9 N+ j# m- d) n
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    , D! M+ N3 L, p) a/ R/ Q+ `/ F. L3 V- u
  1389. ; http://php.net/session.serialize-handler/ _. Y$ X- e5 K) L2 w! w
  1390. session.serialize_handler = php' a, N1 v) o& g  U% I. q

  1391. 7 W% h5 B. e& k9 d: W0 n% ]
  1392. ; Defines the probability that the 'garbage collection' process is started
    0 o7 q# h+ ^, B2 x
  1393. ; on every session initialization. The probability is calculated by using
    6 n' Y3 H4 e" t! A
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ l  }, y0 l& \. G+ D4 |5 y6 e1 B0 a- E
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) _* m( b, `& o# W
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 D4 L$ G$ t4 ^* m* ]/ U
  1397. ; the gc will run on any give request.
    * J9 J% c7 X2 ]
  1398. ; Default Value: 1
    # M3 N' l5 a7 n
  1399. ; Development Value: 15 w, A9 y- J6 E  `* X* p
  1400. ; Production Value: 1  w0 @& V8 \# G
  1401. ; http://php.net/session.gc-probability
    $ D# C4 L. u7 I  Q4 C
  1402. session.gc_probability = 1
    8 R4 \" `" V3 s1 z

  1403. 0 j+ ]7 z# _6 m' W
  1404. ; Defines the probability that the 'garbage collection' process is started on every5 b0 ?6 L( @4 u% R; a- w1 H1 V( s1 {
  1405. ; session initialization. The probability is calculated by using the following equation:3 i3 T8 X8 ~% s. }/ Q9 R( m
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    0 F5 L2 |1 b0 {0 O
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
      z* e$ r6 J; q4 }
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ! k6 O: o7 j4 T- a. [
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    7 I0 p7 y# u) D! `& z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    , |9 z. l- B6 Y4 d% V$ v
  1411. ; this is a more efficient approach.
    % i2 w/ \/ w5 y7 @& J8 O$ T
  1412. ; Default Value: 100. `- W4 q7 H# A' l1 s5 a$ k
  1413. ; Development Value: 1000
    8 M6 x' ?  ~8 S7 P4 E6 k
  1414. ; Production Value: 10002 Q0 B8 @5 D* W4 ^# Y7 Z: W
  1415. ; http://php.net/session.gc-divisor0 o3 l- d/ g4 p0 ^3 i
  1416. session.gc_divisor = 1000
    3 j/ Z! c( ]8 j& Q
  1417. , J; D+ X& d7 Z! |. v5 `  ]
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    / r8 ^0 z8 n: y4 R2 L; C
  1419. ; cleaned up by the garbage collection process.
    3 G9 e, Y7 S, }3 e' c! E5 \
  1420. ; http://php.net/session.gc-maxlifetime1 T4 [& \' M* k; q' H2 L$ S
  1421. session.gc_maxlifetime = 1440
    ) x/ U% |3 J+ D& R3 g' M

  1422. 0 B1 x9 o2 D' Y' \1 c" L- z  O( d
  1423. ; NOTE: If you are using the subdirectory option for storing session files/ W9 f( G$ M, s' q; Z/ v
  1424. ;       (see session.save_path above), then garbage collection does *not*4 ]+ X1 x7 H( T+ ~$ b
  1425. ;       happen automatically.  You will need to do your own garbage
    . G2 y1 j% i) R( e8 q
  1426. ;       collection through a shell script, cron entry, or some other method.7 l0 T: H( @3 ]$ W2 P! R' v8 ^  X+ ]
  1427. ;       For example, the following script would is the equivalent of
    # B. S- [# t1 o3 E0 {+ S! Z; y, X
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 X6 a! H+ m+ n1 G2 ?
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 X" G+ @8 ]4 o& v8 K
  1430. 2 z& F, X- o# t& @
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.$ V! \3 u: f) p- _$ `8 Y/ @
  1432. ; HTTP_REFERER has to contain this substring for the session to be4 K- S, u# D2 j$ Y5 ^) ~. l; M# e
  1433. ; considered as valid.
    6 F* |2 c0 ~3 r3 e4 d  p& V: o: \
  1434. ; http://php.net/session.referer-check
    $ t$ P& m8 n, y. G
  1435. session.referer_check =
    3 d: d" u4 d% i

  1436. % b6 B  |. E. i$ g0 t0 l' m
  1437. ; How many bytes to read from the file.
    ; y; G4 E2 _4 |+ n+ U3 {$ P8 o
  1438. ; http://php.net/session.entropy-length
    % [5 ^' }9 c+ t1 \
  1439. ;session.entropy_length = 32
    ; O. Y  U+ P  j3 Y5 @4 ?9 t% ~! G
  1440. % ~6 `; x9 I2 X3 [9 _
  1441. ; Specified here to create the session id.
    % m, d2 ^/ Q" K
  1442. ; http://php.net/session.entropy-file
      h- U# i, h+ \5 t: N
  1443. ; Defaults to /dev/urandom
    2 P" Q' v; ?# E, A  Z$ f
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom2 s% h4 U+ ]8 R
  1445. ; If neither are found at compile time, the default is no entropy file.
    / M  ^! H/ N' m1 B* @; x. {
  1446. ; On windows, setting the entropy_length setting will activate the
    ) @4 E0 D. Z* V7 l$ q; i4 s
  1447. ; Windows random source (using the CryptoAPI)/ ~! K% ?6 q9 E# k- |# |* N
  1448. ;session.entropy_file = /dev/urandom
    9 z  U, A! {; U; t6 B' g8 z
  1449. - ?) f5 _* m( v
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects# g6 b8 q6 w5 b# {3 Y2 f/ E0 p
  1451. ; or leave this empty to avoid sending anti-caching headers.5 F/ y; B# d- [' C! o
  1452. ; http://php.net/session.cache-limiter
    3 _( W# i( P# B1 Q! R% p, {! r# Z7 \
  1453. session.cache_limiter = nocache  O$ \2 }: Y4 b( R- t; n5 v

  1454. : ^! b, D. w. E% X+ f" Y) L/ x
  1455. ; Document expires after n minutes.2 h3 }2 }* V# c% s5 o# m8 N+ D7 e
  1456. ; http://php.net/session.cache-expire
    8 a( a# `' C- {; V: A, a! M7 w
  1457. session.cache_expire = 180
    - }* ^1 w% L; x: c& j$ q! E$ R# g
  1458. & ^+ h6 Q# x. H3 \: A" ]& {; p1 S
  1459. ; trans sid support is disabled by default.
    " K9 J- q( ]2 m
  1460. ; Use of trans sid may risk your users' security." \( F* G- u9 y$ }
  1461. ; Use this option with caution.# I' u2 s8 }+ P7 V/ c
  1462. ; - User may send URL contains active session ID6 I3 c, m' O" E* y. P
  1463. ;   to other person via. email/irc/etc., l9 \" ~: x4 _4 E) p4 f- a8 m
  1464. ; - URL that contains active session ID may be stored
    / f- F$ s7 S0 C0 Z7 W
  1465. ;   in publicly accessible computer.
    1 d- J# Z, e. z& F9 {# m# ^
  1466. ; - User may access your site with the same session ID
    1 L1 u3 ?2 q/ g; h8 P
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 b- }  y: _" z7 z; r6 g# N" X+ R
  1468. ; http://php.net/session.use-trans-sid; `0 s( U! I6 F/ l# P# K
  1469. session.use_trans_sid = 0
    ; G$ d6 @9 o9 ^! t

  1470. . V- `# ^2 b/ p8 h) c
  1471. ; Select a hash function for use in generating session ids.
    3 Z2 \" X; ?8 ?' ^4 B- x3 r
  1472. ; Possible Values
    ( U+ J5 o+ D3 z6 f
  1473. ;   0  (MD5 128 bits)
    4 y3 x/ _, _9 v7 u+ \: e
  1474. ;   1  (SHA-1 160 bits)
    . F+ C: _, l- X# H+ D5 |: ?: ]: ?
  1475. ; This option may also be set to the name of any hash function supported by
    % a- s4 F. X% W% ]: s
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
      ~3 @$ C# ?9 L( |3 M9 K7 ?( i
  1477. ; function.
    , \+ {5 p* s7 U' k
  1478. ; http://php.net/session.hash-function6 U7 R/ D4 c/ v5 ?
  1479. session.hash_function = 0* P: J7 T0 E: o9 _& |3 k
  1480. 9 M6 @2 K; Q% J; p% l/ [( E
  1481. ; Define how many bits are stored in each character when converting" `- e2 q1 g# @9 B
  1482. ; the binary hash data to something readable.7 l3 M2 }$ V6 s& M/ x
  1483. ; Possible values:4 N1 q) f& S/ v+ i0 E2 i7 k
  1484. ;   4  (4 bits: 0-9, a-f)# T% m0 s% Z3 p, ?, x! v
  1485. ;   5  (5 bits: 0-9, a-v)
    ! }& `) b; p- }+ |* I1 x3 x
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). J- k3 V7 o( t; i5 t. V; h4 o' ]
  1487. ; Default Value: 48 k8 F4 W8 P( P# p6 {" g! f; t
  1488. ; Development Value: 5
    ' O3 R$ s7 f% ]4 R" c
  1489. ; Production Value: 5) y3 m( D: D& W: \' x) ]& h
  1490. ; http://php.net/session.hash-bits-per-character
    8 ^- c* _5 o$ q, F( Z
  1491. session.hash_bits_per_character = 58 D: P8 H, y2 ]: q  l: i; V
  1492.   Q  ?1 l# `$ E
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( v0 |4 _" w; Q, Z0 h+ \
  1494. ; form/fieldset are special; if you include them here, the rewriter will3 L# O  J4 c% `: M! B
  1495. ; add a hidden <input> field with the info which is otherwise appended
    3 u0 _7 ^- T: Q) e# i- I
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    % U! t% G; S% V' e- @1 h
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ( W" _" h( G5 A8 t& [; O4 K
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( h2 |6 m2 P8 e6 k! C
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ \$ c" B. h! A* S0 v, c% R% t
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# \) E7 `2 b" ^2 r  P2 p
  1501. ; http://php.net/url-rewriter.tags
    7 E5 L: S8 B/ Q, V2 F
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + c5 U; N- d0 n+ i) P! o5 C  e& y

  1503. * N. ~; A7 W* ~/ r3 F) A
  1504. ; Enable upload progress tracking in $_SESSION
    . L) M+ }' L" x+ J' @
  1505. ; Default Value: On
    9 r9 e! W( b9 K- f
  1506. ; Development Value: On
    % B% {! @4 l. ~7 `7 {
  1507. ; Production Value: On
    5 j! F3 S; O6 @
  1508. ; http://php.net/session.upload-progress.enabled
    $ f1 K+ ]! T- }
  1509. ;session.upload_progress.enabled = On! _% z' g  d" J2 K8 V/ t! e7 [

  1510. ; e" J6 s% @3 v* ~. W7 |8 p
  1511. ; Cleanup the progress information as soon as all POST data has been read
    + G: ]0 z" N2 N5 X9 V8 P9 o
  1512. ; (i.e. upload completed).
    ) U5 q/ j. l+ |! N) r8 q# |0 R" c
  1513. ; Default Value: On9 F+ V5 n1 s  I# T3 X
  1514. ; Development Value: On+ b/ X( C* F" _& L. Y4 {9 C5 P9 C! P
  1515. ; Production Value: On; B- m  k4 S0 Z3 J- v
  1516. ; http://php.net/session.upload-progress.cleanup8 _, ~4 m% F. P9 o) N* y1 I
  1517. ;session.upload_progress.cleanup = On
    0 n; y' l, t+ L+ B

  1518. % |' P0 l& P" t( P
  1519. ; A prefix used for the upload progress key in $_SESSION2 ^5 Z1 r3 T: l; f
  1520. ; Default Value: "upload_progress_"1 h6 a9 _. u4 ^
  1521. ; Development Value: "upload_progress_"4 O( U- T2 z9 a$ k, p2 p
  1522. ; Production Value: "upload_progress_"' q; Z- `) \0 u1 Q( r- K- K
  1523. ; http://php.net/session.upload-progress.prefix) p, h, O! o+ X$ U# G5 ^( Q
  1524. ;session.upload_progress.prefix = "upload_progress_"
    * c8 C8 O1 x# b: P. B. n: P5 i

  1525. ! S0 I7 f$ E( q) a  Z1 T
  1526. ; The index name (concatenated with the prefix) in $_SESSION9 ]! y) X4 h3 @3 |% S
  1527. ; containing the upload progress information6 u  O/ X% A5 O' h& W$ x
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"4 R8 X+ B$ y1 L' j7 }
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 b9 s3 m8 S5 K4 K; y, c
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' ^9 F- ^' N! k4 P! S8 N; `& A
  1531. ; http://php.net/session.upload-progress.name$ s  Q/ Y, n. k
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 X' B7 s& ?8 |* o- ^+ j: T; ^2 ]

  1533. " g# n4 F5 [/ T3 C& [
  1534. ; How frequently the upload progress should be updated.
    3 o) ~" D: Q2 J5 f7 U' f
  1535. ; Given either in percentages (per-file), or in bytes; {2 T' T  D! Z3 k1 w5 Y; [0 h
  1536. ; Default Value: "1%"
    - E$ k) ~2 g9 c7 y0 w  R% I# z( U
  1537. ; Development Value: "1%"; U! q8 S3 y0 {
  1538. ; Production Value: "1%"
    . F4 m3 ^6 U9 d' w
  1539. ; http://php.net/session.upload-progress.freq- J9 [  i( {4 C2 M$ A3 \: M$ R8 f3 T
  1540. ;session.upload_progress.freq =  "1%"
    ! K: t& A* l9 U. _/ N
  1541. 1 d* T6 r% o6 P- g. `/ F8 }
  1542. ; The minimum delay between updates, in seconds# a0 p+ r0 t( B7 m8 ?, K+ G, ~
  1543. ; Default Value: 1* C9 }* ?0 w4 I1 J! E3 I0 {0 c. T9 I
  1544. ; Development Value: 18 |6 `8 W5 M: V8 O
  1545. ; Production Value: 1
    5 b' G' q8 m/ M' |2 s
  1546. ; http://php.net/session.upload-progress.min-freq
    0 M: x/ g* o+ ^2 O- ]) b
  1547. ;session.upload_progress.min_freq = "1"
    1 D, ^1 q7 {- I8 c" k
  1548. * T( h. Y2 K! U. w3 L2 Z
  1549. ; Only write session data when session data is changed. Enabled by default.7 H: @0 ?& j3 |: B) B
  1550. ; http://php.net/session.lazy-write( U2 f. T  E& \# l3 ]- Q
  1551. ;session.lazy_write = On2 r  a3 e7 E: U+ L- x. P2 `. Y

  1552. & k  Y* a/ I  u6 |2 D; p5 ?$ X
  1553. [Assertion]7 v% Y! @- x' j0 y# p) k6 P
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)2 [4 Q/ l" i; \2 G( Z' \  W
  1555. ; -1: Do not compile at all
    ' L! C. c: P5 L- I) I
  1556. ;  0: Jump over assertion at run-time
    # }4 w' s% f5 [: b0 }! N# T; Y
  1557. ;  1: Execute assertions
    9 x7 \5 L' B+ I: L7 l' ?
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)% ^9 j! u) @0 o
  1559. ; Default Value: 1
    : y; d; A3 x7 b6 {, w' T! B" O
  1560. ; Development Value: 1
    " \1 f2 T) b9 x/ K) G, ]
  1561. ; Production Value: -1
    ; T, Z' q1 y8 W; C, F3 b
  1562. ; http://php.net/zend.assertions
    / ]* ^1 A! u# `3 t* L# a
  1563. zend.assertions = -1
    . z0 O/ a: U( r
  1564. 0 }8 k: E5 }* |8 [8 O
  1565. ; Assert(expr); active by default.% V9 P; L! N$ k7 P; t% E$ }5 H
  1566. ; http://php.net/assert.active
    & ?8 m- C. {) _/ V
  1567. ;assert.active = On, l% B9 P* J+ W+ T
  1568. / b9 v6 x( K- x! ?9 @" m( Q
  1569. ; Throw an AssertationException on failed assertions2 `9 @/ ^+ c( ]8 \8 \+ x" |8 i& m
  1570. ; http://php.net/assert.exception
    / l+ F) \; \4 a# e" Y
  1571. ;assert.exception = On4 t7 W7 B# m4 U. q
  1572. : Q+ o& U0 L$ G1 G" J! A& s, `/ D
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)$ S2 \! Z. g& N
  1574. ; http://php.net/assert.warning6 F5 k1 F' G% P
  1575. ;assert.warning = On
    " v* K1 L+ w! r- {6 y# Q
  1576. 3 ~% s" o7 z7 o( s- ~" d
  1577. ; Don't bail out by default.
    ! W% m0 D0 D# C- I
  1578. ; http://php.net/assert.bail
    0 b1 Q" k% Q- a/ T- V( x" f
  1579. ;assert.bail = Off, J( c' t! f* Q3 @  m/ y8 b2 |

  1580. 3 p7 [9 n, |" u3 [
  1581. ; User-function to be called if an assertion fails.9 M( e( X$ R+ O1 a8 S) S
  1582. ; http://php.net/assert.callback
    * I, d% _6 z' O2 x8 Z/ u
  1583. ;assert.callback = 0
    & a, @2 [' k6 x+ g

  1584. & W9 T: w# r& f0 @* [" `5 B
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    : k  W$ o5 ~% Y; U: C
  1586. ; error_reporting(0) around the eval().* p+ p/ h* l" `+ _. U/ _/ u- c
  1587. ; http://php.net/assert.quiet-eval
    0 u* f, t: a  D+ r3 V: |5 d
  1588. ;assert.quiet_eval = 0
    % n2 U# e% [' h

  1589. * c9 w2 C+ W( U  \
  1590. [COM]
    9 N8 `* I: V6 [6 x% E
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs" `7 R& ^* y5 X8 Y: {$ o) Z
  1592. ; http://php.net/com.typelib-file+ I0 q/ c4 P9 o( z2 z
  1593. ;com.typelib_file =
    % f( t% Q- M" }1 z+ T

  1594. : N* K/ Q+ N1 v
  1595. ; allow Distributed-COM calls
    # T  U: n6 J4 `* Y; K, v
  1596. ; http://php.net/com.allow-dcom  R# ~  M  O% B: C# b
  1597. ;com.allow_dcom = true+ a5 L5 s/ z; y& H7 ^6 ]+ K
  1598. & h( p6 `# C0 G1 z1 N  V* Y+ Z* j
  1599. ; autoregister constants of a components typlib on com_load()
    + x" |  X1 S) G. ~
  1600. ; http://php.net/com.autoregister-typelib
    # q/ j" |- O9 @2 Y7 M/ q( {0 v
  1601. ;com.autoregister_typelib = true. V+ [0 r8 @- h
  1602. 5 c  z- b/ o. u/ B$ u/ o! Y
  1603. ; register constants casesensitive& N  R7 @$ ]* i, `+ I- K
  1604. ; http://php.net/com.autoregister-casesensitive. Z& |( w# C; o! }, ?% M. r
  1605. ;com.autoregister_casesensitive = false
    . S$ B& L6 g3 U4 @
  1606. , B* l6 I) Y% c0 |8 [: e
  1607. ; show warnings on duplicate constant registrations( ^8 n/ l3 Y1 V; Z/ e9 F' M* @
  1608. ; http://php.net/com.autoregister-verbose
    9 V$ K" u  {, J$ z9 H
  1609. ;com.autoregister_verbose = true
    1 J* R  ^$ {) H( s0 y5 e

  1610. % z7 ~2 v5 t) i9 I  Z1 `
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    " N* C9 O5 l/ D) b* W
  1612. ; Default: system ANSI code page4 b- Y; L# e" v) M0 [5 _
  1613. ;com.code_page=
    . u  e$ T* j1 m0 q

  1614. 6 l4 U1 w& s$ O5 c
  1615. [mbstring]: T" |  R' `1 v4 g
  1616. ; language for internal character representation.8 f1 s( G$ j& {% j2 H
  1617. ; This affects mb_send_mail() and mbstring.detect_order.$ i0 E8 ]' j9 S5 x# V* _$ K6 c
  1618. ; http://php.net/mbstring.language
    6 p3 U  ^% V$ y$ {
  1619. ;mbstring.language = Japanese
    : ?; J+ P: s7 M) U
  1620. % q5 `! @# V- w, x
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 v4 A% p. d; U, m' k8 b
  1622. ; internal/script encoding.3 i0 O9 Q- C7 C9 h+ _( G
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 i  i; h" x' `( [* q
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% ?9 f5 z& r1 N5 @
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 C! P6 n' Y( P
  1626. ;mbstring.internal_encoding =5 t' b6 l/ _3 @
  1627. - Z% [* I+ g. q( u% g) B+ A4 c
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead., j" Y6 p4 f% P  J  m3 f
  1629. ; http input encoding.
    ' E  [+ E: \9 g3 _# y$ B) W" w) V
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 e, P% L. Y; j. w6 \8 Z' `5 K) r
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.9 _  z/ \3 E# l) c1 G! j. v
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    . `) I% y5 z  a2 l0 K1 l( N
  1633. ; http://php.net/mbstring.http-input
    - T; j5 q( X: o# ]$ h: o
  1634. ;mbstring.http_input =
    ' z' h) Q  d) ]

  1635. " D4 Z+ p( e( n+ m& O$ M
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 m3 r- c! I1 U9 V4 t9 X% P
  1637. ; http output encoding.7 ^- e- O4 ]0 Y2 j3 {' y
  1638. ; mb_output_handler must be registered as output buffer to function.  e& O! C- E' _- H( h( D' E
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 y- R" J; E$ i5 S$ G8 F
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ \4 i! Q( N( M$ }. H/ R
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
      a/ T5 o. h+ I6 N# h1 j
  1642. ; otherwise output encoding conversion cannot be performed.9 T) ?, c  v+ Q9 v$ x
  1643. ; http://php.net/mbstring.http-output+ V& r; E5 W& c
  1644. ;mbstring.http_output =
    3 e5 L+ n- p+ R/ u5 R
  1645. 0 y1 _* _6 I! O/ l6 D
  1646. ; enable automatic encoding translation according to
    # g8 C; d; b6 O) M
  1647. ; mbstring.internal_encoding setting. Input chars are: Q. v  j! y( a) d- P
  1648. ; converted to internal encoding by setting this to On.
      `, R4 x/ ?+ U1 O- [1 w: F
  1649. ; Note: Do _not_ use automatic encoding translation for
    1 @( t5 g: C, Q* A) x8 I& {; ~
  1650. ;       portable libs/applications.
    ; d! a) w3 C6 p! _& z4 Y! x0 d
  1651. ; http://php.net/mbstring.encoding-translation) n7 T9 B8 L' v
  1652. ;mbstring.encoding_translation = Off
    5 c4 T5 ^: \! H3 |. _5 k

  1653. % w. B5 p( F& A) F- Y
  1654. ; automatic encoding detection order.
    & ]0 @  {+ W7 l
  1655. ; "auto" detect order is changed according to mbstring.language
    ( B! d* K, M6 f9 o- I5 |$ p
  1656. ; http://php.net/mbstring.detect-order/ n: ?& F4 }9 V5 K
  1657. ;mbstring.detect_order = auto
    $ k& L7 ~* b* \4 R& L

  1658. ' p& T$ C3 h6 }+ ~  E, G
  1659. ; substitute_character used when character cannot be converted
    9 M7 ?* j( W5 l/ S& ^+ V
  1660. ; one from another
    7 Q& @; t1 B' d  `9 D
  1661. ; http://php.net/mbstring.substitute-character# [/ |: @2 q+ U
  1662. ;mbstring.substitute_character = none
    ; A( ], `3 h# c

  1663. . _# w+ e8 K& _4 I# R$ p, K
  1664. ; overload(replace) single byte functions by mbstring functions.
    3 _! l& R: u) v1 Z; v
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),; P/ R/ D. B% j3 A0 x! m
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    $ x  }1 t; O1 ]6 W! \! p. ?2 G+ w' T
  1667. ; For example, 7 for overload everything.
    ' I' K2 ~! v2 W! |6 n1 ^
  1668. ; 0: No overload) O2 `, w/ Z+ Y& ]9 R' _! o) E
  1669. ; 1: Overload mail() function5 [+ `3 c1 Y- T
  1670. ; 2: Overload str*() functions
    - b! X0 @* [( U1 k6 S! o6 c
  1671. ; 4: Overload ereg*() functions$ A0 Y* r; s4 Z( ]
  1672. ; http://php.net/mbstring.func-overload
      H% D% d$ S0 e: M# M! w2 x+ n
  1673. ;mbstring.func_overload = 0# h2 g  x/ c* M/ w' {! O# F9 O4 K

  1674. 0 z: _& A7 S, m, Z1 m  m1 ?
  1675. ; enable strict encoding detection./ ]! c7 @) B- Y0 o
  1676. ; Default: Off
    % }# o9 n  k( K0 m7 @: K* n, @8 r
  1677. ;mbstring.strict_detection = On$ U  P9 S  m! _
  1678. ; `% z. _! n& k
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()9 |; U; q+ @+ O4 l2 A
  1680. ; is activated.; \. ?. ^1 k- S9 x
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml), t4 N+ Z2 M1 F6 G
  1682. ;mbstring.http_output_conv_mimetype=
    2 }) T1 U* V* J7 r% C- }# S% x

  1683. & K5 ]" t' S7 Y
  1684. [gd]' M; R& y9 u5 l5 t
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ! z& M: q0 {5 _6 V: G' m
  1686. ; a gd image. The warning will then be displayed as notices
    ! o" k, C$ P8 r+ ]
  1687. ; disabled by default/ `3 ~: i( y' a* N
  1688. ; http://php.net/gd.jpeg-ignore-warning
    8 V1 r$ X1 G: Z. @
  1689. ;gd.jpeg_ignore_warning = 05 _6 b9 G* D/ G# p: |4 L: m+ z

  1690. 9 |$ u3 S! N2 L- z) ^, l& I6 h
  1691. [exif]
    / r1 g0 e4 N- x; g: P# K6 q+ e
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; h5 c& w0 Q' a2 e* k
  1693. ; With mbstring support this will automatically be converted into the encoding* u4 w! ^. z* o5 K6 t0 ^
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; S5 M3 {5 S, k% M. n
  1695. ; is used. For the decode settings you can distinguish between motorola and8 A0 ~/ K% ~. h* X7 g; I& `8 ^) B
  1696. ; intel byte order. A decode setting cannot be empty.
    ( a3 |1 J, e' m& G  Q( e
  1697. ; http://php.net/exif.encode-unicode* r: y6 y# f4 H) M/ y5 [
  1698. ;exif.encode_unicode = ISO-8859-15
    5 D- B2 D% t( w; V
  1699. * m. v+ C3 f: o3 {' R# @* N0 Q
  1700. ; http://php.net/exif.decode-unicode-motorola
    2 a' J; x  f$ x8 C* N) S  K4 X
  1701. ;exif.decode_unicode_motorola = UCS-2BE. o" X; Q1 j7 n( j1 B. y

  1702. . c, h# R) D& E1 W! i& |9 x
  1703. ; http://php.net/exif.decode-unicode-intel
    . p4 B6 u" D0 E/ @1 S( [
  1704. ;exif.decode_unicode_intel    = UCS-2LE2 c* ~! m' {( ?  ]% N5 C1 V

  1705. + i# U3 W. e, j& o" N
  1706. ; http://php.net/exif.encode-jis
    2 d7 v2 U1 s" H9 r3 r+ ^  ?- O
  1707. ;exif.encode_jis =
    : t  p5 S6 p8 X  {1 W- s

  1708. # |! ~* g5 E1 h5 L2 G( Q' u9 x
  1709. ; http://php.net/exif.decode-jis-motorola
    ! ]/ N( n0 t8 d6 y* M
  1710. ;exif.decode_jis_motorola = JIS
    0 v) D( j; f3 y9 Z# X! K% c7 |
  1711. ) S6 Y- I4 X3 T: z7 b6 B: p& x8 S
  1712. ; http://php.net/exif.decode-jis-intel
    * O4 K- E4 [- u* j5 @
  1713. ;exif.decode_jis_intel    = JIS
    & L* j- |4 J8 [0 I) k

  1714. % M. S3 [. ]' J! a1 s+ ?; }$ @
  1715. [Tidy]
    * |; V- O& K& L$ p* b, m; {
  1716. ; The path to a default tidy configuration file to use when using tidy
    * d0 G# e! g& C* q. Q! T% `" H, k
  1717. ; http://php.net/tidy.default-config" f" W! j' A4 V7 M2 r% G) b
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg' L& |; j/ S9 e" j) T/ k) G

  1719. ( [: N+ e0 G' S/ o9 n3 s/ t' E  U
  1720. ; Should tidy clean and repair output automatically?' e9 u8 ]6 I" x; P. g  ?; [
  1721. ; WARNING: Do not use this option if you are generating non-html content
    , `! P# B+ H9 x( l3 K
  1722. ; such as dynamic images, s: }+ o) H* j& n
  1723. ; http://php.net/tidy.clean-output
    # N8 h$ Q- }* n& x5 p; g) E) x: b
  1724. tidy.clean_output = Off& ]" N+ y# a0 p( a
  1725. ) C2 ?: j* C7 ^( ^
  1726. [soap]
    3 H( ^) k; g+ I3 W8 d8 j, r) C+ s$ ~
  1727. ; Enables or disables WSDL caching feature.
    / X. A/ p7 r9 U0 I
  1728. ; http://php.net/soap.wsdl-cache-enabled
    6 A" V  m2 V) p+ l8 q
  1729. soap.wsdl_cache_enabled=17 s! l  `7 S9 z, o8 r) x
  1730. 9 x, b4 a* e5 C6 w/ c7 O
  1731. ; Sets the directory name where SOAP extension will put cache files.
    8 \) L( ^' B# |0 }9 T
  1732. ; http://php.net/soap.wsdl-cache-dir" b' E8 a- B' O% k
  1733. soap.wsdl_cache_dir="/tmp"
    ( R2 \+ J$ b; `/ k% H

  1734. + T" i6 t2 E" V/ w% e! }" e
  1735. ; (time to live) Sets the number of second while cached file will be used6 T! \, Z$ a4 Y. H6 }' L  K# M  Y
  1736. ; instead of original one.
    . y( d5 r) L; O  X3 i/ V
  1737. ; http://php.net/soap.wsdl-cache-ttl  \: B7 i" h% G( z0 F
  1738. soap.wsdl_cache_ttl=86400
    7 Z1 h; ]; ?& R" s2 K3 ^: K( O8 f
  1739.   L9 O9 K; m. S; X) y$ V: h
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)$ B) `; H/ t6 v% @4 a8 Y0 u" k5 p6 v
  1741. soap.wsdl_cache_limit = 5
    9 |  B; A3 F6 r
  1742. 8 Q' d% F% q+ D+ z
  1743. [sysvshm]
    " Q% N0 u& U) k+ g
  1744. ; A default size of the shared memory segment: k% F0 m- U6 G' e9 m
  1745. ;sysvshm.init_mem = 10000
    ( n3 P# j$ E4 m
  1746. , K# o9 _2 e8 d7 }. C' D
  1747. [ldap]$ E4 [$ y, j) P! _# P
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ) Q: v/ X. R' x. _
  1749. ldap.max_links = -1
    . Y9 v0 E7 U" I9 n2 O
  1750. - _/ S0 T5 j* l$ g4 d: R9 t1 b
  1751. [mcrypt]
    ( t0 K6 t* J# z, E4 S5 J9 F  i/ g/ ]
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ( Q* A0 k6 c4 K: G2 ?9 U% i
  1753. 0 c1 B5 @+ H+ a1 [
  1754. ; Directory where to load mcrypt algorithms% j# r# z. ^0 Q# @' ^
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 D: O& {9 e3 C  ]
  1756. ;mcrypt.algorithms_dir=9 P/ v' Y9 p$ c& a' |4 [
  1757. 5 Z) C' s, Y6 O- j6 V' B
  1758. ; Directory where to load mcrypt modes" Y& J; n+ |& y" E1 k/ h1 O) {
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + e$ ~0 m4 ~3 F: S
  1760. ;mcrypt.modes_dir=5 m  s  t: {" @# g# _

  1761. % y/ m3 x0 y3 o: q  U5 e
  1762. [dba]
    7 G9 A  c6 Z: `- b* Q, i- z
  1763. ;dba.default_handler=3 i+ X( o. I% s0 z+ {
  1764. 1 o' B6 o4 M% H% _
  1765. [opcache]
      S4 e7 P8 `/ M  G5 o
  1766. ; Determines if Zend OPCache is enabled
    0 V5 X* n5 c- \
  1767. ;opcache.enable=0! `/ j. o* I+ L
  1768.   e2 D, `# p6 J+ X7 I* S. z
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP6 y9 z  E! e' H3 Y4 a
  1770. ;opcache.enable_cli=0! O- m' E5 r" a6 X$ Q
  1771. ! p# n7 F/ Y; v7 U4 g
  1772. ; The OPcache shared memory storage size.6 V8 a4 n) K  T+ B1 I9 v( L
  1773. ;opcache.memory_consumption=64
    * }, F$ b3 X" o

  1774. 3 z( i' P! G& w# X! A
  1775. ; The amount of memory for interned strings in Mbytes.' G4 P7 c9 ?" z' u
  1776. ;opcache.interned_strings_buffer=4$ V1 o0 S/ x+ W

  1777. 7 R) j7 I0 }4 c
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.0 Z8 Q  i6 X- X8 x5 l* Q
  1779. ; Only numbers between 200 and 1000000 are allowed.
    * w8 ]8 H1 L9 B7 d* k
  1780. ;opcache.max_accelerated_files=2000
    7 U; L$ U1 ?: R  M3 x1 @. l: E

  1781. 0 f9 S; ?! O8 g' @0 l
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    . U7 [- _6 b' X# O2 d( @
  1783. ;opcache.max_wasted_percentage=51 Q& q' }7 T1 n4 o2 u& d

  1784. 9 z) `* J9 _9 m/ @; u$ V) H
  1785. ; When this directive is enabled, the OPcache appends the current working4 h7 @% W' t+ A2 l( A6 k
  1786. ; directory to the script key, thus eliminating possible collisions between3 k- A- C$ y$ l! Y; U5 |9 x
  1787. ; files with the same name (basename). Disabling the directive improves
    1 n$ c* d' E. Z7 B
  1788. ; performance, but may break existing applications.
    ' k% r. k& y! A! x& `
  1789. ;opcache.use_cwd=1; c* E9 E8 t- [6 I

  1790.   F/ b! G4 K$ l: J
  1791. ; When disabled, you must reset the OPcache manually or restart the7 `( M0 ?/ j( H7 R
  1792. ; webserver for changes to the filesystem to take effect.# d: R5 @( }/ W8 J- O+ n: M; q* y
  1793. ;opcache.validate_timestamps=1
    6 C, X. S4 L! D" |
  1794. ( B7 G% W& f- s: F4 G
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    1 V2 t9 P0 r1 A) K8 _
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ; v5 U' c+ [& g* A8 m2 O. ^1 d
  1797. ; once per request. "0" means always validate)- l+ @; V6 F% u  M, v
  1798. ;opcache.revalidate_freq=2& k& p/ N8 W& C, x& E' t1 i

  1799.   o3 K! e% {; @3 E1 J- G
  1800. ; Enables or disables file search in include_path optimization
    , i, _' h4 M' e1 d: G1 X9 b
  1801. ;opcache.revalidate_path=0
    " K$ N( a! C4 s' u' i' H
  1802. 9 ?$ Q; ~8 i9 p) K
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: M! i% J* Q* ?4 r
  1804. ; size of the optimized code.# T  d0 o0 K, l6 N
  1805. ;opcache.save_comments=1
    ) l& K5 B0 x* `; s& }
  1806. * i7 b3 l0 J; P0 V4 ^' O9 ?% P
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code# R+ o7 B+ _7 v7 `
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    6 g% u& b0 |0 _. c5 a* w
  1809. ;opcache.fast_shutdown=0
    ) F& E- m( [* B8 z
  1810. ( o" \! n4 F& ?, L% a  o
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    - g. F% @2 P  Y7 |0 n
  1812. ;opcache.enable_file_override=0
    $ J' d7 b( K' B. s

  1813. + ^, k% c/ J! u: Y; Y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache7 s8 g. ?, U& N
  1815. ; passes* U4 H$ w4 t/ g
  1816. ;opcache.optimization_level=0xffffffff
    ; p" `, a* F3 c
  1817. 2 z! K% M" B6 A  j
  1818. ;opcache.inherited_hack=1
    - j( m  F7 E* @
  1819. ;opcache.dups_fix=0& |9 r) x9 {9 v1 h" n' ~# ^. P" t

  1820. + S( d# c) ?  n9 `$ K+ |
  1821. ; The location of the OPcache blacklist file (wildcards allowed).+ b$ q6 F( y' v9 }$ j( W3 L3 B1 d
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    # B0 P) q" B, Y" h$ U* L: p0 y8 Z
  1823. ; that should not be accelerated. The file format is to add each filename
    7 N7 Z4 Y9 O5 H6 b! \) J+ w. o* G
  1824. ; to a new line. The filename may be a full path or just a file prefix
    + B& X! b: c' `/ L) L
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    % J& o; I" |7 V8 d) Q' g0 k, E8 h* J
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    1 J5 R3 H0 T6 i  ~- i
  1827. ;opcache.blacklist_filename=
    $ d) a& D% L. O  S% x2 Q4 p

  1828. 1 D2 v9 ^. Q! @" J
  1829. ; Allows exclusion of large files from being cached. By default all files% s- J; k8 f; k" m; {5 p& V. N
  1830. ; are cached.
    . a! F, y; I+ E+ P) [% @
  1831. ;opcache.max_file_size=0
    % p2 I  r. w) \% ]: `7 _( Q) v

  1832. & H6 z0 C% j( O" z# m& E
  1833. ; Check the cache checksum each N requests.
    * I5 z5 W/ G" P- ~% ]
  1834. ; The default value of "0" means that the checks are disabled.# u, C9 U; u) S; L
  1835. ;opcache.consistency_checks=0
      D; V2 ^9 h8 m
  1836. ) K1 q0 z. D, @) F7 n9 f* O1 W
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    % j0 x9 O6 [: ?- w
  1838. ; is not being accessed.5 t( D; P/ }1 m
  1839. ;opcache.force_restart_timeout=180) Y# {( e% |% v2 i5 R7 i% K7 G, [+ @( V# W
  1840. 6 I- w' w* O9 ^7 y
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    & E" o4 [$ s' u
  1842. ;opcache.error_log=3 v  h  p' ]' e  @

  1843. 0 u9 p0 Z6 k; j
  1844. ; All OPcache errors go to the Web server log.
    2 Y# C/ P, Y1 u% |- O* B% g% @( }
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    % `0 _: R! g; ~8 r* r) \" E6 x  d
  1846. ; You can also enable warnings (level 2), info messages (level 3) or5 E$ W/ M% z% e$ v' n( F$ g
  1847. ; debug messages (level 4).
    $ W& T% [$ y7 R, w
  1848. ;opcache.log_verbosity_level=1+ k, ]3 v& R* Y# F. K

  1849. & B; Q  H3 l8 Z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      H- G/ Z- R5 M, W1 r- d! V) j1 T
  1851. ;opcache.preferred_memory_model=. n" ^3 ^8 n2 Q3 C  R

  1852. $ A8 [# k2 H# Y% B
  1853. ; Protect the shared memory from unexpected writing during script execution.* I9 P) Y3 n5 f/ N1 Z, F+ `
  1854. ; Useful for internal debugging only.# v5 A: j& ~: X  J3 ^+ g! e; A
  1855. ;opcache.protect_memory=03 Z/ r( E/ L5 W0 [

  1856. . t, U1 I- w, l9 }7 R- e
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    3 \* E2 R$ ^, X. }, h' k) j
  1858. ; started from specified string. The default "" means no restriction( R; D0 P  C* l# ]! t5 y. m: W
  1859. ;opcache.restrict_api=# ]0 t+ w" w( k# X, |* W3 z% J
  1860. % T9 }2 w" O5 C& M. O% D# D% i
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP1 q  C7 }0 A) N7 }" L
  1862. ; processes have to map shared memory into the same address space. This
    $ X* A/ P5 P! f( K
  1863. ; directive allows to manually fix the "Unable to reattach to base address", G2 y, s7 N7 ?( }
  1864. ; errors.
    # P$ S1 \. J  I) T! s
  1865. ;opcache.mmap_base=
    # A9 d; S, O- {% J8 U
  1866. ; `5 z5 D3 u* H7 d: ?) G+ {
  1867. ; Enables and sets the second level cache directory.
    8 w/ m0 |1 u& A8 o
  1868. ; It should improve performance when SHM memory is full, at server restart or: m+ K" o$ Y, r. r  e8 V& \
  1869. ; SHM reset. The default "" disables file based caching.
    . ?  y) c1 q8 z+ L+ i
  1870. ;opcache.file_cache=3 t0 k& ~: x+ o% C; P

  1871. ( a9 o+ w! x, F
  1872. ; Enables or disables opcode caching in shared memory.1 N+ Q! [, |' h$ N  t
  1873. ;opcache.file_cache_only=06 R5 m* j1 j3 }* y
  1874. 2 H, ^6 g( P7 ~. B- Z5 t
  1875. ; Enables or disables checksum validation when script loaded from file cache.# s) M* C8 b+ v5 `: O3 q3 E
  1876. ;opcache.file_cache_consistency_checks=1
    8 U* f3 O) l  ?5 S2 E9 V' f% c

  1877. ' U& ]! d" F0 N5 S. h
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    5 ~' C8 b) E# {5 E: _) D0 R
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file7 n1 X1 j' ~; f5 c# F# b4 ^" J5 i) S
  1880. ; cache is required.
    # L7 H; |  `3 o" o* Z4 t
  1881. ;opcache.file_cache_fallback=1/ l% X4 i. G% ^( {
  1882.   u  q! Z/ {* ]0 g* W
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% Z8 G* e: B- {9 ]: n; [
  1884. ; This should improve performance, but requires appropriate OS configuration.
    6 r, Q7 L* G# t0 N' P7 i
  1885. ;opcache.huge_code_pages=12 \' ?1 o- u4 Q* R

  1886. 8 E3 |6 e" S* e$ W) \; R* m1 W$ F4 v
  1887. ; Validate cached file permissions.
    9 \" M/ |0 G0 f0 W( y7 U" p
  1888. ; opcache.validate_permission=0. R2 A8 h( u1 g/ `& W) X

  1889. & R1 Z) O: C  W# I
  1890. ; Prevent name collisions in chroot'ed environment.  ]) {8 Y/ y9 X" E
  1891. ; opcache.validate_root=0* ]& F# H) {* k3 p0 @5 i9 H8 B

  1892. 7 G4 b: s) L2 W/ V! O. w. A5 b
  1893. [curl]! r2 a- ~+ R3 U% d
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; p" ~4 Z' q( U- ]5 F
  1895. ; absolute path.3 l4 r& y  c" k8 K- h
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( x) e7 L  \, ], o  ~
  1897. " u1 g( t% t" S
  1898. [openssl]+ k5 @) }" m& [$ a8 G
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ! k& A1 ^9 I( ?" ~5 t( Y2 y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should( `, n7 c2 f0 Z2 _# w) D
  1901. ; not specify a value for this directive as PHP will attempt to use the5 ^' y! I* |5 g5 |" f1 j
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    . Q; I4 b" g6 \$ J& h
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    * R: t0 M  i4 |" c
  1904. ; option.2 y" i. E. p2 A) h- O, c
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    2 ^2 v$ G6 K, _1 s% S9 R

  1906. " m# n/ p5 h4 @+ }" u
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the& T  G0 a, H+ r4 Q4 E
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    7 }4 X8 b  {" [9 Z9 P. x. V4 }
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ( t: r/ G2 ]" Y( [9 w
  1910. ; Most users should not specify a value for this directive as PHP will
    ( e' T6 C0 m6 ]$ I2 s  _
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,) x) W* A7 V7 {, G
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    0 Q9 y3 a: G* K' L/ ?- M
  1913. ; SSL stream context option.& c( t6 r& H+ h( i5 _! G( ]# i+ t
  1914. ;openssl.capath=+ E" Q4 O! b& }# q# _9 T

  1915. ) X# W8 U' w' Y* \% I2 l2 {. j6 l: N
  1916. ; Local Variables:4 H0 T& U1 p7 ?& Q7 E! Y  o
  1917. ; tab-width: 45 A4 Y5 T2 h$ d3 k4 E/ c) N  M
  1918. ; End:
    2 l# m; l% G+ E4 {1 ^6 K- W6 ~6 n

  1919. 0 O  }4 ]2 C6 C0 Z1 |& k: O6 b
  1920. ;eaccelerator
    . n( y7 g9 |' ~8 p: ~

  1921. - {7 i7 L) ?- S$ l
  1922. ;ionCube
    4 H$ {0 ?2 Q, ?  n

  1923. $ f3 ]5 Q3 F3 A
  1924. ;opcache; y0 K7 `$ S( ~- F& v  u
  1925. % q% b5 z! l# `1 ~+ A
  1926. [Zend ZendGuard Loader]( K8 M# f" U8 D3 R  n# W
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.1 G, P/ w% @; Z$ y, H4 K. g; f6 b
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so; l5 f# I$ P5 Q1 R3 d/ ?; h- W: M- j
  1929. ;zend_loader.enable=1
    + g; Q* S% D5 |0 \
  1930. ;zend_loader.disable_licensing=0
    ' c$ s" Z; r8 E& g/ O, Q, K
  1931. ;zend_loader.obfuscation_level_support=3
    " O4 N, X! u: d7 V" P
  1932. ;zend_loader.license_path=( [" U- K7 n* y; J/ \% {
  1933. 0 K4 U8 P+ F1 c/ [. x
  1934. ;xcache+ i7 I. Z: h& m0 y  d

  1935. ! u- w. R# ^+ k7 o0 B, F2 G
复制代码
3 Z% Q, {: V1 z  ?+ Z/ i
( k, F9 \3 q/ ^! W5 d
; u/ Y9 u/ s* G/ v3 q
- h* P' e6 h5 {
" r7 H: ?; e5 Q1 \" b( b6 x
5 o7 X% j- u9 K3 Q9 J! u
0 A) S+ J- W+ `* l  r+ g5 _/ }
PHP5.6版本原始设置, h& y+ N5 I( V4 o( Y! P
9 j7 m5 z3 M9 |$ c" a
  1. [PHP]
    $ b% W1 T! b  X  k- _4 |5 A: d
  2. , b- h  f) j( r6 a
  3. ;;;;;;;;;;;;;;;;;;;
    ! H  \9 O4 d' W6 k
  4. ; About php.ini   ;  V% l  a, B# p% v3 Q
  5. ;;;;;;;;;;;;;;;;;;;2 j$ x3 T. F! A
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ c; E6 P& n+ F/ q$ v
  7. ; configuring many of the aspects of PHP's behavior.+ \& @5 H, w5 i( o+ ~' i

  8. 9 n% E: I6 a' H+ h
  9. ; PHP attempts to find and load this configuration from a number of locations.9 [/ C, ^; f$ }' R' S
  10. ; The following is a summary of its search order:
    . i; O9 l. j" b1 G, U$ u; v6 ]
  11. ; 1. SAPI module specific location.
      j' r' s9 \- @- f2 n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , h' d/ ?) S+ y2 l0 n! ~/ [! B
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& Q0 [0 n. Z3 |
  14. ; 4. Current working directory (except CLI)
    0 r5 J/ j9 Q( w" }/ K8 b  W
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    7 \, k+ U8 y" s/ j) ^& i9 P
  16. ; (otherwise in Windows)
    9 P" @& C9 m, [$ r# K6 \
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    4 H; p7 O+ D1 ]+ d! f7 B
  18. ; Windows directory (C:\windows or C:\winnt). D: S) q& P$ }4 k3 J
  19. ; See the PHP docs for more specific information., X! D- M4 l2 V# ^8 x
  20. ; http://php.net/configuration.file  M# b7 s! m! r) B* P* v, v
  21. : ~9 P" |, e$ c
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 X! {; L1 b) r- H
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + N, N$ \" P2 r- Y8 `* ~
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    & E) a4 O$ y: ?
  25. ; they might mean something in the future.6 @+ I8 U' ^& B/ `" \+ q3 a

  26. 2 l( O- U6 f$ M2 J: a' R+ P4 D# A
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # `5 j: F& L9 A) A) b7 e
  28. ; apply to PHP files in the /www/mysite directory.  Directives, A4 H1 X5 M$ g1 \* Z$ x' Z, V$ q
  29. ; following the section heading [HOST=www.example.com] only apply to( ~% I1 b8 ]6 A5 j9 ~2 `% k$ i
  30. ; PHP files served from www.example.com.  Directives set in these
    . y& {( L/ L: b' i3 d6 j
  31. ; special sections cannot be overridden by user-defined INI files or7 G. M. B) |+ S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; V9 a( }' o9 g: Y& m3 l
  33. ; CGI/FastCGI.
    " G; e+ U. @- V/ ^: o6 S
  34. ; http://php.net/ini.sections
    , A# \+ v' c3 c& Q: l, V
  35. / z1 `1 M7 y6 G* z
  36. ; Directives are specified using the following syntax:+ Q3 p; c# P  d. {' N  o1 e% i+ i
  37. ; directive = value
    - W3 R8 P, T8 z. O
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 u8 @( O6 _" j6 O* I
  39. ; Directives are variables used to configure PHP or PHP extensions.
    # J7 ?, E) x1 B2 X- J- d
  40. ; There is no name validation.  If PHP can't find an expected
    " m8 U1 W% o2 }& i2 n
  41. ; directive because it is not set or is mistyped, a default value will be used.
    : }4 I. J: |$ l# L

  42.   A* }. u4 A) d# d* ^5 G  q0 |) s
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    3 A) `" `  X# F9 W! e! h- L
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    7 u4 A" k- b7 H1 n  }2 m& p  O% ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    2 c* Y! g( b5 S# g/ l3 |
  46. ; previously set variable or directive (e.g. ${foo})
      n' X+ Q4 F9 X" A/ t+ Q

  47. " C4 f4 E! F- C$ j( h
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:2 p- T3 Z1 B. G
  49. ; |  bitwise OR
    4 D* _/ a8 u- b- r6 ]8 v
  50. ; ^  bitwise XOR
    : b2 ~; J* C2 i$ y) Y7 w
  51. ; &  bitwise AND' a% r+ C' D* I2 ?5 l8 z7 N
  52. ; ~  bitwise NOT
    ) O7 ]( E( Q/ `' q, h1 a. L+ M
  53. ; !  boolean NOT
    $ g, ~4 Q7 d% \4 P. N

  54. 2 k9 E! c/ l* c" ^
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.4 i2 U7 q, r- C5 S6 R6 D- k
  56. ; They can be turned off using the values 0, Off, False or No.- H* l& |" a4 }, {/ A/ t

  57. ' X# w& c, \7 K
  58. ; An empty string can be denoted by simply not writing anything after the equal
    5 ~. ?5 O; V! ^9 m/ k( W) G
  59. ; sign, or by using the None keyword:' g. Q3 n$ N0 x7 U

  60. ; J- h* b) G: o7 E- t# N
  61. ;  foo =         ; sets foo to an empty string- W# D: n0 D7 `7 Y4 v
  62. ;  foo = None    ; sets foo to an empty string
    / g' A" r# r1 h6 q" f- m; u* N6 c
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . y1 C% v$ I, b* l

  64. 7 a4 e: b4 e: P3 d4 E, Y0 b
  65. ; If you use constants in your value, and these constants belong to a/ k+ {; N2 h  a6 {1 L
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 T2 D; `9 m6 T- K
  67. ; you may only use these constants *after* the line that loads the extension.
    + k8 x2 @( G/ n$ X4 b( K  A, P
  68. / X7 y1 p1 [" r+ ~( J
  69. ;;;;;;;;;;;;;;;;;;;
    ( @+ J( b! b$ M+ K  o
  70. ; About this file ;
    5 F7 I2 A, O3 K& ~5 t, S' P! `
  71. ;;;;;;;;;;;;;;;;;;;
    7 D6 E- e7 _: h% ?* Z! _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used. l. \3 t5 Q2 l% P
  73. ; in production environments and one that is recommended to be used in
      M# |; F1 y0 w: M. O2 C/ i
  74. ; development environments.5 E" p4 c- v7 A, }" z

  75. % v6 H# t) r$ [0 f$ l+ P
  76. ; php.ini-production contains settings which hold security, performance and/ i* o4 V& J( y$ l! r2 o9 e8 D! @0 W
  77. ; best practices at its core. But please be aware, these settings may break
    % R% W- E$ r7 u
  78. ; compatibility with older or less security conscience applications. We* Z* I! E3 K7 H! Z) [) ?4 ^
  79. ; recommending using the production ini in production and testing environments.4 p& d% G  H, d/ y. f9 n

  80. % s& M% e4 X: s
  81. ; php.ini-development is very similar to its production variant, except it is( Z' }! n1 ?& d& ?& c% z
  82. ; much more verbose when it comes to errors. We recommend using the: C1 B6 z* q2 A- T" _* d2 |* M
  83. ; development version only in development environments, as errors shown to3 t6 [. g6 ^( w# [7 V. K& u
  84. ; application users can inadvertently leak otherwise secure information.
    * o7 `* i4 H/ e5 Y7 Z4 R

  85. ( P! M' O6 H% L7 K2 x
  86. ; This is php.ini-production INI file.
    - j" B% c  t8 n! L8 s2 T

  87. 7 r1 E; m4 }, x: G7 u
  88. ;;;;;;;;;;;;;;;;;;;
    6 |: {6 `' p+ w, _8 X, P2 m
  89. ; Quick Reference ;
    : ?, v. j, Y, D4 t
  90. ;;;;;;;;;;;;;;;;;;;, A" Q+ A! H" |8 r3 W! `7 @
  91. ; The following are all the settings which are different in either the production$ c# h& w! ]4 z+ }" J4 |# Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      a( `/ z% ~, W6 e8 K
  93. ; Please see the actual settings later in the document for more details as to why
    0 t# x$ [! T8 T5 |2 i( b0 E2 }4 B
  94. ; we recommend these changes in PHP's behavior.
    2 \) b* B9 a; b# W4 Q% a/ b
  95. # o& [( d# z: b+ P2 I
  96. ; display_errors! K+ S; _7 w4 j
  97. ;   Default Value: On: q! L: o% ?. x  P! y; b
  98. ;   Development Value: On
    ; X; e7 g- \6 m# H2 _& W
  99. ;   Production Value: Off( Z3 P, q1 J2 `" G6 ^
  100.   h( `9 _; K0 F( ]9 _  z8 n
  101. ; display_startup_errors
    % B8 \6 ?- L0 e. t
  102. ;   Default Value: Off
    6 c0 E3 \3 [' v' T, H
  103. ;   Development Value: On
    ! B; }! \5 k2 N, E$ p" X* T' J0 W" o
  104. ;   Production Value: Off. W1 V  R. k  x
  105. 2 k; ~' m0 ^& Q/ d6 D  f
  106. ; error_reporting
    - [- m6 T5 o( T2 `
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' E6 ?! x0 _: m
  108. ;   Development Value: E_ALL
    & \& t3 N" N; F, j+ i, ~, t7 U. ^
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 z6 O- i( I, ~
  110. " \4 U0 O' Z7 N2 G6 I9 ]/ W( h
  111. ; html_errors$ e3 i4 c( Z3 s6 h- F" I4 A% A
  112. ;   Default Value: On
    # J8 x0 x; B! P. }/ ~
  113. ;   Development Value: On0 }2 u. j. [! m+ W3 r9 Q/ M4 ?/ v
  114. ;   Production value: On+ [  f- g1 s* I! ^6 S% U4 a

  115. 0 n4 J1 N! b- ?3 U8 A# R" t% X% c, N
  116. ; log_errors
    ; h$ O1 \' @$ N  v, u$ G
  117. ;   Default Value: Off
    3 ^) |7 m/ `* L9 f# q
  118. ;   Development Value: On
    / |! v! F* P' J" {" {
  119. ;   Production Value: On- W7 @1 n( n* r& r6 U3 C( Z
  120. 7 l5 ^" ~+ B' ]2 G& R, n+ A) c8 Q3 l) @
  121. ; max_input_time
    % C4 D; Q) u. a0 g; z
  122. ;   Default Value: -1 (Unlimited)
    ! f9 E8 ^1 o) L! B  g/ k* O
  123. ;   Development Value: 60 (60 seconds)
    8 h  c: P! u& K8 z
  124. ;   Production Value: 60 (60 seconds)  f8 m' a5 k$ a6 V9 \+ C! g

  125. ' |0 s5 P: x/ g; f1 `7 W
  126. ; output_buffering
    . R: T" ^+ S% T9 g2 x
  127. ;   Default Value: Off0 u' G7 P5 |' F* }% p- e
  128. ;   Development Value: 40964 ^  u. ?% Q& M
  129. ;   Production Value: 4096- \) n  J" b  N7 |5 e/ L

  130. 9 N9 T) H& l7 ]! i
  131. ; register_argc_argv
    3 j0 f# G+ I, n9 B& m/ i
  132. ;   Default Value: On
    ( v) D% J" z: V$ X$ P
  133. ;   Development Value: Off( D" d( r  X8 b2 Q7 `# C9 @
  134. ;   Production Value: Off/ E4 I. }: z: [
  135. ) p- B: M% s+ u$ m
  136. ; request_order
    8 }, L6 Q! k* A. c, L, ~
  137. ;   Default Value: None
    ) z- O" G- `' j) J! u; G0 v# t& J
  138. ;   Development Value: "GP"
    ! A' O" p, ]( u: n5 T3 j) l( U$ Q1 t7 o% D
  139. ;   Production Value: "GP"
    6 P" a1 v, j: g: r+ ^8 F6 P4 L
  140. * F; I5 W  [% n- c
  141. ; session.gc_divisor5 g3 Y8 a' C1 S6 n3 \. `6 A
  142. ;   Default Value: 100! a3 F; N3 |3 Z
  143. ;   Development Value: 1000+ ~8 k2 R. o5 k. P% N
  144. ;   Production Value: 1000
    ' g* u' E& C7 ?/ Y* F+ O6 C1 `3 o

  145. 9 \( w- j1 @( E
  146. ; session.hash_bits_per_character
    6 V' K- _) z8 L" v6 M' ~/ W( Z
  147. ;   Default Value: 4
    9 J, c  R* m: W( R  m+ l7 v
  148. ;   Development Value: 5
    ( S/ g! p: K5 o. a  n8 z6 O8 |5 Q
  149. ;   Production Value: 5" @- p% @; p7 y8 W

  150. # i' ^+ e/ o  x
  151. ; short_open_tag
    & O1 k2 o: i4 w3 g. x; ^9 p+ s
  152. ;   Default Value: On6 [) E8 @3 d1 R0 ~+ V0 ?0 t: T3 E
  153. ;   Development Value: Off
      B" Q; z7 A( k
  154. ;   Production Value: Off. @- j8 G" ?" w5 F1 D

  155. 8 B+ W. ]" n2 x% c1 R' t$ s
  156. ; track_errors/ x$ T( i; E6 Q7 }$ g. I" E. A2 K
  157. ;   Default Value: Off
    $ O0 Q8 d( Z, Q5 N: w4 L" t: B
  158. ;   Development Value: On
    3 R9 c& a  J6 z8 \
  159. ;   Production Value: Off- K0 |1 S8 z& X% w

  160. , e) x3 x" V3 h, y- i2 T
  161. ; url_rewriter.tags
    ( g4 T6 Q, `$ {- g% M6 s5 ^3 x
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 h4 J3 C& N8 v" ]+ o4 f0 G
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . m5 E5 x8 R: ^% W7 N6 O# d
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 d0 |/ i0 Y( D$ Q; f

  165. 5 a6 I! B/ Z9 T$ c% O# a: }' h
  166. ; variables_order& V! k$ P$ L/ t$ U5 @
  167. ;   Default Value: "EGPCS"4 y0 \6 ^* A8 X4 H8 v, h5 B6 Q
  168. ;   Development Value: "GPCS"
    / J9 C0 Z- |3 z4 Z
  169. ;   Production Value: "GPCS"! T; d5 h3 m1 g  Y$ k
  170. 7 Z: Q- A' O4 Q% {' S3 e
  171. ;;;;;;;;;;;;;;;;;;;;
    9 U1 R$ T' D3 h% T" E; m) T4 ]) g7 C
  172. ; php.ini Options  ;
    % {  r+ [/ q5 _6 C. s. ^* @. C. |5 F. E
  173. ;;;;;;;;;;;;;;;;;;;;5 z3 G2 z9 R. U! p1 R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"2 e! J, f# ^5 T5 s1 W
  175. ;user_ini.filename = ".user.ini"' D4 v& l* {; O
  176. ' m7 E) y3 r, b& E; U6 l0 ?
  177. ; To disable this feature set this option to empty value
    , B2 C5 S* t! [4 i1 p" P
  178. ;user_ini.filename =
    ( b6 t! C) n. k, S6 y' ?8 c

  179. 5 J  u* Y7 ~2 o# c$ b, h7 t9 O
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    / {( O5 h/ R( x/ t0 S
  181. ;user_ini.cache_ttl = 300
    # w3 |7 c! E* d

  182. + L; f# x4 p7 H
  183. ;;;;;;;;;;;;;;;;;;;;
    7 {) l/ ^% C; H4 @( y1 M6 _
  184. ; Language Options ;
    ; ]3 Y4 J. n( ?% Q
  185. ;;;;;;;;;;;;;;;;;;;;
    # ~* d; a4 k4 j9 X) J3 u- ?: e
  186. 2 _. i1 z9 f% O4 i3 B
  187. ; Enable the PHP scripting language engine under Apache.2 l1 T2 a6 M( ?( }4 x8 e
  188. ; http://php.net/engine
    ! A7 u: W2 Y& k) K7 R" z! @
  189. engine = On
    1 W. ^( {* L' w

  190. ! G4 u) g6 u8 _
  191. ; This directive determines whether or not PHP will recognize code between* D* @0 }- l. b# B& Q( s' `) Q) |
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * p% b" ?; r; k& D' }
  193. ; generally recommended that <?php and ?> should be used and that this feature& M! H+ y. U7 n5 `/ I
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 i2 Z8 z- P% n: ~% c$ B
  195. ; documents, however this remains supported for backward compatibility reasons.
    2 q8 [$ T/ r# h& X
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ' m0 c) A9 p0 x
  197. ; used regardless of this directive.' E; X! [% R; K
  198. ; Default Value: On
    7 c/ `: [( ]8 W$ F
  199. ; Development Value: Off
    7 u) r0 R; e) g6 C+ Y  L
  200. ; Production Value: Off0 z3 Q9 V( v& i6 `- a
  201. ; http://php.net/short-open-tag
    ) G7 ?1 I5 j- z+ p' o1 y
  202. short_open_tag = On
    % X/ O% A# }% u0 |
  203. - i1 p: }4 E, m
  204. ; Allow ASP-style <% %> tags.7 Y3 j1 S9 i0 C
  205. ; http://php.net/asp-tags/ x5 @0 U- z; i$ i
  206. asp_tags = Off
    " V, l; c+ W1 C2 r9 k1 ?
  207. ! b* W7 i# N0 `
  208. ; The number of significant digits displayed in floating point numbers." y. v" e" Z0 [- I6 k0 A8 J
  209. ; http://php.net/precision
    - N5 J2 j4 D0 l; w* K- E
  210. precision = 142 P" z, `5 }1 s- V
  211. 0 {0 I- Y" z- f" {, j. @
  212. ; Output buffering is a mechanism for controlling how much output data
    9 M/ L3 T. z7 v3 E* z
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that8 N. m; i7 w/ @) K% }
  214. ; data to the client. If your application's output exceeds this setting, PHP
    & o6 V( l) y! c; l$ S+ L$ }* _
  215. ; will send that data in chunks of roughly the size you specify.
    ' c$ s! E  p, o' p2 S
  216. ; Turning on this setting and managing its maximum buffer size can yield some9 a* l, p3 c" s8 A$ e
  217. ; interesting side-effects depending on your application and web server.
    , g9 E( g; O! @# j" D1 i: [3 Z
  218. ; You may be able to send headers and cookies after you've already sent output
    9 c* h- z' i; E/ S
  219. ; through print or echo. You also may see performance benefits if your server is
    . v" \' w  ^& v" f; [
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ; j8 G9 _9 i( r; u
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance& F- |, k) a- w
  222. ; reasons.
    # |  d7 Q/ [8 W5 I$ \. S5 l
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    $ T8 Q! j" G3 r* Z6 U
  224. ;   functions.0 S& @5 [; m: }1 |& Y/ v" O* H+ \
  225. ; Possible Values:
    / |' m1 i4 n6 ^6 _& P
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)' v& r9 C5 I0 a2 n- F
  227. ;   Off = Disabled
    4 N7 ^9 S' m# Y# P/ n
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * E0 b. g; u7 b$ N' V. w
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : N6 n6 \# G# V& w/ D( o
  230. ; Default Value: Off  I0 V' J) k# P6 E8 @" L
  231. ; Development Value: 4096
      q/ T: O  r3 ~% m" \9 y/ @& h
  232. ; Production Value: 4096
    1 x$ E3 \0 T$ ~. s
  233. ; http://php.net/output-buffering
    + ]1 [9 y  T; o
  234. output_buffering = 4096
    - _5 s4 {% U* r( F* k7 E
  235. + i" n3 N2 R9 i% e
  236. ; You can redirect all of the output of your scripts to a function.  For
    & a% A2 \+ I$ \0 H7 ^3 H
  237. ; example, if you set output_handler to "mb_output_handler", character. v9 a+ v) ]- g6 n, K
  238. ; encoding will be transparently converted to the specified encoding., b# g  a1 w# i* j$ j5 o
  239. ; Setting any output handler automatically turns on output buffering.
      }) k, H$ s/ x+ K( N+ s0 H$ X
  240. ; Note: People who wrote portable scripts should not depend on this ini
    & _7 ]5 w5 q" M5 ^3 C
  241. ;   directive. Instead, explicitly set the output handler using ob_start().& o- n6 U2 e# }+ n3 ]. F
  242. ;   Using this ini directive may cause problems unless you know what script
    & J$ Y0 R" m5 v
  243. ;   is doing.
    7 Z8 G# j+ g! C
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    5 O1 D/ Q9 ^" w! F: w5 f
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. o6 j+ t! D' R/ C' S5 [3 i
  246. ; Note: output_handler must be empty if this is set 'On' !!!!9 _! K2 {3 a: _* g' p# c/ B, F& V
  247. ;   Instead you must use zlib.output_handler.
    3 S( Q$ q' E) \% S
  248. ; http://php.net/output-handler$ h  x5 r  o! b$ j- |
  249. ;output_handler =
    2 j) x/ v+ m, N! Q: D. e% s

  250. . L" c/ q5 X( B- d1 O
  251. ; Transparent output compression using the zlib library: T. q! ?7 |2 T( B; R
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; A. h/ n7 z. _' L. {
  253. ; to be used for compression (default is 4KB)
    4 H7 k: [4 j' ]
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP. A. m. m* T& [: o- a
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 w: D0 A% f% g. N8 n: a
  256. ;   compression. If you prefer a larger chunk size for better
    ( X; Q& ?4 _/ h: E$ _4 E
  257. ;   performance, enable output_buffering in addition.
    1 E) L7 z, ^9 x2 M) z$ \
  258. ; Note: You need to use zlib.output_handler instead of the standard  t8 {) a6 g- q% |: A$ q; ]% p5 ?3 e, w
  259. ;   output_handler, or otherwise the output will be corrupted.
    / x( {+ g8 g7 Q  P# K* l( X0 ~6 T
  260. ; http://php.net/zlib.output-compression
    7 \+ g0 {0 t/ ?/ K0 @
  261. zlib.output_compression = Off% P7 ?8 _. t) ?( J# I/ v& ^# J6 {
  262. 4 k2 E/ a) M2 t! U
  263. ; http://php.net/zlib.output-compression-level
    # g# p! n) U) l
  264. ;zlib.output_compression_level = -1
    + c) M2 A/ G* p
  265. 8 S$ f$ j' W" w) o$ {2 R0 H# a
  266. ; You cannot specify additional output handlers if zlib.output_compression
    , @' b1 b$ @; ^& k  E
  267. ; is activated here. This setting does the same as output_handler but in% z% b6 q4 g3 w+ x# ^4 i& v7 w
  268. ; a different order.0 d9 P; t" k  k
  269. ; http://php.net/zlib.output-handler7 ^- \& Q7 T, q! B$ i
  270. ;zlib.output_handler =
    * J4 Z3 h) Z3 [1 `5 R% ^- e" g7 g
  271. 3 \4 P4 g1 I' j% _; [& {1 d
  272. ; Implicit flush tells PHP to tell the output layer to flush itself! W/ k  N  e! n( z5 m
  273. ; automatically after every output block.  This is equivalent to calling the
    6 E- R& M8 n+ @0 D4 z# j; q9 V# w
  274. ; PHP function flush() after each and every call to print() or echo() and each
    0 k2 O( @* ^# V+ }3 \7 A7 ]
  275. ; and every HTML block.  Turning this option on has serious performance$ ]/ ^: e+ h4 c" t& U
  276. ; implications and is generally recommended for debugging purposes only.
    ' ^$ o$ @* T3 i
  277. ; http://php.net/implicit-flush2 [: J5 q8 r' r
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 u( Q' Q! ^. b# |2 u) i
  279. implicit_flush = Off4 P. d7 H3 W) O8 ?( d: a7 o
  280. ; X  t4 O+ S+ v$ _( y# Y
  281. ; The unserialize callback function will be called (with the undefined class'& b% d6 f; [1 O- t2 p
  282. ; name as parameter), if the unserializer finds an undefined class6 _: H8 y! Y2 D  o( U) |; ~/ D
  283. ; which should be instantiated. A warning appears if the specified function is5 V2 H0 C6 y( i1 Z1 I. s7 p) I' _
  284. ; not defined, or if the function doesn't include/implement the missing class.
      q' D! f- b' |! w2 t7 L( i
  285. ; So only set this entry, if you really want to implement such a7 X8 P. E1 i! G( j) P& ^
  286. ; callback-function.
    * A5 C) x& F# p7 d/ v( Q
  287. unserialize_callback_func =+ ~/ ^6 c& D% C, L6 j& T! e0 ]
  288. $ k. q6 S. \. i4 ^3 }+ f( {3 K+ I4 w
  289. ; When floats & doubles are serialized store serialize_precision significant+ `& r1 \+ p8 d% N/ I' q% Y9 K
  290. ; digits after the floating point. The default value ensures that when floats: [/ e5 U2 ^6 b; V
  291. ; are decoded with unserialize, the data will remain the same.1 }! {  T5 }3 h, w3 t1 ~
  292. serialize_precision = 17
    7 d: z6 e0 O4 N- h  d3 j* g4 ^* E# q
  293. : k8 V# u% Q3 }& l0 o) U
  294. ; open_basedir, if set, limits all file operations to the defined directory
    1 U+ z+ X3 F$ |
  295. ; and below.  This directive makes most sense if used in a per-directory
    " j( B% q. O+ R% u
  296. ; or per-virtualhost web server configuration file.7 e# _6 I- ?  N* X
  297. ; http://php.net/open-basedir
    " {3 p: _, e3 B
  298. ;open_basedir =
    5 h1 R+ x# V2 e% O+ Q
  299. ! Q7 j! @$ S8 O7 O
  300. ; This directive allows you to disable certain functions for security reasons.
    / p+ ], O' [6 F; v( Y
  301. ; It receives a comma-delimited list of function names.
    , \0 H0 }+ [. F- S6 ~
  302. ; http://php.net/disable-functions
    1 y  R2 A9 N0 P! S  Y
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, @) z: I: k- n
  304. 1 c! b9 g: g. t- [) k
  305. ; This directive allows you to disable certain classes for security reasons.6 k+ r6 g7 U/ m4 d" |2 y: P9 x
  306. ; It receives a comma-delimited list of class names.$ S  X/ P) V' c
  307. ; http://php.net/disable-classes
    6 V7 f, W8 u' X
  308. disable_classes =5 p2 e  G% O% @, W" o+ M% C
  309. 8 s5 o) O: s- Q
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ I+ u" y1 K8 s9 G- v; c. q
  311. ; <span style="color: ???????"> would work.
    / k; w$ ?; {& Z, F4 M
  312. ; http://php.net/syntax-highlighting
    ) W& w; f: x1 ?) v5 V
  313. ;highlight.string  = #DD00002 _) O& L3 H- ^( u' Q% E" _( }
  314. ;highlight.comment = #FF9900: @5 n5 T* d9 r+ C. `
  315. ;highlight.keyword = #007700/ d  i% t) x- o
  316. ;highlight.default = #0000BB
    , G* m, w7 z: d7 h- g
  317. ;highlight.html    = #0000002 ?  D( C7 L7 g% _/ C% r: F* G

  318. 1 u6 a9 \" a2 r, e9 ]3 ^
  319. ; If enabled, the request will be allowed to complete even if the user aborts$ C" W( W8 p- a/ j# a
  320. ; the request. Consider enabling it if executing long requests, which may end up6 n$ ?, ^7 a1 ]+ L) L) F  @  X( N# c
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    9 W, E4 _7 J1 g4 D
  322. ; is to disable this feature." M$ y% f/ t/ K$ ]3 A8 o
  323. ; http://php.net/ignore-user-abort: u' V# g% a/ X8 ?! O* m4 b
  324. ;ignore_user_abort = On
    % _( R, g$ V) m' L* X6 Y6 c

  325. : n& |* g: a7 l1 i! r
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    5 R; t( F# s1 r! Q# W: s: |6 ?
  327. ; be increased on systems where PHP opens many files to reflect the quantity of+ }+ t5 z. l% U7 N! Y
  328. ; the file operations performed.5 D" R0 @' b# T! f$ U% h
  329. ; http://php.net/realpath-cache-size
      |) L1 t6 i8 M) r- L+ N
  330. ;realpath_cache_size = 16k
    $ e% F' b1 m# u( q
  331. ) b" f+ ]5 L: e
  332. ; Duration of time, in seconds for which to cache realpath information for a given- i, E  t& ?4 p0 O. \: j6 V9 o
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 n8 F  A$ r" C  }
  334. ; value.
    ( P( {  h6 |7 F! k# x. N
  335. ; http://php.net/realpath-cache-ttl; o* G( o( p, w1 y
  336. ;realpath_cache_ttl = 120
    ( k, c: w4 J; k6 r
  337. ) F/ u8 r9 I  @- E. K
  338. ; Enables or disables the circular reference collector.
    0 k7 l" y  z- A  l' ~$ }/ C1 Z' k
  339. ; http://php.net/zend.enable-gc- L- ]' m( F, x" y
  340. zend.enable_gc = On0 Z- U/ v; E. Z$ Z
  341. 6 L. E% n- b+ T& ^4 _; l! f( ]
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    9 u/ f5 I9 o- R0 w: z
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such8 ~- q7 W9 v5 }+ x' }3 y2 O2 R' G
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    3 o1 `  [) `0 ]9 d
  345. ; Default: Off
    0 \3 j# f; I: t, e- T
  346. ;zend.multibyte = Off) H$ w% M8 n) p3 o! p

  347.   N; g4 T3 Y7 {
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    . X# Q( b" y8 @' @/ B5 \
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.4 u2 V& V4 `9 C
  350. ; Only affects if zend.multibyte is set.9 o  |( P( f5 U; \3 v
  351. ; Default: ""
    + y' H7 v/ g0 [1 a6 R5 e. ~* r3 ?
  352. ;zend.script_encoding =$ o) J/ E' S" c0 D( G3 W: `

  353. 9 U9 C' }" w- ]  `
  354. ;;;;;;;;;;;;;;;;;6 n4 l5 x; ~( B6 C3 n- c+ I
  355. ; Miscellaneous ;
    ( ^# H  ?, P" T9 z3 _9 ?+ c& \( P
  356. ;;;;;;;;;;;;;;;;;
    5 J% y( C; Q! E6 p/ P
  357. / R; \/ n7 |2 {
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    - j! Y& z# [% ~1 c- ^3 V- Q
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    + l' g( a* ]0 h9 Q; w
  360. ; threat in any way, but it makes it possible to determine whether you use PHP1 m8 r& Z) e& }% i1 v
  361. ; on your server or not.2 J  W$ B2 b* `; z6 m; `
  362. ; http://php.net/expose-php+ D  J, O7 c# [2 x$ [/ w
  363. expose_php = On" S9 ?) T0 r* N  I) f
  364. 0 c  ?( f2 Q0 g' h5 l' h( V
  365. ;;;;;;;;;;;;;;;;;;;5 O1 m1 q# Q: ^7 ?' W$ x1 m# S- P
  366. ; Resource Limits ;
    7 K6 d) r6 K# {6 y
  367. ;;;;;;;;;;;;;;;;;;;
    : P' S- Y, e; R( J) {1 L

  368. 5 ^. n/ A; o# f  x5 @1 d
  369. ; Maximum execution time of each script, in seconds3 y& v8 |, m+ m+ `: f
  370. ; http://php.net/max-execution-time
    . C3 v* ]2 y, n  }; \/ u
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ L9 F. T  z; G7 S3 m. M9 [
  372. max_execution_time = 3001 F, c5 T( q3 h( G7 i
  373. * G: R! D( C  b: s8 W
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    # D2 i3 z& I2 O+ \- h5 L
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ! H+ Q/ N9 ~: v! c* S, N2 S; K8 W
  376. ; long running scripts.8 u1 Y- E% a8 K! E( Y! \: ~
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    0 |+ |- f# |2 A" \$ [1 k
  378. ; Default Value: -1 (Unlimited)- F6 d* ^0 D# w  z* w/ R) n
  379. ; Development Value: 60 (60 seconds)- {1 F* N! v$ y: E1 b) w# a" t
  380. ; Production Value: 60 (60 seconds), `$ N6 z6 q5 L' M' r2 |
  381. ; http://php.net/max-input-time- f; |; B7 {! k
  382. max_input_time = 60
    5 b' F4 A& h0 E( ~' D$ |* X

  383. & P  V) C5 k$ @+ j- z0 h
  384. ; Maximum input variable nesting level) i* [0 f* S3 c2 l3 F) S! q
  385. ; http://php.net/max-input-nesting-level
    5 B& h: @( N2 M  U% J! E  d
  386. ;max_input_nesting_level = 64' e+ b  i6 [* H

  387. * I9 U: q% Z. J' W1 {0 \; l/ j
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 y$ X* O+ M& i- m2 v& K
  389. ; max_input_vars = 1000& h1 a+ c; }& n6 b, @# U- s+ m
  390. 8 w; N5 W8 N2 X3 j4 q. \# v# ]3 f
  391. ; Maximum amount of memory a script may consume (128MB)9 b) J! ~" i7 g2 @) ?2 E# w
  392. ; http://php.net/memory-limit
      F8 s' l0 V  K3 |. W  z
  393. memory_limit = 128M
    # o# F8 U; ]8 i6 {- e( c

  394. 8 W) O# ~- [  q6 V
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- N& P4 I+ M7 p/ f) S: n! T: _
  396. ; Error handling and logging ;
    , U- g) [4 {3 ~$ c) T
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! x% O# d  g1 m) I  W$ h
  398. 8 A0 x" ?/ }) B) o, ^9 Q8 x
  399. ; This directive informs PHP of which errors, warnings and notices you would like# g$ h. I) w* M5 r0 Z3 H  ^3 [
  400. ; it to take action for. The recommended way of setting values for this% V$ A4 ^2 k8 B, L( D& f
  401. ; directive is through the use of the error level constants and bitwise8 g) [  S6 c" D" ?
  402. ; operators. The error level constants are below here for convenience as well as4 `5 i/ I2 L% f, x) F
  403. ; some common settings and their meanings.2 N% W9 U& L8 [% v( P4 P9 h( J0 d
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' G/ Q( `5 }. Q& a9 P9 _' _
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ D& |9 P# M# o. j; r: [7 x0 F5 b
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    - N" N4 b. |2 r5 X& l/ r! O2 ~
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ) w3 `$ [% y8 ]1 ^3 f) A
  408. ; resources complaining about best practices and coding standards. That's what
    3 ^$ o: ~' G9 ^" y2 ^$ J, b; I# D
  409. ; development servers and development settings are for.
    " V5 z) t% L: [
  410. ; Note: The php.ini-development file has this setting as E_ALL. This- `: x; E5 y! R2 F% V
  411. ; means it pretty much reports everything which is exactly what you want during1 S& O! E' ^9 y9 K. \
  412. ; development and early testing.; A, ?) G* |3 \2 R/ L8 u# p# t7 I
  413. ;3 v; w0 H' T9 ]4 Y) j
  414. ; Error Level Constants:
    / t" X% r3 Q9 Q9 A% B* c9 ?  e* p, q
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    % a( X) W7 c4 o1 s+ {7 a; }% p
  416. ; E_ERROR           - fatal run-time errors
    9 M7 |7 s" |! d: x
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 V* ^$ P% f. ?  }" V9 [0 N9 \" C
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    4 L  ?  s) u; z* g) r
  419. ; E_PARSE           - compile-time parse errors
    , F: @" O4 i( H' {! m
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ; g' ~. ^" Q7 ]4 P1 k" ?, a
  421. ;                     from a bug in your code, but it's possible that it was
    5 }, z' D4 Z% v& z7 o, f
  422. ;                     intentional (e.g., using an uninitialized variable and
    % C4 c6 ]( H$ v# y" t% ]
  423. ;                     relying on the fact it is automatically initialized to an, t4 |, m; R, o% a
  424. ;                     empty string)
    9 ^* f: A( f6 c& q2 K2 Z
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    5 ~& Q# K: s- z
  426. ;                     to your code which will ensure the best interoperability4 @& X' D& D/ [$ M8 i( O
  427. ;                     and forward compatibility of your code
    ; F  T6 w' u6 k
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    5 X5 r$ ^3 p. X- h
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 }" y# g4 q0 h0 T1 y
  430. ;                     initial startup
    1 H2 I( @9 {3 Q
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    1 L( `/ v; I. F7 O) y# u) _
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 _/ f: v' r4 f
  433. ; E_USER_ERROR      - user-generated error message$ O- r3 X: H+ P, \7 N
  434. ; E_USER_WARNING    - user-generated warning message
    5 M) o5 |( x3 ]# x
  435. ; E_USER_NOTICE     - user-generated notice message+ y+ ?3 T! W6 O7 ]0 y. q- i/ l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions) h0 x$ s) Q1 y, c
  437. ;                     of PHP
    : |7 A/ j: d; t+ U
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) ~2 A' z$ N0 X1 m& d% S
  439. ;
    1 q* M: S9 y1 e7 m0 h
  440. ; Common Values:
    # w% r, @& D: D9 ]6 F# U
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ D% T  V. M  d8 b
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    , o* [+ _# D' E! Q5 i! G2 s
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)2 t5 e( b0 w, r2 [3 ~7 g( e
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)* I$ t- M3 ]7 F- _+ |, r
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : L7 f2 \* m1 s5 h  {
  446. ; Development Value: E_ALL
    " A- ]) I7 N/ ?6 x7 m: N) \
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT6 N: O* ^+ ?9 Q2 U1 Y% a
  448. ; http://php.net/error-reporting* K+ X# ^: r. A2 O; @: y
  449. error_reporting = E_ALL & ~E_NOTICE
    ( s; j' r8 f! Q* n' Z& W
  450. " q9 F3 C1 @7 M( X- A. p/ ^
  451. ; This directive controls whether or not and where PHP will output errors,, H- |% {. z: c' y0 h7 ~
  452. ; notices and warnings too. Error output is very useful during development, but9 \/ [3 m+ c4 }! b- G4 ^
  453. ; it could be very dangerous in production environments. Depending on the code
    + T/ r* f9 [0 E7 j
  454. ; which is triggering the error, sensitive information could potentially leak; B- T7 e: g% x3 Q, s8 r
  455. ; out of your application such as database usernames and passwords or worse.
    ' I( S  W9 z3 y* j2 F0 S2 @8 X. b
  456. ; For production environments, we recommend logging errors rather than
    7 o; Y, l2 N3 U" L
  457. ; sending them to STDOUT.
    / L5 g6 n2 [6 p; P1 r( ]
  458. ; Possible Values:0 m: p' s: [/ J" F, z  u3 T/ `
  459. ;   Off = Do not display any errors
    ; S; S! X8 p; G/ d2 L' q6 B6 a
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    4 [3 h5 {8 W* B
  461. ;   On or stdout = Display errors to STDOUT" I1 M! W0 |  s& `# W
  462. ; Default Value: On* t0 e+ e0 |" r2 I; s+ d; ^7 i
  463. ; Development Value: On# D7 s# R% R+ _( y1 u0 o6 a# r7 j
  464. ; Production Value: Off5 x! o+ }; Q) k- D% q: H+ c
  465. ; http://php.net/display-errors0 U( j; P0 ^% x0 _( S5 R2 _
  466. display_errors = On
    : z2 h" {  _6 d1 I
  467. % x8 ^, t/ p2 T* x8 J0 K4 g, q# l2 C
  468. ; The display of errors which occur during PHP's startup sequence are handled
    # t8 Y/ d' ?2 v, F! r9 F
  469. ; separately from display_errors. PHP's default behavior is to suppress those1 l8 S! ?& R, q1 `* c  x- u
  470. ; errors from clients. Turning the display of startup errors on can be useful in# `& e) h1 Z$ y5 h" A
  471. ; debugging configuration problems. We strongly recommend you. j$ g( I9 F$ W5 s! ~' X
  472. ; set this to 'off' for production servers.: W) V3 ?5 ~1 b! W9 A
  473. ; Default Value: Off
    2 E$ C( S0 `! J# \) @4 h8 I
  474. ; Development Value: On
    4 O1 L" @/ U8 _2 M& r" O9 M! |7 r4 H
  475. ; Production Value: Off1 u. P% x7 P$ N  w6 W
  476. ; http://php.net/display-startup-errors
    4 a0 R. U$ u, a: z1 D+ S% X
  477. display_startup_errors = Off2 L4 w$ Z: C' w3 D! _0 ~  K
  478. 8 z& P; b! E  @8 _7 D
  479. ; Besides displaying errors, PHP can also log errors to locations such as a$ o. r/ @  H! \" z5 L, m
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ' E+ x7 g; w+ w1 l7 v
  481. ; directive found below. While errors should not be displayed on productions
    0 a# g/ b' ]5 J8 [8 U
  482. ; servers they should still be monitored and logging is a great way to do that.
    % R8 Y. k& Q% J8 \
  483. ; Default Value: Off: m, C( t) b  ~8 q5 K9 n6 G2 {
  484. ; Development Value: On9 f# Z& D  E% ~$ r; @9 M2 i
  485. ; Production Value: On5 b, z0 N4 {# T4 r5 M
  486. ; http://php.net/log-errors
    8 v7 \4 a9 F, r6 E
  487. log_errors = On
    1 T, Z/ R. b9 I6 _8 x. [
  488. ! E! y7 l1 G, Y7 \
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ( S3 z3 r' b" L" D
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.( I; |# A2 e: D$ J
  491. ; http://php.net/log-errors-max-len
    3 W: C: d" }9 d4 V  ?) W
  492. log_errors_max_len = 1024
    ' G- ~' K; s% `9 V
  493. / _. B  S# J# h7 ]
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ( z3 ?0 y  F: S3 a
  495. ; line unless ignore_repeated_source is set true.
    - z4 i/ Q4 D) S: {- W
  496. ; http://php.net/ignore-repeated-errors; `% a* e6 t3 o0 _4 R3 }# t$ X/ x3 s
  497. ignore_repeated_errors = Off
    + r: o1 j+ u) J! l7 i
  498. + E( u# l/ l) p% B9 [5 ?) X
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    2 P% t. ^$ j6 @( ~* y
  500. ; is On you will not log errors with repeated messages from different files or$ c: A- z3 k# {
  501. ; source lines.
    2 M2 _" a: F3 z
  502. ; http://php.net/ignore-repeated-source
    1 L1 U* O- H( N( A1 W# O
  503. ignore_repeated_source = Off" g* z9 W* x% t/ x6 I& o. j6 g

  504. ; g# l3 f. r) _% ~
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    7 w# t/ B& n" i1 A
  506. ; stdout or in the log). This has only effect in a debug compile, and if6 P. \1 v! }7 p' S9 _$ x" X) X& C
  507. ; error reporting includes E_WARNING in the allowed list
    * {# k1 U$ j. j; J4 J/ `
  508. ; http://php.net/report-memleaks. z' b! @  y; o) H+ `, k% @# a
  509. report_memleaks = On7 y% R; E3 C  Q! F! u) ]
  510. ( o$ j0 f+ \% \9 E. x" d# K9 G
  511. ; This setting is on by default.0 ?; N% l' \- \) O$ r2 c
  512. ;report_zend_debug = 05 v2 b/ \( \1 n. a$ D' n
  513. : ?; {9 ^6 B/ H0 G
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    , d6 C0 _2 V: J; y
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ) y: g: C  d; s) X+ r
  516. ; however be disabled on production servers.
    % {% Y2 d( }9 D: N0 y
  517. ; Default Value: Off8 \! h& z4 I# g% V& z. c& N- d
  518. ; Development Value: On
      b5 {; C, G6 T; {" H' @" r) c
  519. ; Production Value: Off, k+ ?9 S1 o9 V( U
  520. ; http://php.net/track-errors: M3 R$ P# L& ?: [5 y  s
  521. track_errors = Off* ^0 E. @/ d- k8 h# L
  522. , u5 h# w5 {  i7 R
  523. ; Turn off normal error reporting and emit XML-RPC error XML( n" B. r1 o  ^# b3 I5 V
  524. ; http://php.net/xmlrpc-errors( o5 w0 B* T. @0 ~
  525. ;xmlrpc_errors = 0
    ) u' d* o0 ?" V; A+ c. ?4 @& {* U

  526. 2 D1 v) s! v" J5 g1 M6 G8 V  w8 ]& z
  527. ; An XML-RPC faultCode
    7 T* B$ m8 h/ b! |& O' z
  528. ;xmlrpc_error_number = 0- P7 N% v: S  z% I# x
  529. ' W: q- f; C7 {& m+ i
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    4 G$ Q7 ]  L( C( x" |; O, P
  531. ; error message as HTML for easier reading. This directive controls whether
    ( D& o. T5 v- a* R3 K
  532. ; the error message is formatted as HTML or not.
    * Y& k* o% K9 ?/ s) V* _8 s# q0 p7 I
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + a( I* M4 B& C8 q! w1 t
  534. ; Default Value: On
    ( P2 F3 e2 F( @- n. ~
  535. ; Development Value: On
    7 c: R' D& ~5 g
  536. ; Production value: On
    . j, c4 M8 C% b1 k
  537. ; http://php.net/html-errors
    ! b/ Q) g" R6 K4 }" c. O4 |
  538. html_errors = On1 ^2 X& [; A/ v+ E& Y. \
  539. / v% U7 i1 a2 [7 C/ A) n. R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; P. n4 F( ~, B3 E6 \+ t1 f
  541. ; produces clickable error messages that direct to a page describing the error
    ; B: }( M9 Z1 p- g& R: q
  542. ; or function causing the error in detail.8 |! u' g& P$ b3 [6 ^7 E; M6 y
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    5 t1 E8 i) }' [( `; x% J/ j
  544. ; and change docref_root to the base URL of your local copy including the; d1 v4 @+ i6 R! H2 R3 @
  545. ; leading '/'. You must also specify the file extension being used including
    $ C6 w; v' |4 c$ p) o6 s
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / a0 q) b) y+ q. O
  547. ; case no links to documentation are generated." @# L9 j$ q! _0 R( `
  548. ; Note: Never use this feature for production boxes.
    8 N+ }, H7 N  \
  549. ; http://php.net/docref-root
    & c% O7 b  z* G- e
  550. ; Examples1 ^; [4 i0 b, J3 I! p/ z- y
  551. ;docref_root = "/phpmanual/"2 I& n/ @% ]! ?( ^/ y* O% t# l5 ?* I

  552. 1 Y& J, _, ]3 q  }; l# q$ g8 K
  553. ; http://php.net/docref-ext
    . e0 v( t( L) [8 t9 ^# {: ~% O
  554. ;docref_ext = .html. Y; N- {' [  S) |6 f
  555. ) C. v5 h( l9 q5 h
  556. ; String to output before an error message. PHP's default behavior is to leave
    ( y- G5 Q: r- q# ]# H
  557. ; this setting blank." h; Y4 p9 m8 B+ [' w
  558. ; http://php.net/error-prepend-string# c" J% l# C/ y" c' u; N6 r
  559. ; Example:
    3 p- s' H$ V2 a* x7 X5 D8 L. V9 g: G1 Z# Q
  560. ;error_prepend_string = "<span style='color: #ff0000'>": a6 {' F0 V; r  [: w% w, N; H

  561.   a6 T+ m  b, X  V
  562. ; String to output after an error message. PHP's default behavior is to leave
    , h4 U- \1 T& N; [
  563. ; this setting blank.
    4 B  p- j8 Y9 D- g0 A* O( N
  564. ; http://php.net/error-append-string
    , K& J  d4 X0 m8 D
  565. ; Example:" f0 l# X5 w; j. S
  566. ;error_append_string = "</span>"
    0 i7 M+ ^- h( R* B& m) ~( G. _& J

  567. # _3 |9 ~* ]: Q1 a
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 p9 F& x8 {" j2 n
  569. ; empty.
    9 f3 E: ^& }! t( U
  570. ; http://php.net/error-log8 K% }- V9 U3 P) l' ]
  571. ; Example:1 B6 ^, ~: e) p+ O4 k/ Z% C
  572. ;error_log = php_errors.log/ e% d3 D* {% T" f* C- Y2 g, M. |
  573. ; Log errors to syslog (Event Log on Windows).
    2 c& H) e/ ^% Z9 [: G
  574. ;error_log = syslog
    $ `/ u; B! f" {

  575.   p. N' k5 f* J' ?) z5 E; Q
  576. ;windows.show_crt_warning
    $ b3 |6 P: j3 Q! }& K- ]
  577. ; Default value: 0
    ) Y" o% t- ]' u$ h+ {
  578. ; Development value: 0
    , i6 i$ Z6 s% j/ h. N$ r2 w6 ~+ m6 d
  579. ; Production value: 0/ y1 o* \! M9 i7 [) S

  580. % s  d; ^: v8 l7 r/ F: E# H
  581. ;;;;;;;;;;;;;;;;;
    7 p% }; I) l1 d& C
  582. ; Data Handling ;
    , S2 _/ m' w/ _7 Z# q8 x
  583. ;;;;;;;;;;;;;;;;;
    ! h& [! g2 p2 _; I3 ?7 Y

  584. ( `; o, i! {/ a% C$ V
  585. ; The separator used in PHP generated URLs to separate arguments.- N; W8 L, j! A0 k2 G- z  t& a5 c$ B- d
  586. ; PHP's default setting is "&"./ {# ?  o, R% B! j6 W" I
  587. ; http://php.net/arg-separator.output
    7 D& @& s; @% B4 ^7 _0 `
  588. ; Example:
    2 S, \6 x0 y0 G; h3 H6 F: f
  589. ;arg_separator.output = "&amp;"
    . B! L6 x: g  M
  590. + A5 M: f* A) l( b: z% s1 ~
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    + |9 z: o6 S4 ?& }9 k  b& C
  592. ; PHP's default setting is "&".! I# f- o' Y) T# Z
  593. ; NOTE: Every character in this directive is considered as separator!/ I& O2 G8 z! l0 Y0 C, A! c. P4 x
  594. ; http://php.net/arg-separator.input9 {, }$ K5 K0 ?: p% u0 W
  595. ; Example:3 B! Z! q8 O0 i' z, Q! H' ~5 f
  596. ;arg_separator.input = ";&"
    * T2 h9 p/ z2 x  R) |, [. `( v
  597. + {0 p# t+ S# N2 X+ p# V
  598. ; This directive determines which super global arrays are registered when PHP) R- X. j5 g' ?
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' q: w: S3 X/ X, `
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    5 l" ~6 Z; e2 s7 j- J) ?+ Q
  601. ; paid for the registration of these arrays and because ENV is not as commonly4 M! Y1 y# {- k! B# u) m  Z
  602. ; used as the others, ENV is not recommended on productions servers. You
    + K! K# h3 t6 Y/ t% c8 @
  603. ; can still get access to the environment variables through getenv() should you
    ( s/ c+ z6 h9 o/ E: s2 _* [+ S. ?. ?# \
  604. ; need to.
    4 \3 x) a$ \1 h2 D& H
  605. ; Default Value: "EGPCS"" r! v  P* |; C3 M8 R# Q. u9 j
  606. ; Development Value: "GPCS"
    + u( n/ [& h* B3 {  Y7 o3 i  `
  607. ; Production Value: "GPCS";# Y  t; w9 z5 A+ r, T/ a
  608. ; http://php.net/variables-order
    8 i" K% }1 l# ^5 V: F7 T
  609. variables_order = "GPCS"
    " R9 o& D4 @, J

  610. 2 D8 y5 h4 g6 s& A- p* E. n& r
  611. ; This directive determines which super global data (G,P & C) should be7 h2 {; @; [( {3 {. X3 i
  612. ; registered into the super global array REQUEST. If so, it also determines; O$ J- j9 i& c- G" Z# F
  613. ; the order in which that data is registered. The values for this directive
    * x6 E& X6 h" I0 M$ ^% p, J0 O( n) Y
  614. ; are specified in the same manner as the variables_order directive,
      s) F. T; O% W
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ g* m5 h4 e' k" w
  616. ; in the variables_order directive. It does not mean it will leave the super
    . P1 I# |  b5 _; N: f, u4 @
  617. ; globals array REQUEST empty./ D7 D1 j! Z$ a: N7 B$ N
  618. ; Default Value: None
    7 c8 K+ G. Q7 M. ]# R7 g
  619. ; Development Value: "GP"$ c. A7 I4 D- _) f) m5 y$ s
  620. ; Production Value: "GP"5 ?# Q5 n+ h: K1 ?$ D/ Z
  621. ; http://php.net/request-order
      ?! m. F2 G4 V( A6 t7 {7 O+ J2 q
  622. request_order = "GP"
    . i  R; J7 `: ^% a
  623.   z+ N/ B- \# r" ~8 B% _/ `
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    5 @6 {; z  q" O9 v2 W
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    # D6 b  u- ?) P' i9 M
  626. ; is invoked. $argc contains an integer representing the number of arguments5 C- `: Y) ]% b! Y2 Q# D
  627. ; that were passed when the script was invoked. These arrays are extremely
      M" c: ~. _1 D$ t  }
  628. ; useful when running scripts from the command line. When this directive is* ?) _( i+ d) a3 r# `
  629. ; enabled, registering these variables consumes CPU cycles and memory each time7 s# V- ], j4 t8 w4 L3 Y
  630. ; a script is executed. For performance reasons, this feature should be disabled2 t4 W/ J; |' A1 Y# d3 y
  631. ; on production servers.4 R, N$ c+ r( h1 v2 P
  632. ; Note: This directive is hardcoded to On for the CLI SAPI) \; [# t% Z$ i5 Q, F
  633. ; Default Value: On
    1 I9 e% |2 }- p
  634. ; Development Value: Off
    " x+ Y* A9 Y* `. a! c9 t+ d$ q
  635. ; Production Value: Off4 O3 Q+ G- w$ Q( \1 t  Y7 Q
  636. ; http://php.net/register-argc-argv
    $ R4 A5 M; T& f/ r7 R0 M8 A
  637. register_argc_argv = Off
    , E5 X, G+ K7 z  w; w# S

  638. ! v( x" v1 m% ]. w; x4 E  E5 E' c
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're. K4 J, @" I6 `7 z+ J0 Q2 @& B" M
  640. ; first used (Just In Time) instead of when the script starts. If these
    & L" v* e, }& y4 @4 \
  641. ; variables are not used within a script, having this directive on will result$ M8 e% D! o" Z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ! T0 ]9 y4 @$ p- }/ g! T9 {# o
  643. ; for this directive to have any affect.+ m4 \! x7 J$ z2 J
  644. ; http://php.net/auto-globals-jit+ J5 O  m: t8 j9 k( c' d) {
  645. auto_globals_jit = On
    0 G  g6 f6 T* e1 k0 ~0 q
  646. ' s0 A& A9 W/ g  @. y* F# {
  647. ; Whether PHP will read the POST data.
    7 s8 ]5 k+ a) U: F1 [
  648. ; This option is enabled by default.2 g) O; I1 w, c' e1 Z' B" E
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    - V8 |" F  C+ m" L6 U7 v8 V% ~
  650. ; and $_FILES to always be empty; the only way you will be able to read the
      _0 [4 s/ t, g  q
  651. ; POST data will be through the php://input stream wrapper. This can be useful5 j0 s1 y: I/ z- X# V
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 L5 P" z, i; v
  653. ; http://php.net/enable-post-data-reading
    1 z4 f* @" a9 s0 `) t; l& c" y
  654. ;enable_post_data_reading = Off
    * x+ k3 K% \  N9 n8 M
  655. ( L& U. m+ ~! A$ n7 M5 @
  656. ; Maximum size of POST data that PHP will accept.
    & G0 e/ _8 R  `7 G* Y& W- [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / g9 ]2 i" }7 m) m# H
  658. ; is disabled through enable_post_data_reading.
    & J3 ?8 _# u  ~/ v$ i
  659. ; http://php.net/post-max-size& |7 r2 B  X  M5 b* y! b
  660. post_max_size = 50M6 D$ ~, @, k) }
  661. & P+ a# z( J5 \2 g6 v) @
  662. ; Automatically add files before PHP document.
    0 [  `- e5 u8 q5 o! C, T1 K7 ?; N
  663. ; http://php.net/auto-prepend-file
    # X& X7 Q: c& B+ D" D
  664. auto_prepend_file =
    - c( D1 |$ I) s7 p" J' |) ^

  665. % o) V% I" A# r/ ~- _
  666. ; Automatically add files after PHP document.
    8 v2 `0 I( U$ j& p
  667. ; http://php.net/auto-append-file# y) u% `$ p5 ?# P. c+ F
  668. auto_append_file =* u" m; h7 x1 I8 |/ U$ F4 R6 q1 Q- u' |

  669. * L- v/ n" a% m, f7 k# ~7 u
  670. ; By default, PHP will output a media type using the Content-Type header. To
    . m* j0 X2 P9 _  Q0 N" p3 R. n$ ^
  671. ; disable this, simply set it to be empty.8 X3 Q8 L! o0 [7 d2 b1 B
  672. ;
    / p5 g& A# N- H  `' g6 W
  673. ; PHP's built-in default media type is set to text/html.3 v! x; }: R/ I5 R% ]5 ?
  674. ; http://php.net/default-mimetype
    5 [' G2 T$ z0 _
  675. default_mimetype = "text/html"
    ) S  B1 K4 `2 d) E: Y5 T

  676. $ h5 h8 ^4 D; z7 L/ S; Y* U
  677. ; PHP's default character set is set to UTF-8.# q* P7 s7 \/ ?1 f4 r: n$ _
  678. ; http://php.net/default-charset
    2 n: n+ i; B3 F: U. X7 t
  679. default_charset = "UTF-8"# x" _& G! G0 N' M

  680. 2 ?/ U1 J* x8 d5 Y. s' r# J$ x
  681. ; PHP internal character encoding is set to empty.
    ! s* G# j- q. E; \% I2 |
  682. ; If empty, default_charset is used.
    9 l, D+ b" W/ P  d
  683. ; http://php.net/internal-encoding
    ' V) `. J! ]: m- ~+ l& ?
  684. ;internal_encoding =
    ! _4 F, m* {. [9 M+ x
  685. % \2 R; g. v' d$ o' Q1 J
  686. ; PHP input character encoding is set to empty.
    4 z2 x: M  f$ ?
  687. ; If empty, default_charset is used.1 \, j9 [6 Z. d: U' f
  688. ; http://php.net/input-encoding% ?: E8 x- a& [4 l% i7 K% }% K, x
  689. ;input_encoding =( W  }; M' u0 E
  690. & s! [4 k- Q) E2 i. h4 {, y
  691. ; PHP output character encoding is set to empty." K  G; c# C! \1 N
  692. ; If empty, default_charset is used.# e" S: v1 c9 a6 W5 h9 g! `
  693. ; See also output_buffer.0 G- a  v. N9 z# X5 g& L
  694. ; http://php.net/output-encoding: Z. x; h) N' L" S) a
  695. ;output_encoding =
    4 H0 Q6 T2 Z; C; P' U

  696. / v: s5 q% ]. G& U6 r: f
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ( k, R$ g; m8 |
  698. ; to disable this feature and it will be removed in a future version.
    / Z, {! G$ [& K; `* U; _
  699. ; If post reading is disabled through enable_post_data_reading,
    + ?' \5 I7 z# p$ Z8 ~2 s$ z' E3 \' U
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.' V4 X8 V) O& y/ V$ H
  701. ; http://php.net/always-populate-raw-post-data
    ! ~, q, F0 ], {! m, f2 `! }  \0 c
  702. ;always_populate_raw_post_data = -1
    # h# H5 s) V6 s7 s# s! K8 B  A7 a
  703. 8 l; l9 c. \8 o! `
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;# Y) g! G" g# ~1 G* s0 L2 ?+ u' h3 i
  705. ; Paths and Directories ;
    " {4 s0 a& [$ d6 |7 r' m0 O4 _
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;; B& C  o9 A1 {4 K
  707. 8 `8 j0 m9 H# ^& X2 Z+ C
  708. ; UNIX: "/path1:/path2"9 i, O  J, \3 P8 a( m: E( N; ~' R7 s& ]
  709. ;include_path = ".:/php/includes"
    4 y1 V4 |- y8 R" u3 m( P
  710. ;
    6 @% t& F& T# \7 L/ u1 x  i: h
  711. ; Windows: "\path1;\path2"/ b# T% J3 M) o& X; P& ~
  712. ;include_path = ".;c:\php\includes"
    & _6 Y8 A1 F8 f& W1 |
  713. ;8 c' F' h) q4 M* p
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ) c, d: |6 ?2 \
  715. ; http://php.net/include-path
    & F5 Y2 d/ s9 R, {$ ?% J% Y& ^! c

  716. 8 b& w+ E3 s/ \, G" r8 S# N0 ?
  717. ; The root of the PHP pages, used only if nonempty.
    , k6 u( b& _6 w) O7 `7 ~
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root( c1 t" Y# R) v" C) L0 q" K
  719. ; if you are running php as a CGI under any web server (other than IIS)
    & L8 j9 ~  F# j( S, p# X
  720. ; see documentation for security issues.  The alternate is to use the
    + f5 H, O$ g7 `9 H
  721. ; cgi.force_redirect configuration below
    # ^8 \) ^  r1 @+ g, |
  722. ; http://php.net/doc-root
    8 I' h* M9 G4 N; P- v9 @( z
  723. doc_root =2 i/ F3 N& X/ g# Z4 R5 X( @3 y
  724. . Z/ E9 W$ Q& O9 l2 \" e7 l+ u
  725. ; The directory under which PHP opens the script using /~username used only
    1 H4 y2 k  J( I0 j
  726. ; if nonempty.2 ]- c* A4 k, ^$ l& Y
  727. ; http://php.net/user-dir9 H+ I2 ]5 t2 ~8 }# E  x& p
  728. user_dir =
    # T3 q& r4 k' R8 E( x. ?% z0 X
  729. . W7 W/ b3 H, G+ O+ W! x$ \  H
  730. ; Directory in which the loadable extensions (modules) reside./ e" \+ V5 J! m# \& A! s
  731. ; http://php.net/extension-dir4 k3 d- B9 x+ ]
  732. ; extension_dir = "./"
    3 s' y: u6 ?; f/ \1 }1 p& t
  733. ; On windows:4 W  M: y5 t0 h6 s" n/ w
  734. ; extension_dir = "ext"
    + b- g' r8 ~  a

  735. . a; _6 e# C. |" c( ?
  736. ; Directory where the temporary files should be placed.
    * I: v4 a6 F- q  |
  737. ; Defaults to the system default (see sys_get_temp_dir)
    8 w1 e# q2 Q+ d+ K# T$ F) A
  738. ; sys_temp_dir = "/tmp"5 x6 r( v$ ]9 A4 s: c! r/ Q, n1 q
  739. ! L! X6 l% r+ G; a# t9 R  F. o! T
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work8 |' t% e) x" G9 L7 w
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: s; P( I9 k) S% W
  742. ; disabled on them.: T* |; t0 O+ a9 h) I' R
  743. ; http://php.net/enable-dl
    % X! y) t7 ]; d6 V6 H# w2 c
  744. enable_dl = Off
      b2 q2 ~  R! o: I( Q
  745. ' v+ \* D4 A3 p! n8 f% V' q1 q8 G/ E
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 l" S! E' S1 I' J( g1 g
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & d! E$ a1 K2 s+ _* D' ]
  748. ; turn it off here AT YOUR OWN RISK
    6 r/ b' V! l4 W0 d+ v5 V% }
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - A! T. {6 X" B9 S$ M: @0 K) |
  750. ; http://php.net/cgi.force-redirect
    - q) r) {0 i  i+ H& t+ n
  751. ;cgi.force_redirect = 1* a' E5 K! J# b/ o5 `0 J2 O

  752. ! {: N  [( r7 r* z3 V: B- R
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with$ \0 N0 `% b" i' h& h% [
  754. ; every request. PHP's default behavior is to disable this feature./ E7 o. C& m  I4 N$ \
  755. ;cgi.nph = 19 i1 A9 h+ _- B- x7 v  F' i4 t

  756. * G% p  I: `) T4 |
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) a) `$ X: K6 ^) O0 N
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP  D- O# s% O7 X3 Y
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 t! @5 l: v# e' _+ Y9 {
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    " M( J/ h6 N# l, r8 g
  761. ; http://php.net/cgi.redirect-status-env) p$ K  r3 n2 D
  762. ;cgi.redirect_status_env =
      g8 ^7 b& w2 H2 n; ]# e3 ^8 D
  763. % |3 t( `; Q) l
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's* C0 c" o3 q1 L
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok) }. r  Y' u( p& p8 q- \
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting% s$ @3 E. s9 N3 g- T. Q
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting% s$ P/ i, L$ u
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # Y. h+ m7 j- M. X. t3 G$ i8 a
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.. C& ^" `, O, H% k. e
  770. ; http://php.net/cgi.fix-pathinfo
    9 q2 _) z; o0 I2 f
  771. cgi.fix_pathinfo=1, [7 d8 c. u& {. C- h( P1 t
  772. " b; L3 s* W  n3 q  S
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # T; d/ E/ @4 l) r# Y1 A0 H/ y
  774. ; of the web tree and people will not be able to circumvent .htaccess security., Y; ^+ g7 ~0 P
  775. ; http://php.net/cgi.dicard-path9 D- y: e$ f1 u1 n2 \! Q: O) V
  776. ;cgi.discard_path=1
    + ~; Q( M5 q3 [

  777. + v4 ]  `9 A8 r2 Y1 H
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - f; W6 Y* A6 p/ k9 ^* q
  779. ; security tokens of the calling client.  This allows IIS to define the
    * t) I; ?6 M, t
  780. ; security context that the request runs under.  mod_fastcgi under Apache
      R9 I3 Y# x1 x
  781. ; does not currently support this feature (03/17/2002)! F9 O4 v# |' B6 u
  782. ; Set to 1 if running under IIS.  Default is zero.$ p/ }) t2 [) N
  783. ; http://php.net/fastcgi.impersonate; N/ K/ R5 v0 O& G# O: ~8 B1 x
  784. ;fastcgi.impersonate = 1
    9 H& k- m( h" ^: b1 V
  785. . }+ O1 p, S& r# [- Q
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable. e3 X1 I$ B: S# r0 K
  787. ; this feature.- N, G1 Q+ B0 K& [1 K
  788. ;fastcgi.logging = 0
    . U8 q, ]  \, k9 [

  789. 8 E! t& e2 K2 z. }
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ) W4 }2 X+ l; ^3 x* E) Z! J
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    4 J, w1 v8 g+ L) B# M6 M
  792. ; is supported by Apache. When this option is set to 1, PHP will send: Z) `( V: L5 |  j3 O6 k
  793. ; RFC2616 compliant header.1 c8 ]/ Y7 g: C+ D
  794. ; Default is zero.
    9 \5 v7 r$ M5 [8 M% Q
  795. ; http://php.net/cgi.rfc2616-headers3 g9 G3 k' q! m  N3 ]
  796. ;cgi.rfc2616_headers = 04 `. Z) l! S0 ^; ~' j

  797. " S& c7 |; y7 u0 B& H' e
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    7 t3 a4 }) }) Z
  799. ; (shebang) at the top of the running script. This line might be needed if the
    / }( E1 J, c! K0 L! x: M  e& k4 p% Y  \
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ! z/ X8 n7 \. t& d7 f  N& P, ]6 E
  801. ; mode skips this line and ignores its content if this directive is turned on., J# u+ ]4 i$ }  g* r2 x$ Z" X
  802. ; http://php.net/cgi.check-shebang-line- ]) C) n  }3 x- I
  803. ;cgi.check_shebang_line=1
    4 `, U2 `1 U3 u) _1 ?

  804. / J* V6 w" ?# [
  805. ;;;;;;;;;;;;;;;;0 Y6 ^& I$ g& i8 |, ?: a: u( Q
  806. ; File Uploads ;1 \5 B. j  ?: B+ L( |
  807. ;;;;;;;;;;;;;;;;
    2 M/ P2 r9 j% X

  808. # z$ e9 b8 Q$ \, V& I8 o4 l! u- a5 v# O
  809. ; Whether to allow HTTP file uploads.4 }+ L* m/ y7 D# Y
  810. ; http://php.net/file-uploads
    - q' G" e6 f9 h: x3 ?0 E% e
  811. file_uploads = On
    5 B; H3 W6 ~5 s& z, m( J

  812. 4 j7 V& D. [+ b, a$ ^2 h
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    6 r- w* v/ u" K' r
  814. ; specified).1 }5 U1 {7 h* a$ N4 F* i
  815. ; http://php.net/upload-tmp-dir
    8 F4 u" T; j) b* j# w
  816. ;upload_tmp_dir =
    , A4 ?: w4 C/ D' l+ n

  817. 8 D. t! p' s; U1 g  e0 B
  818. ; Maximum allowed size for uploaded files.
    ! k: S: K  k) |4 S0 m6 G* q. n
  819. ; http://php.net/upload-max-filesize& q. ^8 D  z  G7 `9 g3 q* F# D
  820. upload_max_filesize = 50M
    % K8 ~. L2 D: y" l& S

  821. 6 [+ p0 C* _" u8 t
  822. ; Maximum number of files that can be uploaded via a single request
    ' Q5 R* g  j3 J
  823. max_file_uploads = 20
    4 }$ T# ?8 ?/ e0 ]  M5 x" ]

  824. + S4 j4 Q$ \) r% E. _4 I8 s
  825. ;;;;;;;;;;;;;;;;;;: o  a; a7 |( W) b! s  u
  826. ; Fopen wrappers ;& e  ^1 ^3 o& I5 ^1 K+ k' e
  827. ;;;;;;;;;;;;;;;;;;- Z1 o. j7 s5 ?9 s4 ~# Y
  828. / f  k1 C2 [1 Y. N; X2 T) E
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    . K1 M) M* R9 r( Y
  830. ; http://php.net/allow-url-fopen" }0 p# K) l' d9 j4 E  `* h1 E! f
  831. allow_url_fopen = On
    # O/ R" q- j/ v) E# O, p( y) G% n! ^

  832. 6 }* L% T; F) h. z
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * m# s2 T% t* \0 V
  834. ; http://php.net/allow-url-include
    ; q5 k% Y9 z2 [  o1 h
  835. allow_url_include = Off& U" q8 N- o( p1 q. `/ R9 q
  836. ; B; a4 D8 A  F
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    # J1 @) @, w( p" G0 v
  838. ; for this is empty.
    * a+ `; C8 j% A0 t+ M
  839. ; http://php.net/from. s' v" C- ~3 ~  O( l+ n  E) K3 x- C
  840. ;from="john@doe.com"
    ( D; v4 K* J6 K1 H4 l2 y$ c

  841. 1 f, ?  e" j, [9 K
  842. ; Define the User-Agent string. PHP's default setting for this is empty.9 j8 r- m0 ^5 d" [+ G
  843. ; http://php.net/user-agent
    + V; J5 U4 S$ n
  844. ;user_agent="PHP"$ M6 C  p/ X( I. J

  845. # z8 w! y% F0 Y. P9 Z2 {( e4 B
  846. ; Default timeout for socket based streams (seconds)
    7 S$ z3 ]( E3 b4 O4 P" o! F
  847. ; http://php.net/default-socket-timeout
    . s( b- n) _5 q; E$ ~2 O
  848. default_socket_timeout = 60; V7 E$ y" @& R
  849. " s9 |/ W6 u; ]& q% C3 S
  850. ; If your scripts have to deal with files from Macintosh systems,+ l. M6 U: V2 z4 Y+ q. d! p2 e  l
  851. ; or you are running on a Mac and need to deal with files from# H5 o' {" e* P  Y. v. g* ^9 A
  852. ; unix or win32 systems, setting this flag will cause PHP to
    1 J5 r- I! w% A( q& r
  853. ; automatically detect the EOL character in those files so that
      G" u, c7 m3 J2 U
  854. ; fgets() and file() will work regardless of the source of the file.4 a8 K* s+ q2 E" O" Y
  855. ; http://php.net/auto-detect-line-endings( ^. A. P3 U- Z3 T1 ^2 c; k4 Z
  856. ;auto_detect_line_endings = Off  T3 D5 w' a! Z- n

  857. $ j1 b$ h( U" |
  858. ;;;;;;;;;;;;;;;;;;;;;;9 Y! e% K$ I/ b+ G9 r( O4 t, X( G4 K
  859. ; Dynamic Extensions ;+ K. v/ U6 X# |5 {
  860. ;;;;;;;;;;;;;;;;;;;;;;0 I7 u5 N, |& }
  861. ' y; U: p$ {. o7 u; e6 ?
  862. ; If you wish to have an extension loaded automatically, use the following4 T  m8 F+ r0 Q1 E# P" a
  863. ; syntax:
    8 O0 Q0 S; r  K* E: r$ `
  864. ;
    ! ]( ^8 ]' d: b7 z, J: L
  865. ;   extension=modulename.extension1 O- C6 `3 A2 `
  866. ;
    1 w9 K* `3 J' ^1 L5 P9 J
  867. ; For example, on Windows:- K/ \: ^' ?7 V- n
  868. ;) T$ A. k0 d' _) B1 h. G
  869. ;   extension=msql.dll' a2 K% q/ W2 @/ Z! B/ M% m6 W% K
  870. ;
    / g% s7 |# t1 R4 K8 J9 P3 f, S: o  {) h
  871. ; ... or under UNIX:( F) E0 J3 n, u' a( s$ ?& L* G
  872. ;+ V) U; |) a2 `  e
  873. ;   extension=msql.so& z  s, |: T; V1 y
  874. ;
    % |* Q0 N# E1 d4 x, O5 ~- r$ A
  875. ; ... or with a path:- J. ?% D7 F7 `$ X6 {9 ?- w
  876. ;
    ) B+ V; g0 A+ M) g/ p
  877. ;   extension=/path/to/extension/msql.so
    & L3 x2 I. }. u7 D
  878. ;+ J9 H6 S5 s8 d" a0 ?& m7 |
  879. ; If you only provide the name of the extension, PHP will look for it in its6 S6 k( y& e1 M
  880. ; default extension directory.
    . E2 A; F, U1 w
  881. ;
    ; U4 ]" @7 g+ O1 S; D  y
  882. ; Windows Extensions. S5 e9 e1 c1 `; l& R3 K1 a
  883. ; Note that ODBC support is built in, so no dll is needed for it.6 d, G  V6 _9 {1 ^' [! n
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)1 y" q) V$ ^- ?& N+ }- f
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).8 u  _; @& D0 j! k7 t$ Y! X& T* w4 D: `- v
  886. ; Be sure to appropriately set the extension_dir directive.( L- {4 \- t. j* D0 W0 M8 G
  887. ;
    1 U9 Z5 }6 ]! l- t' e
  888. ;extension=php_bz2.dll
    , ?, D, }/ Z7 o  w. |
  889. ;extension=php_curl.dll1 t0 @3 V) v4 \2 j1 F- H; A  U/ F! V
  890. ;extension=php_fileinfo.dll
    / L  y, Z7 l7 x- j' n/ w
  891. ;extension=php_gd2.dll+ e& q4 r, J4 }- Q8 U- Z
  892. ;extension=php_gettext.dll7 Y- F2 F! P% j6 ]/ g% r
  893. ;extension=php_gmp.dll- V5 B7 [) i7 d& j
  894. ;extension=php_intl.dll, m* J5 I' Q7 |
  895. ;extension=php_imap.dll5 z9 }8 r) H! [  T/ x
  896. ;extension=php_interbase.dll  i" H& Q9 P4 u( B+ y$ ~5 H$ V
  897. ;extension=php_ldap.dll8 g3 I5 u5 N0 Z  O, D% ~
  898. ;extension=php_mbstring.dll
    ) E+ O" ^% }7 p) N0 |9 ^& V! i- z
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it3 B% `+ A, `' m# Y
  900. ;extension=php_mysql.dll6 U$ T0 c3 t. J0 W+ U. k' }
  901. ;extension=php_mysqli.dll
    . c( e; b1 `! B3 D6 y0 y; z
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, s5 `: c9 w0 |! o6 y5 f
  903. ;extension=php_openssl.dll2 ]3 D4 W/ Q! F( ^# ~/ V$ c" g
  904. ;extension=php_pdo_firebird.dll+ @0 ]! O" l+ Y, Y7 f" L
  905. ;extension=php_pdo_mysql.dll
    + G/ A; T* ^; ?7 J: L
  906. ;extension=php_pdo_oci.dll
    8 h7 z# g4 a% I
  907. ;extension=php_pdo_odbc.dll
      Q7 r( [* ^& `) f
  908. ;extension=php_pdo_pgsql.dll/ H6 g( Y; M- y# |; `* J% L" F
  909. ;extension=php_pdo_sqlite.dll" u- v1 r/ a: J: V/ O, F4 v
  910. ;extension=php_pgsql.dll! P9 h' t9 X, R; ^, V) x/ f/ K
  911. ;extension=php_shmop.dll
    ' ^8 p' y* w. n! f1 ^
  912. % g1 a& Z1 g! ^  x' ]
  913. ; The MIBS data available in the PHP distribution must be installed.
    # e4 i* |9 t2 e: @  H
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ( `4 u! a- B! n5 s7 l7 M9 N
  915. ;extension=php_snmp.dll' N; J8 b0 a) p* N0 Q7 f; Y# [% Y

  916. 2 N, _0 G+ L& c+ i; H
  917. ;extension=php_soap.dll
    % o6 z% w; [- e& b7 q; z/ D
  918. ;extension=php_sockets.dll
    ; V6 y/ H, W- _8 U7 C/ l3 J+ g& a
  919. ;extension=php_sqlite3.dll7 ^( ?3 O; m3 i. f# g3 ?- T9 j5 e
  920. ;extension=php_sybase_ct.dll
    ' Y3 z+ {3 Z7 V6 _) a, ?+ f$ ?3 g
  921. ;extension=php_tidy.dll: \' g9 V1 n. y
  922. ;extension=php_xmlrpc.dll# x/ j1 O4 R( k# f
  923. ;extension=php_xsl.dll
    5 ~6 Z7 i# A: D, h; @' X& T+ I' x1 V

  924. , I$ U5 k7 ~; E9 a' ~
  925. ;;;;;;;;;;;;;;;;;;;# B, h- f  g" z8 ?
  926. ; Module Settings ;" x6 e+ D5 G0 k$ V( _  p4 X
  927. ;;;;;;;;;;;;;;;;;;;
    5 e7 [. b5 x+ w7 }3 ^3 Z2 ?4 g
  928. % }! q! a+ |% \- p8 I( c2 b1 Z- h
  929. [CLI Server]
    4 L, y: Y4 B  J# n. U
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    . o8 e; E6 e9 s- ^! V; |3 `  M
  931. cli_server.color = On
    , ~7 F" S. S/ i: f  D

  932. , X. s; K9 f, d2 z2 G$ r
  933. [Date]
    6 B1 F6 ]; c5 ?* c
  934. ; Defines the default timezone used by the date functions0 a6 v  L- \  s. _5 B  R
  935. ; http://php.net/date.timezone
    $ j2 s! j6 s( h! d7 _3 M
  936. date.timezone = PRC; W$ g/ [" f/ ^! R

  937. 6 a' }6 Y9 |% [9 T
  938. ; http://php.net/date.default-latitude
    & n: p8 s( s+ G5 W" }  S  T
  939. ;date.default_latitude = 31.7667- f& P  i: M7 f

  940. & t% r, t5 U& v) J  {8 {
  941. ; http://php.net/date.default-longitude$ q) ?" i3 ~' q: `, c- q
  942. ;date.default_longitude = 35.2333# g. X; H8 x$ [; n

  943. ! v' N7 T$ G' M. E
  944. ; http://php.net/date.sunrise-zenith
    # G+ k" Q9 ]3 B* S
  945. ;date.sunrise_zenith = 90.583333
    0 L) I$ r! N+ D) V% X6 M

  946. & j8 V9 W9 Q+ C$ w$ X+ R! c8 R$ a
  947. ; http://php.net/date.sunset-zenith, y0 q) T' d: F- [+ h, B
  948. ;date.sunset_zenith = 90.583333' V+ e" Q4 u  J# F

  949. 2 A) A! r2 i3 G" z1 i
  950. [filter]
    , ~* W; U" W5 v, @7 m
  951. ; http://php.net/filter.default
    + T: z( K" j5 o# U! Q3 Q0 d4 \7 N
  952. ;filter.default = unsafe_raw
    . i# h! ?! Y0 k8 I, r

  953. 0 X$ i% v- X  {1 o$ ^% c3 x2 r
  954. ; http://php.net/filter.default-flags
    2 U9 X) ?$ Q' I
  955. ;filter.default_flags =
    / d* e+ j2 I1 V& U4 Z

  956. . {# E- N: X# c. U, ^  |% L
  957. [iconv]
    6 Y' G% z+ W1 q$ c* P$ Q$ I
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    8 {0 i: |2 K; I/ ?1 x0 c
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
      f& j) Z! P+ P2 W
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding/ W8 q& v  t4 f* B
  961. ;iconv.input_encoding =
    3 D% K' X- X9 O

  962. 3 o, X7 J, n5 ^3 t, {
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 }7 o2 g9 p( l+ D2 }: p
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., z4 ?  C$ |$ `0 t+ i
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( Y- h4 Y8 p; Z5 @3 V! F6 D
  966. ;iconv.internal_encoding =+ D! [* Z4 E2 S" u) B+ X
  967. 5 k: A0 ^0 [/ G% K0 m
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.7 @4 G3 B8 B( P$ ?9 t+ ^
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    " B* O* H' S- f  @5 h' v8 U9 p
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    3 J3 }. j) f% @% H
  971. ; To use an output encoding conversion, iconv's output handler must be set4 Q* S) X$ D, E3 n1 E7 e* G
  972. ; otherwise output encoding conversion cannot be performed.
    $ O) {0 A- n' W" H/ e" W. w3 S
  973. ;iconv.output_encoding =. c5 e: J3 x5 v# m, x- p
  974. ! {4 K) n) W+ T. b( L: {# V
  975. [intl]$ c# H9 y" v3 ^; ^" x2 G
  976. ;intl.default_locale =: J6 T9 I$ x+ U& ~, a
  977. ; This directive allows you to produce PHP errors when some error1 E8 A5 C  @; p/ Y2 D5 B  a" ~
  978. ; happens within intl functions. The value is the level of the error produced.
    8 O  q: A4 H$ \' h5 J
  979. ; Default is 0, which does not produce any errors.
    : O0 ~* y- Z( l. w. G1 s8 C8 m; `+ J
  980. ;intl.error_level = E_WARNING
    3 }/ m0 u, E7 v- i
  981. ;intl.use_exceptions = 0
    ) y/ d* E3 M- a1 J5 b" V+ s/ H: v

  982. 9 p$ Z5 V" i! H1 K8 S+ V/ J
  983. [sqlite3]# r- h/ e' e! D( w
  984. ;sqlite3.extension_dir =0 M' z' S* T* l  }0 `4 P

  985. ( |5 g0 r% Q* a% B" d* @8 ~1 [$ x
  986. [Pcre]
    ' G5 n+ x. L" c  E1 r
  987. ;PCRE library backtracking limit.
    & p# X, X+ g8 W0 R0 _
  988. ; http://php.net/pcre.backtrack-limit
    : v& [1 X, [2 K# T. j6 t* ]7 P0 Y0 C
  989. ;pcre.backtrack_limit=100000' l" D9 W. a, O# f* Z
  990. & y/ p) I  O1 G& w6 m4 X
  991. ;PCRE library recursion limit.7 P9 P3 r1 ?9 s! g) t4 Q
  992. ;Please note that if you set this value to a high number you may consume all
    $ n5 b# z. N' _) P6 }3 j; F! K
  993. ;the available process stack and eventually crash PHP (due to reaching the
    / G. O* r. ?+ Z. d9 L9 E0 ~
  994. ;stack size limit imposed by the Operating System).
    3 _" N/ q8 \9 I
  995. ; http://php.net/pcre.recursion-limit. p& X( o  b; i% ^7 w2 V' F
  996. ;pcre.recursion_limit=100000) u% T! I0 `# `* R0 ]; D
  997. / U5 m" u! }% S- H- F6 I, N
  998. [Pdo]
    ( K5 m' t( h2 V2 p
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"  o& o2 p9 Y% y9 K
  1000. ; http://php.net/pdo-odbc.connection-pooling, o# ^9 W+ @& L$ A
  1001. ;pdo_odbc.connection_pooling=strict
    . H& d7 X$ n& ]5 R9 |, t) z7 ]& {

  1002. 5 E  C5 K2 J# g) k) d( |
  1003. ;pdo_odbc.db2_instance_name
      h3 D9 A9 }8 q) t, s1 z
  1004. / g. T4 L3 S( E, J0 `: d
  1005. [Pdo_mysql]: h4 h. ]9 M" R; p% I3 Z4 K7 l; }
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / ~6 {: R/ L+ P4 `! f
  1007. ; http://php.net/pdo_mysql.cache_size
    * c9 q1 r4 J0 K3 s9 ~
  1008. pdo_mysql.cache_size = 20007 ^( n  v# s- K
  1009. , B( C) S' I( U$ T" j4 }6 l- ?. {& F' }
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in  Z/ ^7 e& v& w0 z
  1011. ; MySQL defaults.
    5 U8 G2 f. G9 R; L. I# ?+ K  L
  1012. ; http://php.net/pdo_mysql.default-socket
    5 J3 b$ k1 u; K, U2 ~0 m9 M. z
  1013. pdo_mysql.default_socket=; h1 x% f0 g% {! `+ B
  1014. 3 M# d% t* h( d
  1015. [Phar]2 @% P+ i" V3 k0 V$ O
  1016. ; http://php.net/phar.readonly: ?( H! r/ w$ W; O
  1017. ;phar.readonly = On
    8 i/ o9 F7 E( {9 [( Z

  1018. 4 Z4 W! ~" \( f+ J2 |' g" S
  1019. ; http://php.net/phar.require-hash
    6 a4 b; f  X3 d8 z3 g9 Q
  1020. ;phar.require_hash = On3 Z3 x% Q+ N4 Y7 h

  1021. 8 a  _7 c7 f+ ~4 t, H& X" H
  1022. ;phar.cache_list =
    - G! B( ~0 q# V6 I* q+ p; I7 j2 a3 m7 y

  1023. 1 ~5 T* v1 ]( ~0 @  V, w' w
  1024. [mail function]
    9 l+ o0 l9 G4 D4 O5 E+ m8 g
  1025. ; For Win32 only., O. Z6 ^% e; u! `
  1026. ; http://php.net/smtp
    " i& q7 L, D- N- F( x
  1027. SMTP = localhost
    , z% q4 |# ^9 R+ k
  1028. ; http://php.net/smtp-port
    ; Q9 t* u) }1 u6 \' Y5 @
  1029. smtp_port = 251 F1 I2 X( f: a, T# g: X/ l

  1030. ' V7 S( V  v) H, Y/ C- d* j  h" }( ~' _
  1031. ; For Win32 only.
    " j# {8 m. n1 t' M/ w/ M
  1032. ; http://php.net/sendmail-from' Q* ?' p2 n1 e) z4 D; J
  1033. ;sendmail_from = me@example.com' ]$ ~( a6 b' J% d- l8 i4 T8 _1 Q

  1034. ! o. i" i8 y; [3 B1 L2 C
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    9 ^; s+ }* g: v' v$ u& n3 `
  1036. ; http://php.net/sendmail-path* E2 @, s5 b& v( ^; m6 w
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    7 K. R8 u& r4 d3 w; {2 s/ S

  1038. 3 O7 a* w* G  _1 z( F) `. r- q
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ) M% W) }; w5 j6 r& L, `# r* p1 G1 s8 ^
  1040. ; to the sendmail binary. These parameters will always replace the value of
    6 m0 r: x% p, w% e& R/ l: A
  1041. ; the 5th parameter to mail().
    ' F, b* ]6 u- _" A% \( u
  1042. ;mail.force_extra_parameters =
    ) X' o; Y, w" k. G; R0 i& j9 @& Z
  1043. 3 i8 A: Z" f% H1 o8 e6 Q* L' c: N
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename# c9 v; F' H( Q; I$ z* P) r9 l
  1045. mail.add_x_header = On3 v! z( t' s: }$ {. }! W

  1046. / e- f, ~, y! C: A7 ?
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    5 K0 |3 b! m. F; G$ x' k
  1048. ; the full path of the script, line number, To address and headers.. }! i0 H# x7 W  R/ J. f2 Q" i
  1049. ;mail.log =
    - b7 p( r  Q! n, l  |6 D* E
  1050. ; Log mail to syslog (Event Log on Windows).
    ; u3 _+ x6 G$ e# @# P; H
  1051. ;mail.log = syslog
    ! ^/ i5 G$ s6 }# D
  1052. ) ~; d2 }: v1 u) h
  1053. [SQL]& ^( V  ~# l4 R2 u
  1054. ; http://php.net/sql.safe-mode
    $ z  N! c  M2 V1 k9 B1 A$ E
  1055. sql.safe_mode = Off
    5 B0 a" k( }9 t. H! s9 J

  1056. 1 m" o9 F5 N) U' N+ I; D/ S- ^
  1057. [ODBC]5 O. q( {1 X' B' W( Q$ C
  1058. ; http://php.net/odbc.default-db
    3 x; v5 G# l. F$ i5 U" ]+ l" m
  1059. ;odbc.default_db    =  Not yet implemented+ j' j7 I5 j) `/ P' z  T3 d7 [- \- e

  1060. ; l% b0 X- m4 k7 H8 x+ }/ I
  1061. ; http://php.net/odbc.default-user- M) T* V7 {# l+ v- }3 M( l# g  [5 ?
  1062. ;odbc.default_user  =  Not yet implemented9 P: L- _: U# l9 s9 d1 k
  1063. : J6 L4 x* ?1 ?. s9 c& T) W
  1064. ; http://php.net/odbc.default-pw
    % h8 M) w% g- M: Z
  1065. ;odbc.default_pw    =  Not yet implemented
    ; e1 }; Z0 H  P! E, o

  1066. - z; l4 C+ N2 }" P# m  J" |
  1067. ; Controls the ODBC cursor model.) D0 c  c/ @- A; p8 D" Q0 {$ r
  1068. ; Default: SQL_CURSOR_STATIC (default).+ s' b" C/ K, g  e  t6 D& s
  1069. ;odbc.default_cursortype+ `" d6 m, ]' K  `; W2 [6 M
  1070. , F5 v/ v1 q! x# k# W$ |
  1071. ; Allow or prevent persistent links.# v0 s. k, ]' @3 |8 X5 g
  1072. ; http://php.net/odbc.allow-persistent
    . z. d6 ^) Q( p* e0 V
  1073. odbc.allow_persistent = On8 _* G8 f; E# Y2 u3 S4 b- Y+ w! l
  1074. ; e; j4 h) _: q. B/ K1 y
  1075. ; Check that a connection is still valid before reuse.. Q9 `; \$ t) I: z
  1076. ; http://php.net/odbc.check-persistent
    5 H& Q0 L# L( s4 S
  1077. odbc.check_persistent = On
    2 F7 T; a4 ?5 B1 [

  1078. % n/ s6 b9 a2 G/ c& X. |
  1079. ; Maximum number of persistent links.  -1 means no limit." N& \* [) z. ^! z3 I8 z
  1080. ; http://php.net/odbc.max-persistent, F( c' X  Y( m
  1081. odbc.max_persistent = -1
    6 n3 s% {. }# a$ B* C- s( Z, s

  1082. 4 M+ I2 g) y: u+ ?$ T. p4 g
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 f( ]6 F5 ~" e% i, e
  1084. ; http://php.net/odbc.max-links0 c0 h2 O" F* W
  1085. odbc.max_links = -1$ F+ X. u. X% l7 l
  1086. 0 r2 Q  ^3 E$ z' d* O% W
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
      x! @9 v& b! n0 T
  1088. ; passthru.
    2 H9 I' p% N. E
  1089. ; http://php.net/odbc.defaultlrl( r% t0 O6 s8 N8 F, p
  1090. odbc.defaultlrl = 4096- ]! Z$ R% b4 u4 z7 {7 e' f, R
  1091. : H0 D" d  z1 c' h9 o6 r! x
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ; w" l8 b/ f$ p1 |' G! f2 J, V' r
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    9 c0 s2 d! r' z3 C7 P: z
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode: k& ?! p5 {) C, D  J. b; Y
  1095. ; http://php.net/odbc.defaultbinmode
    & _6 N# L' o( v' F- t: ^
  1096. odbc.defaultbinmode = 18 _5 Z" ~8 j: e7 Y3 h; ]
  1097. ( V: ^# t9 W8 n! D% I6 f
  1098. ;birdstep.max_links = -1# {! T6 |( L1 f7 G6 \+ N, E
  1099. 4 Q( x: C: ?( _6 t
  1100. [Interbase]- C% |6 M( l4 n8 C5 _
  1101. ; Allow or prevent persistent links.
    . N7 p* s& K% O: @5 {4 b( h
  1102. ibase.allow_persistent = 1
    * o# \6 K7 v) ]9 _+ u2 ~
  1103. 8 ^) I2 @8 ~2 N& a9 D( ?
  1104. ; Maximum number of persistent links.  -1 means no limit.
    $ [' A; ]1 \# E# Z4 o1 E1 ^
  1105. ibase.max_persistent = -1
    4 a0 H5 F8 r' i( E6 @5 x

  1106. $ ]  w9 K: _7 t6 R
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# t; |0 x- z5 R3 g* l% ~" \1 ?7 D6 m
  1108. ibase.max_links = -1
    % |6 c; E6 F: G: T& s" I

  1109. ( P4 H* A/ E  v9 |- ^! x1 w4 l4 @
  1110. ; Default database name for ibase_connect().- P- Y3 _, z4 [. q% _. L4 G9 U
  1111. ;ibase.default_db =
    $ _. @6 Q& `( i9 H" v9 u
  1112. , t' U7 t6 [- u1 L8 M4 y
  1113. ; Default username for ibase_connect().
    - `$ r- Z" k, |7 m0 Z8 Y
  1114. ;ibase.default_user =7 n- t, N3 }9 N5 T8 Y# X- @
  1115. ( Y" ^& a, B! ]; r% Y6 [
  1116. ; Default password for ibase_connect().
    # O' m! c! }# y7 V$ ?8 ]
  1117. ;ibase.default_password =# a& Z8 J" N; ]3 r; K

  1118. 5 H- D, I1 X- q' d( x
  1119. ; Default charset for ibase_connect().
    9 b, j& L4 v* Y. ~" _7 \
  1120. ;ibase.default_charset =
    / F( u$ h! E+ P
  1121. 6 ~7 R  W0 K  H
  1122. ; Default timestamp format.8 }7 D9 U' m3 Y4 ^$ T' O
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ) T- X# p- d& e1 X7 X

  1124. 6 i' H- U' R, m( R
  1125. ; Default date format.. u- z" V# w+ l) D
  1126. ibase.dateformat = "%Y-%m-%d"7 z8 }) }8 m" r) Y1 Z9 s) `& k) E
  1127.   v5 `# j9 a/ @5 h
  1128. ; Default time format.
    5 D" i2 I9 B& }" m
  1129. ibase.timeformat = "%H:%M:%S"
    " ^' t4 G( C2 U! I1 p
  1130. % H) M( b1 t" y
  1131. [MySQL]
    ' O$ N3 c7 B0 ~
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& X% p1 n- Z* M6 l9 j- V# }
  1133. ; http://php.net/mysql.allow_local_infile3 E* l. R* A( r. Q; ]: u
  1134. mysql.allow_local_infile = On
    ( `! i0 q7 \4 d" v4 i+ Q" Z

  1135. 6 j2 b# q  Q6 m
  1136. ; Allow or prevent persistent links.
    9 `7 W3 x0 e) W4 |7 p( d: n
  1137. ; http://php.net/mysql.allow-persistent9 O1 F0 b2 i9 w; p2 B
  1138. mysql.allow_persistent = On9 Z, r" [) k$ t0 j. S
  1139. & G  D  N' i; k$ l  S; p
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache! l. N$ g( U! M) x7 G) z
  1141. ; http://php.net/mysql.cache_size% u" _  e, i7 m4 m
  1142. mysql.cache_size = 2000+ {' U5 D; S1 d6 x3 c

  1143. 8 {' }3 i- I' h  l
  1144. ; Maximum number of persistent links.  -1 means no limit.+ P" F) r# \  W$ M1 \) U
  1145. ; http://php.net/mysql.max-persistent% @; t1 K1 T% A& Q6 A: d9 d) @
  1146. mysql.max_persistent = -1% K* \) R& `9 O+ t2 H

  1147. 6 Q+ o* y) P7 C7 A) c. o  l
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 q6 h) i' c5 J
  1149. ; http://php.net/mysql.max-links
    2 R/ v' I" w6 G( p
  1150. mysql.max_links = -1* k/ i! G/ p2 y5 [+ [% w

  1151. * ~! m7 U! d) q% }% v% p9 ^; [  j
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    8 [8 g: d% F4 d6 U! a1 |* ^
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ H% f" c# f. |4 E, Z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + P: N: }. O, P6 D; A( B* b7 ~
  1155. ; at MYSQL_PORT.
    1 v1 G. i( }% A0 t1 W/ s
  1156. ; http://php.net/mysql.default-port7 g0 ~+ g( L9 v% Q( L
  1157. mysql.default_port =$ X4 Q) d2 N, R2 L

  1158. * l8 D+ t  ^6 ]2 e7 Z
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 E2 s8 F1 V0 O6 [5 H. w
  1160. ; MySQL defaults.! b; H% ^6 Z/ o& m4 L
  1161. ; http://php.net/mysql.default-socket
    3 k/ t7 G0 i' W# Q" l3 z
  1162. mysql.default_socket =/ x2 b" L$ t  C$ A, w0 V8 ~( Q

  1163. # T! G7 f* Q5 e6 V! `7 I
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 G* I1 Q& U( H
  1165. ; http://php.net/mysql.default-host3 }  `, b1 U  @5 W, M
  1166. mysql.default_host =
    ; n; w$ r+ u1 F  S" I0 x

  1167. ) }' u1 x& ^% E3 V( L
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    * Q. X8 c& v& N0 V7 G' u
  1169. ; http://php.net/mysql.default-user
    / X3 u8 W" t( r# T
  1170. mysql.default_user =" ^+ I7 L# _$ P8 D8 \5 u
  1171. " K  M" Q) o: j& [! s
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).9 A3 D: l) e& N, d
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.1 _# }, h; H) Q0 ^
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    . p( V2 x% M4 B
  1175. ; and reveal this password!  And of course, any users with read access to this
    ; }0 F3 R- c2 q) _: t9 f) ]/ Z
  1176. ; file will be able to reveal the password as well.) V7 {. z+ T! h4 y5 B( f
  1177. ; http://php.net/mysql.default-password; A8 _0 o: S: p  O) O
  1178. mysql.default_password =8 F) O% g8 j8 ^

  1179. 5 R. _+ U6 M1 }- J
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit/ |+ g1 ~/ g( Q
  1181. ; http://php.net/mysql.connect-timeout4 ^" W( P! ^. `. r
  1182. mysql.connect_timeout = 601 g$ u7 g/ d* u: m; Y$ s* n
  1183. , _; p" L& L- k
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and0 U2 m! v: F9 R# V0 W2 g% Y
  1185. ; SQL-Errors will be displayed.( d" ~4 r1 e! D# h7 @. y
  1186. ; http://php.net/mysql.trace-mode+ t7 F$ n% s" Q/ ?# p. Q0 P
  1187. mysql.trace_mode = Off5 L; Y$ F( d+ q. X  r
  1188. . R# X. `9 v6 l
  1189. [MySQLi]
    2 u0 b4 {5 f2 Y# w) H$ I8 n4 i

  1190. 4 W3 E$ g) i5 _
  1191. ; Maximum number of persistent links.  -1 means no limit.
    + u2 ]8 y9 \" k! V3 B
  1192. ; http://php.net/mysqli.max-persistent( \. W5 @2 h% E' ?$ H' V+ [
  1193. mysqli.max_persistent = -1
      Y6 A" Z1 n7 O
  1194. + l  V# l( F2 Y. S' r
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ Z6 _5 `& h/ q
  1196. ; http://php.net/mysqli.allow_local_infile& l. }- U3 K- h6 ?
  1197. ;mysqli.allow_local_infile = On
    % ?' |/ |9 |. g1 z; b
  1198. # q! a/ R) [' r  C6 O
  1199. ; Allow or prevent persistent links.
    8 k8 n# D0 D% h& F" U* U( l5 {
  1200. ; http://php.net/mysqli.allow-persistent* W2 h$ D2 \( a. g$ w2 F' u; ?
  1201. mysqli.allow_persistent = On4 f( Q4 m3 f8 \  k6 ^" N
  1202. 0 ~" G8 E1 E' M4 V4 {
  1203. ; Maximum number of links.  -1 means no limit.7 }/ v' I' O9 ]* d1 i) y
  1204. ; http://php.net/mysqli.max-links
    8 `0 S) _+ N" n5 ?  x+ p) x
  1205. mysqli.max_links = -17 Q8 N0 O  r, ]4 m+ a8 ^! }7 S
  1206. - P8 d( Q5 W7 J) I
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; h- y. H8 v; V
  1208. ; http://php.net/mysqli.cache_size7 ~4 ^% _7 x( E9 N4 j
  1209. mysqli.cache_size = 2000
    ( ], g: }5 {7 f( l! b

  1210. 8 T4 A  a* r" _/ O
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ W4 S$ c4 E5 L4 e
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! O+ K7 Q* f7 y  r1 `
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( a" O; ~6 q  w
  1214. ; at MYSQL_PORT.% _: @- B9 X/ P  v+ \* t
  1215. ; http://php.net/mysqli.default-port
    ! ?  _7 f! d" L& R: W# t
  1216. mysqli.default_port = 33067 u5 Y! M) K* a) p  W, A/ {

  1217. / }/ }7 e" V/ L+ j
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # z- X4 M/ q- I  F7 s
  1219. ; MySQL defaults.3 u3 l6 M: l. X4 z3 A
  1220. ; http://php.net/mysqli.default-socket
    # r$ x) N0 g$ X! O) X& M. a# W
  1221. mysqli.default_socket =3 M7 k/ i1 q' V$ \
  1222. 1 @' E) j6 p' [/ O
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).* P, p  F5 X5 t. A0 Y; \
  1224. ; http://php.net/mysqli.default-host
      H) e8 Z2 s* _# v4 @
  1225. mysqli.default_host =. Z% {. m1 X* C' o- `

  1226. 1 n5 |* K, U) \9 I
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).% P0 s  j. g" f8 k5 _! E
  1228. ; http://php.net/mysqli.default-user' A9 Q4 k* U+ p( s  \5 P$ t3 X
  1229. mysqli.default_user =
    " b; W3 b% A2 {9 L

  1230. & H8 c1 C5 E. A$ ?! ~; `4 Q! ?
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ' F/ z5 W/ W6 }+ ^
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 \6 F, ?- r$ T
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & l: Z9 L  ~; k$ X6 P# k" L
  1234. ; and reveal this password!  And of course, any users with read access to this. u# R6 L* _" ~/ L- c
  1235. ; file will be able to reveal the password as well.
    ; F0 R* B1 _( k# ]
  1236. ; http://php.net/mysqli.default-pw9 r# B4 r/ ]0 I2 L" b
  1237. mysqli.default_pw =
    - B7 _$ s8 S( R# Z. Y$ F& d: [

  1238. , O! e4 |) L, o0 N) N/ H
  1239. ; Allow or prevent reconnect
    . M6 `: _8 y4 u; K
  1240. mysqli.reconnect = Off, x% R# D5 Z1 v# J  ^
  1241. 0 ?$ |: E' k) E8 i/ t7 K1 f
  1242. [mysqlnd]. E/ U: g7 K: A& Q, H" I% H+ h
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be+ [! G7 d7 q7 R( g  J0 a
  1244. ; used to tune and monitor MySQL operations.
    & `+ f. f0 G5 D" z/ m8 h3 g" w- C' D
  1245. ; http://php.net/mysqlnd.collect_statistics/ \' K4 s: A' Y) D+ |
  1246. mysqlnd.collect_statistics = On
    1 v7 \) i2 ]  b* y9 `2 \
  1247. ' d" ~+ u- J% {1 @; P
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 l" V( l3 b# e
  1249. ; used to tune and monitor MySQL operations.
    1 ~/ k  p4 r* a4 c8 ]- k5 R
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; }/ J- V2 V7 ]* n% Z& W
  1251. mysqlnd.collect_memory_statistics = Off/ D6 B  e$ |. p+ }6 i
  1252. 4 D7 R; v! a8 M* h/ c7 _. C* H
  1253. ; Records communication from all extensions using mysqlnd to the specified log; _4 [, w6 Q! R) k2 c$ x3 q$ S/ [
  1254. ; file.
    / ~$ s- q: ?% j& |6 d; y' N
  1255. ; http://php.net/mysqlnd.debug
    6 W5 t, i! k' S& u: w  b3 o
  1256. ;mysqlnd.debug =
    # ^  A& U* j- K3 \/ N) L( w+ t. G
  1257. 6 @  |+ s: c% c( E
  1258. ; Defines which queries will be logged.! Z; Z9 y* Z+ A* M8 T( I) _
  1259. ; http://php.net/mysqlnd.log_mask
    2 \. ?2 _6 B9 g3 x; Y% r
  1260. ;mysqlnd.log_mask = 0
    9 a4 \  l3 V0 u( ]' _0 y. ]6 f

  1261. 9 J+ R; l$ H& L7 A4 L9 G. Q- E  U/ Z
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    + a. h8 a: x' q' r* a* P5 @
  1263. ; http://php.net/mysqlnd.mempool_default_size
    2 }0 A$ e9 L; F
  1264. ;mysqlnd.mempool_default_size = 16000( A9 O& X. ^' E* g
  1265. % D- ~9 F0 W9 t* ?
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 k" `/ p+ W$ l  e% F! p/ o
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    : \  X8 l& j) H) E. z
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    # H% S& e! `) y

  1269. & W8 Q$ s$ t1 L& E
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in  W: |. J$ t  \7 P3 D+ P
  1271. ; bytes.* w0 O$ l- N5 A5 J7 I& {7 L- z8 F
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' \: [1 G; D2 B0 [
  1273. ;mysqlnd.net_read_buffer_size = 32768  q1 Z2 k6 C. c5 g6 A

  1274. 6 ^- Q  v6 `" h' `& H
  1275. ; Timeout for network requests in seconds.
    8 O5 ~( ]# a0 E% H; T! I- k( N
  1276. ; http://php.net/mysqlnd.net_read_timeout0 F$ d* z4 u3 ?1 X
  1277. ;mysqlnd.net_read_timeout = 315360004 X/ ]7 a: Z9 `7 m) I% d

  1278. & d4 i6 A1 ?2 E+ r# ]# ]$ P
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA- F* @4 P+ @7 m$ e+ ?; R2 R. I2 {
  1280. ; key.
    $ T! O4 @; `0 W% e! E3 V
  1281. ; http://php.net/mysqlnd.sha256_server_public_key! a$ C( s# {( I
  1282. ;mysqlnd.sha256_server_public_key =
    - m: C- d% ?' e3 O) z3 B8 c
  1283. 2 v1 S  U3 r. w# K9 d5 s' A/ G9 {6 W
  1284. [OCI8]8 p6 V" ?1 \; G( w
  1285. # t3 j& P7 \* E7 o; b8 H
  1286. ; Connection: Enables privileged connections using external
    / p$ y- u$ m- a/ T  n9 `
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % X/ k3 \) b% s" J$ L4 |; _
  1288. ; http://php.net/oci8.privileged-connect  C2 m! r  |: Y
  1289. ;oci8.privileged_connect = Off
    " c: ^7 E1 ^6 I% |: F  @7 q2 P8 D' g
  1290. % c! \5 T' t7 n& y; B, f
  1291. ; Connection: The maximum number of persistent OCI8 connections per9 v" n7 S6 Y) N8 n& \
  1292. ; process. Using -1 means no limit.
    $ m9 j1 j, B# a
  1293. ; http://php.net/oci8.max-persistent
    * b$ D7 R. U1 O
  1294. ;oci8.max_persistent = -1/ W4 \4 _" A1 t1 i

  1295. - e: o1 \2 x& N  q3 o
  1296. ; Connection: The maximum number of seconds a process is allowed to
    . d5 M3 R' P) s' x3 P1 k
  1297. ; maintain an idle persistent connection. Using -1 means idle
    $ [1 ?+ S* j  a; O* g8 ]
  1298. ; persistent connections will be maintained forever." V0 X- Y  T9 G
  1299. ; http://php.net/oci8.persistent-timeout$ h$ h; H6 W+ G4 v7 B4 s2 j' d2 ^
  1300. ;oci8.persistent_timeout = -1
    : W+ ]6 ~4 l; d# D+ }: @

  1301. 5 s2 g5 a  O9 ?  m& K3 T$ d
  1302. ; Connection: The number of seconds that must pass before issuing a
    : s6 r: i/ P! Q
  1303. ; ping during oci_pconnect() to check the connection validity. When' A' S0 p) Y, k% M
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 C8 G6 \5 @! E" e! v$ E
  1305. ; pings completely.
    # C& `/ F# s4 A5 b2 }; `
  1306. ; http://php.net/oci8.ping-interval0 Y. q/ t' v. z* Y1 Y
  1307. ;oci8.ping_interval = 609 j1 J* s$ t% A3 y, t
  1308. 8 L3 n" A, p; j& ^: W
  1309. ; Connection: Set this to a user chosen connection class to be used, F6 f0 a+ h+ q5 [$ }. ~4 K
  1310. ; for all pooled server requests with Oracle 11g Database Resident# e/ j, o2 t* K. W$ n+ \2 |
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' v  p2 O0 W! T8 Q7 p: w% c. v2 I
  1312. ; the same string for all web servers running the same application,
    . d6 R3 T3 A8 `0 S% p' b1 ?' |5 [. F
  1313. ; the database pool must be configured, and the connection string must
    * V2 R3 S0 H! x! A
  1314. ; specify to use a pooled server.
    9 O' `) Z7 h- {; \6 i4 ^. q
  1315. ;oci8.connection_class =
    / _% L; Z/ v' s7 D$ U1 C2 I

  1316. 7 K# b7 T. x/ C; r) X( y) ~" p0 ]4 I
  1317. ; High Availability: Using On lets PHP receive Fast Application
    " Y$ M3 z5 o& y
  1318. ; Notification (FAN) events generated when a database node fails. The" x( I. l/ E$ Q4 t. v6 F9 J# r) r. Z
  1319. ; database must also be configured to post FAN events.) X1 Z  K9 d2 Q5 g0 e# P; y$ ^1 d
  1320. ;oci8.events = Off4 i$ h# Z! W9 w/ c* _/ t; o

  1321. 4 C4 r% E$ C8 c" T0 `: Q% Q
  1322. ; Tuning: This option enables statement caching, and specifies how
    ; s$ X2 k: ?; u: m$ ]/ K
  1323. ; many statements to cache. Using 0 disables statement caching.$ m( m  {/ z( b& |" J- I2 W+ }: D7 ~
  1324. ; http://php.net/oci8.statement-cache-size1 q8 C1 j6 m+ |8 c6 d* e% y
  1325. ;oci8.statement_cache_size = 20
    6 C# |7 f: l, f0 Q& H6 C
  1326.   e( i+ `# W/ x8 L
  1327. ; Tuning: Enables statement prefetching and sets the default number of+ ?# y; k0 d9 C$ N
  1328. ; rows that will be fetched automatically after statement execution.
    % N! d; g8 l+ W, F7 c
  1329. ; http://php.net/oci8.default-prefetch
    , X* r4 r: Z4 P6 F! Q' Y0 p
  1330. ;oci8.default_prefetch = 100  O, Z3 b5 Q6 q- I
  1331. & ^7 O  j4 |- g3 @
  1332. ; Compatibility. Using On means oci_close() will not close
      e) M8 n! {9 D
  1333. ; oci_connect() and oci_new_connect() connections.9 E; g$ i: h; L' N/ C4 B! R
  1334. ; http://php.net/oci8.old-oci-close-semantics
    " @5 |; H- b" i$ K& r4 r7 ~) Y2 |
  1335. ;oci8.old_oci_close_semantics = Off
    5 J' j* h0 Y* ^; ]0 d5 P

  1336. 1 L& s/ t2 n2 z/ u
  1337. [PostgreSQL]
    + H5 F7 L& r( l9 `2 M
  1338. ; Allow or prevent persistent links.
    ' |! |/ Y- S5 }0 d
  1339. ; http://php.net/pgsql.allow-persistent
    . \0 V% B. s2 X) k3 |. g
  1340. pgsql.allow_persistent = On
    0 A6 }& f8 x* }' D7 F. Z% r/ t

  1341. 3 P9 q5 _* C0 g/ z' E, p* k4 X
  1342. ; Detect broken persistent links always with pg_pconnect().
    5 X& s- P- _6 U; y  A- `" A
  1343. ; Auto reset feature requires a little overheads.! E! h" m2 a' d1 [  Y
  1344. ; http://php.net/pgsql.auto-reset-persistent
    5 X" {, o, i3 F; W( y
  1345. pgsql.auto_reset_persistent = Off
    9 n8 |3 o2 \" N
  1346. ! h  `( N  s( w0 [) n
  1347. ; Maximum number of persistent links.  -1 means no limit.4 G) r" r8 q4 H: f4 B) K( x7 S
  1348. ; http://php.net/pgsql.max-persistent
    , T1 v+ J1 F/ {+ u1 b1 l/ b# {5 R5 a
  1349. pgsql.max_persistent = -14 s& Z! ?& K3 f  H

  1350. - s& m& \% S+ R- T- P
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- Q  O6 H$ ~" c5 q  q2 j- y1 K
  1352. ; http://php.net/pgsql.max-links
      e/ m. e9 }/ i2 r) Q
  1353. pgsql.max_links = -1
    6 ]$ a. q8 O# A* h) g

  1354. $ Q; u$ N0 ~( t" N* _# u
  1355. ; Ignore PostgreSQL backends Notice message or not.
    & Y& Y9 E4 A( k* t$ F
  1356. ; Notice message logging require a little overheads.' |+ M1 C) `1 X9 T
  1357. ; http://php.net/pgsql.ignore-notice& t1 {7 e$ v+ ~. G
  1358. pgsql.ignore_notice = 0
    2 C! I( T; Q& o6 Z0 b
  1359. 4 P- [2 `/ ~7 H0 H
  1360. ; Log PostgreSQL backends Notice message or not.
    , a! d$ Y1 E' q  s$ A
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ ?7 [# N8 ]: j4 \
  1362. ; http://php.net/pgsql.log-notice
    * ?  z: x0 [8 ], W8 F
  1363. pgsql.log_notice = 0. p- v) Q3 Q. I4 J- U

  1364. 9 B% ]% a( F# {3 t- l: C& A
  1365. [Sybase-CT]
    $ Z& i  E1 @# x1 G
  1366. ; Allow or prevent persistent links.' ]% N) Y$ f* O. E% q
  1367. ; http://php.net/sybct.allow-persistent
    / b4 `; f$ Q- @
  1368. sybct.allow_persistent = On1 H( D& r, R7 G* M. |
  1369. 1 P& v  U2 Y: ?" k0 g7 P6 c
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ' s( ^% C# V! T4 L
  1371. ; http://php.net/sybct.max-persistent6 T' t- s! o9 C4 ^6 i- b
  1372. sybct.max_persistent = -12 Y& f, ^0 _( m! g9 X) Y

  1373. ) i- @& ]! }' B' i. _( J4 Q& B
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 O5 ]  r# d% W. ~$ v
  1375. ; http://php.net/sybct.max-links3 Q; K+ a  B* A. W% |: S
  1376. sybct.max_links = -1" y0 y7 k0 i. E0 z" K

  1377. ) \) _5 r& F) [+ a
  1378. ; Minimum server message severity to display.  N* r, O4 s/ b* p
  1379. ; http://php.net/sybct.min-server-severity
    : A4 n5 r' k8 H. l# H3 @- t, k
  1380. sybct.min_server_severity = 10/ _  N* Z: a( n/ {6 q

  1381. " \( r6 }5 @% u+ ?+ G$ g2 G9 ~
  1382. ; Minimum client message severity to display.6 [/ ?4 z, z3 l/ N6 E5 e! A
  1383. ; http://php.net/sybct.min-client-severity0 y" J7 g$ O( |
  1384. sybct.min_client_severity = 10/ I' }, X" W8 @
  1385. 3 ?3 C. t) s( g4 P
  1386. ; Set per-context timeout2 b) H- {* u# I6 ]
  1387. ; http://php.net/sybct.timeout5 d0 v' s2 G9 f2 y
  1388. ;sybct.timeout=
    ) w- A1 @7 |" K9 a
  1389. 1 v$ K6 @7 {$ q7 o0 _2 Z( Y
  1390. ;sybct.packet_size
    # r& A" E# z1 z6 s
  1391. # U! k8 \7 r6 @* P; O0 Q5 h
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    # t; T. Y3 d; |: j8 J: k/ t3 n- T0 ^
  1393. ; Default: one minute! x0 q& ], N# G
  1394. ;sybct.login_timeout=
    9 O- `- S/ ?! q/ C: f
  1395. / }8 ^) F7 L$ \1 j' @9 U
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    + u5 v8 `; ~, [$ K! n8 n
  1397. ; Default: none. C! c4 i! K: r+ k+ K( e$ o; h1 Y( g
  1398. ;sybct.hostname=" G6 H9 _! m- p# n- K7 Z( u/ ]4 Y+ Y) J

  1399. : U) L# k  j, u$ i
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ) u4 d+ d* T& j/ k
  1401. ; Default: 0# v7 C2 w6 ?+ T4 q& G
  1402. ;sybct.deadlock_retry_count=4 K0 C3 \2 g) ]* [4 A0 E

  1403. 3 ], K6 d4 ^- E2 `3 X
  1404. [bcmath]
      ]' y7 a2 i- K6 S; J
  1405. ; Number of decimal digits for all bcmath functions.- d5 n, B6 l; ^
  1406. ; http://php.net/bcmath.scale
    7 e* |6 M9 `, A
  1407. bcmath.scale = 0
    . o: Z" B' [$ e3 H- K

  1408. * n3 E0 T) T; B0 x4 ^9 h) p3 o
  1409. [browscap]
    ' g5 \1 i: R; ^& d7 G
  1410. ; http://php.net/browscap
    : Y9 Y1 `+ ?7 R" N7 L. X$ P) Y
  1411. ;browscap = extra/browscap.ini6 z# _3 w2 ^! m2 ]) \- F4 P1 ~

  1412. $ p3 O7 M" s) C5 w
  1413. [Session], f) D9 {0 W# {% O1 U1 b, e" j. t
  1414. ; Handler used to store/retrieve data.
    1 a4 \( [6 x7 ~
  1415. ; http://php.net/session.save-handler
    9 n1 _6 q% j4 Q' x
  1416. session.save_handler = files) b7 g1 K& |! y- O" l! T

  1417. 0 {; h2 \5 o' D
  1418. ; Argument passed to save_handler.  In the case of files, this is the path  J$ B, i8 w' Q# S
  1419. ; where data files are stored. Note: Windows users have to change this. T; Z- A. }4 O' n$ }; h; g
  1420. ; variable in order to use PHP's session functions.% r  {1 w, Y5 n  V, l1 {, L
  1421. ;
    + [" i/ k7 f3 o
  1422. ; The path can be defined as:! k+ ~) X  b1 U/ j6 {6 N; u
  1423. ;
    ! J8 A+ P& G$ y3 i4 |$ X2 o
  1424. ;     session.save_path = "N;/path") \6 t  Z) h' R& C
  1425. ;: J3 F0 h! U! O* _1 U, |3 g% [/ r9 R
  1426. ; where N is an integer.  Instead of storing all the session files in5 ?  a, A7 A& v( [
  1427. ; /path, what this will do is use subdirectories N-levels deep, and4 x% k$ ]& v. X" T- W
  1428. ; store the session data in those directories.  This is useful if+ ?  q2 G6 |7 g1 O' c
  1429. ; your OS has problems with many files in one directory, and is( Y1 I5 @% H1 \
  1430. ; a more efficient layout for servers that handle many sessions.
    - Z3 `1 K% I8 o2 V8 f" z+ `
  1431. ;
    9 P( J+ L' _" U7 G% Z
  1432. ; NOTE 1: PHP will not create this directory structure automatically./ n0 m  u0 W, |; x1 y- V$ i  P: o
  1433. ;         You can use the script in the ext/session dir for that purpose.
    " i, ^2 I4 K/ ]4 O! U3 n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ; w, l& M+ i$ v5 y( o  j
  1435. ;         use subdirectories for session storage3 q; u2 k" C8 U/ O( z7 b/ m  Z' D
  1436. ;# O# x$ f. e  r8 ?# T
  1437. ; The file storage module creates files using mode 600 by default.* r( j/ q/ K/ k2 k, Y6 R+ `1 }
  1438. ; You can change that by using
    * G  T, D6 C5 ^8 |+ q/ c
  1439. ;
    - H1 u4 O$ {( V0 K, S- \
  1440. ;     session.save_path = "N;MODE;/path"" ^6 T! c/ I) D
  1441. ;- }; X/ v; Q+ ^# w
  1442. ; where MODE is the octal representation of the mode. Note that this
    8 w9 \$ ]/ O- h8 ~* r" D9 n
  1443. ; does not overwrite the process's umask." j( c! \3 ]* K/ H4 ~
  1444. ; http://php.net/session.save-path
    $ w0 r  n/ y- Y5 j- ^5 }9 G9 ?
  1445. ;session.save_path = "/tmp"
    6 w  E' e- b: i
  1446. 0 G" Q9 H7 y+ b' d+ ~$ Q' l, V
  1447. ; Whether to use strict session mode.0 o9 @8 x% w. B0 O) d- P
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    : b, ?& l) G* C) m* m2 p7 `
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects. x1 I( i7 h- r2 a  Z; c" Q( Q
  1450. ; applications from session fixation via session adoption vulnerability. It is& t. `4 C$ m' \+ v# x; T
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 p( A! W9 @) T. X4 S" m
  1452. ; https://wiki.php.net/rfc/strict_sessions
    + @; y$ Q2 H- E
  1453. session.use_strict_mode = 0* {( a5 l' v( p: d" F  y% |' D

  1454. 7 q5 ~' C. H8 Z" L! P( Y! ]$ C
  1455. ; Whether to use cookies.4 p3 A4 m. E3 z, l- q
  1456. ; http://php.net/session.use-cookies
    / o! b: W3 P; J9 y+ w) H# r. R% s
  1457. session.use_cookies = 1
    % D# R+ A$ X9 H9 [3 E/ K
  1458. * d5 z7 R2 k' A( j6 z. K+ v5 A5 \" M
  1459. ; http://php.net/session.cookie-secure
    ; k6 l" L! V$ k/ \9 a' P
  1460. ;session.cookie_secure =3 S$ h% b6 y$ K4 i& K$ `8 Z

  1461. - Y$ n$ G: m4 U$ m% u, I" Y, s+ _. ^
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & N5 i& z+ B' E/ R" E4 }
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    * y- D$ I; _# d4 Y
  1464. ; session hijacking when not specifying and managing your own session id. It is4 @9 \5 ?5 _6 w
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.* }0 u" v* f( m9 N  B( X2 Z
  1466. ; http://php.net/session.use-only-cookies
    4 j9 r: V. ?2 l( `
  1467. session.use_only_cookies = 14 m6 l( H5 F& g1 i1 G. d' `# D! z
  1468. 7 L# h& n, y! F( A
  1469. ; Name of the session (used as cookie name).
    + }$ h$ H* f& a8 f$ K! k
  1470. ; http://php.net/session.name& t* l1 h3 H; _
  1471. session.name = PHPSESSID& i, L( G. y. C

  1472. 8 o0 T4 b& s" t5 J' v4 W! t: f& J8 i
  1473. ; Initialize session on request startup.& a6 ^" J% I* E; J8 C: @) _; ~
  1474. ; http://php.net/session.auto-start
    & [# `6 ~2 _. q& C" c: I, o
  1475. session.auto_start = 00 l( p1 X8 d0 L7 j  {8 ]
  1476. # H4 v; e. q% Q2 Y! v* n
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * [4 L7 `/ l, R3 d) W% X5 Z
  1478. ; http://php.net/session.cookie-lifetime4 I0 Z5 O/ {. L( ^/ w4 V6 g( r  H4 g3 }
  1479. session.cookie_lifetime = 0
    $ D2 v: b+ ?% u3 G
  1480. + S& H: `& R. F. K' J* \" }
  1481. ; The path for which the cookie is valid.
    6 }( b: ]- T3 u4 J9 l: `, J
  1482. ; http://php.net/session.cookie-path0 `! W/ H2 V) ]! o# [
  1483. session.cookie_path = /
    ; n7 c) O2 C. k4 x% }

  1484. 4 y+ y5 t" O5 x
  1485. ; The domain for which the cookie is valid.
    * x' d4 E3 f: G  [' e: o
  1486. ; http://php.net/session.cookie-domain6 d7 d7 l2 b7 G5 O. P
  1487. session.cookie_domain =8 j, ]; r' t, a' o

  1488. % i0 S5 [+ s; r: i3 ^
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    0 s: Y9 }5 i$ |0 t. x
  1490. ; http://php.net/session.cookie-httponly9 e) p  f: A. _+ x
  1491. session.cookie_httponly =
    . A5 B* l* ]6 ^
  1492. - @4 I  Z# X5 j, K5 T3 b
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    $ [2 K2 F* [, Z
  1494. ; http://php.net/session.serialize-handler- y1 o& {% _6 F& H& U; Y( C
  1495. session.serialize_handler = php$ D) e% H/ Z* ]$ q: Z" C2 X
  1496. : R; ^3 R) L% N0 p# k$ S
  1497. ; Defines the probability that the 'garbage collection' process is started4 y& P( `$ N  s& Q- I& l
  1498. ; on every session initialization. The probability is calculated by using
    " Z( ]0 V) ~* P2 A$ M# x  c$ c
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    7 x) V( t8 v' ?) j# g3 E( s) E& @+ M
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( ?% u, v' f5 t# {/ G
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " @  B' M( y. Q; f  u5 s
  1502. ; the gc will run on any give request.
    8 m9 A( }  B* g- D% a
  1503. ; Default Value: 1
    ( i9 h1 n* O" W* \/ A7 {6 W; U
  1504. ; Development Value: 1
    / q" O  o0 M3 e9 r9 S
  1505. ; Production Value: 1
    ( q. Y, U# ^; ^7 _8 \( w
  1506. ; http://php.net/session.gc-probability
    7 O$ X& w3 E6 B! ^4 _/ `5 k! C
  1507. session.gc_probability = 1
    ( [6 V1 Q6 H/ P

  1508. ' r8 J& C( K/ j1 @7 T4 |
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    9 M- R" q2 w+ c" ~+ P8 _4 g
  1510. ; session initialization. The probability is calculated by using the following equation:
    . j# A- Q: P% v! i4 j  M, H
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and- q4 T0 I1 R! \( C. W0 |6 A) Y: ^
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 V3 F7 L9 }1 f$ @# G" H
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % |: B' z! ?. B, O% L1 V- z/ o
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . n, g  l: c. E* r
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ l. i5 g! Q4 A/ `+ m8 |
  1516. ; this is a more efficient approach.
    ; Z1 D& P  n. d5 \
  1517. ; Default Value: 100
    3 |+ t* d, |% {  U
  1518. ; Development Value: 10002 u7 q' V9 b; F: r
  1519. ; Production Value: 1000' V, [- c. v9 U
  1520. ; http://php.net/session.gc-divisor& ?  n' _; w8 _. u
  1521. session.gc_divisor = 1000( d+ i) G' |  v& T  E. L) B

  1522. ) G5 I6 I5 f7 }3 z) B( e
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    9 q. i- y: h6 J5 v) L+ B3 M% {6 q* B7 `
  1524. ; cleaned up by the garbage collection process.! b0 v# ]; s. T6 n( @+ i
  1525. ; http://php.net/session.gc-maxlifetime
    9 X0 G! _. U8 d/ a) d
  1526. session.gc_maxlifetime = 1440
    ! v& ~! ^. F& u  Z0 P, c

  1527. ( P3 K- z3 J: ~. n" j% l0 g3 \: U" D
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    * V4 X% _% g) S( ?5 L  P
  1529. ;       (see session.save_path above), then garbage collection does *not*
    # r* j2 H' s1 w7 j6 b
  1530. ;       happen automatically.  You will need to do your own garbage
    ' `3 i& v# ]3 ?# t$ B
  1531. ;       collection through a shell script, cron entry, or some other method.7 r  h$ `8 G) M% Y5 H
  1532. ;       For example, the following script would is the equivalent of; N* N* Z, B4 q: u9 ]9 E
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    , p5 X; i: P- O# z
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    . e! l5 D- d2 L, e

  1535. 5 q8 r# s) C: d$ O( Q8 `  B% Q
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.$ C: j% f1 X1 A& H/ i
  1537. ; HTTP_REFERER has to contain this substring for the session to be% Q- n* r8 |5 a) O2 Y
  1538. ; considered as valid.7 ~/ j/ E" ^: w$ S* J
  1539. ; http://php.net/session.referer-check! N3 h7 j9 @. x7 Q3 _
  1540. session.referer_check =& T4 v6 C1 O! {) R
  1541. " V0 d6 x. w/ M/ A0 `( T; A
  1542. ; How many bytes to read from the file.$ ~1 K# t4 m+ G
  1543. ; http://php.net/session.entropy-length5 n7 j1 P5 V0 T" ~1 f
  1544. ;session.entropy_length = 32$ J, T0 i' R, N2 Q& D7 w$ y6 a  w
  1545. ( m2 L& I- G( X) B! t
  1546. ; Specified here to create the session id.; e- {, S% i1 G8 h% u0 ^
  1547. ; http://php.net/session.entropy-file
    # x  O( w* `6 w
  1548. ; Defaults to /dev/urandom( ^9 L) D0 `9 m. Y4 K; G
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    % d7 P& O' T& \* M. Z! [
  1550. ; If neither are found at compile time, the default is no entropy file.$ Q" H$ [6 h* L4 |" |6 P
  1551. ; On windows, setting the entropy_length setting will activate the/ g( O: m& m" `; F& t, Q
  1552. ; Windows random source (using the CryptoAPI). a5 k/ B3 P0 L, |
  1553. ;session.entropy_file = /dev/urandom
    8 \0 }+ D' `  {

  1554. 0 ]/ z8 u+ l& ]$ U2 ?4 _+ z
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects1 _4 W9 n4 b% g7 h2 i  ]
  1556. ; or leave this empty to avoid sending anti-caching headers.
    4 J; V$ n9 D5 b. f
  1557. ; http://php.net/session.cache-limiter
    1 L5 p3 G% h3 Z0 ?0 G6 W1 d
  1558. session.cache_limiter = nocache
    3 E0 H% t; K: f% Y6 B1 W( m
  1559. 4 I  W1 ]8 _/ P) ?  B" H2 A" b
  1560. ; Document expires after n minutes.
    " b$ i1 v7 I5 W  r! _
  1561. ; http://php.net/session.cache-expire
    # Q6 E* p5 P' i1 g
  1562. session.cache_expire = 1803 Q/ Q, q1 D0 @# f6 S. o

  1563.   t' s7 Z. @" x( k3 L. r' K( O7 h
  1564. ; trans sid support is disabled by default.
    6 v) b/ v0 R; A+ e
  1565. ; Use of trans sid may risk your users' security.( |$ `( l" N5 ~2 p7 h2 M) N; d
  1566. ; Use this option with caution.7 P/ z) o8 r0 |+ y- y
  1567. ; - User may send URL contains active session ID
    1 ?. I9 {+ j' |4 I0 C7 C
  1568. ;   to other person via. email/irc/etc.9 D! x' E- @3 G) \7 E
  1569. ; - URL that contains active session ID may be stored8 v+ K  {5 {3 H0 S
  1570. ;   in publicly accessible computer.
    8 M0 ~9 h! d+ t3 r/ ?5 C$ Q  Y' T+ W
  1571. ; - User may access your site with the same session ID
    * z7 d. Z. q& w' I
  1572. ;   always using URL stored in browser's history or bookmarks.& @2 s3 H, D$ M& F" e3 E
  1573. ; http://php.net/session.use-trans-sid+ b. M% y! ?8 \2 b& w' H4 ~+ ]! D
  1574. session.use_trans_sid = 0
    : z) j5 f7 \' r& f: m

  1575. & m( L$ R0 Q4 r
  1576. ; Select a hash function for use in generating session ids.1 x' Q/ E4 Q9 i5 q7 k
  1577. ; Possible Values; r+ W! J" H# j1 i- T
  1578. ;   0  (MD5 128 bits)5 v- }/ o0 p# E* R  u! S+ S
  1579. ;   1  (SHA-1 160 bits)( i) Y9 w9 s  _% }% m1 J) o) J9 ?6 M) s
  1580. ; This option may also be set to the name of any hash function supported by" @/ _) R; c+ u( r% J
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(), f$ b* ^2 k  m* ]# m" \
  1582. ; function.1 }+ I# ?8 O: u/ T8 r; Y" u: L
  1583. ; http://php.net/session.hash-function# `$ D5 t2 ?: T
  1584. session.hash_function = 0
    : b1 e1 N+ W, [4 b; S4 J

  1585. 4 d1 I- e9 K0 A7 G
  1586. ; Define how many bits are stored in each character when converting+ ~5 k$ h+ ^" ]3 P/ s4 k
  1587. ; the binary hash data to something readable.* H, P7 P$ z. E7 k5 p4 c2 K* L# }
  1588. ; Possible values:. `, q7 `$ H' e, q  l( `
  1589. ;   4  (4 bits: 0-9, a-f)
    % y2 I, {0 B3 @2 b' |3 H
  1590. ;   5  (5 bits: 0-9, a-v)
    $ |6 {$ Y+ A% B) x$ _/ M0 ?! ^
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","); a0 I5 x9 K' l' H3 ^  h" `
  1592. ; Default Value: 4
    4 f1 S4 I$ M. x% \1 }8 s) E. L9 {
  1593. ; Development Value: 5+ O% m, ~7 U( ^. q
  1594. ; Production Value: 5  V  g* y! R0 n( _
  1595. ; http://php.net/session.hash-bits-per-character* j( i8 v9 d# ?0 J- c# |, Q9 w
  1596. session.hash_bits_per_character = 5/ O+ w2 k; F7 I% Z
  1597. . C2 [( v7 Z* Z7 `9 ]
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.- y3 L7 ?% W9 C+ R5 s$ x8 R
  1599. ; form/fieldset are special; if you include them here, the rewriter will* e  v7 l2 f; m/ y, d: V- O/ t
  1600. ; add a hidden <input> field with the info which is otherwise appended
    - |3 \7 s* L, _+ s
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    2 \8 ?: V6 E; L% Z( e4 r0 {
  1602. ; Note that all valid entries require a "=", even if no value follows.
    + L  S- i3 }/ b& g
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 }6 I$ D$ j2 _2 D) [; H
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 ~' |; @2 f+ ^2 @1 R
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! q$ n3 Z+ K- p* ?3 T
  1606. ; http://php.net/url-rewriter.tags
    ; }" t8 {* \( R5 A+ b9 R. P9 U
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 r+ P$ x/ k. z- M. D. g

  1608.   w# a4 |5 L2 u0 A  K' k
  1609. ; Enable upload progress tracking in $_SESSION
    % m' E8 Z- ^/ ?& j
  1610. ; Default Value: On* L. v" @/ d6 v' B& u/ o, `
  1611. ; Development Value: On
    # o, W& Y! ?5 G( P
  1612. ; Production Value: On  ^3 X7 T: a' O* P, M
  1613. ; http://php.net/session.upload-progress.enabled; _( g; I& Q8 _6 f4 V- w
  1614. ;session.upload_progress.enabled = On
    + b' [9 Y9 C- q! l7 V$ |  {# ^

  1615. ) X! s' L" c% v1 H" F
  1616. ; Cleanup the progress information as soon as all POST data has been read
    + n6 m) J. v- W8 E' H6 Z
  1617. ; (i.e. upload completed).
    # n  Z0 |2 e0 y* {
  1618. ; Default Value: On- E  z. f; H% e5 ^6 o% @9 V
  1619. ; Development Value: On
      k. [0 ^$ z2 k7 a+ B' l6 u  K
  1620. ; Production Value: On( @- p( V8 ^- g
  1621. ; http://php.net/session.upload-progress.cleanup
    " |3 [- M0 P; v
  1622. ;session.upload_progress.cleanup = On
    * S# J! r8 L0 ^* s$ l+ G! y
  1623. 7 T: B3 g4 h6 q1 F  w. x/ f7 G
  1624. ; A prefix used for the upload progress key in $_SESSION
    0 K2 Z( l2 ]: \' \8 N  i6 w# q7 d6 P& [
  1625. ; Default Value: "upload_progress_"/ j/ J) r4 O6 M- M4 z- y& T0 S
  1626. ; Development Value: "upload_progress_"
      K) g- i1 s  E. c
  1627. ; Production Value: "upload_progress_"  X! v4 P# U" e- f  q, S, w+ j% D2 H) F
  1628. ; http://php.net/session.upload-progress.prefix
    3 ^5 s) j$ z1 D9 W, ^
  1629. ;session.upload_progress.prefix = "upload_progress_", }0 r* V7 h6 u/ L
  1630. : C- p. M  ?. x! C& y6 g
  1631. ; The index name (concatenated with the prefix) in $_SESSION, ?2 d) \) R  h
  1632. ; containing the upload progress information
    + J8 W  }. I& W2 Y" D5 K& O+ c
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : @: c1 e1 s: y  W6 M- Z) H
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : s# V2 r$ O: S
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"3 ?" X# B9 r+ C- k
  1636. ; http://php.net/session.upload-progress.name
    4 m% p% q3 s6 q3 L. C8 ^
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"9 P) M7 l# k- b& U5 S

  1638. 0 ]9 q9 @& R+ ~' Z1 H
  1639. ; How frequently the upload progress should be updated.
    & @$ P1 e# J% q# U, |, |
  1640. ; Given either in percentages (per-file), or in bytes" f2 B2 a" W- O% ]
  1641. ; Default Value: "1%"9 {4 P; @; k. G/ p6 J  w" F
  1642. ; Development Value: "1%"
    , Y1 K- \7 a1 T9 P. a) J& k! ^
  1643. ; Production Value: "1%"! j& e0 g4 e9 R! M$ Y& o6 C; b3 X
  1644. ; http://php.net/session.upload-progress.freq
    & z6 Y4 ]+ b7 ?' L" \5 d- j
  1645. ;session.upload_progress.freq =  "1%"
    5 c' i. j: }, `/ p$ S; J: o2 k0 O

  1646. 0 l. C$ n& k  D7 s! {, _+ l
  1647. ; The minimum delay between updates, in seconds
    6 x* ]- o9 e( u, Z
  1648. ; Default Value: 1. R" ~$ n( r& I5 z; ?% I) \
  1649. ; Development Value: 1% ^6 `' `/ @. S4 o( C. m2 H
  1650. ; Production Value: 1+ }" v' c2 G/ ?! j- ?
  1651. ; http://php.net/session.upload-progress.min-freq
    / `0 H& T: y: ]. E" ~: [  ?
  1652. ;session.upload_progress.min_freq = "1"! D9 e/ B4 K1 z) Y4 r6 }

  1653. ; T- H) }$ {7 e) [8 Z6 l
  1654. [MSSQL]5 R* E3 i7 G; K
  1655. ; Allow or prevent persistent links.$ U9 g6 n0 i0 V
  1656. mssql.allow_persistent = On3 R$ C- W# d% _8 d; u% {

  1657. + j5 Y3 c, N: P& s- w
  1658. ; Maximum number of persistent links.  -1 means no limit.% I& b/ g! J/ j# u) c
  1659. mssql.max_persistent = -15 w. G* C" ~1 m3 x0 G' u+ `% A
  1660. 7 l( N) M: d7 f% C. @6 r. X
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! a( v7 r& y( ?: }7 O! `0 ?8 |4 u
  1662. mssql.max_links = -1
    0 h& R' B0 O6 P/ v+ W

  1663. / N* K4 R7 N6 K9 c
  1664. ; Minimum error severity to display.
    / N' u) h3 u1 Z7 ?* K" L- a
  1665. mssql.min_error_severity = 10
    4 A7 {5 t+ w, @- Y

  1666. : M! |9 D* x; c$ z$ a
  1667. ; Minimum message severity to display.+ V4 M2 }% m* c+ @1 u7 J) h. J
  1668. mssql.min_message_severity = 10
    0 c  P% A# e0 ]) V! Q# Q: N, A2 @& v/ y
  1669. 4 G8 R! c' \8 p, r: c5 Z
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ! E4 s/ z6 x3 i  }+ u
  1671. mssql.compatibility_mode = Off
    - `* t2 p* ^3 b, k

  1672. + P) n$ i' B# T8 I0 y4 S- R1 m, n7 h
  1673. ; Connect timeout2 T' ]! X/ F9 E3 z
  1674. ;mssql.connect_timeout = 5
    6 D0 W9 y8 V2 H/ g0 T2 }3 _' {
  1675. " o4 F, m0 ?( M8 T# F, d
  1676. ; Query timeout- _; l/ T+ j& I9 h5 c# L
  1677. ;mssql.timeout = 60
    + |! C9 j: w) }5 @8 j& b
  1678. 5 I' w4 c6 s! o! K+ @. a
  1679. ; Valid range 0 - 2147483647.  Default = 4096.8 X& F5 i# F; i- R! S5 a
  1680. ;mssql.textlimit = 40960 L2 v7 t8 ]9 b9 A$ ]% h
  1681. / B" H) J6 d; \
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    1 @  k: j" C% Q( ~1 ~; f6 V" Z
  1683. ;mssql.textsize = 4096  o5 H5 M9 J. d/ c% w" ?

  1684. ' ?/ ]) T* J: Z% b- ?4 G; _6 ^
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    . K2 U. z$ m. K) O% n2 e8 R
  1686. ;mssql.batchsize = 0
      [" Z( [( _6 t( |: K; I
  1687. + E1 _3 ^" e8 v: [4 A
  1688. ; Specify how datetime and datetim4 columns are returned
    " W0 s4 r5 G  }% h. m8 S" A
  1689. ; On => Returns data converted to SQL server settings
    % ]" J$ ^4 q2 [* a
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss  K. x1 ]2 M& q* C9 P
  1691. ;mssql.datetimeconvert = On+ N9 _! V- f. E) h
  1692. 5 d! A* p6 D8 W7 i2 u  i% D9 o
  1693. ; Use NT authentication when connecting to the server+ t7 b$ z! Z8 v' s
  1694. mssql.secure_connection = Off
    - P1 e  N' v3 S' x& Q, G' g

  1695. 6 f  B$ d3 m1 x6 ^0 v5 U
  1696. ; Specify max number of processes. -1 = library default
    % }* H( ]/ ?+ G' z+ M9 [
  1697. ; msdlib defaults to 25
    % U, j# W0 `: L* o" k( z( L4 T
  1698. ; FreeTDS defaults to 4096& }  X2 H/ c. E$ g- O6 a
  1699. ;mssql.max_procs = -1
    ; C. m$ d/ r+ y" y, A  \1 t. U1 u+ u

  1700. , W4 V1 T" g: X$ {. s
  1701. ; Specify client character set.$ P5 \4 t3 o( m: X& s" r
  1702. ; If empty or not set the client charset from freetds.conf is used& a; }5 @, z* R3 p+ v
  1703. ; This is only used when compiled with FreeTDS
    # Z6 H0 a# x. u/ ~  W
  1704. ;mssql.charset = "ISO-8859-1"
    0 p* v( o* j4 o

  1705. ) E  _* f4 T8 h, o9 w
  1706. [Assertion]
    " Y- q, X% G# F
  1707. ; Assert(expr); active by default.
    3 V9 V8 \. G% |: Q6 }7 }/ f# x
  1708. ; http://php.net/assert.active0 X/ i) l) z9 B2 T$ G( c- k
  1709. ;assert.active = On
    3 \8 R- {( c2 M2 o

  1710. 2 ?7 g0 n8 B3 [& K' I6 I
  1711. ; Issue a PHP warning for each failed assertion.
    2 T: T' D1 W# h" m5 g# Q& m
  1712. ; http://php.net/assert.warning5 A9 _/ _% q7 B: c! `8 `/ i3 c
  1713. ;assert.warning = On
    1 l) Y( ?& u. |( ~9 x0 f8 p& R" O
  1714. & D$ C/ `4 Q: d3 G
  1715. ; Don't bail out by default.. s: U3 e0 `* }3 G
  1716. ; http://php.net/assert.bail
    6 }$ w7 w! ^" i( o- w& D0 C9 f/ i2 G
  1717. ;assert.bail = Off3 d) J  @0 z2 U' s

  1718. 6 F* I$ ^, j! S
  1719. ; User-function to be called if an assertion fails.# k; [3 Q  n  z. E
  1720. ; http://php.net/assert.callback( T  e1 H4 A$ I7 N
  1721. ;assert.callback = 0  q, ], g, c' F0 I. v
  1722. 6 H/ [; v7 W) H' [( h, p7 ~
  1723. ; Eval the expression with current error_reporting().  Set to true if you want% T3 {9 ^8 n" W- w0 L- o/ h
  1724. ; error_reporting(0) around the eval().
    6 w. q' u( K3 c& R+ i
  1725. ; http://php.net/assert.quiet-eval6 }3 U9 C- H+ I7 c- Z5 l5 j, w$ R
  1726. ;assert.quiet_eval = 0+ W( W: }5 }+ |- h" E

  1727. 2 h9 z5 X! T" c: d' J( r' G
  1728. [COM]: P- g4 J5 x+ \; ^. ?
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. I' Z. Y) E2 a6 j. b# M4 @$ ]
  1730. ; http://php.net/com.typelib-file8 G9 ^: _" g: z  r! @9 S5 o; L: M
  1731. ;com.typelib_file =1 c0 f4 U; K5 M# C  W0 N* x3 _/ O
  1732. 6 l2 e5 o* J  }  w" |  Z' ~/ u$ h
  1733. ; allow Distributed-COM calls& _. @- B6 b" n8 E) W1 K
  1734. ; http://php.net/com.allow-dcom
    " e) J, I, F* H
  1735. ;com.allow_dcom = true
    ' j6 |; _+ b+ S: a# z) f. `+ C

  1736. ' \+ j4 ^& c6 n$ ~8 L3 W4 K/ U
  1737. ; autoregister constants of a components typlib on com_load()
    & l) g3 K! n) N$ H0 S
  1738. ; http://php.net/com.autoregister-typelib# t8 ]7 U, m& V3 U) l, J4 \. j
  1739. ;com.autoregister_typelib = true
    # a, z  O5 H+ I

  1740. 6 q% w  R* {1 @4 D
  1741. ; register constants casesensitive
    : N; X- G- O& U- ^4 ?% t
  1742. ; http://php.net/com.autoregister-casesensitive
    8 t) @9 t2 _6 I' r, s1 \' X- _
  1743. ;com.autoregister_casesensitive = false
    : X/ ^8 s" ^) i. e7 l* U

  1744. ; i+ K# ~0 l7 q* [4 H6 \
  1745. ; show warnings on duplicate constant registrations. R8 k: Q- o& p4 p( z& I
  1746. ; http://php.net/com.autoregister-verbose( c# g; f7 V8 ]1 b
  1747. ;com.autoregister_verbose = true
    * I( }# V7 l; N3 t4 r; C& o0 L
  1748. " Z& T( R" `1 N: o' r
  1749. ; The default character set code-page to use when passing strings to and from COM objects.. g8 g6 U6 x6 u
  1750. ; Default: system ANSI code page* c9 w8 J7 a, L5 O7 Y8 o# E
  1751. ;com.code_page=+ b- y- K4 D  R4 {# O' d0 A, H
  1752. 3 \' j: u) y# w- r
  1753. [mbstring]2 B$ L8 }' V2 D+ d! I# v$ }. e. M
  1754. ; language for internal character representation.  ?# {- n! B  k+ o" q- A
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ) R0 c( P) o; M. A% o4 r8 O: ]
  1756. ; http://php.net/mbstring.language
    # f6 g! U( u- H
  1757. ;mbstring.language = Japanese
    4 k$ Y+ \  U# B# q  c
  1758. 0 b8 o2 t4 L* I. J
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 v9 _& w" o+ s% m# I8 a" o
  1760. ; internal/script encoding.0 U+ F: X7 a5 {7 M; z/ U/ d
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 V) _  |+ V2 V/ B  w
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 ]+ O; j9 r* R! ^
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding# J5 w+ Q- R* t8 o9 K) o9 @
  1764. ;mbstring.internal_encoding =
    ! [1 c+ L: l, g7 K$ H, M
  1765. 9 Z) h( f8 K' n% G, n
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : s& G* e+ r- k: _0 V
  1767. ; http input encoding.
    3 ?' S6 F0 |% b$ q2 k
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    2 I- l5 `8 `& x
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.8 t; _  s2 Y0 p$ p7 G
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input/ Y. |# W. w: a! F' L, s
  1771. ; http://php.net/mbstring.http-input* |: r6 M, b/ @' W
  1772. ;mbstring.http_input =+ o! w/ p! W+ g

  1773. " l3 @2 O' W' e# I. _8 Y
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.0 @+ C; f. m. x- X$ b
  1775. ; http output encoding.
    : }, d6 f: v& M* H
  1776. ; mb_output_handler must be registered as output buffer to function.# O' h& f( L- d9 m
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used." e! X; D. ~; K0 L
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output: v: ^0 m3 d) I  ^/ d
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
      l4 R! H9 Z  {& }3 f3 M* T
  1780. ; otherwise output encoding conversion cannot be performed.( n& H! s2 b" \7 [5 B3 J
  1781. ; http://php.net/mbstring.http-output+ @/ x9 A, u$ M* n3 U7 P7 Z. ^6 j
  1782. ;mbstring.http_output =
    # N3 v- n6 Q! U, b  d

  1783. # }& l7 R" Y  C8 o' ^" b0 k! \3 f
  1784. ; enable automatic encoding translation according to4 N; o/ a; |* A
  1785. ; mbstring.internal_encoding setting. Input chars are
    * b+ V+ S4 `& e# q
  1786. ; converted to internal encoding by setting this to On.. S! @9 m5 Q* p% h2 |
  1787. ; Note: Do _not_ use automatic encoding translation for% y$ ]- X) G5 u0 G% r0 y; p  m
  1788. ;       portable libs/applications.
    3 T$ U0 Z  w' ^. r: |" Y
  1789. ; http://php.net/mbstring.encoding-translation9 N: t5 ?3 E/ [" Z7 j9 h$ ^4 F) k
  1790. ;mbstring.encoding_translation = Off2 h2 V/ L! t. L. n( e2 Q9 x

  1791. ( L5 m' a1 S# \( q; J
  1792. ; automatic encoding detection order.9 x- k! F" i2 m2 M: K
  1793. ; "auto" detect order is changed according to mbstring.language6 M: B& t3 S2 ?
  1794. ; http://php.net/mbstring.detect-order
    ( q( Y9 M" a: y  c
  1795. ;mbstring.detect_order = auto
    9 ^9 g" }: d$ `, O$ Y( i% m8 ?- @
  1796. 7 k! y# F) y- ~" r( B2 H
  1797. ; substitute_character used when character cannot be converted  W4 f5 F5 [3 h$ g0 L1 j  {' q3 B- i
  1798. ; one from another
    , _- P: W# [1 S* f% Q: N0 {' A
  1799. ; http://php.net/mbstring.substitute-character% c3 s! j$ \& R& d  X, `$ G7 Y7 c$ Q
  1800. ;mbstring.substitute_character = none
    - e  @' v3 W) E
  1801. ; L1 i- t1 g  V8 D
  1802. ; overload(replace) single byte functions by mbstring functions.
    5 k$ ]8 G, d+ D: c  l( d
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),: r, u8 K6 ]2 C! E! @2 R6 V
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.' z6 T$ |3 M, X6 Z5 v0 X
  1805. ; For example, 7 for overload everything.
    & n" J* s' o5 f: J
  1806. ; 0: No overload1 Y0 d2 R9 ~6 C' o! x
  1807. ; 1: Overload mail() function
    ; d- o4 K: V+ }* A* i4 {  N6 P3 D
  1808. ; 2: Overload str*() functions
    / h- a9 ^( e& {
  1809. ; 4: Overload ereg*() functions( {) L7 `! Q2 c3 Z+ P  \
  1810. ; http://php.net/mbstring.func-overload: P; i: K+ @5 @9 Y. q9 S
  1811. ;mbstring.func_overload = 0* c+ W- e4 A2 G  n( A! z; Y+ R+ X
  1812. 8 `  [# }% E1 q- ^/ V* C5 G
  1813. ; enable strict encoding detection.
    + y  M. d" }6 h" X* ^/ W3 y
  1814. ; Default: Off
    # a! }: k9 t9 d9 z& K, q
  1815. ;mbstring.strict_detection = On8 c0 s) B' t8 V/ l9 A: U" h4 e
  1816. 4 X: N8 t  i  r4 g6 p6 \
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()* ~! I' E) O$ i
  1818. ; is activated.- A5 E* d; v0 Y, ~5 n. R
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)6 v7 p8 k* s1 p
  1820. ;mbstring.http_output_conv_mimetype=
    5 a3 |0 v4 ^3 J

  1821. % Y* X2 m1 m4 t$ |
  1822. [gd]: y+ K5 G2 }3 o" ]- r) K. O
  1823. ; Tell the jpeg decode to ignore warnings and try to create' `2 M( g+ x* K
  1824. ; a gd image. The warning will then be displayed as notices
    1 \  g- p. T; j. `9 Z
  1825. ; disabled by default4 x# p1 \0 \/ ?- _* s
  1826. ; http://php.net/gd.jpeg-ignore-warning* y/ d5 |* Q' P* d" k+ d6 g! J
  1827. ;gd.jpeg_ignore_warning = 0: f2 D1 R- M2 D' {, X' @8 R% }
  1828. $ I, _( W/ w3 M) C: k; X; i
  1829. [exif]; b' o" h9 ]( T7 A! z
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.1 ]( l, Y  B5 U+ I9 R
  1831. ; With mbstring support this will automatically be converted into the encoding
    % j: A( |5 ~! }- ~+ d3 Q+ i1 s$ E
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ) x" s$ Y) y5 \, s) G2 |# f
  1833. ; is used. For the decode settings you can distinguish between motorola and+ E$ p2 a# Q4 s. C+ E: Y  j8 `
  1834. ; intel byte order. A decode setting cannot be empty.8 E$ A+ q: l* M4 E
  1835. ; http://php.net/exif.encode-unicode( s1 _& H/ \$ f! Z0 ]" W9 g
  1836. ;exif.encode_unicode = ISO-8859-15
    & n. M3 }* W1 C6 r

  1837. , G) X" `6 h' d' h3 ]
  1838. ; http://php.net/exif.decode-unicode-motorola
    - L) M4 t6 B6 W9 n% h7 P+ o- ?& K, \
  1839. ;exif.decode_unicode_motorola = UCS-2BE  y& c9 o. E8 c7 v8 @( q5 L
  1840. 0 H6 b9 b! X' c; E* q8 q: m
  1841. ; http://php.net/exif.decode-unicode-intel- ^% z3 K  h, A* T% z% {
  1842. ;exif.decode_unicode_intel    = UCS-2LE- I/ b3 |# p" z5 K( X3 }+ N

  1843. . e, v6 v) {* ^. e- u) ^
  1844. ; http://php.net/exif.encode-jis/ A4 q) y9 @5 s; w6 K6 U. b, q
  1845. ;exif.encode_jis =9 ?) x0 y4 [$ O- ~( v

  1846.   K9 I9 [3 R; U9 g" w3 t$ \
  1847. ; http://php.net/exif.decode-jis-motorola
    ; g, M) x0 E, Y2 x% x
  1848. ;exif.decode_jis_motorola = JIS) J3 B* s( }5 L* q* O; p( ~- ~
  1849. * ~+ M2 T9 r* W3 i% f$ v! @3 c
  1850. ; http://php.net/exif.decode-jis-intel$ s4 o  x& s/ K" l
  1851. ;exif.decode_jis_intel    = JIS
    * q  v; m2 c  |4 I# m0 N
  1852. $ ]* k' `# M% S, o$ w( Z  o9 Z# ?
  1853. [Tidy]. Q5 x1 z- `  b  j1 o6 X
  1854. ; The path to a default tidy configuration file to use when using tidy
    8 Y6 j, S& [2 @5 j
  1855. ; http://php.net/tidy.default-config8 M) J8 ^; Z+ g6 V  z
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg# I9 z/ K7 q- I0 h" C

  1857. : s8 |% V1 O1 g: a4 Q+ V$ W
  1858. ; Should tidy clean and repair output automatically?* x; \7 k- Z& b( U6 e
  1859. ; WARNING: Do not use this option if you are generating non-html content& z  d$ B3 E% r5 d% b' z
  1860. ; such as dynamic images
    3 S5 O) i* l/ r8 b: X* F; \0 g& O& a
  1861. ; http://php.net/tidy.clean-output
    8 w2 B& }/ x9 W, Z9 k* T; D
  1862. tidy.clean_output = Off
    & W  F8 M' h/ e1 [: ^

  1863. ; r( c" C% O& g6 g
  1864. [soap]
    1 B6 u# G$ ?2 J+ X$ Y
  1865. ; Enables or disables WSDL caching feature.
    ! C2 U( b. a1 K. E
  1866. ; http://php.net/soap.wsdl-cache-enabled1 r% m  M( g$ y; f, z
  1867. soap.wsdl_cache_enabled=1
    ' }) l" X! P- m) n
  1868. 7 K! }& c. {( {0 t  |
  1869. ; Sets the directory name where SOAP extension will put cache files.
    % U' E8 ]7 L- @7 A/ ~  E
  1870. ; http://php.net/soap.wsdl-cache-dir
    # ?$ \" h, @4 o$ q/ ~3 d/ e! U2 |$ T
  1871. soap.wsdl_cache_dir="/tmp"! D6 k3 {2 F, u$ |

  1872. / S& ^6 E/ x& L; C* R
  1873. ; (time to live) Sets the number of second while cached file will be used# ~9 v& b5 w& R' A
  1874. ; instead of original one.
    ' O7 ?# J+ D4 B- x7 ]
  1875. ; http://php.net/soap.wsdl-cache-ttl% b* q5 `: s! {* O+ K6 @
  1876. soap.wsdl_cache_ttl=86400
    , w' _8 C3 M4 n: i" p4 t, d

  1877. ( K& R7 V* U+ g$ h) h. u
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)7 ~' n+ W* N* G$ S2 ]
  1879. soap.wsdl_cache_limit = 5( x( g$ r0 H) v/ g, f; c& l6 L

  1880. 9 N; N" i! L% h3 w$ w
  1881. [sysvshm]
    9 t" ^/ E0 W" R4 d; r
  1882. ; A default size of the shared memory segment
    ! y4 {4 a" \  u( }& X; M7 H
  1883. ;sysvshm.init_mem = 10000
    ) M- N8 `, n0 z
  1884. 3 Q) ?6 `9 Y1 G; R- T4 J
  1885. [ldap]
    : c) h9 d1 I( F0 I! S
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ' z' R* T2 g& G8 X+ i: Q
  1887. ldap.max_links = -13 G3 w8 o$ ~9 w% l

  1888. , O0 y# `; S& Z# T( n; N
  1889. [mcrypt]
    6 M1 F7 n3 |* W6 i0 A& W4 D
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 y' a7 S* C5 D9 O2 J) a
  1891. & i+ v3 r7 i  S/ i- |$ m
  1892. ; Directory where to load mcrypt algorithms: R2 S, J7 }- g5 W+ K) R# i- U
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ |% m- T" \/ _$ u4 r9 G
  1894. ;mcrypt.algorithms_dir=# g1 }; r- O3 C# H3 Q; d% H
  1895. ( I1 J. c/ U1 Y! E. A- ^. d; Z% n
  1896. ; Directory where to load mcrypt modes2 L% [7 z- m% o" `2 \7 b- Q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & L( m) K3 _8 N1 u
  1898. ;mcrypt.modes_dir=# u; s- k6 M; @, k& v( U" R

  1899. 3 s/ L8 u0 j9 }
  1900. [dba]* w4 n. _; g8 F: N# F8 G) u6 i0 H
  1901. ;dba.default_handler=' Z: x. b1 d7 G/ m! |( L/ ~+ W
  1902. . n4 ?, _- ~& N' i) P% G
  1903. [opcache]
      h' W8 ^$ n& i: {: N) t% [
  1904. ; Determines if Zend OPCache is enabled
    4 O. J  z  c' j
  1905. ;opcache.enable=0
    + J4 z, A% z1 E! Z/ [

  1906. # o1 r# G9 n7 r4 x" n' M# h
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    $ T% V! ~, p/ P6 W3 s: N7 [
  1908. ;opcache.enable_cli=0
    4 [, L6 Y0 C4 N: r' Q

  1909. - {( b) J, P% l& ?
  1910. ; The OPcache shared memory storage size.* g0 z. T# ^3 `4 ]6 G5 V4 ^
  1911. ;opcache.memory_consumption=64
    ( W& P! b* s/ C6 H* l( }

  1912. 6 `  e3 \( n  Q0 i+ D; A, X3 X& J
  1913. ; The amount of memory for interned strings in Mbytes.0 z" `5 V: T; E; `
  1914. ;opcache.interned_strings_buffer=4/ N( r# X6 c( L- }

  1915. % _/ a4 n1 |" S1 Z
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.$ ]2 o6 b, \) r. O: J  U6 [5 H
  1917. ; Only numbers between 200 and 100000 are allowed.
    2 w( R8 U( ^) Z7 \" ?6 [
  1918. ;opcache.max_accelerated_files=20006 |: `) m1 j) w% l
  1919. - S( H; d8 f& B* S
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # z+ d" g+ _- Y' z% r0 [; Y
  1921. ;opcache.max_wasted_percentage=5/ c+ z; c3 D$ K2 o% N3 J7 ?4 A
  1922. ) ~, n" r7 b* ^5 K
  1923. ; When this directive is enabled, the OPcache appends the current working* w1 i" P1 R% }5 U0 K/ [) `. R
  1924. ; directory to the script key, thus eliminating possible collisions between1 T8 G* u( E$ r
  1925. ; files with the same name (basename). Disabling the directive improves0 m+ d( Y& d( Q2 W
  1926. ; performance, but may break existing applications.* @; v/ z" ^+ ^1 X4 }) F7 \2 y
  1927. ;opcache.use_cwd=16 j9 Z8 R( p" D; a

  1928. + ~) q9 V/ a, V4 `$ m' f
  1929. ; When disabled, you must reset the OPcache manually or restart the- t1 i$ K& X$ e$ S7 _
  1930. ; webserver for changes to the filesystem to take effect.
    / t& [$ Z  p$ J
  1931. ;opcache.validate_timestamps=1
    " z/ s8 T2 d: T

  1932. * ^' e' z1 G7 n' e1 f; N, z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    4 x8 C) C; g  N5 M
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ( ^' L. A- p' O( L6 W- b
  1935. ; once per request. "0" means always validate)& C5 H% I4 C/ R# T) v) L
  1936. ;opcache.revalidate_freq=23 K+ G) ?7 T! a$ a7 T3 G

  1937. ) V) ?: F! I3 S1 m
  1938. ; Enables or disables file search in include_path optimization* r+ g/ p3 u  U  L/ {4 a
  1939. ;opcache.revalidate_path=0) ~0 }! E/ D- U0 F8 T

  1940. + M7 J8 v. O0 M+ s: e/ n* G
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the+ J& X8 T! F& Y6 W
  1942. ; size of the optimized code.6 K" B4 q& l# |; c8 a( T- m
  1943. ;opcache.save_comments=11 L3 J5 G9 x2 x  e' ~. Z4 l2 W" r
  1944. # U+ ?1 l  h2 h5 F$ _/ v
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    1 T; z+ `. _% [6 y+ _
  1946. ; may be always stored (save_comments=1), but not loaded by applications2 D3 z1 o; J+ P5 O/ R
  1947. ; that don't need them anyway.* Z8 ~$ a9 c9 a
  1948. ;opcache.load_comments=1) U4 L, h8 h" u9 p
  1949. 5 s) H: S% }; |! r$ ~! H3 C
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 U. h. Y% F# |  X: V
  1951. ;opcache.fast_shutdown=0
    6 ~$ n1 h- n1 M3 D# b' }

  1952. ' n4 Z& u# Q* {. G
  1953. ; Allow file existence override (file_exists, etc.) performance feature.3 e; k! B" v) R  }6 R# _
  1954. ;opcache.enable_file_override=0) d4 g3 M: L( l4 N5 m- J5 O+ T. ~. n

  1955. 9 L6 f( G! Z" b3 i1 I( `2 H  N  ?
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ) _- c# ~7 D" X% M6 ]$ z9 R8 w9 O
  1957. ; passes7 v0 h4 M( N7 h: s  T
  1958. ;opcache.optimization_level=0xffffffff7 M! [  o- t! a
  1959. 8 X& o2 r1 }  ^& s, p9 X
  1960. ;opcache.inherited_hack=1! ]) s8 N* U* Y
  1961. ;opcache.dups_fix=0; n" [, t2 n1 p$ m5 x+ f9 T
  1962. 6 l8 f+ z: n3 t. f5 ]8 h; Q, j
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / w: x6 Q2 H$ \8 U6 Y. x
  1964. ; Each OPcache blacklist file is a text file that holds the names of files/ ?# y: j, K& v: r. O: b
  1965. ; that should not be accelerated. The file format is to add each filename' I2 ?; m+ D7 c  t% E8 {
  1966. ; to a new line. The filename may be a full path or just a file prefix
    " x1 G# j4 F' y: f  J% G7 E6 v
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    & r  ^; W3 o/ y; X5 |$ c& @& m9 v
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ J7 P% l4 X2 ~( \5 A+ M( P
  1969. ;opcache.blacklist_filename=
    ( D  }  O, \' R2 R/ Z2 m/ Q
  1970. ! m1 e: d8 x, O) ]; g% G3 p
  1971. ; Allows exclusion of large files from being cached. By default all files
    . G$ a) z- R7 Z7 @1 N8 C  `
  1972. ; are cached.; ~2 v. ?+ l, D& H
  1973. ;opcache.max_file_size=0
    . Y; w; a1 P, j: X" l( ]
  1974. * M3 A+ v# g7 y% D! z+ t
  1975. ; Check the cache checksum each N requests.5 k  t3 z5 o% ?' k0 d* h
  1976. ; The default value of "0" means that the checks are disabled.! f; t' P: E9 {2 E
  1977. ;opcache.consistency_checks=00 p. `( ]: \  {9 z/ T# A2 g

  1978. : q7 _4 r$ q1 F
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache  S0 R) f, {( n
  1980. ; is not being accessed.& f6 |% ]# k6 B0 A
  1981. ;opcache.force_restart_timeout=180
    7 n8 A  k" D5 h+ [# C

  1982. # k3 o7 z1 S! V4 |* T5 M
  1983. ; OPcache error_log file name. Empty string assumes "stderr".7 H- D8 e' C# M3 X1 x3 r9 m* K( V
  1984. ;opcache.error_log=; X3 [  f9 i6 F
  1985. # u9 X& z& c; x! ^& k& O
  1986. ; All OPcache errors go to the Web server log.& a5 b( D1 w5 q( H$ n8 M( h
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ) l+ G1 a4 e" Y5 J' j5 o
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    0 B" W$ r: }/ W& X8 u" A  l
  1989. ; debug messages (level 4).3 o/ ]  t8 D0 U% J  P9 ^
  1990. ;opcache.log_verbosity_level=1# A. Q+ a1 z& E1 Q* A  n) I; T
  1991. 9 f# w, k* y! I8 M0 O
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    # c- w1 v; ]+ a$ k# S
  1993. ;opcache.preferred_memory_model=
    6 u! \) Z9 D; u- ^# N3 b. s

  1994. " E/ t6 w6 }7 p- V% s. _
  1995. ; Protect the shared memory from unexpected writing during script execution.
    2 V% p# d% t$ ]) n0 n' {
  1996. ; Useful for internal debugging only.: A+ j' H! m: q% d4 a' ^( X
  1997. ;opcache.protect_memory=0
    ) Z7 L- n* T8 e

  1998. ! L: f9 y+ g5 z2 D. U. s1 X" ]
  1999. ; Validate cached file permissions.% }+ @+ T, l9 I: ]% Q# w( W
  2000. ; opcache.validate_permission=0) T- }* R. @0 Y, A2 ?
  2001. & q1 p. o/ S  \1 [0 J. p0 N7 [7 @% b
  2002. ; Prevent name collisions in chroot'ed environment.
    ; M2 S# B7 C7 o# f
  2003. ; opcache.validate_root=0
    5 E- \2 t$ H9 f  o% l
  2004. 8 F: y5 v6 o" y5 m7 u  y: v+ f
  2005. [curl]
    9 j2 a& B0 R0 t4 \# S+ n
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 Y: o/ @! p( D# F/ w. Y( \
  2007. ; absolute path.
    " o* R) S" M. [# S* K" o
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! K9 v9 D# O8 D0 O- j/ {

  2009. 1 G; P  _# N  o
  2010. [openssl]
    7 I* m, F; g6 C' @% R' c
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    % z5 b! c$ F0 L4 h# U" ]- D7 o
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 K: ]. P* Y5 [
  2013. ; not specify a value for this directive as PHP will attempt to use the; ~! j+ _  S! B( H. }. T# G1 o
  2014. ; OS-managed cert stores in its absence. If specified, this value may still) \3 n$ _" e8 a0 K$ @: `/ M
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context9 p$ _  M% ~. R( C* }. H' }: R5 M% [1 B$ Z
  2016. ; option.
    % p" M( e, `- W$ ^2 L9 ^
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt" R2 c4 p% K$ G4 k; L+ M

  2018. " z" G( P0 Q' w' t9 o1 V+ l/ U  o' _% c
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    : g$ ^% p+ ^' x
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    # p% x1 }# m0 C" d& F
  2021. ; certificate. This value must be a correctly hashed certificate directory.: \4 r" G4 }% [4 b
  2022. ; Most users should not specify a value for this directive as PHP will
    7 M0 p5 y. g) ~, v
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    / {7 n7 a3 m; N: x  y) z7 d
  2024. ; this value may still be overridden on a per-stream basis via the "capath"4 n; I6 G! ?1 t( e9 ?
  2025. ; SSL stream context option.
    & Q, v4 G) m  |0 v$ e" W8 @5 ^) p
  2026. ;openssl.capath=7 u# O8 k* I+ h3 Z* |/ B) z

  2027. % x: e& P+ K7 i2 w- A7 ~9 A
  2028. ; Local Variables:
    / k+ r* v1 f) i2 o" r
  2029. ; tab-width: 4, K1 v* b) C* i5 q4 h8 I
  2030. ; End:
    . Y) m* H0 T* [8 H

  2031. ; V5 G/ \, h# x( O7 L
  2032. ;eaccelerator+ c) @6 |9 z8 [7 E; v* u
  2033. & R9 B  v( F5 Z1 u
  2034. ;ionCube
    / m' V- l: P/ _+ o* e
  2035. 7 b  l2 o7 l# a' z9 B) J0 y8 y7 E- _
  2036. ;opcache& E4 D+ n+ W' G* F+ W; W6 c: j. N  \* J
  2037. 9 s# i2 n/ y. r( Y9 y
  2038. [Zend ZendGuard Loader]
    0 H3 B4 t* S2 A& W5 K* @/ R
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so$ p6 j+ F" I* ~+ \; E  b; b+ w
  2040. zend_loader.enable=1" v# d- }- F2 L+ k0 w) ?7 V# \
  2041. zend_loader.disable_licensing=0
    * F' k# y) j9 u1 s" i% f. g
  2042. zend_loader.obfuscation_level_support=3' w% E% ^. ?; u) O" ^* m% s
  2043. zend_loader.license_path=
    + p2 e% }6 L$ M% Y9 h& J

  2044. / c# B) r4 B, J) l8 I' S
  2045. ;xcache3 e# w3 H. v: b  ~% ^! L
  2046. 9 w- Z/ J3 T7 `. F9 a& Z
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692; u: P* U6 C+ z1 z

( ~' @) J9 ]4 J) z+ L3 ?
6 d5 Y/ P6 ~7 j9 e3 CDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
& l: }% |+ w- V# e5 _* y# m
! x0 }7 y9 v; E, {Discuz!程序版本选择:
1 S: C6 R- Q! }+ a! O" Z站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
! {$ t, ~4 ]7 s8 L$ T8 n不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 |$ ^  A  _% y: p3 {: K: i2 ?
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。' S" Z8 ?' h! a8 b0 u' Q9 o' m
; T2 j. J4 Z$ q. N! c7 M2 {! |
Discuz!插件模板版本选择:
+ i. f& a  W1 u很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
5 M& q9 U+ I0 n% |) U针对这个问题做个统一的普及:
9 s* e4 n7 C9 b" ^X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
" g$ b; F, e% }# a! ^' X7 G% ]0 b: s9 [) T& S2 y  }2 y" t, p8 W
所以( z4 p6 U! [/ V% P5 y7 p3 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的二级域名。
: B2 [6 t; l6 l0 g1 T0 e打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
( o" Y# G) N1 X# g. f+ m( [注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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