分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
: M. |4 H% K3 {6 A
8 H% z9 Y9 t1 g$ R
  1. [PHP]
    7 \" n0 k. k1 k2 [( P& W" A
  2. , W( W* Y3 f; X! O
  3. ;;;;;;;;;;;;;;;;;;;2 N+ @& f' D# d3 G5 j1 i; o! a. a
  4. ; About php.ini   ;
    $ }5 D% K# l. s/ W& _7 `' x
  5. ;;;;;;;;;;;;;;;;;;;" c5 s% v, t5 [' m
  6. ; PHP's initialization file, generally called php.ini, is responsible for" `9 ?! F0 ]; W3 L$ ^% m1 d
  7. ; configuring many of the aspects of PHP's behavior.4 ~( }4 n9 G6 `& D
  8.   V  }' T5 u4 C- b* `
  9. ; PHP attempts to find and load this configuration from a number of locations.. F( L$ K! c8 U1 k' z# s
  10. ; The following is a summary of its search order:
    $ ^* n3 C4 Z2 |  U$ u8 |
  11. ; 1. SAPI module specific location.: P$ }( [" t# g/ L
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 r+ N8 k+ L7 U2 W6 M$ E. Y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)/ E# B6 N  G5 O) c
  14. ; 4. Current working directory (except CLI)' X4 f; d- w0 k9 H: @2 d
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    0 @$ H/ E8 T4 t7 U. v
  16. ; (otherwise in Windows)
    : h0 W# E4 L9 n6 _: R# o0 g
  17. ; 6. The directory from the --with-config-file-path compile time option, or the& _+ L0 L- s" G% w0 l! t4 C- t
  18. ; Windows directory (C:\windows or C:\winnt)
    & V4 O& t% d; _' g6 P
  19. ; See the PHP docs for more specific information.6 P8 ?; m! M: Q8 r; j- E1 ]
  20. ; http://php.net/configuration.file
    0 X: l9 o2 z& m

  21. ' B8 S  c+ W0 ~
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    $ u5 L# p/ o, \: e
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 O$ R9 A$ F0 d
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though* N' O. t6 ]) h- x9 O8 E
  25. ; they might mean something in the future.3 L' A' E  F9 ]9 Q
  26. : ?. g- V7 {; [2 C2 S/ E
  27. ; Directives following the section heading [PATH=/www/mysite] only
    : d& `3 |: N) r) F( A- x' v
  28. ; apply to PHP files in the /www/mysite directory.  Directives) [4 J/ |' {3 B" X2 I
  29. ; following the section heading [HOST=www.example.com] only apply to  N1 L2 Z  [  P' u/ R( P
  30. ; PHP files served from www.example.com.  Directives set in these
    9 ^) ]. r7 _- @
  31. ; special sections cannot be overridden by user-defined INI files or
    4 r3 V2 u2 K! b/ a
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    + O1 E3 i. f2 F: Z& h+ q
  33. ; CGI/FastCGI.
    , Q4 w1 B* v) t5 G4 x. V& N. V
  34. ; http://php.net/ini.sections& J1 _  P8 G' k0 ^* ]* o

  35. 5 b- W) M: @: n; P6 A. [) \5 V
  36. ; Directives are specified using the following syntax:( B+ |8 m. k% M( N7 l4 n
  37. ; directive = value/ z: s. F/ v6 j+ F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    + U5 R8 J  b3 C) e2 }( ~9 I
  39. ; Directives are variables used to configure PHP or PHP extensions.
      a, P" @7 X. n2 ]
  40. ; There is no name validation.  If PHP can't find an expected/ R( L1 u/ `' h2 R2 f6 ~
  41. ; directive because it is not set or is mistyped, a default value will be used.$ i8 K! I- |" x" [% y1 ^
  42. ! K, L! b: I- P( j$ t- G) D
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    5 b/ |7 k% \) P. S6 o
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    5 ]) r- m& l" ^( m8 ]- n+ T
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a# V! G: ^7 y. U
  46. ; previously set variable or directive (e.g. ${foo})
    # ^, B: P2 \% E
  47. % \0 H$ V0 J+ T7 T# E" t1 `
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:$ T" q3 M5 ~6 J. Q$ u0 \
  49. ; |  bitwise OR
    3 ^6 E9 Q) r9 l+ X" N6 g
  50. ; ^  bitwise XOR2 q5 W# ~2 j* O0 T
  51. ; &  bitwise AND
    / C% r* [' |' ?( ?8 S
  52. ; ~  bitwise NOT
    # f& X( B* n; W% Y  ]
  53. ; !  boolean NOT1 \6 V& j9 V2 A! j
  54. : n) g; `* |/ m% @9 z2 `; X
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! f% M1 P. |- u  R2 ?& g
  56. ; They can be turned off using the values 0, Off, False or No.
    7 J; F! ^5 p; [9 e
  57. 6 l9 b. N! C  e8 k# [% D6 j' b& i
  58. ; An empty string can be denoted by simply not writing anything after the equal( Y8 O1 _+ x; S  x! ?3 Q
  59. ; sign, or by using the None keyword:
    # z" y" b. k' y, c. z8 {. I
  60. 9 Z2 R4 Q; b; W3 P: P
  61. ;  foo =         ; sets foo to an empty string
    # |& C) p# ]% Y" H/ z
  62. ;  foo = None    ; sets foo to an empty string
    % J- Z/ l. Q0 K8 @" f! W
  63. ;  foo = "None"  ; sets foo to the string 'None'# m: V: @7 V8 x9 I" s

  64.   L1 C" j6 E) Z. @& H. C- H( `
  65. ; If you use constants in your value, and these constants belong to a
    8 s9 _' c0 O3 W$ ~1 W1 L2 P: }# t
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),% h0 E! w8 e2 p# u6 S. o# f; \3 v6 O
  67. ; you may only use these constants *after* the line that loads the extension., p5 F" B; n. r( i, B  i1 t* z- @8 v
  68. , \& |  i/ f, [( Q( l
  69. ;;;;;;;;;;;;;;;;;;;. I4 A2 ~% M4 F- x7 Y
  70. ; About this file ;9 e* i# a4 h' L( ]7 C% i
  71. ;;;;;;;;;;;;;;;;;;;- ]! F2 k& B4 a7 @& `- o/ P
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    8 H: J0 t6 E9 N6 `3 ^
  73. ; in production environments and one that is recommended to be used in# s. L; L0 |7 O2 T
  74. ; development environments.# F8 P: x$ z& l0 d6 z2 m

  75. 0 F& R9 o8 ]2 m! ^0 g( |. B% w3 j
  76. ; php.ini-production contains settings which hold security, performance and
    7 ?# l; ]) [* U& i6 E3 \
  77. ; best practices at its core. But please be aware, these settings may break8 o' e) _6 Q$ }* d, K, X/ H& ]
  78. ; compatibility with older or less security conscience applications. We
    1 H/ t( j6 C, z, B) Y$ ~
  79. ; recommending using the production ini in production and testing environments.
    - Y. }# X2 Z& X+ p/ E

  80. % m* ?' V" _* R( Y: H' _
  81. ; php.ini-development is very similar to its production variant, except it is$ u1 _; l( P3 t" e
  82. ; much more verbose when it comes to errors. We recommend using the
    ) w5 q! L1 u/ u
  83. ; development version only in development environments, as errors shown to
    # D+ j& X$ Q; E
  84. ; application users can inadvertently leak otherwise secure information.
    7 u# s& G7 l; `5 E6 Q7 `7 ^

  85. + |- ^' ]! L& R6 C0 b
  86. ; This is php.ini-production INI file.
    ! N: E" ?3 B( P8 K) Y
  87. ) [, E. b5 P; x7 c0 }
  88. ;;;;;;;;;;;;;;;;;;;% M5 H# y4 |) i
  89. ; Quick Reference ;
    ( i0 Q& R) \" h
  90. ;;;;;;;;;;;;;;;;;;;- N2 W+ e2 \1 G% I' H5 o
  91. ; The following are all the settings which are different in either the production; t5 _0 }2 N- p/ M9 r1 h" A" G5 K
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    3 L% F+ o- C. h7 D3 N  @, v
  93. ; Please see the actual settings later in the document for more details as to why
    6 e2 f. s2 |- s) i( G. {
  94. ; we recommend these changes in PHP's behavior.2 T& _9 L6 H9 i6 C( H+ U  w' }
  95. 6 c2 _# u1 r2 s
  96. ; display_errors
    & j& h% B- O5 d' R2 n2 [! U  _
  97. ;   Default Value: On; V% J  G' G$ j6 o8 G. \: O
  98. ;   Development Value: On3 C, {  c6 w; j3 a3 L
  99. ;   Production Value: Off. x% d$ U& e. j7 e& t4 f
  100.   V. E/ b5 R* N& G5 m
  101. ; display_startup_errors2 _9 C1 `4 Z. M1 X; E; p
  102. ;   Default Value: Off
    % X0 r8 z5 d5 j$ ~; Y( c2 `
  103. ;   Development Value: On
    / V% w( u+ ^5 v# b7 ?: a5 ^" u' v
  104. ;   Production Value: Off
    . a# d! G  H' N. {' `
  105. 2 o1 i! l3 u& |& L) E: P4 Y9 `
  106. ; error_reporting: H/ v  G0 G+ e  L: n9 v* p0 o
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - B0 _3 S8 L4 [
  108. ;   Development Value: E_ALL
    ' L! y& q2 R3 C
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " n  w  E; k* P' `- ^$ l  P
  110. ! P2 J( k4 t% A
  111. ; html_errors1 o9 j0 k7 ~+ O4 J% v. V
  112. ;   Default Value: On& p! M4 _& `* t  ]
  113. ;   Development Value: On9 p+ b$ L( f0 P* v
  114. ;   Production value: On" c  a  e8 c* u. w( f
  115. 8 r# n  M/ t3 K- e0 |: Q
  116. ; log_errors" E: s" ]* B' w
  117. ;   Default Value: Off
    * H" |/ [1 z! E; ?( H
  118. ;   Development Value: On
    6 j. C. [2 S# B2 U1 b
  119. ;   Production Value: On8 {& L3 h3 x$ O

  120. 2 S; v+ O$ T. X. u7 v
  121. ; max_input_time9 L& Y  x: @- q# X) u
  122. ;   Default Value: -1 (Unlimited)0 t8 ^+ H3 D- h& R$ `- Z2 [
  123. ;   Development Value: 60 (60 seconds)6 j5 A; D$ Z; r
  124. ;   Production Value: 60 (60 seconds)
    ) D7 c  u( G; o7 P" w  t
  125. $ f3 z& l9 F% U, u5 @2 r% a, B0 F0 U
  126. ; output_buffering
    5 O/ b2 k* l  @/ H9 A% r
  127. ;   Default Value: Off7 x2 X, D5 n+ l1 u
  128. ;   Development Value: 4096
    & j5 Y, V1 z  V) a
  129. ;   Production Value: 4096
    8 Y0 F! W! Y; i8 @1 `3 }

  130. % K  p% `$ z9 E6 M) r- H: l
  131. ; register_argc_argv6 c; u; h7 k; u( v; n
  132. ;   Default Value: On4 N+ P0 b5 A$ w
  133. ;   Development Value: Off
    - q, X( _5 P1 {9 j" H8 W
  134. ;   Production Value: Off
    - z: e1 K! E3 b" T% t4 O; }" U
  135. . n8 B1 ?# ^, t7 o
  136. ; request_order7 ]6 F. Z- I0 G& S" P4 [
  137. ;   Default Value: None
    ) d9 u; B5 a3 r
  138. ;   Development Value: "GP"
    ( i% B; X$ J* p$ X5 \
  139. ;   Production Value: "GP") R% B; o$ r' O2 b$ Y, W- _( z0 \

  140. . O, ^- H% I9 D: ]! h, w
  141. ; session.gc_divisor+ K2 ~4 g: J& N8 {
  142. ;   Default Value: 100. ?1 h' I# b0 X2 B8 h. H  `" I
  143. ;   Development Value: 1000
    " r/ i) Z7 e; g. t8 `  X  x
  144. ;   Production Value: 1000
    , M+ U: e: G( [6 D
  145. / d5 q. J- y1 Z
  146. ; session.hash_bits_per_character
    " E, }2 n9 n* D: v1 P5 g. X
  147. ;   Default Value: 46 F  a: x2 b# r& \) R7 J8 x
  148. ;   Development Value: 5
    5 ^3 f. R  S9 g. Z
  149. ;   Production Value: 5% P6 V- ?' C0 V2 `6 Z1 |
  150. * k1 V5 M$ U% @! i
  151. ; short_open_tag+ J) Z; e' R  T* o# ]9 u) r: k4 ?- Q- b
  152. ;   Default Value: On: X3 b" K2 c' k
  153. ;   Development Value: Off
    7 c( W7 u8 D! s
  154. ;   Production Value: Off0 j8 j6 U3 O3 v1 |/ F! g

  155.   h; y6 h4 z  v& @; _: T6 h' W
  156. ; track_errors1 K5 |# i* b& D4 c" s$ W$ m8 x
  157. ;   Default Value: Off" G% A: |: u) `5 Q' e" v  {
  158. ;   Development Value: On6 B8 q0 [% H7 c2 b9 I
  159. ;   Production Value: Off
    % i: n( f6 |  u/ l9 ?) U7 H
  160. , X0 P& V) l; ~% n
  161. ; url_rewriter.tags3 I$ X8 \6 i6 Z* e$ q% m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 @0 n  }6 W1 E1 u( m3 ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 S2 N& ?* t% T3 o8 N0 Q5 |* Z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; l! z& k! V. ~; G+ w

  165. , D( G- }) J$ ?$ ^% l2 F+ e
  166. ; variables_order, ?& p1 K: N" h/ P
  167. ;   Default Value: "EGPCS"( C7 S* Y! c6 }$ r* P
  168. ;   Development Value: "GPCS"
    ( L' `9 p& I+ t. p  E- h' K
  169. ;   Production Value: "GPCS"
    , Q! G: `! j1 [2 s7 P" M
  170. : a  o* V% C) ?
  171. ;;;;;;;;;;;;;;;;;;;;
    0 b' f: M) O7 w. q
  172. ; php.ini Options  ;& }$ [: M; J! M4 S7 G* H$ j7 z
  173. ;;;;;;;;;;;;;;;;;;;;
    * p6 L0 I) q' ]" J' i& n0 @
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    4 j6 w% R; g9 k) X2 c0 z0 I. ~
  175. ;user_ini.filename = ".user.ini"& a! ?& u) f; C( z
  176. % x6 u6 {- J9 F7 \/ J
  177. ; To disable this feature set this option to empty value7 m( B% {, }/ Q5 }5 o8 Q
  178. ;user_ini.filename =/ E; s4 H: a% G& e$ p5 u. z& ~

  179. ! U4 X6 a7 P8 }3 k5 d! p% N( y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & O' q: g1 b; c  J) r+ N
  181. ;user_ini.cache_ttl = 300
    . p- j; `0 z1 Y* d
  182. 9 {3 j9 s* C* w! J) K
  183. ;;;;;;;;;;;;;;;;;;;;9 w& p; T; q# [) S$ l3 B. V4 ^/ p
  184. ; Language Options ;+ t' @" h2 w, H; b% u" |5 N
  185. ;;;;;;;;;;;;;;;;;;;;' [$ z' k( B7 \. p

  186. 3 c2 r5 Q. a& P# }% O; n
  187. ; Enable the PHP scripting language engine under Apache.
    " {0 A& h/ o! L3 z* F- }4 S, K
  188. ; http://php.net/engine
    5 X. W* S- l; h3 D8 Z
  189. engine = On' ~/ z% V8 C8 `: v! Z  b  Z3 L# q

  190. 1 E* t; W; y( G' e% Q$ [
  191. ; This directive determines whether or not PHP will recognize code between
    ( W. R% f& P, D6 Z/ g  ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is- H0 _1 F. @  M$ A& Z- a
  193. ; generally recommended that <?php and ?> should be used and that this feature1 F! ]7 M5 \* ^3 O
  194. ; should be disabled, as enabling it may result in issues when generating XML/ p$ {4 M* D/ X  o& S$ ^7 F. B
  195. ; documents, however this remains supported for backward compatibility reasons.6 |, T8 A4 |" U7 m/ l9 S
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    % }5 M! h' X' `, N: O, I( D; ~
  197. ; used regardless of this directive.
    6 L9 ~3 J6 n9 e8 i; e5 f, m
  198. ; Default Value: On8 j3 }2 }$ D6 ]6 g9 [
  199. ; Development Value: Off  `- c6 p! H' E' h2 x2 Z" b5 x
  200. ; Production Value: Off
    0 I1 T5 w* U/ w1 {' W2 k" ~: l
  201. ; http://php.net/short-open-tag
    ! l) f) i- Z1 I+ D+ s2 }5 ~( u
  202. short_open_tag = On& m% X/ Y, j) m! B

  203. 6 j3 c% M4 J' |8 t) r+ E
  204. ; The number of significant digits displayed in floating point numbers.& H5 v4 h8 ^$ B% h
  205. ; http://php.net/precision
    3 Z$ \+ _# q0 }- B' p2 r0 t4 Z
  206. precision = 14' M4 d1 e! z/ B# K& W

  207. ! t* ~$ _' z# t4 ^6 u$ q
  208. ; Output buffering is a mechanism for controlling how much output data# q9 D4 S1 _; @; U8 o
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that5 P  }' V% L8 G( P: F
  210. ; data to the client. If your application's output exceeds this setting, PHP5 d+ ^8 D8 s& U& G
  211. ; will send that data in chunks of roughly the size you specify.
    1 A. j1 ?* g, m2 U$ ?
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    % g. a, D0 q3 ~2 j" n& X
  213. ; interesting side-effects depending on your application and web server.
    2 o3 b% i, q+ R, f. h" n- h& j
  214. ; You may be able to send headers and cookies after you've already sent output! U) }3 Q$ u8 l, l$ Y
  215. ; through print or echo. You also may see performance benefits if your server is
    ' Y" e. M) k' X* e2 ~+ Z. v9 P
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    / R6 s9 R6 Q$ I4 Q9 d0 K; j
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 a' n) _! H1 L- T! Z
  218. ; reasons.
    ) |7 c, c$ u7 W' j9 a# g9 S  h, z
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    - z- S2 k; s# u- j: g; j
  220. ;   functions.
    : n, l  o( |, R: y, D$ F
  221. ; Possible Values:" b# w% q8 g6 j9 N
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    5 d6 [3 T6 I7 `# H% n- L; H7 ]) J
  223. ;   Off = Disabled% q5 H, u6 H/ g1 U6 E- i3 h/ }
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes." G7 f6 P8 g, I* B/ |
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & ]5 y2 @% R6 B" A7 w3 B
  226. ; Default Value: Off' a8 `3 ^( f/ L( ^3 B( e
  227. ; Development Value: 40965 _% D* w7 F( C7 L% E- g- K2 t
  228. ; Production Value: 40967 d  P7 `! \! a2 q
  229. ; http://php.net/output-buffering3 e7 g3 V( H7 E$ z$ F( g! o5 P
  230. output_buffering = 4096- @9 N" H* Z8 Z4 w
  231. 6 i! e! p/ w0 q: J' m
  232. ; You can redirect all of the output of your scripts to a function.  For# J# O* b% e) K& P# m5 O8 ]2 l3 N. a5 w
  233. ; example, if you set output_handler to "mb_output_handler", character
    3 b/ Z# m/ A, ]5 ?) }+ s) R, L
  234. ; encoding will be transparently converted to the specified encoding.
    2 [8 H- T/ C5 g5 P4 ]" \# e- K% }
  235. ; Setting any output handler automatically turns on output buffering.6 B+ `" u* }& ]  n, X0 M9 p
  236. ; Note: People who wrote portable scripts should not depend on this ini" K  e) f  M( ]& ^
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    0 L; e8 x' ~; k
  238. ;   Using this ini directive may cause problems unless you know what script
    9 q* D! l* v" z- v6 b$ c
  239. ;   is doing.- l$ O; _5 y5 j1 e
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"& _0 N# n; o: @2 l* D, ]* F
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    : r, M1 O( D0 V
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    4 v5 k- w5 z" t( i% l
  243. ;   Instead you must use zlib.output_handler.0 c" [9 s; a4 `" T
  244. ; http://php.net/output-handler
    % Q; P" i6 \* K/ M+ D( [9 V
  245. ;output_handler =" Z# R" O$ d  F' B/ i
  246. ) V% P& H5 s7 \' {& e  m
  247. ; Transparent output compression using the zlib library/ l; \5 P1 K' D; w8 H/ q% s
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size4 @: g! S% Q# G8 p' ^3 q
  249. ; to be used for compression (default is 4KB)3 m' R$ {2 L. Z6 b7 z3 S# ?( \$ `
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP5 H$ c& M) r. Z$ n2 y
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    4 \0 N! d7 }! S& e; ?: B6 K' t. }
  252. ;   compression. If you prefer a larger chunk size for better) [0 v/ u  q2 _* [
  253. ;   performance, enable output_buffering in addition.  Q% ~* q- |, p4 ^( X( W: f1 j
  254. ; Note: You need to use zlib.output_handler instead of the standard
    ) h5 N& n. X( X2 B9 L+ C* k- G  Z
  255. ;   output_handler, or otherwise the output will be corrupted.! R  U3 v7 n4 u( D* y* q& W; V& d
  256. ; http://php.net/zlib.output-compression
    3 P7 u3 C9 V) J9 f# K" Y
  257. zlib.output_compression = Off/ }1 U! `2 M) w2 g! s' l
  258. : V; w9 h0 z  d7 L2 \+ A
  259. ; http://php.net/zlib.output-compression-level6 N* b2 `6 V- J' `' d
  260. ;zlib.output_compression_level = -19 T- x. ^3 V; }' m5 X9 L5 p
  261. 4 _0 L, C' ?' _3 g7 V
  262. ; You cannot specify additional output handlers if zlib.output_compression0 g/ M7 N0 ~$ g  ]
  263. ; is activated here. This setting does the same as output_handler but in
    : ?+ |: z& m$ i3 r" n; F
  264. ; a different order.
    , h1 J  Y1 X) O0 H' Z
  265. ; http://php.net/zlib.output-handler
    ( U$ ^3 p1 C2 \  k; F
  266. ;zlib.output_handler =/ f$ o1 P/ W1 c, \+ E, i" o

  267. ( ?$ d3 C% Q: g' m
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    * m. S1 n) J' G3 {; e
  269. ; automatically after every output block.  This is equivalent to calling the1 V1 K* F/ q5 Z  B
  270. ; PHP function flush() after each and every call to print() or echo() and each
    & x/ e" }4 X8 M7 Y
  271. ; and every HTML block.  Turning this option on has serious performance$ E# n) i$ q9 T& a2 U4 k1 ]
  272. ; implications and is generally recommended for debugging purposes only.
    3 N1 O' [9 C) x7 C. h2 E
  273. ; http://php.net/implicit-flush+ N) m, z0 P! y4 i( F7 V# e
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    # C' [8 J( H/ V
  275. implicit_flush = Off
    3 U# G" P+ t* R7 @0 i- c3 a5 ^

  276. 6 W& z6 ^' S/ y! Z2 w! P
  277. ; The unserialize callback function will be called (with the undefined class'
    0 A7 N' D# P; @6 F" [
  278. ; name as parameter), if the unserializer finds an undefined class) d: {: t. i+ p
  279. ; which should be instantiated. A warning appears if the specified function is" K+ n' F, U' b
  280. ; not defined, or if the function doesn't include/implement the missing class.
    : \' J, x& P. o: k
  281. ; So only set this entry, if you really want to implement such a' f+ [6 U, P! H
  282. ; callback-function.
    : u  u. J( I- T5 L$ E
  283. unserialize_callback_func =
    6 q5 n- N0 f& ]# A; h# n

  284. & d) G) q& M$ E; Z+ R$ ]. X
  285. ; When floats & doubles are serialized store serialize_precision significant$ o6 m6 t( C9 _
  286. ; digits after the floating point. The default value ensures that when floats4 ]/ N- n( p" _1 ?
  287. ; are decoded with unserialize, the data will remain the same.1 A' x1 V2 t* P+ Z1 j- c# E
  288. serialize_precision = 17
    : g- {9 `- E' j, d
  289. / X- `: V9 G8 O
  290. ; open_basedir, if set, limits all file operations to the defined directory& f! K0 T! I( _3 X4 j
  291. ; and below.  This directive makes most sense if used in a per-directory
    - ^# }* S% U& r" y! c+ n; a6 C
  292. ; or per-virtualhost web server configuration file.2 r5 N0 R2 j0 F! `/ B3 V
  293. ; http://php.net/open-basedir
    9 T* s. o8 @+ W
  294. ;open_basedir =
    / `0 z4 v$ e# C7 e4 X1 r4 }

  295. ) b6 b- V9 {- ^/ b/ M
  296. ; This directive allows you to disable certain functions for security reasons.
    $ g- q1 t' c$ m% d$ P9 ~
  297. ; It receives a comma-delimited list of function names.0 Y/ ^( b. ^8 n2 k, o
  298. ; http://php.net/disable-functions
    2 w1 t. ?( c, p' z$ b. z  o
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& A. f* {% d9 X! l  H/ |

  300. - a0 a2 Y; G, v5 j/ l2 i: M
  301. ; This directive allows you to disable certain classes for security reasons.
    ! u2 {6 Q6 N6 ]  C
  302. ; It receives a comma-delimited list of class names.. l1 `0 @+ R2 G4 j" L; A. k2 O
  303. ; http://php.net/disable-classes
    : U1 d" }( C3 A7 o. J
  304. disable_classes =( ]! z. V9 j2 u& U( d6 H  w3 _  B

  305. 4 j% T. z7 u6 h+ ~3 A! |6 Z8 g* k
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    + s, j4 j6 S. t# y" O
  307. ; <span style="color: ???????"> would work.
    4 b) d) M6 l) }8 M$ c: B2 u
  308. ; http://php.net/syntax-highlighting: a7 ~0 k7 k, y/ i4 J  V! E; v( b) k" c
  309. ;highlight.string  = #DD0000: ^5 O5 v3 Y: W) Z5 v
  310. ;highlight.comment = #FF9900/ i& b2 E+ U2 I+ L, M8 R" j
  311. ;highlight.keyword = #007700: P% L) Y/ r# _/ @6 u; B
  312. ;highlight.default = #0000BB
    % R9 ~& B$ X4 W/ _8 X8 i& {; w
  313. ;highlight.html    = #000000; P' z% F6 k. n0 h9 Y$ X9 {

  314. 1 N: P! Y3 T2 C! k  n% W5 M% Q, }+ Q
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    & x" @( w3 [: s  D
  316. ; the request. Consider enabling it if executing long requests, which may end up0 _: Y8 d% R) s
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior% |# Z' B; e& V- J0 b8 I
  318. ; is to disable this feature.4 F1 E( \1 c) Z0 `- s4 h) u' O
  319. ; http://php.net/ignore-user-abort
    4 D$ X7 M" r3 ~
  320. ;ignore_user_abort = On
    $ |( B  R8 @2 y$ U$ F, x3 |
  321. & r6 v3 W' u) S1 ^' m0 s6 g5 h
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
      s$ R3 q* ~* `
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    5 L0 p2 v3 y. }. O
  324. ; the file operations performed.* h1 b6 h) R0 c! l' n: g# {
  325. ; http://php.net/realpath-cache-size& W! x: G% n, T7 ?
  326. ;realpath_cache_size = 4096k
    / f, e" h8 o% e; u: {

  327.   M( F4 a# u1 j  M, ^  }" ]
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    4 Q% T, X$ N" v: t& r5 [
  329. ; file or directory. For systems with rarely changing files, consider increasing this5 W7 d. I# R5 X  o
  330. ; value.# n5 P/ D+ U  ~! E& N% p
  331. ; http://php.net/realpath-cache-ttl. L8 @) a, v# c: p  E% c% p* J2 X
  332. ;realpath_cache_ttl = 120
    - p6 N& Q- w# d) L$ I& {3 f% l6 z

  333. : k5 R0 _6 \+ [2 A2 h% ?9 E. q* Q& {
  334. ; Enables or disables the circular reference collector.5 m1 @+ _# y+ n& a4 v, N9 x) v, j
  335. ; http://php.net/zend.enable-gc
    8 E0 T' r6 H4 O* R9 e* N7 y8 A
  336. zend.enable_gc = On3 ?( H/ b7 _9 E7 V" @- h
  337. - q: q9 [% h% T3 H
  338. ; If enabled, scripts may be written in encodings that are incompatible with4 d5 Z8 y7 B# q$ i6 ~
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ! d0 P0 {' q# o4 `% X, I( x: B
  340. ; encodings.  To use this feature, mbstring extension must be enabled.0 U0 B* V; S5 g# Z% w' R$ \
  341. ; Default: Off
    2 o5 C& ?* B+ c5 c# m4 b# z3 `
  342. ;zend.multibyte = Off
    7 z0 G; P; @) a/ L- Q# H
  343. ( s+ j6 N9 b* ]* W" S( @  C
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    / R9 U9 w( q6 G9 T; Y( _
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    , o4 ]8 X2 O/ D
  346. ; Only affects if zend.multibyte is set.! h% j% ~, Y/ d8 a& [  P0 s, s
  347. ; Default: ""
    " X6 s* ?; g* z8 ^1 q( f
  348. ;zend.script_encoding =
    # f2 d# V0 c* B, n$ P+ Z5 g1 }
  349. # i2 S& D8 z# |& ]( X7 r0 S7 c; y  w
  350. ;;;;;;;;;;;;;;;;;
    , y7 e1 H; P$ i$ ?0 \0 Q
  351. ; Miscellaneous ;$ f4 q2 U6 v3 W- ?# B% R5 e
  352. ;;;;;;;;;;;;;;;;;
    , @. O2 y) T4 d5 E& ?
  353. 6 P, s: A0 k# ?0 p
  354. ; Decides whether PHP may expose the fact that it is installed on the server; v& w2 h* X( I) A. L
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    / ?, r' i2 n# A- R6 p+ u0 w5 B
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ l2 _( H  F) o$ x. \
  357. ; on your server or not.8 A; C) A* _# g6 |2 H: z3 K# g
  358. ; http://php.net/expose-php
    6 B# b' n7 b0 S% U# w6 p# o: |
  359. expose_php = On' }# ^2 n6 j7 s4 Y
  360. 1 R5 A! r: Y) a( o. a. S
  361. ;;;;;;;;;;;;;;;;;;;% W. g/ K6 O2 |
  362. ; Resource Limits ;+ @0 x# z& s& T7 ~& l* R4 l
  363. ;;;;;;;;;;;;;;;;;;;
    + a9 l( A9 j8 m% j
  364. # F) \' }, [3 i3 u. C( `
  365. ; Maximum execution time of each script, in seconds! Y( ^% N8 G9 t. O; V, {0 Y6 d
  366. ; http://php.net/max-execution-time
    4 V6 P6 m8 U4 r/ s
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 U+ V, ]) P) g
  368. max_execution_time = 300
    & s; g. z, }/ M% V  [/ b
  369. + Y- w. Q6 X% `7 A; a
  370. ; Maximum amount of time each script may spend parsing request data. It's a good: G# i& G8 @: N/ f  j" L
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ Y" |, T/ Z8 u) J# @& ^+ f" H
  372. ; long running scripts.* O. B  ~3 b0 U4 U" [- R+ K
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI: z5 B, }# v3 d$ x0 V7 {+ Z( X
  374. ; Default Value: -1 (Unlimited)
    " ^, M- f% o% n/ {9 k
  375. ; Development Value: 60 (60 seconds)$ x: U; A5 }3 ?$ o5 B4 j& T
  376. ; Production Value: 60 (60 seconds)+ [/ y; \# L, C1 f# [8 o+ D1 d
  377. ; http://php.net/max-input-time
    - L# q- q0 [0 y) p( |" G
  378. max_input_time = 60% L$ Z6 N# [+ ~' a

  379. + }/ r( p. j8 @7 J
  380. ; Maximum input variable nesting level4 o* e, _7 H# `) P! e0 F- j
  381. ; http://php.net/max-input-nesting-level
    6 x  d+ p* U+ R9 T. K
  382. ;max_input_nesting_level = 64, _0 W9 r9 |9 B6 b* f4 K' }
  383. , f- k5 W1 F! ^* q5 }1 k3 t4 I( k" r
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ) S. ?* t( b1 w; @
  385. ; max_input_vars = 1000+ v5 ?& [& n4 ^  O; h& G3 b
  386. % B- O( p- I4 Z6 r6 B
  387. ; Maximum amount of memory a script may consume (128MB)8 k# @; w0 k; f: a- V, T
  388. ; http://php.net/memory-limit
    - \; t/ m4 |  g* i
  389. memory_limit = 128M
    . q1 _7 w# W# G

  390. ' r, S" o3 P. y9 i/ B- J
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 p1 t; _0 E$ z# P. I
  392. ; Error handling and logging ;" B2 m! x3 U; Q. R
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, B: h7 X9 q- W

  394. 8 e  b4 ]( Z' t0 h! w! T
  395. ; This directive informs PHP of which errors, warnings and notices you would like" w' J8 H6 Y3 x. t
  396. ; it to take action for. The recommended way of setting values for this) C  A8 h) y8 B) W5 ]
  397. ; directive is through the use of the error level constants and bitwise
    " e* u3 I8 r+ f, J
  398. ; operators. The error level constants are below here for convenience as well as, K/ i  e1 B& v! y4 W7 \+ h. l
  399. ; some common settings and their meanings.4 Q9 q$ @* u& x$ H; L5 t: Q( G) N2 l
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 F8 x, }9 A9 O3 G+ y0 Q& K5 O! b
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and7 D( _4 c* t: `7 i2 H7 A0 u1 }
  402. ; recommended coding standards in PHP. For performance reasons, this is the3 K1 M! c; ^" Q& Q
  403. ; recommend error reporting setting. Your production server shouldn't be wasting6 ]! S# {# I' w$ y+ z$ g4 W# I
  404. ; resources complaining about best practices and coding standards. That's what. G# ?4 L2 @/ ]! m' R/ }4 T
  405. ; development servers and development settings are for.
    # @! O3 ]) Y* {1 z% n9 Y  ^3 p. U2 ]
  406. ; Note: The php.ini-development file has this setting as E_ALL. This6 q" v; E" b# w; M
  407. ; means it pretty much reports everything which is exactly what you want during
    9 L0 M" M9 Q3 O5 t- D
  408. ; development and early testing.
    / k: P# F+ L9 j) G4 T/ e
  409. ;6 V! A8 P! M  Q. p& t# y
  410. ; Error Level Constants:
    5 N  n# {* K) n0 g
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* g: }! t: W8 ~* L, K
  412. ; E_ERROR           - fatal run-time errors  _4 W% H; ?7 |5 d2 @
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors- M2 N' G" u2 E, h: D
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    , F* X: D& R. C1 V
  415. ; E_PARSE           - compile-time parse errors
    - y/ _5 p4 I# r, ]! S) R8 v
  416. ; E_NOTICE          - run-time notices (these are warnings which often result9 _0 C5 f4 w) S. Q& f6 L% B, ~
  417. ;                     from a bug in your code, but it's possible that it was4 \& d) U' u. d& Q" P' g' m
  418. ;                     intentional (e.g., using an uninitialized variable and; I5 `0 {9 e# z1 e. p' @$ W2 H: o9 {
  419. ;                     relying on the fact it is automatically initialized to an
    ; L4 L0 E% J# e/ e
  420. ;                     empty string)" P; v& l5 o: s3 O/ q% G2 L
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  N* L) u- ]2 Z( d$ X+ L2 C3 C- i
  422. ;                     to your code which will ensure the best interoperability5 P4 ^0 |; T& @/ d) \
  423. ;                     and forward compatibility of your code
    ' j7 ^3 h6 `, Z% M
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup% u, O3 \* I4 b) m
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ N* \: y& m9 K
  426. ;                     initial startup
    3 y6 A  r! @# V! y) t1 S: [
  427. ; E_COMPILE_ERROR   - fatal compile-time errors2 u3 g4 N6 k6 M, Z0 f
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      \* Y/ t6 U' ~3 F' E( |- F
  429. ; E_USER_ERROR      - user-generated error message
    9 E* f7 a, ?5 s3 g$ X1 t$ J9 A1 x$ A. Q
  430. ; E_USER_WARNING    - user-generated warning message/ p6 N9 t1 Q+ s+ I% P8 J2 F
  431. ; E_USER_NOTICE     - user-generated notice message# U# l& M8 h$ P4 ~! A. L+ O
  432. ; E_DEPRECATED      - warn about code that will not work in future versions1 u: A" l% ?9 Y: E
  433. ;                     of PHP
    ( T4 V, E& }3 W0 w/ T+ `7 Y1 B
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) f0 s$ w$ V# T  G
  435. ;, W9 f6 H* G5 q+ Q2 v
  436. ; Common Values:! Q: ]5 M2 g$ y0 h/ T2 R+ V: S
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    1 U! V7 b7 y" m/ t: M, T9 i
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    % ?* E2 Z3 C' ~; t1 k5 i, w" J
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    " p, ]/ |1 u  y& D
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    . U; j8 R% |/ C# f; V" O7 c5 l
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , r- E0 V& A1 r* X4 @0 r9 G
  442. ; Development Value: E_ALL
    # v3 n% t8 ]9 ^+ ]8 E, U
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. ?6 w' f" E1 l8 F8 `0 k3 i
  444. ; http://php.net/error-reporting
    , P5 d! F$ [0 C& v" \  T
  445. error_reporting = E_ALL & ~E_NOTICE
    # c% l7 h1 D, R

  446. + B8 M& j4 ~/ X, B( g: [" N1 j
  447. ; This directive controls whether or not and where PHP will output errors,2 q9 [# d, y+ M  n* ~0 {
  448. ; notices and warnings too. Error output is very useful during development, but
    $ e+ j  O$ U" T, ^1 b
  449. ; it could be very dangerous in production environments. Depending on the code( |% J  y8 f- j
  450. ; which is triggering the error, sensitive information could potentially leak( C, l1 f: }* y5 R( e$ _
  451. ; out of your application such as database usernames and passwords or worse.1 j1 T- o- r  H! _* e  z' @
  452. ; For production environments, we recommend logging errors rather than% x' a# J  v1 K6 {3 {- n
  453. ; sending them to STDOUT.+ V. a; G" R5 f3 y
  454. ; Possible Values:! `! s! J& I' z. P3 [
  455. ;   Off = Do not display any errors+ F0 M3 a" l5 q; U, m0 t# p. z
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)( D* t+ k3 h' b5 ?% J
  457. ;   On or stdout = Display errors to STDOUT
    - z/ Y# c- y, p$ g
  458. ; Default Value: On9 K$ S3 O4 s; \4 [
  459. ; Development Value: On* f: ?3 q  M. @% a4 u
  460. ; Production Value: Off
    * m$ S, g% Z7 P1 ]
  461. ; http://php.net/display-errors' G- Y" j4 r# g, Z) C5 F# {3 Z
  462. display_errors = On+ T& ~1 a) F3 a+ b

  463. ( G7 F6 ?2 R& B, n0 B; I8 c
  464. ; The display of errors which occur during PHP's startup sequence are handled
    4 C+ `$ e4 E7 Z' q5 d  k; ?
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    6 N9 j) b. w( n  ^
  466. ; errors from clients. Turning the display of startup errors on can be useful in/ O. N" m9 P* a; j, R6 C4 N/ X
  467. ; debugging configuration problems. We strongly recommend you
    7 A1 B  c; t' q8 [3 ?
  468. ; set this to 'off' for production servers.7 u; i  e) ~$ J0 v: _" q5 m1 m
  469. ; Default Value: Off
    % M5 q4 F, q6 h& ]% r9 Q' j
  470. ; Development Value: On# R8 G; q0 }2 C
  471. ; Production Value: Off( r" b  m8 B* e
  472. ; http://php.net/display-startup-errors
    . _' |  r( x" K; N7 V; J4 {
  473. display_startup_errors = Off
    1 a- d. f- C' }. M% p7 l* ~
  474. - g0 L+ s! U* I, E' j
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    % m+ K$ p3 Y" A% I' q
  476. ; server-specific log, STDERR, or a location specified by the error_log
    . P! S3 ~' J. L
  477. ; directive found below. While errors should not be displayed on productions+ X/ B' Q- @! _- r4 E
  478. ; servers they should still be monitored and logging is a great way to do that./ z+ g5 s4 h; r' m7 L6 C% H% m
  479. ; Default Value: Off
    ; H4 F7 ^$ O  U  f
  480. ; Development Value: On
    - H- U+ E0 g" u' m4 {
  481. ; Production Value: On9 c9 ~+ i1 W8 Q8 g& i
  482. ; http://php.net/log-errors
    + [, P% t' V5 v1 D$ j
  483. log_errors = On
    6 L% C6 H7 L" D  p; x& D
  484. 8 v, E. U# g: [+ J
  485. ; Set maximum length of log_errors. In error_log information about the source is# z; K% N: H- Z$ S/ I
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    9 i# F3 F( Y. L" o. c: c
  487. ; http://php.net/log-errors-max-len5 }/ Z! |) A2 I
  488. log_errors_max_len = 1024
    3 [0 {3 n. x! a: @- t2 P4 }& @
  489.   M2 G' O8 g4 \! C) l" l
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same/ m; X- j( t9 h; c3 j- H1 V
  491. ; line unless ignore_repeated_source is set true.) ~  U5 ?% B- X9 P* }* q! C
  492. ; http://php.net/ignore-repeated-errors& N3 c9 @5 h5 `/ {
  493. ignore_repeated_errors = Off
    ' i! r& f6 G  r. k# n  u! w) F

  494. - o- F- p( G% ]9 k! P( F7 H
  495. ; Ignore source of message when ignoring repeated messages. When this setting9 c* P. r2 b3 N. @7 P
  496. ; is On you will not log errors with repeated messages from different files or% K' T% U+ U+ |
  497. ; source lines.* ?* G* y3 C4 I+ @0 a' A
  498. ; http://php.net/ignore-repeated-source+ x4 m* W+ n9 C7 F9 W5 ^/ |% G
  499. ignore_repeated_source = Off8 O$ q' b: u) \+ [7 \% C% |

  500. * g7 ?- y9 T; h8 ?) r$ m
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    3 Y/ a: C1 `( [% w
  502. ; stdout or in the log). This has only effect in a debug compile, and if% K% Z6 n9 E3 r7 ]3 ?6 z3 [$ r
  503. ; error reporting includes E_WARNING in the allowed list
    $ v6 e2 z* {/ ?3 `8 R( M" f
  504. ; http://php.net/report-memleaks
    - j! P0 E. }' m- U
  505. report_memleaks = On
    ' m: [( Y. [: g

  506. 2 q& X' L+ C. I/ d$ I
  507. ; This setting is on by default.
    , m5 i8 D) _9 w# o; o3 a
  508. ;report_zend_debug = 0
    * U7 E3 v; c; x( ^& k1 {9 ?( P3 e

  509. - f5 g$ B0 V$ l/ U' b
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' q+ v" ?( z, q& {7 V2 I$ Q1 \, _
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    0 `' D, c2 z: R3 m) h
  512. ; however be disabled on production servers.
    ; G" L1 J" T3 p9 T0 f6 a
  513. ; Default Value: Off
    2 Q" [2 ?. p8 S) P2 Z  f
  514. ; Development Value: On* |! x& [) `3 U0 h0 r
  515. ; Production Value: Off
    3 v# e9 |# l5 |( J5 n3 o
  516. ; http://php.net/track-errors
    0 g- ~2 }# k5 V
  517. track_errors = Off
    # w& G, _4 V  v2 Q4 l3 V5 E$ i
  518. $ G* Y( o% H$ K+ [( C4 S
  519. ; Turn off normal error reporting and emit XML-RPC error XML6 X3 \& k% h- n9 |
  520. ; http://php.net/xmlrpc-errors
    # h: g5 J$ B  H8 e' d: L$ x$ r
  521. ;xmlrpc_errors = 0
      D& h. _, @. p  B; `5 b

  522. 7 I9 b3 Z# S& q* Z0 B) }
  523. ; An XML-RPC faultCode3 b1 {6 c8 K2 f0 [
  524. ;xmlrpc_error_number = 06 ?; W& e+ l! {  q& D) I

  525. ; a& C7 w" N) F1 @( m4 n
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    - @* D! Y; w! a# F% ?- ~8 v9 r
  527. ; error message as HTML for easier reading. This directive controls whether
    % U" F* V( s7 {! R- `7 V, t+ ]
  528. ; the error message is formatted as HTML or not.+ c4 V8 m) o" R2 B3 W' U; Z4 \( T
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI  _$ u& G7 d/ c! B; {/ l* x
  530. ; Default Value: On
    & j5 ?, T' @+ G; B* v
  531. ; Development Value: On+ `0 r; n* s/ [4 |. p
  532. ; Production value: On
    ; J8 i$ v- u$ _: G$ E3 [; P+ E
  533. ; http://php.net/html-errors( ~1 {, }: k# O
  534. html_errors = On1 g! _* |3 q) J5 }. W; K4 X

  535. $ W( E" L' t5 W5 r* L: X' p
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    - u+ T! a2 F2 y' F' u* z: \# H
  537. ; produces clickable error messages that direct to a page describing the error4 }0 P8 _( x' {& x
  538. ; or function causing the error in detail.- H% q7 E: \0 \* |
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    0 ?) U7 J: m8 ]; F
  540. ; and change docref_root to the base URL of your local copy including the
    , W0 d4 h" V8 o
  541. ; leading '/'. You must also specify the file extension being used including7 I5 T9 `4 g# m
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 b7 u: \! N3 R# p4 n  L8 I# g/ L6 g
  543. ; case no links to documentation are generated.
    9 _, B. y- Y/ V( z8 s- G8 b
  544. ; Note: Never use this feature for production boxes.
    + V( z% U  x, C+ k4 \
  545. ; http://php.net/docref-root: o; ?1 e& ]$ G- Q% a5 C2 Y/ s- ]% N
  546. ; Examples* r: ?' I$ e2 {8 x* H4 {  u" _, S
  547. ;docref_root = "/phpmanual/"
    # ?' h3 ^5 b: J& r, e

  548. & ^' u4 j' R) Y
  549. ; http://php.net/docref-ext: X' K2 |; E' b# B
  550. ;docref_ext = .html
    * V$ ?8 m2 H* Y6 O2 g: L- t* R
  551. 8 U+ R  @* [6 D
  552. ; String to output before an error message. PHP's default behavior is to leave
    # a, [7 P1 o) B7 [" ]( f
  553. ; this setting blank.
    + ?0 s- f# q0 A! v3 L2 c- M3 e6 k
  554. ; http://php.net/error-prepend-string
    ) l  `; z0 {+ R: @; s1 ~  l
  555. ; Example:: v, g* i6 c: n: I5 K
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    / \3 G, \4 _4 k
  557. - `6 k' Y& X7 s" f% A# V
  558. ; String to output after an error message. PHP's default behavior is to leave) P, ?7 [7 l9 ^* f
  559. ; this setting blank., ?+ V1 |6 |: }) J2 {6 T
  560. ; http://php.net/error-append-string
    8 x' k  c/ o) [1 `8 e( \
  561. ; Example:
    2 q, G+ z- Y  i
  562. ;error_append_string = "</span>"
    ; `" k& ]5 N! w/ ]  y* ~9 s8 |

  563. . b0 Z7 s! V, l, T- m, [/ i% t
  564. ; Log errors to specified file. PHP's default behavior is to leave this value; F; e9 a( q5 Z+ R0 [( `  A' g
  565. ; empty.
    * j0 S& v3 w) W' P7 N7 l0 x
  566. ; http://php.net/error-log
    ! L2 p& {) V2 o6 @( ]/ S! \& ~
  567. ; Example:& ]7 R9 n, k& t, g% C
  568. ;error_log = php_errors.log; i! U8 }7 W# \+ f2 F8 u% y( j' H4 y! |
  569. ; Log errors to syslog (Event Log on Windows).
    ; R- Z6 T$ i+ |7 W. n! i$ D7 ]
  570. ;error_log = syslog
    8 Q1 ]7 n% N8 p$ y& h
  571. 3 O2 t' g( w9 D: h+ i9 W, K8 V) V
  572. ;windows.show_crt_warning2 B2 }1 e$ x" I# `
  573. ; Default value: 0! L: |3 _! j7 E* B! y$ v, ~# q
  574. ; Development value: 05 i$ d0 B  j) U2 h. ?
  575. ; Production value: 06 V  t9 N, ^& B6 P$ b
  576. 3 E+ k3 z9 S6 c" O9 B1 n" X1 S: H' m
  577. ;;;;;;;;;;;;;;;;;
    1 t- Z) R% j4 R1 w! u9 {# r
  578. ; Data Handling ;: O( [! s6 g. o3 a6 z9 R
  579. ;;;;;;;;;;;;;;;;;, A1 E  z/ A; \- R
  580. + w9 C/ c% W+ `& A1 f* }9 X
  581. ; The separator used in PHP generated URLs to separate arguments.
    $ Z7 z$ g# `1 @5 C4 x
  582. ; PHP's default setting is "&".
    : }7 |$ V4 z- G% a
  583. ; http://php.net/arg-separator.output
      f$ r7 f5 C* T0 d
  584. ; Example:& z; j% m6 e9 H' p( i
  585. ;arg_separator.output = "&"& @7 V! D7 f& _

  586.   v9 l- b  X) B; L; d$ i: x3 A, f
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    % h& K) N& t) s
  588. ; PHP's default setting is "&".5 K6 ], a& M$ Z. j
  589. ; NOTE: Every character in this directive is considered as separator!; b4 h1 Q- t3 c! q! x- u) ^/ K
  590. ; http://php.net/arg-separator.input
    8 q- W4 ]4 o% I& F4 w
  591. ; Example:3 X2 \* t4 ^/ @+ y- B8 F: y
  592. ;arg_separator.input = ";&"
    & ^+ `$ I9 G; s' r4 r; X

  593. ! Q* g5 \; k* i( f
  594. ; This directive determines which super global arrays are registered when PHP, s# a2 u0 Z7 I9 q
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 l1 ~/ |, J  `' s. y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 l- u4 ~: j8 }- K  `. S
  597. ; paid for the registration of these arrays and because ENV is not as commonly$ J. L$ n( O5 e/ O! F
  598. ; used as the others, ENV is not recommended on productions servers. You
    " d" ~/ O) T, ~8 g$ v9 v# h' T
  599. ; can still get access to the environment variables through getenv() should you7 \) I% k6 w7 r
  600. ; need to.! Z7 b& h  \: C! m2 m
  601. ; Default Value: "EGPCS") u: T; R1 r# c% {' W) _( {* l
  602. ; Development Value: "GPCS"
    & F! J" }" b* K4 b
  603. ; Production Value: "GPCS";
    $ P3 B1 Y/ k9 w
  604. ; http://php.net/variables-order4 R2 ^* Z2 ~$ e. I& U
  605. variables_order = "GPCS"4 f8 j  r. \& g1 T1 a
  606. ; d' `( }5 L2 U; X) G
  607. ; This directive determines which super global data (G,P & C) should be4 j% n6 K9 r& W  F5 O
  608. ; registered into the super global array REQUEST. If so, it also determines, S' s) r% x$ I+ g- l" |9 y9 `
  609. ; the order in which that data is registered. The values for this directive
    5 h; w4 C3 E) |$ S  l. R9 \6 E" M
  610. ; are specified in the same manner as the variables_order directive,
    " O2 `8 k8 G1 {! q
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ C9 {+ s% _' R6 l
  612. ; in the variables_order directive. It does not mean it will leave the super
    0 Y- C8 T" a( C' s  t7 R- E2 j2 _# `
  613. ; globals array REQUEST empty.4 w1 }3 F. W; ?: ^/ `! O1 J) A
  614. ; Default Value: None
    8 F- A6 v7 W9 e( W+ Q. O$ Q
  615. ; Development Value: "GP"
    & p! k, ^& R8 v* s& F3 j* N2 A/ r
  616. ; Production Value: "GP"
    ; X5 K' U+ m( `. g& l. j2 f
  617. ; http://php.net/request-order' a9 Z& }% {" J2 p& F
  618. request_order = "GP"$ j  Y% Y& e- ]# }1 C0 K6 T6 J( W

  619. 8 t1 M/ `6 S  m* m+ T  @/ d
  620. ; This directive determines whether PHP registers $argv & $argc each time it7 ^% S/ d! e9 O
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script0 ^8 d6 |0 T$ K* s/ c  r3 h( o  ?
  622. ; is invoked. $argc contains an integer representing the number of arguments! H6 k. p1 Z; Z$ _) |9 Y& r9 l
  623. ; that were passed when the script was invoked. These arrays are extremely
    1 q7 A" Z1 r0 y3 h; @0 t0 |
  624. ; useful when running scripts from the command line. When this directive is5 y3 j% J" F9 w" j5 H
  625. ; enabled, registering these variables consumes CPU cycles and memory each time  ~7 F) O, q. N7 |7 X
  626. ; a script is executed. For performance reasons, this feature should be disabled
    8 D4 u& s8 h* ~) d8 J$ H% s
  627. ; on production servers.0 [; [7 v9 o; f3 \4 z, Y8 |
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    - G$ ], e5 [- t  G, ~' g* X1 x
  629. ; Default Value: On. B# A( L; d% Q
  630. ; Development Value: Off) O! b9 t, B5 T, F2 H# W. `) O
  631. ; Production Value: Off
    / _; h& H2 e1 o
  632. ; http://php.net/register-argc-argv- N3 ^5 I  T: m# ?& s
  633. register_argc_argv = Off
    4 Y0 W% K( C1 v- \' }. z! I; ~- L7 E
  634. & r* H& P  m. {" n& ?1 X2 V8 {8 g4 s
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    % i% _1 j/ Z  j9 c) y4 b( x$ ^" Q& f
  636. ; first used (Just In Time) instead of when the script starts. If these
    * s% M9 v7 l$ c+ k) R
  637. ; variables are not used within a script, having this directive on will result
    , B; ?7 b6 A1 t$ [9 U% f2 c
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    0 x. V7 c( r8 c9 S  K( R
  639. ; for this directive to have any affect.. Q' T4 O- z! B* F; `! H
  640. ; http://php.net/auto-globals-jit
    ' \7 y# d, \& i% j( \  Z
  641. auto_globals_jit = On
    3 I% t, B( [  T4 L2 [9 }1 t

  642. " H& f2 C1 H" S1 _0 O9 _
  643. ; Whether PHP will read the POST data.
    9 r0 s1 y/ T6 {4 d' d" C
  644. ; This option is enabled by default.2 q- Y+ J9 L/ f7 z3 p
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    8 \0 u4 \, t1 @! R* F1 G( E2 M& q
  646. ; and $_FILES to always be empty; the only way you will be able to read the7 Y* w8 P5 Z( f8 Z* \( s
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ! ^6 X- E. G& l5 k" r" D
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    9 T: U  b+ F5 h2 q
  649. ; http://php.net/enable-post-data-reading
    7 \, A# [; M- x5 \# [" @" w+ Z
  650. ;enable_post_data_reading = Off
    2 Q: O7 n6 R- W# ?* I' R

  651. 0 F4 @2 n' w* W& Q9 z5 U& S9 T
  652. ; Maximum size of POST data that PHP will accept.
    / r7 ^/ ~6 l1 {6 G/ r+ _
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / v9 }0 Q) U. _2 Q4 P# M
  654. ; is disabled through enable_post_data_reading.7 {, L  P# V) |
  655. ; http://php.net/post-max-size. g5 U9 h$ P" |3 G8 Y* c* O" X
  656. post_max_size = 50M$ M/ X6 v& }. |; g1 E  w" Z
  657. 0 n& F: p. W- E
  658. ; Automatically add files before PHP document.9 x3 r" m  k/ D4 ^& G) ?0 G
  659. ; http://php.net/auto-prepend-file1 C% h# L' W! K" Q- b/ O$ c
  660. auto_prepend_file =3 X% _- M; O; q0 m5 o' {9 E' y$ }
  661. ! E: l( Z+ r! L/ A) o# S  C
  662. ; Automatically add files after PHP document.
    1 r  G/ z+ c5 d2 C, O
  663. ; http://php.net/auto-append-file
    & h2 M5 q6 i. P8 ]
  664. auto_append_file =
    ( e) U; g' n8 }& D7 n% j9 F
  665. , x. i6 g! C* |
  666. ; By default, PHP will output a media type using the Content-Type header. To
    / t) _  a$ V2 {9 g' v* K2 ?" C' H
  667. ; disable this, simply set it to be empty.
    2 G3 U+ N$ ~! Z
  668. ;3 v$ a! Z9 d# R
  669. ; PHP's built-in default media type is set to text/html.
    & I0 p) h8 ^3 m" {* K4 M/ ~7 E8 w
  670. ; http://php.net/default-mimetype
    7 p! K6 C6 C9 L+ V" L' B
  671. default_mimetype = "text/html"$ b" x# J' s# ~$ L  L# P
  672. : ~* [) `5 @4 `* Z  }6 t3 N
  673. ; PHP's default character set is set to UTF-8.7 {& A$ O1 L* r6 m4 Y; C6 [  z
  674. ; http://php.net/default-charset" o' Q6 H& o! N$ N, r  K9 w' q3 i
  675. default_charset = "UTF-8"0 W' }) F& }8 ?3 O$ V
  676. 0 s/ f) z9 e' b2 d3 w( L0 Z1 v
  677. ; PHP internal character encoding is set to empty.7 A( i* b1 Q" e' f! K9 s* M0 E
  678. ; If empty, default_charset is used.
    ; i6 P) G( a5 @/ K1 R) Q& ^$ i
  679. ; http://php.net/internal-encoding
    ; Y4 D9 d( s3 x$ w3 H
  680. ;internal_encoding =+ i" `. b1 m/ Q; j% j' t* F3 g

  681.   |( o: N: V* c" _* c
  682. ; PHP input character encoding is set to empty.3 o- Q% e2 r! w; w/ ^5 m- G  D
  683. ; If empty, default_charset is used.
    / T* N/ p, |) i6 S" o3 X
  684. ; http://php.net/input-encoding
    4 `$ C7 A" ?, k  f0 \; x
  685. ;input_encoding =
    ) }* \$ k  j9 D9 {* c
  686. # o& ]" M0 i8 ~& L
  687. ; PHP output character encoding is set to empty.
    # v/ s5 b0 i$ q: ~; o
  688. ; If empty, default_charset is used.
    6 ]0 {+ U/ ]" P- C7 r
  689. ; See also output_buffer.
    # N5 C6 e, @/ |8 r
  690. ; http://php.net/output-encoding
    ; ]7 U1 c" u4 w
  691. ;output_encoding =
    6 j* w  w# J9 s. ~
  692. 8 @  J$ @& l6 j) {) C5 `0 |* G1 q
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;- Y8 H* v  k! u
  694. ; Paths and Directories ;6 Q/ c5 D( f# M8 C3 Y. }
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;: ~# c3 z  s* d; f

  696. 7 b) f" c; v) `" W/ |; Y
  697. ; UNIX: "/path1:/path2"  y# ]! @" ^& B9 X4 }" _8 a
  698. ;include_path = ".:/php/includes"
    * t2 B5 K7 r3 ?0 ?9 X# p
  699. ;# |* x! F7 q, A
  700. ; Windows: "\path1;\path2"
    # m( t- t9 ^4 g1 w
  701. ;include_path = ".;c:\php\includes"
    $ _4 {' X9 u) y5 ?; |
  702. ;
    # f1 ~' E9 p/ W5 y; h
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    $ U8 o5 W5 t1 N1 I. ~
  704. ; http://php.net/include-path3 N$ O& S+ K# ~5 o3 C

  705. 9 X. ^6 |; e9 x
  706. ; The root of the PHP pages, used only if nonempty.# p4 Z; ^8 D) w5 z  A
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    4 b4 {: g; l1 m; T
  708. ; if you are running php as a CGI under any web server (other than IIS)
    . @; C  m% c+ V% `; x! V' h9 ]; A
  709. ; see documentation for security issues.  The alternate is to use the; B5 m3 p; a) d0 e; R
  710. ; cgi.force_redirect configuration below, j( L" f' \$ d. ]/ [: O. D
  711. ; http://php.net/doc-root
    6 Q6 I* V  x7 O
  712. doc_root =$ D! |6 n( t6 R2 h! A9 K
  713. + _, w$ O: Y% y* h' t3 ?
  714. ; The directory under which PHP opens the script using /~username used only
    9 ?+ n, w! V* v
  715. ; if nonempty.
    3 J8 U1 m- a0 H( D( s- Y2 D
  716. ; http://php.net/user-dir
    ' m2 E& l7 h; i1 F( I. R) m5 e
  717. user_dir =
    % k& n1 e/ g5 ~* v9 @
  718. 5 T" j7 K2 J# d# k$ E+ P6 Y! K) X4 Z
  719. ; Directory in which the loadable extensions (modules) reside.. b8 o$ x( b% O9 g: v6 e. {
  720. ; http://php.net/extension-dir5 c" a. m6 M+ a" H. {
  721. ; extension_dir = "./"
    ) q: n; W0 h) v9 q
  722. ; On windows:2 P; q, f- E) g( w
  723. ; extension_dir = "ext"1 D+ o( R/ h5 S, S1 y( v

  724. 6 ^0 Z* b2 T5 ]' ~  N" B6 K
  725. ; Directory where the temporary files should be placed.+ S' J" k8 B4 v" l( `
  726. ; Defaults to the system default (see sys_get_temp_dir)
    & z9 U3 |- F, h) [
  727. ; sys_temp_dir = "/tmp"
    : {+ A: Y0 [0 b9 N7 N

  728.   j+ l3 e$ V4 R
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    3 U8 u, \; r" T/ y  a. Y1 S
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; b7 g( r! F4 E- c' |: g
  731. ; disabled on them.
    7 o- w; s- \- O5 o5 a1 d/ A* L( R0 x
  732. ; http://php.net/enable-dl: v. A* R) p& e- y) o$ }
  733. enable_dl = Off
    ' M, g- n2 t1 b/ C8 h2 ]) P8 g
  734. ) ]" x6 X& P' s) R# R" z$ H
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 f  x! t' W6 }7 u
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can% r& T* i; e- {3 [% P' T/ O
  737. ; turn it off here AT YOUR OWN RISK5 R+ c8 t1 R1 t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**, R% W% y# V- ^) {
  739. ; http://php.net/cgi.force-redirect: f3 N3 \1 I4 J& w9 R9 o
  740. ;cgi.force_redirect = 1# q* ^9 S( l0 U5 r. x
  741. ) a0 `' C- k: f3 Y
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with4 t5 W3 n. i( Z; U$ e8 F
  743. ; every request. PHP's default behavior is to disable this feature.8 z6 F; r6 O4 X( x9 n6 O
  744. ;cgi.nph = 1; c9 q; S9 S9 k6 Y

  745. . {9 a9 h8 m: A- a9 a
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape, E" @, r' L8 x# E" J: Q+ n- G+ W
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , Q9 O7 s  \5 ?& G: G" I4 F
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ( B* ]* Q+ ^( o. c# j0 \: W! Z. y( N
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    1 J: c2 h3 a8 S5 x4 C. P
  750. ; http://php.net/cgi.redirect-status-env
    9 }2 y1 l3 Z* U( G
  751. ;cgi.redirect_status_env =% m8 g$ ?- Z; U9 A+ r6 q5 j* K
  752. ) X0 S8 w: S: H( W9 n# J3 Q5 `3 k
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + T+ r  ^) x0 f  _. H
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    7 Y1 H& }0 I* C$ J0 f( M8 n! Q0 K
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ! g& b& m& r) a7 E! k
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting6 A9 ^+ R& B8 z2 |$ G. x  V
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts' O) ^! V+ k: u7 b& H/ j7 `
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.9 `$ @; X) j+ S/ K+ a
  759. ; http://php.net/cgi.fix-pathinfo% v8 J/ I+ G, l( \! s0 M) y
  760. cgi.fix_pathinfo=1" N8 y. k/ _; q; ^6 [% h5 ]

  761. 5 i& C) b4 y: N0 f( E0 j% D+ `/ c  Q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ [% C6 h9 Y2 U
  763. ; of the web tree and people will not be able to circumvent .htaccess security.2 a$ g4 Q. ]9 @' S7 O  k
  764. ; http://php.net/cgi.dicard-path3 T* i3 b$ B- h9 I$ m$ Z4 J
  765. ;cgi.discard_path=1: s) f" q8 U3 V3 |. ^4 H
  766. 4 M& [1 _" V' s# G
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    5 z% L$ z# F: E
  768. ; security tokens of the calling client.  This allows IIS to define the5 n+ |* O7 A$ [
  769. ; security context that the request runs under.  mod_fastcgi under Apache% \3 i6 s; W; |: V' N
  770. ; does not currently support this feature (03/17/2002)6 e( {  \6 N) q) B# {/ j/ P
  771. ; Set to 1 if running under IIS.  Default is zero.
    * m! J: f% J0 q! d1 i! j
  772. ; http://php.net/fastcgi.impersonate* ]  r3 l  Y1 I* ~
  773. ;fastcgi.impersonate = 1
    # [* E: l" R$ c+ n; z

  774. 7 Q8 ~7 l7 S' l3 s! ^! K1 [: q" Y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable6 ^, P' T5 x9 \* N6 z; k' [
  776. ; this feature.  ?: ~9 K1 h7 x# T9 T
  777. ;fastcgi.logging = 0
    2 `9 _* x/ a" r8 k  g+ T

  778.   ]2 Y6 g  H  s) U
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  W/ [0 L8 }1 J7 z" E4 f
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that3 ?9 L3 U6 i$ V- C  u2 B4 D
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    $ H) X- U0 P, ^$ k# }6 R
  782. ; RFC2616 compliant header.
    ( J7 o* {# b+ _7 [% S
  783. ; Default is zero.
    4 d' j0 k) V3 _* t. K
  784. ; http://php.net/cgi.rfc2616-headers
    4 U  O! ]: J' t+ O
  785. ;cgi.rfc2616_headers = 0
    - q; l) Y( m$ {6 V/ c6 V
  786. 5 s- ?6 `- o- l, x7 W2 o
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ( R; o% j) K, x) r5 j
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ' Y- O6 `1 v$ H9 k* s, J
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 I, {" [$ j' v. s3 ]9 F8 S  m
  790. ; mode skips this line and ignores its content if this directive is turned on.
    # @+ d& {" p9 w+ x
  791. ; http://php.net/cgi.check-shebang-line
    5 m1 q7 Z4 ~, V' g: H
  792. ;cgi.check_shebang_line=1
    5 {9 h2 Y2 {: l9 u1 m' a. Z6 W
  793. ) Q: `1 x  z$ }! Z7 @& z3 V5 i: \9 E
  794. ;;;;;;;;;;;;;;;;
    # A+ r0 b5 f+ U/ ^
  795. ; File Uploads ;& P  [3 s! m$ e: f  K; {3 M7 p
  796. ;;;;;;;;;;;;;;;;
    - d3 T, Y2 i+ q( f/ ]+ [  O/ `
  797. 4 Y# H( ~7 _( H8 z2 ~4 P0 o
  798. ; Whether to allow HTTP file uploads.
    " j0 C3 Y' J/ V  j3 a( x
  799. ; http://php.net/file-uploads8 x- I5 Z( I6 ?4 N
  800. file_uploads = On% m! c2 c2 |2 t6 x9 [+ K3 n- f
  801. 6 G) D+ T9 m6 _7 ?$ `
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
      Z: V6 y0 k: @. L/ p
  803. ; specified).
      N, H* }! O- G& Q  l; S
  804. ; http://php.net/upload-tmp-dir9 L: N: Q) L. E" K5 G
  805. ;upload_tmp_dir =
    ' A) o" r) \# L8 W, y9 o

  806. 3 M( b( Y( b  Y7 [: ]( R1 {
  807. ; Maximum allowed size for uploaded files.2 w5 c$ n) e$ {: D  G" v
  808. ; http://php.net/upload-max-filesize
    % W9 ~6 ?) o, e+ s/ t2 V
  809. upload_max_filesize = 50M
    " |$ N. o2 v: @' N" d& s: P

  810. + ^" k' i5 [! W4 V3 V6 X/ z
  811. ; Maximum number of files that can be uploaded via a single request
    * |0 T; u/ e. B: W0 F8 f
  812. max_file_uploads = 20
    7 a) v2 N+ l7 s7 `* x; J
  813. : q) n! y  j2 g1 _. c
  814. ;;;;;;;;;;;;;;;;;;
    % t8 ]9 e6 x+ @# `8 t2 J9 A. U& Q
  815. ; Fopen wrappers ;' J1 p0 k( o# m9 |5 t
  816. ;;;;;;;;;;;;;;;;;;# L9 b& e% r2 L; s- f- ~
  817. 2 a5 v2 x+ Z0 k& W+ j# W
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.( d4 V2 f* a1 Z/ {
  819. ; http://php.net/allow-url-fopen3 _/ Z" w( Y: x: {! q9 z9 Z4 k0 q
  820. allow_url_fopen = On
    # O6 i7 J$ C/ `

  821. % @; w7 k- S1 m: o% l& S) q; C
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 m/ U# p9 Z/ X2 S& I
  823. ; http://php.net/allow-url-include
    1 I  R2 \& ~. X. J5 ~9 }3 n. z; o
  824. allow_url_include = Off7 {. d% x2 O$ c. f( `
  825. ! V6 k. v0 S% z, h: H
  826. ; Define the anonymous ftp password (your email address). PHP's default setting0 p3 {. k# g7 a$ I& K& P
  827. ; for this is empty.
    # g5 q( f5 T7 B7 n7 X: W2 R
  828. ; http://php.net/from8 h1 R# k; ]7 Z7 X& K: c
  829. ;from="john@doe.com"9 h# `, c/ {6 W0 |

  830. , S5 P8 W- t/ g1 x) T2 d
  831. ; Define the User-Agent string. PHP's default setting for this is empty.& ^8 k+ C* c! F8 y% C. i, N
  832. ; http://php.net/user-agent
    6 G  l+ ~1 |8 }! [7 m% W
  833. ;user_agent="PHP"
    5 F% ?8 |0 }# @  u! Y

  834. - ^; |4 w0 ^; G5 T/ a
  835. ; Default timeout for socket based streams (seconds)" D* N% U$ b% j; F/ Y. d- k# _& B% _2 K
  836. ; http://php.net/default-socket-timeout. Q+ _! w, n3 {+ Q7 t# o
  837. default_socket_timeout = 60: a5 I% B) L5 ]" r2 n" E7 ^

  838. 1 v  t6 ^( [# D# f$ a9 A2 R: ?7 O
  839. ; If your scripts have to deal with files from Macintosh systems,: P2 M$ d+ E% E9 e5 G: H
  840. ; or you are running on a Mac and need to deal with files from
    # @% P6 Z, K6 \2 |3 A( t
  841. ; unix or win32 systems, setting this flag will cause PHP to+ e3 F; v9 X" p* V9 d; x4 V
  842. ; automatically detect the EOL character in those files so that/ ?( U& S% ^! m/ m
  843. ; fgets() and file() will work regardless of the source of the file.
    8 U  n- L1 D3 s3 G4 N+ U
  844. ; http://php.net/auto-detect-line-endings
    / M2 B6 {: a) R0 \- v
  845. ;auto_detect_line_endings = Off# s- W" `. H8 a* l5 G1 L8 p6 I

  846. / h1 N3 R, U$ n
  847. ;;;;;;;;;;;;;;;;;;;;;;& t6 }9 V- V& w  \6 o
  848. ; Dynamic Extensions ;
    + B  L9 _% E  O! k2 A: @
  849. ;;;;;;;;;;;;;;;;;;;;;;
    * \5 \. D4 t; d7 d& S5 I- L! t4 C

  850. % a! h( g) o7 _8 B
  851. ; If you wish to have an extension loaded automatically, use the following* ]$ I  ]7 d( y$ R/ [6 n6 C
  852. ; syntax:+ _) z# Y% R, H# i" c4 q
  853. ;
    1 \4 h- ~5 U2 v. h; N, b/ ?% ?6 w
  854. ;   extension=modulename.extension% h. {, f6 [$ V# t1 P  a2 N- x
  855. ;
    6 B  N8 j1 N- h2 d( W
  856. ; For example, on Windows:
    / [- C) D) ~; E+ {  z
  857. ;2 D8 n! |+ p' ]' h0 {
  858. ;   extension=msql.dll
    9 ^1 ^) w( X% b1 M2 P$ A1 M. T
  859. ;
    : E# a/ k3 T1 i# B- D) H5 U! ^+ @
  860. ; ... or under UNIX:1 r# N3 J& G) L6 ]: v! F- y
  861. ;
    0 Z$ r7 `! F; t1 R- C& q7 L# s
  862. ;   extension=msql.so6 u: Z6 w; G9 {4 S
  863. ;; s# [  O  j6 u2 N, }1 `
  864. ; ... or with a path:; @1 i, |7 P( m# ]2 y; h
  865. ;3 M, z3 W, u  O6 ^3 L
  866. ;   extension=/path/to/extension/msql.so
      f" q3 N* d4 c2 C; B8 w6 @' a& f7 Z, v
  867. ;
    # P+ L3 S0 p' i" p3 ^: ~1 V8 w4 M
  868. ; If you only provide the name of the extension, PHP will look for it in its
    5 I, V8 n3 z' W+ v
  869. ; default extension directory.+ g7 G4 ?! b. k1 i5 Z* W
  870. ;
    & c7 D; e/ s% O, C1 Z' G
  871. ; Windows Extensions
    # ^3 A  X) j0 e. q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    . b4 k+ k% a4 P) t- t; q' p
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! \0 v( K# Z2 b9 x  M1 O9 q  P5 O
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).4 p; v5 [1 [+ J2 w+ M  L, R
  875. ; Be sure to appropriately set the extension_dir directive.. \2 b7 z/ H# w  o; P
  876. ;' P4 @! a; s' c7 O. }
  877. ;extension=php_bz2.dll
      M: d: h' X4 R; ]2 G; x
  878. ;extension=php_curl.dll
    # R* m, c. h3 L2 r" C
  879. ;extension=php_fileinfo.dll
    0 I2 j1 N3 B* x" v2 a; H
  880. ;extension=php_ftp.dll
    ) e  d$ h' ]4 W0 x
  881. ;extension=php_gd2.dll8 m% p! o& \- W
  882. ;extension=php_gettext.dll
    " p5 ~$ Q4 Y/ j3 Z4 _, B" T5 R
  883. ;extension=php_gmp.dll
      R, i0 b$ e% f0 R, _$ F- s
  884. ;extension=php_intl.dll1 l. N. H/ Y: N1 f) K! P
  885. ;extension=php_imap.dll! t, w! b0 v7 ]$ f6 f
  886. ;extension=php_interbase.dll
    ( w$ i: u& `. {; S/ `
  887. ;extension=php_ldap.dll8 Y4 e. {9 e5 w  w6 Z# }
  888. ;extension=php_mbstring.dll1 r6 M( |' |, T& `- ^
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% r8 k) g: k4 x: ?
  890. ;extension=php_mysqli.dll
    * j3 n0 K# M0 [
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 D0 d& x7 m6 \4 c* z
  892. ;extension=php_openssl.dll" J' T9 J5 X& i
  893. ;extension=php_pdo_firebird.dll
    1 z& m" h4 ~4 R' a. _7 F9 \
  894. ;extension=php_pdo_mysql.dll
    2 w9 ?' I+ n) b2 V* t# d" s( ~% ~4 _
  895. ;extension=php_pdo_oci.dll
    & ?6 R/ y0 Y; N; k! K
  896. ;extension=php_pdo_odbc.dll
    + g( ~2 }, e9 e% Q3 P$ |0 b# Z
  897. ;extension=php_pdo_pgsql.dll
      \/ E" s3 V! T
  898. ;extension=php_pdo_sqlite.dll& _/ g4 C; M9 f$ x% O7 r+ `, @
  899. ;extension=php_pgsql.dll
    5 c: M' W. h7 M
  900. ;extension=php_shmop.dll
    5 X. o0 ?* J* V( P. ^
  901.   z* t8 ^$ T+ z, c# k
  902. ; The MIBS data available in the PHP distribution must be installed.
    3 T5 N! d  x0 z8 d! D$ Z7 d( T3 a
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    : O. b( J  t% d# G" T
  904. ;extension=php_snmp.dll
    / W6 Z4 j4 l- o2 Z
  905. 8 n. N3 {9 E. D5 O
  906. ;extension=php_soap.dll
    / t  a  W, L+ M, C9 J6 ?, z
  907. ;extension=php_sockets.dll
    " ]. M4 c0 v% k  G" q
  908. ;extension=php_sqlite3.dll
    3 Q' A! n( M& i2 o
  909. ;extension=php_tidy.dll2 z5 f9 @: m# W# t6 o# y  y- r
  910. ;extension=php_xmlrpc.dll
    ; b! ?, H; o2 [
  911. ;extension=php_xsl.dll4 O$ `: }+ g$ j6 D3 W
  912. 1 V/ C7 ]; d, S/ O3 B* Y
  913. ;;;;;;;;;;;;;;;;;;;
    6 o" j* z: c& L: A& T
  914. ; Module Settings ;& z4 y: w8 d$ ?& h" j$ j# f4 S
  915. ;;;;;;;;;;;;;;;;;;;5 n: f% f2 L6 x9 P$ B

  916. # r( Z, c. \2 b$ r' y  t+ e
  917. [CLI Server]+ R# D/ B' ^( H0 }. z
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output." p$ e! c6 G7 v  F- v
  919. cli_server.color = On8 \0 g+ A! [6 D" w3 [
  920. ; z6 b- a" y5 u( p5 ^! ^
  921. [Date]0 K- a1 n3 \6 h( X' |# ?( n
  922. ; Defines the default timezone used by the date functions- R( o; E( \3 Y4 Y0 o* {
  923. ; http://php.net/date.timezone
    7 d# U% {1 }6 d/ B" X6 |# W( @. y
  924. date.timezone = PRC8 o& i# U6 a6 C3 K, f
  925. ' X  b: t3 {; E9 `
  926. ; http://php.net/date.default-latitude% q1 f' P+ x- m7 g% L
  927. ;date.default_latitude = 31.76672 x6 q' X7 m- ]  Q

  928. - `4 o. Y3 m( D2 ], n. I1 U9 n
  929. ; http://php.net/date.default-longitude
    8 v% v; l4 H+ m- w# z# ]- ]7 F
  930. ;date.default_longitude = 35.2333+ F/ q' ^, N/ c
  931. 8 n  }9 e) X# z1 M9 \$ G
  932. ; http://php.net/date.sunrise-zenith* j1 N+ f& U* b% `4 T6 c- I( [2 S
  933. ;date.sunrise_zenith = 90.5833339 i; e- c, p1 c

  934. ' Q; \; a! i* J" [7 t
  935. ; http://php.net/date.sunset-zenith
    ( D7 [  G3 g0 j
  936. ;date.sunset_zenith = 90.583333
    / v2 j  f# Q4 X# E$ L8 Y+ _

  937. ; A2 d8 ^9 C5 {7 k1 {3 b# |
  938. [filter]- u# U2 E* X. q( E  o
  939. ; http://php.net/filter.default
    ) ~1 \) k  j9 ~# R! K
  940. ;filter.default = unsafe_raw% R# W  X3 P2 {. n; M) y$ H

  941. 5 ~* h7 f! o# ^3 ]6 y8 f" Y  I
  942. ; http://php.net/filter.default-flags
    9 X+ x$ A2 N; [3 [
  943. ;filter.default_flags =" B8 P" G* T! F9 T' |9 Y
  944. / @" P2 q% C* j
  945. [iconv]
      L4 a# K. R/ O" u7 u# C6 p
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * [- U% c* k0 B: ~2 j2 N  k
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.8 [2 q1 i' v5 }$ c! d  p
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    , R5 _/ d/ m" P  E9 x1 }& O$ S9 X
  949. ;iconv.input_encoding =; I* X& k# q8 w  _% i# B
  950. / m0 H$ o; p7 {; v" M) Z2 Z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 v+ v1 U% g3 u( e6 x. Y/ c- q5 z, U
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 s% @0 P+ w! r* z! L% W
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    5 K; v, o. H1 x, v) [  X( _, p
  954. ;iconv.internal_encoding =
    / x: _1 |) R) R1 Y6 |" M7 t

  955. 5 w& P" ~( E. T5 O6 a4 c8 E
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 n  G; P& f1 w/ t- Q7 ~, r
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.; Z1 [+ D1 {' y! j
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding$ v& j' s: p3 \2 X5 I( A  S
  959. ; To use an output encoding conversion, iconv's output handler must be set
    6 q& Q: x% t$ s! M) _
  960. ; otherwise output encoding conversion cannot be performed.: S5 }! J: ?8 M2 n  b. N6 q+ H' [2 o
  961. ;iconv.output_encoding =
    1 a" F+ D% t- ]( d% S9 g

  962. 3 _' M$ z2 I* V  q
  963. [intl]9 Q  a7 o. ]( v9 d# y. ?: ?
  964. ;intl.default_locale =( R" N; A/ k7 t. d
  965. ; This directive allows you to produce PHP errors when some error4 B) D  W/ k2 P8 y
  966. ; happens within intl functions. The value is the level of the error produced.
    4 N# y- c- `( I- h
  967. ; Default is 0, which does not produce any errors.$ O# V  G2 j6 d) @# z! _
  968. ;intl.error_level = E_WARNING* g( U8 A9 S  K$ ~3 f# @- E2 X
  969. ;intl.use_exceptions = 0
    ! v9 k7 t1 X! o# m+ G- D; q

  970. ( o' _7 k* Z  _: O
  971. [sqlite3]
    ) ?' b" @' G3 B
  972. ;sqlite3.extension_dir =( J$ a6 N, v$ X5 x6 m' m
  973. 4 ~- l+ C5 p, i% }9 F
  974. [Pcre]0 u" B3 O( h2 t0 x* N* L- W7 o
  975. ;PCRE library backtracking limit.0 A% a" y( U+ F' h1 o
  976. ; http://php.net/pcre.backtrack-limit
    $ u. ]* s4 S5 P+ c& q( T
  977. ;pcre.backtrack_limit=100000/ j/ ^+ @* B- b8 b6 Y2 W

  978. / c2 t* {4 ]8 p: J$ S5 E
  979. ;PCRE library recursion limit.
    " Z- G7 t3 h$ j
  980. ;Please note that if you set this value to a high number you may consume all) O3 a7 K1 R  n9 I  ~
  981. ;the available process stack and eventually crash PHP (due to reaching the' j) ^: c0 i2 |* K7 F; {5 d
  982. ;stack size limit imposed by the Operating System).
    : u! b9 t& T8 u- G
  983. ; http://php.net/pcre.recursion-limit/ S8 M) v& c4 K% J' m
  984. ;pcre.recursion_limit=100000$ b' s, k% Q5 f) x4 l' |6 z) T
  985. + ]) q. ^4 S9 s4 [+ n: C8 i
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE& F/ G- o" a+ [8 t" o
  987. ;library to be compiled with JIT support.
    $ }5 Q. v3 c) q+ ~- t* r
  988. ;pcre.jit=1
    ! i/ z: A: f% Y, B" \
  989. , @' j: O+ M! w3 F' {2 g! S. V
  990. [Pdo]1 c: c) W' c/ V& M
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    + q8 p) F) ~( p* U" N% y. {
  992. ; http://php.net/pdo-odbc.connection-pooling2 f) [2 D/ J% y! ?$ ~4 i. z
  993. ;pdo_odbc.connection_pooling=strict
    ( o: a' n) H6 l, D# y

  994. ! X; U& [" }2 l! L$ ~
  995. ;pdo_odbc.db2_instance_name8 s, E) z0 u! a/ U( |" j- T8 X
  996. 3 U$ u# T  _/ I: N+ Y: T6 D
  997. [Pdo_mysql]
    1 _* N4 h8 ]* [( ~" [! P
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 L+ M4 ?# z* P5 w* L8 g, B
  999. ; http://php.net/pdo_mysql.cache_size: ^5 |( F; \9 o/ N# u
  1000. pdo_mysql.cache_size = 2000
    9 Z" w3 V) t) }1 z, h9 z. c

  1001. ! r9 m' s9 _9 k7 G, y" O% A
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 J4 Q: E0 v7 R
  1003. ; MySQL defaults.
    # c, t- b, v7 |8 F" K. U
  1004. ; http://php.net/pdo_mysql.default-socket
    / @4 F5 q1 ~7 U
  1005. pdo_mysql.default_socket=4 v6 \9 ]& A" E3 x, e
  1006. / X8 M$ j* p* X2 B
  1007. [Phar]. S! B+ [1 P, `) f
  1008. ; http://php.net/phar.readonly3 e0 k4 x. E$ x0 R9 L) n8 I5 z  w
  1009. ;phar.readonly = On
    2 I, w/ L5 W: L% @# l/ j
  1010. * H# S8 A  J, l, `, W9 ^
  1011. ; http://php.net/phar.require-hash
    ; }& n3 Q5 b/ F4 Y6 B
  1012. ;phar.require_hash = On
    / f8 z5 V5 |$ f8 k

  1013. . y) E. f/ ?3 ^
  1014. ;phar.cache_list =
    % E& z0 U( |, D' m( s( M

  1015. 1 {4 i% J- S3 X7 C: @: {
  1016. [mail function]7 b+ @# V7 s' E; o# v8 W' R$ h7 t
  1017. ; For Win32 only.+ s* P' c2 q, d% k0 ^/ M3 W( m
  1018. ; http://php.net/smtp' h/ y$ R5 p. u2 r; k
  1019. SMTP = localhost- w2 Q+ W' Z! P8 s( [& W6 p8 E
  1020. ; http://php.net/smtp-port
    2 b$ _1 p1 S$ ^2 R1 ]
  1021. smtp_port = 25
    - ^$ w+ |7 @; ]/ _3 ]6 V4 X; u
  1022. ! W* k/ W: u/ h) n0 r, P
  1023. ; For Win32 only.3 G( x2 S1 H" Y; L6 a7 l: [. {
  1024. ; http://php.net/sendmail-from0 c" L# r0 t9 i; w
  1025. ;sendmail_from = me@example.com
    : F& k' \& O- _4 W. y! S& P7 N
  1026. . t/ t3 o" r4 F5 P
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    6 a) H( A  R# r) ~4 u
  1028. ; http://php.net/sendmail-path
    $ q* {  q0 Q7 {! L  K
  1029. sendmail_path = /usr/sbin/sendmail -t -i& s- V2 K" E7 v3 E0 S
  1030. ( L: K# w% }1 _3 w# S* c- a
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    / x- r: k1 V, E. g, O1 \
  1032. ; to the sendmail binary. These parameters will always replace the value of
    # O, c0 @9 [6 z) T& H
  1033. ; the 5th parameter to mail().& B/ W7 {% p4 t: v5 }
  1034. ;mail.force_extra_parameters =
    8 o: ?6 }+ [2 K1 h. {& Q/ ~: ~
  1035. # T4 K; z1 ~  W+ Q% x+ @. L
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    8 e/ w# J. g( `1 ~6 R$ H$ [& y
  1037. mail.add_x_header = On! b, E! n+ _4 @5 X7 q5 [7 v
  1038. 3 G6 J- c* h( N, W* Z( W' G& @, Y
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! v* e5 R7 ]$ o( P: H" i1 y* ~
  1040. ; the full path of the script, line number, To address and headers.
    & l. i" U, ^4 ^6 M+ N. M
  1041. ;mail.log =
    % q9 v6 R+ _6 F; O$ l
  1042. ; Log mail to syslog (Event Log on Windows).+ I! [8 A6 ]+ K, z
  1043. ;mail.log = syslog
    9 ~( Y% @9 h" \% `, a' H

  1044. 7 K1 ]% {9 [& _! A6 I( I
  1045. [SQL]
    ! C2 z( B( \' s' Z" v2 I$ F
  1046. ; http://php.net/sql.safe-mode
    ' L" i: A$ B; p2 y! _
  1047. sql.safe_mode = Off% D! D$ S! y3 X' Z; ~2 j

  1048. . }, r) h0 P; E( n
  1049. [ODBC]
    , ?  I/ ?3 |# A+ {6 R
  1050. ; http://php.net/odbc.default-db
    7 L0 f4 P* K9 m
  1051. ;odbc.default_db    =  Not yet implemented# W$ R% w% u: j
  1052. % s# d0 n" |2 r4 Q" a
  1053. ; http://php.net/odbc.default-user" q; Y2 n6 @3 Z0 t; _
  1054. ;odbc.default_user  =  Not yet implemented& E6 z5 s, F6 j4 \

  1055. 1 i5 n# y" |+ e, R* d1 ]. q0 B
  1056. ; http://php.net/odbc.default-pw
    2 j& j$ v+ f3 ~; ~
  1057. ;odbc.default_pw    =  Not yet implemented
    5 _' h, C/ E2 _3 F
  1058. & q3 ~3 Y' c+ D0 ^' {
  1059. ; Controls the ODBC cursor model.) k* E% m! k' m, j/ F5 s  @7 E
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ! C* Z# E0 E4 S6 W( ?  z
  1061. ;odbc.default_cursortype
    5 X! @$ p4 e! Q5 n' L* V

  1062. : `9 m6 K" A) X+ z
  1063. ; Allow or prevent persistent links.
      M7 E) k+ `+ L" v
  1064. ; http://php.net/odbc.allow-persistent; a. `+ }- C( M- n1 Q
  1065. odbc.allow_persistent = On/ B2 i# y6 A/ Y: A+ Q
  1066. 8 g$ H7 j- Q6 K8 U& W
  1067. ; Check that a connection is still valid before reuse.
    4 D- E9 t8 R* B, r! n
  1068. ; http://php.net/odbc.check-persistent
    ' n8 n; L+ V8 w( j3 y2 g# q
  1069. odbc.check_persistent = On
    3 m9 r1 F. o+ T
  1070. : x) i3 q0 o. O5 m( P0 x/ y" C# z; ^
  1071. ; Maximum number of persistent links.  -1 means no limit.8 i! i- i( g* B5 B0 u# G6 o
  1072. ; http://php.net/odbc.max-persistent
    3 E* U' z& V7 N3 \. B: H1 E+ o
  1073. odbc.max_persistent = -1
    $ s0 Q9 ~5 z2 a6 N  [

  1074. : {8 M" r( J: L! J
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ j7 G8 H" [5 @! I" u$ {( X
  1076. ; http://php.net/odbc.max-links6 P9 S; |( E6 c; [
  1077. odbc.max_links = -15 o% A$ _0 ~* L
  1078. 3 v/ O' g4 z& g) K* O
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. i; E5 w" G4 f3 H
  1080. ; passthru.
    " e: _  o( V8 A5 i
  1081. ; http://php.net/odbc.defaultlrl9 \" z) ~8 S! Q5 q: F4 O5 ^. I, t" G
  1082. odbc.defaultlrl = 4096" E& J+ Z2 o( f5 R3 U
  1083. 3 R9 A1 f: u- \% h
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.5 E, u: [) r2 |+ c7 |2 L/ y
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) e# b1 F- D3 H4 ]( t% B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode* i2 {. Z/ ]; E+ ?$ g% n; H+ S
  1087. ; http://php.net/odbc.defaultbinmode8 Q) G) W& e% M) J
  1088. odbc.defaultbinmode = 1' r% r' g5 p' G
  1089. , q# t2 O) M5 J1 ]$ N* S
  1090. ;birdstep.max_links = -1% v- V2 J, u6 o" P# k( \8 x' ^

  1091. $ b' y  v/ p, @! @- f# G0 q% p
  1092. [Interbase]3 a* i+ d6 P7 c  k
  1093. ; Allow or prevent persistent links.+ B( U" `+ y/ _- r
  1094. ibase.allow_persistent = 1% g! o% t% ?$ ?) b7 k5 n
  1095. ) i: z8 ^0 Q: p! _6 \6 N
  1096. ; Maximum number of persistent links.  -1 means no limit.
    % {8 h8 d: G5 o9 ^# k
  1097. ibase.max_persistent = -16 J' q% i) `/ |$ l8 Y
  1098. 1 N- ?( v) S; e9 @- L4 f: v
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 P- R1 ]$ a- y$ E5 e* w
  1100. ibase.max_links = -1) p9 O6 X1 [4 G0 M7 T2 W9 a. U2 |" B

  1101. # t! r! U0 B& g
  1102. ; Default database name for ibase_connect().
    ; k: D7 G" Y) y* i" @
  1103. ;ibase.default_db =9 h5 r! Y8 H4 H

  1104. 3 I$ _& A7 {$ ?: v9 V2 x5 V1 x
  1105. ; Default username for ibase_connect().
    2 y: z& ?3 l8 \# [6 p
  1106. ;ibase.default_user =' ?6 W7 E/ k$ j+ y* d
  1107. # Q+ x5 ]8 F; _; y; m- T' F
  1108. ; Default password for ibase_connect().
    & ]# L$ H8 o9 m! T/ H3 o8 ^
  1109. ;ibase.default_password =) [0 R3 |% G+ K3 Y! z

  1110. " E& J; u6 q; D; A
  1111. ; Default charset for ibase_connect().& ], m" ^* o9 C% p  W+ U
  1112. ;ibase.default_charset =
    ! U4 E) t5 l1 O1 Z7 }. ]
  1113. 2 p0 \2 V5 `$ J* [# v+ O
  1114. ; Default timestamp format.* D7 l; t) N" N% m, A. I
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : v  A9 V; l( s8 [! I
  1116. 5 D0 z8 j* O0 l5 Z+ O
  1117. ; Default date format.* T. l4 e4 E5 W( [$ p
  1118. ibase.dateformat = "%Y-%m-%d"
    ) T2 i+ W. E4 }% [* |2 e

  1119. * Q' J* G# k5 Y9 _* w5 p1 k# R
  1120. ; Default time format.
    ' P0 P7 r$ y- }1 E0 a+ z4 H6 [
  1121. ibase.timeformat = "%H:%M:%S"
    * t  F# e9 Y* ?+ _7 ~
  1122.   y% h1 b/ ~$ g9 I- ^
  1123. [MySQLi]: o! |: ]6 R5 h, X; B0 B0 F7 X
  1124. 9 o4 Y% r6 }1 X- J
  1125. ; Maximum number of persistent links.  -1 means no limit.
    2 b" }9 N' g0 U( L
  1126. ; http://php.net/mysqli.max-persistent
    9 K# h7 F; V  V. b, v
  1127. mysqli.max_persistent = -1
    ; x3 E) m9 t% i' J  }% e# }
  1128. - C# y! R* B; a% B0 k4 q% }
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- ~% N, ~. ]% i" u. ~3 f2 R
  1130. ; http://php.net/mysqli.allow_local_infile3 Q3 n' k% o2 M
  1131. ;mysqli.allow_local_infile = On
    ( C/ ]5 C% z6 ~

  1132. ) a2 s3 m: q. v4 k
  1133. ; Allow or prevent persistent links.* a% |3 Y8 ]' k; s2 }# \, E
  1134. ; http://php.net/mysqli.allow-persistent/ L/ b5 f2 P4 X# K
  1135. mysqli.allow_persistent = On; g1 i5 ~$ M3 T/ j; E- m( v
  1136. 5 T& h. O$ |5 g5 H- t$ o
  1137. ; Maximum number of links.  -1 means no limit.
    - i8 I. y, H- X. ?- i; V
  1138. ; http://php.net/mysqli.max-links
    & \* w" a) R; Y  F) A. T5 _% [
  1139. mysqli.max_links = -1; N" Z! o5 A/ \
  1140. # O% `: d: T; p( L
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ c/ v" D2 \* x
  1142. ; http://php.net/mysqli.cache_size# r5 r4 l4 `7 x) \7 A
  1143. mysqli.cache_size = 2000
    - b- e  [  g7 V3 }. E
  1144. & X0 Y; g# C, c2 f: H3 M
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " m1 l$ D: I& f; M4 N
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    + k( X9 A- o3 H9 h! s
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    : A/ S) f+ ~8 ]/ r. u. d
  1148. ; at MYSQL_PORT.% Y7 @! w- M# `" l9 k9 S2 M
  1149. ; http://php.net/mysqli.default-port
    / h  \* n! ?( R% l
  1150. mysqli.default_port = 3306
    # `) s) b# H: l3 `
  1151. / e! F0 d5 W, g/ D
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , e3 f6 `- Y9 C
  1153. ; MySQL defaults.
    # o; t$ [9 C$ G1 Z  n! f) I8 c
  1154. ; http://php.net/mysqli.default-socket
    # ?: s$ R5 J% j- {9 j
  1155. mysqli.default_socket =
    8 e- U% \* {" Z/ `

  1156. " h2 |& B& u/ I- T
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : K7 \! a2 [2 _6 g; n
  1158. ; http://php.net/mysqli.default-host2 R9 n& S- F1 e- [: C! x
  1159. mysqli.default_host =; I" _+ U" C, `; ~+ \4 O

  1160. 1 Q4 D5 _0 C9 A# U, f/ f6 [! V5 n. Y
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).1 D! R& ~6 c4 f8 B2 M/ E8 z
  1162. ; http://php.net/mysqli.default-user
    & U+ Y2 }! @! _  B
  1163. mysqli.default_user =, Q  C( _( }. m, M
  1164. 3 |( A) D7 z/ L) O+ K( ~
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode)." d$ X& |% \& l$ o0 B, n) Z: c( Q
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.( `, G, L- `2 ~7 Z4 F
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")& \3 Z0 X/ s  |  `* r
  1168. ; and reveal this password!  And of course, any users with read access to this
    ; e  Y+ i- W- I* t
  1169. ; file will be able to reveal the password as well.+ r0 o! ^  @6 }( v2 N( e% m
  1170. ; http://php.net/mysqli.default-pw
    ; h& e' J1 T* m; O# f' U6 E
  1171. mysqli.default_pw =
    & L( e3 p* [7 t" i  |

  1172. " P' k7 K9 O$ ]; z8 ~! M8 L' A0 T
  1173. ; Allow or prevent reconnect' n/ T! Z! m4 e' y0 a5 u9 @
  1174. mysqli.reconnect = Off
    + t5 z9 G1 N- g) [/ U
  1175. - F6 g$ i  A- y# F1 P% ]6 d2 \# I
  1176. [mysqlnd], M. D- M8 K) }- l: Y% |! v2 Y$ ?
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    # W/ w0 t- l* E8 B! N
  1178. ; used to tune and monitor MySQL operations.8 z5 t! r" N. a# K
  1179. ; http://php.net/mysqlnd.collect_statistics
    ' g( h$ n1 Z& |) A8 L9 k
  1180. mysqlnd.collect_statistics = On& T+ R9 k2 B& |5 }' T: f

  1181. 6 q# F! Z2 D( u5 k, k
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be4 O1 K/ C/ o, G$ p
  1183. ; used to tune and monitor MySQL operations.
    ! ]) S. B# l2 y
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    " `* t4 o* j* @( L/ G  ]) Q
  1185. mysqlnd.collect_memory_statistics = Off, I& r8 S  m1 }2 ]

  1186. . x* Z, I8 q5 n8 B4 v! g
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ; K* F$ |+ b+ i  b0 h
  1188. ; file., Y9 ?! g. F/ z
  1189. ; http://php.net/mysqlnd.debug
    ! `2 ]; K4 J. @. z8 q/ `
  1190. ;mysqlnd.debug =
    ! e$ `. |5 \2 Y4 M7 u: F+ q

  1191. % t6 y3 \- a* R, o; {" R3 g
  1192. ; Defines which queries will be logged.
    ( B0 d& r+ _$ O# q) ~# c% r( O
  1193. ; http://php.net/mysqlnd.log_mask" n" s. S; @9 Q$ n8 \) l
  1194. ;mysqlnd.log_mask = 03 Y9 G6 S& M! Q6 q/ M6 J

  1195. ; F. @/ s- z: Q- A& H% ~: X
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.( G) j% h3 ?1 q. E, d, {
  1197. ; http://php.net/mysqlnd.mempool_default_size7 W4 N+ A/ l7 ]9 X$ ?
  1198. ;mysqlnd.mempool_default_size = 160002 i+ R# Y6 m: V& j, e9 n
  1199. 7 {; ]4 T6 s% |) r* `
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 G+ B8 x& f  N6 H) a! v
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    $ P% r4 T3 Q, a" M! `: I! U* u& c
  1202. ;mysqlnd.net_cmd_buffer_size = 20483 z4 q+ y) V8 s: y
  1203. ; R( X/ \5 o0 W# M2 v
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    - w; T6 `' C) p: e+ e5 j8 u* T# G
  1205. ; bytes.8 y. _7 Q+ c, J1 T! L. H5 o
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    9 n* Z; C+ f! ]5 |/ k
  1207. ;mysqlnd.net_read_buffer_size = 32768. u7 v  P6 Y& L+ g; H; V

  1208. 5 g4 V- @5 o1 _' j3 v+ c/ {
  1209. ; Timeout for network requests in seconds.# v" z0 D5 P0 _/ T
  1210. ; http://php.net/mysqlnd.net_read_timeout  c( e; Q9 O7 L0 z6 h
  1211. ;mysqlnd.net_read_timeout = 31536000
    0 K  D# v  ^  Q' {9 i% [4 v
  1212. 4 _1 M6 I% h/ L& [9 F
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA" e* }9 l4 p7 ?) ?
  1214. ; key.
    6 X! N% e* V" W
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    + C( X5 W$ F" n  R/ {1 K; u
  1216. ;mysqlnd.sha256_server_public_key =
    / f  V% w1 _& G

  1217.   ]  r3 C4 F- |4 v* a  T1 N9 e
  1218. [OCI8]8 D' I3 ]8 ^" S1 F

  1219. ' K6 ~% Y! ]# ^# q
  1220. ; Connection: Enables privileged connections using external
    1 D7 M" m; W( f9 ?! z! G+ a& d
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    * E) @7 F) U! y: Q$ N
  1222. ; http://php.net/oci8.privileged-connect% x  J% Q& a; l. A. d0 B  r
  1223. ;oci8.privileged_connect = Off+ s6 q; u. E# u. y3 X
  1224.   U7 v$ @) f: q3 ?
  1225. ; Connection: The maximum number of persistent OCI8 connections per! \, w5 t" D0 o+ [
  1226. ; process. Using -1 means no limit.. ^; ?$ N9 \+ s. J0 x$ Q: S! d2 b' o
  1227. ; http://php.net/oci8.max-persistent& e( a  c( r7 w( u' n
  1228. ;oci8.max_persistent = -1& N+ `" j( v- G1 M* k

  1229. 4 O: M7 l7 K' x  g
  1230. ; Connection: The maximum number of seconds a process is allowed to
    " j1 Z/ S2 V$ ?% ~
  1231. ; maintain an idle persistent connection. Using -1 means idle+ a( G" z6 Y9 _# Z  {6 s" x
  1232. ; persistent connections will be maintained forever.3 @9 _+ S$ U: L& a  ?& x
  1233. ; http://php.net/oci8.persistent-timeout
    , S0 f( T; y9 H9 v2 `0 s/ ^5 n
  1234. ;oci8.persistent_timeout = -19 e! N" |( P' g
  1235. 3 c+ @4 l% z9 z  p
  1236. ; Connection: The number of seconds that must pass before issuing a; Z6 p4 e. Y! T+ \4 r* ^# v  v
  1237. ; ping during oci_pconnect() to check the connection validity. When0 n6 J8 _  A% ^! F
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    0 M: T3 d/ ^' y" R- D; r" \
  1239. ; pings completely.
    . R1 t( ]8 l1 h# E7 e
  1240. ; http://php.net/oci8.ping-interval
    6 F9 a! Q% j  A5 m0 t7 x
  1241. ;oci8.ping_interval = 60( Q" J) W# @1 [6 H: P: J

  1242. ! Z& |9 @4 K9 ]7 r7 T2 X$ l
  1243. ; Connection: Set this to a user chosen connection class to be used
    " ]' t6 l1 H2 M2 x
  1244. ; for all pooled server requests with Oracle 11g Database Resident: o/ _# B" E/ s7 \! z
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to) r. T% K' W  J! d3 Q% K; E
  1246. ; the same string for all web servers running the same application,
    % [3 n0 Y8 }& k( H  @0 K
  1247. ; the database pool must be configured, and the connection string must- y; d/ A+ G1 a: u, Y- h
  1248. ; specify to use a pooled server.+ Q+ y$ [; g5 ]) x
  1249. ;oci8.connection_class =5 n0 b% S! a. N/ m
  1250. ! k! x5 ?5 m: k1 B6 B+ R
  1251. ; High Availability: Using On lets PHP receive Fast Application
      y; H) M. [5 g
  1252. ; Notification (FAN) events generated when a database node fails. The
    2 Q: \" r& M; f) l
  1253. ; database must also be configured to post FAN events.; k: V8 Z. z6 f% l; J# O8 }
  1254. ;oci8.events = Off
    3 V2 h( p- X% Q) l- E3 z
  1255. 5 b* e* x8 a7 Q( b% n/ z
  1256. ; Tuning: This option enables statement caching, and specifies how
    + |. y3 S6 M& t8 n% D6 v8 ^$ U; f
  1257. ; many statements to cache. Using 0 disables statement caching.
    ! P0 {, d$ ^3 v, d8 R6 W, M2 Q
  1258. ; http://php.net/oci8.statement-cache-size7 g: F2 r- z/ c% r6 o; s
  1259. ;oci8.statement_cache_size = 207 h; B2 V+ n8 P
  1260. ! y8 M& R2 I2 L% [2 b3 k) M# t
  1261. ; Tuning: Enables statement prefetching and sets the default number of! F& l8 `3 x- e8 ]3 e
  1262. ; rows that will be fetched automatically after statement execution.
    6 F: u+ K1 c* @. R" D* ^( k8 a
  1263. ; http://php.net/oci8.default-prefetch! ^8 Z  b7 I1 C- \; C
  1264. ;oci8.default_prefetch = 100
    2 F6 P6 S3 l) r6 z, p

  1265. + o/ f3 L" L6 O# ?5 \
  1266. ; Compatibility. Using On means oci_close() will not close, x0 S5 S5 f. g7 N
  1267. ; oci_connect() and oci_new_connect() connections./ {6 [1 t) z! v: R; V* a4 H
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ; U5 v6 D$ f$ k4 D/ l$ w) `* N
  1269. ;oci8.old_oci_close_semantics = Off
    $ V$ [" `% l1 n& \5 n7 m/ O

  1270. 1 S5 m0 z& L. V" E+ |# R, b
  1271. [PostgreSQL]' q$ b: ~$ T$ p" n
  1272. ; Allow or prevent persistent links.
    : f$ I: f0 w; {9 g6 F  X# f1 o; Y
  1273. ; http://php.net/pgsql.allow-persistent5 L0 G" d( j/ r
  1274. pgsql.allow_persistent = On$ d9 c& |# r: |  C

  1275. . u2 `6 V& ]  e* _6 v. A
  1276. ; Detect broken persistent links always with pg_pconnect()., Q  O' h% o- z* R* }, C
  1277. ; Auto reset feature requires a little overheads.# J6 T; s# l7 @* S
  1278. ; http://php.net/pgsql.auto-reset-persistent
    - u0 ^- c  J5 t! h
  1279. pgsql.auto_reset_persistent = Off$ t5 J4 A' O8 }8 E5 g9 D
  1280. 1 C3 i* |) g' T1 \- E7 M
  1281. ; Maximum number of persistent links.  -1 means no limit.- Z. H0 ^+ n8 t) v& Q1 z7 G! b
  1282. ; http://php.net/pgsql.max-persistent
    . ]8 q, Y9 l$ C
  1283. pgsql.max_persistent = -1
    # U" a/ ^/ ~$ D* P

  1284. . _3 O. j" B: ~, J' @
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 B0 b! `' ~, l1 H: F! c$ T6 R
  1286. ; http://php.net/pgsql.max-links0 I# |; s% G; k8 y
  1287. pgsql.max_links = -1
    : }+ w. i( o3 z5 p; p3 U! _  n4 I
  1288. 6 _) H, n2 u+ J$ z$ C) h! H
  1289. ; Ignore PostgreSQL backends Notice message or not.
    / g6 W7 X" Y3 b+ e+ ?) T
  1290. ; Notice message logging require a little overheads.
    + k- N: C& J' s' l
  1291. ; http://php.net/pgsql.ignore-notice
    / f; O, e# P' q
  1292. pgsql.ignore_notice = 0' Q4 g, w7 u# r# [, O( ^8 }/ c
  1293. $ W: d: V* W. Z
  1294. ; Log PostgreSQL backends Notice message or not.
    % d: X: A/ A9 N, a
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    2 |6 T4 g/ A0 Q. c& O
  1296. ; http://php.net/pgsql.log-notice
    7 @' H  k5 w# ~! q
  1297. pgsql.log_notice = 0
    3 K: V- w% C$ T( y- q) V' W$ E
  1298. 3 a) T" l: g2 d7 o
  1299. [bcmath]* o& m1 N1 ]- U
  1300. ; Number of decimal digits for all bcmath functions.8 ?7 }0 r% v8 P* M9 U3 w
  1301. ; http://php.net/bcmath.scale
    2 ?" }& H0 ]+ b5 {) n/ a9 b1 K+ r  m
  1302. bcmath.scale = 02 G6 i  D1 I8 p7 j$ O
  1303.   c3 f, h9 n/ d0 e4 L
  1304. [browscap]
    8 X8 V/ E, O2 f
  1305. ; http://php.net/browscap
    - u% c* o# J+ J
  1306. ;browscap = extra/browscap.ini  Z) e7 z1 {0 n1 t7 [. C
  1307. # N  Q3 d0 ]0 N* e
  1308. [Session]
    ! f- O1 `1 Q( A1 e3 y" A
  1309. ; Handler used to store/retrieve data.
    % S4 ]% M7 o2 l# ]3 V
  1310. ; http://php.net/session.save-handler, v  K! P6 V+ Z/ @! ]' o
  1311. session.save_handler = files+ S; S9 O5 F* Q2 [9 c* K; W) }
  1312. 9 V" c( \4 Z$ F& _
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ! n' M3 C8 o, }1 Q8 f4 \
  1314. ; where data files are stored. Note: Windows users have to change this
    5 v( E  {/ J  c# p
  1315. ; variable in order to use PHP's session functions.# z" r+ V2 i3 T! K) S0 _; H& B
  1316. ;1 `* `5 h7 L( ~$ b+ D. f
  1317. ; The path can be defined as:
    ) j- \( Y/ K/ A: d9 j
  1318. ;$ Q% m  v, h9 `! E& L: w
  1319. ;     session.save_path = "N;/path"
    . z4 M; B- s- r* N8 H& L
  1320. ;) Z9 r# Y% P* Q  b+ |8 E* W8 H
  1321. ; where N is an integer.  Instead of storing all the session files in
    8 ^( d! |% w* a0 d* n# z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and) {: S! a6 h+ e3 W/ Z
  1323. ; store the session data in those directories.  This is useful if
    ! o0 E6 c* {1 A  f$ f6 M
  1324. ; your OS has problems with many files in one directory, and is7 F/ v4 K  ~/ @+ W1 Z8 a, A+ J. O
  1325. ; a more efficient layout for servers that handle many sessions.+ m: t8 d: I! Z6 T1 i: y
  1326. ;3 m) u: a& F9 j" ^! ?
  1327. ; NOTE 1: PHP will not create this directory structure automatically.' a# v) m! o2 \" Q
  1328. ;         You can use the script in the ext/session dir for that purpose.
    + I' w2 N: m$ _
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    : {3 C4 B  X! r
  1330. ;         use subdirectories for session storage
    " j/ P, R7 t. y# [, n. k
  1331. ;# D, Y* K* n+ P  a+ c
  1332. ; The file storage module creates files using mode 600 by default.
    ) U5 l( T- K( N0 b4 ?' |& |; _/ ]
  1333. ; You can change that by using+ t* V# z5 r! c* W% q
  1334. ;, v0 m& o: t  {& G$ e+ U
  1335. ;     session.save_path = "N;MODE;/path"( D0 g, S' b# p" X3 _2 F6 D! D
  1336. ;
    3 S4 t" U% F* [% C- g" b; Z  |
  1337. ; where MODE is the octal representation of the mode. Note that this6 i7 g4 n* |" N( Y% W: y
  1338. ; does not overwrite the process's umask./ T# C/ ^" u( \2 @3 \
  1339. ; http://php.net/session.save-path3 N. u6 Y3 n: t( l' ]  y, q
  1340. ;session.save_path = "/tmp"
    3 }3 x/ b8 r/ {7 Y6 H  y8 X
  1341. ( w" r4 c  L1 q5 _9 m" l
  1342. ; Whether to use strict session mode.
    9 p. f% U0 j: v' D& Z( u
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate; g" K# W- d# l5 C% d7 O) C
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects2 G$ H, J3 S% {( m. h
  1345. ; applications from session fixation via session adoption vulnerability. It is' i( e# M+ `  E1 l- {4 w. c$ F
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged." w  _/ Q+ I4 h/ I' D1 B
  1347. ; https://wiki.php.net/rfc/strict_sessions
    0 O* J) S- X) v
  1348. session.use_strict_mode = 0
    : ~  L4 }& J4 {8 k  j& m2 ?

  1349. 5 A& y1 @! e0 w2 k) e
  1350. ; Whether to use cookies.
    / W( D0 I+ Y! I- {% n% m; w
  1351. ; http://php.net/session.use-cookies
    : a* O* L% ^8 [0 I, ~- f+ v
  1352. session.use_cookies = 1
    + P* e4 Y. _+ i# Y9 t2 T# f  j
  1353. * o6 U5 A! n! g! C
  1354. ; http://php.net/session.cookie-secure. e! s" C- T4 V) E9 N3 ^
  1355. ;session.cookie_secure =9 M' t9 W2 W" f( r) d+ @1 T# Q: G

  1356. 6 y1 p6 Y+ g0 R3 X/ Z
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    5 _( q, c" X1 d% p- ^/ ~) }3 Q* ?4 g
  1358. ; the session id. We encourage this operation as it's very helpful in combating( t- ^& u0 U0 q9 O, N! t
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ; G/ O$ q7 [& c; p) X; C" r/ d
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % G2 n  l- {1 q1 M* S& n
  1361. ; http://php.net/session.use-only-cookies7 c9 r" B2 ?! y! U5 f6 g+ c4 w, F  j
  1362. session.use_only_cookies = 1, y7 x4 j( e- @$ y8 I
  1363. 0 e# y9 M- a7 a3 i
  1364. ; Name of the session (used as cookie name).
    : w$ j2 V! ~& s# e( x
  1365. ; http://php.net/session.name
    ( H% A8 |. o& |# h1 i" k( t6 S
  1366. session.name = PHPSESSID
    ' u7 K2 B3 o4 m: H" X# ~; h
  1367. # ]  N  g! ]9 M1 ?
  1368. ; Initialize session on request startup.+ x% b- g( O. E) B. Q' z" h
  1369. ; http://php.net/session.auto-start
    , ?) P6 a" S% _  X: l+ h" W
  1370. session.auto_start = 0: H7 F$ Q9 P. a; Q5 i# h
  1371. - p5 [" b: H; f& A1 a
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted./ n  A( p) U( ]( \4 M2 m, A8 |: Y
  1373. ; http://php.net/session.cookie-lifetime
    . N7 U: `3 H3 a8 p- ?+ R% h
  1374. session.cookie_lifetime = 0
    1 A8 _& N. s: _6 I1 l

  1375. ' _( j' p4 e0 V, T3 U3 z: f
  1376. ; The path for which the cookie is valid." u7 }" K: s& ~7 r
  1377. ; http://php.net/session.cookie-path
    7 u5 v* ]9 k, f
  1378. session.cookie_path = /
    8 b% P7 m1 t5 D, Z' i+ M

  1379. % @7 K+ q3 t( h) s/ h
  1380. ; The domain for which the cookie is valid.! l* ~1 ^! {8 z
  1381. ; http://php.net/session.cookie-domain2 t6 Q0 p! L% ~- e% n
  1382. session.cookie_domain =1 q( ~1 W# e1 K0 ?

  1383. 2 c- ?! O3 |! R5 B# p, e! E1 y# v
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : Y; [/ h& E4 }. h8 ^& }
  1385. ; http://php.net/session.cookie-httponly
    9 L0 w% R  a/ ~) {
  1386. session.cookie_httponly =3 ]  @) M6 o$ e3 p- x( D

  1387. 3 \2 D9 C. V1 |2 n  x2 O
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.- d1 k1 ^. D& |( v  N
  1389. ; http://php.net/session.serialize-handler& X. k+ D& k, Y7 V) z1 {, `
  1390. session.serialize_handler = php
    8 r7 V- O9 v# M3 G, L

  1391. $ E3 G/ m( R* ~' v3 s& u  ~3 ^' g. G5 @
  1392. ; Defines the probability that the 'garbage collection' process is started
    7 [+ h1 F- b% Z, w1 V/ V
  1393. ; on every session initialization. The probability is calculated by using
    / Z  `/ w* }) n+ i8 A3 E
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    2 y; e* t9 ?# r, b
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1/ x6 x& O: _7 m' _' \5 t6 M
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 R$ ?1 A8 F: s) w/ r6 h% \
  1397. ; the gc will run on any give request.
    3 G( M# d7 g# _, ]+ q$ [& D
  1398. ; Default Value: 1
    & h0 z$ y- X- [4 W+ }) k/ Q5 E( I
  1399. ; Development Value: 1
    8 d% R' E( k# R& N9 s( Q0 Y
  1400. ; Production Value: 1
    9 T9 ^2 D, @5 p& `$ r6 v
  1401. ; http://php.net/session.gc-probability
    6 g% B, K3 q, Y0 P0 N$ a  k
  1402. session.gc_probability = 1
    & `# D8 u8 h) B( \( z( r0 B
  1403. % x/ K' E3 H5 R
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * D4 R! j: [+ ]/ _% J
  1405. ; session initialization. The probability is calculated by using the following equation:4 a  [8 m- v( x3 O4 ~
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 r! N8 J; D2 J$ N- _: T0 w, Q! _
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ {" r4 _! R, G
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " U5 n2 I. ]" n9 V3 E
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you+ Q4 `8 c3 x) h9 ~4 Z) G
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ) {$ Y0 ]2 E1 o+ T" I7 P/ a
  1411. ; this is a more efficient approach.3 f# D; b" b6 n2 h
  1412. ; Default Value: 100
    % ]' L8 W# W3 T) y  l7 ~3 u* m
  1413. ; Development Value: 1000
    ; P. ?" n5 _# E' \1 Y  U, S
  1414. ; Production Value: 1000
    , R' |( m: K5 Y' y$ [; y  {5 y+ ?
  1415. ; http://php.net/session.gc-divisor8 w3 o6 `% Z' I/ d8 ^! X
  1416. session.gc_divisor = 1000
    8 S. {8 x1 o+ L: ]( \" l1 [8 ^
  1417. 7 c9 ?- N0 O- ?- G) l
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    % U, t" ~( V, r& q% f) t
  1419. ; cleaned up by the garbage collection process.) _6 P. `: \8 M2 O- }( {
  1420. ; http://php.net/session.gc-maxlifetime: n8 u: E  t; T1 Q) _+ z
  1421. session.gc_maxlifetime = 1440# G+ J' [; |" Y; D

  1422. 8 z. d! H0 b. L2 q
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ! @9 d7 n, O- M9 b% z
  1424. ;       (see session.save_path above), then garbage collection does *not*
    6 F, S# o* I7 l( R0 q7 ?( M, v
  1425. ;       happen automatically.  You will need to do your own garbage# |0 s* R, x; }' I  D
  1426. ;       collection through a shell script, cron entry, or some other method.& O: ~1 e9 v- x7 |5 A3 ?
  1427. ;       For example, the following script would is the equivalent of6 K# [; I. H5 Y5 T$ b- G
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):+ B) K- o% {2 H: @3 ?: \1 d0 K3 B
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm6 N( [$ O& p5 Z3 ]. ]' f

  1430. " L& d7 U. E% J* ~2 |% t
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 ^  h7 D/ T3 b" m7 {' N( K
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    4 y- i$ Y8 q; l& [6 o0 U
  1433. ; considered as valid.6 h2 W" d% d0 E5 Q+ k3 U
  1434. ; http://php.net/session.referer-check
    9 ]  Z6 m; t! w1 |6 `5 h
  1435. session.referer_check =
    . S) \- w; q& ?, D' W! V2 i$ ?

  1436. % V* F8 t+ H9 h5 `, R! n  c
  1437. ; How many bytes to read from the file.. r- c2 |( ?1 f5 W, U1 b& u9 Y) Y
  1438. ; http://php.net/session.entropy-length3 k$ @3 f. n6 j3 K, {2 a) j4 f
  1439. ;session.entropy_length = 32
    ( a; H. Z8 L; d$ Y1 L( ]
  1440. 5 _$ O& i8 w# \' f7 _1 N7 g7 `
  1441. ; Specified here to create the session id.
    " I  v. O. @6 C( t! B& T& T
  1442. ; http://php.net/session.entropy-file
    + D" r3 r; p! Y: @( H% t$ j
  1443. ; Defaults to /dev/urandom
      u  k, O$ s0 I; W: S2 i" ~
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) L+ Z% Y3 {' W. F% r4 X
  1445. ; If neither are found at compile time, the default is no entropy file.$ {0 V% L! {! f+ |! d% z; j1 `/ w
  1446. ; On windows, setting the entropy_length setting will activate the
    ) I: i- x0 N: m* e7 F0 D
  1447. ; Windows random source (using the CryptoAPI)
    0 t& ]2 L( H$ O
  1448. ;session.entropy_file = /dev/urandom; z- N1 T! {+ L: j5 @" i$ \' e! s
  1449. 5 o4 L+ n5 C! y6 N9 S
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    1 @" E) ?" ]9 A2 F
  1451. ; or leave this empty to avoid sending anti-caching headers.# O9 D: @! T5 k, k( n& B  |
  1452. ; http://php.net/session.cache-limiter
    $ j. V& p/ N5 Y% C2 g: I
  1453. session.cache_limiter = nocache1 R2 b- f& H& o, t  H. s
  1454. $ Z& }, D6 ]+ `8 ^
  1455. ; Document expires after n minutes.
    , e, x/ G# \' I( O# |
  1456. ; http://php.net/session.cache-expire
    - w% k! j) M  b! A" B  U
  1457. session.cache_expire = 180
    # ?! k; m# `% K; W) ?2 R! U
  1458. ; s4 q/ ?1 d" @
  1459. ; trans sid support is disabled by default.
    8 A2 G* z$ ~. e+ S8 Y0 _, R9 U) h
  1460. ; Use of trans sid may risk your users' security.0 |5 \+ v  A0 _2 w6 _& L0 R
  1461. ; Use this option with caution.7 d1 r8 h1 ~5 v9 v
  1462. ; - User may send URL contains active session ID
    . y9 P+ O% \% S8 i5 Z! e. D
  1463. ;   to other person via. email/irc/etc., O3 ]; Q& e& \$ R; L
  1464. ; - URL that contains active session ID may be stored1 j4 s9 O! \( o5 g, s
  1465. ;   in publicly accessible computer.$ k6 Y  H9 f2 p( |4 K# Z
  1466. ; - User may access your site with the same session ID
    % V2 [2 X0 f' O. G- i
  1467. ;   always using URL stored in browser's history or bookmarks.
    # p1 q. Y& K4 Q2 C, X! V" d+ y1 T; A
  1468. ; http://php.net/session.use-trans-sid; q- I/ \- c! C8 n6 L
  1469. session.use_trans_sid = 0
    + x4 P' W$ P. ]# |
  1470. 7 O# \# \' I3 {
  1471. ; Select a hash function for use in generating session ids.3 G6 b1 o+ o. g% c* ~( [1 S/ j
  1472. ; Possible Values
    * {) |% k$ v) k! X1 ?" ^& [
  1473. ;   0  (MD5 128 bits)' e8 b8 w! i: W: G
  1474. ;   1  (SHA-1 160 bits)  }- o  f% K% L; E5 H; Q
  1475. ; This option may also be set to the name of any hash function supported by
    8 e/ A0 Z. m9 q; ~' ?9 N
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ( [/ ^) z7 _- M" H
  1477. ; function.
    & f6 ^9 T1 C  s/ L. e
  1478. ; http://php.net/session.hash-function6 m3 @, R, |9 f$ m. `
  1479. session.hash_function = 0
    ! Y' a$ h/ b' e" f/ O4 e9 \* D

  1480. 2 C5 T( T: B3 f& S4 V6 c9 z) {  d
  1481. ; Define how many bits are stored in each character when converting' t( f2 R; s- m6 j6 d- U3 a
  1482. ; the binary hash data to something readable.1 D& F/ y9 `# ]% x! e+ _# b0 @
  1483. ; Possible values:
    " M0 L+ o0 o9 G0 |% A
  1484. ;   4  (4 bits: 0-9, a-f)
    ' P: G" J; t0 e' [+ o# M/ ^
  1485. ;   5  (5 bits: 0-9, a-v)
    . Q* w4 ~+ n: n0 e$ W
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    1 f+ |2 B) v' V$ w0 n  [; z2 E$ c
  1487. ; Default Value: 4
    3 o6 Y9 S$ J' i$ t1 \# x
  1488. ; Development Value: 5" s$ B2 b. }* Z, {* M
  1489. ; Production Value: 5  V' x7 S/ f8 p
  1490. ; http://php.net/session.hash-bits-per-character
    . n- H& i3 @% h6 k/ m: G
  1491. session.hash_bits_per_character = 5$ L- R8 Y& ]# z2 Z) X0 _, f

  1492. - u0 N2 x: v3 m* y
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.# M9 F+ P, y& ^/ w  n7 \1 D
  1494. ; form/fieldset are special; if you include them here, the rewriter will" c4 M! c( i( l
  1495. ; add a hidden <input> field with the info which is otherwise appended
    . e6 f+ M1 k& r+ }  {
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry./ P5 I2 k& A& |8 q
  1497. ; Note that all valid entries require a "=", even if no value follows.
    6 J& I1 S, c( z. @! B+ ~+ U1 q
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 S9 x7 M7 P- q+ R
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # p& e7 y% P4 u" O$ R. C
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 Y( K* f2 f. v  T! b2 g8 b5 D/ A1 g
  1501. ; http://php.net/url-rewriter.tags
    . X, U# U5 T; r' g: \" W* B7 w' d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry": Y$ w+ T" T0 i- N& a9 H0 v

  1503. 4 Y% t2 c1 J: i5 P
  1504. ; Enable upload progress tracking in $_SESSION
    + q" O6 R4 z0 j( P/ j6 }, |7 h4 b; }
  1505. ; Default Value: On
    3 G0 h5 E; e5 i+ L& X9 }! Q: ~1 X
  1506. ; Development Value: On" Y) \6 _& t$ m/ k0 i1 M
  1507. ; Production Value: On
    7 k. p8 r& H: R- w, v, z/ o: [
  1508. ; http://php.net/session.upload-progress.enabled
    $ n! H" c; X0 k6 u" r
  1509. ;session.upload_progress.enabled = On
    0 `& D$ N$ u/ e; E9 ~" I$ a! B
  1510. ( V% S. b7 V4 Y& u4 O
  1511. ; Cleanup the progress information as soon as all POST data has been read7 U1 k# c* ?1 b  g8 S' x
  1512. ; (i.e. upload completed).
    0 X3 F3 Q+ z# W5 A& g9 v
  1513. ; Default Value: On- i6 A& R! h6 Y) h
  1514. ; Development Value: On! y+ |* Y& s5 u  A# ~9 L- P8 V% D- u
  1515. ; Production Value: On$ D( j0 \8 S. [; O8 e5 H& Q
  1516. ; http://php.net/session.upload-progress.cleanup% C( D6 O6 E0 |( ]; p: }/ b
  1517. ;session.upload_progress.cleanup = On3 Z. y+ c4 n0 D8 e* j) z/ X. m

  1518.   G  B/ F7 N! {; u, F3 q" ?6 Z
  1519. ; A prefix used for the upload progress key in $_SESSION% r& ~' W! |4 F* ~
  1520. ; Default Value: "upload_progress_"' V7 e1 z7 o5 M. ^7 X' S2 T5 e
  1521. ; Development Value: "upload_progress_"+ l* J. @# K9 n" \$ p# q
  1522. ; Production Value: "upload_progress_"
    $ C- F, b  N3 S- Y' G
  1523. ; http://php.net/session.upload-progress.prefix
    / {0 R- U1 Z: Z
  1524. ;session.upload_progress.prefix = "upload_progress_"
    # N% c: u+ D. N+ F" t2 }
  1525. " W$ e9 Y9 j0 z6 m& @8 Z9 p- }
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ' D" V7 y  r0 u$ s3 h
  1527. ; containing the upload progress information
      D: @/ Y- v! X2 B8 N. D- r( H
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! S5 y+ I( m8 Y8 @
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      R$ o' H4 }8 X1 Z
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 a4 K& d+ I8 F
  1531. ; http://php.net/session.upload-progress.name
    " T, M9 L# [+ L
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    7 |4 p* t" ?+ `1 ~1 s6 O

  1533. 6 H; z- x1 P. o
  1534. ; How frequently the upload progress should be updated.
    ; D  O4 ^4 s/ E$ H, T1 A2 u
  1535. ; Given either in percentages (per-file), or in bytes+ C: C3 o9 I9 K+ j- K5 L
  1536. ; Default Value: "1%"! [) H* u( h/ Q. {2 i
  1537. ; Development Value: "1%"& a( @% `: P1 h: h5 k6 p3 _
  1538. ; Production Value: "1%"1 J4 P/ F/ M9 u0 ?
  1539. ; http://php.net/session.upload-progress.freq
    : _% a& p2 _) R: ~7 v6 V
  1540. ;session.upload_progress.freq =  "1%") C: G- U8 J, G7 w/ j# d

  1541. 4 ?3 y2 O3 i4 W! A5 r
  1542. ; The minimum delay between updates, in seconds
    # b' i3 y. [: C+ M6 @' g$ u' T; N
  1543. ; Default Value: 18 G5 |7 P% V) \+ G7 ]' m, ^
  1544. ; Development Value: 1
    & v) q) ^4 Y* g! X
  1545. ; Production Value: 1
    & @% R3 C; v% N3 Z# }+ V
  1546. ; http://php.net/session.upload-progress.min-freq, f+ v5 c+ a$ p& M& ^1 ~
  1547. ;session.upload_progress.min_freq = "1"& ], `; f' Y- |6 {, j( l4 l
  1548. # C; k# p5 P7 G/ x: h& K8 [
  1549. ; Only write session data when session data is changed. Enabled by default.
    ' s6 j' c" C+ V7 R( z
  1550. ; http://php.net/session.lazy-write
    # r7 K& o4 @* q+ f2 F7 B4 @$ N
  1551. ;session.lazy_write = On6 m8 p8 c8 }9 d  B' F& I: {9 Q2 a

  1552. 7 B# U& w! T, V! s% h1 ]6 z& c! _
  1553. [Assertion]
    7 H- ^9 a( b  ]7 ~% [8 H
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ( o) A8 N: k/ R
  1555. ; -1: Do not compile at all
    ( F8 o( k: {$ d) Q% K$ @3 O
  1556. ;  0: Jump over assertion at run-time
    8 A* b9 S& r3 Z" ?9 @" f: C! K
  1557. ;  1: Execute assertions
    & k2 w+ i, j- H% y
  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): n9 l+ J( G, B6 ?  S% {7 C5 ?1 ], {
  1559. ; Default Value: 16 `; m# U) F3 V0 h" ^" r
  1560. ; Development Value: 1
    % P) Y% V1 ^: z+ {% T# \2 l
  1561. ; Production Value: -1- ]2 j! i' y; \+ t+ C& M
  1562. ; http://php.net/zend.assertions
    # u9 y6 |2 u0 u) J0 O; T9 k! x
  1563. zend.assertions = -1$ E- W; ^- g+ y& C
  1564. ! I" n/ z, t' D" K2 ]
  1565. ; Assert(expr); active by default.9 ]5 X3 ^) S7 {: ~, Z
  1566. ; http://php.net/assert.active
    + \9 W" p) c0 X8 j! U3 q2 m
  1567. ;assert.active = On0 ]+ e. V: g! }

  1568. ( c2 h; R, u1 ~8 s
  1569. ; Throw an AssertationException on failed assertions
    : s( q1 W( ]1 Q, B
  1570. ; http://php.net/assert.exception
    * V6 Z9 {( ?  ~& w
  1571. ;assert.exception = On& ]7 j  l7 f, c+ C

  1572. 3 m5 p+ V. r: Q' _; F6 F
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    5 ?0 J+ X: j1 g/ U
  1574. ; http://php.net/assert.warning$ k0 l& x2 K' I' }
  1575. ;assert.warning = On
    1 M' J& |0 o+ ~+ }# ~8 n0 F. i

  1576. ( T- `& p7 G# C) `% e0 |
  1577. ; Don't bail out by default., @5 F, r: m$ [. N! c
  1578. ; http://php.net/assert.bail% A" `! e1 w% w* w8 M0 h6 T2 U: W
  1579. ;assert.bail = Off
    - ~/ D. ]' q- x; {8 W! ?6 J

  1580. : M5 P5 |7 x3 e8 A; M' L
  1581. ; User-function to be called if an assertion fails.
    $ h% x+ z9 ~- ^- ~* p7 j9 v' q
  1582. ; http://php.net/assert.callback
    7 d4 `4 d4 }+ w/ `. T2 u
  1583. ;assert.callback = 0
    9 K; m7 r+ E8 o

  1584. * l* Q7 T5 m# Y- ]8 [
  1585. ; Eval the expression with current error_reporting().  Set to true if you want/ R: L1 i8 t$ }; a
  1586. ; error_reporting(0) around the eval().8 A$ r: T3 B, A+ i
  1587. ; http://php.net/assert.quiet-eval
    2 S' @: l: C; l/ K+ s
  1588. ;assert.quiet_eval = 0% n1 m2 }/ j! F& x/ }. H  D0 k
  1589. * M1 d- D! t, Z( y* _
  1590. [COM], l: M/ @0 u0 q8 S. |
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs4 I7 N( [4 o' w$ ?7 j
  1592. ; http://php.net/com.typelib-file
    , _3 C7 [! @! l3 S3 S
  1593. ;com.typelib_file =
    ) h8 S6 v6 }6 [7 Q
  1594. * r) [, Z5 x  x9 g
  1595. ; allow Distributed-COM calls
    2 ]9 o$ L/ D: c+ l
  1596. ; http://php.net/com.allow-dcom5 H& D! m! P% ^0 r* T7 C2 ]/ d' d
  1597. ;com.allow_dcom = true* B" E7 J9 W- Q

  1598. 2 E4 `$ v( m8 M8 s1 i
  1599. ; autoregister constants of a components typlib on com_load()
    6 F, S' a! [# ~  I, k- j
  1600. ; http://php.net/com.autoregister-typelib+ X1 T% o; N( e- U& F
  1601. ;com.autoregister_typelib = true8 P( Q3 D$ m+ f  k- E" @8 {
  1602. ( u. h3 C, _& ~; _! x
  1603. ; register constants casesensitive
    $ @# }! C4 i+ _+ K
  1604. ; http://php.net/com.autoregister-casesensitive
    - e; _9 w$ k  o  |8 ]
  1605. ;com.autoregister_casesensitive = false: `) ~2 x; n3 d1 a

  1606. 7 R. O/ M8 Q- Q9 r. W. o  \5 d
  1607. ; show warnings on duplicate constant registrations7 U/ i7 ~8 K8 o( F: _
  1608. ; http://php.net/com.autoregister-verbose7 ?0 t6 [( b4 @+ u% v' q
  1609. ;com.autoregister_verbose = true
    & @4 `/ K/ v! S6 ?- G" E; u
  1610. 3 R5 w7 F2 ^4 @* P2 }/ E4 q$ _
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    * Z  Z3 f; d6 |8 W
  1612. ; Default: system ANSI code page6 }, F$ ^0 I+ ^& V5 C4 @
  1613. ;com.code_page=
    - c) T! \: W2 ^# `3 |

  1614. " f$ s' K( }- w: V) K
  1615. [mbstring]
    5 q3 W# f5 ^- Q5 m. y: u) t& q
  1616. ; language for internal character representation.1 ?" P3 z, p- F8 N
  1617. ; This affects mb_send_mail() and mbstring.detect_order.: T1 t$ V/ A/ R, h( ~6 w& X" M
  1618. ; http://php.net/mbstring.language/ M. V6 o* j6 o5 v! i
  1619. ;mbstring.language = Japanese
    - e( o1 Y9 t; L7 x( K

  1620. 3 E+ i5 P9 I! \! s8 p  k7 Z
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 N1 s/ X: r. S- _
  1622. ; internal/script encoding.  T* l3 c# j/ L. J
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ' \% U; p  r! p- [6 J- U' {7 n
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: M! t1 ]6 E5 }4 k, s5 ~
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ k6 E6 |+ C2 V1 n7 ?+ G- H
  1626. ;mbstring.internal_encoding =1 Q9 y. N! l, ]

  1627. & x- j& ]& i& b9 X
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 ^# x4 I( c0 |& ]! ~0 |9 q
  1629. ; http input encoding.
    ! e" X, q; I& H6 z+ t" Z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    3 u! X! x3 g: |6 I( D
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    % m( Y2 ?" @" Z  j3 {
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input  b0 h. b4 d  N0 O
  1633. ; http://php.net/mbstring.http-input! i, Y. `* H: H/ r4 p
  1634. ;mbstring.http_input =- }/ O2 V0 o/ {! B

  1635. ( c& }: k1 U% Q, G  M
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.$ w3 N  Z; Q2 a2 v% {* o1 D! G
  1637. ; http output encoding.- \9 E  Z& l0 {% ^  [* }, j
  1638. ; mb_output_handler must be registered as output buffer to function./ _8 @* ^. m  z  a
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.$ j( a3 a+ K; c+ t+ g' i
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 P2 s: `; `8 C& i) P" ]5 X8 P
  1641. ; To use an output encoding conversion, mbstring's output handler must be set7 ~% f# J" j* I" @5 y' {/ j
  1642. ; otherwise output encoding conversion cannot be performed.
    9 u; D# V; U' @. j. \2 {
  1643. ; http://php.net/mbstring.http-output6 M$ c" a& |" r3 p: s( C5 N
  1644. ;mbstring.http_output =
    5 F! X' S6 n( Y2 R0 O7 L
  1645. ' ]7 H8 S7 [2 k3 \
  1646. ; enable automatic encoding translation according to8 N7 K+ i8 [" w- r0 w& s
  1647. ; mbstring.internal_encoding setting. Input chars are. l0 z9 h7 |# s- w
  1648. ; converted to internal encoding by setting this to On.5 v, J% @! P$ K# O' Y. J
  1649. ; Note: Do _not_ use automatic encoding translation for
    6 O, @6 B  T% D$ Q
  1650. ;       portable libs/applications.; s. r& w8 E) X
  1651. ; http://php.net/mbstring.encoding-translation
    + K2 S" C7 v, m+ W. h  k
  1652. ;mbstring.encoding_translation = Off+ G7 n; r$ ]( y+ T4 }" H! G
  1653. ( w/ l# G$ L& z  R' D+ t
  1654. ; automatic encoding detection order.
    : d; q; _' F6 a8 r) O
  1655. ; "auto" detect order is changed according to mbstring.language! P3 C  n! K. W+ P
  1656. ; http://php.net/mbstring.detect-order
    & ~7 S- u$ V9 ]$ C
  1657. ;mbstring.detect_order = auto6 w7 \2 S" ]: U- i% Z# E: g7 C  P

  1658. 2 U; Y& ?& o! \5 U% {
  1659. ; substitute_character used when character cannot be converted
    & ~5 `( p2 g1 \1 i5 v
  1660. ; one from another
    ' N* R4 X6 ~/ o. [
  1661. ; http://php.net/mbstring.substitute-character$ _& Y; E8 i9 d/ F+ S& u
  1662. ;mbstring.substitute_character = none
    & n. \$ N$ @$ F/ G5 n

  1663. . ^- z: ]7 Z2 g% O( j1 x, v
  1664. ; overload(replace) single byte functions by mbstring functions.
    2 y6 V* x1 e" \5 z1 Z2 [6 @. G/ a
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; n+ V" @* c% A! U! Y3 r
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.8 @* a/ `# W: L" e* p( C7 u
  1667. ; For example, 7 for overload everything.
    4 P' ~; I1 F4 |
  1668. ; 0: No overload
    . ~" D3 Q# e  \$ S9 m, p
  1669. ; 1: Overload mail() function
    # U6 s/ Z" n' {  M
  1670. ; 2: Overload str*() functions
    2 ]9 H9 I/ }, N
  1671. ; 4: Overload ereg*() functions
    - Z, r6 ^% s+ ^
  1672. ; http://php.net/mbstring.func-overload
    9 S5 O+ x' I+ F7 L+ T- p9 y8 |) r
  1673. ;mbstring.func_overload = 0$ }1 F3 B# {5 f7 G$ F  ]2 N# ^

  1674. ! ^6 C8 j! S0 c# G' q+ ]; v, Z
  1675. ; enable strict encoding detection.2 Z8 d7 s) w5 f" f/ i  W  X
  1676. ; Default: Off  y2 t3 L1 g+ C& N
  1677. ;mbstring.strict_detection = On
    . ^; G2 U5 b# J' Q1 U9 A- \! W# k$ m

  1678. 7 L1 H* n: Q2 t
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()1 I( \' D! ^" a' ?! ?: f8 W
  1680. ; is activated.7 ~" v7 A7 v4 m7 P. ^9 q9 \& Q+ x0 n
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( x* L' h: h& ?3 L3 ^
  1682. ;mbstring.http_output_conv_mimetype=
    ( e# i! f/ c* Y0 g
  1683. ) o! b6 k8 L: |0 @8 Z& g
  1684. [gd]# F! H$ j! v0 \% s# Q% h
  1685. ; Tell the jpeg decode to ignore warnings and try to create4 t  W: r4 o9 I' ~( y: W; W
  1686. ; a gd image. The warning will then be displayed as notices
    , T, e* D! }  a0 t0 D5 r9 ^- C
  1687. ; disabled by default+ U: J; D; e7 |/ w! b/ T
  1688. ; http://php.net/gd.jpeg-ignore-warning
    2 @# A& v( @+ [% d
  1689. ;gd.jpeg_ignore_warning = 0
      }8 D9 u1 _2 c0 O
  1690. 2 g: V$ _! R- t! e2 m
  1691. [exif]
    8 Z8 _! e7 R, r- R
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., G9 [; y: N4 a+ e+ O
  1693. ; With mbstring support this will automatically be converted into the encoding
      I9 L; m; t6 U4 o
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 @# b& L& ]# b7 Q
  1695. ; is used. For the decode settings you can distinguish between motorola and/ E+ b3 F, i/ Q) @
  1696. ; intel byte order. A decode setting cannot be empty.$ H# O. L1 T* Q; v0 t
  1697. ; http://php.net/exif.encode-unicode# q, A: j  H/ |! |
  1698. ;exif.encode_unicode = ISO-8859-15: d$ i: q9 P, ~1 ]$ Y) X

  1699. ; r) _# C8 Y. ^, p
  1700. ; http://php.net/exif.decode-unicode-motorola
    6 J" t8 p/ ~2 K' \3 j1 {
  1701. ;exif.decode_unicode_motorola = UCS-2BE2 z4 d' l3 N  \: t

  1702. 4 _# d1 ^8 V; L$ V) f  Z. K6 b
  1703. ; http://php.net/exif.decode-unicode-intel1 C& V2 D/ h% z* u7 z7 x& L
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    4 o2 q2 d) L, h

  1705. 3 P' @6 f1 g! R9 u3 P' V: c
  1706. ; http://php.net/exif.encode-jis
    ( c: s8 `0 y, x% Q
  1707. ;exif.encode_jis =: b# e8 `0 ~6 a! R) l

  1708. - s* y3 ^9 C$ H, Z# `0 e- y
  1709. ; http://php.net/exif.decode-jis-motorola
    ! J) M, g$ c9 H" g$ W
  1710. ;exif.decode_jis_motorola = JIS
    1 o4 ~+ p  S9 Z! Q- e; E* Z+ H+ K
  1711. ( D' y3 p: V) `0 z+ [4 L
  1712. ; http://php.net/exif.decode-jis-intel
    - W' s: |! ~  d
  1713. ;exif.decode_jis_intel    = JIS
    , ]; C1 G9 T" m2 e* u% r9 N! M
  1714. 6 F% g+ T  K) D% r+ T( K
  1715. [Tidy]
    9 K4 R; H  s# S  `( f4 G
  1716. ; The path to a default tidy configuration file to use when using tidy# x7 z  }0 }0 o2 p9 I: q! j
  1717. ; http://php.net/tidy.default-config
    ; e8 g& q$ y& g( g$ c  `+ D; u. D
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    8 ^* z$ a/ X# W' ]( Z
  1719. : H, A. E- f+ M
  1720. ; Should tidy clean and repair output automatically?
    4 m2 d$ L+ D0 a# D& j( J
  1721. ; WARNING: Do not use this option if you are generating non-html content( k6 S/ O. I1 V9 w2 ^
  1722. ; such as dynamic images
    ' M/ R5 W# Z. x& X
  1723. ; http://php.net/tidy.clean-output! n) W; D0 }9 L
  1724. tidy.clean_output = Off
    $ u+ L7 \: }3 \1 H- I6 I/ b" H

  1725. 3 k* n7 p+ D. n' n4 a
  1726. [soap]! w; B8 j! b; B  ?2 D3 n
  1727. ; Enables or disables WSDL caching feature.2 t- G7 F8 q" g) B. c$ L4 `
  1728. ; http://php.net/soap.wsdl-cache-enabled5 ^  [8 m8 Q4 J! p
  1729. soap.wsdl_cache_enabled=1  T) K. r% [+ M% \8 R* Y4 G* m: v
  1730. ) J4 O: e2 e) G/ q9 G
  1731. ; Sets the directory name where SOAP extension will put cache files.) `" A( h6 f' c# {( {
  1732. ; http://php.net/soap.wsdl-cache-dir9 F/ o8 d$ W1 R# T0 x' }
  1733. soap.wsdl_cache_dir="/tmp"0 s. p0 k6 o0 B
  1734. , @# Z; z8 W; U0 h3 |4 V
  1735. ; (time to live) Sets the number of second while cached file will be used. a; l8 B* a( W, c- \/ d4 x# w; g, y
  1736. ; instead of original one.6 e: l8 y0 l+ l. _6 ?
  1737. ; http://php.net/soap.wsdl-cache-ttl
    6 P, s( g$ {6 t/ [1 A4 D1 \4 }
  1738. soap.wsdl_cache_ttl=86400
    ; G6 v. O- p$ {8 x( m
  1739. 0 I  @$ i: E% H9 ]; U
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache). l6 Y$ O/ m% j" f  W; m: W% [  l
  1741. soap.wsdl_cache_limit = 5; O1 S' I/ e0 K
  1742. * ?0 U& r- A* R; Q
  1743. [sysvshm]
    ) }" g) ?" s8 q7 L+ j
  1744. ; A default size of the shared memory segment5 m9 b' U6 h% w( p
  1745. ;sysvshm.init_mem = 10000
      [& O0 i2 a1 ]" N" \0 R" T

  1746.   `6 o6 v6 z& p. Q) f, K
  1747. [ldap]+ m  V3 a) @9 t& [' p
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ' R2 @. E) C, Z% h' V
  1749. ldap.max_links = -15 K9 \& `3 d6 c+ g

  1750. 8 r8 C  ~% z. a
  1751. [mcrypt]
    ! A' L  J) ~7 Q
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open$ ^* H+ I( W5 S+ X& [0 g
  1753. 9 B' L5 s" W' f% [* g2 W
  1754. ; Directory where to load mcrypt algorithms" O& t2 a% V( d: Y/ r7 s
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    , B$ R/ @  }( n8 N. _, G/ H
  1756. ;mcrypt.algorithms_dir=& B8 T/ ]/ ~% E, l

  1757. , y) K& ^4 O- ^, n8 V
  1758. ; Directory where to load mcrypt modes6 @3 u0 f3 u2 W/ k9 P# |. N
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* J7 t: N, N7 M& r  J
  1760. ;mcrypt.modes_dir=7 W, y- _# M1 M  A0 k$ i3 |

  1761. ! V% ~/ J/ K3 y+ O
  1762. [dba], n+ ^  x' P" e: y. d4 N" D
  1763. ;dba.default_handler=
    , B- X& O% ]3 `5 B
  1764. , f; x8 f; b) ]6 [5 I
  1765. [opcache]" e2 D; g# m! E# e* b' R
  1766. ; Determines if Zend OPCache is enabled, U! Q0 O  g% A5 l
  1767. ;opcache.enable=0
    : G* m$ Y  W6 E) k; \$ x- `

  1768. 8 x7 D5 m) J, f/ A
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP1 B/ N) Q2 p, z& a( E' J. p6 P
  1770. ;opcache.enable_cli=0
    # r# Q. x; E& u

  1771. ( L# J( u: W! k" C4 q. O$ ]
  1772. ; The OPcache shared memory storage size.
    " L5 w; l: p3 p' m% d% R$ |+ Q
  1773. ;opcache.memory_consumption=64
    * g# C, [9 B% |8 d  p2 T
  1774. ; Z! q9 {" q3 }' A, g  h/ k) g
  1775. ; The amount of memory for interned strings in Mbytes.
    9 Z2 V2 g/ U2 E, I! s/ P
  1776. ;opcache.interned_strings_buffer=4
    6 J( o6 l. T9 [9 u# Z

  1777. 1 D0 a% l& I$ \/ [/ W2 M
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ) k! h: B" A5 e! x% w' v
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ( g9 w2 N# a6 o) a( @! s  f' v7 [
  1780. ;opcache.max_accelerated_files=2000! l- u$ h8 X! U6 r3 T
  1781.   L, N+ S9 s* I0 R! ~0 t9 Q8 H
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ y) t* b" E; k# d5 \
  1783. ;opcache.max_wasted_percentage=5( Q+ ~3 T2 y/ J3 w6 U* V
  1784. ) g! o' n1 x$ f8 t3 t/ b/ o
  1785. ; When this directive is enabled, the OPcache appends the current working
    / v0 `6 c8 O! w$ }$ D) b$ I! u
  1786. ; directory to the script key, thus eliminating possible collisions between: P7 ^' M! u1 V% _2 M( X: ?) A
  1787. ; files with the same name (basename). Disabling the directive improves
    5 L/ e+ ^# e5 ]3 U! W: e
  1788. ; performance, but may break existing applications.
    6 s. Y; z1 U4 n
  1789. ;opcache.use_cwd=1
    1 c* w6 c1 Q) l$ K$ t% {- t

  1790. & S0 o% h- X: H5 o6 `" I
  1791. ; When disabled, you must reset the OPcache manually or restart the; V7 R: R# e; a/ I2 J
  1792. ; webserver for changes to the filesystem to take effect.+ s4 O+ z0 I  A, w3 Q* u
  1793. ;opcache.validate_timestamps=1- v( f/ y1 R; E7 c/ O6 a

  1794. ' t0 e6 B$ b& b7 {! T: [% O
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    1 r) D' ]4 ?9 s# b5 f
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ' J6 d4 h* @$ i% a* T" |6 F1 s
  1797. ; once per request. "0" means always validate)
    0 R  h( R" ]% H' X. `/ O
  1798. ;opcache.revalidate_freq=2) H+ S6 |. E5 X. I$ C7 q4 \" }
  1799. 4 ?. U$ B% H/ ~( B
  1800. ; Enables or disables file search in include_path optimization, T( @9 k' G; K) Q
  1801. ;opcache.revalidate_path=05 F% X7 |+ E1 Z1 S: H% }

  1802. , N- g- j4 h9 I
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the7 I" O5 E( ?' Y3 @
  1804. ; size of the optimized code.6 ^* e) w) _& o" h5 ]9 I' b: ~: a
  1805. ;opcache.save_comments=17 r2 q2 Y' A9 d) V- n/ i) P

  1806. ! w! ~0 J5 r. w
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    3 E7 a8 G; N$ R% D6 B
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.2 l; g6 R7 ?. m# x+ J/ T) g
  1809. ;opcache.fast_shutdown=0
    0 q. t2 r  e6 D0 `3 r
  1810. ' y3 z( G8 T8 o  i: F$ I% P0 M
  1811. ; Allow file existence override (file_exists, etc.) performance feature./ L5 r, i4 T0 L9 n4 v
  1812. ;opcache.enable_file_override=0
    8 c- J( W2 n, L; K
  1813. 3 n4 Z! |& L. j' P
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache; }+ ?: r8 C2 R5 y  a" ?  S
  1815. ; passes  Y* b9 l( ~, u
  1816. ;opcache.optimization_level=0xffffffff% {1 H, u& G3 l4 v
  1817. 5 \, J( Y0 X3 |% D- n
  1818. ;opcache.inherited_hack=1* \4 a7 W7 o, Y+ `1 ]
  1819. ;opcache.dups_fix=05 y4 }7 S5 E+ S# p( P5 M
  1820. 3 ^0 P1 y2 O$ L( R
  1821. ; The location of the OPcache blacklist file (wildcards allowed).+ `! v( G+ e9 I
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
      J. P/ Q; i. \$ H
  1823. ; that should not be accelerated. The file format is to add each filename
    ) r$ c$ q8 A5 n) ]
  1824. ; to a new line. The filename may be a full path or just a file prefix
    $ A: F7 B' ^0 }4 P+ }4 d: p9 J
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; ?! ]  E4 |7 j( e
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    * a) W' y$ x2 N1 K: U4 G, r
  1827. ;opcache.blacklist_filename=( a' W6 V* G1 f  u4 w# J
  1828. % o1 R% n( U5 M( Q" c3 W
  1829. ; Allows exclusion of large files from being cached. By default all files
    6 t  P! T& i; a2 U" V9 Z$ q& I8 ~
  1830. ; are cached.
      l- K6 ^1 f8 ?* Y, x
  1831. ;opcache.max_file_size=04 F5 [9 b- `8 |* _3 L1 B6 M( Z  T

  1832. * J7 ], ~$ A. ^$ g. u7 F; D
  1833. ; Check the cache checksum each N requests.
    & M& D* n4 ^  ^, z; T; S
  1834. ; The default value of "0" means that the checks are disabled.
    0 m. v' c: n: L7 H7 n# J
  1835. ;opcache.consistency_checks=0
    & Y+ o; W2 J8 `

  1836. * l8 X& D# U; `5 f7 O" {- |
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache  N5 d! R$ m' @
  1838. ; is not being accessed.
      Q0 {& {$ _6 ~8 j6 \5 v9 R8 O3 G
  1839. ;opcache.force_restart_timeout=1800 s5 U4 _' {" e5 D4 m9 H0 Y
  1840. 3 W8 ?6 J0 @) y( q- {- C
  1841. ; OPcache error_log file name. Empty string assumes "stderr".5 [5 O9 {# q8 M
  1842. ;opcache.error_log=0 B3 r$ `; C/ b4 ~, J' B! a, D2 }% S
  1843. $ `/ M8 Z9 D; l  ~! z( d
  1844. ; All OPcache errors go to the Web server log.# h& X3 _, t) y1 ?# x9 K, b2 x1 w0 s
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    : s# s% E! X3 c9 Q3 W
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    8 `+ q/ l* y, g( E
  1847. ; debug messages (level 4).
    : f" Z3 f" y* l& C/ n( @% v
  1848. ;opcache.log_verbosity_level=1
    ; p7 |- H% [7 {7 W. h

  1849. 7 t0 I5 j4 n6 f3 d, U2 b. O
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . W* p/ Q# U1 s- G7 S! a
  1851. ;opcache.preferred_memory_model=6 _/ d; O! Y$ {! M8 v( w

  1852. ) f( `1 S4 _) g/ }& `) W! \6 \& G
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ! \* D3 c6 U9 _0 s  n/ [/ i
  1854. ; Useful for internal debugging only.
    8 G& U7 A# W/ ]7 U1 O
  1855. ;opcache.protect_memory=0  z$ r' m; R2 H: [
  1856. 6 c) n/ ~. Y- J
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is& |1 `1 O7 J* z5 p1 X
  1858. ; started from specified string. The default "" means no restriction0 T- Y# P5 H( Z4 B. R
  1859. ;opcache.restrict_api=
    6 p, N# i" i8 Z

  1860. * Q$ S% H, n+ `* D* w* f- S
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ; K. w* _/ r- u! B7 Y9 e) V, w) H
  1862. ; processes have to map shared memory into the same address space. This; B) ^1 w7 W& ?8 D3 s/ q
  1863. ; directive allows to manually fix the "Unable to reattach to base address"* s, ]& N- ]2 T! _8 @4 A
  1864. ; errors.) I. C* p3 k5 W4 e5 _
  1865. ;opcache.mmap_base=
    + p$ a1 i) w" {0 h. ?

  1866. 6 Q2 {* |. x4 F/ H5 s) H
  1867. ; Enables and sets the second level cache directory.6 R% F! p# s8 \: r- z' `
  1868. ; It should improve performance when SHM memory is full, at server restart or
    4 }  w  L) P/ ]- L$ Q# D. Q* Y
  1869. ; SHM reset. The default "" disables file based caching.6 y. g0 }5 H/ p4 d1 n  b* U
  1870. ;opcache.file_cache=! i1 Y/ |3 m7 f8 j
  1871. 0 d# a5 P1 w) Z6 b2 Y
  1872. ; Enables or disables opcode caching in shared memory.
    / B3 m. p2 p) v5 B" M
  1873. ;opcache.file_cache_only=08 u# H+ `4 f6 V" s* f5 t1 k9 d$ d

  1874. & N3 A& N4 c0 M( f' {) p8 |
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    1 H! `" C: o9 y4 m  s
  1876. ;opcache.file_cache_consistency_checks=1
    / y; Z9 n/ b) @( h: p2 j# {" E0 G! x

  1877. * I! j  ?+ |  A
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to9 u6 c3 u0 g0 r' o: p
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file5 x& L, w" Y* j: G
  1880. ; cache is required.. A7 G1 p& \. O7 S. ?: @
  1881. ;opcache.file_cache_fallback=1
    6 H. d3 h$ i4 V6 z; a8 Z, F5 @, u

  1882. 0 q+ }; |* x1 D8 [, U
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.! H1 W0 ^2 k& V" v& e: c/ t( U
  1884. ; This should improve performance, but requires appropriate OS configuration.% l8 e  G5 H# {. ?
  1885. ;opcache.huge_code_pages=1
    ) z  y3 d) @) f6 |5 s! @3 u

  1886. " P6 B- D1 R/ Q: d
  1887. ; Validate cached file permissions.! X! ]  Q% \8 z( H- }
  1888. ; opcache.validate_permission=0
    1 q' f7 P  X! e1 o, e( Q
  1889. $ A9 o% f" z3 l6 w4 E
  1890. ; Prevent name collisions in chroot'ed environment.$ M7 [/ B2 f3 i# k  W7 _
  1891. ; opcache.validate_root=0
    0 Z1 d( U: {5 l0 R$ _% t

  1892. 9 @0 f7 e; N4 L& ?+ ]0 k/ o
  1893. [curl]
    , H7 |0 V* q. y7 j" O. Y, D
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an  o* b2 f1 ~. R" b; L  r; G4 t
  1895. ; absolute path.
    3 G) X, \1 z8 t/ Q8 N- a0 u. C& G3 m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- @8 k) D' n* R. p: s: f! r! h

  1897. : `3 y% K7 w+ _" y; h
  1898. [openssl]' @, b9 v% y: `
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem4 Z0 ^+ o, Y( `+ q/ N
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should, {8 M+ @- |/ H1 S7 X
  1901. ; not specify a value for this directive as PHP will attempt to use the4 f: Q3 c( m" P% [
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    + V- F$ x4 H- M) ~4 i4 ^
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    " b% Y6 b$ T& a$ d# w( @: l, a
  1904. ; option.
    , b: M6 Y# b6 c2 V# V7 V
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 {9 Z5 C- j) @& U% t0 m% T

  1906. - b4 I) K6 ?7 k) M! i( r& Y7 ^
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    " _' e- s* z2 m9 ^& Z" u  e
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    " q. d0 u) X! ^
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    1 s/ m5 `9 b( ~7 z2 K: d& a3 ]
  1910. ; Most users should not specify a value for this directive as PHP will. ^. D* o# |$ F
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,# i# r" V% @1 a4 k/ e
  1912. ; this value may still be overridden on a per-stream basis via the "capath"/ S& K) D* U2 \$ `+ F
  1913. ; SSL stream context option.
    & t- r- n- d4 a! {: {8 v
  1914. ;openssl.capath=
    0 C, T( e, \1 R; r* ^
  1915.   A8 H5 U3 x# R# r2 K! G
  1916. ; Local Variables:
    * j: \- c  E# E) f. ]
  1917. ; tab-width: 4
    , M0 s" Q0 b6 Q9 u3 c$ _
  1918. ; End:
    % o7 L* f  R# i: d8 f+ x" `/ U
  1919. : R3 h% S3 S4 x% b$ ], D
  1920. ;eaccelerator
    1 W! f  \( P6 M; y
  1921. * P% |7 E" c7 z7 U
  1922. ;ionCube: y, g1 f$ S0 D9 O6 B; [

  1923. ( Z( ~: B* Y% n4 j. T
  1924. ;opcache  D* u* N  v9 O% s7 z4 @
  1925. " p3 P; h  `( A1 L& m  O
  1926. [Zend ZendGuard Loader]% P: o, V1 q" ^) \' E9 z: U) g
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.+ t5 T; E5 M% P3 v7 s( R
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    # A4 Y% E* d! E( T- Y5 Z
  1929. ;zend_loader.enable=18 v1 f/ w$ Y6 \
  1930. ;zend_loader.disable_licensing=0
    % B. o0 H, D( O( f
  1931. ;zend_loader.obfuscation_level_support=3
    ! g$ z+ Q4 V7 X: V- [! k! [* q
  1932. ;zend_loader.license_path=
    7 J9 m4 B) Q  A/ c

  1933. " C, F: R; f- \; g; R3 f/ W2 u8 ]
  1934. ;xcache
    / n, s% Z0 D2 L" ]

  1935. ; w8 Z& a5 P4 U& w" @
复制代码
, i4 I0 J, W4 Q5 p9 I# i

$ j% O0 C7 p+ p& |8 _6 A( K" ?- X5 w; ]) q: W! G' [

! t* L' M8 U% B$ j
1 o4 n9 L: d! I' [
9 M' ]$ F- v9 ]( N2 \+ E5 ?: E8 B% I, u. ^) Z
PHP5.6版本原始设置8 H9 D  O$ B8 V  q
2 G1 o. z/ x1 \
  1. [PHP]' H, n1 D0 e6 ?' h

  2. $ n' D. T$ e8 K; q0 _( g" C$ E
  3. ;;;;;;;;;;;;;;;;;;;
    ; d- H1 l5 O4 y) O
  4. ; About php.ini   ;- r8 z, [: H6 q
  5. ;;;;;;;;;;;;;;;;;;;
    0 ]! R) }. j6 [5 X. ]- U5 X1 ~
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    . T& M) V! H/ S5 ~# Z$ X" y
  7. ; configuring many of the aspects of PHP's behavior.3 p/ V. o# S; \6 Z2 \+ K

  8. ' ^$ A; f6 D" P
  9. ; PHP attempts to find and load this configuration from a number of locations.+ ?% R$ ?! j' C0 ^/ d
  10. ; The following is a summary of its search order:* B6 J5 S7 d1 V
  11. ; 1. SAPI module specific location.
    ' v9 w9 M$ U' i/ G1 O7 j
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)2 e( u' E2 [" |, [, m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 C8 I# z/ E) u" ~- Y5 G
  14. ; 4. Current working directory (except CLI)
    ! d* Z4 _' z# a) I- d; {& v' z/ s
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP: u  f. J) G% F; i  u) {
  16. ; (otherwise in Windows)$ n- ?9 g2 F# n# P- W& x
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    . ~* |, S: k. l; a
  18. ; Windows directory (C:\windows or C:\winnt)) C3 T. A* a+ P/ L5 l- H0 t0 D
  19. ; See the PHP docs for more specific information.3 f' M6 n. L# M0 a3 B( [6 o
  20. ; http://php.net/configuration.file
    : y& C3 J3 A* O& R
  21. ( N, X# L% v  O; {) ~! P0 u
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    1 Z; I$ b" }! P1 I# m
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).0 p! ^- y% f' i& i8 S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though& B: o8 P+ l1 y0 g
  25. ; they might mean something in the future.
    . Z2 Q7 y$ V+ G; h+ G% A
  26. * |' k1 C2 k& L) Q( z9 o
  27. ; Directives following the section heading [PATH=/www/mysite] only
    2 N& M2 H- n8 E
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) N" n( P- N  U
  29. ; following the section heading [HOST=www.example.com] only apply to
    $ ~7 Q- ~7 s% I* T' P
  30. ; PHP files served from www.example.com.  Directives set in these
    1 \7 `5 o4 Q' z) A4 l3 R
  31. ; special sections cannot be overridden by user-defined INI files or, a' G9 q4 w1 _
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    - }/ V  F* y3 V. D) i
  33. ; CGI/FastCGI.
    2 b  h- g* X/ V$ @! s0 B* I
  34. ; http://php.net/ini.sections
    % w1 ]& g% r  [$ {) o3 d4 C( _
  35. ) a1 k* ]- d0 a( h7 Q" e
  36. ; Directives are specified using the following syntax:
    + F: B* t2 p# ?" t
  37. ; directive = value
    ' |- k* o# z) O1 Q/ T5 r
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 P4 C5 k& c8 p' Z) J) G
  39. ; Directives are variables used to configure PHP or PHP extensions.! p4 [' J3 n" i
  40. ; There is no name validation.  If PHP can't find an expected
    7 e; `3 t! i" z' F; v- b
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - I7 R, k: X2 O; F8 u/ q
  42. 8 m( x& Q# S. y: l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    % E& M" D0 ~$ f4 h+ p2 G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 s; z/ R- c* C
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a7 \# R8 d5 c: l3 J5 x0 p, {7 |
  46. ; previously set variable or directive (e.g. ${foo})
    ' Y, J1 b" C2 B: P* T

  47. 7 U2 Y; N4 {4 h5 W
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:) |) S) b" s; z9 R+ |  a4 I
  49. ; |  bitwise OR
    4 r6 i& j0 p2 |" A5 b+ S' R: w
  50. ; ^  bitwise XOR  m& ~4 D- G' g/ D& h3 S, ~
  51. ; &  bitwise AND
    ; s5 D2 _$ T+ d. J$ X
  52. ; ~  bitwise NOT
    4 _+ M% v/ H. m& `* M" d
  53. ; !  boolean NOT
    6 D% U& L# O( C1 `6 U6 y
  54. 9 D. C  Q+ M8 J7 |
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    - b5 X7 g, D. l3 q* @
  56. ; They can be turned off using the values 0, Off, False or No./ E9 L. u/ d9 t8 r! I6 C

  57. : U: O" Y) z, b' K
  58. ; An empty string can be denoted by simply not writing anything after the equal) n1 b: D. M. W' e' M) k- L
  59. ; sign, or by using the None keyword:
    ) \4 _7 v9 j8 E$ X* W+ P3 R
  60. 1 q4 E& J6 Q1 o, ?4 W2 g: V
  61. ;  foo =         ; sets foo to an empty string
    5 k# N+ e9 f4 O1 b+ k
  62. ;  foo = None    ; sets foo to an empty string
    2 f9 m# ~9 b: a
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ' {( l) |9 G' v$ ?6 l

  64. % F6 F: T. V, w" C. I
  65. ; If you use constants in your value, and these constants belong to a
    : E( X: ]* V% `9 q- T! {: R, E
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    " C- X& s) {% S7 t0 k' M, k
  67. ; you may only use these constants *after* the line that loads the extension.
    4 U3 F& }0 x+ F7 e* H

  68. & t8 _+ x* [6 m- M3 B# w9 c
  69. ;;;;;;;;;;;;;;;;;;;9 U7 G, J, u# S& e) G' k/ k
  70. ; About this file ;. ~: g& ~6 g& G* g5 h& R
  71. ;;;;;;;;;;;;;;;;;;;1 {1 f& n. t4 e) m9 w$ }5 l+ R+ ?2 B
  72. ; PHP comes packaged with two INI files. One that is recommended to be used6 L. [& j7 {$ T$ c  u0 Q: ?1 W
  73. ; in production environments and one that is recommended to be used in3 K0 ?1 E& A' y: e3 z
  74. ; development environments.
    & T/ z$ ~2 ^& i2 A4 }' P/ ?
  75. % ]- w) ]" g. K0 o& ^/ }/ a
  76. ; php.ini-production contains settings which hold security, performance and
    4 n. G/ a. p1 a+ G$ A; G0 o' E. h* D
  77. ; best practices at its core. But please be aware, these settings may break
    * m9 N3 _* J3 H0 g, L/ |/ d
  78. ; compatibility with older or less security conscience applications. We
    * h3 ?. `, H" F1 S2 c) T# f
  79. ; recommending using the production ini in production and testing environments.: E/ u( Q# _$ b8 Q
  80. & ~0 i: o0 r* N; v
  81. ; php.ini-development is very similar to its production variant, except it is) j3 B" `+ D& y; m. @, L& x
  82. ; much more verbose when it comes to errors. We recommend using the1 B) @7 e3 E& w% j
  83. ; development version only in development environments, as errors shown to
    6 y2 ^* \1 Y3 J! }3 C" o6 W
  84. ; application users can inadvertently leak otherwise secure information.
    9 L9 G7 I8 o6 Z9 P, k
  85. - s( C  w" N! |8 Z( c
  86. ; This is php.ini-production INI file.) @5 W& p" _& s- _
  87. : n( b5 O$ c3 @5 \/ i
  88. ;;;;;;;;;;;;;;;;;;;
    " b( K) Q/ O) K( |$ a1 J
  89. ; Quick Reference ;
    , t7 h) t7 U& d9 j! E  u. `' k
  90. ;;;;;;;;;;;;;;;;;;;, T& Y% N+ H$ g2 a# N4 s% ~" r
  91. ; The following are all the settings which are different in either the production
    * \- [; _2 L" i9 t
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % y% v1 g0 L6 x& u
  93. ; Please see the actual settings later in the document for more details as to why
    / x" m8 ?( E) u+ w. N, z/ p2 \: x; F
  94. ; we recommend these changes in PHP's behavior.
    # I% G! b7 Z, q
  95. 2 ]% l2 \# Z: K: u% ]9 X$ \! O/ x$ _. T
  96. ; display_errors% g0 {7 I( ^; Y7 r, K
  97. ;   Default Value: On
    ; ?. Z. h: f) x# c2 K$ E
  98. ;   Development Value: On
    ) A( p2 |4 m; N& j- `) k8 J
  99. ;   Production Value: Off/ [4 _0 K/ t& v1 N% f3 L
  100. ( g! R1 s) Z7 J6 f
  101. ; display_startup_errors
    ; p9 Y) v1 ?( ?" [
  102. ;   Default Value: Off  z8 S# k% u3 F
  103. ;   Development Value: On9 Q% [" p! x3 ?9 z, `+ k
  104. ;   Production Value: Off
    6 C: S# G% A/ [+ k7 D0 E, h' [
  105. 9 |8 k, w  ~" v$ n
  106. ; error_reporting- i; S8 U. S6 Z/ _7 q' v/ S1 [, @
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' g2 f  s$ _  o: b0 T
  108. ;   Development Value: E_ALL( p- E8 m: H4 ^6 J
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + |7 C$ _+ e& u
  110. % H6 F. X& J: ~
  111. ; html_errors
    0 |( l# H1 E3 k$ {& g9 G/ f$ |! H, C
  112. ;   Default Value: On
    . v& ~# f; {4 |2 P: n* ^: P. `( d
  113. ;   Development Value: On
    / E# k0 P- f& o
  114. ;   Production value: On) e# E% ^% i$ P! _0 K( X8 J
  115. # m$ e2 y$ _& W/ y: f
  116. ; log_errors7 M% T% O7 C1 i, L& ?
  117. ;   Default Value: Off
    2 y' l; j- ~( t" U0 ~8 g
  118. ;   Development Value: On
    % l( Z3 ^" E/ c. m
  119. ;   Production Value: On
    4 y2 e* u9 x8 {  y- |

  120. $ X9 D3 @* V, _( d. p# o
  121. ; max_input_time8 J( V+ l# V" m, I3 |3 R7 ^' W
  122. ;   Default Value: -1 (Unlimited)
    + z0 r7 j+ f8 Z3 a! X) O8 _% ~
  123. ;   Development Value: 60 (60 seconds)( z* Q; f% ?# ~; A. s
  124. ;   Production Value: 60 (60 seconds)
    . i4 R- L2 j* I/ O3 d
  125. 7 P- q% N9 `7 P1 ^
  126. ; output_buffering
      d! b- G0 u- w  H; ~
  127. ;   Default Value: Off( N3 ^) f/ Z; A% B2 b+ K3 y
  128. ;   Development Value: 4096
    $ y/ d9 g0 d- |* r! A
  129. ;   Production Value: 4096
    * a. I3 I* I  @/ h+ v

  130. , K' @* f8 d: T# ]4 U
  131. ; register_argc_argv
    , R- l/ e* t1 h$ y* H8 U
  132. ;   Default Value: On. B! w' ]: D4 c2 u. @0 h. N
  133. ;   Development Value: Off2 z2 v8 r/ W: w7 Y+ f0 S
  134. ;   Production Value: Off+ V- ?4 a: }) x2 r0 V/ O

  135. : y4 G# W* S( w' Z8 F
  136. ; request_order
    " L5 {& S. L* Y' n+ t
  137. ;   Default Value: None* I/ F4 _- S1 @; F# T- C" y4 [
  138. ;   Development Value: "GP"
    + M1 n3 E2 M: y: K) S1 Y" [% z
  139. ;   Production Value: "GP"8 F7 ~7 J8 N0 I  c3 `% \/ E6 ?

  140. % b) x" Z: Y* @
  141. ; session.gc_divisor
    8 m% O. V/ I0 u7 i
  142. ;   Default Value: 100/ }0 r2 M. `# |$ K
  143. ;   Development Value: 1000
    7 p% o+ y( l4 Q- u; H5 b2 o( f& k
  144. ;   Production Value: 1000
    2 W4 _( Z. u$ T; E
  145. - @8 c- F, k6 x4 W% A4 u9 C; L
  146. ; session.hash_bits_per_character# @2 X3 z4 y& _; x, l# v& q
  147. ;   Default Value: 4" I0 y' b( u. U( l! U& f
  148. ;   Development Value: 5: v  @6 p8 J! Y$ E% Z
  149. ;   Production Value: 5) v5 n1 P8 ^1 C9 {9 v1 Z2 q
  150. 1 W8 J$ z" _, }/ _8 `" c: [, Z
  151. ; short_open_tag9 ?* H- ]6 i1 K+ _/ b
  152. ;   Default Value: On2 B* \& {; o8 _$ |% Y: {/ V4 |
  153. ;   Development Value: Off
    " }9 T. Y" _7 p2 q; }" a6 k1 S
  154. ;   Production Value: Off
    5 T$ m' \/ \5 t9 Y: O

  155. 6 Y$ v3 J" B+ O' u, q# r% A
  156. ; track_errors
    4 X: o# L; z: M9 O; l* f
  157. ;   Default Value: Off
    1 t: T9 q0 v2 M
  158. ;   Development Value: On3 A' c" \* L( v7 b. ?0 B
  159. ;   Production Value: Off
    9 O& D6 U9 i$ A% s& r4 ?6 S

  160. . n3 a9 O! L; A( ^
  161. ; url_rewriter.tags/ Q  O, X- U% ]9 d( F0 |
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / t% _7 S. k" A7 S% h1 r* T2 c: S/ l
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 C+ \9 ~3 I$ e+ |3 T1 G8 U# W+ z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 ^9 x8 ~+ S3 E+ T, B# X

  165. / R* J5 v( [9 x% A9 k- l
  166. ; variables_order
    0 D5 c, f$ w* n) Z8 }7 j
  167. ;   Default Value: "EGPCS"/ {; z# G  J, Z; |
  168. ;   Development Value: "GPCS"
    , v! N$ g6 `+ D+ w9 M: L- h  r+ P
  169. ;   Production Value: "GPCS"% M8 n, u5 h; F$ j+ h0 F; L1 W
  170. ; y1 R' @6 u4 K+ z
  171. ;;;;;;;;;;;;;;;;;;;;1 ~2 p. ]* i; W* l% u3 f# k
  172. ; php.ini Options  ;
    3 p* ?0 x" z1 c) e7 }4 l  g2 o
  173. ;;;;;;;;;;;;;;;;;;;;
    0 x! X; X% |- ~/ p* q9 Q  }% o7 h4 V+ ^
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    9 q( h& U8 q: j  F7 g& s( \4 h
  175. ;user_ini.filename = ".user.ini"; d) ^1 i; n& y, [

  176. 9 l# y3 w, ]+ r
  177. ; To disable this feature set this option to empty value" L4 k# t( W! D8 R4 T+ b. x
  178. ;user_ini.filename =
    0 U  m% b: }8 G( v+ M. G2 x
  179. ' T$ _" D; s6 o
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ V0 `1 B/ G' G2 ]/ V4 u
  181. ;user_ini.cache_ttl = 300
    9 [. n$ I6 d4 v% Q4 {; @

  182. 3 R; W& e0 {$ P. t. X
  183. ;;;;;;;;;;;;;;;;;;;;4 A; W# E! i  y+ w& a6 |: W: L
  184. ; Language Options ;
    0 ^/ a6 a' n1 P2 l1 U, E; J4 J/ x
  185. ;;;;;;;;;;;;;;;;;;;;
    / G0 w9 b# J6 _! P
  186. $ s( ~3 L8 s0 Z# z
  187. ; Enable the PHP scripting language engine under Apache.. i) j7 A: m* \; S7 Q: c! j# x
  188. ; http://php.net/engine# v( {. r! h/ a4 v
  189. engine = On8 f* e- x: x, ^$ y* @% A" ^

  190. 7 \9 e4 Z3 l* S! n
  191. ; This directive determines whether or not PHP will recognize code between; v/ B8 Y) z/ f6 O& P; z
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + M! N  j9 Y! j  M
  193. ; generally recommended that <?php and ?> should be used and that this feature+ B+ v# ]8 R4 o6 |8 D
  194. ; should be disabled, as enabling it may result in issues when generating XML3 n. [% j% b+ i0 f
  195. ; documents, however this remains supported for backward compatibility reasons.( f2 A: f1 m3 M' p) w
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 [) A! h2 O# K' ^9 ~0 V
  197. ; used regardless of this directive.
    * b7 G# C. Y% P  u8 p$ O+ D% B
  198. ; Default Value: On6 p, _/ e# p  l. u7 `
  199. ; Development Value: Off
    & Q( p# g' _5 ~) u+ H+ p
  200. ; Production Value: Off
    : L$ {# v) I. f; k7 ]/ I
  201. ; http://php.net/short-open-tag
    9 n# R" F- _- }! B' I( U6 z
  202. short_open_tag = On4 P. I5 g' v! F$ D3 @7 ?- C& v
  203. 7 Y9 e2 d( b4 d, Z% E/ q  `
  204. ; Allow ASP-style <% %> tags.
    8 _' N( l/ G1 p, O9 M
  205. ; http://php.net/asp-tags
    " I$ t! p8 ?4 J. B
  206. asp_tags = Off
    7 u- f  N% t2 W( v8 M& w" M/ m

  207. # \) x* |5 N& p1 \
  208. ; The number of significant digits displayed in floating point numbers.7 T" N/ h4 `' m7 \! \
  209. ; http://php.net/precision
    3 g" e4 J! n5 h- @; M
  210. precision = 14
    ( t# P" P8 X/ p: e# }

  211. . N" z8 i  J' V2 f' V
  212. ; Output buffering is a mechanism for controlling how much output data9 x+ r$ G; H( m9 y) C* U
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 g3 K, w+ N, \/ ~0 o
  214. ; data to the client. If your application's output exceeds this setting, PHP' H1 Y1 T8 k& _6 o0 v7 F  \
  215. ; will send that data in chunks of roughly the size you specify.
    * Z' l# ~( ]# u5 `3 Z
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    + C1 B8 n) B* Z
  217. ; interesting side-effects depending on your application and web server.
    & q8 \3 o; Q: {* q
  218. ; You may be able to send headers and cookies after you've already sent output
    & z+ D& ?0 Q: ], I$ S- E# Q) ^
  219. ; through print or echo. You also may see performance benefits if your server is  [! b, `. c- W4 R2 o# O2 q
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    6 R( w4 \& q7 k- v
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance" Z/ P0 U) Q" H! R0 \" P- d( `
  222. ; reasons.0 |! N) E; W' C0 w
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    $ F! o4 d7 m: K. X* i
  224. ;   functions.
    - U' H. w7 g# h8 x2 U
  225. ; Possible Values:
    - v- }2 w/ K% t1 |1 x* o* D
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    6 W* I' l4 Y" N$ m) J
  227. ;   Off = Disabled- T) e+ K; F% j0 H: c' b. a
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' j. k" ^% V2 g& {9 S6 n; K6 |, z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI* }7 a- g* x$ j* ]+ u' O4 Z2 s; t5 q, G! _
  230. ; Default Value: Off* x" D  [9 K+ z0 K
  231. ; Development Value: 4096
    & ^: H' ?# W: k% p
  232. ; Production Value: 4096
    8 Z( D: M0 x- n: ?
  233. ; http://php.net/output-buffering$ s* k% m6 ]; \6 n
  234. output_buffering = 4096
    * r( {) w5 C  e

  235. 5 L6 k0 ]( k% i7 z; d: l& K
  236. ; You can redirect all of the output of your scripts to a function.  For
    ( x7 ~1 _1 E. m* n: N; o/ G1 s
  237. ; example, if you set output_handler to "mb_output_handler", character
    2 {; e# x! V: z8 k* B
  238. ; encoding will be transparently converted to the specified encoding.  L5 ]2 c8 H2 {9 d0 u4 i' g* y
  239. ; Setting any output handler automatically turns on output buffering.# @* _$ Z. G# W) w! z) z
  240. ; Note: People who wrote portable scripts should not depend on this ini$ T3 Z: I+ t( F4 _9 j5 S
  241. ;   directive. Instead, explicitly set the output handler using ob_start().3 p0 {+ o- \- y) C" _
  242. ;   Using this ini directive may cause problems unless you know what script$ W' ?* G' x% U4 h" m
  243. ;   is doing.
      J+ a7 z* T! ?
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"# e' v' |& M+ q0 W, V5 G# h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".+ Q% e+ |5 S) Y. c/ c+ A  l3 J
  246. ; Note: output_handler must be empty if this is set 'On' !!!!0 D2 y4 [% A7 L% b
  247. ;   Instead you must use zlib.output_handler.( ?$ ^2 {0 {7 Z9 L! B
  248. ; http://php.net/output-handler
    8 I" Z) k. n" X6 y2 _  e+ H5 [0 A/ z
  249. ;output_handler =; J" y" O! T- F' i- i
  250. 1 F- S6 v/ N+ s0 Q! ~: f$ Z
  251. ; Transparent output compression using the zlib library
    5 Z# u, h( z5 B( x: F* B, T# N5 z
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    5 T/ M" P, X; J0 d7 f
  253. ; to be used for compression (default is 4KB)" R5 D6 |3 E- X- A. l
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    % D; f) W& P2 p+ j. _
  255. ;   outputs chunks that are few hundreds bytes each as a result of$ V4 R- I$ R0 z/ P7 ~
  256. ;   compression. If you prefer a larger chunk size for better
    3 c5 b; U0 t, o; f6 k. h5 |
  257. ;   performance, enable output_buffering in addition.
    2 e) B# X* C, v& N( [
  258. ; Note: You need to use zlib.output_handler instead of the standard3 \; t4 V2 U! r/ T8 h# ]9 c
  259. ;   output_handler, or otherwise the output will be corrupted.0 O2 K6 `$ I! Y9 W7 ?* Q1 `
  260. ; http://php.net/zlib.output-compression
    6 [- l" `" y! j6 o% G
  261. zlib.output_compression = Off: w% V" h, S) A* T8 H

  262. 5 t& h2 A+ K. F: ?! y' `
  263. ; http://php.net/zlib.output-compression-level
    ! r" b# ~# }5 n+ f
  264. ;zlib.output_compression_level = -1
    % M" R; ^2 ?5 X; L4 _6 K" O
  265. - q6 G& b0 J5 N: A! m
  266. ; You cannot specify additional output handlers if zlib.output_compression/ ^7 K! ~. p0 ^( }0 v- M: n! V2 W6 \  J
  267. ; is activated here. This setting does the same as output_handler but in! _2 L! C% Q6 f0 f$ e; c7 b
  268. ; a different order.) r! T9 |1 {( |* X9 k4 f- Z* l
  269. ; http://php.net/zlib.output-handler
    0 ]: {6 k5 Z, h% p. @6 `: H( y
  270. ;zlib.output_handler =' F# [1 T6 T8 H% d
  271. ' H+ R1 b- g$ \# `6 t
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ' r1 t7 [6 w# h' F- }' b% t
  273. ; automatically after every output block.  This is equivalent to calling the
    + u# v& _8 b! V) f4 o6 `+ B
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) c# a; [. E* s7 A5 x
  275. ; and every HTML block.  Turning this option on has serious performance% u9 M  p/ U9 b: V0 ~8 p
  276. ; implications and is generally recommended for debugging purposes only.
    $ ]% r/ M7 f5 `: ?( b4 y6 ]1 M2 P
  277. ; http://php.net/implicit-flush* s# E& ]1 s' }
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 v  `* G$ R' [) S
  279. implicit_flush = Off
    , d' m( B1 \/ |- l- O

  280. 3 C+ G) c5 [6 O! B3 m
  281. ; The unserialize callback function will be called (with the undefined class'
    + [) s& U1 \1 H6 W" }; `( k( T% h
  282. ; name as parameter), if the unserializer finds an undefined class0 {4 J+ r1 @; F- n( @/ A
  283. ; which should be instantiated. A warning appears if the specified function is
    4 g! ~1 l, L; c; H) ]$ b
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ' m5 \, w+ d+ o1 b; N0 A2 Y' ?: t1 [3 O
  285. ; So only set this entry, if you really want to implement such a' A9 v  _$ w+ L
  286. ; callback-function.
    * E1 a, S' F3 o1 @. d0 m# U3 \$ e
  287. unserialize_callback_func =
      A+ N4 U* p; x! K. u2 m+ b6 R
  288. 5 o, S5 A( q& `+ v# T$ C
  289. ; When floats & doubles are serialized store serialize_precision significant
    - j' o: }3 S& w8 C
  290. ; digits after the floating point. The default value ensures that when floats
    7 Y" |$ W2 I1 [
  291. ; are decoded with unserialize, the data will remain the same.
    " w8 m$ v1 e0 Q- c: {' J
  292. serialize_precision = 17
    # L1 ^+ ]7 T0 \/ [! y

  293. - @, e, L! l) ]
  294. ; open_basedir, if set, limits all file operations to the defined directory; R3 n5 g- C9 w  ?# Y# m) L
  295. ; and below.  This directive makes most sense if used in a per-directory" o7 U' h, q# s) ^9 M
  296. ; or per-virtualhost web server configuration file.( E3 J* ~9 t( ]+ u& c
  297. ; http://php.net/open-basedir
    . |& E" Z! n( T, ?5 V5 K5 }3 q
  298. ;open_basedir =- a( ?7 J' q9 }

  299. 1 v. @9 L; N' M/ X$ N
  300. ; This directive allows you to disable certain functions for security reasons./ z; @! [( ^$ i3 H5 N
  301. ; It receives a comma-delimited list of function names.7 G1 k$ P+ z8 R$ A
  302. ; http://php.net/disable-functions
    , h8 L4 M  F+ k
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru6 n$ v* T6 G; E2 K3 a* V9 G
  304. % u7 Z  a# \$ j
  305. ; This directive allows you to disable certain classes for security reasons.
    + {+ r4 X6 g, j9 O7 i- X
  306. ; It receives a comma-delimited list of class names.
    , @1 h, I" E. c' \' R5 k* l
  307. ; http://php.net/disable-classes- B* W. B$ K! `8 z
  308. disable_classes =
    " V7 ?& ^/ E# z( m

  309. 9 e* @9 H5 w2 L7 \) C
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in2 M0 K3 K; A0 j* G: X- ^
  311. ; <span style="color: ???????"> would work.
    8 N6 u  S) \* t0 y/ [6 t$ _
  312. ; http://php.net/syntax-highlighting
    , F. p1 h% K9 B, n# s9 d1 D
  313. ;highlight.string  = #DD0000; b) H# _, j. e! w8 J! v# O; U- _% b
  314. ;highlight.comment = #FF9900
    9 B: E  ~9 X9 f
  315. ;highlight.keyword = #007700
    4 E& K8 a) W, }+ \* z
  316. ;highlight.default = #0000BB
    ) N8 n' d  o, M+ N5 H
  317. ;highlight.html    = #000000
    4 w8 B% V  \% i: h
  318. 1 a+ g9 P2 s. b6 B# C
  319. ; If enabled, the request will be allowed to complete even if the user aborts, c( n: ^& H5 ?& T
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - g! j  q( o8 p9 C, r
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior; g: @* n. O$ _3 J
  322. ; is to disable this feature.
      G) n9 ?; ?2 R% W: y7 N
  323. ; http://php.net/ignore-user-abort! _+ Z+ t2 K) s% a/ i
  324. ;ignore_user_abort = On7 p' z. ]* I3 _5 d

  325. - k8 V$ S0 K0 m- N' W) I5 m- i7 H# M
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    " v4 C6 s5 {6 o4 R
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ! [* \. F* A  r2 e
  328. ; the file operations performed.3 D/ p1 Z" F$ V% {
  329. ; http://php.net/realpath-cache-size
    ( @: M$ D2 u% S, z3 V
  330. ;realpath_cache_size = 16k
    - P) p/ C; @+ }+ Y
  331. 8 i) Y) V9 p& D, b- W7 b9 {7 n1 G, L
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    9 |. M5 `5 c9 |' ~  K
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    , B8 X# W6 }* F! O' u/ ]% H2 Z  a
  334. ; value.3 @0 h1 i: l' d& f
  335. ; http://php.net/realpath-cache-ttl) `- \/ m& a1 m( X; ~8 E* d- C
  336. ;realpath_cache_ttl = 1203 f, ~/ }# ]4 C" @) L6 \

  337. 0 P1 P! ]# E% ]! i/ \
  338. ; Enables or disables the circular reference collector.
    0 S' I) n  ^2 V& s
  339. ; http://php.net/zend.enable-gc- g6 N% c/ k# e6 M3 |! n
  340. zend.enable_gc = On& R0 i& G" c# z% M* J4 H
  341. 2 f' Q7 T4 Q- |5 l
  342. ; If enabled, scripts may be written in encodings that are incompatible with9 c+ X! l. q  w$ o+ v; h+ a7 X1 G
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      |, g( n2 d+ V! |# q8 ]
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ! _$ g2 s3 y9 p  ~2 g% }+ S
  345. ; Default: Off
    2 c0 w# R  y7 |$ O, b& J, A
  346. ;zend.multibyte = Off
    7 G3 l8 e% V; ]& w0 \

  347. 9 m: D2 Q& g. D, u' R3 }
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    5 m& ?# {' S' B. M8 ]+ v2 Z& L1 d
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 ?: k3 R2 ^8 m5 C. J
  350. ; Only affects if zend.multibyte is set.. M. p" t1 [! R- g; A8 t6 r
  351. ; Default: ""
    6 A) W8 [$ K/ h9 c9 Q. Q% Z
  352. ;zend.script_encoding =" K8 D5 v: c7 b8 k& @: I

  353. $ h1 _! y5 B5 u; H4 D7 G7 [. w# m
  354. ;;;;;;;;;;;;;;;;;8 p2 g3 u; c, L" q/ s: o
  355. ; Miscellaneous ;
    # s& t+ f( [* I  I: f- R" U
  356. ;;;;;;;;;;;;;;;;;
      \* t# Z( @4 T7 E9 R
  357. + z1 r% w, K" M% ~7 h
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    4 l, Y5 q3 y4 B2 @! j
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 I* X$ R2 e) r, _* o; H
  360. ; threat in any way, but it makes it possible to determine whether you use PHP" [7 J5 p* V! K( z: T% j
  361. ; on your server or not.
    * f0 U7 c2 ]6 U! m) Y! m
  362. ; http://php.net/expose-php% o" _* J5 F& A+ `( ~, Z6 J
  363. expose_php = On! g% y1 j& w/ {6 s) ^

  364. ! E# x$ x0 L/ h8 t. I
  365. ;;;;;;;;;;;;;;;;;;;
    * M2 O% i: O4 }, ~6 h
  366. ; Resource Limits ;/ |  \8 J" |* |0 j% v
  367. ;;;;;;;;;;;;;;;;;;;6 e, k, l1 l( c) i- F( d

  368. 7 u1 j+ r! N1 O8 g" F" j
  369. ; Maximum execution time of each script, in seconds
    8 h; r5 C. X( X( z$ Q$ W
  370. ; http://php.net/max-execution-time
    . X8 x+ L3 z6 D& n0 d! }& a, t
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
      \, H- S# w' @5 |( W4 P4 L5 r
  372. max_execution_time = 300
    2 J1 f) _& U% U( r1 j% J' I& x

  373. 7 [& y! i# k8 [1 {; o: \
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    . M, l) |+ L+ l& E% j& R* N
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly  n0 R9 j5 @; g$ G
  376. ; long running scripts.
    $ ^4 F4 q1 T3 A
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI' Z- ~6 R; q) J4 N/ y
  378. ; Default Value: -1 (Unlimited)
    + u8 w, a! u$ ^+ F; L' [
  379. ; Development Value: 60 (60 seconds)
    # I, T# b/ `: @
  380. ; Production Value: 60 (60 seconds)
    , r/ Y& F3 A! K* V
  381. ; http://php.net/max-input-time/ ~2 B  @* c0 ~' j' q- h
  382. max_input_time = 60
    , m3 ]+ _) _$ \( z7 E' n0 o
  383. " x2 _( B  q; ]) |; y
  384. ; Maximum input variable nesting level5 q5 R- t+ j: j. T! f$ c+ g
  385. ; http://php.net/max-input-nesting-level
    ; i3 K4 e; J" E) r: F: s' i$ U9 ^) ]
  386. ;max_input_nesting_level = 64
    : E' W' E9 k. n( @+ v- l

  387. % M: T6 X; F/ k5 @' I& X. ]4 {
  388. ; How many GET/POST/COOKIE input variables may be accepted- U+ ?/ \8 R' a1 D" u
  389. ; max_input_vars = 1000( ?/ [9 [/ m- M
  390. 3 ~8 v- @1 g) F
  391. ; Maximum amount of memory a script may consume (128MB)
    + c( G1 d& X8 b6 M' r
  392. ; http://php.net/memory-limit
    , T- S) j1 S/ A9 {
  393. memory_limit = 128M
    / ~( G2 O( P; `1 t: b

  394. / B+ ^8 |, e% ]2 I
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( E4 [$ ]# m5 B$ V: a
  396. ; Error handling and logging ;  ^4 C9 u' _, [% C
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 x) H( E. E3 R' w; K0 b

  398. 3 T: I; K. b4 z% Z+ i, C
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    " a, c+ L! P% N( J
  400. ; it to take action for. The recommended way of setting values for this
    2 ]( n- n! J+ R1 ?0 w3 e: b; ^
  401. ; directive is through the use of the error level constants and bitwise3 B9 r% m' s" T' \. G) F
  402. ; operators. The error level constants are below here for convenience as well as
    , [- Y/ j5 ]% Y: y( Q
  403. ; some common settings and their meanings.5 ~( i# E; n" S
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    9 [8 Y0 L4 b% x. U$ v- ^6 @
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and0 B- y2 ]/ V* B9 D, X
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    8 G0 [& m. R- |& w; N# `0 P
  407. ; recommend error reporting setting. Your production server shouldn't be wasting) M4 O2 k9 A. C! p/ Y* X
  408. ; resources complaining about best practices and coding standards. That's what: V( C7 m( x) M  W' L% c+ t4 H
  409. ; development servers and development settings are for.
    & C6 l# p- _  t" I$ E5 _
  410. ; Note: The php.ini-development file has this setting as E_ALL. This3 O" C1 J+ s5 c: r+ v; y0 v
  411. ; means it pretty much reports everything which is exactly what you want during2 h+ @3 j9 u% A) l7 u9 g/ G
  412. ; development and early testing.
    0 p$ V( k: F; i4 X+ ]: V
  413. ;
    * ~; i/ ], s; ]0 I8 \) h8 C% a" F  j
  414. ; Error Level Constants:
    5 j5 n3 _) X9 V* ^- S: q
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 K4 ~9 ?2 c% u4 y0 t2 l2 T
  416. ; E_ERROR           - fatal run-time errors/ p9 @, b( ^. e- ~
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 I( L+ a9 y1 t  W# J
  418. ; E_WARNING         - run-time warnings (non-fatal errors)9 ^6 z3 R8 l% M, m+ B8 N5 @9 i& a
  419. ; E_PARSE           - compile-time parse errors  r5 A& ]* @% `3 a( ~8 q: ^
  420. ; E_NOTICE          - run-time notices (these are warnings which often result) Z+ \8 W- {6 ?7 F/ D- C$ f
  421. ;                     from a bug in your code, but it's possible that it was, J/ {3 r' ^  h! v% C! _0 v
  422. ;                     intentional (e.g., using an uninitialized variable and5 S* U# w- V* p& w) x
  423. ;                     relying on the fact it is automatically initialized to an
    ' B1 G9 E  g: U) j
  424. ;                     empty string)
    0 g& t% B& I; y- ~# P
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    : ]& W) P% r& n4 d, ?" D3 N
  426. ;                     to your code which will ensure the best interoperability
    6 k1 [0 t1 D% Q& Z$ x& Z4 q; r0 e
  427. ;                     and forward compatibility of your code8 d9 f5 y2 Q, ?4 q- Y2 k
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup8 ]1 Q0 E" Y# p) _
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    6 L$ P) ]* r$ h) ~+ m
  430. ;                     initial startup+ R/ C( {5 V; Q1 O
  431. ; E_COMPILE_ERROR   - fatal compile-time errors$ g) u& v) @% c4 D: F
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)8 g( \7 U6 V% [$ z7 ]9 t
  433. ; E_USER_ERROR      - user-generated error message( w/ ?! i5 ]4 e
  434. ; E_USER_WARNING    - user-generated warning message
    " U! m0 v6 k; n) k' j" z$ b2 n4 s
  435. ; E_USER_NOTICE     - user-generated notice message
    3 B" f  r+ [) o, Y8 c& B4 _
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ p; A% j# |  ~- f6 k2 G3 q
  437. ;                     of PHP. `! _% p/ |, K4 x" E& I6 o
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings5 B  k8 A; c6 p% E+ Z( b$ i
  439. ;& ]6 w) {) X2 y/ Z6 b) g9 ^8 A
  440. ; Common Values:" S. {/ g5 D6 U/ s! K2 ?; j
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ K* [4 g2 J- L/ A5 b
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)- q0 `" X3 ?8 }. |% H: e" i$ G
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    / f: \/ w" f# p  A
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)  R9 H# M& \$ W
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , v# T$ _2 ^# b
  446. ; Development Value: E_ALL0 @/ \1 E) W) t, G, m7 [* o8 U# c
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - c! s* T7 g2 u. u5 F- p
  448. ; http://php.net/error-reporting
    5 m" [7 J5 b/ |- p
  449. error_reporting = E_ALL & ~E_NOTICE6 ^0 l" R2 V) d7 B) O0 Q3 P

  450. 3 N5 Q% u# K2 }! q' M
  451. ; This directive controls whether or not and where PHP will output errors,+ |8 V+ H, w8 E9 b) w( @
  452. ; notices and warnings too. Error output is very useful during development, but
    7 @6 ^5 c4 ~0 m2 r* G
  453. ; it could be very dangerous in production environments. Depending on the code
    * }% I, t/ N" N2 a& E
  454. ; which is triggering the error, sensitive information could potentially leak$ ?) j8 ^! d" S
  455. ; out of your application such as database usernames and passwords or worse./ J6 X4 m6 I5 f5 [: a
  456. ; For production environments, we recommend logging errors rather than1 U) [9 q, X5 `4 J- ~: b
  457. ; sending them to STDOUT.  M3 S; |- h1 }# U5 `
  458. ; Possible Values:1 b; O! O: R( g
  459. ;   Off = Do not display any errors/ t* z' B5 T4 X0 m. K. W; a' p
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)0 P" A+ v, r) W6 F6 K
  461. ;   On or stdout = Display errors to STDOUT6 |+ W" Y6 D( X
  462. ; Default Value: On6 [" _" R$ f# n$ P
  463. ; Development Value: On
    % r/ Z5 g1 m4 T* l  O* B
  464. ; Production Value: Off0 u% @, @: a2 @0 j5 `
  465. ; http://php.net/display-errors! H( i1 g/ o; Z) [
  466. display_errors = On0 a  g9 x0 F$ @( x' V/ _% R. f
  467. 4 ]1 k, Y8 v4 X, F7 x8 p; s
  468. ; The display of errors which occur during PHP's startup sequence are handled/ C% ^0 `, V, W8 b; q
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ( O2 y2 O& [' B( L# \4 t) k
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    + D! _/ J* N; O9 D9 i3 W$ k9 \5 A
  471. ; debugging configuration problems. We strongly recommend you2 B. d( q/ T3 f
  472. ; set this to 'off' for production servers.7 s+ V& l% |/ z3 j' n2 S+ o- J
  473. ; Default Value: Off
    0 z- _, |) I: M1 U. s' L/ B# ?
  474. ; Development Value: On. l  y4 D5 L1 q) a
  475. ; Production Value: Off
    " P! |' U5 Q& G3 I' v0 \. |/ K: b
  476. ; http://php.net/display-startup-errors
    / q) S3 \+ `; q+ T+ B7 t, M
  477. display_startup_errors = Off
    : W  U3 C% U* r+ S% i% x+ |
  478. ! m. Y7 h) H1 n& k
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 H# p- a- ~' w* d( u+ a
  480. ; server-specific log, STDERR, or a location specified by the error_log- N7 J" D! i- C
  481. ; directive found below. While errors should not be displayed on productions) Z3 Y2 Z3 P3 \4 H
  482. ; servers they should still be monitored and logging is a great way to do that.
    9 ~2 C$ r# S3 d! Q: M
  483. ; Default Value: Off
    ( A! ]% n7 l& V1 m5 d5 p$ X0 z' ~
  484. ; Development Value: On) P$ q2 s4 h+ S! c' N' u5 v
  485. ; Production Value: On% |- u$ x- ~5 G" B
  486. ; http://php.net/log-errors  I+ i* r7 X* S$ B4 z! B1 |
  487. log_errors = On4 M; H3 |/ X# U4 U7 q
  488. 0 W' j  x  v3 W! |+ {# p4 }
  489. ; Set maximum length of log_errors. In error_log information about the source is
    5 z: N. i' [9 U5 v6 Y; Z) ]
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , l& l" B$ ?9 u! P: I8 e( P
  491. ; http://php.net/log-errors-max-len7 Y& Z0 C! }6 W
  492. log_errors_max_len = 1024& Z* m8 \7 ]* x5 M! l
  493. 2 Z% ?. Q) w6 Q% O, A
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : I' w8 C( `" J! O
  495. ; line unless ignore_repeated_source is set true.# _  \7 A% D" t1 `$ z4 E5 k% y4 q  N
  496. ; http://php.net/ignore-repeated-errors. L4 `" F) e; D: a, @% a
  497. ignore_repeated_errors = Off4 F! F) _6 r9 J; T* G4 s' S
  498. + w  u! K6 H; G( t( J9 `
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    , k- I. [! _% B) e& y) p
  500. ; is On you will not log errors with repeated messages from different files or, ]7 v2 H1 S1 A: ]4 J
  501. ; source lines.
    9 R  B* G/ k+ k1 f' Q; j
  502. ; http://php.net/ignore-repeated-source
    % n  j: h; w! B
  503. ignore_repeated_source = Off
    ) M8 e, D. a& l2 ]# N

  504. 5 d0 d$ p( y5 H4 d
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 j. @2 e3 `# V  c( d. u
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    - ^+ W3 _5 W3 f9 S9 `; _
  507. ; error reporting includes E_WARNING in the allowed list! \7 A' T% z9 S: U3 ~! B4 ~
  508. ; http://php.net/report-memleaks) q& u. @+ N" T  |! W
  509. report_memleaks = On. q+ h0 \1 V. H2 Q  w
  510. 5 ]6 H3 C* n. n  G
  511. ; This setting is on by default.
      U8 @, `1 U4 F. ~4 y3 o- e
  512. ;report_zend_debug = 0* Z7 B5 ^) \0 P8 p0 O" l4 Y
  513. / R. {* G: F$ b; M2 Z
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value9 e" U) f6 Y+ G
  515. ; to On can assist in debugging and is appropriate for development servers. It should# L4 W) g9 u3 R; ]
  516. ; however be disabled on production servers.
    6 Q1 }  j  w% ^; h
  517. ; Default Value: Off1 @& C( a9 B8 c
  518. ; Development Value: On8 {+ m. l2 ~8 t" r7 a" G& O% g
  519. ; Production Value: Off
    8 t3 J  z4 }$ k: X4 \0 ]0 P( X. G
  520. ; http://php.net/track-errors
    9 V0 Y' V0 {$ C, e1 K
  521. track_errors = Off
    0 U$ U2 t% e/ ~  P, E/ t7 _! v
  522. 7 }: d% G% ]8 |' i
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    * i% H# U" c! \- l- n4 \% C
  524. ; http://php.net/xmlrpc-errors; ?4 ^1 \2 K( Q" i7 n  I
  525. ;xmlrpc_errors = 0
    5 h: ?% |* E& N( u4 @! _6 g$ V

  526. 6 v6 l7 G5 K; E6 j( [
  527. ; An XML-RPC faultCode
    5 f0 G- X) x" C; ^, K; C
  528. ;xmlrpc_error_number = 08 D* l( X1 i! O
  529. " x5 K8 g* c* B. K" u
  530. ; When PHP displays or logs an error, it has the capability of formatting the! H9 m; _3 H9 a+ T: _
  531. ; error message as HTML for easier reading. This directive controls whether5 o1 F, i, s" {$ ^0 b* g; w$ Y9 M
  532. ; the error message is formatted as HTML or not.
    3 q  j( B- N9 {/ L$ ^' p
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 e7 W+ x" R9 q1 f1 c
  534. ; Default Value: On$ L# T* J) i2 w: r
  535. ; Development Value: On
    / D3 N# i9 h* [' _$ @0 ~0 U
  536. ; Production value: On9 e- X1 J3 t5 j$ q: h1 x2 W& i. N
  537. ; http://php.net/html-errors  W5 y  R' U- }; G4 Q
  538. html_errors = On2 ]4 I2 y6 v% c& n) M+ U% c( E
  539. # b7 y5 T2 V+ R! o8 s
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      @- m1 L0 R% o! g, l% O: P
  541. ; produces clickable error messages that direct to a page describing the error
    7 \" o% V! r- U% _9 R
  542. ; or function causing the error in detail." x* H2 o7 E% d2 M) V0 X# Q$ v
  543. ; You can download a copy of the PHP manual from http://php.net/docs) g  f" B6 d8 B0 S, j- c$ _9 Z
  544. ; and change docref_root to the base URL of your local copy including the0 Z% Y; C7 ~+ F) O  |, x7 d
  545. ; leading '/'. You must also specify the file extension being used including
    * D7 }8 B4 m! \. I% S- v
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which; ^8 n  S3 h; M% ^% [3 T  K
  547. ; case no links to documentation are generated.
    7 L3 [- M5 v0 Q  d* b
  548. ; Note: Never use this feature for production boxes.
    + j" x4 M6 E& D3 F; R6 M
  549. ; http://php.net/docref-root
    . T6 U, }& I+ y1 b! N6 f5 Z7 K
  550. ; Examples( d( d& P* G6 E" T9 E1 u
  551. ;docref_root = "/phpmanual/"
    / w- P. y) B  G) h. ]8 \% v

  552. + o2 c5 Z( j% p" G8 }/ y; e8 A
  553. ; http://php.net/docref-ext, o" t& G; I" G8 T' H  W9 m7 l
  554. ;docref_ext = .html& l3 i* _* @! s9 N- z
  555. 7 D& s+ L: D& O5 \6 y
  556. ; String to output before an error message. PHP's default behavior is to leave  ?$ s8 A) Y$ V6 x
  557. ; this setting blank.
    7 [1 s1 _3 A4 \" S, L
  558. ; http://php.net/error-prepend-string9 R2 J* q: L7 `) B. j# N0 F
  559. ; Example:
    " q& j- s' L2 L6 g% ]5 }
  560. ;error_prepend_string = "<span style='color: #ff0000'>"9 ?! x* `% j3 g* Z  B' a  y
  561. / s" U6 [4 F. ?" _( k
  562. ; String to output after an error message. PHP's default behavior is to leave
    % @4 p9 f' a3 _$ E
  563. ; this setting blank.
    . G3 }& s/ n3 t: s
  564. ; http://php.net/error-append-string
    & m: A1 F9 u- z* n" O1 y
  565. ; Example:$ s# e5 }( ]7 x; }* G- Z
  566. ;error_append_string = "</span>"
    % i8 _' S. q, {+ f5 P; w8 M

  567. 6 @$ v0 J8 y8 t# ?  w) h
  568. ; Log errors to specified file. PHP's default behavior is to leave this value) l; y+ q( a9 e) G# K$ T
  569. ; empty.( d8 W4 L) S5 \$ d- t3 H
  570. ; http://php.net/error-log7 Z( G& H" m: c! z
  571. ; Example:
    0 O5 M' D7 u/ f  B, M- _0 J
  572. ;error_log = php_errors.log! D; \! I( b; P% C: t0 Y
  573. ; Log errors to syslog (Event Log on Windows).8 u7 S; H6 B+ r2 e9 x# f  L
  574. ;error_log = syslog
    % K# S0 R7 w# k& H5 E
  575. ) {8 [" R4 P; H7 v( ]9 M' @6 p+ v
  576. ;windows.show_crt_warning
    % n9 N  s: b! E, }6 |; y
  577. ; Default value: 0
    : L2 V* r& R# }# o+ E) v: b
  578. ; Development value: 0" Z8 N! g3 a) U* B# ~; M
  579. ; Production value: 0
    7 k9 L' t( G7 f  J# R. P
  580. 4 E! e% X% f* K& C% b
  581. ;;;;;;;;;;;;;;;;;9 R) g; h0 c* }' I/ A2 `
  582. ; Data Handling ;- d' V1 z+ B0 R/ z; z) }
  583. ;;;;;;;;;;;;;;;;;9 K6 X7 ~# p+ A, O. i; k
  584. " V) h( G! _1 `3 R  h
  585. ; The separator used in PHP generated URLs to separate arguments.
    & U/ g8 s9 l: \/ i. d1 n
  586. ; PHP's default setting is "&".% K* T0 m- a. P
  587. ; http://php.net/arg-separator.output
    9 M$ B5 o% D5 h. j
  588. ; Example:
    % r: \6 h1 a8 G, X+ ]1 T
  589. ;arg_separator.output = "&amp;"6 ^- Q0 d  {; d# ~$ J

  590. 6 ]7 y1 Q4 t% c: ?
  591. ; List of separator(s) used by PHP to parse input URLs into variables." e" x5 l  v. D, n8 `& t
  592. ; PHP's default setting is "&".) o# v  X& n9 z5 m8 }; [& }2 x
  593. ; NOTE: Every character in this directive is considered as separator!
    3 v) L1 @/ c6 s. o$ C
  594. ; http://php.net/arg-separator.input
    0 b+ P/ E+ s+ Z1 ^( T
  595. ; Example:# O# u4 k1 `; t! m) ~
  596. ;arg_separator.input = ";&"
    ; ~) P* _0 u5 h. S3 g" a; r

  597. % m' R; o  P$ r! ~
  598. ; This directive determines which super global arrays are registered when PHP
    5 ~% S5 P3 L9 s% B  u1 X
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    0 {# w" v' v6 o( h' T
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 E. E4 Z. d" c
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    # o' a5 P. B2 k. J; ?1 _
  602. ; used as the others, ENV is not recommended on productions servers. You- Z' Y, k* k, ~. h# f: i7 K( y
  603. ; can still get access to the environment variables through getenv() should you) Z5 W1 _1 t) j# p
  604. ; need to.
    8 {7 O; n( c* N$ C3 B
  605. ; Default Value: "EGPCS"' j3 |+ H5 n( ]! i# e4 `
  606. ; Development Value: "GPCS"/ m6 E/ O  x6 y" G0 F* ?3 B0 P
  607. ; Production Value: "GPCS";2 L' J# Z9 I! ^9 F" h9 b! F
  608. ; http://php.net/variables-order! q2 ?# J# x7 n% S1 R; D2 u3 m
  609. variables_order = "GPCS"
    5 e$ @: k+ A+ }& c( J
  610. 5 c! |  `- K7 h' k* Z3 [4 @
  611. ; This directive determines which super global data (G,P & C) should be
    6 Y) v9 Y9 g0 ~. N* ~
  612. ; registered into the super global array REQUEST. If so, it also determines
    6 s) m2 |2 D! T
  613. ; the order in which that data is registered. The values for this directive  u3 m0 ?* F4 v; K& v# K
  614. ; are specified in the same manner as the variables_order directive,
    + |- q0 a9 [" I8 T# J/ @5 I- B
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" j" }" d7 `3 K8 _* u
  616. ; in the variables_order directive. It does not mean it will leave the super0 C3 a: E. b, U
  617. ; globals array REQUEST empty.
    9 l5 b1 H8 F' H5 H* ~3 F* ^
  618. ; Default Value: None
    " ]6 k) W2 h, M& b6 @; ^8 J  O0 T
  619. ; Development Value: "GP"
    " ], |5 C" f1 o8 R9 K+ E- l- Y& ?, V
  620. ; Production Value: "GP"1 Y  g3 q  r0 i- y. `
  621. ; http://php.net/request-order
    ) X1 y$ b, K: P- K. p  E8 J, G
  622. request_order = "GP"( ^3 `1 J# W" ?$ ~

  623. % J" W- ^- u. ^' n# k
  624. ; This directive determines whether PHP registers $argv & $argc each time it  q* P/ N5 J4 n8 D
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script' B9 W/ F) y0 y" h1 {
  626. ; is invoked. $argc contains an integer representing the number of arguments
    , t. G- R5 A* R) T3 k6 V
  627. ; that were passed when the script was invoked. These arrays are extremely
    % R7 z3 Z# b6 I4 p
  628. ; useful when running scripts from the command line. When this directive is
    ; m6 t6 H/ n. u9 Z8 Y  Y* ^
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    * S/ r" s/ \: h3 g, m
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ) X6 d5 ~5 @5 Y9 e( U, m% U8 R6 D7 m6 A
  631. ; on production servers.5 ?* Z/ d; m! s* r0 h$ K
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    / {7 m$ r7 j9 |
  633. ; Default Value: On
    9 q# f+ ~% }4 k$ M& w
  634. ; Development Value: Off; K6 _& U( _% e+ F. c5 g7 e
  635. ; Production Value: Off
    + J. h8 G& w8 |+ f1 M! E
  636. ; http://php.net/register-argc-argv4 `& }7 \# j5 E  z% W7 ^
  637. register_argc_argv = Off  L# |5 u( [2 _" k8 }; b" l
  638. - G% z+ {: U: v; a& h& j% w. d
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 G7 G8 ]( }1 L/ G2 H
  640. ; first used (Just In Time) instead of when the script starts. If these; x' T, d7 J. q! h% d- a
  641. ; variables are not used within a script, having this directive on will result) \$ D: W, g& J3 X( `* V* I
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    9 w7 A5 M# Y, E( g$ e1 h% N9 X
  643. ; for this directive to have any affect.
      V& G* w+ k, M( X- F( T) x7 U1 Z
  644. ; http://php.net/auto-globals-jit
    9 @' `% e. l4 @( J
  645. auto_globals_jit = On
    & P! j; P. p# o& M, P

  646. 0 a6 S8 D4 M1 f5 D3 w4 Y/ b+ ^, k
  647. ; Whether PHP will read the POST data.9 O0 U; A5 ~) i* \1 p
  648. ; This option is enabled by default.
    2 y4 d' Y% b1 o6 _3 s7 w
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST  H; S. I( a3 n' d  u9 a2 y: F2 C
  650. ; and $_FILES to always be empty; the only way you will be able to read the0 A; T" @  A9 Q5 X
  651. ; POST data will be through the php://input stream wrapper. This can be useful4 ^, V  O4 H. C& z: ^) h$ R
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.8 l0 p, B' t; H# b  e, T
  653. ; http://php.net/enable-post-data-reading# D% |0 \* i6 ]' B
  654. ;enable_post_data_reading = Off
    4 z: F, x3 a" q. p1 T; b6 b

  655. * Q7 E3 d, R' L+ K' B
  656. ; Maximum size of POST data that PHP will accept.
    2 o% _8 T* e& i' k0 @7 Y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading. v* Y) j; [; ^8 f9 p; m- r- H
  658. ; is disabled through enable_post_data_reading.$ P  u/ [' p4 J/ c( x
  659. ; http://php.net/post-max-size3 x& I" U; r8 K" }
  660. post_max_size = 50M, S; c) Z7 s" j9 Q3 p, h! z/ A1 {

  661.   g. A4 Z0 g1 e: e1 X7 \
  662. ; Automatically add files before PHP document.7 ~9 l+ |" S9 r8 x3 ]% Z
  663. ; http://php.net/auto-prepend-file
    & ~" r) R, H5 \& [& t- I% H
  664. auto_prepend_file =
    - i/ @4 R4 w- G& p- _

  665. - @9 w5 x; q9 O( e7 i
  666. ; Automatically add files after PHP document.
    + Z4 D7 E9 o, [. j- p% X
  667. ; http://php.net/auto-append-file" k& {( D; i$ D3 z
  668. auto_append_file =
    8 q! h' }, J* O; T" F- {* o
  669. / i/ G  q# V5 A9 B& o* K; c1 E
  670. ; By default, PHP will output a media type using the Content-Type header. To5 q- E3 }$ f" v3 [; i
  671. ; disable this, simply set it to be empty.3 b: }5 P3 @" o1 X) W
  672. ;" Z( Y( T) M: ~2 V0 s; `( y
  673. ; PHP's built-in default media type is set to text/html.
    1 G. v) J: x, S6 G
  674. ; http://php.net/default-mimetype3 M# o# r( y; V" Z
  675. default_mimetype = "text/html"+ a# @6 M8 H/ ^* M4 a
  676. ' G. n# ]: o! J2 e( [$ U9 E% b& y
  677. ; PHP's default character set is set to UTF-8.: V- A- F% @! z6 `8 C8 N
  678. ; http://php.net/default-charset: o) b" T: \2 L0 w$ }4 y+ b
  679. default_charset = "UTF-8"
    ; |  c0 r1 l  F* K; {
  680.   a3 X7 ]+ e- J+ H2 x4 u* M
  681. ; PHP internal character encoding is set to empty.
    " d+ a5 x" x. G
  682. ; If empty, default_charset is used.
    * F# J/ T, V$ f/ x* ]: R' `
  683. ; http://php.net/internal-encoding9 B3 b0 F1 X* @6 |$ B0 k  P% J
  684. ;internal_encoding =* M( A, y2 `2 K  c8 U+ g! K* F
  685. # H5 s& @5 A9 x$ R8 f1 ~# x
  686. ; PHP input character encoding is set to empty.% n; A& r0 c9 f8 M. J0 H
  687. ; If empty, default_charset is used.* s) }8 P) d$ `/ s
  688. ; http://php.net/input-encoding
    . x! b) I5 {$ [2 G
  689. ;input_encoding =% C; A/ _1 d* l6 o* W+ ]: h1 f
  690. 1 B1 S6 {9 X: ?6 g3 F9 |) o
  691. ; PHP output character encoding is set to empty.9 r! W/ @+ d8 y8 h
  692. ; If empty, default_charset is used.& o* @: f: }- [# q) T: g
  693. ; See also output_buffer.
    : }6 ]# C4 d' B( G! J, {; ^; n6 h
  694. ; http://php.net/output-encoding
    % v5 D3 M* G7 X+ |5 J' d: U! x/ Y
  695. ;output_encoding =  c& c1 |, n/ K4 N. p2 x
  696. : F1 Y# L' O- h/ j3 x$ d
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is! j+ Y) b0 o, @9 {; l$ W0 B
  698. ; to disable this feature and it will be removed in a future version.3 B! n4 m) I( V
  699. ; If post reading is disabled through enable_post_data_reading,
    % {% w# q; ?# O7 [& s
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    6 p- T' ?1 E5 f7 F8 ?
  701. ; http://php.net/always-populate-raw-post-data
    - n4 d2 W& M% {6 `1 l- {$ w7 m( p
  702. ;always_populate_raw_post_data = -1
    7 Q# X8 |& {3 }- w  Q5 m, `2 T8 m. e
  703. 4 w1 X  `8 n4 r8 y8 @2 u% c
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;0 l" [$ L0 N" G. [3 E
  705. ; Paths and Directories ;
    ' A6 r- l- d1 r- u: a, B
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 p4 D$ Z0 R) ], G: s

  707. ' T* _/ T$ K8 r) Y
  708. ; UNIX: "/path1:/path2"2 y4 F9 Y3 Q1 {5 w
  709. ;include_path = ".:/php/includes"9 W+ x6 j) @9 T8 \+ G
  710. ;# i: Q, h! O3 O2 _3 a+ f
  711. ; Windows: "\path1;\path2") d' P8 r% l: Q; C7 p& W
  712. ;include_path = ".;c:\php\includes". o8 ?4 a1 o6 d7 z
  713. ;+ _/ L. z3 g# i- y
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    $ G5 [$ \- V* k5 q
  715. ; http://php.net/include-path
    ! c* O' g! G9 a
  716. 9 o8 l  a. r% c1 D
  717. ; The root of the PHP pages, used only if nonempty.( R# V* N% Y$ ~! P: p
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root9 f% @* O. A1 t+ q
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ! F  p3 ]1 d: t1 Q: q" t/ |
  720. ; see documentation for security issues.  The alternate is to use the+ l0 j$ z8 g& i* k7 R2 V# N0 T1 R
  721. ; cgi.force_redirect configuration below
    ( \/ O. W6 @% _* y) j: d* s# X; ^
  722. ; http://php.net/doc-root& V, |' D( o- d  J
  723. doc_root =$ j- _8 w" N4 z2 k

  724. # a% ~, U& z# a0 [* f. d  y3 k, ]
  725. ; The directory under which PHP opens the script using /~username used only& |3 I# x: C& P7 |/ T- i
  726. ; if nonempty.
    0 T7 y6 C4 O9 R+ w" E4 @4 e
  727. ; http://php.net/user-dir- d$ q! J; c2 c8 ^, e/ \" A! I! Y
  728. user_dir =
    2 B2 R+ B0 d' t( v
  729. ( W/ b% I3 I6 ~0 ?* |: k: k
  730. ; Directory in which the loadable extensions (modules) reside.6 {9 M& n. E+ C
  731. ; http://php.net/extension-dir
    , w3 L+ _) G9 x) c/ v' Q* c
  732. ; extension_dir = "./"4 ~/ _5 r$ s3 D9 y2 X8 T
  733. ; On windows:
    3 g# }" o  b! V" \' ?/ }$ E
  734. ; extension_dir = "ext"1 J. G5 o0 u! h/ h
  735. ( ^. G: }8 r( R2 y) k6 l
  736. ; Directory where the temporary files should be placed.1 W, ^- @; j! f8 F" Z& ~, U
  737. ; Defaults to the system default (see sys_get_temp_dir)4 J+ m/ m2 j+ v+ I
  738. ; sys_temp_dir = "/tmp"8 U) ]) M; M; a& Z3 B
  739. ' H3 Z9 X* Q: J
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work2 A2 F, c0 V6 C* m. z- O7 r. f  v  W
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically( {  r1 ^+ _3 _5 J9 N
  742. ; disabled on them.0 |9 J. [4 f7 [4 e/ A
  743. ; http://php.net/enable-dl
    ; v5 P: g! z" F( {1 Q: P! v6 Y
  744. enable_dl = Off5 X5 K/ F3 j* H8 }
  745. 9 y5 w& F1 Z1 c/ G1 v8 s, L
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under" d) a; c( U- M) x9 K* U) k
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can; }. C" m0 n- M9 G$ c% j
  748. ; turn it off here AT YOUR OWN RISK
    ( T! L6 M! m: x+ w9 d! j* n7 e
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    7 \3 i  }& B) b+ G  `9 h( j
  750. ; http://php.net/cgi.force-redirect+ r) S" J+ H" f5 k( }8 {& l
  751. ;cgi.force_redirect = 1: p0 _  _0 b. e2 o8 K" O4 f
  752. 7 x8 z5 E' s% B4 `# p6 g. Q8 b
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    . }" |4 J+ {; k7 P* O2 y( D
  754. ; every request. PHP's default behavior is to disable this feature.
    - W  i2 F; r' G3 D5 O2 C9 E6 L
  755. ;cgi.nph = 16 l: T# ]  K9 d  n; }

  756. 3 C* v& e) K3 v# {3 R3 w8 {
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ' y& i) f0 R0 I, J/ o
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 i8 s. G+ |7 ]' k: c
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY+ R# t2 X" {& l( E) D# \
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    3 c8 [' \* b* ?9 n& K  w* b8 P* H
  761. ; http://php.net/cgi.redirect-status-env% R+ R; m+ t' Y9 C
  762. ;cgi.redirect_status_env =( K7 r$ F3 Q) N
  763. 2 W6 l/ }& s# _. F5 i
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's- ~- M& v2 N9 ^: R) P3 B  A) f
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ [4 u# _  ~+ j
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    " U$ v. j, o2 ?$ R6 H. p6 G
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting$ D: w" E, c- X9 }8 X7 A/ D
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" z* t6 a! L. u5 L: X5 x
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ; U, N) e) x- l5 K# N
  770. ; http://php.net/cgi.fix-pathinfo2 q3 B* n( ]( q4 w
  771. cgi.fix_pathinfo=1
    # k  |! _1 G' d" _
  772. # G% t- w6 M1 ~8 s$ Q6 N; ?
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside+ c6 N6 p0 b; b7 d  X' e0 n. Z" z+ n
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    5 g/ h- i3 g& B1 ^" W
  775. ; http://php.net/cgi.dicard-path
    , }) v$ l. X) ]# r$ S! i! z" E
  776. ;cgi.discard_path=1  i4 c5 E: u6 M8 {6 n3 k5 [! n
  777. 0 U# i7 ^) j3 l/ V2 {
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    8 C3 X7 \/ a6 x) n* o0 V1 t
  779. ; security tokens of the calling client.  This allows IIS to define the
    - u' o, ~( c; _2 |0 ]' N" e- R0 I
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    2 t5 T; X% D* R$ c, V4 w
  781. ; does not currently support this feature (03/17/2002)# C) |; l2 j& X8 U  s+ A
  782. ; Set to 1 if running under IIS.  Default is zero.
    * U  q5 K5 X" u# [; R$ |8 j- S' ~
  783. ; http://php.net/fastcgi.impersonate% Q- K6 ?0 P9 g7 J
  784. ;fastcgi.impersonate = 1
    . Y2 n% I* `4 ]8 p* J: q! |9 j
  785. $ n2 v/ X5 R0 \& f: Z
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " B* e2 C; j5 w
  787. ; this feature." T$ U, {8 ~3 V9 R
  788. ;fastcgi.logging = 0
    : v+ i* H# M( ^9 L  x- s1 \' g) L
  789. ; G5 a% X& {) @( f
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to9 r' `, \. r+ I* h, N( e/ g
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that2 c/ i+ T. [. W
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    4 {1 e4 f' r' h* g; j% L
  793. ; RFC2616 compliant header.0 J0 A% `+ T+ u- X* n! c
  794. ; Default is zero.
    / D/ B: Y) H- s9 t
  795. ; http://php.net/cgi.rfc2616-headers" n- I% C0 p9 E6 Y& O: ^) ~
  796. ;cgi.rfc2616_headers = 0
    - @" F3 l  S: Z8 k- }( y+ t& ?- `

  797. ' Y/ A# e6 t; h( `
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    + X7 v9 d; Q0 l( g6 S) U
  799. ; (shebang) at the top of the running script. This line might be needed if the# m* ?/ t8 Q/ g
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" S; n* E, O* U+ L# G
  801. ; mode skips this line and ignores its content if this directive is turned on.
    1 W2 F+ i9 r' O$ {- f7 {% |
  802. ; http://php.net/cgi.check-shebang-line" }) c; S# t# w  f6 b6 o, }0 U
  803. ;cgi.check_shebang_line=1/ F3 e' g( P: y2 c$ T0 w
  804. ) L* [3 }, K) S# c* b1 G
  805. ;;;;;;;;;;;;;;;;3 |7 a. a, B" C! n1 t
  806. ; File Uploads ;* ?7 Y' C1 F# {
  807. ;;;;;;;;;;;;;;;;1 E5 L0 S2 n9 j$ U% _. ]
  808. , n: e! z, j9 K. p6 a5 Y
  809. ; Whether to allow HTTP file uploads.# T, o! [, L" X$ A5 w) E, {
  810. ; http://php.net/file-uploads
    " }- J. t6 J/ e# w% Z* T  Z
  811. file_uploads = On' u0 j% O& w& |1 O" f
  812. ) t- w6 q3 J& @* g5 T5 Q+ ^
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    + C. y8 H8 v: h* `3 [
  814. ; specified).
    - T/ e* l' X3 o2 o+ ^
  815. ; http://php.net/upload-tmp-dir& T: X9 W! X% O, ^. O
  816. ;upload_tmp_dir =
    3 g; [, @8 J. [. }# k# |

  817. 5 ?1 i; h; K( {3 x& R8 `& ~/ @1 m
  818. ; Maximum allowed size for uploaded files.
    2 k3 n8 V3 g1 q1 v. E- E: f
  819. ; http://php.net/upload-max-filesize
    ' ?$ H, x7 J. b6 g4 n
  820. upload_max_filesize = 50M$ r, b( {# K2 a8 F. x

  821. # y% O9 ~! z1 p3 \; e$ N5 U& U
  822. ; Maximum number of files that can be uploaded via a single request. W9 d6 Q: G0 G8 `5 G" E
  823. max_file_uploads = 206 S9 x' h1 a- h5 m4 s+ C4 i
  824. 2 \0 J- C$ X/ b7 f+ J: T( K
  825. ;;;;;;;;;;;;;;;;;;- H# B& t% M7 `$ E+ P- ?" I
  826. ; Fopen wrappers ;
    " s2 @$ m; {! q1 K
  827. ;;;;;;;;;;;;;;;;;;
    - e8 U/ E5 ]& O. B7 Z: @" R" O
  828. ; X: }  J/ P* _* k( K
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 f9 @' P9 k7 H, M
  830. ; http://php.net/allow-url-fopen5 n& I; i* a, q
  831. allow_url_fopen = On
    4 p$ C; P" b5 L, f2 l- e, H0 z& i

  832. + X0 x  u" [7 {& H* [" d, \
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 v9 V2 h8 w$ p; O# V- y
  834. ; http://php.net/allow-url-include
    ' f% j4 X2 s1 H) d5 A" ^5 k
  835. allow_url_include = Off& U5 _6 Y% K2 k2 C6 E7 n
  836. + i, G5 e8 f, u! [, m
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    " f( G0 j, s9 c! i5 R
  838. ; for this is empty.
    ( e; f( Z$ }5 \' A# s9 ~
  839. ; http://php.net/from7 @& S  f7 O% a4 X1 Y$ ?* j
  840. ;from="john@doe.com"
    . k) u* l% m9 {3 D

  841.   B4 j  s& U9 ~+ _% K+ T! E
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 {- @) T7 w4 @6 T. L
  843. ; http://php.net/user-agent
    " v0 k3 y: A8 |' q
  844. ;user_agent="PHP"% C+ g# ]4 i% K1 [0 e  \" _
  845. 6 ]; h5 p8 Y6 e" t2 h# `: h3 e
  846. ; Default timeout for socket based streams (seconds)- @" p. Q$ B, `0 d4 K9 e& U& c
  847. ; http://php.net/default-socket-timeout! s1 V  k, T) p- e/ @! y5 V$ O
  848. default_socket_timeout = 60
    0 d  U/ B* Q9 u# K8 O* Z" ^

  849. / r$ |+ U2 u7 r
  850. ; If your scripts have to deal with files from Macintosh systems,* L1 d; g7 C$ A! `/ k
  851. ; or you are running on a Mac and need to deal with files from" U5 r; F0 G* R% V5 x7 }$ q
  852. ; unix or win32 systems, setting this flag will cause PHP to1 s8 c5 u0 I* W: n
  853. ; automatically detect the EOL character in those files so that
    ' X8 L! N6 O6 [7 I! v& E& ]: u
  854. ; fgets() and file() will work regardless of the source of the file.
    ! R* Q: R$ o+ k5 ^' r' H, I+ P
  855. ; http://php.net/auto-detect-line-endings; g2 T2 f1 S& B4 Y3 |! t( g5 e# r
  856. ;auto_detect_line_endings = Off
    8 m# m+ D" K5 c4 Q

  857. : a/ B1 C1 d2 o1 h8 s6 P
  858. ;;;;;;;;;;;;;;;;;;;;;;# j4 p6 r' Y& m5 Y! Z  r
  859. ; Dynamic Extensions ;% u9 O4 S; R) `% g/ ^4 F& Y
  860. ;;;;;;;;;;;;;;;;;;;;;;  `5 F: {9 {6 n' m
  861. ! P1 e1 l9 t! T0 {
  862. ; If you wish to have an extension loaded automatically, use the following. U& B* x5 l1 `3 n
  863. ; syntax:
    4 |9 b# M' E" ^1 q: q, F
  864. ;" C8 A5 x% b5 p) P
  865. ;   extension=modulename.extension1 d3 u8 h- Z) q
  866. ;
    6 ?: X; U% E3 ]% @
  867. ; For example, on Windows:
    7 _* D- Y8 |* T7 V+ ]
  868. ;
    4 o: C. O9 X* P2 O
  869. ;   extension=msql.dll+ [9 d* B1 {9 L% H9 c/ R
  870. ;
    , d& f2 _& n! V" L! |: t
  871. ; ... or under UNIX:- E/ M% D4 j5 k+ q' ]0 K
  872. ;/ b/ d6 {  A& t! R6 D* C+ J3 [7 P
  873. ;   extension=msql.so! p) F3 ?( y; N; m: ?3 L7 U$ K, j( ~% l
  874. ;
    # \7 C; j4 d$ K) U" e) o, k, R
  875. ; ... or with a path:! h7 w4 D1 q% N! i
  876. ;8 b1 r9 O% h+ O& N) h5 A
  877. ;   extension=/path/to/extension/msql.so
    8 x1 |' {' ~" a
  878. ;
    # ?; K0 z( r* A0 t+ @
  879. ; If you only provide the name of the extension, PHP will look for it in its7 @  S- k5 K5 `+ j5 ?1 c7 y; L8 l
  880. ; default extension directory.
    ) j/ Y! G/ H# J3 z
  881. ;) I* l( M8 r, x! g$ L
  882. ; Windows Extensions, \5 Y5 v% L' S! Y' g9 m7 Q
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    # B/ X& X, |% J% r
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)  R. \8 g! [9 H9 L+ F& I
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).; E9 z9 X7 |, ~; G" O# y0 ]
  886. ; Be sure to appropriately set the extension_dir directive.' N5 ~) l% E3 ]; b7 j: x% S
  887. ;: N/ g2 w$ H3 b0 }* n
  888. ;extension=php_bz2.dll
    + J7 Z+ ^5 p; L4 ^, I* V* y0 k4 L
  889. ;extension=php_curl.dll
    / f! |9 w. _' ^2 R" R: |
  890. ;extension=php_fileinfo.dll
    / l$ a" K% g2 U1 v. y- O: r# {
  891. ;extension=php_gd2.dll
    4 @. U* b# R: ]2 L* `/ s2 B' ?& b
  892. ;extension=php_gettext.dll
    " E" k& {, z- g( R/ y
  893. ;extension=php_gmp.dll  B; D0 D+ y! F$ M2 Y
  894. ;extension=php_intl.dll# ^: `% T6 e* C6 G
  895. ;extension=php_imap.dll) I$ n, W" D6 n! P
  896. ;extension=php_interbase.dll
    : G$ b0 W$ o  H  H
  897. ;extension=php_ldap.dll
    ) q+ w# i7 q  h
  898. ;extension=php_mbstring.dll1 M6 N( R6 T) T1 ~- u
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it) C+ V  v7 u( q1 m  K8 }8 s0 `  N
  900. ;extension=php_mysql.dll
    7 h- ?2 i7 |# U' A
  901. ;extension=php_mysqli.dll0 y' d2 b( w4 T7 D& y
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client3 K3 I; l0 k* s8 B' m) s0 A
  903. ;extension=php_openssl.dll
    ! T6 X: C8 N: y. e( k
  904. ;extension=php_pdo_firebird.dll$ p, @3 l" \/ e: A* Z( Z
  905. ;extension=php_pdo_mysql.dll
    ! m  R5 S1 x# t5 z6 p- B# ?- h
  906. ;extension=php_pdo_oci.dll
    , r* M6 T: }1 g; L7 C7 o. R
  907. ;extension=php_pdo_odbc.dll+ w0 M" C8 e3 @: G, s
  908. ;extension=php_pdo_pgsql.dll
    ' l- u# M! |3 c: X
  909. ;extension=php_pdo_sqlite.dll' u+ x) \0 N7 u+ `! x; \
  910. ;extension=php_pgsql.dll
    5 R, ~  K1 `' _+ Z4 p
  911. ;extension=php_shmop.dll
    8 d' m  M& t1 ]1 w
  912. 7 W1 b* C. s9 ^% y4 H. o
  913. ; The MIBS data available in the PHP distribution must be installed.
    7 s0 V/ ^2 E1 ~7 v
  914. ; See http://www.php.net/manual/en/snmp.installation.php : Y. K- E* {6 T3 \  Y  F3 i
  915. ;extension=php_snmp.dll6 A* e3 }* a4 s/ M

  916.   l* v2 ?2 t: w) l1 Y$ D! s9 I) Z
  917. ;extension=php_soap.dll* w# y2 O; G7 D2 l+ L$ y* m
  918. ;extension=php_sockets.dll; j! ^4 u; F! u0 b
  919. ;extension=php_sqlite3.dll
    9 G/ M6 q- R) b( \  w( K  _
  920. ;extension=php_sybase_ct.dll
    2 l2 z! M3 d# C  c8 U7 I1 L. z
  921. ;extension=php_tidy.dll
    0 Y6 Y: l, w+ u
  922. ;extension=php_xmlrpc.dll2 }" t) Y3 k% _7 k$ Q! r
  923. ;extension=php_xsl.dll7 p8 k$ I2 |( |) Y- n
  924. % R  N* e* ^# a5 Z5 w
  925. ;;;;;;;;;;;;;;;;;;;* E8 L# H+ \- V! h
  926. ; Module Settings ;5 b9 C1 A% D7 X# E
  927. ;;;;;;;;;;;;;;;;;;;9 F) l' s; }& [$ A. O) E
  928. $ @9 C! |- f0 ]% q& O
  929. [CLI Server]# P1 V6 `8 V- i+ M/ T7 L
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.! A& n9 N2 S3 v( a8 z  @) _4 B
  931. cli_server.color = On
    7 K9 {! u2 B5 ~- A2 k$ V! G' R

  932. % m- q6 ~4 b# c% |6 [6 u" s/ e
  933. [Date]
    ( Y' l- d: p! @& D0 U
  934. ; Defines the default timezone used by the date functions
    % h: L2 N; T. ^6 e! l
  935. ; http://php.net/date.timezone2 E  w) E# ?/ e+ `/ w
  936. date.timezone = PRC6 b& K$ C% \0 ]+ r
  937. 8 \3 R4 z! n) N( A2 S
  938. ; http://php.net/date.default-latitude
    ( [3 v2 q+ `. x2 o% `2 ~1 L
  939. ;date.default_latitude = 31.7667* ]* A# W- C  b7 R
  940. 7 {7 t! |$ S4 X' a- a  S
  941. ; http://php.net/date.default-longitude& m# B0 H7 x2 t- n$ }% A
  942. ;date.default_longitude = 35.23339 e! U( W7 t% q* m( q% o
  943. 1 z. y$ t; B/ k8 F1 F5 R( C
  944. ; http://php.net/date.sunrise-zenith
    ( N" j( K8 V: c: w
  945. ;date.sunrise_zenith = 90.583333
    & @& C$ k- R% }4 _; {7 s1 e' s. I( K
  946. ( s0 j! C9 K) B9 _9 o5 A+ T
  947. ; http://php.net/date.sunset-zenith
    2 L9 q. G% y1 C. m: ]
  948. ;date.sunset_zenith = 90.583333$ T* @5 l: e6 \  L* R* T8 P) i
  949. ) \2 n+ D/ A! j& \; P: |
  950. [filter]# A0 @  d1 Y* K& G! D+ [
  951. ; http://php.net/filter.default' Z# J7 d! ?: k! |8 Q! @
  952. ;filter.default = unsafe_raw5 b, |6 R4 z# b: U, f5 Q, D
  953. 1 M4 A  k" _& d* N9 {& P$ |) ~
  954. ; http://php.net/filter.default-flags& d" f9 J. \! @9 G) f3 @, A
  955. ;filter.default_flags =
    5 g# [  I4 b. E2 e  M( E& X

  956. 1 p9 }! `1 C, ~3 b5 f
  957. [iconv]
    ) `5 T& G( F6 A  {% @) C
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 H6 I! Z+ M$ e: d
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    - g& O: J3 L* k2 P0 x$ D
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    / s! j( i* z1 G- m% s/ ]
  961. ;iconv.input_encoding =
    0 C8 T6 `; r' m) I, x

  962. , v# \* C7 R) r1 J
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , f! E4 R* \3 U# B- y
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 ^3 b4 C7 u* I! N. R) g# S
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . E; o2 {) Q) \: F6 l3 K) s
  966. ;iconv.internal_encoding =( ^' |' d+ W( T" p& ~! L- I0 Y6 r$ `( b
  967. / x3 r+ i; y% G0 f# i- ^
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 W4 L5 H) `/ ]. k" P/ `& `# L
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." d3 z7 h0 M; Y1 _! x0 ]
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' x* s% `: \  ?& _8 a7 K2 `+ ~- m
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ! L, p( m! G: A* ~5 i
  972. ; otherwise output encoding conversion cannot be performed.
    ; ?6 R1 I4 O* n: Z; Q
  973. ;iconv.output_encoding =
    , q5 p7 j$ \- c' |3 c& p9 J. \8 x
  974. + p; t! m* P1 ~- D. m
  975. [intl]# C8 r2 l. d( R% A* W7 B9 G
  976. ;intl.default_locale =& i! b0 q8 a2 d. {" |, i" o" \% Z& l
  977. ; This directive allows you to produce PHP errors when some error
    8 |6 S7 X; }& S
  978. ; happens within intl functions. The value is the level of the error produced.7 b4 u! L/ _9 _9 P4 s) e
  979. ; Default is 0, which does not produce any errors.
    % G0 L9 T7 N7 k7 A& ~
  980. ;intl.error_level = E_WARNING$ L8 Y  s) L% y  x" x# ~
  981. ;intl.use_exceptions = 0
    5 y* U# Q1 W1 @5 M
  982. ; _' `7 m8 u* Z( V: e# |
  983. [sqlite3]" U3 z/ N+ f! K- {/ w& C
  984. ;sqlite3.extension_dir =
    ( W  a' j, ]2 E: l
  985. 2 x- m* e7 J; _6 u! G: J( ]
  986. [Pcre]2 s# H+ e6 w% t( @
  987. ;PCRE library backtracking limit.6 h2 V; D% D2 ^, f& O1 W
  988. ; http://php.net/pcre.backtrack-limit
    / K. g" l6 b5 `0 ?, s, I6 R
  989. ;pcre.backtrack_limit=100000
    $ _9 ^0 F6 z; s: w+ s: z' c. Y
  990. ; g& z6 F& W4 N/ ?
  991. ;PCRE library recursion limit.0 [6 U; C1 b) L  _% l( X
  992. ;Please note that if you set this value to a high number you may consume all# N: |, O4 e8 M0 A$ x: n
  993. ;the available process stack and eventually crash PHP (due to reaching the3 G6 Q' F5 n/ ~0 d9 Z
  994. ;stack size limit imposed by the Operating System).. W# ~( p* y( i9 F, h
  995. ; http://php.net/pcre.recursion-limit& i) E0 x" }. j% `
  996. ;pcre.recursion_limit=100000+ Q$ ?+ k% P: P/ G

  997. 8 P' B8 i+ N- u$ A3 j
  998. [Pdo]
    , i4 y$ A) m" J8 E. B
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    , \4 V$ i: q# D2 T
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / c& V0 z1 f5 k3 s3 E4 |
  1001. ;pdo_odbc.connection_pooling=strict
    5 A0 Q( h, ~; a# w2 J
  1002. 0 P2 x- {( ]5 z8 t4 A4 A5 o/ h1 G
  1003. ;pdo_odbc.db2_instance_name
    " ~" G+ ~- m6 w2 u( f1 O

  1004. " ^9 l4 a+ Q) |  t
  1005. [Pdo_mysql]
    ! M# |- e2 A  \) `! c* M
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' r( f- Q, |- l1 B% z9 \5 ~
  1007. ; http://php.net/pdo_mysql.cache_size5 {  }1 L- ?/ f2 F" H. t) ]
  1008. pdo_mysql.cache_size = 2000
    2 C- A1 y" o- S( }

  1009. 6 ?+ j# z5 x- Q& z8 B6 D% q
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 A  ~( X6 B3 m% e
  1011. ; MySQL defaults.
    0 L7 ^. W) p: x- `
  1012. ; http://php.net/pdo_mysql.default-socket
    6 r9 }" ~8 a4 H: y
  1013. pdo_mysql.default_socket=
    " y9 S4 D8 A; S( G3 D6 f& n

  1014. $ L0 i1 X4 M' V% |4 J5 P
  1015. [Phar]9 v* T3 `" }  R; \" Q8 f3 _
  1016. ; http://php.net/phar.readonly" m: J: u1 T( }, p
  1017. ;phar.readonly = On
    % U" X: a" H* }, m7 M2 `) g' C
  1018. 9 e5 M, q. @. S- w) f8 Z7 ~- u4 c
  1019. ; http://php.net/phar.require-hash0 y( e! {" @' R
  1020. ;phar.require_hash = On
    ) c2 c; ~7 ]) {8 Y$ E: a) T* F/ U* ]

  1021. + I# @* J8 B' c4 }4 M- j" e
  1022. ;phar.cache_list =' C. q" c- G. |$ C/ ?" l

  1023. : `) f0 `/ {$ E* W
  1024. [mail function]
    ) K# ?4 \0 Y) a
  1025. ; For Win32 only.6 N  q4 J3 [! D1 ~1 Y$ D
  1026. ; http://php.net/smtp/ r( _0 F- w6 h& o
  1027. SMTP = localhost
    $ z/ W& Z9 F0 v7 U
  1028. ; http://php.net/smtp-port2 m  k" r  ?7 w5 i& b
  1029. smtp_port = 255 n( ?$ @3 M' z. v! x
  1030. - D& {- d7 U! Z
  1031. ; For Win32 only.+ b8 ]2 B5 M: B& ^) `2 V/ b
  1032. ; http://php.net/sendmail-from
    # v  ~* w9 B( y; F) n7 s
  1033. ;sendmail_from = me@example.com
    ) z$ o& G: X6 b
  1034. " i* o* [5 m( a2 r
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 ?7 h0 g# H5 C; F# v9 }6 [" A2 y
  1036. ; http://php.net/sendmail-path
      z& t( p* U) G" D3 Q; r* T/ X! |3 V
  1037. sendmail_path = /usr/sbin/sendmail -t -i; z* l% f; t1 g0 Z

  1038. 1 F8 M6 _  q) P( t5 {8 y
  1039. ; Force the addition of the specified parameters to be passed as extra parameters8 k! T; u2 H0 i2 H' d" R- U8 X! m
  1040. ; to the sendmail binary. These parameters will always replace the value of/ |$ w$ ]% i2 t( s
  1041. ; the 5th parameter to mail().9 Y( R- W6 y2 B# G, T
  1042. ;mail.force_extra_parameters =
    9 V' B* u+ l5 I( m# m3 B3 }1 e
  1043. . f0 T  p: v5 `% l4 R
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& U; k. J" c- @% o; I' R
  1045. mail.add_x_header = On6 P7 {- D; O! J- o4 p

  1046. 8 t, t2 I! r, [; g4 X- {' ?. @
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    6 m* H  g6 H" y- _
  1048. ; the full path of the script, line number, To address and headers.
    6 \, T3 v: r) {. i) l
  1049. ;mail.log =
    2 m# y& M4 A7 T/ P0 {
  1050. ; Log mail to syslog (Event Log on Windows).( m9 a+ P" ?2 c9 `& s" f. v7 {
  1051. ;mail.log = syslog
    / }% r( t- ]7 ]3 [7 J

  1052. ( d( q$ m% y2 t6 N! y
  1053. [SQL]0 p" H$ j8 w8 f1 q1 a, I- Y- S
  1054. ; http://php.net/sql.safe-mode
    9 e: X1 N' p* v% s% Z: f$ V
  1055. sql.safe_mode = Off0 |( @! n* w5 u, F8 r+ G  m

  1056. 6 x3 Z, u/ g$ e/ F8 m
  1057. [ODBC]
    : ]5 u+ N4 `& ^# c' m& h8 I
  1058. ; http://php.net/odbc.default-db
    " V( L" Q- c% ?7 t! K  F
  1059. ;odbc.default_db    =  Not yet implemented& ?( P) k+ ]1 h( i$ T

  1060. ; ^2 j/ ]- S! M. C! w0 G
  1061. ; http://php.net/odbc.default-user5 [/ [# [4 v0 {% \- u/ }
  1062. ;odbc.default_user  =  Not yet implemented
    6 s  `- U" p/ _- B: m

  1063. 5 R, U. t4 a0 r% \9 V: s: e  Z% R
  1064. ; http://php.net/odbc.default-pw' T  V# h7 v: Z! y+ r
  1065. ;odbc.default_pw    =  Not yet implemented# Z- E7 M0 X* j, h

  1066. & R1 |# o: `% L  M4 }! D
  1067. ; Controls the ODBC cursor model.
    , h7 l0 {/ L9 X4 `* g3 j
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ! J: ~0 c9 ~, M+ P+ k! E: P. a
  1069. ;odbc.default_cursortype! W+ u* }: E" F7 o' B0 O  I8 d
  1070. 2 Z* u6 M3 L# K
  1071. ; Allow or prevent persistent links.
    / |8 z& I# @% j2 ?; E  G
  1072. ; http://php.net/odbc.allow-persistent
    * `- E8 ^% r7 L
  1073. odbc.allow_persistent = On
    : r" B, l' B) b2 U2 a5 |$ I
  1074. 0 o" s7 b2 }$ Q
  1075. ; Check that a connection is still valid before reuse.- e3 j* T: h8 W4 E( s) s0 d
  1076. ; http://php.net/odbc.check-persistent0 A1 w4 \- z2 M6 t
  1077. odbc.check_persistent = On' o$ F. f8 @0 e( U0 r. C
  1078. 6 c3 D( Q* j% z
  1079. ; Maximum number of persistent links.  -1 means no limit.6 R9 G% \" p; u$ U8 y: M7 V& Q! T1 {
  1080. ; http://php.net/odbc.max-persistent/ `$ M4 _$ n% D3 J9 G" @/ P* ]
  1081. odbc.max_persistent = -1" f* J/ \* b0 I( a' g' X

  1082. . W, O4 f( A. |9 o
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) D4 ^" K4 o! Y  w. I
  1084. ; http://php.net/odbc.max-links) y/ {9 ?7 f) J! d/ O
  1085. odbc.max_links = -16 d' F* T4 f7 [- C
  1086. 0 W3 |8 Q. R( V$ x8 w8 Y+ W
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    . x* c2 q3 H; L& T$ A
  1088. ; passthru.- h6 M# v( l$ w, ?# |
  1089. ; http://php.net/odbc.defaultlrl
    + ~8 u! }9 E" M5 E
  1090. odbc.defaultlrl = 4096. N4 p2 H* N1 s
  1091. 7 l9 Z7 b$ V% m9 x6 B0 i
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 b6 j7 s% r# g" F: f
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 r# d& X) o. k/ u
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    + }8 K' A% B/ A8 t  C5 ^$ ~# m& _
  1095. ; http://php.net/odbc.defaultbinmode
    ; ?% y! T/ I$ T0 {) a% k! c9 v
  1096. odbc.defaultbinmode = 13 [6 }# |! W5 w

  1097. : Z$ a1 g$ P) m- w
  1098. ;birdstep.max_links = -17 w4 ?  z. r2 C: M& ^! c

  1099. : F) Q' ~, N, _' L) r3 e6 l
  1100. [Interbase]
    1 G  w5 a" V" J2 @9 z
  1101. ; Allow or prevent persistent links.
    ! p* q: Z) Z. u. k
  1102. ibase.allow_persistent = 1
    " A9 H4 m# x9 D
  1103. # r; G% D7 i3 r' k) k' {
  1104. ; Maximum number of persistent links.  -1 means no limit.4 e2 E$ N( {$ p3 z; _2 K
  1105. ibase.max_persistent = -1  s5 c6 Q" v2 A6 k* l3 T

  1106. 5 n" z! @, t2 R4 ^" E
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! j9 F- r; d5 }' w2 l, b# s* D7 n  `/ y0 J
  1108. ibase.max_links = -1' C' D% d: G1 n! u: @

  1109. 4 G0 x# K5 n8 p5 ^9 L" |
  1110. ; Default database name for ibase_connect().
    2 M. t( W" F! T2 v' `
  1111. ;ibase.default_db =
    & I. H0 R" e$ [) r2 }

  1112. & K8 H$ q; c4 @
  1113. ; Default username for ibase_connect().
    3 ]: A7 l5 ~1 x$ H' Q* Y5 {
  1114. ;ibase.default_user =
    & Z, Q/ F/ D$ t$ w3 M; Y  s: d/ [

  1115. * W+ q' z6 l5 J, N6 L
  1116. ; Default password for ibase_connect().! u+ H% B8 R& j* p; z
  1117. ;ibase.default_password =0 t, E/ w! G6 Z0 `+ O* ?- {

  1118. " y7 l+ g# e0 Z
  1119. ; Default charset for ibase_connect().
    ! p( v5 [  X" G; b% {& g
  1120. ;ibase.default_charset =
    ( ^. X& f$ z4 I2 J/ ^

  1121. + z) h9 Q5 a5 Q. N: u( |
  1122. ; Default timestamp format.2 X2 u: l- d! Y! b  W  G
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* Y* e0 }- t$ {; m

  1124. * s' i4 l* X3 d' v% s3 J
  1125. ; Default date format.
    # z% O' h3 E; z; O
  1126. ibase.dateformat = "%Y-%m-%d", o2 t( ^4 d4 X$ A# B0 v7 T

  1127. 1 ^; I% n$ V& U) W
  1128. ; Default time format.
    6 ~) {3 B# p' p9 P2 o4 e0 n  t1 u
  1129. ibase.timeformat = "%H:%M:%S"- G# K; x$ s0 N" T

  1130. + \8 \' x* }; E
  1131. [MySQL]
    ! d* z6 O6 Z2 `: B7 [
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    3 P4 K( {6 y5 E! M
  1133. ; http://php.net/mysql.allow_local_infile. a. Z: z1 e3 d) j% Q8 V2 R- A
  1134. mysql.allow_local_infile = On
    + T0 a+ M# @7 g0 \, G# }
  1135. 7 w9 c/ d: d# x) L& |4 f7 I
  1136. ; Allow or prevent persistent links.
    & T8 W0 D$ h3 n
  1137. ; http://php.net/mysql.allow-persistent
    . @8 y$ t" f% O
  1138. mysql.allow_persistent = On3 U! I; z( S  |1 g5 d# i

  1139. & Z1 o7 I+ s, W4 X6 u, H1 F$ x* ^
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - ^& y" W* ^9 L/ i) u9 K
  1141. ; http://php.net/mysql.cache_size
      q' I1 h! I$ L5 U1 W
  1142. mysql.cache_size = 2000$ ?/ k4 U; b0 l8 L9 L5 f

  1143. ! I  h' O( C( p$ T; {, Z& \
  1144. ; Maximum number of persistent links.  -1 means no limit., J4 y& N+ u1 V; F
  1145. ; http://php.net/mysql.max-persistent6 f% M6 i( |5 b1 V1 G# a# {" u
  1146. mysql.max_persistent = -1* |8 H0 h0 z; S9 z
  1147. % C! j3 ?; m2 b8 R9 \4 |' l
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 [0 k- T  W, D
  1149. ; http://php.net/mysql.max-links$ y& f) _; R3 b+ _7 a# i- A5 L! C: y
  1150. mysql.max_links = -16 p: `. o: i3 D" _7 {

  1151. - U$ ?/ W( `( Y7 k/ R7 W: r9 i( i
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    8 u6 g/ r3 k6 R5 z- G5 j+ ^6 A
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 [4 B7 U3 f& \, \/ y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% m/ I8 g) R5 H
  1155. ; at MYSQL_PORT.! }: _" e# M' @# i1 M1 V. c7 u- x
  1156. ; http://php.net/mysql.default-port
      y. e( X& _* @) H6 a
  1157. mysql.default_port =* E! F/ v$ p* a' n7 a

  1158. " k& b; w, T+ {9 |9 _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ S8 T0 z# e( y8 X. B
  1160. ; MySQL defaults.
    ( U$ t* D3 G! l
  1161. ; http://php.net/mysql.default-socket+ s6 B: C' _( J0 g" L- w/ l, B
  1162. mysql.default_socket =6 y0 E9 B6 N: l+ B2 L1 R1 K; r. W
  1163. 3 m; Z. F2 N# p" c1 [* \
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).( g# R* V9 I" m; _3 `! x* y, |
  1165. ; http://php.net/mysql.default-host
    5 ]' c. ~3 i% p
  1166. mysql.default_host =
    1 F3 W4 P6 ]5 C1 j5 z& N& k0 A! B

  1167. ( u2 w( S7 z- @/ R, r6 e+ z& }
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).- u7 j* v1 h2 d$ t
  1169. ; http://php.net/mysql.default-user
    2 J: |) G! D+ ^' V3 p
  1170. mysql.default_user =" U% ]  X3 n4 g! P+ o/ I& J, r9 E/ Q
  1171.   A2 G% o( H9 M5 S% g* u3 ?! G
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ) E8 m2 d) w, w5 o
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.( e* `0 E$ D, A) i
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")% D  ^9 \( T$ z
  1175. ; and reveal this password!  And of course, any users with read access to this# w, g6 _% u) c3 B3 F
  1176. ; file will be able to reveal the password as well./ B) X, D4 H' W# p, x9 Q- _% |2 q
  1177. ; http://php.net/mysql.default-password7 x% p5 G: w/ p0 l! A
  1178. mysql.default_password =
    $ s3 ]9 q- {) g- c& [4 l, O

  1179. 9 J$ o* x) S) W9 }1 Y: a1 @, p
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit$ R5 Y' Z; }8 S9 q9 D' j4 n" k' ]2 N
  1181. ; http://php.net/mysql.connect-timeout
    ) M" Z# k3 d" ~" z9 h
  1182. mysql.connect_timeout = 60- w) ~, y' i7 S. r7 C3 g
  1183. & |# _( P" E) F+ A) r- B1 |
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    + u9 a! v+ N0 ]5 v" ?) s
  1185. ; SQL-Errors will be displayed.
    5 u# D/ B7 Z0 M; \
  1186. ; http://php.net/mysql.trace-mode
    ) J( Z( i6 r( `6 v. {2 c& f, ?
  1187. mysql.trace_mode = Off1 q% a* m. U# F
  1188. . n# k: k; {1 v7 r5 I
  1189. [MySQLi]
    9 v0 t4 `6 x" c
  1190.   ]7 ~! ?. ?( n# T4 ~7 {
  1191. ; Maximum number of persistent links.  -1 means no limit.
    # L: p/ a7 ]4 N
  1192. ; http://php.net/mysqli.max-persistent
    : t- L1 C* r# A3 y2 C
  1193. mysqli.max_persistent = -1
    7 w5 S: p$ m$ Y) U: Y: y7 k9 G
  1194. 6 m  D1 E1 a: v; M2 t4 o/ w
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 L! q  a3 N) ]# N' e8 F. T
  1196. ; http://php.net/mysqli.allow_local_infile4 H: R7 {7 O+ D8 T- Y2 b; a5 e0 o
  1197. ;mysqli.allow_local_infile = On; l2 e: B( E% x7 L! Q

  1198. 2 T& C  Z) a# o/ Q9 ?
  1199. ; Allow or prevent persistent links.
    + l0 r& C. q- j' H2 ?
  1200. ; http://php.net/mysqli.allow-persistent% x# U$ V2 d/ n# H
  1201. mysqli.allow_persistent = On
    5 j* p5 l/ G4 h( j& S

  1202. ' ?+ T! N' m% Q- Y
  1203. ; Maximum number of links.  -1 means no limit.
    . Y1 b2 v& L" I( E
  1204. ; http://php.net/mysqli.max-links" M  E' ~9 A9 r8 N. r+ j
  1205. mysqli.max_links = -1
    6 d/ s% j0 o' ~0 |& C
  1206. 6 t# Q& b$ \% w! Z
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + [9 b/ d! A4 @7 [" Y
  1208. ; http://php.net/mysqli.cache_size0 E; o* z3 \& [' ]
  1209. mysqli.cache_size = 2000) Y4 {* d$ e' D

  1210. ; n" A) }7 S7 _' `" l5 A! o: c
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use# }, |0 F! Z7 e2 ]; o; g
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 n7 k' d/ M( ?( @0 W
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look9 q% r; B7 k* z
  1214. ; at MYSQL_PORT.
    ' Z0 U1 R. }9 X% g* B; \
  1215. ; http://php.net/mysqli.default-port
    6 _1 z; [3 [5 m3 U; y- t) i
  1216. mysqli.default_port = 3306/ l8 G& m& S8 q# _$ O

  1217. 5 T8 m! H) h1 Y/ ~- O$ R
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in  y7 s, A9 u* s5 S
  1219. ; MySQL defaults.
    $ m. x. _2 L: X  f. _
  1220. ; http://php.net/mysqli.default-socket
    & z( r! r$ |0 [! j2 g
  1221. mysqli.default_socket =9 R, b) D2 A* o) H% A! S& c5 i
  1222.   Q1 \8 i4 F% B2 b# S
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & z. P/ d1 m6 s
  1224. ; http://php.net/mysqli.default-host
    ( Q9 w/ ]# r2 |& A, T, o
  1225. mysqli.default_host =
    & x8 J8 n& k" x$ Z* ~
  1226. : I: O6 P: v  c& p6 _( \
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).! Q4 |4 F4 @/ w- F; \4 J+ V
  1228. ; http://php.net/mysqli.default-user. k9 n, M, E! B. U2 g& p: P- q
  1229. mysqli.default_user =# ?5 {# r2 p% q
  1230. 0 G. @( U3 F) \; F, t
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).4 H* R8 H$ h( o3 J* P) n; X
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    * d; @1 q( t- R+ q4 C7 @" G4 }' f
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    . a) A: F* d. A& h3 [: r# l6 ~
  1234. ; and reveal this password!  And of course, any users with read access to this
    & [6 ?+ z! r0 X7 x
  1235. ; file will be able to reveal the password as well.* w5 @8 b! l: R. I. L
  1236. ; http://php.net/mysqli.default-pw5 f) a' @' ~: `) i. ^; j. @
  1237. mysqli.default_pw =  E. W, _: R1 i
  1238. ) b! P1 n. g3 A  ]& w' b. q6 P
  1239. ; Allow or prevent reconnect" O) E) R3 @; m, _3 f$ {+ f9 K
  1240. mysqli.reconnect = Off
    - z1 y; r. a: M% X
  1241. 6 @/ c  v! j# G
  1242. [mysqlnd]
    * A* s7 W* ^3 Z- |* I: A! s: h
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be" j) A& H# d* h: d# i3 m; H+ x
  1244. ; used to tune and monitor MySQL operations.7 \/ P; J% k, s- s6 P5 r  l
  1245. ; http://php.net/mysqlnd.collect_statistics3 f' E5 c3 j; y4 E8 j
  1246. mysqlnd.collect_statistics = On
    6 g( E4 k& f1 M1 g+ I

  1247. . q% R- M4 y( p- y4 e# G
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- A- t, G* M' O! D$ \
  1249. ; used to tune and monitor MySQL operations.
    ' o! c; F; X& r- H8 s0 E
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; d5 i  S  S# @& C' l
  1251. mysqlnd.collect_memory_statistics = Off
    ! p5 f0 F2 J* f
  1252. : _% C9 D7 ]% j/ J( ]- B4 D
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    2 ^; G6 O# r# B) }, g& Q9 u& D$ V
  1254. ; file.) z$ g9 O, K% u
  1255. ; http://php.net/mysqlnd.debug
    8 H4 t" X0 G. m2 Z3 ^# r  ]' M
  1256. ;mysqlnd.debug =: }1 ^) Y, R5 r4 ^. o# z
  1257. ' @# U% y: Z( s  K# W
  1258. ; Defines which queries will be logged., v) Q1 g! e  O. s. C7 M. E
  1259. ; http://php.net/mysqlnd.log_mask4 r! u3 ^( }5 I
  1260. ;mysqlnd.log_mask = 0& P# }' D' E1 G: ~: b# ~4 e
  1261. " p9 ~* K- Y3 m& o; k/ g& V# W
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; \; O, _/ k; Q7 |" {- U! L2 R- }' A
  1263. ; http://php.net/mysqlnd.mempool_default_size
    7 V: K9 H. R4 [, z, \
  1264. ;mysqlnd.mempool_default_size = 160008 q0 {& `1 k8 h7 A' u

  1265. 8 v) \) L) v8 I- U
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# ]7 e7 e" f: A' |5 B: @
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    / Q' t& u6 P, D3 G8 h) \. \. A7 K
  1268. ;mysqlnd.net_cmd_buffer_size = 2048" T% u7 g; M% G0 z0 a) u  W' Y

  1269. ) v$ O1 j5 T& [
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" M( H& m( K# b0 G& o# i" J! V
  1271. ; bytes.+ k# X2 ^; [4 I- X5 W
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    , f( X% f+ ?* _/ e. _6 i  N( Z
  1273. ;mysqlnd.net_read_buffer_size = 327687 m. y* l5 [+ p9 D0 h

  1274. & |, E- p  [! `
  1275. ; Timeout for network requests in seconds.
    - v8 _% F$ ~4 W! ^/ r8 S% p
  1276. ; http://php.net/mysqlnd.net_read_timeout. n- P) M6 u: O3 E  ^: f- ]
  1277. ;mysqlnd.net_read_timeout = 31536000
    0 h9 [- Q" V9 G$ P' ]- |# Q  d
  1278. : Q" I3 l4 f; e
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 S' s9 V/ h9 M6 O  I
  1280. ; key.
    9 c6 q  i. x! y0 j- J
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    7 @: H5 `1 _8 {" u
  1282. ;mysqlnd.sha256_server_public_key =7 H: B! N5 x# g+ o3 x! r2 K' q

  1283. ! y  ^1 K# o6 [$ g
  1284. [OCI8]
    5 `, W" A  W" x$ T% Y) h9 f& D
  1285. 0 t; f1 i6 y  a
  1286. ; Connection: Enables privileged connections using external
    ; n* h" e- X3 s0 `, @6 t
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    , N6 m+ q, D( O5 O
  1288. ; http://php.net/oci8.privileged-connect9 ]& j' M% Q; k, l
  1289. ;oci8.privileged_connect = Off! a6 z& @5 }- L) H- a& }; g) a3 _

  1290. & S2 m, Z, n) y6 w3 d* ?
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    3 h8 c/ @, \0 C4 b
  1292. ; process. Using -1 means no limit.
    3 I1 U0 M3 P' l/ ~7 s6 i0 x
  1293. ; http://php.net/oci8.max-persistent
    2 S: O( G1 |3 @. S$ K: n
  1294. ;oci8.max_persistent = -1& p7 Z9 H; R2 T

  1295. & f& e% b, [8 i0 c( ?" B8 Y1 v
  1296. ; Connection: The maximum number of seconds a process is allowed to
    8 R6 m; T8 d% Q0 x! U5 b8 u
  1297. ; maintain an idle persistent connection. Using -1 means idle
    7 e4 Z5 k3 m- D5 w9 c0 N# m7 d
  1298. ; persistent connections will be maintained forever.
    # `2 J' \" o7 f/ w" }
  1299. ; http://php.net/oci8.persistent-timeout( A0 W6 {$ N% `& x7 p/ ~
  1300. ;oci8.persistent_timeout = -1( D! E1 i: m  {/ u2 {5 ]
  1301. , M3 c0 h2 Y9 J6 h& X5 p; ~' A
  1302. ; Connection: The number of seconds that must pass before issuing a
    * \& o3 h* Y9 g* A# d$ ^. i: P
  1303. ; ping during oci_pconnect() to check the connection validity. When+ h. a9 Y6 r8 l% K
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% e: F; F' n; S8 d5 |4 n
  1305. ; pings completely.
    ; S$ O0 T+ O/ f2 i' O) n2 k( e
  1306. ; http://php.net/oci8.ping-interval
    2 e3 r$ k' @% K
  1307. ;oci8.ping_interval = 60
    . x+ r; w, W( u9 d- A3 X

  1308. ' }2 r* p( [  R! j  m- S, `
  1309. ; Connection: Set this to a user chosen connection class to be used
    - ^* Z! q, o+ }- ~
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    $ M; k- k* P8 s$ M# |6 u9 j
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' S) F; [7 Z' z/ V6 E2 A& p1 {
  1312. ; the same string for all web servers running the same application,: t+ _% y% O& F5 T5 S, r
  1313. ; the database pool must be configured, and the connection string must
    8 |" ^. x0 q9 U" X
  1314. ; specify to use a pooled server.
    7 F' C2 |5 W4 c# }1 `% k
  1315. ;oci8.connection_class =" I; D3 P2 ^* C
  1316.   i. W, I* V2 B  L
  1317. ; High Availability: Using On lets PHP receive Fast Application
    , r3 r- Y; q3 l
  1318. ; Notification (FAN) events generated when a database node fails. The
    * P* l2 @# S5 v: ]) @0 \& X
  1319. ; database must also be configured to post FAN events.; L5 i- V+ a/ [1 x  u  A& F9 }
  1320. ;oci8.events = Off6 l" o9 B+ F& f" f9 h; b
  1321.   Y# w2 B+ Q1 P1 E2 d; m& Y
  1322. ; Tuning: This option enables statement caching, and specifies how2 _* K& L! l- Z# I% z! N' G
  1323. ; many statements to cache. Using 0 disables statement caching./ Y3 l% L+ T( D# R1 A7 G0 \
  1324. ; http://php.net/oci8.statement-cache-size
    & P5 R! r+ D/ H6 r
  1325. ;oci8.statement_cache_size = 20" L0 n$ B, g9 f! }  V" b% L: @2 y2 a
  1326. 5 R4 V- I) P7 p, q! W
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ! W& l' @5 `: M  S
  1328. ; rows that will be fetched automatically after statement execution.9 k0 a- P5 Q5 q* K1 C2 F  t
  1329. ; http://php.net/oci8.default-prefetch# k2 o! D  [7 F& j5 k* S6 P
  1330. ;oci8.default_prefetch = 100
      X6 n' f6 {) Q) b# K

  1331. 8 i; X- f9 f$ w' r' A
  1332. ; Compatibility. Using On means oci_close() will not close
    & j! n% r' X! `
  1333. ; oci_connect() and oci_new_connect() connections., Z5 u* V$ T# J) q
  1334. ; http://php.net/oci8.old-oci-close-semantics
    . A, d! [  q3 A, S& _
  1335. ;oci8.old_oci_close_semantics = Off
    $ W* v& e. Z3 ~- ~

  1336. 6 a! w$ M8 d* t( r3 S/ h" T* Z
  1337. [PostgreSQL]
    / ~( E. Y. M$ R7 @, ^3 e
  1338. ; Allow or prevent persistent links.
    5 Q# f: d  _/ q0 N. O% M* q
  1339. ; http://php.net/pgsql.allow-persistent, U  W( W# E$ \; m7 k
  1340. pgsql.allow_persistent = On
    " q1 ~: R0 J6 P
  1341. ; r, t9 g6 A5 J" C, f! t1 K
  1342. ; Detect broken persistent links always with pg_pconnect().: I- H' Y8 ]% t, q/ p8 h8 t
  1343. ; Auto reset feature requires a little overheads.
    / D, R8 ^  b9 `  k* o) n, `
  1344. ; http://php.net/pgsql.auto-reset-persistent
    , A- b# l% D" S5 H) N# ?# [) ^0 c
  1345. pgsql.auto_reset_persistent = Off
    5 ^' D) T, I2 c5 @6 b

  1346. 3 Q/ l: [# q/ `6 U
  1347. ; Maximum number of persistent links.  -1 means no limit.
    $ V3 U' w: ^$ C) Y2 E
  1348. ; http://php.net/pgsql.max-persistent0 D4 n; u9 O: D  r5 j( @) a, ^
  1349. pgsql.max_persistent = -1
    . o; U) h4 ?* X2 T, y* f' z& G

  1350. " l, i8 H6 \& u+ R  C' p
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; [  u; f/ a0 m/ N7 U: a( }# h; Y$ r
  1352. ; http://php.net/pgsql.max-links
    % T8 q* R% E, v  U  P% ]
  1353. pgsql.max_links = -1
    & H( ^7 n2 e  e" k$ M, m
  1354. . ^. m% n6 \' j. d
  1355. ; Ignore PostgreSQL backends Notice message or not.
    4 ?4 w  D. ^8 Y/ J3 P2 ]
  1356. ; Notice message logging require a little overheads.* T$ s7 L# I8 B+ Z9 D. d/ n
  1357. ; http://php.net/pgsql.ignore-notice+ ?% z. W4 Z9 S& S0 {
  1358. pgsql.ignore_notice = 0
    1 u" I# L7 S2 o: u$ O/ t
  1359. ; K' f  o, A/ h4 T' y% t
  1360. ; Log PostgreSQL backends Notice message or not.% L8 A* J6 f) O  ~
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    . G1 s1 Y, J; T4 d& d5 v- ^8 q
  1362. ; http://php.net/pgsql.log-notice
    5 x& w" K* D% f5 S* g9 L1 @8 ]6 Z
  1363. pgsql.log_notice = 08 ?& y, S+ [; k3 Z" A5 |. ]( n& G

  1364. 1 O3 D/ t) B3 u+ d: _3 g
  1365. [Sybase-CT]3 z/ S7 {& G5 B1 ^: w& ?
  1366. ; Allow or prevent persistent links.
    $ I# P( H8 n% g$ c* h& B$ W
  1367. ; http://php.net/sybct.allow-persistent* \& }$ L+ w" z6 ]7 c/ X
  1368. sybct.allow_persistent = On/ \: @1 G4 E, t' m- }
  1369. 3 Z" f+ ~, d9 K$ a# C. `) C
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 V; z1 j, d+ ~) {" i% J
  1371. ; http://php.net/sybct.max-persistent
    7 k8 y7 ]0 f6 _) A$ ]' S/ C/ i7 W! d" r
  1372. sybct.max_persistent = -11 ^' Z1 x( i1 |5 r4 _
  1373. , Y% u/ w( |. v9 F* x2 a: K
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ L6 f4 M# x; D2 e! C! U
  1375. ; http://php.net/sybct.max-links4 D6 J# X5 {# R% ?% m3 p
  1376. sybct.max_links = -1- W* h" V) J- M# {
  1377. $ F0 C/ Y& F) v5 |. g# c1 A
  1378. ; Minimum server message severity to display.! p, d% o1 Z! ?& h6 {
  1379. ; http://php.net/sybct.min-server-severity
    $ V& q/ J! ~1 e8 R  I$ e' T
  1380. sybct.min_server_severity = 10
    " c) X, {. X$ \4 {# q' T2 C
  1381. 4 r* G" ^' s6 q3 e4 y
  1382. ; Minimum client message severity to display.
    * m2 H8 T$ G) G5 b, X7 i
  1383. ; http://php.net/sybct.min-client-severity. G- p0 I* i( j. u
  1384. sybct.min_client_severity = 10% W  ^: `; l& {! f, _7 b' W* P& I

  1385. ( b2 t% ^, u, H
  1386. ; Set per-context timeout
    $ j9 a, a4 B* o5 B) B
  1387. ; http://php.net/sybct.timeout* q$ E1 e2 N! M4 s3 g" r
  1388. ;sybct.timeout=( c0 z0 S' ^8 R: h- K! ~" Z9 N

  1389. ! D" Z& h7 n  Y6 V: E; K4 F
  1390. ;sybct.packet_size+ j  q7 L# C: H1 T3 n6 J
  1391. 3 B8 q$ M, {5 f: C2 f3 N
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.- {, Q0 Z$ f. H' o% X" I
  1393. ; Default: one minute
    : q5 C* q- y8 u9 G$ X4 C- |
  1394. ;sybct.login_timeout=. E0 Y' J3 h4 U& }/ J0 ~7 c& P

  1395. 2 g7 m) [  Y/ Y8 G- c
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.$ P8 ]: R& e0 g, J
  1397. ; Default: none/ s/ a. f$ ^! V! ?: h7 G
  1398. ;sybct.hostname=
    % O# ?5 ]2 b$ m: Y; S* \% h

  1399. ( I5 c% G, H4 U" ^8 h& x( s
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    1 w, j* h3 Z8 P" V  K0 Y& H1 f
  1401. ; Default: 0
    # c, O: d, p. ?" n! T/ E7 V
  1402. ;sybct.deadlock_retry_count=9 y2 V  M- F; j! e9 g. b& t

  1403. ) b. s4 o" ?5 p( S5 {( G4 N& A7 e. ~
  1404. [bcmath]/ F8 L7 R. A$ X) V; T; w5 P
  1405. ; Number of decimal digits for all bcmath functions.. {' u; k; P$ i: Q4 y% m& W
  1406. ; http://php.net/bcmath.scale
    8 T, G9 a& F6 T1 [/ `. U0 C- m! H4 z
  1407. bcmath.scale = 0
    1 p: j7 o' [: Q" D% p, i1 u
  1408. 5 S* z6 v: X5 k- W( X* w1 t0 `6 B
  1409. [browscap]8 V! x" U% o. Y/ a  D" }
  1410. ; http://php.net/browscap
    ! B. `0 \5 U1 {: H- X/ a( G& ?7 x
  1411. ;browscap = extra/browscap.ini; z, m% f  c) ]& H, s" e; E
  1412. 6 L1 U/ l+ C- X& G
  1413. [Session]
    8 s) ]' G9 `5 h7 W
  1414. ; Handler used to store/retrieve data.5 K- Z$ `7 T% ]. j" X3 J( @
  1415. ; http://php.net/session.save-handler
    : a% Q0 z8 H$ \) d
  1416. session.save_handler = files
    " d" h9 g* ~3 F% N! k( v4 y0 v
  1417. " I& g& i7 Q. R
  1418. ; Argument passed to save_handler.  In the case of files, this is the path/ X( c# D4 U6 ~( b; W
  1419. ; where data files are stored. Note: Windows users have to change this; _0 a/ l0 S/ y
  1420. ; variable in order to use PHP's session functions.4 x4 `# [" V$ ]" _8 b" ?
  1421. ;
    # Y" d4 T  z$ m2 X5 x$ Q! W' u3 |
  1422. ; The path can be defined as:
    7 ]3 T1 ^$ F( p! U; I
  1423. ;$ F0 S. W6 }4 w
  1424. ;     session.save_path = "N;/path"! L% T& K8 v' @; ^! `  ?
  1425. ;
    4 V: j$ x5 h. `+ Z: \+ {
  1426. ; where N is an integer.  Instead of storing all the session files in) n; P0 c( c, ?* o2 t
  1427. ; /path, what this will do is use subdirectories N-levels deep, and5 M' k, p7 Q1 C( T; i
  1428. ; store the session data in those directories.  This is useful if+ Z6 K) l* O& R9 R* B7 u. n
  1429. ; your OS has problems with many files in one directory, and is
    * g- _7 X6 i: f
  1430. ; a more efficient layout for servers that handle many sessions.
    7 l$ j! B: f4 w8 o6 b
  1431. ;% p. J7 _- l2 e+ |! l" |
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ' n7 b, x: m, X9 P- x2 j; S/ M
  1433. ;         You can use the script in the ext/session dir for that purpose.
    7 R: A9 O4 ]0 n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    / @. ], R8 S( \* E! v
  1435. ;         use subdirectories for session storage
    " H, t% B0 T( Z& A3 t7 E- H) G+ _
  1436. ;; F7 h9 H! @, {, d7 g
  1437. ; The file storage module creates files using mode 600 by default.- w: w# K: w, W& B5 T
  1438. ; You can change that by using
    . k( Q/ R* n1 g7 y0 r
  1439. ;
    0 G2 K& I, ]* L! D
  1440. ;     session.save_path = "N;MODE;/path": e: H& J4 ?2 G  i4 d! ]
  1441. ;! K, c$ ~( c0 l0 l, K) ?2 n5 f2 Q/ r
  1442. ; where MODE is the octal representation of the mode. Note that this
    # A6 {1 g1 f( }( i" V, U3 P. J
  1443. ; does not overwrite the process's umask.
    0 c3 w" g" J0 ^: s5 U& O( j( q
  1444. ; http://php.net/session.save-path" M1 b2 L" I7 `- [
  1445. ;session.save_path = "/tmp"# t% {8 M; _# Y# |+ |0 s

  1446. : e" L  k3 ^0 o# e/ U
  1447. ; Whether to use strict session mode.8 U9 ~3 L; n2 B
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    5 M- z( ]9 K) }: ~
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    8 f+ X1 l+ d6 F/ v. k& \
  1450. ; applications from session fixation via session adoption vulnerability. It is# L0 S, M- J  P( T5 q
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.. H8 z# v1 D1 |# y
  1452. ; https://wiki.php.net/rfc/strict_sessions
    & J& h0 Q$ E, t- M
  1453. session.use_strict_mode = 0
    # P3 w% v- Q& _- _) f, u- }7 z& C  I

  1454. * T9 @1 J+ E# ]/ a. r9 k
  1455. ; Whether to use cookies.7 z) @' B- I/ g8 I) X5 N- a
  1456. ; http://php.net/session.use-cookies0 ?% O# b% l) o6 E9 i: w* T8 n, n8 U
  1457. session.use_cookies = 1* F* R& L/ y  \; Z0 _4 U: @9 D: p

  1458. / A. F/ V1 \: f* P" N
  1459. ; http://php.net/session.cookie-secure: w8 ~7 ]" c" N' i/ k* V+ G6 z! @6 Q
  1460. ;session.cookie_secure =* }! J$ u2 [( Q4 u: i& Y/ e& q2 I

  1461. ; S  o  y5 |  Y! F3 l
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % u( Z& f0 C3 W% `
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    1 x; _% A0 b) F% e
  1464. ; session hijacking when not specifying and managing your own session id. It is( |1 n7 [9 K2 U* _
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    $ K  ]) k* X  X: N$ l
  1466. ; http://php.net/session.use-only-cookies
    - Z) B; g: y7 S9 J
  1467. session.use_only_cookies = 1$ V' M, z- s$ C  p
  1468. . N% i( `" n% {
  1469. ; Name of the session (used as cookie name).3 t1 O& h1 I. p! h
  1470. ; http://php.net/session.name
    ; V- z0 ~0 N8 ?0 P* Q3 m2 d0 c4 R
  1471. session.name = PHPSESSID/ G4 F% E; v# ?' z1 c
  1472. ) d* y" K) y( t( L# h
  1473. ; Initialize session on request startup./ s2 \! I, Q/ b+ Z1 n  y# e
  1474. ; http://php.net/session.auto-start; b: E1 j1 T2 ~. \6 O
  1475. session.auto_start = 0! v/ T5 e3 O  E7 t) c, c) |

  1476. 7 g: {) u( v: N& O  W. ]
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ! Z) b. g% Y: g) t" g! X
  1478. ; http://php.net/session.cookie-lifetime; N4 y0 ~, x% N$ M0 I: l! C' `
  1479. session.cookie_lifetime = 0
    3 C6 m5 H* H, P3 s
  1480. ' C' y0 J. ]+ `" O
  1481. ; The path for which the cookie is valid.
    7 A5 V7 E" B# Y- D- _3 k2 X
  1482. ; http://php.net/session.cookie-path; l" R* v6 h/ @0 l' z( W
  1483. session.cookie_path = /2 d% H5 p9 p8 U8 a+ j

  1484. 3 R/ `* x( ?) v( E9 }
  1485. ; The domain for which the cookie is valid.0 H/ |4 G( h" k% r
  1486. ; http://php.net/session.cookie-domain
    " I2 x" L. Z' Q! a, f( l$ ?" f; `
  1487. session.cookie_domain =- i* E7 c$ P- F
  1488. * V* }$ L  J% n
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    " C; i1 ^/ g5 P8 {
  1490. ; http://php.net/session.cookie-httponly7 u& q7 I4 [0 P, e
  1491. session.cookie_httponly =) f5 w. N8 |. ]% |1 v) c5 C1 \
  1492. ! @% _; H* A. \2 W8 O9 ?
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + Y" R7 i0 i3 l
  1494. ; http://php.net/session.serialize-handler
    + }& U* t) J4 D  ?" d% P7 o
  1495. session.serialize_handler = php
    * A/ H& M: W! m* u% x+ m
  1496. 3 J3 k9 |1 p0 _2 E/ @
  1497. ; Defines the probability that the 'garbage collection' process is started5 p- g) S# ~2 {9 E
  1498. ; on every session initialization. The probability is calculated by using) |- q$ H3 B8 }) g  P
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 G8 |( _5 f8 b! k, J
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 13 Z8 V& n! ~5 p1 g: Y6 _; {
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% m/ S1 j, W8 S2 e
  1502. ; the gc will run on any give request.$ P$ ^4 m) M1 d6 a
  1503. ; Default Value: 1
    + F7 M, {1 \+ z8 X8 {. @  _
  1504. ; Development Value: 1
    1 g" C5 L3 F6 ]2 I. Y8 {
  1505. ; Production Value: 1
    9 g5 J. [( b6 h) S& ^5 \
  1506. ; http://php.net/session.gc-probability
    ) o# y0 y1 `/ h; z
  1507. session.gc_probability = 1
    # N$ E+ h' w( h

  1508. + L- V4 o' H1 I% q: F8 ]6 _
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ) m7 ~9 T( Q/ b  V8 P  _
  1510. ; session initialization. The probability is calculated by using the following equation:# E0 V2 V. z# L
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    2 x5 z% N$ {/ @' e- b' y
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    , v% c- o0 x0 j- _: e, W4 t: V% q$ Y
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( o* v; _/ N2 W. ^
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    8 O) ^7 ^' [. _( `' D
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,$ l  G3 S; V1 r% I/ @- ?9 t9 i# L
  1516. ; this is a more efficient approach., _  \8 Y) T8 Z: h7 A0 S- v0 H
  1517. ; Default Value: 1000 ?6 i: I( g' u  s: L4 Y
  1518. ; Development Value: 1000
    " S# @/ F; Z) _# v/ E& m. r
  1519. ; Production Value: 1000
    5 k3 C% `3 ?2 B$ w
  1520. ; http://php.net/session.gc-divisor2 f# \$ E- e  Q
  1521. session.gc_divisor = 10000 L1 H' d1 d; s+ p& F3 N2 J1 q

  1522. ! O  L/ i' @- @) G* b2 K
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    % g+ f  |4 Q0 Y0 T5 f
  1524. ; cleaned up by the garbage collection process.) J: L/ L2 k2 d" S' N" [7 k; a2 M
  1525. ; http://php.net/session.gc-maxlifetime
    $ F- s* i! H! M& B. R: I
  1526. session.gc_maxlifetime = 1440
    ( n5 C- M! ]% e9 U: R$ u8 H

  1527. * W. y* Y3 y9 ~! g0 o! w( ]
  1528. ; NOTE: If you are using the subdirectory option for storing session files) h% Q4 ^" J( I  v
  1529. ;       (see session.save_path above), then garbage collection does *not*1 z$ W' M, _6 K$ Y1 \$ j
  1530. ;       happen automatically.  You will need to do your own garbage7 h% s+ n! P2 B& R$ I& ^1 c
  1531. ;       collection through a shell script, cron entry, or some other method.
    1 Y. w) k' T# ?
  1532. ;       For example, the following script would is the equivalent of8 D/ Q" Y6 @0 X6 c' G6 e8 D3 [4 |) ]
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    $ l/ t, r2 g/ i
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    $ I" ?% Y* j( _

  1535. - u2 M3 e- [( A$ m4 w" G: d. q! E
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.& k& s3 S( H0 n7 h- B
  1537. ; HTTP_REFERER has to contain this substring for the session to be
      O+ T  t4 o) |+ G
  1538. ; considered as valid.
    - F5 c) }' M  [+ ^/ u- S" ]6 q. ]
  1539. ; http://php.net/session.referer-check
      v: k+ c- Y. t2 \7 D& h9 }% B
  1540. session.referer_check =& K, T, K5 a' Q9 d1 u9 K# b

  1541. " a  H( t4 Z1 o+ j
  1542. ; How many bytes to read from the file.
    ) C4 e0 F9 U; t' T1 X+ L9 y
  1543. ; http://php.net/session.entropy-length
    % ^* B  `, {# u# F4 W; G
  1544. ;session.entropy_length = 32
    : b) {' a$ i, D2 s8 n

  1545. . Q' C  s! a  {- T" s6 n$ f1 w
  1546. ; Specified here to create the session id.
    & n" K  A+ S+ I2 l) M0 h
  1547. ; http://php.net/session.entropy-file, M( x" c9 Q6 e: K/ k
  1548. ; Defaults to /dev/urandom, s- T, t' C) F0 }$ d# s
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " z4 Y/ {1 o% U! |! K
  1550. ; If neither are found at compile time, the default is no entropy file.  D9 Q2 ], E$ p+ l
  1551. ; On windows, setting the entropy_length setting will activate the
    1 ]. E+ H6 t; X" }
  1552. ; Windows random source (using the CryptoAPI)$ ~3 o- V9 W5 z7 D+ G7 O" A" v
  1553. ;session.entropy_file = /dev/urandom
    : |( X* R) M" x; a
  1554. * V! l3 b% E8 ]! P! O/ C4 X
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    / p4 X3 w0 l: a. p- b
  1556. ; or leave this empty to avoid sending anti-caching headers.
    $ g5 h- B8 N, C8 u* h( W
  1557. ; http://php.net/session.cache-limiter$ P$ I1 q4 F. ^
  1558. session.cache_limiter = nocache
    # Z! r* {# B7 Y6 d! k' A
  1559. : J9 N9 C" ]8 f: r. ]
  1560. ; Document expires after n minutes.6 p% r  [- t9 L% l" u- k8 x& T+ r& N/ B0 V
  1561. ; http://php.net/session.cache-expire
    9 K& B1 ?, @% x  I5 t, J
  1562. session.cache_expire = 180
    ' Y' E. ^9 y9 c+ V5 A9 J# v
  1563. - G: X: u1 f; Z. Z
  1564. ; trans sid support is disabled by default.
    ! u+ ^# E5 b8 E* N" b  S( V' U+ B
  1565. ; Use of trans sid may risk your users' security.
    ; s' P% z' O! R9 \) [
  1566. ; Use this option with caution.7 o5 N. k3 k# U) B! s5 P# A9 B# u
  1567. ; - User may send URL contains active session ID- |$ `2 L. ^$ G' ~; {* h* d
  1568. ;   to other person via. email/irc/etc.3 X" I' k) F: E3 n+ ?4 K1 ]9 t
  1569. ; - URL that contains active session ID may be stored% }! p# L; i) `; s. F5 }  \2 R
  1570. ;   in publicly accessible computer.$ i7 U# Q- d3 t$ a5 y# u
  1571. ; - User may access your site with the same session ID
    / _2 o/ H7 L- c
  1572. ;   always using URL stored in browser's history or bookmarks.
    # V2 |, w5 J6 S, d
  1573. ; http://php.net/session.use-trans-sid
    ! u* r5 E$ @% p* K8 J: h, `* C
  1574. session.use_trans_sid = 03 L! j) `; [/ d" }2 Y5 f/ n  ~6 a

  1575. & W5 u' j: ^1 a, P! Y
  1576. ; Select a hash function for use in generating session ids.3 q* k8 @9 Y+ x/ G
  1577. ; Possible Values: X" M! t7 z  D% @( r9 ?
  1578. ;   0  (MD5 128 bits)
    7 S; J% Y, R7 J$ a) F; h
  1579. ;   1  (SHA-1 160 bits)! L; A) t' E0 a* r( x  x
  1580. ; This option may also be set to the name of any hash function supported by
    * F# i  y3 |! L, p& B# x! N
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    $ J/ \: T0 Y# C* D2 T
  1582. ; function.; `/ M+ j! {/ P  C
  1583. ; http://php.net/session.hash-function
    + Z6 _% l& @  Y) W
  1584. session.hash_function = 0
    1 p( N' w- J7 z1 u+ t1 l/ p2 s

  1585. 8 J# @# h: H( ?
  1586. ; Define how many bits are stored in each character when converting
    8 _$ a7 @) c9 _+ {
  1587. ; the binary hash data to something readable.
    . E, {" }& {, M
  1588. ; Possible values:+ U! ~/ Y/ e( b- k" F
  1589. ;   4  (4 bits: 0-9, a-f)- P  j& F- ^* B* k
  1590. ;   5  (5 bits: 0-9, a-v)
      \) X. f' D) t5 z
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* X" {" g) ?1 p# ~8 }1 E
  1592. ; Default Value: 4) A  w! t& B3 \, _
  1593. ; Development Value: 5' P- Q, b# F6 ~& c* R9 t9 o
  1594. ; Production Value: 5
    2 m$ b0 B* [% U( x+ q
  1595. ; http://php.net/session.hash-bits-per-character
    ' L; M) Z9 Q9 ~% d4 q
  1596. session.hash_bits_per_character = 55 D6 L# u2 W$ l2 |9 {

  1597. 9 Z& ?6 l& S4 u; ~6 [. Z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    - s, Z, U4 n0 M4 g5 F: T
  1599. ; form/fieldset are special; if you include them here, the rewriter will* ]$ C0 a* M- f" o. ]/ i
  1600. ; add a hidden <input> field with the info which is otherwise appended! v: W/ Y' R! j4 {% u* q
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; X& b( v- S4 Q, i& t! }2 s
  1602. ; Note that all valid entries require a "=", even if no value follows.
      s2 p) i' @; _2 J4 c0 v8 k
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 t  [+ c% i) f7 ~: f' @
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ ]3 d! H' ?/ C0 {' g
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , w: D/ z* [9 @9 T, ~
  1606. ; http://php.net/url-rewriter.tags# {% T3 }# W2 ]$ @# E; B* x
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    % j* E0 o8 E9 B9 M5 h) a. B3 t6 \
  1608. 1 z' v" _' [+ s% z* F8 z3 c
  1609. ; Enable upload progress tracking in $_SESSION
      ]2 k* j: ?  S. ?" z
  1610. ; Default Value: On
    6 r6 b0 Y" s: D
  1611. ; Development Value: On
    5 U6 p: m7 N* ^* H. R- a
  1612. ; Production Value: On3 M" v; V" F2 `
  1613. ; http://php.net/session.upload-progress.enabled6 ~* r4 o, S: i& A' L1 v
  1614. ;session.upload_progress.enabled = On( G1 e$ M& V. M- \) l& W
  1615. ' J0 i4 P9 P* _5 w. H
  1616. ; Cleanup the progress information as soon as all POST data has been read
    % @, F& l/ j, i8 D. P
  1617. ; (i.e. upload completed).5 L+ X( e9 U, O, S1 t" T, L1 Z0 C2 j7 j
  1618. ; Default Value: On
    & z/ u: r' ~6 ^" S+ ^
  1619. ; Development Value: On" I; O5 J+ Q, p5 A0 D9 m
  1620. ; Production Value: On/ U( Z) c7 a0 u( a
  1621. ; http://php.net/session.upload-progress.cleanup
    & ~5 g8 H" r0 G
  1622. ;session.upload_progress.cleanup = On
    6 H& J9 @; c( Q  [$ J
  1623. 7 i0 ?+ ~9 l  P5 W: y: _
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 J* i( K. S% n8 \; X
  1625. ; Default Value: "upload_progress_") p. R; b4 J- e7 T: U
  1626. ; Development Value: "upload_progress_"1 ^3 w! T! f/ ?9 F- M3 i
  1627. ; Production Value: "upload_progress_"  S% O, w( X1 g5 q2 |, {8 W
  1628. ; http://php.net/session.upload-progress.prefix, o3 A4 x6 \+ d7 ^2 X8 L% m4 o
  1629. ;session.upload_progress.prefix = "upload_progress_": B! u8 ~1 ~" o, U6 Y5 E

  1630. 0 K' ~" b" d* E. \1 `3 s) j8 l; c3 R' m
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ; O2 o0 v1 u! n& d1 h/ A5 E
  1632. ; containing the upload progress information
    5 d; D# r9 W- q  n$ H/ Q8 v& a
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 _" L  B- k3 W
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ c  n- W; Z  j0 T# p& B
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / u9 |/ r0 _& [: |3 m1 F
  1636. ; http://php.net/session.upload-progress.name
    9 n6 p& P0 {& D& e# T0 V5 m) B" W3 n( d
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    1 ^: |! R" o7 D2 x! U

  1638. 7 @( [) P( F2 H
  1639. ; How frequently the upload progress should be updated.
    8 y1 N3 W! X( z
  1640. ; Given either in percentages (per-file), or in bytes/ v8 R( H& E1 P6 k7 d
  1641. ; Default Value: "1%"
    $ a) ^8 _" B3 f& A1 }
  1642. ; Development Value: "1%"3 k3 ]( a# R+ ]* w2 V
  1643. ; Production Value: "1%"/ t3 {! ?7 I5 g
  1644. ; http://php.net/session.upload-progress.freq$ L  Y  K( B( X
  1645. ;session.upload_progress.freq =  "1%"2 q. M4 ~9 i7 y$ f& }! ~
  1646. # S& ~" S% F) H6 @) L4 e: ]
  1647. ; The minimum delay between updates, in seconds
    ' w- U2 U- g1 _! d" s: [
  1648. ; Default Value: 1) O, g( u( X4 }5 Y8 M- u& |
  1649. ; Development Value: 10 D' W$ }7 @% |6 R5 B
  1650. ; Production Value: 19 _4 R- e8 J% b8 w! ~& _
  1651. ; http://php.net/session.upload-progress.min-freq8 D4 ?& W. T/ o: E, j# t
  1652. ;session.upload_progress.min_freq = "1"
    5 u- p" T3 W$ F

  1653. # V$ R, D4 p$ j
  1654. [MSSQL]6 H6 q' J3 a+ c1 V; ^8 e
  1655. ; Allow or prevent persistent links.
    % V+ {7 y3 `1 V0 k0 c' U
  1656. mssql.allow_persistent = On6 S" C- ~0 k4 R+ \8 d" b9 c# {2 k

  1657. % u' w$ p5 C9 Z5 K9 ]
  1658. ; Maximum number of persistent links.  -1 means no limit.2 v3 s- ?5 S$ H) W
  1659. mssql.max_persistent = -18 d: B8 `7 n) M) ?
  1660. ( b( b  y) v: x1 V- y: F
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + n" k# K* ^  G% T
  1662. mssql.max_links = -19 f8 P* D* \+ s# B# v

  1663. ; _$ G" G5 K. i0 r( [# T* ~! w
  1664. ; Minimum error severity to display.
    7 ~3 b/ [; K3 [, P5 a4 F
  1665. mssql.min_error_severity = 10
    . ]% ]) i3 {9 b8 r5 L& |- ^9 Z) o. A

  1666. 5 T. r. ~! R+ `, H- F; D
  1667. ; Minimum message severity to display.6 c) N6 s: s* V1 a
  1668. mssql.min_message_severity = 10
    7 R; j8 t# z$ W- x

  1669. , @9 e0 i4 H) v1 S5 q6 E
  1670. ; Compatibility mode with old versions of PHP 3.0.
    9 p# d6 F; T6 F2 t
  1671. mssql.compatibility_mode = Off
    2 C  Y) E. ]4 F9 E, k7 Y+ ?

  1672. 3 |3 \: b( ~/ ?+ S) G
  1673. ; Connect timeout0 Q; c9 X1 F) u4 `# a& ~: E+ `
  1674. ;mssql.connect_timeout = 5. }0 }5 Q5 q- W8 x2 @

  1675. 5 e! Y( R  }7 U; S
  1676. ; Query timeout
    - I$ n# B- I& n% T
  1677. ;mssql.timeout = 60' A' R" c: H+ K, r
  1678. 7 [3 ?5 S0 n0 c$ z
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    1 H) j# I7 l3 b5 B4 s! U7 t
  1680. ;mssql.textlimit = 4096! H7 J3 b7 u0 A) o7 Z7 X
  1681. " j8 T$ E$ ~2 n4 u$ p
  1682. ; Valid range 0 - 2147483647.  Default = 4096.6 h" `+ G! S( y! i, s) k1 A
  1683. ;mssql.textsize = 4096( W2 I0 M' e) B2 j( r, I
  1684. 1 N' a- X; ]( R/ K# c
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    . m" V" W$ L" o7 L% \, F
  1686. ;mssql.batchsize = 0* J( w$ ~7 b  u5 {. ~
  1687. 9 z- X) c# o0 X9 ^6 N6 _1 b; a. ]
  1688. ; Specify how datetime and datetim4 columns are returned
    4 _" W. k1 H' C0 |% b
  1689. ; On => Returns data converted to SQL server settings
    ) P7 c7 O* ?1 A* h( t9 E, ?" O6 r
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    " v$ \1 M. W3 o7 Z9 v
  1691. ;mssql.datetimeconvert = On
    / b& P) C  J$ I- J% L

  1692. " |& Z1 a7 [. c# |
  1693. ; Use NT authentication when connecting to the server6 O& q, n5 G  C2 p
  1694. mssql.secure_connection = Off) y5 [. d6 F0 V" _

  1695. * B9 `8 a+ w9 \' U. _# ?
  1696. ; Specify max number of processes. -1 = library default' N! X* I( O, }) I+ i$ K, M
  1697. ; msdlib defaults to 25: K- M( D/ D, B/ ~
  1698. ; FreeTDS defaults to 4096' m4 l7 U9 N6 n3 P+ _
  1699. ;mssql.max_procs = -1
    - C4 b1 P, A3 \) t
  1700. - B/ X5 w9 [! u9 Q. p0 Y
  1701. ; Specify client character set.6 X1 w) ~. L' G/ H
  1702. ; If empty or not set the client charset from freetds.conf is used
    . V# H+ \$ k# q" o3 o1 [
  1703. ; This is only used when compiled with FreeTDS1 Z2 u7 j9 f9 ^. R, X9 t
  1704. ;mssql.charset = "ISO-8859-1"/ n2 {; C' p- }

  1705. 8 P9 m6 n7 V! V* O1 E! m6 S) f* Y
  1706. [Assertion]6 M7 A0 |- c1 _9 W* s
  1707. ; Assert(expr); active by default.
    ' S. O+ e( J/ o! Q4 o  {/ O
  1708. ; http://php.net/assert.active6 J9 i) W; k: D2 u. }
  1709. ;assert.active = On
    1 m: v- O" i, b, O

  1710. 3 X, c- ?4 ~5 J; y! f
  1711. ; Issue a PHP warning for each failed assertion.9 f  j+ I$ ]4 T& M3 r1 ^1 M4 [8 ]
  1712. ; http://php.net/assert.warning
    4 v7 ?, q5 y/ q/ z4 n
  1713. ;assert.warning = On
    3 r/ b# e( R$ t5 v& N. C' V: T% R- }

  1714. " B2 ?: P* K/ y$ Q- j; }! c
  1715. ; Don't bail out by default.1 n1 e" `- ]: q9 ~* x! o! h2 v
  1716. ; http://php.net/assert.bail7 t9 q" C  ~7 W. }
  1717. ;assert.bail = Off
    - V/ O7 h% w  z

  1718.   H1 a# n# v* g4 L
  1719. ; User-function to be called if an assertion fails.
      T- e, V3 N1 E' J$ D8 v/ [
  1720. ; http://php.net/assert.callback
    / ]; r9 C% g* e2 o
  1721. ;assert.callback = 00 z' N+ ]# t  w$ h

  1722. ) P8 Z" S# t5 U8 g
  1723. ; Eval the expression with current error_reporting().  Set to true if you want* P  T5 L% q! r9 Y" `# f( r* p6 U
  1724. ; error_reporting(0) around the eval().1 p5 _& d2 d1 O4 t
  1725. ; http://php.net/assert.quiet-eval4 B5 g5 |5 V/ }* N6 o
  1726. ;assert.quiet_eval = 03 X8 s; Y% |. a5 q) I4 q# F

  1727. 7 R. D4 G7 t: n
  1728. [COM]1 D* n% H8 h, M% N- k% u; B  Q. [
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    $ B- x- e  Y1 t3 N
  1730. ; http://php.net/com.typelib-file
    2 V: i# Y2 c" K/ @; l
  1731. ;com.typelib_file =7 j( P$ [% r: C+ _

  1732. " D1 w/ P" u' S: w5 j! T* x
  1733. ; allow Distributed-COM calls6 b7 T: @+ W! s- z& Q6 |1 c
  1734. ; http://php.net/com.allow-dcom+ z( o3 n4 `# t8 j' z+ a6 o
  1735. ;com.allow_dcom = true: h# m4 a; ?. z6 G- c

  1736. 4 g9 ^: T% |; Y5 M: i
  1737. ; autoregister constants of a components typlib on com_load()
    7 B" s; z6 g4 y: s- S! h
  1738. ; http://php.net/com.autoregister-typelib
    $ T: ~# t- M2 u' R3 h3 B: r
  1739. ;com.autoregister_typelib = true$ B2 Q1 a/ K7 L2 q4 O: m) C* c

  1740. 0 P4 y, `- \+ |
  1741. ; register constants casesensitive# l0 C0 e$ d! F- L7 H
  1742. ; http://php.net/com.autoregister-casesensitive
    - p. _$ @8 K1 R6 D
  1743. ;com.autoregister_casesensitive = false  }, t7 q: s6 e' e
  1744. , J. h# S) |+ H+ I
  1745. ; show warnings on duplicate constant registrations" y& J% g5 h' O3 S
  1746. ; http://php.net/com.autoregister-verbose
    3 d& ]& M& K, F  ]3 x9 F3 D% l9 U
  1747. ;com.autoregister_verbose = true
    # S  c2 i, ^" _' e. I
  1748. " |! E1 D' u% r& x
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    7 r: q& g: }1 D" ]6 {
  1750. ; Default: system ANSI code page/ b# M  w7 g4 t& y- U
  1751. ;com.code_page=
    0 g' i4 q$ Q+ F) e

  1752. / P6 n) ^7 G5 F  y* s9 d
  1753. [mbstring]
    7 F; P' o7 S: ^8 t
  1754. ; language for internal character representation.
    ! @- `; g$ r7 }, T
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.+ l1 C( \* S; [% u5 v
  1756. ; http://php.net/mbstring.language
    ! d/ r& G# e2 w: A
  1757. ;mbstring.language = Japanese, o7 @$ n4 x! @& f
  1758. " g/ J+ T7 X* n! r
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 G3 W9 Y2 A3 _$ ~$ `
  1760. ; internal/script encoding.
    ( {, T# u: A9 q* ]" ^8 L' Z4 d# ]
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) {; D! S5 k; q+ ?& K5 ^, @
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ W' b6 |" S6 w8 [6 d
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% W; A( z  t7 V6 P  P
  1764. ;mbstring.internal_encoding =
    ) _" j5 \5 }- T# E

  1765. / k1 b2 r7 i- g' G
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * `- O. g/ C' R9 N7 G" X
  1767. ; http input encoding.' h  ]$ {7 _# x' d1 u' n7 ~
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    * Y6 Y5 O! e: z. q# c: V
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.; I5 ]. _% Y' r9 a
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input4 ?, c8 ]9 h1 y0 C
  1771. ; http://php.net/mbstring.http-input- {2 h9 T/ E2 z
  1772. ;mbstring.http_input =7 I8 C  P: K% f1 G& j; ]' S( t

  1773. * I8 q3 Q# A9 F0 w- X! j  M$ \
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 ~: i$ |% C2 o  ?
  1775. ; http output encoding.
    9 W2 Y% Q4 h' e. d
  1776. ; mb_output_handler must be registered as output buffer to function.
    * J% B1 F" ?3 |# o( v
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  s  d$ i8 y$ Z
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    , q: b& d! {+ V) {' V3 C2 t
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* U) c8 ~  _9 I  C3 b# ]; G& B1 J
  1780. ; otherwise output encoding conversion cannot be performed.5 E! y4 f. y( I+ L5 R3 {
  1781. ; http://php.net/mbstring.http-output
    ; m9 g$ O  }6 _
  1782. ;mbstring.http_output =
      B; g% E& O7 d* J" h" ]
  1783. ) M' `1 w: s& x6 L2 \
  1784. ; enable automatic encoding translation according to
    % A+ M7 d, n: Z4 M5 A- H/ Y) j
  1785. ; mbstring.internal_encoding setting. Input chars are
    2 F# E6 L6 x8 [  w) ^
  1786. ; converted to internal encoding by setting this to On.
    1 n6 O( R; V3 y3 I4 i
  1787. ; Note: Do _not_ use automatic encoding translation for
    " z& {$ ]( F5 P- d$ Y
  1788. ;       portable libs/applications.: f! h( }8 C) [- ]
  1789. ; http://php.net/mbstring.encoding-translation1 r8 @( ]. s3 e# @0 \5 {- P
  1790. ;mbstring.encoding_translation = Off
    + ^2 R5 l/ W" O% t" u1 V4 z

  1791. , N* X# F- S* u+ `/ q
  1792. ; automatic encoding detection order.
    & M& J0 `7 @2 p) n7 _
  1793. ; "auto" detect order is changed according to mbstring.language0 R0 a/ V2 q' _; I! \3 X
  1794. ; http://php.net/mbstring.detect-order
    : g3 ]  n4 W, I" b! p4 e% g1 }
  1795. ;mbstring.detect_order = auto' U1 E6 z3 O  _8 h: ]7 j" b* @
  1796. 1 H2 D% n$ n' \/ }6 e! z" J
  1797. ; substitute_character used when character cannot be converted) A" Q, R4 w) e% w8 [. x
  1798. ; one from another
    7 Z7 L% |; W) Y' t
  1799. ; http://php.net/mbstring.substitute-character
    ' j) U* f6 \# t
  1800. ;mbstring.substitute_character = none) V! i" G- F* b+ }
  1801. . l  w3 }' Y+ X* Q3 d: B5 l* E
  1802. ; overload(replace) single byte functions by mbstring functions.
    & n: j& D( W4 u8 r  n4 S
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    2 Q  B6 w; g7 M7 |2 Q( R
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.$ ~6 w3 Q" |3 c( r* _* j8 ~
  1805. ; For example, 7 for overload everything.1 \* F9 Q- m' w3 g6 ~% I
  1806. ; 0: No overload
    4 L( s. b: g# n/ v- z* c7 i
  1807. ; 1: Overload mail() function
    3 \  k8 ^5 u: L1 b- }4 B$ I
  1808. ; 2: Overload str*() functions
    ( v" d& a% W! M
  1809. ; 4: Overload ereg*() functions
    + v9 t/ P5 l! D! G2 D+ k- j
  1810. ; http://php.net/mbstring.func-overload% S) N) h  A) z2 [8 Q. ?1 {
  1811. ;mbstring.func_overload = 0
    % c* c" ~7 H% w
  1812. $ F. D$ \- D2 ^7 L0 F
  1813. ; enable strict encoding detection.5 b) m/ `/ |% m+ ?
  1814. ; Default: Off. v$ j6 X3 `# f! M0 K; O
  1815. ;mbstring.strict_detection = On
    ! M2 y3 J9 D3 s% o- I- `$ ~
  1816. 5 {4 @, n1 }  X  o+ b" i8 z2 P
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ) z$ A* b4 ^' Z0 @6 C8 W
  1818. ; is activated.' s( [: p+ N7 S5 @+ Y9 g6 M
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 `' I$ l5 V# V+ [. T2 T4 b6 K
  1820. ;mbstring.http_output_conv_mimetype=
    + E! J4 I8 v6 q8 c# a
  1821. , C, E/ P* u4 [, s' v
  1822. [gd]
    3 I  [2 e2 o; {; N" ~8 F+ U' I/ y
  1823. ; Tell the jpeg decode to ignore warnings and try to create& r  X- z0 _* Q" a5 G& v
  1824. ; a gd image. The warning will then be displayed as notices
    3 n6 P  [0 S# Z0 H; P
  1825. ; disabled by default
    $ F# t/ a- i% ~. A2 V# |9 B# }; x
  1826. ; http://php.net/gd.jpeg-ignore-warning
    : {, T" x7 @& K
  1827. ;gd.jpeg_ignore_warning = 0
    5 L/ r! N4 u9 I8 x* M! H

  1828. 4 B% P8 {9 i: H4 t
  1829. [exif]  O( H% t- O; {* _* g5 R
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( V- Q' G6 }2 y! H; z. B. v
  1831. ; With mbstring support this will automatically be converted into the encoding+ A7 _5 K- J1 R  u/ K
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    4 U9 ^$ Z; X9 C8 X0 c2 q
  1833. ; is used. For the decode settings you can distinguish between motorola and
    + G0 c' S' J, e
  1834. ; intel byte order. A decode setting cannot be empty.2 Y, e: R- s# y0 ^! T
  1835. ; http://php.net/exif.encode-unicode
    2 s7 P3 V* e" N7 k. N) \8 u
  1836. ;exif.encode_unicode = ISO-8859-15" s* [4 d7 I% A8 p

  1837. 6 V8 G# T% g3 m4 B/ ^( Z
  1838. ; http://php.net/exif.decode-unicode-motorola
    " I2 Y" g, c4 n9 @- n( Z# H/ l% S$ J
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    * e% E2 ~9 A) v7 O6 Z# m4 h
  1840. / \* l" S) S, z
  1841. ; http://php.net/exif.decode-unicode-intel7 l. o8 l. h7 b" M! A" m* J* J
  1842. ;exif.decode_unicode_intel    = UCS-2LE
      Z" c, @# j* L9 T/ @4 @* ^

  1843. ) K  J" e. T. ]& y, [
  1844. ; http://php.net/exif.encode-jis
    5 r6 w) p: l5 a" T0 L7 Y# D/ z
  1845. ;exif.encode_jis =2 r: b% U! C6 ?: U& U7 u4 ~
  1846. 7 O% B5 H' R' s+ G& z
  1847. ; http://php.net/exif.decode-jis-motorola
    9 `# M7 }7 a/ c" u# @9 @
  1848. ;exif.decode_jis_motorola = JIS( i3 F/ g4 l5 L" o* u2 |

  1849. " j) h  P8 N# S+ N1 a, c! g, b6 ]  w
  1850. ; http://php.net/exif.decode-jis-intel
    # L, s+ ~; Q3 _1 P6 e; V
  1851. ;exif.decode_jis_intel    = JIS9 _9 F1 Y. V2 j6 O, B. C3 y. J) ~

  1852. 8 t+ i8 m) p: V
  1853. [Tidy]
    5 p' w0 h. p% e* f
  1854. ; The path to a default tidy configuration file to use when using tidy) u0 D% v8 u1 |( n* Y
  1855. ; http://php.net/tidy.default-config" M2 w) {8 ~' X/ C/ n
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % i0 ]6 Z" Q& t, o- s

  1857. 0 r& _$ d5 s( A/ K  d3 l- v( v
  1858. ; Should tidy clean and repair output automatically?
    4 o1 y2 ?- e! C$ n, D9 G1 s  S
  1859. ; WARNING: Do not use this option if you are generating non-html content
    : J3 `3 X0 Q* \- N* ]+ P
  1860. ; such as dynamic images5 g7 T' I! \4 t0 i4 s3 ]+ h
  1861. ; http://php.net/tidy.clean-output
    3 W# G) o1 [8 \9 }3 g
  1862. tidy.clean_output = Off
      V& P$ u! p5 q7 `* f
  1863. 4 S) F" h2 {) ~5 X  S  M6 [
  1864. [soap]! H3 r9 E  \8 O; f0 ~" ]9 ^1 Y
  1865. ; Enables or disables WSDL caching feature.9 @9 C* m! a% U8 @' P
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ( y1 i3 Q0 v/ l% I- ?7 p1 s
  1867. soap.wsdl_cache_enabled=1
    # ]3 {" b1 p7 U" C+ @
  1868. 8 O+ v. M' f2 J. ?* o7 s" r4 q- N
  1869. ; Sets the directory name where SOAP extension will put cache files.$ |0 F% f0 Y8 h5 R6 Q. K* B
  1870. ; http://php.net/soap.wsdl-cache-dir
    2 p/ n) ~. H& R( ?! n5 T2 K
  1871. soap.wsdl_cache_dir="/tmp"0 Q# V) @; H( ~: F$ `8 v
  1872. 8 ~" Q1 g5 ]* T3 y: V! x
  1873. ; (time to live) Sets the number of second while cached file will be used" W! a. Q; u. Z9 [% r" R) s+ c
  1874. ; instead of original one.4 ]) l: y) R* _$ f
  1875. ; http://php.net/soap.wsdl-cache-ttl
    3 b6 y- i! Y3 g' O
  1876. soap.wsdl_cache_ttl=86400
    4 D* z* U% a3 z& h
  1877. & Q" ?1 B1 w1 S0 u3 [
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): k! {! X$ R( K
  1879. soap.wsdl_cache_limit = 5
    8 ~( E7 e3 K' C% d) O

  1880. . l1 Y/ `* \& B! U: |5 P8 y
  1881. [sysvshm]
    / p8 j4 N; t) D" N5 D
  1882. ; A default size of the shared memory segment; `+ T! Z% u/ E# Q& ~% ?, n
  1883. ;sysvshm.init_mem = 10000
    4 A. C! ^; r! [3 X
  1884. - Y1 A' M( h- ]9 C
  1885. [ldap]
    - }: J/ F4 e$ E  ^$ K" X' i
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    5 l( y& v$ ?5 c5 p3 M3 f
  1887. ldap.max_links = -1
    . a; q& ^7 ~( t# f' S5 f0 M

  1888. . n$ `; H+ D; C7 H' I
  1889. [mcrypt]
    5 U) A$ U+ c4 d
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    - W& s! `/ c. y; K- j' _( L! R+ s
  1891. 0 H& q& |$ P( V% ~. e
  1892. ; Directory where to load mcrypt algorithms
    0 b# i) D( r7 d
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 A  P- M+ P5 n! X& v/ P$ k0 z
  1894. ;mcrypt.algorithms_dir=
    / w; d$ }: E" ~6 l4 I/ }' P, @
  1895. - R- a! {5 {/ X% {+ d
  1896. ; Directory where to load mcrypt modes
    4 X$ M+ x7 X6 A# a7 r& m
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # |, ?! [& ?! L4 k+ {4 v2 ~% B/ O; e
  1898. ;mcrypt.modes_dir=
      A& L- m% f/ Y& H! M

  1899. 7 ?% Z8 a9 |, J8 [& c
  1900. [dba]$ l5 k3 M$ v/ e0 B% [  C
  1901. ;dba.default_handler=
    3 v/ `* T8 f" V+ Z, y

  1902. ! k% L9 a" Y; n, p, N9 F3 k1 z6 a$ {
  1903. [opcache]
    ' E% ]; o- Q* [- N. n7 d1 O
  1904. ; Determines if Zend OPCache is enabled
    ; S/ w$ }5 M: D6 w- k% @* u
  1905. ;opcache.enable=0
    + H& c; v( i  S, N1 s7 f6 ?
  1906. ; i' l8 J$ Z7 M# g$ }4 [) z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP, F0 ~5 S) c  [9 c1 l5 \
  1908. ;opcache.enable_cli=0" Z4 Y# Y! ~4 K, h* u
  1909. 0 I0 h8 }# v( ]
  1910. ; The OPcache shared memory storage size.# v- p! U3 V7 k% Z& s& ]
  1911. ;opcache.memory_consumption=64& K- O! R$ M- @2 o5 h) f3 S

  1912. 6 v: I# \6 Y3 X" q* F
  1913. ; The amount of memory for interned strings in Mbytes.+ l" V7 I& y' ^& w5 U+ h* H
  1914. ;opcache.interned_strings_buffer=4
    : l8 B7 j5 h7 b9 e
  1915. 4 Z, a3 h% t3 F+ X, o$ B
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.6 j/ Y3 D8 h. c  E& F5 i2 d
  1917. ; Only numbers between 200 and 100000 are allowed.% k# c+ m* v0 h9 c
  1918. ;opcache.max_accelerated_files=2000
    & d( ^* j0 M6 w1 l+ h7 O

  1919.   s  D8 p6 r2 @
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.0 j6 y* _& P8 s- i) K
  1921. ;opcache.max_wasted_percentage=54 T7 l7 i  q, @6 q
  1922. 3 w' y* l. y# h1 ^+ n
  1923. ; When this directive is enabled, the OPcache appends the current working
    5 m6 ]  [: o; Z1 @4 k8 g
  1924. ; directory to the script key, thus eliminating possible collisions between
    * i4 a4 x, k- o2 R9 I% ]
  1925. ; files with the same name (basename). Disabling the directive improves: u: k* t0 O0 G" h+ C; I5 Z3 _" r
  1926. ; performance, but may break existing applications.
    2 U, Z. q5 R, w4 O2 z# I' L
  1927. ;opcache.use_cwd=1
    & r2 |8 v& K, z' O

  1928. % t/ h: f  W" U' |& y( D
  1929. ; When disabled, you must reset the OPcache manually or restart the
      n' b7 N) M! P6 p1 F, ]6 \1 M
  1930. ; webserver for changes to the filesystem to take effect.4 t# ^' P! j6 ?) M0 O( X& \
  1931. ;opcache.validate_timestamps=16 N; ~' L! m  E; M

  1932. : M0 c5 X, U6 P- Y6 b
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 C1 w% b* k# @
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    # H8 i) Z' p- [( |) M3 Y; v
  1935. ; once per request. "0" means always validate)
    4 H5 H0 ^( S2 J
  1936. ;opcache.revalidate_freq=2
    $ F4 d6 u8 N& o5 I( y6 m
  1937. . z0 T2 w* i3 w! k% n1 h8 F
  1938. ; Enables or disables file search in include_path optimization
    6 l. f( J( Y) _: X7 g3 q
  1939. ;opcache.revalidate_path=0
    0 x+ }0 |# v0 G- }- ]4 D8 i8 R2 R
  1940. $ q3 g. `; v: R0 j6 }3 T
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * R6 W0 h* @" G6 L- w
  1942. ; size of the optimized code.& Y5 Q8 _: ~: ]& f# E+ ^, f* [5 E
  1943. ;opcache.save_comments=1* H7 j* K8 ~$ m+ o9 E' _& W! l0 \
  1944. - f- E9 o8 j  A* ]. [
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments": t% O  y$ X0 u( w+ \7 G
  1946. ; may be always stored (save_comments=1), but not loaded by applications; C/ N1 ]1 n, e5 D
  1947. ; that don't need them anyway.
    3 v9 B1 n% ], n- e8 B; _
  1948. ;opcache.load_comments=1
    . }6 p% g4 P  z' c' Y) Y% x2 r3 f  z

  1949. 2 o5 A5 s* N) i
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * g  M0 z9 q7 ~4 b! ]
  1951. ;opcache.fast_shutdown=0
    6 o2 t# L: a: G" x8 A3 }

  1952. 0 }$ U3 W. t  T9 u5 J
  1953. ; Allow file existence override (file_exists, etc.) performance feature.. m& X- b, B) @# w5 [% F8 ^' f) p
  1954. ;opcache.enable_file_override=0
      y/ t; q8 n' U1 L) ^) M

  1955. 3 O9 \# ?1 J. |$ c- O( _
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache5 [& O  C* G# n4 z* @' ?. J
  1957. ; passes
      c, {  N% H4 O7 |1 d4 r$ J
  1958. ;opcache.optimization_level=0xffffffff
    ( C" f/ }- l! S8 |6 n+ O
  1959. 1 V2 t# x3 u8 o0 N8 @
  1960. ;opcache.inherited_hack=1
      s$ C$ Q# }* \5 m# c
  1961. ;opcache.dups_fix=0
    ' A+ e8 W9 l  m4 b/ y
  1962. 2 Z' Y- g! c  |$ P& N' P
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    1 n4 q$ z7 |# z
  1964. ; Each OPcache blacklist file is a text file that holds the names of files0 F1 N" C2 K) E9 Z- a
  1965. ; that should not be accelerated. The file format is to add each filename+ |2 M8 H/ N9 b+ }. R+ _
  1966. ; to a new line. The filename may be a full path or just a file prefix; b& H/ v. s! `8 W6 b
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    . W4 x/ k* u. m- G! m8 _
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( j, D$ Y  |+ A
  1969. ;opcache.blacklist_filename=
    / q, c$ k# [# M! m! V7 X
  1970. , D. V- s! J3 m5 x- }6 ?/ c" M* v
  1971. ; Allows exclusion of large files from being cached. By default all files
    , z; C+ o, O3 L9 x8 T/ i" n4 P
  1972. ; are cached.  @9 F$ o* Q5 p9 M; o
  1973. ;opcache.max_file_size=0
    3 n- Y' h& E4 u4 ^6 v0 n5 q; _

  1974. ( o& n) G1 S, m0 W. L* F
  1975. ; Check the cache checksum each N requests.( L' j. N5 ~* J* _3 Q! t, Y' |' s
  1976. ; The default value of "0" means that the checks are disabled.' a+ w/ u+ A; U/ L$ }
  1977. ;opcache.consistency_checks=0- ]- c9 r* k7 c7 B6 v0 u7 G0 b
  1978. / r8 a+ _' T! m6 Y
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, w3 B% a: P- O% y5 N
  1980. ; is not being accessed.. d! s9 }& {. l; z
  1981. ;opcache.force_restart_timeout=180  E, j# y$ L, A0 {! L; L

  1982. % ]( J, ]" _- r$ t5 |% @
  1983. ; OPcache error_log file name. Empty string assumes "stderr"." }, W" t1 e% w" J: }( E2 ]8 X% b
  1984. ;opcache.error_log=
    : b6 i2 l1 N: ]  g5 G! Y0 k
  1985. 8 K3 Q( t" r. S- q4 Z
  1986. ; All OPcache errors go to the Web server log.
    * ~) f7 {! F$ t+ s5 t; U
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 j, }  _5 v' {* j/ P0 e/ g
  1988. ; You can also enable warnings (level 2), info messages (level 3) or2 j& r2 V3 h* ~  |8 F
  1989. ; debug messages (level 4).& V& q1 \1 s$ r! a, @2 Z5 G8 j
  1990. ;opcache.log_verbosity_level=1
      P7 Z; ?, k. d7 M
  1991. * j! B- P; c5 C7 g
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    , L5 |, Y; k" `
  1993. ;opcache.preferred_memory_model=
    ' B! o) w% l6 J0 C0 C  N9 d7 y
  1994. ' j6 y+ e5 ]! b5 f9 O# }6 a% m+ ^
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ( b& e% K* f- y. |" N7 F4 r6 N* d
  1996. ; Useful for internal debugging only.
    : J3 j% K; J1 L3 a: o- A
  1997. ;opcache.protect_memory=06 h: Q/ d; R* Z
  1998. / T/ W5 b. J8 [
  1999. ; Validate cached file permissions.
    7 y  l* h7 y/ r
  2000. ; opcache.validate_permission=04 r! O! B1 T5 x5 z! q/ N

  2001. 5 J' Z7 j7 m: a" ]6 d: b. R, {
  2002. ; Prevent name collisions in chroot'ed environment.9 O+ ~9 ^, j* L! F$ T% S
  2003. ; opcache.validate_root=0
    7 ]" J- @3 _5 r! @3 B3 C& F5 y

  2004. , L" p0 Q' Z, k
  2005. [curl], B- o$ ~- E7 ?) I0 N
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an/ t' t- T8 J2 i8 C# R6 i
  2007. ; absolute path.
    7 [9 L1 O" e6 C8 i/ b1 b
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    , x& N% W! A4 I. ^& {/ D8 _6 w

  2009. 6 ~0 ?" S1 i+ `: t" T* o
  2010. [openssl]- U* u7 E3 V; I& Z3 J5 ~- B2 _
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    , k. {8 i) i; z9 |9 ?
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) S5 L/ q8 e. s; `, u# c
  2013. ; not specify a value for this directive as PHP will attempt to use the# H0 v/ U. d8 S& `
  2014. ; OS-managed cert stores in its absence. If specified, this value may still0 d. j( w$ L4 P4 F5 R& ?8 t
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context9 T( w/ S7 b2 ^- I7 l/ V  c3 b
  2016. ; option.
    7 _% q* V$ @; P* ?* p
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt+ ]6 B' h% v  M' f- o% j8 D: J8 z! C

  2018. " Q- d+ O8 J/ o
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    - _+ e  a; b4 |8 t; X
  2020. ; directory pointed to by openssl.capath is searched for a suitable& R7 Q* v2 G* V
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    # y6 i' r) j9 \2 Z
  2022. ; Most users should not specify a value for this directive as PHP will
    ; C2 Q. \9 s) P6 x
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( a: K5 B' j3 @" D7 o: I
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    * z0 g; z2 |" u0 i
  2025. ; SSL stream context option.
    9 \0 @4 {6 X5 w- C
  2026. ;openssl.capath=& C$ J5 X7 l6 j5 {3 V

  2027. - g$ S* M+ b% E8 H. F9 P, v) a2 ^
  2028. ; Local Variables:
    9 s, u% j; j/ \* o4 N1 C+ k
  2029. ; tab-width: 4
    * D$ b9 N. [& n+ y/ y! j1 ?$ X
  2030. ; End:
    0 H% A( n4 J3 v* R( f2 J8 I

  2031. ' z2 F7 X/ F1 S$ E
  2032. ;eaccelerator
    ( U* `; j  E. X: S4 K% a  T, j+ `& S

  2033. ; p, O6 l' p  z$ D+ b- a
  2034. ;ionCube8 a6 R# K- K4 k: p, X

  2035. ; Z- R3 @$ T5 y- W- ~
  2036. ;opcache# F4 t* n' A. Z4 b7 G6 s( Q, K
  2037. 7 Q3 e5 I* O8 Y+ ?  g# c2 c, B
  2038. [Zend ZendGuard Loader]# k% C/ r7 _# r& ~( J( z( [3 l
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    8 k. h; T! P0 U/ u
  2040. zend_loader.enable=1' X% d- Z8 P6 V8 e. l1 M
  2041. zend_loader.disable_licensing=0: G: e8 M6 q6 M: H! a" W2 L
  2042. zend_loader.obfuscation_level_support=33 F/ i) h0 |! o5 @
  2043. zend_loader.license_path=8 j  X6 P! E# k

  2044. ) ^: ?) W. T( f( w- {6 B8 d
  2045. ;xcache
    # w( w  a: V7 {8 N* [( o* M3 l4 P

  2046. 4 h3 L: Z& p1 D/ K+ g) {2 o
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
, t1 A1 f: H1 }" x4 r4 c: y' u0 C* ?  `5 ]3 C6 p4 M

; X2 K3 |# r$ o' w% i& h* E; ?Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,, V4 a9 m) H3 K, o# O5 q

1 a) a( ^; C! S1 Z0 y6 PDiscuz!程序版本选择:. e6 b' q# H% Z% _9 i
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
) W$ d+ b9 D6 `2 ]! Y  @不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
3 C1 N7 J4 Q, X2 v! RDiscuz!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。9 I# L  F4 _3 Q7 @
, M/ X4 j  J! O; D# D
Discuz!插件模板版本选择:
- V: Q, k% |5 b8 S# `很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
' N+ H" d& o2 }) l1 ]" h$ e+ }  L: G针对这个问题做个统一的普及:
- @, I' l3 N9 F: R* eX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
5 K7 `% \! |5 @9 Z" t7 r1 q6 j- B" m8 a! p6 C. K' p- i0 F9 F6 |9 |- w5 d
所以6 @% i2 X' C) o0 r+ g  D
适合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的二级域名。
0 k% B/ c- X! G打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。! y: a, G3 ~6 {1 Y9 r) }7 M
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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