分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
% l2 }0 I4 c" D6 h0 {5 ]5 c9 z% X
6 G3 ~/ @: v6 y5 v4 Q0 C3 T
  1. [PHP]: A( O: Z0 D  q8 g# D! }7 T- x' S

  2. 6 ?& m/ S) s8 S
  3. ;;;;;;;;;;;;;;;;;;;- T! x2 ]* p; e. L1 `) h
  4. ; About php.ini   ;
    ' B6 V9 W7 K1 q- {" V
  5. ;;;;;;;;;;;;;;;;;;;
    8 Y& a; l+ b: {
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    " `% x2 U& z; U, [8 c
  7. ; configuring many of the aspects of PHP's behavior.  ^. Y- ?7 y* R  g  H
  8. ' Q, i" v9 P/ x# `
  9. ; PHP attempts to find and load this configuration from a number of locations.3 o0 O/ [/ M9 H. a# S
  10. ; The following is a summary of its search order:! f7 r5 l) q- g) L) g5 `# O4 {
  11. ; 1. SAPI module specific location.
    # _$ G/ m) g6 @9 M7 V7 `
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): C  M& {" D& f3 l2 M3 l
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)+ Y5 N( k+ j- k0 Q. k
  14. ; 4. Current working directory (except CLI)& _& I# J9 y0 b8 O' b
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) O( ^4 X0 _5 A4 O. _* ~1 Y  D
  16. ; (otherwise in Windows)7 s( o7 J, V  t( f
  17. ; 6. The directory from the --with-config-file-path compile time option, or the. k- m+ `! ~+ Q1 F( X& ^
  18. ; Windows directory (C:\windows or C:\winnt), {0 _, e5 k, H0 ?6 P  {( C- T
  19. ; See the PHP docs for more specific information.+ |# W0 t2 _1 K( I- \
  20. ; http://php.net/configuration.file
    . Z$ ]! e1 b8 ^! E6 P/ d. o+ s, c
  21. ( s2 z2 C5 c- ]) i7 O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
      z" G! Y! {1 P* c& Q/ u
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    6 W) s$ X+ q2 o* u3 @8 h
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( [. E" Z5 B) _  o7 v; ~4 Z( X' x
  25. ; they might mean something in the future.( R* e; r4 K- M; b! o8 |: i7 r* x
  26. . m! e6 m& U9 p5 V1 \' f
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ J: }3 c5 t# W" t( z! N3 g7 w
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ( e" I6 `2 e6 E) C& K  ]
  29. ; following the section heading [HOST=www.example.com] only apply to1 a0 x+ z5 c) ?3 P
  30. ; PHP files served from www.example.com.  Directives set in these
    : o- d' L1 I$ M' L. H  K( l, c
  31. ; special sections cannot be overridden by user-defined INI files or! Y4 s! `5 |+ M( h' ?+ v$ z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' N  `- ?* i. B$ r! B
  33. ; CGI/FastCGI.# G) R# U+ r2 k4 O5 j; L
  34. ; http://php.net/ini.sections
    4 E  l  g5 c! R, `& H# L) N; Z' d
  35. $ d% Y  v) r. |
  36. ; Directives are specified using the following syntax:. V" J2 Q) `3 `
  37. ; directive = value9 @/ x5 Y  h# Y: _' t2 `. u' B) Y
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.  J* t# E7 x8 U6 ~) _  E/ P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ; f/ A: i. S& E. _& [" {
  40. ; There is no name validation.  If PHP can't find an expected4 n2 C5 p3 |' K8 ?
  41. ; directive because it is not set or is mistyped, a default value will be used.3 u( y. k3 H5 Q% Q: ^2 s. k) B/ n
  42. # a9 n& A; t6 g* i4 |
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one! t) E$ Y2 h9 E
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 {5 B5 h' O' |( c8 M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
      W% i3 O  @8 v+ @0 j
  46. ; previously set variable or directive (e.g. ${foo})
    + e+ K4 f5 [4 B$ l

  47. / |" o+ p  }  _  L- M0 |
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & g5 K' q+ K. k& v
  49. ; |  bitwise OR
    " _2 c( o; V+ g/ a
  50. ; ^  bitwise XOR
    + {0 }, w$ u, l4 i6 }! F8 c
  51. ; &  bitwise AND
    , N- G! t; T' [' h- |' J" w: l
  52. ; ~  bitwise NOT
    9 i9 ~2 L7 c  j% W" r7 W2 R: ?5 P
  53. ; !  boolean NOT
    4 n9 U% G6 A4 d! ^3 d! r& j

  54. 2 N( r  g1 {6 b- {: b9 o
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    8 j  K, ^. p+ t! e$ Y6 ~4 v. l
  56. ; They can be turned off using the values 0, Off, False or No., q3 ^2 h6 L8 x5 ?+ B
  57. 5 w/ e6 q' t8 L* R% Y, \/ l# \6 E' K
  58. ; An empty string can be denoted by simply not writing anything after the equal$ g# O3 Y+ o3 u
  59. ; sign, or by using the None keyword:% Q6 }/ m* p. Z5 v: v

  60. % P; s, Q8 ]' Y
  61. ;  foo =         ; sets foo to an empty string
      c2 P  _& d* S; \2 Z
  62. ;  foo = None    ; sets foo to an empty string. I7 S$ `, l4 d# _7 w5 H( e$ e) n
  63. ;  foo = "None"  ; sets foo to the string 'None'9 ~5 n' K2 y2 H9 Z) Z- g

  64.   O4 \  i7 ?$ @) e8 ^
  65. ; If you use constants in your value, and these constants belong to a
    + e- w2 w* \2 t& B; N7 S. ]
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 G; [" W# V+ P7 d6 v/ L0 @/ E
  67. ; you may only use these constants *after* the line that loads the extension.
    $ z2 q$ O1 i" ^

  68. + z! y+ a3 {; J# W) C0 o
  69. ;;;;;;;;;;;;;;;;;;;) u/ Q* i8 G! j* R. o! `. V( U
  70. ; About this file ;
    / e$ {1 ]' O# W  Y4 d& Z. W
  71. ;;;;;;;;;;;;;;;;;;;) m* W! z4 P3 |  Q
  72. ; PHP comes packaged with two INI files. One that is recommended to be used" z3 R. i1 O7 f) ^
  73. ; in production environments and one that is recommended to be used in
    , t2 g+ w) v1 p" [: H: W- k
  74. ; development environments.8 o* a1 x5 m& E' ]7 y4 v
  75. 7 x/ S- m5 L: l) D0 ]+ _4 t
  76. ; php.ini-production contains settings which hold security, performance and
    4 x9 {% `' ]0 O  {
  77. ; best practices at its core. But please be aware, these settings may break
    / M5 p* C8 B# l1 k! b: p' I4 o
  78. ; compatibility with older or less security conscience applications. We  u( Z' Q2 v- G" j/ `: f- k1 q
  79. ; recommending using the production ini in production and testing environments.  k9 T( }5 H7 p& j7 K- F
  80. $ {( K' K% d  v" M; Q5 W! R3 p
  81. ; php.ini-development is very similar to its production variant, except it is/ Q! U( Z1 _' S4 p( B
  82. ; much more verbose when it comes to errors. We recommend using the
    7 m7 E0 v; j7 k8 x" l% ^
  83. ; development version only in development environments, as errors shown to
    % q4 \4 X$ }, i  p
  84. ; application users can inadvertently leak otherwise secure information.
    8 b5 r/ Z$ m4 W* |, r4 C! q
  85. + ?6 U2 U3 o! y
  86. ; This is php.ini-production INI file.
    ( \! K8 u- S$ m: a& M
  87. : ?( L; W  P0 r+ h5 z4 ^! r2 Z1 l
  88. ;;;;;;;;;;;;;;;;;;;0 k  k4 [" W8 p% V- h5 `
  89. ; Quick Reference ;
    & t! l7 h7 _& T& \8 L# T, x
  90. ;;;;;;;;;;;;;;;;;;;
    2 V/ S% U% D: v4 ?. S& E
  91. ; The following are all the settings which are different in either the production; c$ L( X7 m) I8 R# W
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / j  Q& _% r; O( }
  93. ; Please see the actual settings later in the document for more details as to why! A% m7 @3 w/ b# v
  94. ; we recommend these changes in PHP's behavior.
    8 Z2 ~' k9 M* k/ O. x" a: @  a
  95. / _/ N/ X# w% w
  96. ; display_errors7 M# ^& B# G) ?& v: }
  97. ;   Default Value: On# P8 y; Y8 G% w8 R0 Q2 F
  98. ;   Development Value: On
    / i% W9 W$ ^( @- R6 ?
  99. ;   Production Value: Off
    6 q& h, d% M% m9 w. k6 x( G  ?( N
  100. 7 a4 X% W0 C% t6 u7 H: F! B
  101. ; display_startup_errors
    " Z4 |4 G3 M, O* \1 r7 B0 r
  102. ;   Default Value: Off
    9 v6 h" i7 b/ K0 I0 B7 [1 _/ |
  103. ;   Development Value: On
    , X/ K" p/ s. s4 v5 t3 N
  104. ;   Production Value: Off( z1 J: M2 q) p1 r

  105. ; h( w! J! o9 w3 W; `; V
  106. ; error_reporting1 H  e: D# u( T9 O1 }" _) O
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" o" d# r, G5 B9 l2 W+ X
  108. ;   Development Value: E_ALL
      I8 G9 T- t8 x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) X0 q; ~4 ^% y  y
  110. . C: u0 I3 ?, H# ~) G/ d
  111. ; html_errors
    & L9 F7 a' s* Z7 C: _
  112. ;   Default Value: On. ]% ?* L: u5 P( v' r0 {
  113. ;   Development Value: On2 ^! K2 O; x* M$ \& B0 T! f2 F- S
  114. ;   Production value: On
    & ?7 h& |7 X. f7 ~- d1 y

  115. * g7 k! w% M& T6 ~8 W; v: k- Y
  116. ; log_errors
    , t5 r# h' S0 v/ A$ T( b; P
  117. ;   Default Value: Off$ h6 o, W* y' f, b- q% W% V$ r* W
  118. ;   Development Value: On# U: G4 h8 e; U. Y' v
  119. ;   Production Value: On: A' j2 W4 r/ J2 i/ O

  120. + ?, L- D) x. ^, e7 H- ^
  121. ; max_input_time* ]: _9 K' @) U
  122. ;   Default Value: -1 (Unlimited)
    - e) T7 k" {- _# N( W2 x/ l
  123. ;   Development Value: 60 (60 seconds)
    0 z- t1 b& }2 {: k, s5 ~
  124. ;   Production Value: 60 (60 seconds)
    9 e* p+ L, Y6 [) [4 n

  125.   F! E6 ]- x) E
  126. ; output_buffering
    % O% t' T; `" `& T/ Z+ {4 O! S
  127. ;   Default Value: Off0 E4 Y# N, m# U0 z, k" @
  128. ;   Development Value: 4096
    % M( D8 z8 `+ G
  129. ;   Production Value: 4096
    " w2 D$ ]1 o$ L0 Y

  130. . C5 C$ V! E1 n: i% t
  131. ; register_argc_argv/ L, |8 I  ^1 S
  132. ;   Default Value: On% X" |3 X8 S1 b+ C% K% D! d! c
  133. ;   Development Value: Off7 F' g4 C( Y% o- a
  134. ;   Production Value: Off
      B/ J% K5 l8 ]* u" r

  135. 4 g7 Z/ B# v( u( E' Q3 y
  136. ; request_order# t4 D' F% K# _4 m" _8 Q5 B( u) Z3 O
  137. ;   Default Value: None8 C5 {/ h! l! [0 O& [! I
  138. ;   Development Value: "GP", s7 U" l: E) g( j
  139. ;   Production Value: "GP"
    7 L! a# I6 W( q

  140.   }3 C" b8 Z* w  \
  141. ; session.gc_divisor
    5 o5 g+ R: K& x( p% J1 W. b$ b
  142. ;   Default Value: 100: T- \: W: O4 t+ [7 H
  143. ;   Development Value: 1000& r& L% H) M' i3 \6 k& {
  144. ;   Production Value: 10009 x. m! H, W! J# o: w) q
  145. + s# O4 i0 d, B* V' h* v2 L
  146. ; session.hash_bits_per_character
    8 v* n2 n- E/ I! y6 H% {$ V
  147. ;   Default Value: 49 g7 P. K  I. C2 I, x
  148. ;   Development Value: 5
    3 X0 `  |" ]) }
  149. ;   Production Value: 5
    & K9 n8 x; p& `7 J
  150.   a" {' _+ p+ s3 J
  151. ; short_open_tag/ e( G- c1 B/ \4 o* v4 H' k$ h, `& U
  152. ;   Default Value: On
    7 a4 G2 a; K/ F4 Z
  153. ;   Development Value: Off
    8 y) \- Q, I1 y' O; l& A3 C, U
  154. ;   Production Value: Off
    % B5 {* @2 ~" H/ ~3 k
  155. " k6 o2 |$ O0 H* A$ r+ B) i+ T6 t
  156. ; track_errors! k" I& `) W0 o0 L) N
  157. ;   Default Value: Off! {; t6 r; p. R0 a" r
  158. ;   Development Value: On
    0 w4 l- I+ x, z; ], U
  159. ;   Production Value: Off
    % f7 u# s2 W  i8 @1 ~. o( F7 C+ B/ x
  160. 8 M, O4 M) ?3 G9 G5 d5 T# K
  161. ; url_rewriter.tags
    4 k& `5 Z2 v3 B3 J3 [/ Q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * n' e$ G2 a8 A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 t! ~4 a! D9 i, I7 H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& X! D/ Z$ ]$ A0 F8 n/ A
  165. - n" Z3 N9 S0 p" o: W! X/ {
  166. ; variables_order
    + j0 ^: e& M. L+ k
  167. ;   Default Value: "EGPCS"
    / x6 E9 U6 f9 H: S! z9 n# `) R
  168. ;   Development Value: "GPCS"- g/ y7 A( ?, C3 O& ?3 V
  169. ;   Production Value: "GPCS"
    3 R/ F. o) K  Z

  170.   v! X+ h% ^7 b4 d
  171. ;;;;;;;;;;;;;;;;;;;;
    & a6 g4 U) ?. F
  172. ; php.ini Options  ;8 i0 a: j# b3 F0 R8 S
  173. ;;;;;;;;;;;;;;;;;;;;
      p. S8 p* p  ~" \% O; o4 I7 g
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 V) M2 }/ F- V1 d
  175. ;user_ini.filename = ".user.ini"1 w: G; |) S4 @( L

  176.   [2 _4 x4 Y8 L) Z, Q/ j7 Y
  177. ; To disable this feature set this option to empty value& _$ V  @7 P% X5 x
  178. ;user_ini.filename =
    ' F5 U2 j# l4 ?5 m- U

  179. 5 `: l5 M; w* `1 P
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  P: T% t( K1 M( Q% r  [* n
  181. ;user_ini.cache_ttl = 3007 }) Q) m" P. ^# u2 A; H) m) `/ Y
  182. ' P7 H% j! S7 a; a0 R( y0 P. ~4 Z
  183. ;;;;;;;;;;;;;;;;;;;;2 O$ r; `% S$ ]# ?
  184. ; Language Options ;
    7 F! k) j) }0 _1 v; m. }; L( ]) q* y( M
  185. ;;;;;;;;;;;;;;;;;;;;0 I5 ]$ i! ]* O) i
  186. & c6 s) F- ]8 j  p
  187. ; Enable the PHP scripting language engine under Apache.
    ; Y  G3 t: Y8 t% A
  188. ; http://php.net/engine9 U  ]9 x0 z3 S
  189. engine = On
    ) D& _2 h1 G4 x

  190. " o" T$ {3 z3 A( ^  w% [$ _' I
  191. ; This directive determines whether or not PHP will recognize code between7 p" m/ _9 d/ ^9 B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* u& }2 U9 C% R
  193. ; generally recommended that <?php and ?> should be used and that this feature
    7 A  K8 [( K  h3 ?7 i4 y
  194. ; should be disabled, as enabling it may result in issues when generating XML) p0 e& n  m3 O5 W& h
  195. ; documents, however this remains supported for backward compatibility reasons.9 S' q3 q2 @% q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be3 C! Z, M0 t5 J  q; L
  197. ; used regardless of this directive.
    % m+ g6 z+ o- W
  198. ; Default Value: On
    * e( j; ~  t  e0 |* H* _) Y  s- W
  199. ; Development Value: Off
    ! K" p  I% `& Y* S  j
  200. ; Production Value: Off
      M) n  T" R) H) V
  201. ; http://php.net/short-open-tag
    3 L& o# n) c' R0 X$ [
  202. short_open_tag = On* ]) }: e0 H. s: H3 c0 \
  203. 5 ]: P, I5 Q( Z2 d1 B
  204. ; The number of significant digits displayed in floating point numbers.; o9 m+ k8 b9 @$ Z7 H% {. m
  205. ; http://php.net/precision. u) \7 s# R, ^7 A, K
  206. precision = 14
    " q% A; i0 B4 f3 B$ B" F

  207. ' L/ T% i( q# U* l
  208. ; Output buffering is a mechanism for controlling how much output data& t1 B" q# H5 J- _# N; A
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    9 D! w; ~7 o4 ^9 J8 A
  210. ; data to the client. If your application's output exceeds this setting, PHP
    : k3 E0 D0 }6 Y* @' i
  211. ; will send that data in chunks of roughly the size you specify./ z* t# B! q/ O/ r% ]# t! f
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    / i2 y- k) s9 f6 L) a8 v: T
  213. ; interesting side-effects depending on your application and web server.
    # Y' R+ j" b- Z5 V
  214. ; You may be able to send headers and cookies after you've already sent output4 Z1 U7 G7 s: K9 [$ \( J: u
  215. ; through print or echo. You also may see performance benefits if your server is
    4 P" D! h3 w% b. P. x
  216. ; emitting less packets due to buffered output versus PHP streaming the output: S2 R! I7 G0 L% _) Q0 N% S
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % z- ~$ Y1 s2 g6 F
  218. ; reasons.: H; U" H' N% G7 N: H3 U
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 Z  {" C4 S9 g, _/ j* w
  220. ;   functions.- z* d* u; [. F
  221. ; Possible Values:: |- X+ P; a7 G  a8 A; K! Z
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)1 H2 j  v* b8 v: }% o$ d3 _
  223. ;   Off = Disabled% v- d) y1 w/ p; k0 X8 v
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.2 m1 z2 V# B8 ^9 W9 H" W8 u' |
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI& [7 w" f6 z/ Q/ q
  226. ; Default Value: Off
    ' S1 R/ P4 |8 D! @
  227. ; Development Value: 4096
    ! u2 O5 W' o6 Z5 a. c7 B9 E+ B
  228. ; Production Value: 4096# t' |) u& X1 ~- I/ t) U6 ^' u( H
  229. ; http://php.net/output-buffering/ O0 Z) a/ \* b0 B) N: M
  230. output_buffering = 4096' i' P; q: S. {! h- p' g3 i5 V0 i

  231. 4 ?1 W/ P- F# y4 C
  232. ; You can redirect all of the output of your scripts to a function.  For
    ) t4 D0 X1 D# ]$ S& o' c$ ?
  233. ; example, if you set output_handler to "mb_output_handler", character
    ! c, h- L7 f+ O9 x# ^
  234. ; encoding will be transparently converted to the specified encoding.
    6 l" i' K' E+ V2 g& {
  235. ; Setting any output handler automatically turns on output buffering.. m( k& G+ v. r5 }7 _1 `, r
  236. ; Note: People who wrote portable scripts should not depend on this ini$ K/ L* ]# z3 W: q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().% Z. \" h7 `7 W2 R* K
  238. ;   Using this ini directive may cause problems unless you know what script/ r3 T( p' @# }
  239. ;   is doing.
    ; T' X$ p$ ~0 r! m2 M8 T
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"6 r1 o5 D# [1 Z% o+ E
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".' f6 y  t& f3 [+ x1 O; C
  242. ; Note: output_handler must be empty if this is set 'On' !!!!( x' C5 f9 b5 ?
  243. ;   Instead you must use zlib.output_handler.
    4 |0 {/ [0 b" O8 `0 o! C! I
  244. ; http://php.net/output-handler
    7 N6 J  B" `- M, w
  245. ;output_handler =0 k6 a8 w+ _3 j( Z6 \' q* |4 X
  246. " y- p& w% `* A% L
  247. ; Transparent output compression using the zlib library
    ) u2 Z  G$ n4 ]# _2 n7 u# S- T
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size' w6 o' z% m+ M4 Z& m+ {0 z1 _$ B
  249. ; to be used for compression (default is 4KB)
    # t2 `; I+ G( }, b) i3 L# \6 c% H
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ H; d; ]6 \% `4 g/ y
  251. ;   outputs chunks that are few hundreds bytes each as a result of/ x4 f( N# Q/ R6 @# H0 m
  252. ;   compression. If you prefer a larger chunk size for better8 q2 b; J, p! H
  253. ;   performance, enable output_buffering in addition.
    7 n) w3 g& J( w1 i5 B
  254. ; Note: You need to use zlib.output_handler instead of the standard  x% p5 ?4 |, j. r! G
  255. ;   output_handler, or otherwise the output will be corrupted.
    4 ?2 R' N0 s! @: }  Z
  256. ; http://php.net/zlib.output-compression) T  {3 J2 N: ?* `2 P/ z
  257. zlib.output_compression = Off: p9 \9 r# X' T3 m% l9 v

  258. , {- W0 N. H/ t% ~! Y$ b/ T
  259. ; http://php.net/zlib.output-compression-level
    + _, m' M9 I* s$ m
  260. ;zlib.output_compression_level = -1
    , B& Z" {) F5 Y) L2 e

  261. 6 R, W; N% M0 P; p/ k) I
  262. ; You cannot specify additional output handlers if zlib.output_compression% m" F4 [6 V0 N
  263. ; is activated here. This setting does the same as output_handler but in' h7 e; i% }/ M# l% C) r
  264. ; a different order.9 ]. ^# x: u% C& C7 a* {9 P
  265. ; http://php.net/zlib.output-handler
    - Y6 X: b4 F9 F$ s' M
  266. ;zlib.output_handler =
    1 ]! _' x# W; ^+ h' E$ S# G

  267. * R( D4 E0 a0 I8 d1 d4 `* W
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    - Z" q' _+ o0 ?! l( |
  269. ; automatically after every output block.  This is equivalent to calling the) R- F7 z& b+ U$ {! ?  F+ u6 q
  270. ; PHP function flush() after each and every call to print() or echo() and each- E2 J9 {3 z+ K, |% e8 ]
  271. ; and every HTML block.  Turning this option on has serious performance# V+ \. p! `& A; \3 f: W# L, g
  272. ; implications and is generally recommended for debugging purposes only.$ V% `) i/ D. f
  273. ; http://php.net/implicit-flush' J' V% t0 V; E& Y/ ^
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    % {' S: f4 s4 C
  275. implicit_flush = Off5 ^4 i3 A# X" F
  276. / z/ `# Y+ H! }9 e9 b/ P5 q
  277. ; The unserialize callback function will be called (with the undefined class'
    ( ^7 r/ S* t; @
  278. ; name as parameter), if the unserializer finds an undefined class
    # c) H) R, ]/ R: w' u5 ]
  279. ; which should be instantiated. A warning appears if the specified function is
    2 h1 y% @+ [1 L$ s: t
  280. ; not defined, or if the function doesn't include/implement the missing class.: G* R1 V! d8 s1 l% @
  281. ; So only set this entry, if you really want to implement such a" _: w% c) ?- T: J, e
  282. ; callback-function.
    ' H( S' t, w- D' V' u! O
  283. unserialize_callback_func =
    / v$ S- v! _+ i& |$ o+ w- _& Z

  284. - K! J: K9 s( m+ R3 e
  285. ; When floats & doubles are serialized store serialize_precision significant
    . m1 x% ?1 v* N6 v
  286. ; digits after the floating point. The default value ensures that when floats
    5 k0 k( m7 ?0 P9 u5 q* p4 Q
  287. ; are decoded with unserialize, the data will remain the same.7 Q( g; s4 T& q9 ~) ]
  288. serialize_precision = 17
    + G$ a& K) p% t% x% D
  289. 1 X8 H. j! s; P7 w# r
  290. ; open_basedir, if set, limits all file operations to the defined directory
    . k) I; f1 Z2 V1 X- Q1 `8 C
  291. ; and below.  This directive makes most sense if used in a per-directory$ V. p/ W" n/ J( I
  292. ; or per-virtualhost web server configuration file.0 M+ W% v; A: M8 P
  293. ; http://php.net/open-basedir" H5 S+ h8 e# z+ H# n
  294. ;open_basedir =3 Z( @1 a( x3 B; H$ J, u
  295. 5 D2 ]  x' l# U8 g9 C) e1 _  {
  296. ; This directive allows you to disable certain functions for security reasons.4 i& M; C: ~% e
  297. ; It receives a comma-delimited list of function names.
    $ F# v  m, M  T$ [5 I
  298. ; http://php.net/disable-functions; }9 e! U3 I$ u! w/ B& k
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    0 w& i1 ]9 n6 P) j6 M$ f
  300. ; G4 r5 S7 I0 u/ j9 P4 ^9 `
  301. ; This directive allows you to disable certain classes for security reasons.' m' b- w2 o1 L: m( J
  302. ; It receives a comma-delimited list of class names.
    / E9 m% w1 [$ x( T4 j
  303. ; http://php.net/disable-classes' N; p; \4 R" a. i
  304. disable_classes =
    : _9 p9 V& u8 l/ r
  305. * }0 L1 }2 f3 F, |+ H- V
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in' f. B+ ~  ]3 n0 l" Y/ ~
  307. ; <span style="color: ???????"> would work.& g  @8 n  r( }( n2 e" t
  308. ; http://php.net/syntax-highlighting4 c' i8 `, T. ]' n4 m% B, g
  309. ;highlight.string  = #DD0000
    - X5 P5 Y& y9 ]  l9 ~8 Z- Y' B
  310. ;highlight.comment = #FF9900
    ' F* ?8 }' _, I9 F+ I
  311. ;highlight.keyword = #007700  f. h4 H: J; I1 X( G4 X1 b1 {. G5 i
  312. ;highlight.default = #0000BB$ F* r- {+ u; Z  u& _  `( p
  313. ;highlight.html    = #0000000 D  M3 J+ w+ A
  314. " c6 @5 M: a8 @5 E1 U6 a1 z! r0 |. x
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    / H( X( ?* T8 I+ k# K  I0 }
  316. ; the request. Consider enabling it if executing long requests, which may end up
    $ p( z7 ?1 e7 I9 u. ?. x( |
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
      [# A2 h7 n4 x+ C* z
  318. ; is to disable this feature.
    ) ]1 u, F6 G3 ]# x# N9 H! f
  319. ; http://php.net/ignore-user-abort% l+ V  [7 T! L
  320. ;ignore_user_abort = On
    1 J  g/ o+ ]/ ]  E% j1 [# s

  321. 3 q1 T" \! P# w" S! k7 M( }
  322. ; Determines the size of the realpath cache to be used by PHP. This value should8 W+ |! [* P& C" Y  V6 k. T0 L
  323. ; be increased on systems where PHP opens many files to reflect the quantity of+ c: R" `" O, ]6 _. e  o) L
  324. ; the file operations performed.
    ; ^# J. T& A" u0 W8 v
  325. ; http://php.net/realpath-cache-size
    9 q; s8 H3 _8 `5 [( ~5 f$ z. @
  326. ;realpath_cache_size = 4096k
    " z4 m6 B0 \7 q( g5 h
  327. , W  d% L' N( w( u. P( w* J$ o
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ! W6 H: b; l9 P
  329. ; file or directory. For systems with rarely changing files, consider increasing this* |$ n4 D1 Z2 h
  330. ; value.6 D& N0 @) k4 ]4 V, i
  331. ; http://php.net/realpath-cache-ttl
    * d7 ?  z1 x( u7 _! P9 {/ _
  332. ;realpath_cache_ttl = 120
    : \8 d& i# C- B. H% Q
  333. 4 M, }7 T6 K& C- y
  334. ; Enables or disables the circular reference collector.9 t3 Y! ~- i/ a8 r8 u
  335. ; http://php.net/zend.enable-gc7 A7 R) R  p2 a& r% B
  336. zend.enable_gc = On2 a6 x* w1 F% \/ M7 m* V
  337. 8 D) C3 ~% j1 |
  338. ; If enabled, scripts may be written in encodings that are incompatible with7 P9 i3 a+ E+ c
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& H' p  _. s$ F( w
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 |7 V' v  ]* }6 z! T$ V
  341. ; Default: Off$ B8 R' ~, P( M# J5 ~1 Z% P" d
  342. ;zend.multibyte = Off
    ! G0 N$ Y' g  O9 V
  343. 0 k! ]1 R; s# L: P7 p
  344. ; Allows to set the default encoding for the scripts.  This value will be used: m5 k* n0 s9 Q5 a
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 |% k( L: \# Y8 ]  b
  346. ; Only affects if zend.multibyte is set.
    ; n% A" K5 C' ~/ y! l
  347. ; Default: ""
    + C* ~! v3 _( M/ U" S7 b. }9 B' T7 g
  348. ;zend.script_encoding =
      a  V) ?% e) V, K4 }6 g5 q; l

  349. 9 G, V$ J. s2 C  I
  350. ;;;;;;;;;;;;;;;;;' ?( G! b1 d2 s5 X8 M
  351. ; Miscellaneous ;
    & u3 E- n5 f9 [
  352. ;;;;;;;;;;;;;;;;;; U' W% C# s9 `$ _3 |; u( s

  353. ; Z. @2 r- m3 f8 C) F0 _$ D
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ) x% S, W$ H+ t7 r- m
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* ]% a2 M' y8 [* N" `/ E$ K
  356. ; threat in any way, but it makes it possible to determine whether you use PHP! N7 J) j1 K* f' y# V2 N( M- H. Y
  357. ; on your server or not.5 M6 @; w( _% `' o( b7 m8 S' r
  358. ; http://php.net/expose-php5 O0 F0 V' R# {- m. Z3 a
  359. expose_php = On! L; J7 n; h7 t$ r
  360. - u! m. N, u# A9 q
  361. ;;;;;;;;;;;;;;;;;;;2 `- b) {- [! o# v9 s, F) y$ R
  362. ; Resource Limits ;+ K$ t/ J& B1 s; \7 U( V
  363. ;;;;;;;;;;;;;;;;;;;% ]" z+ D. c) R9 b0 F6 c9 U# P3 I! p

  364. + E' u8 r  k3 A' q/ D0 e) d
  365. ; Maximum execution time of each script, in seconds
    ! y& A* m: u" O2 S' @, ?. U1 C
  366. ; http://php.net/max-execution-time$ E5 W( A( v$ G2 X
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI' ]9 N; D; x' f( {' D6 B  A2 `
  368. max_execution_time = 300
    6 q* y6 @6 n/ B/ g: e) |. ?' X

  369. # d5 A" D6 A+ e; r, V
  370. ; Maximum amount of time each script may spend parsing request data. It's a good& f. G/ S) r8 m
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly/ k5 C9 X2 H! W8 Q
  372. ; long running scripts.
    3 r& g( K) b6 B$ s' D
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    + e) O4 b' W& R+ b, Q: L( v$ K' |5 B$ p
  374. ; Default Value: -1 (Unlimited)4 C" m( w8 l5 {
  375. ; Development Value: 60 (60 seconds)8 {, J; y. Q& U. U% F3 D1 @
  376. ; Production Value: 60 (60 seconds)6 K. Y( P& W* G. r6 p
  377. ; http://php.net/max-input-time
    1 }8 E9 |8 d- h* ~+ V! R6 \: e. }( g
  378. max_input_time = 60- ]1 v4 p* o+ O8 ^# \! U8 d2 J# b
  379.   T1 _7 ]* k! T, X) A
  380. ; Maximum input variable nesting level- W+ n9 F5 F6 O9 Z4 \2 ?3 ^% O
  381. ; http://php.net/max-input-nesting-level
    2 g. y- ]; j" U' X
  382. ;max_input_nesting_level = 64
    , M8 b, ]( Z0 |+ u/ a! v
  383. 6 ^& d1 N; C+ M0 X  g( v
  384. ; How many GET/POST/COOKIE input variables may be accepted
    : ^2 d8 j% D* g
  385. ; max_input_vars = 1000
    + w4 N$ Q$ U0 `1 Z% \$ H% w$ r& b
  386. 0 B" [* R! v! n
  387. ; Maximum amount of memory a script may consume (128MB)) r9 P. @0 D! T8 N/ `) _
  388. ; http://php.net/memory-limit/ d/ q; g2 }: g- V& o
  389. memory_limit = 128M
    ; u5 ?: X( h( C6 a
  390. ; D6 K. ?0 I5 z0 z
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      j: ^  x) g1 E9 {) u; U. M% V! ^
  392. ; Error handling and logging ;* y- I3 I$ ]+ k6 [( Q6 F8 K
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( k# e4 [% C' i. i/ Y; J+ F

  394. / c8 b% i( z  P8 r7 ^. Q( Y
  395. ; This directive informs PHP of which errors, warnings and notices you would like2 k" w, F. T$ t" N' w
  396. ; it to take action for. The recommended way of setting values for this
    " E6 k5 a. B5 o
  397. ; directive is through the use of the error level constants and bitwise
    , u* V7 D* \# U$ }8 S' U. l: M% E
  398. ; operators. The error level constants are below here for convenience as well as) l, {2 G1 E5 D7 k
  399. ; some common settings and their meanings.. w3 t+ G, \5 z7 l1 V
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    9 Z- w- F, }  ^: z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ w0 o( F- W( E5 j/ F, p
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    6 h& y# V1 j$ i9 [: I/ o% G
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; c' V% b0 P' p) ^0 O
  404. ; resources complaining about best practices and coding standards. That's what
    ; F) a9 Y% U2 j( A! i% Y# _& l
  405. ; development servers and development settings are for.
    " n$ [4 f! N$ \/ l1 l* {
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    8 f* z0 J$ g! [- }4 y  q
  407. ; means it pretty much reports everything which is exactly what you want during! \; p% p2 z+ V* t
  408. ; development and early testing.
    9 ]/ {, a% C. X. ~- E
  409. ;* Z$ v$ d" W& u# K* u# h6 A
  410. ; Error Level Constants:
    ( i" s; [0 i' S* O  j
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)+ H; T: U0 V& l0 n+ }' e9 n  P! h
  412. ; E_ERROR           - fatal run-time errors
    & H. [& B+ Y- g" m* |/ x
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ( Q2 w: K1 Q; X4 A- i# J! n1 t
  414. ; E_WARNING         - run-time warnings (non-fatal errors)8 X5 D, X" ?7 T; H6 i$ b$ D
  415. ; E_PARSE           - compile-time parse errors
    ) [$ G7 U2 ^( f+ G* r9 a
  416. ; E_NOTICE          - run-time notices (these are warnings which often result" @- D) g! _- E' y$ W+ T
  417. ;                     from a bug in your code, but it's possible that it was
    ) h6 {4 k6 c- S/ x' e6 w2 d
  418. ;                     intentional (e.g., using an uninitialized variable and
    ) h# c, W) Z2 S1 ]( F9 R# r: v
  419. ;                     relying on the fact it is automatically initialized to an
    9 W7 E/ c" w* x$ m: i
  420. ;                     empty string)
    4 _8 A0 a1 A) L
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* L$ I2 a9 L5 L
  422. ;                     to your code which will ensure the best interoperability" R; ?: G# y9 q( z7 i+ H
  423. ;                     and forward compatibility of your code; i% B# E& p  k6 X/ e0 `7 ?. c
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. o* Z$ @' R! Q% x: [
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' ^. d1 N( d! t# H) k& c0 H
  426. ;                     initial startup) f8 y3 y0 z/ v  z" s$ D
  427. ; E_COMPILE_ERROR   - fatal compile-time errors7 Z& g$ w7 W* @% a
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    5 |" g$ e/ `8 H3 i0 \( e
  429. ; E_USER_ERROR      - user-generated error message& d4 @  P0 l9 v! {! O+ A
  430. ; E_USER_WARNING    - user-generated warning message# \: o- ~8 Z$ U+ c
  431. ; E_USER_NOTICE     - user-generated notice message
    + o' s) y( @7 @! i' ~) P
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    + b8 A9 [) d/ G- u
  433. ;                     of PHP( o+ x9 [( o7 J: p
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    9 Z% ?9 M! l7 B% D) o& ~
  435. ;8 r" D" F# H3 w+ `
  436. ; Common Values:+ {( L( ^& J9 Q$ Z/ ?
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 R/ _4 N* i4 t4 k1 u, S' ^5 d
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    - U& J7 P/ u. c
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    / m2 K& G, T* `" k
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)- b8 U) a. ?9 T& H& P
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; g' i% f, `1 c
  442. ; Development Value: E_ALL- W  f6 w6 H/ y
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , a4 w) p8 b% S9 _- q2 R
  444. ; http://php.net/error-reporting
    1 l3 s. g1 y% P6 w$ m  {1 V+ T- ~
  445. error_reporting = E_ALL & ~E_NOTICE* ?# ?: e- i; g5 e4 X* O% P
  446. 6 U% y8 O( Z3 @# P
  447. ; This directive controls whether or not and where PHP will output errors,6 a  Y2 g2 Q3 L& j
  448. ; notices and warnings too. Error output is very useful during development, but
    . v# `/ x8 |4 p) h5 a5 Q6 @& t
  449. ; it could be very dangerous in production environments. Depending on the code
    * f# |" M. m5 R! ?* b7 a
  450. ; which is triggering the error, sensitive information could potentially leak' P; h3 i3 b, |& A) A$ {% R
  451. ; out of your application such as database usernames and passwords or worse./ L/ u8 V+ r& q7 j! ~
  452. ; For production environments, we recommend logging errors rather than
    $ u% c0 k4 g* y+ B3 c) M+ w! R4 p
  453. ; sending them to STDOUT.
    9 J: d$ P+ l$ H; w. l
  454. ; Possible Values:/ [: J" m: p  H0 y9 j
  455. ;   Off = Do not display any errors
    & P0 z1 _' H$ b+ v# V
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    9 [3 F$ E9 o/ a$ x5 x
  457. ;   On or stdout = Display errors to STDOUT* y0 E1 `/ N- Y: k8 s
  458. ; Default Value: On3 y% v: `. _6 S: ^) B- r$ g
  459. ; Development Value: On
    8 S! K9 L& J! l- V" n
  460. ; Production Value: Off0 }1 w' f/ A8 T3 ~1 b% L
  461. ; http://php.net/display-errors$ N- |. t5 l' _, M
  462. display_errors = On
    $ R& K4 Y) y% [  R, _8 _! r; M

  463. . q$ k3 z/ X& T+ d. u6 }$ \# o
  464. ; The display of errors which occur during PHP's startup sequence are handled
      Z2 O. S# S5 ?6 o5 Z6 G  W
  465. ; separately from display_errors. PHP's default behavior is to suppress those8 ~! W, H1 B: L7 Y3 @
  466. ; errors from clients. Turning the display of startup errors on can be useful in$ y, \5 q' X& W& Y8 B: z
  467. ; debugging configuration problems. We strongly recommend you' T$ G5 M8 Q# n
  468. ; set this to 'off' for production servers.
    9 _6 b8 N% K+ ~% O
  469. ; Default Value: Off; \( A& ?+ u- t" o) ~) O& D6 g
  470. ; Development Value: On1 q! m9 q1 R  X
  471. ; Production Value: Off
    3 w# W7 \4 f" s& t0 c
  472. ; http://php.net/display-startup-errors
    6 `" X. w0 K- x# H
  473. display_startup_errors = Off3 q' ^& I1 ]! J2 `6 E2 c0 q2 `( j

  474. , B8 Z. w/ M8 q4 s5 Q+ M! D/ g
  475. ; Besides displaying errors, PHP can also log errors to locations such as a2 u( q/ D  |. K( s. L- Y! N
  476. ; server-specific log, STDERR, or a location specified by the error_log( R0 D* a0 i9 C# d9 F2 _" b& R
  477. ; directive found below. While errors should not be displayed on productions
    # ?% w" Z, ]% J0 w
  478. ; servers they should still be monitored and logging is a great way to do that.0 F) ?; v9 ]+ ^. P1 h! c" ?) O
  479. ; Default Value: Off
    , [3 ]0 O7 x- B- m
  480. ; Development Value: On4 ]% d4 T0 _  X! |# W$ R
  481. ; Production Value: On) w9 a; t+ c# e) A
  482. ; http://php.net/log-errors
    + d9 m9 H4 ]! n4 E
  483. log_errors = On
    # g5 l. x7 X& x3 t7 @) G! [
  484. 2 k9 k' r) V# e. t: X: V
  485. ; Set maximum length of log_errors. In error_log information about the source is* F  x( j& z; w0 N
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    & w2 _# d8 }* E- M3 G
  487. ; http://php.net/log-errors-max-len& {+ }  N  j+ V' @: x6 p
  488. log_errors_max_len = 1024' Z  |7 [3 a: f, y8 M

  489. 4 a( U* w$ V- D8 Y$ H, V
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same" d! @! s* Q3 U& Q1 D
  491. ; line unless ignore_repeated_source is set true.
      B- t( B6 m7 f( z! g
  492. ; http://php.net/ignore-repeated-errors+ K* w9 d( ]* g8 q5 ~+ B
  493. ignore_repeated_errors = Off
    ( t+ i# Z" d3 F6 \6 U
  494. & G% l. Z" A( v  n" A
  495. ; Ignore source of message when ignoring repeated messages. When this setting( M( X1 m( i' h8 x
  496. ; is On you will not log errors with repeated messages from different files or4 P  i1 `9 Y. Y& y$ c2 }1 F
  497. ; source lines.
    ' ?3 q  ?: j9 h( S4 d. P0 J# J
  498. ; http://php.net/ignore-repeated-source
    $ o  A$ h1 g% U8 `- d5 B! j5 l
  499. ignore_repeated_source = Off
    , A/ ]) G1 r6 g

  500. / y/ w" y* P! l5 y/ D2 y" F/ ?
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on+ Z2 B, v5 d: V+ o# S3 P
  502. ; stdout or in the log). This has only effect in a debug compile, and if/ g4 t9 b. G! Q7 M
  503. ; error reporting includes E_WARNING in the allowed list& X, T" Q8 t& H4 g
  504. ; http://php.net/report-memleaks! J- w* c6 g, G* B0 U# H
  505. report_memleaks = On
    4 b* V! I( Q% a( m& V+ H0 M
  506. : b" F4 m" A& ?& s, A1 g
  507. ; This setting is on by default.
    - `' X5 A( V9 f3 @: K9 R/ k3 K
  508. ;report_zend_debug = 0
    " r+ ]) \% H$ W  E
  509. + v+ J2 Y  b0 `
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 Q6 ]  e* c  D: n+ r
  511. ; to On can assist in debugging and is appropriate for development servers. It should& B3 C$ H0 J8 |: _( A
  512. ; however be disabled on production servers.
    ' B5 s8 ^, G  ^  p' D7 u: Z, r0 ^
  513. ; Default Value: Off5 x1 E  s" D0 u" V0 M
  514. ; Development Value: On7 ]+ y, G2 q1 d, k2 O* K; Q
  515. ; Production Value: Off9 o3 t. }. q, f# c
  516. ; http://php.net/track-errors* W: \( F' L. `  O) W$ \4 F
  517. track_errors = Off
    # s% _- x1 R4 J+ V

  518. 2 d" P1 S2 f+ \7 @
  519. ; Turn off normal error reporting and emit XML-RPC error XML/ ~5 @* ~* O: R& H5 g! I. V- z
  520. ; http://php.net/xmlrpc-errors9 Z6 E0 Q# A& H% ~9 e$ H
  521. ;xmlrpc_errors = 05 d2 G9 h5 n/ V' u3 O7 Y% O2 S
  522. ( b% |( w1 `: d/ z1 k+ t1 r7 a; v
  523. ; An XML-RPC faultCode( T4 ^; [1 p( Y4 b: B. O% v
  524. ;xmlrpc_error_number = 0  s& v6 N! Q# q* n. E
  525. ' @+ ?3 D4 M1 J0 X% f
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    0 \. S+ b# }4 T3 M0 K
  527. ; error message as HTML for easier reading. This directive controls whether
    3 p: m( n  U- c" E8 _+ B4 o
  528. ; the error message is formatted as HTML or not.
    4 l% q" t5 E: H- P$ H  o9 V& U
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI) X1 ]- c  Z0 e
  530. ; Default Value: On( @: z0 h0 \( X9 C( l$ F! P
  531. ; Development Value: On
    # ]6 j2 Z' W1 e2 S& O
  532. ; Production value: On
    - }5 \* o0 O8 C7 u' E
  533. ; http://php.net/html-errors* V$ w" }" n8 Z4 W& T1 A
  534. html_errors = On
    & y& D) j3 O- C7 ^6 C" c( q

  535. 4 c/ ]2 h5 R) @  l* w" n
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP* j$ V, E) d- z
  537. ; produces clickable error messages that direct to a page describing the error- c8 F+ y# y. D$ ^* p) u
  538. ; or function causing the error in detail.
    9 h1 y2 m7 j5 }
  539. ; You can download a copy of the PHP manual from http://php.net/docs( H( {" M9 J( R1 b/ I9 P3 L
  540. ; and change docref_root to the base URL of your local copy including the& m6 t! P0 d7 m3 E3 l
  541. ; leading '/'. You must also specify the file extension being used including+ B! p4 w1 c7 B) G1 s$ e
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + L& R' u3 O+ |: G0 ^$ T! l
  543. ; case no links to documentation are generated.
    ( P' E4 l9 M8 J1 F" N6 x
  544. ; Note: Never use this feature for production boxes.
    * N) b+ f7 [* a* w
  545. ; http://php.net/docref-root+ R; H* Q. `0 o& |7 c6 S& B# ?
  546. ; Examples, F- p3 R  @# \( a" W
  547. ;docref_root = "/phpmanual/") ?+ N5 D3 F9 s" O

  548. * T8 r# P4 A, i7 t  i; w
  549. ; http://php.net/docref-ext
    ; M; w3 A' A' x1 D/ n
  550. ;docref_ext = .html
    8 d* h4 U8 u! r" {7 B0 o/ R5 p' e
  551. # y% [) |" J+ ^! h8 h* `
  552. ; String to output before an error message. PHP's default behavior is to leave" t' g. N- y9 d- i1 Q  s9 C
  553. ; this setting blank.
    5 `0 N8 [4 x; k# f' H
  554. ; http://php.net/error-prepend-string* g! O) |- j0 s; d5 ?
  555. ; Example:) C4 `. u0 j5 C( J0 u# s7 u7 b
  556. ;error_prepend_string = "<span style='color: #ff0000'>"* C6 d6 ^2 x& j: K
  557. 8 u4 L; |* H' O2 D8 j
  558. ; String to output after an error message. PHP's default behavior is to leave
    5 G# S1 N0 `/ o( Q& z1 l
  559. ; this setting blank.
    ; K* Z& ~0 Y# w- c- T8 e9 l
  560. ; http://php.net/error-append-string. @; W* p# W# w$ J- i8 p/ ]
  561. ; Example:# [* Z( \, C- Z2 B6 @# S8 s7 k" V
  562. ;error_append_string = "</span>"+ p3 ~6 g# Q3 E
  563. 3 B! _3 i' M) k  B$ J, C2 A
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ; _' _  u8 \& B/ v, l
  565. ; empty.
    : a% d7 |* y  l7 ~
  566. ; http://php.net/error-log
    2 d& ]: b7 Z- ~+ I& ?0 \# c3 ^
  567. ; Example:
    % P/ k# g* C+ Y1 v) Q% G4 a
  568. ;error_log = php_errors.log9 Z' w' B! |& P
  569. ; Log errors to syslog (Event Log on Windows).  Z3 p8 ~( O: O9 G+ a. ?  ?
  570. ;error_log = syslog/ q  d  P+ J  O( v* P! H

  571. 8 S/ N$ Y5 M  p! ^1 Z# M* I3 I3 A
  572. ;windows.show_crt_warning
    : E" v8 y3 H, I7 e5 ]" p1 n
  573. ; Default value: 0" |8 X5 S/ ~$ }  x
  574. ; Development value: 0
    # w" r& V: ?+ ^8 B7 _
  575. ; Production value: 0
    * m3 Y" b0 Z% N* |/ A0 H

  576. . `! H6 N& G9 l0 M0 y: \9 F
  577. ;;;;;;;;;;;;;;;;;$ a- M+ r, J, f5 P( k+ m
  578. ; Data Handling ;8 l) T) H) A5 W# t5 j
  579. ;;;;;;;;;;;;;;;;;9 {. a9 ]. e9 _5 r. A

  580. - n$ Y& Y# \) D) u* ^8 t3 i9 k& d
  581. ; The separator used in PHP generated URLs to separate arguments.5 u8 N/ H% X9 {: Y5 ~, Q
  582. ; PHP's default setting is "&".2 H" @& q2 @# U  Z# W; Z
  583. ; http://php.net/arg-separator.output
    + p% b! `! V# g
  584. ; Example:8 E1 D) t9 E& I/ p3 m' n1 J
  585. ;arg_separator.output = "&"
    + {' D* q, T1 d: c# m

  586. 2 ]# Y: _, D8 X3 i  H& ^4 ]$ ~
  587. ; List of separator(s) used by PHP to parse input URLs into variables.2 g' b2 R# n, n) ?) G& B6 ]7 }! Y
  588. ; PHP's default setting is "&".- |- A0 m, c2 L" H
  589. ; NOTE: Every character in this directive is considered as separator!
    - T  x. ~" v- e4 t4 E8 Q
  590. ; http://php.net/arg-separator.input
    $ \5 e. q( v7 E* T3 U7 O7 R
  591. ; Example:7 J8 m% H$ Z5 w( A: J
  592. ;arg_separator.input = ";&"
    5 V9 Y& \$ y8 B7 m8 k
  593. ' V7 ^" V' E' f& V  V
  594. ; This directive determines which super global arrays are registered when PHP5 o: H- x! o7 r3 Y; g9 E# \
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
      ~3 ]8 i8 W$ B+ U
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( }* c& @+ d! W- I. ?
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    3 v9 x, j3 V/ S2 t3 o! M7 K; f0 P
  598. ; used as the others, ENV is not recommended on productions servers. You. t$ f# @9 L* s, U3 M
  599. ; can still get access to the environment variables through getenv() should you* s3 b8 B; e+ `4 v  Q4 [5 q
  600. ; need to.! [! ^1 B0 m. h
  601. ; Default Value: "EGPCS"
    . d8 ~1 H9 }. \+ D) [) m
  602. ; Development Value: "GPCS"# u, x! J; _- K: \
  603. ; Production Value: "GPCS";; Q, [7 }3 r# J3 W, u( U- c
  604. ; http://php.net/variables-order
    ' I% V/ V1 c0 v; u6 Z5 a1 D$ g
  605. variables_order = "GPCS"
    0 \& a% Q; I5 |5 t8 d) `
  606. 0 v& Z* W6 g7 }! R
  607. ; This directive determines which super global data (G,P & C) should be8 T  G2 X. \0 P$ B+ J0 n+ s
  608. ; registered into the super global array REQUEST. If so, it also determines/ \: L6 G3 w" {+ G
  609. ; the order in which that data is registered. The values for this directive
    7 I/ V# {( d1 {( M9 n; B4 l& x
  610. ; are specified in the same manner as the variables_order directive,
    ( T' i6 d5 M6 B5 _, @+ A- f2 a+ \" U
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : P- _$ m' N- [! u, I* E3 }3 Z$ @
  612. ; in the variables_order directive. It does not mean it will leave the super
    6 f: D' j+ n) B0 Y) v$ k$ x5 ~
  613. ; globals array REQUEST empty.$ K" D  A2 S* P' h6 l* c
  614. ; Default Value: None" U0 E9 c* k! e2 x. v
  615. ; Development Value: "GP"
    3 R7 S% ~$ i4 f; p, h8 w
  616. ; Production Value: "GP"( _: l) w  A. A. {% \' e
  617. ; http://php.net/request-order
    2 H. A4 m/ h( T# ]* m0 D
  618. request_order = "GP"* v- f# v# `- P: b, E
  619. ' f7 A' c" ~& t6 w  k7 S- V
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ; v4 C3 q- E0 N. n. {3 \+ e
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script- x2 c3 p0 u& Z2 N
  622. ; is invoked. $argc contains an integer representing the number of arguments
    4 V, y0 R2 Q' ]; U
  623. ; that were passed when the script was invoked. These arrays are extremely: F% H6 R0 L! u% Y4 m
  624. ; useful when running scripts from the command line. When this directive is# \- h6 X+ D: Q8 G& o: w
  625. ; enabled, registering these variables consumes CPU cycles and memory each time7 `! _, t! c! z5 }1 v* w5 v
  626. ; a script is executed. For performance reasons, this feature should be disabled! H" v! o5 c% z, }8 A- B
  627. ; on production servers.
    1 d- J- X' T/ i, W8 d, n8 v, |$ p
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 r! _: e7 |" F4 J- N
  629. ; Default Value: On
    # z2 l2 x: N' `$ n5 R
  630. ; Development Value: Off5 p/ U1 b9 e3 L; |" j$ {* V( a
  631. ; Production Value: Off
    ! h0 z1 ?( f- z# \# ^" Z
  632. ; http://php.net/register-argc-argv
    7 r" ], K$ ]' N6 ^
  633. register_argc_argv = Off9 t. @; `0 V6 @6 ~

  634. 8 J9 S, ]( a3 O/ [9 J; N9 B
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    & i% j" Z9 U. l6 w9 o, b' B
  636. ; first used (Just In Time) instead of when the script starts. If these; t/ Y  b: W2 p2 ]  w
  637. ; variables are not used within a script, having this directive on will result4 }0 D; K: A0 n% Q2 @* l
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 H' ]7 ]8 K& U! q4 l
  639. ; for this directive to have any affect.6 }/ h9 w, W+ f* w% D/ y
  640. ; http://php.net/auto-globals-jit
    . e! u" o7 A8 C7 T# \" h
  641. auto_globals_jit = On
    5 m% T6 S& b2 ~0 W. d' O9 q, L

  642. , u' _: u8 J6 D& `1 j
  643. ; Whether PHP will read the POST data.! u8 D- x5 T9 ]3 b
  644. ; This option is enabled by default./ _7 a' w; U3 S) s- A$ M
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      f9 T3 Z% g$ R$ K7 P7 H
  646. ; and $_FILES to always be empty; the only way you will be able to read the7 m3 c$ a) Q  o+ Y; h" @
  647. ; POST data will be through the php://input stream wrapper. This can be useful% Q& w  G7 R; w1 M3 i  R1 h8 j
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.2 \" V' u8 S, c( |( b
  649. ; http://php.net/enable-post-data-reading. A  L* K; k. ^7 m. O4 X
  650. ;enable_post_data_reading = Off% j4 t7 Y" G5 ~- e  Y

  651. ! D( b; L4 L3 T) C/ u& c
  652. ; Maximum size of POST data that PHP will accept.
    & h% A7 Q) ?; I( A  {( A
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ! S$ K# s: I3 F1 i: F3 S
  654. ; is disabled through enable_post_data_reading.
    ' Q6 Q5 h) x" B7 w+ G1 s* r, f
  655. ; http://php.net/post-max-size
    ) c, P9 V! j, P9 N' @7 [7 @
  656. post_max_size = 50M; k# K( s' `9 K) @# H; X

  657. 9 T4 A) ?3 J1 s- X6 G, \% t4 |
  658. ; Automatically add files before PHP document.+ ?  U4 X' k+ J" A! x! P
  659. ; http://php.net/auto-prepend-file
    , s% J& e, t& L& i
  660. auto_prepend_file =
    ' ?. V/ y. P+ `& y( ]8 m
  661. " I: S2 z- K9 j7 U% L
  662. ; Automatically add files after PHP document.
      D! `5 Z' V5 e" a: N# ?' Z
  663. ; http://php.net/auto-append-file# ?" B+ x1 X5 B+ f6 i2 k' ^
  664. auto_append_file =
    5 ]* R8 D: n! D" j6 B0 h
  665. 2 B* }% l6 J5 H, W! [2 K
  666. ; By default, PHP will output a media type using the Content-Type header. To
    % H' Z% g! M- G. p4 l# d+ Q
  667. ; disable this, simply set it to be empty.; I$ c" y0 z7 Q  v6 h
  668. ;# {9 e: A' W6 v! v
  669. ; PHP's built-in default media type is set to text/html.
    3 U: j  g6 f# ^. u' {
  670. ; http://php.net/default-mimetype
    ; U3 n! ~+ I$ o7 T8 x3 b( k. m
  671. default_mimetype = "text/html"7 h1 @2 M5 P' R+ i2 s
  672. 5 x1 \3 P- O2 E9 W5 R3 s
  673. ; PHP's default character set is set to UTF-8.2 P# o) ]+ Z1 V, G
  674. ; http://php.net/default-charset
    " J. \; I/ ~3 @
  675. default_charset = "UTF-8"; N+ E( l, N/ A, [" ?
  676. 4 w  n: p7 k0 \9 J$ L; Y4 w
  677. ; PHP internal character encoding is set to empty.' \: k: @1 m$ U+ }# ~- |) `: b: [
  678. ; If empty, default_charset is used.
    ; \% V* j/ ?& d
  679. ; http://php.net/internal-encoding
    ' m( _" R) h% r  F! s
  680. ;internal_encoding =, ^6 \! d6 e+ m. Y7 P! X" K# R

  681. 3 Q2 j7 s' K& P2 M( h
  682. ; PHP input character encoding is set to empty.# {2 T6 s" b# F2 R) w
  683. ; If empty, default_charset is used.2 U" J# W- `- E& I( X7 i& d4 t
  684. ; http://php.net/input-encoding
    ( \0 N" x" \$ N6 _; w: u
  685. ;input_encoding =) G+ o2 t  u. j0 H

  686. . t3 n! X# d4 X$ z' X5 m
  687. ; PHP output character encoding is set to empty.; Z/ C  U5 @  v  B3 o
  688. ; If empty, default_charset is used.. D4 p. }- o% T5 y
  689. ; See also output_buffer.
    5 S' d; o- E+ H' O4 o; i7 _5 j
  690. ; http://php.net/output-encoding
    5 _) C& {+ x* c. T* t6 x7 S# I! F
  691. ;output_encoding =( w( J" H  T+ B9 U7 b/ h8 v
  692. * f1 {4 m; g* n1 X2 ^
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 H/ c) F9 T9 F: t' N6 U. C
  694. ; Paths and Directories ;
    ! f" r& `. H! p- g
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;# @( Z5 x& b6 K7 n" d. k7 U- ?
  696. - Q- n8 H( E$ H
  697. ; UNIX: "/path1:/path2"
    ( p: R, g7 g" ]% C
  698. ;include_path = ".:/php/includes"
    6 b7 Z/ ^0 ]5 V- X
  699. ;. \6 q  K( J3 t* V, h
  700. ; Windows: "\path1;\path2"
    , O" @5 X( {# \0 `! K
  701. ;include_path = ".;c:\php\includes"
    - Y/ T7 N! m& {* b/ I: R) a
  702. ;- s9 @* V. {% r- ?7 x
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"! W7 T9 ?2 |7 x9 D! N" L) R
  704. ; http://php.net/include-path! Z/ \+ P  @. Z2 Y

  705. / i% h* x, U4 x
  706. ; The root of the PHP pages, used only if nonempty.
    $ I! g1 c$ l! j; N2 q
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 Q8 e; C$ T" u9 V
  708. ; if you are running php as a CGI under any web server (other than IIS)5 }: @% j7 ^; u, N9 [" U
  709. ; see documentation for security issues.  The alternate is to use the3 K) x+ r8 G; }  G5 f- ^5 y
  710. ; cgi.force_redirect configuration below
    ! G. D0 ]7 T( m
  711. ; http://php.net/doc-root
    * d3 P1 N! Z. n" ?
  712. doc_root =
    7 n6 J. }/ W) ^3 \) O" K2 p# t
  713. 1 X- p8 v7 S0 e! |
  714. ; The directory under which PHP opens the script using /~username used only/ q* X) M8 Y9 u8 f
  715. ; if nonempty.
    4 b5 y( {( a, m
  716. ; http://php.net/user-dir
    ! X1 ]# ?" C! T1 c
  717. user_dir =
    # L% {" N/ j+ i8 \
  718. 0 b. F% O& E( w5 v' D6 c/ Z; _5 K
  719. ; Directory in which the loadable extensions (modules) reside.; `: Y- Y+ d% R( Z  q- f, V6 \
  720. ; http://php.net/extension-dir9 }: |7 f  C1 P
  721. ; extension_dir = "./"1 P0 E  e% ]9 j$ Q
  722. ; On windows:3 n$ ?3 |# o3 Q! o+ J9 q
  723. ; extension_dir = "ext"
    ( T3 k0 r& R. H, `4 \! O8 y
  724. - x# A2 i7 E5 I
  725. ; Directory where the temporary files should be placed.
    : J& f( l  Q, [1 L8 C- e0 r
  726. ; Defaults to the system default (see sys_get_temp_dir)
    - V7 L0 C. T1 {5 u3 W
  727. ; sys_temp_dir = "/tmp"( w6 K5 P4 H' R; {- h
  728. : @$ y" d$ I# G
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work  b; k, x% B: }
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically( M! W/ i' ~* B9 o$ N, Q
  731. ; disabled on them.
    8 ?: p  h9 o+ p& W1 e- H
  732. ; http://php.net/enable-dl4 ?) C6 {) m' v( S" J; [1 L
  733. enable_dl = Off& m  N; u8 o. d) O: X( M4 N2 ]! b- y

  734. 7 Q$ D7 w9 B0 b0 O9 M/ ^4 J
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    6 V: C, g: |1 U. J6 c' o  y
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 j, I; [4 L& V) _- C, s3 F$ p  |
  737. ; turn it off here AT YOUR OWN RISK
    , e& x4 W) |  b
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 v, D2 O; _$ G  `. B
  739. ; http://php.net/cgi.force-redirect5 D# w3 c( h5 q; _9 z7 c
  740. ;cgi.force_redirect = 1* {4 a, H5 c" n" G. H7 t9 W8 U

  741. ( x( [& d2 u4 W1 o
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 [3 S8 m: [6 r: F3 C# k
  743. ; every request. PHP's default behavior is to disable this feature.2 b# Y# Q- o2 e8 g/ @% V2 ]
  744. ;cgi.nph = 1
    , I7 V4 L, `0 m1 o5 E
  745. " Q9 _' ^/ _  G( J* A; A& m
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    6 J' v3 c) b% Y+ h0 k
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    # ]. i, A  x1 D
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    8 a" F6 o4 t; y0 _3 G8 J) {3 h2 l
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      q' A. V; s* u9 J
  750. ; http://php.net/cgi.redirect-status-env0 q: q/ k. M% M+ ?8 k; _
  751. ;cgi.redirect_status_env =
    - K' S/ U) y. K& M2 F' j9 N, N
  752. 2 x/ @5 i& L4 f0 K# \& ]2 A( E
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's, B: q6 Z$ ?* S
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok# y+ ~. G# K; _4 T! d4 {
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting7 n/ w5 ?: H. `" X  g1 k! A4 y0 s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 X2 y  e5 X2 K8 x
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts: Y/ L2 ^' Y, o) e; ^) ~
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 q+ t8 y! j% ?5 y- k* I8 l  k
  759. ; http://php.net/cgi.fix-pathinfo
    & [0 H. a0 B5 T0 i* r* C
  760. cgi.fix_pathinfo=1
    & t8 B0 {8 F7 l8 e

  761. ' c2 J9 z, ~" E
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 h4 L6 ?4 h+ g" [( l
  763. ; of the web tree and people will not be able to circumvent .htaccess security.( s: d' {0 B. `! I4 P3 {
  764. ; http://php.net/cgi.dicard-path1 |5 h$ A/ k; p; N0 {
  765. ;cgi.discard_path=12 t: p  ^- L& _( O) Y$ ^+ ?

  766. 3 {! J9 {- c) D9 B
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) A, _6 M$ q: o
  768. ; security tokens of the calling client.  This allows IIS to define the
    0 x3 Q, U8 v0 x$ B" L* s% D7 b- O
  769. ; security context that the request runs under.  mod_fastcgi under Apache! G0 N0 O  I  K: j
  770. ; does not currently support this feature (03/17/2002)! i* _7 m. Z0 l4 i5 D+ n
  771. ; Set to 1 if running under IIS.  Default is zero.3 u( v3 ~8 ?. m* Y7 \
  772. ; http://php.net/fastcgi.impersonate
    7 x  q% @4 |& m3 i
  773. ;fastcgi.impersonate = 1: `2 {* _0 H1 z

  774. 7 ~4 d! d( W6 m/ e* M
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable& \7 l" X! R7 ^8 n3 i2 K2 C, i& m5 @" ]
  776. ; this feature.: b' }. r8 T, i' q# q
  777. ;fastcgi.logging = 0. W6 n3 m! ^! d! G& `
  778. % f# r$ n$ J  V/ O( i( t
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to8 C: U6 C& e; v2 V
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . q' W9 x' m+ |; q- i2 B; ]  I8 N1 j
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    & e6 y/ v: [9 f# ~* @
  782. ; RFC2616 compliant header.
      f. A$ y4 S, G# X
  783. ; Default is zero.
    5 d8 w5 |4 v( ?; Q8 e" @5 v
  784. ; http://php.net/cgi.rfc2616-headers5 f0 t: Q- }7 [; W% M
  785. ;cgi.rfc2616_headers = 0. w4 g0 _# z! z5 `' f

  786.   v+ F$ R: b. b) O: R9 }
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ! ^9 n+ r: Y9 F8 o. J8 A
  788. ; (shebang) at the top of the running script. This line might be needed if the
    8 B1 H/ ?. I7 Q% z8 h& y6 c2 U/ `
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 X( Y0 c- Q4 W
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ) M9 n' u1 v; W( s  z
  791. ; http://php.net/cgi.check-shebang-line
    ' b# B5 h* ]& B, z2 G! g
  792. ;cgi.check_shebang_line=1& ~; N% T8 ?" f6 M' `1 o
  793. 1 I! A/ M- a$ c
  794. ;;;;;;;;;;;;;;;;% _: q4 _" ~) O4 ^' m# V1 ?% s
  795. ; File Uploads ;  v7 u8 ]- n; E2 u
  796. ;;;;;;;;;;;;;;;;9 g/ h' E3 k6 G4 [6 h; @# V

  797. 5 B9 O, D/ M! ?
  798. ; Whether to allow HTTP file uploads.6 {# u+ Q7 c- U
  799. ; http://php.net/file-uploads+ z, e3 j* l- `+ @# G
  800. file_uploads = On
    9 P) a& G3 d) j' ^

  801. : \0 [" ^1 K( ?' _3 ~
  802. ; Temporary directory for HTTP uploaded files (will use system default if not. ]5 I5 U) z% x
  803. ; specified).
    - y! q$ z' i7 ^% _
  804. ; http://php.net/upload-tmp-dir
    0 P9 A2 e2 A' Y& V$ w- _
  805. ;upload_tmp_dir =' l+ U+ K6 ?' d& s) [. l; X! H
  806. 1 z) C) `( a# u& l/ C/ b8 e
  807. ; Maximum allowed size for uploaded files.
    " j6 c% l# q, d1 Q4 d
  808. ; http://php.net/upload-max-filesize, A; \/ {) f* {( I) O
  809. upload_max_filesize = 50M' `, }+ h; z" X3 c3 i# T

  810. % U) K) p* [- \
  811. ; Maximum number of files that can be uploaded via a single request& M# s! W# b$ J$ {0 [" y( A7 B) Q1 _
  812. max_file_uploads = 20: S+ K( B( U* ~) x5 P

  813. / @, I( n. W' q0 a( h
  814. ;;;;;;;;;;;;;;;;;;
    3 }- C$ Y: P. X5 w6 S
  815. ; Fopen wrappers ;
    / x$ {7 z! p+ X
  816. ;;;;;;;;;;;;;;;;;;
    ; I, P, d) `, q+ L5 \

  817. : M6 ?5 J8 R; l0 i; a9 f
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % ~8 a* j( K2 k. f9 H0 P0 W, Y- T
  819. ; http://php.net/allow-url-fopen
    : d* }& v4 D4 M
  820. allow_url_fopen = On
    8 g, ~" ]) W2 J( w7 Y+ ]
  821. ' |  E" x- m$ b
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  \# C9 h8 n  Q: ^" I
  823. ; http://php.net/allow-url-include
    " C( K6 ^. U( v$ d' [$ l4 @4 @
  824. allow_url_include = Off" Z7 D9 p% b' ?/ Q* i& x

  825. 9 ^+ M1 w' ^/ `! {  z
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 Y/ C% X5 }) |5 W6 `
  827. ; for this is empty.
    ; k- F2 w, Q5 t; f# }% g+ h
  828. ; http://php.net/from
    8 S& X) j8 E# M8 o# i5 z, u7 B
  829. ;from="john@doe.com"% T  a! y" o3 W6 A

  830. 9 g/ u8 R" P2 G. r6 _. V( x
  831. ; Define the User-Agent string. PHP's default setting for this is empty.& D* W! h' W, k6 Y' v
  832. ; http://php.net/user-agent' i4 i0 _( ~6 A# s
  833. ;user_agent="PHP"1 p7 d# K' A, _6 a

  834. 7 o, ~6 H8 t+ f* i* u: Y$ z* q
  835. ; Default timeout for socket based streams (seconds)
    $ Z# p2 f# m' [. u1 h
  836. ; http://php.net/default-socket-timeout
    ( G& i+ Q& n+ h' l, J) W
  837. default_socket_timeout = 60
    % ^5 x+ Q. X( I2 r+ y. N1 }" a

  838. 3 J0 P* A) v7 u1 Q, [+ Z
  839. ; If your scripts have to deal with files from Macintosh systems,
    ( S" J; c; Q, M  p
  840. ; or you are running on a Mac and need to deal with files from6 `0 J8 ?* ~0 }7 E' k
  841. ; unix or win32 systems, setting this flag will cause PHP to
    4 K. C8 F) G# N0 m& r
  842. ; automatically detect the EOL character in those files so that
    ( H, r& @' ~; H, `5 ~
  843. ; fgets() and file() will work regardless of the source of the file.0 e; o! l& D5 L; V5 T) e
  844. ; http://php.net/auto-detect-line-endings8 ]4 L( X! C/ B  {8 \3 h9 F
  845. ;auto_detect_line_endings = Off
    % e" y: M$ f; T! M; u2 C) c
  846. , a/ o+ k3 c" o( U
  847. ;;;;;;;;;;;;;;;;;;;;;;( `) ]. y1 A1 {& }
  848. ; Dynamic Extensions ;% H2 D( q: L$ ?1 }8 `
  849. ;;;;;;;;;;;;;;;;;;;;;;9 b7 a: a" C  }2 g, L% j9 [, a

  850. 9 O" r% P, h" B9 g9 v6 j
  851. ; If you wish to have an extension loaded automatically, use the following
    8 @4 j6 b- o8 e5 J3 Z9 Q
  852. ; syntax:0 f+ X& {* h9 P* ~( C
  853. ;# a$ }. |8 b8 W- o- ?) a  ~; ]7 N; ]
  854. ;   extension=modulename.extension
    ( f0 @; ^: Z5 h$ `6 w: e1 `
  855. ;) |, l" s9 ]  N0 t
  856. ; For example, on Windows:2 _/ q2 _  Y6 U) r, E
  857. ;/ ~- v- S& r6 N7 P/ t
  858. ;   extension=msql.dll$ D" x) n0 ~% c
  859. ;
    2 Y. }0 G' C2 O9 t4 S! L- P# i
  860. ; ... or under UNIX:# M# {0 w; {; E( a
  861. ;7 l3 u( L. B4 F7 `: ~! J. i
  862. ;   extension=msql.so
    / R8 [& l. N- x% R6 {% h+ g
  863. ;
    . Z7 l6 Z6 d) R+ |( \4 f
  864. ; ... or with a path:
    9 l# m( g; k. g. d) K6 B
  865. ;
    6 S" P& h8 g% H  j; x/ v0 \
  866. ;   extension=/path/to/extension/msql.so& ^8 y2 V# f/ j# _
  867. ;% ~+ E" c, g2 p: T/ Z9 Q
  868. ; If you only provide the name of the extension, PHP will look for it in its
    0 X1 x& m$ {2 ?" B- U, V  Y
  869. ; default extension directory.
    7 C/ b" g0 Y; D
  870. ;
    0 B; ]4 P2 K6 }$ ^" O1 n7 J
  871. ; Windows Extensions2 Y+ j* F$ ?' P# [
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    3 N% n: |; m( ~$ ]& o, O8 n
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    7 T: Q5 h4 {+ `' o+ n" Q7 u, k
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+)., d6 c1 c$ V$ N0 L7 ]  {( [
  875. ; Be sure to appropriately set the extension_dir directive.
    % ]" l! s  A( N+ \4 z
  876. ;8 B0 u' F6 G7 @- L  \
  877. ;extension=php_bz2.dll
    9 x% i+ A0 W$ M5 d4 J
  878. ;extension=php_curl.dll
    % j1 p) V4 `1 J* [
  879. ;extension=php_fileinfo.dll
    6 q! I( H6 i5 D
  880. ;extension=php_ftp.dll
    + q. }" H/ F* [' p  [8 @( w+ f
  881. ;extension=php_gd2.dll* b: W6 _2 S& c  Q
  882. ;extension=php_gettext.dll  y7 N. n2 {2 M* d
  883. ;extension=php_gmp.dll
    8 G. _, E  @9 `1 W% }5 k
  884. ;extension=php_intl.dll$ j; A& T. J4 K! ^
  885. ;extension=php_imap.dll' E3 S( ^4 ^: Q: J$ |- Y6 w: _& H
  886. ;extension=php_interbase.dll2 A* v  B& i, |* a! R
  887. ;extension=php_ldap.dll* x) t) q7 R' ^* E) I- k1 L
  888. ;extension=php_mbstring.dll# ?9 q! B8 f1 c' e( L
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% f- N/ D$ [; L* N! m
  890. ;extension=php_mysqli.dll7 ^0 O6 M% y' b: _' Q+ |$ K! M$ G
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    + ~# G- d7 n3 x: q, _+ I
  892. ;extension=php_openssl.dll
    : |$ [# _  x. }; J
  893. ;extension=php_pdo_firebird.dll
    " e/ K% L% S# I& c  {
  894. ;extension=php_pdo_mysql.dll' F3 \7 m0 C/ }$ |8 x* E
  895. ;extension=php_pdo_oci.dll
    + O7 T9 r" E( v: N0 H1 L
  896. ;extension=php_pdo_odbc.dll
    ) M6 c& R1 q  }
  897. ;extension=php_pdo_pgsql.dll
    " c- U( U# G. B. M( p# m
  898. ;extension=php_pdo_sqlite.dll
    6 c$ f' N" e( s! n  b- y$ l
  899. ;extension=php_pgsql.dll" w# q3 k- f: q" y) w
  900. ;extension=php_shmop.dll
    8 R$ B+ ]4 x* x" g) A: ?8 J. B+ }  J

  901. ; i$ Q2 y! I$ b7 b+ y
  902. ; The MIBS data available in the PHP distribution must be installed.
    . |9 [. `' m  h$ u3 d! a
  903. ; See http://www.php.net/manual/en/snmp.installation.php) T6 q# c0 M+ f& `2 e+ f
  904. ;extension=php_snmp.dll: B5 g, r& K6 _) j$ h7 I
  905. 6 Q- a8 @% h0 c
  906. ;extension=php_soap.dll
    % E& w! l8 I/ t: T/ o
  907. ;extension=php_sockets.dll
    $ P- F# g3 K) B- w
  908. ;extension=php_sqlite3.dll4 _9 z; a0 Y3 g2 @
  909. ;extension=php_tidy.dll" w* s0 L* U* p. @1 }+ {+ \1 L5 F
  910. ;extension=php_xmlrpc.dll( L. Q9 w* q; G( P
  911. ;extension=php_xsl.dll" V) ~7 m2 d4 v# b' m
  912. : N8 V+ {) B) ^& Y
  913. ;;;;;;;;;;;;;;;;;;;; X  d, P* [8 v( r7 J1 L. x
  914. ; Module Settings ;
    ) z5 P$ I) J( R/ v
  915. ;;;;;;;;;;;;;;;;;;;- a  X  ~# @+ ?% w+ e, U

  916. / [9 z9 n- V$ f) c* u
  917. [CLI Server]( [7 I! q# r" ]4 d/ A; O3 Y: T
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.  f! V+ H+ T' z3 t9 ?
  919. cli_server.color = On
    - A3 K3 K1 x$ W% a3 R
  920. : {7 I! ~5 ?1 V+ V
  921. [Date]
    ( }+ |) j7 q* Y: ^- ^- _
  922. ; Defines the default timezone used by the date functions
    - \# d# e% L1 Y6 i) y1 v2 r
  923. ; http://php.net/date.timezone
    7 L( M! D; V# a; [
  924. date.timezone = PRC
    . K/ @" D( x- z* a1 P: v
  925. 6 \0 v% T5 w) H( [6 a4 I; E/ @
  926. ; http://php.net/date.default-latitude5 o( H% e5 ?% M4 P. [# m2 U1 O
  927. ;date.default_latitude = 31.7667; S: u7 Y* ]% X% o1 A
  928. ; G: E* ]3 C$ i2 A; h
  929. ; http://php.net/date.default-longitude# `+ j! W1 T# y% \2 G+ E
  930. ;date.default_longitude = 35.2333
    - R% e: Q5 X2 y0 K$ z: A
  931. * d3 v7 ~: Z4 }0 q6 }6 a* @. Q) S6 T
  932. ; http://php.net/date.sunrise-zenith+ c' \2 k, q) a! x) m: f
  933. ;date.sunrise_zenith = 90.583333% H& B! w; X8 d, d. e
  934. - z( E7 Y1 G3 r2 d0 Q* y; W
  935. ; http://php.net/date.sunset-zenith
    1 {: ?9 e* K  H4 G9 S9 k, _# @- m
  936. ;date.sunset_zenith = 90.583333* m. |. E+ w% A! I! W

  937. 2 A/ S) d! k7 s; T
  938. [filter]% b* ~1 p, X  c& m# x3 J( {
  939. ; http://php.net/filter.default# Y: @: n- P4 D# T- R. @7 n$ s4 i
  940. ;filter.default = unsafe_raw* b6 R5 \% h/ ~; b+ @$ d4 a& D- m
  941. $ s8 O+ s6 ?& L( q  R* O
  942. ; http://php.net/filter.default-flags
    % n7 S- I2 i; A6 z6 G; |
  943. ;filter.default_flags =
    " h& v* Y$ z  S' E- i! W, \

  944. ' ~9 _8 e& R4 B3 K6 z: A* i
  945. [iconv]
    7 U1 ]6 G, w8 N7 Y0 F$ G8 L; Q
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; k  h1 f# k' P: g% I' O
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.5 h! {# W+ g2 q, T
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding; E% @- a$ I* T: j' i! h" D! ^
  949. ;iconv.input_encoding =
    / b' e4 K" M% Y/ N+ |% S

  950. 5 z! h7 p9 C/ {+ F" Z3 c
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % H' [: k2 p6 u  z" ]* K1 p' I! P
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' ^6 i5 R/ M5 J+ h. u  n) `
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ; o! W6 x, i: r
  954. ;iconv.internal_encoding =
    9 F  Y3 T  C# G: C
  955. $ v" ]5 X, ^0 b' U$ `# P
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - ~* _4 o% U) F, p6 f9 E
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.: Z. P* }' W0 R5 K7 ^. k+ q
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding9 v3 Z/ x% y, X* D
  959. ; To use an output encoding conversion, iconv's output handler must be set- G: F! f% `8 l1 [  {
  960. ; otherwise output encoding conversion cannot be performed.
    - p9 ~9 Y2 _1 @
  961. ;iconv.output_encoding =+ V6 l. [$ k4 ^/ _* u

  962. 6 l( S, R' Q; u
  963. [intl]
    ' q* k! n2 n, n4 A& N2 X6 [# f
  964. ;intl.default_locale =
    6 C; {0 `! u* r9 o
  965. ; This directive allows you to produce PHP errors when some error
    * n: D' ^/ Y) b1 S6 ?7 {) @' O" ~
  966. ; happens within intl functions. The value is the level of the error produced.
    : H$ ]2 j9 P0 Q( `7 {) Y6 Z  @
  967. ; Default is 0, which does not produce any errors.+ j  Y+ {% C! a
  968. ;intl.error_level = E_WARNING
    8 R/ ^7 O2 [( C
  969. ;intl.use_exceptions = 0
    9 J( C8 o$ a4 W4 O
  970. 9 _$ a& D( H" V4 w, W$ w
  971. [sqlite3]2 V/ S0 {% s8 q& A8 J
  972. ;sqlite3.extension_dir =3 \  L' {* Q1 C4 I0 K$ e

  973. 8 h3 j. S2 M' H& q: s; Y
  974. [Pcre]6 h/ N+ W- f6 @$ ^; H6 B8 m% R
  975. ;PCRE library backtracking limit.4 R; M3 K+ h# G1 {9 u/ m% B- A
  976. ; http://php.net/pcre.backtrack-limit
    7 R' J+ m: n8 U
  977. ;pcre.backtrack_limit=100000; h# O8 {. Q2 m* ^
  978. ( n1 c7 h% x9 @
  979. ;PCRE library recursion limit.
    8 \: @3 i% J2 B6 L  v9 v
  980. ;Please note that if you set this value to a high number you may consume all8 I* L( [6 }0 V% o( y
  981. ;the available process stack and eventually crash PHP (due to reaching the
    * f1 b5 ]3 z- Y: `6 ]6 F) q5 f
  982. ;stack size limit imposed by the Operating System).. T' A  c; a3 p% P
  983. ; http://php.net/pcre.recursion-limit, y# K: u8 _3 q& f- V
  984. ;pcre.recursion_limit=100000/ }" z4 A  W( S" t! d
  985. ( z' r$ Q' ^2 d2 j3 E
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ! ^3 j9 g6 {6 O7 I0 u  [
  987. ;library to be compiled with JIT support.3 F( @3 g% K/ n9 ?* [. e5 j3 A. w' K2 B, t
  988. ;pcre.jit=1
    8 D: w, e  R8 x2 M* ~
  989. 0 M& B3 e; Y+ P8 v
  990. [Pdo]
    & Z, I! M% @5 r! S6 r# {% A
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
      Q" l2 `  V/ l' E
  992. ; http://php.net/pdo-odbc.connection-pooling
    % K4 }* e- j: Z/ _" P- i2 c' K
  993. ;pdo_odbc.connection_pooling=strict
    + c% G: P* |8 L9 b" J# m

  994. ! m8 g* @0 L5 d, v
  995. ;pdo_odbc.db2_instance_name1 F: H* f, C. u! I; Z5 Y/ i' h& T. A: n

  996. ) k1 ~4 t, S/ w$ p
  997. [Pdo_mysql]
    , p& |' G5 A, [; r! Z: Q: w
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache# l4 {! y7 B5 d+ {
  999. ; http://php.net/pdo_mysql.cache_size$ R) K) [2 C  N0 G  b7 q/ e
  1000. pdo_mysql.cache_size = 2000/ ?# }/ F" _  I' ~# J
  1001. $ Y% j/ _5 p( N0 L: w$ c2 L0 Q
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : |# t+ M- b5 M6 m$ [
  1003. ; MySQL defaults.
    . h7 H$ W/ ]$ y$ B% }
  1004. ; http://php.net/pdo_mysql.default-socket/ r  F: @: j& t- X3 V3 w
  1005. pdo_mysql.default_socket=; j1 ?. r/ g: B4 o; `

  1006. 8 u7 Y2 A; K) F+ D' a; z
  1007. [Phar]$ A3 y: U) E6 w) i( P
  1008. ; http://php.net/phar.readonly
    ! T1 @# u  o% N( i
  1009. ;phar.readonly = On; S% e0 P" [- q: F' T$ ]- K. m

  1010. ; Q1 D8 l1 V3 h$ x2 Q  I
  1011. ; http://php.net/phar.require-hash- S* S  M8 N% O% j* K7 q2 f$ ~
  1012. ;phar.require_hash = On
    - _% }* w; D/ q8 p0 T
  1013. 3 |( [. K) {; e7 y5 N
  1014. ;phar.cache_list =
    - l2 Q. M) w7 f) m" T3 C$ Y0 J- V- u

  1015. # d0 t0 }. _7 D' v9 D7 q* x
  1016. [mail function]8 c  i. a% P) f" G( z2 J- |
  1017. ; For Win32 only.; M2 j0 f' r4 Z% k! m3 p. a! Z
  1018. ; http://php.net/smtp
    9 m5 o9 ]) }, t
  1019. SMTP = localhost: @% Q# {( }- u# Q$ g) K& Q' d
  1020. ; http://php.net/smtp-port
    2 [1 S% I4 U' t& m5 B# B
  1021. smtp_port = 25( ]- `1 w# p9 _% m8 z/ M

  1022. - X, B/ b, {& @; }* ?
  1023. ; For Win32 only.' i3 M/ o' A) i6 k# L7 F
  1024. ; http://php.net/sendmail-from
    * D$ u4 C' h: [$ L1 l$ g
  1025. ;sendmail_from = me@example.com7 t( @6 E6 v6 l5 ^3 l# }6 `" k

  1026. 5 s, k; _$ P1 {) c+ \7 I5 p
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 M- S' Y7 n. h2 O& q
  1028. ; http://php.net/sendmail-path
    # O+ u: Z3 A# d) C; l' e2 E
  1029. sendmail_path = /usr/sbin/sendmail -t -i; `9 I& G; Y5 _; E* d* }; ^8 z( q

  1030. 4 t, ?/ r5 z7 z3 p
  1031. ; Force the addition of the specified parameters to be passed as extra parameters2 i! |& J. g" P1 L4 ]
  1032. ; to the sendmail binary. These parameters will always replace the value of: R0 B4 c; v0 a6 e
  1033. ; the 5th parameter to mail().
    2 I8 H5 T! ?4 y0 \
  1034. ;mail.force_extra_parameters =
    $ P' V# ~# d! t' K3 ^5 y4 U8 d

  1035. 3 U8 i  \( }3 N
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 f# X8 q) R6 \7 R7 i5 S  V
  1037. mail.add_x_header = On
    1 J/ S( }0 ~5 X. K$ Y
  1038. & D( u$ m6 c0 z3 C9 [% U$ h
  1039. ; The path to a log file that will log all mail() calls. Log entries include$ s9 y2 q8 l2 k5 ~% r8 G( ?
  1040. ; the full path of the script, line number, To address and headers.. L' f7 V$ U& j9 y" Q8 h5 S3 Q
  1041. ;mail.log =
    6 n, r/ Z' a7 v4 _: q
  1042. ; Log mail to syslog (Event Log on Windows).
    2 J) {1 u5 \+ |7 X& a) V- z4 z
  1043. ;mail.log = syslog
    9 u1 t/ K! ?. w7 ~$ {/ h
  1044. + q2 S( ^3 u! Q5 Z( G
  1045. [SQL]
    5 Z2 S% w- u) Y. _4 T) P# S
  1046. ; http://php.net/sql.safe-mode
    1 d( }& S* C+ j7 T- P
  1047. sql.safe_mode = Off) `; P! h0 d9 |6 e3 i+ K
  1048. ) }5 v! s9 L# Z+ ^* M" n$ i0 u
  1049. [ODBC]
    " G* u" j* l  w2 D. E  [
  1050. ; http://php.net/odbc.default-db
    # V( p* j2 g" e* z
  1051. ;odbc.default_db    =  Not yet implemented
    - I; h+ q9 K& ]6 {8 L! C6 B4 T

  1052. ( E9 U4 c2 H5 A. d% z. \
  1053. ; http://php.net/odbc.default-user
    4 l5 e( r. e; Q# {3 X3 Y1 @
  1054. ;odbc.default_user  =  Not yet implemented; b: G( G$ e  p7 d, l

  1055. ! l8 P( w/ P7 P/ O
  1056. ; http://php.net/odbc.default-pw
    0 a, j* Q* P/ Y
  1057. ;odbc.default_pw    =  Not yet implemented4 n! e- Q8 `# P& h: U4 t4 |/ l

  1058. 8 ?5 U& v, m6 R5 m  o8 A# ~
  1059. ; Controls the ODBC cursor model.+ m0 w* D8 I& X
  1060. ; Default: SQL_CURSOR_STATIC (default).
    8 i1 _: p/ }- e- j" H9 E" G9 v
  1061. ;odbc.default_cursortype8 I! X* d! g9 J2 r

  1062. ) M+ h8 r% [/ L1 v% C" M
  1063. ; Allow or prevent persistent links., G" H1 F+ t" m2 ]
  1064. ; http://php.net/odbc.allow-persistent. o  u2 D8 @# p6 u( k' g
  1065. odbc.allow_persistent = On0 b; Q' z! F0 M  c, B! i% \6 M

  1066. + y4 [5 i1 }  J, P( [5 p( g
  1067. ; Check that a connection is still valid before reuse.
    8 ~1 I* Y6 R8 S) h' X1 y6 a
  1068. ; http://php.net/odbc.check-persistent
    ) t  K! m5 x4 X! B
  1069. odbc.check_persistent = On: Q* y" I% t/ w5 |* A& [; D

  1070. / A4 ]4 s* [  `
  1071. ; Maximum number of persistent links.  -1 means no limit.* R8 q# W% r/ y( m7 f, |5 f
  1072. ; http://php.net/odbc.max-persistent
    & y/ c) W7 U! e  {& F
  1073. odbc.max_persistent = -19 O( s1 u  e3 H0 {
  1074. : Y+ w, j9 c7 m+ a
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' J' Z1 ?3 {' l  m! x; `3 f
  1076. ; http://php.net/odbc.max-links
    1 g" i) {" V$ L1 s
  1077. odbc.max_links = -1
    ' J/ C- U+ f% w, |* V
  1078. ( l9 q' v% J4 u( V0 M# b! z
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means/ @3 w( O& E7 q
  1080. ; passthru.
    1 [, i, S2 e+ N* {7 |: @: J
  1081. ; http://php.net/odbc.defaultlrl+ B% ?5 w8 g+ h: r  t3 ?
  1082. odbc.defaultlrl = 4096
    2 F% g9 ?' {) u3 }# |, \0 A

  1083. ' s  ~# x; O. P
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    , N  p1 Y. {: |% b9 R
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 P  L3 r! k. g; `' y0 T
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    : l0 T: x, ]( x5 I7 F# Z& k
  1087. ; http://php.net/odbc.defaultbinmode; D& o3 G" P" v
  1088. odbc.defaultbinmode = 1# d! s) L- L2 O5 H6 d% C5 R) M

  1089. 9 t" T- m3 @2 I2 q: L: {2 x
  1090. ;birdstep.max_links = -11 _' p  {7 ?- w7 A8 [1 s6 @
  1091.   d1 b; I( L! ]$ a1 K* e& u
  1092. [Interbase]1 k' c- h& Q7 w0 H8 B
  1093. ; Allow or prevent persistent links.5 ]2 E: T/ N4 e! G, i
  1094. ibase.allow_persistent = 1
    8 V# D  G0 E) u9 \

  1095. ) e3 `" }2 W! ]" e$ d5 u
  1096. ; Maximum number of persistent links.  -1 means no limit.
    0 g5 ^: ]* @1 z' M4 L2 |
  1097. ibase.max_persistent = -1
    5 J" U. G1 h! N6 H
  1098. ' d) j0 m* i9 Z7 K
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( m- O9 D1 N' s; k" S! l, S
  1100. ibase.max_links = -1
    5 T9 m" d* W4 X4 n# m8 B. R4 A

  1101. # q5 s" W) N) Z3 O
  1102. ; Default database name for ibase_connect().
    4 C- D; k% i# f, [) z+ s
  1103. ;ibase.default_db =
    ) B; K. g5 M, @" ^( L5 w+ ?
  1104. ' t, S( E' V. }3 a
  1105. ; Default username for ibase_connect().: s( j$ o# K% S9 O, A( h1 r+ `+ W, q
  1106. ;ibase.default_user =
    : C6 K0 {: m. R
  1107. - T) ~1 j* l# I2 U& M/ {
  1108. ; Default password for ibase_connect().
    6 A/ \' [6 e9 E& C% \) k4 \
  1109. ;ibase.default_password =
    & V+ u) a7 K0 s7 ?" w2 J

  1110. ; u8 ]1 m, B5 f1 ?. {
  1111. ; Default charset for ibase_connect().0 s7 V/ e7 x5 N* K6 F7 X" T
  1112. ;ibase.default_charset =
    5 ~3 f# E+ g* y
  1113. ! e- N$ K% S' b5 O: F
  1114. ; Default timestamp format./ ?8 ^1 t- |7 b
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 ]9 C& k6 y* ?8 v& c! O/ s

  1116. , O; y  _% x" e8 I: j
  1117. ; Default date format.
    . `: v( G- e9 J) P4 T
  1118. ibase.dateformat = "%Y-%m-%d"
    $ a1 @( W9 s# Q" r

  1119. ; s* T: @2 v* t+ `$ I3 h5 g% e
  1120. ; Default time format.
    ; ]) a  y( X4 U# i+ q* f+ e# w7 ^! S
  1121. ibase.timeformat = "%H:%M:%S"
    7 r2 o! D, z! z5 e6 H, e, D

  1122. 2 r! K( Q5 m$ e4 W
  1123. [MySQLi]
    4 [- r" Q2 f. A  ]+ _: w

  1124.   ]( e9 B# j: m" A/ T7 J) i
  1125. ; Maximum number of persistent links.  -1 means no limit.
    1 }7 I3 J- `5 b- V  @
  1126. ; http://php.net/mysqli.max-persistent  y; z- u$ R) v0 o
  1127. mysqli.max_persistent = -1
    ' B- ]+ n( t2 @% Y4 ^3 J

  1128. . S! a: T0 Z& u; i3 o, Q
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( w3 z! f: z8 C3 e
  1130. ; http://php.net/mysqli.allow_local_infile
    . y" q. f9 Y6 r( J8 v
  1131. ;mysqli.allow_local_infile = On' g  q( T$ Y4 x% s
  1132. : T7 @* b. g& y4 D5 D2 ]2 b
  1133. ; Allow or prevent persistent links.
    4 K+ }1 u: D6 M3 W+ ?
  1134. ; http://php.net/mysqli.allow-persistent. B  o9 m! h8 d/ Q4 A# x) ]
  1135. mysqli.allow_persistent = On% b) s8 r# p) Y& m5 A6 c: f9 w
  1136. 9 q+ I+ \$ X9 K; g- p' r+ Y
  1137. ; Maximum number of links.  -1 means no limit.: Z1 ?: Y2 h7 O8 S5 |. O; K
  1138. ; http://php.net/mysqli.max-links1 ?' Z6 T: S5 V
  1139. mysqli.max_links = -16 e/ W5 ]' S( v% |7 f6 T- j# t
  1140. - [' \. \$ i- K+ S
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 [: o$ J1 y: T0 p9 l+ T
  1142. ; http://php.net/mysqli.cache_size
    6 I6 B# L3 Z, u$ B
  1143. mysqli.cache_size = 2000
    ) |9 [" j2 B! J% G% V
  1144. - V% Q  t. S. X+ _8 y# W
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    % q% a5 i7 t% D# H$ `
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' ]; v2 Q. r* g0 t+ J
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 N) M7 q# p* B" a5 L
  1148. ; at MYSQL_PORT.
    & o0 C) \& p4 h5 m6 h7 T
  1149. ; http://php.net/mysqli.default-port9 M6 K! z5 `! u6 u7 o  b
  1150. mysqli.default_port = 3306
    " {+ o. D6 k  ~

  1151. $ T( R7 V) D- V9 a1 E' o+ Q1 y
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in: E- U' i+ K, r' g
  1153. ; MySQL defaults.  B5 v5 B7 A; }+ |: j
  1154. ; http://php.net/mysqli.default-socket
    ' ~" j  a% l6 K0 m
  1155. mysqli.default_socket =4 ]. y8 @/ x4 T8 x1 [
  1156. % [4 ^, x+ I- ^8 H' G& O
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).$ ~. x5 K+ u8 h1 F. S
  1158. ; http://php.net/mysqli.default-host' F! ^1 u1 E7 S$ A1 I3 A
  1159. mysqli.default_host =
    9 E0 k5 y/ E; P/ w0 X

  1160. ' V8 j6 B1 W, F
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).0 ?* z$ C8 d" m- O
  1162. ; http://php.net/mysqli.default-user
    ; |2 V: p4 V$ L; w8 r2 [
  1163. mysqli.default_user =; p# `3 k1 C7 l  Z6 w6 X% m! ]

  1164. ; S+ c. [& F8 \4 |: g; V: H! \
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    2 s: t" G# X+ r" y% l; {! X
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.$ e/ F2 S9 K& |0 Z5 U# r2 L
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")& Z; Q; L9 |8 p9 B. g2 S7 z' J
  1168. ; and reveal this password!  And of course, any users with read access to this
    $ N( ^8 T/ s' p# @
  1169. ; file will be able to reveal the password as well.# o' Q2 i5 v% O# m
  1170. ; http://php.net/mysqli.default-pw
    9 \: e9 h% y1 ^: H
  1171. mysqli.default_pw =/ ^, S7 u; ]! o( y! l. E& h: R5 u4 f

  1172. # y3 K3 a, x6 l% B) P
  1173. ; Allow or prevent reconnect& q' ]5 ?" N3 U; p: W
  1174. mysqli.reconnect = Off
    2 J8 u7 y+ e1 C8 P* b
  1175. ( k  A& Z/ f+ `/ v5 M
  1176. [mysqlnd]  W' w; I3 q/ D) ^, ]7 ?
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be9 R7 S# A+ H, R( P3 @
  1178. ; used to tune and monitor MySQL operations., \6 a" ~1 P: K0 c6 B
  1179. ; http://php.net/mysqlnd.collect_statistics! q* d# c# Y4 x3 d  Y; M' M+ P
  1180. mysqlnd.collect_statistics = On* ?8 I9 {6 i% x) O
  1181. 0 @0 a) ]/ l1 e2 F1 n
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be4 _2 ~9 T. e8 s0 c; Y3 }
  1183. ; used to tune and monitor MySQL operations.: P0 H: `, ^  f
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    / O+ `+ T! Q# d! C9 ?2 t  Q
  1185. mysqlnd.collect_memory_statistics = Off
    8 h+ @- Q8 I, Y( S) |+ ^

  1186. 5 m2 t# _" ^3 J& ^! ~% i
  1187. ; Records communication from all extensions using mysqlnd to the specified log" v/ k2 v8 e$ T# a1 f0 M2 P6 w: ^
  1188. ; file.
    ' M! c' E( A: u3 V! o! y7 S
  1189. ; http://php.net/mysqlnd.debug  Q" E) K* P- A5 B3 R0 A- \+ v
  1190. ;mysqlnd.debug =
    ; \( }2 Z. i" [
  1191. 2 Y4 A4 {* h) D
  1192. ; Defines which queries will be logged.
    7 H/ ?. g; w* q' `
  1193. ; http://php.net/mysqlnd.log_mask
    , l/ m: M! ?! Q9 y' M$ N
  1194. ;mysqlnd.log_mask = 0
    0 N( O' F! n' Y

  1195. : h7 G$ e5 ~- ^2 G0 Z# X, D( M
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.: |( I+ F  D) c# R
  1197. ; http://php.net/mysqlnd.mempool_default_size& r6 g9 G* e& j1 j4 y
  1198. ;mysqlnd.mempool_default_size = 16000/ t( A8 D% G% {7 u* l

  1199. . x9 @6 p: u4 V3 d: |5 T3 d+ f
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& w# L/ \& v4 T( W. e/ ^- \1 R/ u
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    , W! W! i6 q0 b0 n( {
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    * C' D  l# j! `1 J- ]" W

  1203. 2 c# C! {) M5 U8 _, X* G1 E" y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    4 e; [. H, K& r8 D' M# B3 ~
  1205. ; bytes.+ S, l( M% W; K* ?: g' k
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ) f- Y; W7 t# N% K
  1207. ;mysqlnd.net_read_buffer_size = 327686 [+ }2 k* P+ w

  1208. 3 _4 l1 [$ |  t2 s  p
  1209. ; Timeout for network requests in seconds.
    ) g  L  I. e- U% v4 v* `( O
  1210. ; http://php.net/mysqlnd.net_read_timeout
    $ W9 Y9 _" m6 |# [1 G- o6 A5 \
  1211. ;mysqlnd.net_read_timeout = 31536000
    # B* K) ~" P0 C* t

  1212. 6 J4 N' x3 [6 W3 H& E
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 n8 {1 i% }0 V9 o
  1214. ; key., \/ n, ~9 o) S0 S% n) I
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% g( Q7 o. x" o0 A4 H. H0 `7 J
  1216. ;mysqlnd.sha256_server_public_key =
    * u& }& p- m( ^9 P% P6 n! B1 t" H( M
  1217. $ Q! M$ R+ [- L# d; P6 l
  1218. [OCI8]
    9 c9 l- c! T" p) N

  1219. 2 d' G- J9 m1 @2 N1 B% x
  1220. ; Connection: Enables privileged connections using external
    4 x& n; B' s0 h
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)* I# F! u7 S0 p9 r0 ]6 T9 s
  1222. ; http://php.net/oci8.privileged-connect. s* a+ J0 a, k* u2 O
  1223. ;oci8.privileged_connect = Off5 C# D5 a0 }8 {' D
  1224. * {* O% N, X; ^, C: a3 ~
  1225. ; Connection: The maximum number of persistent OCI8 connections per* V" ~5 }0 C0 r. G' `5 l. I
  1226. ; process. Using -1 means no limit.
    6 [6 B& j- z& w: l) @$ G
  1227. ; http://php.net/oci8.max-persistent
    ( y; s( z4 y% ?8 F8 G4 ?
  1228. ;oci8.max_persistent = -14 @5 K, P7 I  m, G) Y+ m
  1229. $ b- }% m1 d# p5 R
  1230. ; Connection: The maximum number of seconds a process is allowed to0 j. z% \. i: u" c3 {! j
  1231. ; maintain an idle persistent connection. Using -1 means idle
    % I- h8 n+ w. i7 |* e& l9 }0 ]
  1232. ; persistent connections will be maintained forever.
      g: F, T7 n2 f- A" H& p( c
  1233. ; http://php.net/oci8.persistent-timeout$ ]3 }# H- c/ Y- p9 V: Z8 P
  1234. ;oci8.persistent_timeout = -1
    % z2 P7 r& }/ p

  1235.   }. J9 K; E; q; e7 w9 i
  1236. ; Connection: The number of seconds that must pass before issuing a
    , O" h2 g. n) t' E3 J
  1237. ; ping during oci_pconnect() to check the connection validity. When
    5 j. j; o7 U) F
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    0 P+ v0 x3 b( U$ @
  1239. ; pings completely.5 h! `) y& n8 w- ^  D
  1240. ; http://php.net/oci8.ping-interval
    * Y$ G  I9 k- t8 e" {5 C
  1241. ;oci8.ping_interval = 60" s! T( h4 b/ H* ?
  1242. 5 w2 c2 i9 X+ n  \
  1243. ; Connection: Set this to a user chosen connection class to be used9 \( n  ~0 }( f- V( ?
  1244. ; for all pooled server requests with Oracle 11g Database Resident& o1 S7 E* m8 u6 V0 Y9 [# a
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to% Y, y# [4 [; U9 S. J
  1246. ; the same string for all web servers running the same application,# g* n9 d- c' [) G" a9 z" y
  1247. ; the database pool must be configured, and the connection string must
    8 C5 [3 M' ^4 ^) T
  1248. ; specify to use a pooled server.& p# r7 j+ K7 S& E  F# [, w
  1249. ;oci8.connection_class =
    + N+ H" W$ a) M; I

  1250. 7 i* r- g2 }) K1 Y5 V% x5 F  F9 E
  1251. ; High Availability: Using On lets PHP receive Fast Application( O' C* r! J( v* W' {# u" o
  1252. ; Notification (FAN) events generated when a database node fails. The5 |9 y# F+ ]* ~
  1253. ; database must also be configured to post FAN events.; v4 R2 ?" L' P6 @) r
  1254. ;oci8.events = Off: g9 ^( Z) n) C7 I6 `
  1255. 5 s  J* T: \/ k: V! i) I
  1256. ; Tuning: This option enables statement caching, and specifies how- }* }3 |( B3 M) I
  1257. ; many statements to cache. Using 0 disables statement caching.
    1 e3 N6 \, J9 `, K) p8 F
  1258. ; http://php.net/oci8.statement-cache-size9 ^0 Z" {  \3 Q0 C! r
  1259. ;oci8.statement_cache_size = 20
    ! |7 @- n  x! z9 i$ Y# m  F
  1260. : t- @* t6 I( C# N) n+ v' r0 f
  1261. ; Tuning: Enables statement prefetching and sets the default number of, H( C8 \! Q0 M7 X
  1262. ; rows that will be fetched automatically after statement execution.
    - d" `7 [' c9 Y; i" p8 O6 {
  1263. ; http://php.net/oci8.default-prefetch. j7 s5 w% z- ^" \2 E2 i# P
  1264. ;oci8.default_prefetch = 100
    - _' G& f* x& A, {: X  a3 \6 g

  1265. , q: E3 q- [- Y  h8 m' y
  1266. ; Compatibility. Using On means oci_close() will not close
    , z) e1 O3 v% Y* G% m
  1267. ; oci_connect() and oci_new_connect() connections.+ k& {( K! \" g; ]
  1268. ; http://php.net/oci8.old-oci-close-semantics- E/ Z- Q1 u& u
  1269. ;oci8.old_oci_close_semantics = Off
      C  S9 O: n. ]3 b) w3 Z) W9 `
  1270. 9 M8 v- k; {7 s! t' p3 `" c
  1271. [PostgreSQL]
    0 g2 ~7 ~! ]6 O, \1 f
  1272. ; Allow or prevent persistent links.
    0 k2 b9 i8 v$ O; V: ^
  1273. ; http://php.net/pgsql.allow-persistent
    5 B; r. j2 L0 P
  1274. pgsql.allow_persistent = On
    ! e9 [1 }1 |4 t2 s9 ~

  1275. % k# L! B, W. Q
  1276. ; Detect broken persistent links always with pg_pconnect()., Z# b* @$ r4 w
  1277. ; Auto reset feature requires a little overheads.
    $ h9 T( I" L: |6 J- A2 J) P! w
  1278. ; http://php.net/pgsql.auto-reset-persistent
    : |' S% V: i- g1 M
  1279. pgsql.auto_reset_persistent = Off
    " B( V3 k7 y3 m2 M9 r

  1280. " \( a, e- A! H
  1281. ; Maximum number of persistent links.  -1 means no limit.. x" n6 U4 }. U6 @0 U
  1282. ; http://php.net/pgsql.max-persistent( B0 h: W1 A% G1 _  c* b' @0 I
  1283. pgsql.max_persistent = -10 u5 s+ W, S0 @+ l$ |! l
  1284. ; ]5 `! \: l# y. q$ A* ~- C
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- ]( L" ~; ]1 i+ ?1 o. s8 w
  1286. ; http://php.net/pgsql.max-links
    - C5 B# T( ]* s6 H- u& i' [& n
  1287. pgsql.max_links = -1# j! A/ X- I8 Z3 }5 T" A
  1288. * N8 f9 F; \+ C) w$ w- X
  1289. ; Ignore PostgreSQL backends Notice message or not.. ], _4 c1 \, x$ ?1 c1 \
  1290. ; Notice message logging require a little overheads.% Y2 r# ]; f$ i# z& @# s5 m
  1291. ; http://php.net/pgsql.ignore-notice
    % B5 N8 r6 ?& Q  t4 v! x9 n0 H
  1292. pgsql.ignore_notice = 0
      P0 q/ E9 b6 U- \. o9 @( I8 r

  1293. # y" \, Z4 p5 ]8 d
  1294. ; Log PostgreSQL backends Notice message or not.
    . V1 l0 g" E' v5 U5 _8 i
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* J) \$ k8 W) n. Z1 q9 D% W
  1296. ; http://php.net/pgsql.log-notice; o) q# n3 d- M/ y% P# T
  1297. pgsql.log_notice = 0" S  ^( ^) T7 b

  1298.   `" B( ^0 U( V/ F
  1299. [bcmath]1 |) A) ~5 O$ q8 s4 \2 B1 X1 w
  1300. ; Number of decimal digits for all bcmath functions.
    0 g% ^) b) F+ i1 q
  1301. ; http://php.net/bcmath.scale5 H; ^- j3 M2 X4 S
  1302. bcmath.scale = 0; ~( g* n  b7 B# C+ S# H
  1303. + ^0 |0 b5 n! Y6 ]7 U: r: X
  1304. [browscap]- n( b0 m" v4 N' R! X8 g
  1305. ; http://php.net/browscap
    ) d. Z' J$ Y  Q* A5 m( c& g
  1306. ;browscap = extra/browscap.ini
    2 b) q0 m1 Q3 e
  1307. 6 C/ M0 o/ X# v6 _
  1308. [Session]
    + C8 Y  U1 M8 s+ z
  1309. ; Handler used to store/retrieve data.
    7 I7 I5 |5 I- M# h2 W6 ^7 f" q
  1310. ; http://php.net/session.save-handler3 E1 h% r5 E9 N; w8 @
  1311. session.save_handler = files
    " S* k# i9 L) B/ p
  1312. 2 D  t& \/ _/ Z6 C9 u1 P9 ]
  1313. ; Argument passed to save_handler.  In the case of files, this is the path4 X5 K4 V: w# h- a( U" |$ H
  1314. ; where data files are stored. Note: Windows users have to change this
    9 F4 B: I4 o& F$ ]3 M# v, R
  1315. ; variable in order to use PHP's session functions.- _1 E; t0 w1 d. j  a& v
  1316. ;
    : r/ ^4 p- |8 f  d- |
  1317. ; The path can be defined as:
    ! f; @4 ?3 @0 ^! P& s/ V
  1318. ;3 n+ F1 x3 h  e5 V0 o
  1319. ;     session.save_path = "N;/path"
    ) ~! o! ^9 Q9 E0 q% ?
  1320. ;- h/ H, S) K4 m6 w1 e5 U
  1321. ; where N is an integer.  Instead of storing all the session files in+ S9 E7 e5 X  i9 ?
  1322. ; /path, what this will do is use subdirectories N-levels deep, and8 u0 Q+ }% Q6 c1 U# J2 E
  1323. ; store the session data in those directories.  This is useful if$ D# n# q8 E* I" Q. [$ e; ~
  1324. ; your OS has problems with many files in one directory, and is; S3 `% \1 u) L- W/ `" ^' Q
  1325. ; a more efficient layout for servers that handle many sessions., U  [) @( M1 u, u. k  V  Y9 r& ]
  1326. ;
    & R' l1 R" i/ j: \7 Q- R9 k
  1327. ; NOTE 1: PHP will not create this directory structure automatically.# P4 m. C% \+ o- P& @( H
  1328. ;         You can use the script in the ext/session dir for that purpose.; E8 }; v0 y3 X
  1329. ; NOTE 2: See the section on garbage collection below if you choose to4 m& R1 ]: `4 J0 {* ?
  1330. ;         use subdirectories for session storage
    ! i  a+ i( L( k9 |. a; {* ?' x
  1331. ;
    , h5 t; |' T" Q- y" @9 r
  1332. ; The file storage module creates files using mode 600 by default.. Q' {6 A1 e' T
  1333. ; You can change that by using
    * ~; a# a: L2 q6 E& t
  1334. ;8 U! e& o# _1 R% i2 V% E( r
  1335. ;     session.save_path = "N;MODE;/path"
    ; x0 a" C$ @( {
  1336. ;
    ! o: t) {" Z$ x% [
  1337. ; where MODE is the octal representation of the mode. Note that this
    # l' p: Y2 X4 o7 P; ^* ~
  1338. ; does not overwrite the process's umask.
    $ `) u% g# |2 ~
  1339. ; http://php.net/session.save-path
    " N+ P- R3 V4 W- [6 E9 U. i" @
  1340. ;session.save_path = "/tmp"
    + r. k3 j& P& y: t! `* p7 r
  1341. ! ?% b- P& D; k' P: ]
  1342. ; Whether to use strict session mode.
    / M  ~! w5 U# C5 T+ ]- G
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    & f0 p: [! Y2 O
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects' h. J4 g6 G3 v0 t: s
  1345. ; applications from session fixation via session adoption vulnerability. It is
    6 _  {, U( I$ Q+ [- Y: D5 v6 X
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.! D9 u% v0 s) f. d
  1347. ; https://wiki.php.net/rfc/strict_sessions
    4 y8 I8 A! |0 `  S
  1348. session.use_strict_mode = 0
      \; R( X# `9 N

  1349. + U. Z7 P- T1 o
  1350. ; Whether to use cookies.
    3 b$ y6 q- |9 w. i
  1351. ; http://php.net/session.use-cookies' O/ H6 O! a& S, h" b( L, q
  1352. session.use_cookies = 1
    . E  W( W! s  X3 T

  1353. : v2 e& G4 c( {: ?  W5 @1 h) G
  1354. ; http://php.net/session.cookie-secure) V& ^0 u/ n! N1 R" T( z
  1355. ;session.cookie_secure =: |( p' I0 F7 `1 n4 E8 ~: P
  1356. / ]0 F* C8 H+ ]0 G( @
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining0 R/ ~4 w3 Q% r8 c! g6 B
  1358. ; the session id. We encourage this operation as it's very helpful in combating6 f% n0 L+ ?; o  H
  1359. ; session hijacking when not specifying and managing your own session id. It is& d3 a9 a# d6 C! S
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    9 d' o8 n+ ?9 i4 i
  1361. ; http://php.net/session.use-only-cookies3 Z1 X: Q2 Q7 d. w  x
  1362. session.use_only_cookies = 1# r* ]1 s5 j1 f7 j/ U- R0 k
  1363. 7 ?1 O  t/ |, {; {9 h0 I
  1364. ; Name of the session (used as cookie name).
    - Q/ a. E8 ~+ H* p
  1365. ; http://php.net/session.name
    " g7 z/ ]! f9 B9 i" f" ]% E
  1366. session.name = PHPSESSID5 L9 u4 H6 }7 o5 v* q2 q9 z) @

  1367. 8 `- O; f0 _7 Z, X1 K
  1368. ; Initialize session on request startup.: `+ S3 q5 R0 s9 G& |
  1369. ; http://php.net/session.auto-start0 b8 l1 R: s  U4 I2 x
  1370. session.auto_start = 0! l. k  ~% |+ v* l2 O( x8 ~
  1371. + G: C3 g( m! L9 q; u$ \3 H" t* e
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    , z9 @0 L2 {# ~( B5 d
  1373. ; http://php.net/session.cookie-lifetime
    8 L" g3 a/ f# q8 @/ C
  1374. session.cookie_lifetime = 0
    8 E; s& s, Q1 T+ @
  1375. % g1 X. H1 U5 i4 Y3 a# T
  1376. ; The path for which the cookie is valid.
    ! C- n6 s! V# M* _, N$ G+ ^# s
  1377. ; http://php.net/session.cookie-path& _" m) V, T2 n" E7 y# f. B
  1378. session.cookie_path = /
    # c& O- M% G* ~0 z
  1379. ! s! `. v" J5 x/ Y
  1380. ; The domain for which the cookie is valid.% u: b: Y) V$ d
  1381. ; http://php.net/session.cookie-domain; x- `8 b& y) X! p$ }9 n/ Y8 B* {
  1382. session.cookie_domain =
    7 n. u$ d" R  b1 f% @

  1383. - A: I! s# }+ O! D9 a
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.2 ~3 `6 L5 b1 ?" J
  1385. ; http://php.net/session.cookie-httponly
    # [  m! u& S' B/ \, H. e% X7 U2 x
  1386. session.cookie_httponly =& l  R- f1 S+ l! a8 Q

  1387. * j6 a7 ^& P$ w
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.; q: N2 v% A4 N$ Y' J
  1389. ; http://php.net/session.serialize-handler
    , F' U2 }1 Z$ o
  1390. session.serialize_handler = php$ o9 R, p) F4 j
  1391. 8 p7 E$ ]" D9 l/ H* Z
  1392. ; Defines the probability that the 'garbage collection' process is started
    / _2 @+ F( x7 m) ]
  1393. ; on every session initialization. The probability is calculated by using
    4 `  X* a2 c/ }  S! M0 j
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator/ Y4 Z0 x2 L' ~$ S
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    6 v: n" `* c: A" U
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & H# C/ |/ u, P& n
  1397. ; the gc will run on any give request.) u% P5 `$ k0 [& `) J
  1398. ; Default Value: 1; u5 S# Q  e3 i8 N! F3 j
  1399. ; Development Value: 1# X6 b  u2 @* S$ T$ L7 V, @
  1400. ; Production Value: 1
    " G3 Z/ x5 Y( c- D( H# d7 a$ N4 \
  1401. ; http://php.net/session.gc-probability" u! O. p0 Y6 [" [  M' g
  1402. session.gc_probability = 1$ X* y! G7 @$ |) l6 P; w2 z5 F* ~

  1403. : W9 t& ]( v) z+ v) Y
  1404. ; Defines the probability that the 'garbage collection' process is started on every, X& B9 n- s2 u
  1405. ; session initialization. The probability is calculated by using the following equation:5 p( [0 g: ~2 t+ c4 r, G
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 A7 s5 L( p- T9 }% l% e: M! n
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    2 S: b! R! ^- b# L
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 v( N# ]+ M5 z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # s: c, L9 Z; O2 ?' K2 q. U9 L
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( Q% c: a8 c, D. l. r! y6 S
  1411. ; this is a more efficient approach.
    ' `( ?/ M8 x# E4 D- m2 y" c5 Q) O
  1412. ; Default Value: 100* L' p1 j0 l, j2 _0 L- f3 X) @/ Y+ S
  1413. ; Development Value: 1000
    " U5 \* ~4 X: ]0 c! _
  1414. ; Production Value: 1000
    4 s/ X5 O+ |6 i8 c
  1415. ; http://php.net/session.gc-divisor) p" d; |) d0 q) W; K$ ^' y6 n
  1416. session.gc_divisor = 1000/ ]( |4 e4 ?3 s- \; F3 H6 z9 Z
  1417.   r+ {8 b2 F6 T
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and" l4 v0 c; ?2 w( z. w4 s
  1419. ; cleaned up by the garbage collection process.
    + ^/ m7 v: a2 E0 C9 f
  1420. ; http://php.net/session.gc-maxlifetime
    1 @) f6 V& c8 p1 x8 O' A' X8 u
  1421. session.gc_maxlifetime = 14405 a+ i" H7 k* D) e4 t1 K; @4 `) c
  1422. % Y) r8 F) M5 I- G* C
  1423. ; NOTE: If you are using the subdirectory option for storing session files
      K7 A2 @" Q0 d' N; P/ C! y+ T/ ?
  1424. ;       (see session.save_path above), then garbage collection does *not*! _- t' h* r4 e0 z; h
  1425. ;       happen automatically.  You will need to do your own garbage# d: v: e4 |/ ~; U( H! N( b& J
  1426. ;       collection through a shell script, cron entry, or some other method.
    * r- U+ Z2 k) X: c; E7 S- b, Z; n
  1427. ;       For example, the following script would is the equivalent of. r) B  Y" U7 k# K/ V& C& N
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    * s, A! ^7 i* _* t; U
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm, v+ u0 N8 F. D9 N7 \7 W6 X/ g

  1430. 6 \; z' u2 C3 ?
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; p8 W: V3 r  O& m9 `7 v& W
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    3 D- V3 C) _% ]  V  M4 v
  1433. ; considered as valid.
    $ T* F& ], Z4 z: M
  1434. ; http://php.net/session.referer-check3 O) i) B+ f0 u6 u
  1435. session.referer_check =* H1 y! [9 o5 R, C% ^
  1436. 1 S4 R5 H, R( f3 E7 @" V
  1437. ; How many bytes to read from the file.6 z2 b  E( ^' U& P6 A
  1438. ; http://php.net/session.entropy-length5 _7 S) e" ]( a/ B( s1 T  m+ B$ Y% s
  1439. ;session.entropy_length = 32
    . ]0 A" q& r' a: y: b2 P* g
  1440. 1 D9 D+ N+ c) `' b& G8 G( u9 D  }
  1441. ; Specified here to create the session id.8 E8 z6 N$ i! @# j- R2 q+ Q& m
  1442. ; http://php.net/session.entropy-file0 }- i% Z3 P: \7 S! C0 L6 L8 x( e
  1443. ; Defaults to /dev/urandom
    ) r! \6 M% A( v
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 n" H* g0 D- X2 P/ J
  1445. ; If neither are found at compile time, the default is no entropy file.
    ' Q5 S' U0 e+ A( o  E
  1446. ; On windows, setting the entropy_length setting will activate the
    5 g6 j) l/ ]; a7 D3 N  ~" k3 v3 `
  1447. ; Windows random source (using the CryptoAPI)) M  g" K# T7 ^. z) {
  1448. ;session.entropy_file = /dev/urandom
    0 O, O# g% A! ?6 z
  1449. 8 x% B! @+ c% N5 q6 o9 ]
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 m$ L( t: }0 T+ j7 T4 U7 y" Z
  1451. ; or leave this empty to avoid sending anti-caching headers.6 H! F) l) X& r7 Q$ @2 v
  1452. ; http://php.net/session.cache-limiter6 K* j6 Y+ b0 u+ E
  1453. session.cache_limiter = nocache
    + f. l( s# G9 Q$ m1 Q1 c* t$ \; ^7 y

  1454. & L, j- @. B0 i8 b2 ]5 y; j' c
  1455. ; Document expires after n minutes.! D/ R# U% i- B
  1456. ; http://php.net/session.cache-expire
    ( r& Q( q# a! m4 G
  1457. session.cache_expire = 180
    6 e! @2 M0 F, Z
  1458. . U0 C" m) u7 e) ?) c2 o9 V1 l
  1459. ; trans sid support is disabled by default.4 Q6 \! f* W8 V7 M7 g
  1460. ; Use of trans sid may risk your users' security.6 ^3 R% J  r! K! O  d
  1461. ; Use this option with caution.
    2 a1 w* ]7 e+ v2 t# G8 d; M
  1462. ; - User may send URL contains active session ID
    ( q$ D( C0 C8 F+ ^4 N" {6 G
  1463. ;   to other person via. email/irc/etc.7 j$ A1 E. f4 T7 w8 E: c, ?& m+ k
  1464. ; - URL that contains active session ID may be stored& r6 _# W; l) ]/ m2 ]
  1465. ;   in publicly accessible computer.+ Q% e* ~" |8 P6 a' X. v& p  H
  1466. ; - User may access your site with the same session ID
    6 u; B& [$ F0 E9 w! z2 D2 L! v
  1467. ;   always using URL stored in browser's history or bookmarks.6 }) C" [% i  E
  1468. ; http://php.net/session.use-trans-sid
    6 D8 @& y0 W3 M4 h& N; Q
  1469. session.use_trans_sid = 0! p# e" f0 H0 m1 o; V8 U& `

  1470. 5 h2 Z/ ^* i8 b/ O
  1471. ; Select a hash function for use in generating session ids., J& U- m+ A* g% ^
  1472. ; Possible Values4 t6 Q5 x, X! f1 r$ c
  1473. ;   0  (MD5 128 bits)
    6 f" v+ @9 v8 n( B- K8 c
  1474. ;   1  (SHA-1 160 bits)
    0 x/ f! H0 ]1 G) a3 F( S; J  k
  1475. ; This option may also be set to the name of any hash function supported by1 ~: x( x& C* U5 i& G$ v
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()1 {; W5 C6 y+ \. O5 }) j
  1477. ; function.
    ( D( d% @* n3 l! ?9 s6 m( H
  1478. ; http://php.net/session.hash-function
    4 ]" i9 u2 M7 G8 ]
  1479. session.hash_function = 0. U, k& s1 ~) {$ J- J% F

  1480. # ]9 t8 |, k/ g" U
  1481. ; Define how many bits are stored in each character when converting
    7 o* M7 B% ]0 m5 Z. Q" a/ L0 B; }
  1482. ; the binary hash data to something readable.
    5 O& c! n9 m6 a- u1 |
  1483. ; Possible values:  {% t0 T) g- X. t* _" C" l5 k
  1484. ;   4  (4 bits: 0-9, a-f)
    ; R7 `, R6 |$ ^+ s& t) N
  1485. ;   5  (5 bits: 0-9, a-v)
    4 B! F! T+ P$ M+ x
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")2 `, F; }) H* a7 U
  1487. ; Default Value: 4
    & \2 g$ ?' M7 L# J) V
  1488. ; Development Value: 51 m) U7 R/ _2 L6 p% Y2 b
  1489. ; Production Value: 5) |2 A( W* y+ @* f
  1490. ; http://php.net/session.hash-bits-per-character
    1 e0 @+ M4 ~% M3 Q5 Q
  1491. session.hash_bits_per_character = 5
    6 f2 r- m6 [4 p1 m! }  b# b$ c; x

  1492. 4 \0 N# O) @1 `. E. C
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 w$ C! I) N9 t* ^& x$ S
  1494. ; form/fieldset are special; if you include them here, the rewriter will. ~# S/ I7 h. R- j& k6 d/ P  ~
  1495. ; add a hidden <input> field with the info which is otherwise appended
    0 c8 i6 x+ m& |: }
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    9 _% K1 E5 r7 F/ W! [# d1 p
  1497. ; Note that all valid entries require a "=", even if no value follows.) C8 u' x9 a; M) j
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="# {( J* p1 {% |- z) l& y; @
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) F9 j3 X  Z5 P* w( s
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") j* W6 d* \0 t& D3 P
  1501. ; http://php.net/url-rewriter.tags: p$ W& P+ w- u8 Z
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"" D% a" {- K1 j% |8 l& c' v
  1503. ; e! i8 W' W6 b* P
  1504. ; Enable upload progress tracking in $_SESSION
    % y+ A- x4 B, |
  1505. ; Default Value: On6 R0 o/ z+ P$ f* A; W
  1506. ; Development Value: On* O  n+ H6 R4 A/ E+ K" V8 f( ?
  1507. ; Production Value: On! B% C, b% K- y) t) e9 I
  1508. ; http://php.net/session.upload-progress.enabled
    ' F0 R' x! l& y! R
  1509. ;session.upload_progress.enabled = On5 F2 m# N2 b* m$ i& _6 j

  1510. / i& W4 ^) W1 V8 {; D8 J- D$ I
  1511. ; Cleanup the progress information as soon as all POST data has been read/ Q5 K9 F$ M5 V0 G+ q0 P
  1512. ; (i.e. upload completed).
    0 H) ^: f: W6 e( h. H2 t
  1513. ; Default Value: On0 |8 N) r4 R& o/ Y4 _$ {2 U
  1514. ; Development Value: On
    % v* g! e: @, k' X2 I; h$ r
  1515. ; Production Value: On4 `& Y  z6 u5 S; }
  1516. ; http://php.net/session.upload-progress.cleanup. D2 b/ p) A9 v# B/ |3 ]
  1517. ;session.upload_progress.cleanup = On
      V5 v; x8 }- j) _) d  T0 z
  1518. $ F  W0 _$ q6 r& w( M
  1519. ; A prefix used for the upload progress key in $_SESSION
    , g9 i2 x5 U; X( `
  1520. ; Default Value: "upload_progress_"9 J$ e2 `- v, Z
  1521. ; Development Value: "upload_progress_"
    ; k" m& Y: d/ ~& }
  1522. ; Production Value: "upload_progress_"
    + s: N1 b* p1 g& c1 T
  1523. ; http://php.net/session.upload-progress.prefix
    . [7 Q) {1 y; T% q) o/ ?/ `- S
  1524. ;session.upload_progress.prefix = "upload_progress_"- y/ \" ?5 s6 `9 w0 N) @

  1525. . c: R/ ?! {# B" x6 r
  1526. ; The index name (concatenated with the prefix) in $_SESSION7 w' |/ i! y( {! g$ z
  1527. ; containing the upload progress information
    + }: n) ~  F6 r. V
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"0 H1 V; h( R; e5 u; U
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"8 Z9 z7 `4 ?( r" W. P
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' s$ b* W) v) q% x
  1531. ; http://php.net/session.upload-progress.name  M! }2 Y8 v8 g; B
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"! S) E5 t5 k( o/ x0 h8 y

  1533. " C' R! w0 B* K9 }# r
  1534. ; How frequently the upload progress should be updated.
    6 n8 s" ^& }- x" i9 Y
  1535. ; Given either in percentages (per-file), or in bytes
    & o, }8 {) k8 x; o" X  v
  1536. ; Default Value: "1%"
    ( h- h' z/ L* f3 v1 k$ ^
  1537. ; Development Value: "1%". t9 f& w* C' O: I2 u
  1538. ; Production Value: "1%"* q6 Q& N  X; S+ w  A. p
  1539. ; http://php.net/session.upload-progress.freq! u3 x  K6 s: p2 F6 a
  1540. ;session.upload_progress.freq =  "1%"
    6 s9 M0 o2 b  e
  1541. & R. d, A3 i3 J6 R
  1542. ; The minimum delay between updates, in seconds" g6 }$ R) |0 g& c- E
  1543. ; Default Value: 1$ l( t2 d$ I4 r, b# c
  1544. ; Development Value: 11 Z$ B8 r# B* M- G7 a. e
  1545. ; Production Value: 14 \9 D6 n8 e8 L+ s1 F5 `
  1546. ; http://php.net/session.upload-progress.min-freq
    4 J3 q  T, f0 k0 B' q) c+ K
  1547. ;session.upload_progress.min_freq = "1"
    ) d& a1 ^+ J$ C6 k6 E

  1548. 5 }% Y: P1 |' u3 s3 W* c$ o. ^
  1549. ; Only write session data when session data is changed. Enabled by default.
    , c/ Z8 Y) x9 }7 v+ I
  1550. ; http://php.net/session.lazy-write. R% o" B# F% }/ y
  1551. ;session.lazy_write = On
    0 p  _/ M* T5 }& g5 s4 J; [
  1552. ; l' ?; E1 j' L7 Z# Q* F
  1553. [Assertion]' y/ p" Z1 o( [5 z3 i. g
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)9 z/ e4 X$ T5 @0 u$ q2 M/ F2 k  J
  1555. ; -1: Do not compile at all9 e# h) O2 e) ^+ I9 M
  1556. ;  0: Jump over assertion at run-time
    # h" ~  ?+ e' Z
  1557. ;  1: Execute assertions
    " b1 h3 ~1 ?% i
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    9 N) |. W* z; u5 K; |
  1559. ; Default Value: 1
    8 G% m' k4 }5 D2 s! U( ]( X
  1560. ; Development Value: 1; t+ M3 ?+ N2 I
  1561. ; Production Value: -1
    ) u) E$ z2 o, _4 f9 Y" ~5 w# j
  1562. ; http://php.net/zend.assertions: y  _; g5 x4 y8 h3 Q0 ^3 ~
  1563. zend.assertions = -1- h) q2 V9 P# ~
  1564. . ~& K) X2 f5 p- a' s, J: I0 F
  1565. ; Assert(expr); active by default.0 [4 g2 u2 y/ x9 n9 A
  1566. ; http://php.net/assert.active4 s; j  m" m6 A0 T8 r- j
  1567. ;assert.active = On! Y, C% G! p0 ?# u, x- U

  1568. ; a+ c7 `2 d% u# N1 H: v
  1569. ; Throw an AssertationException on failed assertions
    " n' J5 i. w1 P# x
  1570. ; http://php.net/assert.exception. `( k" c, G+ N; o4 J& h- p
  1571. ;assert.exception = On! d- [- j1 B9 u1 n

  1572. $ |; ]  W: A' P; W  ~3 L: V
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ' z# Z  P2 T3 X; b3 D
  1574. ; http://php.net/assert.warning
    7 @6 f' E- i8 T2 m& B; O1 D
  1575. ;assert.warning = On
    , X0 l1 h: M, n0 E) h+ l6 K* i

  1576. / G6 r" ~3 q! r2 x
  1577. ; Don't bail out by default.+ `7 C, W3 ?/ I0 N$ [% K& v, z
  1578. ; http://php.net/assert.bail
    % _/ }0 t  S# i* f: {- Q+ z
  1579. ;assert.bail = Off# Y: `* v, N5 l1 M; i7 v

  1580. % [% m6 b% ~% c* H& |. ]
  1581. ; User-function to be called if an assertion fails.
    7 @) d9 v% a$ L' x$ M; l
  1582. ; http://php.net/assert.callback( x& A: k) G" a- ^% g) a  F8 w
  1583. ;assert.callback = 0
    0 K; g" w6 L( P7 w1 Z" B4 Z( w# ~

  1584. 7 w/ j- u9 _" D8 u
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    " c1 b! s8 k; p8 }$ n+ }
  1586. ; error_reporting(0) around the eval().
    ' Z3 ^. c' m9 y: A
  1587. ; http://php.net/assert.quiet-eval
    ; a# f8 f# H% w% r9 [0 f8 Z- `
  1588. ;assert.quiet_eval = 05 D) i! }  y& ?

  1589. . t* }0 y. S3 y- z/ b# A, ~
  1590. [COM]5 j2 g$ Y. A% n8 H, e: r& _
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs0 v+ m% w* m4 n# V% s0 |0 E
  1592. ; http://php.net/com.typelib-file
    % F- G- d5 v" m3 P. Y8 N
  1593. ;com.typelib_file =
    0 ^+ }, J4 U: o# ~

  1594. $ ~% h8 h! h. Y, P3 j! u3 i
  1595. ; allow Distributed-COM calls
    - l0 v+ l7 R# b3 C. k
  1596. ; http://php.net/com.allow-dcom
    . z: g* y" q" v) {- F
  1597. ;com.allow_dcom = true
    3 r( H/ X0 ~/ A
  1598. 4 j" v( ~9 N0 F$ h4 `( s
  1599. ; autoregister constants of a components typlib on com_load(), S+ L/ P9 e- x% q
  1600. ; http://php.net/com.autoregister-typelib' W5 b3 d6 |" \6 [
  1601. ;com.autoregister_typelib = true# k- o4 l+ `( y6 I3 O% v9 H& |

  1602. 5 O! z3 H9 P) G: @5 v  u
  1603. ; register constants casesensitive
    : h+ u1 [6 h- J/ h- O9 J
  1604. ; http://php.net/com.autoregister-casesensitive
    $ X+ g& v) b% d- E+ D+ p/ m% _+ ]
  1605. ;com.autoregister_casesensitive = false
    - k/ t. N. v. I0 A  V% J: j6 h  D1 i9 R
  1606. ( Q' J  i! R; b3 h( p0 Q- \2 A/ ?
  1607. ; show warnings on duplicate constant registrations5 k: I% a- x1 ?! I8 v3 Y
  1608. ; http://php.net/com.autoregister-verbose, N$ p5 _/ e5 _* t# F! ~1 e6 d
  1609. ;com.autoregister_verbose = true6 S6 A7 t/ X8 i0 @. v

  1610. % o' V, p( l7 ]  {6 D) O5 o- v% W
  1611. ; The default character set code-page to use when passing strings to and from COM objects.( g- G4 [! y% ^; F! ^
  1612. ; Default: system ANSI code page% o% g( u; y% ~  }
  1613. ;com.code_page=% p8 j" f# ^9 S8 E
  1614. 6 d0 F- C5 g8 B, n' O' E! X: Y  G  {% L
  1615. [mbstring]
    + |5 I& \5 L3 b  t3 D
  1616. ; language for internal character representation.0 q) i. b0 F2 F9 N0 ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ! [' n4 a/ v( [# O2 t( p" A, T: ~3 c
  1618. ; http://php.net/mbstring.language
    / _2 K% w- a" f& x. t# ]' Z/ J4 V. R
  1619. ;mbstring.language = Japanese
    0 G1 a1 ?9 E; N5 ?8 H

  1620. 0 C" A5 d) b8 s' T- ^
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 T7 o( c. U. H% A' H
  1622. ; internal/script encoding.
    2 [1 K# x" O* g: ?: {
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    + G0 W- M0 a$ W
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( x4 N% B) z6 y6 u9 t2 @  l7 ]1 F
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding4 F; g" S4 l/ |) X' m5 ]* @! j
  1626. ;mbstring.internal_encoding =$ L4 M5 D: f  @3 X' [* D4 \3 A5 o  P
  1627. / {  Q8 V& {# Q  z: Y0 b
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.7 h1 b2 _( O# t8 _1 b! `) n. I
  1629. ; http input encoding.- R4 \# I* J7 j, c+ s, w2 v
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.4 G0 [/ c+ {6 [1 H( Z
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    5 j, v8 u) b9 D5 _# g+ p
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input8 X1 K0 z5 ]- [5 `5 p% o3 G
  1633. ; http://php.net/mbstring.http-input1 S# V$ J0 y6 j9 n8 Y; q
  1634. ;mbstring.http_input =
    7 i& x3 @) W6 v  z! x2 B
  1635. ; H' |0 m! y3 H0 R, q* ^6 n
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . _- |) H9 V7 |+ S
  1637. ; http output encoding.
    / w  t. ~3 G1 e8 c, q  }
  1638. ; mb_output_handler must be registered as output buffer to function.! d3 S" n( t8 ~2 [
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & F7 G! ^0 [8 n9 L5 G
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    $ Q+ d: H! ^, j% T" a8 q" A6 I
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    3 a: C3 z" w) I9 u
  1642. ; otherwise output encoding conversion cannot be performed.9 \- }: ^: F# o
  1643. ; http://php.net/mbstring.http-output
    , k5 M( ^( R& g% o
  1644. ;mbstring.http_output =
    " n2 s. c' U( w! K

  1645. 4 c) G3 o6 x# Z& c  |
  1646. ; enable automatic encoding translation according to
    4 l' @1 i( S, T8 w3 {
  1647. ; mbstring.internal_encoding setting. Input chars are5 m3 `7 a" J5 E" A( A
  1648. ; converted to internal encoding by setting this to On.
    8 c- v. a- G/ w+ N
  1649. ; Note: Do _not_ use automatic encoding translation for
    : c5 Y* j; m" s. ^4 r3 r
  1650. ;       portable libs/applications.( m5 C5 R; \1 k: l* h
  1651. ; http://php.net/mbstring.encoding-translation0 ?4 d& o0 M- l
  1652. ;mbstring.encoding_translation = Off' D  W) z. S3 `. C: `$ T# F% M

  1653. 0 s9 I. T" w7 i, g/ k; f
  1654. ; automatic encoding detection order.) d1 S$ y# ]3 K0 c
  1655. ; "auto" detect order is changed according to mbstring.language* L1 L' x+ m2 ?# G
  1656. ; http://php.net/mbstring.detect-order
    ! X' X" @$ x& s2 I% `  ]. G) X% H% m
  1657. ;mbstring.detect_order = auto. d$ u& ^6 z, T- X4 [4 ~

  1658. . \6 Z5 x! B4 f! w8 ]/ [
  1659. ; substitute_character used when character cannot be converted" A" b0 Z& N: Y; B" z# b" e
  1660. ; one from another2 u* I: N; u8 u, H) z6 ^4 ~
  1661. ; http://php.net/mbstring.substitute-character5 I. e) {. V; v; b% U8 k$ @2 k
  1662. ;mbstring.substitute_character = none
      O. e: A9 e4 [

  1663. " ]/ L( a* \. z  _& b
  1664. ; overload(replace) single byte functions by mbstring functions.
    ' R/ u  i( x5 L$ v: {0 \: b- s
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    # M" S" ]' q) @( K7 c+ b
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.2 N, W4 c: v0 N, h
  1667. ; For example, 7 for overload everything.. i% B( g! g1 Q' j/ e. H  G1 M
  1668. ; 0: No overload& ?! m+ h- F; z; t, M5 e5 G' [
  1669. ; 1: Overload mail() function9 E- i6 [1 b+ V) Z
  1670. ; 2: Overload str*() functions
    7 ]* ^2 G0 e" @3 e  k9 Y
  1671. ; 4: Overload ereg*() functions
    + e( I# p% K9 N! C# [$ G9 s: W0 [9 S
  1672. ; http://php.net/mbstring.func-overload/ T, f1 P* H$ J* K$ a
  1673. ;mbstring.func_overload = 0& ~3 F  O2 C% b+ j& [) f3 U
  1674. 6 E6 L% L5 E3 c* O; X6 k9 t- m
  1675. ; enable strict encoding detection.9 ?0 R. }- H7 @7 Z  K# G
  1676. ; Default: Off
    4 o" m+ B1 s6 k" z) k; m$ w$ ~
  1677. ;mbstring.strict_detection = On
    5 H* |6 k& e) [

  1678. 8 K5 d( p! _/ h, y" y
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()( }: z0 J( h3 T, I/ r( U. A6 N
  1680. ; is activated.
    7 `" d; f' y9 l
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * ?  c" p* i+ J, W  A/ j
  1682. ;mbstring.http_output_conv_mimetype=5 h# S5 K9 z7 e
  1683. , \( l' l$ X  c8 y3 X% q$ Y
  1684. [gd]/ ]* l7 m$ g' X( W( y. Q
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    / T2 ]7 L$ e! j
  1686. ; a gd image. The warning will then be displayed as notices
    $ E: U& k3 z& ]! n8 w
  1687. ; disabled by default1 l1 ]  [2 c+ F- ~+ J5 l6 l
  1688. ; http://php.net/gd.jpeg-ignore-warning
    # O0 H9 j. a* C: f
  1689. ;gd.jpeg_ignore_warning = 0+ H- a/ K, i! D8 n/ l" C

  1690. ( L% W% W* t1 @* I3 r: G6 ]
  1691. [exif]
    0 q' G+ n3 ^2 r
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! L9 v# B! U4 Y* @
  1693. ; With mbstring support this will automatically be converted into the encoding8 |: e7 s- y+ z$ h" ^0 K
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    0 ~& f$ u% M: G: k6 ^) @0 m: y, L
  1695. ; is used. For the decode settings you can distinguish between motorola and3 O) M  _* a- [* ?( Z6 _
  1696. ; intel byte order. A decode setting cannot be empty.0 D4 I8 P7 d9 }" ~2 `2 e
  1697. ; http://php.net/exif.encode-unicode; o4 U- C7 C$ |. S
  1698. ;exif.encode_unicode = ISO-8859-15* D- t) G8 `1 @1 i& x) p$ Z7 i

  1699. - x9 l/ ^/ }, N( [1 E
  1700. ; http://php.net/exif.decode-unicode-motorola& B5 y: A: N" N7 W+ n0 A
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    & z4 J6 y5 B! m  r) ?

  1702. $ B: b1 S6 n+ r  ^% L
  1703. ; http://php.net/exif.decode-unicode-intel! u' k; L1 T, J! D) C
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    2 I0 E; v2 }7 t' ]+ Y8 w1 j
  1705. 2 T& l2 G. G! H- P, w
  1706. ; http://php.net/exif.encode-jis3 t/ L: z/ Y* n) A! O: s
  1707. ;exif.encode_jis =- [, Y# b. I. O0 {

  1708. ) n1 \( c* G2 B% j, x  y3 v; k
  1709. ; http://php.net/exif.decode-jis-motorola
    : Z/ y+ {% H1 a
  1710. ;exif.decode_jis_motorola = JIS' t- x* v3 x" F. h
  1711. ( w! d( N) }1 y9 R& d
  1712. ; http://php.net/exif.decode-jis-intel
    9 R. I4 G# m0 Z
  1713. ;exif.decode_jis_intel    = JIS3 l/ b7 u1 o" F! o, h

  1714. ! y% F* @& j* Y% R7 B
  1715. [Tidy]+ G# t! [9 b/ I9 N0 @7 ~' ?+ O
  1716. ; The path to a default tidy configuration file to use when using tidy
    0 G+ ~1 |+ [# L) c! J" @, G1 U
  1717. ; http://php.net/tidy.default-config1 [$ s! B, z  |4 P/ J
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    - @& d  H. a8 O
  1719. ; H6 f( m$ F& Z7 @1 u9 ]
  1720. ; Should tidy clean and repair output automatically?
    ) N4 m5 I7 {- H& u+ _8 u4 d1 q
  1721. ; WARNING: Do not use this option if you are generating non-html content1 g8 t( \* B& H" N: `4 Z
  1722. ; such as dynamic images
    & a1 ]! J1 R' A, ~0 X
  1723. ; http://php.net/tidy.clean-output9 ^4 h( l8 ^* J# f
  1724. tidy.clean_output = Off
    * W- j5 e0 q/ s' @* m+ }" d
  1725. 8 |* O6 a/ R) K& _
  1726. [soap]) P9 `( @. l1 K  U6 Q
  1727. ; Enables or disables WSDL caching feature." F  B! c' d; A  z9 s4 v/ V. F/ P9 B
  1728. ; http://php.net/soap.wsdl-cache-enabled
    3 ~( m7 O4 d7 P" o( z; s( ~' ^
  1729. soap.wsdl_cache_enabled=19 Y' l4 ~, }. q: i  y! ]9 _% b5 l- C
  1730. 1 P  ^5 h1 u0 @! J: {2 h) S- i. z5 ?* B
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ! q' m% f* I+ a; a$ d
  1732. ; http://php.net/soap.wsdl-cache-dir
    0 y4 j$ i/ s! Y4 ]4 Z' `! \# U  X
  1733. soap.wsdl_cache_dir="/tmp"9 h2 N+ e. V/ e, M6 s% Y* `. [

  1734. + I( t5 Q% K9 o3 }- Q. {" N& I
  1735. ; (time to live) Sets the number of second while cached file will be used1 _2 [$ E! U: I+ z! e8 y; ~
  1736. ; instead of original one.
    # F- c# H" Q9 g
  1737. ; http://php.net/soap.wsdl-cache-ttl; N' \# z, q- D, a  M( }7 q# c
  1738. soap.wsdl_cache_ttl=86400+ d& ?6 y8 |. z! D) H

  1739. % L* G. f# X4 R, K- b. L' F
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % P" L. S8 L, v& ?+ p, r
  1741. soap.wsdl_cache_limit = 5
    : G3 B/ M! f0 y5 P( d. i
  1742. ' `0 c. s3 [7 Q( {' \" m
  1743. [sysvshm]
    9 N" I! h8 K( Z4 Q
  1744. ; A default size of the shared memory segment. ?5 e( r4 u0 z6 N; n' W7 x5 v" ~2 j  Y
  1745. ;sysvshm.init_mem = 10000- R% _& w  _; p+ I) B
  1746. 0 J3 g3 C+ \' f9 M$ ^/ x
  1747. [ldap]. G. G! A& H5 |: b
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    $ a4 m; t1 F$ @
  1749. ldap.max_links = -1
    3 ^- |! u6 e0 G' y
  1750. 4 u1 z. y+ s4 |( @' ?
  1751. [mcrypt]
    & |$ o! u" p3 X# y- Y- K2 j, e
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    1 A: ], g" i/ `' W) F7 [9 u
  1753. 5 \: G# b9 R! \& G
  1754. ; Directory where to load mcrypt algorithms
    0 p: `! l' g. P1 `9 z1 l
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 U( D' o; W( R+ {$ A- O
  1756. ;mcrypt.algorithms_dir=/ T+ q" e3 _1 p2 h8 S1 U
  1757. - U/ p: I' J$ m' d
  1758. ; Directory where to load mcrypt modes$ c  s- U, H! k+ I2 C( {9 n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 h. k: n8 v# T0 q
  1760. ;mcrypt.modes_dir=
    1 @+ V* M$ T4 u  c; H
  1761. 4 k* b7 {3 ^0 T6 d) }1 n0 K" i
  1762. [dba]: L+ u. t9 i  {( c
  1763. ;dba.default_handler=$ q2 l# V# p9 k# T+ r) g  ~# Z" L
  1764. 4 j# c$ \" W4 I  q
  1765. [opcache]
    - D, I! U; W) w5 W$ c
  1766. ; Determines if Zend OPCache is enabled+ V" Y; l  ]3 H- E6 a3 B" D- z
  1767. ;opcache.enable=08 C! W) p& s  J$ v) _
  1768. . b0 K$ ^: e- d6 E! r2 H% v
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP$ \0 U/ H* O$ R$ m  Q
  1770. ;opcache.enable_cli=0; X# W" P# G4 o8 G' o2 X
  1771. $ Z! H! C6 ~& h, \
  1772. ; The OPcache shared memory storage size.
    . z  N4 D, @- K
  1773. ;opcache.memory_consumption=64( e" A" k3 q1 z. I# I

  1774. ! k- T$ W3 r9 n" u
  1775. ; The amount of memory for interned strings in Mbytes.
    ! j5 n8 _' V) s$ g8 w& b
  1776. ;opcache.interned_strings_buffer=4: B. u6 H* j" z/ P8 s* [: C

  1777. + c1 E. x# e& o2 i0 h# w
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.) f0 ^* @) c8 Q4 U
  1779. ; Only numbers between 200 and 1000000 are allowed.0 O+ v) m# o# M9 F9 `
  1780. ;opcache.max_accelerated_files=2000
    2 y/ u9 x# o8 t, U0 v

  1781. ! A6 a# p0 c9 h3 e+ i- }6 w/ y
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.  l# g5 S+ c1 M! ]& y+ X# M
  1783. ;opcache.max_wasted_percentage=5- Q. e+ f" z- a3 P. z1 _2 E) [
  1784. ! f, @/ ^* L/ {  m
  1785. ; When this directive is enabled, the OPcache appends the current working
    9 l+ L& d& ^+ O( t4 }
  1786. ; directory to the script key, thus eliminating possible collisions between5 x" E. U6 W- t5 Y3 |* y
  1787. ; files with the same name (basename). Disabling the directive improves* u" z( M0 e& k# l: g1 ^) o
  1788. ; performance, but may break existing applications.
    $ \; q% _, r: f5 N: P
  1789. ;opcache.use_cwd=1
    ! `( E& }* x( b( V' b' X6 C, {; K% y3 n9 A, j

  1790. $ k. a8 I3 k7 y
  1791. ; When disabled, you must reset the OPcache manually or restart the& l4 X# X; z$ }8 J7 N+ S  z
  1792. ; webserver for changes to the filesystem to take effect.! \( ~6 ~8 U9 p' Z& N
  1793. ;opcache.validate_timestamps=1' ~  J! k& U2 Q
  1794. & m' h4 T' W  }. ]
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    0 ?) ^8 l' @6 }
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    / f4 A( f1 s) r) B8 v, }
  1797. ; once per request. "0" means always validate)
    + y6 t; @, ^$ ^0 U4 a
  1798. ;opcache.revalidate_freq=2
    4 q' J7 Z2 H' l9 }

  1799. 4 {. N- F" }; I( s# s$ n
  1800. ; Enables or disables file search in include_path optimization9 f+ a& h  R6 U) ~* F( ], H9 h
  1801. ;opcache.revalidate_path=0$ N9 ]5 a3 f$ \, A/ J5 }8 o: N

  1802. ! T5 v) o- Y0 f* u( T, K
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    . T  R  G! u. m0 f
  1804. ; size of the optimized code.
    ; {0 ?9 e7 a7 p9 x
  1805. ;opcache.save_comments=1
    " c- J) \3 |7 _; ~2 b
  1806. - V5 X; d6 l3 N- `
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code6 e* q1 I9 p& [/ s3 T6 @! m0 X
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.1 W7 \1 m+ H- E6 z" m. O2 H
  1809. ;opcache.fast_shutdown=06 _  g$ O2 L! _' i: |( X1 t
  1810. , R' J- B' J  k$ M' ^7 ~
  1811. ; Allow file existence override (file_exists, etc.) performance feature.+ Y- r# \2 N- X7 I" _5 q( B
  1812. ;opcache.enable_file_override=0
    1 p1 d7 Q) H% T/ a( t. w' J3 t9 t

  1813. # V5 i, S; j1 q8 }# v% K: {! U" ]4 b
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache) P0 S4 a' X, W/ E/ X
  1815. ; passes
    2 J2 x3 |6 R7 ~& }
  1816. ;opcache.optimization_level=0xffffffff/ T7 T9 M# ~( B5 ]6 b" F0 y  G6 @, L

  1817. ; ^4 Q9 g$ r) q, M6 k
  1818. ;opcache.inherited_hack=1
    ! b  S' [. U+ \) j% k( C+ i+ Q
  1819. ;opcache.dups_fix=04 Q8 O  y, G. J" d0 q2 ~1 ?
  1820.   Y! ], Q3 I, r3 x- E
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    + p  o( E" Z. u  S* ~
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ; m* t: Y& f* h" w7 Q, I
  1823. ; that should not be accelerated. The file format is to add each filename: j* @- d$ x0 i1 a* m3 ]7 r
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ) I4 S" G, p: `( a2 g
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www% d  |# t. m* q. e3 r$ f
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).) g- M7 b+ j, y) a* R/ |$ H
  1827. ;opcache.blacklist_filename=; G4 F  H5 j+ C: V' O
  1828. " {" I0 e5 x% u. I% r1 n, Q8 q
  1829. ; Allows exclusion of large files from being cached. By default all files2 @8 x% r5 V  o. N5 K
  1830. ; are cached.7 F6 q/ E+ p6 d. G6 }: v7 z7 d
  1831. ;opcache.max_file_size=0) k/ M* {$ J- K1 r- z9 a& A) S. a

  1832. 6 C. |) H" E. T; u/ T0 i$ s. h
  1833. ; Check the cache checksum each N requests.
    3 y( l2 H$ J! F6 N
  1834. ; The default value of "0" means that the checks are disabled.
    ( J" t9 L9 R( k' ~& ~
  1835. ;opcache.consistency_checks=0
    ; G, D# O. \% ^: q
  1836. . a$ w6 L  e' a6 L! ?' z
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    . a' N2 A5 |# P6 G8 V4 V
  1838. ; is not being accessed.2 C1 r6 \# D/ x2 p6 t, K# D
  1839. ;opcache.force_restart_timeout=1805 K  g) f$ P% `6 s( f
  1840. # n- C3 p# _* [% E5 |) l
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    " t, _7 Y; D4 @' g, L1 n1 @& ?
  1842. ;opcache.error_log=
    , K) U. U5 I2 N) {
  1843. : H  M, \' k) h& K/ e- I1 }# x
  1844. ; All OPcache errors go to the Web server log.  [$ y7 s) M6 U
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 J1 U* D0 C5 b5 t& [: U1 e4 L8 _+ K( H
  1846. ; You can also enable warnings (level 2), info messages (level 3) or6 W( K$ a) o. [' H% o2 A
  1847. ; debug messages (level 4).
      T5 ~; f  U1 D/ I. d
  1848. ;opcache.log_verbosity_level=1  B: x, V1 U/ B) M/ x
  1849. ; D" W( Q/ _* O2 u
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.8 H$ N- U6 P' u
  1851. ;opcache.preferred_memory_model=
    7 U2 E0 K: [+ z! `
  1852. * Y" n; y7 q4 @4 g% C3 @
  1853. ; Protect the shared memory from unexpected writing during script execution.9 b1 A2 F5 y- Y6 l" ~: y. l
  1854. ; Useful for internal debugging only.0 p0 O2 f  k& k; R
  1855. ;opcache.protect_memory=08 G% _6 }. z* z& t
  1856. 7 Y" D3 a. I  K& g  g4 @5 _
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is, E+ X- n0 M4 G
  1858. ; started from specified string. The default "" means no restriction
    ' Z1 d5 ~- y, _# J
  1859. ;opcache.restrict_api=
    7 Y, Z. M: b% \  G$ `
  1860. $ [1 p* z( V9 P3 _# {: N
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP# x% L# E1 M+ W) f3 P5 {
  1862. ; processes have to map shared memory into the same address space. This
    8 U- Q# d3 v! R7 W% `+ k
  1863. ; directive allows to manually fix the "Unable to reattach to base address": u# w, C  F' f5 k6 n2 |1 P
  1864. ; errors.0 h- X7 o' v9 ?
  1865. ;opcache.mmap_base=
    0 u' r0 X. @# \5 V) w& J
  1866. 3 y$ D; c( p; N! K
  1867. ; Enables and sets the second level cache directory.- }/ a  k- O& \
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ) e: _$ h4 I' L* t; ?: z3 Q$ t/ d: O8 n
  1869. ; SHM reset. The default "" disables file based caching.4 e9 x" y; A3 |
  1870. ;opcache.file_cache=
    0 H, j2 }5 U# i  W/ z! C
  1871. & W: T3 I" H- ^0 E
  1872. ; Enables or disables opcode caching in shared memory.
    ) G9 l' N5 }, F3 z. a! m) H/ E
  1873. ;opcache.file_cache_only=06 X, A2 N6 n% t2 r
  1874. $ \9 Q  s* U6 U6 s% S& d6 y
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    " {1 p0 J9 e! F
  1876. ;opcache.file_cache_consistency_checks=1
    ! o4 ]# ]3 z" T# F% l

  1877. , U" g+ v* s; H, j+ o' K" @  d
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    / Y' b2 L! J5 A4 i
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file, o( e+ z2 m0 G9 f# w. N1 b6 M
  1880. ; cache is required.
    ! C# E- J) L3 T% O$ i3 `! r/ t3 ~6 b
  1881. ;opcache.file_cache_fallback=1
    8 O# U6 r* `# Y+ c* T3 b
  1882. 7 N: b) R& I4 q, a# f* N9 N
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.  z( ?+ m) F0 p, ~& f
  1884. ; This should improve performance, but requires appropriate OS configuration.
    . M. g! ]4 u7 H- b/ X
  1885. ;opcache.huge_code_pages=1/ d* j+ p$ I# X7 w6 V& j: y' @' Q

  1886. . |* l7 c3 G- |
  1887. ; Validate cached file permissions.
    # \2 T. k" d; Y4 Q) h2 n* p' f2 }
  1888. ; opcache.validate_permission=0# @) B# O( z' X0 t9 f

  1889. 4 {6 n4 D8 p. S0 K
  1890. ; Prevent name collisions in chroot'ed environment.
    , ?5 J6 I2 A5 d. {- e
  1891. ; opcache.validate_root=0
    % G/ ]$ j- _; B+ @

  1892. 1 l) d! D" R+ i  ^7 {
  1893. [curl]
    + d0 D0 U+ E/ u7 q# N0 P0 M- O
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 j1 `5 G% @$ t% D  O
  1895. ; absolute path.; c6 I' L7 x, N2 A. g3 E2 ?5 T1 o
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt  p  _) K6 R; ^* t% w
  1897. $ b0 G1 O/ ~0 h1 j& ]2 _* m. \
  1898. [openssl]: H! F4 T1 E6 H8 E
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem9 p* Z& ^, X+ M# U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
      v) m% P( Y5 s& V& b
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ; E. h- L9 n. b! I
  1902. ; OS-managed cert stores in its absence. If specified, this value may still( g$ \' `( u) ?. \6 J( W
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context- s+ H' w# H+ U1 o
  1904. ; option.
    6 c- I4 x1 ]* M) J
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    - y2 y3 ]8 ]/ Z1 Z4 k) s

  1906. - W3 h! I' e0 v1 Z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the7 y5 m& |1 h0 ^8 ^7 @
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    % }/ X' g: L$ S. C
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    . O2 Q1 [: w( ~+ |/ U
  1910. ; Most users should not specify a value for this directive as PHP will
    . \# y# _& ?$ r" m
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( e5 S2 \9 c- C; i0 K8 P7 ^. {1 S" C
  1912. ; this value may still be overridden on a per-stream basis via the "capath"& B. T& N" _# s$ n
  1913. ; SSL stream context option.
    % z4 F; g0 ]( B2 [6 A  q0 _7 _6 y$ N
  1914. ;openssl.capath=0 G* i: V3 s6 z; E6 n9 u9 N% b6 e
  1915. 6 W, w8 u9 H6 O6 J. K7 s$ Q
  1916. ; Local Variables:/ u" J; v$ W/ `4 @% q0 d+ F$ c3 J
  1917. ; tab-width: 4
    3 ]' R  t! G- b' \# o) V: S( @
  1918. ; End:2 k8 F1 M  ]& l+ K; {  F/ S3 b
  1919. # e6 y+ N: G& W! e1 E# w
  1920. ;eaccelerator4 I- A5 o- k! H5 ^

  1921. # F4 ~* j3 f: g$ K, x3 y1 D
  1922. ;ionCube
    # l0 e% @: c1 z/ P6 m  o$ {
  1923. 9 ~$ g1 O5 y+ R7 A
  1924. ;opcache
    2 H$ g! U0 `5 d' U' a$ e' U* A

  1925. 8 Y: a- H8 v4 g+ j. c: E
  1926. [Zend ZendGuard Loader]( M1 `' p# Z0 |: `' R
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line./ z( e# a5 Y3 v- t5 s6 t3 d7 Z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so. X% e0 q( J4 S  ?$ C" G
  1929. ;zend_loader.enable=1% v, g" v, y7 B8 E
  1930. ;zend_loader.disable_licensing=01 Q+ `' G1 M" J+ ~. J# s
  1931. ;zend_loader.obfuscation_level_support=3) b: m% z  T' A* i. {. U8 ]
  1932. ;zend_loader.license_path=4 p: D* k, K1 B' `& J
  1933. . J( v; @" f( C% N
  1934. ;xcache
    + g! f0 V5 x6 H: b

  1935.   t6 l  @/ ]8 I3 L4 k* X
复制代码

5 T+ }6 K: [4 N7 E0 b9 E9 o  z" j
& B4 I8 D0 v9 c# o- @& Z7 z* A# }) Q$ |+ \2 T0 r
9 h' f- a, F+ j0 s

: C* J* ]/ w2 M4 H" p3 n( T  f& \: t9 ?
8 {9 Z1 z6 q; x# v" ?- `  ^
PHP5.6版本原始设置
3 [: a5 f/ y! j* G* ^% l$ U* t! `# y8 k$ p
  1. [PHP]
    ( C, r. M# D# B+ F
  2. : J4 V" f6 U. h# E4 h4 L& w! L5 z
  3. ;;;;;;;;;;;;;;;;;;;/ o" o' j0 x' r: A$ }
  4. ; About php.ini   ;
    , u) ]: \, w3 s; ]6 E" ~( P
  5. ;;;;;;;;;;;;;;;;;;;
      j1 O+ P; c7 f& r- u2 i6 _$ e
  6. ; PHP's initialization file, generally called php.ini, is responsible for- v0 ^9 [) {$ ^9 T0 I( X% e0 `! b9 v
  7. ; configuring many of the aspects of PHP's behavior.
    " C( s3 [! h$ ?9 |& q6 J4 \0 V
  8. 0 G0 H3 ?9 C* C) C$ r+ a
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ) u' B0 g* a9 J- a* X8 F
  10. ; The following is a summary of its search order:
    - I% E( S9 G( `; L7 ?! ]" o9 e
  11. ; 1. SAPI module specific location.% p" T# \. }  N$ i. g2 H, J
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    % o/ A5 [, b6 D# _# h9 g3 g$ f% G
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)( X7 N! V$ E. d, N
  14. ; 4. Current working directory (except CLI)" U1 Y, u7 F$ v6 O) M1 R9 D: T
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP" a6 M7 U6 b# N; I) g& h
  16. ; (otherwise in Windows)) |$ q3 j2 ^) t! A
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    5 {* @# ]) j  O2 b  K( Z  f
  18. ; Windows directory (C:\windows or C:\winnt)( ?' i% ]. g/ l* h: T
  19. ; See the PHP docs for more specific information.; U' ~6 K# |4 b' Z& z# S
  20. ; http://php.net/configuration.file7 T" y" D6 x1 p2 ^! A: C8 M3 z

  21. $ b3 o2 h0 R* L+ |- R
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 ~+ M# S# [; }, {7 R6 T# R
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).+ G2 t/ O) ~, M7 O  O1 `% L
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    " S2 \. m0 O& G8 r
  25. ; they might mean something in the future." J# n9 g, _, z2 F6 _( C+ D0 L

  26. 1 _( u; t( e0 @+ |# E
  27. ; Directives following the section heading [PATH=/www/mysite] only7 C) o; g4 j! G( [" Y( }9 c/ N
  28. ; apply to PHP files in the /www/mysite directory.  Directives& h1 @5 l+ z. m
  29. ; following the section heading [HOST=www.example.com] only apply to, t  B4 v  L! G" V6 O5 e
  30. ; PHP files served from www.example.com.  Directives set in these
    . O/ K: N4 V9 _2 j+ p0 v& j. }- ]
  31. ; special sections cannot be overridden by user-defined INI files or/ E. V* S2 R6 j  e1 z2 _
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under7 w4 o0 x! ], P
  33. ; CGI/FastCGI.7 D. N& x8 x. L" @2 b/ L* D
  34. ; http://php.net/ini.sections
    & p6 Z" g4 u% N& f/ i! e! X2 Q
  35. + l2 U# n8 B2 B! h6 K* l- m
  36. ; Directives are specified using the following syntax:0 |/ |; k4 @$ V$ s4 l
  37. ; directive = value. W# j6 S# l6 A
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.9 }3 T9 g" S0 P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( I( {& Q4 H$ N4 v1 u
  40. ; There is no name validation.  If PHP can't find an expected% M9 h5 {% Z9 C, R  G& j) R
  41. ; directive because it is not set or is mistyped, a default value will be used.
    0 _4 o: _. W8 E' f% @6 G, c
  42. 7 j* c. }( Q; D+ i, b( T7 o
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. k7 ~' Q* o& Q  ~+ H5 M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % x6 h" m6 p. g7 E! }9 w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 w; i4 n" T. N' W
  46. ; previously set variable or directive (e.g. ${foo})
    . E' s) L7 {# l( H

  47. $ {- I- I5 c' f! c, p1 r7 d
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    : F; Y: {9 N, g- D, a, v, Z
  49. ; |  bitwise OR  {6 F) @& X( G& x& \
  50. ; ^  bitwise XOR% J' V9 p& |' n& l4 C
  51. ; &  bitwise AND: q6 W& U- l% J5 g" t  A+ V* F$ O
  52. ; ~  bitwise NOT
    + G) j( j2 x: x4 }( r7 h
  53. ; !  boolean NOT
    ( C4 R% B! A- R+ _/ d

  54. 3 L" b" o' l  O: N( Q2 q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.* Z3 W# ?: d/ Q; ^
  56. ; They can be turned off using the values 0, Off, False or No.
    % i" |% K" ~( G" L: J6 \0 G
  57. 8 ~8 Y: J0 Y2 ~8 J: G0 J5 ^# a
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ; Q! ~" x- x6 w, o
  59. ; sign, or by using the None keyword:
    / u2 Q8 O3 ~3 S5 K* ?2 n; S8 y
  60. 5 w1 \2 e. w3 ]/ K3 P( ?: ]
  61. ;  foo =         ; sets foo to an empty string
    5 u; J% c9 k5 i2 d
  62. ;  foo = None    ; sets foo to an empty string
    3 t( o$ X- \: g$ {, {/ ^) T0 A
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ( ?" Z; S( Z- `1 _, [

  64. 9 O/ y) j3 i% q8 c' N
  65. ; If you use constants in your value, and these constants belong to a
      N8 r7 f! Y. r7 l. `
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    , j- ]  c- Y5 i$ W( E4 S
  67. ; you may only use these constants *after* the line that loads the extension.
    ! ~6 P/ x' E) W6 h: d
  68. 4 q# t0 W3 K# }! h
  69. ;;;;;;;;;;;;;;;;;;;
    , \4 t' h3 V: `9 K( J# C4 w' f  o
  70. ; About this file ;# h4 C4 V# d! {
  71. ;;;;;;;;;;;;;;;;;;;3 i7 O& l7 v7 F; ^3 a" b" v+ {$ |5 J
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    4 _4 ?  r; R7 d) C/ v! r
  73. ; in production environments and one that is recommended to be used in' q3 s& @, V0 B4 x1 e% q# W
  74. ; development environments.
    ' P; I9 \8 S1 s8 j
  75. ; G2 X$ G( Q/ q/ R1 L
  76. ; php.ini-production contains settings which hold security, performance and/ Q6 \; T4 Y- h
  77. ; best practices at its core. But please be aware, these settings may break% X- Q' z: A9 H# p& q
  78. ; compatibility with older or less security conscience applications. We
    , h: t5 W9 e& w% A. G$ A
  79. ; recommending using the production ini in production and testing environments.7 p& T- W# A1 |  _7 _6 Q
  80. & \! @" T; H+ G2 x3 p7 X- r2 T
  81. ; php.ini-development is very similar to its production variant, except it is  L# Z2 H$ J. |5 f! e+ e) t' n
  82. ; much more verbose when it comes to errors. We recommend using the
    ) ^2 R8 F8 Y$ b" g' ]
  83. ; development version only in development environments, as errors shown to
    , q7 J) m6 M0 t3 X8 ^$ G
  84. ; application users can inadvertently leak otherwise secure information.# M6 C6 o( t+ P8 D, K
  85. : W) I9 a, d! J9 s
  86. ; This is php.ini-production INI file.
    9 o/ ~& q9 P) w
  87. - U+ D/ \: i* I3 X, }( g
  88. ;;;;;;;;;;;;;;;;;;;4 {) P: g! a! ^
  89. ; Quick Reference ;
    & l7 ?1 c7 T# d2 K# J4 @
  90. ;;;;;;;;;;;;;;;;;;;
    3 F: R3 v' v- n( M. q* j6 a5 @) B
  91. ; The following are all the settings which are different in either the production6 c( @, y) O4 G6 J
  92. ; or development versions of the INIs with respect to PHP's default behavior.! |* @: N3 d( Q% D% p
  93. ; Please see the actual settings later in the document for more details as to why
    ; [2 }9 `- P+ r; ?' O+ m
  94. ; we recommend these changes in PHP's behavior.
    0 {0 C! _, m3 O% Z1 f
  95. # n2 Z7 n- z# H: L& p
  96. ; display_errors  [/ f  R* ?- P1 ~" x
  97. ;   Default Value: On
    3 k, Q% Y! v; s' x/ O" M
  98. ;   Development Value: On
    : U5 G2 @* _7 O6 @2 M" G' I- h4 \/ J
  99. ;   Production Value: Off- S/ K# W4 S' D# S: g( ~

  100. 7 d+ c* a. }" I( C7 n' o
  101. ; display_startup_errors
    : Z0 u( N. G4 D
  102. ;   Default Value: Off
    # Q/ \! v9 H! R: ?7 b. z% b6 J
  103. ;   Development Value: On8 J& [- O6 B1 E+ t4 n! S
  104. ;   Production Value: Off
    1 R- s7 U3 ^  `; K# \' B0 m( H
  105. " v8 u9 \+ \) ^+ {
  106. ; error_reporting0 `2 [  E) `5 O6 q$ E4 S4 ]9 {
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) n6 c, \' r) J* ^6 B1 H0 Q' A4 j
  108. ;   Development Value: E_ALL
    4 \: L$ M. x( x" Z# s
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , h. N1 `( L- J! V7 [; p

  110. ( g9 [8 i7 h) d% t3 @6 [
  111. ; html_errors
    ; H4 F2 W- s6 m% d  W% \: g
  112. ;   Default Value: On  b: o1 x8 K4 f# \3 h
  113. ;   Development Value: On/ z8 L; B3 B- I# j# K" |; N( I
  114. ;   Production value: On
    7 D7 W- Z6 f  g8 F6 p& w* j/ x7 }

  115. ' v- {% J$ f- ?0 D' e
  116. ; log_errors
    # E2 \( ]7 m5 q; n+ f
  117. ;   Default Value: Off( F1 }+ N" r. i' G1 G
  118. ;   Development Value: On
    2 K2 S9 w* S8 _2 r3 f! I
  119. ;   Production Value: On
    8 i8 I$ D" G! b+ R0 {' P5 S
  120. + g, k$ H/ i$ S4 ^+ u+ z2 E
  121. ; max_input_time4 a- h' L- i. B% t) s" h
  122. ;   Default Value: -1 (Unlimited)
    / `. x7 g8 v' e4 ^0 T1 n
  123. ;   Development Value: 60 (60 seconds)3 C- z: b" ]" u$ B9 r; J
  124. ;   Production Value: 60 (60 seconds)
    7 C+ L0 l7 c. `; }5 h+ ]  ~
  125. / c! B. ^4 `) |2 A0 k1 t3 [
  126. ; output_buffering! T# o* z" |& Q0 Z6 J$ k. b. j$ A
  127. ;   Default Value: Off
    ! d# E+ j  l+ f) @6 z& i! u% S
  128. ;   Development Value: 4096
    1 L0 d% v! D2 g# K. u6 S) m5 Z7 U
  129. ;   Production Value: 4096
    1 F. L! N# |; h- |

  130. - d9 C/ n3 \% o% g9 M7 z- E6 d3 _
  131. ; register_argc_argv
    ; L+ T% c: N. W- R
  132. ;   Default Value: On# u+ x4 _' R! s7 n9 Q
  133. ;   Development Value: Off
    6 |# n; `' R1 d5 U' g
  134. ;   Production Value: Off
    ) B! P; G. f6 N4 k* _8 _  S5 h

  135. 1 A$ y7 o7 b  N4 y
  136. ; request_order
    - q. o. B( v4 K& ~# ?3 }& h0 S9 ]
  137. ;   Default Value: None3 Y6 o9 P6 x0 z2 s6 K& ^2 E0 y
  138. ;   Development Value: "GP"- W8 [7 D( p" C% J) m. W
  139. ;   Production Value: "GP"
    & b$ B5 Z( F/ T4 K5 R. R% y4 n6 [7 U

  140. 6 }. }' ?; ?0 B: e5 r/ x3 s, P+ k
  141. ; session.gc_divisor
    , x9 i7 \/ H/ }5 ^( u
  142. ;   Default Value: 100' R# D8 a4 [9 x0 @8 M9 o
  143. ;   Development Value: 10007 a, ^$ M! F7 W% [( O  k. V6 Z
  144. ;   Production Value: 1000
    0 ~5 l6 h% M, y8 Y

  145. : Z  R$ m. V; n, e: r$ e; T
  146. ; session.hash_bits_per_character
    ! h1 R1 x  h4 B0 x" Q4 U! p; x" v
  147. ;   Default Value: 4
    ( k8 g# i1 ]/ Y( q, R& m3 G8 V8 m
  148. ;   Development Value: 5
    6 J. e1 Y$ |7 _- d
  149. ;   Production Value: 5
    - f" A* z2 I6 v  F

  150. 2 a6 T5 D( ]  `8 f1 t
  151. ; short_open_tag! E# x% F3 [5 n3 L& Q
  152. ;   Default Value: On" _" j' E& x' u& }3 P  k8 G" E
  153. ;   Development Value: Off8 P. ]* R9 r- N& G8 C2 X
  154. ;   Production Value: Off
    : i# H, \# ?* l2 G
  155. 9 ?0 j* l  S/ Z) |6 |$ ^
  156. ; track_errors
    , D- Q2 U8 x; W% G( v2 q. G& A
  157. ;   Default Value: Off
    , a/ A! U# p1 C' b$ @
  158. ;   Development Value: On3 @' ?' k# z+ \6 X' {
  159. ;   Production Value: Off1 P3 ]4 Q6 x4 a
  160. ' x5 i. n6 w5 w" X! w6 n
  161. ; url_rewriter.tags
    0 D- w* F# R  _& V1 X, z( f7 L1 [
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 g3 X, y( {9 c, [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( k( t$ ~* v- m# J
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ ]* ?* x& M3 g
  165. 8 K4 u! R% s; M2 E
  166. ; variables_order9 W; X4 d1 j% [7 E. U: l! D
  167. ;   Default Value: "EGPCS"
    / p3 ?) k2 z- i" K9 \7 v1 _
  168. ;   Development Value: "GPCS"& M+ k" D4 }: O( @: V2 ^1 R
  169. ;   Production Value: "GPCS", i$ A5 [6 @) _& ?. v2 }& a. t1 n
  170. , x3 h/ [5 ~! |6 Q6 C2 w2 ~
  171. ;;;;;;;;;;;;;;;;;;;;, _) N9 y4 K& v: p8 k' c
  172. ; php.ini Options  ;
    . C0 `# X& K/ p4 f" e$ D. S
  173. ;;;;;;;;;;;;;;;;;;;;8 E/ v5 }* B* }5 P- S1 E$ M6 E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini") h0 k  D7 B' l7 T& U
  175. ;user_ini.filename = ".user.ini": p/ M; ]/ j( A( M' ~

  176. ' z$ G  }5 R, b' s
  177. ; To disable this feature set this option to empty value0 Y3 v3 R& z6 s; B# ^8 ]2 F
  178. ;user_ini.filename =
    . n0 J  ~  x" r8 B. v
  179. + e/ O6 A7 ^7 E4 H
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    9 f* ^7 M& M" h6 q# X5 s
  181. ;user_ini.cache_ttl = 300
    ' r# H, f* |& g( E' ^  m) R/ l
  182. 3 e3 ?7 Q( Q% ]+ S% O4 q
  183. ;;;;;;;;;;;;;;;;;;;;9 i( S& e6 {. A# Q8 F
  184. ; Language Options ;' Q: Z4 C/ }+ @8 g/ |( T  l
  185. ;;;;;;;;;;;;;;;;;;;;
    3 J0 z% `0 X! t3 C( f8 Q
  186. , [& z) b$ J/ `1 [3 U
  187. ; Enable the PHP scripting language engine under Apache.5 d: X, A. B- s5 D2 g8 g
  188. ; http://php.net/engine
    & A+ a: ?/ D3 v9 p0 r( `
  189. engine = On8 U6 l4 U: `/ k5 J% Q  m! }/ L' ^
  190. ' i( J' K2 x: k1 D4 N& H; o
  191. ; This directive determines whether or not PHP will recognize code between6 p+ |, O1 A8 Q3 _' r, a* N
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 I% N5 }1 ^+ n0 y- C! v' R; X( J
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ! |; `9 S: @+ X6 `! C$ e
  194. ; should be disabled, as enabling it may result in issues when generating XML) h  e; m6 U; ~  U
  195. ; documents, however this remains supported for backward compatibility reasons.
    ' C) {) ?+ n$ ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be) K6 C( @3 h: L1 [
  197. ; used regardless of this directive.
    ' O5 q4 n7 d( U7 g3 T5 h
  198. ; Default Value: On
      z5 p2 I- V" V, A9 |  @- r6 e6 U6 V
  199. ; Development Value: Off
    4 T! R" Y, ?$ ~7 i
  200. ; Production Value: Off: q4 K  u7 A0 Z/ q9 z* D& {' ?  d: A; n
  201. ; http://php.net/short-open-tag/ H: l# `  W+ I$ j0 q( e, r
  202. short_open_tag = On
    # o+ V- I5 i+ N% C- S, R
  203. 2 j$ q3 c9 V# G
  204. ; Allow ASP-style <% %> tags.
    ' C4 I- x. @5 ^
  205. ; http://php.net/asp-tags. O8 n6 V  D$ N8 D7 ~
  206. asp_tags = Off1 y0 G+ {) c5 |

  207. + Y* K6 {, q& J" L, E
  208. ; The number of significant digits displayed in floating point numbers.
    0 z4 B: Q; ]) Z, g9 h. B- D
  209. ; http://php.net/precision
    , m' @& g' }1 M4 ?+ i) T7 X9 o, r
  210. precision = 14: i3 e( y& c) L/ k. C

  211. : L5 H2 U: j* o" {7 q
  212. ; Output buffering is a mechanism for controlling how much output data
    $ P( H) ^  b9 u( _5 ]" h- |7 ^
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that5 d# B; f1 b5 j7 H7 x! }! e9 t; u
  214. ; data to the client. If your application's output exceeds this setting, PHP* i: J- ]! M  L8 ?! U
  215. ; will send that data in chunks of roughly the size you specify." V$ Q7 \0 q: M: m# K, T
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    2 \/ ^0 i' E2 r* f' t; \& K* T
  217. ; interesting side-effects depending on your application and web server.
    7 P% T5 q. x( m5 ^, c& a+ O% x
  218. ; You may be able to send headers and cookies after you've already sent output
    7 E9 s$ _* `4 ]# N  m, O
  219. ; through print or echo. You also may see performance benefits if your server is. Z# ]( q3 v6 e
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    3 p& s6 o8 y2 ~4 [
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ U5 Z) M7 P! Z  \3 @  F5 v
  222. ; reasons.
    . ?) c6 @; d5 a! i+ v
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    6 W7 o+ S& `% P" A
  224. ;   functions.! }% M& p1 w# x1 W8 j! w& `
  225. ; Possible Values:1 o4 R( t- c- w
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    # ]" }& A* D, `3 }& E* v3 |! i/ G
  227. ;   Off = Disabled
    ( u& y7 q. t% }# N% W9 N
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    0 S& M( A: i& p- F' U' t" p  a
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI" {% M) L- m6 ~! P
  230. ; Default Value: Off- m9 P* k1 C9 Z( p7 b  m8 p
  231. ; Development Value: 4096+ U  G/ p6 U; D. n
  232. ; Production Value: 4096
    + O7 x- t$ `! v* n( j& K
  233. ; http://php.net/output-buffering( T* A) z5 X8 D6 \" `
  234. output_buffering = 4096
    ; s) ?0 E/ T, a) [
  235. 8 g# C& i1 L! q! j6 p# f$ c% b
  236. ; You can redirect all of the output of your scripts to a function.  For
    8 M; D1 @! `' U2 V" L3 m
  237. ; example, if you set output_handler to "mb_output_handler", character4 q2 W+ [, |/ P; J
  238. ; encoding will be transparently converted to the specified encoding.+ I) F; |( M- \4 }/ A, M
  239. ; Setting any output handler automatically turns on output buffering.
    0 W1 g4 I' Y3 n) ]5 z8 q- b# \) ]
  240. ; Note: People who wrote portable scripts should not depend on this ini
    & U( U4 B, c# C+ [# k7 C  u8 G
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    * E1 E2 t: A  C8 \$ h* g
  242. ;   Using this ini directive may cause problems unless you know what script
    + I0 f4 C& d/ f; d- z, C
  243. ;   is doing.
    % E" t* n; l3 h0 O% ^
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". l% H3 x" O7 s: Z9 I
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"./ R( e& \) I7 O0 N! ?
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    " b" B# R5 [' S: ]! r! l; }6 F
  247. ;   Instead you must use zlib.output_handler.+ R: D0 q$ v; A+ z3 \, j
  248. ; http://php.net/output-handler- V, v  W! T: L# c5 q. |
  249. ;output_handler =$ D3 e8 M' o' K1 i. J
  250. 9 Y+ T1 ?. P% \6 S" u
  251. ; Transparent output compression using the zlib library  T& D7 A/ J/ ]  _( Q2 {" F
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size8 l- i4 E* Y2 p2 s% i( F( T& O9 I
  253. ; to be used for compression (default is 4KB)
    ! S5 \/ d8 E9 C3 g" o- J" w/ o5 l2 Q
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ ~7 h! b8 ?( \" S6 v; |
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 X' e5 `" t" B0 m
  256. ;   compression. If you prefer a larger chunk size for better/ [; c8 H. o3 l5 O# O$ \
  257. ;   performance, enable output_buffering in addition.1 e5 a) U3 p1 Z) Y* m- E, B& N
  258. ; Note: You need to use zlib.output_handler instead of the standard
    + e! B3 N9 n$ M! v4 R
  259. ;   output_handler, or otherwise the output will be corrupted.
    # d' a  y. k# @# s  k7 d
  260. ; http://php.net/zlib.output-compression
    " C! T# d% A- k9 W" w) K
  261. zlib.output_compression = Off& O! c" N$ I% o# V; v
  262. / T) o3 H! T# y0 x$ v
  263. ; http://php.net/zlib.output-compression-level3 V. ~" k$ Y4 P- l4 B* a" Z
  264. ;zlib.output_compression_level = -1) K$ t: V: F1 B( |
  265. ' z- L$ H; Q  Q$ D, U% _
  266. ; You cannot specify additional output handlers if zlib.output_compression
    $ j8 u' S5 M; n7 h- f; d
  267. ; is activated here. This setting does the same as output_handler but in
    & C+ ~) ]" k6 k( T( }
  268. ; a different order.
    0 Q4 o2 J0 u/ ?
  269. ; http://php.net/zlib.output-handler
    % h1 K! h! m2 l$ {& V
  270. ;zlib.output_handler =$ j7 Z& u+ N2 i/ O: k2 q. k
  271. ) D8 R; n6 [$ H% J
  272. ; Implicit flush tells PHP to tell the output layer to flush itself3 a( {6 R% w# D+ I7 [7 M' r3 x
  273. ; automatically after every output block.  This is equivalent to calling the
    * s+ i& n3 c; t# S, i8 `* F) D
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : n' P" e8 _! N2 b, v2 L- e
  275. ; and every HTML block.  Turning this option on has serious performance& R9 _! r/ ~, U9 T1 {
  276. ; implications and is generally recommended for debugging purposes only.& ~, m) d* W; U& F: a
  277. ; http://php.net/implicit-flush
    " T6 a5 \) v: s2 G$ T4 h
  278. ; Note: This directive is hardcoded to On for the CLI SAPI6 d! d: [7 M* z( m5 h/ W5 v! i7 ^4 p
  279. implicit_flush = Off
    4 s: Y& F. e1 D4 V, j
  280. 0 u$ o* o4 ?" W6 b1 d( ?' \% w, A
  281. ; The unserialize callback function will be called (with the undefined class'* M2 Q% M5 H* \) g! O
  282. ; name as parameter), if the unserializer finds an undefined class
    $ V, ^. C1 O% G' v1 ^5 ?
  283. ; which should be instantiated. A warning appears if the specified function is" r% n3 G6 d" B- a, D. z
  284. ; not defined, or if the function doesn't include/implement the missing class.) j# `' S# n+ k0 k' ?* A6 U9 }
  285. ; So only set this entry, if you really want to implement such a  v! P$ Z7 i5 \; u) C
  286. ; callback-function.; |$ g  v, W! Z! Q: b) |
  287. unserialize_callback_func =5 ?( C( b+ D8 |) h

  288. * V& J% I. y7 b
  289. ; When floats & doubles are serialized store serialize_precision significant
    6 O& {* R& L; _  W- c- u% g
  290. ; digits after the floating point. The default value ensures that when floats* {6 G8 F8 A1 H  S* o( [+ L  F* _. F
  291. ; are decoded with unserialize, the data will remain the same.
    3 I  a+ [2 [) R" Q! u$ Q
  292. serialize_precision = 17  Q( v/ b$ _' v5 `) h
  293. ; _. R6 b7 ]( G+ i
  294. ; open_basedir, if set, limits all file operations to the defined directory  Y, \0 X9 l& r" C
  295. ; and below.  This directive makes most sense if used in a per-directory+ x) o% [6 ?' f+ ]
  296. ; or per-virtualhost web server configuration file.
    1 p1 U/ j) N1 a# b" r
  297. ; http://php.net/open-basedir. ]' {% X! L/ l" x$ o' e
  298. ;open_basedir =; N7 }$ p+ L  p7 w. I& Q* P
  299. 1 |; ?  d/ O7 m% `* U' T! G* e1 y# Q
  300. ; This directive allows you to disable certain functions for security reasons.) e, M1 c  C- l5 e
  301. ; It receives a comma-delimited list of function names.4 ^, ^) T) U( u* Z9 A3 [
  302. ; http://php.net/disable-functions
    / b' A* ]; ^' y8 d# |. t8 M
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( h% M  i$ P( k) h
  304. + i/ m  S' X7 z- ^; u; V
  305. ; This directive allows you to disable certain classes for security reasons.. ]/ `0 b! f( b; s3 o
  306. ; It receives a comma-delimited list of class names.# m3 k" U6 D. a; r& c# R
  307. ; http://php.net/disable-classes' m  }2 y2 C- I; E/ {# h3 Q& M
  308. disable_classes =; {5 Y) Z2 r* @1 O0 R, K0 B0 s
  309. / A" t4 @5 Y% g9 T  h
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 r0 z7 _& j, D! f* q
  311. ; <span style="color: ???????"> would work., o5 T+ G. S& w0 [6 \, k
  312. ; http://php.net/syntax-highlighting: ?% [1 I7 c7 G" |/ p+ W
  313. ;highlight.string  = #DD0000; [0 r- |: R. J$ s
  314. ;highlight.comment = #FF9900
    / E7 o, r8 p+ S/ x% J
  315. ;highlight.keyword = #007700
    ( k7 \/ n9 ]! B0 i" l8 F8 i5 {
  316. ;highlight.default = #0000BB
    1 B& y+ e% w% ^& n" W+ W' e
  317. ;highlight.html    = #000000
    % s8 V; N# r; |  F' U! m' F

  318. 0 H: z  e, ?7 E" r" e3 W  M' _
  319. ; If enabled, the request will be allowed to complete even if the user aborts+ ^/ g9 U) }' n$ \- G# L! d
  320. ; the request. Consider enabling it if executing long requests, which may end up% b' J( n8 K4 R' {" r5 f
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ! o: c9 H2 v/ M/ V% x& J; v4 K# ]
  322. ; is to disable this feature.1 d: F* F8 R! O4 S( T/ I
  323. ; http://php.net/ignore-user-abort
    8 f% `1 V/ F% L0 l
  324. ;ignore_user_abort = On
    , N. X* \( X4 c) B

  325. * E* p+ b) ^2 C. u6 T
  326. ; Determines the size of the realpath cache to be used by PHP. This value should" S% G* H$ i: ~$ H* `7 o
  327. ; be increased on systems where PHP opens many files to reflect the quantity of6 h5 o& c1 f& S2 t
  328. ; the file operations performed.
    1 q2 k* A# r/ N  s
  329. ; http://php.net/realpath-cache-size* M4 V1 z" }, S4 l' n
  330. ;realpath_cache_size = 16k
    8 v  v6 i0 ~0 d8 F8 o
  331. , u+ x8 |/ ~4 F1 U$ i0 z  m. T
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    . f0 J+ v. q  b4 _$ |
  333. ; file or directory. For systems with rarely changing files, consider increasing this1 \- `0 Y5 D6 V
  334. ; value.* X3 {$ e( s$ Q5 c4 r( s$ c4 J% M
  335. ; http://php.net/realpath-cache-ttl; h; [, s4 L8 W7 V5 d' M
  336. ;realpath_cache_ttl = 120
    - {) L( j4 U9 S3 U2 x+ Y7 l
  337. : Z4 s5 b; n/ h7 R6 x, C
  338. ; Enables or disables the circular reference collector.
    : M* Y% X4 m/ T5 R1 B9 S6 W2 J$ w
  339. ; http://php.net/zend.enable-gc
    . `+ g" S) p* M" y6 c5 e
  340. zend.enable_gc = On
    / A7 C; u  f' M, R& x% a% X- }3 H% [
  341. / d" G8 ~0 A% {! [
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    % a( t, T4 t7 j6 Z9 X0 A5 U/ I
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / s+ @: @$ _, }/ e- h, j
  344. ; encodings.  To use this feature, mbstring extension must be enabled.7 n; U: T+ p- S) Z3 n) X
  345. ; Default: Off
    5 ~& H; {4 }6 b: A4 v; \- a/ b  L' J
  346. ;zend.multibyte = Off
    * z- J" S: e' b3 C
  347. : Z3 z: k/ u, H
  348. ; Allows to set the default encoding for the scripts.  This value will be used8 Z5 q( T! m( B$ u. D5 i
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.  h- g+ b5 ], }# n
  350. ; Only affects if zend.multibyte is set.
    / q, w. g0 V3 r& @3 A. n5 h
  351. ; Default: ""
    2 r! `& d- s, c: _' s
  352. ;zend.script_encoding =0 Q7 g; m! v7 B* t  T
  353. ( F& d& @$ [' \' v7 ~  ]7 F) U
  354. ;;;;;;;;;;;;;;;;;3 N% C3 j. e8 h
  355. ; Miscellaneous ;# s! q! q5 z% R
  356. ;;;;;;;;;;;;;;;;;8 R  ^5 n( M: M* E  u
  357. & c& L, @8 O8 a) w4 w' {/ A, ?. V
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    2 ~8 D7 z- U/ J& [* z
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    " o! v9 ?8 [+ q) J
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 C  J; m4 q6 r" E. H8 F- o% ?
  361. ; on your server or not.7 F0 d6 E) c' F7 A$ |9 e
  362. ; http://php.net/expose-php' {& w; B0 Z0 F4 B
  363. expose_php = On1 a+ a! y, Q1 X) F
  364. 2 J* ^) F5 U4 W, S$ J% k
  365. ;;;;;;;;;;;;;;;;;;;0 k1 g5 l) G1 f$ o2 A
  366. ; Resource Limits ;; H0 i4 \) a6 E2 e. H, E" F
  367. ;;;;;;;;;;;;;;;;;;;4 N, p) R! L2 r7 C  G- @

  368. 5 v* c. g( l! x8 t" {1 n8 _
  369. ; Maximum execution time of each script, in seconds3 g! B4 c9 ^  E; J
  370. ; http://php.net/max-execution-time
    9 Q7 ]; z$ c8 N8 D# Q* M. `' k
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 Z2 j4 t* t* _6 X
  372. max_execution_time = 300
    7 T1 `! L  o7 f; f0 X

  373. 1 B4 S* _( _0 E. K% m7 {3 K, n* B
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    6 r. {# j: E) Y% o
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly, u# P$ V2 N( `- _' S4 N
  376. ; long running scripts./ o* B+ p- n/ E8 F' s
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) r. R6 l* q1 r2 d) G
  378. ; Default Value: -1 (Unlimited)& I- l8 ?; F% J7 J" n! }# S' I
  379. ; Development Value: 60 (60 seconds); _+ ^1 T2 r: U: }6 C
  380. ; Production Value: 60 (60 seconds)% K$ a* f% `2 m& r/ K" ?# T. d; \
  381. ; http://php.net/max-input-time4 t" R; t- U" ^7 t4 ]' R
  382. max_input_time = 60
    - q& Q9 N  ~" C5 V) s# |/ W
  383. 0 O# y$ q8 j/ {
  384. ; Maximum input variable nesting level
    4 @0 l' U& P& K: \2 `
  385. ; http://php.net/max-input-nesting-level
    3 c. u( F8 B9 \3 h# Y% x% Q' z
  386. ;max_input_nesting_level = 643 E/ B: c( j) ]! K3 o* m

  387. 4 h+ u/ Y) u7 ~- ]7 {& a
  388. ; How many GET/POST/COOKIE input variables may be accepted" j" ]+ a/ j! g! N" S# u
  389. ; max_input_vars = 1000
    ( ]. C: J& a& ~7 _# E
  390. 7 Y/ Z: v1 x5 @% c# _' y
  391. ; Maximum amount of memory a script may consume (128MB)7 j0 G4 Z7 B* K! Z- Q$ |- `/ z$ @
  392. ; http://php.net/memory-limit
    * }! I# H3 A  V5 Z
  393. memory_limit = 128M
    % A+ \& Z0 c' }0 q' b& G3 l+ ^( c

  394. % K# ^) n& r, e# r
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ J$ s. }" x( M  [
  396. ; Error handling and logging ;- Q; I2 Q- Q& F$ f4 N; M& Z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, g9 b1 S. `4 ?: r3 E6 `/ x

  398. * ?: L  h1 m$ z; e+ a
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    & @+ |" m. [9 b8 M0 m
  400. ; it to take action for. The recommended way of setting values for this% |- y. j6 z1 ?9 R
  401. ; directive is through the use of the error level constants and bitwise
    0 e1 j/ Y* z4 r& s1 T( o5 w6 Q
  402. ; operators. The error level constants are below here for convenience as well as: ]$ U# v3 M5 z, v& Q$ d7 o6 y
  403. ; some common settings and their meanings.$ L' r& R; e9 l5 q$ }
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT: F( I6 P) O3 o5 }
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    + c/ T1 \8 j" i7 {: B7 ?
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    1 N( e# l/ H9 e: h# u4 C2 N
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    - Z2 y* b2 T; Y9 G6 X( Z1 f
  408. ; resources complaining about best practices and coding standards. That's what
    / N' m8 s8 Y1 L3 |
  409. ; development servers and development settings are for., X& Q: b/ D, F# e  }
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 {; H' I( U& ^/ X
  411. ; means it pretty much reports everything which is exactly what you want during
    1 D% Y( K  z  G+ S
  412. ; development and early testing.
    + m6 G/ o) I- H1 e
  413. ;- N2 M# U* Y$ P& v
  414. ; Error Level Constants:
    0 M! B! F; {) x% }  w( g8 Y5 x9 b
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ) {/ R6 s  C+ t
  416. ; E_ERROR           - fatal run-time errors
    6 @: q  }# K$ a3 I" }. q
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % q: F6 X+ [+ {1 j; Y; G0 k
  418. ; E_WARNING         - run-time warnings (non-fatal errors)6 ?2 U: z2 c8 c7 _9 A2 ?
  419. ; E_PARSE           - compile-time parse errors6 C1 z% M6 N7 A1 j. Y# O
  420. ; E_NOTICE          - run-time notices (these are warnings which often result" s8 T# D" O! H. I
  421. ;                     from a bug in your code, but it's possible that it was
    ' Z7 m) x) B% y! a0 f: V# `: V
  422. ;                     intentional (e.g., using an uninitialized variable and
    $ a' t$ M! _$ m& |
  423. ;                     relying on the fact it is automatically initialized to an" Q+ _5 d1 P) h) U& J7 w
  424. ;                     empty string)4 ^+ e4 }8 V) @; h, D+ e
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    3 x5 m) _' I2 L; N* X
  426. ;                     to your code which will ensure the best interoperability
    ) |! ^& h2 |& \4 P6 h
  427. ;                     and forward compatibility of your code+ i, A) O$ z. i) J5 B
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup2 M2 ]4 ?! R' {( D* H+ ?
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 G; k6 B1 s* ^: p: A
  430. ;                     initial startup
    6 z' t5 b* a$ |6 D( L8 \# H2 t
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' x: |  w' M) [, {
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! ~! V7 l7 e1 y; Q# u5 |) W
  433. ; E_USER_ERROR      - user-generated error message
    8 a4 x- m' [/ [* z. J/ j
  434. ; E_USER_WARNING    - user-generated warning message' Y0 z; z; a, c; V  w: G: S
  435. ; E_USER_NOTICE     - user-generated notice message" d/ D6 w: j+ w) T
  436. ; E_DEPRECATED      - warn about code that will not work in future versions, X) A; M9 ^! Y' H7 S# ]/ q
  437. ;                     of PHP
    4 T+ C, O, T6 ~
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings: Q' P+ f6 R9 o% u
  439. ;
    5 h4 v9 p. O  T7 f0 _
  440. ; Common Values:
    * G* R7 w9 ~# q1 K5 w
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ' `+ U! d  W  I- C
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! y' u: p, q3 t
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)& w( i+ W+ d' ~7 {
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( u: |4 B3 h, o! f" M. I+ x8 d
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' y+ {2 ^2 T0 I( U# e" o" c* T
  446. ; Development Value: E_ALL
    1 Z% ~- d( D% d3 o6 w4 u
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 W1 c5 d. ]9 u
  448. ; http://php.net/error-reporting. `9 E& }) J6 T
  449. error_reporting = E_ALL & ~E_NOTICE  b' n% u0 s/ }
  450. % @  [3 B" r* I: D0 A3 Q1 \3 T7 E) i
  451. ; This directive controls whether or not and where PHP will output errors,
    5 O; F* l1 X4 h. u! Z% a& W
  452. ; notices and warnings too. Error output is very useful during development, but+ _$ t% q' b$ ?. y- b/ Z* W
  453. ; it could be very dangerous in production environments. Depending on the code0 k) p* ^: P* ?
  454. ; which is triggering the error, sensitive information could potentially leak
    9 o) @1 ?0 e4 X; t: I, O  K& P0 W
  455. ; out of your application such as database usernames and passwords or worse.3 p+ x5 l8 ~' |* ~" D4 O
  456. ; For production environments, we recommend logging errors rather than
    / v. g  u$ l" `1 F/ @! t$ B
  457. ; sending them to STDOUT.
    / x" u# Q) T" p8 r1 v
  458. ; Possible Values:
    5 A0 ]& P/ ?4 r( |
  459. ;   Off = Do not display any errors
    ) n* ~! e) ?# G5 T" z, o4 Y) b* t
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    . o8 r, {! |, \; m* g, ^: ]
  461. ;   On or stdout = Display errors to STDOUT
    ( k7 z' y' n: q2 N4 y
  462. ; Default Value: On: L/ @/ V$ W- w( \5 T0 Q
  463. ; Development Value: On- @% @( Q) r# ?' t9 Y1 |
  464. ; Production Value: Off# ]$ j. k7 X& a/ o' @
  465. ; http://php.net/display-errors+ Z8 W% V$ t# U" Y
  466. display_errors = On
    ; b4 ]9 m$ Y: y) i6 V2 x  w

  467. ' K/ B, Y: r( b2 b1 N) c& ?6 z0 u
  468. ; The display of errors which occur during PHP's startup sequence are handled) ^, ^$ k* w0 a8 A- R
  469. ; separately from display_errors. PHP's default behavior is to suppress those# c* A) C. Q" `- `$ e4 [3 B; @( d) K
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ! j& U8 j- t, H  g
  471. ; debugging configuration problems. We strongly recommend you7 g/ p3 f) g( C; Q1 n1 M9 d
  472. ; set this to 'off' for production servers.* ]9 U& @5 i! F5 L5 `
  473. ; Default Value: Off& X2 c6 p; \7 I+ n' y: K& Z
  474. ; Development Value: On* M! r. ^# ^! ^# @) H7 x& C; O0 y8 m
  475. ; Production Value: Off9 T! p4 ~& U' p: g- w: b$ m
  476. ; http://php.net/display-startup-errors7 m7 q8 N$ x, R3 |# B( N
  477. display_startup_errors = Off
    0 v1 z6 m  @, B1 ^- z
  478. 1 ]. ^! R! \& F$ x
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    / m1 |& z5 a3 ~' a7 d4 [6 R
  480. ; server-specific log, STDERR, or a location specified by the error_log
    8 B9 v6 z% u* k2 {" G4 Y9 m1 h7 F
  481. ; directive found below. While errors should not be displayed on productions
    , ^- t& H1 z2 A3 w6 M$ Z1 d
  482. ; servers they should still be monitored and logging is a great way to do that.* H9 w" ]/ E, H5 b9 l
  483. ; Default Value: Off
    1 j& G( z/ D7 @! y9 E6 X
  484. ; Development Value: On; I, c+ ?$ I2 _. R( j+ ]2 x
  485. ; Production Value: On
    " ]; w9 k7 y) b& F7 W$ Y  D1 `) s
  486. ; http://php.net/log-errors8 D- L0 W1 E& g! m
  487. log_errors = On9 a9 H% }. {: j1 V" p5 n
  488. 7 w: v1 \9 B/ ~% q% `
  489. ; Set maximum length of log_errors. In error_log information about the source is) }& b6 x0 X  f, f! _
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 ^% w% G# J8 c# }, e0 _8 f8 M
  491. ; http://php.net/log-errors-max-len: w3 X" Q; @! A
  492. log_errors_max_len = 1024
      T9 B6 K: G) m' r+ d2 f) u1 e

  493. , q* {4 _% h) n% k) E1 n# D4 q# F
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , ~# c! P+ l. y' W
  495. ; line unless ignore_repeated_source is set true.
    . o: s5 |# V; h. e. F. i
  496. ; http://php.net/ignore-repeated-errors# b6 q+ C! Z6 h5 P- t
  497. ignore_repeated_errors = Off) @0 C8 Y: n' B$ i% E3 E& s

  498. 8 J( S: V" c9 E3 s4 E5 g) U& J
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    8 c. c/ Q3 H) G% V3 D$ r9 ~9 P6 [
  500. ; is On you will not log errors with repeated messages from different files or
    2 ~, L% ^9 `$ v( u
  501. ; source lines.1 T3 t; h4 O- N( s! [
  502. ; http://php.net/ignore-repeated-source: E( v  ]2 N5 [
  503. ignore_repeated_source = Off
    : c0 s  h7 |9 R

  504. 4 J7 G% P3 \& d* j* n! J
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 J* @3 J) }; |9 e( j* f
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    + Q0 x- Q1 u( Y& r
  507. ; error reporting includes E_WARNING in the allowed list
    . t# M( S0 {3 C" U1 c/ N/ ~
  508. ; http://php.net/report-memleaks2 O" t& ~8 S2 g* A  v# [! i9 B7 m, F
  509. report_memleaks = On
    9 D4 x1 Z& A2 G& L
  510. + D2 E3 h' b  x+ c
  511. ; This setting is on by default.
    ; t0 L# r5 P% s3 j
  512. ;report_zend_debug = 0: w  }1 Z4 ]( M; ^

  513. ) c; i3 X4 X- j0 x8 A9 C
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' H8 r' ~: i/ a1 d1 a9 ?
  515. ; to On can assist in debugging and is appropriate for development servers. It should$ j. X* D0 l) @* b! n& z. }
  516. ; however be disabled on production servers.
    2 z8 A6 S2 j1 C+ k, v2 O- J5 J
  517. ; Default Value: Off. {: U( q" [5 |0 m9 u4 U
  518. ; Development Value: On8 o, h: }5 A! {+ E! @) v
  519. ; Production Value: Off& ?* j' o1 h* ^& \$ T' A5 Z) A
  520. ; http://php.net/track-errors% b0 f/ s& B( c! m  s2 @& }% _
  521. track_errors = Off# c% H( \+ I$ j! o- p* i

  522. 7 {" _7 \% [6 y; b/ K; _7 T
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    : Q2 H! `1 ~0 t# \
  524. ; http://php.net/xmlrpc-errors. ~9 ~9 _) D8 z2 ?( X1 m3 o
  525. ;xmlrpc_errors = 0
    ! u0 }: }  d3 L% x2 N: u

  526. 6 r2 H+ r/ H. l$ \4 Q
  527. ; An XML-RPC faultCode
    5 {+ f" j( v+ R9 ~, g( X/ T4 G
  528. ;xmlrpc_error_number = 0
    3 e% X1 j+ u2 p# Z* A

  529. $ [4 R2 R  S0 z8 \4 P
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    $ ]' M5 M1 ]  Y- V$ F' [4 U
  531. ; error message as HTML for easier reading. This directive controls whether8 W" A: }6 V8 E4 x; h
  532. ; the error message is formatted as HTML or not.
    6 J# x1 H, {" n& ~# ~4 k& b
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / o, A& Z8 t2 n! G7 x. a" F# l
  534. ; Default Value: On& K! P' f+ ?, D! d. `" U
  535. ; Development Value: On# A5 H' X" S8 W: T& n
  536. ; Production value: On% |) ~) H  c& c; I
  537. ; http://php.net/html-errors
    " X3 S6 T: u- }5 E
  538. html_errors = On
    " H; C, \2 a6 P: _& E
  539. , a! B8 ?5 o* h
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , Z; P  \6 s+ s! ?7 ^
  541. ; produces clickable error messages that direct to a page describing the error
    " F' }) w' d. {
  542. ; or function causing the error in detail.
    ) T7 u) d1 n  O5 `: j7 a* {) X0 ?& _
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ( C! }* D$ \4 }" C& E; P7 R
  544. ; and change docref_root to the base URL of your local copy including the
    & ~3 F' O% B6 }& w  Y
  545. ; leading '/'. You must also specify the file extension being used including% g, V/ s6 L1 a8 |5 S" m2 i* w
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ; n* a9 ~& O0 D! {( V
  547. ; case no links to documentation are generated.
      V& i1 M0 j! {9 Z; ]! l
  548. ; Note: Never use this feature for production boxes.
    1 `# ~8 k* a% n7 B7 d
  549. ; http://php.net/docref-root
    # G& A' K' K+ |. X" D
  550. ; Examples
    + l0 M# M" E8 ?) r
  551. ;docref_root = "/phpmanual/"
    ' ]) e) O& H8 E; h' j
  552. 8 Y3 B8 K# M" D* h  f" _
  553. ; http://php.net/docref-ext* H8 M2 G# c- L" F; s: K- q6 k
  554. ;docref_ext = .html5 v, o4 z* i3 k; Q

  555. # K9 D' ]" F# i; I: h1 [; }! c
  556. ; String to output before an error message. PHP's default behavior is to leave
    5 E6 S8 k1 H0 V1 p
  557. ; this setting blank.: m, I8 Z2 K5 ^; B
  558. ; http://php.net/error-prepend-string
    4 P9 F4 O1 T) s- t) F4 A
  559. ; Example:. i% O: i! U: {. r4 Z
  560. ;error_prepend_string = "<span style='color: #ff0000'>"! q" b# F' \# \' e
  561. # i5 U/ J* z9 w" F4 ^6 p9 d
  562. ; String to output after an error message. PHP's default behavior is to leave/ t4 s) L1 J% D2 A- V
  563. ; this setting blank.' X# G; `$ M, @5 s+ m. u
  564. ; http://php.net/error-append-string
    + _. j7 ^* a: H1 i' L
  565. ; Example:& c* U; w6 M/ _9 M2 w  j
  566. ;error_append_string = "</span>"
    ( e+ {# }' P4 @

  567. 6 V' l6 [( N2 T3 T7 F5 M* ~
  568. ; Log errors to specified file. PHP's default behavior is to leave this value5 Q: u9 @* O( \  ?2 h$ C
  569. ; empty.8 o; \, n; W& `) U
  570. ; http://php.net/error-log
    $ h# C2 j& i7 `' W4 S. N
  571. ; Example:
    + H" }7 c, t- ^8 l% ~* D
  572. ;error_log = php_errors.log8 `3 q6 J0 o3 Z8 ?
  573. ; Log errors to syslog (Event Log on Windows).2 v& I( m2 y* ?2 f# ?' T  [
  574. ;error_log = syslog
    ; ^4 v7 l. g* R. q2 R9 ?7 P

  575. ) d( J' v5 L* Y2 S7 }/ b
  576. ;windows.show_crt_warning2 X( d' t2 u7 ^  H* p
  577. ; Default value: 0
    0 w- F! ^% B! F( _/ S1 q# c2 ^% t* ^
  578. ; Development value: 0
    * _4 K0 q( V, ?" b3 k, Q+ s/ h
  579. ; Production value: 06 p# e& w3 \# Q- W. v

  580. 8 w1 E6 M  e4 k* ?3 l# K- S
  581. ;;;;;;;;;;;;;;;;;
    3 n$ p8 T  I) ~
  582. ; Data Handling ;
    " x% Z6 N) M6 c: v3 {# r# h
  583. ;;;;;;;;;;;;;;;;;4 ?6 q# Y: A5 M! |& N; ?
  584. # d8 W- Q8 H) ?  b
  585. ; The separator used in PHP generated URLs to separate arguments.
    ) @; v: k( O' a. g4 {& \
  586. ; PHP's default setting is "&".
    / {6 |( \+ K2 a9 x
  587. ; http://php.net/arg-separator.output$ n# U$ f, g# h
  588. ; Example:
    . h% y$ I7 i2 }5 e9 T7 ]6 q
  589. ;arg_separator.output = "&amp;". g. f  P- ]" x6 t0 S5 o
  590. " _$ B8 b2 P( D
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    0 L/ L! `* q  ?$ B9 P. j& x3 x
  592. ; PHP's default setting is "&".! }; C% t% ]/ ^, D0 e% }8 k
  593. ; NOTE: Every character in this directive is considered as separator!
    $ p5 d( {) v8 G/ q7 a6 T
  594. ; http://php.net/arg-separator.input& t. F2 ~3 m1 t+ X& y
  595. ; Example:
    , q& G* A: Z- r4 U. l0 L5 {3 H
  596. ;arg_separator.input = ";&"$ m, ^; s5 V/ i" D9 M
  597. , e  J4 F; ^  H) D
  598. ; This directive determines which super global arrays are registered when PHP
    - y; {- a/ G# g& X4 t" y# y' Q
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ; K- R7 H) Z3 i9 {, W) U% h) E
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    4 v8 x8 u0 m: x  A" N
  601. ; paid for the registration of these arrays and because ENV is not as commonly  X* ^  m3 _& l6 {3 g3 z
  602. ; used as the others, ENV is not recommended on productions servers. You
    2 w0 l) }) J+ C5 i1 ^
  603. ; can still get access to the environment variables through getenv() should you* ?, m; Q2 `* k2 }& |. q7 w
  604. ; need to.
    / w' n- P2 ?2 v
  605. ; Default Value: "EGPCS"" [7 q9 r1 K! g/ c2 t
  606. ; Development Value: "GPCS"5 s/ `; Q9 G0 f! w
  607. ; Production Value: "GPCS";
    2 t, u! R- z( O7 V6 x" a+ ]
  608. ; http://php.net/variables-order2 s4 G; b# W4 x, ]7 O
  609. variables_order = "GPCS"
    8 n6 D, C' U) z- u% b& V5 Z

  610. 7 C: W% U0 q& j4 W& o7 x$ W! F
  611. ; This directive determines which super global data (G,P & C) should be, V3 M+ U: u$ B2 v0 U$ O! _
  612. ; registered into the super global array REQUEST. If so, it also determines* K+ x) c. C$ I- N% j9 y1 y
  613. ; the order in which that data is registered. The values for this directive
    9 w. n% L% H# _6 s7 m2 r" y- X1 K
  614. ; are specified in the same manner as the variables_order directive,- _" t# d, u4 b; J) W/ g: O8 X
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    % W) g, C' _" b6 s
  616. ; in the variables_order directive. It does not mean it will leave the super
    ! [5 b+ G. {# d& O  g& z% i' V
  617. ; globals array REQUEST empty.
      U+ O" f  f3 h* K8 i) V; `7 T
  618. ; Default Value: None
    / v) K; t, R* q8 i) ]# e) l
  619. ; Development Value: "GP"* |  `, Q% i. b+ Z6 V
  620. ; Production Value: "GP"
    ! w& }! C2 f0 u( ?# `* W
  621. ; http://php.net/request-order
    & N8 M* _' L/ k* O
  622. request_order = "GP": Y: X8 b9 v" e: N% ?

  623. 2 ^" e! y' a  \5 H. L& `8 v
  624. ; This directive determines whether PHP registers $argv & $argc each time it2 p* f: g8 Z" L# k
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    + B& g/ k: |: N3 @9 Y' l9 W
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ) H; X3 D; y- V& B/ ^* Z; E
  627. ; that were passed when the script was invoked. These arrays are extremely
    7 c+ x9 S& J9 _4 u
  628. ; useful when running scripts from the command line. When this directive is
    6 B( L2 E, D% M! w9 k* j+ A' b
  629. ; enabled, registering these variables consumes CPU cycles and memory each time9 b* I: S+ t! ?( R$ }  v% g
  630. ; a script is executed. For performance reasons, this feature should be disabled/ U# C' x8 J, _) }6 B
  631. ; on production servers.
    ( b5 X! F6 J9 ^- I3 l
  632. ; Note: This directive is hardcoded to On for the CLI SAPI+ G, Z) M( p9 k' @: j( u. S
  633. ; Default Value: On1 l5 ^& t/ y2 K7 x+ M) ~& b) E* n1 _
  634. ; Development Value: Off- C2 A( |3 J0 o$ g
  635. ; Production Value: Off0 n4 E/ L& H* J$ O9 h8 \  s
  636. ; http://php.net/register-argc-argv7 {- V3 p: {" z9 S' B
  637. register_argc_argv = Off$ m, Z7 k9 N! \$ c5 m4 s( H* g
  638. 8 M3 h7 i" b8 n
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" V/ g& t/ S' P" f& c
  640. ; first used (Just In Time) instead of when the script starts. If these% e( \* G# J/ w) q; h
  641. ; variables are not used within a script, having this directive on will result2 Y6 ?: v9 g+ q* ^+ D; Z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 Q% X% U( n7 W
  643. ; for this directive to have any affect.
    : R) o  e& j: G) {
  644. ; http://php.net/auto-globals-jit
    ) _2 }# _6 s/ C( ~+ I4 Z. U
  645. auto_globals_jit = On2 U$ |' q" o& s3 n7 I0 _" g3 ?
  646. " x7 I$ a2 Q& ~' N! J* @
  647. ; Whether PHP will read the POST data.
    - N+ T! U4 Q, X: K, L
  648. ; This option is enabled by default.
    " D. y: r, y6 r$ P. s
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + O+ I( n3 @3 N2 F  @/ u8 R* a
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    7 y% z6 C* _8 @0 O. v* @% q) j
  651. ; POST data will be through the php://input stream wrapper. This can be useful0 n: O8 ?9 `' ^! j" i2 C% D3 t
  652. ; to proxy requests or to process the POST data in a memory efficient fashion./ Q7 P- H0 c7 s& \" `
  653. ; http://php.net/enable-post-data-reading0 S& l# |; H+ ]
  654. ;enable_post_data_reading = Off
    ! n1 B2 u' W! Z% D5 q
  655.   C  c8 m' i3 `* g2 m
  656. ; Maximum size of POST data that PHP will accept.9 g+ G1 z1 p3 Z, `
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    4 W. @! E% s6 U5 L
  658. ; is disabled through enable_post_data_reading.5 w$ W: U9 A8 Y+ l
  659. ; http://php.net/post-max-size! A5 U, S' D* U+ X! C& U% o
  660. post_max_size = 50M
    ! ~6 G7 K, ^1 F5 Q
  661. . A9 B$ t; w( k. c* S
  662. ; Automatically add files before PHP document." Y0 x- g% E) M& x$ o
  663. ; http://php.net/auto-prepend-file3 N( b6 I- Y- ]0 J3 V0 L
  664. auto_prepend_file =6 r0 Q  z, W0 F' R6 F
  665. 9 [1 n2 L) @) \$ t! d
  666. ; Automatically add files after PHP document.. W4 K8 y. k2 C$ Q# v  m) w
  667. ; http://php.net/auto-append-file7 \! B" s9 m: z3 K! r# e
  668. auto_append_file =
    " Y" h" v4 E/ K0 D
  669. 7 v0 \3 B8 d+ U+ r" k/ Z3 F' ?* y
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ) \$ Q, {. T7 e) w$ E
  671. ; disable this, simply set it to be empty.
    1 B8 M/ A% [( y8 l: j% C/ P
  672. ;2 o# A# ]( [7 f
  673. ; PHP's built-in default media type is set to text/html.
    ; ~: E5 a% `9 @$ Q. u$ W3 @! Y& E% V
  674. ; http://php.net/default-mimetype
    & x+ W0 w( M+ M0 F& O1 l
  675. default_mimetype = "text/html"
    ( q2 @) q$ ?3 m/ a

  676. + a5 d; Z8 d( O: q( H; B# F8 e- P
  677. ; PHP's default character set is set to UTF-8.! ?- `- S& r; u- n0 q: J4 b
  678. ; http://php.net/default-charset
    , z# L1 }% z4 [3 q% j: i; p
  679. default_charset = "UTF-8"
    * a. Z. N1 ]8 d8 T5 a8 N
  680. $ O6 ]" V2 `0 e; N; R6 g
  681. ; PHP internal character encoding is set to empty.3 B) P) u4 P7 M( a
  682. ; If empty, default_charset is used.
    3 M: ~# d" S4 x
  683. ; http://php.net/internal-encoding3 q" U) V8 n: t9 @6 Y
  684. ;internal_encoding =
    , D; }- o% l. M- ~8 i5 l+ E

  685. ' f  I* l6 [, R7 p
  686. ; PHP input character encoding is set to empty.9 k4 @8 d8 C2 s
  687. ; If empty, default_charset is used.
      K2 {0 g  X5 v; M
  688. ; http://php.net/input-encoding# b4 P) S4 ?, c  h4 K2 f
  689. ;input_encoding =
    7 _+ x3 R9 I. k& d& y5 Z

  690. 9 C3 Y! F/ q+ g; R
  691. ; PHP output character encoding is set to empty.  B% S8 A' K) W- P, r
  692. ; If empty, default_charset is used.: m; o( A" h, L$ @5 T9 S5 R
  693. ; See also output_buffer.; N  p' F4 P- y& T% D: U5 I2 V
  694. ; http://php.net/output-encoding% E+ r8 @' {# H/ z1 \; W" _
  695. ;output_encoding =
    6 p( _+ {! g4 z) R

  696. % c6 b" d6 n- t0 h. o
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is# X5 M1 i) C- |3 }' W
  698. ; to disable this feature and it will be removed in a future version., a7 ]" m, Y9 _+ A" {1 ^; `
  699. ; If post reading is disabled through enable_post_data_reading,# u3 z  p# z8 I+ Y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    & e$ q0 z- q, \, G+ T: J
  701. ; http://php.net/always-populate-raw-post-data
    " T- ~3 R2 v. h- J3 K! {9 k8 V1 v0 X
  702. ;always_populate_raw_post_data = -18 ~# y! {/ l& V2 ]3 c% m
  703. 0 Y! o  M* V$ x% c; ?
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;. w- A* e& J  A7 B
  705. ; Paths and Directories ;! |! V1 w* o# \$ t
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % B# D) H: C7 j7 R, Q
  707. 0 G: }5 H3 u2 ~0 g4 K  U" A) V
  708. ; UNIX: "/path1:/path2"
    + t3 O0 Y* J! [  s. J. v& q
  709. ;include_path = ".:/php/includes"
    9 V* s! N9 Z8 W( N2 l+ J2 n% v) C1 G
  710. ;0 D8 ?; J, {$ a) x! A' Y6 p
  711. ; Windows: "\path1;\path2"
    0 t) d  M7 ]2 {+ ]
  712. ;include_path = ".;c:\php\includes"
    2 t8 r' V& g' o3 N( V/ y. f
  713. ;
    4 n4 @8 f% w7 ~0 Q0 [/ H
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear") L  T, k! _5 D( G
  715. ; http://php.net/include-path
    ! a+ j; A0 H- [! y5 u

  716. 3 ]; `) c& j7 X3 E( a/ {8 S
  717. ; The root of the PHP pages, used only if nonempty.
    * c, ]/ B( ~- K- |3 v8 k" g
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& e4 `, I9 k! `1 v6 e
  719. ; if you are running php as a CGI under any web server (other than IIS)
    9 A& {) `8 Z$ l( _; T8 c
  720. ; see documentation for security issues.  The alternate is to use the
    4 I! B4 A* C. E2 `  @- k
  721. ; cgi.force_redirect configuration below
    0 u0 t/ F' x3 {  a; q
  722. ; http://php.net/doc-root
    5 N, h) F$ U5 v3 d5 a9 Q. U
  723. doc_root =
    ! J/ e: o& c' K/ q8 I8 s

  724. * J8 n7 H  i5 c" {, M! v; g8 r' v
  725. ; The directory under which PHP opens the script using /~username used only7 b: y3 x9 T8 U1 Y- G0 B: a. ?
  726. ; if nonempty./ N" s/ v/ y% a6 j* Y( g
  727. ; http://php.net/user-dir
    % T, ?4 X8 ?1 u
  728. user_dir =
    5 ]" e/ s8 m& `# p2 w  b# q
  729. $ Q; ]& Y+ N9 q& s- t+ A( Q4 }
  730. ; Directory in which the loadable extensions (modules) reside.4 C9 Z9 H1 M( y' Y
  731. ; http://php.net/extension-dir, Y& I8 W7 @0 I# y  j& y
  732. ; extension_dir = "./"
    - L2 s8 v8 h* j$ D
  733. ; On windows:
    3 X3 Y3 z$ k  g
  734. ; extension_dir = "ext"2 q8 `, m9 Q9 p) |+ v. k5 g; j+ ^- U
  735. # T# j& Y; }( u7 [+ m# F
  736. ; Directory where the temporary files should be placed.- g% y" Y% I/ O4 c, h- ]: P+ M
  737. ; Defaults to the system default (see sys_get_temp_dir)9 F/ W. v3 A5 O+ ?) s( {0 J
  738. ; sys_temp_dir = "/tmp"
    3 _  Z. b3 @3 ~( g8 j" R

  739. % z% R# W  x/ q5 A; g
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work8 l  U( G. \; m. }9 g: O3 c$ \
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically9 ^  B- B: o3 V+ M
  742. ; disabled on them.
    $ o  O: T+ y1 ^- G/ d0 h
  743. ; http://php.net/enable-dl7 w/ J  c0 y& {. b' |* R  r
  744. enable_dl = Off  S7 N" A$ h+ P7 s

  745. 5 \0 ~; o6 e* h, }
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under- l; `7 v9 K: k9 W  `! ~
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 \; O* n! S0 f6 F3 r/ Z$ ]: D
  748. ; turn it off here AT YOUR OWN RISK/ J% J3 {$ _4 o) Q& s! C
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    # `' l( n4 Z) {$ e
  750. ; http://php.net/cgi.force-redirect
    . M+ p; h" A  |: H
  751. ;cgi.force_redirect = 13 p' Z6 W  T% i, C8 x$ c

  752. # U" V9 b3 F4 M
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& h  Z2 U, B; d6 h
  754. ; every request. PHP's default behavior is to disable this feature.
    + ]3 @/ k( C) g/ _' B) b
  755. ;cgi.nph = 1
    6 h2 G9 T2 V$ x3 b" x! _6 T- q

  756. / G% ^4 j4 V( f9 B7 i$ H
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 ?) m  J* a$ P4 k. J3 s# W, j
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    " Y8 Y) N( D3 `+ n9 S  p; k6 F# h! {
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * G* Y4 R# i3 s' X
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) X; A. }/ ?0 B  x/ n* v8 @
  761. ; http://php.net/cgi.redirect-status-env8 U# W/ K: K. q' F  p! U% B
  762. ;cgi.redirect_status_env =( W0 p; I/ v8 T0 _0 f$ e

  763. 6 w# \" c, u' R7 y! G! X0 q! F" Z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's' V7 z) b4 S2 d+ Z: I) D4 q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    . x" X$ g: O, ~) S% @" V( E0 R
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    4 @! [5 D8 d& t! F% ?4 y
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 w5 `2 U, q) a# }9 g# \' ~
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts9 r3 t8 g5 x8 o# ^( |  N, B
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    6 P5 U# p$ W  z1 z
  770. ; http://php.net/cgi.fix-pathinfo! t2 ?# g' H+ b4 M1 T
  771. cgi.fix_pathinfo=19 S& o8 U, H  f- C: n4 w

  772. ' a+ h1 V& Y, q/ I" ?8 i
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside8 f1 M" V+ `0 e  t( N# u: p+ R6 {. L- {) x
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    & @" b- z& ^& |
  775. ; http://php.net/cgi.dicard-path
    1 _9 i, V! f% V" f8 o1 s
  776. ;cgi.discard_path=1
    9 v7 H' K; U0 u' e
  777. ' z5 F) e3 G0 G! \5 O! x9 J' h$ F
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate5 Q9 L% K" o8 t5 ~, L) i# \
  779. ; security tokens of the calling client.  This allows IIS to define the" q* S- D" n8 ^4 m: D  i! H( O
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    8 k' J4 B+ @( a" I( z
  781. ; does not currently support this feature (03/17/2002)4 D/ B  Q$ p3 k3 e4 V& m$ J1 s
  782. ; Set to 1 if running under IIS.  Default is zero.
    $ |3 Z: a$ B" D9 ?* k  u* b
  783. ; http://php.net/fastcgi.impersonate
    ; [) i8 j' _6 @; Q1 U- q0 F, I
  784. ;fastcgi.impersonate = 1
    : k- C; g% c! d) Y  t( |. [1 F

  785. ) P+ l4 R+ E% t0 z
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* y" A7 ]4 A/ C+ q1 V
  787. ; this feature.7 l* M2 M4 Y1 ~2 c" x6 B  n
  788. ;fastcgi.logging = 0
      o) t! S2 x) \- y# d

  789. ; Y. p  q3 x7 D& p2 W2 p
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 s* ^7 \8 |6 C4 U7 P
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    0 ~& H9 y2 r- Q1 A. m
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ! p' Z- D' b1 p+ G- v
  793. ; RFC2616 compliant header.
    9 c6 R6 U/ }" P
  794. ; Default is zero.
    4 U7 `; X# T0 N. n7 J" o
  795. ; http://php.net/cgi.rfc2616-headers+ @% g* k# @" x
  796. ;cgi.rfc2616_headers = 0# G% {+ r, |7 ^& ?
  797. 9 Y( l% B& o/ @, z5 r, q( [" N) W
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!; R6 g% C2 i8 g3 a$ x2 I
  799. ; (shebang) at the top of the running script. This line might be needed if the4 O  ^) D8 q( z) t% G
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI. a/ |( L& [- }3 @; V7 p! I
  801. ; mode skips this line and ignores its content if this directive is turned on.
    9 L+ u0 n/ Z  Z. U1 {$ [2 i& _6 q/ F
  802. ; http://php.net/cgi.check-shebang-line
    ' I( k3 e/ I4 J% z
  803. ;cgi.check_shebang_line=1
    0 u6 _- L9 {3 d3 Q" x0 H- A

  804. 2 f1 g" e3 W' v3 N( O. m
  805. ;;;;;;;;;;;;;;;;9 E5 G0 n$ d" o/ ]% i/ z" Z
  806. ; File Uploads ;$ j+ p, `$ @6 P' |
  807. ;;;;;;;;;;;;;;;;# r2 P6 M. u3 ^6 @

  808.   r3 r7 Q' @" }- Y; s& d
  809. ; Whether to allow HTTP file uploads.$ T; f+ ]+ y  R  k5 w8 ^
  810. ; http://php.net/file-uploads
    # S# m/ V- X9 Z
  811. file_uploads = On) }3 f: H$ u6 `

  812. . u) f2 O3 E5 L8 }( W2 w7 k* I
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    % Y" H8 n8 d2 g  b
  814. ; specified).
    6 [1 ]1 U0 Q% v1 b
  815. ; http://php.net/upload-tmp-dir: I& r) d) Q) m6 q( T, v' }
  816. ;upload_tmp_dir =
    1 i5 {5 u6 L0 V
  817. ( d6 X4 ]8 D3 r+ U8 O, |% z; i2 ~
  818. ; Maximum allowed size for uploaded files.
    0 M1 ^7 @3 o% s0 g. R
  819. ; http://php.net/upload-max-filesize
    7 `6 a' z4 O5 A9 T" q
  820. upload_max_filesize = 50M7 d/ c/ z  K; T' Y" ?) m9 a. J9 Z

  821. 3 i" \) V1 G5 W$ L! ?) f
  822. ; Maximum number of files that can be uploaded via a single request/ e1 m5 B4 L+ H- }9 G" I1 h
  823. max_file_uploads = 209 n4 U8 f) x' g' _. T- s, L! H

  824. ; [6 f% w8 r: U" l( h. j0 b
  825. ;;;;;;;;;;;;;;;;;;+ B5 r* A5 q6 O% ^8 N, e8 M
  826. ; Fopen wrappers ;
    2 O7 c6 Z* Z8 M2 [7 B
  827. ;;;;;;;;;;;;;;;;;;+ g/ L/ t( o* U, z/ }+ r. c, d
  828. $ X9 X& I$ N5 O! G
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.2 f( E6 y# E1 p8 \
  830. ; http://php.net/allow-url-fopen
    ! `) M8 j- u: g) Q" y$ F5 j
  831. allow_url_fopen = On& g$ X6 R' k. p) e9 B6 U( Z4 ]# i
  832. " y" y0 K8 P8 ~, ^( j. N- F: C: I
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& R% D2 x' D5 i: O
  834. ; http://php.net/allow-url-include
    ! [2 S! \3 j) d* t) G* d: ^
  835. allow_url_include = Off
    8 }- {4 ~$ }' y3 P  w- `

  836. * Z; V8 H/ L, N
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    : u! a1 e! f/ `! y' L+ q7 P0 m
  838. ; for this is empty.3 |) U& u8 O/ t) E/ V
  839. ; http://php.net/from
    4 V6 i5 n4 P' p& {/ R
  840. ;from="john@doe.com"% d6 u2 q4 j8 N; S
  841. ) W/ g' _: J8 |4 l1 q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    * F2 @; i% X8 Q9 _1 v  V' e2 ^6 F
  843. ; http://php.net/user-agent
    ) R' ~4 H% v, g, W! E1 x
  844. ;user_agent="PHP"9 o! E" k, ]  r/ \- Y

  845. ( K" A* j- K# p
  846. ; Default timeout for socket based streams (seconds)% u/ t8 {! w2 p
  847. ; http://php.net/default-socket-timeout
    & K0 ]9 o/ }$ g6 K/ w0 ?0 I0 k
  848. default_socket_timeout = 608 x; d$ a% [5 J

  849. 8 V/ e4 [1 i8 @, ?* m$ P( C
  850. ; If your scripts have to deal with files from Macintosh systems,3 S: H, @9 t+ u5 `2 X7 o% V
  851. ; or you are running on a Mac and need to deal with files from* ]& W% O1 t8 q" K( j: m
  852. ; unix or win32 systems, setting this flag will cause PHP to- t8 W9 z- d$ O) r+ C
  853. ; automatically detect the EOL character in those files so that
    * c" ~, x  g# u
  854. ; fgets() and file() will work regardless of the source of the file.) \$ j) y2 w9 ^  S& L
  855. ; http://php.net/auto-detect-line-endings) J, M) Y' w  \  D5 ?# M0 e' z" f
  856. ;auto_detect_line_endings = Off4 R0 ]) N) H% Y. Z, E6 ]& y/ X
  857. * Y- K) ?) H" Z* B
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ) L' D9 P) \4 H! e$ j8 i% X  }
  859. ; Dynamic Extensions ;
    * ?" \3 R8 L" I0 A: K
  860. ;;;;;;;;;;;;;;;;;;;;;;
    7 T1 ^" H3 w0 H8 x% G
  861. " P7 h" f3 v  Y
  862. ; If you wish to have an extension loaded automatically, use the following% w  {9 h; ~+ I) _. s
  863. ; syntax:1 h+ h7 Z6 w1 d6 F, e/ u
  864. ;1 b# v3 N3 p8 R1 q- s2 i
  865. ;   extension=modulename.extension
    $ }3 j8 }4 P& S2 ?
  866. ;
    7 A; ~, v& M) ?
  867. ; For example, on Windows:
    9 ^0 \8 k4 ^8 Z; l' ?2 \& ?
  868. ;
    , ^' M9 g( C+ u0 b4 ~, A
  869. ;   extension=msql.dll- H' ]! o  v, k5 Q
  870. ;
    4 n1 A) t4 R, p, l
  871. ; ... or under UNIX:  ]; |6 Z9 d2 @& ?6 j
  872. ;; m! U9 s+ Y# D, m6 l: V/ N4 J- p
  873. ;   extension=msql.so& ]: |+ f+ k! Q' X7 H
  874. ;: z- @! W4 W, h+ A. p$ S9 X8 t* {
  875. ; ... or with a path:
    , a* W/ \9 o' @: }  ?5 O
  876. ;
    . _4 m0 P# \( a6 I
  877. ;   extension=/path/to/extension/msql.so8 O  y2 V3 d3 C1 v4 ]5 x) j7 m
  878. ;
    - N. o, _9 _' `( [
  879. ; If you only provide the name of the extension, PHP will look for it in its# ]. a' I0 K3 E. k( p8 {
  880. ; default extension directory.) ?" N% O* I* d1 r( p
  881. ;; c+ q. _6 Z3 ^; A' `
  882. ; Windows Extensions$ u' u& g9 Y5 e
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    , `0 K, C; w6 d1 P" @3 K6 B
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    6 h' G, G  _" Z# ~1 u% a3 Z
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).9 X" O0 a) E6 @  ]5 h! I
  886. ; Be sure to appropriately set the extension_dir directive.
    + _. F! y. M5 R
  887. ;2 l* u; C( T) h, A% K: C: q! M
  888. ;extension=php_bz2.dll9 e+ _6 x) Q6 n- ~8 R" B
  889. ;extension=php_curl.dll
    ' W0 N3 `9 \+ T
  890. ;extension=php_fileinfo.dll% ?  p- k; |% a) Z( A) F. ?2 ^/ F
  891. ;extension=php_gd2.dll
    ! H: P! h8 P, b
  892. ;extension=php_gettext.dll
    . W( P: A1 t# W  |& L; p& I+ p' o# o$ G
  893. ;extension=php_gmp.dll+ }# s7 ~- F3 b8 H6 V
  894. ;extension=php_intl.dll' u& c9 J- ^8 }- |  p
  895. ;extension=php_imap.dll
    . c# \- v9 M. `9 l- Q
  896. ;extension=php_interbase.dll
      G! S4 ^; }- }2 C& j: N8 j" R, D
  897. ;extension=php_ldap.dll
    " @8 |+ h9 e/ O* o$ Z; k
  898. ;extension=php_mbstring.dll( ~# r9 L: M% ^- ~0 _7 [
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    2 s$ T, v: l. ]) o. J1 e  R: E* u7 H
  900. ;extension=php_mysql.dll. O4 u/ }' U+ ]
  901. ;extension=php_mysqli.dll
    9 B1 i  L$ r* ^3 h! }/ G
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( {2 l3 @/ P  E2 j
  903. ;extension=php_openssl.dll
    , J5 C4 e( J$ D: R* o" }: S0 E
  904. ;extension=php_pdo_firebird.dll
    1 [* Z7 U% f  U. f, @+ x
  905. ;extension=php_pdo_mysql.dll
      [, k; k' [+ M  D- p  ?
  906. ;extension=php_pdo_oci.dll9 K) _& C. {; E5 R( R* u* Y
  907. ;extension=php_pdo_odbc.dll
    - y- v2 g" X, @! |$ ^9 m; Q
  908. ;extension=php_pdo_pgsql.dll8 _4 }  M, x4 ]* U- e, B! A
  909. ;extension=php_pdo_sqlite.dll9 `7 A2 j5 P, s% s6 e
  910. ;extension=php_pgsql.dll& w+ o; N6 ~+ k4 [6 d" d: ?
  911. ;extension=php_shmop.dll1 K7 q' J( u  E0 a0 I8 W/ s1 F+ f

  912. 0 B2 `7 o& R# H: \: M! l. Y" i0 N& S. `
  913. ; The MIBS data available in the PHP distribution must be installed. - k' ~. `* Y2 g0 `9 c6 r7 K
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    5 c" X" H' w- N' O. {% K
  915. ;extension=php_snmp.dll4 m7 F! }  x# t+ c, f6 a7 k' R  q

  916. : d! F3 p" ^! c! z5 [8 f! U( a
  917. ;extension=php_soap.dll
    ; k, N: T+ A+ q6 R: U4 L- b1 I  X' b
  918. ;extension=php_sockets.dll
    0 c% E1 s0 H4 `. v- R/ L. X
  919. ;extension=php_sqlite3.dll
    & y# V3 Y1 n+ R9 V
  920. ;extension=php_sybase_ct.dll
    0 {& Z; y2 H/ w3 B
  921. ;extension=php_tidy.dll
    9 ?/ T- K: X4 I8 O- h, [
  922. ;extension=php_xmlrpc.dll
    / ~9 s' [% N9 O" V, o
  923. ;extension=php_xsl.dll: N5 P5 a& r6 q+ e

  924. ) ]& T2 |) U7 R
  925. ;;;;;;;;;;;;;;;;;;;
    $ g- K# v/ V7 J- c/ R
  926. ; Module Settings ;9 e, f0 x! G9 F  h
  927. ;;;;;;;;;;;;;;;;;;;
    3 ^3 |1 D1 r7 r' Z. I/ I
  928. 5 M  C! X$ y7 Y
  929. [CLI Server]
    % i( E+ e8 _' Z3 D4 w
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.# s# Y# V% z! X. F
  931. cli_server.color = On
    ) s. e, j( s0 H( a) h( z
  932. ( i0 ~% ?5 U, M6 x# f% E
  933. [Date]
    $ y( N/ o+ R2 r
  934. ; Defines the default timezone used by the date functions! U  J' R- O! m
  935. ; http://php.net/date.timezone
    % t( ]7 Z  q0 S) j
  936. date.timezone = PRC7 R/ d# p- @( H) ]
  937. / J! o- b! @; E- d8 E
  938. ; http://php.net/date.default-latitude
    / A5 \; B& t' `( p
  939. ;date.default_latitude = 31.7667
    7 ]# D( _$ d$ q- \2 r* t' k1 A

  940. 5 T6 K0 W5 T5 u4 g. W  h0 o: k
  941. ; http://php.net/date.default-longitude9 U3 L! T6 u& P8 _; e2 ~' b
  942. ;date.default_longitude = 35.2333
    + [) ?9 d% T/ ^+ S. @7 y: l: ^5 G
  943. / G, P  w' _( j  x2 V
  944. ; http://php.net/date.sunrise-zenith7 ^) r  T; y% G. [/ \1 J, l2 p0 B
  945. ;date.sunrise_zenith = 90.5833331 K/ i1 k+ N8 r% X  q, [# ^

  946. , {7 L. j* @! ~) ?% B& Y" |
  947. ; http://php.net/date.sunset-zenith
    / c- @, n. Y4 `" r
  948. ;date.sunset_zenith = 90.583333
    " A; L# _2 N+ [' P+ {# _

  949. 7 e9 k0 T0 N% ^& W# t8 |1 X
  950. [filter]& W" u: w. `" F# f! b1 h/ {
  951. ; http://php.net/filter.default
    $ J1 \5 P# b. F1 I- ^6 W
  952. ;filter.default = unsafe_raw
      d3 v: X; q% k0 `' J! a

  953. + y% L( Z" T' U& O. k2 h
  954. ; http://php.net/filter.default-flags
    - V6 s0 L- Y' ~1 Z$ u$ a
  955. ;filter.default_flags =
    8 }( |( [1 d. t5 }- C- Z% S) W

  956. + k4 H& [# ^/ P
  957. [iconv]& t; H8 E- i; R
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.- y/ C  d' [3 h) i
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.. O9 H, {6 h3 h1 o5 I" [6 `# A6 p) R
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding8 D% L. v" w6 @3 f
  961. ;iconv.input_encoding =
    ' h5 r5 S" a6 C; U! p1 [2 @
  962. 3 O; n3 r/ ^9 S, O/ P" |2 D
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) f4 ]  L2 a. n8 e
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  p* ~" Y- i! T* E# t
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; _3 G+ l4 j2 O7 v
  966. ;iconv.internal_encoding =! [9 N* h5 K1 N2 n; N  v

  967. + N5 `4 A6 k9 a- u
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    * d7 U8 ^- ]$ Y2 v0 w( ]
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 k1 r" W% E3 k' ^2 o9 X3 e3 j+ U
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding: _3 L1 o% ]% {! ~. F
  971. ; To use an output encoding conversion, iconv's output handler must be set
    9 j( ~7 e$ j' e! k
  972. ; otherwise output encoding conversion cannot be performed.
    ) ~" a, \1 z+ s, q( K" G
  973. ;iconv.output_encoding =% x5 S5 E3 s- U: \7 o/ C4 e& f6 B1 n" ]+ v
  974. $ R+ i' j" g& {% u3 N/ l
  975. [intl]) r  {7 A# `6 T  |
  976. ;intl.default_locale =
    0 K7 U8 e7 E5 C
  977. ; This directive allows you to produce PHP errors when some error5 r  Z: I, i) B1 _
  978. ; happens within intl functions. The value is the level of the error produced.
    7 C7 u/ |0 F+ P! A+ ]# u' S5 R
  979. ; Default is 0, which does not produce any errors.  W# E. G* a% g) t; F4 q8 _
  980. ;intl.error_level = E_WARNING
    " b# g8 I3 c9 i8 Y7 Q3 J
  981. ;intl.use_exceptions = 0" Z5 T/ x# ~- b9 r9 _  C
  982. , Y  x3 i4 f" H8 @, m1 l
  983. [sqlite3]
    + W& l' r2 E+ F' J
  984. ;sqlite3.extension_dir =) i8 {; v2 B9 T$ S# u
  985. 5 f! L! R/ T- m( f& J1 J9 R* X
  986. [Pcre]
    " \. y( h4 f4 V8 D! N
  987. ;PCRE library backtracking limit." i- G+ I  y1 f% @# G
  988. ; http://php.net/pcre.backtrack-limit
    . y5 k# _: `1 b% o
  989. ;pcre.backtrack_limit=100000, x' }' r0 ^4 d+ w; ]
  990. , b7 d& p0 }0 O3 u, Z3 V1 ^
  991. ;PCRE library recursion limit.4 M* G1 w' `5 q5 Z9 _) f! g! v
  992. ;Please note that if you set this value to a high number you may consume all
    9 r* U; F. z, x" j/ V! s
  993. ;the available process stack and eventually crash PHP (due to reaching the; [. g! |% W4 b; O/ s' c; m' ?% @) t
  994. ;stack size limit imposed by the Operating System).7 c6 U# L5 _7 z# f! e$ W0 n6 a
  995. ; http://php.net/pcre.recursion-limit2 V+ M9 P* Q! _) {0 c4 j
  996. ;pcre.recursion_limit=100000
    8 U# u$ g1 p. p; f
  997. ' J- A  W- G  P6 B8 k
  998. [Pdo]6 _9 N8 j' A4 x9 x
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 k8 o6 x9 \/ Y) O0 a
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ! ?; _  c) B8 d& N; N+ j' O
  1001. ;pdo_odbc.connection_pooling=strict
    + C# r! k) u) z& `4 ~+ r

  1002. / @5 ~7 U2 ~: r; _. d
  1003. ;pdo_odbc.db2_instance_name
    0 d- \1 g  ?5 H6 C1 S2 O# N

  1004. ' k+ I0 ?. \+ \& w
  1005. [Pdo_mysql]
    ' h( [2 `, R3 F9 x' r* ~2 B
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + B. u3 [. `$ j4 P0 P6 u# C
  1007. ; http://php.net/pdo_mysql.cache_size) I  f" Y$ }6 V4 ]* P
  1008. pdo_mysql.cache_size = 2000! B5 }: T) ]2 L; x& o
  1009. 1 O5 F7 }# g  Y0 S
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; Z, W$ M0 @  Y+ F* O
  1011. ; MySQL defaults.; A8 j5 {$ Q5 n+ y5 X* I) t  D, Z
  1012. ; http://php.net/pdo_mysql.default-socket( ^  B. U! O1 ?* ]
  1013. pdo_mysql.default_socket=. ^( o6 Y! w6 g: s

  1014. # ]* T3 U( V8 q# Z# [, n5 b
  1015. [Phar]
    8 n( o7 D5 g0 l3 i- B" N
  1016. ; http://php.net/phar.readonly
    " y; O* K' U/ N3 M8 d
  1017. ;phar.readonly = On9 a  o) j4 [; `6 s% q6 \, u: n
  1018. 0 ?% K1 P" m' H- q4 P: ^, p# w
  1019. ; http://php.net/phar.require-hash( i, f# X5 {) r. s; K
  1020. ;phar.require_hash = On
    3 O( ~! k3 x$ [; j

  1021.   K7 k4 {! L9 Z: P0 P
  1022. ;phar.cache_list =9 d0 [( @7 @) i

  1023. 3 u& m% b$ A0 U9 r5 ^% G8 {! m. @
  1024. [mail function]$ U0 L. y( r& Y7 @/ n8 g
  1025. ; For Win32 only.
    ) K  E/ z8 a  V6 H& A
  1026. ; http://php.net/smtp! K. E/ y4 l2 X2 {/ y- @
  1027. SMTP = localhost
    0 |: q0 `* ?& G& C
  1028. ; http://php.net/smtp-port; ^8 a5 t; z4 T5 P$ ^7 X" v4 I
  1029. smtp_port = 25
    / h( ^' S' t7 I1 u. h0 O( y/ u2 A
  1030. * X5 B& r9 t/ Z6 O" C
  1031. ; For Win32 only.
    ( N! o/ t. k& y5 D3 |/ k
  1032. ; http://php.net/sendmail-from
    . P! T2 f. z; T% d6 M) V; J
  1033. ;sendmail_from = me@example.com$ r5 k  Q6 F1 o1 _' i4 f  G2 o

  1034. - @. H6 X& n' t( }. I" [
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; L% \! N  D" v# d4 k
  1036. ; http://php.net/sendmail-path
    7 S9 {. O. X& @6 g
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ! l+ r& a( k* B% F" Y  H

  1038. 2 t4 z4 B" e6 w, G
  1039. ; Force the addition of the specified parameters to be passed as extra parameters( ^. D- f" j  z/ `9 ~7 Y
  1040. ; to the sendmail binary. These parameters will always replace the value of
    $ t9 g+ J* `7 U' W, [  z0 W
  1041. ; the 5th parameter to mail().. M$ v+ i3 ^& X0 |7 w; y
  1042. ;mail.force_extra_parameters =
    ) V; Y' p8 U* _0 T. H, l
  1043. ( A. F: @7 v# @: w) w
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( t: D" o+ _1 ?  K3 h9 i
  1045. mail.add_x_header = On
    7 G/ e& E" Y6 s$ g
  1046. " r/ H5 l$ K+ h" d* t0 V% O% v
  1047. ; The path to a log file that will log all mail() calls. Log entries include
      Q1 p* `9 X" z: g) W+ C
  1048. ; the full path of the script, line number, To address and headers.! @; ~4 z$ k, \! P
  1049. ;mail.log =2 f8 Q* u# n$ r' W
  1050. ; Log mail to syslog (Event Log on Windows).
    / e8 b; h& ?, M* M5 m+ L, }" j
  1051. ;mail.log = syslog( e' B# M, y0 x# a
  1052. # l& M" [7 }- y/ z
  1053. [SQL]4 }8 H+ R: w! R4 I& G  k7 J* f  L
  1054. ; http://php.net/sql.safe-mode* R+ H' X9 d; Y. Z( Q& k% G
  1055. sql.safe_mode = Off( L5 U; R- L6 L7 l

  1056. / m) @" f2 ?7 b% K
  1057. [ODBC]  l  q: M; I9 q, ]
  1058. ; http://php.net/odbc.default-db
    3 A* R& j, Z* w% z, j  o* \- l# G
  1059. ;odbc.default_db    =  Not yet implemented
    9 [5 s7 Q$ \0 F9 k

  1060. ! P% K! Y3 Z* Q* o& U1 s3 L
  1061. ; http://php.net/odbc.default-user
    . Z3 r9 \6 p  J2 U( b3 I2 K
  1062. ;odbc.default_user  =  Not yet implemented
    - a( }) N! O& {8 L9 x
  1063. 9 }+ {0 J8 x' P& S3 @# t; R$ Y
  1064. ; http://php.net/odbc.default-pw
    4 a% w+ X# i  B" D. T; {
  1065. ;odbc.default_pw    =  Not yet implemented" X, G: k' U: ~& N3 R

  1066. ( r+ A& m4 w  o1 h; s1 N. ]. F
  1067. ; Controls the ODBC cursor model.2 ]# s# `7 y$ ?* k% ^4 Q- Y
  1068. ; Default: SQL_CURSOR_STATIC (default).
    , M7 `- w& B, {7 d8 T& d2 S9 S
  1069. ;odbc.default_cursortype
    $ i% p; z* u$ }* |8 S" w/ [# G, H2 U
  1070. % g" k6 X5 C: L$ M/ i6 J" y' U
  1071. ; Allow or prevent persistent links." ]7 i0 A# y9 u+ A' p
  1072. ; http://php.net/odbc.allow-persistent! Z' g6 e( F5 b; t+ J# r0 O7 U
  1073. odbc.allow_persistent = On2 T4 e3 i" e+ y

  1074. ) k' w. X6 \! y* t3 _! k4 }2 I
  1075. ; Check that a connection is still valid before reuse.
    $ M6 }: \3 W9 B' s7 L
  1076. ; http://php.net/odbc.check-persistent+ m# k) T& H$ o/ J1 @5 g
  1077. odbc.check_persistent = On
    + l$ o+ v& u( p: Z7 B5 K0 T* Y

  1078. 7 A% X0 l  b+ C1 Y& w# a4 i9 V; G
  1079. ; Maximum number of persistent links.  -1 means no limit.: H+ U. w) U: d% q3 E$ u- M
  1080. ; http://php.net/odbc.max-persistent9 G! |6 ~8 e7 t/ `+ \* {$ q; |3 H
  1081. odbc.max_persistent = -1$ e' d, Y9 D: a: |+ `0 G

  1082. 9 w! J" ^, y7 s2 l+ s, n9 a
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  C4 j$ r5 M6 g# U: V0 R6 R" d, b
  1084. ; http://php.net/odbc.max-links
    2 T% E' a0 A% D- g9 P+ ?+ x
  1085. odbc.max_links = -1
    - _' f9 w$ w- e" u7 L7 H

  1086. & t& l6 z8 f6 C! s% x9 q
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means, y* U, D2 x! d' v
  1088. ; passthru.
    3 f7 V! q; y0 n* K: Z! ?9 ^; ^
  1089. ; http://php.net/odbc.defaultlrl
    ) X& l2 u. w5 p" K  t5 W' C
  1090. odbc.defaultlrl = 4096% ^8 G; y! R" N$ p* r
  1091. ' Y* o5 c$ u+ K3 h
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char." a4 `) \# F0 ?' b
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation7 O, }& k7 W# G8 K1 x( F% r& E
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode) Z" W: U# R7 h0 U) d# j
  1095. ; http://php.net/odbc.defaultbinmode3 R5 Q2 N( r! ~5 L  s8 k
  1096. odbc.defaultbinmode = 1
    , A+ H& a4 C' g, j4 \4 h* h; H

  1097. : N; e9 ?5 F7 m( J7 \' H7 |
  1098. ;birdstep.max_links = -1
    ; a7 V, A1 q5 X. n
  1099. ' M/ Y/ O% C. @+ s) B" F- p
  1100. [Interbase]* O6 T3 y+ h/ C9 @' u2 j: d
  1101. ; Allow or prevent persistent links.
    : R2 t+ n8 i) r, C( g- t
  1102. ibase.allow_persistent = 1
    * A+ O( e" U5 u4 A; {/ ^' \
  1103. , ?$ B% B+ F& ?# H+ Q
  1104. ; Maximum number of persistent links.  -1 means no limit.
    6 T% W: R. d# D- R7 q6 V
  1105. ibase.max_persistent = -10 o% s9 l& X1 ^+ N2 D
  1106. $ T: G4 N4 U4 Y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." g2 J# H4 u' S
  1108. ibase.max_links = -1
    , `0 n9 i% Y" M
  1109. 2 z) i. |2 h" E2 u) ^& \8 q- i2 R# H
  1110. ; Default database name for ibase_connect().
    ( E7 |+ E" m" F% i. c& _: P
  1111. ;ibase.default_db =
    / O; K. t5 s8 [& b6 [

  1112. ' ^3 b+ L5 p8 `. @: v- b
  1113. ; Default username for ibase_connect().5 ]$ B+ d/ `, |. Y/ S# z( ]* V
  1114. ;ibase.default_user =- m" n) W  H3 N. Z' o* L
  1115. . V1 U" G) a' |0 X. \
  1116. ; Default password for ibase_connect().
    5 R' t4 F/ }. Z& m! B
  1117. ;ibase.default_password =
    1 t  `+ X. p4 _" j

  1118. ! _6 U2 C  v0 {4 W) S9 J
  1119. ; Default charset for ibase_connect().! z0 q& S  v% j9 K  j
  1120. ;ibase.default_charset =
    + Q7 p$ j$ `: t
  1121. ! c$ q6 w4 T. v8 d
  1122. ; Default timestamp format.
      h, P- y, `4 K" {0 `2 q  Q
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! a( l- t2 ^5 J& [

  1124. / w7 k7 z3 D% n2 s, f4 D; x
  1125. ; Default date format.
    4 d2 I/ j: O% Q7 }
  1126. ibase.dateformat = "%Y-%m-%d"
    1 `2 j6 i0 l8 d$ x. V( |

  1127. ) C% Y* O' W- G3 C( ^' A
  1128. ; Default time format.8 R9 g1 b: g8 |/ |% Y
  1129. ibase.timeformat = "%H:%M:%S"
    $ \( G* j0 Y. W

  1130. ( q- N7 V3 I$ f. R6 H) W
  1131. [MySQL]) n2 J* p7 ?2 W% S' }
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' Z2 ]( s8 ~9 d  x% z. p( x% C
  1133. ; http://php.net/mysql.allow_local_infile6 O5 d+ `* ?! G
  1134. mysql.allow_local_infile = On- C$ u- m0 ]2 D$ _, x  C
  1135. / m/ g0 C& @* A' c, u, X
  1136. ; Allow or prevent persistent links.0 g, `0 A# x# ]- D4 N
  1137. ; http://php.net/mysql.allow-persistent
    ' X, H# u  G. I* M8 t
  1138. mysql.allow_persistent = On# Z. _3 p( s8 W8 l7 A& j

  1139.   k/ J$ b: J  @3 j' K! e
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache. j" n, R  y2 u. a
  1141. ; http://php.net/mysql.cache_size
    . U$ u$ S5 T- `
  1142. mysql.cache_size = 20000 t% G. {5 A: u9 g% s- ?( Q; p. @

  1143. 5 i) g" J9 _" P, Y5 n/ v3 \
  1144. ; Maximum number of persistent links.  -1 means no limit.
    1 K' y6 t3 I4 U7 f% w+ F- V$ S
  1145. ; http://php.net/mysql.max-persistent
    ! Q5 c$ b. a! Y7 g: g. g
  1146. mysql.max_persistent = -19 [& T0 y: v7 W  H- M, L

  1147. # k, U& d: |! |9 R$ Y
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & r; v3 n0 A& W0 ]
  1149. ; http://php.net/mysql.max-links7 q4 N$ q# \: a- \5 f" y
  1150. mysql.max_links = -1
    8 V+ ?  h0 ~) p+ z) r( |! l  X
  1151. - _1 N1 b+ t6 M; p0 q! |
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use5 o1 o9 q; ^* T  y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 j1 j' n8 G/ A2 y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& M" t/ ]9 |1 N. }
  1155. ; at MYSQL_PORT.
    1 {6 _* o5 q' ?
  1156. ; http://php.net/mysql.default-port
    : ^2 ^+ E1 W$ Y6 W, `5 W+ z5 z0 _
  1157. mysql.default_port =0 ]& M1 b; q- \6 P

  1158. 9 n2 x1 }0 A5 t! C6 [
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 w) T: J! y- A! @( n
  1160. ; MySQL defaults.
    ( M4 m: @# }& Z, E
  1161. ; http://php.net/mysql.default-socket
    5 n( Z. X+ i6 C# o% f9 v1 K1 b
  1162. mysql.default_socket =
    + M+ o* |- i/ a6 O  S
  1163. 8 J2 Z( ~  Q3 j/ a: ]
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - b# |9 a1 z4 g4 }$ e# X; ?5 z
  1165. ; http://php.net/mysql.default-host
    2 ^6 O  Q& C. v8 `
  1166. mysql.default_host =
    $ X( ], g/ I; W! ^& O% m
  1167. 7 c( c! c: ]8 B9 y. }. Q* {4 R# s
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).& @; K; l5 q, R- V; L
  1169. ; http://php.net/mysql.default-user
    # |' v7 K3 z; C7 L' K
  1170. mysql.default_user =
    5 F9 R3 y5 p6 [+ L0 Y2 v, S
  1171. . A; i) p/ {# f8 z& t6 T
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    2 K2 s# r5 y( ]2 p6 M
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.2 ^; Y: C) }7 U, L; |3 L
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"), ?0 l; ^2 Q$ Y" q* g$ @, S
  1175. ; and reveal this password!  And of course, any users with read access to this
    6 B/ S5 E, `/ c- Z" Y
  1176. ; file will be able to reveal the password as well.
    0 |$ U) t  J) @' x" b5 F
  1177. ; http://php.net/mysql.default-password
    9 e; m4 Q1 H# U% ~
  1178. mysql.default_password =
    * O' R. M& v7 D
  1179. ; e" Z" k4 F7 `+ t
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit5 H% I4 M' S7 H5 i1 p
  1181. ; http://php.net/mysql.connect-timeout
    / f2 w4 H/ k- W1 s
  1182. mysql.connect_timeout = 60& C+ Z. e' U6 p" x* v; v
  1183. - W8 z) s0 E' ?2 V. H
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and8 J# f+ F: r& w7 e
  1185. ; SQL-Errors will be displayed.1 U: d* E, J  X% h: p
  1186. ; http://php.net/mysql.trace-mode7 P, ?& a7 e0 x3 e8 k2 k
  1187. mysql.trace_mode = Off
    ' }$ ]7 q; m: G  w, l  G% U5 j
  1188.   I6 e6 ^  t( S8 a3 H. q
  1189. [MySQLi]: S6 a" g% e" P% p
  1190. , e8 {9 y# J5 Q4 I
  1191. ; Maximum number of persistent links.  -1 means no limit.
    8 Z2 h7 t) O# h' o5 q9 \. x7 X) a
  1192. ; http://php.net/mysqli.max-persistent
    9 H3 v! m, `4 o
  1193. mysqli.max_persistent = -1
    / {4 x3 s6 b, T2 Q" |$ V; w
  1194. 9 o; |! F; P8 J6 n: O
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# i1 b' W) x) A7 [( }% J9 D$ q7 s
  1196. ; http://php.net/mysqli.allow_local_infile
    ! h: P4 Y. J; |5 p: v: D- H( L) s
  1197. ;mysqli.allow_local_infile = On
    4 h. I* o  ?& H3 v# x7 q4 H( {

  1198. * A& B1 Q4 g4 m: W4 Q
  1199. ; Allow or prevent persistent links.9 [8 v! u& _2 a
  1200. ; http://php.net/mysqli.allow-persistent) C2 m8 D* H6 r, _* w3 S
  1201. mysqli.allow_persistent = On
    * o' B: |/ W3 u; S9 L

  1202. 2 j5 m9 r7 I. N' l. _
  1203. ; Maximum number of links.  -1 means no limit.
    $ ^& x! L; c* x; c1 e
  1204. ; http://php.net/mysqli.max-links/ `; O3 I& N6 Q
  1205. mysqli.max_links = -1: M0 d- f' _$ t9 C# p! G3 Q. L, M

  1206. 9 L2 t. K7 d' g8 X* b1 [$ U" ~; @! N
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! x( G/ e1 @: r* X5 S7 L; \
  1208. ; http://php.net/mysqli.cache_size2 h$ b. S, X! H+ ]
  1209. mysqli.cache_size = 20000 \6 T- F! ^6 L

  1210. 0 j; J2 Q4 o+ ^! R8 x' A+ s$ I+ Y
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 ~( r$ L" W+ o$ n1 c1 C; [7 j: E
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : s* n0 p( @$ F  Y( q
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look* c! X) U' P5 J& v7 y! p
  1214. ; at MYSQL_PORT.& l  F& a/ j4 b3 H7 v* Q
  1215. ; http://php.net/mysqli.default-port4 V* ^9 e2 P+ ]' B% J2 n) H
  1216. mysqli.default_port = 3306
    , M7 P) _  W+ D$ H3 a) m' B

  1217. % S5 c5 ~7 u8 l7 O
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ \: E( Q! r/ l( r- F+ ~+ ^
  1219. ; MySQL defaults.
    8 ]# f; M9 n4 s. x1 P
  1220. ; http://php.net/mysqli.default-socket" T, w9 C# K$ p
  1221. mysqli.default_socket =& S: o) b4 d. W9 u7 G' s0 ?
  1222. 2 g' @- ^' Y0 q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 _5 z' I$ u* e' Z! ~/ H. C
  1224. ; http://php.net/mysqli.default-host
    . P  T4 q+ j1 E+ i
  1225. mysqli.default_host =: C, [& {! c+ Q0 @& v0 U/ R( B% `& U
  1226. 4 z0 b$ n2 |; L" E8 T7 u3 ^. d
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)., c5 J/ A! ]+ E3 ?" R* M
  1228. ; http://php.net/mysqli.default-user
    2 c: F! s% M8 N2 f
  1229. mysqli.default_user =
    ) R6 \& h% c. a
  1230. : Q7 A: P( C+ _
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    6 X: J/ A& m, z; `3 ?
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    , N) |/ O" ?) J: g, i1 g/ D
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")" }, F% m' {7 o, a2 T5 N
  1234. ; and reveal this password!  And of course, any users with read access to this1 J% k5 X! K  }' e  P$ v2 f3 C
  1235. ; file will be able to reveal the password as well.
    ' `6 N% i6 k. E- G  ]
  1236. ; http://php.net/mysqli.default-pw
    0 X+ Y7 x4 ~0 T3 M. F
  1237. mysqli.default_pw =; T# U& h5 o; g# {

  1238. " R: p1 Q8 n5 H+ V9 z
  1239. ; Allow or prevent reconnect* l( x" {; Z/ y# v0 ]9 d* r
  1240. mysqli.reconnect = Off
    $ S( B2 b$ m6 [6 ?4 [5 e  Y

  1241. 6 l/ E3 ]* _! K; N% w
  1242. [mysqlnd]
    + B$ P9 B% y0 c! f/ L
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be0 M& A0 u8 |7 i8 A
  1244. ; used to tune and monitor MySQL operations.% U7 U7 I; I& V# a1 }5 ]' y
  1245. ; http://php.net/mysqlnd.collect_statistics
    ! C, }* V. F% ]
  1246. mysqlnd.collect_statistics = On. o9 Z* p2 g+ q) L
  1247. 9 ~6 \% E7 A' L  ]  U$ e9 V" ^6 A* L
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be1 y6 E+ Q! h, i8 v, E
  1249. ; used to tune and monitor MySQL operations.' |; L7 W* L; k3 x. e" U
  1250. ; http://php.net/mysqlnd.collect_memory_statistics( B3 `! ?! l' U" |3 v' ~/ d* `7 K
  1251. mysqlnd.collect_memory_statistics = Off
    / ]# s- F# T8 c0 _* S" z4 D

  1252. 3 G1 l( J: D( Y, W
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ( Q/ Q- y/ |" [! O, V
  1254. ; file., N6 e! Z; x. q) G& ~5 H
  1255. ; http://php.net/mysqlnd.debug9 G( l4 O4 L& U
  1256. ;mysqlnd.debug =
    ( v* h: ~& D  M9 ^. L; H; ~
  1257. 1 q1 m# K( B  U
  1258. ; Defines which queries will be logged.4 J& a% N$ S+ S9 r  C8 _! T- ^
  1259. ; http://php.net/mysqlnd.log_mask
    : I. l- K, Z$ `2 a7 E
  1260. ;mysqlnd.log_mask = 0
    1 T9 @$ j7 [! N! \& X

  1261. / U/ s: r5 t! e) r$ j
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.  M( c' W5 d9 V
  1263. ; http://php.net/mysqlnd.mempool_default_size
    % |, b+ [$ w; K: @* c
  1264. ;mysqlnd.mempool_default_size = 16000
    6 a0 N6 c; u$ Q; N. N5 ~3 R; Z4 U. {, ?

  1265. $ A+ E8 [$ u! {, k/ n/ s  H* S+ g
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.7 q! c2 J6 \+ ]9 g6 U/ E
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    4 L  y9 _8 r1 }& C( G4 p
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    4 [+ u3 n: K4 Z8 \9 d
  1269. & O/ C' I! U/ a9 j0 R1 K3 ?
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    " A& _3 [6 z4 m+ }+ M* Z( v
  1271. ; bytes.& P# g( ]3 v% l0 i: @  f' E
  1272. ; http://php.net/mysqlnd.net_read_buffer_size9 g0 m  ^# D* x" T3 P1 K
  1273. ;mysqlnd.net_read_buffer_size = 32768
    7 m& h; e1 f' J

  1274. ; [  S* G/ N% Z- K
  1275. ; Timeout for network requests in seconds.: g* b' K. p' u) L6 _+ ?
  1276. ; http://php.net/mysqlnd.net_read_timeout
    + Q" v. b# ^3 y, @8 y: S' O
  1277. ;mysqlnd.net_read_timeout = 31536000! Q+ f% v3 H0 H6 l: D0 I
  1278. / }& D5 J5 ~% v" o8 E7 v
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA. Y% m, L" b; p" E4 M, u0 i
  1280. ; key.9 \5 E7 v( ]1 e# Y9 d0 y
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    3 s) D' [9 ]3 ]
  1282. ;mysqlnd.sha256_server_public_key =
    % {9 K. A/ v- a9 Q9 I! ]# o2 N$ W" t1 x
  1283. 0 ^8 c# [% R5 ^' m
  1284. [OCI8]/ R* W# v, ^* B6 m: \' B

  1285. 6 T5 h7 G$ F6 Q' t* O$ {( }5 F' ~
  1286. ; Connection: Enables privileged connections using external2 V7 K$ M+ `6 J2 o
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)* Q. \" _8 W* N
  1288. ; http://php.net/oci8.privileged-connect
    $ d+ H! H1 m( T- \9 w, H' S6 a
  1289. ;oci8.privileged_connect = Off6 b+ V0 b% |2 e& P! T6 \$ t% q3 e5 A

  1290. 5 ]4 g  b) y! ^- i. c. q5 I
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ; H$ }$ \( v. K, y" v
  1292. ; process. Using -1 means no limit.
    * k) ^( Q. q# X* n# t: ~1 g
  1293. ; http://php.net/oci8.max-persistent4 E( ^. \( ~7 P0 M/ h; ^
  1294. ;oci8.max_persistent = -1
    5 j% M9 a8 h' ^. q
  1295. 2 c* H6 |. D( Y9 `8 l+ e. g
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ! i: g+ n2 e: z) a3 P% j7 W
  1297. ; maintain an idle persistent connection. Using -1 means idle
    + p, ^7 \: j6 b
  1298. ; persistent connections will be maintained forever.5 {% a4 T2 ]; g' |* {4 Z( j
  1299. ; http://php.net/oci8.persistent-timeout
    % V8 `2 m! l" ?
  1300. ;oci8.persistent_timeout = -1
    5 l, F, U/ K1 d
  1301. 3 T1 a( U9 v- p* n- I
  1302. ; Connection: The number of seconds that must pass before issuing a
    2 c9 ]8 b! y* U: U, @8 s
  1303. ; ping during oci_pconnect() to check the connection validity. When
    5 V4 w1 P5 e2 q8 q
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% [: H% x, J: e' P
  1305. ; pings completely.
    : s8 n( {. l: a/ ^9 [
  1306. ; http://php.net/oci8.ping-interval
      f" i* V+ `4 R6 L6 s6 ]; F
  1307. ;oci8.ping_interval = 60
    9 c8 H# @; R: G6 I5 \
  1308.   f- u, {7 f! H
  1309. ; Connection: Set this to a user chosen connection class to be used
    # B+ v# c% K9 Y/ R& ^" ]4 i5 @# N
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    2 K* i, G( [4 I% ~6 D2 `
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. C* ~4 G2 G1 A: Y2 X* i' e
  1312. ; the same string for all web servers running the same application,) V& k" `- c* `/ E6 D9 F7 T
  1313. ; the database pool must be configured, and the connection string must
    ( }4 i4 |* ~" N
  1314. ; specify to use a pooled server./ r  e, E$ a8 k* R
  1315. ;oci8.connection_class =; x: q. e5 b" g- c8 B+ p. q
  1316. ; {& o" Z0 U9 B, O7 m! x" G, U
  1317. ; High Availability: Using On lets PHP receive Fast Application! W) D( I  v! |" s4 t7 l
  1318. ; Notification (FAN) events generated when a database node fails. The* m4 `* I! s% q# m( B
  1319. ; database must also be configured to post FAN events.! \  E& R9 T6 w' M/ r7 Q. C
  1320. ;oci8.events = Off9 p0 \4 X& o6 a" f

  1321. ) t2 P  u( S/ j" \( U
  1322. ; Tuning: This option enables statement caching, and specifies how
      ^4 N+ b/ {: P- y1 M
  1323. ; many statements to cache. Using 0 disables statement caching.
    7 i6 u6 b# v* T7 l, T9 H
  1324. ; http://php.net/oci8.statement-cache-size
    . }% K) U! Y% U- Z  y
  1325. ;oci8.statement_cache_size = 20- y  y/ x1 M/ p6 T7 r
  1326. + j' o6 n3 |7 d. y5 S
  1327. ; Tuning: Enables statement prefetching and sets the default number of( n3 z8 a' R7 K% ~1 u. I0 A
  1328. ; rows that will be fetched automatically after statement execution.( I/ p3 r; F6 \2 {( @
  1329. ; http://php.net/oci8.default-prefetch
    2 v) c5 n4 o+ s
  1330. ;oci8.default_prefetch = 1008 ~5 k, O$ m( R8 \
  1331. 2 I4 u* K6 R" z# @1 ]8 n: I. d$ q
  1332. ; Compatibility. Using On means oci_close() will not close
    % }  ~4 v( ~0 h2 _0 Y# |
  1333. ; oci_connect() and oci_new_connect() connections.  L, P8 m0 c& S( M0 I8 G  R- e
  1334. ; http://php.net/oci8.old-oci-close-semantics. f; w" I& x# u6 O# j
  1335. ;oci8.old_oci_close_semantics = Off, r: I2 X1 A; D1 C9 F3 e, w3 U4 W
  1336. ! ?8 r" h( v$ T2 a. R5 U7 [+ b
  1337. [PostgreSQL]
    1 K; t; u4 {2 n( J% `
  1338. ; Allow or prevent persistent links.0 a8 |' o5 ?  J* N8 V: e
  1339. ; http://php.net/pgsql.allow-persistent! m; F# ?! @' F" q
  1340. pgsql.allow_persistent = On
    1 S6 f# Z3 W1 ^" n" B" ~, @4 h

  1341. * G* C$ S& S5 i9 X- o
  1342. ; Detect broken persistent links always with pg_pconnect().
    * {4 c. z( ]5 d9 P
  1343. ; Auto reset feature requires a little overheads.
    " }. {4 E4 |, D' i) z1 \) s- X! c
  1344. ; http://php.net/pgsql.auto-reset-persistent' e& |. d$ G! t1 B9 {0 j
  1345. pgsql.auto_reset_persistent = Off* q5 X: [% M  I4 W/ m' p

  1346. ( @1 K! M/ X& P. [/ _5 {; o3 D1 U
  1347. ; Maximum number of persistent links.  -1 means no limit.+ g0 E7 q2 N& ~$ a
  1348. ; http://php.net/pgsql.max-persistent
    & T7 d' ]. i/ i* ~
  1349. pgsql.max_persistent = -14 G  k! M% Q  G% E2 p

  1350. 7 u- T  Y1 ?. P0 A
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.8 m5 B! W$ ]& \  {: @9 t
  1352. ; http://php.net/pgsql.max-links
    , |7 S  G" t2 L
  1353. pgsql.max_links = -1
    % r2 s4 f* t+ B6 M0 s
  1354. 7 I2 w3 ]7 i9 z/ I( L: g3 s% y
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ' u3 G6 N7 ~6 |/ S+ @
  1356. ; Notice message logging require a little overheads.
    # c+ N$ C5 p. i& o. _, J
  1357. ; http://php.net/pgsql.ignore-notice' U$ I) d' Q! `: Q
  1358. pgsql.ignore_notice = 0
    2 m- I4 B1 m! ^. l! h6 R0 n% T0 v

  1359. " B4 k) a6 d% g" [
  1360. ; Log PostgreSQL backends Notice message or not.
    : z1 g( Q, j* W! t. _: l. E
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    # w9 E% v! n- W* k6 l
  1362. ; http://php.net/pgsql.log-notice
    . G' E; U7 K6 Q9 u
  1363. pgsql.log_notice = 05 v" I) I8 B) W
  1364. 8 l3 p: W# c! X3 }6 q
  1365. [Sybase-CT]0 }" Z9 H% \2 F; C
  1366. ; Allow or prevent persistent links.. F. a, R' u1 Y% }
  1367. ; http://php.net/sybct.allow-persistent! d, n. j% L4 u! [' S5 n
  1368. sybct.allow_persistent = On+ q5 U3 m" l$ L1 W% ?$ T* P
  1369. * K1 H# \& L. W1 w
  1370. ; Maximum number of persistent links.  -1 means no limit.. |+ S) e5 x5 b0 _  e4 l  H
  1371. ; http://php.net/sybct.max-persistent& f5 S" S0 Z/ \+ |8 g
  1372. sybct.max_persistent = -1
    3 H% k) {& s( h7 z) R- W& X
  1373. 8 s% F6 e) F' L$ c' e- a, `. Q/ A  Z
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( c$ |! k6 i  x( R- U; f4 @# W  H5 S" P
  1375. ; http://php.net/sybct.max-links
    7 J# Q" E, _1 b3 r: V+ V3 }
  1376. sybct.max_links = -1
    5 {& ~+ g, I7 z: R
  1377. 1 H2 _: R! a2 S+ i2 a/ k4 Y( a; |0 w, K
  1378. ; Minimum server message severity to display.
    - d( W! V; D5 R9 q: z/ z+ X
  1379. ; http://php.net/sybct.min-server-severity
    1 x$ J: ^2 [: j6 X
  1380. sybct.min_server_severity = 10
    1 A$ h3 T7 K5 C0 `$ B2 ^; \+ k
  1381. : r) d" O) j* V% l+ v. J
  1382. ; Minimum client message severity to display.
    8 u( Y3 P6 {( s- @$ y7 a4 G  o3 @
  1383. ; http://php.net/sybct.min-client-severity% n" _) S4 c6 V: R% Y9 A3 D
  1384. sybct.min_client_severity = 10. S5 n1 a& y( }! i
  1385. 2 i8 [( W0 H" Q. G$ F
  1386. ; Set per-context timeout4 @. b, |8 @2 |6 C4 b
  1387. ; http://php.net/sybct.timeout
    ) b5 J  Y7 ]& ]& l( Q
  1388. ;sybct.timeout=
    ( e( |. T  c- C7 |6 I
  1389. + Q3 W' ^4 P6 Q6 l
  1390. ;sybct.packet_size
    ( g% l3 z* r5 @0 W# t! X# d

  1391. / S$ p* b. v$ k- |7 @# c$ j
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ' L* F* Y6 T3 t' U$ L% i$ u
  1393. ; Default: one minute
    5 b, i% [8 a. A  T' W& g
  1394. ;sybct.login_timeout=+ h% S9 h' ?+ n
  1395. - Z; U) Z7 G; {& h7 D  A% v
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    6 o9 s, q" N6 S  G6 t$ t4 M, k
  1397. ; Default: none
    6 |# ~# o7 ]# W9 w' O/ B
  1398. ;sybct.hostname=& K9 ~  G8 X/ [- X2 Q, V! b" _
  1399. : B4 X2 m& U  H2 e" M
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".1 T- M+ _. [9 ~7 R" `/ d( U
  1401. ; Default: 0
    8 `7 I( s% N9 ]1 |0 R: J
  1402. ;sybct.deadlock_retry_count=
    + S5 [0 ^- H; I7 d5 c) `5 z
  1403.   n% E$ v4 F+ I! J* X9 v. x/ X
  1404. [bcmath], S' v  y: e6 e. s* c2 ]$ z
  1405. ; Number of decimal digits for all bcmath functions., M, p  C9 \& Z/ t6 i1 @
  1406. ; http://php.net/bcmath.scale$ M1 c; P9 @+ R
  1407. bcmath.scale = 0
    5 g/ D3 W, X/ O7 s, X

  1408. : B; S; ]. Q# g2 q
  1409. [browscap]* Y1 B' h6 e8 n. q' p# g; F
  1410. ; http://php.net/browscap
    3 D5 R0 R& [. P$ x! u/ f
  1411. ;browscap = extra/browscap.ini$ f* j& T2 n8 J; f( X

  1412. ( q" T# g  n# z" f$ D
  1413. [Session]
      [) x8 s# m3 P4 x) `- E) i; m1 |' B
  1414. ; Handler used to store/retrieve data., B3 o# Z# t" {$ s% {# d
  1415. ; http://php.net/session.save-handler
    5 j& j# a! U6 c
  1416. session.save_handler = files' A) S# p9 v4 t* D" F+ u0 c
  1417. 0 E% S0 j  K. E3 z2 a
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    * s& ~. b; k; S0 B0 `) q
  1419. ; where data files are stored. Note: Windows users have to change this
      `( t7 i( E8 o. Z/ Z. Y+ z; f
  1420. ; variable in order to use PHP's session functions.
    ( ]3 a5 P) N* J; N
  1421. ;2 H, w( J* y0 ~5 _8 e# Z6 \
  1422. ; The path can be defined as:" `% G  E, |+ F' b! I% o
  1423. ;
    ( e7 n$ q& C5 |
  1424. ;     session.save_path = "N;/path"$ ~8 S7 Q; o" p
  1425. ;
    ( G# f, t$ h; _* H, h
  1426. ; where N is an integer.  Instead of storing all the session files in: V) c, ^  B1 s3 d$ {
  1427. ; /path, what this will do is use subdirectories N-levels deep, and2 H- ?/ g8 z: W: w+ U
  1428. ; store the session data in those directories.  This is useful if
    / a1 J4 K( @& q9 x
  1429. ; your OS has problems with many files in one directory, and is/ e' e6 E, C1 j3 D6 S- z
  1430. ; a more efficient layout for servers that handle many sessions./ \0 V) u& I3 d% T
  1431. ;2 o2 ~. D) I: b" K# @7 n$ a
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ( C. g. L" T$ }' A, H- i& _7 n) H( W
  1433. ;         You can use the script in the ext/session dir for that purpose.# m1 L% i  `' a/ h2 \! L2 L9 @% }$ N5 J
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ) U3 ~# ?8 E& s6 o5 b
  1435. ;         use subdirectories for session storage
    - s- m, o/ t, Q/ H$ F
  1436. ;
    : R7 `2 V& Z4 O- n( Z
  1437. ; The file storage module creates files using mode 600 by default.
    0 A+ p  G) U' z2 z. G* ~$ s* N
  1438. ; You can change that by using2 p- Z$ d# K. I* e' N
  1439. ;, b* H$ ?- v- a) _$ U0 ]
  1440. ;     session.save_path = "N;MODE;/path"
    8 H0 b6 e/ h. }! ?3 t
  1441. ;
    % T, \% V; a: X! s6 o, t
  1442. ; where MODE is the octal representation of the mode. Note that this
      x; ?$ E0 H3 d: O+ I' c
  1443. ; does not overwrite the process's umask.. g" w; r2 Z) j- A
  1444. ; http://php.net/session.save-path
    ) c- D6 E0 ~2 @% b2 ~' j! F
  1445. ;session.save_path = "/tmp"
    ) }* V, |! j4 K& }: y; x

  1446. 4 J& y% A7 _" b% m- N; A
  1447. ; Whether to use strict session mode.- m( Y. a' T+ D$ \( I% R$ _7 M
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    $ L+ I$ }; d& V/ l- ]
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    , {1 U3 s$ d, b* D
  1450. ; applications from session fixation via session adoption vulnerability. It is! o  z% w6 q! e3 a
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    * A! Z( k, g( L& U
  1452. ; https://wiki.php.net/rfc/strict_sessions' ^+ f; ^5 @. A# E8 g+ n
  1453. session.use_strict_mode = 0; O' Q' X; K- Y! H& p
  1454. : e* P- U/ o7 I3 I
  1455. ; Whether to use cookies.% e. p$ Q% A5 H! H
  1456. ; http://php.net/session.use-cookies
    7 V3 O4 C- r7 {* H
  1457. session.use_cookies = 1
    3 l8 r2 w% E2 T2 m$ ?& R

  1458. % u2 t# u3 n" [6 P& r
  1459. ; http://php.net/session.cookie-secure) G6 O/ g" o. o3 Z3 N. W0 _- H
  1460. ;session.cookie_secure =
    0 [, p* d$ L5 r$ X! Z( m

  1461. ' Y+ w! B# r9 @
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining: a' K2 U  K, j$ C
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ( `  x  b1 |$ s- _& b- J1 f
  1464. ; session hijacking when not specifying and managing your own session id. It is2 ^: w8 h4 ~) B' N; h
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.* L7 }" j/ B3 f3 T
  1466. ; http://php.net/session.use-only-cookies' ~8 S1 h! I8 s* X9 h# z
  1467. session.use_only_cookies = 1$ J* ]' Q5 ^5 @0 I) v
  1468. . c% u! n4 U* q
  1469. ; Name of the session (used as cookie name).
    1 J/ y8 _" w4 B
  1470. ; http://php.net/session.name
    3 n9 ]. H* b+ e4 n( ^! V* h
  1471. session.name = PHPSESSID
    $ H$ U. t3 j4 }* v; O0 M9 E
  1472.   d" U" ?/ l, u5 ?9 m
  1473. ; Initialize session on request startup.- P( A: M/ W9 S" h: N" ^
  1474. ; http://php.net/session.auto-start0 U  D' c+ j" H$ z7 \
  1475. session.auto_start = 0% m+ _# @5 Z3 H' ?! c  {
  1476. & \% `4 h" j% N+ x- E% Z
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( S. H  {0 m# m$ `: X
  1478. ; http://php.net/session.cookie-lifetime
    - F- ^# b4 w( T* g3 q" G4 ~
  1479. session.cookie_lifetime = 09 r6 p. f; j. |7 ~$ m7 w  K

  1480. $ {, E5 N( ]& ], c+ X+ m
  1481. ; The path for which the cookie is valid.' E  r6 g. z! C. ~
  1482. ; http://php.net/session.cookie-path" W  w( x# @0 z9 Z" T
  1483. session.cookie_path = /% j- t# M  b, {/ N8 ?! m
  1484. ! z3 w" u5 z( D) `' U/ ^" q/ i
  1485. ; The domain for which the cookie is valid.
    4 m2 m% ~& _* O4 [. G  v( I: L2 S& v
  1486. ; http://php.net/session.cookie-domain' U: a$ |% K6 e; M- v8 ^
  1487. session.cookie_domain =
    # X, H+ o$ I# T; X- ^' N0 g

  1488. 7 G: e6 X& e" @; D
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.+ _% i, p! w- t+ e) S  H7 d& k7 r& O
  1490. ; http://php.net/session.cookie-httponly
    ! S& H1 Z% U# v8 p
  1491. session.cookie_httponly =0 j8 W( z8 l$ Q1 n
  1492. ( K" j9 {9 c% V4 i$ Z
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.6 z" R5 v; T  E7 K
  1494. ; http://php.net/session.serialize-handler
    4 [3 X# J, w9 ?( e* u" d
  1495. session.serialize_handler = php) I# ]  y2 }8 r  ?5 U" l6 N
  1496. 3 Z9 h& J7 Y% _9 m3 l
  1497. ; Defines the probability that the 'garbage collection' process is started1 _: v% S+ f5 u8 s5 f' r
  1498. ; on every session initialization. The probability is calculated by using2 p# j+ u$ [) j! s) f
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! i9 X& s$ h% v/ [: O
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1; I! s  `- u2 D8 y: F0 o  F7 P4 u% [
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 E. `" p  n* |0 Z
  1502. ; the gc will run on any give request.
    / u- P. x; k) f4 r  V$ ]
  1503. ; Default Value: 1# V8 B" z: a$ X3 N1 ]! t/ S
  1504. ; Development Value: 1
    7 C) s; l! d9 H! ]* q' X
  1505. ; Production Value: 1
    ; {3 w. ^/ h) ^; L
  1506. ; http://php.net/session.gc-probability
    " H& B6 e3 ?5 k3 @5 n8 r; `
  1507. session.gc_probability = 1
    % i9 _  F8 u* s
  1508. / T5 ]' W" r; Z* b4 }* @# S
  1509. ; Defines the probability that the 'garbage collection' process is started on every4 E) z5 j8 t, F
  1510. ; session initialization. The probability is calculated by using the following equation:
    * Z/ |9 m  c+ e7 l; Q* F
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and1 T% N" @- g$ B8 y" i- v, g
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 `8 s; ^; d4 a, b) r3 F
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 l3 _% s" u4 _( D  a+ a  X% ^. o
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    & y+ G2 \0 P5 o' v- o# o6 B
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - K& w, R- w6 a  u, f  h/ i
  1516. ; this is a more efficient approach.
    " N( i, D; x* x; D# f9 Z
  1517. ; Default Value: 100% {* _: I$ T1 x% b7 d8 m/ H! y
  1518. ; Development Value: 1000
    # I& e' z$ }! X- y
  1519. ; Production Value: 1000
    ) V+ L; @% h/ f. H- _0 [* L* D
  1520. ; http://php.net/session.gc-divisor6 u8 t' Y9 j3 O) P0 ]0 d: q
  1521. session.gc_divisor = 1000
    * D) G' C! F5 w& m; u
  1522. " j( \' ^' l! U) ~
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and9 A1 t- o6 Y2 R$ V- f7 g& |
  1524. ; cleaned up by the garbage collection process.
    3 j& _% y$ B9 K
  1525. ; http://php.net/session.gc-maxlifetime
    & t% F- X' i3 |0 E
  1526. session.gc_maxlifetime = 1440
    9 ]  V! D; z2 H) Q+ }

  1527. % |& g# Q) g8 y
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    2 q4 H8 y) p" s
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ) S$ h' O3 y5 O, Y1 Y! b$ L
  1530. ;       happen automatically.  You will need to do your own garbage9 D2 Z8 e$ c; e: F4 b* Y
  1531. ;       collection through a shell script, cron entry, or some other method.5 _4 F3 R9 d% O% d
  1532. ;       For example, the following script would is the equivalent of
      i! o- j# i) U2 i& Y4 ?* g
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 z3 `7 V  e+ S  Q7 C0 m0 z
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm; p- O' f# C5 {( o" o  T, r
  1535. ) o, t8 Y/ j# N+ k/ m
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 L/ D' m& `% _
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . Y  i6 Q: \# q; ~0 {2 J
  1538. ; considered as valid.  d: b  o6 j3 j: x+ W2 j
  1539. ; http://php.net/session.referer-check
    - `5 B) i" e) f0 E
  1540. session.referer_check =( z- M& E+ c& M& g  T9 L

  1541. 9 A5 e' p% x$ c& x; U9 }" b
  1542. ; How many bytes to read from the file.
    " b: q5 Y" I! f; K
  1543. ; http://php.net/session.entropy-length
    : e" `5 C! Q$ B5 N$ k) \" J) \6 g
  1544. ;session.entropy_length = 325 o. Z$ {! f. x, a1 K- m# |. D

  1545. 3 G. p0 @/ |: j" X# S/ R  Y
  1546. ; Specified here to create the session id.4 u6 j& W* L/ ~# [
  1547. ; http://php.net/session.entropy-file. E* n* T$ K4 L- U, j( ^
  1548. ; Defaults to /dev/urandom
    2 t: Z5 W3 d8 h9 e
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    2 G- a+ V" _# u8 c+ E) D6 ~
  1550. ; If neither are found at compile time, the default is no entropy file.- m& i6 a) o7 H1 F/ ?# S
  1551. ; On windows, setting the entropy_length setting will activate the
    9 T& b* b3 s" i. a: x
  1552. ; Windows random source (using the CryptoAPI)
    4 L* B$ {2 ?( Z3 F
  1553. ;session.entropy_file = /dev/urandom
    3 K% v2 @# ~6 M4 o+ _
  1554. 5 O0 j* O" \+ Y% |& L
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    3 L# w. a& v1 `
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ( f: M* M5 Q/ \6 y( k
  1557. ; http://php.net/session.cache-limiter
    ; l/ Y! B" ]) M4 N
  1558. session.cache_limiter = nocache
    % _# H4 K* ?7 p+ J$ j

  1559. 3 K9 l8 w! w8 d9 w6 B6 ^
  1560. ; Document expires after n minutes.
    - p( f/ R6 K& k; D
  1561. ; http://php.net/session.cache-expire
    " R  J6 T0 O' I  N
  1562. session.cache_expire = 1806 `7 m+ p2 i" Z8 ~5 ?" ~

  1563. 0 R+ v9 s- b+ X( {6 e  b4 `
  1564. ; trans sid support is disabled by default.( q  b/ }4 f4 e( k9 \
  1565. ; Use of trans sid may risk your users' security.
    1 C; v  \0 m' f* S3 \6 X
  1566. ; Use this option with caution." }' B6 A6 o# E/ Z- I2 X  }
  1567. ; - User may send URL contains active session ID8 K" Y! I/ E( {5 m! h/ ^
  1568. ;   to other person via. email/irc/etc.
    : b* T& A: J0 M9 R7 [
  1569. ; - URL that contains active session ID may be stored
    ; m1 \. M, d. D/ r9 x7 u' ]& r
  1570. ;   in publicly accessible computer.
    1 O  _* \4 r5 G# x, z, n# [. U! E" w% R
  1571. ; - User may access your site with the same session ID
    : O3 {$ p; r& K5 h
  1572. ;   always using URL stored in browser's history or bookmarks.# c% J' J8 W* p9 n
  1573. ; http://php.net/session.use-trans-sid& T0 V" h9 b- r2 \9 i
  1574. session.use_trans_sid = 09 ?3 H/ G# ]& n  `( j! {, p
  1575. $ t) u, X/ o/ P' J) `
  1576. ; Select a hash function for use in generating session ids./ r+ C) J2 x  C# H9 ^
  1577. ; Possible Values
    8 Q) K) H: f4 P2 A# p8 D/ J6 s
  1578. ;   0  (MD5 128 bits)
    6 D4 X/ Q; K$ T7 [
  1579. ;   1  (SHA-1 160 bits)9 d8 x- u' @+ }% T* [% X
  1580. ; This option may also be set to the name of any hash function supported by
    9 X* I  O# @1 L3 \; V
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()4 ?9 |5 M# v$ t0 x  D# ^
  1582. ; function.
    * A1 O* E8 m& B6 p) O$ O1 _
  1583. ; http://php.net/session.hash-function% |( X' @% v# D, d7 V3 j% t
  1584. session.hash_function = 00 p  U- }7 B3 r  [2 F

  1585. / T9 Z6 @. [  I* `5 G
  1586. ; Define how many bits are stored in each character when converting
    , s! z" c6 y3 T% ?% {5 W& S- _
  1587. ; the binary hash data to something readable.
    " `) C" Q2 ?! R1 G" F4 h' Z
  1588. ; Possible values:
    * B1 e5 C" m1 y- _% p) m# T+ W
  1589. ;   4  (4 bits: 0-9, a-f)
    , i% z, O4 K" m5 o$ e& a% Z
  1590. ;   5  (5 bits: 0-9, a-v)
    * a: h* k  y! \
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")) O+ f- l8 [3 l1 z# C" V" G
  1592. ; Default Value: 4
    % Y0 p8 s+ B/ [- O
  1593. ; Development Value: 54 }8 a1 v3 S9 E8 [$ z; `
  1594. ; Production Value: 52 O; d9 w* K9 n0 \. o) Q
  1595. ; http://php.net/session.hash-bits-per-character
    ) n2 y# F: C- h, ]; N
  1596. session.hash_bits_per_character = 5! R4 B2 F0 Y, b- N0 B3 @( {
  1597. 8 S- R3 X0 _- q3 g  _9 c
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags., o! U5 T5 {1 Z4 p0 I
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    % `" x. ]; b) @# s
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ) g- I1 T. z2 l: |9 A8 {  a
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; z2 c! ^* l. w+ p- R# B
  1602. ; Note that all valid entries require a "=", even if no value follows.0 l7 x7 N& N$ [5 c
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=". Z# ~7 w" P5 U* P  |) g4 {
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; f/ u4 \- j. |3 K
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 e$ k5 B' H9 |
  1606. ; http://php.net/url-rewriter.tags
    / t: B* T  O, I; q  ?
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"! q( G1 ^5 _' B2 `

  1608. * L2 S) t& O& z4 W, W
  1609. ; Enable upload progress tracking in $_SESSION" T  c5 y1 x# b% {% }( ~
  1610. ; Default Value: On
    5 Q; |0 ]  b) b& b
  1611. ; Development Value: On
    8 T* R7 w0 |  l$ y  E
  1612. ; Production Value: On; j$ G" K/ f( r- i
  1613. ; http://php.net/session.upload-progress.enabled
    5 Z" m, Y1 p% w# u# e: _* \+ |- c
  1614. ;session.upload_progress.enabled = On. ?; e0 W. M8 }6 q  P$ i. H
  1615. : M9 S9 H( N' q) ~) ^% z3 t
  1616. ; Cleanup the progress information as soon as all POST data has been read+ f- k5 `0 ]6 U' x1 J6 o
  1617. ; (i.e. upload completed).
    7 |# o* n+ i( ?  h3 N4 r. F- K
  1618. ; Default Value: On, m! I  R: j4 x8 z, u) `+ }
  1619. ; Development Value: On
    / r" P, M, ^* w1 G$ B- ?) r
  1620. ; Production Value: On- |# F! x- l1 E! L" n: u5 E% T
  1621. ; http://php.net/session.upload-progress.cleanup
    6 g* D: A* Q9 c# A! s
  1622. ;session.upload_progress.cleanup = On+ M# M+ T3 K* j9 x
  1623. & j* T- @- i, o8 h
  1624. ; A prefix used for the upload progress key in $_SESSION
    9 E( x9 U* |- U5 L& G+ Y
  1625. ; Default Value: "upload_progress_") J7 o" s7 q2 J3 l) f, ^2 [* x
  1626. ; Development Value: "upload_progress_"
    - Z3 @0 s0 [$ h/ M
  1627. ; Production Value: "upload_progress_"
    3 O8 K" p5 t6 y; i. h8 |$ h
  1628. ; http://php.net/session.upload-progress.prefix, G1 [; \8 p4 `8 G
  1629. ;session.upload_progress.prefix = "upload_progress_"
    $ j$ l% A; t  O" ]4 i+ R' ^
  1630. ) u+ J4 \& F7 P6 N0 v8 c' C
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    & T$ \% T" [1 w+ n  {6 V$ [
  1632. ; containing the upload progress information
    5 T- m0 ~3 e) E1 b' {* E- E6 x% D
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"' B( c! k3 K+ o* i' ~2 p: y7 p
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 U2 w* S4 P: K2 f, P
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + r% v  f' R0 U$ S& F" s  I
  1636. ; http://php.net/session.upload-progress.name
      J9 Y  q) I# T* E. J+ i
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    9 k# e8 o! R( V0 |4 V& Y

  1638. ; C# C9 p4 }1 ^
  1639. ; How frequently the upload progress should be updated., U4 G3 X$ K, f+ g& m
  1640. ; Given either in percentages (per-file), or in bytes
    ( w, s# E$ J( t- @) s7 _4 v0 V7 I8 i
  1641. ; Default Value: "1%"/ w0 f% l% F9 a6 s8 V* A- }
  1642. ; Development Value: "1%"
    7 N6 T3 q  A8 ?
  1643. ; Production Value: "1%"
    * x6 z" ]  r; a5 J7 e# I% y7 Z
  1644. ; http://php.net/session.upload-progress.freq
    ( G9 A% ?4 C9 d* d
  1645. ;session.upload_progress.freq =  "1%"( x/ e8 G, I$ f

  1646. + _* e& N4 x6 K) \. C* _- _
  1647. ; The minimum delay between updates, in seconds
    * m% T2 e3 o( z1 s; L- q: o- k
  1648. ; Default Value: 1
    2 V$ }! h8 b) p$ I+ e( b7 s
  1649. ; Development Value: 1$ k1 b7 X( o0 u! ~* M! r
  1650. ; Production Value: 1) S. z7 }; |: i, ]
  1651. ; http://php.net/session.upload-progress.min-freq
    2 v3 s: s, E8 k8 D( r
  1652. ;session.upload_progress.min_freq = "1"
    # T  q5 l2 c4 E6 B; z
  1653. , g2 B" l% D' A9 C1 E+ g
  1654. [MSSQL]/ s8 `2 t. f3 n
  1655. ; Allow or prevent persistent links.+ A/ |) S# ~/ K( g1 N: Y
  1656. mssql.allow_persistent = On( q! z9 l+ r; c6 k
  1657. ; r7 j6 @( W# A7 W
  1658. ; Maximum number of persistent links.  -1 means no limit.
    9 N* {% x- m, {9 w& E5 u
  1659. mssql.max_persistent = -1% y! `2 @1 t. O! X- P" q+ c$ A3 d
  1660. 8 {/ ?6 B- c+ C/ c% b5 y
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # e2 I2 v( G5 \& V; M
  1662. mssql.max_links = -11 v3 h9 P/ r0 @$ W6 y" |! u/ T" p
  1663. ) h" T$ O2 `& Q
  1664. ; Minimum error severity to display.
    + k) r0 p: ]5 y5 w' f
  1665. mssql.min_error_severity = 10
    2 o, Y) c; [6 e  J, e, M) A0 T

  1666. 2 i0 `- H! P" O
  1667. ; Minimum message severity to display.6 b& |* P1 v* H" `
  1668. mssql.min_message_severity = 102 P! |+ ^% Z* L  N
  1669. 9 t& ]& v* i+ z5 s/ n
  1670. ; Compatibility mode with old versions of PHP 3.0.3 X- e$ @$ d* \; ]; H( ]
  1671. mssql.compatibility_mode = Off, ?$ ~5 H2 R; m% J

  1672. ( f  u) ^( V$ Q. Q
  1673. ; Connect timeout
    / W9 B0 {- @; u  u: `# J. S( u) @
  1674. ;mssql.connect_timeout = 5) K9 j) E1 o1 v) ]. x
  1675. 5 ~. O! e! b$ t3 ^: |
  1676. ; Query timeout8 x) [* P  N/ M5 Q( ^  E- u6 c5 Q
  1677. ;mssql.timeout = 600 G% L8 B6 c8 h; q" U

  1678. ) J) g" ^% s6 X2 n3 Q& W/ A
  1679. ; Valid range 0 - 2147483647.  Default = 4096.1 `# C; b& L; G2 R* K& M  v
  1680. ;mssql.textlimit = 4096: u' ]0 k; l8 K  ?  p/ c6 P4 [& ?' f7 q

  1681. 1 p4 I# R/ P3 t; `
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    8 U& x$ e" \! ?; }! G( l4 W- T
  1683. ;mssql.textsize = 4096# X9 [/ y$ R5 j  O

  1684. : J- A4 n( @# Y% U: Y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.: P% F9 I& ^+ ~! E* B: y5 U9 [
  1686. ;mssql.batchsize = 0: |# b$ Q' L9 t+ Q& Z$ k
  1687. ( p) \: c1 @% U8 B- w, }2 @9 C/ m
  1688. ; Specify how datetime and datetim4 columns are returned- b4 L% D" @' F# E* T% @& S
  1689. ; On => Returns data converted to SQL server settings
    ( m% J+ H" V8 S) X& v
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss9 f- z5 a+ N( y8 X7 s
  1691. ;mssql.datetimeconvert = On/ }' T0 }, f* \8 c) Z+ f

  1692. 4 ?6 H+ q' [  Q/ N) j; R; |1 l7 d
  1693. ; Use NT authentication when connecting to the server. B' M5 s5 f4 F( Q( H1 I# L
  1694. mssql.secure_connection = Off5 C0 v- k+ }1 ~+ k

  1695. 4 w4 V; ~( ?: C# ^
  1696. ; Specify max number of processes. -1 = library default
    $ |5 s8 v" ~5 q. i* D6 \
  1697. ; msdlib defaults to 253 f2 P* X& M# u8 Q, D
  1698. ; FreeTDS defaults to 4096
    % d( N* f# F3 U' Q( J% ?
  1699. ;mssql.max_procs = -1
    ' ]# o2 b: W' M9 k' w

  1700. # `0 ^2 e3 h* C% i. R
  1701. ; Specify client character set.
    $ t5 F/ p$ E: t" Q+ N
  1702. ; If empty or not set the client charset from freetds.conf is used0 K6 e/ M/ ], G* V3 l
  1703. ; This is only used when compiled with FreeTDS
    + ~. s' S6 |( N  i7 F
  1704. ;mssql.charset = "ISO-8859-1"
    # W( f! j) d' U, Z- @6 \3 G# M
  1705. / Z* l4 `9 j3 S' r6 @; G- U
  1706. [Assertion]" j) U1 v3 U2 c9 c
  1707. ; Assert(expr); active by default.
    2 v5 ~" f7 [. [1 |9 Y" M
  1708. ; http://php.net/assert.active
    ( W% h+ J1 `0 b" ?+ l9 @) _& b% a, `7 V9 i' `
  1709. ;assert.active = On
    ) ]3 ~$ H' p8 v& ?) f

  1710. ; s0 s) m! ^+ V2 u! N
  1711. ; Issue a PHP warning for each failed assertion.
    3 t: U( g' }# u* R
  1712. ; http://php.net/assert.warning& ~3 O, q- a! J( z# ~
  1713. ;assert.warning = On
    " D- }% b' |: k; E! J

  1714. " l7 }& V3 }# m- s5 O+ n
  1715. ; Don't bail out by default.8 F9 L/ t& ]7 }2 K
  1716. ; http://php.net/assert.bail
    $ N; Q3 Q+ k/ D; s  r: u; F6 h
  1717. ;assert.bail = Off
    ; b+ o/ Z9 ~8 h6 _, z0 _. T

  1718. 4 i! M6 b* ]8 N. F
  1719. ; User-function to be called if an assertion fails.
    ) K/ b$ g5 d1 d6 ^7 S4 U6 p
  1720. ; http://php.net/assert.callback
    4 e, b+ t0 |) c3 |
  1721. ;assert.callback = 0
    $ _8 c4 p: v( M

  1722. 4 c+ Z" x+ u1 ]4 A3 ]! F
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    5 q! A3 ^5 e8 W. M7 R) g6 w
  1724. ; error_reporting(0) around the eval().2 G( z3 i, v9 |% K8 n9 v% W+ B
  1725. ; http://php.net/assert.quiet-eval  B1 e, Q/ v, s
  1726. ;assert.quiet_eval = 07 `7 P, h, Z7 F2 X+ T, M- g
  1727. ' c1 \! @1 v, M1 m
  1728. [COM]
    5 g, Q2 W. z$ }) k: ]- k, d, ~+ a
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs8 g" E8 V) A$ S$ h7 \* U
  1730. ; http://php.net/com.typelib-file
    , ?9 Q3 j- X5 o, U& N. \* d
  1731. ;com.typelib_file =
    1 w# }$ I+ J( I' w+ Z

  1732. / m# z4 \! Y& `! n
  1733. ; allow Distributed-COM calls$ B1 |) y. g( O  v
  1734. ; http://php.net/com.allow-dcom
    1 P5 [/ _$ K) h9 B! d6 b( D- A5 q( k
  1735. ;com.allow_dcom = true" _2 |' m: A, @$ Y/ Q: b

  1736. ; C4 x& g, s4 {; Z& ?
  1737. ; autoregister constants of a components typlib on com_load()6 q6 V! O  s, C9 t3 A
  1738. ; http://php.net/com.autoregister-typelib
    ) }$ m0 e( ]8 U; }" d
  1739. ;com.autoregister_typelib = true; g* b" h# k# h2 i( ?! B
  1740. 4 o0 `2 k2 p6 z  [- S8 k
  1741. ; register constants casesensitive0 ^% L# h' ?) ^9 s8 U
  1742. ; http://php.net/com.autoregister-casesensitive
    ( K7 D) x! b+ c  e: W
  1743. ;com.autoregister_casesensitive = false  _9 l% c6 c% K$ Q. A, \8 ?$ c
  1744. ' V/ Z0 z$ h9 d7 u" l/ H
  1745. ; show warnings on duplicate constant registrations. b% I4 G8 ]. a- t( @6 ^8 J
  1746. ; http://php.net/com.autoregister-verbose
    / T$ e- t5 P5 v6 i( p$ Z! y
  1747. ;com.autoregister_verbose = true: U7 l" G0 i3 u

  1748. 6 @+ U5 O5 g+ g7 H: X6 ?8 S
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    6 T9 k* }' e& n. U! B" ]
  1750. ; Default: system ANSI code page
    * A5 F( c4 c, u# }1 ]- n
  1751. ;com.code_page=
    / N2 ]3 e3 K% e2 {5 X4 c) v

  1752. . b3 ]; k  i/ A; @
  1753. [mbstring]# W( U+ u4 H, A; ~: N3 J0 c4 n
  1754. ; language for internal character representation.
    5 [, g3 @' y+ q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    / L4 D3 t9 {* l5 p( p, F
  1756. ; http://php.net/mbstring.language
    - q# r0 b: v  m' h% p7 b
  1757. ;mbstring.language = Japanese
    . @: E/ e9 c% Y0 M' V6 W- g
  1758. ; d) j% r1 F  O1 X5 ?/ l5 u
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) S: s1 ^. [7 B. u, r( r( Z
  1760. ; internal/script encoding.
      ^$ W+ t2 \6 v' n- c
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ z& }* w/ R9 y, G" O5 C
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 C; J7 g" a. e; G& \
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      T. H. n1 ^; U# C  e
  1764. ;mbstring.internal_encoding =
    * C/ v' z" q) _* e' A) _! A

  1765. 7 p; C$ W9 {, P8 i& y0 O* \
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.6 R) k+ [- E: x2 ?
  1767. ; http input encoding.3 E! u. ^1 z8 j6 u
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    : o; q' y. _, f; Z5 I) m
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.5 `- O( d9 q5 w
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 j, g/ v5 r' k& u+ L
  1771. ; http://php.net/mbstring.http-input9 t$ R1 T4 |) O$ V/ x& ^
  1772. ;mbstring.http_input =0 ~, \7 \: o4 Q  R
  1773. * t) q; p8 {* N, h6 L# C
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' \8 z7 P% _% ]( [+ {* @8 r3 q
  1775. ; http output encoding.
    9 }3 m1 v8 |6 D# y, X* Q) U
  1776. ; mb_output_handler must be registered as output buffer to function.
    % E. \1 V2 W% A! Z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- H9 a( f' Y7 ~( G
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ' R$ c5 Z/ D# n3 e8 y
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    - P& g: F7 q% F3 q% G/ c' H
  1780. ; otherwise output encoding conversion cannot be performed.
    . B5 z. M0 c8 p- L+ g2 p' l
  1781. ; http://php.net/mbstring.http-output3 }, E9 G! n8 ?; Z0 R
  1782. ;mbstring.http_output =
    ) y3 R7 m4 G7 C, L! R- |3 c/ M
  1783. 8 u' o0 m* [/ n' _( i) b# s+ w
  1784. ; enable automatic encoding translation according to
    # ]1 O$ {, x) \+ p
  1785. ; mbstring.internal_encoding setting. Input chars are
    ( N5 z9 _3 y7 ~4 o& R3 w; n
  1786. ; converted to internal encoding by setting this to On.
    & l" \/ c& g5 i, X! L. f
  1787. ; Note: Do _not_ use automatic encoding translation for
    ) R5 `' J' y7 f! @' b1 Z7 A( H
  1788. ;       portable libs/applications.
    4 U6 j& n& g9 ^" x: _' K, V
  1789. ; http://php.net/mbstring.encoding-translation. [) T' k: t' }# m9 F1 g
  1790. ;mbstring.encoding_translation = Off
    / G3 C' h: o, ^5 \# J: y$ g

  1791. : M3 u/ ?5 y- t( ~8 W& o6 D! v
  1792. ; automatic encoding detection order.
    4 E) S/ ^& r7 D3 ?+ e
  1793. ; "auto" detect order is changed according to mbstring.language
    8 ~2 P6 s2 D4 K$ l; j0 q
  1794. ; http://php.net/mbstring.detect-order
    1 |0 ~/ I& \: H0 i& x: z3 L
  1795. ;mbstring.detect_order = auto$ w* E( ?3 A, V* X: q5 U# w* |, i) W( K
  1796. 2 X/ T# A8 I" ?+ y8 `
  1797. ; substitute_character used when character cannot be converted
    5 u, A# b5 b- ^0 _. l
  1798. ; one from another# x( J& _. B$ Y/ D- b* j/ w* S
  1799. ; http://php.net/mbstring.substitute-character
    ( I& L6 c4 I, E7 i
  1800. ;mbstring.substitute_character = none7 g( A6 R0 K; l/ z6 G" I0 k; a

  1801. / Q) H6 t# `' }( U/ {5 d) T& D; p1 S
  1802. ; overload(replace) single byte functions by mbstring functions.* a. c7 s' M% [
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- a4 b2 L3 A& ^& {7 p7 |* H
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    " u& j" W% _% t1 T% E8 A- L
  1805. ; For example, 7 for overload everything.; W6 W; F# D% S6 P% [7 g5 L0 z, J! h
  1806. ; 0: No overload) J$ K! `2 Y4 w
  1807. ; 1: Overload mail() function1 M: I9 J  |1 t/ A, \7 v" }
  1808. ; 2: Overload str*() functions
    / x! I* m- S; E  e# J" t
  1809. ; 4: Overload ereg*() functions
    & y& H( |3 @: c- T  i
  1810. ; http://php.net/mbstring.func-overload- w% T" W2 [# b- i+ E5 L5 {6 F' X2 r
  1811. ;mbstring.func_overload = 0
    8 [; b4 L8 ~+ ?" R( f
  1812. ; P: A; w" i4 S: A
  1813. ; enable strict encoding detection.
      Y5 Z) V9 ~7 m, b! T9 f
  1814. ; Default: Off
    6 u1 ?8 t) y8 {( i; F
  1815. ;mbstring.strict_detection = On
    * Q6 w. H2 Z+ n1 T+ T

  1816. 2 c& O. E% o) k+ @+ l1 u9 P) X
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()& n! |1 w% k* W5 O
  1818. ; is activated.' ~+ p3 Z* U/ Y7 k- v7 w
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ n0 ~' r3 s1 B
  1820. ;mbstring.http_output_conv_mimetype=! l: n5 i# w' H5 u, S8 F
  1821. + n; E' L" K7 @
  1822. [gd]
    : A* c- |( `$ a
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    0 P3 A# V& {9 i: k7 I: k
  1824. ; a gd image. The warning will then be displayed as notices( ]7 a7 v" \. v! [/ n
  1825. ; disabled by default
    1 |$ |1 ~/ s5 g$ K
  1826. ; http://php.net/gd.jpeg-ignore-warning# i! ^6 U2 w# T3 E" _% e. @" j6 r
  1827. ;gd.jpeg_ignore_warning = 0
    ) p' {* e- Q, o
  1828. & X. j) V' w/ G$ r
  1829. [exif]* z) L/ f* P5 u
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.! q- \0 j( \: ]
  1831. ; With mbstring support this will automatically be converted into the encoding1 Q; |$ z) n- M; h
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding" M- B  s) `/ H! z
  1833. ; is used. For the decode settings you can distinguish between motorola and
    0 c* ?9 }$ E. V
  1834. ; intel byte order. A decode setting cannot be empty.
    3 j9 B, B, S% K4 x
  1835. ; http://php.net/exif.encode-unicode. y% u" ?& s6 t% \& }4 q2 G* e: e& ?
  1836. ;exif.encode_unicode = ISO-8859-158 }" S. Z4 e  B9 J4 z$ m; x

  1837. 9 ^. \7 v5 G, }
  1838. ; http://php.net/exif.decode-unicode-motorola
    8 y1 h$ c9 F- J  D. R  E5 `
  1839. ;exif.decode_unicode_motorola = UCS-2BE5 U4 y' ]$ J9 c* d+ z

  1840. " {5 {8 G$ ~1 t- g
  1841. ; http://php.net/exif.decode-unicode-intel
    % S) E% D' r3 Q1 u/ D- Z- `
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    * Y/ Y1 D) }4 m# P
  1843. 5 o. @6 y& ^% [$ h, g$ Y7 b
  1844. ; http://php.net/exif.encode-jis9 R9 Y' ~/ ]4 M* A
  1845. ;exif.encode_jis =* E6 O! U9 v2 _& f
  1846. 0 ~% h- l7 \) ]; O' F+ Y9 V: ]5 o+ p
  1847. ; http://php.net/exif.decode-jis-motorola
    + g- t  L9 Q6 g7 {: R6 R
  1848. ;exif.decode_jis_motorola = JIS
    - F* |2 H. C! H: [5 U# ~
  1849. & i' @; B6 `8 I/ K0 h- C' z
  1850. ; http://php.net/exif.decode-jis-intel" `' }$ ~  M& g" ~0 e$ ~
  1851. ;exif.decode_jis_intel    = JIS+ ]7 R7 ^, m# z2 U
  1852. ; H7 |; k, c* k! V: n2 X. G5 L
  1853. [Tidy]
    2 Q$ G5 J/ a# u9 \
  1854. ; The path to a default tidy configuration file to use when using tidy% O" p! {! H3 A1 D+ Q
  1855. ; http://php.net/tidy.default-config
    1 D- [0 W' r% A0 K+ R: l
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg% w3 @' j" b- w( u+ p
  1857. " z: y6 b4 Q9 d: E( o7 w
  1858. ; Should tidy clean and repair output automatically?
    ' J, t; f% j6 ^4 i$ E) _0 z7 ?- \
  1859. ; WARNING: Do not use this option if you are generating non-html content
    4 R$ T6 I. k. C8 `" U* {
  1860. ; such as dynamic images# w9 J4 m0 J; z, F/ w% p
  1861. ; http://php.net/tidy.clean-output
    9 _  I! Y* T0 c6 Z- S8 P
  1862. tidy.clean_output = Off5 `/ T$ Z7 j' V- w

  1863. ( ~5 Q( r6 `' k- C+ @( H0 F
  1864. [soap]
    2 N: \' R6 n$ D" D% F* N
  1865. ; Enables or disables WSDL caching feature.
    ! z: r" m. ~0 Q  e9 i
  1866. ; http://php.net/soap.wsdl-cache-enabled
      _# L* x4 L, _
  1867. soap.wsdl_cache_enabled=18 ]0 X9 a0 o' }+ e# o! q
  1868. . Q/ u3 o1 C$ I5 c  Z) l
  1869. ; Sets the directory name where SOAP extension will put cache files.! k# D. ~' Y2 T! U
  1870. ; http://php.net/soap.wsdl-cache-dir
    0 ?# R6 \: V0 K+ |7 E
  1871. soap.wsdl_cache_dir="/tmp"5 F4 D1 `" b. \5 a0 {
  1872. 2 D; W$ a: W5 P5 z. r  |2 g
  1873. ; (time to live) Sets the number of second while cached file will be used
    ' z8 g0 @5 L; K. x' r9 x
  1874. ; instead of original one.
    " k: s# G, M% v- H
  1875. ; http://php.net/soap.wsdl-cache-ttl
    9 X) [' l5 ?1 @$ s2 T2 z7 b. B
  1876. soap.wsdl_cache_ttl=86400
    0 ]7 w: V- `% X, s# k
  1877. 8 l% J" p, C" z' u) r5 l
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)2 t1 ^# c( K! U1 N0 I. i
  1879. soap.wsdl_cache_limit = 5
    5 X& J1 a& a3 O. B: I
  1880. / x4 a. r3 k+ v( t% h% r$ ^  y6 ]
  1881. [sysvshm]* h  o* W* X' ~; j* u) G
  1882. ; A default size of the shared memory segment
    ( H5 R: a. R6 w& u% v8 N
  1883. ;sysvshm.init_mem = 10000" w0 ?/ b. ^6 Y) r) A

  1884. ( L' q% N* K& E& g
  1885. [ldap]
    . U* _8 A  U$ P  H8 K, c; E
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    / @( L1 t- f9 h& {
  1887. ldap.max_links = -1
    ) Z0 d: g, t: O9 B
  1888. 6 F9 z: I/ Q- X0 ~5 \
  1889. [mcrypt]7 Q, D9 H$ O2 u) o9 I' Z. F
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    7 _3 L3 e3 |$ a; ~
  1891. $ z# x5 O' T+ Y% j- @( U- a
  1892. ; Directory where to load mcrypt algorithms0 |' Q9 i5 f1 ?, v; `3 }* u8 |
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% X$ t+ O3 f3 i" e
  1894. ;mcrypt.algorithms_dir=
    6 R( g( I4 q' R- W# A& U
  1895. 0 {1 B" o  {. Z* n2 e$ `7 H3 X" b. m
  1896. ; Directory where to load mcrypt modes
    4 m0 ]9 o, _, j( R
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& W/ R) z& Z+ z" Q4 {4 ^
  1898. ;mcrypt.modes_dir=3 F- E8 D$ Z: S) \0 U7 w
  1899. * ~" B2 Q: x9 T7 \! s
  1900. [dba]
    + S0 g" w& I( y2 B& e) Y
  1901. ;dba.default_handler=
    ! W3 y3 m, o0 }8 u. P
  1902. & ~$ a$ d9 o) d- h( ^8 v
  1903. [opcache]
    ) R( J9 w9 w, t4 `$ T* Y
  1904. ; Determines if Zend OPCache is enabled' J& S* C0 l7 O3 X+ X  l( Z( N2 S% ^
  1905. ;opcache.enable=0( f4 w8 z6 l/ ]0 N2 w2 J3 u+ N  F

  1906. + O6 p' R+ D9 |5 |
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    * ?: s3 }$ T: R' j
  1908. ;opcache.enable_cli=0
    " L; F" W3 e- u, y( x7 D

  1909. # l1 c& A8 i; f4 ?8 L0 P  E$ ?: _
  1910. ; The OPcache shared memory storage size.7 a* I; K) l9 _( v) v3 C$ u2 r
  1911. ;opcache.memory_consumption=649 y+ h) t, j" v
  1912. 5 j6 x+ T) }) j
  1913. ; The amount of memory for interned strings in Mbytes.. t$ W. r& i- x* M' y% f
  1914. ;opcache.interned_strings_buffer=44 P- m' c3 r2 G' p0 I
  1915. $ k" _. k: D! o
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    - B' Y& ^! q0 \! O
  1917. ; Only numbers between 200 and 100000 are allowed.
    6 R" F# m4 m0 M( T
  1918. ;opcache.max_accelerated_files=2000
    , I8 s- I9 E+ y2 m) T

  1919.   V' n8 j' Z0 B* I; r+ O0 X+ E
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    % w* C  l  \  h' J2 K
  1921. ;opcache.max_wasted_percentage=5
    8 }0 m4 O% `% G( H8 n/ V) ^

  1922. & B6 q4 t- _- `5 y7 R& `/ `) _2 T8 y! e
  1923. ; When this directive is enabled, the OPcache appends the current working0 Y* K6 G/ m6 V- |& f% j
  1924. ; directory to the script key, thus eliminating possible collisions between5 ~4 ^3 x5 ~% N" ]+ G+ g
  1925. ; files with the same name (basename). Disabling the directive improves
    " P+ ?( C0 {" A: n. U. X' }
  1926. ; performance, but may break existing applications.
    ! E- m5 e: ~0 z/ h: y0 g
  1927. ;opcache.use_cwd=1
    * c& Q# o7 x/ \5 W

  1928. # N; `- W/ o: y# {5 N* Q! y
  1929. ; When disabled, you must reset the OPcache manually or restart the
    6 n, j6 G4 L5 ]8 U0 T
  1930. ; webserver for changes to the filesystem to take effect.; r% I6 U# i& g- s' P5 w0 w# j
  1931. ;opcache.validate_timestamps=1+ X  T1 N0 q7 ]
  1932. # |, w, w% V3 q7 h; o4 M' Y; w
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    3 V3 X8 H; @' A9 `% H' z
  1934. ; memory storage allocation. ("1" means validate once per second, but only/ j; P3 k8 }6 e- [
  1935. ; once per request. "0" means always validate)" Q- v' f) B- Q5 i: J$ t
  1936. ;opcache.revalidate_freq=2
    - H: L% k/ A, M
  1937. . ^) b' b  r! x6 L2 S: q) B" p
  1938. ; Enables or disables file search in include_path optimization8 C$ B! E7 D! l4 [+ J7 J
  1939. ;opcache.revalidate_path=0; J  |0 j. O" j8 N! k# X$ H  a

  1940. , k. O1 @9 d& U+ s% {/ J& l; G. _
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the! M* y0 z2 T3 D' Y' i4 _
  1942. ; size of the optimized code.
    & h# _6 \& V) s( z  a0 Z! {- d
  1943. ;opcache.save_comments=1
      \1 F; b2 G7 d8 L8 a& _
  1944. * {' W4 G# U) S8 M! h+ L
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    & d' H- [6 w5 x: ], y8 k
  1946. ; may be always stored (save_comments=1), but not loaded by applications2 Y% ]9 R0 V0 j, r# _6 i2 ]3 y
  1947. ; that don't need them anyway.
    " @, f: D) @5 ?6 Z
  1948. ;opcache.load_comments=1
    . l7 k6 j+ S4 e5 W/ l8 ^6 G
  1949. , S6 S& r/ T0 [; y# L
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code5 f! s! N8 b2 d  u. G! d' M
  1951. ;opcache.fast_shutdown=0- S: c- H9 h1 `6 {1 L8 G1 n0 l

  1952. 6 {4 q3 j3 k5 L6 V! ]
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    & B# J5 D* }% V
  1954. ;opcache.enable_file_override=0# n0 n7 Y$ T: t2 Z
  1955. * y$ V  [& H! y
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    3 R0 Y1 Z9 G7 z9 _
  1957. ; passes3 ~: w% J$ w- q
  1958. ;opcache.optimization_level=0xffffffff
    9 _% E# |3 _" y3 K7 t

  1959. 4 R" y% i; E6 Q& [1 t
  1960. ;opcache.inherited_hack=1
    / j0 m0 R# C8 s+ }* C9 j3 s
  1961. ;opcache.dups_fix=0
    " W6 `# h* S- H$ f* t* |
  1962. 4 Y- W" f, e5 F6 W
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    " _7 h8 B7 o9 k
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    + T) O, ~, _" T0 C$ y- R% N
  1965. ; that should not be accelerated. The file format is to add each filename$ }  k1 B, m1 h! ?5 o
  1966. ; to a new line. The filename may be a full path or just a file prefix
    6 h: @6 m# _5 Y3 [
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    9 M) v( K& W" h- ]
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    . p8 l$ V- I9 C) h
  1969. ;opcache.blacklist_filename=
    3 O8 v! |9 U( u/ ]+ O+ s
  1970. : q! ~) C* }  s4 O6 w- K
  1971. ; Allows exclusion of large files from being cached. By default all files
    & B6 |/ H$ N* y+ \. l
  1972. ; are cached.: q- z9 _; G8 U. \! A& [
  1973. ;opcache.max_file_size=06 W2 [+ r- e: X5 F+ b2 B9 i, a
  1974. " z6 J$ P+ q1 ~. a3 J# ?& z# v" t
  1975. ; Check the cache checksum each N requests.
    $ I1 U8 O4 F$ H9 U3 a: U5 u
  1976. ; The default value of "0" means that the checks are disabled.
    / N, d* a9 {3 Y. g5 b7 ~0 e
  1977. ;opcache.consistency_checks=0
    ! F) e. E! O6 D: I
  1978. . I: K0 ]( t. N1 R4 f" t! ^& d
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache1 u; B5 F, _2 ], E
  1980. ; is not being accessed.
    , n/ N8 j6 Z! y3 e1 p# ^/ i
  1981. ;opcache.force_restart_timeout=180
    0 j6 S( [8 C1 ~# b+ ?& C
  1982. # m5 w. _; l0 ~7 o+ c& B% F( W
  1983. ; OPcache error_log file name. Empty string assumes "stderr".: ^5 z; u: ~' m, \; |
  1984. ;opcache.error_log=
    3 |1 l, |) L4 a" g! h
  1985. # V5 s- v: O: r
  1986. ; All OPcache errors go to the Web server log.
    ) ?$ R0 G2 I" \* X  z; ]
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 m6 e- r" c4 R
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    2 n( O$ H/ a" v) z  c: u
  1989. ; debug messages (level 4).
    9 H1 z' c$ r7 Q. o
  1990. ;opcache.log_verbosity_level=1# y0 z* L' R2 p+ J0 b$ R: G/ w

  1991. : ^7 Q) U/ _" g. }/ `% Q4 y
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: L% G8 C  \* @( u# {
  1993. ;opcache.preferred_memory_model=
    ( L, B0 W7 M" }" W
  1994. , W$ H5 f7 a: k5 e
  1995. ; Protect the shared memory from unexpected writing during script execution./ k) B' x  }& F. N8 g1 g+ ]/ ?
  1996. ; Useful for internal debugging only.) K1 |$ Y/ r4 F' p
  1997. ;opcache.protect_memory=0
    ) h: N& x5 _9 _

  1998. 9 S+ z. Q% @+ s2 l3 I
  1999. ; Validate cached file permissions.- j( H- D# A, t3 Z  p
  2000. ; opcache.validate_permission=0
    2 h9 z4 A: Z" E/ b& O! p8 @' q

  2001. 5 n1 z# q/ g% S! R5 Z1 X
  2002. ; Prevent name collisions in chroot'ed environment.
    % }9 X9 U/ |3 v9 U; G
  2003. ; opcache.validate_root=04 y+ q0 V% a9 \4 J$ ~- @

  2004. 4 R0 f  ?/ E* O+ V
  2005. [curl]
    : S5 F% V8 s$ G9 o
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 e* d) o' w, e( I+ m6 w0 q
  2007. ; absolute path.
    1 c" @, i7 K$ C! Q( ]" X9 n
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt, z+ ?+ a$ ^3 T& t0 v
  2009. 0 R1 [2 Q. Y0 w+ c! J
  2010. [openssl]: h" Y' D# g% L, ~  w: L+ X
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem7 _9 Z, Y4 j& h" n  k. a
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    , z# c9 T& y6 L9 @+ L" M) N# t! U
  2013. ; not specify a value for this directive as PHP will attempt to use the
    . u) d# `, Q) K3 v
  2014. ; OS-managed cert stores in its absence. If specified, this value may still0 N- u. R8 t! }4 b9 `2 \
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ' ?3 S! r- B) c9 f
  2016. ; option.# i! z5 G- {8 S6 _+ L
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt$ D6 h4 G  W7 \, q6 k

  2018. # Y+ L0 a% q5 Y% X
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the0 K% c1 L( p# S8 C  Q
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    3 w7 Q( g0 L" R$ j( a, k
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    % R" B" A8 }  K
  2022. ; Most users should not specify a value for this directive as PHP will! h2 G, D' l  G3 ^0 L
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,8 O1 f4 F- J0 N6 S6 H
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    5 H" f; ^: z0 R8 E( z
  2025. ; SSL stream context option.6 c& V9 E4 @3 Q* ^; ~
  2026. ;openssl.capath=- ?2 \6 F) d+ S1 J6 K# _# D
  2027. . N& u7 \* ?& d
  2028. ; Local Variables:% Q2 c7 J5 |  ^
  2029. ; tab-width: 46 K! H4 V( h% a4 a
  2030. ; End:
    5 y& n7 N! [6 n& x1 o- Y. k

  2031. . M, F' H4 f( J. U
  2032. ;eaccelerator
    , }2 R( r; a3 q0 n: }3 `
  2033. " Z. v& [; b: x2 h
  2034. ;ionCube( v' B" X3 O5 H+ d8 g
  2035. 5 K$ Z/ I2 b2 V1 W9 j3 B
  2036. ;opcache) _: `' ]$ R9 e% N/ r0 P0 F
  2037. 0 M& [. Q" f" v% e! |7 L, H) J
  2038. [Zend ZendGuard Loader]
    ) @, s% x: F9 _4 E3 R
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    , x8 G5 R, w6 _
  2040. zend_loader.enable=18 n% x8 p" H3 ^$ q# _
  2041. zend_loader.disable_licensing=06 x0 M$ y+ T# r$ p/ C5 p! V
  2042. zend_loader.obfuscation_level_support=3) y0 g% ~0 Q% ?# g
  2043. zend_loader.license_path=
    ' q1 D: N& z: \7 o2 i
  2044. 5 g/ h+ d# `5 N  R3 Z/ i3 i/ G: w( W
  2045. ;xcache
    . X) B) L' K0 a

  2046. 3 T5 b: ?4 `% M& E1 i
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
- j6 @. M4 y5 u# A/ S1 i: {! @: J2 ^' O7 z7 {. o/ D" h

% f0 ~' f0 {) i6 cDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
" P5 r1 I( h! [) g2 A: r. V. P% V
0 G) n# Z4 t! P4 u1 Q7 QDiscuz!程序版本选择:
1 h' Q8 p1 |8 \. p站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
" J9 |: R7 z! X) o- a. K不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
+ C7 l/ I2 k8 T& tDiscuz!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。/ _; e2 O- y1 c; P& @2 h' z; Q0 V

; u/ }; \3 w% B- sDiscuz!插件模板版本选择:( t8 p4 ?' [, _% y, y7 ~
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
4 Z* B, J+ e! S3 d& h9 V/ Y' P针对这个问题做个统一的普及:0 y  j( a/ C. z& w- K) a8 y3 E- l" A
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。/ V# f/ A8 ^2 M) d3 M

' l, P# ?9 t- J所以/ w+ d9 ]5 Z" t6 G1 I
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
1 D6 Q& T: P7 g  U& k4 j5 w% C打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。: C) C3 b, ?$ g4 V3 J! [
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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