分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
; i6 |4 w7 z' A8 h
9 ^) r# l' J/ F' U# R& I: _
  1. [PHP]3 z$ Y. x% `* V# y. W+ D
  2. 6 f% Z( t6 X( O! B8 i7 T. L- l
  3. ;;;;;;;;;;;;;;;;;;;
    6 ]1 @4 c, S  M" k
  4. ; About php.ini   ;" o& O: |1 a/ H8 T9 d$ r" k
  5. ;;;;;;;;;;;;;;;;;;;% M6 b+ H8 K# p) M1 X
  6. ; PHP's initialization file, generally called php.ini, is responsible for, i2 t& w* w* ^: _  @7 A
  7. ; configuring many of the aspects of PHP's behavior.4 ^$ C( ?  J' A$ ?6 d# c
  8. % \! `3 `0 u; W& X# h6 Q, s
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( Z5 _6 N3 t5 s  i
  10. ; The following is a summary of its search order:/ m; A2 }3 Y8 r
  11. ; 1. SAPI module specific location.
    * S; a' J3 s  T( [0 \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    8 _4 S6 T" I: O+ \
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    8 {9 w& Y8 f( I  o$ R
  14. ; 4. Current working directory (except CLI)
    7 X3 A  E6 e5 j( e, U1 w/ b3 c
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 Q1 c- |- i' D$ z0 j
  16. ; (otherwise in Windows)+ `7 [6 o9 g0 j) S! C# a0 m
  17. ; 6. The directory from the --with-config-file-path compile time option, or the  F9 ?- p( ]. B
  18. ; Windows directory (C:\windows or C:\winnt)* P( i0 W6 P$ J/ b. z. _
  19. ; See the PHP docs for more specific information.
    6 c) L0 ]( I: z$ N9 \( n0 K9 I, l# n
  20. ; http://php.net/configuration.file# s- q/ p, C# I
  21. 7 }+ O5 G7 l2 D& a/ o
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' V2 O8 a/ v9 F/ t2 ?. N3 G5 Y$ \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 t. j4 ]3 n0 J5 o
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though5 `8 }1 C% ~. i6 Z8 ]  g) L8 U
  25. ; they might mean something in the future.1 [  w2 p6 p) i6 r; K6 s, n. f+ V5 u

  26. / t' l0 h9 ]6 z
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 O! Q( E8 @. Z5 W8 x
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 L4 I( m3 M" @) j2 x! F
  29. ; following the section heading [HOST=www.example.com] only apply to
      p1 Y2 P1 t/ n3 j9 l' B
  30. ; PHP files served from www.example.com.  Directives set in these
    , ~2 a( v5 y# \. ]7 M
  31. ; special sections cannot be overridden by user-defined INI files or
    , |( v9 H, \9 b4 C) q/ F% H; ]
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    $ z+ s( V5 F$ J! e* G7 O
  33. ; CGI/FastCGI.
    . H3 F1 W6 k  f" ]# e, b
  34. ; http://php.net/ini.sections
    # l, @$ `& h: x( O( c9 o! m) F$ ?
  35. : n- \, M5 h$ r1 c6 P
  36. ; Directives are specified using the following syntax:
    * m3 p" q- r0 @! Q9 U% b
  37. ; directive = value( D( \3 r. B" T  V9 U' {4 y! y
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.( V* x# e& _5 r9 F* d3 J
  39. ; Directives are variables used to configure PHP or PHP extensions.
    # o8 m; Q$ |( H; l( [3 c0 F- O
  40. ; There is no name validation.  If PHP can't find an expected
    ( S0 C+ s+ a! _; Z4 P0 w- [! J5 s
  41. ; directive because it is not set or is mistyped, a default value will be used.! m; E  b/ v2 Y

  42. & g; f' T) @& E1 A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one7 V  B: o- O2 {+ }* [% W# s
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( ^5 d6 X/ t7 w( u8 t
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    # n$ P, A  w/ M& f* G
  46. ; previously set variable or directive (e.g. ${foo})
    8 _2 @8 D4 v- v" m& m- V% p% w( U
  47. 0 [3 z- X$ ^# A4 o, B- `" M
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    + i6 U2 _4 t# z
  49. ; |  bitwise OR
    4 s. `% s$ {# N, X# ^; h  Z
  50. ; ^  bitwise XOR% u9 y' C$ R0 x! W( }; p7 J' ?
  51. ; &  bitwise AND+ y* k' c- P1 s( h) E
  52. ; ~  bitwise NOT
    ( ]0 Y8 l* R7 R' E) s5 m$ `/ M
  53. ; !  boolean NOT
    1 |: b; n, [1 x
  54. ! M$ t# S1 s, @- g5 Z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) q" ]( T; ?) t) y
  56. ; They can be turned off using the values 0, Off, False or No.' J2 @1 n: Z9 @8 ^
  57. % e! z6 w: z  ~' |2 ~! Z& T
  58. ; An empty string can be denoted by simply not writing anything after the equal
    9 M8 ^3 G, j6 I/ N* G9 r; i- }/ w
  59. ; sign, or by using the None keyword:9 C5 R1 c/ S9 l- [: d) h9 t* u
  60. , x9 j4 o3 [# o; n4 {1 V, M
  61. ;  foo =         ; sets foo to an empty string
    # j/ X: E! k7 x0 e8 w' n4 T/ K2 x
  62. ;  foo = None    ; sets foo to an empty string% [4 M1 Z+ X- }* |" c) M
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ( M* I( s; r  X' c. e
  64. " l# W0 P) u8 q' B) \$ D/ C6 I# h
  65. ; If you use constants in your value, and these constants belong to a
    + s% H: ]! j  y/ h9 W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),6 M" S: I4 T' Z+ P
  67. ; you may only use these constants *after* the line that loads the extension.1 ~# \1 `+ I5 n& T
  68. 5 A* ~( H7 y% e- X5 V6 i4 m- L
  69. ;;;;;;;;;;;;;;;;;;;0 B  s7 g2 N1 o, H( t1 ~
  70. ; About this file ;6 C9 V# e  e0 N: o6 W
  71. ;;;;;;;;;;;;;;;;;;;
    % [5 l: b6 L$ V/ ^
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  S; u9 |$ A$ H0 x
  73. ; in production environments and one that is recommended to be used in3 E$ M4 J& g* `% [
  74. ; development environments.
      i+ E9 s& [6 b1 U0 V/ g; h5 H

  75. . e9 z$ Z- a0 b# p9 n" h& Y
  76. ; php.ini-production contains settings which hold security, performance and
    . t. U: i4 u% @" X* ~
  77. ; best practices at its core. But please be aware, these settings may break
    : I& x" c, N- Z  @
  78. ; compatibility with older or less security conscience applications. We
    7 X5 c9 x, e" T' T! B* w
  79. ; recommending using the production ini in production and testing environments.& O3 P: Y4 r3 y6 E* v' x

  80. ! z3 e, c2 ~2 i( e
  81. ; php.ini-development is very similar to its production variant, except it is' z& l+ }9 M( H  m
  82. ; much more verbose when it comes to errors. We recommend using the
    ! J& y+ U1 c3 X) T+ i- B9 }! l
  83. ; development version only in development environments, as errors shown to, e- r* K  g/ S$ I" W8 q
  84. ; application users can inadvertently leak otherwise secure information.
    " y* r& D% {! z5 n* N9 \4 ?  A! u

  85. 7 _6 ^2 b  X% i
  86. ; This is php.ini-production INI file.+ ~, H: I3 o4 x. N4 F( n( L8 t
  87. : k- T* {9 C9 Y* _
  88. ;;;;;;;;;;;;;;;;;;;0 |; K. ^8 v! F6 ]$ J
  89. ; Quick Reference ;
    3 f. ]& _  E! H; K4 g7 w  \6 H
  90. ;;;;;;;;;;;;;;;;;;;
    + B7 H. P7 g, l4 y1 o- F
  91. ; The following are all the settings which are different in either the production; {1 [/ T+ f: n9 N  z2 ]; x
  92. ; or development versions of the INIs with respect to PHP's default behavior.0 z, E0 u8 v6 @- a" Y) l' D7 D
  93. ; Please see the actual settings later in the document for more details as to why& A+ K+ c5 Z' r; p2 d
  94. ; we recommend these changes in PHP's behavior./ ]/ Y$ R! x" Z8 M
  95. 8 ?% E! L* L. B. k
  96. ; display_errors5 t4 r" c# B) m; @! x+ m
  97. ;   Default Value: On3 E7 C' Y3 K( D4 K2 j
  98. ;   Development Value: On
    & {0 a2 v# ], b! u* R$ {
  99. ;   Production Value: Off
    9 ^" q: q7 ?& w! o& v3 q' S# E  @  j
  100. * e2 X$ q8 F% m/ l3 q+ ~. w
  101. ; display_startup_errors) }- h* _+ C. a; _" a3 ^
  102. ;   Default Value: Off! y: @$ z0 K, _8 W! w
  103. ;   Development Value: On
    2 }. Y& H# h0 ?# F  J
  104. ;   Production Value: Off
    : W2 A; d( g) u7 Q0 u2 o

  105. # I2 h; d7 k3 e6 c& _4 x
  106. ; error_reporting7 ^6 H7 o$ d- I9 S3 n6 m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 g3 X1 x/ m4 y& f. S
  108. ;   Development Value: E_ALL2 w" X) {+ i( x8 D' x& ?
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; Q. P+ V" b  i8 \" H, [& O# k

  110. 7 U$ P- _: q# c3 u# M* }/ l6 L6 @
  111. ; html_errors
    % G9 x( [  I5 c0 e7 ?* w+ G) J
  112. ;   Default Value: On3 f6 C: B' M2 f3 p$ C0 U, |0 [
  113. ;   Development Value: On
    % \9 |# o0 |3 W+ I; z
  114. ;   Production value: On
    0 j# v; G$ u  M+ {9 i1 F
  115. 4 P( Y, k6 M' A3 P3 ?! e
  116. ; log_errors
    : ]2 T8 a, i; X( D! H, s) u5 `
  117. ;   Default Value: Off
    5 H7 w6 x; }5 M6 }
  118. ;   Development Value: On
    : |! @+ ?9 E2 B; b0 Q* H
  119. ;   Production Value: On
    $ y; ~7 u% ~( Y6 \1 ~& s
  120.   X; C5 ], l+ V# Q; K9 a
  121. ; max_input_time
    6 I2 W0 V2 H  d4 C& ~6 S  j9 y
  122. ;   Default Value: -1 (Unlimited)
    7 j, L' f  I6 k8 T
  123. ;   Development Value: 60 (60 seconds)1 i4 E7 i! ]. L! m5 S8 m8 C. ~/ g
  124. ;   Production Value: 60 (60 seconds)0 L. d8 `0 ~+ B, P; c: s

  125. 8 n: a; d. M9 ^5 }$ @" i& Q
  126. ; output_buffering2 k& U  m4 h& G9 K
  127. ;   Default Value: Off# t/ B2 C2 m# c* _! f
  128. ;   Development Value: 40968 o7 e; i/ _1 R+ g5 z) }' O8 Y) Y
  129. ;   Production Value: 40961 [1 f$ P3 |: m6 B  l* x
  130. ' h8 R: T( h. ~# D
  131. ; register_argc_argv
    8 X- S; f  g/ [5 L2 t0 ?
  132. ;   Default Value: On
    " B3 v9 ?( y) `
  133. ;   Development Value: Off
    7 S* S  V  @; E& s
  134. ;   Production Value: Off! R5 o% k& b8 B) {
  135. # F* \. J5 o) d& _4 r
  136. ; request_order
    ' U" I# p/ Q0 l# q
  137. ;   Default Value: None" i3 w9 T: e6 e
  138. ;   Development Value: "GP"6 {, a9 L& {/ B5 e5 R) {
  139. ;   Production Value: "GP"1 e8 K$ P' N! H. t! h

  140. 5 b9 c% z8 S+ h( p/ |
  141. ; session.gc_divisor3 m! Z8 Q/ z1 q2 N
  142. ;   Default Value: 100
    0 M1 ^5 e  F0 n. @# G7 s
  143. ;   Development Value: 1000
    : S8 U" b% n& h$ B8 S( Y' z
  144. ;   Production Value: 1000" c. i2 I! @- _6 o; ?2 g( ?

  145. - i/ x& q1 z* I2 r; M
  146. ; session.hash_bits_per_character& c; R$ u- Q+ ?* H. v; `% ]/ r+ g9 C# r
  147. ;   Default Value: 4$ y% J" N5 H3 g3 D( s
  148. ;   Development Value: 58 x6 ]6 W0 f4 o" Z1 W" t
  149. ;   Production Value: 52 s& ^9 Z2 |/ L% q* d- e
  150. 0 H- z6 [. }% |7 t6 f& K( f
  151. ; short_open_tag. X6 ]4 ^) S# l( \: p& B) e
  152. ;   Default Value: On5 Z" W9 d% I4 _: U
  153. ;   Development Value: Off
    " ?6 c5 i, n# R6 @
  154. ;   Production Value: Off$ h, R, K: ?  [5 o7 V
  155. / B  ~0 j5 b5 B, a
  156. ; track_errors3 M/ o( X. [' L# F* \
  157. ;   Default Value: Off9 c  x) [) X: D; S. X
  158. ;   Development Value: On* n/ F2 r1 Q/ k: ~
  159. ;   Production Value: Off2 u2 O$ D8 q1 b. w9 U% m! B

  160. & f/ {4 ^6 ?+ ?3 u. q- Y" `
  161. ; url_rewriter.tags
    4 B8 T# w: Z1 J' M, N5 v- x8 F
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & j. {5 I' p: I$ p# h
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 C$ w* `% [* Z. O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# _# w* f( d) H- ]% ~, b4 ^

  165. / K7 F) z2 K9 \' v
  166. ; variables_order
    - s: \4 K9 l8 X6 t$ ^1 v0 H3 h, ^+ Q, j
  167. ;   Default Value: "EGPCS"1 I* }( U, D( ~( ^
  168. ;   Development Value: "GPCS"
    & m7 s5 G! F& z+ s9 n8 _, J
  169. ;   Production Value: "GPCS"
    8 Q3 H- N( J# k, D7 N" W; ?" _6 j

  170. 4 c+ O( K( B' F& A8 p: b
  171. ;;;;;;;;;;;;;;;;;;;;! ^: L1 O3 J; y# q& L, M* r
  172. ; php.ini Options  ;# J  V' @& t4 {' w' p7 z6 H
  173. ;;;;;;;;;;;;;;;;;;;;
    0 O6 R! M. @* S: b  K- n) W
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + L* P% ^4 l$ R. o
  175. ;user_ini.filename = ".user.ini"  D* ]1 A. k& @- Y; ?

  176. 2 H  n  t! e1 v7 k
  177. ; To disable this feature set this option to empty value
    ( S/ g' _4 s8 f& F
  178. ;user_ini.filename =) H, T. e7 u6 S: F" ^! w, O

  179. 8 N7 ]1 T: h* K  I
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)0 x1 ^4 u& W4 q! y
  181. ;user_ini.cache_ttl = 300
    3 o5 n/ w; |# S" b, e5 {

  182. 0 W/ I( U) b% C, I$ S* f! v7 g( c7 J8 d
  183. ;;;;;;;;;;;;;;;;;;;;
    0 y. g2 P/ T% O) S2 M
  184. ; Language Options ;
    2 ^* M/ g% o: V4 A/ C$ C
  185. ;;;;;;;;;;;;;;;;;;;;
    3 E5 g- t) }0 D9 H) u  G4 ~+ V
  186. 1 x4 l3 {2 m" i4 L: d- [7 H
  187. ; Enable the PHP scripting language engine under Apache.+ P5 [2 p7 V# y- U5 |6 B+ C
  188. ; http://php.net/engine5 |. R/ e- B  N: |6 ~) E
  189. engine = On
    # V( q6 I& t. ]7 T2 ^, \; R
  190. 0 r- |% U  n5 Y3 T) u: P5 ^8 i
  191. ; This directive determines whether or not PHP will recognize code between( A# E: J& K3 ~* n0 J# `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    / N( j- }/ @: ~
  193. ; generally recommended that <?php and ?> should be used and that this feature# l( E  K+ k& C1 a) b. S# b
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) s5 L7 _* q& E
  195. ; documents, however this remains supported for backward compatibility reasons.5 d, w7 O5 ^* D9 z! ]9 \* z  f9 b2 j
  196. ; Note that this directive does not control the <?= shorthand tag, which can be% ?4 D4 D- N* R* ]. f1 {
  197. ; used regardless of this directive.$ x- w+ L6 m+ \/ b7 D6 p
  198. ; Default Value: On
    . T) e* W) A  _- A7 M0 y6 v2 d3 P
  199. ; Development Value: Off
    & ]( i3 P* W  ?0 o, ~1 k' j
  200. ; Production Value: Off1 u& H" c) b# K& C
  201. ; http://php.net/short-open-tag5 q% m0 x! ]8 l2 b/ T# p- a. T
  202. short_open_tag = On
    ( ]) c  m3 A1 r* q' K: P

  203. $ X+ J# P' Q9 m6 N
  204. ; The number of significant digits displayed in floating point numbers.
    8 M: p1 A" G% I2 o0 D8 O
  205. ; http://php.net/precision
    , ?: E) f+ P* n6 p( q/ }
  206. precision = 14
    / k1 `) S# W; f6 F8 k- h+ K
  207. + ^$ Z' F* a0 [; h$ o
  208. ; Output buffering is a mechanism for controlling how much output data
    6 E- g3 m$ k1 v/ j$ W2 n: a' r$ O
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that. q: w# B2 Z5 V( U8 t
  210. ; data to the client. If your application's output exceeds this setting, PHP# k. \$ ]3 p( u5 R2 |
  211. ; will send that data in chunks of roughly the size you specify.
    5 P3 n2 g# A5 Y4 b( z0 G
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    & V+ `  b/ \' i( q& }% O+ P5 A) |7 L) e! V
  213. ; interesting side-effects depending on your application and web server.
    , n3 ^7 X; v+ C0 f
  214. ; You may be able to send headers and cookies after you've already sent output# n- R" \# Q: w9 g7 V8 o. ]% O
  215. ; through print or echo. You also may see performance benefits if your server is. J& y4 N( w) x9 X
  216. ; emitting less packets due to buffered output versus PHP streaming the output5 j( s/ z8 E5 ]
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    $ D: W& H' k0 q6 N% l1 X
  218. ; reasons.
      M0 U/ J' h- J! T( w
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    % P3 Y$ l! d1 O3 S) G& n) g% k
  220. ;   functions.
    / e% @+ w, i) w1 F, p* t7 |
  221. ; Possible Values:4 L, w  s1 C5 p: \$ k
  222. ;   On = Enabled and buffer is unlimited. (Use with caution); ?' q4 e: |2 A, q3 M
  223. ;   Off = Disabled! ]0 h+ W9 J2 U# A0 `
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.$ x* p. v9 Q8 M' d! y( P! {
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
      ~' {# p- W2 e0 c
  226. ; Default Value: Off
    $ }: M+ }0 [& D2 i
  227. ; Development Value: 4096
    # U1 }8 J% `/ d$ @3 E; Z" _
  228. ; Production Value: 4096
    ) D: |. h7 J3 B
  229. ; http://php.net/output-buffering+ A1 Y( u/ \* Y  l. |) K5 r
  230. output_buffering = 4096- `% h! @2 S+ d5 Q( a4 y, b

  231. : w2 j( q6 F$ B" k5 _
  232. ; You can redirect all of the output of your scripts to a function.  For
    , b5 L" W  C/ u- E# B: I
  233. ; example, if you set output_handler to "mb_output_handler", character
    / K! s1 ?& n+ y5 {- _5 h. q
  234. ; encoding will be transparently converted to the specified encoding.3 `/ x/ z8 ]# i9 V
  235. ; Setting any output handler automatically turns on output buffering./ Q( e2 V" G8 c: {# F) f/ u* `
  236. ; Note: People who wrote portable scripts should not depend on this ini
    - O' @8 c& P1 l( l1 [
  237. ;   directive. Instead, explicitly set the output handler using ob_start().) Q, h+ q% ?1 R2 t; r  v( a
  238. ;   Using this ini directive may cause problems unless you know what script2 ?% b( b# `1 y3 v% M, X  R! ?* P
  239. ;   is doing.
    + f/ ^! q& U: c. c
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler": F8 w: v& f; h/ D9 R
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".3 X' j4 p* ~* Z! i- m9 j
  242. ; Note: output_handler must be empty if this is set 'On' !!!!/ o; c; b, K  p; M- E! m
  243. ;   Instead you must use zlib.output_handler.
    / P; `6 U) ?; T1 E! d' n8 x
  244. ; http://php.net/output-handler
    ! o7 D7 ]7 r# d3 D! c# k2 @+ z
  245. ;output_handler =
    , a+ b  x; `. b* z0 ]
  246. 9 i) {& D* A3 L' @2 w, X: }
  247. ; Transparent output compression using the zlib library, }: ^" U- D1 z- }% L4 w
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size1 k8 a& o$ D" z0 I/ g( t
  249. ; to be used for compression (default is 4KB)
    & q2 i4 e# @; `+ `& q& v0 J
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP0 b+ e" ^' `1 F- S# }6 b
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    3 i/ q  }3 s2 C
  252. ;   compression. If you prefer a larger chunk size for better% h# ]* U0 N0 T: W
  253. ;   performance, enable output_buffering in addition.
    ' K- @1 H, s( n; U
  254. ; Note: You need to use zlib.output_handler instead of the standard5 i' T$ U) q  z( y  B3 P  J4 |
  255. ;   output_handler, or otherwise the output will be corrupted.9 X9 S5 R- y- n6 {, R" z5 e
  256. ; http://php.net/zlib.output-compression* B6 p3 e" j& E' X, \% d
  257. zlib.output_compression = Off
    5 o0 z' J; G& C) C) J; s
  258. 8 S4 A) _! A" k& q' y* Y
  259. ; http://php.net/zlib.output-compression-level
    4 [) f5 `" N& M& ~( \3 J& `) ?- M1 Q
  260. ;zlib.output_compression_level = -19 ~' \/ Z( g& P# v

  261. : w" Y" c  d, V5 L  @; [
  262. ; You cannot specify additional output handlers if zlib.output_compression( x! U. Q0 L- y  w7 E5 }% v
  263. ; is activated here. This setting does the same as output_handler but in
    - C: N+ v$ g. }- m1 S, U' m& y: @( C
  264. ; a different order." V9 R4 }4 w/ @* B! |% V8 @
  265. ; http://php.net/zlib.output-handler. [3 y  F& m' t5 w# E0 Y( o$ E
  266. ;zlib.output_handler =/ I& c( q. o  z
  267. ! ^, s5 c. h( ?$ A- o
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    " W+ p/ Y2 K5 O) H0 ~; a& N
  269. ; automatically after every output block.  This is equivalent to calling the7 Q+ d+ P- @. V) O6 L* A
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ; V8 t. ^3 Q9 g0 @6 K: C. Q
  271. ; and every HTML block.  Turning this option on has serious performance5 _* z2 `7 ~) A6 N4 ?
  272. ; implications and is generally recommended for debugging purposes only.: W: r0 U% f; {( h8 @# c5 ^
  273. ; http://php.net/implicit-flush6 F5 D; g2 `$ J6 M( Q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI: H- _+ J: W* f. U# X* v. Q
  275. implicit_flush = Off8 v- B) q6 \6 X+ s8 y/ Q+ a( \5 M" {# P

  276. , m# V1 o3 ?! J4 G, u
  277. ; The unserialize callback function will be called (with the undefined class'' e) p) N+ V& w( e
  278. ; name as parameter), if the unserializer finds an undefined class
    6 m# }7 ?3 C6 o. I% v; f
  279. ; which should be instantiated. A warning appears if the specified function is
    0 Z/ u7 U! G( h5 E( [0 W' R
  280. ; not defined, or if the function doesn't include/implement the missing class.: Y$ i* K4 S# c
  281. ; So only set this entry, if you really want to implement such a8 u. Y: q- r; S0 z9 z5 l7 l
  282. ; callback-function.5 j- _) D% g5 @8 w" K
  283. unserialize_callback_func =
    4 H* w6 a2 N/ R
  284. % l' f% A( }  R* {
  285. ; When floats & doubles are serialized store serialize_precision significant/ r0 n5 m8 A' j% U& t
  286. ; digits after the floating point. The default value ensures that when floats
    + N' C+ j* n* |" Q; `! B4 r
  287. ; are decoded with unserialize, the data will remain the same.
    $ F% P7 E( y. C
  288. serialize_precision = 17
    ( e8 W# L- ~% k& Z9 o$ |
  289. % k7 p/ a. a! s' S/ k" [8 @) R$ T: K
  290. ; open_basedir, if set, limits all file operations to the defined directory
    8 k( b! `2 l( L" n/ I9 L
  291. ; and below.  This directive makes most sense if used in a per-directory
    * _0 n* K% x; i. b/ X9 D
  292. ; or per-virtualhost web server configuration file.
    " C8 A/ N% l8 m4 \
  293. ; http://php.net/open-basedir
    . X; f7 H- ]+ J
  294. ;open_basedir =
    7 u; s# E: t( i1 G1 w% D
  295. % C, U! [. F3 w! F  j2 a/ l0 E8 Z
  296. ; This directive allows you to disable certain functions for security reasons.5 u4 S9 c- d' G( |. t7 N# i& F* g
  297. ; It receives a comma-delimited list of function names.
    # B! M" q- h7 J5 v# I
  298. ; http://php.net/disable-functions
    , ~3 i# S# r/ f7 N. T- p
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    3 G. `9 z2 l& U

  300. 2 H, D* y* w& w$ r
  301. ; This directive allows you to disable certain classes for security reasons.5 o* w7 V5 d) R5 L# M. y/ V0 ^" P- }5 G
  302. ; It receives a comma-delimited list of class names.
    6 t& w4 C8 @8 E, |4 D
  303. ; http://php.net/disable-classes: H- X# V; t) B* w8 \8 T
  304. disable_classes =2 @3 j$ d! m8 ^

  305. ) b" q5 I" b% B0 }4 t+ o
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in/ v! K& n: @: y0 M
  307. ; <span style="color: ???????"> would work.! k/ D5 [$ Q* |
  308. ; http://php.net/syntax-highlighting
    # ~8 l- X0 ^7 n# l2 p
  309. ;highlight.string  = #DD0000
    6 H0 R  N5 K. {' W6 m3 ~
  310. ;highlight.comment = #FF9900
    " p* v& p8 H) N: L
  311. ;highlight.keyword = #007700# z' G- X, R  \9 v* R/ I; S! [
  312. ;highlight.default = #0000BB3 @1 S; A+ L  d7 A; Y
  313. ;highlight.html    = #000000
    - k# d" S3 D7 ?/ m

  314. 3 Z9 H* C9 G( s8 Q, f
  315. ; If enabled, the request will be allowed to complete even if the user aborts' ]0 \6 f& l  ]' L+ K* |
  316. ; the request. Consider enabling it if executing long requests, which may end up
    # o0 G* _& S" t: L' z
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior% G' p5 M7 M& w+ Q0 Z, j8 ^& c
  318. ; is to disable this feature./ w; Y0 g9 J1 _% h* ^+ {
  319. ; http://php.net/ignore-user-abort& h2 x- v, t$ p6 V& ^8 U' y  Z
  320. ;ignore_user_abort = On) W7 D" G; u6 f& o9 ]( e! k
  321. 9 u2 A5 r- {% d3 y1 S! l+ y7 f' F
  322. ; Determines the size of the realpath cache to be used by PHP. This value should) k' M8 S9 m9 R' R% l. r( q
  323. ; be increased on systems where PHP opens many files to reflect the quantity of$ B; }" ^0 b% B8 Z& h
  324. ; the file operations performed.
    * S7 @0 t. c8 X5 ?3 K
  325. ; http://php.net/realpath-cache-size: ]: Y4 q7 w! `4 |: H' U4 L9 d
  326. ;realpath_cache_size = 4096k1 |6 ?  Y) M$ v

  327. ! R% d: g4 t5 f! d! b& A7 D- s9 I
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ! g# L. {# j8 i
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    6 _; @+ b; A5 P% J/ N
  330. ; value.
    2 Q* o6 C/ z' F1 W& l1 I
  331. ; http://php.net/realpath-cache-ttl
    7 H( o/ }+ E3 `" N
  332. ;realpath_cache_ttl = 120
    9 p& V9 W, f: k: C1 @

  333. 1 `; y! s& [1 q
  334. ; Enables or disables the circular reference collector.8 S% s3 V! y/ @& t& C' b( s
  335. ; http://php.net/zend.enable-gc
    0 h9 |3 |" F6 w9 {0 k
  336. zend.enable_gc = On
    # Y  P5 O$ I4 ]- @  m
  337.   N2 o2 [4 {) v  f9 Q. a
  338. ; If enabled, scripts may be written in encodings that are incompatible with1 z6 g* X3 n: o8 y% o4 C* _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such5 d/ R1 I$ L+ `9 O
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
      t% }! }) V1 h% Z
  341. ; Default: Off, F" ?* X3 U/ i& i
  342. ;zend.multibyte = Off
    % i) c/ V6 N. s3 l
  343. ! h5 L8 G1 T% h  Z8 w
  344. ; Allows to set the default encoding for the scripts.  This value will be used7 ]: Z' _# n& d$ ~! `; w
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.6 m* u# K4 o; p$ b
  346. ; Only affects if zend.multibyte is set.
    * M9 U& h0 n& g& c
  347. ; Default: ""4 o) b: K3 z' c% J( s1 ?5 `
  348. ;zend.script_encoding =0 W, D5 c6 q5 z- g  {
  349. 3 P3 o5 j4 X. [8 i4 `% L9 c4 E% A# F
  350. ;;;;;;;;;;;;;;;;;/ b# y& Y7 _  u, I2 [
  351. ; Miscellaneous ;' _! v) J/ T2 G6 c% }+ v( i
  352. ;;;;;;;;;;;;;;;;;
    - y0 i4 V  q0 f$ M

  353. ( C1 h' e* I! |- x
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    5 X$ o4 }9 s7 }( Z4 i( N
  355. ; (e.g. by adding its signature to the Web server header).  It is no security$ y  H; K4 o. w8 B+ x: B( |/ L
  356. ; threat in any way, but it makes it possible to determine whether you use PHP1 @+ c, s9 I2 k! S. J6 Q  z
  357. ; on your server or not.
    0 v6 j6 X2 s8 p% v' \
  358. ; http://php.net/expose-php
    , p5 `# w5 `6 }5 J+ J% }" ]6 X
  359. expose_php = On$ o' U; ^& G# i* s2 \+ A7 T: P$ c7 B

  360. # H3 A: }: Y  o
  361. ;;;;;;;;;;;;;;;;;;;! `: x( Q7 g# D* w
  362. ; Resource Limits ;. n9 ^, a( ^# b! u* T5 Z! D: p( X* W
  363. ;;;;;;;;;;;;;;;;;;;6 M; |6 @5 F& N/ x; l; \

  364. 5 C0 i. e3 k4 e$ c4 M: k5 b5 N
  365. ; Maximum execution time of each script, in seconds- X8 [' D, ]0 M: [: a
  366. ; http://php.net/max-execution-time
    9 M4 ?2 K/ A+ T" C! e
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI# b2 S# n. ~' |, S) t. d
  368. max_execution_time = 300
    & b0 e" X5 l2 T- {9 c

  369. % o; U) h) S' i" }3 g* I6 A5 j
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    4 X& b% M. j9 B" D; B* T" [
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    4 \. Q/ `& t7 y% N1 w: a
  372. ; long running scripts.
    ; c4 [9 n  ~  r
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    4 t, I! V% n5 b! b: c: J
  374. ; Default Value: -1 (Unlimited)
    3 \, F/ \" o. u5 o% A2 F; R
  375. ; Development Value: 60 (60 seconds)
    5 e' V( W! X/ ^: v$ F
  376. ; Production Value: 60 (60 seconds)
    , b4 l. w. L, x0 F) Z+ J+ @3 v+ I  Q4 Z
  377. ; http://php.net/max-input-time9 D& k% A. r" n6 u
  378. max_input_time = 60  ~+ I: `! s0 D! [
  379. 5 x# Z- @; F  K
  380. ; Maximum input variable nesting level( y  C' T) t- q8 I1 s- C$ i$ ^9 S
  381. ; http://php.net/max-input-nesting-level
    ! T( J# r$ o- G0 e
  382. ;max_input_nesting_level = 64* R1 q1 n1 X3 A! v1 f7 M7 y- s

  383. $ L3 _5 y: n3 D, ~; R/ R: b
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ' }$ [  }) P4 ?. u( C
  385. ; max_input_vars = 1000
    9 O& y# N& \5 c$ C

  386. ) n) b" X, ^/ _. f  ^; I! ]7 [* T
  387. ; Maximum amount of memory a script may consume (128MB), x1 A; Y: n: W4 c( @
  388. ; http://php.net/memory-limit3 y( S0 H- r+ p6 i- z# c( z
  389. memory_limit = 128M- L" w% q5 c# c: B' \& S8 p, k

  390.   z- k$ E& q: h
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) F2 s# Z" P  o
  392. ; Error handling and logging ;
    ( v$ T- f* g+ E5 S
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- M4 E$ F8 ^" D+ c; i: x- ?

  394. - x; W9 F& v! g- H
  395. ; This directive informs PHP of which errors, warnings and notices you would like7 E7 L; K- e$ j) ]- \0 j( Y8 R5 m
  396. ; it to take action for. The recommended way of setting values for this6 A8 e% a# ?' C# F/ b0 k
  397. ; directive is through the use of the error level constants and bitwise& e0 s( n, s1 U4 |  j" V# R
  398. ; operators. The error level constants are below here for convenience as well as
    . a' {5 t7 T! E( E2 H: c
  399. ; some common settings and their meanings.
    9 p9 v' Y0 L- Z5 `( E7 B' d( J5 X
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' z% h& G5 P, E* [/ v4 o; u5 X
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ ?! I% D8 X2 C; B- e# \& d
  402. ; recommended coding standards in PHP. For performance reasons, this is the8 L4 V6 R8 I6 U& _! L) ~+ W" D
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    % U9 Y6 p8 m7 K) Y8 ~
  404. ; resources complaining about best practices and coding standards. That's what  o5 M( Z. r% ?8 e8 w5 F
  405. ; development servers and development settings are for.7 T' S0 F3 P/ b; Q
  406. ; Note: The php.ini-development file has this setting as E_ALL. This3 W: ^: w  {, m. b
  407. ; means it pretty much reports everything which is exactly what you want during
      J1 b1 _0 T! ~% l/ T2 U0 K- v9 Z
  408. ; development and early testing.
    " O) s( Q0 w; `' _' e3 x' D5 L
  409. ;
    " ^1 F- x1 G' H! E
  410. ; Error Level Constants:9 @' B) J- t5 W/ _$ y1 M
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    . R6 m' C. ^! L. W( Z
  412. ; E_ERROR           - fatal run-time errors9 C  y& M7 P! e7 s8 q
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ x. V8 t1 {2 u- S8 I  Y' W% `  c
  414. ; E_WARNING         - run-time warnings (non-fatal errors)' t7 {) J9 K- }8 h3 k! e
  415. ; E_PARSE           - compile-time parse errors1 p* a2 ~1 F- g/ P. T& a
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 T" C1 r1 K4 f1 k; T9 L
  417. ;                     from a bug in your code, but it's possible that it was
    2 {! O, z8 f5 F* V. u# Q) b
  418. ;                     intentional (e.g., using an uninitialized variable and: W& a# d1 w7 x; `
  419. ;                     relying on the fact it is automatically initialized to an
    0 g5 }. b: a& f6 `
  420. ;                     empty string)
    ; x! v; _) q" r) e
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 Y) M" y. ^4 J; ?/ \
  422. ;                     to your code which will ensure the best interoperability
    7 t/ |3 b9 R0 |5 m* c, A0 U
  423. ;                     and forward compatibility of your code4 l- j' ]0 t1 d0 s4 b
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ t8 K& ]! G9 |( P+ j
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    6 \5 C- g( ~  y7 |. o$ j
  426. ;                     initial startup7 s* l% \) h  {# _
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    , T8 y+ Y; v# \8 P
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * f4 d: z+ L4 g) O/ T/ b7 q( O: N
  429. ; E_USER_ERROR      - user-generated error message
    , p# p; z5 r/ E, p! h  k7 a
  430. ; E_USER_WARNING    - user-generated warning message/ \& a7 \4 X+ c- B) F1 `# s
  431. ; E_USER_NOTICE     - user-generated notice message" v( c& E( C( s8 e7 s
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    + `/ `0 h2 }( w1 h3 E, d
  433. ;                     of PHP5 b# F' Z( F7 W2 V
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 M. ?% m/ \, D7 ^  I  u, W
  435. ;$ S# S7 ^; u4 c" O1 I
  436. ; Common Values:/ U+ x! K7 U5 v, ]
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    , E3 J7 U- F0 [* K( D* h
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)8 D4 z' x1 R, r- W" t% S
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    & G: A: C% f, m: B+ e3 A  n
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : J/ E: W! q: Q! W2 x" Q
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) s6 L6 @( T) k) O# D
  442. ; Development Value: E_ALL
    ! f: q0 x2 ?4 x3 c' _& X" T, }8 l
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; X0 _. k* V  }* T5 V0 A
  444. ; http://php.net/error-reporting
    . |9 [+ O- l5 A6 D. ?
  445. error_reporting = E_ALL & ~E_NOTICE+ R) I+ r. v/ p

  446. 7 _& n# r: n: ^
  447. ; This directive controls whether or not and where PHP will output errors,
    0 p, Y4 {# Q/ l7 {  l
  448. ; notices and warnings too. Error output is very useful during development, but9 \- `) B' d" z' S. c5 T
  449. ; it could be very dangerous in production environments. Depending on the code
    . d/ b0 W; [7 ]2 F
  450. ; which is triggering the error, sensitive information could potentially leak+ ~$ e) ~. j" ?
  451. ; out of your application such as database usernames and passwords or worse.( K$ o9 M$ T% ]! v- r$ Y2 ^
  452. ; For production environments, we recommend logging errors rather than
    - v* `4 u2 J, f- N. B! j; b
  453. ; sending them to STDOUT.
    : M$ q6 f3 w* J* Z7 `
  454. ; Possible Values:, C( W( U9 s) ]' G  _% F8 ?) e  o
  455. ;   Off = Do not display any errors9 @9 q* ~  N  F4 K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    , |( w$ |2 o3 m* X
  457. ;   On or stdout = Display errors to STDOUT6 U+ R& W- v; w" |. o. D: r( r) W
  458. ; Default Value: On
      M# N' D6 o) ~/ ?! n* x0 c
  459. ; Development Value: On
    " ]; y& \4 Y( g
  460. ; Production Value: Off
    $ t8 k- w5 n# Z8 S+ X1 b
  461. ; http://php.net/display-errors
    # x, }( T% X1 b7 F: B# ]
  462. display_errors = On* `4 S) C& X! t/ n" [
  463. 9 e" ^2 U0 D3 N
  464. ; The display of errors which occur during PHP's startup sequence are handled5 S/ e  B- y" j
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    " N$ W8 i" I% x) o3 ~4 G8 y
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    1 B$ f6 I; j2 L. h0 Z  j
  467. ; debugging configuration problems. We strongly recommend you" n' b6 D5 l# K( E+ f4 {
  468. ; set this to 'off' for production servers.; s5 J  O9 q2 B$ \. f
  469. ; Default Value: Off% e0 ^- u+ r3 _( u, V
  470. ; Development Value: On! [1 |' @) V! S7 r2 k
  471. ; Production Value: Off
    * L( q( a( c! ?. u2 A' V4 C: q
  472. ; http://php.net/display-startup-errors
    1 T" ^. e0 {: i( c5 ~
  473. display_startup_errors = Off
    # z) f9 j5 ]- O

  474. : X$ X6 r! |3 k
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    + H6 |* }  f% [1 Z( Z+ K+ A
  476. ; server-specific log, STDERR, or a location specified by the error_log8 z+ j1 T2 u) [& G% \
  477. ; directive found below. While errors should not be displayed on productions0 R0 l- B+ e5 |! X- _2 g
  478. ; servers they should still be monitored and logging is a great way to do that.! b8 ]7 Z+ m/ ]  Y+ E- A3 D  g
  479. ; Default Value: Off
    9 s0 [. a0 \' h6 M8 \
  480. ; Development Value: On
    : \2 h% a$ T* \% D
  481. ; Production Value: On' q/ s# R9 k1 \8 Y: _# K
  482. ; http://php.net/log-errors
    9 G& x) I# s$ v+ m, o
  483. log_errors = On/ E% Z& G' n# j% {

  484. 0 I7 E! R& r% S" E( X
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ; S& E$ B; h0 _% o) A6 P  u; V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    2 |% u3 A7 r* N
  487. ; http://php.net/log-errors-max-len$ P. i& Z% A. }% t& z
  488. log_errors_max_len = 10242 K/ p% H7 P' x  [) n

  489. " c, V# M5 U( P( V
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same; I$ g  _# c# I& q! {2 n
  491. ; line unless ignore_repeated_source is set true.$ S0 L; p! X0 \
  492. ; http://php.net/ignore-repeated-errors
    ' h. T* e0 R4 S9 J8 {8 j
  493. ignore_repeated_errors = Off
    / V/ z  N8 I/ e. X9 ]4 P, s& c
  494. . |6 m; V7 H& ^
  495. ; Ignore source of message when ignoring repeated messages. When this setting1 v) S& f# D& L4 J
  496. ; is On you will not log errors with repeated messages from different files or$ [2 E% M! X6 j) W
  497. ; source lines.  ?: R, I& k, p3 L8 |7 G
  498. ; http://php.net/ignore-repeated-source% p& v+ I; z- H9 ?* E
  499. ignore_repeated_source = Off+ f: T; t! E3 N* J
  500. / b( _) h! v, R8 y2 [
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on+ R) S- s2 J+ b
  502. ; stdout or in the log). This has only effect in a debug compile, and if! E, c( l+ d+ `) j
  503. ; error reporting includes E_WARNING in the allowed list  Q, E2 S+ o8 s
  504. ; http://php.net/report-memleaks# G  m, [2 w6 R, X
  505. report_memleaks = On
    - N% G- {5 _( u
  506. 3 c3 u1 N9 [1 `6 f8 w& U$ v
  507. ; This setting is on by default.
    & q0 g. Z( l; f$ e4 L1 b( d
  508. ;report_zend_debug = 0
    , f6 A& e2 X% C% b! c' @

  509. * c* _) S$ D* m4 E3 S" o; q0 T& N
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 z1 @- G/ [8 w; k& D& h
  511. ; to On can assist in debugging and is appropriate for development servers. It should9 R, J7 w/ i4 @" F. a% H( t; M- y7 ]
  512. ; however be disabled on production servers.
    7 d9 c7 I9 L& @7 m( i: _7 u
  513. ; Default Value: Off
    5 j: D% ^$ c2 ^1 x; w! M- o  ]
  514. ; Development Value: On1 b: E& I: F' ]- w# _- Y/ b2 t% q
  515. ; Production Value: Off
    1 k6 T. c3 Q  R
  516. ; http://php.net/track-errors
    : ~( d4 R1 L' E7 S- |9 G
  517. track_errors = Off
    5 K# `/ `: G# }# q- }
  518. / K* z: K! h: N
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    $ i2 k. J1 k, F! d1 b2 O
  520. ; http://php.net/xmlrpc-errors$ R4 x! S( V% f% Y  T
  521. ;xmlrpc_errors = 0
    8 b' r8 g+ F1 m2 e4 C. B1 `' `

  522. ( ^% X& s1 X0 f3 c" u5 j$ ?% a5 h
  523. ; An XML-RPC faultCode
    5 {" B+ F2 R# V2 y
  524. ;xmlrpc_error_number = 00 ^* Q  A- x( h* a

  525. 7 q1 P+ K2 l" S- D+ f
  526. ; When PHP displays or logs an error, it has the capability of formatting the$ C! }+ w3 G# y& O# U
  527. ; error message as HTML for easier reading. This directive controls whether
    ; d. u  H# }- y# K$ b+ J$ D6 \
  528. ; the error message is formatted as HTML or not.
    ' q) \. t! Z9 e/ _8 k) U3 q; \
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 A/ o0 z0 {- N4 L. u: p' E
  530. ; Default Value: On& k5 y, J/ R7 E& v! i: j# x
  531. ; Development Value: On
    8 x1 S) n, u" z( U2 `: \; ~; d7 U6 |
  532. ; Production value: On7 c+ ~$ F' M' F4 ?( a+ B1 Q
  533. ; http://php.net/html-errors( b/ ^8 Q5 ~0 f; O
  534. html_errors = On( q, _' x% Z1 |+ H6 t$ [% X3 o
  535. 9 y: F( a& _3 h8 a$ s# m1 L5 O1 M
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP0 L3 f$ e* j% K4 t
  537. ; produces clickable error messages that direct to a page describing the error
    $ v* l% I! n4 N0 m5 o  m6 `
  538. ; or function causing the error in detail.
    , ~+ C$ [3 ~. \# B9 H. X9 R# W" N
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    3 D: }& B7 l! Q  M) ]/ M! d0 `
  540. ; and change docref_root to the base URL of your local copy including the$ y) U( b2 m5 \: E; o0 I: u
  541. ; leading '/'. You must also specify the file extension being used including
    3 F2 O1 l# `) }& g, k0 f
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which* @* Z5 M, G; b& ~1 D' @
  543. ; case no links to documentation are generated.
    ( s1 v7 S: T2 t4 r$ _4 q
  544. ; Note: Never use this feature for production boxes.
    5 ~+ M5 v6 H. l* X
  545. ; http://php.net/docref-root* T, `/ w" p" J. }
  546. ; Examples& u8 I! J0 z' W8 d# q
  547. ;docref_root = "/phpmanual/"
    ( }# b0 v7 \% q/ s( u

  548. & \6 I! |2 y' U. T9 v9 w! C
  549. ; http://php.net/docref-ext. q4 N, L4 O7 o) o' h
  550. ;docref_ext = .html
    ( G3 S, r( O1 L- X8 x

  551. 1 D) s: N0 O4 V/ T
  552. ; String to output before an error message. PHP's default behavior is to leave
    7 c8 K+ b  m& P) j2 U
  553. ; this setting blank.
    8 |( ?9 N' ]# v$ h
  554. ; http://php.net/error-prepend-string
    3 C4 ]# \6 m8 j
  555. ; Example:; L2 \( p2 j5 w4 P2 Q
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    1 j& M  j$ N% \
  557. 2 ]0 v0 V7 S8 E& f6 j& y
  558. ; String to output after an error message. PHP's default behavior is to leave& B, M+ U( D% s0 _' D
  559. ; this setting blank.
    * j- a$ |0 ^  l8 u/ i5 @
  560. ; http://php.net/error-append-string/ ^) K* U0 E0 H2 `$ |0 y7 j
  561. ; Example:# R* W" ~4 O0 \% \6 w/ V
  562. ;error_append_string = "</span>"
      l& o! Z. K4 O4 \8 ]
  563. % P1 q% l) C6 R+ G/ s
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
      J2 T, E8 z2 ~2 M2 v
  565. ; empty.
    ' p/ S4 Y# p* @$ P' N9 i
  566. ; http://php.net/error-log: C' p5 G8 J4 v8 ]  a/ s
  567. ; Example:. |/ e, H. J, w
  568. ;error_log = php_errors.log7 u; J/ y$ O) B* }% Z
  569. ; Log errors to syslog (Event Log on Windows).
    * G- u" _5 j* M* z3 N; X
  570. ;error_log = syslog
    6 V5 h2 X; S/ l' Z1 T

  571. * i5 v% D: s, ?5 v5 I! j
  572. ;windows.show_crt_warning
    0 U0 g3 Y- x4 d5 q
  573. ; Default value: 0
    ) C, T! `, H8 l5 j6 f6 q+ m
  574. ; Development value: 0. n0 J8 Q7 x6 u5 {* i# R/ k
  575. ; Production value: 0
    3 A, p% K: T' ~6 N: M
  576. ( w: `5 j+ u# K* w
  577. ;;;;;;;;;;;;;;;;;
    ) p; D  s. B6 @" U
  578. ; Data Handling ;! f7 T! R, [& [3 t
  579. ;;;;;;;;;;;;;;;;;
    , {* r& I# U3 \; Y( E) g$ ~: e
  580. ) N+ y6 l0 ^+ b, P2 ]
  581. ; The separator used in PHP generated URLs to separate arguments.
    / G6 o  }' w3 X0 C, F# X0 T% C
  582. ; PHP's default setting is "&".
    # q8 V) F. u% Y5 j4 a# J& j- n7 a. i
  583. ; http://php.net/arg-separator.output- e" r$ K& ?" W" T0 V
  584. ; Example:5 q0 j2 d$ \" ~9 Y) c, e
  585. ;arg_separator.output = "&"
    1 U! T6 f! X5 y# Q% q1 S% B4 u; v- B6 b: r
  586. & J' E4 \9 ?3 N0 j) y- `
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ; B% J1 O) r% A* Y! ~
  588. ; PHP's default setting is "&".7 S) S* j. `" \% ]' o% U3 N
  589. ; NOTE: Every character in this directive is considered as separator!$ U* ?/ _" P, n- V8 {/ Q+ w$ E6 G
  590. ; http://php.net/arg-separator.input2 Y) h( s$ f- b( e4 r0 T, t: @; ~
  591. ; Example:, s/ L/ r# z2 b! s1 _
  592. ;arg_separator.input = ";&"/ d, Q* O% l# T/ D' f# l; _' F

  593. * l" A- ~8 q- _$ b7 R7 l
  594. ; This directive determines which super global arrays are registered when PHP& ]1 @( a# c2 `' m3 A* l, @: L) Z; ]
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super; m; }8 Z5 Y6 o
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ; [" Z0 D0 b/ o/ v
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ( u+ {! t3 r( X+ D% T- B! J
  598. ; used as the others, ENV is not recommended on productions servers. You$ M- ^1 ^3 S" j/ S4 c5 j& b
  599. ; can still get access to the environment variables through getenv() should you0 R( j) U+ z0 F' }4 t7 K) F1 |1 h
  600. ; need to.+ j: d0 Z* K- n* Y7 V  q
  601. ; Default Value: "EGPCS"/ f0 G/ l" E! M9 E) ~; y
  602. ; Development Value: "GPCS"
    ! K! U! }. c- ~2 O
  603. ; Production Value: "GPCS";
    . v1 c: Z7 _* y; x0 \
  604. ; http://php.net/variables-order. l/ U6 g! w8 c7 N9 y& e
  605. variables_order = "GPCS"
    6 C4 F6 F  G/ B5 O) u1 {. ^
  606. + {' P; r5 A! @7 T" p1 {! c+ F
  607. ; This directive determines which super global data (G,P & C) should be
    - `! k7 ~2 \  P/ o4 Q( F
  608. ; registered into the super global array REQUEST. If so, it also determines
    $ ~' l& e% m5 z. P, n6 W' s
  609. ; the order in which that data is registered. The values for this directive' _- G1 m+ t* n% N3 u4 A) [6 Q3 {$ ^
  610. ; are specified in the same manner as the variables_order directive,
    % C2 I" }5 K) g; K7 L1 k$ @7 E
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : ]/ f7 I/ }2 R7 T; _& b' e
  612. ; in the variables_order directive. It does not mean it will leave the super
    , `' ~, A/ r" O4 H3 m' Q8 c3 E
  613. ; globals array REQUEST empty.( d) L8 S5 _. K8 s* w2 C2 C
  614. ; Default Value: None2 I! f3 X$ \# U$ @; x
  615. ; Development Value: "GP") f# o, k, ]7 n' z- F  E" d
  616. ; Production Value: "GP"
    " N; ?! z0 Y6 m* s0 D9 c2 o( y1 ^
  617. ; http://php.net/request-order2 h! y% U/ h4 a( W3 {2 t
  618. request_order = "GP". n3 w9 w' C. H% n& H  L

  619. $ d  ]" y  E# W" c6 E. i2 q
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    8 {& C* W$ G/ w( {0 @
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script! I2 }, ^( f- U+ b
  622. ; is invoked. $argc contains an integer representing the number of arguments5 h* z( X" s3 X
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 u( `8 q2 ?- E4 v5 Z
  624. ; useful when running scripts from the command line. When this directive is
    2 V. @: c* e  m% N  I$ o( h# G
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    : v+ ^3 P% Y- @! r* D4 T4 [
  626. ; a script is executed. For performance reasons, this feature should be disabled. T2 w3 S+ A( L  P" r7 S/ e
  627. ; on production servers.9 j4 _" d" h  J
  628. ; Note: This directive is hardcoded to On for the CLI SAPI8 F* v% T' U: G
  629. ; Default Value: On' u0 g$ _8 e- E8 T
  630. ; Development Value: Off3 Z) T0 H9 q7 E
  631. ; Production Value: Off. C7 t7 H; l. o! b9 T5 O: v
  632. ; http://php.net/register-argc-argv8 E; Z8 v! D7 _$ T8 F" {/ @& X
  633. register_argc_argv = Off/ _/ g" c! o: n2 [- [1 M, n, J  a" e

  634. 4 M( S/ F1 U9 }
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 i8 K! N1 A) E0 L- S' r; ?
  636. ; first used (Just In Time) instead of when the script starts. If these
    ! @4 \+ K/ ]4 Z3 [
  637. ; variables are not used within a script, having this directive on will result" o6 b% ~1 ]7 j) ?! [) v0 |
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    " P6 i8 k% q. I5 T& f; B
  639. ; for this directive to have any affect.  B$ ?5 N  E" R: i/ f
  640. ; http://php.net/auto-globals-jit
    9 Q6 V" R( ]- |" j7 z0 G# s& L; C3 p
  641. auto_globals_jit = On
    2 y' l2 e# b2 Z1 I) c
  642. 7 ]3 }% ]/ F9 \2 h- L
  643. ; Whether PHP will read the POST data.$ a- q- B4 ]' Y3 j( c
  644. ; This option is enabled by default.
    - a+ b( M* e% c; ?0 d& D5 C
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    0 I! l% V# t9 |5 t# }
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    $ A# m* ]+ Z6 q7 G1 R* T
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    " J" i" S6 f1 B1 F  a
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    4 |' D% [' G9 c5 x, o
  649. ; http://php.net/enable-post-data-reading
      {3 q. M0 V% k$ H. C  m
  650. ;enable_post_data_reading = Off* i" b( P+ I! @
  651. ( p3 x% \% F& N9 S$ t
  652. ; Maximum size of POST data that PHP will accept.. h+ t, I" r8 e- s  z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / k4 c/ Z: |" v( t7 {/ u
  654. ; is disabled through enable_post_data_reading.5 Y2 ]3 Q- Y% x
  655. ; http://php.net/post-max-size
    ' X- f5 }& \+ ~5 q* @+ ]
  656. post_max_size = 50M  a* W) K: Z0 X: M) t1 O
  657. ) s& {& h0 Y7 E2 Q0 S2 l! e
  658. ; Automatically add files before PHP document.
    ; @' ?: [# e, M: l  F9 o* y) m
  659. ; http://php.net/auto-prepend-file
    4 U: ?0 t! J! f8 Q6 Q
  660. auto_prepend_file =- Z2 k& V3 C$ J- U/ v& r7 v
  661. 6 t2 C+ x7 |$ Z$ l0 ^- A
  662. ; Automatically add files after PHP document., |4 j4 T" G. J( H: E. b
  663. ; http://php.net/auto-append-file
    ! M4 A! l3 j/ t; C! Z
  664. auto_append_file =; \3 {/ h+ M, c, r% N2 Q* r; u4 O

  665. # y3 [9 \6 e* c# w# l3 o8 h- ?  K. W; U
  666. ; By default, PHP will output a media type using the Content-Type header. To: v; \: B7 ^, H7 E" `
  667. ; disable this, simply set it to be empty.
    1 n) g$ y" D. [
  668. ;% R* P8 y  a2 ^
  669. ; PHP's built-in default media type is set to text/html.
    ! I3 z5 K7 c9 u+ }; H
  670. ; http://php.net/default-mimetype7 D7 e2 J% R) Q4 ~
  671. default_mimetype = "text/html") i9 g/ o* @/ |2 c
  672. ' R& N. n0 J9 B) J3 C0 W
  673. ; PHP's default character set is set to UTF-8.
    ' \& G4 M- ~3 n7 o1 R, ^) f, ]
  674. ; http://php.net/default-charset$ d9 [' k7 X4 r: Q) R8 s! O; j
  675. default_charset = "UTF-8"
    2 c; g# @+ \3 [% ]* o3 r

  676. " z$ `- y$ i% p9 z) [
  677. ; PHP internal character encoding is set to empty.
    ! P4 F+ X, E% W6 Q4 O9 C2 o2 H
  678. ; If empty, default_charset is used.2 n* c) f* h8 H3 D- r% R. f2 A
  679. ; http://php.net/internal-encoding0 d* h9 l  _( X. Z% y- D9 }9 U
  680. ;internal_encoding =0 P0 h3 \5 g9 d# c
  681. 6 X% y& [4 [+ A' X- o0 N
  682. ; PHP input character encoding is set to empty./ b9 q9 k" Q9 I& v. m/ B
  683. ; If empty, default_charset is used.
    ! ?) \9 V4 Z) u( @# c9 }
  684. ; http://php.net/input-encoding0 R/ K9 J+ i. U
  685. ;input_encoding =* `. H: l+ h+ @5 ?
  686. 0 l8 _- J# c& ~- y* x
  687. ; PHP output character encoding is set to empty.8 L# N( D2 W5 D* d( }
  688. ; If empty, default_charset is used.7 E, H& r2 w+ ?( R$ a- c+ \
  689. ; See also output_buffer.' ~0 m  @+ e* S/ }
  690. ; http://php.net/output-encoding! b% f) i, Z8 N$ }: N
  691. ;output_encoding =& j7 E2 @. q: s. x4 z$ D
  692. , @, M3 |; L8 }$ F
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;6 B, y: [4 L( ]( b6 \8 g* ~( _
  694. ; Paths and Directories ;
    0 V' d& X2 o/ V$ d" w
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 C3 X! ]* B! H: W1 t
  696. , v5 J+ {3 y" O. q
  697. ; UNIX: "/path1:/path2"! x- N' I; d$ v, b2 \  W
  698. ;include_path = ".:/php/includes"
    2 h# U/ i' f1 }% \" J
  699. ;4 M8 e. ]2 V4 M0 b2 K" I$ f
  700. ; Windows: "\path1;\path2"
      g+ |2 A1 V+ q( v1 R& d5 O
  701. ;include_path = ".;c:\php\includes"
    ( \' U" r; Q  |+ }8 D
  702. ;
    6 _) `8 a2 O3 p3 ^. B1 a: T% \
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ) e6 q2 {% K# n8 [! ^" Y/ U* G) f
  704. ; http://php.net/include-path2 T9 b' W& N' Q) P+ U& B8 L& ]

  705. $ R7 v- J6 x- [
  706. ; The root of the PHP pages, used only if nonempty.
    + T+ K, H9 [- z7 A
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    0 u& j, c5 ]* [/ r& b8 D
  708. ; if you are running php as a CGI under any web server (other than IIS)
    / X4 L0 o: P1 Z- z) G6 ^$ O9 t
  709. ; see documentation for security issues.  The alternate is to use the* N/ A: J, f' q5 g$ t
  710. ; cgi.force_redirect configuration below3 M' N# A; X$ I+ y, L* [/ [
  711. ; http://php.net/doc-root
    + G( K/ j4 b& ?
  712. doc_root =: I+ d5 G" R, l3 ]+ H

  713. . k) S8 P4 `. X2 H% r
  714. ; The directory under which PHP opens the script using /~username used only
    7 w4 D) G5 p! P$ h2 ?
  715. ; if nonempty.
    - F  }/ B; V5 T- I8 C) ^' |
  716. ; http://php.net/user-dir& k- W; k3 Q8 V1 `
  717. user_dir =3 H& ~; @1 b' `# y

  718. 5 o+ U, Z/ m9 X' p
  719. ; Directory in which the loadable extensions (modules) reside.
    ; h4 t- O; F  o& Q  J
  720. ; http://php.net/extension-dir
    9 G  x! [- ~6 Z* z% m4 S
  721. ; extension_dir = "./"
    . p( ]0 }& D  A) s8 h
  722. ; On windows:
    - U. J2 Q5 c, j  }3 ?# k+ @6 w
  723. ; extension_dir = "ext"7 y  L9 i' v/ x# z2 Y2 \

  724. 4 X' S8 D1 D3 z  i5 j+ u7 }, F
  725. ; Directory where the temporary files should be placed.. v# }7 l/ u/ X. L6 `. H
  726. ; Defaults to the system default (see sys_get_temp_dir)  h* z/ [; ?' b1 d5 g6 @
  727. ; sys_temp_dir = "/tmp". F2 \, b- d3 i/ v/ N
  728. + W! a, `- h. r; }9 F- m# y
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 Q6 k; ]( p; w* u- N$ W
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - ?$ _; P9 \0 `: J8 }$ _
  731. ; disabled on them." f; h$ ?* }9 {0 Z: B
  732. ; http://php.net/enable-dl
    ; V) I  d  _% P
  733. enable_dl = Off  H3 N8 a/ t! ]* d
  734. - Z+ F, m, U# v6 r. ~0 o
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under% _- d. F, i: ?' N
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can. o; ~$ R+ y) R' n
  737. ; turn it off here AT YOUR OWN RISK
    ' G8 h3 R  q3 j; _+ ?
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ) r/ @; R6 E- ?* K+ g9 b2 |1 f' ^
  739. ; http://php.net/cgi.force-redirect
    1 @* S% @$ U; h( X4 v. D
  740. ;cgi.force_redirect = 1
    - K! r" l5 l. i0 l
  741. 0 v+ Y6 L. C+ w2 v
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    : z3 F( C5 @  ^
  743. ; every request. PHP's default behavior is to disable this feature.
    ) W  B$ J, _9 F5 ?# J. `, a
  744. ;cgi.nph = 1
    " ]1 `/ K& X" s, L6 e6 G

  745. , z, b) w7 p& b, H
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape4 w; ?# q: G) l
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    . N2 R/ r4 Q: a, T
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      k# @& V. F3 {
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) [- ^5 R& p! ^4 y
  750. ; http://php.net/cgi.redirect-status-env# ~: e# |/ u2 t$ V
  751. ;cgi.redirect_status_env =6 `3 l  H( Y9 w% D/ w3 t

  752. * [- E" a; h) r& \5 h& @
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    : g- M, g2 C7 U  B1 h! g
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ' {$ ^: X+ r, y+ n( A; {
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; V% y. D1 j9 t2 z1 i4 ]0 f0 w
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting! V9 v+ |7 \; V
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    3 U8 w" s# g5 g! F% D) v$ K1 l+ v
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.5 V' x8 `" }2 U
  759. ; http://php.net/cgi.fix-pathinfo) _0 a. K0 U: h
  760. cgi.fix_pathinfo=1
    . u+ ?7 F* A+ {! P- v
  761. - j$ Y; C+ }. O2 R' F7 v$ }
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    1 E$ q. l/ \3 G( L, w3 g
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) I. S* m7 D2 \
  764. ; http://php.net/cgi.dicard-path
    2 m3 w  `$ K0 F& {
  765. ;cgi.discard_path=17 R4 x3 j0 v) {6 a& u& R* m

  766. , ^( C+ {: M' }/ |
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : M: [& \$ b# x; s3 u
  768. ; security tokens of the calling client.  This allows IIS to define the* H6 q3 v0 ]0 P
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    8 Z/ C9 K( ]" M& P* U  u8 W* S
  770. ; does not currently support this feature (03/17/2002)
      X# j* S9 E" b) p
  771. ; Set to 1 if running under IIS.  Default is zero.' e! t# _5 ~3 }9 s; z! g
  772. ; http://php.net/fastcgi.impersonate9 N% t. ~/ l! j
  773. ;fastcgi.impersonate = 1) [2 d) F' r" @0 }  O8 `2 ~
  774. ) Z  k0 p7 R& {4 ]5 T
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable  c, p0 o7 z  k( n5 }
  776. ; this feature.
    - `  |3 U0 p3 X  d( p9 n
  777. ;fastcgi.logging = 04 m' W- \* n: Y% j
  778. ; t% a- E+ H+ l6 ]  p: N$ i5 P1 w
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to3 [8 T" r1 ^$ O0 b" n
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    4 M+ ~7 ^0 K' U2 L1 E% u5 W" U7 v7 k
  781. ; is supported by Apache. When this option is set to 1, PHP will send8 z$ }6 \% y- e) E( P8 {
  782. ; RFC2616 compliant header.+ c! }9 A: W3 k1 j. U6 d
  783. ; Default is zero.
    " u; [; Z, u5 U9 J# L: T
  784. ; http://php.net/cgi.rfc2616-headers  b. L; S) F9 z0 L. W5 o
  785. ;cgi.rfc2616_headers = 0
    . n1 a( u4 l& [3 U% b& N1 S

  786. / P7 G2 H, v# s/ Q) j) }9 `
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * R: C! }) {1 d, J& m
  788. ; (shebang) at the top of the running script. This line might be needed if the: _5 ?' f+ C+ w. ?' {
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 @# p6 p$ R+ h. T
  790. ; mode skips this line and ignores its content if this directive is turned on.8 N) Q) t+ D, s+ c% [0 m4 Q* ^
  791. ; http://php.net/cgi.check-shebang-line
    1 g3 ~  B& }3 B1 F9 F2 J
  792. ;cgi.check_shebang_line=1
    # z+ b  z! V( B  G& O
  793. # j# j$ R1 d9 }- B. E
  794. ;;;;;;;;;;;;;;;;+ ?0 Z% s9 Z' ~% b! m: w  b( t
  795. ; File Uploads ;
    , e# z1 x1 p0 Q! _% O3 ]8 ^8 A
  796. ;;;;;;;;;;;;;;;;
    ! s; d& t. _5 r; B

  797. # ]/ r( K5 f, B" Y3 o5 m
  798. ; Whether to allow HTTP file uploads.) |# g2 @2 w, t& h
  799. ; http://php.net/file-uploads
      c+ s: _* L% w3 ]- J' N. U
  800. file_uploads = On
    5 m, o/ x. X5 A- x
  801. - ]2 x. y8 o4 l/ l3 Z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ( i5 }8 p/ Z8 \7 U
  803. ; specified).
    8 T) C+ |6 p9 q5 Y+ a
  804. ; http://php.net/upload-tmp-dir
    + |% u. f! ^2 ~1 I* w) L' Y. ^
  805. ;upload_tmp_dir =* }9 {8 i! t- H& H) [
  806. : A/ J: U0 u' }+ `, ]
  807. ; Maximum allowed size for uploaded files.4 n& |/ G# K; F) v* \7 T7 s4 w6 Y: P
  808. ; http://php.net/upload-max-filesize+ C" n$ h5 [6 B1 _; z2 M
  809. upload_max_filesize = 50M5 b4 m. @1 V. a! M( S  S

  810. 8 f, d. H5 U6 ^8 r7 |* H, z
  811. ; Maximum number of files that can be uploaded via a single request- W: ?: e. m! O( G) f  q0 s/ Y8 U
  812. max_file_uploads = 20) c; R+ H5 c! ^  }/ N

  813. # Z# b# Q. Q2 l6 @+ P7 l& X
  814. ;;;;;;;;;;;;;;;;;;
    6 K) k- Z+ u" @
  815. ; Fopen wrappers ;
    4 s1 H4 b  V  s) [" |" [4 n
  816. ;;;;;;;;;;;;;;;;;;
    & R2 h( B" n4 N# E
  817. ) w% K8 l: m& _4 W- ~/ `$ D* i
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    - `  T4 Y- @2 J& z8 n
  819. ; http://php.net/allow-url-fopen
    . `- J. d0 `5 v$ y. T
  820. allow_url_fopen = On) H" I; u6 ?. l: j* F

  821. , F% H) W& J" {5 B. e& b
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.9 e5 l- B  u9 i/ i1 d# u
  823. ; http://php.net/allow-url-include8 b/ Z5 s2 H$ M6 ?9 ^& ^" ~
  824. allow_url_include = Off9 s0 q3 Q' B) ]6 n9 Q( N
  825. 3 H* ^8 e9 K0 C* |1 I: H! s3 \
  826. ; Define the anonymous ftp password (your email address). PHP's default setting/ w) \: ?( G& a* E
  827. ; for this is empty.
    / k# e2 g3 h  u, X% J
  828. ; http://php.net/from2 i3 y4 D: Q7 L
  829. ;from="john@doe.com"% _) u, Z8 x. c6 D" ^

  830. . R! _7 S; p; T5 X8 Q, w
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    . R) O/ o% V; l2 ]
  832. ; http://php.net/user-agent
    0 K* i  C7 L6 Z7 Y8 b* C5 B% F( m
  833. ;user_agent="PHP"' L4 U6 a4 o$ v" l

  834. ) {0 |6 u& Z6 j7 H
  835. ; Default timeout for socket based streams (seconds)
    2 R5 t+ d( {5 \& h! X: N  e! Y* ~
  836. ; http://php.net/default-socket-timeout, W% F  ^: F: X" E$ r. f, @5 x2 T
  837. default_socket_timeout = 60
    ) o7 B- \" {, F5 f" b8 E/ F$ R$ I

  838.   }) p" F2 D0 {( k
  839. ; If your scripts have to deal with files from Macintosh systems,! T, L: ~, C/ @8 q) n: D
  840. ; or you are running on a Mac and need to deal with files from
    4 R3 D& g8 y+ F, ~1 \( N
  841. ; unix or win32 systems, setting this flag will cause PHP to
    * ?0 p+ }6 S4 Y" p" R
  842. ; automatically detect the EOL character in those files so that
    ; L; S& x) i; l; d
  843. ; fgets() and file() will work regardless of the source of the file./ R  f/ |# v' p
  844. ; http://php.net/auto-detect-line-endings
    : c) ^2 }& g" z2 d( e
  845. ;auto_detect_line_endings = Off* H: `7 o1 \7 X( e
  846. * Q3 G* f* K4 C- O
  847. ;;;;;;;;;;;;;;;;;;;;;;9 q5 k, H' w3 ]+ x. T
  848. ; Dynamic Extensions ;& B& n" T' V1 a% K2 |
  849. ;;;;;;;;;;;;;;;;;;;;;;3 {; y* W; c0 Z" C# [* N8 c1 J

  850. $ B& z  k( K) [# r
  851. ; If you wish to have an extension loaded automatically, use the following
    ; ~, u0 N! X5 V' r! N5 O" u4 r! P
  852. ; syntax:  D, s; F0 c6 [5 ~( D
  853. ;
    ( f" f- D- r; F" _2 I2 @" _: Y
  854. ;   extension=modulename.extension
    $ i+ P/ L3 y4 H8 P6 g$ p
  855. ;6 G; j% ]5 Q" q8 e2 h* V
  856. ; For example, on Windows:; x' T8 v3 d0 a/ m4 o! j3 `/ U' ~
  857. ;# C7 z6 O. [& F# d  L
  858. ;   extension=msql.dll
    $ B" e5 H5 c/ N" S' z8 B
  859. ;- |+ f- c& Z3 x
  860. ; ... or under UNIX:
    ( ?+ h; W! D8 U; g0 S& |/ D3 g4 K
  861. ;, ^7 R& m8 B' m( |# _3 x
  862. ;   extension=msql.so" f3 ]3 N  s, g2 B- f- O% N
  863. ;% K. q3 k; f& e$ @: P  d3 L+ q
  864. ; ... or with a path:
    0 Q; d. c- F% U- G5 m2 I$ X8 {
  865. ;
    ( b1 e) _3 z; W' _/ j" T
  866. ;   extension=/path/to/extension/msql.so4 d+ i6 R2 Q2 Z- N- }
  867. ;! |3 q2 ?& H, D/ F0 D* ]/ q
  868. ; If you only provide the name of the extension, PHP will look for it in its) D) T: h: z9 t+ E$ ^. c2 _1 x
  869. ; default extension directory.
    / F' R( v/ ?- O0 a# t
  870. ;
    & ?4 l. b5 s* o% c- j, f0 X* g1 {
  871. ; Windows Extensions. i1 }. S' U8 P$ z% b/ _2 Q
  872. ; Note that ODBC support is built in, so no dll is needed for it.) h4 e6 F' F3 o$ s- P1 f. P# A7 M
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)* ^; f4 m+ u& T& M- ]
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    6 s4 O; M4 Y9 [: e) V; @
  875. ; Be sure to appropriately set the extension_dir directive.
    0 [) M" _0 O/ b/ p% W! @. H2 }
  876. ;: d' ]+ d" h# c% N
  877. ;extension=php_bz2.dll
    , v$ w, u7 v8 G: L/ O* u
  878. ;extension=php_curl.dll
    + u+ a5 f" Q. c" W. B
  879. ;extension=php_fileinfo.dll$ E6 ?" K- g$ L6 e* P) w# w
  880. ;extension=php_ftp.dll6 N$ t/ ]2 N; X- w8 `6 r
  881. ;extension=php_gd2.dll
    ; @4 N2 o/ O9 `
  882. ;extension=php_gettext.dll
    ' V6 [, Z2 r* h: j# _
  883. ;extension=php_gmp.dll5 D4 u! g% p( a+ d
  884. ;extension=php_intl.dll
    " Z' y: t2 {3 H* H; ~( C8 G  @
  885. ;extension=php_imap.dll- Z" W( K# |( j3 O; V6 v  @3 ?
  886. ;extension=php_interbase.dll
    ) O5 F( l) U5 R) N+ j% {
  887. ;extension=php_ldap.dll
    3 v( B3 Q5 u- _4 j( U* H* U  c! v) d
  888. ;extension=php_mbstring.dll  u4 H/ c0 L- {/ `
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ( J( Z& Z) i1 @1 r
  890. ;extension=php_mysqli.dll
    * b) ~6 U) _: p' x9 Y: l6 g! y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    1 A- p# K1 @' d, k7 q2 N( C  [2 [; {
  892. ;extension=php_openssl.dll: X$ b" d3 j! p. C7 S  @
  893. ;extension=php_pdo_firebird.dll3 v, V$ H* L! ^9 ^( U; O: z; v
  894. ;extension=php_pdo_mysql.dll! V. ^3 @8 A. x
  895. ;extension=php_pdo_oci.dll
    7 X  l7 t- L8 v2 b
  896. ;extension=php_pdo_odbc.dll
    ) z  _. L! `6 r- t/ H* Y# b/ P
  897. ;extension=php_pdo_pgsql.dll
    7 T" x! Y5 X2 r, l
  898. ;extension=php_pdo_sqlite.dll
    % r" k" d7 W& X( a/ L
  899. ;extension=php_pgsql.dll* y4 N$ r6 ?8 G) }8 L, l/ A
  900. ;extension=php_shmop.dll7 a# n. P$ d" i7 K9 S5 d4 g) ?3 H

  901. $ a$ _' a4 k7 J) p$ k
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 S' P5 ~  W4 `* y+ H" k2 f
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    4 a) {+ |+ |. |: Y
  904. ;extension=php_snmp.dll
    + m: a8 w" Q5 V5 J5 o

  905. 3 L6 l; V( g& d6 b0 u* H
  906. ;extension=php_soap.dll
    : r, E0 y* p, t
  907. ;extension=php_sockets.dll
    8 \' ]  }" A7 n1 n6 ~! m
  908. ;extension=php_sqlite3.dll$ e  `3 O3 s( [2 U7 ]
  909. ;extension=php_tidy.dll# ], @7 k& W( A6 I4 ~0 r
  910. ;extension=php_xmlrpc.dll
    $ V- C% Y- G% ?
  911. ;extension=php_xsl.dll
    6 K2 d" k8 [2 J
  912. * L/ m1 r7 c) J" ^! G
  913. ;;;;;;;;;;;;;;;;;;;9 z- l8 e. M) X
  914. ; Module Settings ;- `8 ~. P- [$ E: b6 k
  915. ;;;;;;;;;;;;;;;;;;;
      B% i  g8 G7 ?7 r5 m

  916. ; D9 `4 z8 b0 ~' t/ _
  917. [CLI Server]
    ( }" ?7 k6 J) B, D0 B2 \) E
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.* [+ Q/ F1 _9 F9 `
  919. cli_server.color = On
    ' j1 a& P2 X& U/ p0 `. u- Q
  920. . Y) u4 i( u4 `8 n
  921. [Date]
    4 F4 r  ]# n5 d4 ?5 p* `6 C3 e
  922. ; Defines the default timezone used by the date functions9 u: I0 k6 D4 c) X6 @* T' t1 ^
  923. ; http://php.net/date.timezone
    + B) o; N8 w' y3 h* A9 C5 Q
  924. date.timezone = PRC; u  D( [  `* E8 ?7 d  H

  925. $ g# O4 `7 }# h* _
  926. ; http://php.net/date.default-latitude
    ' {' A4 ~" g( D& s8 Z( r
  927. ;date.default_latitude = 31.7667  o4 A( j1 @  Y. x$ D& c; k8 q: a- Z

  928. * Y" B& q$ M6 ^( O' d
  929. ; http://php.net/date.default-longitude+ {$ b" k6 z2 S6 W# L& o; z; A' ^
  930. ;date.default_longitude = 35.2333
    0 t2 q; U1 v. g, n
  931. ' J, {; O5 O- y
  932. ; http://php.net/date.sunrise-zenith* X3 g1 O: w. H" n# [& n  v
  933. ;date.sunrise_zenith = 90.583333
    6 P5 U9 G6 ~, [. X/ L( F

  934. ' U7 Y6 L* x6 ~3 t2 u' f
  935. ; http://php.net/date.sunset-zenith; O6 z- \. P9 m' y, W
  936. ;date.sunset_zenith = 90.5833330 u# q( ?  }! y1 d# z
  937. ' I  s7 U3 O1 Y. d: p9 K" n2 Y
  938. [filter]
    6 L0 x2 f$ V4 ]
  939. ; http://php.net/filter.default
    : ^6 b7 a& R8 m! y
  940. ;filter.default = unsafe_raw
    ( F& Q. C- g# X" Q
  941. . Z4 ?7 `" ~) G+ e, [5 f6 h
  942. ; http://php.net/filter.default-flags# r, _, p! T6 j7 I& ]. O
  943. ;filter.default_flags =4 V0 j3 Q1 R5 x

  944. ( k1 j) D9 ]+ y0 X/ ?% [
  945. [iconv]
    ; V# U! }% Z# J( z5 [! Y7 b
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.; c3 K: @& ?0 Y8 H+ o7 r! f# {
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' f/ G: [) P% b
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- w+ p# H7 r' `: ~- W' J9 ^! l
  949. ;iconv.input_encoding =
    * ^# l: T/ S: u1 ?$ l* E
  950. " z# c. q- F  Y
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; F, Q# N. L3 g
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 B- d: n/ g+ `2 @1 e8 j, J
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( Q# Y* W4 I: V. N2 g# |
  954. ;iconv.internal_encoding =- Q- }' P: I# J; v# I9 g

  955. & a" b5 A$ w& n+ O% j# P8 u+ K
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.. L! s  M9 k8 v/ b+ s8 X8 r
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.0 x8 e8 r  d) m7 g
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding3 f- B( g  b  i
  959. ; To use an output encoding conversion, iconv's output handler must be set+ s7 g2 s/ f2 {; a4 e! Q
  960. ; otherwise output encoding conversion cannot be performed.
    ; I* a! H) v) F$ D
  961. ;iconv.output_encoding =
    / e3 T, n% S* z9 C
  962. ) P+ x+ A$ {6 W, _4 @& O, _' \
  963. [intl]
    " _1 e3 w* w, t
  964. ;intl.default_locale =
    * s, P0 A( F, `7 `4 C5 A
  965. ; This directive allows you to produce PHP errors when some error
    * T$ F# L3 v2 W2 Q) \2 Z  u4 B# C
  966. ; happens within intl functions. The value is the level of the error produced.: ]+ H8 P, R  I4 F7 L
  967. ; Default is 0, which does not produce any errors.
    * K+ R: l/ g0 q; i
  968. ;intl.error_level = E_WARNING
    ' r) U/ T; s; n- g% x) m2 I
  969. ;intl.use_exceptions = 03 I" S6 n) P3 D0 S) }( p$ K- P

  970. ; K+ r0 l, v, N; T$ d
  971. [sqlite3]& l1 M4 a  {6 [- V5 k
  972. ;sqlite3.extension_dir =0 X4 z" y5 ^2 X5 @- L
  973. # Z: \2 N/ X9 V2 }" O7 }3 F$ v* l# o
  974. [Pcre]- X: a' c3 ~1 J
  975. ;PCRE library backtracking limit.0 S& m8 `( J7 t! _
  976. ; http://php.net/pcre.backtrack-limit3 s( {4 R$ P/ Z, a8 c+ V
  977. ;pcre.backtrack_limit=100000( O5 T3 g7 o# Z# H- E

  978. & J. \; {) O  s* C) _! [
  979. ;PCRE library recursion limit.
    ' @5 s& g/ A* r; q
  980. ;Please note that if you set this value to a high number you may consume all
    , q5 d  J9 L7 y+ t$ U
  981. ;the available process stack and eventually crash PHP (due to reaching the
    3 H+ w4 u# A5 n. f. f
  982. ;stack size limit imposed by the Operating System).
    9 W+ s9 ]" m2 o/ j
  983. ; http://php.net/pcre.recursion-limit0 A9 U0 M3 D1 i  [3 m* e3 N: {4 p
  984. ;pcre.recursion_limit=1000000 u" T8 ?% L/ ?, t: r9 {: @

  985. 3 Y0 K& d: c  ]* u* g. `4 ]
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    9 j8 i. S' _0 V) Q
  987. ;library to be compiled with JIT support.1 c% h. y; a" s- |0 z  u
  988. ;pcre.jit=1! ]& B& U6 h2 Q% D0 }9 }: x

  989. & d; r" d6 \) b' a  t5 j. `
  990. [Pdo]8 V' b) \7 z9 y5 P" j( D* C2 ~
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ' X% \( N  @3 {1 k6 G! R& R1 ~9 B: y
  992. ; http://php.net/pdo-odbc.connection-pooling
    $ C6 b7 s5 o4 |3 u. _
  993. ;pdo_odbc.connection_pooling=strict
    ) n) _' |  X+ O5 c3 w' r! f
  994. 1 |& s5 p5 M  l2 u5 t
  995. ;pdo_odbc.db2_instance_name
    * j# R' q0 @) F

  996. 3 O* _. E- f+ I: c: r
  997. [Pdo_mysql]& w7 P; L: e: M7 Z% j9 l
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % h. r, x- w: r& q
  999. ; http://php.net/pdo_mysql.cache_size
    : r9 B  x0 L0 ]( d% k
  1000. pdo_mysql.cache_size = 2000. t! q; D3 X* I' U0 f5 h
  1001. - e* T# l6 K: h1 S3 i' C; g" T
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ n! p8 M! Z+ g; M8 c! I
  1003. ; MySQL defaults.
    7 z0 ^6 N# g* z& s; W& k
  1004. ; http://php.net/pdo_mysql.default-socket
    6 v* l9 c" U) H
  1005. pdo_mysql.default_socket=
    9 Y' N, u( z! `  |4 R0 ^
  1006. 1 d8 @* e8 }5 V0 u8 X1 d
  1007. [Phar]! @% ?/ e8 r+ `( I8 f2 D/ }, q
  1008. ; http://php.net/phar.readonly( `# s2 H& F( k
  1009. ;phar.readonly = On
    ; d  R" ^( t$ b4 `8 [4 z  s

  1010. 0 T( @9 [5 K' d4 d2 e9 `5 F; f
  1011. ; http://php.net/phar.require-hash
    1 ?, |4 z4 c- O
  1012. ;phar.require_hash = On6 Z0 j$ R5 E+ T6 C# g$ E1 y# i
  1013. ; q9 ^1 P( T- `$ f& @+ w8 |! c
  1014. ;phar.cache_list =
    / |8 \4 D7 n0 [% S

  1015. % ^* v+ T& t5 P7 d/ |6 k
  1016. [mail function]
    4 K4 j/ w8 @: {3 b% {: s% ^/ ~* y9 d
  1017. ; For Win32 only.9 M0 M0 M+ W& [3 [+ m4 T
  1018. ; http://php.net/smtp: T" @  n! h3 J
  1019. SMTP = localhost
    2 e8 G( F' A( [2 |. q
  1020. ; http://php.net/smtp-port
    * m, W- C4 D1 g7 c# c0 F' b/ L( M2 O
  1021. smtp_port = 25% p" J: H4 |2 C' @" e- L4 _
  1022. . M' S, g. n" v; k; c6 B
  1023. ; For Win32 only.
    5 C, L% j7 b' a
  1024. ; http://php.net/sendmail-from: b- m: d0 t2 t! z
  1025. ;sendmail_from = me@example.com
    * v: ?" ~/ }" u  H
  1026. ; K6 _' C3 j, x$ E3 V/ q3 k3 @6 @) x
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. k7 `  `  Z) |! X: p
  1028. ; http://php.net/sendmail-path
    ! c. R+ n) k- b# Y% W# ]8 n1 |
  1029. sendmail_path = /usr/sbin/sendmail -t -i* l9 Y9 f% t' V. i4 V  o
  1030. ) X+ l8 I# D- ^, p" `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters4 b8 N: }8 T/ H$ ^
  1032. ; to the sendmail binary. These parameters will always replace the value of
    3 q: E# m) b& v! i0 y# ?0 W
  1033. ; the 5th parameter to mail().
    3 X" w  K3 T$ p7 i+ T/ \0 H
  1034. ;mail.force_extra_parameters =. [+ ]! i% S  R5 h+ K  l

  1035. ( B6 b7 }' J3 o* T
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    1 V6 _& p2 T, K( d% R# [
  1037. mail.add_x_header = On
    ) [  A3 m3 @5 G$ h0 }9 ~* l4 Y
  1038. % M8 ]: s! [% @/ b
  1039. ; The path to a log file that will log all mail() calls. Log entries include- p4 Y: m/ x5 C* U, c5 U/ e
  1040. ; the full path of the script, line number, To address and headers.7 r; q8 J' |+ d5 M" x8 ?
  1041. ;mail.log =
    4 z3 w1 g' }( \9 v7 V$ Z
  1042. ; Log mail to syslog (Event Log on Windows).
    5 a2 f/ j% G  ~7 g3 L5 |. Y
  1043. ;mail.log = syslog
    7 Y5 ?2 z" T/ J- y# F2 y

  1044. 4 s! j" u+ W* x9 {' X
  1045. [SQL]) D; w, j: @& @9 Z
  1046. ; http://php.net/sql.safe-mode
    # k7 S% A4 U( ]! w$ J% Y& O) ^* [- Z
  1047. sql.safe_mode = Off) D0 I/ r$ `! d# L8 k7 p
  1048. $ ^" ]& j( F# z# ?) Z
  1049. [ODBC]8 J( g# v/ ]7 I
  1050. ; http://php.net/odbc.default-db4 ]6 k/ P; W9 c7 W* J" ?4 E
  1051. ;odbc.default_db    =  Not yet implemented
    4 i7 X; A4 C3 [, ]

  1052. ! Q: V) w8 O4 D, p$ q: G" j
  1053. ; http://php.net/odbc.default-user
    $ H8 N9 i+ D' L( r
  1054. ;odbc.default_user  =  Not yet implemented
    $ p# T; Q4 @( l. n
  1055. 1 |# C/ ^# K8 `; u* d2 d
  1056. ; http://php.net/odbc.default-pw
    * P) H6 F, h" \
  1057. ;odbc.default_pw    =  Not yet implemented- Z! V9 C7 X. ]
  1058. " ~7 X. E  S  A/ T2 o( b, t
  1059. ; Controls the ODBC cursor model.$ M. v' A8 U  h; ]
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ; h* E" L; m5 x& u
  1061. ;odbc.default_cursortype
    ' B- Z+ j* x  e5 I# H

  1062. 1 L8 U9 O/ {$ ^9 Z! X2 V5 }
  1063. ; Allow or prevent persistent links.  m5 M9 [1 ~/ ]! D: J$ @
  1064. ; http://php.net/odbc.allow-persistent: q1 Q9 d8 H5 A5 E: E, b! l* u% o
  1065. odbc.allow_persistent = On1 z1 a, k6 \2 y2 e7 ]
  1066. * C5 G) y* B" d3 ?. b& @0 y: l4 y7 E3 ~
  1067. ; Check that a connection is still valid before reuse.6 F  O6 C! {) F+ l2 i/ N
  1068. ; http://php.net/odbc.check-persistent, g% n+ o6 v8 T- j
  1069. odbc.check_persistent = On
    ; a7 g! p' @, `7 S
  1070. 2 V. I; v! n& ?% r5 G# X
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * F1 C- c7 V$ d3 ~* p, r
  1072. ; http://php.net/odbc.max-persistent  t; u# K0 N5 a3 _2 r4 @
  1073. odbc.max_persistent = -1
    . v* k) ]5 }, Q% M3 ?; \
  1074. + [. @9 Q/ w& K" U* r: Z5 Y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 P% A6 I, S( n. i( _6 y) y
  1076. ; http://php.net/odbc.max-links* y" [, G0 p7 ]
  1077. odbc.max_links = -1
    % ~/ u, y9 {/ O8 F

  1078. 2 n0 B/ ^, b+ d0 m
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    3 D+ V0 }& n1 g$ l2 B9 g: K
  1080. ; passthru.
    6 F. s" P+ X2 Z7 ~
  1081. ; http://php.net/odbc.defaultlrl
    ; S& Y; D" E4 b  _
  1082. odbc.defaultlrl = 4096
    ) s. g* L* R. _
  1083. - [! ^) g2 |  {1 o
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 F) a0 g% ~( I7 I4 @0 [+ l1 Z
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ O" R0 S9 l# K' @7 K  H/ K5 s
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    3 {( ~# F1 T$ U% b6 I- ?
  1087. ; http://php.net/odbc.defaultbinmode6 L* t9 P7 v2 b, H' E9 H
  1088. odbc.defaultbinmode = 11 d. X6 M! W% |8 c

  1089. 3 S/ _3 b+ u! k3 C/ J+ F2 t* Q* `
  1090. ;birdstep.max_links = -1, I) h, C! F1 h8 x6 X) f5 K

  1091. 5 h  T: e* W. @+ x
  1092. [Interbase]
    4 n- l- Z0 {* N% N8 R8 G5 `
  1093. ; Allow or prevent persistent links.
    % v1 d" S, E4 O- Y+ |0 X/ q) |
  1094. ibase.allow_persistent = 1
    / ^3 P8 w- B7 q
  1095. ! G  z" d5 `1 f+ d7 H. H  p- n3 s
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ) k( m: L6 |/ v/ n" B  I4 l
  1097. ibase.max_persistent = -16 l% R- }- X1 v9 k2 r# o3 a
  1098. 9 f% s! u( c* F! F  I9 H& }. s5 y
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 O: ~& o7 H' G# O7 E/ D; ]
  1100. ibase.max_links = -1
    ) i" p7 Y# |: K( H9 {

  1101. & B6 o$ J3 x. F3 R7 G
  1102. ; Default database name for ibase_connect().
    " k4 y$ B/ U" A! _4 Y/ L) o9 i# B
  1103. ;ibase.default_db =
    9 W6 B* f) _- [; k( N

  1104. + y9 X4 q  x) Q( V/ ^9 o+ y
  1105. ; Default username for ibase_connect().
      W  S$ T3 ^; F) b
  1106. ;ibase.default_user =
    9 k' u- y, W! O* s
  1107. 9 y3 g+ x/ F7 @, ?; g
  1108. ; Default password for ibase_connect().
    ; V& ~& ~5 ]9 W; x4 ~( r
  1109. ;ibase.default_password =# F* a) M) k& p5 d. t

  1110. ! v- y  O  T4 P- v0 N" }" @
  1111. ; Default charset for ibase_connect().
    % J3 I' _* z: p4 K, t2 G( [* \8 }- z
  1112. ;ibase.default_charset =
    / l8 j/ }* i1 Q2 ]
  1113. 7 A1 e& p0 y7 F- b! s1 g4 B
  1114. ; Default timestamp format.  a2 g2 ~7 X) |. {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : w5 @8 g- f  C( {/ _2 C" C
  1116. 5 M! }  Q2 R* K9 C! n
  1117. ; Default date format.
    # a/ U* \' ^! X" x
  1118. ibase.dateformat = "%Y-%m-%d"$ P, T; k. C: B  n+ M, P, E( y
  1119. 8 u0 C( X1 @6 [
  1120. ; Default time format., w% W. r. ^" K) d  y
  1121. ibase.timeformat = "%H:%M:%S", v! o" `1 O6 p2 k) h

  1122. / o' \" b! G, i, A5 ^+ f
  1123. [MySQLi]
    2 r( T, X. B) b9 C
  1124. 9 n. ?! [3 ^7 T
  1125. ; Maximum number of persistent links.  -1 means no limit.! _3 Y! N. o6 R' h: a
  1126. ; http://php.net/mysqli.max-persistent
    $ h8 q) C) c6 f3 x
  1127. mysqli.max_persistent = -1! \- `' X, O+ J* E$ m) E% U% r: s4 r

  1128. 4 g. t. k' A) z5 A2 u
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# {3 Y8 R1 X3 o7 k3 h, [) W
  1130. ; http://php.net/mysqli.allow_local_infile
    : C6 t3 `/ f# i/ q1 e6 ?2 @
  1131. ;mysqli.allow_local_infile = On0 F0 z% g5 x8 X# ]5 u
  1132. 6 C8 D2 Q, q4 ~) ~- K6 h6 M" O
  1133. ; Allow or prevent persistent links.
    ! A/ S5 N2 O1 F; F( o
  1134. ; http://php.net/mysqli.allow-persistent7 Q" p) {# y5 N; V3 Q. G$ }
  1135. mysqli.allow_persistent = On
    " W+ G4 Q/ @! ]
  1136. : M" M( a9 n( R6 {' I0 O+ S
  1137. ; Maximum number of links.  -1 means no limit.
    8 E( L0 z2 r2 f
  1138. ; http://php.net/mysqli.max-links
    ; n0 J; ^) ?* X! n: P
  1139. mysqli.max_links = -1
    * [5 m! Z, {4 O+ G1 R% }* ^* ?
  1140. : x' u9 k0 X$ C. f
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache! i0 v1 ]3 G- Z5 C, c4 {9 A
  1142. ; http://php.net/mysqli.cache_size
      m3 u1 U# l7 o1 S
  1143. mysqli.cache_size = 2000
    $ u1 k- N4 w" F
  1144. / J2 Q' d* @! j8 ]
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" F* N; z# P; |9 ]% p. {
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ P8 X( V8 n3 Y3 \7 \
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % B1 S$ I7 h3 W- N0 A( F9 U
  1148. ; at MYSQL_PORT.
    " @# M! e6 I* c- C
  1149. ; http://php.net/mysqli.default-port
    ) a5 n; }. v# a2 K6 K
  1150. mysqli.default_port = 33066 V% B# i% f* b% u

  1151. 5 k  C3 R  e+ u$ k2 z( h# F
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 l/ g1 i3 C& k/ h! {
  1153. ; MySQL defaults.  n6 \8 `  f# M: l
  1154. ; http://php.net/mysqli.default-socket
    . J  o4 O* j3 `& e5 F
  1155. mysqli.default_socket =
    ; P; L8 U4 J+ L# O' |

  1156. - V6 X. l. x; t
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( w( l$ q) Q8 B" Z
  1158. ; http://php.net/mysqli.default-host# u+ e* F+ e0 L# H+ J4 c
  1159. mysqli.default_host =
      \" Z0 |- k. u9 t. ?( U

  1160. 2 X  V2 C8 S) q, o5 q9 N  L
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 b/ H5 D. Z- n0 J3 i
  1162. ; http://php.net/mysqli.default-user
    " K' G7 L% b( n, k! W' Q" l  @
  1163. mysqli.default_user =
    8 a/ J2 F5 C8 n5 P2 g6 M. x
  1164. , `( f7 Q+ v' T2 e# {, T1 M
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).5 E5 N# _4 x2 h4 M
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.1 K  K  x4 X7 ^' V  i, K1 Q$ g
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 _- t  K* K& i4 a; o# ?' w
  1168. ; and reveal this password!  And of course, any users with read access to this
    8 `3 n) S* O2 e0 Q, c% N3 Q
  1169. ; file will be able to reveal the password as well.
    ! D! Y; Z  a8 x
  1170. ; http://php.net/mysqli.default-pw
    4 [- k, u3 b. _6 d
  1171. mysqli.default_pw =
    ' `( \$ f$ @" I6 D) i2 R0 ^
  1172. " `* E# a& B* Y7 n6 ?; `; A% }7 W
  1173. ; Allow or prevent reconnect1 h4 r& N8 D0 T9 [7 E
  1174. mysqli.reconnect = Off
    0 K! L2 `0 ~( H. N/ X

  1175. 9 K( M3 S5 t7 k7 \  N. P& ~
  1176. [mysqlnd]( w7 J% m( M, R; f2 }
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + n) `, X9 `! @% v
  1178. ; used to tune and monitor MySQL operations.
    # x6 P6 |6 c0 M0 _6 ~
  1179. ; http://php.net/mysqlnd.collect_statistics
    9 u- q% \& {  L" r; h
  1180. mysqlnd.collect_statistics = On
      A$ {1 g2 b9 v

  1181. 2 Y! F7 s/ \& {# q( O' M8 I3 T6 Q
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be2 d; M/ n' `1 R* B
  1183. ; used to tune and monitor MySQL operations.4 N8 D8 ~, \4 ?, N& [2 U
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    1 S8 A7 }. R1 W9 s
  1185. mysqlnd.collect_memory_statistics = Off
    / i  P& U; m4 n! Y0 Y
  1186. + I9 F9 \  j  I2 G
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    " Z: H4 ~; j/ B! n& I) r) j% E1 M
  1188. ; file.
    . K' z: f( U5 l8 i: _& Q: G
  1189. ; http://php.net/mysqlnd.debug
    % G3 t4 z$ c( _2 c
  1190. ;mysqlnd.debug =
    4 Q3 H* V* b# L- Y

  1191. ' a- J+ B- A; e
  1192. ; Defines which queries will be logged.: F  [; x) X# }$ O. a
  1193. ; http://php.net/mysqlnd.log_mask- W( P; L3 t9 b/ W
  1194. ;mysqlnd.log_mask = 0
    & n9 y7 r' o' q2 g
  1195. 2 ~) T) J9 G( ]
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.: o4 }/ x/ l9 r% M
  1197. ; http://php.net/mysqlnd.mempool_default_size) r9 b) L3 j, e( C
  1198. ;mysqlnd.mempool_default_size = 160007 {0 |3 ~. K$ Z/ S
  1199. 0 J: B0 Q' u" @/ e( r. h" C
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    1 C0 i0 B6 o9 B& E
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size8 k4 }( O  R4 J- x+ q. @
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    # n  i) \6 K/ h5 U0 ^$ j( y' w

  1203. 9 a0 v7 V0 }. h  j# i7 ^
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ) h0 q. Q& {8 R, n) f( i) _6 G
  1205. ; bytes.# D% |6 m8 J! v9 {/ \1 a/ A$ a$ H
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    5 s' H  R0 q* n# A2 q! n) D0 u
  1207. ;mysqlnd.net_read_buffer_size = 32768
    $ f1 W. _8 g  m2 e* F7 B% u! |& q' ^
  1208. ' Y+ m( Q" F" P6 s
  1209. ; Timeout for network requests in seconds.7 ?2 [; {6 ?  ^9 k
  1210. ; http://php.net/mysqlnd.net_read_timeout
    5 f2 e9 X) V' p" q( ]) n+ u* @" M: D
  1211. ;mysqlnd.net_read_timeout = 31536000% F& o! p! L7 {: a

  1212. * ?( d% t0 Z/ D8 G" y4 \. s' _4 r
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    - z& h6 B  D. W
  1214. ; key.4 q" a- ^. Z9 b2 _1 E* q% K2 c+ X
  1215. ; http://php.net/mysqlnd.sha256_server_public_key; k6 [- h0 ]. m7 e
  1216. ;mysqlnd.sha256_server_public_key =
    . _7 c9 W1 a! n4 B

  1217. 9 i/ N% Y! ?( y+ c, X
  1218. [OCI8]
    2 A5 ~. N3 v: \7 w. G2 T5 Z! K' {* y

  1219.   f* c& b$ t4 i2 j  a! Q6 U1 q1 ^
  1220. ; Connection: Enables privileged connections using external, H3 Y# g( J9 h( _" f: h
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)' V2 Y8 c! _2 V, F* J5 L
  1222. ; http://php.net/oci8.privileged-connect
    7 Z1 h) l' g) j+ A; e+ ?! o+ C
  1223. ;oci8.privileged_connect = Off- J; r  O( I& A6 S
  1224. + u1 A2 j& s$ f
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ) S! k8 N9 K) m. s& {$ q, J4 X4 W
  1226. ; process. Using -1 means no limit.
    9 U7 p9 T1 D- f3 I4 p$ p! j. O
  1227. ; http://php.net/oci8.max-persistent
    + {+ y  C1 ^  `3 G
  1228. ;oci8.max_persistent = -1& _# }4 H' N5 V9 t: c4 D
  1229. 3 \; E" U5 z: I! k" Z: Z
  1230. ; Connection: The maximum number of seconds a process is allowed to
    " h2 q5 J2 P  @8 B& k* I
  1231. ; maintain an idle persistent connection. Using -1 means idle. u4 z$ R2 I5 J. T' o* U
  1232. ; persistent connections will be maintained forever.
    , O7 S9 |+ A' K0 j5 [: q0 i
  1233. ; http://php.net/oci8.persistent-timeout; A6 I" w/ y, p# f, z, m" K" K# I) z
  1234. ;oci8.persistent_timeout = -1
    5 W7 H1 d% Z- I9 B

  1235. $ @$ M/ w( ?; u- |6 o0 Y
  1236. ; Connection: The number of seconds that must pass before issuing a  ~+ u6 b4 ^1 P* o2 G3 H+ {) ^' [: {
  1237. ; ping during oci_pconnect() to check the connection validity. When. `! k7 n% Q/ K* F2 G3 L4 ?# x
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables) B' g$ [7 W- e6 b/ U
  1239. ; pings completely.
    ! A& |7 i) t7 l- U2 Y" Y
  1240. ; http://php.net/oci8.ping-interval2 x- |! _  U* j3 e+ I8 }8 {' J  y" e
  1241. ;oci8.ping_interval = 60( H7 Z, a- Z4 Y& ?. Z1 _/ Y
  1242. 7 T! [7 D7 T4 f
  1243. ; Connection: Set this to a user chosen connection class to be used
    5 S% |4 c! {- |
  1244. ; for all pooled server requests with Oracle 11g Database Resident2 x( ^5 K* M, l
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to6 W8 `" o0 s: h0 n& h/ I
  1246. ; the same string for all web servers running the same application,
    2 q; ~  |/ V! C! T4 x) P
  1247. ; the database pool must be configured, and the connection string must
    1 a# y, ?! D. ~$ s/ n
  1248. ; specify to use a pooled server.
    9 E1 L; B. e: l( `# T
  1249. ;oci8.connection_class =' z2 D+ Y* B- W; m; U

  1250.   P# ~( @3 r' J5 e! T6 D
  1251. ; High Availability: Using On lets PHP receive Fast Application
    6 l( f/ U3 `7 w
  1252. ; Notification (FAN) events generated when a database node fails. The' b: ^7 |# e: X8 f) n% ~. k6 {, q8 B# k
  1253. ; database must also be configured to post FAN events., J/ f/ d8 }) B+ D
  1254. ;oci8.events = Off
    % U! G" A- Q) f6 _  Z( _, b
  1255. 4 [2 i- M7 C9 |2 x; Y, W
  1256. ; Tuning: This option enables statement caching, and specifies how, G9 w' N, @0 b
  1257. ; many statements to cache. Using 0 disables statement caching.
    # Y$ L1 g1 I2 A
  1258. ; http://php.net/oci8.statement-cache-size4 P- H1 F' s# ?! ]* V2 T: {. l
  1259. ;oci8.statement_cache_size = 20
    8 E5 Z" M. I1 \1 p7 v2 T1 @. j

  1260. 7 a+ D# t* g# s7 J! `
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    : z* g8 s# r$ G. ^6 M! M) X
  1262. ; rows that will be fetched automatically after statement execution.
    : H7 c0 T' j/ W7 S
  1263. ; http://php.net/oci8.default-prefetch: B) O$ g+ a# g1 F. Y8 B
  1264. ;oci8.default_prefetch = 1001 p. m+ M7 t# M
  1265. 6 c6 V1 E1 C, \% S6 G
  1266. ; Compatibility. Using On means oci_close() will not close
    ; j  @' I, W% c# T( D# D
  1267. ; oci_connect() and oci_new_connect() connections.# I" P0 ?2 X; r9 q# J2 d3 [; V
  1268. ; http://php.net/oci8.old-oci-close-semantics
    6 o) ]. @9 e; @  L" }! o
  1269. ;oci8.old_oci_close_semantics = Off- T# h: z0 D$ x) j4 M$ \2 T

  1270. ) `& a  B  n! n; u
  1271. [PostgreSQL]7 ]& Y. \4 v' J8 E/ r0 z- S
  1272. ; Allow or prevent persistent links.
    9 U9 {% C) h& R& t7 q
  1273. ; http://php.net/pgsql.allow-persistent( ]+ R- Y; |5 H( [6 Y+ c8 A# l% r
  1274. pgsql.allow_persistent = On
    * U, t  w! w6 B
  1275. " `$ O- x0 f/ g
  1276. ; Detect broken persistent links always with pg_pconnect().
    & Y0 d- _, ?0 |3 o! a0 [% |3 {. d
  1277. ; Auto reset feature requires a little overheads.0 s2 J4 n2 b6 z" K
  1278. ; http://php.net/pgsql.auto-reset-persistent
    0 W9 T4 K& c- z
  1279. pgsql.auto_reset_persistent = Off" V$ r0 c5 o: O" d1 M; j
  1280. , x% S% j4 q# H, N7 N
  1281. ; Maximum number of persistent links.  -1 means no limit.
    0 K7 R) Z6 k" @/ h% U6 b( n$ m
  1282. ; http://php.net/pgsql.max-persistent4 V; m  D; W$ k. c" |$ i( u, e
  1283. pgsql.max_persistent = -1
    ' H& r1 U3 d( @1 {$ A

  1284. ; D  a' f. B, {
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 j" u7 Q, ~* n& A
  1286. ; http://php.net/pgsql.max-links
    ) b5 I5 w3 Q7 `/ X6 p
  1287. pgsql.max_links = -1/ _' p4 b, J( T, n/ y4 K
  1288. 5 E/ @, X9 v) D! U, a
  1289. ; Ignore PostgreSQL backends Notice message or not.
    3 V" z. l) ~) ]% j% o- a
  1290. ; Notice message logging require a little overheads.' V- C! |4 v0 b' Z
  1291. ; http://php.net/pgsql.ignore-notice' a( {+ ]7 Q+ N8 V. x: G
  1292. pgsql.ignore_notice = 0
    1 q6 T3 L% D: D2 ?8 f
  1293. , Q% e& P( L2 A
  1294. ; Log PostgreSQL backends Notice message or not.! V1 K5 z( M; S. ?. I) g; d2 H
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.8 a2 z+ ~# j$ \& Z/ x. M
  1296. ; http://php.net/pgsql.log-notice
    ( b. c/ I1 R! h" S7 j* r
  1297. pgsql.log_notice = 07 \% |6 u+ E+ i

  1298. - p% M( x4 Q3 p% ]: r/ {0 L" ~
  1299. [bcmath]0 D2 T* z* H# E; y* D& ~$ a
  1300. ; Number of decimal digits for all bcmath functions.
    , d) u% b& _& r% i% r" Q; d
  1301. ; http://php.net/bcmath.scale. J) M" U% {5 t
  1302. bcmath.scale = 08 j# r  q5 ]; |: I, S
  1303. " L- r; L) P; g; n- w1 n0 ?
  1304. [browscap]
    4 q( P0 t6 W* C( Z
  1305. ; http://php.net/browscap
    1 J- V6 ]  x5 N5 ~/ h8 T. m
  1306. ;browscap = extra/browscap.ini3 t" w5 i; n* c  c) h3 s

  1307. : ^3 x' T% j/ H" R( M8 M- N
  1308. [Session]
    " l# ~; [+ D# @% S' a% H5 k3 U
  1309. ; Handler used to store/retrieve data.- ?( j. h9 g' F: o: @
  1310. ; http://php.net/session.save-handler
    - ~5 K' e  u7 L% M" T5 C
  1311. session.save_handler = files' b$ `6 p3 V) S% d2 y

  1312. 2 S  ~' v/ X4 R& T3 k* h: H" c
  1313. ; Argument passed to save_handler.  In the case of files, this is the path) K$ s. ^" h7 Q9 q+ k: o
  1314. ; where data files are stored. Note: Windows users have to change this( {, F' e/ ]& Q0 v" X% m+ v& {- n
  1315. ; variable in order to use PHP's session functions.. G, \( x* N5 x' O* v, J( W( M
  1316. ;
    & D  |. [3 n( O6 V8 x" V
  1317. ; The path can be defined as:
    + _8 }) ^/ l, x, ]8 d9 n
  1318. ;& ^+ V& E/ Y6 S1 ~; _+ g# d
  1319. ;     session.save_path = "N;/path"
    ' [9 p+ J: m, E9 i, h$ d9 j+ i
  1320. ;
    + N* ]% l8 t7 p9 w6 K- w* E7 m: }
  1321. ; where N is an integer.  Instead of storing all the session files in0 N! o) H& Q- R; d" e- O! F3 b+ P0 s
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    3 a5 p" S0 k0 Q/ i
  1323. ; store the session data in those directories.  This is useful if$ T1 H' {* R2 r! h
  1324. ; your OS has problems with many files in one directory, and is
    % s2 T6 f3 {* b) W/ i7 ~% v2 e: W
  1325. ; a more efficient layout for servers that handle many sessions.
    : S7 N  I5 H0 T6 O+ W
  1326. ;
    6 b9 ?, U- J) A  @5 d) j
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    , q! f; Q' `# D2 n
  1328. ;         You can use the script in the ext/session dir for that purpose." W, i* _$ ]4 g, N
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    " S% c$ z4 |- A. [' S
  1330. ;         use subdirectories for session storage
    . M4 u, t8 B* L8 q6 J
  1331. ;
    7 O  R& I7 W5 Q& @3 K6 o/ u( ?
  1332. ; The file storage module creates files using mode 600 by default.! }, c! W; Y* \, ]- l4 H
  1333. ; You can change that by using  x- J. u) J% @6 J
  1334. ;
    % u2 X( p3 w' d( z
  1335. ;     session.save_path = "N;MODE;/path"2 W3 y4 F' I+ K  D. Y2 _
  1336. ;. p/ o7 ^9 ^/ z& f+ h; |3 T+ u
  1337. ; where MODE is the octal representation of the mode. Note that this
    . l, J" i8 U* p, Z
  1338. ; does not overwrite the process's umask.
    1 E1 l# e& v4 u) m) M6 K
  1339. ; http://php.net/session.save-path! P" J$ O9 T1 V& B9 J& U. k  p) t
  1340. ;session.save_path = "/tmp"2 D' f4 m. G! J0 q, y
  1341. . T% @& j+ ]6 Z! p
  1342. ; Whether to use strict session mode.7 \3 z; H% ~9 Q
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate9 A6 N; z, l  _) Z5 L% u
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects# L! I; ^+ h' I# s) J
  1345. ; applications from session fixation via session adoption vulnerability. It is1 ~- _9 M5 |& K/ G! q8 G0 S
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.- z* L% n  v+ q8 k
  1347. ; https://wiki.php.net/rfc/strict_sessions8 K( A; I4 t; @  U1 u. p3 F, K
  1348. session.use_strict_mode = 0
    , h: H- X; b2 y. P# [4 O; t; p
  1349. 8 v. ~! u' K0 L4 g
  1350. ; Whether to use cookies.: }$ F' Y- r, O$ e9 q* y7 |
  1351. ; http://php.net/session.use-cookies
    / {6 Y5 A& u; Q; ~/ M
  1352. session.use_cookies = 1
    * Q8 _4 O: X5 ]& L1 p- G5 e: @
  1353. " s$ e8 W, ]8 D
  1354. ; http://php.net/session.cookie-secure
    3 q3 `4 h) I- E+ m
  1355. ;session.cookie_secure =
    ( W% l9 }3 A3 d, U5 ]6 |

  1356. " Y& F# [3 ]* F6 X- U4 V, Y- G
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining" U: \9 ?  \$ Z# c- O
  1358. ; the session id. We encourage this operation as it's very helpful in combating% v' i8 K" t: y/ C% u/ c) R( r# G
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ' W( X7 ~" Y& n+ F0 G8 R9 V5 C( R
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.. t& \- n5 j' o1 n. E) Z( z
  1361. ; http://php.net/session.use-only-cookies
    # E( F0 L" v6 I& M0 A/ I- h
  1362. session.use_only_cookies = 1
    : C6 Z1 K) V" z- U% t. R
  1363. % |: S5 b1 a$ l& e) i4 k
  1364. ; Name of the session (used as cookie name).3 ?1 E. W: h3 W4 T, v, {3 J
  1365. ; http://php.net/session.name
    + G3 a3 n5 H+ D) W0 M
  1366. session.name = PHPSESSID5 P5 c* S9 j, l* I: z: F
  1367. ' C: t* @2 Y% F& s
  1368. ; Initialize session on request startup.# a* d6 Y9 @  P8 `/ `0 E0 R% a6 m" x
  1369. ; http://php.net/session.auto-start
    ! G2 ~, S% G9 Z' z4 K$ |
  1370. session.auto_start = 0
    & u6 S2 f7 g9 f6 r9 P

  1371. & S) v' T; v' F( Q( O
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted./ ?% ^3 T) n; U$ B# p9 {
  1373. ; http://php.net/session.cookie-lifetime! V& L; T0 H* X* v: W
  1374. session.cookie_lifetime = 0/ A- D$ u* \! a* U) W# G
  1375. " z/ M* \, W" P6 N
  1376. ; The path for which the cookie is valid.
    " M6 z& Q/ y' L7 y1 k# d' A& \+ l: e
  1377. ; http://php.net/session.cookie-path0 P7 f8 E. A9 \: c* P
  1378. session.cookie_path = /
    3 j* B( t* ?' ]

  1379. , w" A5 U# A# I& d5 T2 F; y1 B
  1380. ; The domain for which the cookie is valid.
    ' M2 H. W+ Y7 `3 C3 {# {7 ]
  1381. ; http://php.net/session.cookie-domain* d8 F$ [8 v+ a) R8 H/ D0 Q$ u
  1382. session.cookie_domain =
    $ W, b; e* M: q# A
  1383. 2 w$ ^( }  y6 Z0 ^* R6 E
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : U, N5 k; w4 h3 J0 d3 Z
  1385. ; http://php.net/session.cookie-httponly
    & ?  K- V9 e* y1 X7 i1 `) L* x
  1386. session.cookie_httponly =
    0 `8 m. K+ H% @* r( Q& N$ A
  1387. 6 h) H) O; f' J1 a. @
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + X. G, s$ V. J6 ]
  1389. ; http://php.net/session.serialize-handler
    - H9 H3 n3 Q- }' j: z4 ]3 V
  1390. session.serialize_handler = php0 h+ {. ?6 h# e( V9 g' d$ J/ L

  1391. 6 v7 K/ S% ?3 G4 r2 T
  1392. ; Defines the probability that the 'garbage collection' process is started
    7 l$ ]# o' a3 U' Q' y
  1393. ; on every session initialization. The probability is calculated by using
    ) |6 t' `( _$ h! v( I# v
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator+ o+ E5 O! K& A+ k0 f0 t8 r
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    1 Q! {3 E6 h) }, c5 V! B
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 P- V9 h* P( k& I3 h/ C
  1397. ; the gc will run on any give request.
    1 k' K* ~+ d" ~: j, v
  1398. ; Default Value: 1
    - s6 F1 W2 x* w9 ]
  1399. ; Development Value: 1/ \" a- w) I, s' W- V4 D% l6 X
  1400. ; Production Value: 10 G9 t6 s6 }4 W5 k* O3 Q
  1401. ; http://php.net/session.gc-probability
    1 g1 ], E; c9 k7 e. w0 E6 R' E
  1402. session.gc_probability = 1" B8 n4 F5 [* J7 ~
  1403. 1 X" A$ U! d- s5 Y0 P. W7 ]7 [
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ! X0 s! K4 Y+ }7 p% u  h' m' C
  1405. ; session initialization. The probability is calculated by using the following equation:' L2 Q/ \, ~; O. h1 o$ {) d
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 N( m( E- w# j/ H1 u% b8 n
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ) U5 Y- x) ?  i$ x
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 j6 W9 D6 F6 K5 v0 B
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you/ J3 L2 y# e6 Q
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,& m8 ?9 D8 Z: Z2 i% z
  1411. ; this is a more efficient approach.
    % J+ z5 R+ |$ ^
  1412. ; Default Value: 100" J. q7 a% ]2 }- ?8 r- ^7 o
  1413. ; Development Value: 1000# ~! ?9 a; b$ W  ], L0 Z/ q5 r# C
  1414. ; Production Value: 1000
      @! }' l( _) f3 ]1 J
  1415. ; http://php.net/session.gc-divisor
      [" U8 _( ?5 Q: F! s% P0 V# d4 g
  1416. session.gc_divisor = 1000
    3 i8 O2 \" l: H6 ]8 M/ w
  1417. ; q3 N" p6 G1 q' j
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and! l. y1 K8 ^4 H* Q! V8 u) R5 {
  1419. ; cleaned up by the garbage collection process.
    ' x+ O! w5 K2 x: x
  1420. ; http://php.net/session.gc-maxlifetime" x! f- t0 b% [1 Y3 \, t$ L: w
  1421. session.gc_maxlifetime = 1440
    : ^6 O7 v& e: ?4 K- h2 \- b
  1422. 9 c- V7 [4 n( P4 L
  1423. ; NOTE: If you are using the subdirectory option for storing session files4 l# X' {) {! J$ ^2 Z4 x6 h
  1424. ;       (see session.save_path above), then garbage collection does *not*0 v' z3 H% \3 c0 g* o2 L- y
  1425. ;       happen automatically.  You will need to do your own garbage# W4 |4 s& b1 W9 i& Z7 C+ j
  1426. ;       collection through a shell script, cron entry, or some other method.$ e4 L! t  S& [( [; @/ j8 e
  1427. ;       For example, the following script would is the equivalent of
    6 S# G7 u( y" }9 s# F" Y; w$ ^: B9 C" K
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):3 u0 A# g7 s9 B8 ?1 v6 p5 O6 j% I
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    4 g) z" r, u7 h2 M" I3 {( w+ c- T% V

  1430. 3 T6 _  A9 O; F/ a
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.4 E2 t: R* n9 D" P
  1432. ; HTTP_REFERER has to contain this substring for the session to be3 O! N6 b4 ?! g
  1433. ; considered as valid.* n! u, h0 l% n' A! E
  1434. ; http://php.net/session.referer-check
    5 l+ t" }. r8 d5 f
  1435. session.referer_check =% A  D' t$ X: ?
  1436. * q7 x+ d3 |6 @# ^6 {: i& [# {
  1437. ; How many bytes to read from the file.
    9 ?' V0 v/ @: n, `5 u) G8 b$ t% c
  1438. ; http://php.net/session.entropy-length, {$ L7 ~- p! w2 s
  1439. ;session.entropy_length = 32% v! d8 r# c4 P$ A: [5 m4 [

  1440. ; q' S" e# F& D, |/ ~& b0 t  [
  1441. ; Specified here to create the session id.2 ^- Y3 M; B! t, O& V5 h9 }$ b! S
  1442. ; http://php.net/session.entropy-file$ h% O4 M5 O" b2 O; r; G2 _, w
  1443. ; Defaults to /dev/urandom* w1 d9 A' J4 E) D2 |: p) g0 M
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    % _  y6 C! J) v9 |3 _/ o, r
  1445. ; If neither are found at compile time, the default is no entropy file.
    $ j# ~9 e" I% I( B
  1446. ; On windows, setting the entropy_length setting will activate the* J5 V: C6 k% Y/ M
  1447. ; Windows random source (using the CryptoAPI)  g1 g! O* G, d( f! q5 k/ N
  1448. ;session.entropy_file = /dev/urandom8 u: \' N4 K! k1 I( r* ~  l

  1449. % u0 _3 V1 E- \
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ t" _  L& e) L9 W/ {; o- S
  1451. ; or leave this empty to avoid sending anti-caching headers.$ H7 Z2 F1 C0 l- ^4 B6 G$ R/ X3 P7 x
  1452. ; http://php.net/session.cache-limiter
    " Z+ p4 r: f0 `4 ^7 z
  1453. session.cache_limiter = nocache
    ) u( @8 S$ s6 J) J0 k; w0 Y) M# Y- p

  1454. : A5 O( r1 Y* A) _
  1455. ; Document expires after n minutes.( J5 I6 L1 ?2 M2 T
  1456. ; http://php.net/session.cache-expire
    ; T- g2 Z0 V0 X/ z3 l/ W% m
  1457. session.cache_expire = 180
    & [1 K% r. v1 _( }8 k
  1458. - P  D% Q9 P6 g, `) k
  1459. ; trans sid support is disabled by default.
      E9 C2 L+ @" u# P) B; z6 J) ]/ E
  1460. ; Use of trans sid may risk your users' security.( N( ]$ @+ c. \6 ~! ?
  1461. ; Use this option with caution.
    ( H7 c6 U6 }. O8 `& r( Y2 g8 T  k
  1462. ; - User may send URL contains active session ID/ R. \+ X2 K/ |6 [( Z/ ~1 f. _% \: l
  1463. ;   to other person via. email/irc/etc.
    2 i9 W- I' x& s' V
  1464. ; - URL that contains active session ID may be stored
    9 W9 W* Q6 s4 ^$ F" P1 O
  1465. ;   in publicly accessible computer.
    . y. P7 |8 A' D$ F, c* n* @* T
  1466. ; - User may access your site with the same session ID
    5 M5 A% V' ]2 }+ N
  1467. ;   always using URL stored in browser's history or bookmarks.
    4 k- k/ X4 Y' S" u  s
  1468. ; http://php.net/session.use-trans-sid( K' @  f2 n: c5 F$ y
  1469. session.use_trans_sid = 0
    / Y/ r3 ?" S9 ~% e

  1470. * Q1 N+ G6 f! E% J5 n* E
  1471. ; Select a hash function for use in generating session ids.
    + e# c+ S- k) U$ L- l
  1472. ; Possible Values
    0 j' S" c* Z* o
  1473. ;   0  (MD5 128 bits)! Y9 B6 H, p  [; t
  1474. ;   1  (SHA-1 160 bits)
    - P/ v  s5 L# o; P/ H- ~) \( T
  1475. ; This option may also be set to the name of any hash function supported by! }! n$ t5 w) \/ R+ }# T( Q% r" q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()) O+ [+ v4 z: V' `& e  d
  1477. ; function.
    : o" {! c! L" M  C
  1478. ; http://php.net/session.hash-function
    2 W6 f3 R# y2 W* w4 w
  1479. session.hash_function = 0: L# m5 j0 X: w2 m

  1480. 0 W( z9 K8 _: [: l
  1481. ; Define how many bits are stored in each character when converting- @. Z9 C" c# O6 [! N
  1482. ; the binary hash data to something readable.6 `+ ?* q* e, |8 u. }; N( J: }! U/ K
  1483. ; Possible values:
    7 t! i; X3 T9 n
  1484. ;   4  (4 bits: 0-9, a-f)
    2 K# A4 [/ W0 O( \6 e& h; L- C
  1485. ;   5  (5 bits: 0-9, a-v)
    4 T+ w3 e2 r' a" L+ z- E( K
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): A) P* U  s% r! u! r! ?
  1487. ; Default Value: 46 q2 k3 b4 U+ w, v
  1488. ; Development Value: 5: ^; n' k6 F6 L
  1489. ; Production Value: 5
    # h6 z8 o5 }- e1 h
  1490. ; http://php.net/session.hash-bits-per-character
    % _! Y& Y. i2 }/ l. e3 b1 Y/ \
  1491. session.hash_bits_per_character = 5  a' d8 q/ G1 ^

  1492. 2 ]  Z; A  N& s3 a+ w+ w
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.& T. i: }6 B% P
  1494. ; form/fieldset are special; if you include them here, the rewriter will$ d, H: l  c0 t" d0 W9 H
  1495. ; add a hidden <input> field with the info which is otherwise appended1 M$ K0 i- F8 x$ M' E
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; o" p/ p# T0 T0 l! @" Q
  1497. ; Note that all valid entries require a "=", even if no value follows.$ w2 b& Y- h+ g* b4 f$ R. E* Z
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 ~  k2 M# F0 n7 G+ \0 ?( T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". A# O3 e, L8 E1 V9 T1 T
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% V, z2 K8 Q7 h6 i* ~  _
  1501. ; http://php.net/url-rewriter.tags
    5 z% p: A' ^: h
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 Z. \- C. l& [, m) p8 w) }
  1503. 0 V2 w' i+ Q6 T3 V
  1504. ; Enable upload progress tracking in $_SESSION
    " L6 R% }; l& V( W( ^
  1505. ; Default Value: On
    % f8 |  C; E9 u/ M! m2 A1 x* K1 X2 Q8 S
  1506. ; Development Value: On2 O$ T' S1 T" p2 w/ j% j; F
  1507. ; Production Value: On
    & ]* i3 |( G" H9 b1 V3 O9 [
  1508. ; http://php.net/session.upload-progress.enabled
    # M- j  |: h) D0 W. Y* T1 t. w: |
  1509. ;session.upload_progress.enabled = On
    9 F4 ~# `( b' ]9 `" K

  1510. - y/ i0 h  f) L* G, H/ B% L8 L7 _, F
  1511. ; Cleanup the progress information as soon as all POST data has been read  g6 o% D0 C8 `( g
  1512. ; (i.e. upload completed).
    0 ?1 e% Y' w1 I" _1 r+ _
  1513. ; Default Value: On( E1 P9 C) I/ x8 ?
  1514. ; Development Value: On
    " E7 C! g4 P2 N1 `- O
  1515. ; Production Value: On
    ; `4 Z: D) e" `
  1516. ; http://php.net/session.upload-progress.cleanup* X. X% r7 k8 J) p2 y! x9 ~+ h
  1517. ;session.upload_progress.cleanup = On9 _* F8 O- k. q! @$ |  F6 `3 S4 L

  1518. 4 M5 R. X) K; M& f! r2 @/ R
  1519. ; A prefix used for the upload progress key in $_SESSION
    8 T& R5 x+ L3 L# b8 I
  1520. ; Default Value: "upload_progress_"
    / Q& J& o! T0 L% |% s! {: \/ V
  1521. ; Development Value: "upload_progress_"
    2 r& x+ e* k( x' U. l3 {7 {7 |
  1522. ; Production Value: "upload_progress_"
    & o% r: y$ J" @/ A$ {
  1523. ; http://php.net/session.upload-progress.prefix
    9 h0 q' U$ @% n$ t4 [
  1524. ;session.upload_progress.prefix = "upload_progress_"
    9 S- t7 j' u9 {+ Q  f, t, X2 R

  1525. : q( x2 Y% S! T0 r$ c" ^+ L
  1526. ; The index name (concatenated with the prefix) in $_SESSION
      b0 G7 W; l# _
  1527. ; containing the upload progress information
      r; w5 [9 ~+ `7 n% r+ ~
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; b. N, {, `) h+ Q- X5 H
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - T# e- e; s6 |& r- @/ j
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( |) ~" ~# O9 z' H6 D, K  f
  1531. ; http://php.net/session.upload-progress.name
    ; C4 `" m9 ?0 u0 Q" d$ d
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& ?! U# C- d0 c* G$ {- H, W& C

  1533. " ]* A+ k* q; S" b) y
  1534. ; How frequently the upload progress should be updated.+ X: I* Z/ V% y6 c6 S, ^
  1535. ; Given either in percentages (per-file), or in bytes
    2 Q6 }; C1 Z5 N8 o: r8 t
  1536. ; Default Value: "1%"$ ^& D& p# J0 o1 p$ g. Y( o) R! i
  1537. ; Development Value: "1%"1 Y: c3 c$ m/ d/ |' Z* G5 p# g/ }
  1538. ; Production Value: "1%"9 \  M* x# M( l# w: ?
  1539. ; http://php.net/session.upload-progress.freq
    " I4 Q5 Z- x3 c! ]" p
  1540. ;session.upload_progress.freq =  "1%"( z* J+ }; }. R% j
  1541. 6 I, h  e# \8 c+ f3 t) T1 S
  1542. ; The minimum delay between updates, in seconds/ \; U) V  F9 [. m2 N
  1543. ; Default Value: 13 e8 n* n* S; S" R% a* j7 v& ~
  1544. ; Development Value: 1+ Q. t( @/ o( v
  1545. ; Production Value: 1
    * h$ E5 g( R- {* c' b8 W/ }
  1546. ; http://php.net/session.upload-progress.min-freq
    & q! g7 \- O; T. Z7 E
  1547. ;session.upload_progress.min_freq = "1"
    9 s% G+ r/ c3 c

  1548. - k  o* W1 f) V; _8 t
  1549. ; Only write session data when session data is changed. Enabled by default.
    0 x6 Y" y5 E) T' q* Q
  1550. ; http://php.net/session.lazy-write/ h+ ~1 C" n9 k* Q' r, G5 x& [
  1551. ;session.lazy_write = On
    & h4 \! _$ i$ u( h3 W' C
  1552. / a, J; [* T! b7 l1 n
  1553. [Assertion]
    $ c( Y8 \' H! N. t
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)# q6 x+ e6 r" F5 k3 U' y
  1555. ; -1: Do not compile at all( h- `: i3 N: D/ x/ q( m5 F
  1556. ;  0: Jump over assertion at run-time* r( h- I3 P1 C( d! V9 ]% D% T
  1557. ;  1: Execute assertions
    - u4 Q" L9 I* P) W4 f8 X% o
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)4 @; i3 m, {, _* \& i
  1559. ; Default Value: 1. S7 V$ L2 E. x& m
  1560. ; Development Value: 1
    # w) T8 [- q, {* F- `( K
  1561. ; Production Value: -1
    1 m! Z8 X& N1 Q" e
  1562. ; http://php.net/zend.assertions, |8 o- f$ Y$ j+ \' z( F
  1563. zend.assertions = -1
    5 a* z3 s9 k$ q9 b: J

  1564. ' X, X8 I5 E1 M+ H
  1565. ; Assert(expr); active by default.
    4 R& [; z; }( S. z& w
  1566. ; http://php.net/assert.active
    - d7 b3 m# \* h% s+ E
  1567. ;assert.active = On
    - _/ C* g/ [$ Y: F

  1568. ' Z9 K) |( @/ C$ k0 v
  1569. ; Throw an AssertationException on failed assertions
    $ P# o7 f; K: L! N/ _
  1570. ; http://php.net/assert.exception
    , T/ e% q- q( C. R0 y$ S: P
  1571. ;assert.exception = On
    , `3 y& s/ k6 h
  1572. # d9 q$ K( g% c+ q+ M5 f' `
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    , j: \( x! \5 }! y
  1574. ; http://php.net/assert.warning
      x. v+ w8 e; }) s$ S$ s
  1575. ;assert.warning = On
    ( n7 ~; D9 _& h" D, _  D1 `' O& ~

  1576. 9 R2 ]. }7 _& `1 I$ o
  1577. ; Don't bail out by default.
    , u- l' g( |* Y: r
  1578. ; http://php.net/assert.bail7 u' t( x. [- k0 {6 ?+ G) u& ?
  1579. ;assert.bail = Off
    8 i1 F% {7 Q. c: K
  1580. / G2 L& D$ f' @; ?
  1581. ; User-function to be called if an assertion fails./ w! f! L0 P5 ^5 x/ W! N3 H1 e
  1582. ; http://php.net/assert.callback
    + Y) b; R) u5 ~; m; y
  1583. ;assert.callback = 0: {3 K7 p5 B2 J7 w, a3 r
  1584. 7 L  m: E# p( t, M6 I
  1585. ; Eval the expression with current error_reporting().  Set to true if you want) S# K7 M- @: p6 i+ ?
  1586. ; error_reporting(0) around the eval().
    1 `" H- [2 S' T7 Y( h4 m+ ]" P
  1587. ; http://php.net/assert.quiet-eval( Y3 Y$ h8 e; m% i' y, G
  1588. ;assert.quiet_eval = 0% P% X2 O/ t: j% y0 J

  1589. ' f. v. C: u2 ~3 I, |7 d
  1590. [COM]) T2 C6 c/ q7 q8 N+ t/ ?
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs1 V2 `- m0 [: h1 G: C9 R
  1592. ; http://php.net/com.typelib-file
      C0 O# W2 N0 q( G% \
  1593. ;com.typelib_file =
    5 {) y/ X  w: M( L( e

  1594. $ }/ n' K) A2 M3 o7 z0 C
  1595. ; allow Distributed-COM calls& x, K2 N8 u2 a/ ]- j
  1596. ; http://php.net/com.allow-dcom; W3 T: W) U6 V5 h+ S
  1597. ;com.allow_dcom = true
    ' Y; p* r3 T7 L  \; \: v- p' |( B) q

  1598. 9 H! \* M& G0 c" p. x
  1599. ; autoregister constants of a components typlib on com_load(), D2 w0 Z& `+ o( j) X% k
  1600. ; http://php.net/com.autoregister-typelib9 l. S: o- b; f5 A# L
  1601. ;com.autoregister_typelib = true4 K$ j7 N+ [! V8 G5 ]6 V
  1602. # {3 w2 w0 n. O8 ^# T2 q
  1603. ; register constants casesensitive! q4 g7 |  u0 A. V! Q+ Y
  1604. ; http://php.net/com.autoregister-casesensitive
    4 K6 B9 h. `8 N- S
  1605. ;com.autoregister_casesensitive = false4 @9 o7 l! {" V! X9 f2 x4 c
  1606. % e, f" ^2 R0 Y( ^3 A3 C8 d9 G
  1607. ; show warnings on duplicate constant registrations4 S; k" y8 g' d  q% F, h
  1608. ; http://php.net/com.autoregister-verbose) l" p- ]6 P5 u( R% {1 w3 f
  1609. ;com.autoregister_verbose = true
    6 t6 G& Z7 \% F% B, }3 \
  1610. 7 k  S' H7 u  w* `: F+ v; R
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    9 Y' c0 y- X( a9 I( P9 _
  1612. ; Default: system ANSI code page
    4 K8 f( ?3 `5 X$ @: m' {' F
  1613. ;com.code_page=( s1 _0 o  L' u4 p* y

  1614. - C# d* s' ~: |% }: w! ]  v
  1615. [mbstring]* S! R& i6 U+ _
  1616. ; language for internal character representation.
    ; ^' T) q8 Z; R! g& ~6 i
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
      M9 U; w+ t4 o& m) u
  1618. ; http://php.net/mbstring.language
    $ l- |( S) B. ~* \1 Y' S* S- G
  1619. ;mbstring.language = Japanese
    % R* I3 R# `. U, ?

  1620. 3 B( e% n: t$ U5 O6 j
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead., l5 g7 l! @* G4 T" M9 \  Y
  1622. ; internal/script encoding.
    4 I7 c4 }+ y9 i* Y. r' }
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    4 k5 T8 L  S" M
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! g. N% y% {$ p, f! v
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 u, d6 A% A: A: b
  1626. ;mbstring.internal_encoding =- e9 K* S0 V$ S
  1627. + S- f( N9 Q- M
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( n# P. g& D7 N$ i
  1629. ; http input encoding.
    1 R' b  K- h6 r
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    6 {) r0 l' x! R; a( O% g8 G* N
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.0 ^7 G! @) Z) n$ ]. S8 D
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    & d9 O1 v' y9 C! a% T
  1633. ; http://php.net/mbstring.http-input9 M' Q0 m! F) k( ]9 L& I6 g) I  z7 M
  1634. ;mbstring.http_input =
    + i, N* t- k, ~5 b. c0 `
  1635. 6 {2 Z3 q7 T- ~3 X8 l8 }1 ~
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ t6 v/ n) J: `
  1637. ; http output encoding.+ j2 P: k7 R, m/ Q% m4 O
  1638. ; mb_output_handler must be registered as output buffer to function.
    1 @* t& d. n: j/ D+ p
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 O' {  w9 U+ j- U. F4 @
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output- g# @! u4 C1 {7 p; I. x
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    - Y1 \1 y; {- v, d, b& G
  1642. ; otherwise output encoding conversion cannot be performed.* u& L5 z% g5 t2 o, w! R
  1643. ; http://php.net/mbstring.http-output( ]" m/ R% N' A; B! y
  1644. ;mbstring.http_output =" J  \$ C8 I5 E: E

  1645. 5 Q5 X6 X8 h- e3 b
  1646. ; enable automatic encoding translation according to
    ) G. I8 Q- t7 K7 v; e
  1647. ; mbstring.internal_encoding setting. Input chars are
    2 x% a' [" n: w/ B& F! ?( A
  1648. ; converted to internal encoding by setting this to On.: [3 [. Y0 V+ V- H! {+ v: X+ \
  1649. ; Note: Do _not_ use automatic encoding translation for3 K# o2 I# b6 t7 {
  1650. ;       portable libs/applications.
    , j  ]9 U5 a" `8 n) B: k
  1651. ; http://php.net/mbstring.encoding-translation5 [7 C, y* J( t# Y) o$ k
  1652. ;mbstring.encoding_translation = Off3 r' u2 d9 `5 ?4 x: g, }! ]

  1653. # r4 h, K+ v) S
  1654. ; automatic encoding detection order.6 k8 k' ^! u7 D$ Y1 i
  1655. ; "auto" detect order is changed according to mbstring.language* z7 F! S, X( R( d' Y4 H0 @8 I5 i& \
  1656. ; http://php.net/mbstring.detect-order
    ! y9 h9 B) A* r, h4 ~, b
  1657. ;mbstring.detect_order = auto
    1 _. W  J- g) X2 ?: O

  1658. 4 _+ |% |% }0 i) l  s% g( E7 }
  1659. ; substitute_character used when character cannot be converted3 O8 t. y; z/ v0 U
  1660. ; one from another" t" `. r5 Q$ t/ g4 v8 f& B5 R
  1661. ; http://php.net/mbstring.substitute-character: @: y0 T3 F8 q+ p! b
  1662. ;mbstring.substitute_character = none
    ; r$ v! F* F& R+ @! Z/ V# R

  1663. 2 P1 p# x  I# o7 l5 R
  1664. ; overload(replace) single byte functions by mbstring functions.7 b9 ?- ?3 @; N5 b1 r
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    " h1 Y% T+ J( |4 x5 N2 `
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    . E8 u1 ~$ C: n8 z, C  j" J1 S& Y
  1667. ; For example, 7 for overload everything.' U7 [  u+ q. D: K( H3 j$ H' C
  1668. ; 0: No overload# T+ _" s3 k% ?
  1669. ; 1: Overload mail() function+ Q; y" z  G3 r2 v2 B+ D8 {
  1670. ; 2: Overload str*() functions) T& M  `' `$ n, b; V/ t, E
  1671. ; 4: Overload ereg*() functions
    # w- g' l; y: Q  A6 Y
  1672. ; http://php.net/mbstring.func-overload
    + ]& c4 }& P* e( K2 J
  1673. ;mbstring.func_overload = 00 B% y/ }; L  g% W
  1674. : e. ^8 |! |6 Y* M, n" D
  1675. ; enable strict encoding detection.
    5 Z) B2 a4 Y6 k& d: T
  1676. ; Default: Off" V4 c+ p* n4 }1 r- b6 z6 {
  1677. ;mbstring.strict_detection = On
    ; x' [$ |6 s9 e* x6 H5 ^
  1678. ( [. R# P1 T- j; t; d! @- v2 y
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 ~1 ^. g: V+ Q
  1680. ; is activated.
    ' Y: ?/ [, I# T0 U6 t3 \
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * C, o) t: G! M7 l# q- I: A
  1682. ;mbstring.http_output_conv_mimetype=3 i5 P: k0 `' z+ S) S1 Z

  1683. " V6 A/ ^; m& T3 e
  1684. [gd]6 A+ {# P; S1 B7 B
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    * |$ j. |/ E4 Y1 P" ^' Y# o
  1686. ; a gd image. The warning will then be displayed as notices
    : w: p% ?/ o  V  v* V1 D! V9 N
  1687. ; disabled by default
    0 ^( \: e0 O% `' m% O% m% W
  1688. ; http://php.net/gd.jpeg-ignore-warning
      |" U4 T8 F. V. c
  1689. ;gd.jpeg_ignore_warning = 0/ Z. c0 n- g9 w( C

  1690. + X3 ~6 d& @( x: i3 `
  1691. [exif]: f  Z0 c4 H: ~# w. _! D# [0 m
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.) J, O2 h4 |  D4 F
  1693. ; With mbstring support this will automatically be converted into the encoding' s; H7 h; j1 r5 f8 E
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    % j- [8 T- I( c
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ) R# E" ]& r9 v1 r4 P% }8 F
  1696. ; intel byte order. A decode setting cannot be empty." N+ S/ R8 Y$ u
  1697. ; http://php.net/exif.encode-unicode
    ( e: Y5 g: T! F- r
  1698. ;exif.encode_unicode = ISO-8859-15) l" L5 w- p5 B. K

  1699. 8 M% M& `3 ?& {* w
  1700. ; http://php.net/exif.decode-unicode-motorola
    0 j6 Q% e. Y- S& ~+ ^* m
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    6 Q( l! {1 W4 F- V% u0 ^; @
  1702. 6 V1 B; u6 s9 q- v7 Q: T( I
  1703. ; http://php.net/exif.decode-unicode-intel
    . x( D4 t& I. p; g
  1704. ;exif.decode_unicode_intel    = UCS-2LE$ S. \/ y3 i9 }! y1 Y

  1705. 9 O7 O$ y+ V: ~# u1 @1 {- E# P2 Z
  1706. ; http://php.net/exif.encode-jis3 L: j" c/ f: m+ l
  1707. ;exif.encode_jis =
    ' F$ m. }0 R+ m+ M1 Y

  1708. % M5 j) q4 B( J8 m. }
  1709. ; http://php.net/exif.decode-jis-motorola
    9 q& @. }: l) T2 L1 W
  1710. ;exif.decode_jis_motorola = JIS
    * {! F0 O4 |" Z; h3 [! I

  1711. + M0 y+ X1 y  c- d9 G5 B
  1712. ; http://php.net/exif.decode-jis-intel/ u# t6 ^- |4 R/ M- l. F8 O2 A) p
  1713. ;exif.decode_jis_intel    = JIS
    , H: N: r# a1 k7 @  O# T
  1714. 2 y3 b5 W4 A. Y: K
  1715. [Tidy]
    % f4 q) h# B. w- {* e( j0 P
  1716. ; The path to a default tidy configuration file to use when using tidy
    , n# N* Y6 j2 D3 M( v& D9 y
  1717. ; http://php.net/tidy.default-config
    , L* l( x% `& R6 K! E, E& I5 I
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    * V0 r; R2 G* P" v& ^

  1719. " x5 R+ S7 |4 r: L6 j1 [
  1720. ; Should tidy clean and repair output automatically?3 Z' I* z2 L1 m# o9 G
  1721. ; WARNING: Do not use this option if you are generating non-html content1 w+ s- E/ v0 o$ g/ v$ {; F
  1722. ; such as dynamic images
    + O$ V: E. j/ W% f0 {+ ?
  1723. ; http://php.net/tidy.clean-output) k5 ^/ V. c7 Y. v* Y5 t
  1724. tidy.clean_output = Off) i# C$ U3 q( J' [* W3 q9 `6 o- x
  1725. 5 I# g% j( d6 m! k& F5 _
  1726. [soap]
    + c9 }" H9 d( ~8 F7 N' K
  1727. ; Enables or disables WSDL caching feature.' ?! A5 A8 t5 c7 m9 n
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ) C2 d! i3 p! s1 P& H( R0 _
  1729. soap.wsdl_cache_enabled=1$ p; Y7 e6 v; G, Z5 j' h$ \

  1730. , K3 b, u4 e  m1 s) G, c  [  b1 e
  1731. ; Sets the directory name where SOAP extension will put cache files.+ a% e) Q% u3 a" `% S) j! r
  1732. ; http://php.net/soap.wsdl-cache-dir
    % z' j" K' l. ?' d; p5 u# J
  1733. soap.wsdl_cache_dir="/tmp"
    $ C, x2 e6 {3 ~; A
  1734. & H; D2 Q& X7 y/ Y) c- Z
  1735. ; (time to live) Sets the number of second while cached file will be used3 s$ U+ t1 B: v
  1736. ; instead of original one.
    ; c; W9 h! v6 @! ^9 h
  1737. ; http://php.net/soap.wsdl-cache-ttl
    # ^1 n  z! s8 M* l
  1738. soap.wsdl_cache_ttl=864004 M6 m( k. B3 m3 S# C; d& K5 R4 n* ^% X
  1739. ) y( V' q: F  Y: u
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : f5 k4 `0 S& e: p5 H8 T
  1741. soap.wsdl_cache_limit = 5
    - g' Z+ o6 c  c0 p+ |
  1742. . m' f1 Z6 x% Q0 h4 i/ s
  1743. [sysvshm]
    : A+ T2 m- T( J& x/ W
  1744. ; A default size of the shared memory segment' W9 m, C: t( ~  |& k7 U% ^  X
  1745. ;sysvshm.init_mem = 10000
    5 x1 W0 T% O8 r' N

  1746. ) b- b/ B* p1 U3 ~2 ]
  1747. [ldap]
    1 F, k* ]1 e. p  w+ l7 ^  K2 i
  1748. ; Sets the maximum number of open links or -1 for unlimited.1 c  J& J- Z* S( c; ^
  1749. ldap.max_links = -1
    0 W6 Z! Z' ~4 b4 a

  1750. 2 V# R: Z1 J- W0 {
  1751. [mcrypt]
    1 V8 z7 J' D6 z! [( U; E
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( [# y* Y# ~- ~7 e1 q6 v8 `

  1753. - Q: B4 n, C! U* I$ b
  1754. ; Directory where to load mcrypt algorithms- I3 q8 h0 y& Z" U2 o' j" J
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 d0 ]* `9 N% a6 D5 V
  1756. ;mcrypt.algorithms_dir=6 A; u6 g! C) I- l; k1 F
  1757. , ~5 j% \* T0 D
  1758. ; Directory where to load mcrypt modes
    ) Q* @( ]8 R) J! M8 s3 z
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( c7 r) f  ~/ ^/ J/ V
  1760. ;mcrypt.modes_dir=
    8 y0 }( e. j, k- T

  1761. 1 K9 A7 `) v( Y6 M# r7 }! j
  1762. [dba]) T. x! `6 P! S  W! P9 Z
  1763. ;dba.default_handler=: y$ i7 }2 y& v  x6 U

  1764. 6 C2 w% S* R2 A: u0 \8 l3 \& C
  1765. [opcache]
    # Q/ X& W4 _0 O! K8 A
  1766. ; Determines if Zend OPCache is enabled1 C) u8 ?6 A3 K* y/ X4 H
  1767. ;opcache.enable=0. J. O" |1 @, @# i0 F$ [

  1768. " K4 h( ^, @6 Q6 c
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 A0 B2 ~, E, M6 [) x4 D! i8 o4 ~
  1770. ;opcache.enable_cli=0, P* r" Z# {8 ~  p- K) @& y+ f
  1771. ' o" c1 Z5 C) P! A8 t
  1772. ; The OPcache shared memory storage size.
    7 c) }4 c0 w0 i+ K3 @$ E' o, s9 ^
  1773. ;opcache.memory_consumption=64* b! H3 Z/ e0 H

  1774. 1 p3 d0 a  [. h% A0 z6 K
  1775. ; The amount of memory for interned strings in Mbytes.. X; N- j( K5 D5 d7 N% g
  1776. ;opcache.interned_strings_buffer=4" e* k+ v- ~% i2 K
  1777. " u5 \7 p; ^7 }- {% p7 U
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.& R1 g2 L# m2 r5 U
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ' S9 C/ I! |1 b) N  l
  1780. ;opcache.max_accelerated_files=2000
    7 L3 M" \! t$ b+ T! ^

  1781. $ u5 a4 c/ g' _9 H0 @, U; m
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.) h' o& y9 _) E6 ?* Y) }4 E0 V2 L
  1783. ;opcache.max_wasted_percentage=53 `" s6 {& M( F( F

  1784. 5 M% j- _/ O/ n& v" z/ E
  1785. ; When this directive is enabled, the OPcache appends the current working- @) H* q& E" f# L8 ]* e0 h
  1786. ; directory to the script key, thus eliminating possible collisions between9 V6 o5 o) c" ]" j' f7 q
  1787. ; files with the same name (basename). Disabling the directive improves- ~& k- p' R4 W: c$ s$ n: O
  1788. ; performance, but may break existing applications.) U9 ?) i( E" P/ `! o% z
  1789. ;opcache.use_cwd=1
    6 w0 H4 l) p9 c  Q, {" e0 j

  1790. # B6 e2 e: E# K3 h% s
  1791. ; When disabled, you must reset the OPcache manually or restart the0 o) G( _! i) U8 ^8 {4 w( E
  1792. ; webserver for changes to the filesystem to take effect., G9 v% s8 h# b1 P9 v( ^. M6 ~
  1793. ;opcache.validate_timestamps=1( z3 |( c  Y" P2 |! J* B
  1794. , H2 l, H) Q/ y) B$ T1 q/ J
  1795. ; How often (in seconds) to check file timestamps for changes to the shared: l" M1 ]1 J* k' H
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ; e; c5 _# K: R" W  L9 J) v
  1797. ; once per request. "0" means always validate)
    / a& ^( G% V5 w: w" Z: o$ v5 z# c
  1798. ;opcache.revalidate_freq=24 q' Z# p: P- d: @; s
  1799. $ b- `% ~+ t1 }5 P: b% I+ n
  1800. ; Enables or disables file search in include_path optimization
    6 U# d. f) ?6 t6 F# u! K( Z
  1801. ;opcache.revalidate_path=0  a5 p. [/ ?- B, s: v# A

  1802. % s6 z6 u  K7 b* i$ ~
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the3 k6 ^% m! t0 r/ i: c% J
  1804. ; size of the optimized code.
    6 j2 z/ E( O) C5 r9 ?' S; |
  1805. ;opcache.save_comments=1
    # E- d: w5 o" }/ B
  1806. 9 y4 H! X% P' j6 B
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code6 ?6 N9 b% E/ v3 i. j
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities." F2 O2 L& Z+ a, s" B' i) ^5 X5 M
  1809. ;opcache.fast_shutdown=06 K; j) s; ]. V  z

  1810. % N) v9 i. @/ z: X
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    . R" a$ g0 a! K( s1 X
  1812. ;opcache.enable_file_override=0
    . s: F: B" m/ b$ e. X, v0 c' w( f6 s
  1813. 3 ?3 i  F  D# Y* }1 H
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    0 m' ?  h. ^7 z  l! {( R) \
  1815. ; passes0 X" S& s% ], s. }# N8 I8 l" m
  1816. ;opcache.optimization_level=0xffffffff- D2 W7 j# A; W$ C
  1817. 1 {+ Q8 @$ |# a: Z8 w
  1818. ;opcache.inherited_hack=1' k$ w) e( ?7 p# ^$ v
  1819. ;opcache.dups_fix=0
    * A3 S. H5 M! c' W: ~9 h
  1820. 2 W  f! k" X% @1 H
  1821. ; The location of the OPcache blacklist file (wildcards allowed).2 B! v; E! F. O3 P
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    / r+ P) a6 z2 T4 v' v* d8 }
  1823. ; that should not be accelerated. The file format is to add each filename8 o6 ?* K1 b! ?3 _) D
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " L9 D' X5 g& {  I# t* q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ) ?. q4 K% A$ }5 W7 n& G; s6 H
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).4 c6 F1 Q4 B& U" X: E4 o& Y
  1827. ;opcache.blacklist_filename=0 A9 Y# P0 |( G8 p0 e/ m/ H  V
  1828. . r$ y5 e' n2 J( T: s
  1829. ; Allows exclusion of large files from being cached. By default all files
    6 |  s& k; I9 Z% z+ d& H3 |
  1830. ; are cached.8 d( n* K% A$ k- H9 s1 R; a! k; g
  1831. ;opcache.max_file_size=0
    3 X* ?% A1 c" E6 N& p7 C! l, w, e

  1832. 5 n9 n; Y  }/ ^. b  |( S2 c4 l! N
  1833. ; Check the cache checksum each N requests.5 `8 e8 Q' ~8 L' W  K% B1 K/ [
  1834. ; The default value of "0" means that the checks are disabled.. X5 ]7 R: x4 Q6 L, p
  1835. ;opcache.consistency_checks=0
    % w. m; _; K) n6 E4 V# q

  1836. - Y3 H0 Q% g5 j. E2 l& X
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ( w8 u* I* @7 j( b
  1838. ; is not being accessed.
    + M8 ]6 v7 P2 ~0 k5 s* G$ ?* p; ]1 ~
  1839. ;opcache.force_restart_timeout=180* t6 Z3 l" M1 r& N1 g1 s
  1840. * h7 G" Z3 {, \# P, g" [
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    6 h% L! _$ Q2 a9 Z
  1842. ;opcache.error_log=
    " V2 X& n' [5 `/ }% G1 x

  1843. 9 A! @7 E3 O4 B: Z4 N& h
  1844. ; All OPcache errors go to the Web server log.
    5 a/ \( ?) `$ {4 j
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    # D  Z2 X! m; C0 p, M8 m5 p! |
  1846. ; You can also enable warnings (level 2), info messages (level 3) or: y/ E7 J6 n& d) f3 z+ b
  1847. ; debug messages (level 4).
    % ~+ o/ b$ _* y+ W, }/ P$ f5 i# S1 E
  1848. ;opcache.log_verbosity_level=1
    5 M0 P7 P* L$ d  H' f$ W7 \% I. v
  1849. $ a. }& {' ~( \4 |( _0 ~' g# D5 G
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.0 q6 c9 Q$ M' k/ [2 H" k$ I
  1851. ;opcache.preferred_memory_model=
    ! A. h% U, T" p+ X3 u7 t

  1852. ' W9 S+ Y& `" ?) y8 k* E9 h) G2 ~
  1853. ; Protect the shared memory from unexpected writing during script execution., J8 \9 ]8 U" ], y
  1854. ; Useful for internal debugging only.
    & W2 r- r+ }6 K& E
  1855. ;opcache.protect_memory=0
    6 L+ i7 s1 L: h" s* G
  1856. : E* e8 K& F7 R
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is+ m8 E+ m  z0 O5 c
  1858. ; started from specified string. The default "" means no restriction
    $ |5 Y/ L) k; Y% [9 p! G5 G
  1859. ;opcache.restrict_api=& F& q- u7 i2 |7 @, G
  1860. % V1 c, M. |. N2 n, H
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    % k* y# V7 `' V5 H
  1862. ; processes have to map shared memory into the same address space. This
    & Z, Z% y; u* d+ ?; r8 R/ [$ W
  1863. ; directive allows to manually fix the "Unable to reattach to base address"/ H" \' p. M1 Q; Y. T- R! F8 Z7 Z* E
  1864. ; errors.2 W' d1 d( B0 j& K+ S2 S
  1865. ;opcache.mmap_base=: q8 O' f0 t* s& `; G# u

  1866. 9 O* ]; Z$ [' D3 v- Y
  1867. ; Enables and sets the second level cache directory.+ K, ^  m& k. j  }
  1868. ; It should improve performance when SHM memory is full, at server restart or
    $ p! u1 A* b6 S4 k( w  M' ~1 o
  1869. ; SHM reset. The default "" disables file based caching.# N. k' l& u! u( [
  1870. ;opcache.file_cache=, I0 q# Q. i8 w9 M1 H
  1871. 6 {1 h* v: `6 [
  1872. ; Enables or disables opcode caching in shared memory.3 o; B4 v! S, Y
  1873. ;opcache.file_cache_only=0  p1 S% P1 n3 @( e- j6 L) E/ k
  1874. 3 D. ^6 b1 j0 J$ H5 m' b
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    0 C0 c/ [* B6 m/ l/ E& b
  1876. ;opcache.file_cache_consistency_checks=10 Z7 |% y9 o1 }* i% i

  1877. 3 [7 D3 G/ h7 {( |% z2 H% J& e, P
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to1 t- _, Y$ x: @- R0 |
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file9 w- Z- C/ L; U! y6 e2 k* G9 Y, G( b
  1880. ; cache is required." D# I. W6 w4 D0 ]* s1 v. B
  1881. ;opcache.file_cache_fallback=1
    1 T& Y  Z/ o. k
  1882. 3 g5 m$ B# h( v5 t6 k4 u
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    9 h9 O) c" E  E" }# r+ E
  1884. ; This should improve performance, but requires appropriate OS configuration.
    9 N9 m" w5 E3 c1 n0 t/ F9 B
  1885. ;opcache.huge_code_pages=1
    8 {0 F$ h% t( g6 u$ ^
  1886. 9 |) p5 |2 A. Q/ I. l( i
  1887. ; Validate cached file permissions.
    0 J/ q8 l2 O% _2 ]
  1888. ; opcache.validate_permission=0, |0 F. x. H! o
  1889. 5 _& a) |8 I# Q6 w
  1890. ; Prevent name collisions in chroot'ed environment.; C+ w  j2 L/ @: J
  1891. ; opcache.validate_root=00 O4 S; j* u& w, g; \0 h7 V

  1892. / I' x# j( p0 Q0 G* Q' Y5 F
  1893. [curl]. g$ Z4 c, _( U& X: _- L
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ( J! Q5 m5 ]" C/ |8 ~
  1895. ; absolute path.
    2 ]4 ~  Q7 L4 z2 J5 J1 s
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! A, i* e' K6 e5 L( E( B

  1897. 5 I/ R& a, e+ R
  1898. [openssl]
    - z& U7 i2 I' C7 z1 _' i/ n, g- K
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    4 S" k: Z9 y: L! O  l6 g
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should7 d3 @# k* {5 W0 a
  1901. ; not specify a value for this directive as PHP will attempt to use the
    9 @: a9 u  Z0 E$ h" ]
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    $ I. k6 F" l3 W7 a! K: `
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ ?) H5 i1 J3 i2 C8 J
  1904. ; option.6 @7 Q% J4 ?2 l2 |5 d. B
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 {8 {6 Y$ `+ ~
  1906. 1 N+ Q; `; g5 [
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    2 e6 h: }1 t' C" O0 b; M
  1908. ; directory pointed to by openssl.capath is searched for a suitable3 M. ?! @8 k9 h# `" @, n
  1909. ; certificate. This value must be a correctly hashed certificate directory.$ L6 A" u1 R% Q
  1910. ; Most users should not specify a value for this directive as PHP will! F3 \3 W9 w" ~# f' c" _
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    / G2 _! E& H5 [. Q* M- T
  1912. ; this value may still be overridden on a per-stream basis via the "capath": ~6 I' B) b9 ~% _: e+ k
  1913. ; SSL stream context option.. z4 m( [% z; @1 S
  1914. ;openssl.capath=
    $ A7 a$ \+ N* m

  1915. 8 c3 K; ]8 h; I/ c9 I6 b5 b+ L7 @
  1916. ; Local Variables:4 F! U0 A3 F3 e, b$ t
  1917. ; tab-width: 4, r; _* u6 \5 H8 J
  1918. ; End:
    + \! J1 c1 c; W0 g# v
  1919. % ~' g. B% _2 l6 a
  1920. ;eaccelerator
    , i$ Q8 x7 B- o& R- o$ C
  1921. : h* O0 l3 q) d/ ?0 H2 O" V
  1922. ;ionCube9 K# J: N2 F: F+ g
  1923. & d9 I$ O% I7 x4 E
  1924. ;opcache* n! J0 ^$ D# @- @6 X' p* o- Q
  1925. + n* Z! Q0 o1 G3 S2 n  G  \
  1926. [Zend ZendGuard Loader]
    9 K  r2 C! Z; ~/ c& m
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    7 W0 D! _: U1 Q/ u% g. ?
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so% Z, j3 y+ M3 ?$ l5 g
  1929. ;zend_loader.enable=1; ~8 L5 L0 }0 t& l( ^8 T2 K9 F' W
  1930. ;zend_loader.disable_licensing=01 b5 x0 ^, c" I+ R* }3 L
  1931. ;zend_loader.obfuscation_level_support=3
    ! _* J( C" K0 H. ?5 p; I
  1932. ;zend_loader.license_path=# K7 \; h8 h+ r/ @8 e( K

  1933. 4 q+ k% n3 d/ s! j3 A# a
  1934. ;xcache
    / Z( ^+ j6 [) h- K; P* {6 W

  1935. ' m* v8 f9 w; f+ d4 J
复制代码

+ J' q% S6 {! ~, {4 A% Y+ y" F2 e/ _
* Y( Y6 ^) C. ]( A
, I3 s( X1 d% o

/ O* f3 ^8 Q' J6 Z; I9 J
4 ~% u5 l4 {5 Y& Q+ T
* E% r3 K  x- G# H% T$ Y, c0 dPHP5.6版本原始设置
: h$ A8 h2 q5 J! u1 K# c" B
' W. z( m9 R, V. v% ^
  1. [PHP]
    $ x. W9 C0 t/ R7 T
  2.   ~' E9 S% u: p. }
  3. ;;;;;;;;;;;;;;;;;;;& b1 l9 e- h5 Q: l3 ]
  4. ; About php.ini   ;
    - l/ a/ S) Z" ]( J2 q
  5. ;;;;;;;;;;;;;;;;;;;
    9 {; g% l; Y1 s$ g
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! F9 |" S5 T7 Y) Z: m9 n
  7. ; configuring many of the aspects of PHP's behavior.
    ; U( B9 {5 t. R# `
  8. 2 R& ]5 R( r5 X! [9 M# B" K
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ; Q' x$ l# D* o4 n  c& G1 S
  10. ; The following is a summary of its search order:
    1 B, Z- \) A/ j! }& L/ ]$ D1 o
  11. ; 1. SAPI module specific location.
    % c  U9 G" ]4 Y' r2 T' p
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    : V+ X- Y) P5 K- V- D
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 X- |! L' N! E/ \$ F+ b' s
  14. ; 4. Current working directory (except CLI)
    - W% \* b! ^% d: A6 y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    * F( ]1 i. @5 U- i* V* ]
  16. ; (otherwise in Windows)
    ( o& Q  G, i3 C/ d% @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & M& j$ n/ L6 F& Q$ Q
  18. ; Windows directory (C:\windows or C:\winnt)8 y7 s& X6 x) p2 e" l/ d
  19. ; See the PHP docs for more specific information.
    . W% a; @) _9 H. S: v9 O
  20. ; http://php.net/configuration.file1 d+ |0 B% t% S) S: U- v0 _2 q! X

  21. ! X% {; f) v" H, q; E8 W7 ?" [
  22. ; The syntax of the file is extremely simple.  Whitespace and lines/ Y5 K. N# j( o0 t2 e; R7 Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 Y; u+ B3 X& I0 n# f2 z1 M
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 B) i) v0 X3 i+ L& e
  25. ; they might mean something in the future.3 \5 D0 ]- W" x; k

  26. , \% p! ]: g# n
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ J) P" r4 y( v8 \, }' `
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    " t! y$ ]: V4 f9 v, z# g( W% K
  29. ; following the section heading [HOST=www.example.com] only apply to
    + A1 d5 g* C+ p2 Q: m4 y/ o6 b
  30. ; PHP files served from www.example.com.  Directives set in these" H- B7 n. m' X0 ?
  31. ; special sections cannot be overridden by user-defined INI files or9 {4 }1 j: B3 [6 a, n
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: F1 e0 Z8 W* q7 k, i6 Y
  33. ; CGI/FastCGI.+ v) v+ i+ k3 T1 S% a& M$ Q, V  N
  34. ; http://php.net/ini.sections
    * ]; ~9 ?, a6 [! }/ Q/ t* ~

  35. * R5 e8 C( q5 R
  36. ; Directives are specified using the following syntax:
    * Z8 e5 D) y0 y
  37. ; directive = value* J$ R9 v. x# a1 m% [
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 R0 }% P5 ^. j) Y, U. w( {" A
  39. ; Directives are variables used to configure PHP or PHP extensions.  a/ U) Y+ E" ^4 _* h3 [4 k$ ^* l
  40. ; There is no name validation.  If PHP can't find an expected
    * {( i, S. x" `$ J& U
  41. ; directive because it is not set or is mistyped, a default value will be used.+ H. p5 d, f& u8 K* `) T* v" n8 [
  42. ! |/ b' V' N/ B( Q" f$ l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one( F$ E: U4 a% B/ Q  g: q
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression8 s: x6 u- i) B8 E. E( W* d
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a+ r- z* r) c# d$ H; h
  46. ; previously set variable or directive (e.g. ${foo})
    7 w. w% _1 V0 V& N( B) M& D

  47. 7 ^$ Z, ^; B1 z+ t  L
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    2 V" l5 |1 F; _3 s) D
  49. ; |  bitwise OR
      w( h4 B- ?! b0 \
  50. ; ^  bitwise XOR
    6 S" s1 B* B% Z+ S  V
  51. ; &  bitwise AND$ M7 k6 p5 n6 A& F2 j& j
  52. ; ~  bitwise NOT! u" q# v1 M; ]5 o
  53. ; !  boolean NOT
    * s( D' V2 }+ Z* }7 H" W
  54. 5 E2 o' b( [" x) z' J  R' d
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& k; b% D4 b" W- Y
  56. ; They can be turned off using the values 0, Off, False or No.; A4 a" B4 I" R# m$ ]! M# v
  57. 8 ~" r( X: o( R! N9 A+ v6 D
  58. ; An empty string can be denoted by simply not writing anything after the equal$ G8 ^. j3 P& @
  59. ; sign, or by using the None keyword:
    + o+ X) c9 O* ]5 J3 \; N) t

  60. ' m& j7 P( S- n2 Q
  61. ;  foo =         ; sets foo to an empty string
    3 M5 K9 [1 @5 _2 V/ {
  62. ;  foo = None    ; sets foo to an empty string
    + K. e+ r6 K& s2 ]% ?! e
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ! v' k/ o# b7 D3 [8 k& g: M

  64. : V  [5 i+ A& A3 G( \+ E
  65. ; If you use constants in your value, and these constants belong to a
    8 {/ l6 N3 x% n6 N1 E
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 J3 @$ m' L0 P
  67. ; you may only use these constants *after* the line that loads the extension.
    1 J8 o7 A; Z5 B) B8 f' a
  68. / ]; P( R& s: q7 R; V, b+ g
  69. ;;;;;;;;;;;;;;;;;;;
    , P8 s2 c' d  x1 ^
  70. ; About this file ;
    ; S! ~; Q# P7 ?( {
  71. ;;;;;;;;;;;;;;;;;;;( a. |5 M6 |# K' R
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  F7 w; f; m8 z& N4 I
  73. ; in production environments and one that is recommended to be used in
    " l0 Z; p: V" y; }. W- d
  74. ; development environments.
    . ~1 r1 J  B! s. f

  75. ; {# @' v6 W& T) |: a' P6 [
  76. ; php.ini-production contains settings which hold security, performance and4 P3 U& `! U, ?$ {+ r" Y
  77. ; best practices at its core. But please be aware, these settings may break+ d: M+ ?5 n7 M$ |' ^( C
  78. ; compatibility with older or less security conscience applications. We$ H! t1 h& ~$ H# U9 S* E& S
  79. ; recommending using the production ini in production and testing environments.- l% Q: z4 T7 M
  80. 4 Y( G! Q/ ?, g7 i# |5 L
  81. ; php.ini-development is very similar to its production variant, except it is
    + A+ C  @+ {% e1 O
  82. ; much more verbose when it comes to errors. We recommend using the
    ( C. O$ d( f1 @3 P
  83. ; development version only in development environments, as errors shown to
    " d3 L3 |  v4 ^
  84. ; application users can inadvertently leak otherwise secure information./ L. X/ v9 j" y  ]; P! u5 R7 v5 b

  85. ' ~( ~# A9 n, f$ H/ o, f: o
  86. ; This is php.ini-production INI file.* N) V7 @. B$ E9 d4 s  c; U; D
  87. - H" ]' i' `1 l4 k, l/ J
  88. ;;;;;;;;;;;;;;;;;;;
    # b* x& r4 o+ s( c; S7 I  A
  89. ; Quick Reference ;
    6 |1 c" G4 {. Z: L/ z
  90. ;;;;;;;;;;;;;;;;;;;
      p; v/ E! ?! W$ A: l: X9 c8 s* _6 J
  91. ; The following are all the settings which are different in either the production' E7 \1 U8 v* K# U3 w5 @2 v  V
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / ]( D1 Q+ X6 ?9 A( P
  93. ; Please see the actual settings later in the document for more details as to why! k% \! N  p0 C: d, y3 F
  94. ; we recommend these changes in PHP's behavior.
    % e6 @# d7 n/ {7 B; K/ q! f7 G
  95. 6 G5 R4 |, `# @6 V/ I5 U
  96. ; display_errors
    2 J% C3 K1 S, m4 N0 R" a& L
  97. ;   Default Value: On
    2 J& @3 j7 W- z3 z7 n# o- W  b) F
  98. ;   Development Value: On
    . ~% M' [. `* H9 S6 Y" c) G: k
  99. ;   Production Value: Off, `8 c2 F# [' C7 M8 A- T! h# D
  100. 0 y# l# |5 Z* z5 w5 c4 o8 Q
  101. ; display_startup_errors
    1 n  X4 i: l7 z3 f# I2 d! a: Z, r7 D3 a
  102. ;   Default Value: Off
    / H2 X! Q( `. |
  103. ;   Development Value: On8 ?2 S) F8 t6 d* p8 b5 F
  104. ;   Production Value: Off
    5 _! n: |* Y+ ?7 d# ?2 X% C
  105. 7 p8 @& V% K$ Q9 D" E) q
  106. ; error_reporting4 @1 d/ m9 i1 Q% W8 N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( {& y% }. z( r  t1 ?& J
  108. ;   Development Value: E_ALL
    , u& y9 M1 n4 ]% E
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      |& \$ M/ ?3 H8 |' W
  110. " U0 {: e4 n5 g5 H( ?
  111. ; html_errors
    ( A& d: }' g) Q- I, ?+ m- }
  112. ;   Default Value: On1 O) t: g5 Q5 f
  113. ;   Development Value: On
    ) ?5 U/ |" g. Q
  114. ;   Production value: On
    & M& ?1 a, _" w5 t/ J  o

  115. 4 E, F" `% m) C; s
  116. ; log_errors- V0 h) c/ z4 b5 o6 N3 O, G
  117. ;   Default Value: Off& K# A7 I6 i1 O: [
  118. ;   Development Value: On2 y' Z% b# L; D9 F$ k
  119. ;   Production Value: On
    9 v( t9 V+ M! j3 x# V% }4 I( D

  120. 1 q$ K( T( I; w, c# J
  121. ; max_input_time
    : a6 Y6 X6 ?: t; |% ~' s+ B
  122. ;   Default Value: -1 (Unlimited)
    6 {/ s$ B) e. _% r/ Y
  123. ;   Development Value: 60 (60 seconds). B+ b. Y$ O0 s+ b
  124. ;   Production Value: 60 (60 seconds). t) A1 j2 i+ |

  125. , d4 ?& ?) l. a6 Z5 {
  126. ; output_buffering  u- O3 U# S1 k" R% x# l2 P
  127. ;   Default Value: Off- S4 R; E1 F& M/ L9 V' ]" L
  128. ;   Development Value: 4096
    9 w1 Q# z; }* s, K- U9 B9 B
  129. ;   Production Value: 40966 d) K  ?* a* T% S1 v* m/ b5 O

  130. 9 ]* z" B- T: w- `) A! ^4 Q7 K
  131. ; register_argc_argv
    2 o" U) @' U. D
  132. ;   Default Value: On. Y' Q/ b. |" M) |5 |2 m
  133. ;   Development Value: Off* R) x/ q- J$ y2 G
  134. ;   Production Value: Off
    " h# l" @: [3 P2 S3 {; V

  135. ) E! Y9 U) R9 n, `3 {4 j/ ~; y; p8 v
  136. ; request_order/ i( U* Z/ I$ m  g2 @, Y2 ^
  137. ;   Default Value: None
    6 V$ H1 i( S! L1 z6 u+ s
  138. ;   Development Value: "GP"
    + c1 f; K5 K1 \9 O- G( L
  139. ;   Production Value: "GP"
    . c8 E+ S) W* i8 h6 d+ i+ W

  140. ) S8 m: F% v3 j2 q9 ]* x( r
  141. ; session.gc_divisor
    ; }! u6 y7 G6 B7 F4 M
  142. ;   Default Value: 100
    % ^. Q" }0 j. p% M0 j& X4 G$ ]
  143. ;   Development Value: 1000
    ; y) A( F+ C6 z
  144. ;   Production Value: 1000+ V0 s% u, l5 h4 K& T1 H3 ]# Q

  145. 6 d. Q. _. s, ]$ y& o; d
  146. ; session.hash_bits_per_character3 m) k' J- T3 Q) `2 w* S
  147. ;   Default Value: 4! f# n- z8 h8 Y# x! K6 e4 b( M
  148. ;   Development Value: 5
    ( k  F) ]8 |8 X: Q& ]( ]% Y2 e
  149. ;   Production Value: 51 P9 v# n; V5 e8 p( e5 G3 @

  150. ; M& T- K9 w) Y- g
  151. ; short_open_tag, }# z- r  R4 m* h& _8 Z% f
  152. ;   Default Value: On
    : ^3 T" {6 w) O3 ?0 N
  153. ;   Development Value: Off
    $ I, X0 p# c) H  U9 W' @. f
  154. ;   Production Value: Off4 w) y3 D5 u3 x3 o6 M" K

  155. 3 b& z  m" `! a
  156. ; track_errors# ?6 ]. T7 h8 B1 h& S% C7 Q9 Z
  157. ;   Default Value: Off
    ' A4 ~, Z9 |$ t" U4 c
  158. ;   Development Value: On
    1 c0 h  l' j# N
  159. ;   Production Value: Off
    # G/ ]; ^, u% N& x% ^
  160. . M# B0 I0 Y; }
  161. ; url_rewriter.tags1 H# k( n2 e* V/ n/ C& R  H
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 g3 o' c( i7 i7 t" e6 W% x  o7 E5 ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 x: \  W" w0 O: Q6 s( a2 v
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( k2 G6 W" U: ^6 n5 R) L/ P0 K9 v
  165. - v. g" {# [. A% K! S3 S9 n
  166. ; variables_order" N  k) n; b) d: K5 t6 k5 K2 ?" g
  167. ;   Default Value: "EGPCS": B3 _( V" s! f$ Y% R
  168. ;   Development Value: "GPCS"
    4 Q4 P) `4 t5 O9 h* R) I- Q* \. S
  169. ;   Production Value: "GPCS"% M0 ?$ Q: i) R

  170. & x+ f) x% u# r, A" H* C, b* H
  171. ;;;;;;;;;;;;;;;;;;;;
    + ?6 h! w  \, Q% e6 p! t' s
  172. ; php.ini Options  ;. u5 }+ Q1 v4 w1 N* u
  173. ;;;;;;;;;;;;;;;;;;;;
    - w4 \) c; z7 e+ K
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 ?/ z6 J1 _) y8 U" G* l2 ^  p% y
  175. ;user_ini.filename = ".user.ini"& Q' u" X- B5 \: g0 w) J

  176. & }, p4 H/ o+ o( ^) ~: h) o7 E( @! l
  177. ; To disable this feature set this option to empty value. M+ B! g9 ^" [. i
  178. ;user_ini.filename =4 d8 c5 y; o; U% Z

  179. ( W6 `( `) f0 a8 F- j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ( q+ f1 I8 X; a1 I% @- ?* N+ m( k# K
  181. ;user_ini.cache_ttl = 3002 G0 g6 M* y, h6 Q: u

  182. + u3 u' `' u) n
  183. ;;;;;;;;;;;;;;;;;;;;
    / ~2 u- G; [2 ]3 U9 g7 z, w
  184. ; Language Options ;0 ]( `# p0 d" x' W. n5 W8 i
  185. ;;;;;;;;;;;;;;;;;;;;
    ) T5 M- B. Z  c* p4 c
  186. $ E/ R! S+ S" ~% u$ |- f
  187. ; Enable the PHP scripting language engine under Apache.
    8 M5 R9 ~% g4 F* }' [8 F
  188. ; http://php.net/engine8 I0 x) O' s4 D5 ~  R9 }
  189. engine = On6 O" D- |9 k) U0 l, o
  190. 1 h5 [: Q. _4 a3 e2 {
  191. ; This directive determines whether or not PHP will recognize code between
    : c* Y5 E! y7 @- G) E2 o# i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    : ^. z5 h0 S8 V0 x4 g8 R
  193. ; generally recommended that <?php and ?> should be used and that this feature5 e; C, m# M8 l! X; T. `' Y
  194. ; should be disabled, as enabling it may result in issues when generating XML$ D5 }' c  Z+ g
  195. ; documents, however this remains supported for backward compatibility reasons.
    ; k- d, |  V1 K5 m
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + @# k# }7 {: y" B+ P2 l5 a
  197. ; used regardless of this directive.
    ; V) ~; Z' \) a3 w% {: h5 O
  198. ; Default Value: On
    $ f( Q9 f6 F( h4 E7 ]) w0 j/ z+ M4 Y0 p
  199. ; Development Value: Off% J4 p! K" W0 n! y3 X9 K
  200. ; Production Value: Off
    9 g" n+ [& h* ?4 S' u
  201. ; http://php.net/short-open-tag4 h' O# U5 Y$ V
  202. short_open_tag = On
    ) J5 s& y( ?3 V! ~" V8 \

  203. 2 s  d! _- F. V% O! e, ]
  204. ; Allow ASP-style <% %> tags.
    & s9 P9 n8 e; S; X# \1 c
  205. ; http://php.net/asp-tags5 W* K- e2 ~; A4 a9 @
  206. asp_tags = Off
    0 v( r) r, |% m& v9 k! W$ q

  207. 5 ^5 S  F% r' [. D
  208. ; The number of significant digits displayed in floating point numbers.& @) |1 Q/ Z+ h  l
  209. ; http://php.net/precision
    4 F+ j7 R  Y4 m/ `% ?$ ^0 D
  210. precision = 144 s5 p6 E) p  W

  211. ! ~7 s+ B9 U& j" B: L1 L' h
  212. ; Output buffering is a mechanism for controlling how much output data- Z% {/ S& X) I6 G
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    : `7 F" A4 V: L/ K% Z$ E! b, K  W+ y9 `
  214. ; data to the client. If your application's output exceeds this setting, PHP5 c( N, ^1 E& r$ r+ ~/ M
  215. ; will send that data in chunks of roughly the size you specify.
    4 a6 W. X% q6 W, N+ L+ q; `& W1 O
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    , h. ~/ y, m$ u4 z
  217. ; interesting side-effects depending on your application and web server.
    & P2 a! ]) N0 i; s  w
  218. ; You may be able to send headers and cookies after you've already sent output
    9 X5 [0 {) }. s4 }$ }" f. L
  219. ; through print or echo. You also may see performance benefits if your server is
    & l; `0 n2 e  [" I" w% q
  220. ; emitting less packets due to buffered output versus PHP streaming the output3 P! }6 \% N' v: j$ a% K) z
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( a% E) d$ m) n) C) w1 ?
  222. ; reasons.! L& s  P7 e6 X- c! F7 s
  223. ; Note: Output buffering can also be controlled via Output Buffering Control, n, u- O; o9 Y  A, L
  224. ;   functions.' |/ F. L+ I- P5 l! }
  225. ; Possible Values:; S, b% r2 G& l: ^6 }, W
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; ~' C: m! L/ z3 N0 a
  227. ;   Off = Disabled5 o  z# b$ c! [9 C# O
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.. @+ M8 P1 x4 j& K/ R0 C! P
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( S. l3 P+ {- b# d
  230. ; Default Value: Off
    ; ~) U* S( S  G; Y- K$ I
  231. ; Development Value: 4096/ s' B/ h) Y, r7 i  b
  232. ; Production Value: 4096
    ; j0 x6 b* X6 t
  233. ; http://php.net/output-buffering9 n7 s3 u) Z3 s, i/ Y$ n/ o
  234. output_buffering = 4096
    ' Q( T. U, T  F$ a3 g% B
  235. ( c, L& B" e: b% U
  236. ; You can redirect all of the output of your scripts to a function.  For
      t) M2 n: ~8 [8 ]
  237. ; example, if you set output_handler to "mb_output_handler", character
    - D/ R9 D9 a1 a) k
  238. ; encoding will be transparently converted to the specified encoding.
      B/ [2 |7 K( [
  239. ; Setting any output handler automatically turns on output buffering.
    % e2 t1 r( m, u0 p$ g
  240. ; Note: People who wrote portable scripts should not depend on this ini1 e. g- O) S% d! C* c
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    4 ~4 c9 _0 I+ x5 J4 \# W
  242. ;   Using this ini directive may cause problems unless you know what script
    $ w6 f( x4 Y- q; ~( y" p
  243. ;   is doing.
    * O; s4 u  O& p3 a( ?, M5 ^! G# {4 F
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". w4 i2 h) R& x+ v  O& z$ V1 d
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    3 g" z5 R% l: J# X
  246. ; Note: output_handler must be empty if this is set 'On' !!!!0 y, E! g4 u% i$ ~; S' \
  247. ;   Instead you must use zlib.output_handler.
    4 w3 |. U8 _0 d' \2 l
  248. ; http://php.net/output-handler
    ( E5 L+ ^& S' E% N! o( \' a
  249. ;output_handler =
    1 n0 O' @& |4 G. S1 o% n3 u
  250. 5 C9 }$ C4 f; E; s2 F+ P
  251. ; Transparent output compression using the zlib library4 w0 T$ e7 d! i4 {/ I- x2 l% X& f
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    * H  ]! s3 d5 f0 A5 o: v! t7 f
  253. ; to be used for compression (default is 4KB)
    ( i( V9 D3 {" E
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' L/ e7 \% ]) Z" {# {
  255. ;   outputs chunks that are few hundreds bytes each as a result of$ \8 ]$ w2 i( E
  256. ;   compression. If you prefer a larger chunk size for better, M/ F) r1 j8 u/ p: C2 N1 T) ~
  257. ;   performance, enable output_buffering in addition.8 [/ l0 {, I4 R4 S/ I" I  s2 U
  258. ; Note: You need to use zlib.output_handler instead of the standard# U; C' v& h) o# `3 M6 A4 ?
  259. ;   output_handler, or otherwise the output will be corrupted.
    , H2 e: @+ @+ F, Z1 w) y$ m1 E3 b) A
  260. ; http://php.net/zlib.output-compression9 X3 d8 f- F# v3 r1 u! ?
  261. zlib.output_compression = Off# V# @6 ~: n# N

  262.   @1 w; s! T1 e1 s% _9 I
  263. ; http://php.net/zlib.output-compression-level
    " ]. }5 D1 p" x; n
  264. ;zlib.output_compression_level = -1
    6 x: g1 N% K; i. W

  265. / {, _% F5 a2 y, U% w
  266. ; You cannot specify additional output handlers if zlib.output_compression; ]# L& Z5 u6 O2 D! O! H+ k- o- H
  267. ; is activated here. This setting does the same as output_handler but in
    ' A  q2 l( b0 j
  268. ; a different order.
    " G2 L) r7 p9 ~' z1 A( K" P; U0 a
  269. ; http://php.net/zlib.output-handler3 h" @  f  H! j. n( l" v
  270. ;zlib.output_handler =
    0 n+ s3 d+ [) S* Q9 `0 H6 K
  271. 3 r0 T9 i1 _# I# ^, u
  272. ; Implicit flush tells PHP to tell the output layer to flush itself1 }0 H% T1 g# _2 Y
  273. ; automatically after every output block.  This is equivalent to calling the6 b% [& C. X1 ?+ w! \  C
  274. ; PHP function flush() after each and every call to print() or echo() and each, X. Y/ x# D6 _. u* L) K0 r
  275. ; and every HTML block.  Turning this option on has serious performance
    ( [( D& Z" l* k5 {" i+ W5 i8 e$ G
  276. ; implications and is generally recommended for debugging purposes only.
    ! O2 U5 f! X1 b& Q, x5 ^
  277. ; http://php.net/implicit-flush
    , C8 V. ~/ R7 c, p! W
  278. ; Note: This directive is hardcoded to On for the CLI SAPI1 V9 r6 w% g8 j) o5 y8 h
  279. implicit_flush = Off
    * u; C" ^* e3 ~5 X) ^  U

  280.   m9 @0 T2 q) Z$ w
  281. ; The unserialize callback function will be called (with the undefined class'0 M' D( |$ N* P9 N2 K# A$ Y
  282. ; name as parameter), if the unserializer finds an undefined class# l6 t3 D3 _) V
  283. ; which should be instantiated. A warning appears if the specified function is
    * V/ p( e5 {: p5 @' e& g
  284. ; not defined, or if the function doesn't include/implement the missing class.$ o% q) o" A) E+ i
  285. ; So only set this entry, if you really want to implement such a
    6 e! J2 C: h5 [
  286. ; callback-function.
    0 m: P4 j1 k# C6 [+ J
  287. unserialize_callback_func =
    5 f9 o) c% B. I! V7 s( ~
  288. + R7 X5 Y3 G6 [3 T+ X
  289. ; When floats & doubles are serialized store serialize_precision significant$ H# X( h! L9 _
  290. ; digits after the floating point. The default value ensures that when floats
    1 s% J6 n5 v& x, e6 b/ ]8 b+ D) [2 u
  291. ; are decoded with unserialize, the data will remain the same.8 x9 [% z2 e! {& o/ s2 x
  292. serialize_precision = 17# g3 x6 S$ L7 F- H5 C9 p

  293. ( Q7 o# u8 R# E5 [" B$ u% a
  294. ; open_basedir, if set, limits all file operations to the defined directory
    + K9 B$ I, s7 k$ S4 y2 t9 {' A
  295. ; and below.  This directive makes most sense if used in a per-directory
    1 k/ Y  k& {2 r6 ~# R
  296. ; or per-virtualhost web server configuration file.' ~% ~! z6 \! ]2 k& U
  297. ; http://php.net/open-basedir
    9 V* ^7 O: z4 q, x! B/ y4 b( c
  298. ;open_basedir =
    ) u( v. L$ ~$ X: L
  299. 5 c3 b! A$ z, h1 i
  300. ; This directive allows you to disable certain functions for security reasons.! y7 A% X  H& Z1 b
  301. ; It receives a comma-delimited list of function names.# T( h* w: h3 O0 E& u3 V8 C
  302. ; http://php.net/disable-functions
    8 ], W8 J4 |4 {
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ' D6 z4 J' Z- H$ @; {1 }
  304. $ W. `  H: R2 c, ~, Q$ c- Q5 u
  305. ; This directive allows you to disable certain classes for security reasons.+ t& [4 t: I2 W3 u
  306. ; It receives a comma-delimited list of class names." Z' m0 d1 E5 v6 w
  307. ; http://php.net/disable-classes6 l/ H& H! o* U$ n
  308. disable_classes =& e. C$ @3 r! n
  309. % i/ w5 x! Z& Z- }% ?( g! u, h
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 P( [/ N. y) i8 ]/ t  ~
  311. ; <span style="color: ???????"> would work.
    , \, |8 F& h4 u
  312. ; http://php.net/syntax-highlighting1 r* t$ [+ L  N: q
  313. ;highlight.string  = #DD0000! |* X# {9 z2 b* f
  314. ;highlight.comment = #FF99005 f( J4 _4 e% d$ }  w! o
  315. ;highlight.keyword = #007700
    - S( {( O* B% P
  316. ;highlight.default = #0000BB
    2 K/ `9 R. A5 @6 d8 V
  317. ;highlight.html    = #000000: x+ ]; A/ I' ]: ?
  318. 9 o% u% C- q7 ~. W
  319. ; If enabled, the request will be allowed to complete even if the user aborts* b% U9 R# u% a2 x. F' M% x# b
  320. ; the request. Consider enabling it if executing long requests, which may end up! Z: _" q- z$ P' `
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ! i4 k1 S, _5 H0 t( y7 b0 j+ a* O
  322. ; is to disable this feature., C# v$ R0 ^2 x/ y+ @$ j$ @4 m
  323. ; http://php.net/ignore-user-abort
    2 q4 P* D4 j2 R# _, _' \1 S  l
  324. ;ignore_user_abort = On
    7 y# T! }; n$ k' g- e- d% j% a
  325.   }# c- Y; R4 P3 \4 U0 g
  326. ; Determines the size of the realpath cache to be used by PHP. This value should' N+ `- s# r# P! u& b
  327. ; be increased on systems where PHP opens many files to reflect the quantity of) H9 c( g8 c2 `6 M4 T, H# i
  328. ; the file operations performed.* ]' J- n6 Z% P
  329. ; http://php.net/realpath-cache-size
    : J; s9 W* |! N
  330. ;realpath_cache_size = 16k5 e8 ^- ^: c( m: M7 Z7 ]

  331.   j1 @' ]4 z, d* Q/ u
  332. ; Duration of time, in seconds for which to cache realpath information for a given- ]1 P$ v2 m' D
  333. ; file or directory. For systems with rarely changing files, consider increasing this. h& s1 t9 A8 R/ v2 K' b
  334. ; value.( _$ R0 w' R1 T- |
  335. ; http://php.net/realpath-cache-ttl" k) @3 o% H7 s& T# }; u/ d) G3 E4 l
  336. ;realpath_cache_ttl = 120: b  e' b4 L9 r$ `

  337. * ]( k' x+ u5 o- W, U$ m. _
  338. ; Enables or disables the circular reference collector.- z7 F: A: w" v: f& a* Z( H* w6 v
  339. ; http://php.net/zend.enable-gc
    3 O$ c+ {4 Z( w) B. r" c
  340. zend.enable_gc = On
    - t* z. \0 t4 a

  341. 7 C2 z( ?2 b) M$ v0 C
  342. ; If enabled, scripts may be written in encodings that are incompatible with, C: D4 j3 T4 M: N% C1 m9 u
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / ~( T% f3 ?1 s7 l# e2 Y* F( p# I) ?
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    " \3 f4 t2 j7 r
  345. ; Default: Off
    2 K8 |- s) h0 D! J
  346. ;zend.multibyte = Off) Z! o! [3 C2 b
  347. 3 E1 y4 \0 O* D  B
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    6 t% u7 T, F) o6 ^7 R- L! a
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 ~# n+ V; |( I- A* K  N
  350. ; Only affects if zend.multibyte is set.; @- \  B  Q  O8 E$ P2 |% x  S
  351. ; Default: ""
    - ~5 N9 a( I( a! y0 j
  352. ;zend.script_encoding =" f" q9 l6 k- Z& S' G2 K
  353. ; X: H) B/ s3 }, N, y) G9 i. n( N
  354. ;;;;;;;;;;;;;;;;;  J/ j# ^/ N' W" r1 o: U
  355. ; Miscellaneous ;5 X/ i1 p; A0 Z# y# M' @
  356. ;;;;;;;;;;;;;;;;;5 B3 a; b# v: b1 |5 n. _

  357. 7 e+ p4 j; s3 {$ l1 G% ?
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ) c! _1 Q, i1 x$ A- c) k
  359. ; (e.g. by adding its signature to the Web server header).  It is no security# U# {$ u' p. \
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ( L, d( L1 e. {3 p% S
  361. ; on your server or not.
    % z! Z. M0 P7 t: \& H
  362. ; http://php.net/expose-php5 z* g9 \' J  B5 c/ e
  363. expose_php = On+ k1 V( V: j; f& M
  364. 1 e' m6 n1 R2 ^
  365. ;;;;;;;;;;;;;;;;;;;  W0 l9 O. f. o4 z
  366. ; Resource Limits ;* f3 j; s& X; O" L
  367. ;;;;;;;;;;;;;;;;;;;* T  a- h* P$ W# G1 {
  368. # ?$ b: P9 n+ e$ W
  369. ; Maximum execution time of each script, in seconds2 v( O+ m- T1 r5 B3 O7 e
  370. ; http://php.net/max-execution-time" i6 H0 f1 b- D/ ^& h) m" V- P
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 V/ m/ h  d+ `' A2 ?' c! S
  372. max_execution_time = 300
    5 h+ r$ n  L( t$ g, W! w7 Z
  373. ; j+ H/ z( |+ T
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    5 F( n, W% a2 p# B5 ?+ \0 M( y& {
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 L! {( k1 l4 F  J- a
  376. ; long running scripts.
    6 k; S. p, w5 M
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    & `5 u; J8 W& h" \
  378. ; Default Value: -1 (Unlimited)( G8 I' _. g! m0 Z1 q0 e$ t
  379. ; Development Value: 60 (60 seconds)
    ( L  @+ }; s4 Z2 D+ Y
  380. ; Production Value: 60 (60 seconds)# t' y: [! a) h# L
  381. ; http://php.net/max-input-time: w5 W! h( h" I* M" M9 T& q: A
  382. max_input_time = 60" @! X& j8 W' S- \$ i% F: ?8 e- T+ H

  383. 3 e/ [  j; R9 U  w
  384. ; Maximum input variable nesting level
    ; @* n# Z% I1 k. ]& I
  385. ; http://php.net/max-input-nesting-level
    ( Q1 A* w% f4 r$ l% [- G
  386. ;max_input_nesting_level = 64: a% J$ X: B; w, T
  387. " O, p9 m+ p- t* R0 n
  388. ; How many GET/POST/COOKIE input variables may be accepted% z  |6 y. e+ \! ^7 O
  389. ; max_input_vars = 1000
    2 X# D$ W9 G3 F: L* \# e
  390. . }2 t% w, g: x
  391. ; Maximum amount of memory a script may consume (128MB)" f6 _* ^4 i/ ^: h, m! ]
  392. ; http://php.net/memory-limit5 ~3 Z7 D6 D4 |+ w
  393. memory_limit = 128M
    3 f* W9 v' w2 {' d, Z8 k

  394. " {6 ~- {* A* F% {" ?7 F
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; U/ s% i7 r5 ^+ N
  396. ; Error handling and logging ;
    3 v1 D9 l& n& }
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' [: w, [% p; u: L5 x: e' Z

  398.   J- p6 I9 B7 w8 w& r: U
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    1 `1 }% c* ]1 |+ K+ r) Y4 q% L
  400. ; it to take action for. The recommended way of setting values for this6 M4 z: ]1 O! `% c
  401. ; directive is through the use of the error level constants and bitwise
    3 X5 o6 N; X) A$ S; x5 _
  402. ; operators. The error level constants are below here for convenience as well as, b2 k1 r4 ]) q" P& C
  403. ; some common settings and their meanings.
    6 T5 u, A8 `( }0 @( h$ a6 |2 b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT$ n4 |; o9 e* s8 p! |/ I+ r
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" a* E2 G8 R0 ~( f2 O* Y
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    / S3 Q- a( y$ j/ Z$ t. G4 D
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    , a* w1 ?% C1 }
  408. ; resources complaining about best practices and coding standards. That's what8 B" R. _7 f1 ?3 S% c* ]
  409. ; development servers and development settings are for.) B& b  ^2 l/ t, R5 {
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    % j  y: q6 d4 o6 ^% W
  411. ; means it pretty much reports everything which is exactly what you want during5 l4 v9 W0 }& z5 ^
  412. ; development and early testing.
    / f  K4 S4 l' [- P
  413. ;3 i  L9 J. t1 v+ V0 X' c% Q# r
  414. ; Error Level Constants:7 x' \9 |; \. M; b
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    0 A& {0 n6 t8 x2 V% N% w
  416. ; E_ERROR           - fatal run-time errors
    9 S  s- g& B; s& e/ o+ {5 @( F
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 T0 @& K6 v1 }& e7 V
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    % w* B6 N& N+ e. U
  419. ; E_PARSE           - compile-time parse errors/ M3 h* y/ _+ c; L. G
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    % o4 j( G1 `% N. Y/ g
  421. ;                     from a bug in your code, but it's possible that it was
    ( q1 b1 k; b8 O: n4 }% L
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' @) e5 y8 ~! u& I8 L8 }! P7 y
  423. ;                     relying on the fact it is automatically initialized to an$ F( s6 V( g3 {
  424. ;                     empty string)4 ~  G8 E0 f, i% ?
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; P  M" r& m  z5 c3 O+ A
  426. ;                     to your code which will ensure the best interoperability5 ~; h; D  Q; V
  427. ;                     and forward compatibility of your code
    + d9 |; v' }  O
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup; V$ F$ I8 o; s: G* D
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's) k' Z; O. a& K& x
  430. ;                     initial startup) q4 z8 m5 S# U) s
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    . T3 _7 I6 |; k- H$ [" e
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * l2 ]& i1 V( C
  433. ; E_USER_ERROR      - user-generated error message
    3 z) i5 g6 M9 ^; }+ |" O/ e+ ^) R
  434. ; E_USER_WARNING    - user-generated warning message
    * h7 M# _2 g4 s6 b. [6 J, n# H
  435. ; E_USER_NOTICE     - user-generated notice message8 v9 }: B  t8 y7 ?. C3 a
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    & `1 L( T( a; U. R0 H- S2 E8 J9 F6 X
  437. ;                     of PHP! U3 `" Z" C- `2 F
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    3 X* ~! r; q9 j1 t* u' E% Z& T
  439. ;% s5 B" ?/ B* ~3 }9 p. f
  440. ; Common Values:
      x& `8 z8 h3 x
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)4 [* [2 S- k1 n$ X
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ S5 {6 E7 k' F
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 K! u$ ?9 @/ C3 |' U: F& i; f
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 f) D) |5 s- \
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 p# ?8 T8 ?. n
  446. ; Development Value: E_ALL
    " f% o2 M( c' ^& y! K& Q
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 C2 `2 p/ J# M8 G* e# I& \7 l
  448. ; http://php.net/error-reporting# b2 {3 i; L! }. `5 Q7 `
  449. error_reporting = E_ALL & ~E_NOTICE
      ^( D. a5 `5 Q+ L& v7 t# l8 Z

  450. ! C$ ]$ R$ v& w7 y1 |- `' z
  451. ; This directive controls whether or not and where PHP will output errors,
    * k1 C: Q( {& W1 E8 S
  452. ; notices and warnings too. Error output is very useful during development, but
    * G6 p2 |7 n) V4 O
  453. ; it could be very dangerous in production environments. Depending on the code
    / q6 ]( c' k. Z. f9 c: M
  454. ; which is triggering the error, sensitive information could potentially leak
    # g1 z7 |! S2 |; ^4 `, m
  455. ; out of your application such as database usernames and passwords or worse.
    & @. q% O: P6 _0 L. X; K
  456. ; For production environments, we recommend logging errors rather than
    ' C8 S3 H8 E; ^7 p3 ?. f5 ?
  457. ; sending them to STDOUT.0 D2 Z+ p5 V! o! d
  458. ; Possible Values:
    ; c* Z9 D. A( i; P9 f/ S
  459. ;   Off = Do not display any errors# D; c+ o8 D* l. t
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 U1 K4 \) K( u
  461. ;   On or stdout = Display errors to STDOUT
    6 k( o8 n% x& Q* g2 \9 |0 I# B- b
  462. ; Default Value: On# h9 C/ M, p/ W2 h0 D' Z* `6 d
  463. ; Development Value: On! l& e- a% B) D& {. n- E
  464. ; Production Value: Off- J4 F& m" r4 M% h
  465. ; http://php.net/display-errors1 Y8 t/ c) V! R5 k( j
  466. display_errors = On, n( x, M+ h9 T4 Q* n; T" B6 A& C
  467. ) M- f6 |- F6 T# }( S. N2 b4 J
  468. ; The display of errors which occur during PHP's startup sequence are handled
    7 l9 A% ?6 Y8 u. `& r  a" _
  469. ; separately from display_errors. PHP's default behavior is to suppress those/ l8 s% d$ _2 O1 ]
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    " x- E2 r4 ~  K; \7 L2 D5 s
  471. ; debugging configuration problems. We strongly recommend you2 y: Y7 C; _2 g7 K! S# u
  472. ; set this to 'off' for production servers.2 S3 D$ ?* O" [9 k0 H
  473. ; Default Value: Off% J6 U; _( H1 W+ n! g7 i, o
  474. ; Development Value: On. k' ]# V) H2 S# F) d
  475. ; Production Value: Off
    2 I2 `  |% K! p. _4 c4 B
  476. ; http://php.net/display-startup-errors
    2 g8 E- `* D, `3 p0 o9 C
  477. display_startup_errors = Off
    # s9 D; o- K# M$ m3 h6 m) O4 y
  478. 5 X: V: r% \' `3 B) }' y
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    + y; c4 w. {2 }5 ~4 c  p
  480. ; server-specific log, STDERR, or a location specified by the error_log
    / c" c) I! Z3 m& e
  481. ; directive found below. While errors should not be displayed on productions  }- I. n1 J! W6 w8 g2 O8 Q6 J1 A
  482. ; servers they should still be monitored and logging is a great way to do that.
    7 }9 d3 v$ C3 x' f5 H
  483. ; Default Value: Off- ]9 p7 B9 |, L9 E$ k
  484. ; Development Value: On
    ( B, `7 D& g6 G/ j! C8 o
  485. ; Production Value: On
    $ c* x2 S4 q& f! c
  486. ; http://php.net/log-errors
    & M$ W# x% K* h( m8 v2 M: e- ~
  487. log_errors = On
    4 }; m) F/ _+ h2 F* i0 O5 |, U  L+ r
  488.   s1 Q. L. @- @; s* q$ b6 O; _
  489. ; Set maximum length of log_errors. In error_log information about the source is4 [1 A( ?3 a# r- ^
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." r* s6 H& v3 ~  N# C
  491. ; http://php.net/log-errors-max-len
    5 m. o- k9 p4 H" u% L5 {
  492. log_errors_max_len = 1024
    . E6 M3 Y9 U- s* o% W  K9 n

  493. 6 }4 d4 E+ R7 U/ n5 Y. m! n# |
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    # }, t, j0 `% n- y8 d: r& n, Y$ v
  495. ; line unless ignore_repeated_source is set true.
    2 L* f) f: g. J: L3 C
  496. ; http://php.net/ignore-repeated-errors7 N. e; U+ g9 L2 R' z2 W/ x: a
  497. ignore_repeated_errors = Off
    & Z9 U$ ^5 U0 e* Z& \3 ?* h

  498.   P! ~9 E4 `$ e6 i; I
  499. ; Ignore source of message when ignoring repeated messages. When this setting! F% x+ j, a5 W  m
  500. ; is On you will not log errors with repeated messages from different files or4 w6 w; L4 N2 Q) j; }
  501. ; source lines.
    % y/ y1 c8 }  q8 V+ ]- n
  502. ; http://php.net/ignore-repeated-source
    . _, x- P3 y( ]) @# k
  503. ignore_repeated_source = Off
    * r* K2 u0 ?2 A8 l! ~" |  y7 a
  504. 9 k/ z( T% }- P9 [6 R
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on; L) [8 h9 Q0 ], ^( ^, I' V1 `' p5 V
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    $ S+ g& f4 W/ f6 x
  507. ; error reporting includes E_WARNING in the allowed list
    # n, F$ r2 T; U
  508. ; http://php.net/report-memleaks
    ( e# m2 F9 F3 X1 W
  509. report_memleaks = On" [. L; z+ y/ M! V6 s
  510. . ^$ p+ M( \+ Y% z
  511. ; This setting is on by default.
    $ B9 N- g4 G9 X7 @0 |2 `
  512. ;report_zend_debug = 0# W0 P3 j& J+ U, A3 r
  513. ! i8 C5 e; r- ]
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    + q( E% q4 W( t9 ^: l
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ! k8 n: }2 u! n1 B
  516. ; however be disabled on production servers.4 B6 I5 C7 H1 }
  517. ; Default Value: Off
    , B4 g$ L# R" @+ {0 n. a
  518. ; Development Value: On
    ' O5 n1 A  K7 [
  519. ; Production Value: Off$ u4 |" _( y9 |# _4 g
  520. ; http://php.net/track-errors
    ( ^0 R3 N; s8 [! i
  521. track_errors = Off
    0 G7 B+ u! _" u+ H$ I/ q" C/ a

  522. - w2 F. f( x; n2 D  V* I3 A) W
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    9 T# G/ F5 K0 Z) _0 M
  524. ; http://php.net/xmlrpc-errors
    2 K% \8 t  [, Y3 T) ~
  525. ;xmlrpc_errors = 0
    + [: T9 N% o( g5 U
  526. 8 L& s* X" R: F' {
  527. ; An XML-RPC faultCode
    1 T& d% ?# H2 v
  528. ;xmlrpc_error_number = 0% |6 H1 R  @* t8 Q$ K8 s; m1 X3 b
  529. , g- |+ l: |- T! S( y9 w  x
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - n) J, \6 q( F  {
  531. ; error message as HTML for easier reading. This directive controls whether
    ' s% D; t" w# Q5 x4 b2 R  i
  532. ; the error message is formatted as HTML or not.
    / [: N, v6 M. s
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # ?2 z4 Q0 m5 D- I6 I3 u
  534. ; Default Value: On
    , s: s! n" H# S) s2 B4 [
  535. ; Development Value: On
    6 ?# H) z. p0 L$ T2 g: f
  536. ; Production value: On, ~  [* G8 g  g3 V
  537. ; http://php.net/html-errors( G0 Z# j1 |: Y* l
  538. html_errors = On  u' u- _& ]( g8 @

  539. : E# O4 I" k* c4 L
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP8 V  Q8 \1 v3 F& h& _2 }& q0 S
  541. ; produces clickable error messages that direct to a page describing the error
    - j2 i  y& t) j* v1 N- d
  542. ; or function causing the error in detail.
    # V3 n8 G4 L; D3 O; Z! r
  543. ; You can download a copy of the PHP manual from http://php.net/docs+ O1 Q  q% k* e9 |
  544. ; and change docref_root to the base URL of your local copy including the
    - F2 A( }. N8 W% c. J" L2 F
  545. ; leading '/'. You must also specify the file extension being used including! @! A7 p. z2 A7 \- F5 @
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which6 n( A( Y3 G/ Y0 s4 j9 B
  547. ; case no links to documentation are generated.7 m) G& c5 }( c
  548. ; Note: Never use this feature for production boxes.
    4 P  P4 V! B6 x/ J
  549. ; http://php.net/docref-root
    / {! b: u4 r& U* Z4 v
  550. ; Examples9 B: H: o3 g( F. L- K# f
  551. ;docref_root = "/phpmanual/", G( ]+ V6 ^2 E6 O' U6 e. z) n
  552. & v% N9 H8 V1 f1 y! v
  553. ; http://php.net/docref-ext
    ' E1 B4 ~  w: r1 K6 J6 J
  554. ;docref_ext = .html7 q. R. g  X9 T# b1 }) Z

  555. ) T: x$ Z0 B/ ^* S
  556. ; String to output before an error message. PHP's default behavior is to leave) U/ O' z9 U% e
  557. ; this setting blank.
    1 A$ _  c. U5 ]+ [9 g
  558. ; http://php.net/error-prepend-string# K$ i) E  m* ?
  559. ; Example:
    1 I( u7 m: h" v- H, O6 k
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    & o8 _! V& ^1 d& x# O

  561. 7 s- ^1 c) i# k2 U: W$ n
  562. ; String to output after an error message. PHP's default behavior is to leave6 q% C, C8 n8 {) d- p
  563. ; this setting blank.
    + K( q7 u/ k' M! L) }( M8 U
  564. ; http://php.net/error-append-string
    - V3 Q' \: R# i/ d, S7 u2 L/ A
  565. ; Example:
    ) X# g% X# c2 y( t% R+ C% ]' K  i" o
  566. ;error_append_string = "</span>"
    2 ^9 k0 r. y) g4 U2 n: J) E5 E

  567. 4 t! Z7 ^& O" a
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    - c5 \& N) s% {$ {
  569. ; empty.# g. P3 f, N' y
  570. ; http://php.net/error-log
    . }' M$ h; r2 t- L8 ?
  571. ; Example:0 t* `. K4 T2 h5 D/ t. H; p/ g. g
  572. ;error_log = php_errors.log
    & n2 Z3 d+ F3 C' d; s5 m- i
  573. ; Log errors to syslog (Event Log on Windows).
    # g; W0 X- W  I2 A; i$ O
  574. ;error_log = syslog
    0 [' K4 X! H/ `8 T. H

  575. , O9 @6 R, u2 l3 z2 }2 [# `
  576. ;windows.show_crt_warning$ Z8 I) ~5 @; b5 F2 t; h. h+ ^
  577. ; Default value: 0+ @0 D1 s! J1 S$ s0 G
  578. ; Development value: 0
    6 A# O  T9 ]$ K* S' l
  579. ; Production value: 0" d6 |- m: l4 w3 }# x+ W
  580. 8 k+ N% t" W0 h9 q+ ~! C- h+ T
  581. ;;;;;;;;;;;;;;;;;
    5 e( p: V  c& r, `' N0 X
  582. ; Data Handling ;
    % ~: O& O$ {, i: E% z* C* I. @- [
  583. ;;;;;;;;;;;;;;;;;; \& V; t" O7 W+ X
  584. ; `" O. u# Q: i) J! `
  585. ; The separator used in PHP generated URLs to separate arguments.
    6 Y( d3 w2 [, j- m% d+ c
  586. ; PHP's default setting is "&".- I+ R! H" k+ }2 L9 x2 Y' U! l
  587. ; http://php.net/arg-separator.output8 ]5 i0 |3 q: W( t" s6 r
  588. ; Example:/ b, {3 M8 W4 Q0 n2 U# u) D
  589. ;arg_separator.output = "&amp;"$ s) _8 V  O& r+ }' I7 f' h
  590. 7 I% k* I% {& Z! T
  591. ; List of separator(s) used by PHP to parse input URLs into variables.. y. q) h& m4 q0 r
  592. ; PHP's default setting is "&".% U2 i: m1 @9 S. z- J, I$ e$ [
  593. ; NOTE: Every character in this directive is considered as separator!* }$ A2 [& W+ P; h
  594. ; http://php.net/arg-separator.input4 O+ y) t8 f5 V& q; u
  595. ; Example:
    " D9 E$ v3 a. h; v7 s5 P
  596. ;arg_separator.input = ";&"
    ( k4 |' V9 I0 \. y

  597. . ~3 m  ]: T) z. G, Y
  598. ; This directive determines which super global arrays are registered when PHP* g9 n2 V; t) Z, g$ I# k: V, \
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super, H, Q6 e7 K2 C+ k1 C; u1 F( b
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' v$ m" K/ q( U4 b3 \- p
  601. ; paid for the registration of these arrays and because ENV is not as commonly0 a" w& I9 K# f9 j
  602. ; used as the others, ENV is not recommended on productions servers. You0 T8 k$ g2 r2 ^% _3 k) f3 Y
  603. ; can still get access to the environment variables through getenv() should you. m0 y1 r, R$ `, U( D' }
  604. ; need to.1 t$ n2 Q1 H) W  E, u2 i
  605. ; Default Value: "EGPCS"
    & j0 c" W3 h, ]' R
  606. ; Development Value: "GPCS"
    + F& ^  q2 U  ]" y; [" j
  607. ; Production Value: "GPCS";
    # X* l' o. Y% n* @) \
  608. ; http://php.net/variables-order
    ( g8 j. f+ a% V9 [
  609. variables_order = "GPCS"5 t9 g2 k; f' e; @( p. J* v

  610. ' x% n" z7 K, t, J9 ^% k
  611. ; This directive determines which super global data (G,P & C) should be
    5 A% C* l- ^1 i. N6 v$ H( V" G
  612. ; registered into the super global array REQUEST. If so, it also determines
    6 M. N  Y% t5 i! j' v
  613. ; the order in which that data is registered. The values for this directive
    6 v/ o; j# _  ^$ S
  614. ; are specified in the same manner as the variables_order directive,
    , g$ m0 k& E- P0 u9 g  Y1 x! v
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    8 d  M8 r9 x9 y% k
  616. ; in the variables_order directive. It does not mean it will leave the super
    ( s2 h3 j: {7 O! b. O
  617. ; globals array REQUEST empty.
    0 |4 J' N! ~$ c' f  K# ~. w
  618. ; Default Value: None
    * R$ f, }2 y+ K, A2 p  z* A/ S4 m
  619. ; Development Value: "GP", p8 D" ~! O. P# A" V5 s- [
  620. ; Production Value: "GP"
    7 z2 ?8 j4 h. [& X
  621. ; http://php.net/request-order
    5 r9 `3 g5 a. {% L1 F) P9 `
  622. request_order = "GP"
    # }( L7 }! h8 T* ?

  623. * Y3 s$ q! }/ x$ }! q
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    : R/ ]7 ?5 ~; V) z
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script" n$ G# w& J, B9 A2 m0 z& b
  626. ; is invoked. $argc contains an integer representing the number of arguments- K+ U& b5 U8 o6 g. u
  627. ; that were passed when the script was invoked. These arrays are extremely% ~/ c0 V) u* w
  628. ; useful when running scripts from the command line. When this directive is& n" l4 c. B% `' V( L
  629. ; enabled, registering these variables consumes CPU cycles and memory each time& z& U+ d# F: X& ?) }2 _3 g  G
  630. ; a script is executed. For performance reasons, this feature should be disabled0 U/ m* G8 ]$ q1 i7 J; w. D
  631. ; on production servers.6 n- Z& v, ?! k  }6 I  d
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 M1 p  p6 N9 f; A
  633. ; Default Value: On( t7 s) \7 M' _; X6 y( j
  634. ; Development Value: Off- v. j3 C3 ?$ Q' j% v
  635. ; Production Value: Off, \. a+ `0 Y' p* N0 ]
  636. ; http://php.net/register-argc-argv
    8 A2 ?% ?  x4 [! n0 t: C
  637. register_argc_argv = Off0 G0 k  |) |0 R" o) m# N# U& V
  638. 1 _3 l' W  F9 u7 i' }; E0 M
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    2 A; c* v( V$ X/ a2 u
  640. ; first used (Just In Time) instead of when the script starts. If these
    ; W6 j2 b% Y7 Q! e
  641. ; variables are not used within a script, having this directive on will result
    . ]/ u1 D) _: O7 F+ o3 I, a8 z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 ^' Y4 d2 d* t( l4 t) A
  643. ; for this directive to have any affect.
    4 R! z9 {( X1 q- s
  644. ; http://php.net/auto-globals-jit
    5 b6 ^, O8 j$ k; Z7 }
  645. auto_globals_jit = On
    6 w. E" E" `/ W; _
  646. + i$ b, y* c2 Z- Q* ?1 L- F
  647. ; Whether PHP will read the POST data.
      A' [2 u4 @/ U( j
  648. ; This option is enabled by default.& S8 _% k7 p- a# J0 V4 U
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 a2 R& p* e- g) b% E0 S
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    2 E' h% I) H# _0 a
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    7 |& r: }6 U3 [( Z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.' t! p9 c3 i* |2 c" Z% O3 N4 c
  653. ; http://php.net/enable-post-data-reading: Z" _# D6 ]$ X  p' Y& H% ]
  654. ;enable_post_data_reading = Off; y. k* g) v- N2 J& o

  655. 9 H8 a5 r. O4 Q0 `
  656. ; Maximum size of POST data that PHP will accept.* \( R! f# ]! |! z/ J3 f
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ Q! |9 O( b! x  v
  658. ; is disabled through enable_post_data_reading.& N/ A! y7 n+ m; H1 O2 M- ^+ X
  659. ; http://php.net/post-max-size
    + [  z. D  e0 P. S5 a# T$ R
  660. post_max_size = 50M' j) y$ [- d4 A, E6 C. W7 t: ?: a) h9 S

  661. " ]/ B# P+ h# n; \, R( J/ O
  662. ; Automatically add files before PHP document.
    4 J" d2 W$ T1 T. R6 t
  663. ; http://php.net/auto-prepend-file
    ( u; {0 L7 }' ]. @; w
  664. auto_prepend_file =# p7 S' m5 \( d
  665. % w* @0 A$ o8 u6 H: T1 u
  666. ; Automatically add files after PHP document.
    : R9 c0 ^" R" v) |
  667. ; http://php.net/auto-append-file3 `" F5 x3 y$ v
  668. auto_append_file =
    $ G/ P/ c7 t7 E9 @
  669. & \2 `' j- O: v
  670. ; By default, PHP will output a media type using the Content-Type header. To3 r  w5 J; b; b3 N/ c' Z" @5 Z
  671. ; disable this, simply set it to be empty.
    * X8 o  ?' J. W4 f5 z/ J* ^
  672. ;
    ' w# @  ^* |* ^: v. j' |( V' M
  673. ; PHP's built-in default media type is set to text/html.
    $ r" K4 R& G1 S7 q2 v
  674. ; http://php.net/default-mimetype
    8 d( W; B' M% I% ?1 g, X5 w
  675. default_mimetype = "text/html"
    + m. a" z5 F% O7 @- F+ }$ P* r
  676. / ]5 y; \5 L& [! H" G2 Y
  677. ; PHP's default character set is set to UTF-8.* m/ u) A7 R7 j- _% {
  678. ; http://php.net/default-charset3 Y3 ~7 H' b) `" w
  679. default_charset = "UTF-8"+ D+ K+ [7 c5 [/ d. H6 i
  680. 7 o! `' v/ O# g" h
  681. ; PHP internal character encoding is set to empty.8 l$ i. |6 {% `
  682. ; If empty, default_charset is used.  C7 \2 |0 d8 M* E9 q3 I+ n; e
  683. ; http://php.net/internal-encoding
    ) b( {/ ?/ A* C$ T7 `8 ^
  684. ;internal_encoding =
    9 g9 V" Q. k7 p* ~9 [( J
  685. $ \0 Z, q  T! ^" j& e
  686. ; PHP input character encoding is set to empty.
    + J8 o: r7 s$ E
  687. ; If empty, default_charset is used.
    ; m+ F  W: f6 [: L
  688. ; http://php.net/input-encoding2 P  w# p$ h6 p" f( C& `! s  G
  689. ;input_encoding =
    9 p8 q5 ?  I* X+ w1 J

  690. " |+ \! O( c3 ^. D
  691. ; PHP output character encoding is set to empty.' _9 l# i1 y9 S; Q& E
  692. ; If empty, default_charset is used.
      R! C6 n/ c, p* U* {7 G) E! z
  693. ; See also output_buffer.
    : W' c5 v* l: X. {7 @9 |+ Q
  694. ; http://php.net/output-encoding
    - r- q. K) r7 \0 v& a# M: H: n
  695. ;output_encoding =
    ( w0 s" l% }8 H- H5 [! u8 O
  696. 8 J8 y/ `, l7 I7 [! }2 _! l; H
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is/ I. l1 ]- X. i& Q1 C5 j
  698. ; to disable this feature and it will be removed in a future version.' x; @( D' t" `" O% C
  699. ; If post reading is disabled through enable_post_data_reading,
    + H& P  ~4 h' m
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    " m& o$ a" g( ^( o# f3 n$ |) ^1 Z
  701. ; http://php.net/always-populate-raw-post-data
    / t+ h! L) _; }
  702. ;always_populate_raw_post_data = -1
    ; S0 V: Q6 \0 V
  703.   t! y1 Q0 d! Z$ b3 C. {
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 [8 ]* H. t" Q" n5 c8 G
  705. ; Paths and Directories ;# `" W3 G3 P7 c+ M% Q/ H
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 g- D3 l9 C/ x+ w

  707. . f7 d7 X; ^% }! s9 w7 _
  708. ; UNIX: "/path1:/path2"1 n9 R0 ], W- o  u) B* }
  709. ;include_path = ".:/php/includes"  ^( U7 `. I, _  w1 {3 B( [
  710. ;2 [! u5 k5 y  t# b
  711. ; Windows: "\path1;\path2"
    5 i! j9 [* V# l( t# o
  712. ;include_path = ".;c:\php\includes"
    % F1 H: |4 t! J* e* J' N
  713. ;" M3 k9 n; N4 R" U" ?+ S  |9 Y
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : o: Z; t" @6 _
  715. ; http://php.net/include-path# j# [5 T6 O. ~# s

  716. ; g; ^& z8 ~( O6 w
  717. ; The root of the PHP pages, used only if nonempty.
    8 H/ Y% G" W. |5 |$ n4 M
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ) `/ q+ u& h! I  j7 u
  719. ; if you are running php as a CGI under any web server (other than IIS)
    % @- w, J- Q* e$ S7 a6 G
  720. ; see documentation for security issues.  The alternate is to use the; b" A5 r4 t9 X5 P* @4 P
  721. ; cgi.force_redirect configuration below
    ( n+ V7 A& ^% T7 Z$ r
  722. ; http://php.net/doc-root0 C2 s: c/ Z7 {9 Q
  723. doc_root =
    $ p' V3 j! ?" C0 f$ E, [

  724. 9 h5 n- S# ?' O; r6 ^' c; n
  725. ; The directory under which PHP opens the script using /~username used only" o* v) F) Y6 c9 I8 h) W9 W- v
  726. ; if nonempty.
    3 \3 i; J# \+ }; k8 k9 [
  727. ; http://php.net/user-dir
    - q. D# g& m; q0 o
  728. user_dir =
    4 v" t' m( K1 m$ e0 {  g) @
  729. 1 l0 q4 g1 p! j% q8 p0 Q
  730. ; Directory in which the loadable extensions (modules) reside.
    . ?0 [$ `# B7 J# B- ?6 e
  731. ; http://php.net/extension-dir  `( w4 W1 i# N! l. Q
  732. ; extension_dir = "./"  a" q9 B. J3 M+ N4 ]9 T; W4 @( C
  733. ; On windows:
    . s* R3 R6 J! j* M
  734. ; extension_dir = "ext"1 k* m5 I8 i- `( E
  735. 5 ~2 ]$ T  S  |8 d2 k. C
  736. ; Directory where the temporary files should be placed.
    ' R1 [( k2 Q& U/ E6 e' p" }) h4 k. d
  737. ; Defaults to the system default (see sys_get_temp_dir)
    1 `4 Z4 Y" |& ~% M; ]
  738. ; sys_temp_dir = "/tmp"
      i% ?0 Z; ~  U  U8 T0 P, C9 J9 ?# F
  739. . o; N* p4 }/ J) J  B8 g
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , d$ z& [6 x( m0 c5 w  }( n
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically3 g; B+ T# _5 l
  742. ; disabled on them.
    2 N8 W! {3 R/ i4 T; ^
  743. ; http://php.net/enable-dl
    & A3 j9 e6 F4 s! j( \3 l
  744. enable_dl = Off
    ' a# ^" ^' {: w/ s( o. _

  745. ' g$ n) h7 q+ S, u0 v
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    $ t' a4 s7 Y- S- u
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can! D$ p* P$ ~" u- t
  748. ; turn it off here AT YOUR OWN RISK+ q# Z  m7 I: J  Y" B1 @
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 y( L$ v2 o$ n
  750. ; http://php.net/cgi.force-redirect9 q5 N' G6 m% `! X
  751. ;cgi.force_redirect = 16 b: g, [1 X0 x  v' N5 G2 ~
  752. $ J8 L; v4 D  h2 b
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 a3 s6 ~' o" ~6 O
  754. ; every request. PHP's default behavior is to disable this feature.# D: u2 k' g9 g, n6 j( m+ m
  755. ;cgi.nph = 18 h' \0 G6 l9 O+ A3 Y" T, [$ K

  756. 6 c% E' k# J9 h# d- P
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) G3 ]# i- N. i  E
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ R) y  j* R2 ~; ?4 j
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 i2 H4 M* Q0 }' v7 t" p) I- e& N1 C% {* F
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    7 B( e) x% G3 J+ j& R$ w( _$ d) y
  761. ; http://php.net/cgi.redirect-status-env4 C$ P: x. K, f- Y0 c) @
  762. ;cgi.redirect_status_env =  D) I7 u% f& }
  763. 1 O& w4 q0 h6 w6 \0 V; I3 Z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 B. K+ i. \( S; }' L* ]
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + K& J3 j; o( V& i* Q! E% n
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: [1 v1 t. g6 u6 f# F4 r; a
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting) j+ B9 E" |* M; q: U
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts& ~" s* a4 M. E- i) m
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ! G! Y7 i3 ^- h5 n( f/ A6 n1 z9 J
  770. ; http://php.net/cgi.fix-pathinfo7 j# f' a7 C- _+ _3 W' u
  771. cgi.fix_pathinfo=1, z# x% |$ N3 C/ b5 S3 l+ v, Q
  772. ; h" l: N) `& [* T3 A4 \. f* s
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 u( s, |( p4 U5 K
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ; r+ _7 K# A9 V: G# Q5 y- U
  775. ; http://php.net/cgi.dicard-path( m& d4 |/ k; w) X
  776. ;cgi.discard_path=1( J- _; m3 _% }) a6 P6 o
  777. . P3 ]* Z) o6 D# d6 k. V
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    $ a3 q$ r* `% w7 J1 C. c- N9 Y
  779. ; security tokens of the calling client.  This allows IIS to define the
    2 A1 X! G# `. i* R& _% u# b
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ) c$ N) ?  x  I
  781. ; does not currently support this feature (03/17/2002)0 K: p, u* D7 v0 O
  782. ; Set to 1 if running under IIS.  Default is zero.
    4 J' n9 V: d8 J4 X! e3 a
  783. ; http://php.net/fastcgi.impersonate0 E  ^! t) K* U4 B% [& D- H+ D
  784. ;fastcgi.impersonate = 1
    # `" F- ^5 n4 g! p% l
  785.   r8 w+ t$ h" c5 {9 B
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable# Z5 k0 m6 I8 N
  787. ; this feature.& c' r7 D0 F% ?( ~5 j3 O5 ^
  788. ;fastcgi.logging = 0# i7 |- {# [: P/ }

  789. + x0 @8 g% g# ?/ e9 ^
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 m' t3 h# u5 e
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * O- W0 ?" Q( G0 H, s" N0 a
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    * ^% f! v6 h9 x" ^5 U" w. x
  793. ; RFC2616 compliant header.3 F+ R/ F8 f8 o3 W1 `1 X
  794. ; Default is zero.
    & A5 }) |9 s, Y# ^: [9 }* V( R
  795. ; http://php.net/cgi.rfc2616-headers; T' T0 e5 U6 w$ \9 m, o
  796. ;cgi.rfc2616_headers = 0
    - k8 u# P1 f+ P9 j/ b

  797. ( g) v0 b% f- J+ a( j1 U
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    3 w$ R; W, a1 _
  799. ; (shebang) at the top of the running script. This line might be needed if the
    / l  n4 S  K6 D2 g/ C! ?
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    % W" e; T) W4 ^6 t
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ) j9 L$ \6 K9 H
  802. ; http://php.net/cgi.check-shebang-line0 i0 H! {1 Y" p2 N
  803. ;cgi.check_shebang_line=16 c; V7 d# t1 I- V
  804. 8 Z, Z' k  x4 x9 ]' |1 w
  805. ;;;;;;;;;;;;;;;;, e7 ?- b! g3 @* w7 h, @
  806. ; File Uploads ;
    " V3 J. \- u# F- M
  807. ;;;;;;;;;;;;;;;;
    ( b  i- i! `4 {& x' ]! G8 @- j
  808. " r7 b9 ?& e7 f0 M6 P& L
  809. ; Whether to allow HTTP file uploads.
    3 K% E2 G& C/ o" U) r
  810. ; http://php.net/file-uploads
    0 F) M/ ?/ [' P# Q8 e( W$ U
  811. file_uploads = On7 {: g8 {8 S$ @8 k& i

  812. 4 V9 Y4 T3 f$ r
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    5 }4 F# w( A. R+ H/ s# ]7 k2 I; k
  814. ; specified).
    3 W* X2 `3 L, x' A3 R2 M% y' d8 r% k
  815. ; http://php.net/upload-tmp-dir! G" z  D! e. o, G2 j+ X
  816. ;upload_tmp_dir =
    ; e! j8 x+ Q0 P+ m+ _! Y) L9 q8 l

  817. / l/ W" U; t$ P2 @
  818. ; Maximum allowed size for uploaded files.) o! ]2 Z. |. c* r% O) r
  819. ; http://php.net/upload-max-filesize. r4 m8 t. P+ U) t
  820. upload_max_filesize = 50M
    . q6 F+ Q. u; Y) n. u% ?
  821. ; {2 o9 n5 R/ \3 K9 w* @4 P
  822. ; Maximum number of files that can be uploaded via a single request
    & t# y( n  K; N( y8 a+ p# k
  823. max_file_uploads = 20% r( t/ J5 Q/ C! i  Y9 c" U

  824. # E6 Y" e4 |! t( f" V) [
  825. ;;;;;;;;;;;;;;;;;;. \% W% l' |" t2 v6 Y9 l
  826. ; Fopen wrappers ;) z2 R" p7 q' n& b% p+ Y0 Z5 A" l% p
  827. ;;;;;;;;;;;;;;;;;;
    1 P1 F" W* z2 h. j
  828. # [# D( `4 R3 Y
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    & X1 B6 k8 q( b; r2 M( n) M0 q
  830. ; http://php.net/allow-url-fopen* L+ M% e; S( t; j: g; v
  831. allow_url_fopen = On
    2 U0 W1 k" ]  |4 r+ e  Z

  832. # I: t% Z) M1 d
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  w! V; B) T; H: l9 B
  834. ; http://php.net/allow-url-include6 S7 ]$ B/ u( Q+ l% i0 p) G
  835. allow_url_include = Off+ B1 f9 T! m( G! r6 d
  836. 0 O+ N  p1 T( E: c& y/ i+ p& B
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    : z! f/ b7 ^  _' L3 q& a$ a
  838. ; for this is empty.
    . s% L! [* r- V
  839. ; http://php.net/from
    % k2 p- E$ l5 B( @( z7 K
  840. ;from="john@doe.com"
    6 S  u* t2 U4 L7 ~0 y
  841.   I5 C" N: J. z- Z0 W
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ( X" D( }- ^5 q# Z( z5 z* S0 p
  843. ; http://php.net/user-agent
    1 M$ I$ O* Q. k
  844. ;user_agent="PHP"- }/ ?+ _2 @$ t/ p; B; f
  845. # x3 [! W4 Q% i" s
  846. ; Default timeout for socket based streams (seconds)
    * V! q6 c* z" k+ b+ |* R
  847. ; http://php.net/default-socket-timeout
    , w8 j" R9 C/ S0 y
  848. default_socket_timeout = 60
    % x8 j" J, D1 K: E

  849. , }2 i" D1 K' m! y5 [5 z
  850. ; If your scripts have to deal with files from Macintosh systems,. }& P) x9 ?6 G# l- O% ?. u' s
  851. ; or you are running on a Mac and need to deal with files from) }; X( m9 k1 w( v1 ~  [
  852. ; unix or win32 systems, setting this flag will cause PHP to
    3 {' C; [2 F4 K9 c
  853. ; automatically detect the EOL character in those files so that
    - e' M5 D+ u. s
  854. ; fgets() and file() will work regardless of the source of the file.
    4 a) \3 e2 D0 R* ]+ R7 |- ^
  855. ; http://php.net/auto-detect-line-endings
    + Y" P% \- U* o4 q* z
  856. ;auto_detect_line_endings = Off
    ' V& K, u  ~: o8 `( _% d

  857. 7 U% A; D8 y9 ?3 @5 H; ?
  858. ;;;;;;;;;;;;;;;;;;;;;;
    6 g% _+ G, d" Y  G# D* Z, c5 E
  859. ; Dynamic Extensions ;
    % L4 j* {; S% J! e/ g
  860. ;;;;;;;;;;;;;;;;;;;;;;; {' W% B' j1 p* o5 M4 o4 T

  861. ( g; J8 L, @2 U" P2 ]. h2 l
  862. ; If you wish to have an extension loaded automatically, use the following
    " T, A" h# y1 i6 n- G" Z* B8 A
  863. ; syntax:
    - {" P3 _: b5 a7 F1 p( i/ s
  864. ;
    3 B) |8 `/ x# ]% G  d. q
  865. ;   extension=modulename.extension
    / M5 l% n  H  w  W" i, F0 q
  866. ;
    # W. f. y$ R8 H3 K, y7 W
  867. ; For example, on Windows:0 [( N5 m! f/ l/ k4 r: r
  868. ;( h8 B4 e5 I6 \5 n( q+ {3 u8 {9 y
  869. ;   extension=msql.dll
    4 R  o/ P/ {2 J* {8 q
  870. ;
    ; G: a2 g  |& z3 [  X- m
  871. ; ... or under UNIX:
    + i- j" ]. ^( R# ~8 [# @9 {
  872. ;
    . k. r5 R5 ^) m
  873. ;   extension=msql.so
    ! G! z+ S# q& _; @' O' M4 e9 J
  874. ;
    8 j! n, {- l4 {; ]4 P
  875. ; ... or with a path:( L5 m/ e5 F. ~$ m4 k
  876. ;
    % X  s& X- _- u5 J
  877. ;   extension=/path/to/extension/msql.so
    ' `, u" R3 @5 E% j
  878. ;
    / }% i' N  p6 ?6 K$ A
  879. ; If you only provide the name of the extension, PHP will look for it in its$ t. X2 ]# Q4 L9 e
  880. ; default extension directory.
    : O2 g! T+ g9 d6 t6 a, i
  881. ;4 |: E( E4 x; n4 Z  M8 v
  882. ; Windows Extensions
    + _6 M! L1 l( S, m
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    % d3 q3 Z5 ?# K2 b9 M2 l# A7 m
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    1 p* H2 V) b' K. Z/ R% |6 x  W6 p
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    . G; F5 v' Q( f6 Z& f$ W
  886. ; Be sure to appropriately set the extension_dir directive.* M) ^$ D' V6 a: l7 f% J) M
  887. ;; M& f8 Y) h# S8 @+ y
  888. ;extension=php_bz2.dll2 I6 S1 g9 ?" F& W1 x/ d- L
  889. ;extension=php_curl.dll( O* A) F! x8 V5 I% [4 k$ \. C
  890. ;extension=php_fileinfo.dll
    7 I0 I  o6 s. _( C+ \
  891. ;extension=php_gd2.dll
    . B. q" @- L% v) f: T7 v  A
  892. ;extension=php_gettext.dll. c, d( g/ a. g; @) H* s
  893. ;extension=php_gmp.dll
    # l7 q" t9 d. N5 Y# k7 }7 P
  894. ;extension=php_intl.dll
    $ G6 Q% ~. _+ Z; n5 e. s5 h1 @
  895. ;extension=php_imap.dll' Q- T3 \9 t6 A+ U
  896. ;extension=php_interbase.dll: f5 N/ m( K' x+ X
  897. ;extension=php_ldap.dll
    + N8 C; H# J" n8 ?' L
  898. ;extension=php_mbstring.dll+ {9 A3 N/ L# h; U: Z0 u) H" F
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it0 _6 j4 H( G& G" Q' L+ |
  900. ;extension=php_mysql.dll/ T; u; n! K$ j: c
  901. ;extension=php_mysqli.dll8 Y! C/ u+ G( V/ S/ \/ E
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client6 u& I9 X% D/ g$ g" }& M
  903. ;extension=php_openssl.dll
    - C, I: C& M$ X. `
  904. ;extension=php_pdo_firebird.dll" }. v3 a' d1 R( ]" v: `
  905. ;extension=php_pdo_mysql.dll
    * Y4 F, D; [8 ], x) y/ y
  906. ;extension=php_pdo_oci.dll
    ; M. |7 n1 S8 o  D
  907. ;extension=php_pdo_odbc.dll  t/ ]. t# o: ]
  908. ;extension=php_pdo_pgsql.dll
    8 C2 a" S. {9 _: p5 t! m- d
  909. ;extension=php_pdo_sqlite.dll" N+ e5 K8 D3 G' }1 W
  910. ;extension=php_pgsql.dll
    ! b4 f+ D7 ]$ J1 n  D9 }
  911. ;extension=php_shmop.dll
    6 A  Y2 u& i& C4 L( b

  912. $ t& N, F  W- h" s  ]# ]+ _' G
  913. ; The MIBS data available in the PHP distribution must be installed.
    ' |6 l$ F/ L3 l1 A6 x" V: }6 I+ Q6 i
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    3 a0 C( t5 h3 P
  915. ;extension=php_snmp.dll
    # Q. T. _* ]  p( h1 a" t! j
  916. " O3 C; l: A; H) T3 K, d: c" `
  917. ;extension=php_soap.dll
      w9 ~4 Q. j: V6 `. o
  918. ;extension=php_sockets.dll( H8 Z' G) L( U5 L1 W7 M
  919. ;extension=php_sqlite3.dll7 h# @( f$ N( ?4 }. C
  920. ;extension=php_sybase_ct.dll
      W8 H' |; f; ?4 J
  921. ;extension=php_tidy.dll4 t3 e3 K5 ~! W9 K
  922. ;extension=php_xmlrpc.dll) N% P0 F( \3 a& t3 r/ ^9 W2 ?" N2 x
  923. ;extension=php_xsl.dll
    % X2 g" i7 Q! s/ |
  924. , c6 O: d) K" c7 ?$ T9 B* y
  925. ;;;;;;;;;;;;;;;;;;;7 a: O$ _+ f0 E" ?
  926. ; Module Settings ;
    " t, {+ N8 M" ]8 n/ E
  927. ;;;;;;;;;;;;;;;;;;;+ s  l7 t8 N+ u) w

  928. - G$ ?( p- b8 i+ W/ i  V
  929. [CLI Server]
    1 k9 P* G" l, M% C! r7 b$ U( ]
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; V- G# }; K4 [8 @
  931. cli_server.color = On
    1 D2 ~. t& F& J' X

  932. " L; q; @2 J. `, H. s
  933. [Date]
    - M+ f* R4 D5 r* q+ K! e% J" l
  934. ; Defines the default timezone used by the date functions2 c$ U# U, z- X" j/ Y7 [  V' H# f
  935. ; http://php.net/date.timezone+ e4 P2 C% C- M$ O
  936. date.timezone = PRC
    5 O% g, {; q  H: @9 R- g4 a

  937. 1 i6 U' R. |. T5 x8 |
  938. ; http://php.net/date.default-latitude
    . D. |: @' N9 O, v8 s0 n$ v1 g) r
  939. ;date.default_latitude = 31.7667
    2 I6 P3 B! e- g2 e. X  N) ?
  940. ! j/ |6 F6 |: H0 b. N9 V
  941. ; http://php.net/date.default-longitude, z8 |* K) G4 `6 i& f
  942. ;date.default_longitude = 35.2333
    0 k% O0 a$ ]& j

  943. 4 b1 T. O& q2 K; v
  944. ; http://php.net/date.sunrise-zenith
    ( f4 ^- c6 b, z5 l
  945. ;date.sunrise_zenith = 90.583333
    6 X$ O7 A: b2 W8 Y. w
  946. 5 b& ~( V% V2 f& C
  947. ; http://php.net/date.sunset-zenith, U$ t: B. i0 `
  948. ;date.sunset_zenith = 90.583333
    " p* q! E$ p1 L; p

  949. + W, g+ r" _& M% j) L8 _2 |% n8 \# w
  950. [filter]
    * u3 P6 a' K2 x5 a6 T2 Y5 z
  951. ; http://php.net/filter.default. l6 ]9 |* M" {7 J% `5 }4 H& J+ D( A
  952. ;filter.default = unsafe_raw
    . W+ t! U/ J/ c  q+ Z* C

  953. . S1 `/ F: R9 R9 x5 S' V& N
  954. ; http://php.net/filter.default-flags
    " B+ k5 a8 @" p* R9 i
  955. ;filter.default_flags =
    + f! r# P' r* |1 }" h& Z7 q( F

  956. & x3 t* ]  h* D+ Y  C
  957. [iconv]
    ( `7 q% K# s' U! z
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.6 `& G& v. f: W; o9 T
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    & j5 V. Q0 X! l% E' j; f. R* W9 P
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ; c5 C0 w2 }1 U8 B6 Q0 t1 F$ [& j
  961. ;iconv.input_encoding =
    - Y2 r. |; \" \' p

  962. 9 T1 f5 \8 u. g. c  E, b% q6 N
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.& l5 g: |: ]& A
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 E7 M+ `7 J# H' v# J& A5 y  n  [
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 Z0 \2 h2 ]+ ~! z
  966. ;iconv.internal_encoding =
    # }) h8 J: S( E+ a3 Z1 o; c
  967. + ]# Y: i$ f/ d/ J
  968. ; Use of this INI entry is deprecated, use global output_encoding instead., A& u- z' T" ]; Y
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ! R( `+ i, m  n
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding  e: M/ I/ ~3 M4 v3 Z9 v+ }
  971. ; To use an output encoding conversion, iconv's output handler must be set
    / D( N, T9 y4 J3 }6 g, `
  972. ; otherwise output encoding conversion cannot be performed.
      c- A# F# J. c/ W$ \
  973. ;iconv.output_encoding =: r" ]4 [; |7 {/ o

  974. " p" M1 a2 V; w$ c0 `
  975. [intl]
    9 C% U6 A8 d, l" a& k
  976. ;intl.default_locale =
    8 r; ~5 X7 r& m1 y# M. z
  977. ; This directive allows you to produce PHP errors when some error
    9 _" `1 {6 P8 _
  978. ; happens within intl functions. The value is the level of the error produced.6 J8 M& H) Q+ g) ]
  979. ; Default is 0, which does not produce any errors.
    * w" R' U3 }# J
  980. ;intl.error_level = E_WARNING
    & A! G! i) J% o) ?! m* G+ j  M
  981. ;intl.use_exceptions = 0% K9 ^/ F6 x! C' u9 j" \

  982.   R' M; P# @# [' ~
  983. [sqlite3]0 |$ S6 K9 g) l
  984. ;sqlite3.extension_dir =- \/ m& E( v+ n7 m% L
  985. : x- b: j' e8 w& \; C9 F
  986. [Pcre]
    , w& m* @/ \# ~, W2 C: O
  987. ;PCRE library backtracking limit.9 j5 `4 r% G: {9 N2 x2 G% b
  988. ; http://php.net/pcre.backtrack-limit
    ; [2 M% z" Y( A) b
  989. ;pcre.backtrack_limit=1000003 E% }" O1 ?8 K  g
  990. . o0 {1 X* ]) M. H5 k7 g. n
  991. ;PCRE library recursion limit.1 V& |) R) U/ f
  992. ;Please note that if you set this value to a high number you may consume all
    9 O$ ]7 \$ \5 o2 }
  993. ;the available process stack and eventually crash PHP (due to reaching the
    " ]* ^: T$ s8 A2 n6 b' |/ e# @: H' T1 Z
  994. ;stack size limit imposed by the Operating System).
    # p# |7 u$ |# J* y' ~. H
  995. ; http://php.net/pcre.recursion-limit/ r: h' d. N0 [) \
  996. ;pcre.recursion_limit=1000004 X0 o! N6 @( C- |' M5 X  z- S

  997. 9 \2 n6 e7 e7 O
  998. [Pdo]- @: G# N# l! s3 |
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    * a& \: k2 c) a: y: W" \
  1000. ; http://php.net/pdo-odbc.connection-pooling
    7 d0 z+ \% Y, w9 Q- t6 \" i7 x
  1001. ;pdo_odbc.connection_pooling=strict* R7 @! y' Y; V7 t% P) k

  1002. - b0 N. }5 m6 @; G. v
  1003. ;pdo_odbc.db2_instance_name* T' f3 S; L2 U5 o6 O
  1004. * F9 R$ t; y" O6 u
  1005. [Pdo_mysql]( G; z3 w. i5 x( Z8 g1 ]
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache. b# g$ ]3 ]/ N% a  K
  1007. ; http://php.net/pdo_mysql.cache_size
    5 g4 w$ d0 D& N3 J
  1008. pdo_mysql.cache_size = 2000
    5 k5 @/ M* g( {( x; @
  1009. 1 A; J! L! o2 R  W
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ e2 r4 Z* b- e
  1011. ; MySQL defaults.
    ; z5 M4 y3 M* E! h; ]3 b; w
  1012. ; http://php.net/pdo_mysql.default-socket
      b5 h- C0 Q, f& ?7 l  @! x* ?9 v
  1013. pdo_mysql.default_socket=
    % ^9 f  H3 ^" Y; t
  1014. 3 `' y; |# X' `! _; Y
  1015. [Phar]
    ! d4 }% U! z. g8 R: L/ V3 Y4 b
  1016. ; http://php.net/phar.readonly, D) ?2 A& O0 X/ z, R  ^
  1017. ;phar.readonly = On
    9 N+ O  e: ~. c

  1018. 3 Z, W; o0 C. a1 u9 j8 E+ j. ~0 k
  1019. ; http://php.net/phar.require-hash
    $ h$ |) R# J# F9 ^
  1020. ;phar.require_hash = On- T  J$ D7 a5 t  O- M
  1021. 4 L- }7 x" L& S! P1 r. Q
  1022. ;phar.cache_list =! ]( S  Y3 |( X
  1023. # }5 ^& h. u; o! T1 U
  1024. [mail function]7 n! i1 g. q  p7 P& s
  1025. ; For Win32 only.
    * k8 c7 ~" m! {) W; O  E4 Z  M
  1026. ; http://php.net/smtp
    4 G# N+ u  _7 Q( j4 P
  1027. SMTP = localhost
    % O! H3 F" k6 s' u
  1028. ; http://php.net/smtp-port
    ( ~2 q5 P* d$ F) Q
  1029. smtp_port = 25
    5 l* E; U% _: h+ K
  1030. ' R: \9 a4 G) c
  1031. ; For Win32 only.' x! B; T9 P% y  D; |
  1032. ; http://php.net/sendmail-from. z; P. d3 c# ]2 B
  1033. ;sendmail_from = me@example.com
    , _/ `3 l/ m6 L4 P. A
  1034. & N. n+ K! y- z; a7 v
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").# H1 z* T# V9 ]) N, z2 A) J2 \
  1036. ; http://php.net/sendmail-path3 T# k4 a8 F5 [. l* W
  1037. sendmail_path = /usr/sbin/sendmail -t -i, Q, I: Q6 F1 G% |: o2 F8 v1 c

  1038. 8 }' k& Q0 ]5 w8 [4 t$ e
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ( [; b* D" L+ k1 a; B! e/ o3 T$ h
  1040. ; to the sendmail binary. These parameters will always replace the value of* y+ J! {  U# F) t+ \* P
  1041. ; the 5th parameter to mail().
    8 z7 A2 z6 V+ ^5 Q8 g/ a
  1042. ;mail.force_extra_parameters =. |- C# ^4 @$ l$ k
  1043. 1 [0 S' _3 S) h2 k
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" O) A9 k8 J) ^( w' D6 D. D$ g
  1045. mail.add_x_header = On" |, ]  ^$ c# U; Q

  1046. 0 J3 J  P4 G1 z7 \# c1 q1 f
  1047. ; The path to a log file that will log all mail() calls. Log entries include* N. g6 y0 g  |
  1048. ; the full path of the script, line number, To address and headers.
    2 g9 L6 S, Q; C- F
  1049. ;mail.log =: c' L8 ~  {$ d
  1050. ; Log mail to syslog (Event Log on Windows).
    " F+ M5 r# L+ @4 N# c' }
  1051. ;mail.log = syslog( ^4 y+ i' M: x! B
  1052. ; ?  n" t: X* N
  1053. [SQL]# y; t! h( @' ^9 o" K
  1054. ; http://php.net/sql.safe-mode( t+ N6 l0 \( n- w& F
  1055. sql.safe_mode = Off9 R1 d7 B' F6 Y$ y- K# R1 A

  1056. ( q5 m- j- ^8 |6 h* e; n6 W
  1057. [ODBC]
    & R# |* `, b4 I1 K& Y
  1058. ; http://php.net/odbc.default-db. K7 W% x4 ~% V- @
  1059. ;odbc.default_db    =  Not yet implemented
    # g% T& a% u- u" S
  1060. ! b; s: G2 K+ B% ~: I
  1061. ; http://php.net/odbc.default-user' V% ~( r! P6 j! B' I
  1062. ;odbc.default_user  =  Not yet implemented
    9 _; x% p# p0 U( C6 N
  1063. : N6 S/ k9 j& _9 S9 J+ c1 U
  1064. ; http://php.net/odbc.default-pw4 R* k  t0 G: \% \, x( T
  1065. ;odbc.default_pw    =  Not yet implemented2 \7 i) P# x8 p0 k: g# Y& i7 E& q
  1066. 4 Q# H1 Z/ Z% e  X/ h/ F+ k
  1067. ; Controls the ODBC cursor model.1 S  i/ Y/ w, J6 K0 c. N) j' s
  1068. ; Default: SQL_CURSOR_STATIC (default).* }& _$ `0 L- T9 ], [: o, ?0 i2 B& s
  1069. ;odbc.default_cursortype
    0 q; ]6 |' w- b2 F/ k0 w( X% S

  1070. $ m- L3 S% S. I  x1 m0 V! J
  1071. ; Allow or prevent persistent links.
      O1 h* F: x2 L) B) |% Y
  1072. ; http://php.net/odbc.allow-persistent8 L( {7 B5 @7 A# ^+ ^" N# Q
  1073. odbc.allow_persistent = On
    7 c/ S- H3 h' P1 W2 o! \* P
  1074. 6 B# R; \, d% H! {! R# e
  1075. ; Check that a connection is still valid before reuse.
    & k( m; J' x9 d7 ?
  1076. ; http://php.net/odbc.check-persistent
    2 w; B( M& \, c( O/ _3 L5 h
  1077. odbc.check_persistent = On4 v9 {9 X$ S6 u  F

  1078. # g; p% o" {3 x7 ^: j. Z3 @, T
  1079. ; Maximum number of persistent links.  -1 means no limit.  L2 [$ o1 h3 S+ t
  1080. ; http://php.net/odbc.max-persistent1 g  C5 s+ @3 e, F7 Q" m. D. L
  1081. odbc.max_persistent = -1
    1 [7 i6 x5 r( x) Q- v. @
  1082. 6 f/ C9 \) H9 z7 s& _* @2 m
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 j) P. ]% N8 c+ j7 k
  1084. ; http://php.net/odbc.max-links0 S. T& g9 w# H5 n! d( X
  1085. odbc.max_links = -19 ^# ^3 \5 Z6 c! o3 A1 h! V

  1086. / @2 `2 r$ z. p* b8 t( |* m
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 n8 w; _9 D* V4 J2 q
  1088. ; passthru.( U2 ~  ^5 t6 S; v1 r
  1089. ; http://php.net/odbc.defaultlrl
    0 b: P2 ]! R) \3 a9 b
  1090. odbc.defaultlrl = 4096
    . V9 [  E3 Q5 N3 Z. e

  1091. 7 U# G7 j4 y' Z9 Z
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.1 n! r4 l/ b+ K
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation6 E+ j! I6 e) m& f7 K9 p
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ! r0 f% i5 I7 Z6 K
  1095. ; http://php.net/odbc.defaultbinmode; N2 R: `3 |7 U) g, G' q# r
  1096. odbc.defaultbinmode = 16 j- P: v. Q5 B# c( X' W, x; Q
  1097. % [4 p5 S% I  b
  1098. ;birdstep.max_links = -1
    ; Q0 [9 p2 s, R& O5 {3 b" X( r9 p
  1099. ! Q" [+ q% z0 U' ~% K: J# u- M% W
  1100. [Interbase]0 \7 H  A( D) w& R  @* W$ e
  1101. ; Allow or prevent persistent links.) q& \+ T2 b- V/ q* C6 u* g+ p
  1102. ibase.allow_persistent = 1
    # Z! z$ t9 X" a' t$ N
  1103. - Q! w- z& }5 L. r3 Y& D( S; k% A
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ; n& S1 }+ H2 O: i! Y* B% D
  1105. ibase.max_persistent = -1
    + D* q9 P% L8 ]7 n9 @& N

  1106. # d* w3 z; F/ N
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' y7 e) ^! A/ }# p& x, M
  1108. ibase.max_links = -1
    $ v* J1 F* L) }* I, P
  1109. $ R* k0 m7 N! U* G. I3 A- T3 A
  1110. ; Default database name for ibase_connect().
    7 ^1 ]: i( ~  d0 j
  1111. ;ibase.default_db =
    4 H7 J! x0 H: z" n

  1112. ( O( c) K' O2 S0 Q& ^# h5 c
  1113. ; Default username for ibase_connect().$ }1 X6 J5 n" E8 q+ z
  1114. ;ibase.default_user =
    # {# \3 s2 n. j# R7 s2 _2 [4 N
  1115. : j" A. o7 T5 t2 O
  1116. ; Default password for ibase_connect().
    5 H8 h2 ^, x4 X$ {9 Y* [
  1117. ;ibase.default_password =
    ) U7 h' n2 g1 O) t% H: Z  U: g
  1118. " G/ E4 b* ^, g% t2 r& q# K
  1119. ; Default charset for ibase_connect().) O, T6 D& [6 Z; V7 m7 h& J
  1120. ;ibase.default_charset =
    * Z. n# a8 [" k7 V& p+ p+ {
  1121. # c! m: d& Y4 x: `# M4 J3 F$ s
  1122. ; Default timestamp format." q* _4 X7 F. d* O+ t
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"1 k: Y. E' V2 N! X5 N
  1124. - i* J3 r# t1 A5 r0 Y
  1125. ; Default date format.1 K, r3 ^$ U. v1 H! v$ \5 o; Y7 z1 ]; p
  1126. ibase.dateformat = "%Y-%m-%d"
    # t4 |* e! s6 f6 _! A  e; O6 c( k

  1127. ! `# }. x) i& N" X0 v  y& E: k
  1128. ; Default time format.$ ^4 y$ N2 y6 U
  1129. ibase.timeformat = "%H:%M:%S"2 o1 f. ^' P, E" x8 P1 {6 p: M8 ]

  1130. 2 \6 s3 ^) |9 h
  1131. [MySQL]$ a  B- `" C5 ^& }6 I% ^
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! ?% U0 ]8 {; e0 X  J
  1133. ; http://php.net/mysql.allow_local_infile
    % L  ^7 l! o9 ^3 g* f8 d& o8 i/ p3 A
  1134. mysql.allow_local_infile = On$ X" ^; Q. \6 F! @7 o/ q

  1135. # O' \6 e4 I" Z% J9 Y
  1136. ; Allow or prevent persistent links.
      E# O& ~) j( K+ F
  1137. ; http://php.net/mysql.allow-persistent
    : [! v5 q) Z7 [1 W
  1138. mysql.allow_persistent = On
    9 Y5 r% R; h' a% b1 {, Y
  1139. 8 r, \; ?9 i2 D5 ^4 ~& {6 |  \, E, M
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache# l7 P3 R5 O7 N' a* H" i  @
  1141. ; http://php.net/mysql.cache_size6 R, C4 z' C- d. G9 f' ]
  1142. mysql.cache_size = 2000; c& Y+ _. n1 n: g2 G
  1143. : z* G, m5 q! W' z' S& j/ ]: P
  1144. ; Maximum number of persistent links.  -1 means no limit.; m5 _" g2 L! u$ J
  1145. ; http://php.net/mysql.max-persistent$ R6 U) O& [8 |0 l3 W
  1146. mysql.max_persistent = -13 y, s% w& e$ Q% }) I

  1147. 2 r- A  h7 @: T( n5 o
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 x6 I5 i) P6 j! w2 ]$ {( L0 A+ i! U
  1149. ; http://php.net/mysql.max-links
    ! P7 p- x7 X- m" \0 k. Q
  1150. mysql.max_links = -1
    . ?( r+ `& Y4 ^

  1151. ) @- s0 ~( O; _5 Y* r
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ! N5 |" M" O0 x) b5 w
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 Z# u1 ?9 Y/ v7 J) [
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) r* H( t0 M5 `3 a
  1155. ; at MYSQL_PORT.
    ' e! ?  V1 v5 `) E5 ~! q3 Z1 h7 N
  1156. ; http://php.net/mysql.default-port
    * f2 t- G; r  a; i
  1157. mysql.default_port =- o( }* ]% x4 R+ w
  1158. 1 l! A1 w+ m3 m7 a
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      G4 [% r5 @- i
  1160. ; MySQL defaults.3 l7 `9 |( S: Y. Y  Y
  1161. ; http://php.net/mysql.default-socket
    9 X/ l) ?' p$ L9 Z* G
  1162. mysql.default_socket =
    ) A6 J0 J% I8 n/ o' r+ ^

  1163. & i/ v7 K4 A5 C* X6 n2 L
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)., M3 G+ z; X* P: B% E$ G) A
  1165. ; http://php.net/mysql.default-host
    / b  I0 V% p9 Z7 h8 \5 Z
  1166. mysql.default_host =
    ( w! }, }  t" T! \8 ~

  1167. 0 {5 U4 U4 t9 j2 ?1 v3 V
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % @1 v/ h. Q) D
  1169. ; http://php.net/mysql.default-user
    ! t( E4 x0 `* ]7 ~: a
  1170. mysql.default_user =
      g6 q( `/ V3 p# w
  1171. 5 B* f: u# E: x
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    # V2 y* v7 y1 g3 l4 E: f( m
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.$ H1 d/ z9 f5 z. [: M- h) v
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")2 \+ _' R: y4 ?0 d, j1 {& E+ l
  1175. ; and reveal this password!  And of course, any users with read access to this
    & E; X2 |4 k0 M! p
  1176. ; file will be able to reveal the password as well.$ d. f; I/ g+ z3 E
  1177. ; http://php.net/mysql.default-password+ E4 m! M) \1 A; x5 l7 V* C$ {5 x
  1178. mysql.default_password =
    5 w6 g" I4 g& @; L

  1179. , I' ]" z6 t1 ^' ?. d; E: y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit5 l8 G1 L  E8 E6 b, j6 r0 `
  1181. ; http://php.net/mysql.connect-timeout
    % f$ Z/ ]% E8 T, {
  1182. mysql.connect_timeout = 60( B) o, L: E  ?

  1183. + D6 x. b7 z0 Q/ ?4 T
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    4 W! {8 v- G# h- E0 L
  1185. ; SQL-Errors will be displayed.
    5 ^  |- W  c! X8 w
  1186. ; http://php.net/mysql.trace-mode# g0 \$ y0 E- w
  1187. mysql.trace_mode = Off  n8 J9 k2 W: X. U) k% t: W

  1188. ; t  ~: x3 C4 S. O+ U6 a1 S
  1189. [MySQLi]
    7 Z% ?" t& ~' G) @1 N9 R
  1190. 2 N, W" ^+ z+ B) o. }/ A- Z0 I
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ' d: J+ ?% z9 T2 E4 [4 j
  1192. ; http://php.net/mysqli.max-persistent1 D! k: r. T7 u2 m
  1193. mysqli.max_persistent = -1
    % N- i) h1 Z: G

  1194. ; D) L' z' M" X% l, B
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# ]1 @2 B  F- g  Y
  1196. ; http://php.net/mysqli.allow_local_infile
    ; l" t! M8 v0 y0 F$ l$ p& J
  1197. ;mysqli.allow_local_infile = On" D* p1 h6 J, I; |* l) Y+ v
  1198. % w; U& [+ z3 Z! O+ i- B
  1199. ; Allow or prevent persistent links.
    + v4 m% E5 Q# _: e4 s
  1200. ; http://php.net/mysqli.allow-persistent( Z. t$ M  i3 F% w. u$ ?
  1201. mysqli.allow_persistent = On4 @$ V- }8 f7 Y/ M' W8 S
  1202. ! P, e; U, N: V+ q. v8 s# ^
  1203. ; Maximum number of links.  -1 means no limit.* C0 b; [, {) s( Y
  1204. ; http://php.net/mysqli.max-links* }' V' K* w6 F3 t
  1205. mysqli.max_links = -1, B/ u+ I  i0 Z) S( W

  1206. # W# q, F4 _! g7 t4 x3 V0 U
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( r* ?2 b3 @. e6 K! P+ `6 C
  1208. ; http://php.net/mysqli.cache_size
    ; c* H/ O. I' T0 W* X
  1209. mysqli.cache_size = 2000
    " w7 W  c7 n: Q5 X* V- S

  1210. / B' F' \$ D+ }0 Q" C$ O8 o. N
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( A" W& k' r2 Y# A7 A  E5 K, e; T+ }
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* [/ [/ ^+ L) ^
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' J1 q9 k! Q5 Q3 d
  1214. ; at MYSQL_PORT.
    : m0 |. M  R' _" Q. j8 j
  1215. ; http://php.net/mysqli.default-port
    1 Z8 B6 u! h# y% g/ h' W9 _; s
  1216. mysqli.default_port = 3306
    ! _7 J& g4 T0 S# m" D' j
  1217. , K9 n0 _0 |6 ^$ G8 |# y! B9 D7 P1 E
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ [( e" D$ {0 x
  1219. ; MySQL defaults.
    * s) B) r8 Q) R, l8 I
  1220. ; http://php.net/mysqli.default-socket
      N2 s' l  j8 w
  1221. mysqli.default_socket =
    2 o1 v4 v- R/ F% v  t( @

  1222. / Q5 Z/ Q5 R1 y6 s
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)." ~: g; X! M' M3 w, S; S
  1224. ; http://php.net/mysqli.default-host; V7 V; X: s* d% @2 ^& X
  1225. mysqli.default_host =5 f  P9 i+ i5 V
  1226. 9 p7 q. G$ d: Y  Q1 R( C
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).' t+ D% H  X7 J" C  k
  1228. ; http://php.net/mysqli.default-user
    : w- D% ~' i$ m4 V* p  d& a; c: O
  1229. mysqli.default_user =3 _8 A) Q4 b* f0 E4 C

  1230. 7 g: d$ j9 K: J4 r2 ~0 G0 w% d
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 G7 U* _7 K7 |0 T. d
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    & T" ^7 i6 g1 g
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( q7 Z1 Z- H, m- X$ l  @+ B
  1234. ; and reveal this password!  And of course, any users with read access to this# [; v$ k( i8 C, `+ a+ p; N
  1235. ; file will be able to reveal the password as well.
      `0 h' E( X) ?2 x" f/ J1 ?2 Z
  1236. ; http://php.net/mysqli.default-pw2 Y7 [+ t# A# _  s
  1237. mysqli.default_pw =
    " S/ o5 i5 ?5 `+ ^

  1238. : O: k7 A4 ^2 T( _* l7 \. I
  1239. ; Allow or prevent reconnect
    ' {; u3 D9 |* J! H8 e
  1240. mysqli.reconnect = Off
    6 N9 O  S1 m+ T% x2 s
  1241. " _/ J) [. B6 m
  1242. [mysqlnd]
    0 C! T; w  W) R/ T6 Y
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ) o: H" ]5 N- w( `
  1244. ; used to tune and monitor MySQL operations.
    $ [; x7 \" k0 J4 f+ X1 i
  1245. ; http://php.net/mysqlnd.collect_statistics
    # p3 n/ O4 V1 Q9 ]  K
  1246. mysqlnd.collect_statistics = On
    * L8 E% z2 ~0 \+ B& y
  1247. ( u4 F& b9 Q' G: g! _
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ! S& {7 D! p% u1 T5 k+ {
  1249. ; used to tune and monitor MySQL operations.
    " p# R: Q/ }( |* P' C
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    * H! Y1 V* G1 Q% Q
  1251. mysqlnd.collect_memory_statistics = Off  q, F2 R7 O  ~$ S  G3 w, D
  1252. 6 P3 B- w' u. h( C* ]# M) D
  1253. ; Records communication from all extensions using mysqlnd to the specified log( a8 p. N) a: E( R/ \1 g
  1254. ; file.
    + s% v2 L2 i) p* Q* ^3 m& N
  1255. ; http://php.net/mysqlnd.debug" a+ E8 R9 V5 X. o% f
  1256. ;mysqlnd.debug =- j7 m% s5 [/ W& G3 R+ k

  1257. 1 d0 X% v5 q0 Z
  1258. ; Defines which queries will be logged.
    2 ?1 j, j# b) l, Y, Y
  1259. ; http://php.net/mysqlnd.log_mask
    . ^1 l; \* p5 U; ^' o$ f
  1260. ;mysqlnd.log_mask = 0$ G& z% l( f: t, i4 N

  1261. 8 o# g% O$ U+ B3 X4 _
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.8 U+ M* b5 x7 f* K* G7 Q5 A2 Q
  1263. ; http://php.net/mysqlnd.mempool_default_size
    9 @# D2 u2 l, k' l# Z
  1264. ;mysqlnd.mempool_default_size = 16000; g% ^3 p0 Y! n, n1 y& [
  1265. - J1 @% Z8 z5 L
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.2 [( J  {8 ~9 g# _4 T7 Z) N4 M
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size) p$ O. S$ B( I' e
  1268. ;mysqlnd.net_cmd_buffer_size = 20482 n( r) c" _0 o9 p
  1269. 9 `. N+ c: t' ^7 Z5 o
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in, B! d) S) C8 O3 b
  1271. ; bytes.
    2 `- w# S7 ]$ E. g0 P0 D/ [
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    / T! Z" j+ U" W( ]
  1273. ;mysqlnd.net_read_buffer_size = 32768$ e: @" W+ V: C3 P3 n) v
  1274. 4 C+ A4 E; d& e
  1275. ; Timeout for network requests in seconds." q* T- z+ m1 _& f9 F/ h+ c
  1276. ; http://php.net/mysqlnd.net_read_timeout- o' f" e6 V2 C$ [9 D
  1277. ;mysqlnd.net_read_timeout = 31536000
    . Q2 A0 C: {  f- \# }: N, O

  1278. ( m8 {- g4 g3 v* \1 p
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    : O; m' F- ?& L- Q2 j
  1280. ; key.
    % W; ^3 u4 ?4 W2 P
  1281. ; http://php.net/mysqlnd.sha256_server_public_key: l' L$ N6 e2 n% H2 g8 L, M, W6 e
  1282. ;mysqlnd.sha256_server_public_key =
      W* i6 Y  Z5 M* l% z
  1283. . }& O7 e" l0 g8 w: e8 V
  1284. [OCI8]
    " c8 t: m7 T( @  h7 f8 e

  1285.   q& {1 u+ p8 {/ t" z# H! t
  1286. ; Connection: Enables privileged connections using external
    8 _" b9 A. J8 n: u, {
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( n- ^; T3 a* M2 h5 }& b% i
  1288. ; http://php.net/oci8.privileged-connect
    3 p9 v4 N% Z' @# b/ Y6 w
  1289. ;oci8.privileged_connect = Off
    ) z: u  }% Y7 x
  1290. ( M! p$ N/ a; Q1 z1 P
  1291. ; Connection: The maximum number of persistent OCI8 connections per% k8 p; ?- ]; p4 N
  1292. ; process. Using -1 means no limit." U: `5 I+ \; b
  1293. ; http://php.net/oci8.max-persistent& N4 L$ ]: P1 o- K1 M$ Z/ _9 v. l
  1294. ;oci8.max_persistent = -1
    " D, y+ k; u7 c3 }3 k
  1295. 2 I! w: M, |5 d! E
  1296. ; Connection: The maximum number of seconds a process is allowed to6 G0 z) ?: g* ?. _  K
  1297. ; maintain an idle persistent connection. Using -1 means idle2 r! H! q" \  b9 G
  1298. ; persistent connections will be maintained forever.
    ) Z- P+ u, a" H* a: p
  1299. ; http://php.net/oci8.persistent-timeout  _0 d4 P/ D& M1 c7 n8 w/ v# m
  1300. ;oci8.persistent_timeout = -1% h* a+ s7 z$ I8 m
  1301. ( J" j" O& _! u( z% ]
  1302. ; Connection: The number of seconds that must pass before issuing a
    & s( z/ P7 Y) P# `; r: O( U
  1303. ; ping during oci_pconnect() to check the connection validity. When" D  X' z$ y( h5 w1 d
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 X- e3 Q: \* I
  1305. ; pings completely.4 Y, O; O* w* I4 l7 o* o
  1306. ; http://php.net/oci8.ping-interval
    & a- F0 X( q$ ]
  1307. ;oci8.ping_interval = 60
    1 k* [. t, h; g, N  S8 M

  1308. & p- b  o- \; j: E1 z3 o
  1309. ; Connection: Set this to a user chosen connection class to be used" Q+ a0 n$ e" Y2 m6 l7 ?* F
  1310. ; for all pooled server requests with Oracle 11g Database Resident& V; w6 A! j6 Z0 W# B. h2 G+ U  d/ }
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to; E1 d6 p7 M8 S* d
  1312. ; the same string for all web servers running the same application,; R0 @/ c* [3 z' Z
  1313. ; the database pool must be configured, and the connection string must$ D2 H6 j# c/ P/ q, y
  1314. ; specify to use a pooled server./ R- r* h7 ^0 y
  1315. ;oci8.connection_class =" D  q! w  t0 A4 v+ i" N
  1316. , {9 X8 N6 I( T9 k4 R2 L: Y- T
  1317. ; High Availability: Using On lets PHP receive Fast Application' F7 t+ B0 P+ ^7 M
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 ^$ E, O9 a. ?. ^; W: C1 ~: M
  1319. ; database must also be configured to post FAN events.
    ! R' d- h- [# `( |
  1320. ;oci8.events = Off# _6 _. d$ i" S: b$ M/ h

  1321. / X; c# L" P# n% q- `: |
  1322. ; Tuning: This option enables statement caching, and specifies how. J6 O+ ]6 _1 U4 @6 v/ l
  1323. ; many statements to cache. Using 0 disables statement caching.
    5 M2 X- }5 f7 ^" u
  1324. ; http://php.net/oci8.statement-cache-size
    & H: o8 s7 Z5 r! {  f: {& g
  1325. ;oci8.statement_cache_size = 20* n) t' c. _8 Q3 a1 B+ j# z

  1326. : k' I# p; j: {5 X/ N! Y5 d
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ) u/ T+ y2 q4 z. r+ ~6 E8 D
  1328. ; rows that will be fetched automatically after statement execution.
    % F0 z0 l3 T( Y/ E% K$ Y) t, X
  1329. ; http://php.net/oci8.default-prefetch
    7 S; C3 e' G- ]3 e* @" V& X
  1330. ;oci8.default_prefetch = 100
    . n+ g" O' ^; L7 s

  1331. 8 e5 l5 p) {6 B) p& l2 `
  1332. ; Compatibility. Using On means oci_close() will not close
    8 B/ L( W2 f; G1 b  `
  1333. ; oci_connect() and oci_new_connect() connections.: U5 {3 P% X% h6 Z0 ~  F. A* e
  1334. ; http://php.net/oci8.old-oci-close-semantics
    7 t+ @! z, `" H  G" e
  1335. ;oci8.old_oci_close_semantics = Off
    , E( a$ Y6 T0 q: X

  1336. 3 {/ X* G. E1 z3 S- D
  1337. [PostgreSQL]
    - }1 n  B: g% Z. A+ ^
  1338. ; Allow or prevent persistent links.
    * s4 |) ^( M; N
  1339. ; http://php.net/pgsql.allow-persistent
    - g9 s5 l6 C& @" Z+ F8 L
  1340. pgsql.allow_persistent = On  }/ C; L& G( d/ J& u/ X6 |% I1 e
  1341. & j# B  G$ c3 b. n8 B/ I8 {( ?
  1342. ; Detect broken persistent links always with pg_pconnect().
    1 K# P) H, J4 Y/ Z
  1343. ; Auto reset feature requires a little overheads.# o6 [; N, o& R3 L+ o
  1344. ; http://php.net/pgsql.auto-reset-persistent
    : l# `5 E( Z; K" N: j* T/ T% ]
  1345. pgsql.auto_reset_persistent = Off
    , f" C. a- s8 l9 m1 g

  1346. # v4 S4 n+ @; x6 o0 b: ?) B
  1347. ; Maximum number of persistent links.  -1 means no limit.# a1 X, T$ z4 `% J% H; R0 k9 a
  1348. ; http://php.net/pgsql.max-persistent6 {: ~: \2 P" u' T; C
  1349. pgsql.max_persistent = -1
    6 M- k/ \0 o3 X5 ^7 T
  1350. 2 X5 s& |" L7 p
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    1 m, E+ j1 Z7 R: [, Z
  1352. ; http://php.net/pgsql.max-links# S+ F  K& I% H
  1353. pgsql.max_links = -1$ }* C  L/ h8 J6 M* {# y+ n0 X

  1354. ! M$ }% q$ ?, C3 V6 u
  1355. ; Ignore PostgreSQL backends Notice message or not.! T9 X0 }9 t1 t3 A8 U
  1356. ; Notice message logging require a little overheads.
    " _8 @1 `, }6 _8 E) P7 {' h! W
  1357. ; http://php.net/pgsql.ignore-notice
    1 O8 E- F* O. p* y
  1358. pgsql.ignore_notice = 0' V1 f% ~: P( }) R2 E5 U. a8 Q
  1359. ( J& B$ m( n. v0 `- l
  1360. ; Log PostgreSQL backends Notice message or not.
      P! `* `  L% E% L  U# m; `
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ' {& e( s- l) ^
  1362. ; http://php.net/pgsql.log-notice
    + B' i1 a: s/ c& N5 J
  1363. pgsql.log_notice = 0
      l, L' {$ F' n

  1364. ) j( I2 ?" u# z% n1 m% z% B
  1365. [Sybase-CT]! E5 n+ p( F( B. D
  1366. ; Allow or prevent persistent links.
    0 B' |- f4 {5 z! {! K+ A
  1367. ; http://php.net/sybct.allow-persistent5 s- M8 a: A6 H+ ?8 A1 O5 ^4 d
  1368. sybct.allow_persistent = On
    $ a/ W! o4 H% L, j% S9 v

  1369. 1 F$ v' x) [( C
  1370. ; Maximum number of persistent links.  -1 means no limit.
    : e/ A) ^% Z3 m+ x0 G: B
  1371. ; http://php.net/sybct.max-persistent
    . J$ p' l; p% U$ [0 W3 B
  1372. sybct.max_persistent = -1
      ]+ ?8 |7 H' S3 K* M4 b+ }0 ^
  1373. % S8 K5 Y5 S- d1 n% r, {7 ^
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# B9 R% s% Y8 W
  1375. ; http://php.net/sybct.max-links8 ]# h5 D, T# O
  1376. sybct.max_links = -1
    - l6 i" h$ K# }6 D; @

  1377. " Q6 Z+ G5 C* L2 q
  1378. ; Minimum server message severity to display." V; ^) h$ d* O7 S' t
  1379. ; http://php.net/sybct.min-server-severity8 i" L8 f) O( x0 R: [
  1380. sybct.min_server_severity = 10" G" R$ o, s% ~6 Y/ R
  1381. 4 I  S7 a. X8 P; B, r5 j
  1382. ; Minimum client message severity to display., K' U) U6 @! g: n) ~/ J
  1383. ; http://php.net/sybct.min-client-severity
    : u2 p$ t6 h9 T( ]% B) ?2 h
  1384. sybct.min_client_severity = 10
    , c' N2 m; @; m

  1385. # x4 ?# y7 @/ Z3 U5 `1 i
  1386. ; Set per-context timeout
    3 D  W9 `8 K2 f/ m! u6 k0 A( j
  1387. ; http://php.net/sybct.timeout6 C$ V( p4 ]& V5 e4 B
  1388. ;sybct.timeout=+ s- c: F# Y( @4 B8 a6 ]7 P# v

  1389. 4 `( m- v" t' m/ w9 U
  1390. ;sybct.packet_size+ Y: b% r, a& k

  1391. : y5 w+ N2 C1 a6 @- p
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    0 z( E) ]1 n  V7 V
  1393. ; Default: one minute
    . V8 ]# c' I2 v" P0 g  j! L& r! @: r$ p
  1394. ;sybct.login_timeout=$ \" ~! @. ^9 z& X" n$ v
  1395. + ]; B; P% m6 \/ ^7 Y5 u$ x4 ]1 _
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    # C& ?' q  P9 y3 g% w6 x
  1397. ; Default: none
    4 T! C* ?4 [- T- m
  1398. ;sybct.hostname=* h8 s9 `2 p7 B' e& O" l

  1399. ) @& n0 I4 C  p/ S: z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ! Q$ K* I, a  }' f9 x; P& i3 i
  1401. ; Default: 0. ^' O$ K0 p$ s( q8 K8 ~
  1402. ;sybct.deadlock_retry_count=
    & ~* f% v) Y- R5 S9 S, f
  1403. 2 m% F0 |0 m0 |1 I, k
  1404. [bcmath]& ~/ M1 d' R* H5 ^# |
  1405. ; Number of decimal digits for all bcmath functions.
    % w+ F8 p4 X' M+ B+ _6 f
  1406. ; http://php.net/bcmath.scale' F/ T* C* y: O- y# l/ ~6 h
  1407. bcmath.scale = 0( T4 F3 {& b& n" J- m+ u
  1408. 1 K; a4 j$ X& K. T* y" l' k
  1409. [browscap]: x6 ?; ^: @4 H2 p1 _
  1410. ; http://php.net/browscap; V, y3 D8 j) M
  1411. ;browscap = extra/browscap.ini
    9 ?7 T1 b7 H* {& ]
  1412. # T3 V- x: C/ O7 {0 O) w
  1413. [Session]5 A. `* L+ N  V6 ]
  1414. ; Handler used to store/retrieve data.8 y5 k' A3 r+ U8 c5 t5 }0 C
  1415. ; http://php.net/session.save-handler
      R9 w* d2 y9 `# x- p3 W
  1416. session.save_handler = files
    - [/ o. g7 ]" S, z7 i6 @

  1417. 5 R1 k8 F' o" `0 U7 }! H& Z. e
  1418. ; Argument passed to save_handler.  In the case of files, this is the path: W2 d4 u( x4 l6 ~+ r+ e
  1419. ; where data files are stored. Note: Windows users have to change this
    : @! w* {& C7 T0 N4 e
  1420. ; variable in order to use PHP's session functions.
    : l+ J1 {4 n1 Z
  1421. ;
    ; v. ~! R6 @/ N4 F
  1422. ; The path can be defined as:( m! N" F% n8 J
  1423. ;% w1 l5 W$ L+ S) g: l
  1424. ;     session.save_path = "N;/path"
    " Q! {( V% m+ h; S9 M6 N# _4 [! N( y3 D! n
  1425. ;
    7 R( ^  A. d& s) m2 ?2 n/ }* ^9 n
  1426. ; where N is an integer.  Instead of storing all the session files in! }; V( m  x  {) \& I
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    $ @& H4 V& y1 k
  1428. ; store the session data in those directories.  This is useful if
    ) Z; V* w. C' E; W6 Q; K
  1429. ; your OS has problems with many files in one directory, and is
    . f+ z: V' [( k) {- }. u
  1430. ; a more efficient layout for servers that handle many sessions.; t" [  {6 K# K7 m/ p
  1431. ;4 v# J5 O4 [! E- v
  1432. ; NOTE 1: PHP will not create this directory structure automatically." N6 B- P0 ]& ~; z1 H3 a
  1433. ;         You can use the script in the ext/session dir for that purpose.
    $ w2 A3 c: |4 o7 n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ' o7 W. v3 K& W+ I
  1435. ;         use subdirectories for session storage
    6 ~0 {3 v: G6 R: d2 K
  1436. ;
    - x9 d" P% r& H
  1437. ; The file storage module creates files using mode 600 by default.
    8 H6 J' `8 f" s
  1438. ; You can change that by using+ T% \. u) p: r0 b
  1439. ;
    ( w; p' X8 ~1 u$ M
  1440. ;     session.save_path = "N;MODE;/path"# X2 a# j8 s  p/ g9 H
  1441. ;
    3 R3 y+ z. P0 K& a" \
  1442. ; where MODE is the octal representation of the mode. Note that this. v; Q0 K( ?2 e& {! c
  1443. ; does not overwrite the process's umask.3 |( a) D( P7 L; D5 o
  1444. ; http://php.net/session.save-path$ I* U# `7 _; p* }) p
  1445. ;session.save_path = "/tmp"
      N, Q8 ]8 V( m3 k, i# U# |

  1446. + ?( c; D- Z2 R% Z
  1447. ; Whether to use strict session mode.+ f( ]) I5 X8 j% M  W: f* u
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    , d% u) X# C% |: G! l2 X* ~: p1 j
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects4 W4 K% L/ c; x3 l1 ~
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ' K' ^: ~& M, i0 R7 U" z- J
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " _, d6 [# b1 F
  1452. ; https://wiki.php.net/rfc/strict_sessions2 `' C9 _$ {, d3 ]$ i! O& l
  1453. session.use_strict_mode = 0
    8 O8 j$ T* E/ X
  1454. . L, C, m/ o) o* V  {) r# K
  1455. ; Whether to use cookies.
    ) Q! U. ?: d/ j, f6 v
  1456. ; http://php.net/session.use-cookies/ O2 Y8 k4 R3 [5 w
  1457. session.use_cookies = 1
    8 L; m. }5 C; I$ N% z  t5 X

  1458. 9 T( ~. m' w8 g) R
  1459. ; http://php.net/session.cookie-secure0 h* l* |. B3 r( d
  1460. ;session.cookie_secure =
    ' V8 `% N# o/ J6 X# e

  1461. % ^0 }$ B! K3 m4 X6 X1 y$ w
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ! y3 f5 o4 }% H4 n( @
  1463. ; the session id. We encourage this operation as it's very helpful in combating, L7 g; @# ?- J: T8 z' C
  1464. ; session hijacking when not specifying and managing your own session id. It is
    7 f/ P* W  [" q: D" g' l% |6 `
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % ^3 Z+ f8 \6 u. n4 a8 f. L
  1466. ; http://php.net/session.use-only-cookies; Y( g/ ]6 ^9 w) ?+ W2 G/ E
  1467. session.use_only_cookies = 17 Y- F5 n3 @* ^+ _4 A

  1468. / K4 j; i6 s0 l6 C% Q. M
  1469. ; Name of the session (used as cookie name).
      S& f. p, U3 h
  1470. ; http://php.net/session.name
    : z! Q/ d3 S; K/ s
  1471. session.name = PHPSESSID& S: v: S! f' R0 C. b
  1472. 9 g- h$ r& ]8 z( b; Z2 k
  1473. ; Initialize session on request startup.
    " [: ?% s5 A% t, }
  1474. ; http://php.net/session.auto-start
    . K- W3 Y8 E8 m* _$ k" X* B" f
  1475. session.auto_start = 0
    ( i+ H4 C7 W( Y2 P% I! L& ]) x
  1476.   f! q" J1 h* P) W$ h7 n* N( _
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.7 @5 D" s8 R% Y3 s2 o
  1478. ; http://php.net/session.cookie-lifetime
    ) m6 X' N/ U. v# a3 w7 \1 e
  1479. session.cookie_lifetime = 0
    % K  F' e+ \5 x& ]5 o. L
  1480. & \; D  C6 F! g) A) h
  1481. ; The path for which the cookie is valid.
    . ^* Z) d  n, a, U/ u# M8 v
  1482. ; http://php.net/session.cookie-path
    ( H$ J8 ], |6 T+ L7 H) [( x8 O( w
  1483. session.cookie_path = /1 B# ~$ C: X! j! @* I% S2 V  G
  1484. 3 N$ g# |  V8 b# e  U- D) F& i3 L
  1485. ; The domain for which the cookie is valid.
    & w1 {' u2 M" M  ~( |
  1486. ; http://php.net/session.cookie-domain
    + D# e- A8 I! |# c; B: K6 y
  1487. session.cookie_domain =
    $ P9 u8 V$ x" b$ X& k- E& f+ s' I

  1488. , r. H  a8 `& K6 [6 T# h  u
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    + j* S: K0 _- F$ x% N1 ^
  1490. ; http://php.net/session.cookie-httponly2 A8 @: d, w3 v; b6 d. x' V* B& s
  1491. session.cookie_httponly =: R/ M; ]' G; F9 v: a% y/ s
  1492. ) q  r% Y8 `  E& S8 G4 l
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : M3 H: g  i- F, l2 i" I
  1494. ; http://php.net/session.serialize-handler
    ' C; ]4 }% g9 ?# _% Q( M
  1495. session.serialize_handler = php
    0 F# r2 a& ^! o$ B- Y9 v
  1496. ( }1 m& z$ ?; J. H& V6 w
  1497. ; Defines the probability that the 'garbage collection' process is started8 V2 ~( I4 `; I
  1498. ; on every session initialization. The probability is calculated by using
    * l# v* k( G- |( `* ~* O
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator; G3 @4 ~$ C6 D. @  E
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    / L* A% L- S$ {% {9 D9 j7 a
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - R5 ~) d. }% q/ f2 y" W# s" t
  1502. ; the gc will run on any give request.
    * f& G9 V1 p# A
  1503. ; Default Value: 13 n% p5 C6 d2 H6 X
  1504. ; Development Value: 1: }  k% x( X+ W: ]
  1505. ; Production Value: 1
    ! m' O5 C+ F2 s! S: C) e6 I
  1506. ; http://php.net/session.gc-probability0 @7 v8 h/ ~( ?/ D# J; A0 {$ s$ o
  1507. session.gc_probability = 1
    6 l: A8 |4 X# l$ r; b

  1508. 1 m5 d+ d6 {; P: S# i
  1509. ; Defines the probability that the 'garbage collection' process is started on every$ `7 O0 z/ R! o9 j
  1510. ; session initialization. The probability is calculated by using the following equation:' q& A2 G5 W9 R- s3 O
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 _- `2 M+ n( Z& L# \7 o
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 19 b% L2 x7 \: z6 E' M# _9 ]
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 N4 P/ U& f. N- A8 a- y1 j* {
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you# c/ E! K8 @; @$ j  v, b# A
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    " q6 S8 p( T( c
  1516. ; this is a more efficient approach.
    % d* X% k$ T4 x7 L' k
  1517. ; Default Value: 100
    - Q: n1 B% k) i7 n3 y
  1518. ; Development Value: 1000; `! j) q7 G9 i6 T! h- Z
  1519. ; Production Value: 1000% ^+ u4 L" R) ~2 _) `9 S+ J' }
  1520. ; http://php.net/session.gc-divisor$ H% C$ p2 r* m+ f1 c4 q
  1521. session.gc_divisor = 1000
    ; q# b& }+ {' n/ J" m" ^2 g

  1522. ) b% f/ {: }: `- G
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    % O; ?8 c& g4 Y  f* V
  1524. ; cleaned up by the garbage collection process.
    * D1 a# `% K2 M; d6 I' s
  1525. ; http://php.net/session.gc-maxlifetime
    4 w( R, d: |2 _0 k" U! K! C
  1526. session.gc_maxlifetime = 1440
    9 `/ D: V7 j0 a" @

  1527. ! d# N. N; E/ ^4 x" v1 G! z
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    2 g, A- D4 Q1 G; u4 \$ S8 p
  1529. ;       (see session.save_path above), then garbage collection does *not*7 v% L9 n+ r) J2 u2 `6 s( Q
  1530. ;       happen automatically.  You will need to do your own garbage
    7 @; e, D. e) x  R* H
  1531. ;       collection through a shell script, cron entry, or some other method./ k! J) S. {7 \' r! ?' f# I
  1532. ;       For example, the following script would is the equivalent of0 ?, v4 v! O4 O2 y
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    $ T; _  N# j, S  f) ?" x, `8 F& D
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / t4 g0 x% [6 L- o/ ~  p
  1535. 0 B) {% ^1 X; o! ?
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    " s9 [0 y" Q5 Q
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    + C' R+ `5 v& {. i
  1538. ; considered as valid.1 L9 f! Y9 S$ M- w9 R) x
  1539. ; http://php.net/session.referer-check
    + C+ ?: }- r0 c* r, ]2 F
  1540. session.referer_check =
    & x9 ]* X% r. D5 {, A
  1541. 5 ^& r5 f3 d) j
  1542. ; How many bytes to read from the file.. W# Z7 W( ~- m3 r  I* r7 w# @
  1543. ; http://php.net/session.entropy-length: [& A. a( c; s- u' C: L
  1544. ;session.entropy_length = 32
    5 D" R4 m# p6 W% x& E: Q
  1545. 6 [( g1 I: r8 Y7 v- @0 E
  1546. ; Specified here to create the session id.! k4 k0 d, J  u' P% v5 x
  1547. ; http://php.net/session.entropy-file9 g2 s: O+ r- K& d2 Z' {( h5 t- P
  1548. ; Defaults to /dev/urandom
    $ z6 W- Y$ H# b8 E
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom8 U# S9 f# K0 M7 P: p! Z7 X
  1550. ; If neither are found at compile time, the default is no entropy file.
    8 g+ w( D6 K1 V" r5 U
  1551. ; On windows, setting the entropy_length setting will activate the- k, k7 f) Y4 ]1 r4 |
  1552. ; Windows random source (using the CryptoAPI), E" X& \3 w& X* F9 A' w$ Q
  1553. ;session.entropy_file = /dev/urandom8 K# z5 h! h7 H! B: K; C
  1554. + ~8 c& D3 k( S8 E4 t6 F# _
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    5 x) L! H. l+ O% b+ K( `* X
  1556. ; or leave this empty to avoid sending anti-caching headers.
    9 D7 q, J6 ?9 y2 K) Y4 O, R0 U8 N
  1557. ; http://php.net/session.cache-limiter* v* R/ U( H) }% x& e( t2 ~& x
  1558. session.cache_limiter = nocache
    4 Z) M) R, U1 q
  1559. 4 G; k- P- r' Q+ O; V
  1560. ; Document expires after n minutes.( c( o/ V5 ~% A# Q5 d( s8 z
  1561. ; http://php.net/session.cache-expire4 l9 c, h5 d, _/ P5 |8 A
  1562. session.cache_expire = 180, j- L% Q1 e3 c

  1563. ( w9 i, J& ]4 K( X6 x7 h5 Q
  1564. ; trans sid support is disabled by default.
      P) Z8 ~1 t2 M7 }
  1565. ; Use of trans sid may risk your users' security.
    8 w- ^% E9 a* D7 n
  1566. ; Use this option with caution.: E! d  ?- j: w8 O! i
  1567. ; - User may send URL contains active session ID
    : D+ L- p: y; n$ G7 T
  1568. ;   to other person via. email/irc/etc.
    + z! A# T1 y7 y3 |+ W
  1569. ; - URL that contains active session ID may be stored
    ( J' u1 I. k" A
  1570. ;   in publicly accessible computer.$ p1 i1 _# h7 k2 k
  1571. ; - User may access your site with the same session ID: X! ?) s0 h$ M& U
  1572. ;   always using URL stored in browser's history or bookmarks./ X4 g9 y! V& b$ V
  1573. ; http://php.net/session.use-trans-sid6 A$ w1 d  Q# {" P5 Z
  1574. session.use_trans_sid = 0
    5 `; S7 j4 W$ k# V  v5 p8 n" n

  1575. 7 Z3 r9 Y5 c, R- o% v, X( z
  1576. ; Select a hash function for use in generating session ids.
    + F! ?; G9 A. |9 X8 e( \
  1577. ; Possible Values
    4 ^3 w* Z; d3 d2 T, U
  1578. ;   0  (MD5 128 bits)
    ' I9 N; \! t' L* v
  1579. ;   1  (SHA-1 160 bits)
    * L) g8 ^: i# T
  1580. ; This option may also be set to the name of any hash function supported by# z  W6 f! D2 Z4 V% U! ?
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()1 g- o( }5 V- u; o+ \- q
  1582. ; function.
    , C4 _7 W) @6 d
  1583. ; http://php.net/session.hash-function
    ! Y0 \) q" R7 k" {* @5 n/ F
  1584. session.hash_function = 0
    ! d9 J' t- M+ L/ y) A, u! K% Z
  1585. 4 I2 ~* e, b& {& }
  1586. ; Define how many bits are stored in each character when converting
      i8 n% n4 f# p. V( T
  1587. ; the binary hash data to something readable.* D9 W; _( c/ t9 l% O- n5 q$ @7 r
  1588. ; Possible values:
    5 X& V4 @, J) ]7 T( q1 z: h
  1589. ;   4  (4 bits: 0-9, a-f)
    * W- ~* i9 ]- z. S0 G4 x+ C1 G: t% u
  1590. ;   5  (5 bits: 0-9, a-v)
    : h6 H/ x. E( K4 D3 C. H
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","), b$ u  f" f+ b7 F  ^% M  P
  1592. ; Default Value: 4
    9 C! w$ x" w  ]7 d$ J
  1593. ; Development Value: 5( L% W, n# J  `- ^- u5 t9 d; z& M8 a
  1594. ; Production Value: 55 k3 a& k/ L* w, P6 O
  1595. ; http://php.net/session.hash-bits-per-character
    : _# r$ S" h+ S) @$ F1 v# G
  1596. session.hash_bits_per_character = 5
    . s) a( T0 E3 b- b+ W# `
  1597. . e/ _- z2 y5 O
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    % S  @5 [" s% p, |; q/ r
  1599. ; form/fieldset are special; if you include them here, the rewriter will5 T* j- L& E8 X
  1600. ; add a hidden <input> field with the info which is otherwise appended( i: k" B- Y2 P6 Y, S5 l$ {
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ' L) I, E. \9 L& K, }
  1602. ; Note that all valid entries require a "=", even if no value follows.
    4 ^: z: _7 M. Z. u) P
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="( W& T4 L+ {2 V) s
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" f" V) _, \. y; q- t; r# w3 E
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  u* h$ J! ]7 M# ~4 J& M
  1606. ; http://php.net/url-rewriter.tags# I+ g) r: S1 i6 ^8 D. g. f
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- \! X. X- J5 ?5 ~
  1608. 7 e: e0 l8 S# s' h9 A2 b7 @
  1609. ; Enable upload progress tracking in $_SESSION
    : M7 j5 I! E4 n6 x7 Q# d* |2 J
  1610. ; Default Value: On
    6 W9 f6 f$ z, U0 O; t. Q
  1611. ; Development Value: On
    ( R% E* D2 `5 |- A: `# ?. H. g  y
  1612. ; Production Value: On$ p4 u5 {8 G6 T- W& m: V7 }& C% Y
  1613. ; http://php.net/session.upload-progress.enabled* G' o# e! h  G* [% j7 q0 I
  1614. ;session.upload_progress.enabled = On
    ! V& h" S) D5 @& k
  1615. ) V3 X( z0 S- ]1 I. k1 [: @9 O
  1616. ; Cleanup the progress information as soon as all POST data has been read& F* V4 ^3 v$ h& X- H0 L2 P
  1617. ; (i.e. upload completed).
    - F' c1 I0 U& J) R# e
  1618. ; Default Value: On+ q. G9 F% w5 s, W9 ~# e
  1619. ; Development Value: On
    . C  j$ f* _) O! g
  1620. ; Production Value: On
    / C% E7 _- K' M2 a' n! X
  1621. ; http://php.net/session.upload-progress.cleanup
    + {3 Q% v$ Q, Q6 m" i4 O! ~
  1622. ;session.upload_progress.cleanup = On. ^3 X" N+ ~3 a. [6 D8 |

  1623. % G/ |' c1 M% t7 }
  1624. ; A prefix used for the upload progress key in $_SESSION5 V, l# v% C& j5 i
  1625. ; Default Value: "upload_progress_"0 [" d  y0 _+ `! g/ Y
  1626. ; Development Value: "upload_progress_"% U8 b( `6 K4 X; k# z! C, ]
  1627. ; Production Value: "upload_progress_"
    2 t- b  ?. b1 m
  1628. ; http://php.net/session.upload-progress.prefix
    " b3 t5 `# P9 z# x$ l" N
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' m/ Q$ Y3 \) C  `% B
  1630. . X0 E* M8 b) U1 J/ R
  1631. ; The index name (concatenated with the prefix) in $_SESSION9 i* {, A- l. j0 b  N
  1632. ; containing the upload progress information, i7 I, s; m6 D8 a6 T& \) _, J, S. q$ i
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 W. q0 m6 \1 ?2 k& a- M) R
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". x4 R5 A* Q; U; m
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"% q& l( q) r) |2 {" J2 H' c$ q/ m
  1636. ; http://php.net/session.upload-progress.name" L" L4 J  ]  S- R5 f& o4 G
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    + L. C6 K  m0 l' J2 B8 o+ G9 t$ x8 t

  1638. . L- e+ w' n+ U) D
  1639. ; How frequently the upload progress should be updated.* `0 d; ^0 f% s- Q, x. }
  1640. ; Given either in percentages (per-file), or in bytes2 B& o4 P! Q  M( y( w, O7 e9 B; H
  1641. ; Default Value: "1%"; L4 R/ p7 j' f" ^6 _
  1642. ; Development Value: "1%". E& X$ t) t( E0 ]
  1643. ; Production Value: "1%"$ I6 q! I* H4 m+ Z$ ?; \
  1644. ; http://php.net/session.upload-progress.freq1 _0 l4 x4 }+ g1 h4 d
  1645. ;session.upload_progress.freq =  "1%"
    $ n* n, w, S/ x: h
  1646. ( C! w/ ~$ |1 e! j
  1647. ; The minimum delay between updates, in seconds
    6 p. S/ X4 i+ e8 I/ t; |  Y
  1648. ; Default Value: 1
    ( v1 d/ l: t& G5 d- D0 ?
  1649. ; Development Value: 1
    9 h3 l9 ^4 ?* X5 S8 {
  1650. ; Production Value: 1; l/ x4 h  z4 W9 L1 |( G  ]. d. F) P
  1651. ; http://php.net/session.upload-progress.min-freq
    , r" F/ c/ S4 B4 P
  1652. ;session.upload_progress.min_freq = "1") E5 N# [+ t! k  H9 N# x
  1653. / r1 l! j% x+ w1 q
  1654. [MSSQL]
    ; A/ K: Z  V+ L" ]9 T! p
  1655. ; Allow or prevent persistent links.
    " m+ T* m; [. ?" r! k3 p4 T& N
  1656. mssql.allow_persistent = On: I3 ~7 `/ c- h+ ~/ _/ `

  1657. % s/ p( g/ I3 J' n
  1658. ; Maximum number of persistent links.  -1 means no limit.# z  e/ W- y1 n9 A9 f
  1659. mssql.max_persistent = -17 e, Q7 |3 S6 j! g- C

  1660. 7 A2 ?( g4 Z: d0 \7 b
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & m1 U0 g" F9 W; C( A( _
  1662. mssql.max_links = -1
    9 m/ G$ e6 i0 F) N8 r% e; k. G
  1663. 8 @$ m1 O3 U4 z: L4 n. Z( i
  1664. ; Minimum error severity to display.
    ! I2 i4 P) j# t# r+ y
  1665. mssql.min_error_severity = 10! k# S" p/ w! a) i4 _# m6 b7 c
  1666. $ k7 l2 B) ~/ d) E! F6 o3 i
  1667. ; Minimum message severity to display.' {7 ?0 t6 W" K5 F
  1668. mssql.min_message_severity = 10/ O. j% q6 S0 d. u
  1669. ; }# {$ U9 K- S) X% ~* f3 b: H
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ( q8 ]& N; k; m0 b+ W
  1671. mssql.compatibility_mode = Off
    " e1 R8 D. }& p! _9 ?

  1672. 6 P% s. a. |/ ~- k/ u
  1673. ; Connect timeout
    4 X: B0 M0 H& ]
  1674. ;mssql.connect_timeout = 56 Z! J8 m4 P( S8 N, g% k9 S/ X

  1675. ' x) d. m$ h( c& z2 z" V. T+ V
  1676. ; Query timeout
    1 ?7 s3 C) J0 c; Q7 Z2 X
  1677. ;mssql.timeout = 60# }6 C" r9 r& w
  1678. ! K# }7 S; i5 V1 H6 h$ K
  1679. ; Valid range 0 - 2147483647.  Default = 4096.  d' P: \8 h) U% m
  1680. ;mssql.textlimit = 4096
    9 v9 I) r+ M1 m% N2 K4 K
  1681. - e0 p* |* ?* _' I6 W+ D7 ]
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ; u6 t4 b/ b) f+ I
  1683. ;mssql.textsize = 4096
    3 X' K) Y. y  ?" Y4 [: C5 o
  1684. " z' M7 ~. W; l
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.3 ]4 ^: c2 s6 @: g( V5 y# w
  1686. ;mssql.batchsize = 0
    6 A/ s- \0 v4 }

  1687. , g9 l5 Y# B5 i/ I
  1688. ; Specify how datetime and datetim4 columns are returned8 J: O! k" ^$ c0 g# u1 B5 H
  1689. ; On => Returns data converted to SQL server settings4 J0 U! W( k5 \/ A' x7 ~
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    % t" U, @5 ?) r9 [1 f
  1691. ;mssql.datetimeconvert = On0 v0 {2 O5 ?* N$ w' b2 ~

  1692. " F+ O7 Z+ {. U& l8 F3 x
  1693. ; Use NT authentication when connecting to the server/ z* d- G; ?7 J$ c  ?
  1694. mssql.secure_connection = Off
    4 C" x' E: n, j/ d& J/ Q
  1695. - `3 V6 k1 P( {& {" k
  1696. ; Specify max number of processes. -1 = library default( D' c, ]) Q$ p$ x$ M% A: a
  1697. ; msdlib defaults to 25/ ]) [- u7 m  G- |3 M2 L6 R8 s
  1698. ; FreeTDS defaults to 40962 m1 r: p% n; s3 _- t! w
  1699. ;mssql.max_procs = -15 \. w+ I2 F. o. \' V
  1700. 8 ?3 P2 j# I" o7 p1 y
  1701. ; Specify client character set.+ P; ~1 `3 X# M0 A1 y8 n
  1702. ; If empty or not set the client charset from freetds.conf is used
    : L' ~% G- N( h* H( V/ ~- a$ r% Q
  1703. ; This is only used when compiled with FreeTDS7 G6 ~( j$ v9 \  C) C4 ?
  1704. ;mssql.charset = "ISO-8859-1"
      m9 p& K9 e0 H! B3 P2 s
  1705. " A' f. [& o; ~# c5 }/ o! ]; }4 v' c$ I
  1706. [Assertion]5 H' R3 r8 j6 X0 T4 c  E
  1707. ; Assert(expr); active by default.% R4 W" ]( ]6 \& q
  1708. ; http://php.net/assert.active
    ( e- I$ r  R/ |, d" X/ \5 p
  1709. ;assert.active = On
    1 Y9 ?6 k% |: N; n9 m( c

  1710. ; J7 z/ ]) f8 N6 h9 q2 V2 Y  w
  1711. ; Issue a PHP warning for each failed assertion.
    3 @, B. v3 F5 P! x$ h
  1712. ; http://php.net/assert.warning/ b& E1 P  e  ?! ?5 h% ?
  1713. ;assert.warning = On
    / n! v, O1 X# H# N' a

  1714. 1 @  n* ]( w9 Y0 J# z4 h! b
  1715. ; Don't bail out by default.
    / h8 ^: l$ U. d; n
  1716. ; http://php.net/assert.bail
    6 p" O! g$ D! w" A
  1717. ;assert.bail = Off
    5 l3 v2 v9 R3 A& S8 v
  1718. ' y& U  `& U8 C3 @, s
  1719. ; User-function to be called if an assertion fails.
    " q, f/ v' ^$ }$ [- L! G
  1720. ; http://php.net/assert.callback
    & l) P7 s1 o) X
  1721. ;assert.callback = 0
    6 r! P  @! T9 u" z

  1722. & H1 u2 G7 }2 w4 I
  1723. ; Eval the expression with current error_reporting().  Set to true if you want& o  }1 C0 K: R# Y& W. J& g
  1724. ; error_reporting(0) around the eval().
    + x; E% U7 b$ M, ]9 A+ f% y5 O
  1725. ; http://php.net/assert.quiet-eval2 T, W7 R) o4 L6 J$ E! H  b; b
  1726. ;assert.quiet_eval = 09 z6 W3 G, ~/ P6 x- J

  1727. : D+ [' b7 F- r) x
  1728. [COM]
    5 |3 V, Q4 U. Y$ F! Z' R6 K. U" i
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( N' u4 |# S2 U/ K' e2 H* Q* A1 [0 B
  1730. ; http://php.net/com.typelib-file
    . N2 ~% S1 L/ l& e6 o) t# E3 }: \
  1731. ;com.typelib_file =, Q! a7 |3 ^% J1 N8 r3 O! R
  1732. . v2 y$ J6 G. L
  1733. ; allow Distributed-COM calls, O+ D. {2 i9 m0 X! x* j: s( f
  1734. ; http://php.net/com.allow-dcom) c9 S! i8 s" \8 G! O
  1735. ;com.allow_dcom = true
    & Q# k% A7 J1 p4 w! ^# s
  1736. 3 m- i7 Q- U4 k0 ~
  1737. ; autoregister constants of a components typlib on com_load()
    - j) D! }2 i5 H: R) @* Z' E3 M. F
  1738. ; http://php.net/com.autoregister-typelib
    ( r0 Y2 O! _* s5 {( f* [
  1739. ;com.autoregister_typelib = true# j1 }) E6 r  C. `4 N! |. S

  1740. 4 @( [3 |3 w& ~4 }4 C& V
  1741. ; register constants casesensitive' g  z8 Y+ z& T/ I+ {. u+ s
  1742. ; http://php.net/com.autoregister-casesensitive
    ! X# X) B+ q' g2 k" A6 e
  1743. ;com.autoregister_casesensitive = false
    1 F$ A/ Q+ Z0 n9 f! o" x

  1744. - p( E" ]5 B6 ?
  1745. ; show warnings on duplicate constant registrations
    8 R2 w0 W" _% J  @. [& c/ {
  1746. ; http://php.net/com.autoregister-verbose' J- P" @9 u6 J- ~. C
  1747. ;com.autoregister_verbose = true
    ; X% T7 x, A) t- L# h
  1748. ! C- z. [5 c- T  _2 Q7 F' u* |$ G
  1749. ; The default character set code-page to use when passing strings to and from COM objects.1 W9 d, k0 H" ^  ^$ X
  1750. ; Default: system ANSI code page
    1 d* i$ T6 l) T
  1751. ;com.code_page=( F% ?* m; p+ B) N1 Q9 R

  1752. ) K, t0 Y- t( M0 [
  1753. [mbstring]
    # A; X* n9 w) x( q
  1754. ; language for internal character representation.! R, {& d2 i6 F
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    2 \: i2 S5 }; K3 U9 K, K! L
  1756. ; http://php.net/mbstring.language0 W+ y( o; O6 l/ h- Q( g9 _" D
  1757. ;mbstring.language = Japanese
    3 D1 \, N" Q% U% S. w0 m: f  D2 O

  1758. & P$ D8 m# m6 f. F
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 A: a: Y) i6 l6 {
  1760. ; internal/script encoding.3 K* n' F. i; J+ A: L- q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). H. S+ A4 R$ g3 H! Z% o. B' @
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 U% x" T! c  n/ Q: |5 i5 x6 ]  }
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( t8 V" Z- M9 }/ J. R/ `, b
  1764. ;mbstring.internal_encoding =
    0 D) s7 h9 w) }& |. i7 P8 r

  1765. * @+ I/ K6 f* Q/ p; F
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.+ v( i% j$ \& H; B4 \# t# t
  1767. ; http input encoding.
    ( c' N5 q$ U1 `: |
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    2 a; z0 `  f& u; N3 d8 Z( L/ |
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.* h; [; I5 x6 M9 H
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ( E2 g1 h- p& I8 `, E
  1771. ; http://php.net/mbstring.http-input
    - @4 b% l) }. x; D% \% _
  1772. ;mbstring.http_input =/ K& k; M8 s! z' K: X

  1773. 0 ^3 M! I, R' u! [' u7 e% Z
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.9 m4 F5 c9 Z1 ~2 L1 ?
  1775. ; http output encoding.  i& \7 ]) V; z2 E1 E
  1776. ; mb_output_handler must be registered as output buffer to function.- O; X# {/ K5 j" G0 c
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    , c. V. s$ ]& t% I$ O
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    * g: R3 l4 I9 K" p+ x) @" y5 z! {$ ]
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ) M: p& `0 g1 r1 X- \
  1780. ; otherwise output encoding conversion cannot be performed.
    6 J" ~) x. U2 S7 q9 l9 A0 r. p
  1781. ; http://php.net/mbstring.http-output+ K0 s- H; k2 z, E% J7 G  t
  1782. ;mbstring.http_output =
    ( L" X, b  o$ f* |, E
  1783. 7 P: c  ]8 \4 A; e; d% E- y! [
  1784. ; enable automatic encoding translation according to
    1 T  W( D; @1 r
  1785. ; mbstring.internal_encoding setting. Input chars are5 `+ H( g) J) Q& o1 L- F
  1786. ; converted to internal encoding by setting this to On.
    3 |9 H% `2 M8 T# p1 w# H! \8 v
  1787. ; Note: Do _not_ use automatic encoding translation for
    0 v; W8 P" e# A$ @) t" [
  1788. ;       portable libs/applications.
    + D! u9 t- Q: H5 C# D7 @
  1789. ; http://php.net/mbstring.encoding-translation
    ; w! c- s# D' ?( R+ @, E
  1790. ;mbstring.encoding_translation = Off* H$ K. t$ c- A* l7 r/ [  g

  1791. 5 t: {- m6 J0 x+ U+ ?- x
  1792. ; automatic encoding detection order.
    1 ~& O3 a; ^* _4 k( E3 H
  1793. ; "auto" detect order is changed according to mbstring.language
    9 t' b4 A! e# g# |  ^# Z+ \6 D
  1794. ; http://php.net/mbstring.detect-order! B, E0 v9 b; R; A1 @
  1795. ;mbstring.detect_order = auto
    * o$ d) Q5 e  x9 K
  1796. % n! ^8 H3 y; X" w2 n
  1797. ; substitute_character used when character cannot be converted
    # e' `% z5 M9 E; }
  1798. ; one from another
    $ G5 e( P" R  A; I3 V/ o2 }
  1799. ; http://php.net/mbstring.substitute-character% a$ s6 h3 S6 {: s+ e+ k. \3 X
  1800. ;mbstring.substitute_character = none: W; c6 g1 r2 Y! N: S/ b
  1801. ! h  _7 y/ e2 Z. U
  1802. ; overload(replace) single byte functions by mbstring functions.
    ; `, f% d" A$ Q; `9 |
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),; x5 |+ f( B, H$ p8 ~' q
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.1 |$ F# X" y7 B5 d* W  W. D
  1805. ; For example, 7 for overload everything.
    : Z6 z( f; O+ z, h
  1806. ; 0: No overload- c5 x+ p3 W  ^: Q2 x9 G
  1807. ; 1: Overload mail() function  O% J& G2 E) _2 v
  1808. ; 2: Overload str*() functions, p3 q  t* m4 ]9 G
  1809. ; 4: Overload ereg*() functions, Q! Z! |  D' i, _. j% A  s+ i% x
  1810. ; http://php.net/mbstring.func-overload
    ' n/ r9 v/ E- a
  1811. ;mbstring.func_overload = 08 r) z* v5 V* f* B9 @
  1812. " E% a) U% {; ~/ v  W% H; d
  1813. ; enable strict encoding detection.
      Z- x. n6 }% ?8 ~0 L- t4 g: J1 R* x
  1814. ; Default: Off! |$ ~! Z/ D% D0 [: d
  1815. ;mbstring.strict_detection = On$ ]3 g) B1 B4 N  P; P, N1 q: {

  1816. & ]1 U0 f) W3 i* l* Z/ i
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()  U1 o! q2 @+ B$ `4 {5 i
  1818. ; is activated.
    $ Z. T* }( O5 O) s) c
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)+ M5 S7 S3 ?7 Q. |
  1820. ;mbstring.http_output_conv_mimetype=
    ( ]# g6 B0 |' p+ p! w
  1821. 0 U: L. \5 B) }' h1 T& t/ N6 A
  1822. [gd]$ l" x9 }7 y! ^2 g7 Y: \
  1823. ; Tell the jpeg decode to ignore warnings and try to create
      y+ u' @% Z: ~' C0 k; l
  1824. ; a gd image. The warning will then be displayed as notices
      i  }" a! j3 S: o! F9 J8 J
  1825. ; disabled by default
    ) X. |4 E) f7 V5 ~1 ]2 i
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ( u0 P( N- j+ A, H9 @1 K2 K
  1827. ;gd.jpeg_ignore_warning = 0' S* m/ i7 @8 ~6 @" {

  1828. 4 @. Z( @/ _% j- G
  1829. [exif]$ E+ i: j, O( y. P8 F7 C/ h
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.+ ?& \/ N  Y- Q6 ^) ?/ H  T! c
  1831. ; With mbstring support this will automatically be converted into the encoding0 O9 M6 m$ A" {: e' L
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 p% k/ M, I9 h0 z: _  g& d! h
  1833. ; is used. For the decode settings you can distinguish between motorola and
    6 |# c: k) [# \* c5 P
  1834. ; intel byte order. A decode setting cannot be empty.+ G4 l) Q# h. B
  1835. ; http://php.net/exif.encode-unicode" n& S# Y6 U6 I
  1836. ;exif.encode_unicode = ISO-8859-15* s( X2 p, o5 `  H9 e, E6 a

  1837. 7 X6 W& Y. u+ k$ E. u3 O
  1838. ; http://php.net/exif.decode-unicode-motorola
    , x1 K& V' c" f  W2 H' ^: j" Y
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    . [9 E8 P1 s: ^! |2 D3 q0 ?
  1840. . K3 R+ o/ b4 \$ u0 H6 G  \
  1841. ; http://php.net/exif.decode-unicode-intel
    8 \( t, F) W! `' \# l2 @; g: {9 Q9 O
  1842. ;exif.decode_unicode_intel    = UCS-2LE; k5 u( o: s% ^' U
  1843.   E' u& p1 c; G8 c
  1844. ; http://php.net/exif.encode-jis
    # k/ t0 H$ ~  N5 g% x3 r
  1845. ;exif.encode_jis =9 O' |0 @8 C$ Z; g

  1846. , _+ E$ d. x' b* U$ j7 G  c
  1847. ; http://php.net/exif.decode-jis-motorola! k: E, }8 ~+ x. F3 {$ g6 b5 o
  1848. ;exif.decode_jis_motorola = JIS
    ' [5 A6 x! o) s0 R# S
  1849. 9 E7 }% l" h+ @
  1850. ; http://php.net/exif.decode-jis-intel
    6 R' M3 S4 _( {  Z1 p8 b
  1851. ;exif.decode_jis_intel    = JIS
    - A. G6 g/ W4 F0 U" R! }1 @2 s) V  o
  1852. ( M, G* j6 M+ }" Q+ c! p
  1853. [Tidy]1 a- ]8 j. z8 F& U* E( G8 ^
  1854. ; The path to a default tidy configuration file to use when using tidy
    ! m( a/ q0 \9 s0 U& c. |4 J
  1855. ; http://php.net/tidy.default-config
    % ?4 h9 ^* B( }/ \0 S% C+ M
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg7 M' g) @9 k0 x3 R4 |# \) C/ s+ i1 z8 F
  1857. - i: a5 M, }- k  V5 b1 {$ T
  1858. ; Should tidy clean and repair output automatically?
    4 N3 d  O& z/ G0 u5 y
  1859. ; WARNING: Do not use this option if you are generating non-html content: l0 h# w5 Y/ O' w  b
  1860. ; such as dynamic images
    / C1 S2 L/ F) d* n8 D
  1861. ; http://php.net/tidy.clean-output
    - j0 z% ~9 p- v; G  z3 ~5 T
  1862. tidy.clean_output = Off2 {1 n+ k$ e7 @" X: N' k
  1863. # e( U0 M: P+ J! d& G( c' `4 j
  1864. [soap]# ^, |$ H! e& L# @! l9 `
  1865. ; Enables or disables WSDL caching feature.! U0 l) f5 O. b6 A- j# P& z" N
  1866. ; http://php.net/soap.wsdl-cache-enabled
    : G$ C+ m- v3 M! n6 W6 G
  1867. soap.wsdl_cache_enabled=1/ [9 b5 K/ \5 b+ i; A  C) c* ^
  1868. $ V7 J3 u( q  h1 S9 E
  1869. ; Sets the directory name where SOAP extension will put cache files., l2 t+ Q* r1 s% T/ N. m
  1870. ; http://php.net/soap.wsdl-cache-dir7 D- K# |% i" \
  1871. soap.wsdl_cache_dir="/tmp"
    5 z1 e/ w$ b- j8 a; [* R
  1872. 6 I2 E) o+ f+ H, G1 v( n5 X7 w. }
  1873. ; (time to live) Sets the number of second while cached file will be used5 k) a4 f  h* j- w: m
  1874. ; instead of original one.
    0 k  \2 W+ ~) ?# R- A, I
  1875. ; http://php.net/soap.wsdl-cache-ttl$ W( S' |7 ~& r2 ?% x
  1876. soap.wsdl_cache_ttl=86400+ i+ B3 I/ o# c6 S' g, K

  1877. / t2 ?5 x4 q) F3 [) W# m$ q
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    1 h/ ?! }$ X% [/ R- {8 a( Y
  1879. soap.wsdl_cache_limit = 5- {$ h( l/ q5 @1 u. G2 M+ A' }
  1880. 2 }, X  o; T2 F9 j" ]0 C6 i- I; Q
  1881. [sysvshm]! I  P+ u6 @8 r% E6 ~
  1882. ; A default size of the shared memory segment
    " J* g+ A$ a0 ?+ K
  1883. ;sysvshm.init_mem = 10000" i: p8 K( i" a& F: _; u7 t

  1884. % u1 v' X5 m0 q. F3 ~8 e3 w
  1885. [ldap]6 o. U! _2 g4 A7 G% z  ]1 C
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    " R" _6 }* W  I# c8 N  V
  1887. ldap.max_links = -1
    # `# s! K  t5 b& |6 l- w6 ^# \/ h

  1888. . g" \' y; ^' T9 V# C' T  M
  1889. [mcrypt]- E" T7 j+ l: e- L' [. L
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 c0 m, n% ]& n( Y! \) Q
  1891. / m6 h, \7 o2 R& {9 i' E+ q+ B5 l2 S
  1892. ; Directory where to load mcrypt algorithms* C7 `) a- b6 E/ a0 `
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! T8 r- P: f( c
  1894. ;mcrypt.algorithms_dir=* t- P4 {7 @, J# L
  1895. & K: r- L" H9 x2 S8 b: O# f
  1896. ; Directory where to load mcrypt modes+ j* l+ Q, v/ u3 q7 A: }
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# E9 H2 V4 D$ F2 n& H
  1898. ;mcrypt.modes_dir=( [! V6 `& W5 N7 \

  1899. ) N! m' H9 B( W# N3 }% ^* n
  1900. [dba]6 w3 E' l2 @9 O! A4 D3 L
  1901. ;dba.default_handler=
    , L$ R' G* N' N# a! H: w
  1902. ( B7 l( z" P$ c. A
  1903. [opcache]
    0 j; Z5 K$ {9 K) l$ r
  1904. ; Determines if Zend OPCache is enabled
    2 g9 W: c7 q' |1 l
  1905. ;opcache.enable=0
    : X- h0 E9 b9 w

  1906. ! w, j9 X) k! b! d, y9 X0 X. P
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ( P7 e/ M5 A* u# g1 r( W" _' j  A
  1908. ;opcache.enable_cli=0
    $ X! k9 c; J4 C& z* X
  1909. ) ]% Z: v& A4 P
  1910. ; The OPcache shared memory storage size.
    + z8 W/ `, D5 p0 r. E
  1911. ;opcache.memory_consumption=64! f5 w4 Q, ^, |2 U, _4 |* U

  1912. ; |2 j; y8 H! U. S- T4 i
  1913. ; The amount of memory for interned strings in Mbytes.8 F* l9 w( p) R  ^
  1914. ;opcache.interned_strings_buffer=43 j0 f" @, ]* O8 F' y
  1915. : D9 Z" w5 \/ G4 I) _. m
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.( E) J0 R+ ^8 x0 Z: }  ]: @
  1917. ; Only numbers between 200 and 100000 are allowed.
    , v2 U0 ~- j1 U1 g
  1918. ;opcache.max_accelerated_files=20001 ]3 {; ~  `: x1 P

  1919. - N# P! ]5 a' Y& J2 R6 }. T4 G+ g
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled./ d3 |: c2 C. D- ^  I
  1921. ;opcache.max_wasted_percentage=5" i+ a  t0 ?9 M) \. P
  1922. ; y; i# t) W1 Q( [$ o  k
  1923. ; When this directive is enabled, the OPcache appends the current working
    - g4 m/ H( o& S9 i& h
  1924. ; directory to the script key, thus eliminating possible collisions between
    # P: W! \, L( p; U4 q
  1925. ; files with the same name (basename). Disabling the directive improves
    , r/ O7 l& c- N* R
  1926. ; performance, but may break existing applications.
    " F6 n$ \! i6 R% a2 g+ X# J
  1927. ;opcache.use_cwd=1  y! i7 l; w/ C
  1928. + {' N' W4 o9 F
  1929. ; When disabled, you must reset the OPcache manually or restart the$ d8 B0 T0 q/ e7 u. z' D3 {
  1930. ; webserver for changes to the filesystem to take effect.
    5 _* t+ s8 x( A( e; T* y+ {3 S  I
  1931. ;opcache.validate_timestamps=1% S) |' }3 x, d! N( K- S2 R9 y$ m1 v
  1932. : \0 C/ r7 \! @1 M
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    , ?+ Q# A7 P$ b3 b, n- O
  1934. ; memory storage allocation. ("1" means validate once per second, but only& V; f$ v8 s( H7 I# h
  1935. ; once per request. "0" means always validate)7 w  ~" q) ~0 E2 S) Y/ p
  1936. ;opcache.revalidate_freq=2
    # j1 Z- r" N# Y5 Z9 j& R
  1937. ! n& L& V1 b  \$ p
  1938. ; Enables or disables file search in include_path optimization
    / u5 D/ C# D0 t
  1939. ;opcache.revalidate_path=0% C9 t2 {( d: G  w8 v

  1940. 5 Z' X9 R4 i9 B0 ^$ D
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ) @" d! g. W5 {9 `7 O$ A/ B
  1942. ; size of the optimized code.
    3 m$ }+ o# p# ]: D0 L
  1943. ;opcache.save_comments=1. Y2 h2 G6 C* H4 o) L0 x: c# l; V. a
  1944. + M3 N- h) U5 B
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    - R, r# D8 g8 L1 e* F- p" z
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ) l3 |( Z0 i9 N- |
  1947. ; that don't need them anyway.- U0 Q; \) X  ^+ [
  1948. ;opcache.load_comments=1
    4 {9 `& V2 |8 ]! r
  1949. 7 O: c2 a) r2 i3 `) R
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code; z2 v, `& i. S8 k! v
  1951. ;opcache.fast_shutdown=06 c- Y) {5 K4 I( L. }- u6 E: A
  1952. % S' j1 r* Q- L9 M/ r4 j) N
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    8 h5 N  J: B; z# @' H; U+ t/ I
  1954. ;opcache.enable_file_override=0- F% x! x* \$ b

  1955. 9 E5 C& g  s# f
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    3 n7 V+ t) v& O; q
  1957. ; passes
    ( q$ F( F( e; S' |" \+ x7 [
  1958. ;opcache.optimization_level=0xffffffff( T* d8 N, T" f4 r

  1959. ' R6 i6 {2 S3 ^; R0 s% Q/ z
  1960. ;opcache.inherited_hack=1
    - x' _0 c2 z$ f2 Y) e
  1961. ;opcache.dups_fix=0
    6 p: s' U3 E- u: I) [
  1962. 0 u' }6 [/ p- ^, X
  1963. ; The location of the OPcache blacklist file (wildcards allowed).2 K4 k! k! p7 ~  Y  ~
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    3 y' l# W; c% J  ~
  1965. ; that should not be accelerated. The file format is to add each filename
    ( [- J# H1 k" ?% c: K* B/ b& R4 F1 v
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ! Q- R' s6 k' `4 D' l
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www8 M* a+ a# D0 M' {) {4 ]/ [
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! w! F3 ~$ J5 p1 N3 E
  1969. ;opcache.blacklist_filename=
    $ l' f% u, E# j0 y) E( N4 N8 R' q
  1970. , R0 E6 @0 F4 C
  1971. ; Allows exclusion of large files from being cached. By default all files- n2 C# H2 |9 L2 d  b9 Z2 K
  1972. ; are cached.
    4 P7 s; D& ]) z& R
  1973. ;opcache.max_file_size=0
    0 y, ?* h# ^/ S
  1974. # t* u! ^) h1 J3 i  a- x5 E
  1975. ; Check the cache checksum each N requests.
    $ B/ }. j7 L6 h! O5 N
  1976. ; The default value of "0" means that the checks are disabled.# m: }7 M3 }' J1 W
  1977. ;opcache.consistency_checks=03 M# p1 _' D& O2 h6 {/ S

  1978. ; T+ u, C' e, N8 B
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # K. @7 R% g1 E; L8 u
  1980. ; is not being accessed.6 R% M0 ~1 u% e& w7 `4 Z
  1981. ;opcache.force_restart_timeout=180
    ) Z, Q" Y8 \" Z! E# k

  1982. 3 w7 }* q& d: X5 A" [9 ]
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    : ?2 F9 K( n1 Z7 w& Q9 {" }6 f  T
  1984. ;opcache.error_log=
    ! S0 t& M, N3 U) W3 S

  1985. % f4 h+ {! _) [7 ]; f- t1 B( o7 k' a' A
  1986. ; All OPcache errors go to the Web server log.! d0 l: j/ T* b: m1 G
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged., r/ |0 @8 G, h8 \% x
  1988. ; You can also enable warnings (level 2), info messages (level 3) or) w6 N2 u9 z* C1 s) ]
  1989. ; debug messages (level 4).8 e. G9 w) c- O$ L( }
  1990. ;opcache.log_verbosity_level=15 g0 d1 m, b5 R6 p! w' o( y+ G

  1991. 6 y% B* v# e" z6 O' L$ K
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    3 z! l+ S0 D* Q$ s6 o: u; Z7 d
  1993. ;opcache.preferred_memory_model=" y) l  e4 W  D+ W& O

  1994. ) T, G# o6 F- r, d) m2 ~
  1995. ; Protect the shared memory from unexpected writing during script execution.
    8 Y# n4 h# Q& T3 L! g- o& d
  1996. ; Useful for internal debugging only.3 ~) L$ n8 `2 l/ U( B
  1997. ;opcache.protect_memory=0. ~+ }  f! z# i

  1998. % _0 y& Y9 }4 F! z4 E0 A9 I
  1999. ; Validate cached file permissions.$ B1 j  `0 c' ^; b$ V8 z
  2000. ; opcache.validate_permission=0$ J  |6 v0 C( k* Y8 |8 M) r: C
  2001. 9 U+ g1 a* ^* E! A
  2002. ; Prevent name collisions in chroot'ed environment.% [7 ^/ h6 q; x' S+ @
  2003. ; opcache.validate_root=0
    / q- Z) [0 T- f. c: ~  N: i7 [) @9 y
  2004. 1 @9 b" y- Z, e
  2005. [curl]" g4 r3 n+ W& ~5 l; Z7 v' w
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; i2 U+ W! A7 k1 }  V
  2007. ; absolute path./ \5 m4 i# v) a- p
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) t+ s* W) y7 Z# Y4 i

  2009. 4 Q) w9 b  ^4 A; {4 }$ O
  2010. [openssl]
    3 H# J' M5 J7 M; y, J
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    0 d/ N& U# q5 @1 |; \) h+ R
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    2 A6 ^% f2 c% Q5 R# @$ w* O) r
  2013. ; not specify a value for this directive as PHP will attempt to use the
    7 U( S( N. v0 i* x1 s
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ; j* F. Q: i* ~  C
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ' g) ~9 e1 g  t* Q- D) B
  2016. ; option.
    + A+ Q2 |4 S7 k
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt2 q! I# {: c. t: V: L

  2018. 4 L% Z) t# i0 l! @- m8 A; }
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    - Y4 W; Y) |5 ^# ?9 U  i5 a$ c2 L. Z
  2020. ; directory pointed to by openssl.capath is searched for a suitable) r7 @6 G/ b' q
  2021. ; certificate. This value must be a correctly hashed certificate directory.6 H  [6 z6 n# b$ l
  2022. ; Most users should not specify a value for this directive as PHP will
    5 u& p" b7 V: y. E7 c9 e
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    3 y% a$ d2 ^# g$ K6 }) G5 {
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    2 ]  [  t$ |6 Q/ N7 O! G& ^
  2025. ; SSL stream context option.
    % J: O9 D3 ]% t4 }9 Y
  2026. ;openssl.capath=
    9 n, [5 w  w" F, k" w

  2027. ) ~6 `& }; t2 U" p/ `' O8 |
  2028. ; Local Variables:) o( s. }7 G# Q: [- t1 _+ @# v; j  t
  2029. ; tab-width: 4/ \) ^. F* k, o
  2030. ; End:0 \5 Y9 ^& x: \/ C9 t, y

  2031.   ~% B* U6 a8 l* E1 r1 ^
  2032. ;eaccelerator
    ) m7 R6 `% H) v  \1 W0 |6 o' b0 g
  2033. + O- {# o" ?5 B. u/ G9 a3 H: N5 E
  2034. ;ionCube# X" v8 m+ \$ P+ J' _  M

  2035. 3 h  B  @8 \0 M' q
  2036. ;opcache4 b) K9 p: E$ |9 b$ p" f* d0 H$ b. [

  2037. ! g+ p0 V" _% \" Z3 X- p
  2038. [Zend ZendGuard Loader]( g5 Y' \! r# J; H- E4 Y
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so# y: {0 F/ p2 C# p+ |' U' d* _
  2040. zend_loader.enable=18 q5 H2 J4 C  N- {' N
  2041. zend_loader.disable_licensing=0
    4 |! p7 x: f& l1 g0 z, f
  2042. zend_loader.obfuscation_level_support=3& P1 u% [$ H# \. [' s- |
  2043. zend_loader.license_path=
    6 Z! V8 N+ N4 _* x
  2044. ' {. u) A' g. b) h
  2045. ;xcache0 y5 B! t+ x9 y4 I9 c  T; _
  2046. + b$ R2 I; @) v. K6 w
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
2 C0 t. W8 J3 l& y( G+ k9 ^2 j% V+ X
( Q% o/ N! `$ g$ |, E: D4 Q+ x  Z
+ ~+ F& h: E/ T) ]" \Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
" |" ^: J% V3 V, `+ s+ T7 x$ N/ P/ u  c. w9 |2 D
Discuz!程序版本选择:& P. g& t3 p' ~
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
9 h7 g( P5 H' d3 W不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
* E4 J8 u+ n5 c3 x% Q$ F/ \- hDiscuz!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。
- ?' r8 x9 b' i' U# s
5 v) y- d4 {% o  ~' s; A5 Y$ wDiscuz!插件模板版本选择:/ W+ b  I* ]$ V1 p6 @: ^
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
/ ?% _! A2 w! M# P针对这个问题做个统一的普及:0 d7 |8 F0 x9 ]) p. z
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。/ T3 @9 Z& P' i

4 d  T* ]* U3 v$ {+ M; w8 m6 |0 |$ U所以7 u, R) u4 a+ X. x! k
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
9 }8 X4 j7 G( d$ l+ S打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。* n  L7 y. ^. k$ b/ e- ?
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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