分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0; A/ r% P8 c, T, `5 r" W4 x" W9 }9 }' Q
0 [; T0 X0 q' i" c% }0 p
  1. [PHP]
    2 b% K6 c$ {, D/ J
  2. 5 w, F; ~; V$ [& K3 z+ l
  3. ;;;;;;;;;;;;;;;;;;;
    + Z  E0 R* \& L
  4. ; About php.ini   ;
    ' d, v$ d' ~* N& g7 q7 }) x$ y2 q
  5. ;;;;;;;;;;;;;;;;;;;
    ) Y! I' J. _' J' t1 l  @
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 l; b8 e7 X- \% U6 D, Q9 a/ N
  7. ; configuring many of the aspects of PHP's behavior.1 Z3 V/ H, R+ L8 m9 h; E3 `

  8. 6 j# J; R$ w, R. [4 |- H
  9. ; PHP attempts to find and load this configuration from a number of locations.7 E. r4 E, k& _  M/ c2 }3 s+ A# d; B4 W
  10. ; The following is a summary of its search order:
    2 k: V. R+ R. i3 `5 g
  11. ; 1. SAPI module specific location.
    * b% X  \. {3 ~9 W
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)2 }( V4 y* ~4 p" g+ l- l, M
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- \, P2 p+ J5 @7 i" `9 c/ M) o
  14. ; 4. Current working directory (except CLI): C" c; b9 d3 D! x. h
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / M+ F3 }3 {* u8 i  [8 n
  16. ; (otherwise in Windows)
    * e" j# y1 g2 n& F  [2 n
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) {# q& z8 X5 m" ~# T  M/ q8 C8 d
  18. ; Windows directory (C:\windows or C:\winnt)2 ?( u: [3 B( Y1 C0 h/ P
  19. ; See the PHP docs for more specific information.7 M5 i, X) ]" D2 r
  20. ; http://php.net/configuration.file' a1 ~  d" B/ W" X

  21. 6 ]7 r" M( ~2 E. W1 O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines% l( L* j  w; \* S
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    % Z; e' |% L' z4 N! [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    0 y3 T; h( k. Q' Y& I) W( W
  25. ; they might mean something in the future.4 p" n4 L* }1 r* h" w
  26. $ c* N2 P0 r) P* d8 V
  27. ; Directives following the section heading [PATH=/www/mysite] only
    9 J' f' i6 V* J8 t( U9 {% Q! H
  28. ; apply to PHP files in the /www/mysite directory.  Directives# o; N- \3 a8 L% b  J6 }
  29. ; following the section heading [HOST=www.example.com] only apply to
    + E4 i  q0 f! k$ L& e1 c8 E4 I; P
  30. ; PHP files served from www.example.com.  Directives set in these
    ! T9 {+ s5 h* E: j8 N1 s- S0 u
  31. ; special sections cannot be overridden by user-defined INI files or
    0 Y- V7 ]0 l) p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" [# p' L8 _' p6 ]& _* T
  33. ; CGI/FastCGI." k! g' U+ {* M
  34. ; http://php.net/ini.sections
    5 e; x, R+ b$ V* \. r. Y& [* l
  35. # t: ~2 |- ?5 b" d
  36. ; Directives are specified using the following syntax:* h4 E% r% x2 Y1 c4 J' _; X' E3 r
  37. ; directive = value
    % d7 c" Z3 O0 @; N) s% I! \
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.( D9 k: A8 `6 a$ a' x& o
  39. ; Directives are variables used to configure PHP or PHP extensions.
    8 A: T) m, Z* j' U6 K8 ?5 p
  40. ; There is no name validation.  If PHP can't find an expected
    # ?, B" g, A/ P" ~' E
  41. ; directive because it is not set or is mistyped, a default value will be used.) E7 l$ B. `( I0 U0 O

  42. ( {+ I) l' o2 Q) C+ }( e( r
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one/ d' i  U: c. x
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* b8 H' w( d# C% e7 P
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 r5 ]- q, \/ U9 F7 I# k$ O
  46. ; previously set variable or directive (e.g. ${foo})2 H  k6 h8 s! {( e
  47. 2 j" t( ?( J5 w: V
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    % B* ~% T8 D3 U. k( Y
  49. ; |  bitwise OR3 ?/ K5 i  n9 b8 o, x
  50. ; ^  bitwise XOR6 m0 ^) Y) w! j# `8 _7 Y( G6 E
  51. ; &  bitwise AND2 G* ?9 `# f- R/ D8 ~; e1 j8 a4 A
  52. ; ~  bitwise NOT: J; Q  Z0 U1 d9 t" f
  53. ; !  boolean NOT3 \( P6 Y" ~. ]2 l- d, l
  54. $ m  H  I+ `- A% c" C% b) i
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.( q1 i% h7 l  l) k" S7 K7 F0 G( J/ B
  56. ; They can be turned off using the values 0, Off, False or No.
    $ s% x( S+ P. ?! H" U  e4 T7 J
  57. * N7 d9 ~. d  k- h/ e0 b2 K- q
  58. ; An empty string can be denoted by simply not writing anything after the equal
    " D) Y( }# U% H% g2 V
  59. ; sign, or by using the None keyword:* `+ x4 J2 ?' ?. [( L

  60. % G0 ~7 r! u7 K% W7 r3 p# O( ^# E
  61. ;  foo =         ; sets foo to an empty string
    8 Y  P6 R7 w8 v# u! K6 x5 F3 L& i
  62. ;  foo = None    ; sets foo to an empty string
    , E3 |1 f& |. f1 _
  63. ;  foo = "None"  ; sets foo to the string 'None'
    - e) e# w; `3 O6 O$ m$ m. s" A" ^
  64. # `0 F6 o" g! R7 C
  65. ; If you use constants in your value, and these constants belong to a
    . e$ l/ B7 }! F9 p: b
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; r0 r. L7 L& \3 f4 d4 \& Y
  67. ; you may only use these constants *after* the line that loads the extension.
    ! h# e" D3 A! L2 H5 ^4 J! [
  68. 0 z  }! N" k$ i/ R
  69. ;;;;;;;;;;;;;;;;;;;
    ' R+ l: b! _0 I. H- \
  70. ; About this file ;6 O$ m2 b: }8 m! Y
  71. ;;;;;;;;;;;;;;;;;;;7 A& I. R- i7 |  J& Q+ Q
  72. ; PHP comes packaged with two INI files. One that is recommended to be used+ v) d1 C3 H0 Q6 p
  73. ; in production environments and one that is recommended to be used in
    4 a# G; x6 v: a) ^" L
  74. ; development environments.' b( L7 a. x, U& {8 S% v5 C  K

  75. 0 r6 s6 {1 A5 H/ t9 }
  76. ; php.ini-production contains settings which hold security, performance and; d7 z  Q& ^' j. T
  77. ; best practices at its core. But please be aware, these settings may break
    $ b( b! N: q& s+ K/ i$ H
  78. ; compatibility with older or less security conscience applications. We5 c7 i4 B' r; \1 c
  79. ; recommending using the production ini in production and testing environments.7 g9 {5 q; M! ?8 V. U3 ]
  80. 7 U" K& Q4 [5 e/ {) S/ [' f
  81. ; php.ini-development is very similar to its production variant, except it is
    2 i/ j: q  @6 }9 N
  82. ; much more verbose when it comes to errors. We recommend using the
    2 d4 V: d% q2 q3 R8 n( \  {5 K
  83. ; development version only in development environments, as errors shown to
    8 k% Q, P: F* W& t5 s% d
  84. ; application users can inadvertently leak otherwise secure information.6 P8 Y" ^; N6 a9 R6 H: ^: N4 o( E. j

  85. : e% J3 D+ y% n5 [7 o% w6 W( m
  86. ; This is php.ini-production INI file.. |; A# J2 T7 p, c+ D
  87. 2 y9 E3 c$ h6 ^! Y
  88. ;;;;;;;;;;;;;;;;;;;: \: O; L5 q) x" z
  89. ; Quick Reference ;) n9 t$ R+ U" W
  90. ;;;;;;;;;;;;;;;;;;;# v9 |$ q0 A  k4 r* n2 B
  91. ; The following are all the settings which are different in either the production
    ' G  A4 n$ R- a% {
  92. ; or development versions of the INIs with respect to PHP's default behavior.8 b( R$ b. V- O( Q( h* C
  93. ; Please see the actual settings later in the document for more details as to why
    , A. ^* d6 C8 f
  94. ; we recommend these changes in PHP's behavior.$ O1 X+ l2 \7 c" {$ U9 k
  95. ' o2 W# c+ t: f! }0 l
  96. ; display_errors/ P8 u! P( H3 b5 X& R
  97. ;   Default Value: On) Z% s9 I' h. A, t9 p, [* [
  98. ;   Development Value: On1 x' B4 ]. @" L, t" u
  99. ;   Production Value: Off( J+ g; H/ U" s7 G. X6 h; s/ K5 m  `
  100. & D- c1 {% b7 q8 V; |3 d0 E7 ~
  101. ; display_startup_errors
    9 b; N9 K, j7 Y' V9 U+ D
  102. ;   Default Value: Off7 F! o' ~* Q# Q% m0 ]+ U
  103. ;   Development Value: On9 A, l/ u, y7 g7 ]3 \1 u, ?4 u% f6 F
  104. ;   Production Value: Off( F' b" Z: P+ c6 b  u0 u# f

  105.   V  `$ p' T, M- P
  106. ; error_reporting" n0 {3 F! \9 g6 s0 c0 E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 L0 T# N/ S4 x# a, [; f
  108. ;   Development Value: E_ALL: ^/ T5 X: T3 V' B
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( W. J4 h6 d  l+ l. G7 ^: p5 J

  110. # q% X6 g4 x& D3 F3 n
  111. ; html_errors
    ( @+ r/ r' s7 L$ a5 ^
  112. ;   Default Value: On# r, ~8 I! n, M1 c( H
  113. ;   Development Value: On
    ) K' R9 \; R* M+ T, T: ?3 {& u
  114. ;   Production value: On
    " W! n4 h* x- k! {) ^# d. R$ Y( Q
  115. ; [  W' y0 W. f
  116. ; log_errors
    9 [6 G. Q/ U& A4 t- g: `6 H2 e
  117. ;   Default Value: Off
    ) `6 ]8 i3 ?" m- v. c) a. s9 v
  118. ;   Development Value: On
    % {1 N& E& R& v5 ~
  119. ;   Production Value: On/ _9 w+ C7 a& \, j
  120. 4 {6 h) c  @7 R& m7 f/ P
  121. ; max_input_time
    # h* i) L1 u! s$ c
  122. ;   Default Value: -1 (Unlimited)
    1 V5 R. T# [5 A
  123. ;   Development Value: 60 (60 seconds)
    * _: d0 {7 |% M
  124. ;   Production Value: 60 (60 seconds)
    0 l* F1 M! \& P4 B* _3 ?( x* q
  125. $ _5 b5 U. I$ ^
  126. ; output_buffering
    5 G- e4 `- K6 m0 c, `0 z
  127. ;   Default Value: Off
    ) }* R8 Q* p6 |, N
  128. ;   Development Value: 4096; A1 z* u% W/ w% x# L
  129. ;   Production Value: 40964 k1 D/ H' l2 n  ~& p! e! C
  130. , }7 S0 l& F/ y1 \8 s2 P& Z+ e
  131. ; register_argc_argv
    & Z, _0 J+ H+ U& U7 B! M; d0 u
  132. ;   Default Value: On0 |/ w6 J0 P7 i3 g7 X6 s" Y: L; M
  133. ;   Development Value: Off8 E4 S8 L0 x$ r; {; n0 k
  134. ;   Production Value: Off
    ; \7 u2 c8 P* B8 K

  135. 9 w& X) r( }( t* X7 X5 d' @5 i
  136. ; request_order
    / T  C! {9 U# Y& Q; `
  137. ;   Default Value: None4 R: S. L; U3 |" N7 u$ S
  138. ;   Development Value: "GP"
    . d, Z8 F0 \: J) O, Q; z% ?1 v
  139. ;   Production Value: "GP"
    . h6 }+ v% W; i: S0 m* w

  140. $ P3 p8 W: |  V! B
  141. ; session.gc_divisor
    6 ?% D% G. P8 L" l* z8 q  \
  142. ;   Default Value: 100
    ) |" j( A" J  `( O0 L
  143. ;   Development Value: 1000
    3 v0 ]3 K( D9 i5 j0 E( C% g4 {
  144. ;   Production Value: 1000
      T+ x+ d4 ~# _- p" G0 ^
  145. " b/ ~* ^( C/ P  v
  146. ; session.hash_bits_per_character
    & T' t9 U0 T/ _* @( s
  147. ;   Default Value: 4
    7 _/ ?" t# k3 b# f, G. T
  148. ;   Development Value: 5
    + M/ `# j. O! c" e. w" z+ Z. u9 T
  149. ;   Production Value: 5
    $ z* K: d) F, n' ?- U7 \" K

  150. ! q- x7 \% y2 m
  151. ; short_open_tag
    2 X. H! ?! L5 E: c# H
  152. ;   Default Value: On
    9 }. x: n' v5 F& `
  153. ;   Development Value: Off
    $ p0 ?; v) n1 P/ |8 a% p$ G# M9 l2 n
  154. ;   Production Value: Off
    6 s  P- E0 u$ |- m
  155. 7 Q) v- ^1 k) g/ x( |2 a
  156. ; track_errors
    9 a2 g% E9 j2 s  R3 y
  157. ;   Default Value: Off
    , D: J" p! B  f* u1 E9 ]) M
  158. ;   Development Value: On
    2 |* v3 T& u, Y  J# R: M
  159. ;   Production Value: Off
    3 I. D% i# y1 R" Q
  160. * u9 ?7 V& a! E' k7 }( e9 @
  161. ; url_rewriter.tags1 j9 u; `1 x, h+ }7 `& }% z/ c; p
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ H- v0 u9 b5 b
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : K  g5 K6 V9 J4 }' N! c
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * W/ T, g- U8 m) f; o9 q6 G

  165. " w4 B+ ]( l1 a- C; u
  166. ; variables_order
    4 P, q7 D7 Y. ]8 i# Y3 Q- K& l
  167. ;   Default Value: "EGPCS"2 f" k: m& s& z# U6 M
  168. ;   Development Value: "GPCS"
    5 P% x3 z- Y$ ?) S- W. \( V' i; g
  169. ;   Production Value: "GPCS"
      V) {! S/ b; u" p* P
  170. 2 i) \5 ~& R- V6 L# `4 b$ n& s  p
  171. ;;;;;;;;;;;;;;;;;;;;' M' g- _( @- S9 \" _
  172. ; php.ini Options  ;5 N5 J. M( ~8 m8 v& ^$ T
  173. ;;;;;;;;;;;;;;;;;;;;
    " f: V) \1 y5 _! _
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    " @) J6 W4 h7 M# G' c
  175. ;user_ini.filename = ".user.ini"
    - C+ j# A  G( V. X- f

  176. 0 q, ]$ ?. E3 a2 B7 t1 J: _' g
  177. ; To disable this feature set this option to empty value
    5 s' H$ y: f) s/ a/ X" r, ]. q/ r
  178. ;user_ini.filename =+ t9 y3 H' K6 ?6 T! L' ~
  179. ; P  N4 L  C9 z7 x! P% s; f4 v! x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)8 i/ Q$ k! p3 u1 }; w7 [
  181. ;user_ini.cache_ttl = 300" R0 g# E5 X2 L7 N1 g, E
  182. ; D% Z) y. \  r# W" r% \
  183. ;;;;;;;;;;;;;;;;;;;;
    ' N2 ~1 q+ f% r! s; a
  184. ; Language Options ;6 Y: K1 F: J  P0 S* V' z
  185. ;;;;;;;;;;;;;;;;;;;;, C5 q& w$ J; A& W6 j

  186. 2 G& S, l8 S- x1 W# x1 R2 P4 e
  187. ; Enable the PHP scripting language engine under Apache.0 C& i! l6 O4 \. l/ H
  188. ; http://php.net/engine+ x& K. w! d( `2 w$ w
  189. engine = On
    / s/ w# D0 ~9 ?; {8 e9 g
  190. ' W% w9 q7 h$ ]% p
  191. ; This directive determines whether or not PHP will recognize code between: H0 r7 z; |. O/ @
  192. ; <? and ?> tags as PHP source which should be processed as such. It is$ Y9 \* M! q% S# V0 n' j. t$ c
  193. ; generally recommended that <?php and ?> should be used and that this feature2 u" |( l" l2 ^) ?0 E! G
  194. ; should be disabled, as enabling it may result in issues when generating XML
    / F' K' l7 j! C
  195. ; documents, however this remains supported for backward compatibility reasons.0 |" A$ t* u& l8 u
  196. ; Note that this directive does not control the <?= shorthand tag, which can be( T) c2 M& `9 O( b
  197. ; used regardless of this directive.; @! J& g- Z8 p5 F! x) M* Q. l2 N
  198. ; Default Value: On
    8 R. z+ o3 T# s. h4 N( @  o! u
  199. ; Development Value: Off/ H9 _, d8 z& [( T+ l
  200. ; Production Value: Off
    % z% r" g" h/ J" L( F
  201. ; http://php.net/short-open-tag  k( Z5 c) U& }* T4 r0 ^6 m1 W1 a
  202. short_open_tag = On
    3 X* V- j2 D3 I/ G; L0 D/ }$ |
  203. ) A0 K7 i( v0 X' R
  204. ; The number of significant digits displayed in floating point numbers.
    3 O( a3 K& e" L3 h" |" \
  205. ; http://php.net/precision; K: e9 s; T. j
  206. precision = 14; e: _# d, n$ G) @% F$ C$ W
  207. # X. S9 o2 P) g; Y" ]
  208. ; Output buffering is a mechanism for controlling how much output data
    # l: d8 Q' p6 R
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that  V: E# B4 ~6 S3 t
  210. ; data to the client. If your application's output exceeds this setting, PHP* p  M" r( Q, q; S4 l0 I% [
  211. ; will send that data in chunks of roughly the size you specify.# |7 y/ l" j" j
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ; M  @9 B- H: H  m$ k
  213. ; interesting side-effects depending on your application and web server.
    & o! @; n' B& ?  m  N! G
  214. ; You may be able to send headers and cookies after you've already sent output& x6 P! E' r* I5 I" Q2 b/ K
  215. ; through print or echo. You also may see performance benefits if your server is
    * _9 i2 V2 ^& z6 {
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ) f$ ^* ?+ T. e5 X$ {: y0 _
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance. t& [( V0 B% C3 m1 J: G1 ^
  218. ; reasons.! i9 L7 J+ i' B" x/ i- ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control" j" {3 J! W. }1 c
  220. ;   functions./ r# e* G/ ]2 [# y' m
  221. ; Possible Values:
    + I9 W- v1 U( L; V! d" z) p0 {
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)  U! t: B$ W- b0 [
  223. ;   Off = Disabled
    1 n7 q0 L7 C3 O6 O
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.0 f3 F  P) P, p: h: j) Z; j8 I
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI; S5 k! ^" X" Y
  226. ; Default Value: Off- M$ _" i. U& @1 d
  227. ; Development Value: 4096- j9 i% s+ ?* W! ]
  228. ; Production Value: 4096: Z5 H) a$ K/ S  W
  229. ; http://php.net/output-buffering: s4 ?+ S) n, V1 F0 y
  230. output_buffering = 40965 Y& D8 G5 \6 s

  231. 0 B' P' O! u  _* W  K3 _
  232. ; You can redirect all of the output of your scripts to a function.  For
    , Z: g" L  c, g/ F  A+ i: W- j( t) q% }
  233. ; example, if you set output_handler to "mb_output_handler", character) b; I5 B* R2 @; {( z
  234. ; encoding will be transparently converted to the specified encoding.
    * ]3 Y0 I; Z) q9 U+ U' F. Z
  235. ; Setting any output handler automatically turns on output buffering.1 O: l7 H# O5 W, d' @- b, D
  236. ; Note: People who wrote portable scripts should not depend on this ini
    / W: l& ~  a3 g- k. f1 l4 S
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    * z. ?( C5 _' i; w2 Q" @
  238. ;   Using this ini directive may cause problems unless you know what script7 g+ l2 q) V$ Y! p; y9 J) ~& n
  239. ;   is doing.
    5 i6 F1 f& k) g
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    + e& [# q8 H- F8 f  `, X8 g
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    & ]+ d& D6 f3 C" h* E1 U- e: d* {
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 S2 ?! d: p4 s9 w' d
  243. ;   Instead you must use zlib.output_handler.! w' @  M' s8 I0 l
  244. ; http://php.net/output-handler
    , I% p' e: o9 e. y- v" j
  245. ;output_handler =; {; {1 A* q  L# {0 ]" @

  246. ! e6 V) g9 s6 V) I
  247. ; Transparent output compression using the zlib library
    1 w  R- V* N8 v3 H6 |: H) M" v
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size) \$ Q: q  l% D
  249. ; to be used for compression (default is 4KB)% {+ F% w& ?6 p2 f) ^% V( L
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP, o7 n1 e6 }1 o0 }& S% c
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ! ]$ V; V+ K: q1 r, [
  252. ;   compression. If you prefer a larger chunk size for better. a2 d1 q* [1 [1 r( t* T" H7 P
  253. ;   performance, enable output_buffering in addition.( Q: k( T6 R0 G* C% ]  h
  254. ; Note: You need to use zlib.output_handler instead of the standard" L9 c% D% m- k) k' c
  255. ;   output_handler, or otherwise the output will be corrupted.
    : Y' D& w. E$ A8 b. w0 K& J
  256. ; http://php.net/zlib.output-compression5 A( l( D! ~' f$ ?, F1 o9 T9 j; e
  257. zlib.output_compression = Off0 ~! F5 ]( `- E+ z1 s' L; W, }
  258. ; D: K& N. {3 M9 N
  259. ; http://php.net/zlib.output-compression-level4 b. O4 [0 S2 U2 \1 g4 Q3 z7 u$ W
  260. ;zlib.output_compression_level = -1
    * U6 u: \! v, Q0 e$ C: ]  {# I! u
  261. 2 E4 |+ V% z' |9 a' i& e
  262. ; You cannot specify additional output handlers if zlib.output_compression7 ~1 }5 r( q; g8 g( c4 e3 e
  263. ; is activated here. This setting does the same as output_handler but in
    . G2 w" ]. @; O% c5 w. A) ~
  264. ; a different order.1 ^; d1 ^5 Q  T, E4 _5 `, g
  265. ; http://php.net/zlib.output-handler
    * @) w' M: y' F! _1 H, _
  266. ;zlib.output_handler =
    + T1 C; O" n7 n1 Y2 ?  Y  M0 d

  267. . i7 a7 ^$ |& p# f
  268. ; Implicit flush tells PHP to tell the output layer to flush itself& A* S+ `' Z: D- O; P5 d+ n' \* A
  269. ; automatically after every output block.  This is equivalent to calling the( X( `0 g5 F1 D' U5 _+ Y
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ; V. o7 o& y$ u. u" \# u
  271. ; and every HTML block.  Turning this option on has serious performance
    - R" E& Q2 [1 Y7 W2 m1 @
  272. ; implications and is generally recommended for debugging purposes only.
    ) P6 W; L. j) Y5 z
  273. ; http://php.net/implicit-flush
    : P3 r: c8 e6 [+ e# y+ |. E
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( I/ W1 ^) w, |. ^1 h7 u
  275. implicit_flush = Off
    . Y1 T3 t8 @( e$ q
  276. . Z+ Y" _( `" s5 j) @0 P
  277. ; The unserialize callback function will be called (with the undefined class'
    ' b6 ?+ ?2 ?" x; V) N
  278. ; name as parameter), if the unserializer finds an undefined class
    ' C0 H9 C* w! M+ B/ i. `6 \9 n
  279. ; which should be instantiated. A warning appears if the specified function is: z# J6 w  K( o6 w+ N" s
  280. ; not defined, or if the function doesn't include/implement the missing class.$ L* l/ N7 F' s$ ], _* s0 M0 I# g5 C
  281. ; So only set this entry, if you really want to implement such a, a3 Q6 o$ U& z, a: m3 H
  282. ; callback-function.
    9 {# e! e, S* \% x0 H- J
  283. unserialize_callback_func =
    ) R; y" {* }9 m

  284. - Z. Q! f8 m. k. O( Y& D& S
  285. ; When floats & doubles are serialized store serialize_precision significant5 i! |) Y9 t' a/ [; a, i  I
  286. ; digits after the floating point. The default value ensures that when floats
    6 r4 @4 u$ }8 G! g9 u0 l6 L6 @
  287. ; are decoded with unserialize, the data will remain the same.
    $ a# B- g8 B  {" X) q. c$ _) o
  288. serialize_precision = 177 A$ O% Q6 b3 b3 d8 b

  289. / z9 x% g, I' J" j
  290. ; open_basedir, if set, limits all file operations to the defined directory
    4 x0 s" `3 `$ H! w% A" o  b' T
  291. ; and below.  This directive makes most sense if used in a per-directory
    0 O: y; M( N, \/ b4 x5 G% G
  292. ; or per-virtualhost web server configuration file.
    # {' S% X- Y0 v) \7 `, N
  293. ; http://php.net/open-basedir
      q. z. L0 {* W. \: G5 I7 g" a
  294. ;open_basedir =7 b" t, {9 L% k

  295. 7 ^8 z0 T# A* p7 n8 v  \
  296. ; This directive allows you to disable certain functions for security reasons.
    * E0 r) x) Z3 s8 @* w+ F
  297. ; It receives a comma-delimited list of function names.
    ' J7 h) S0 t4 H$ b
  298. ; http://php.net/disable-functions  u3 K! l8 X( F- @2 F! p2 H
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 o4 c& W8 R8 r# J! W

  300. ( p: t- {- b) p) o$ x9 g& C
  301. ; This directive allows you to disable certain classes for security reasons.5 n7 O' m2 p6 K
  302. ; It receives a comma-delimited list of class names.
    " B( R, m$ `) ~5 l$ O3 I) M" s0 H7 g
  303. ; http://php.net/disable-classes
    / W- @% \8 J/ B8 C/ V# t8 b. Y
  304. disable_classes =6 X% n3 S6 w/ o# i* d

  305. * A) [# T9 c- [0 D  j
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ! z- n' }0 m* N  ^% C! m) |
  307. ; <span style="color: ???????"> would work.' m8 [  |) Q  e) z
  308. ; http://php.net/syntax-highlighting6 B, |  t8 E  ^9 A: b# d
  309. ;highlight.string  = #DD0000& t( z0 w! |) }* f, t1 c! v  h/ n$ O
  310. ;highlight.comment = #FF9900
    - g7 b$ a! I2 \$ @
  311. ;highlight.keyword = #007700
    + h% E) g# j$ |7 G
  312. ;highlight.default = #0000BB
    ' t% x; N0 x; m" e: W4 g: T* ^
  313. ;highlight.html    = #000000
    4 x0 s( ^8 J2 `& J0 E, w1 X

  314. # r% ^' G9 n5 t7 K& ?, v- o* ~: U: N
  315. ; If enabled, the request will be allowed to complete even if the user aborts
      y0 {" [1 }# S0 D3 @1 [0 q# J3 w
  316. ; the request. Consider enabling it if executing long requests, which may end up
    * O3 Y3 k" N- T, G- s! p
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    4 h$ f" C) O0 ^5 l  Q" _% D
  318. ; is to disable this feature.1 j8 t- ]8 J' P* g$ ]- t+ m$ x
  319. ; http://php.net/ignore-user-abort9 k" m  q4 S  S: m0 ]/ Z$ P5 ?
  320. ;ignore_user_abort = On
    ' w+ S' s6 @; t2 V; Q
  321. , h5 S6 X: n6 f6 Y
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    4 B% N& p8 C: Z! {/ F" v
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ; M$ g# X1 _  J/ ]
  324. ; the file operations performed.
    " O' b+ t6 s2 s) f. Q$ M7 b: y
  325. ; http://php.net/realpath-cache-size4 D7 S% f9 b) l8 F
  326. ;realpath_cache_size = 4096k
    2 ?8 t9 `' ~" |! A# L! F' e2 y4 f

  327. $ t- {# u% w7 r7 o8 N
  328. ; Duration of time, in seconds for which to cache realpath information for a given) _. A! T- {# `8 q. x
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    $ {' X1 [2 k+ q% b1 Y& w& X' ~
  330. ; value.* L3 g% R7 `- o' ?4 X
  331. ; http://php.net/realpath-cache-ttl5 H+ f6 C% f% ^4 {: p& @
  332. ;realpath_cache_ttl = 120
    2 e+ ~3 [/ A$ t8 U! `& C

  333. ; w; P' E" S: c) J6 `
  334. ; Enables or disables the circular reference collector.
    6 Q0 \( c! z; C6 u  _
  335. ; http://php.net/zend.enable-gc7 ]! Q0 @  I( ]$ q
  336. zend.enable_gc = On
    ; C  T4 p) d5 Y" [
  337. ) X3 Y+ ^4 v* \
  338. ; If enabled, scripts may be written in encodings that are incompatible with9 q4 F: |7 H5 O6 N) k0 h* \  f, m
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 a% p; w, T0 a& ~) P
  340. ; encodings.  To use this feature, mbstring extension must be enabled.9 f) i4 g" @: f8 J, y) x, z
  341. ; Default: Off
    ; d3 d, X$ Y9 _
  342. ;zend.multibyte = Off
    , D4 X( J) q3 ]+ A' W" z

  343. ) g3 }7 C# d7 w" Y6 f3 t
  344. ; Allows to set the default encoding for the scripts.  This value will be used- [7 r5 D9 c) f$ W* \
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 r- s5 m) N" ]8 W
  346. ; Only affects if zend.multibyte is set.
    2 a7 m! P8 f& W/ ?. O1 z* E* U
  347. ; Default: ""# Z- J% Q8 ~7 n& |; z: o) L$ P
  348. ;zend.script_encoding =
    ! {7 U( `) i4 s
  349. ) q# N; X8 ]( F; p9 s
  350. ;;;;;;;;;;;;;;;;;1 ?2 S$ _" u* E* U* u0 `8 b) H
  351. ; Miscellaneous ;/ T# b, K" g+ U: B# d8 Y4 a
  352. ;;;;;;;;;;;;;;;;;3 V: p$ S, ]2 `) Z3 D7 k2 C

  353. 8 B$ _, j) L2 m8 U2 s
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ' O7 v) B$ J7 }) K, P, m/ E& f
  355. ; (e.g. by adding its signature to the Web server header).  It is no security7 t5 v1 F" ?- U5 D3 |+ R! M1 X8 J
  356. ; threat in any way, but it makes it possible to determine whether you use PHP2 p& p8 T# }. p8 T/ L% L
  357. ; on your server or not.
    3 i3 `9 E& F  y; C6 v! a/ @
  358. ; http://php.net/expose-php2 P3 B* M% T7 b& Y
  359. expose_php = On
    3 L+ d0 U- n' O9 W8 S
  360. 4 N* a8 d! W  X" H2 K
  361. ;;;;;;;;;;;;;;;;;;;
    2 {; u% a* f% W8 i# ]: c
  362. ; Resource Limits ;  @, y5 ]0 i. S' |5 E- T6 y5 o
  363. ;;;;;;;;;;;;;;;;;;;
    5 P- I$ o# s( J& H( m, k1 a! z+ L9 I
  364. ( A# f+ n. a2 W' Y6 A/ v; r1 ^
  365. ; Maximum execution time of each script, in seconds( l! ^2 K6 {+ U2 }9 r0 V
  366. ; http://php.net/max-execution-time
    & d4 Z( N4 y1 U, {1 X
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI( r1 W% C0 l# \* _) u9 x
  368. max_execution_time = 3009 S2 ?# N: J4 l

  369. 4 H' f& B" q. [3 j, G* n
  370. ; Maximum amount of time each script may spend parsing request data. It's a good6 R3 ^9 M- g$ l4 L2 r
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly# g, {1 ^& f; c) m5 B
  372. ; long running scripts.6 f8 T2 x/ @. {$ L
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI7 e# A2 c1 n, G' l3 J0 \( |( |
  374. ; Default Value: -1 (Unlimited)8 G- I" b6 L- m7 y! o
  375. ; Development Value: 60 (60 seconds)
    7 A! N  C- a" I7 O! v
  376. ; Production Value: 60 (60 seconds)2 h- p1 a4 w" _! E. T) a
  377. ; http://php.net/max-input-time
    + z9 n0 J  k3 U& p& ]) S  N8 B
  378. max_input_time = 600 y& O7 t( ~+ J1 ]2 Q% h  l1 Q
  379. 3 _1 Y) ^4 j; C+ t4 Y
  380. ; Maximum input variable nesting level
    5 u# s* ]. A9 b* }
  381. ; http://php.net/max-input-nesting-level
    ) G& F4 Y6 W: z7 H4 u
  382. ;max_input_nesting_level = 64
    7 B2 @  {/ l( T7 L8 I

  383. + z( G' B6 n% F; _( s0 i
  384. ; How many GET/POST/COOKIE input variables may be accepted  V1 q! f. C/ @* R- m" s8 J
  385. ; max_input_vars = 1000
    % o9 Z; @& \8 }$ K( \7 w, V

  386. / T+ e3 N5 d2 y. |& [4 D
  387. ; Maximum amount of memory a script may consume (128MB)' E( I1 k' B3 T* m
  388. ; http://php.net/memory-limit6 h5 s; A  F( L) n) e
  389. memory_limit = 128M4 O7 E- a4 v5 t& v% ~# k/ }$ {

  390. ) O6 \& x+ D7 H
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 n9 v$ S; V" O2 ]$ C: d
  392. ; Error handling and logging ;
    % k$ E1 S& J2 k
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % ~' P4 s3 |2 w7 Q8 q
  394. ; j! ~$ n& }1 n4 A
  395. ; This directive informs PHP of which errors, warnings and notices you would like2 G# F  z! M& _0 G: L" {9 R, ~
  396. ; it to take action for. The recommended way of setting values for this
    2 Q2 Q' u- i! Y) B' E- A
  397. ; directive is through the use of the error level constants and bitwise; i' a1 f1 ?' H% s2 ]
  398. ; operators. The error level constants are below here for convenience as well as
    4 `1 `  P; [6 s# E+ l1 _
  399. ; some common settings and their meanings.
    $ K% p* m9 B' W- {1 \) p' k! B4 x8 C" d
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ j& p% |$ Q/ i3 O1 [, m  y
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 C  D/ \; f, F4 X1 J& \
  402. ; recommended coding standards in PHP. For performance reasons, this is the- k8 s# u) _; b3 T% {3 E
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    2 N# W* s) X  C3 A3 h# V( ]: x
  404. ; resources complaining about best practices and coding standards. That's what
    ! E( z+ W  A* i$ {# U% r9 O
  405. ; development servers and development settings are for.( H4 |) o# a0 Z* j; F
  406. ; Note: The php.ini-development file has this setting as E_ALL. This7 Q) m0 Y1 @6 m/ l5 `
  407. ; means it pretty much reports everything which is exactly what you want during
    ; U# }# Z/ z& V+ ]) E) z$ H
  408. ; development and early testing.8 r4 D; L" n# G3 A1 T" `# Q0 A
  409. ;
    9 H. W. ?; `) F. _& U
  410. ; Error Level Constants:
    ' R" k/ C# C! u7 e  u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)1 b* c& H' P8 s5 X
  412. ; E_ERROR           - fatal run-time errors. q1 a; p! o3 V/ c, o
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    7 J: u$ z2 x* z5 C; g# g
  414. ; E_WARNING         - run-time warnings (non-fatal errors): _7 D# O# m& P$ }% c
  415. ; E_PARSE           - compile-time parse errors
    4 ]* B9 N0 _, P: Q* P- X( }
  416. ; E_NOTICE          - run-time notices (these are warnings which often result4 v. k; M6 X/ ~
  417. ;                     from a bug in your code, but it's possible that it was
    + J# K8 J2 O) |2 j% s
  418. ;                     intentional (e.g., using an uninitialized variable and7 ?: B$ z7 [/ h: p
  419. ;                     relying on the fact it is automatically initialized to an8 @$ p1 t5 ^* u/ u9 Q; }
  420. ;                     empty string): y6 A3 Y- Q" f! H9 l  M& {0 B
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 R; w! t8 H& Q8 V9 i1 S) w
  422. ;                     to your code which will ensure the best interoperability
    # i8 o  s$ r7 s
  423. ;                     and forward compatibility of your code
    ! B, l" x0 x; S& M- b' i9 x
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
      A3 L: H$ k0 c9 x' ]7 n
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 J+ b; h# X; _% B$ e
  426. ;                     initial startup
    * l9 e. z- _6 }3 V8 z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 q( B9 X! P. K( Q4 R5 I2 `
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)( u" R% N. L5 r; C  P
  429. ; E_USER_ERROR      - user-generated error message2 S* c* u" h5 o6 }3 Y7 C# N  G* k
  430. ; E_USER_WARNING    - user-generated warning message9 T; _" c, s* ~' J; ]1 f0 \
  431. ; E_USER_NOTICE     - user-generated notice message2 [. m6 t$ G/ Y5 J' N, g$ A
  432. ; E_DEPRECATED      - warn about code that will not work in future versions, o; W9 f- K) B& a
  433. ;                     of PHP, v6 z" v/ C2 t: W, }! O
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings) l) ]( z6 o4 v' n* H
  435. ;
    0 s( U  X) g2 R; Q; O+ m9 ]
  436. ; Common Values:
    / V- B( r7 [# _' s7 R
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 L8 {2 z  ^* P, q7 x
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    " e* `% J( F0 K. j4 q$ t
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
      b- ]# ?. h1 S% J; E
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    0 T  C5 x2 C$ \4 q% c4 n
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 X& E& v4 d" X$ c7 y" {8 h
  442. ; Development Value: E_ALL
    ) w& H7 k* Q9 x3 e3 y  z& ?
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * `  {& b! W3 L+ w( E* W* S- E
  444. ; http://php.net/error-reporting
    6 C/ T* X" g, ~" D# ~/ R  T
  445. error_reporting = E_ALL & ~E_NOTICE
    ( C, k# j. j) M0 s- N
  446. 0 [% [$ t& g$ s1 i
  447. ; This directive controls whether or not and where PHP will output errors,' B# T& e4 b# {+ c
  448. ; notices and warnings too. Error output is very useful during development, but' J# q& W; o6 h) i4 j& E% t- n* Z  b
  449. ; it could be very dangerous in production environments. Depending on the code' m: T8 P8 O4 m/ R! @
  450. ; which is triggering the error, sensitive information could potentially leak
    ! k) E" d# s, s! ^& N
  451. ; out of your application such as database usernames and passwords or worse.( X- o; a! f3 ~5 j- f' s" S) R. |
  452. ; For production environments, we recommend logging errors rather than: [7 {6 U$ Z" v8 G
  453. ; sending them to STDOUT.; V$ J( r+ T) G* Y
  454. ; Possible Values:) n9 k' H& d1 m5 n/ c- h; I8 c
  455. ;   Off = Do not display any errors
    , S( b5 c) y' d/ p0 J* V" T- S
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    + _8 O/ i8 N6 U, ?, [
  457. ;   On or stdout = Display errors to STDOUT" i8 k0 b+ @& Y% v% \, ~9 l
  458. ; Default Value: On$ H. H& c$ j" p- W0 M8 O" h
  459. ; Development Value: On2 a3 G0 r! F$ ~6 M, ~. {
  460. ; Production Value: Off
    # ]. F. Q+ h) G0 q& `5 }
  461. ; http://php.net/display-errors) ?4 k- r5 m' H7 Y8 _4 K8 a
  462. display_errors = On
    1 p% t. e  p: v
  463.   z3 I# v. P1 Q) t
  464. ; The display of errors which occur during PHP's startup sequence are handled1 N/ o2 e/ p! l! s% m" z( p
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ' x# S& V9 n5 s  i, q
  466. ; errors from clients. Turning the display of startup errors on can be useful in8 r; a! l) b: B5 k
  467. ; debugging configuration problems. We strongly recommend you
    / a# I- f4 x2 z3 p+ ^( d
  468. ; set this to 'off' for production servers.
    , s: C9 t# n4 ^7 D* b
  469. ; Default Value: Off7 \% w6 b, {# K* v" {/ l3 e4 Z
  470. ; Development Value: On) X, @; D$ W* B: h$ b
  471. ; Production Value: Off
    $ c- c8 u# R* K6 o0 P
  472. ; http://php.net/display-startup-errors
    , g$ x& j! K7 I: N- n8 ]6 R9 T' p
  473. display_startup_errors = Off% I1 x$ S8 l( I8 g9 V' T

  474. 8 p6 o4 `  f: r& i3 I
  475. ; Besides displaying errors, PHP can also log errors to locations such as a9 D! k; ^, V/ g7 r
  476. ; server-specific log, STDERR, or a location specified by the error_log
    4 x/ N+ |! ~; o: `- t% ^
  477. ; directive found below. While errors should not be displayed on productions- p; k7 V# l. m# K* C
  478. ; servers they should still be monitored and logging is a great way to do that.
    9 A5 ?$ p8 Z3 x
  479. ; Default Value: Off
    2 P& i) w3 w( f0 u  a
  480. ; Development Value: On  N! l4 M: \0 G! F& w" l
  481. ; Production Value: On
    1 |" L3 M+ N8 h% z+ x- V2 X; ~
  482. ; http://php.net/log-errors
    / V2 g/ M" Z: k  Q; S
  483. log_errors = On
    & q: x, ^. B' I! }& D
  484. - N; J/ y9 i3 F( o0 F
  485. ; Set maximum length of log_errors. In error_log information about the source is
    : _9 i+ v, @( X: W, S5 b+ @! A; x
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , C$ A. d7 a% n
  487. ; http://php.net/log-errors-max-len+ b  ^2 Z- R2 f4 B5 J/ f  \+ {( J$ b
  488. log_errors_max_len = 1024
    * J* t0 n7 @% e, X

  489. 3 O3 ?" S3 N" e# ]9 k6 @
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    $ N) S; O5 @- A, }% z5 v2 x" A
  491. ; line unless ignore_repeated_source is set true.
    6 Z* \# j% U! z
  492. ; http://php.net/ignore-repeated-errors7 h4 p8 `0 D. J: Y; k6 d/ o3 o
  493. ignore_repeated_errors = Off3 t% ^$ M* N9 x  ?: _- Q8 w& h

  494. + b1 N6 |" @* K* i2 ~, \2 ~
  495. ; Ignore source of message when ignoring repeated messages. When this setting+ a# m( A0 z  c# [/ E$ G3 \* @
  496. ; is On you will not log errors with repeated messages from different files or
    $ i# |( B- I2 `0 k' k, {$ D! g
  497. ; source lines.  z* e4 j9 u! A- J9 F
  498. ; http://php.net/ignore-repeated-source
    % w# _+ S5 n+ T# P7 N+ r
  499. ignore_repeated_source = Off
    - M! e& [  U/ J' p) b

  500. . i0 w& n7 P* C# y  B
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
      q8 G! u' p2 c: J3 t5 N
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    - |5 {9 G1 O8 W9 i
  503. ; error reporting includes E_WARNING in the allowed list
    ; T9 D, \0 E4 f" _4 E5 ]; V
  504. ; http://php.net/report-memleaks
    / b: V9 b0 k; [+ U6 ?6 y
  505. report_memleaks = On" k, P7 z; I' B1 B0 Y

  506.   }* c* P7 f! b, x$ W' V
  507. ; This setting is on by default.
    9 m1 I7 V: t1 H, L! e2 `- a
  508. ;report_zend_debug = 0
    9 U& q7 S* A9 Q8 p- e# y

  509. ; K0 o! V: M+ B7 x/ r6 l: C" M$ J6 r
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value( J0 f1 |" @* B! I9 I6 ?  E! g, k( g. k
  511. ; to On can assist in debugging and is appropriate for development servers. It should5 z6 a- T& }1 ?6 ?9 s2 J% J' B
  512. ; however be disabled on production servers.
    2 _( B) O- O  D0 Y8 T2 y1 ~  q; c
  513. ; Default Value: Off
      U" _& [! a: b) v" K0 i8 s5 [' z
  514. ; Development Value: On0 h% y; `8 ?0 s; U
  515. ; Production Value: Off
    9 T. X% H6 g( T
  516. ; http://php.net/track-errors
    ; u4 K3 R9 R  ~' ]6 W5 j/ L- i
  517. track_errors = Off
    * ?# j$ _6 [1 z( C" F

  518. & o+ r% K, |8 s; ?" x  f8 t- ~& {
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    + l5 ]% e0 h6 c4 _. Y% H
  520. ; http://php.net/xmlrpc-errors2 J$ H/ W/ b4 K* i/ y5 _
  521. ;xmlrpc_errors = 0
    ) W! O: f0 {1 {9 G; P7 f+ R

  522. 9 ]9 K6 D6 G8 [& ^: {8 y: |0 x
  523. ; An XML-RPC faultCode
    0 N4 u# k+ K& o% Q  m
  524. ;xmlrpc_error_number = 0
    - a* q0 @: c* Y- b

  525. ) A' T- O& B9 ^7 O
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ! m8 g3 @3 `1 l% |! J  D
  527. ; error message as HTML for easier reading. This directive controls whether8 `5 m$ X1 i) C4 p
  528. ; the error message is formatted as HTML or not.
    ' e# `: K1 w: R$ A3 @" Q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 X  [6 o+ Q$ b3 j9 `$ ^5 m' }
  530. ; Default Value: On! g. J  V: ^9 |% E( m/ k8 k
  531. ; Development Value: On, A1 [5 t6 r5 ^' w0 x' a
  532. ; Production value: On2 o0 @; @7 [8 q
  533. ; http://php.net/html-errors  _$ L, I4 C( O& m! P% P
  534. html_errors = On  h, T7 Z) G8 z4 }" O

  535. : \0 _9 w- D' G" F
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    $ Y9 _) o, ?+ F/ F( m
  537. ; produces clickable error messages that direct to a page describing the error
    : Z2 E' M4 N; f7 _2 I
  538. ; or function causing the error in detail.
    / Y+ j2 n, ?+ ]) h1 J) k( }1 O/ V
  539. ; You can download a copy of the PHP manual from http://php.net/docs. o1 U( C- F, y# \5 ]% J
  540. ; and change docref_root to the base URL of your local copy including the
    $ O- b3 b( s4 f) g7 i" T
  541. ; leading '/'. You must also specify the file extension being used including
    2 z* `" h$ o/ ]$ ?3 H5 t% P! k/ ~
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which4 I1 X; }3 M! G
  543. ; case no links to documentation are generated.
    6 k9 ?; R0 v; X
  544. ; Note: Never use this feature for production boxes.
    0 F$ R# O  b/ ]
  545. ; http://php.net/docref-root" G' Y8 ~  M! N" g2 W" C6 I% u. q- _
  546. ; Examples) X* {+ n+ o/ R7 E
  547. ;docref_root = "/phpmanual/"8 Z0 O  p! N9 x+ s6 C( n7 f
  548. 4 N. l4 `8 x: I# q# D
  549. ; http://php.net/docref-ext" E* m3 K& U; D, X) v
  550. ;docref_ext = .html
    : ^5 o4 |0 ^, m7 M' P" E+ S
  551. 1 ~$ v' g7 |5 F6 U9 ^$ M6 h# j
  552. ; String to output before an error message. PHP's default behavior is to leave) k) X' ~# |9 {- p+ d
  553. ; this setting blank.) U0 h  P6 C. t9 X8 J
  554. ; http://php.net/error-prepend-string
    7 ]" V1 d+ v0 h+ E
  555. ; Example:0 j* E! f, g! f" ]  d' d
  556. ;error_prepend_string = "<span style='color: #ff0000'>"" p2 X& \0 ?- r  \
  557. 1 D( C# H9 n% E7 H% |' w
  558. ; String to output after an error message. PHP's default behavior is to leave
    - `5 K- H' Y/ }! _" }  K/ g$ d/ r
  559. ; this setting blank.
    3 T2 Q9 _  j8 ~  ?
  560. ; http://php.net/error-append-string' ^: i0 m$ _/ c% {! ~4 v8 p
  561. ; Example:
      ]8 C' o1 q. p. E( k
  562. ;error_append_string = "</span>"& Q% @& T# H( M' C! Y3 H

  563. 4 {% h8 n* D$ E( f- s* g# }
  564. ; Log errors to specified file. PHP's default behavior is to leave this value3 l; v! v2 ?1 X5 H# k  ^
  565. ; empty.9 w$ j! i/ e9 _9 v
  566. ; http://php.net/error-log
    4 J- l9 V5 {, C8 x2 q- ^8 ^2 B
  567. ; Example:) s% S* g: k) H/ C
  568. ;error_log = php_errors.log" o! n2 l, k: k5 p2 j- ?
  569. ; Log errors to syslog (Event Log on Windows).. L/ q" F! r5 t% w& O
  570. ;error_log = syslog: p2 C3 R. q8 Y& }4 x

  571. " Y6 B2 p5 w  u  |7 i
  572. ;windows.show_crt_warning4 b2 L4 X! W, a- N; H
  573. ; Default value: 00 a4 `- \6 G. z( V
  574. ; Development value: 0
    : \3 Y; l. ]* z6 j& U
  575. ; Production value: 04 ]6 O* Y8 N5 F! u5 T( p2 K

  576. / Q* b" K4 W1 [
  577. ;;;;;;;;;;;;;;;;;0 C( w8 Z6 w$ Y  b- f' _; q
  578. ; Data Handling ;& w1 @3 c' I0 `- b% H" I( _
  579. ;;;;;;;;;;;;;;;;;% L' E& X, w3 O, l% I

  580. 5 F% w, z" f& _) o5 @" N
  581. ; The separator used in PHP generated URLs to separate arguments.
    ) r% a5 L6 s3 M' Z
  582. ; PHP's default setting is "&".
    " P. d' j6 T, z7 ?
  583. ; http://php.net/arg-separator.output1 |) U+ y# ^; P! u6 D9 r, o
  584. ; Example:
    & O0 T4 \( T3 {: I, T7 r" a* E7 V
  585. ;arg_separator.output = "&": R; ~9 L2 S) t
  586. # e# V5 s8 _7 ~' [8 W& s
  587. ; List of separator(s) used by PHP to parse input URLs into variables.( a3 N" ?& R1 Z; B
  588. ; PHP's default setting is "&".$ k$ u2 B8 |7 B
  589. ; NOTE: Every character in this directive is considered as separator!
    ' E; `/ r+ t! w7 W2 ~4 _, |4 i
  590. ; http://php.net/arg-separator.input
    % c9 Q0 C: @# b% j0 T, n
  591. ; Example:
    8 Q+ p2 d: [* w2 Q, ]; n  e& ^
  592. ;arg_separator.input = ";&"
    : c$ k! {$ g3 \' z& e0 S2 x
  593. % E  V1 a6 u9 ?4 y9 o) `7 @
  594. ; This directive determines which super global arrays are registered when PHP" Y( }, ?# ^% u/ K0 [' M
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    2 k+ O9 b, H1 W: e  o: g, t
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / Q* A. \0 |+ _/ p* W2 i4 F5 S
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    * Q( ?) I0 H3 G6 v% A9 m9 b" E
  598. ; used as the others, ENV is not recommended on productions servers. You+ S) ?# [6 ~2 O* B+ N
  599. ; can still get access to the environment variables through getenv() should you# W8 g& n- z7 H: J5 U0 _- ]( s
  600. ; need to.
    4 }0 J" Z; o' ~# }% N
  601. ; Default Value: "EGPCS"
    ! E6 w7 L, n* B, B. p7 l
  602. ; Development Value: "GPCS"$ A( t; r9 x1 B; I2 z+ \) o- _
  603. ; Production Value: "GPCS";
    ) o$ }: `! u7 A8 k" J
  604. ; http://php.net/variables-order
    1 Y; L2 j, a: z1 f' e% I8 L
  605. variables_order = "GPCS"+ b' y6 z: w3 Y! m2 H
  606. $ v& M: O; r1 e* E4 A* E
  607. ; This directive determines which super global data (G,P & C) should be
    5 C" X. m$ F$ U6 ]$ R4 X$ S# W2 s
  608. ; registered into the super global array REQUEST. If so, it also determines. v$ z+ U3 y9 A- b
  609. ; the order in which that data is registered. The values for this directive
    % `( Z1 E' b+ \1 W6 D, t
  610. ; are specified in the same manner as the variables_order directive,
    7 }  |' C  |2 R/ C
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set+ \6 v. d* U5 I
  612. ; in the variables_order directive. It does not mean it will leave the super0 }2 ?! q  {7 z  s4 K9 V
  613. ; globals array REQUEST empty.6 I" Y0 [9 N& _7 L9 e+ [; N: Z
  614. ; Default Value: None
    , p1 o! O3 ]) N, p. A0 B$ o* Y0 s
  615. ; Development Value: "GP"$ D4 L" x% Y6 H1 _4 E6 Z7 A7 {: t
  616. ; Production Value: "GP"
    . h6 h4 E' s* O
  617. ; http://php.net/request-order
    & b$ o" W: y, v- b1 [  t6 a) b
  618. request_order = "GP"
    5 w! o9 V( h  [. M' Q

  619. / c$ r! Y) y4 w3 c' v
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ( M, |7 ]2 g7 `5 Z
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    8 [0 b/ y- @8 c. U/ G- G  w7 C
  622. ; is invoked. $argc contains an integer representing the number of arguments' g" ]$ ~( k0 f9 V4 E
  623. ; that were passed when the script was invoked. These arrays are extremely4 r% @- z- h4 M" J9 C
  624. ; useful when running scripts from the command line. When this directive is
    2 @& R$ R; e* }3 T& l
  625. ; enabled, registering these variables consumes CPU cycles and memory each time  ]( m' F$ y5 V& H2 r& {! p# _0 K
  626. ; a script is executed. For performance reasons, this feature should be disabled
    * g: `9 d/ G& ?1 h
  627. ; on production servers.6 A% w$ i, q8 ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    % I! R5 ^. Z! V% N) Y5 v/ z3 H
  629. ; Default Value: On
    0 a9 U: r' X& N# c* H- W. Y
  630. ; Development Value: Off
    6 d0 r$ \- z0 W4 C" P
  631. ; Production Value: Off8 [2 a1 z6 K5 p9 n: w9 [1 e
  632. ; http://php.net/register-argc-argv
    0 [; J1 P% o8 p  B5 q! a0 k  _
  633. register_argc_argv = Off
    5 S9 u9 {' M" g$ |

  634.   R# P. H/ ]& }6 R% ]5 J$ `  j* T
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      d: W- h9 A2 L5 A8 L* C+ E
  636. ; first used (Just In Time) instead of when the script starts. If these: B. W! U! ^* @9 R, ~
  637. ; variables are not used within a script, having this directive on will result
    : c) F3 q+ L/ V6 j2 l
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 S' U" L5 c0 S( F
  639. ; for this directive to have any affect.; }5 Y+ K5 F  l  o0 L7 _# u
  640. ; http://php.net/auto-globals-jit( O! ]  j: r  u1 m7 G
  641. auto_globals_jit = On
    ' c; o' m: B) \0 K

  642. 6 i' O6 C1 z1 T$ k
  643. ; Whether PHP will read the POST data.
    ) V) l! @& n8 D, z8 P2 M1 J
  644. ; This option is enabled by default.# T" d8 m4 B5 N5 m- x2 I0 ~9 F
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST' n) M: n! \/ P' S" t  S( |
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    . y3 [$ y6 F& ^5 F- B% q5 ~0 G
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    , o5 Y4 J  F8 K  e
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.+ x- ]) j& F  P$ `$ a( |
  649. ; http://php.net/enable-post-data-reading1 N" p/ f0 L, C3 ~* K
  650. ;enable_post_data_reading = Off
    ! O  W* S: h& ~3 X! R4 b

  651. + z7 s  k+ \* U2 C9 Q
  652. ; Maximum size of POST data that PHP will accept.* c7 x/ Z3 x4 C3 S
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# Y9 K5 ~+ Q4 o9 l# G8 g
  654. ; is disabled through enable_post_data_reading.% q& k* C4 I5 R0 L+ r& ^
  655. ; http://php.net/post-max-size! L7 ^8 t# V' l% a9 g
  656. post_max_size = 50M8 [+ i8 N- M' x$ W' j# C  ^' U
  657. 2 |( Y/ f; N3 [5 j4 p
  658. ; Automatically add files before PHP document.
    ' \7 |5 k# b; h1 \  o8 C+ O! N3 K  ]) b$ l
  659. ; http://php.net/auto-prepend-file
    & `* A5 b% U7 b: g, X- C) y5 U4 b
  660. auto_prepend_file =, n" E, ~. d* Z, H! _3 \: s
  661.   d  b* P1 Z0 }# P5 m" ]
  662. ; Automatically add files after PHP document.2 Q# U& f2 ^$ u* }8 u. ~$ Z
  663. ; http://php.net/auto-append-file- Z3 E9 {  U9 k6 @" v& Z
  664. auto_append_file =  s0 l) V; `0 o1 ^, U" y& l" z
  665. ; d1 p4 d# a+ F; A- n% V5 t
  666. ; By default, PHP will output a media type using the Content-Type header. To
    & X& E) W/ M  E" b0 e8 ]5 m9 ^
  667. ; disable this, simply set it to be empty.
    4 \6 G7 r7 I8 J
  668. ;
    + w4 Y8 R* K8 P' k
  669. ; PHP's built-in default media type is set to text/html.
    4 Y* \: s: w# V/ j# w7 b4 n
  670. ; http://php.net/default-mimetype9 e! e4 {6 `" P
  671. default_mimetype = "text/html"# G9 N0 J# {8 \: h

  672. ; c" s2 n2 y4 g; J' w' s
  673. ; PHP's default character set is set to UTF-8.9 r: s* u. |& t! L1 j
  674. ; http://php.net/default-charset: y. @' e& z; D: w% I
  675. default_charset = "UTF-8"  H' O) c8 q5 `5 {
  676. " ~; |# j( d& F  Y" _" L* ~% E6 c
  677. ; PHP internal character encoding is set to empty.0 R2 m# {8 _5 g0 O
  678. ; If empty, default_charset is used.
      X" J2 b+ L/ }1 N7 }' u8 h2 r
  679. ; http://php.net/internal-encoding
      ]7 V7 i+ I$ }) ~9 l
  680. ;internal_encoding =
    # D4 w8 b' d1 M% [

  681. ( ?( k. l2 ]$ n& O& q  v5 H4 s0 e
  682. ; PHP input character encoding is set to empty.- Q$ F0 k1 k7 Q
  683. ; If empty, default_charset is used.  i) Z* e% x) |; a+ }+ q$ [  L0 X
  684. ; http://php.net/input-encoding8 w+ ^/ \3 Y0 y& ^3 q
  685. ;input_encoding =
    % }  r- q& H. p! ^6 Q1 [
  686. 3 \9 g% g# G# k+ A" x
  687. ; PHP output character encoding is set to empty.% j% v* _! |6 X$ m% p! G
  688. ; If empty, default_charset is used.7 ^+ @- J6 m7 ], N4 P9 S
  689. ; See also output_buffer.
    6 ]: Z6 i& P0 G
  690. ; http://php.net/output-encoding  {7 ^& n9 }, r
  691. ;output_encoding =
    8 y5 ^% b2 w5 m  v+ B5 v+ c

  692. ( q7 E% ^$ k2 `
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;1 F7 s- k1 t7 E2 G" e& L$ `) B% v
  694. ; Paths and Directories ;
    * v9 e. p. r4 `& H7 [$ k
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . i& z+ ?: n: b" b1 r6 \0 M% z

  696. * Y4 m4 \4 h- q2 W
  697. ; UNIX: "/path1:/path2"3 \1 ~9 U! x0 T
  698. ;include_path = ".:/php/includes"2 B' t, Y$ e9 T! Q7 \
  699. ;/ |  K8 \8 k; Z' B5 y5 ~% y; p
  700. ; Windows: "\path1;\path2"" Q5 h4 h& p1 k& t
  701. ;include_path = ".;c:\php\includes"
    , t9 A; w, k& C- J7 c. G: |  J
  702. ;5 o9 r9 `( M/ z& t
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"' g6 S% k8 o4 N' \! j& h
  704. ; http://php.net/include-path5 G- r: o3 V( J" F7 w8 D7 H

  705. ( Y: ^! c" M+ X( Y. [  r& w6 r6 o
  706. ; The root of the PHP pages, used only if nonempty.
    ! j6 ]5 b; ]* U' C
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ) c0 B9 A  g7 f2 Q
  708. ; if you are running php as a CGI under any web server (other than IIS)
    % h  }7 p! c' ?2 U9 V# u; F: s0 b
  709. ; see documentation for security issues.  The alternate is to use the
    4 r, G6 \; ?& L6 \4 S$ W5 T3 ?" K
  710. ; cgi.force_redirect configuration below
    " q/ m0 Q, V4 [! y" X# R1 @. X
  711. ; http://php.net/doc-root
    & \: D. A* q' N
  712. doc_root =
    + c: \( v$ d1 n0 R" q5 L

  713. & w7 j" r& s6 g" U
  714. ; The directory under which PHP opens the script using /~username used only
    , K0 ]0 k- b! e- L) d
  715. ; if nonempty.. P# f1 e. C/ t2 F; a: ?
  716. ; http://php.net/user-dir, p2 |: p+ ?0 r
  717. user_dir =
    7 N" m* a; c  K: \  R' y2 {
  718. 0 {  q0 ^: \) P2 N
  719. ; Directory in which the loadable extensions (modules) reside.6 K+ m3 b+ i/ g- \5 L1 K) t! c) C
  720. ; http://php.net/extension-dir5 F0 A6 @4 r0 o
  721. ; extension_dir = "./"
    9 ^! t, B  B6 I" @
  722. ; On windows:# f& \; g0 C% `
  723. ; extension_dir = "ext"* X+ s( G. ?6 l8 Z0 f# d

  724. 0 o6 u3 f) F: Q
  725. ; Directory where the temporary files should be placed.
    : V+ g) r! N6 L* T0 t: R
  726. ; Defaults to the system default (see sys_get_temp_dir)/ o' u1 T* L* G7 z5 S
  727. ; sys_temp_dir = "/tmp"7 g+ U9 Y0 ^, r# v  h
  728. 4 M6 i4 J- i: C( q. Z9 k/ ~
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work- D* ^$ o( `/ W3 b0 R: T
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ R* y3 O0 R* @$ j* j
  731. ; disabled on them.- K  u# [  {) t7 i7 \
  732. ; http://php.net/enable-dl
    6 |) U& t" q* D( C
  733. enable_dl = Off' Z2 t( ^" ?  {8 B5 ^/ L( l

  734. , X" I" ]& j  \& H& b- }0 }6 M
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 V; h* q: s( u( E& h) C
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can0 Z1 c6 H& ?6 r
  737. ; turn it off here AT YOUR OWN RISK
    - H# F1 c; O% _! j/ t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 R' V7 j+ ~  r# |5 S6 f
  739. ; http://php.net/cgi.force-redirect7 J3 ?! S' V$ O5 U8 j, q) e
  740. ;cgi.force_redirect = 13 L8 O( v! E: T2 Q/ |! Y6 s

  741. 1 J( }5 C7 T' j) }, I5 V8 ^6 E  N) M+ h
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    3 l/ s5 U* e' W  }5 [4 J! b
  743. ; every request. PHP's default behavior is to disable this feature.2 {* m. f6 X2 e: |
  744. ;cgi.nph = 1. S/ |) j6 F% L0 B3 r
  745. 2 B& Q& S0 d: Y8 }' j
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    % d  O* z/ m/ i1 [& `
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    & w5 ~- V% t( ?& A$ @3 Y* N
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 ~4 J- A0 N. k/ R3 U7 M% ], n
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.. {4 u5 Q4 R% X7 E# f; N& A
  750. ; http://php.net/cgi.redirect-status-env) |2 ~# s0 L+ x( p3 p
  751. ;cgi.redirect_status_env =
    - h* j0 F. J4 O, N7 W8 E
  752. * p$ W1 u+ Z! `
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's8 P/ L3 T( n. c- X
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    # ]( G6 ]. r: K
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    # d* y- V' @* L/ x
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / ^" S/ t9 ^' M/ ]
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % w' s3 W. X+ V0 p' W5 k$ b
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.- T$ T0 }% N) J8 Q5 M( m
  759. ; http://php.net/cgi.fix-pathinfo' P6 z. c% U6 z/ q, Z6 @
  760. cgi.fix_pathinfo=1
    2 z5 [0 U( R, v: J

  761. 5 x+ O. a6 @, a" b
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- P0 Y* V7 O9 f3 v
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 y) ~/ y) d8 K
  764. ; http://php.net/cgi.dicard-path" ?! n; b; @- w' R
  765. ;cgi.discard_path=1; ]  ~6 z3 e8 _5 T( |1 b4 n
  766. $ Q6 F2 ?0 K# U" |$ k0 W* m
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    # o* h0 l! k+ x- X" n, N7 W" o
  768. ; security tokens of the calling client.  This allows IIS to define the- [3 s8 ?. S" i: y: M- H" a) R
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    " Q9 {, W7 t  D6 S* _5 g# m: I
  770. ; does not currently support this feature (03/17/2002)
    7 {1 ?3 P2 o5 ~1 n! ?
  771. ; Set to 1 if running under IIS.  Default is zero.
    " z$ E" \! \/ ]  a8 j
  772. ; http://php.net/fastcgi.impersonate! ]5 x% S& _2 K3 W  z1 \+ G5 r
  773. ;fastcgi.impersonate = 1: P: c) Y2 H$ \8 U2 N( G( Z

  774. ; n' i$ D' t* |; m9 g  c+ e- y: M, M
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: @! u, C4 }( H  T, r, T: ~- L% o
  776. ; this feature.
    / Q' S$ x/ x* K5 _
  777. ;fastcgi.logging = 0
    . g  f7 }! d+ S# F2 |- w! Z3 s) d

  778. $ u* f, B: m8 }( T; S3 y4 Z
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    , d4 E- m! c3 S& H4 ]6 z7 [
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, R. v8 l. ~4 o# u/ L3 a
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    7 M; e  v) d8 R
  782. ; RFC2616 compliant header.3 F% ?# o1 U) i6 q1 w4 h
  783. ; Default is zero.
    ! j& s6 k# [5 [7 Y  ?
  784. ; http://php.net/cgi.rfc2616-headers
    2 h8 V5 J  v" g3 Y. H
  785. ;cgi.rfc2616_headers = 0
    + S+ d8 k1 z3 r

  786. $ f- \* G) ]/ _
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!4 x. n. s4 z( T6 n  u
  788. ; (shebang) at the top of the running script. This line might be needed if the
    % l1 V. `4 Y" N7 Y2 c1 w8 C# e
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    % S: Q$ B) q( G7 B% b+ m5 [( T
  790. ; mode skips this line and ignores its content if this directive is turned on.
    7 W* _2 e6 H: h( r1 F" f; d+ y2 V0 D
  791. ; http://php.net/cgi.check-shebang-line
    : B/ {' e  B) k$ F& x
  792. ;cgi.check_shebang_line=1; ^% v* o, Y. q1 E8 }- e. z: h

  793. $ ?* g* W7 I$ P3 i0 ~! y; [
  794. ;;;;;;;;;;;;;;;;
    1 V7 F4 C: C  h' u: \
  795. ; File Uploads ;
    ! M/ c" n: L3 g% r
  796. ;;;;;;;;;;;;;;;;3 L0 @3 M1 ]6 f/ o/ \

  797. 1 _, a) `/ v% D0 O6 V8 M7 x: k: H
  798. ; Whether to allow HTTP file uploads.+ _! E1 ]! m- G' L. V( q9 m
  799. ; http://php.net/file-uploads3 s+ o$ _6 I" N) y' V* [
  800. file_uploads = On9 l2 {, ~0 ]4 K1 f8 P0 ^

  801. 9 ^2 Z+ r' u* x# ^& n) W* `7 I
  802. ; Temporary directory for HTTP uploaded files (will use system default if not7 e! s* R  {- G7 k
  803. ; specified).
    " y4 ^  `, b% o1 H# ?6 Y
  804. ; http://php.net/upload-tmp-dir3 C( d* f9 P9 Y2 ~  r9 E
  805. ;upload_tmp_dir =# d! Q  f8 t8 m' F! y. [4 M4 z' d
  806. 5 v$ r  X# i0 G  b3 Z
  807. ; Maximum allowed size for uploaded files.+ R: L, A6 o! M; M
  808. ; http://php.net/upload-max-filesize
    ) t) ?5 D6 m  V2 @6 t
  809. upload_max_filesize = 50M
    4 X* M. J9 m# z7 ]! `
  810. 1 A7 U  O) Q* t; G( S! W
  811. ; Maximum number of files that can be uploaded via a single request- V' g$ @# E2 Q" [" M
  812. max_file_uploads = 20# R1 [" Y8 u8 j9 ~7 ]5 W9 b$ m+ g, `

  813. 8 x9 a6 y9 E* Q7 X8 F$ _
  814. ;;;;;;;;;;;;;;;;;;8 ]& d* R( [+ H
  815. ; Fopen wrappers ;$ l- \2 K5 e, S: t! C5 F/ f
  816. ;;;;;;;;;;;;;;;;;;
    * p7 y8 A$ r9 A4 V, e/ b

  817. / S3 Y+ A. E& s3 ^
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      }9 o! i" o: ?
  819. ; http://php.net/allow-url-fopen2 d/ E# V2 d& W5 r8 j4 `8 A
  820. allow_url_fopen = On$ ^: v6 A% X+ O( J$ M# v
  821. % j8 D" ^+ m0 f- i) j- _  S, T! b& C# K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    . B5 F. X6 ]- r1 Q  k( G  v! [
  823. ; http://php.net/allow-url-include
    2 q7 X& G$ L- t: C: o: W" z
  824. allow_url_include = Off! o" m' J/ [- n# C

  825. + f. W9 i/ O% T0 ^
  826. ; Define the anonymous ftp password (your email address). PHP's default setting+ v7 S3 Y2 u) p7 p5 K) K& a
  827. ; for this is empty.
    ) s+ N% T% Y8 X
  828. ; http://php.net/from
    4 [$ B9 i  C7 W5 C& g
  829. ;from="john@doe.com"; A1 P9 y/ F$ v4 T/ {
  830. ' |9 d) s3 ^' {. e
  831. ; Define the User-Agent string. PHP's default setting for this is empty.. l- w5 q; A: c. l
  832. ; http://php.net/user-agent
    6 K  p- w+ B) Z2 ~* Y" I
  833. ;user_agent="PHP"% b; w8 A$ h1 y% T0 i, R5 X
  834. & w& }$ x* j8 ~4 N8 C
  835. ; Default timeout for socket based streams (seconds)+ F1 x5 u- O7 Z
  836. ; http://php.net/default-socket-timeout
    # ~7 i7 m0 {. F& G! X* C9 x1 w) W. h
  837. default_socket_timeout = 60
    ) S, s7 k- \  {

  838. % W" ]$ q5 ~+ j2 e
  839. ; If your scripts have to deal with files from Macintosh systems,
    9 a' [1 ?2 `: ~* o9 L
  840. ; or you are running on a Mac and need to deal with files from
    - m+ H. ^0 G9 |) z+ k( l- {6 [! G
  841. ; unix or win32 systems, setting this flag will cause PHP to% B5 M( x& z1 ?, U+ N/ s
  842. ; automatically detect the EOL character in those files so that
    $ U+ ?; S9 x1 m3 J5 p
  843. ; fgets() and file() will work regardless of the source of the file.8 d+ K- p6 }6 K( [. q1 r
  844. ; http://php.net/auto-detect-line-endings
    , S3 [3 p7 j* ]" |8 [) g+ l
  845. ;auto_detect_line_endings = Off
    : b8 R" {. v" j7 u; B* A
  846. # }  H, l7 y  p. u) ]! W6 G# f% v
  847. ;;;;;;;;;;;;;;;;;;;;;;& Y5 |: K: L. B+ W, c* E
  848. ; Dynamic Extensions ;
    , b7 k' \0 h" M' ]9 w9 ^! w
  849. ;;;;;;;;;;;;;;;;;;;;;;6 U# \* ^# g! [6 J
  850. ! K/ E' F  B, W9 M$ ^0 L  P( j
  851. ; If you wish to have an extension loaded automatically, use the following
    ; y  @; P  ]4 R
  852. ; syntax:
    & a) Z- T9 n. H# A
  853. ;
    / T* S1 o8 D5 w9 _- z
  854. ;   extension=modulename.extension+ X" Z! l/ e* _" g
  855. ;
    8 `) m/ Z/ q9 ~  k8 u, _
  856. ; For example, on Windows:0 Q9 Q# t: K: c) C
  857. ;
    % x0 m/ ?1 X1 @2 A) \/ k- g, m0 M
  858. ;   extension=msql.dll( }8 F6 Z, t) H7 P
  859. ;  z5 u' ?5 [! T8 M
  860. ; ... or under UNIX:
    / c1 o% K" N3 I) o6 ~$ P3 E
  861. ;
    ' p- S) ?* U# v( B- Q/ R
  862. ;   extension=msql.so
    4 d/ J" {8 a. s' G0 `
  863. ;
    " M( y2 L; ^2 N# T. |/ I
  864. ; ... or with a path:
    * E8 I/ R+ [2 F# d! }7 v
  865. ;
    / D) M1 _2 c6 A" t
  866. ;   extension=/path/to/extension/msql.so8 X* Y" n1 W8 N! B
  867. ;1 W. {7 T; N+ w6 f+ x- S
  868. ; If you only provide the name of the extension, PHP will look for it in its
    5 G& P) _# G) L; @
  869. ; default extension directory.7 N9 c3 a" b# W. c2 w8 S& z
  870. ;
    / F8 b- ?+ g0 I& p. B
  871. ; Windows Extensions
    9 J* C2 ^( v0 M3 `
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ' F, A- e/ I1 v' d& O, m9 U
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    % X4 H- q6 f$ E# Q/ W
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    & @& P) x) e( Y' I
  875. ; Be sure to appropriately set the extension_dir directive.  r0 l# x9 j1 l: F
  876. ;6 |, ]1 h) ]) ], y
  877. ;extension=php_bz2.dll9 c2 F( l+ ^+ L4 `- B
  878. ;extension=php_curl.dll0 A/ s! k1 F0 @% O5 @- b
  879. ;extension=php_fileinfo.dll$ R- D! ]5 V( I( _, T8 f
  880. ;extension=php_ftp.dll
    5 F( p0 B( l4 x8 ~
  881. ;extension=php_gd2.dll! D9 X* I/ w, N; U5 \6 Q" c. g7 u
  882. ;extension=php_gettext.dll
    ' I, T  p& H% c# ~, Y2 b5 p8 N
  883. ;extension=php_gmp.dll1 N. L7 f) l( h9 ~/ E
  884. ;extension=php_intl.dll
    & k% x& R7 f0 t
  885. ;extension=php_imap.dll6 {# H* J  H; E5 n! G+ n' Y* V" ^
  886. ;extension=php_interbase.dll- Y8 g9 K6 S6 T+ R# j9 O0 _
  887. ;extension=php_ldap.dll* J8 p9 }: s9 G% T5 R+ p
  888. ;extension=php_mbstring.dll
    " L9 q; e3 t& k' |
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
      h- C, B; n  I7 l
  890. ;extension=php_mysqli.dll# k; A& `( C8 k! Y6 N
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # N3 Y! j5 n  W. a. j$ H& t9 \9 W
  892. ;extension=php_openssl.dll
    ! a" A3 r) x6 s: W
  893. ;extension=php_pdo_firebird.dll
    7 L$ l( a8 d* Z% m- w
  894. ;extension=php_pdo_mysql.dll
    4 g( R! \7 }2 Q
  895. ;extension=php_pdo_oci.dll
    % g* H( M* h0 h% a
  896. ;extension=php_pdo_odbc.dll( d1 b( b, U& d( J
  897. ;extension=php_pdo_pgsql.dll4 W& |' y4 L; d) G  _) n! H& f) W# R% o  Z
  898. ;extension=php_pdo_sqlite.dll" C. E$ D1 Z) _% }6 B: {
  899. ;extension=php_pgsql.dll+ n& r+ A% z5 X1 J- P& q. y
  900. ;extension=php_shmop.dll; c0 a( M" q& C- S/ k7 {+ K) [

  901. # E) V$ b. l; m" A9 l# ]* X
  902. ; The MIBS data available in the PHP distribution must be installed.$ Q  S- U7 r* X& s( A9 k
  903. ; See http://www.php.net/manual/en/snmp.installation.php9 ]7 M5 x7 O8 r0 x8 N4 k8 n  ]* C
  904. ;extension=php_snmp.dll2 j2 x9 Q7 {: a" O( G( r
  905. 3 v9 Z$ R2 D2 n
  906. ;extension=php_soap.dll
    - y& H) @' m" i& L' l4 o
  907. ;extension=php_sockets.dll
    ) J6 v* l% r' q9 [  Q/ @
  908. ;extension=php_sqlite3.dll
    8 m' L+ u, w; x( c1 ^
  909. ;extension=php_tidy.dll
    5 e% U. g% ]# M0 e+ [" f# b3 Q
  910. ;extension=php_xmlrpc.dll
    & y) ]% F5 S" `7 `$ r' J
  911. ;extension=php_xsl.dll. v1 ]8 K' Q  J  P  {8 |
  912. . w" c0 ?, Y9 R- F0 a
  913. ;;;;;;;;;;;;;;;;;;;/ X- W5 R0 c; ~) I0 j/ M6 E' X
  914. ; Module Settings ;+ v& V+ d5 c+ f7 `# s6 l6 I
  915. ;;;;;;;;;;;;;;;;;;;
      h" T* X: _- o& E* o( H

  916.   |8 n3 f- f1 t7 a6 p
  917. [CLI Server], C# n  [5 o% e! G
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    1 Y0 Q/ \5 W: y7 u
  919. cli_server.color = On
    2 _" S2 g8 L  t' {: v

  920. * a: _! b  S3 G* b3 Y
  921. [Date]
    . T# K8 X6 B1 T# E$ T6 F
  922. ; Defines the default timezone used by the date functions; G0 w  ~9 T! Z) a: ]
  923. ; http://php.net/date.timezone
    ; i, ^/ r$ |* H7 U5 U& ^% l
  924. date.timezone = PRC
    ! [' y( Z% Q# k$ O$ m8 p  p
  925. ) H) I+ ?0 Y2 b" \. Y& I. z
  926. ; http://php.net/date.default-latitude
    . \3 D9 m# r3 N9 E2 ~
  927. ;date.default_latitude = 31.7667, b, S3 x" e# B5 y2 Q. q, U& Z- F

  928. 0 f5 y, U: k' T" K
  929. ; http://php.net/date.default-longitude
    / r1 X- A& K: k9 D
  930. ;date.default_longitude = 35.2333
    " ^  F. E* ?* o: p; g& u0 P
  931. - Z2 J7 `6 @& e6 H7 F6 y! t
  932. ; http://php.net/date.sunrise-zenith
    7 a: S! S1 P3 j  w+ m
  933. ;date.sunrise_zenith = 90.583333
    7 U5 {8 a2 X( d# t
  934.   m0 R' ]$ x# q" L& m1 W
  935. ; http://php.net/date.sunset-zenith6 o8 F& k$ I( N! S! ~
  936. ;date.sunset_zenith = 90.583333& A/ {8 p" L% n0 D6 m: [

  937. 0 Y* s' d# H! w3 ~( x+ X
  938. [filter]) G$ l2 J0 J0 O9 X' M
  939. ; http://php.net/filter.default
    3 \* J, \6 ?" h" h& Z
  940. ;filter.default = unsafe_raw
    ; w' ?1 F0 P* g5 M/ p4 m

  941. / u! ^3 {  Z/ V1 d% y
  942. ; http://php.net/filter.default-flags
    8 ]4 S7 R0 }- N
  943. ;filter.default_flags =6 u9 |& U5 v# e  W  e8 V/ f
  944. ) _3 {2 B0 \9 x$ r* s' Z
  945. [iconv]
    8 r0 \; h8 t' S
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.% H' d0 V* l* p% k; [( r
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / x" a2 a- J) f% r1 f7 x! H
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding1 k: y8 m0 D  {! b) I% z
  949. ;iconv.input_encoding =
    " `) R9 |7 O8 h

  950. 9 d, n0 Z/ I& Y
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.# I0 Q0 V8 Y3 H& g4 U
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# L# o  ?. S3 j" r  D6 y
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- f; V: ~& j' g$ L* }5 ?
  954. ;iconv.internal_encoding =5 Q  Y0 a: |. y# J* _
  955. 1 y/ [( k) q) u3 o& v
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) B' m' W2 W. C
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.$ ^4 ?! S: W7 J" n
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding1 W/ {$ B+ G, ]- R
  959. ; To use an output encoding conversion, iconv's output handler must be set( ~. X0 ^( H, M$ J& a' @
  960. ; otherwise output encoding conversion cannot be performed.- s  h# e$ y4 T" E9 [- |3 r% ?
  961. ;iconv.output_encoding =
    ; _! B/ }* m4 e5 p/ B4 c

  962. 4 V' c! j/ X; ^- \. M2 T
  963. [intl]! c. n: {! r- V
  964. ;intl.default_locale =' \9 M/ C4 n. R0 x# I
  965. ; This directive allows you to produce PHP errors when some error; n5 f  Y$ l  H/ Y/ q# a2 {1 A2 d
  966. ; happens within intl functions. The value is the level of the error produced.
    5 b' O, s6 C1 g- w# M( e0 k" r1 s
  967. ; Default is 0, which does not produce any errors.
    4 f- G5 g" s' W  T
  968. ;intl.error_level = E_WARNING
    * r! I& U3 B7 `& u# Y
  969. ;intl.use_exceptions = 0
    8 t; Q1 p$ a  m+ W" b9 o$ T

  970. * |+ e; I5 V+ q" ~
  971. [sqlite3]- y: \, X  g. f! ^/ Z9 ?
  972. ;sqlite3.extension_dir =" v# Z5 _- B# _3 Y9 s
  973. 1 v. \- T8 r0 i
  974. [Pcre]
    9 b9 R( g: b, H  F( B9 a* b
  975. ;PCRE library backtracking limit.
    2 Y( H) R2 s( g$ d) m" r
  976. ; http://php.net/pcre.backtrack-limit
    4 }  h  L; \" n5 s& ~/ m
  977. ;pcre.backtrack_limit=100000
    & A7 w  A8 n8 O/ T) C8 \5 X6 z' R

  978. 8 i4 S5 Y% T  x/ c; p3 B
  979. ;PCRE library recursion limit.
    . s' `! V9 n; K# ?) w
  980. ;Please note that if you set this value to a high number you may consume all2 b1 v6 l- S; K7 g8 Q
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ' m% v( U4 h) ]
  982. ;stack size limit imposed by the Operating System).8 z& q, d; Z( ~+ Y" L: t* W
  983. ; http://php.net/pcre.recursion-limit% u& ^# t- g, `( o* z
  984. ;pcre.recursion_limit=100000$ X( I$ l" r8 g2 ?8 v8 m
  985. 6 i1 C$ V; w6 _
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ! @" E+ _5 I: r* p
  987. ;library to be compiled with JIT support.
    3 N7 ~; ?0 I3 o' q' w; a2 }
  988. ;pcre.jit=1
    ' z1 a5 y; j, f; b

  989. 9 ?: i) t1 @: O0 }
  990. [Pdo]) Q; O3 g) R9 J3 ^8 M
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    - n' c9 |9 s% `3 W) `8 o5 D
  992. ; http://php.net/pdo-odbc.connection-pooling
    4 {, ~1 i* y3 F5 K& w
  993. ;pdo_odbc.connection_pooling=strict8 B2 F, ?) C' n! G8 {. r& I
  994.   a* e( _% |5 D/ Y
  995. ;pdo_odbc.db2_instance_name
    9 \. `7 S- _5 o
  996. 1 E6 c: N% n' [, G0 \! v
  997. [Pdo_mysql]: W2 L! r1 B% ], ]9 q2 W
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ z: ^7 I4 m/ F/ J; K
  999. ; http://php.net/pdo_mysql.cache_size
    % K- W7 o4 ^, l
  1000. pdo_mysql.cache_size = 20005 C; h0 B' g1 {/ g, Z
  1001. 5 A/ J% _% v. {* N
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + U: r" B& V" J7 w* s, G! ]+ T
  1003. ; MySQL defaults.- z) j1 |, |- Q0 S7 e: `
  1004. ; http://php.net/pdo_mysql.default-socket
    6 x9 K9 f" A) w, P+ G
  1005. pdo_mysql.default_socket=0 S  ?( E9 Q1 H/ V, u4 n% I
  1006. ( t2 o/ c) W2 |( n* J" h8 Q8 u
  1007. [Phar]
    : i5 u6 h  J' X5 t( Q8 i6 R3 K9 E
  1008. ; http://php.net/phar.readonly( g# V1 `8 \& d$ u
  1009. ;phar.readonly = On- i. W; \! D5 R4 F9 o5 h

  1010. ) @4 w5 p- U' A2 z+ c; }' c
  1011. ; http://php.net/phar.require-hash( F8 ]/ r. i9 g% ?, ?+ c! t+ E
  1012. ;phar.require_hash = On
    % V. f4 \) |* U. X

  1013.   t) V, Y9 {/ S) c
  1014. ;phar.cache_list =8 l$ J9 ~. R0 t4 S- b2 \: f$ o

  1015. ' D- y3 o7 U( d8 b  _" O
  1016. [mail function]
    ! `4 G2 s1 y) ]
  1017. ; For Win32 only.
    " ]0 h$ i2 V; s3 C' B1 ~
  1018. ; http://php.net/smtp  f1 ?1 y- V, |2 n9 ~
  1019. SMTP = localhost6 k% y$ K/ ^' J
  1020. ; http://php.net/smtp-port
    2 W" f- `0 d+ }# I
  1021. smtp_port = 25
    4 p" F; b7 \2 P2 z

  1022. ( a4 L( E- M' u6 m
  1023. ; For Win32 only.
      N6 ^3 ]! `- i6 @! E. B; B5 Z; C
  1024. ; http://php.net/sendmail-from0 t5 ~1 c0 W; j9 ^# ~) Y3 S7 `( O
  1025. ;sendmail_from = me@example.com8 N8 B% `0 h5 e" n$ i+ n
  1026. ) E5 y6 W& C2 r$ H$ L
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; U5 ~  C1 X/ N
  1028. ; http://php.net/sendmail-path" |5 y+ I, A# L: ]! r
  1029. sendmail_path = /usr/sbin/sendmail -t -i+ y8 X1 N8 L) n
  1030. % ?, X- J& m5 X
  1031. ; Force the addition of the specified parameters to be passed as extra parameters3 ^6 }: V; y; c$ f3 D
  1032. ; to the sendmail binary. These parameters will always replace the value of6 o+ t7 A  q7 M- m. C
  1033. ; the 5th parameter to mail().
    + y* @8 D; c- j! c8 k6 Z1 d
  1034. ;mail.force_extra_parameters =
    9 g6 R$ q5 z% W0 ], C5 D

  1035. ( s! J: O; A" m' x2 z9 b: o& |# G
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    - f% j% J: N/ @+ N' {- ^
  1037. mail.add_x_header = On, S' A1 E5 ^& J4 v/ Z  E0 @7 N0 P
  1038. # {6 t- t. C5 d: u0 h" w* B3 S$ P
  1039. ; The path to a log file that will log all mail() calls. Log entries include( }7 r! L/ M" c) ]! _( {' H: q) t
  1040. ; the full path of the script, line number, To address and headers.3 d) L% ^: r( Y8 J0 c- w& U' S
  1041. ;mail.log =
    % m- M" M: w% B. c% F7 O6 j$ ?
  1042. ; Log mail to syslog (Event Log on Windows).4 Q+ d2 h( b  w) F" k
  1043. ;mail.log = syslog
    % B4 N/ a5 S8 t' z6 j3 h1 N

  1044. 7 G) W! ~: d3 L$ W7 f
  1045. [SQL]2 a2 y& D1 L) L( E# N) R" A6 M
  1046. ; http://php.net/sql.safe-mode
    # u6 J" s+ {$ ^- X( f& y! d& y! p  g
  1047. sql.safe_mode = Off
    5 N! z& j, J3 y8 K9 m+ K

  1048. 2 M* S; ]- Q) t9 J  b+ z
  1049. [ODBC]
    " c1 g" |5 w! h5 g) d
  1050. ; http://php.net/odbc.default-db+ @( j: o5 K1 _$ p$ I4 I) p
  1051. ;odbc.default_db    =  Not yet implemented
    ' t& q. i; M7 x$ _
  1052. " |# Q4 i! C3 E, R$ o% J
  1053. ; http://php.net/odbc.default-user
    5 W2 ]3 J' R5 Q) K$ ^& l. {
  1054. ;odbc.default_user  =  Not yet implemented! \* y5 ?6 b3 G- I* X# ^
  1055. 5 Q% b" |5 n& z, n1 ]% J
  1056. ; http://php.net/odbc.default-pw
    : t) K: p4 C6 R% \+ e# n
  1057. ;odbc.default_pw    =  Not yet implemented
    9 c- t0 w/ ~1 O% F6 U
  1058. " L& d; F' q# @
  1059. ; Controls the ODBC cursor model.1 h1 W* I7 Y* M$ m: X
  1060. ; Default: SQL_CURSOR_STATIC (default).
    4 H( x, I  Q3 l
  1061. ;odbc.default_cursortype* u! L" x! K) [: b; T: T% I
  1062. 1 c# H# H  k# e) X) m! |1 B1 }7 j$ ~
  1063. ; Allow or prevent persistent links.. |' Q0 T9 o* y0 J* n8 P" g
  1064. ; http://php.net/odbc.allow-persistent
    : r* g/ }' w, X! z& m& J, H
  1065. odbc.allow_persistent = On( _0 c% Q$ }$ S$ e1 r4 w

  1066. . M6 C2 u* V6 K- \$ x
  1067. ; Check that a connection is still valid before reuse.
    ( h; X/ \6 z( H, f7 s
  1068. ; http://php.net/odbc.check-persistent
    + m$ b. B0 C5 N7 N& ~4 F1 W
  1069. odbc.check_persistent = On
    % j3 Z4 e. i8 S: ]+ {/ T
  1070. 6 n. G2 P0 w0 k: Z4 \
  1071. ; Maximum number of persistent links.  -1 means no limit.* Q! p8 q2 A7 j0 N; G
  1072. ; http://php.net/odbc.max-persistent
    , @. C! J: V+ Y$ c# y1 o
  1073. odbc.max_persistent = -1  J& m8 w  H$ ]( ^. J
  1074. ' z; a5 e! O. w5 w5 y  W
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 K, V3 [$ a( [8 w- u5 l2 ?
  1076. ; http://php.net/odbc.max-links3 E; C: U/ U+ z2 Q6 ]) |9 q; W2 ~
  1077. odbc.max_links = -1
    9 i2 g, y4 H% T0 u

  1078. + k: |* l' A( F  z* {$ C% {
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means6 G1 m, @$ }4 [" K% Q; O4 c! b
  1080. ; passthru.
    6 L, O1 c: r- S8 k! k' J5 g
  1081. ; http://php.net/odbc.defaultlrl& e7 W" I4 {4 v. C/ w; b
  1082. odbc.defaultlrl = 4096; Q2 |  E! x: Q! e0 T: l

  1083. - Y3 a, e# ?+ ~5 G, v
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . W8 X; Z! m. m, P
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation( [# @) Q; }- l! q+ M
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 z& q( r0 y/ U- d, l% B
  1087. ; http://php.net/odbc.defaultbinmode- V+ B( Q8 c, Z/ f
  1088. odbc.defaultbinmode = 1
    ) |; I- U& i5 L6 Q
  1089. / ~* B6 d8 D2 n3 X& F" R" K
  1090. ;birdstep.max_links = -14 }0 l9 W% H3 C
  1091. 1 S& k: A3 b( c  a
  1092. [Interbase]3 q  Y% d" F& o0 H$ T9 E
  1093. ; Allow or prevent persistent links.8 J6 S( F* {# `$ k
  1094. ibase.allow_persistent = 1
    4 t! _: v6 u+ q
  1095. 1 v1 G8 ?0 r5 W" E
  1096. ; Maximum number of persistent links.  -1 means no limit.
      B$ p' w: T( f( T; _
  1097. ibase.max_persistent = -1
    % l& \* w$ Z5 E$ [

  1098. * c" I- K1 }  [) a% R% O/ |
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 _7 e) C$ G/ X' e  E$ D
  1100. ibase.max_links = -1& C3 D! H5 w5 H1 |3 V7 l! c6 |9 e4 j
  1101. ( c9 {0 [& r3 x# |* Z7 g& t
  1102. ; Default database name for ibase_connect().
    2 s# _, c; P9 m4 X, K
  1103. ;ibase.default_db =2 C4 G& S/ Y1 X7 u  ?
  1104. $ [( s' H, A! g2 p# j. ]
  1105. ; Default username for ibase_connect().
    8 Q) V! h' }$ r, \6 q* A
  1106. ;ibase.default_user =1 u7 {- ~% L8 E1 n: T* e/ t
  1107. ) `" q0 k) F! c: E0 z3 e' q& i
  1108. ; Default password for ibase_connect().' _5 i9 v+ Q/ N# f- X: G
  1109. ;ibase.default_password =, e1 H+ E# N, X/ N9 E! |9 S
  1110. & C  s+ s5 }9 A# l( p! W: Q
  1111. ; Default charset for ibase_connect().) f$ f7 e) X, I' D' P6 t
  1112. ;ibase.default_charset =) F  W% Q( @3 ~+ Q; u, s. s  Q! ~
  1113. : X- u8 j* L+ z, [) P, J$ g4 p" W
  1114. ; Default timestamp format.
      D4 }- N' G" |: E* r9 n
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ! v5 ?  t+ {( |, x" D

  1116. 3 x& @( k9 y( T! _3 m" t% U" i1 y' p
  1117. ; Default date format.
    6 N1 `; z) J# H% C) F2 _7 c* d
  1118. ibase.dateformat = "%Y-%m-%d"
    & b. [! c+ d- D3 k+ a1 @; M

  1119. 6 ^, ?: G4 b) h! T4 d- S8 ?
  1120. ; Default time format.
    9 g8 s! R3 f) a' l$ \* c3 d( \
  1121. ibase.timeformat = "%H:%M:%S"' v1 _6 ?1 H7 x  \! }# k8 s
  1122. * O) @; c6 l) X: m* \: C* x8 A
  1123. [MySQLi]* U* E- M& I5 K9 s7 v

  1124. " `$ M) c( K, I9 i5 ^
  1125. ; Maximum number of persistent links.  -1 means no limit.# S6 Q& f7 G2 U& Z( z$ R
  1126. ; http://php.net/mysqli.max-persistent; ?( V) y8 S$ R+ E: E
  1127. mysqli.max_persistent = -1* g6 G% c/ o( _6 L9 J+ d. R5 i' x

  1128. ! H+ o* M- [5 v& B1 L* H; Z7 l
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 v, ~3 ~9 i% |$ Y8 _8 X
  1130. ; http://php.net/mysqli.allow_local_infile, d$ `6 j$ ^6 m/ s. W2 j
  1131. ;mysqli.allow_local_infile = On" R0 V0 z# s* k

  1132. * Q+ [4 j# k' X, _$ W- d
  1133. ; Allow or prevent persistent links.
    * e  Y3 g5 T; ^1 Y5 L# B2 D
  1134. ; http://php.net/mysqli.allow-persistent0 i1 x2 s4 y: f& L8 B. h) z4 i
  1135. mysqli.allow_persistent = On( W8 A/ H- Z! N4 C+ Z- c

  1136. : v0 H+ H- T1 c
  1137. ; Maximum number of links.  -1 means no limit.
    - f9 p, q  x5 r3 h! }# k: Q1 {
  1138. ; http://php.net/mysqli.max-links
    4 d  z3 Q) b. i2 V% H3 |9 O
  1139. mysqli.max_links = -1
    ) J% \# L  i# S3 E* D

  1140. 4 }! _- S$ }; p; b# R
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' B( \9 z7 v: `5 ~4 S0 b' e
  1142. ; http://php.net/mysqli.cache_size7 u* M" h( Y7 G$ Q
  1143. mysqli.cache_size = 2000" x" C1 e3 I8 y7 O4 c4 ~' i  Y
  1144. # w: y, f: s) n% r2 y8 @" O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    # C! o/ \# C" a. }
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( z5 P/ s' e& J0 p5 O0 v  ^
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 h/ l2 z' }' v/ \0 T
  1148. ; at MYSQL_PORT.
    3 P8 Z3 e1 H4 j. b- q
  1149. ; http://php.net/mysqli.default-port
    8 [$ k" b, W0 h, o7 r& l! `# t
  1150. mysqli.default_port = 33067 Q9 Q) T, E: t+ W3 M! h
  1151. * R% W- B' m4 \- {) `
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in: x7 b; p# w+ P( @/ ^1 x3 r; j
  1153. ; MySQL defaults." I  c! R. f; I9 o  S* ^# v
  1154. ; http://php.net/mysqli.default-socket& z6 E7 }* `, n) g, I) {8 s
  1155. mysqli.default_socket =
    : J2 h$ m7 a8 Q0 p1 }  j
  1156. ! L0 d- Q9 p; h1 y: h
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).1 g" C8 U; y! ^
  1158. ; http://php.net/mysqli.default-host
    ( g% u7 _6 |2 r% d% k9 s) F9 l
  1159. mysqli.default_host =2 V- e. A+ A8 b, {2 r# ?6 f

  1160. 2 d5 {1 E8 W- {2 H8 X) d
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).0 P$ l$ p% I! T1 D' s/ V; W) g
  1162. ; http://php.net/mysqli.default-user
    3 V# y$ f" o. o8 W! G0 o2 i! n  {
  1163. mysqli.default_user =
    / Q2 R6 G1 u6 C( |, k! m* N

  1164. * m6 j' l$ V9 w. v
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).7 |. @+ P6 G( b! u+ D7 r
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 T7 _, Y- f0 `$ r
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")" L* f; n$ w+ i2 }% c# e& H
  1168. ; and reveal this password!  And of course, any users with read access to this
    ' ^6 e% e  Q9 d* N+ j" E/ c7 a& W  ~& F
  1169. ; file will be able to reveal the password as well., {: I, a' N  w4 x% n8 W( m6 M. ?
  1170. ; http://php.net/mysqli.default-pw
    2 k9 N( H( g1 ]' \- z( g
  1171. mysqli.default_pw =
    4 ^8 y- L0 i1 g2 t5 V; }; z; l
  1172.   e" _0 o; B; Z
  1173. ; Allow or prevent reconnect0 |; Y0 d1 D% z8 \
  1174. mysqli.reconnect = Off
    " U3 d1 k$ [! f, \
  1175. " K, }" k  i) N6 s/ s% F, j1 `
  1176. [mysqlnd]  \4 }8 c  E2 u& b7 q6 ~
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be6 |2 ?6 |7 E) e; f8 a5 E2 d
  1178. ; used to tune and monitor MySQL operations.
    , x4 z9 ?. A2 w! t. L4 N$ E
  1179. ; http://php.net/mysqlnd.collect_statistics
    # n& I  {! Q8 g& w8 l5 a5 T+ C
  1180. mysqlnd.collect_statistics = On2 F$ i3 D( h/ t/ U
  1181. - s$ ]# Y, h4 I) f. }
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be( B1 }0 z- C: e6 s# o
  1183. ; used to tune and monitor MySQL operations." b$ N5 S( q* Z
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    / Y. t- Q5 z6 _" j% a' a
  1185. mysqlnd.collect_memory_statistics = Off
    8 y+ h4 ^8 m- o6 {# U# y
  1186. / \! B" C- S$ C& Z3 L  W+ N! `: |
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    4 J  b3 o9 F+ I
  1188. ; file.
    ' `& g! p( s3 w1 {9 n
  1189. ; http://php.net/mysqlnd.debug
    ' n( j. ^, j' w' J. L
  1190. ;mysqlnd.debug =  u2 A+ k' C) k* X# P8 R* ^$ Y
  1191. 4 \3 a" r+ i. R7 }. {& i
  1192. ; Defines which queries will be logged.
    % N0 H' F- t# I1 g( M
  1193. ; http://php.net/mysqlnd.log_mask! q6 a7 [$ L9 ]( C. R7 ^
  1194. ;mysqlnd.log_mask = 0
    7 {7 @# |  ]1 _- B# ]9 b, T

  1195. % |( P1 |- q5 S  y& ~2 v* d
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * H$ g8 j+ v  r1 a4 p* S$ [9 h
  1197. ; http://php.net/mysqlnd.mempool_default_size
    7 n8 S* R& b3 q- H
  1198. ;mysqlnd.mempool_default_size = 160005 U: S* Y  o. R$ b5 ]- n
  1199. 2 g( y1 r  j/ b  u
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 M" I( |& s: |0 ]
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size2 a6 V" t# }: l! h. ^5 b
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
      h7 e% u" a" U) S1 n/ I

  1203. 3 w; W1 X5 g, ]3 R5 B; y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    9 ^* p/ [& A" Z8 B/ Z0 m  N
  1205. ; bytes.! p! V" D8 G* X- u  [" E, N( H
  1206. ; http://php.net/mysqlnd.net_read_buffer_size. @1 K5 d8 T; s7 _) B- _7 C
  1207. ;mysqlnd.net_read_buffer_size = 32768& s. c. Z* ~5 D" e+ I

  1208.   K; {6 r: j7 F1 b) u
  1209. ; Timeout for network requests in seconds.
    1 ?6 j0 F, T% r; T3 J
  1210. ; http://php.net/mysqlnd.net_read_timeout2 Z0 J6 N$ ?9 `" n" i( k! h2 U4 {
  1211. ;mysqlnd.net_read_timeout = 31536000
    0 u, }5 |7 _* w, n* W2 P, c2 `" \
  1212. 0 t0 w; @; K3 m2 B$ _0 Y" ]2 o
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA7 b# U, ~( _% |
  1214. ; key.
    $ Q; j; |' ?" G9 K( B/ P
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    6 }$ i+ e0 n/ x( `
  1216. ;mysqlnd.sha256_server_public_key =
    ' [& y% Q# S* j2 F: ~
  1217. 9 N4 X8 Y: z6 B3 `4 |" j3 V
  1218. [OCI8]
    ; d6 g9 h* E" k- h! X: @: e7 K7 t

  1219. # ], x! {6 X, z8 W. A4 p) N% T6 h
  1220. ; Connection: Enables privileged connections using external5 n' ~* K: v# Q' H
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)3 e* k* r7 k7 c0 u9 n8 |" |( O
  1222. ; http://php.net/oci8.privileged-connect
    / |9 Z# ]3 b6 }
  1223. ;oci8.privileged_connect = Off. G/ _6 ^1 d% Y# \4 a
  1224. * v# b5 f* p8 A0 [/ H  i
  1225. ; Connection: The maximum number of persistent OCI8 connections per6 V- b& I0 [6 t1 w$ U: Z0 k
  1226. ; process. Using -1 means no limit.3 L( n7 f9 G! a, ^- e. H
  1227. ; http://php.net/oci8.max-persistent" C, C* Q+ y3 L. u( K0 X
  1228. ;oci8.max_persistent = -1# A0 N' H" ]% D* }( W2 A. m
  1229. $ S+ a" z: B3 ]
  1230. ; Connection: The maximum number of seconds a process is allowed to. o  `) c( D" W! E
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ; f& Q/ I; g9 A1 d2 k
  1232. ; persistent connections will be maintained forever.. F# O. t: i, }7 L& t4 V- E
  1233. ; http://php.net/oci8.persistent-timeout
    , S# X4 P& t+ \8 Q
  1234. ;oci8.persistent_timeout = -1
    , e( n, y) u: }# U

  1235. . V  v1 K3 K1 G9 }: c  s( \, n
  1236. ; Connection: The number of seconds that must pass before issuing a7 k  [! W; m) P: f- o& `/ Y$ P
  1237. ; ping during oci_pconnect() to check the connection validity. When
    8 e. ^  Q: Y3 F% _7 f
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables9 F% X% s- V/ [$ C2 M+ z! v3 c
  1239. ; pings completely.0 Q& d- F" T$ R5 Y; h$ c2 |& v
  1240. ; http://php.net/oci8.ping-interval, k1 y+ z) w! r4 V. Y( v0 j* h
  1241. ;oci8.ping_interval = 607 v1 c* K/ O' q4 `

  1242. $ E( ~( a& L* |1 Q) b  P% f& p2 G
  1243. ; Connection: Set this to a user chosen connection class to be used
    7 p$ F* W% t' H) y6 F
  1244. ; for all pooled server requests with Oracle 11g Database Resident7 j! K- G. I) D5 s
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to1 e, J( I( [/ l
  1246. ; the same string for all web servers running the same application,& H7 i+ \6 r( |  B
  1247. ; the database pool must be configured, and the connection string must
    . t) U0 r+ X) \7 l0 t
  1248. ; specify to use a pooled server.
    5 K7 n7 z) I" L% x9 {# X
  1249. ;oci8.connection_class =
    5 }- d; _) w) n' P) f2 u

  1250. ; ^- Q4 R& J/ z3 ^+ _
  1251. ; High Availability: Using On lets PHP receive Fast Application
    6 H0 s, I: W! O# c1 w5 I. V
  1252. ; Notification (FAN) events generated when a database node fails. The2 g8 t0 M1 ?7 k  W9 |
  1253. ; database must also be configured to post FAN events.
    $ b3 s* B* O) Y
  1254. ;oci8.events = Off
    ( Y9 u. x& o; b7 y
  1255. , l7 G& W) u" N' i4 |% I
  1256. ; Tuning: This option enables statement caching, and specifies how
    # D% V) d- R. Y' y! h8 p
  1257. ; many statements to cache. Using 0 disables statement caching.
    8 u% b# w0 K: y7 u) B
  1258. ; http://php.net/oci8.statement-cache-size' |; X3 x4 s! @8 _
  1259. ;oci8.statement_cache_size = 20# p' N6 k* I$ x7 X( R! I8 D

  1260. ( Q" O/ r6 O) J  g
  1261. ; Tuning: Enables statement prefetching and sets the default number of7 e6 p: k" ]4 z( R
  1262. ; rows that will be fetched automatically after statement execution.
    , o& ?6 S/ h% l- }0 U2 o7 L7 d- O
  1263. ; http://php.net/oci8.default-prefetch3 o" o$ R6 c8 G$ e+ ?5 B; r
  1264. ;oci8.default_prefetch = 1009 P7 t) w' `: }; i3 T
  1265. 8 V( j0 c& f3 r
  1266. ; Compatibility. Using On means oci_close() will not close1 d* w$ @+ ~0 E4 h. k! x
  1267. ; oci_connect() and oci_new_connect() connections./ G/ ^7 t. N& e- O; Y) \
  1268. ; http://php.net/oci8.old-oci-close-semantics
    % W; J! g- r% D+ H
  1269. ;oci8.old_oci_close_semantics = Off+ \$ @+ u4 b" L
  1270. * c7 T' B$ _# G
  1271. [PostgreSQL]
    ' Z3 ^/ ^  A$ ~& ]( q
  1272. ; Allow or prevent persistent links.+ ^) z7 j3 Q: M1 r) ]# D
  1273. ; http://php.net/pgsql.allow-persistent; |* c: ?1 y# p7 B; t- }) y; v
  1274. pgsql.allow_persistent = On- g' H) s3 L* ^# n
  1275. ; s/ u# ~: W- Z' r( S
  1276. ; Detect broken persistent links always with pg_pconnect().* p" v  M9 r- C" E" r
  1277. ; Auto reset feature requires a little overheads.( f3 X7 k0 W" o3 X2 }, K8 R
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ; H, G/ |1 k) o# ?* }
  1279. pgsql.auto_reset_persistent = Off
    5 n3 ]' l/ v" y9 V1 o0 M" d
  1280. % r' E. i5 p" Z% p$ B
  1281. ; Maximum number of persistent links.  -1 means no limit.. c2 X8 \* E% ]& x
  1282. ; http://php.net/pgsql.max-persistent+ [4 {% C8 [8 r- q% P
  1283. pgsql.max_persistent = -1
    % g8 H4 B1 C( n% S8 @

  1284. % w8 K. S  l5 V1 `3 p
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.* n4 V' Y3 J1 w, t5 |
  1286. ; http://php.net/pgsql.max-links
    % ?* Q+ h' q5 c8 H2 v* v) k
  1287. pgsql.max_links = -1
    " l" n4 R. j" F7 f( M' q8 x- @2 G
  1288. & o' S" G; t) R. k5 @7 P
  1289. ; Ignore PostgreSQL backends Notice message or not.. V' ]# G  v* u- A" {
  1290. ; Notice message logging require a little overheads.
    8 `" V. {+ Y; i, I8 @
  1291. ; http://php.net/pgsql.ignore-notice# Q$ q% M. w6 Z- ]" V
  1292. pgsql.ignore_notice = 09 m0 V. D7 q9 q8 _2 g. {. d

  1293. % v( c- K- L1 \: m/ i0 p
  1294. ; Log PostgreSQL backends Notice message or not.5 T* q/ C7 h0 b) S5 `2 k
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.0 }7 p4 W: J- _9 h4 k7 }) R- d9 F
  1296. ; http://php.net/pgsql.log-notice! F/ S9 I/ ^) z  Q" n
  1297. pgsql.log_notice = 0
    , g0 I* A% b7 e2 T" X$ ^

  1298. # e$ Q. b0 |( w" f1 U2 G4 k6 N
  1299. [bcmath]6 W& n4 K0 c$ I( }
  1300. ; Number of decimal digits for all bcmath functions.
    3 ]% T; o/ Q$ O# m2 I
  1301. ; http://php.net/bcmath.scale
    ! S! ^% \, a! \8 c2 m* u1 u- ^
  1302. bcmath.scale = 0
    ! V" |& D. U' R) O. j

  1303. * a+ d/ Q3 n2 [% O
  1304. [browscap]
    : b7 b' W0 Q  z8 t. f# @
  1305. ; http://php.net/browscap
    6 u; \+ Q5 P7 U. L% ?
  1306. ;browscap = extra/browscap.ini- i/ `- G! Z" K8 N9 w! O
  1307. , E* N  m3 j% p; T$ n0 y4 i* _
  1308. [Session]
    / K6 J  j  c4 V; l7 w7 J, B
  1309. ; Handler used to store/retrieve data.
    " x3 V+ h8 c/ ?' x" O1 p
  1310. ; http://php.net/session.save-handler
    3 F: V' _0 l, O
  1311. session.save_handler = files1 u2 ?. Y+ ~6 B0 Q  _

  1312. 3 M6 D$ L3 k/ |
  1313. ; Argument passed to save_handler.  In the case of files, this is the path  C, e  E7 I( i
  1314. ; where data files are stored. Note: Windows users have to change this
    / j0 u* n6 v) T1 C/ {- E% u7 }, D
  1315. ; variable in order to use PHP's session functions.
    , S2 W9 ~8 m) g" k: v# ~! \1 ^
  1316. ;
    $ w! `1 Z' }- D; B  I  N- W* X
  1317. ; The path can be defined as:
    : w% C) s) q* h1 ~% h/ V; ~# y) d
  1318. ;
    ! l: z- s& V( ~
  1319. ;     session.save_path = "N;/path". n. C2 o; M8 n  {
  1320. ;' ?9 |7 v! y9 i0 ]5 h8 m
  1321. ; where N is an integer.  Instead of storing all the session files in
    0 d' N" v- E1 m/ |
  1322. ; /path, what this will do is use subdirectories N-levels deep, and; N; w: f: m* ?5 Q& `6 P6 w5 P' w
  1323. ; store the session data in those directories.  This is useful if
    4 ^* _( a1 L. n# ?/ J+ g; r% I
  1324. ; your OS has problems with many files in one directory, and is' B# K1 \: w% l( B
  1325. ; a more efficient layout for servers that handle many sessions.0 `# m3 d' z/ T( R0 o3 l
  1326. ;/ b$ m% p: ~' v8 e" D  i( W5 X: t, E
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    & v) h) c. x) W2 J  m
  1328. ;         You can use the script in the ext/session dir for that purpose.
    - U9 r  E) Q7 i9 j  T7 @
  1329. ; NOTE 2: See the section on garbage collection below if you choose to' c6 C7 `  {% E7 t# H9 Y, I
  1330. ;         use subdirectories for session storage
    6 U: `8 S( L7 o/ W0 F4 u# \8 k
  1331. ;
    + H, W/ F+ k1 ]! p$ M
  1332. ; The file storage module creates files using mode 600 by default.( ]6 m" h. S" C2 ^8 [% f" U' u4 y7 Q" {
  1333. ; You can change that by using
    8 L4 l! R! l9 M  p3 I. V
  1334. ;
    + M& |* J4 L. x$ f4 J
  1335. ;     session.save_path = "N;MODE;/path"
    " Z1 l3 C5 Q! e8 A+ w( @  C
  1336. ;7 u9 p% v1 ]- m7 u
  1337. ; where MODE is the octal representation of the mode. Note that this- o2 X3 D0 X' C
  1338. ; does not overwrite the process's umask.
    ; p' P" E, E  u& J: j
  1339. ; http://php.net/session.save-path) _) l" l1 d  F. q
  1340. ;session.save_path = "/tmp", M' O* |" G" l0 z$ G9 X2 c- H5 F
  1341. ) [2 t3 G  p3 w6 B# j/ f
  1342. ; Whether to use strict session mode.6 U8 Z5 \2 s( [9 b' g' G! D7 f9 A
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate. H  Z; `+ l" s; v0 T
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects: {) h2 d: H- o2 Y. d7 H! U9 n
  1345. ; applications from session fixation via session adoption vulnerability. It is- ~/ `. \* j9 {5 b5 k. y# h
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    4 f0 \1 }7 d3 _! w8 Z; b4 }
  1347. ; https://wiki.php.net/rfc/strict_sessions7 u& Y9 q; Q7 F* |* o
  1348. session.use_strict_mode = 0
    ! n. q' _% D$ I
  1349. / ^8 H3 `2 }- [6 S2 }7 @) F2 f
  1350. ; Whether to use cookies.
    9 W. a; E3 {& J$ h  i% {
  1351. ; http://php.net/session.use-cookies$ w: D" }9 D% }" t7 }' y* i
  1352. session.use_cookies = 1  u& M3 c6 ^: I& B
  1353. 7 l7 R7 F; y& I
  1354. ; http://php.net/session.cookie-secure
    6 U1 a2 R2 d5 j) b7 M( N
  1355. ;session.cookie_secure =! u! u7 Y6 y0 ^0 Y5 E4 K3 K; {6 ?
  1356. - L; J: r+ `! i( J
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    7 L9 i" m& H+ D" Y8 E5 G% p
  1358. ; the session id. We encourage this operation as it's very helpful in combating, I8 ?+ \5 ^: h4 o! L
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 P. p$ s1 J3 d6 @
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.: K) s) ^. }( }$ ?/ Z% x( {0 {
  1361. ; http://php.net/session.use-only-cookies
    7 l/ N( G/ Z5 y& @* l
  1362. session.use_only_cookies = 1& r  \4 x9 X6 |$ Q! m5 k4 k% a, g/ n

  1363. 7 X$ L9 z2 d" k/ |- k* l2 H2 D
  1364. ; Name of the session (used as cookie name).) V) M( t0 A# s& K0 _+ h
  1365. ; http://php.net/session.name
    & z5 G- Z1 q( f* W; V
  1366. session.name = PHPSESSID
    7 @" i/ X5 V7 A5 H5 k6 J; s

  1367. / r0 g8 S% L% u5 {# [1 `
  1368. ; Initialize session on request startup.
    7 h; S- D7 ~+ J" E0 q
  1369. ; http://php.net/session.auto-start
    / @, E& u1 G3 ~1 Q; K* E" ]. ^. G9 B
  1370. session.auto_start = 05 W3 k0 p2 `3 R* e' P

  1371. + ]! w! v* T6 u) D
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.6 x4 ~% o1 j$ [( h
  1373. ; http://php.net/session.cookie-lifetime
    $ ?/ v& R% i3 K3 R2 Z0 W# @8 M6 E
  1374. session.cookie_lifetime = 03 a" s/ K3 b( a6 a  N; F: I) j

  1375. 4 h! n2 T0 K8 S; J: q
  1376. ; The path for which the cookie is valid.
      D, j6 n+ h% {' G5 }) l. y8 a
  1377. ; http://php.net/session.cookie-path& I- a; [. i3 p7 c" ?2 Y, C
  1378. session.cookie_path = /
    1 b# f2 U, ^6 g& c% b7 R
  1379. 8 T9 k$ @: e% p0 }, z
  1380. ; The domain for which the cookie is valid.+ \8 ~" {  L$ R3 Q5 ]2 @
  1381. ; http://php.net/session.cookie-domain. H# d9 H6 f4 ~* G- [
  1382. session.cookie_domain =
    % Y* y5 u# q+ R6 O( B
  1383. 0 D4 [' ~5 q) H/ a! T6 z
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! ~  Z" I$ |7 x; v1 K
  1385. ; http://php.net/session.cookie-httponly% y( o0 t& n& q* X# Y# ~
  1386. session.cookie_httponly =1 e1 o$ O. r5 W" A) W! S% l0 }

  1387. * e7 s$ F/ G1 ^) Z" h
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % M$ o6 ]4 w! B3 R
  1389. ; http://php.net/session.serialize-handler/ {  `4 M+ K5 R3 f0 g: V. V
  1390. session.serialize_handler = php8 D% J% a9 T  {: F

  1391. 8 F8 B: ?# [9 u$ _
  1392. ; Defines the probability that the 'garbage collection' process is started
    + w" |9 i+ c9 q9 E4 i7 P& _
  1393. ; on every session initialization. The probability is calculated by using
    ) _  o# b3 f3 Y5 k" a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 m$ ~. Z1 A8 ~2 C( N; V. O
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : H$ j2 B+ c, y5 y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 S8 s" Y* H" \, {$ n6 m. Y& W
  1397. ; the gc will run on any give request.
    4 Q0 _* L: p6 m  q
  1398. ; Default Value: 1* u$ _. L. @: c- c
  1399. ; Development Value: 1
    3 R) y& d) Q( w2 |+ u, n3 E' C: g
  1400. ; Production Value: 1
    4 k2 Q- C) K5 b, r" n
  1401. ; http://php.net/session.gc-probability6 T) C0 J' W$ [! p/ m1 n1 e
  1402. session.gc_probability = 11 h1 `7 Z9 _7 X* s& Q% h! a" m
  1403.   z. l( v" L+ U$ B/ d7 t7 R8 b
  1404. ; Defines the probability that the 'garbage collection' process is started on every& P9 f; t2 ^- }, {9 q
  1405. ; session initialization. The probability is calculated by using the following equation:2 e' \1 ?* }0 D' x9 D6 v
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% b+ J# F) k# [4 m" l
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    % O7 E& W% f, \- u8 w
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 T) Z) k+ e9 `: T
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you7 N" L. |) ?! \! x  T
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 \! W0 N8 m& ?3 i& T( J0 X
  1411. ; this is a more efficient approach.
    6 M% L: _: D  K
  1412. ; Default Value: 100
    " S6 ?$ c  J) {. D4 a
  1413. ; Development Value: 10006 H9 k7 P: r# c- L7 a- F. K! h8 V
  1414. ; Production Value: 10000 D; E) ~$ }, k! g6 H9 I" R
  1415. ; http://php.net/session.gc-divisor
    - t" }5 c8 z7 ~, D; F
  1416. session.gc_divisor = 1000
    3 Z: i( i) e3 a5 U3 I

  1417. % T# m( G0 d+ N" [0 U9 J1 p
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and. n: T- ~* R" y1 R( g1 g% M. }
  1419. ; cleaned up by the garbage collection process.
    5 I" d: |: U  r# D2 H3 X
  1420. ; http://php.net/session.gc-maxlifetime
    * n) O' _/ M9 U" T7 T7 H2 P# o0 j6 p
  1421. session.gc_maxlifetime = 1440
    ( A: H& R* v( C' h

  1422. 3 n6 b7 l* z" i( C( W
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 k) t( E0 f$ i7 ^
  1424. ;       (see session.save_path above), then garbage collection does *not*# f2 t/ i% Z  m. H/ ^
  1425. ;       happen automatically.  You will need to do your own garbage
    5 Q$ s6 f& y6 P0 h# ]& p/ b
  1426. ;       collection through a shell script, cron entry, or some other method.
    0 A" z8 i  p" \# Z8 q2 m
  1427. ;       For example, the following script would is the equivalent of* U/ M7 T; ?. _
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):1 ~" d# T. |+ p1 p
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    1 q6 A0 N7 `3 ?8 L# _
  1430. ) z8 x  _/ J+ M# M
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + O9 S8 M, \9 t6 l) L
  1432. ; HTTP_REFERER has to contain this substring for the session to be' f8 x. d+ p! e& s  {4 H
  1433. ; considered as valid.% M( G/ e8 x3 G9 v0 a! [
  1434. ; http://php.net/session.referer-check
    " ~8 i  }* x2 V* w; {( P8 o0 Y0 x1 h
  1435. session.referer_check =/ M& [6 L- G" _

  1436. 9 v4 ?9 e; x7 x3 G: P
  1437. ; How many bytes to read from the file.
    8 Z! F% ^; \* L
  1438. ; http://php.net/session.entropy-length
    6 }- y" o) T4 }; G0 A: P+ k
  1439. ;session.entropy_length = 32; J# C; L2 T* T) @9 O6 \( [0 Y
  1440. ' s2 E5 F0 ~" J9 [
  1441. ; Specified here to create the session id.
    + ^4 N: a+ `1 J% A' ^/ ]
  1442. ; http://php.net/session.entropy-file
    % b/ ?+ @+ t7 A% T  {
  1443. ; Defaults to /dev/urandom
    + D( W  j9 w$ E2 d. L- O
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom: P' V( l4 @8 e
  1445. ; If neither are found at compile time, the default is no entropy file.
    ! \3 @2 x8 S! f
  1446. ; On windows, setting the entropy_length setting will activate the. f( }: S# F# Y8 z6 g
  1447. ; Windows random source (using the CryptoAPI)
    6 U$ u+ F  f+ \& U& o* Z* K
  1448. ;session.entropy_file = /dev/urandom
      ?' {' t1 @2 L  g& p. V
  1449. , b, z) S8 a& x/ l# ?' \
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    " b2 R* e  a/ X  Z6 h+ q: ^6 E
  1451. ; or leave this empty to avoid sending anti-caching headers.
    + I7 E% J3 Z0 x
  1452. ; http://php.net/session.cache-limiter
    9 n# Q8 z1 y  w! g2 Q
  1453. session.cache_limiter = nocache. Y) G  ^7 i4 R3 u, q1 ~) c

  1454. - [; T! U! s+ A# U) s6 k
  1455. ; Document expires after n minutes." L/ b, o/ Z% ?) g6 U
  1456. ; http://php.net/session.cache-expire* g4 g- V: s1 C9 Z* t
  1457. session.cache_expire = 180* \, ?, u' z2 N& q8 ?. w

  1458. 6 E  S5 l, `+ _, Y5 P' ], |0 ]
  1459. ; trans sid support is disabled by default.) A5 x, A  t3 f' D: ]9 k$ e2 I
  1460. ; Use of trans sid may risk your users' security.
    ) i% i# ^, d- A2 ]; u. Z
  1461. ; Use this option with caution.
    # d4 m- ]8 i0 N8 O+ }
  1462. ; - User may send URL contains active session ID
      {+ d- O5 X7 L* c3 i/ I) Q
  1463. ;   to other person via. email/irc/etc.0 V: O8 V, n* B* W! I
  1464. ; - URL that contains active session ID may be stored
    4 E8 M+ @& N. }
  1465. ;   in publicly accessible computer.8 E7 y8 k/ p' v. h0 i$ n  G* }
  1466. ; - User may access your site with the same session ID2 [( e  `: W; _
  1467. ;   always using URL stored in browser's history or bookmarks.8 K2 ~! q( U0 }% T" W# I
  1468. ; http://php.net/session.use-trans-sid
    + T- N2 l6 |0 M% y$ c1 z
  1469. session.use_trans_sid = 0# C& F: ]1 h$ A, U

  1470. 0 H8 O9 @! i) A6 B" ?* s0 c
  1471. ; Select a hash function for use in generating session ids.
    % A) X- ~. I& e- D) L) U: B3 G
  1472. ; Possible Values8 W% v: Q& g# N6 o/ U
  1473. ;   0  (MD5 128 bits)( \3 [4 Q( ]( [
  1474. ;   1  (SHA-1 160 bits)# a7 p$ f/ @) l7 x
  1475. ; This option may also be set to the name of any hash function supported by" I4 _1 E/ o% [( V. k
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ; R0 M1 \6 @- ^/ u; b3 ^
  1477. ; function.# q( P9 h: _/ s9 X! d  e
  1478. ; http://php.net/session.hash-function3 |& E& x, O4 c' D, O% J  `! e6 s$ o
  1479. session.hash_function = 0" G! S0 B- S7 v2 c! J

  1480. # |$ |, K( E3 G0 U* @6 D/ u
  1481. ; Define how many bits are stored in each character when converting7 o8 K6 F! a' n2 w
  1482. ; the binary hash data to something readable.
    ) F( S1 I' j% e# }# z; |, j
  1483. ; Possible values:
    " X! Q- H: k9 U* d% K
  1484. ;   4  (4 bits: 0-9, a-f)
    : w+ M% V8 }1 D1 P
  1485. ;   5  (5 bits: 0-9, a-v)4 D  ?# Y$ Z- U# w
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")- Z- T) w. N9 M, R+ \+ r
  1487. ; Default Value: 4
    . t; G8 {. j" [" S" F: _% @' s2 A
  1488. ; Development Value: 5
    ) I- N8 S1 f3 F8 [" O% T$ m+ [
  1489. ; Production Value: 5
    6 G; I) T8 p' f& _8 v3 ?
  1490. ; http://php.net/session.hash-bits-per-character' {# F  K4 U/ h3 i( M
  1491. session.hash_bits_per_character = 52 `6 _. D! e) n9 c2 A5 E$ w
  1492. ' }1 L4 {/ y8 M! Z0 j8 j
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 e9 ~- P& J, k3 M  e! C$ S
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    4 W" j% y* Q8 z( }0 ~
  1495. ; add a hidden <input> field with the info which is otherwise appended; o- j1 G+ ^, o
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.6 t+ E) N* H/ K% j& s3 K
  1497. ; Note that all valid entries require a "=", even if no value follows.5 C) J$ H7 t, q& p8 t
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . T2 \4 Q/ y$ b$ L+ f
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ O! K6 R- L0 R) ?; A( Y# ]8 @
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 o+ [0 D5 }# Q: G9 l2 J
  1501. ; http://php.net/url-rewriter.tags0 X' F) ^! [+ l. B) W) d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' r% r: c% _% z# Q4 y
  1503. - R6 W* a7 [/ J9 E" P0 R
  1504. ; Enable upload progress tracking in $_SESSION
    6 T9 F! x6 A- C7 @
  1505. ; Default Value: On
    ' f4 A  n* j* G0 ^
  1506. ; Development Value: On9 }& q! B! k; d3 T; o* [
  1507. ; Production Value: On) Y8 c: {7 \% D5 T9 y( f
  1508. ; http://php.net/session.upload-progress.enabled+ J3 ?# I, c! p
  1509. ;session.upload_progress.enabled = On
    : v( [$ ~: i2 g2 U1 Z$ p8 P5 Z/ w* w

  1510. ' @; M! `" g% A* k% g8 F) l) ^
  1511. ; Cleanup the progress information as soon as all POST data has been read" m/ t; X* z) S2 ^2 a
  1512. ; (i.e. upload completed).
    9 k  j2 T% [/ B4 F$ K& Y
  1513. ; Default Value: On1 w8 E" H9 {! F; d# |' y  G. \
  1514. ; Development Value: On! q8 x9 s# a' ]$ f2 S
  1515. ; Production Value: On
    3 W1 d: d- e8 i- Z- ?$ w8 J
  1516. ; http://php.net/session.upload-progress.cleanup
    / @- W! H5 z  z- |5 Q; M
  1517. ;session.upload_progress.cleanup = On) n* o$ n* {1 L) W' D9 R
  1518. * X5 H5 j1 J# y# t
  1519. ; A prefix used for the upload progress key in $_SESSION  Z( Y- h! k$ `2 Q4 s, g) D* l
  1520. ; Default Value: "upload_progress_": k2 `: {3 r# ?  R
  1521. ; Development Value: "upload_progress_"+ y' E# ?9 W0 }4 B3 I' Q- f, A; `2 E
  1522. ; Production Value: "upload_progress_"  n8 i' s% h) u8 V2 X1 ^
  1523. ; http://php.net/session.upload-progress.prefix* [: g7 X( N& n& E$ P
  1524. ;session.upload_progress.prefix = "upload_progress_"0 |5 i' k# ]5 x4 d+ h: U  |9 a

  1525. + ?8 x4 l/ \8 z6 E( g4 r$ m
  1526. ; The index name (concatenated with the prefix) in $_SESSION3 m  H' y: S, U  w! p" K
  1527. ; containing the upload progress information
    + y. I& m6 w- Y. U4 E$ E
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - p6 `3 c" m/ c/ T
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". D3 q: F7 a, f+ [; P( P2 L
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"/ b; y1 f% V8 q1 L
  1531. ; http://php.net/session.upload-progress.name! ?* V9 M+ }7 i, D7 ]% y8 C4 |- J
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"( l- Q* G9 {4 _; a
  1533. 7 p- U: \( W: N: B
  1534. ; How frequently the upload progress should be updated., ~9 V+ V; ?0 o# a/ X
  1535. ; Given either in percentages (per-file), or in bytes& G% J' G3 u% U, L
  1536. ; Default Value: "1%"( u, E5 {( R: ?! e! A  ]. G
  1537. ; Development Value: "1%"; \  L' u' m/ x9 w* ^; ~8 Q0 y
  1538. ; Production Value: "1%"
    2 }6 c( B. @- D( H8 k7 l
  1539. ; http://php.net/session.upload-progress.freq9 |" t7 b$ @, s" Y6 a! |% k
  1540. ;session.upload_progress.freq =  "1%"; z( U9 R) O% v5 @: h
  1541. 4 o& c. Y) i# @
  1542. ; The minimum delay between updates, in seconds
    7 E! \& K2 a* {7 P3 S
  1543. ; Default Value: 1( D- ~8 v) q( w3 ~2 J% |
  1544. ; Development Value: 1: {$ c$ r4 q7 d$ t' D
  1545. ; Production Value: 1
    : C! x. p- g/ O7 r
  1546. ; http://php.net/session.upload-progress.min-freq
    ; e+ x5 o1 r- G/ _( h) h
  1547. ;session.upload_progress.min_freq = "1"5 x( B* w9 Q5 v) ]' j1 K4 c  o
  1548. 7 T% o7 H4 s4 G4 k8 q4 Z( r
  1549. ; Only write session data when session data is changed. Enabled by default.
    # r/ n) W& q/ m
  1550. ; http://php.net/session.lazy-write
    4 @% h# W+ }2 C
  1551. ;session.lazy_write = On
    # S3 r& M* o5 R9 |$ |  q0 I

  1552. 4 f: O7 `* \& l7 V8 M- D
  1553. [Assertion]( V/ @, O; v0 C: ?& P
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    - x& O5 ~5 V$ W. e, m5 m) D
  1555. ; -1: Do not compile at all
    & @6 K& b& I  ^6 U* h
  1556. ;  0: Jump over assertion at run-time
    / s  z& K0 }- n$ C
  1557. ;  1: Execute assertions
    ( L( x+ A% A: w* c
  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)
    1 g( A6 W. }  y8 @. \) B: w
  1559. ; Default Value: 1: ]1 G% N' ]" N7 z/ \' f' b
  1560. ; Development Value: 18 J- b9 i* h% J  |
  1561. ; Production Value: -1% ^- E0 B: f2 Q8 p. k
  1562. ; http://php.net/zend.assertions
    % K* V9 |% G( N' C
  1563. zend.assertions = -1
    4 Y! |* L6 q/ _! X2 U

  1564. + H2 E) l+ }: b, N9 r" A8 e
  1565. ; Assert(expr); active by default.
    ! n" c% q6 x' L2 K; w
  1566. ; http://php.net/assert.active
    : w) k7 }$ i% H' C  N: K
  1567. ;assert.active = On
    , L& l1 Y& r% Q! g

  1568. + u* \. K5 c& k* @
  1569. ; Throw an AssertationException on failed assertions2 Y3 P" L+ L# J/ v) t* Z
  1570. ; http://php.net/assert.exception+ e) l% p, d5 p  k
  1571. ;assert.exception = On
    $ H* P) Y: S% y. G# b% u
  1572. 1 G$ Q( y- @4 V; p4 C, c
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)* y! E: U  V2 o! }. o; c
  1574. ; http://php.net/assert.warning3 q; J# L$ |6 x- X: K& s$ Y' h5 m2 K( r
  1575. ;assert.warning = On
    8 ]1 p0 D! u# b" C2 s6 `
  1576. / x% A( |; s* c6 P
  1577. ; Don't bail out by default.
    * Z! ?. R7 A& j: K2 J/ u- }
  1578. ; http://php.net/assert.bail1 \3 ^1 i- x3 g
  1579. ;assert.bail = Off
    ) T& w0 [5 y/ U3 |$ ]0 ], s

  1580. 6 [6 h( ^) |! B, d* V5 o! b
  1581. ; User-function to be called if an assertion fails.) z8 m5 ?7 o7 ^) X% y  N1 {
  1582. ; http://php.net/assert.callback
    : B# \2 i( P- t) l; n* h
  1583. ;assert.callback = 0
    ' n& N8 o* i4 }- o7 {+ K
  1584. 8 L. c; ]7 n/ N" k- M
  1585. ; Eval the expression with current error_reporting().  Set to true if you want' K" a* o9 U, P8 @( r
  1586. ; error_reporting(0) around the eval().
    8 y. B5 R9 N# q& E$ g! K& J1 w
  1587. ; http://php.net/assert.quiet-eval4 r- [9 v$ ^  n- k* F
  1588. ;assert.quiet_eval = 0
    / w/ p7 z0 e; l
  1589. 1 e- c6 {$ |; @8 Q
  1590. [COM]- w! C: {, Z; V& U
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. |+ |8 b+ a* }) W) d, p
  1592. ; http://php.net/com.typelib-file
    5 w4 ~! ?! S* r' C; M( A/ C
  1593. ;com.typelib_file =
    + R- Q* I( T/ f: n$ t! G

  1594. 0 I2 T' M1 ]) T
  1595. ; allow Distributed-COM calls
    2 V: U" A9 I2 t0 s9 ?1 L
  1596. ; http://php.net/com.allow-dcom
    " Y+ n$ K" ^/ q, \6 {. M" z5 h
  1597. ;com.allow_dcom = true: e' }+ t# n! U) N6 u
  1598. 0 ~: |" R  B  E# L- ]; E$ Z
  1599. ; autoregister constants of a components typlib on com_load(), {4 z# l% `3 [0 M" N0 A' ]4 o. N
  1600. ; http://php.net/com.autoregister-typelib
    1 [4 G0 c( |; q2 _; Y* l
  1601. ;com.autoregister_typelib = true
    / f% D- ?: H( x$ P. n  }2 e: u
  1602. 8 _, K0 V  Z8 n! y9 V. y# Z
  1603. ; register constants casesensitive
    ) M6 }; }$ s6 m
  1604. ; http://php.net/com.autoregister-casesensitive
    6 v& `0 ~9 z# L/ v- m9 L( [; C9 |
  1605. ;com.autoregister_casesensitive = false5 I6 P8 i+ N) b- B; Z$ j
  1606. . g( ^% b; H2 M0 A1 n; M
  1607. ; show warnings on duplicate constant registrations. q7 P$ \; K9 W6 D( s
  1608. ; http://php.net/com.autoregister-verbose9 v8 R' k/ z% Q+ i; t0 ]& s7 x
  1609. ;com.autoregister_verbose = true
    * m# L+ z5 W+ \4 A

  1610. . v2 P: P& o' V: A: A, I" b
  1611. ; The default character set code-page to use when passing strings to and from COM objects.* y- q1 R, C( ^; M" j! H' t
  1612. ; Default: system ANSI code page
    ; n' i2 K; K% R  X5 ~; r
  1613. ;com.code_page=$ U% t* Q  f3 ^" [- {
  1614. # s1 `% c% u) o! h! u; c3 }
  1615. [mbstring]! |: j/ o# }& j- Y/ V' ], S
  1616. ; language for internal character representation.
    / j2 }4 a; y8 O7 P7 G. ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ( M0 v0 }5 c# @1 X# G
  1618. ; http://php.net/mbstring.language7 Q: O1 A" @3 }1 Z
  1619. ;mbstring.language = Japanese2 K$ S: t- f8 u( q
  1620. ) T) E8 S1 p% s' ^2 I  x
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 M8 F) `8 q6 G% \
  1622. ; internal/script encoding., ?3 b% L" Y5 W6 @
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- ]9 Y" s% s' D# _( D; |
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " v: m9 n: k4 j' l5 j: j1 s
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding) ?5 _+ p7 |$ I6 y7 Z  u6 ~3 p5 O$ w7 \2 |
  1626. ;mbstring.internal_encoding =) \6 v+ R' o# R& h  Z+ [/ ^  s
  1627. 6 m" W0 Z6 |* w" q4 ^( C
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 n5 [, {8 o* l" q
  1629. ; http input encoding.) f& k4 K8 e5 k9 w" D
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.) j7 R: U2 u! K! A  y2 O6 J' s
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.6 _% y' s8 ~' `/ A0 j: E
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input# }: R3 Z% y( j, L# e# R
  1633. ; http://php.net/mbstring.http-input; v/ M7 h( i- w$ M
  1634. ;mbstring.http_input =0 g3 }* u6 H) t# O9 y# c

  1635. 5 ]3 V0 u" l) w! \! i7 w: ?
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.# E5 B, D0 z& Z4 F) m; r3 y1 M" q$ x
  1637. ; http output encoding.
    0 g8 b; J, a9 I- Y9 W, y# M9 L
  1638. ; mb_output_handler must be registered as output buffer to function./ z9 I' Y% R" U& m
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    + H; E9 T6 B$ a, C5 S  N- @' f
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 P+ F8 j1 L& d( r6 H  u
  1641. ; To use an output encoding conversion, mbstring's output handler must be set. u( ?( D7 @  {! A& \! k* i3 [/ j
  1642. ; otherwise output encoding conversion cannot be performed.+ \0 ]5 ]$ [& D
  1643. ; http://php.net/mbstring.http-output% B. M" P  |" C+ P+ V$ j
  1644. ;mbstring.http_output =
    : E# l8 d# `! z& n* ~3 i

  1645. 8 v1 \  J' v3 w9 @- `/ N+ ]
  1646. ; enable automatic encoding translation according to3 W! b' v# {- S8 l
  1647. ; mbstring.internal_encoding setting. Input chars are( \$ w! M& Z7 f2 {- y$ L
  1648. ; converted to internal encoding by setting this to On.7 q$ D+ F1 B1 c1 W% {
  1649. ; Note: Do _not_ use automatic encoding translation for
    4 S/ ^9 G- X: {7 J$ |. C6 n3 g
  1650. ;       portable libs/applications.
    7 i6 k) t+ ^8 Z5 G% x
  1651. ; http://php.net/mbstring.encoding-translation" o; T$ U2 w4 B& d* b* l
  1652. ;mbstring.encoding_translation = Off
    1 t% N) M: ^$ p/ \

  1653. , t/ m# i# P  h: B
  1654. ; automatic encoding detection order." G. n3 h# X' p# I& ?9 B1 ?
  1655. ; "auto" detect order is changed according to mbstring.language. |) Q6 o- m- B, t# I0 X5 D4 G% ~
  1656. ; http://php.net/mbstring.detect-order+ _9 Z! P7 U* l
  1657. ;mbstring.detect_order = auto
    2 s' {( K# H; L& ~9 _

  1658. * ?' J1 Q- K9 C& \
  1659. ; substitute_character used when character cannot be converted! I  p& \2 p( o6 c+ H( }
  1660. ; one from another
    4 w9 u5 ?3 D3 k2 x5 F4 l; Y
  1661. ; http://php.net/mbstring.substitute-character3 M) N9 s  B, x- i4 n
  1662. ;mbstring.substitute_character = none0 c3 X# V. s0 `. n$ y

  1663. $ y9 H* {# X* h0 g5 J
  1664. ; overload(replace) single byte functions by mbstring functions.( p7 m: {/ a& K8 {1 e5 o8 N% I
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , v! Z" ~* Q$ P5 ?, z% `
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.0 h6 F! |& I# L2 ?
  1667. ; For example, 7 for overload everything.
    + l, {- s  j6 b% z6 V
  1668. ; 0: No overload
      N; Y* {3 j. w  h) Y
  1669. ; 1: Overload mail() function. f( j% G  F2 V
  1670. ; 2: Overload str*() functions
    8 e; ~: v" `) @8 U* B7 ?* g6 t
  1671. ; 4: Overload ereg*() functions5 e$ c6 W% I) u% v. A
  1672. ; http://php.net/mbstring.func-overload3 B; s3 Z. u3 \+ F6 y& z; _3 m
  1673. ;mbstring.func_overload = 0) E" \7 N: b, E" K4 [

  1674. ; A$ `& X" c0 x- j  I
  1675. ; enable strict encoding detection.
    0 h, p3 }; W. R: N2 G* h# \  N
  1676. ; Default: Off4 n# T" I; o7 z
  1677. ;mbstring.strict_detection = On
    + H6 S  R0 \8 x4 x. ]9 J2 q" |7 l
  1678. ( t* r' X+ P& B! C  \3 K
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    $ o6 r* R8 M- {% j8 K2 k) W+ e
  1680. ; is activated.
    ( @. j, Y2 P: y2 k+ I. K3 A9 u0 N
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 R* t# X% t! s- g1 M% e  s
  1682. ;mbstring.http_output_conv_mimetype=, p. y9 e# q7 }5 Z/ E6 S& w
  1683. & s) ?6 m. c% E: {
  1684. [gd]& D7 J& L9 Z. @+ U# h- z
  1685. ; Tell the jpeg decode to ignore warnings and try to create! Z$ @3 @, W+ w( c4 o# b
  1686. ; a gd image. The warning will then be displayed as notices
    5 `7 v' Q2 V/ ~
  1687. ; disabled by default
    & F' Y2 G) k! |2 ?8 B8 Q
  1688. ; http://php.net/gd.jpeg-ignore-warning
    5 }* B1 }2 p4 O
  1689. ;gd.jpeg_ignore_warning = 00 d) ]! h$ a0 v8 f

  1690.   v& N7 `8 j+ A2 I; S: |4 _
  1691. [exif]- H% H7 m7 O$ D' v5 O8 k
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 v9 F4 l" n: Z- y! K3 p+ f, i
  1693. ; With mbstring support this will automatically be converted into the encoding" Q9 B7 H& y, }, ?$ ]( Y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding& G0 n8 ^6 Z1 v' y4 Y  H/ v9 a2 x
  1695. ; is used. For the decode settings you can distinguish between motorola and" F9 G, w: u+ ~- K* x7 K
  1696. ; intel byte order. A decode setting cannot be empty.+ v+ o  {. H& V4 {! P+ a- h' G$ b- Q
  1697. ; http://php.net/exif.encode-unicode7 T: p8 |3 L3 I* {# S5 K9 p3 a1 o
  1698. ;exif.encode_unicode = ISO-8859-158 s4 `- ^$ p3 a! I

  1699. - m( r4 b3 T7 [  b8 M
  1700. ; http://php.net/exif.decode-unicode-motorola
    $ Z9 P9 L6 z/ _+ O/ z0 `$ p! C
  1701. ;exif.decode_unicode_motorola = UCS-2BE1 b2 s: ?8 h' k; P/ J4 d4 N/ x
  1702. : O$ v6 Q/ Z0 q$ n
  1703. ; http://php.net/exif.decode-unicode-intel
    % U/ ?- x8 {! j8 ?+ D
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    # X( J4 Y2 F" V8 F4 ?7 v: N! P

  1705. ( F5 E7 r2 n; G( ]0 M7 i' B
  1706. ; http://php.net/exif.encode-jis3 C% F; A- s* l) P# o' i( ?5 j" ]
  1707. ;exif.encode_jis =
    ) `! G; ~' e" x9 X) P5 {% v* f

  1708. ( P9 r3 Q+ X' p; z
  1709. ; http://php.net/exif.decode-jis-motorola
    $ F! P( K* U, M) U  b- A
  1710. ;exif.decode_jis_motorola = JIS
    7 Z. N4 w  I( Y( c" h
  1711. : N( @6 a: \/ U2 f4 {% Q  `3 }, r
  1712. ; http://php.net/exif.decode-jis-intel
    # \. J; a9 F, k% E6 F$ H( t( D
  1713. ;exif.decode_jis_intel    = JIS
    ' K0 U' g$ i0 A6 G* t' a

  1714. : A, o; C7 @/ x
  1715. [Tidy]
    3 f# i. g# u, l7 o( h
  1716. ; The path to a default tidy configuration file to use when using tidy
    5 L# B3 i' ?. i* c) `/ w, `* e
  1717. ; http://php.net/tidy.default-config' f- y6 Q6 g# ]4 j2 f
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg5 m* u' ~2 G2 }( Q6 Y+ W
  1719. % @9 }! G, U- G. c8 p0 G
  1720. ; Should tidy clean and repair output automatically?
    7 U/ r9 g7 A) n8 w5 Q8 e
  1721. ; WARNING: Do not use this option if you are generating non-html content
    : W) y3 s" s2 x5 E3 X* Y8 Q
  1722. ; such as dynamic images+ [8 x$ P+ X) X( ?. u
  1723. ; http://php.net/tidy.clean-output
    9 O  F7 x" @. w  j1 k
  1724. tidy.clean_output = Off
    ; W4 s4 [% v, A9 [6 d; M( i
  1725. ) c  c6 v9 j! u4 Q$ m) a( I" r4 c; ?
  1726. [soap]( S% }" o: Q$ p& r8 `
  1727. ; Enables or disables WSDL caching feature.1 K- \" M* z& D5 }8 n( `( R
  1728. ; http://php.net/soap.wsdl-cache-enabled
    7 m! W$ M) ^# m% D1 N, T8 r
  1729. soap.wsdl_cache_enabled=17 s- }$ {2 B2 V" u2 E3 Z1 K

  1730. 9 @7 H( j6 M% A) d) M5 `
  1731. ; Sets the directory name where SOAP extension will put cache files.# u8 f& {, V: \  t; j
  1732. ; http://php.net/soap.wsdl-cache-dir
    0 D; u' e4 _/ t/ x( i3 |7 s( z* Y5 R
  1733. soap.wsdl_cache_dir="/tmp"
    8 H+ Z5 x' Q; W# u5 o: I+ i4 C

  1734. 9 p0 c( J& z3 g
  1735. ; (time to live) Sets the number of second while cached file will be used; `2 k" r' X* a) g1 b4 N
  1736. ; instead of original one.' l$ y7 L* m  t$ D
  1737. ; http://php.net/soap.wsdl-cache-ttl
    6 O) `( G# o* C. t, {; L
  1738. soap.wsdl_cache_ttl=86400% d4 J! ^! Z; f! ]% u

  1739. 6 Y" A6 ^' A6 Z; H$ A
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ' c* @7 u! V5 \+ {+ b" Q
  1741. soap.wsdl_cache_limit = 5/ ]! ]  ^# ^2 m9 |& o6 s( s7 X5 Y

  1742. . W/ ?$ ^& g) q5 {
  1743. [sysvshm]& P; q: s! q5 z7 W- \4 |, }* I
  1744. ; A default size of the shared memory segment
    + e8 s7 ^1 V& v2 u
  1745. ;sysvshm.init_mem = 10000, X6 C) ~  p. }9 [. b* C

  1746. ! U. o+ {3 }, `; k
  1747. [ldap]
    ( K. j* k# g7 H: e; {
  1748. ; Sets the maximum number of open links or -1 for unlimited.+ S5 l* r8 Y' U7 O- p9 ]- K
  1749. ldap.max_links = -1+ v2 B5 P; R- I0 ]/ L/ Q

  1750. 1 A2 d! _4 P3 X" c# a. }
  1751. [mcrypt]
    " F. d2 m3 m- L( j. V9 o' J8 W
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open6 a7 v  y* O5 I' x+ X7 O2 C, G

  1753. 7 Z7 N, v( G+ C8 u# L8 C
  1754. ; Directory where to load mcrypt algorithms
    # ?) @- |2 T& Q, B) i5 }
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& Z  x9 M9 f& j, S
  1756. ;mcrypt.algorithms_dir=
    # ?5 T5 k! w3 T3 L
  1757. - f8 s0 F" V# B5 g5 U* w
  1758. ; Directory where to load mcrypt modes( u5 Q' r& m. q6 p7 q6 _
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * I- U5 B8 T( K
  1760. ;mcrypt.modes_dir=
    8 K* L. S  k+ [$ L0 A' e

  1761. " U/ b; P2 i* u: H
  1762. [dba]# P* Y  ~7 v# T  J: Q
  1763. ;dba.default_handler=
    # U( r% m& \  S: {+ A! t

  1764.   F8 F% j* [+ c4 p- s
  1765. [opcache]* q& M  s5 w( F
  1766. ; Determines if Zend OPCache is enabled
    * W% ^( z4 j' N
  1767. ;opcache.enable=0
    * K( W4 U, F) o; H

  1768. . t; c3 e6 {" x
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % ]) k5 r, ?6 R2 S+ \; D
  1770. ;opcache.enable_cli=0
    * O) X9 z4 j4 d
  1771. % l, ~1 A1 @7 ^0 W& K
  1772. ; The OPcache shared memory storage size.
    " c* \3 C7 z( U/ A2 q! o
  1773. ;opcache.memory_consumption=64. @9 Y# ]2 X& I$ M* d  B

  1774. 3 p/ j4 j  p1 f( Q
  1775. ; The amount of memory for interned strings in Mbytes.0 j2 S- }8 g+ r5 J9 {+ Y( @
  1776. ;opcache.interned_strings_buffer=4
    " e) x9 C/ h& X( Z3 D# m; H. x8 x; M7 K
  1777. + z' Y$ w/ G6 b# z7 ?
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.. V( V: k, W8 {9 u
  1779. ; Only numbers between 200 and 1000000 are allowed.
    $ J4 \& Q5 ?$ \0 v/ b, ~8 W
  1780. ;opcache.max_accelerated_files=2000
    1 a* o! [$ P8 u
  1781. - @8 r. E9 O! U. V* E3 M
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ) G/ F! V, |4 S& v; ~9 l! e
  1783. ;opcache.max_wasted_percentage=5* E7 |7 C% ~2 a) S8 h
  1784. ; L/ s# v9 q: Z5 d
  1785. ; When this directive is enabled, the OPcache appends the current working
    - O1 B) M8 b. m- I" S
  1786. ; directory to the script key, thus eliminating possible collisions between5 m. Z/ {( Y7 n4 o. H
  1787. ; files with the same name (basename). Disabling the directive improves
    $ @. c) I3 M1 P' O4 n# s
  1788. ; performance, but may break existing applications.( c7 i$ x8 `2 k% c
  1789. ;opcache.use_cwd=1: Q6 v# V. t1 o! _' d
  1790. 6 e$ e, \3 |, x$ F
  1791. ; When disabled, you must reset the OPcache manually or restart the
    , l6 w* z" \, S3 `' J
  1792. ; webserver for changes to the filesystem to take effect.
    * s0 \4 f! }2 U' G- x
  1793. ;opcache.validate_timestamps=1
    , G4 W$ x" J* w

  1794. - M( ^, U! i# H5 ~/ G$ g4 r4 h( y9 `
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    & z# e4 s3 _" t; V4 f* t  w; b
  1796. ; memory storage allocation. ("1" means validate once per second, but only% x  P$ V4 x8 f$ w* x
  1797. ; once per request. "0" means always validate)5 j% C6 ?8 p& x- X& k& Z- |2 g
  1798. ;opcache.revalidate_freq=2
    & ^% V$ o7 T, a
  1799. & w/ m8 @9 e  R2 v, B. O9 s
  1800. ; Enables or disables file search in include_path optimization
    6 f3 L6 T, s, I* F: Y
  1801. ;opcache.revalidate_path=0
    ) }$ q, }- c) Z! T
  1802. $ c$ f. o  h: C" v0 o5 s
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) c5 A$ t* ^1 ?- L1 K
  1804. ; size of the optimized code.( o2 G7 c8 t; B! Y
  1805. ;opcache.save_comments=1
    $ g/ }, ?1 |% r" Q! u* m3 P. p) A
  1806. 4 W$ Z/ O: g. H- g9 h
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code. C( [* Y/ \) O
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    9 J* ~% B* M3 A4 N) J
  1809. ;opcache.fast_shutdown=0
    0 y) t$ _, q& n  u* Y8 Q4 F+ f
  1810. 7 f, Z+ N3 S+ m% {
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    $ b( _1 r/ O+ _. N) {/ U) J7 \
  1812. ;opcache.enable_file_override=0
    ! Q& |+ ?6 e3 O( M2 J3 ?4 W, G9 V) _
  1813. 0 I1 l0 Z! V/ G: p# l
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache1 G% K+ l! O! q8 |2 i2 y; O. ]2 O
  1815. ; passes
    6 d2 C% ^0 T0 A  T0 [7 V' ^
  1816. ;opcache.optimization_level=0xffffffff
    / a" z# F2 n& {: C0 c& p; H1 s" @

  1817. , F0 s! S+ c- o. D6 s7 d5 H* W4 t
  1818. ;opcache.inherited_hack=1
    9 U, E' f2 D' U1 Y
  1819. ;opcache.dups_fix=0
    & U# z( m" {6 ]/ p! {7 y0 L
  1820. $ m  ^% }+ u# D
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    * Q- s# N* W  G6 Y, B$ l; f
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    - f, k+ H. v* j; h' |1 p
  1823. ; that should not be accelerated. The file format is to add each filename
    / g! c4 h  y4 o6 ]# O4 `0 h
  1824. ; to a new line. The filename may be a full path or just a file prefix! T( b" _3 L3 O5 w+ q9 G
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, G+ r) F8 g' v, J- E
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    4 C) V( @2 S+ A2 v0 ]5 t
  1827. ;opcache.blacklist_filename=3 h& M* ]  g- X: Z- E. d  o8 Q
  1828. # f* B2 R$ d0 {; M2 c) e: p
  1829. ; Allows exclusion of large files from being cached. By default all files  V. a: D1 I- k+ N6 i4 {6 y, P
  1830. ; are cached.
    0 A9 g/ c* L) o& y9 i9 S
  1831. ;opcache.max_file_size=0
    , U+ {' m0 V+ C/ Q- [* @, U
  1832. 6 @( E7 w$ W! v: e! Z
  1833. ; Check the cache checksum each N requests.2 `3 Z3 }7 Z$ w% w
  1834. ; The default value of "0" means that the checks are disabled.
    " v5 h3 \+ ?8 {
  1835. ;opcache.consistency_checks=0
    8 ~) [# }" m; q8 O' o4 j

  1836. 9 _6 {# A( M3 X6 O7 s, n9 n
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache8 r: b* T/ E0 R; x) M  B9 x
  1838. ; is not being accessed., x' z* u% b, B
  1839. ;opcache.force_restart_timeout=180
    ) J9 K* o) s( T% i
  1840. : |9 Z0 [: [5 C, C# }" w+ P
  1841. ; OPcache error_log file name. Empty string assumes "stderr".3 i! E/ l8 }) \! f
  1842. ;opcache.error_log=
    7 T% I% s( S0 O
  1843. $ m& R( f  O7 w& a. [
  1844. ; All OPcache errors go to the Web server log.  l& {, h. z8 L1 `6 u) B
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged." X3 p% k2 B9 n  t
  1846. ; You can also enable warnings (level 2), info messages (level 3) or" H& x! z5 g* w' b+ M0 ~6 s9 O
  1847. ; debug messages (level 4).
    ' p! H) o* m3 y, Y4 K$ a' R
  1848. ;opcache.log_verbosity_level=1
    0 g5 |, B6 z" \+ ]8 t

  1849. 1 R2 Z, i, _% o
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ( }, ^7 Y$ r; X8 p5 j
  1851. ;opcache.preferred_memory_model=
    6 M* ^2 Q+ M6 a3 D
  1852. : K2 i; F# {1 a" M% m# Y
  1853. ; Protect the shared memory from unexpected writing during script execution.$ Y+ b# z' }* H) f; l9 g* h. C- a
  1854. ; Useful for internal debugging only.6 h8 t2 D+ L( q2 y' E/ O
  1855. ;opcache.protect_memory=0. H, O! j2 |! F/ j% q2 A

  1856.   v& l% n# ~& s( `' y+ |. H
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    . t! f3 r5 ?- q; e8 G2 C
  1858. ; started from specified string. The default "" means no restriction2 R, O4 n- I: f& V$ c+ e
  1859. ;opcache.restrict_api=
    , m+ |  ?! i" ~0 N+ K- V( E

  1860. ' h; ~- A* ]' F4 {$ K# o* X
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
      E' V6 X2 |2 ]( X) y  H/ w2 {
  1862. ; processes have to map shared memory into the same address space. This; \* l8 P( Q) J* h4 L: G; r/ }
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    . ]$ g8 x# B6 `, B9 y, z" r
  1864. ; errors.
    8 d( s5 D) T+ n/ |
  1865. ;opcache.mmap_base=7 @6 y5 E7 @) n* C0 z

  1866. + X6 U5 p* X: ]$ }( ]/ j
  1867. ; Enables and sets the second level cache directory.. o9 b, J! ]9 u9 {& `1 M* Z
  1868. ; It should improve performance when SHM memory is full, at server restart or
    , x- x) c5 H) i
  1869. ; SHM reset. The default "" disables file based caching.& g, |- y5 x( N: q0 l( R9 b% |$ f
  1870. ;opcache.file_cache=
    : M9 @9 [3 X5 t- Y- q

  1871. 5 e, ~1 @% j/ f- ]! H" r8 f- L
  1872. ; Enables or disables opcode caching in shared memory.
    ) K: G; M1 l" \6 J, r$ @0 C1 b% m
  1873. ;opcache.file_cache_only=0
    2 o1 F  l# `$ u2 a1 K

  1874. 8 t  `0 Y: M/ S, o% D
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    , B1 a' f9 A/ ~4 Q  ]
  1876. ;opcache.file_cache_consistency_checks=19 y. s+ ?+ a* A, m% l1 G
  1877. ) t& G6 P3 H; T, @
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    9 X0 b& F, T( V- I. b
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    6 K5 c% Z0 [5 `7 h( p
  1880. ; cache is required.% d/ v- B$ i& C4 A. |+ ?
  1881. ;opcache.file_cache_fallback=1, d! x  H. [* o

  1882. , ]1 u8 C. v2 h7 T: Y% i
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.( p7 @6 j* w; x/ j* e
  1884. ; This should improve performance, but requires appropriate OS configuration.: ^3 H2 G8 H5 V" U% I9 y
  1885. ;opcache.huge_code_pages=19 x+ T% N8 V5 W+ J0 r/ V
  1886. # E! `' D2 H- r5 u) S: M0 E
  1887. ; Validate cached file permissions.! i- I% Q. ?, h- }! [2 u
  1888. ; opcache.validate_permission=0) s5 l8 ]. z+ w- z% z- V
  1889. ! P, r* ~6 q/ x  }1 C) j- G
  1890. ; Prevent name collisions in chroot'ed environment.
    2 g8 _  E9 I9 E4 w* ^# |
  1891. ; opcache.validate_root=0+ a4 |& B- j+ c1 ]# y& F) w. S
  1892. ( N/ M; p, Y. _7 c% O+ W! }1 O* F3 \7 ?
  1893. [curl]4 ^! _- _! t9 ?0 |  H* o
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an8 e) Z5 o, @1 g% [, w% F
  1895. ; absolute path.
    5 J5 ~# x9 k; _6 _9 R+ U
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    & D* D8 s3 ~5 |  j+ \) Q
  1897. 8 ]* Q  Q) R/ _3 ^  g/ t* k
  1898. [openssl]1 i/ W5 y1 i) [
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    - P: B# N# E8 ^8 f: i9 k- n
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    , Y# c, Q$ y2 S$ S6 E. X% |
  1901. ; not specify a value for this directive as PHP will attempt to use the  t7 L$ s4 h, Z. X' X
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ' ^  @7 e2 l# q0 x4 |
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context' J1 F2 h) Z0 C: z: @7 m  x
  1904. ; option.
    + k5 ~; }4 K: C& Y3 h4 j
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    0 I# _; I5 N& V8 A8 R7 `

  1906. ( z$ t% Y7 J6 f3 M  ]
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 p+ E- i. a- {! j1 w/ ~7 B. x( l
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ( `7 i) R( {+ ]
  1909. ; certificate. This value must be a correctly hashed certificate directory.% ~8 |% @5 A/ V+ |% v' q' h
  1910. ; Most users should not specify a value for this directive as PHP will0 b; E& v: P, S3 G: V  ^
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    7 g/ _1 C7 f* q+ M% b
  1912. ; this value may still be overridden on a per-stream basis via the "capath", a3 H7 `3 Q! M2 n
  1913. ; SSL stream context option.
    3 U2 L& t4 }3 |2 N, H3 {% c' Y
  1914. ;openssl.capath=) a, k7 `- Q4 s

  1915. . d5 a2 \! @9 x8 r
  1916. ; Local Variables:
    % {$ J7 C  G, Y5 k/ e9 R  A
  1917. ; tab-width: 4
    7 {" m7 `; h# \# v
  1918. ; End:. w$ `! u- M5 R8 z# t* Q) S6 k
  1919. 1 e% I% k& ]! B5 E! p$ ]
  1920. ;eaccelerator% L7 O8 g( k# Z* E
  1921. # J- K" a. J/ c1 ]# D9 _: A- o5 L* @( ~+ t
  1922. ;ionCube
    . ]& M$ O0 l. O3 @* i4 ?

  1923. : g! _$ M, f1 U9 ~9 b
  1924. ;opcache
    $ T7 S' X# k/ X3 g5 v

  1925. 1 X; y; X: ?9 v. h
  1926. [Zend ZendGuard Loader]: I4 n' B3 D- v
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    * m( }3 p4 g6 }1 U
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ; Y0 m3 R0 F4 s& n6 _! }
  1929. ;zend_loader.enable=1
    * r$ i; j7 V" D' R9 u) t
  1930. ;zend_loader.disable_licensing=0  D4 c% {& C2 W) ^' l% d
  1931. ;zend_loader.obfuscation_level_support=3, H& Y) i1 c  y7 I8 D, [/ ~& _' H
  1932. ;zend_loader.license_path=/ d+ l. V# j  Q& f! V: s5 y! s0 m

  1933. ; `+ b; X3 t0 X# v- y& m' i" p
  1934. ;xcache
    * x, n/ E+ V; _# L0 X: L
  1935. 6 [6 z( f5 I5 a; A, L
复制代码

8 R" l- \# i  ]$ s+ u
  h' F" _: E4 w. J" s( [# W" L; Q2 t/ O- L3 Q
: {' O$ z6 w% s( x. ]& n3 M4 V

4 f$ t% u) Q# {+ F; {- q& a/ w' I' K0 w5 _* B% j

+ Q, {9 ?  T& z3 `PHP5.6版本原始设置
% m( V1 P, j4 f* x4 L+ h1 A3 Y8 m
' u, K* N2 e8 m  Y: L$ ?
  1. [PHP]
    0 b% W$ h. c, b  ^4 `5 b6 I
  2. 6 P* p5 z- W' r5 b% O
  3. ;;;;;;;;;;;;;;;;;;;
    , h) k. {* f7 f9 N" z. `4 t8 }
  4. ; About php.ini   ;$ g9 P2 V# X% B* @, o
  5. ;;;;;;;;;;;;;;;;;;;
    ' [. |3 C7 o9 N$ a% p# Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for# M8 h; X) V7 k6 k5 y1 b1 k" H7 [% a
  7. ; configuring many of the aspects of PHP's behavior.+ B2 s+ N5 y, C* w
  8. ) Q9 F5 Z- q  l% U& A, [
  9. ; PHP attempts to find and load this configuration from a number of locations.+ G8 i, I3 f1 M+ {8 t0 O: B" y1 l
  10. ; The following is a summary of its search order:0 l3 u  t/ F9 x4 N  f
  11. ; 1. SAPI module specific location.
    - O, }" H7 V% r
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    % r9 F  u7 ^, J7 }7 I  t, Z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 |3 e2 ?- U1 H; \( A3 M
  14. ; 4. Current working directory (except CLI)7 i* F) C& n" z! m
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP8 P3 |- E: ]1 T3 e7 N
  16. ; (otherwise in Windows)+ |( W. ^! Z/ Q5 H8 S* D5 i
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    , U' z. g! k3 t  W* z- \  p, r
  18. ; Windows directory (C:\windows or C:\winnt)  O/ J! O/ [5 u* [6 }/ R& b. w
  19. ; See the PHP docs for more specific information.! l( |$ q) v2 e. C) F6 q+ g
  20. ; http://php.net/configuration.file
    ) U1 e! O  X5 Y! S/ d# d0 r

  21. 8 ~' K$ s, ]! \6 w2 {4 `2 W. X6 g
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    , j( L3 q' t% J4 y8 H# }1 I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 Q# G: o7 a6 C5 p& \* c
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though7 S: x% F. _; v0 I# K& V! l. ?4 Q5 W
  25. ; they might mean something in the future.( G) n* p) W0 p& e" v% {
  26. 4 N4 J, z& v; `7 h% K
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # n: r2 M: ?* N  b2 ~" r" U; e) ]+ Y
  28. ; apply to PHP files in the /www/mysite directory.  Directives  `( V; h' \3 ?! u. U" b
  29. ; following the section heading [HOST=www.example.com] only apply to
    & L+ g. f1 \* L* u) D8 Q5 K
  30. ; PHP files served from www.example.com.  Directives set in these0 s" {1 O3 f2 W5 ^8 R) p% {9 k, h4 L* N
  31. ; special sections cannot be overridden by user-defined INI files or* f$ [7 O' Q; Y$ Y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    , N& {8 y1 T7 J3 n
  33. ; CGI/FastCGI.! i6 }8 s! f/ p- i' O  d" n
  34. ; http://php.net/ini.sections) P/ Y) q' x! B3 y$ @
  35. 2 N. ?& {/ j3 _9 Y; B$ i$ D' b& N
  36. ; Directives are specified using the following syntax:
    ) \2 [2 [/ d0 @/ c8 w' K; v
  37. ; directive = value
    ) t, Q8 _' B* O5 y5 G: Q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.8 [! J9 v6 N  G
  39. ; Directives are variables used to configure PHP or PHP extensions.
    + e* ^8 @7 L9 x$ @% z" O: M
  40. ; There is no name validation.  If PHP can't find an expected
    3 P3 ], K. F& n6 J
  41. ; directive because it is not set or is mistyped, a default value will be used.' w" s. m! o; z) Y

  42. 5 A2 i8 Y( J5 p$ V0 |
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one( _6 w; P3 S4 d( t( X7 x
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    " A1 l$ D+ g) Y; j3 s; s( S- q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a/ e; y4 E2 t3 P) _0 N$ L" ?$ ^
  46. ; previously set variable or directive (e.g. ${foo})
    - T( q* }$ X2 Y7 x0 j

  47. 4 e! J& W' X7 a  V) X6 W4 {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 N' Q1 [0 j) N) p( X
  49. ; |  bitwise OR$ m9 ~( o$ V3 }" V# h3 y
  50. ; ^  bitwise XOR6 n, ~. Q2 {4 s6 `  i! D
  51. ; &  bitwise AND6 d/ ~; y% _  s' U' x
  52. ; ~  bitwise NOT
    - Q5 e" _! M* \2 Y; W# p
  53. ; !  boolean NOT$ W( O" Y; P/ l& M. |
  54. - O: l, a/ w% E( P0 R! f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 r. \) U2 Z4 _# Y/ ?, E. \
  56. ; They can be turned off using the values 0, Off, False or No.7 z4 w. ?- @. {/ W/ i. j: s
  57. : r2 V) l0 j- p3 B$ c
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) g/ S1 t3 L7 j# k# A: w
  59. ; sign, or by using the None keyword:* R% k( y+ s+ T4 h

  60. ( b- {# S3 P9 h- j4 |1 t
  61. ;  foo =         ; sets foo to an empty string2 H0 ~- @6 A4 p* y! y0 w5 ]* X- s
  62. ;  foo = None    ; sets foo to an empty string' s' \  `. ~; f" o
  63. ;  foo = "None"  ; sets foo to the string 'None'
    2 `: ?+ {9 Y# S* N& S% a

  64. ' U, R* x: R% v  w) y/ T
  65. ; If you use constants in your value, and these constants belong to a
    ' P7 y# Z4 T1 X) {  D; m  f' _+ T
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % P; \  T, X8 a+ _: l
  67. ; you may only use these constants *after* the line that loads the extension., P' V2 O7 |8 f4 C
  68. ( l# ^9 n# b3 z! ~" I7 s/ {3 C
  69. ;;;;;;;;;;;;;;;;;;;
    4 `3 X: r! o& v
  70. ; About this file ;/ l. ?5 Y9 A, d& _) U" a
  71. ;;;;;;;;;;;;;;;;;;;; @7 E5 F- o9 _0 `1 U
  72. ; PHP comes packaged with two INI files. One that is recommended to be used, Y* ?; t' ]3 c  n+ i7 m8 v( D
  73. ; in production environments and one that is recommended to be used in
    - W+ x$ A! [2 m7 w
  74. ; development environments.
    & D3 _. s2 K( O1 d1 N5 F5 m: H1 A% ~

  75. ! l- z  Q+ Q% p) J8 G; [7 `
  76. ; php.ini-production contains settings which hold security, performance and3 e- {/ X& H- Z# I/ R4 w/ U6 n
  77. ; best practices at its core. But please be aware, these settings may break
    3 h1 e- m/ R$ D! k
  78. ; compatibility with older or less security conscience applications. We
    ( o: `6 n( [; ^# K: c) X" D6 N* Y) H, c7 \
  79. ; recommending using the production ini in production and testing environments.3 P, I% u% H" v1 e; @2 l9 X

  80. * M6 |1 O( s: t5 Y7 i: D( z
  81. ; php.ini-development is very similar to its production variant, except it is" n% ~7 w! z, M' b' `
  82. ; much more verbose when it comes to errors. We recommend using the: }2 f& ^/ [/ Q
  83. ; development version only in development environments, as errors shown to
    . O& D* I. q' C7 `! _  q) W4 [
  84. ; application users can inadvertently leak otherwise secure information.
    ; M0 i" ~2 `6 @& S2 J( x2 H
  85. % \2 i4 y0 |4 B% r: w
  86. ; This is php.ini-production INI file." F, C$ C5 ^0 y# b" z' R. w
  87. " p, O# A0 ^2 B& S& ~/ u2 m5 ?6 A
  88. ;;;;;;;;;;;;;;;;;;;' W# r5 V5 I+ A4 V
  89. ; Quick Reference ;
    4 O" y' b$ Q# ?
  90. ;;;;;;;;;;;;;;;;;;;
    7 C& j4 u% [+ X% n* \+ _
  91. ; The following are all the settings which are different in either the production
    , N. [) ]# E- J0 U6 `% W
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ' n/ o6 ]9 p4 x& U& S
  93. ; Please see the actual settings later in the document for more details as to why4 @! l5 b$ _$ N/ [  D7 d6 m  ^
  94. ; we recommend these changes in PHP's behavior.5 x( D* L2 y1 ?. p7 s# u
  95. $ k( W9 z! J$ |+ m3 @
  96. ; display_errors
    0 i( T$ m2 z2 I' w0 [8 f
  97. ;   Default Value: On
    ) w4 c! c1 k% f
  98. ;   Development Value: On
    3 c7 `) ]( Q( k  w8 \- [; m
  99. ;   Production Value: Off6 W# i) j" T$ g! ^
  100. 7 _6 d6 X& c* L4 ?+ `
  101. ; display_startup_errors
    , l6 j0 Z* I3 t9 \3 j) Q
  102. ;   Default Value: Off
    ( H/ d" w+ u1 z% N  n
  103. ;   Development Value: On/ \$ I( J/ D9 k; A8 ^' g7 c7 u
  104. ;   Production Value: Off9 X& c& l2 n' A1 v+ g1 r; `
  105. 9 b, t8 R5 w% S
  106. ; error_reporting
    5 @8 o2 e+ \/ t+ \1 V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" h  s0 Q; M* X; U. S
  108. ;   Development Value: E_ALL
    ( m1 `6 E  u; D
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 d( S. b! {( {9 N" k: u4 g

  110. 1 R8 ^9 A8 x* r
  111. ; html_errors$ i; V$ z/ f" j1 T9 x, [
  112. ;   Default Value: On, J3 s, K5 T: A: V8 B1 k" p
  113. ;   Development Value: On. Z2 C& p% H$ h3 i8 n
  114. ;   Production value: On/ \& i$ d6 x3 T9 F
  115. 1 G6 Y3 M' D: z; Q2 _
  116. ; log_errors, c) G3 ?8 P; ~* ]9 @( Y1 z
  117. ;   Default Value: Off, i' R# ^: [% l! M: S
  118. ;   Development Value: On
    8 z" `' j% b% Y! i5 z' g
  119. ;   Production Value: On
    # X: N: e: M: ]  y1 `
  120. ) Y! h; ]2 l7 o6 M3 b+ A
  121. ; max_input_time
    . }# b* }! }$ I# w/ Y
  122. ;   Default Value: -1 (Unlimited)
      W! s6 T4 o0 N' e, J
  123. ;   Development Value: 60 (60 seconds)' Z3 m1 b+ N) Q7 k+ n
  124. ;   Production Value: 60 (60 seconds)
    # |8 Y( B! N; j7 `+ b" z+ J
  125.   n1 ?2 a" I3 a7 F2 K) V
  126. ; output_buffering7 T9 p5 A& X: n
  127. ;   Default Value: Off
    % Q/ i0 A8 @+ i" O9 y0 p
  128. ;   Development Value: 40961 U5 W. n6 C% P* w
  129. ;   Production Value: 40969 J# {. s1 _/ c0 f$ U. G9 @
  130. 4 t) n# }4 w/ d5 [5 T; B  V8 w& y
  131. ; register_argc_argv# H1 O1 ?, B! ]" ?/ c3 C  U3 [
  132. ;   Default Value: On3 \9 E' s( f* O, m/ t& {
  133. ;   Development Value: Off9 A/ ?% j% m+ x$ H
  134. ;   Production Value: Off
    " y' o, e& o4 e0 t7 P& A
  135. " Y2 X' j( W/ m% Z4 U
  136. ; request_order2 _: j4 T. f8 P( e: ?8 s( V
  137. ;   Default Value: None
    ; d& N% G, W2 ]+ M
  138. ;   Development Value: "GP"* h$ b: q0 f) X+ k& i: I% v
  139. ;   Production Value: "GP"
    + W; E: x. }1 U6 }" Y$ E: Z4 e

  140. 8 }. e( O4 v$ k% \* u* p' l& Q: Q
  141. ; session.gc_divisor
    ' d# d) @6 D4 C) P. e
  142. ;   Default Value: 100& O4 b4 {# c0 D
  143. ;   Development Value: 1000
    ' F- b( O; [. B; S+ U0 H* y. D
  144. ;   Production Value: 1000' ~: `6 |- m( B& \9 Z
  145. 5 I$ T+ p- l4 c9 @3 o: l4 b
  146. ; session.hash_bits_per_character9 U, n% @* G" }" F
  147. ;   Default Value: 46 h5 D2 ?$ r0 h* n" }! T
  148. ;   Development Value: 5
    : H/ l9 ?# f) O) _  X: _
  149. ;   Production Value: 5( Z6 _5 u, P' ?
  150. 4 m. Y1 U, Q! {% ?$ c' |1 S1 k
  151. ; short_open_tag+ J" Q" c; b0 U; k0 u
  152. ;   Default Value: On. H6 e0 j7 b$ o5 Y  k( s6 H
  153. ;   Development Value: Off5 g) s9 }* a( z  N: Y$ D- E
  154. ;   Production Value: Off+ [8 v( M9 _( [% e/ q0 K

  155. ; u: g- E& G. T; v* j# w
  156. ; track_errors  S/ i- L% n& w2 |
  157. ;   Default Value: Off
    * I& T7 K' m( E2 b
  158. ;   Development Value: On
    5 b1 B5 O0 [5 s
  159. ;   Production Value: Off! q* ?; Q0 n8 n0 I: `5 y
  160. 7 A( [0 ^( G+ B
  161. ; url_rewriter.tags
    * \7 g; `- P1 @6 _1 I
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="4 P$ k( ~" v9 Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , j8 r# ~- Q/ }, u: k+ C* i
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % }7 A( l5 X9 G  s; A  r* W# a5 E

  165. ( p" b! K. W/ r7 k, R8 N0 X
  166. ; variables_order
    3 s: Q7 u0 a, S& X  t- [
  167. ;   Default Value: "EGPCS"
    ; R. D, g% j( M2 n2 n0 [
  168. ;   Development Value: "GPCS"
    3 v- n6 e  [0 q, r9 `5 t
  169. ;   Production Value: "GPCS"; d. M) p! D5 @7 m0 J
  170. ! A" q* i* x8 w5 R' X1 E
  171. ;;;;;;;;;;;;;;;;;;;;
    ' q- |- s0 H0 {
  172. ; php.ini Options  ;
    . g0 C/ }8 d5 c& Q: S/ k  f
  173. ;;;;;;;;;;;;;;;;;;;;* w9 T( J8 U* d* q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 R7 Z; b% M1 K) A7 e) s
  175. ;user_ini.filename = ".user.ini") b' R4 X! j% t' c( N# i; g2 I
  176. 7 w5 |4 C, n- [
  177. ; To disable this feature set this option to empty value
    1 w% Z( ^3 y( L: V1 ]/ e9 L8 {
  178. ;user_ini.filename =; v  e; H, S* I3 b2 g

  179. % x7 Q' E; \' d
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 y& M8 A# e9 M7 x0 B! L" p$ X
  181. ;user_ini.cache_ttl = 3009 H; K2 w3 }5 v1 e  ]

  182. 9 R9 B; R% U& J0 g, `& |& w. {( g* |
  183. ;;;;;;;;;;;;;;;;;;;;
    ; E6 e# P" T4 t6 c6 l" \! L" y
  184. ; Language Options ;
    : C* o" q8 @7 w7 V+ A
  185. ;;;;;;;;;;;;;;;;;;;;+ Y, G9 |5 D& A' R
  186. 7 K$ Z: [& h% I) Q. }5 X+ y
  187. ; Enable the PHP scripting language engine under Apache.
    * j5 `, H: n. _
  188. ; http://php.net/engine
    0 S$ }8 j9 U+ N$ P" H! V
  189. engine = On
    6 B* p( ^; p& @1 w( O; g  z6 u5 }3 \

  190.   T, g* B/ ^+ f- D) f
  191. ; This directive determines whether or not PHP will recognize code between
    9 j, Z" Q$ ], F
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 x/ |9 b3 ^' }, N  e5 u5 f, v
  193. ; generally recommended that <?php and ?> should be used and that this feature" ~% d' P+ k( Q- B+ T
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ; P, c, a+ b+ S( v7 j+ b+ [
  195. ; documents, however this remains supported for backward compatibility reasons.
    2 _+ g6 G: D8 Y; }' P: G6 k3 a
  196. ; Note that this directive does not control the <?= shorthand tag, which can be+ S$ s. k0 n. K6 v
  197. ; used regardless of this directive.
    ! q  q0 U( w1 m1 ]0 k& t" `
  198. ; Default Value: On
    & `! o1 u  M" E& q% {4 |3 T4 z
  199. ; Development Value: Off" J' m6 D5 z/ @4 }+ h- Y, w) o
  200. ; Production Value: Off% w7 L" U7 O* I
  201. ; http://php.net/short-open-tag+ Z2 v! O7 {0 w5 c
  202. short_open_tag = On4 {9 |2 L) j% O/ x7 \( n- b- Q* g6 H

  203. + J, [- l" s( s: j3 v# n
  204. ; Allow ASP-style <% %> tags.7 f% V* Z+ l4 }3 n
  205. ; http://php.net/asp-tags& p7 \2 r! Q; j' e& o. E: x
  206. asp_tags = Off
    ' N4 f3 n0 o9 M  m

  207. 8 u# n: g3 Z7 v0 q
  208. ; The number of significant digits displayed in floating point numbers.
    5 V' w$ t) V/ ]7 ^) G
  209. ; http://php.net/precision
    1 S9 @$ \. }* X! ]  i- V0 R' T
  210. precision = 14
    * S& ?' ~) S& r. \  }: _

  211. ! g# ?, @( c8 L/ S9 b" T7 W- L
  212. ; Output buffering is a mechanism for controlling how much output data
    # G- x9 \* b1 _2 r! `% \8 u3 K
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that7 l/ m8 @0 o' K; [( m2 ~1 c
  214. ; data to the client. If your application's output exceeds this setting, PHP
    1 d5 D8 }4 U1 K# Q5 w# r' }  ]
  215. ; will send that data in chunks of roughly the size you specify.+ A/ ~( I! Y& P
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    8 d% A2 ?" }' T8 x
  217. ; interesting side-effects depending on your application and web server.0 Q, s- l7 l6 c+ K% X4 E: {
  218. ; You may be able to send headers and cookies after you've already sent output
    8 [. H+ u* A+ p) L0 [9 w
  219. ; through print or echo. You also may see performance benefits if your server is
    0 C) c) [* \, B6 l: p. a8 j
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    / Z  l/ O* T% U! s, {
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , }0 U* W7 g3 R) ?# x
  222. ; reasons.7 f  ?! V: j/ j2 G9 X2 ~% e
  223. ; Note: Output buffering can also be controlled via Output Buffering Control6 `$ o  X, S5 P: D8 P; B# g
  224. ;   functions.
    : P2 I3 u: A- H0 t. Z0 k2 W1 S
  225. ; Possible Values:4 b( A+ B/ R* n4 g- G0 `
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    / |! K" O- f& b1 q# m  }5 j/ d
  227. ;   Off = Disabled
    - K( l5 V  [5 v! B8 q9 G
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.# e0 H% |9 A/ ]0 _' p1 m8 J: T
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 U$ m# h  C2 l
  230. ; Default Value: Off
    3 e& S/ A2 k( }8 D( h! T
  231. ; Development Value: 4096, Q, |9 }8 s$ X: j# S6 k7 d
  232. ; Production Value: 4096
    3 x* o) s) ^' l6 n5 h# }: |9 \
  233. ; http://php.net/output-buffering
    8 l) Z( r# `+ D5 w
  234. output_buffering = 4096
    & x9 C+ h) _+ S) t

  235. 0 M! d. P: J2 K+ |9 R" b8 Z
  236. ; You can redirect all of the output of your scripts to a function.  For
    , t; z' X6 Z" O$ ~
  237. ; example, if you set output_handler to "mb_output_handler", character
    * a" I9 d/ L+ m) e5 O8 k6 T% Y$ \
  238. ; encoding will be transparently converted to the specified encoding./ ~- S( B( K# d3 ^
  239. ; Setting any output handler automatically turns on output buffering.6 E( n6 u4 E$ F4 U! h" p
  240. ; Note: People who wrote portable scripts should not depend on this ini0 A4 E5 [/ l8 \; U
  241. ;   directive. Instead, explicitly set the output handler using ob_start().. Z+ e  w6 K2 m7 ?1 q/ I+ I8 k2 z7 `
  242. ;   Using this ini directive may cause problems unless you know what script
    9 z6 l1 S( ~2 b: s: V6 O1 N
  243. ;   is doing.6 A$ M5 N4 Q$ v. V
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
      d: U2 W+ A5 K
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    . F1 \$ O1 T4 C1 {1 s
  246. ; Note: output_handler must be empty if this is set 'On' !!!!/ G! O! q9 o" Q2 A+ }  x: v0 s
  247. ;   Instead you must use zlib.output_handler./ L% B8 p7 w) |
  248. ; http://php.net/output-handler0 O' \; G6 o1 `5 |% [7 ~
  249. ;output_handler =
    ! V1 Y0 M" o( N. {

  250. ) f7 o5 x  a  E& {9 l$ {( g  D# f
  251. ; Transparent output compression using the zlib library
    7 V* ^& V, A9 U, f& c# G; ^' o& y/ _
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- }4 t! c6 G; v
  253. ; to be used for compression (default is 4KB)4 o7 {; W. w) k7 p- Q
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP6 r7 O( s" t" I# ~# `% x7 v" I0 Y
  255. ;   outputs chunks that are few hundreds bytes each as a result of4 N; p6 b4 V6 Z2 o+ ?8 A7 z4 o; U
  256. ;   compression. If you prefer a larger chunk size for better$ e  H: O' W2 L/ H; @# l  f
  257. ;   performance, enable output_buffering in addition.  X3 G" N* s7 K- Y$ E0 \0 l
  258. ; Note: You need to use zlib.output_handler instead of the standard
    5 k) i5 m& h7 W: A
  259. ;   output_handler, or otherwise the output will be corrupted.3 \) M% w- H' ?. Q) C. W  W- I
  260. ; http://php.net/zlib.output-compression
    , l; G' w: y$ w$ X
  261. zlib.output_compression = Off
    ( {( ^: |2 o6 ~  Q1 z% ?
  262. 8 v2 }/ h( \, V- \' R+ a- N
  263. ; http://php.net/zlib.output-compression-level
    ; X; {1 m! s# o9 G
  264. ;zlib.output_compression_level = -1
    * k; p6 Q+ d/ {0 o3 S
  265. " c2 |: y2 U! A/ U" b; ^
  266. ; You cannot specify additional output handlers if zlib.output_compression
    . d& T" m0 c$ M- S% x: |; N- q* [
  267. ; is activated here. This setting does the same as output_handler but in4 G" A3 \' G7 ^9 n+ Q7 r: n( Y
  268. ; a different order.5 ~2 P9 m  i+ t& |1 {7 X3 B% L
  269. ; http://php.net/zlib.output-handler
    ! e/ B8 ^& O8 i5 G
  270. ;zlib.output_handler =/ p  Y$ E3 n8 ~, r& N6 E) C
  271. 6 i9 C$ ?  ~5 o$ k8 S( t  x9 O
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' K, Y( T! ?7 L( u/ E. c- i
  273. ; automatically after every output block.  This is equivalent to calling the. T1 z! I$ [3 t$ T5 w- [
  274. ; PHP function flush() after each and every call to print() or echo() and each
    7 C) x2 |6 ~* _2 N: N* b
  275. ; and every HTML block.  Turning this option on has serious performance- J# ^/ G" y  u/ {* ?) Q
  276. ; implications and is generally recommended for debugging purposes only." ?% A) ^5 i5 ~8 L# B# e
  277. ; http://php.net/implicit-flush
    3 L: X/ X( [" x! V$ C' u
  278. ; Note: This directive is hardcoded to On for the CLI SAPI- u5 c* e5 Z- v
  279. implicit_flush = Off
    * J3 b9 I7 c8 Q7 j
  280. 2 D, x+ b% b8 c2 C, m
  281. ; The unserialize callback function will be called (with the undefined class'' c, K% a5 v6 J4 j5 H. S" u4 w  w
  282. ; name as parameter), if the unserializer finds an undefined class
    & T% Y: r% R. t  K" H
  283. ; which should be instantiated. A warning appears if the specified function is
    ( M# ]) e, S- A5 w! r, O- t* g% Q% K
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ; \  \, q8 i: w
  285. ; So only set this entry, if you really want to implement such a- i$ i+ O4 t, V2 R
  286. ; callback-function.; v/ E1 u! J1 j) R2 V1 e
  287. unserialize_callback_func =
    ' ~% {) i3 \) |
  288. 9 Q, l* O; b2 i8 h  ]! O
  289. ; When floats & doubles are serialized store serialize_precision significant7 C$ p* V" p. s+ ?+ O
  290. ; digits after the floating point. The default value ensures that when floats
    4 P) g( v' R, y$ h4 Q9 p
  291. ; are decoded with unserialize, the data will remain the same.4 S4 N1 y. g" t/ M9 N% z0 A: Y- E
  292. serialize_precision = 17/ [/ e0 [1 I  |5 O6 D

  293. ( U9 t2 B: J1 o  u0 E) v+ |
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ! [* W. M* c  _( [* \
  295. ; and below.  This directive makes most sense if used in a per-directory
    9 w) u: L8 O, Y: l& h2 A4 Y
  296. ; or per-virtualhost web server configuration file.# R, b5 p2 h/ q- ]
  297. ; http://php.net/open-basedir
    5 Q" ~  |& d2 L* ]9 V0 |
  298. ;open_basedir =# a& K  q* D+ G8 {
  299. 3 ?' F8 F; Y: Q' g/ [: C2 }$ m
  300. ; This directive allows you to disable certain functions for security reasons.
    9 ?, _4 C% d  s
  301. ; It receives a comma-delimited list of function names.
    ) \& |+ d3 L8 `6 e% F9 \
  302. ; http://php.net/disable-functions
    4 }) a* e; s7 J: V  y! b3 c
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! \/ C# ~* f$ w# H+ N; l+ V' j. F
  304. " \- X; \6 R6 a, a. H- o
  305. ; This directive allows you to disable certain classes for security reasons.
    $ n( Y" u' z# [. Z$ \
  306. ; It receives a comma-delimited list of class names.! r8 s' T- ?9 G" T
  307. ; http://php.net/disable-classes" I! B; _& B3 C7 x: I8 ~. T
  308. disable_classes =$ g, Z! E4 n9 L  z
  309. ) x3 f5 w; \8 x- E5 S
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    # q: n- {# N, }) x6 k
  311. ; <span style="color: ???????"> would work.& i, X) q4 s7 h5 k5 ~4 z
  312. ; http://php.net/syntax-highlighting+ K& b! g- g, R2 W* `' z
  313. ;highlight.string  = #DD0000- q$ `) R5 [9 {( ?( F# D
  314. ;highlight.comment = #FF9900
    2 B' A* Y) d. D5 I  q7 W% t0 f
  315. ;highlight.keyword = #007700
    ! O8 E% k7 d' U; l0 P3 k9 U
  316. ;highlight.default = #0000BB' s9 e& p: n$ R+ f, l4 q
  317. ;highlight.html    = #000000
    ) J7 D3 R. F* b4 \/ L4 R9 @; r/ M

  318. ) X7 G) G& _6 z
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    8 V9 ]7 ~9 |: l/ a0 @. ^+ x
  320. ; the request. Consider enabling it if executing long requests, which may end up
    / r7 g9 r5 I/ t0 o* m/ s
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior% o' z5 B+ p  U0 [
  322. ; is to disable this feature.) K6 q$ l7 W# P# V
  323. ; http://php.net/ignore-user-abort& x" D* V$ c/ H3 _( ]: S8 \
  324. ;ignore_user_abort = On5 o( S% V0 y: o! `* {

  325. & S7 g# ]4 {1 c6 X5 ?
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    : ]0 x0 g3 ~* b6 ]( H; U
  327. ; be increased on systems where PHP opens many files to reflect the quantity of9 `8 {% j0 \( z
  328. ; the file operations performed.7 @4 k; a, W: ^; R! u
  329. ; http://php.net/realpath-cache-size3 ^" ^9 |1 ]; G3 A( _. B' N# D0 m$ Q
  330. ;realpath_cache_size = 16k
    3 p& _  D& I9 T8 E2 O5 ]- l

  331. ' ?- P$ {' a5 d3 b
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    * d  b7 d7 A) `. d& i/ Y3 V
  333. ; file or directory. For systems with rarely changing files, consider increasing this3 _7 {/ G' W& l3 D
  334. ; value.
    % [+ d, j/ n2 e6 p$ ], b
  335. ; http://php.net/realpath-cache-ttl! F) b/ D1 W  j& e/ C( I, v3 J
  336. ;realpath_cache_ttl = 120  |( o9 r: j2 w& _- ]6 J" X
  337. - z' S. j& e7 f; Y6 l
  338. ; Enables or disables the circular reference collector.
    ; c# H4 v$ i3 N! Y2 P) d/ i( S; e  a
  339. ; http://php.net/zend.enable-gc" Y% v% U) B- F2 b; C* B& |/ A8 s
  340. zend.enable_gc = On5 z: Y% ^% K- B3 C5 }

  341. 8 e- A, z" R& e  k" b; m
  342. ; If enabled, scripts may be written in encodings that are incompatible with
      V3 U  ?2 e& l1 w; M* E
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such. [" W/ U, M# [
  344. ; encodings.  To use this feature, mbstring extension must be enabled.# f5 z% {8 z1 s( J
  345. ; Default: Off+ d2 f7 U1 k& B% ~
  346. ;zend.multibyte = Off- h; z) z+ w# c9 W, f- t$ k- t
  347. 0 b" P3 t) t* H. l
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    6 X6 o# Q$ x) g" Q* K
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 M# {% [7 \# q
  350. ; Only affects if zend.multibyte is set.
    ; M" c+ `. j: g! L
  351. ; Default: ""9 h+ ?3 ^2 f# G1 c; `' b8 j; w6 a
  352. ;zend.script_encoding =
    3 W$ [% ?1 O$ c8 M! K+ D3 M
  353. ' P4 A& n, X4 }, }
  354. ;;;;;;;;;;;;;;;;;
    2 b- _2 `& T' s% `! A0 l) A
  355. ; Miscellaneous ;
    - K( y9 I) _6 H* G, i
  356. ;;;;;;;;;;;;;;;;;
    4 T+ J# U6 Q! S' ]+ {, n2 o$ R
  357. ! e6 b: U& j  e' U8 R- A5 h
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    9 O& |! @7 A+ `" m1 N. o
  359. ; (e.g. by adding its signature to the Web server header).  It is no security  @* |& M3 u: I0 }7 i4 Q
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    + U# I+ G- U9 ], C) j$ ?3 I6 d+ v; \- S7 @
  361. ; on your server or not.
    , H3 D- a7 s8 z
  362. ; http://php.net/expose-php7 L1 W; y" n. x% ?9 V: ^( i
  363. expose_php = On5 z/ m) x9 \; F* \

  364. - l/ s, Z1 ~% K
  365. ;;;;;;;;;;;;;;;;;;;
      m4 r' o2 c" j
  366. ; Resource Limits ;
    ; N2 u" X% J6 k3 d$ i, o
  367. ;;;;;;;;;;;;;;;;;;;) B- m9 k4 c7 s. u  g

  368. * g2 B" N3 O! B+ {& ?- o
  369. ; Maximum execution time of each script, in seconds
    4 _* W. N" q0 A) E$ }! A- L8 ]5 g; ~2 U
  370. ; http://php.net/max-execution-time
    7 ?7 K! i$ @- ~2 F1 |: m- v3 W8 R
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    6 o) u8 Y; n7 c3 _- Q4 l
  372. max_execution_time = 300
    9 A  T5 O0 m  u( o  d& z: q' I
  373. 2 J1 x8 p+ e; q! q- d  R; ]
  374. ; Maximum amount of time each script may spend parsing request data. It's a good! \$ F+ Q2 Q4 ]0 t: {
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly  a. d3 ]2 _% \! i
  376. ; long running scripts.
    & a3 G& D/ o0 ^' A: b# `! i( m
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI9 l( V0 ]/ O: ^% w1 e7 Z* U4 r
  378. ; Default Value: -1 (Unlimited)
    : f  c$ E5 v2 A! a4 Q* N7 `
  379. ; Development Value: 60 (60 seconds)
    9 O$ p. J1 s( r0 n
  380. ; Production Value: 60 (60 seconds)6 {% t% i/ {9 G0 j$ d3 ?6 e' f
  381. ; http://php.net/max-input-time/ W' q' @5 }6 x' Q
  382. max_input_time = 60' V2 ?4 h" n4 O. C) y; b

  383. . F4 B& h! k; u
  384. ; Maximum input variable nesting level; S% B+ N0 N, @
  385. ; http://php.net/max-input-nesting-level
    ( \( W2 N. i" d
  386. ;max_input_nesting_level = 647 g! Y0 c& |7 v
  387. * W- ^. w5 v  t
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 s. D" ^/ j$ k$ i9 D+ R
  389. ; max_input_vars = 1000
    . B% Y$ W- P6 V0 |& E
  390. ; g0 y0 ?. N. ]3 c' S' Q
  391. ; Maximum amount of memory a script may consume (128MB)
    $ g4 u% P( c+ i" k' T1 m
  392. ; http://php.net/memory-limit1 b9 ]# b( S6 [& Y
  393. memory_limit = 128M; ?& E9 f' n* E7 n8 h9 b0 ^2 D

  394. % Q* j( D+ y: `2 L) Z+ W1 @+ `- H
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 b* t; J1 `0 s$ j4 n3 l9 a( |
  396. ; Error handling and logging ;- Z& u/ m, j1 d2 T9 [
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , D8 y' L! K, c0 \

  398. 0 o3 J4 B" N: _; l
  399. ; This directive informs PHP of which errors, warnings and notices you would like) t9 R. f4 d$ f* G
  400. ; it to take action for. The recommended way of setting values for this: A+ F7 \& T3 R. u) E! K, q
  401. ; directive is through the use of the error level constants and bitwise, \1 f( \# [8 E1 N4 l/ m
  402. ; operators. The error level constants are below here for convenience as well as9 B: k6 h! T5 D- \1 ?
  403. ; some common settings and their meanings.% C* p. b; W" ^+ p3 z# t& u1 N
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 Q' k. F1 j+ b' }
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and. b+ H+ ~9 L3 ?. A+ K4 c
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    " W" T9 }& g. w% [0 a9 j
  407. ; recommend error reporting setting. Your production server shouldn't be wasting$ `- R: p  X/ n0 R: Q6 V
  408. ; resources complaining about best practices and coding standards. That's what( \5 l3 ^) l7 I  f$ p& c
  409. ; development servers and development settings are for." w+ O( y# w+ S! w1 J1 y
  410. ; Note: The php.ini-development file has this setting as E_ALL. This# e4 @# ~% `: Q" V8 k
  411. ; means it pretty much reports everything which is exactly what you want during
    0 S9 ^* F: J5 h! H) Q( V  f
  412. ; development and early testing.
    4 F- ]% N6 z, W* s6 ~
  413. ;6 i5 @9 M! @" A( J# n% |8 ?
  414. ; Error Level Constants:
    : X0 C9 b( q  ]; ], ^' H
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ( X0 ~8 p0 Z9 n- A4 b: V
  416. ; E_ERROR           - fatal run-time errors
    3 r$ d/ ]6 S1 \2 a/ p  i/ V
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 m8 a& a4 b) b, e6 W4 _
  418. ; E_WARNING         - run-time warnings (non-fatal errors)) Q) k0 f% W  w& e
  419. ; E_PARSE           - compile-time parse errors
    $ X/ F) t  O. |& o( m
  420. ; E_NOTICE          - run-time notices (these are warnings which often result! d* ~) C/ q4 W9 u2 @; Z
  421. ;                     from a bug in your code, but it's possible that it was7 c; A4 K0 B6 a+ N
  422. ;                     intentional (e.g., using an uninitialized variable and
    8 U$ q' Q: [! ?6 K4 k. Y
  423. ;                     relying on the fact it is automatically initialized to an  l( H8 E. X, m6 t0 z: i* X
  424. ;                     empty string)
    ; {3 a3 U! Q1 e+ _3 p  }" G9 P
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ; _6 s% `$ |$ Y" Q, P5 |3 @: U8 g
  426. ;                     to your code which will ensure the best interoperability
    , P1 r9 R' l  I  M' S
  427. ;                     and forward compatibility of your code
    % P* Z+ g8 w. \( z+ T! L
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup- H+ h# e/ H$ s' _8 v% H# W3 t
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' o" j1 W1 |' L
  430. ;                     initial startup
    2 L5 n. C8 x2 t( U; K
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & e" M8 W5 y! e0 V3 m
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    - c9 o  v6 L: ?3 |
  433. ; E_USER_ERROR      - user-generated error message
    5 b, z% z& `; I0 B& \) U
  434. ; E_USER_WARNING    - user-generated warning message1 i; n2 b1 B" [+ }. N
  435. ; E_USER_NOTICE     - user-generated notice message' i) w0 h: t+ G/ S0 n. d' r
  436. ; E_DEPRECATED      - warn about code that will not work in future versions% v) l8 x, u! ?+ Q7 y
  437. ;                     of PHP& K; Q- P9 {& j+ ]( Y5 Z8 D
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ' x( B$ ~8 N) y2 s- F' L& Q# S
  439. ;
    ) h6 F' O: \* i( i
  440. ; Common Values:
    ' j8 V0 R% ~1 ~& U( V
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.). _3 B, c9 f8 u3 x
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)4 Y/ W- d; m0 N9 x( k% b2 ?( I& O
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    $ }' E- u+ \; k
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    0 }6 r6 l+ s6 z$ U, S+ H+ \! Q9 D$ q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* L; Y! A, c8 O4 r# }7 f
  446. ; Development Value: E_ALL. U8 ?/ T0 @, N% _+ d& U) ?. z
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( M9 V9 i' c- A+ O
  448. ; http://php.net/error-reporting5 J) E: [( W2 H
  449. error_reporting = E_ALL & ~E_NOTICE
    0 D6 y' V2 O/ n1 @* D9 g1 d
  450. : `9 `0 D; ^9 k2 J- U. s
  451. ; This directive controls whether or not and where PHP will output errors,
    2 \& ]6 F4 y0 N$ O: V+ T; v
  452. ; notices and warnings too. Error output is very useful during development, but3 f3 e$ I  J" x( s  e9 t3 E
  453. ; it could be very dangerous in production environments. Depending on the code! L: B9 ?9 R& M' v; r
  454. ; which is triggering the error, sensitive information could potentially leak0 j7 C( Z! R, G$ U' A( o; {4 S* E/ \
  455. ; out of your application such as database usernames and passwords or worse." R. v# i% L' x
  456. ; For production environments, we recommend logging errors rather than1 p3 Q% G' N3 l4 D  O
  457. ; sending them to STDOUT.) ?9 N+ y1 a9 w! a8 n
  458. ; Possible Values:
    ) s/ w9 H+ r- M
  459. ;   Off = Do not display any errors
    + C% N. B: C8 r$ l
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 r+ w9 p- Z$ Y* m8 E
  461. ;   On or stdout = Display errors to STDOUT- n9 C7 O, A9 r+ {% C- K/ \5 r- O
  462. ; Default Value: On9 i; j1 i5 w  L6 @& Q
  463. ; Development Value: On2 w- P) h8 G. j- |7 f9 |
  464. ; Production Value: Off
    8 v* n6 R* y7 ^1 D! o' ~
  465. ; http://php.net/display-errors+ J9 C% u1 I& _/ L
  466. display_errors = On
    . A0 r: F) g' c: |- J5 r

  467. ( L8 T2 t  ~$ F7 p
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ! i, M' [) V8 C) }8 ]2 X3 z
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    3 r7 k" x. e- j/ `
  470. ; errors from clients. Turning the display of startup errors on can be useful in; |7 v. U/ ^5 Q( X5 d8 V
  471. ; debugging configuration problems. We strongly recommend you
    & o# d4 ^! s; o/ k+ l
  472. ; set this to 'off' for production servers.- P, P0 \  j3 y; ]" J. ^
  473. ; Default Value: Off
    - F4 E& f- x6 p9 _' s# s' Y; {
  474. ; Development Value: On; h9 p0 o# o. D- N) Q: O
  475. ; Production Value: Off4 u% u# X- B$ X: B0 Y# G; l2 w
  476. ; http://php.net/display-startup-errors
    ! r* S% W& }2 r$ @
  477. display_startup_errors = Off- O% c" s5 x& ?9 O
  478. * ~0 r- M0 r3 D
  479. ; Besides displaying errors, PHP can also log errors to locations such as a/ B7 I4 P; F) i/ s! M
  480. ; server-specific log, STDERR, or a location specified by the error_log
    & A, h+ h4 R& G3 d# C
  481. ; directive found below. While errors should not be displayed on productions& K4 B4 k% i! e) H  b2 Y, c6 n
  482. ; servers they should still be monitored and logging is a great way to do that.
    7 {& l. h; D1 b/ E, c! R2 V1 X+ \
  483. ; Default Value: Off
    ' m# [1 i" F4 o. A* Y
  484. ; Development Value: On
    & S" k/ ~: |/ j! t/ ?5 m: d
  485. ; Production Value: On1 ~4 h3 I) k3 J* A! S
  486. ; http://php.net/log-errors8 o  f& \/ Y, D
  487. log_errors = On
    8 c; H( M2 D' i3 n
  488. & U% }. D, u' x! k2 u% H8 k- i, t% ^
  489. ; Set maximum length of log_errors. In error_log information about the source is$ m2 O# T8 j2 x( ~; P4 M( ^9 i
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    3 R& W" E' N, }* ~& A
  491. ; http://php.net/log-errors-max-len& f3 Z9 o" W" `6 c. k6 h" I
  492. log_errors_max_len = 1024
    ! C4 H4 k- l. a

  493. * V  H, r9 x) B* k, s0 F
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ) q6 G5 A3 s) H0 y% h
  495. ; line unless ignore_repeated_source is set true.) o2 ^( X3 O, N3 j
  496. ; http://php.net/ignore-repeated-errors
    3 K+ \7 m+ Q/ G, w. p
  497. ignore_repeated_errors = Off
    2 k( W2 s  R0 H% U% a: M7 T

  498. / u3 n0 W+ Y4 Z) o3 j
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    9 G4 l9 t+ ^$ y* O1 N
  500. ; is On you will not log errors with repeated messages from different files or
    ; E+ K; s( v% T- R5 a, V7 m
  501. ; source lines.0 ^! F6 G9 f" @; C6 M/ _; E8 ]- c
  502. ; http://php.net/ignore-repeated-source
    ; ?  `( f; F9 y7 ^2 Y0 \* o2 B6 L
  503. ignore_repeated_source = Off
    - q9 J1 \# Q3 {% ]! o* {; Q

  504. ; e" l% Q0 T1 T. _: [, h
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ' U4 F" V0 p# H1 |5 m
  506. ; stdout or in the log). This has only effect in a debug compile, and if+ D/ V$ y! d% Q2 i3 _/ ^# G
  507. ; error reporting includes E_WARNING in the allowed list
      N; a- x9 R! Y. |7 l6 n6 ]
  508. ; http://php.net/report-memleaks
    . n9 V1 t: ]* t6 T9 j, z" }
  509. report_memleaks = On
    8 y& g( e( [2 d0 r5 k2 ^2 @

  510. ' m  [# q: c: C) [7 h
  511. ; This setting is on by default.! B) ]  m! r* {* I, l0 v
  512. ;report_zend_debug = 09 g% d+ e  V. F2 i

  513. # ~- Z$ {( L* K' I4 R
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ) G, h$ ?5 B% M$ A! |  {* M
  515. ; to On can assist in debugging and is appropriate for development servers. It should8 v) N; F! i2 q+ z( g' ~
  516. ; however be disabled on production servers.4 x) B: U& e. P  f. {. N! P
  517. ; Default Value: Off
      i$ F* G2 G3 c* s
  518. ; Development Value: On9 r2 x, L, X: M) T& x- l
  519. ; Production Value: Off5 i8 t( [+ \8 F; F% X% {5 q: i/ V
  520. ; http://php.net/track-errors
    " @  Y  k0 _+ t2 M( y1 S/ j. J7 ?
  521. track_errors = Off- d1 P; L% E- ]: d  g! F
  522. , ?" H) }; @& S9 L
  523. ; Turn off normal error reporting and emit XML-RPC error XML: ^5 H# G8 a  r
  524. ; http://php.net/xmlrpc-errors
    ) V3 O/ d2 u2 N% o, _, O+ H7 T
  525. ;xmlrpc_errors = 0- y' I& I3 i2 k9 N' c( ?9 N' L) B

  526. * U9 y' f5 S' a1 F4 U/ N
  527. ; An XML-RPC faultCode
    3 a' h9 h5 U; P& |+ A! \+ X- u
  528. ;xmlrpc_error_number = 04 w& H: k% D. t2 r2 z* {
  529. $ K7 Q7 K6 R- E( o" w; z1 G9 u
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    0 ^- _( `/ R1 o. |  ~
  531. ; error message as HTML for easier reading. This directive controls whether
    ! u9 ~; `8 f$ k% |; k. |1 g: S0 b
  532. ; the error message is formatted as HTML or not.- R2 g; @3 Z9 d: ?1 o+ N" x; f
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . v' C: u' C: f% F& ]- t5 `
  534. ; Default Value: On, _* Q$ f2 V' B1 Y6 F4 m$ ^
  535. ; Development Value: On
    % v/ x" V( T* b; [
  536. ; Production value: On
      r0 Y, J/ p+ s3 s8 j" R! a
  537. ; http://php.net/html-errors, l: }5 t' ~* S8 f* R! F# _
  538. html_errors = On9 t/ W+ A' z  G0 G% {- M6 P' j

  539. - ~6 j: `2 b: [  L. a
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! e2 G' h' y$ R# _* F" d$ ]
  541. ; produces clickable error messages that direct to a page describing the error" {6 U2 K( |! E
  542. ; or function causing the error in detail.2 F% f" @- ]* K  V  |9 k7 X: C
  543. ; You can download a copy of the PHP manual from http://php.net/docs% Y6 ^+ B" C7 F  |6 E. Y( a3 \
  544. ; and change docref_root to the base URL of your local copy including the  P/ Q# I: r- k5 q0 H+ `* j+ C% V* K
  545. ; leading '/'. You must also specify the file extension being used including# t- r0 h% W# l
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    : h# k, a, a( l* l5 \7 g
  547. ; case no links to documentation are generated.) W7 k- @) [! I' ?. W7 D* w- k
  548. ; Note: Never use this feature for production boxes." c4 t: O3 X5 W% b* X. c
  549. ; http://php.net/docref-root
    6 @) ]6 }7 I+ D& z" |
  550. ; Examples
    : d# j9 u2 {! ~- G
  551. ;docref_root = "/phpmanual/"# r, S( [' z. Z; g. o$ p

  552. 2 Z4 l& o" p- D5 n
  553. ; http://php.net/docref-ext
    # T  ~  c( U# A, d
  554. ;docref_ext = .html. `0 Y: D' A  e; i9 S& T) e  D

  555.   ~$ p: y; [1 {) K, [$ T9 Y
  556. ; String to output before an error message. PHP's default behavior is to leave
    5 S* C. f/ t5 n' S8 Y
  557. ; this setting blank.
    ! D+ D8 l) `$ ^# w3 _  t, o8 z' Z' F9 T
  558. ; http://php.net/error-prepend-string
    1 S, H" [# L" W4 O  [! k
  559. ; Example:+ d$ Q6 r  \+ b+ r5 {8 c4 B" z
  560. ;error_prepend_string = "<span style='color: #ff0000'>"' J9 K" b: j, F, w9 u8 l
  561. 1 @/ N, w; j3 r
  562. ; String to output after an error message. PHP's default behavior is to leave
    * B/ g" q  v; O' n- h! l7 a
  563. ; this setting blank.# ]+ Z5 `1 f9 V7 R0 p
  564. ; http://php.net/error-append-string
    1 M* G, m6 V; O3 |' R6 V
  565. ; Example:
    3 N; d9 Y7 \) Q8 z
  566. ;error_append_string = "</span>"" I# A& U' \. \- e' k! V% L

  567. * Q+ I1 |8 M% O
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    1 c1 {# N2 G$ e, F
  569. ; empty.0 ?6 b* a# C  H$ @
  570. ; http://php.net/error-log
    8 M- |/ {6 j2 ]9 f& r, g
  571. ; Example:
      q% _5 y0 K* C$ }* ]4 u
  572. ;error_log = php_errors.log& O- W$ f, p' D- a# ]. c
  573. ; Log errors to syslog (Event Log on Windows).) j2 ?7 k) g8 C6 j5 Q
  574. ;error_log = syslog8 H+ w* H1 F4 Q& M7 \9 S! c

  575. 7 R; [% O  m$ ~: R8 d% s+ {
  576. ;windows.show_crt_warning; B# R: \/ R$ P/ D4 C( d/ _3 o% E* t
  577. ; Default value: 0
    $ O$ Y' D/ \3 u  m3 b  o% p- z
  578. ; Development value: 0( r% E; e1 m* T6 r/ q* @! [
  579. ; Production value: 01 T* z5 [! k$ m3 a

  580. / |* U. T, Q9 h7 l3 C# l2 T: L8 C
  581. ;;;;;;;;;;;;;;;;;
    6 O. I: A2 x4 o# G. A# I
  582. ; Data Handling ;
    ! h; E( i# F! M' j& X
  583. ;;;;;;;;;;;;;;;;;
      D$ _" t  y) H4 h: V

  584. , J- M; k2 l8 V7 z/ O: T# y* n% G# G
  585. ; The separator used in PHP generated URLs to separate arguments.0 v$ T, ^2 {4 j8 T
  586. ; PHP's default setting is "&".1 p) `" [% K) l
  587. ; http://php.net/arg-separator.output
    & E& |+ |3 @  Q$ x5 c
  588. ; Example:
    9 |- R# L% |( H2 z7 C9 J6 ?# F
  589. ;arg_separator.output = "&amp;"
    3 ]0 w0 v; B) z9 i6 p7 k1 s$ v

  590. 0 q) k: G6 x; W
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    / H8 z; D# J) f, n; S
  592. ; PHP's default setting is "&".# Z4 g0 D% J' o+ w3 g8 g* M
  593. ; NOTE: Every character in this directive is considered as separator!- j! E6 j$ k& O' ?, Y, v% q
  594. ; http://php.net/arg-separator.input
    : _+ _8 Z# U: G  F6 I- R/ N
  595. ; Example:
    * ]4 ]6 O1 D9 ?9 W7 Y/ o
  596. ;arg_separator.input = ";&"
    3 w1 ?  I- \8 F$ B: ^5 P
  597. 7 ]. q# D9 |9 b
  598. ; This directive determines which super global arrays are registered when PHP& E, w% D/ `7 z2 {2 \7 b* C
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 U0 n- f$ H9 W$ l% O
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 B8 u/ ?) ]. x2 ]9 z( Y0 v( N2 B+ t
  601. ; paid for the registration of these arrays and because ENV is not as commonly! ]* t& B6 \" T3 c3 p+ {
  602. ; used as the others, ENV is not recommended on productions servers. You
    8 O. ^0 _" E7 ?* ?) ]( d
  603. ; can still get access to the environment variables through getenv() should you
    & T3 J" F& T& r: E$ Z; Q
  604. ; need to.
    + T" t7 f8 ^2 m9 t0 k
  605. ; Default Value: "EGPCS"1 o7 ]1 [: J/ r/ f) T$ ~
  606. ; Development Value: "GPCS"
    2 I5 s. b; h4 I) E1 W$ D" L
  607. ; Production Value: "GPCS";
    ; G5 Z+ _2 Q: d
  608. ; http://php.net/variables-order
    # d2 S! }: W# [2 |
  609. variables_order = "GPCS"
    3 K% f# d: u( g% Z; g* [
  610. ) [/ k8 _1 Y4 x/ S5 `
  611. ; This directive determines which super global data (G,P & C) should be; v3 O# D1 z2 @( U
  612. ; registered into the super global array REQUEST. If so, it also determines
    6 H% \0 z7 y7 o. c
  613. ; the order in which that data is registered. The values for this directive
    ; x  u1 B% Q0 _* i
  614. ; are specified in the same manner as the variables_order directive,+ M2 W7 X; Q- l! O' S6 O
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ! H7 n2 ~6 U8 K$ k. q' W* r* z3 w
  616. ; in the variables_order directive. It does not mean it will leave the super, u+ u# c/ [' ^! m
  617. ; globals array REQUEST empty./ g- L4 X  w- ]+ O7 z0 u& \# b
  618. ; Default Value: None
    ' z  `3 G  v# k" o% c
  619. ; Development Value: "GP"
    4 M0 i9 O& B7 G! V
  620. ; Production Value: "GP"
    & t5 l9 p, D: r8 K6 N
  621. ; http://php.net/request-order
    1 v# @0 Z: a3 l' t! L$ [
  622. request_order = "GP"
    ( f1 Z. C7 P8 p) z$ @

  623.   r' g; L3 e$ X4 v
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    1 `  N9 U2 M) w" p# h8 z
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script$ G+ H  }" B. j8 _% ^
  626. ; is invoked. $argc contains an integer representing the number of arguments
    / l# p7 b( t7 R8 @
  627. ; that were passed when the script was invoked. These arrays are extremely  E1 [6 w- W% U' J7 B( N. L
  628. ; useful when running scripts from the command line. When this directive is+ N) ~/ [7 w9 A( N+ ]
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 X& a" d* f% `
  630. ; a script is executed. For performance reasons, this feature should be disabled" e0 o' T1 F8 T' e# r3 B5 _/ Q; J
  631. ; on production servers.
    - N. e) h0 n* x# Z- @/ l
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 C2 X' W& r; H8 J
  633. ; Default Value: On
    - [* b9 V9 l6 @# V6 |( A* s- _
  634. ; Development Value: Off, N* Y) X2 {0 X) i7 g7 H* Q: W
  635. ; Production Value: Off0 Y5 c  z9 O/ _( G
  636. ; http://php.net/register-argc-argv2 A* h9 H+ a1 J, D6 Y' X
  637. register_argc_argv = Off
    # u: j) \- l; t2 c  N( T
  638. 9 H+ D: R) f/ ?6 F) w: U( Y# T, D4 O
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ( H9 @/ S! p/ ]# ~" n
  640. ; first used (Just In Time) instead of when the script starts. If these% |3 H  e/ S# k! G2 Z
  641. ; variables are not used within a script, having this directive on will result! t: s$ d, |/ U& Z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 Y, i7 d" s) c/ h8 {0 O0 m3 w) K
  643. ; for this directive to have any affect.* q: b/ L* N' ~) s1 w6 q( K
  644. ; http://php.net/auto-globals-jit
    & ^" [# g9 p6 _5 ~; O  Z
  645. auto_globals_jit = On
      S# Z- e) r, {( c

  646. 4 p( N8 c4 z" d
  647. ; Whether PHP will read the POST data.
    + T6 R6 I- [9 l0 Z/ m7 `6 x$ w( p, Q
  648. ; This option is enabled by default.' @* l$ G/ s& W9 I% B
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 o: Y- ~. ^: ^& Q! r# P9 x7 E
  650. ; and $_FILES to always be empty; the only way you will be able to read the, Q5 m# i; R. [* B( P  T2 D
  651. ; POST data will be through the php://input stream wrapper. This can be useful& U! E% t1 ~; ^" y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.1 u$ B- |/ i  B. D* L
  653. ; http://php.net/enable-post-data-reading
    , [1 M  ?- X) I  n4 H/ ?, i( G
  654. ;enable_post_data_reading = Off" O4 \: l. d3 `0 {! G& M
  655. , R. @  A  f$ C9 s
  656. ; Maximum size of POST data that PHP will accept.
    - V! B: k. z* F& q! {
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading! k) r0 J3 n6 R6 q3 a
  658. ; is disabled through enable_post_data_reading.
    2 Y$ ~( f! `: a3 c9 M6 R7 Z: Q% Z
  659. ; http://php.net/post-max-size
    1 n" d- o# P( {8 p
  660. post_max_size = 50M
    1 S# P% @1 `. Q
  661. 6 x5 P- m) k1 ^& ?* F$ a' W
  662. ; Automatically add files before PHP document., }# d3 n6 H1 c3 a; ^. v
  663. ; http://php.net/auto-prepend-file
    , K9 |. ]) E3 M! A, t, i4 c" V" Y
  664. auto_prepend_file =
    3 o4 z& O2 {3 X8 P3 n6 H8 V

  665. $ l$ |: h% d" r& q/ m
  666. ; Automatically add files after PHP document.
    " n, N7 g# S; ~# ~. r
  667. ; http://php.net/auto-append-file
    6 e/ \5 a. k" W4 `% i3 P/ z
  668. auto_append_file =( E# m3 |8 T( l
  669. 6 V; a# }9 F  J; O3 t+ g  z, I
  670. ; By default, PHP will output a media type using the Content-Type header. To
    9 W) [) N. `  U5 W, O
  671. ; disable this, simply set it to be empty.  E/ P3 G( W7 G; R8 _) I/ a5 w
  672. ;
    2 w& D. E% n. z8 z$ X
  673. ; PHP's built-in default media type is set to text/html.
    % y$ j, J4 N3 a% r
  674. ; http://php.net/default-mimetype" u/ R) w" _4 e( P' V
  675. default_mimetype = "text/html"1 b% [0 E6 G* v

  676. ( `$ W4 C9 S0 ^" E2 T& m( j
  677. ; PHP's default character set is set to UTF-8.
    . _# m9 K: f) K. o% s
  678. ; http://php.net/default-charset" ?) ~0 B3 O/ \7 W
  679. default_charset = "UTF-8"
    5 x, z7 `) `7 e: P. O9 R
  680. : X7 C5 ^9 O4 g
  681. ; PHP internal character encoding is set to empty.  m! @+ F$ p# l3 S
  682. ; If empty, default_charset is used.. H7 r. n/ f) w2 _" y0 p
  683. ; http://php.net/internal-encoding
    6 U$ ^4 m( L3 T& H& r& w# f! ~1 T
  684. ;internal_encoding =/ M! C9 r: G* j* O8 h. d- i& h
  685.   p8 K3 j8 E& r1 A  q( a
  686. ; PHP input character encoding is set to empty.
    - L: W" c6 q% X1 W6 t; K
  687. ; If empty, default_charset is used.
    % ~4 {5 n7 E+ o% b! }* y$ ]8 q
  688. ; http://php.net/input-encoding
    ! b  q3 O2 O  r* M
  689. ;input_encoding =" ^0 i$ B0 W' c

  690. " g7 \: a/ q7 g1 D! G
  691. ; PHP output character encoding is set to empty.
    ' D4 s8 q% d2 F* t2 E: U
  692. ; If empty, default_charset is used.
    3 E! R" l* E  U$ e
  693. ; See also output_buffer.
    0 `" @8 J1 m5 M- I5 o
  694. ; http://php.net/output-encoding: X3 B' b( {# m6 }9 r/ g9 d2 O
  695. ;output_encoding =% c. Y  F- V; M1 p. A. L
  696. 9 n+ Q* }$ W" n
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    6 e; e" F" B. p1 R5 h
  698. ; to disable this feature and it will be removed in a future version.
    ; d# @) p+ C! @, U
  699. ; If post reading is disabled through enable_post_data_reading,
    % l3 W2 {/ Y6 `. N1 y3 A, j
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.. ~( ~+ t4 b, V* _
  701. ; http://php.net/always-populate-raw-post-data
    5 g8 O% d2 x+ T5 F7 D! x% A6 u# `
  702. ;always_populate_raw_post_data = -17 l8 b1 N7 `3 y& M# w8 e2 Q
  703. 2 P4 Y2 G  N* O
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;# T/ D9 u2 n, S, {
  705. ; Paths and Directories ;* Y) ?) F7 L3 Z& O( S
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " K9 U+ A2 Y: d0 j7 R# p% G; }
  707. 9 o7 C7 f  [# C* Y6 S
  708. ; UNIX: "/path1:/path2"; k7 A9 }- }# K' T
  709. ;include_path = ".:/php/includes"
    9 g6 N* k, t& }( C+ ^
  710. ;6 f# k, K; G. l% U. s; r
  711. ; Windows: "\path1;\path2"
    0 b+ Z5 I+ f$ H
  712. ;include_path = ".;c:\php\includes"
    0 L1 z  T4 k; m( q
  713. ;5 y8 J: g( X1 i+ D1 }
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"3 B# v% \. J' o. B; `6 H! ^
  715. ; http://php.net/include-path0 g( e3 O& F! k+ E+ }* q

  716. # d4 {) ?  ~+ S$ b2 Y- N
  717. ; The root of the PHP pages, used only if nonempty., X( j' F  c3 Y! Z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    2 @' F3 n6 m* y' ~4 J1 ^
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ) u( A% e) N2 q4 c" y
  720. ; see documentation for security issues.  The alternate is to use the
    " `& W1 P& [4 ?  W4 w2 F
  721. ; cgi.force_redirect configuration below
    ( I$ H8 o& R! `3 h
  722. ; http://php.net/doc-root) ^% J$ u. y6 ^
  723. doc_root =
    7 U* j8 c2 P* h' Y  a
  724. . s6 v9 u4 |. z4 w5 ^2 w7 p1 C/ ]
  725. ; The directory under which PHP opens the script using /~username used only# E7 F- h6 J( S0 R& n, {
  726. ; if nonempty.% G) P+ W, L# B0 \$ [$ q( C; v, g' a
  727. ; http://php.net/user-dir
    " I$ T% p5 X- H3 I4 V7 G2 \
  728. user_dir =
    - p# p* y1 |8 ^. G1 x6 o! H. i

  729. # m* a* D( Z/ g8 a
  730. ; Directory in which the loadable extensions (modules) reside." d: ^+ v0 m3 n* }3 ^5 L, j
  731. ; http://php.net/extension-dir
    ! s. a1 l# D" |4 G/ ^7 J! Q8 ^
  732. ; extension_dir = "./"
    - A1 J0 v* f1 \3 L" L5 G- x. R
  733. ; On windows:
    8 ?3 h; ^2 G" M% |" I
  734. ; extension_dir = "ext"
    6 Z' b$ t4 J- D) ]' ^1 T

  735. ( g9 D% B3 f$ V1 w5 e
  736. ; Directory where the temporary files should be placed.. X0 ?: f. z' k7 E; F
  737. ; Defaults to the system default (see sys_get_temp_dir)6 F( L4 v7 F  S
  738. ; sys_temp_dir = "/tmp"
    8 \1 ~8 h7 j; w% q
  739. & v; H" x! L1 W2 K9 @& Z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 K# [) h8 r* }7 N7 K$ r
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    . }- N/ r* P' v1 n8 d- P1 ]
  742. ; disabled on them.
    ; N- `2 \! |+ a. R- M2 L
  743. ; http://php.net/enable-dl
    - n6 b; I9 O! @9 B$ j0 u% `! T
  744. enable_dl = Off) x# S5 b& Q* y

  745. . ?5 Q2 I4 q$ e# n
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 C9 ^, a  j: _2 v! \
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 ~: g0 P5 {0 h9 N, c* k6 t
  748. ; turn it off here AT YOUR OWN RISK
    ! o8 E4 P0 I& `# T" o
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 _: {" _6 v% ~
  750. ; http://php.net/cgi.force-redirect2 P, N" m  r! s, ?+ f& w: ?7 r# @
  751. ;cgi.force_redirect = 14 s4 k; B, x) |* b, x
  752. , R& P/ C# U) Y8 W
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    4 D7 P  D4 s. W( O$ M: c
  754. ; every request. PHP's default behavior is to disable this feature.
    4 N" ^. e' b# H3 t. Q9 C
  755. ;cgi.nph = 1' \) k2 s5 {& _- ]) \

  756. & d, h9 X0 }# ^3 x
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape$ i9 a/ U' k, E- {/ e! s
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 d' ]; T) T$ L# @8 g: X
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY. W) V- B; f2 v" m% z7 T
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ' P1 @3 r! \. L$ S
  761. ; http://php.net/cgi.redirect-status-env
    7 \. i; {  J4 ]$ S$ C: R- _
  762. ;cgi.redirect_status_env =
    & z* T: S: g, U5 l4 F1 B, X8 T
  763. + e; ?( p; K) C6 b
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's6 T$ Z, M" ]1 Q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; Y% h- [) ]. t* F) ?
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting( i6 C" i% ^( W6 @( R7 x
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
      ~, a  j' p; v! Z9 J6 D  c* w
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts5 _! L% P  w( x# I  M
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) w2 c; P7 F0 ^0 u
  770. ; http://php.net/cgi.fix-pathinfo
    6 Q  X8 C; T6 Z' K/ C1 O" L/ o
  771. cgi.fix_pathinfo=1
    % t5 U" y6 P0 H9 j! o
  772. 7 Q9 W: O6 F% S$ F
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ; n5 v' U8 j5 a# |# E
  774. ; of the web tree and people will not be able to circumvent .htaccess security.( t# h5 i0 l- R- ~
  775. ; http://php.net/cgi.dicard-path
    ) z3 h0 B( o3 j! Q9 ]! C6 G
  776. ;cgi.discard_path=1& H4 K" C4 F- ^+ f4 N
  777. : I, r) W! |0 |- ~& N
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    * U6 F5 t9 ?9 \
  779. ; security tokens of the calling client.  This allows IIS to define the
    7 s8 B, Y3 N4 n0 D
  780. ; security context that the request runs under.  mod_fastcgi under Apache% p' a2 K& J' ^7 Z4 P
  781. ; does not currently support this feature (03/17/2002)+ S9 U: _1 t* O1 j( v
  782. ; Set to 1 if running under IIS.  Default is zero.
    * _0 |  D2 e* T$ }: `( [
  783. ; http://php.net/fastcgi.impersonate
    , B% v9 k+ q$ z/ Z5 T4 E! \$ J
  784. ;fastcgi.impersonate = 1
    6 v. \. m  {- q- T: O; ]

  785. $ c2 e  i: l" X
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 B2 E( p- I  J2 c6 M) D* e9 X  s! c
  787. ; this feature.5 {7 b& @5 `# d9 w$ N1 _
  788. ;fastcgi.logging = 0& c$ ^; Y6 _) s1 j, u
  789. 0 e' `* d7 }7 ?
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 L6 C6 F$ ]( r" U4 z
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . F; U5 ?/ {# P5 a+ v. B
  792. ; is supported by Apache. When this option is set to 1, PHP will send0 L2 v. G% s( a- ?
  793. ; RFC2616 compliant header.
    9 J7 b( c% c9 T6 I
  794. ; Default is zero.( F2 ]: R& }! h2 Q3 e" H6 z: C+ H$ S/ x
  795. ; http://php.net/cgi.rfc2616-headers
    5 }4 _' s+ t( }6 _
  796. ;cgi.rfc2616_headers = 0
    # T. ^  _8 P$ _" ]# N, F
  797. - M# T  {/ m' x
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!! [/ |4 O2 z; q  M( E
  799. ; (shebang) at the top of the running script. This line might be needed if the
    1 L9 R* h$ |7 \
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . W" j6 I, U" V
  801. ; mode skips this line and ignores its content if this directive is turned on.. P( k: I6 ?) P3 E5 P
  802. ; http://php.net/cgi.check-shebang-line
    4 w# Z2 F: `( `2 }
  803. ;cgi.check_shebang_line=18 z& W0 E& m* i$ S; t

  804. , [2 H8 w6 D' {$ Q5 r1 C
  805. ;;;;;;;;;;;;;;;;
    + H' }) j/ x; D- X
  806. ; File Uploads ;$ G! p: z- x# r8 f: m& ?
  807. ;;;;;;;;;;;;;;;;9 [  w+ L( a% _6 m

  808. 2 u& }& T; r% @8 Z; E7 y0 i4 c
  809. ; Whether to allow HTTP file uploads.6 j% ?' N" x, m
  810. ; http://php.net/file-uploads
    / l. G: e' U$ Z# u! D1 p& y  V
  811. file_uploads = On
    9 r- q) i  x+ f
  812. " K2 i  u$ O; V1 ~. ?4 ]6 y/ |5 C. N
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    6 m- Y, C7 I2 a
  814. ; specified).! u. ^* ?& T5 F: R
  815. ; http://php.net/upload-tmp-dir7 l- \# V5 X/ @$ f6 G
  816. ;upload_tmp_dir =
    $ L9 i% W4 y! h5 l9 a6 R' P5 J
  817. ) G; t0 P' N  T  V0 Q
  818. ; Maximum allowed size for uploaded files.  A  X5 Z" d# k
  819. ; http://php.net/upload-max-filesize
    & c- ~# D3 m# T/ y9 T# k
  820. upload_max_filesize = 50M
    6 |" u, T2 n) N' c0 Y  [2 l: a! X8 }
  821. " @" e( Y! T: H6 c' W2 E( f4 L
  822. ; Maximum number of files that can be uploaded via a single request9 f" ]& B+ O1 B- L
  823. max_file_uploads = 20
    ! T3 {7 g0 B' X
  824. : l# ~" X% c+ }/ |$ Q- y, r
  825. ;;;;;;;;;;;;;;;;;;4 S6 h9 ~4 `$ S1 m9 R  j1 m
  826. ; Fopen wrappers ;
    4 H6 F# B0 A. g" D
  827. ;;;;;;;;;;;;;;;;;;5 K% U- \3 X- I, g: e8 A
  828. ' d: C9 d/ h  }+ E# p5 z' p% n
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    , z) z8 g5 J8 n; o* T3 U/ Y$ I$ A
  830. ; http://php.net/allow-url-fopen7 x  [& B0 W* g( j5 R
  831. allow_url_fopen = On
    3 s0 s; b6 k2 n6 v
  832. ) _! l9 g! |- L& G5 Z
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    4 {5 Z4 p3 b& H3 V
  834. ; http://php.net/allow-url-include/ q" r; k* b, q& z/ A5 @3 j
  835. allow_url_include = Off% F  a2 Y/ [/ b
  836. 2 K0 Z3 l( Z" \8 L" D% V
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    0 c) T" }1 Y0 R/ m1 S5 l
  838. ; for this is empty.
    - L9 b- _+ B$ A. O5 _) ^
  839. ; http://php.net/from# k! g( i: G  Z$ X6 f: r
  840. ;from="john@doe.com"
    + q1 f& M  Q3 Q) d

  841. + l  U) t9 l! X) ?; P/ J( o8 ^$ Q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ' g* D, I) M: a1 L# _
  843. ; http://php.net/user-agent4 ?% |* v5 g1 u5 i. A) e: b9 M, z
  844. ;user_agent="PHP"
    1 U; S7 a! b7 n  @/ X: I

  845. : v2 R, ]. C4 U8 D1 K4 `
  846. ; Default timeout for socket based streams (seconds)
    1 c1 Y! Y' l9 A, s" @
  847. ; http://php.net/default-socket-timeout( o$ u1 e& K6 k" ?# [
  848. default_socket_timeout = 60! }. W% \3 A5 K; L4 Z7 s3 s' S$ |

  849. : p& N& u, t  u" A+ d1 w
  850. ; If your scripts have to deal with files from Macintosh systems,
    & m9 V+ S. }$ a$ m) {7 L
  851. ; or you are running on a Mac and need to deal with files from
    / q3 @9 l9 N# |0 F" C
  852. ; unix or win32 systems, setting this flag will cause PHP to7 t: R! B" u# ^& }/ T& m
  853. ; automatically detect the EOL character in those files so that: |: N$ z4 a. v7 ?
  854. ; fgets() and file() will work regardless of the source of the file.# K: b  d% S' r( }  @. z; ^* y
  855. ; http://php.net/auto-detect-line-endings1 [; R9 ^( a8 N& h; x, ?% s
  856. ;auto_detect_line_endings = Off
    / ]# m& G( H! R+ b9 V7 ~8 L

  857. + I1 w- |8 L' X  ^2 M; X6 Z
  858. ;;;;;;;;;;;;;;;;;;;;;;: o1 ~2 i, S8 H
  859. ; Dynamic Extensions ;) V0 t: g( T9 S( B4 m
  860. ;;;;;;;;;;;;;;;;;;;;;;2 o* ]$ [( X) f

  861. " e8 g. b1 k* L% h% z- J
  862. ; If you wish to have an extension loaded automatically, use the following
    4 r' r3 M1 y9 A* @' @1 Q# @
  863. ; syntax:
    % m: X; p+ I% b2 B
  864. ;
    9 |+ G& J( w0 N7 s* \0 O
  865. ;   extension=modulename.extension6 n1 z4 {! S) I4 Q
  866. ;5 J, T6 z4 H" ]+ F# w
  867. ; For example, on Windows:
    ( [# b8 g) l5 w# S4 r' V& @
  868. ;
    0 ~) l7 ?3 K5 T  y; Z. ?% \" \2 T+ V
  869. ;   extension=msql.dll5 g8 s1 {, m8 J& i, L! X  O3 f1 z
  870. ;: q; q  C) \; E1 V+ Y5 m+ c3 W1 x) l
  871. ; ... or under UNIX:
    ! |2 r- e+ W9 e
  872. ;: j! Y) ~* @6 f5 s! X! G3 }* }4 ?
  873. ;   extension=msql.so( d. e' Y) ?7 ^# ?7 M* ^+ M7 c
  874. ;
      g* j7 D+ T% ~( m" F, E
  875. ; ... or with a path:5 D! H/ U3 q2 L! r
  876. ;3 [' m5 v( E7 }/ u
  877. ;   extension=/path/to/extension/msql.so
    , D; a6 q$ ^" ?2 A
  878. ;
    4 Q' W* a" P( v+ c& @# H" P. u
  879. ; If you only provide the name of the extension, PHP will look for it in its
    " o+ ]5 |& M/ e8 d: f
  880. ; default extension directory.# i2 S1 \* {& ]# u
  881. ;
    0 n2 J$ \$ m2 `) z! l1 P
  882. ; Windows Extensions1 y+ Y+ N6 T' t1 x' v
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    $ [. V5 u( C2 {  b* N, v$ o" o
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    6 x$ l& W( [$ S2 i; N. J
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).0 r7 a! x3 w$ ]! ?' l; p
  886. ; Be sure to appropriately set the extension_dir directive.
    1 I$ P$ j: ?8 I, g- n. q! k  R
  887. ;
      S# m+ P( N& r- y4 `
  888. ;extension=php_bz2.dll
    4 y/ B( F2 g9 z/ {  m
  889. ;extension=php_curl.dll$ |7 K- X  p$ g) k9 D
  890. ;extension=php_fileinfo.dll
    ( ^4 @0 _7 O7 h; k
  891. ;extension=php_gd2.dll' D9 N" E2 [' {; l, z9 P
  892. ;extension=php_gettext.dll
    2 J: i& @% u7 O1 q; J5 W
  893. ;extension=php_gmp.dll
    ( Y  G9 Q* d) ^# d: [2 U
  894. ;extension=php_intl.dll
    ) d* O! F2 z% r' r) p
  895. ;extension=php_imap.dll
    0 Y3 p9 ^$ `5 X5 c$ h- T0 z
  896. ;extension=php_interbase.dll8 C# I4 e- z* q  a+ E% I. E
  897. ;extension=php_ldap.dll" _( ]( I2 i  q0 r7 c
  898. ;extension=php_mbstring.dll
    , v) X5 Y9 ]; l+ ?
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    & F' m" ?, C# v7 X1 g: d  F1 X
  900. ;extension=php_mysql.dll4 G, K. N: q. S$ p7 E
  901. ;extension=php_mysqli.dll8 j& G' Q* A* _; z* o5 K; @. d
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: t6 b! D; F" O7 i" |
  903. ;extension=php_openssl.dll
    ' k( Z- u1 j6 O. W
  904. ;extension=php_pdo_firebird.dll
    6 J5 y1 P7 \0 Q* Q" H8 g/ P, F: B
  905. ;extension=php_pdo_mysql.dll& g$ m' E7 Z3 G  H5 _- R
  906. ;extension=php_pdo_oci.dll
    + W5 {! p+ ~/ V
  907. ;extension=php_pdo_odbc.dll
    - a4 c3 k# [5 S- A+ ?2 v
  908. ;extension=php_pdo_pgsql.dll
    / n0 `" C8 `9 |: {' t* O5 i
  909. ;extension=php_pdo_sqlite.dll
    + k- ~# w. x/ T' g! |# v( n
  910. ;extension=php_pgsql.dll6 ^( |3 \. C5 I4 y" h  i5 X
  911. ;extension=php_shmop.dll3 q, ]* b. W7 R2 h+ F- V5 a
  912. + H& e6 T1 r6 c
  913. ; The MIBS data available in the PHP distribution must be installed. 2 W* T6 }7 k8 u
  914. ; See http://www.php.net/manual/en/snmp.installation.php   S: v' y5 h$ u* \, x
  915. ;extension=php_snmp.dll
    9 u) r; T: p, h; R0 f8 ~( e

  916. 1 g' h- P2 v& X2 b
  917. ;extension=php_soap.dll
    7 p/ [- w! ^( \6 k7 o# A7 x
  918. ;extension=php_sockets.dll7 Y' s* b5 V# s6 Z( ~" z0 I
  919. ;extension=php_sqlite3.dll- w2 |' I. l8 i% }
  920. ;extension=php_sybase_ct.dll
    " R5 E0 S- |$ v# ^* N) }
  921. ;extension=php_tidy.dll
    " S, \" L9 u' F( ^% `  h: m; ?2 @
  922. ;extension=php_xmlrpc.dll
    , @& E0 I# [! E6 q1 a2 v
  923. ;extension=php_xsl.dll
    4 K1 q0 H3 V# j
  924. * W: i+ y  ^8 P0 [6 t) N" J/ r
  925. ;;;;;;;;;;;;;;;;;;;
    3 r' B6 S4 O  C/ d$ Z$ D1 ]/ |. x
  926. ; Module Settings ;
    6 ]: A( J0 v0 m8 I$ M
  927. ;;;;;;;;;;;;;;;;;;;2 x3 d' Q8 U2 |/ n

  928. . |8 X; R# \: g2 L+ I
  929. [CLI Server]
    % f6 J+ l- ?, Y% X4 l3 ]) ?5 d
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ( Y* z: A) u/ i8 ?
  931. cli_server.color = On$ q7 x( T& R) G/ P* M
  932. # z# H% U$ e, n: t% Z+ F8 O
  933. [Date]
    ! U' E" w, F4 y+ x" O# f2 W+ f
  934. ; Defines the default timezone used by the date functions
    , [* O7 k8 i$ W. S# k% B' _. R6 S
  935. ; http://php.net/date.timezone: P# j5 ]$ A5 g$ P( M. D
  936. date.timezone = PRC
    ! \  M3 v+ A& x$ u3 d3 A

  937. ! q* T4 g3 o$ c  V3 i
  938. ; http://php.net/date.default-latitude3 P! |$ g' D) ^7 X# u" s
  939. ;date.default_latitude = 31.7667% m+ n3 G/ a  ?4 D2 l# m$ S

  940. , t- q- r4 @  v% P' Y+ t# M
  941. ; http://php.net/date.default-longitude7 t# H) b7 c  j# R/ v2 W
  942. ;date.default_longitude = 35.2333+ X1 W4 Q( _- i
  943. 2 C, E% J' s  Q) f* n
  944. ; http://php.net/date.sunrise-zenith
      X8 O5 M* J5 I4 |# g: K
  945. ;date.sunrise_zenith = 90.583333
    * E# [3 f! g. s+ D
  946. 4 \/ i- b" D$ l  v1 j/ N5 B
  947. ; http://php.net/date.sunset-zenith7 L& Y4 l/ y9 n" D% S5 [
  948. ;date.sunset_zenith = 90.583333
    " k9 E" L2 Z& F

  949. , ?( \7 g9 Y( F! T
  950. [filter]) E+ |- T" O! {
  951. ; http://php.net/filter.default+ A( E! r% N7 ~  s& |
  952. ;filter.default = unsafe_raw. r# v' \* K7 ^9 @; Z8 ^! t4 L
  953. & `1 d; c$ j0 ^$ g1 ]
  954. ; http://php.net/filter.default-flags% m6 t9 V, u" y4 Y; _& S
  955. ;filter.default_flags =
    * J) F, Z3 ]8 \# q3 h/ _. ?
  956. # ]. N1 L1 x" w  r1 n& p
  957. [iconv]" j4 A. ~& _; G! X+ M) n7 G2 c
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
      U( |5 Y6 f8 U  q/ f( ?2 p- ~5 s
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.) y8 s0 A7 u! F4 K! N
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # h& Y0 X% c8 A- o- V' z7 N
  961. ;iconv.input_encoding =* t3 _8 |! ]& |& N) i  V* p
  962. $ Z3 O, w. c; E' A' R* _& ^' J2 Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' [$ S# C: s. S. a, [( j
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  }; Q+ n8 ~8 f
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * o' P& j. H4 {8 ~' U; E4 r8 f
  966. ;iconv.internal_encoding =
    5 l+ ]# H& D! v5 p8 e, ]

  967. , Q. I7 c( @2 q  o; a4 D
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , K3 A& j2 l( w" _  r2 e
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ p* B3 k- E7 K
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    * \8 }( c$ M9 L  w
  971. ; To use an output encoding conversion, iconv's output handler must be set
    % I9 ]: w# Z, `6 f# i# m$ C+ P
  972. ; otherwise output encoding conversion cannot be performed.
    . d" U9 h, h- [' G9 j7 V
  973. ;iconv.output_encoding =5 D1 y+ I3 l8 X; g7 @

  974. 3 z" E1 `  ?. N3 V* J  ^
  975. [intl]
    7 d( |- ]9 v  q1 y8 Y* y
  976. ;intl.default_locale =- y. x1 B0 [  u. u* K- D
  977. ; This directive allows you to produce PHP errors when some error
    6 G: T! d7 n* j( G/ O& G- x1 S
  978. ; happens within intl functions. The value is the level of the error produced.
    8 ]  x  g( M! M" E( i
  979. ; Default is 0, which does not produce any errors.
    % V* t% Y( [' Y4 }; ~) S4 F! u
  980. ;intl.error_level = E_WARNING
    2 _+ }+ u" x! t' [, K. \
  981. ;intl.use_exceptions = 08 e/ [/ r+ ^" i

  982. : W# C! R$ U7 Z" v, ?' p1 s! T
  983. [sqlite3]5 o; W" o* y' [
  984. ;sqlite3.extension_dir =
    6 g( w6 D) e, V" P0 p0 L+ b3 S

  985. 6 O, M$ L3 H% o
  986. [Pcre]) S  x9 |% n' J
  987. ;PCRE library backtracking limit.
    8 \! Y: b8 O5 |$ ]2 E3 @
  988. ; http://php.net/pcre.backtrack-limit
    % e: Z. L# Y0 c  L! }; C: ]
  989. ;pcre.backtrack_limit=1000003 r4 @5 w+ i: I4 d, ^
  990. ' U; l. r; k0 m6 B. y
  991. ;PCRE library recursion limit.1 Z! a+ Q5 [. z: ?/ [/ F
  992. ;Please note that if you set this value to a high number you may consume all, V/ q6 E  ?& O; k3 u
  993. ;the available process stack and eventually crash PHP (due to reaching the) I1 B9 c3 n2 Y/ d
  994. ;stack size limit imposed by the Operating System).
    : q7 g" n/ Y& K$ J% ?$ u  \
  995. ; http://php.net/pcre.recursion-limit
    1 U! l3 g- y2 U! L0 f+ R
  996. ;pcre.recursion_limit=100000
    0 D; e/ k, u5 u! \- M/ U$ S
  997. / T  w. G6 O5 q3 M8 G9 r
  998. [Pdo]' h) [; K" ]/ F, J+ v* _" @2 N6 b8 t5 _
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ) N( I7 o7 G* [* M  Q& O; Y9 N
  1000. ; http://php.net/pdo-odbc.connection-pooling2 e/ F- {2 ]1 e$ P0 |4 K, l
  1001. ;pdo_odbc.connection_pooling=strict; R, t+ C2 m) M/ I  T# B4 t

  1002. 9 M- P( n8 D. S$ }
  1003. ;pdo_odbc.db2_instance_name% \1 b7 ]; Q6 ]% N; b1 S

  1004. . W* {) ?' d; F& H1 e# M1 @7 H& q
  1005. [Pdo_mysql]5 e# E' L8 O& v8 E
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache- t) l) F6 G: U6 I- v
  1007. ; http://php.net/pdo_mysql.cache_size
    . V$ B) P& d) Z- c
  1008. pdo_mysql.cache_size = 2000. X" B: U2 {) M+ d

  1009. 3 N0 t6 X# U7 u- J
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      Q# A- g+ ]  y0 d/ D' u1 E
  1011. ; MySQL defaults.7 I6 U: n" D7 o, y/ y( ?
  1012. ; http://php.net/pdo_mysql.default-socket! k! d& g9 k% ^) ]) a. ]
  1013. pdo_mysql.default_socket=+ m  b0 _, Q7 c, K+ ^+ v# }
  1014. 3 ]( {0 E( T* x4 M
  1015. [Phar]
    . r9 b, n9 c6 p+ @) n0 G; J
  1016. ; http://php.net/phar.readonly4 \& K1 P' O1 |# {+ o6 t, h
  1017. ;phar.readonly = On: T/ [! _4 y# q- b

  1018. , X* t  t& K# S6 A. K  L
  1019. ; http://php.net/phar.require-hash, y/ b' W. _/ V7 S( |* S
  1020. ;phar.require_hash = On
    2 D* a: d" ?7 `2 t3 C0 g$ w

  1021. # k; R5 S5 F/ d) ?5 q
  1022. ;phar.cache_list =
    $ P1 L+ T6 u& r* V" W3 N! ?

  1023. 3 p+ C: P/ m" h
  1024. [mail function]: L1 ]; p' `9 w% I
  1025. ; For Win32 only.& z$ t$ d- K& n( H
  1026. ; http://php.net/smtp: h. ?7 Z5 B$ Z/ t7 J, o* K7 j
  1027. SMTP = localhost
    ( V& Y8 N# a: R* z- k3 q  ~9 p, D7 \
  1028. ; http://php.net/smtp-port5 u3 o2 U" F* }
  1029. smtp_port = 25
    % p) ~2 x& G& ?  e' Q
  1030. 0 i0 Y) H: D" |. G( I
  1031. ; For Win32 only.
    9 W4 Q- e! ?$ D; J3 J2 O
  1032. ; http://php.net/sendmail-from5 |, B2 {/ f. `" u3 H
  1033. ;sendmail_from = me@example.com! D# \) |/ Y8 I6 @- B9 g

  1034. 5 ?' [/ o: h! ?; X, k' l9 x
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 J% p! ]1 l- S4 l
  1036. ; http://php.net/sendmail-path9 Z  j& c  x2 H1 a4 k" d" w
  1037. sendmail_path = /usr/sbin/sendmail -t -i( J2 p, c. ~, Y

  1038. % r! e! A% G6 p3 I0 X2 E
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    8 y- n+ s; U0 G  U. M! ~
  1040. ; to the sendmail binary. These parameters will always replace the value of
    , k1 Q# {, S1 V
  1041. ; the 5th parameter to mail().. L# g# K8 l8 _5 u) t# `
  1042. ;mail.force_extra_parameters =
    ) v& f' q  {% x4 w9 e

  1043. 7 r  {3 D( Z( p1 X# G
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename# ]5 Y, Z0 [, C/ H$ N5 G% n
  1045. mail.add_x_header = On# N& o* |, K# t! |& ?- J6 A6 a, O
  1046. 2 d% C6 d5 a- ?4 X# D
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ( x, f" s& f+ h7 C7 B
  1048. ; the full path of the script, line number, To address and headers.
    % a" t6 V( \: l. z  ^, @
  1049. ;mail.log =
    4 V: w6 [$ b8 }0 i! ^8 A, h4 }
  1050. ; Log mail to syslog (Event Log on Windows).
    . }0 z" b4 x+ G5 _1 \1 j
  1051. ;mail.log = syslog* A4 v8 p* V/ o4 W: Q1 v% ]1 v

  1052. " k. W9 k* v2 D1 U4 k1 U
  1053. [SQL]" Y$ Z3 z2 j6 |" N" {
  1054. ; http://php.net/sql.safe-mode4 Y4 r5 y, k. @, k; t
  1055. sql.safe_mode = Off- N% W$ g% f6 U9 o

  1056. ; j& A( r7 p+ }" V4 S& ~
  1057. [ODBC]
    - j+ `8 w  t2 z( u' @7 S
  1058. ; http://php.net/odbc.default-db
    # A" U' L' c$ P/ B+ ]
  1059. ;odbc.default_db    =  Not yet implemented
    * ~7 W5 U( I4 b! ]# }% R) l

  1060. - h- X9 ~$ w: e) {: K5 O
  1061. ; http://php.net/odbc.default-user
    7 y$ K: ^5 X( }0 z/ R! X
  1062. ;odbc.default_user  =  Not yet implemented9 ~. [6 X% k) Y8 ~. d0 X& L
  1063. 8 I+ [! w4 X  ~* o
  1064. ; http://php.net/odbc.default-pw# J2 T3 C3 S- e( k* X
  1065. ;odbc.default_pw    =  Not yet implemented
    ; w3 h: A  @, T4 L; B0 O! H' d

  1066. " W& t7 a* @9 q3 ^6 s
  1067. ; Controls the ODBC cursor model.
    + n1 `  r  e5 E+ _1 s% M
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ; P+ L0 V6 u" ^5 k
  1069. ;odbc.default_cursortype
    & U7 P) t& @; A
  1070. " \0 [  L; h/ D3 ^2 n
  1071. ; Allow or prevent persistent links.
    ! O* H+ g$ c7 A% o! P
  1072. ; http://php.net/odbc.allow-persistent
      V+ u% b1 Y# a7 g: q
  1073. odbc.allow_persistent = On
      p5 J8 d- V  d  v3 W: g$ P" ?
  1074. 6 t& q* h4 G8 _9 j2 ^  ]5 j
  1075. ; Check that a connection is still valid before reuse.3 X' M9 V$ M  g! l& A- H
  1076. ; http://php.net/odbc.check-persistent
    ) U& ~5 Q  I# z' L
  1077. odbc.check_persistent = On
    0 j/ `& n8 d5 N- |$ k0 r! V  w/ A) i

  1078. % Z/ ]2 q1 T( s/ e
  1079. ; Maximum number of persistent links.  -1 means no limit.
    % v" F/ }& R' d1 a; T2 E1 e% P
  1080. ; http://php.net/odbc.max-persistent
    2 R" \1 |* V- P8 f' O
  1081. odbc.max_persistent = -1. Z; v- \2 L& E0 |5 r
  1082. 9 A5 G/ v' [! Y/ g* J8 p
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 O+ Q) Q# r0 W
  1084. ; http://php.net/odbc.max-links; u0 l# P: M7 f$ |- c$ a
  1085. odbc.max_links = -11 D/ B- H5 o4 X! u
  1086. 5 M4 t( Z/ E1 q9 t3 Y- Y. U
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( L& w9 q0 m# A& _. {, G& N" T3 D
  1088. ; passthru.
    5 H- M+ V+ }5 u: D7 \
  1089. ; http://php.net/odbc.defaultlrl6 w; _0 j' u) R% W+ x/ m& u
  1090. odbc.defaultlrl = 4096
    . q) k# n  l1 Z9 e1 ?9 @" b4 l

  1091. & W) e% t0 E  m; G
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.0 W1 _0 I: Z+ ?1 K- I: X$ v  w
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation7 I' T4 h4 g0 u5 Y! R1 P
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode+ d9 d! r3 U0 a9 I
  1095. ; http://php.net/odbc.defaultbinmode$ q( \  w# S4 b( `6 z
  1096. odbc.defaultbinmode = 1
    2 y. F9 P( R% B5 J8 U$ B% F4 P! C( q& r
  1097. $ ~4 T0 C; `) Z- M& U2 Q3 R
  1098. ;birdstep.max_links = -1# K; s! V( \: H7 }. l5 S

  1099. 3 ?/ l: `1 x% U
  1100. [Interbase]& j  e* {! ~1 |% t7 F
  1101. ; Allow or prevent persistent links.
    % x! D" f: U. {
  1102. ibase.allow_persistent = 1
    0 k) y7 Q# t, q- D/ [0 C* S
  1103. " s% f5 L1 C- o% E/ l
  1104. ; Maximum number of persistent links.  -1 means no limit., x! F! G! `- y8 y# d
  1105. ibase.max_persistent = -1
    * l+ }) J! I" W. J* r1 e

  1106. 3 o) o: H5 e: Y  E# K* g
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- T1 F2 A3 |! v; Y- d" g- L1 X4 o/ J
  1108. ibase.max_links = -1
    $ l7 C# _' W0 A# A) G' B
  1109. / N+ j, y9 o& }. V0 F
  1110. ; Default database name for ibase_connect().
    / I$ g- U0 E) m8 A
  1111. ;ibase.default_db =; p* ~/ s6 B: X! M3 M$ _" j

  1112.   t! R' b8 \% t1 T7 _0 s
  1113. ; Default username for ibase_connect().
    ! ~4 |* ~7 a5 X: Z) Q* `) U$ S! T
  1114. ;ibase.default_user =
    $ C9 n' y* U: P4 c) r
  1115. # e2 Y0 ^6 p5 k" E6 M! K. B
  1116. ; Default password for ibase_connect().
    2 G$ B. A! d3 z
  1117. ;ibase.default_password =
    * ^/ O( ]. G! S- R. [

  1118. . J* N- @) N. U9 Y2 V8 s
  1119. ; Default charset for ibase_connect().
    * y3 q3 l1 D! {
  1120. ;ibase.default_charset =
    . s/ {: T# h- I

  1121. $ V" a* o2 L: }8 K& q* G3 h
  1122. ; Default timestamp format.
    3 l1 u% @+ D2 O+ t: a. ~
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"# t) O* Q  p7 A9 s9 S& B

  1124. ( x( ^! C6 a4 e$ X4 o  @
  1125. ; Default date format.4 j5 X; b2 y8 W" I
  1126. ibase.dateformat = "%Y-%m-%d"
      B8 G$ `/ c3 X+ n! r* ~3 I
  1127. 0 ~0 P* M6 z7 T: R, }* b; H4 q
  1128. ; Default time format.6 r' Y7 p% ]$ T$ e* i) k# i) [- K  m
  1129. ibase.timeformat = "%H:%M:%S"6 Z9 e# D; c, O4 ~# z* E
  1130. 5 z0 D$ u) e+ {0 k6 L
  1131. [MySQL]9 F, M/ V. ~! X, R( {( }
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 Z2 o$ t% T3 G3 J  \
  1133. ; http://php.net/mysql.allow_local_infile
    & D$ ]6 v7 w) S$ E3 t. i
  1134. mysql.allow_local_infile = On! }1 H5 G! U( ^
  1135. * l7 b/ j" b0 K1 g8 W
  1136. ; Allow or prevent persistent links.
    6 M3 g/ l! @2 x+ g, A
  1137. ; http://php.net/mysql.allow-persistent. E) ~* w) [7 x3 C" t# z8 w
  1138. mysql.allow_persistent = On9 n# |/ T7 `2 y* ]- M$ k) ^

  1139. 4 T! N* e% m0 S# P" a
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 V( @5 C  D, G+ _
  1141. ; http://php.net/mysql.cache_size
    ; j& [% D. b3 C  q1 j0 t2 C& ^
  1142. mysql.cache_size = 2000  y  [# c8 ~4 e- G2 i6 {

  1143. + W! B! z; _; ?" z
  1144. ; Maximum number of persistent links.  -1 means no limit.
    4 q3 N' b: y5 N. J* j, T
  1145. ; http://php.net/mysql.max-persistent
    . Z, e1 ~6 n2 Q$ @7 Y6 t7 H
  1146. mysql.max_persistent = -1- C6 [1 v; R3 O9 @8 i, _1 a) S

  1147. # I* x  v+ [( [& a& [5 {% Q
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * S/ v9 `: _1 M1 I5 X# `) z8 {: P8 c
  1149. ; http://php.net/mysql.max-links( p  i7 w3 g& P- n, Z3 p
  1150. mysql.max_links = -11 o9 X! x! f- u$ D9 M+ b

  1151. + L( R2 \# }) ~: T% X# u* J7 B
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use( x- M- M( _4 O' ?
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 L' ?( J2 K/ U' B' e( {0 n% w
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 ]. i  |- V6 y/ a8 n7 k
  1155. ; at MYSQL_PORT.
    / S; |/ q% Z; G! G
  1156. ; http://php.net/mysql.default-port- _' D8 p: N. C$ S! n5 e- M
  1157. mysql.default_port =* Y& K! c2 M4 P2 @& L# ^

  1158. $ o0 T+ J/ R( K0 T% Q( a1 G
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 a0 b6 |" s# j' `( C# Q% T
  1160. ; MySQL defaults.! j9 J" c0 w$ P. Y" \, a, {+ Q" }
  1161. ; http://php.net/mysql.default-socket$ @1 w  v- |( C) F
  1162. mysql.default_socket =# r6 s% o. ]8 u: B) n9 K! j

  1163. # Q+ m5 v4 a9 ?+ E
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , i) r+ ~6 e9 B- s( A& z' c0 e
  1165. ; http://php.net/mysql.default-host
    : J* g1 m& b+ d1 s7 _9 V
  1166. mysql.default_host =
    1 V5 _' |" W8 M! z

  1167. 4 z4 v: k4 i$ R1 l; H2 P
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).* j: y) P" A) k( h* C% ~8 Y$ W
  1169. ; http://php.net/mysql.default-user
    9 C4 N2 R% |5 N( H3 J- @
  1170. mysql.default_user =
      r. L. S! Z3 p' e0 m+ A+ c
  1171. / ], a( T; R2 t1 Q! |) U: \5 a
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).3 X0 |+ E$ Z( d: f
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 W4 H' r( m& x' P7 E
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")6 G( y% L7 T: s% H% m
  1175. ; and reveal this password!  And of course, any users with read access to this$ ?3 A- K6 i! ^0 }6 G7 L! y
  1176. ; file will be able to reveal the password as well.
    & r3 G& y. a7 p. h# h& C
  1177. ; http://php.net/mysql.default-password! ~% u5 q0 \% u# c
  1178. mysql.default_password =) H* L  `8 y* r4 m+ s6 m
  1179. , ^+ B+ H% T4 g5 s  y2 f$ b1 {
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    $ M5 _7 M$ f3 C$ r7 ^: i2 s  L
  1181. ; http://php.net/mysql.connect-timeout
    ' V9 k+ ]! h6 o) A
  1182. mysql.connect_timeout = 60
    9 \  d9 I, v1 v0 k9 \% b

  1183. 6 y$ h' Z% Q/ [) A' F" f
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and5 v: r# }5 e8 W/ j! B
  1185. ; SQL-Errors will be displayed., o, Z* V8 r7 A, S/ \- h8 I3 d
  1186. ; http://php.net/mysql.trace-mode
    8 i# G! l( k4 p7 @% ^# W5 l
  1187. mysql.trace_mode = Off
    9 Q5 M" m" m* o

  1188. / {2 c' e# }# L5 Z6 p6 T9 h9 k$ |. M9 K
  1189. [MySQLi]
    0 l# ?! r5 \9 u6 E# k5 [
  1190. / c7 P9 e3 c/ c
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ! q& [9 ?: ?3 u7 d1 e: u* [6 ]
  1192. ; http://php.net/mysqli.max-persistent  n* V2 ]2 e4 O4 R) @' G* i
  1193. mysqli.max_persistent = -17 }- r  l! [# A7 b$ d0 @1 T
  1194. - n! W% N% D: M6 ?4 [' H
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 b( M1 B" {  }1 m& K1 z1 M, Z
  1196. ; http://php.net/mysqli.allow_local_infile
    6 A5 a, p! v: Q( ?0 Y
  1197. ;mysqli.allow_local_infile = On. k5 U& x2 _& d

  1198.   y' E& V. X2 I/ p4 s
  1199. ; Allow or prevent persistent links.
    5 C1 d* a2 L5 j* r/ h
  1200. ; http://php.net/mysqli.allow-persistent* w7 B. {7 j, N( ^3 U
  1201. mysqli.allow_persistent = On5 ^  G6 g& _5 L( }- W
  1202. 8 c6 m, _* `5 ^$ O& o8 B
  1203. ; Maximum number of links.  -1 means no limit.
    . v6 Y  l# z" c2 i4 R9 N2 {
  1204. ; http://php.net/mysqli.max-links7 `; h2 F7 ~& J# y3 B2 V; [
  1205. mysqli.max_links = -1! y+ u0 B2 x6 ^) l+ K2 R
  1206. ( a9 q' x* n  ~% Z
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 |  F3 `( P: Y) F# p- O; J5 h) G
  1208. ; http://php.net/mysqli.cache_size) \5 v4 x; O$ z- N6 _5 ~
  1209. mysqli.cache_size = 2000
    + V# `5 M' M: d$ U( R

  1210. ( b4 {. {7 d1 A& p
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use/ _$ D7 e+ c* |) n/ G# z" O
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ G# S: V; e! [; D+ ?
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    . E" L7 Q& i$ b% X
  1214. ; at MYSQL_PORT.
    ( t. B0 ~( |# a% |# b! G. L
  1215. ; http://php.net/mysqli.default-port; z9 Q* \7 `- g! @$ z0 l: z7 q
  1216. mysqli.default_port = 33067 B* O% Y5 |2 S4 V, W

  1217. ; N, t( P& i& w, `
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; ~+ }8 D" K) @) U5 q
  1219. ; MySQL defaults.0 o& ?4 Q) s% c# F, N) ]! O
  1220. ; http://php.net/mysqli.default-socket$ r5 g0 E* N# W8 a, _3 a
  1221. mysqli.default_socket =
    $ S$ E, C6 i$ q9 A
  1222. # ^, e+ e, ~6 W
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 ?; u4 T! q; R) q' p
  1224. ; http://php.net/mysqli.default-host6 m, t: U0 p) S6 t3 _
  1225. mysqli.default_host =
    . x2 B& I5 F+ o* C- a) G4 n
  1226. 9 e2 p! _7 J) l# o' d/ n  I
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).8 G% [$ m9 `" W; N2 W) G
  1228. ; http://php.net/mysqli.default-user# C+ l9 B% S4 ?; c  q
  1229. mysqli.default_user =
    " O4 P4 R# G1 X' |
  1230. & J; |+ _% y" _5 c
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 U# V! x" c9 R' l. u
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) }4 W5 M4 }6 A# p- P; X6 \. V/ n
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 i9 W! c2 C# K" \
  1234. ; and reveal this password!  And of course, any users with read access to this% V* u6 n$ ^' h" j0 a) j4 D
  1235. ; file will be able to reveal the password as well.# r, q3 b( q: G) w
  1236. ; http://php.net/mysqli.default-pw
      ]% z' T0 S8 w0 R, L8 c+ J- z* T! q0 b
  1237. mysqli.default_pw =
    , `# ~. }6 R+ b% Z+ t
  1238. 4 i$ p- @8 n+ S$ s% c
  1239. ; Allow or prevent reconnect7 u  q$ ^: v9 ?7 ]& K0 V
  1240. mysqli.reconnect = Off
    ' t$ N0 D4 Y: h2 Y- d0 l
  1241. ( C" H9 f. y# {2 t- x
  1242. [mysqlnd]
    ' z6 ]9 [% r* d
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be  d+ t( F9 n' T2 W+ [2 d
  1244. ; used to tune and monitor MySQL operations.
    * s, C: s" m4 _% z8 d/ M, v1 t! }
  1245. ; http://php.net/mysqlnd.collect_statistics
    , G( v0 p# N; k6 o3 T
  1246. mysqlnd.collect_statistics = On
    2 m) d" y7 k' J' p0 s5 U. i6 _. @  Q; k
  1247. ( d: A! e' |  c9 _
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- r# }0 `1 P9 |8 G
  1249. ; used to tune and monitor MySQL operations.
    ! ]: Q) F# m( ^5 d% _. y) e7 E
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    8 ]8 }; i; {  N: F: L! w6 o6 u$ j# D
  1251. mysqlnd.collect_memory_statistics = Off
    / w1 p* ~+ b6 f8 R4 e

  1252. 5 Z5 X: }. I* y! \, r: w4 b
  1253. ; Records communication from all extensions using mysqlnd to the specified log: X$ G1 y& Q) R  \& Z+ P
  1254. ; file.% ^8 u3 Y/ ]4 y2 m0 A" Z
  1255. ; http://php.net/mysqlnd.debug" B" g' C5 }  q7 Z; @; Q
  1256. ;mysqlnd.debug =
    % O: t+ Q, L; S6 b

  1257. 3 X8 ?& j* o7 v$ r6 j
  1258. ; Defines which queries will be logged.9 G- {' @: i( w6 ?
  1259. ; http://php.net/mysqlnd.log_mask
      k" v  n% m8 S! g
  1260. ;mysqlnd.log_mask = 0
    * O( {- K7 S& q' f. E

  1261. 1 C, t9 @+ M$ F9 w: s  ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' y5 e; h! B5 g+ c0 m3 c- G* y0 P7 G
  1263. ; http://php.net/mysqlnd.mempool_default_size8 F. W. }3 `: z! g
  1264. ;mysqlnd.mempool_default_size = 16000
    5 z8 o' n. `) C; I% [* E8 J: W

  1265. ! ~6 _$ Y/ W; m# z! K7 _
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 h$ H0 |1 K5 l# O' K
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
      {& t% d0 N7 r# e2 v! \
  1268. ;mysqlnd.net_cmd_buffer_size = 2048) U6 ?4 W/ p: `9 U, n2 l8 l

  1269. + \9 G2 |" \/ d' R* _# I& }' Q0 _0 }
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    8 u1 {/ |- ?# Z6 U8 D3 C
  1271. ; bytes.
    8 Z! R$ x( d. j7 d6 G
  1272. ; http://php.net/mysqlnd.net_read_buffer_size& _0 n) \7 Q* X% N
  1273. ;mysqlnd.net_read_buffer_size = 32768! y# U* X. K' _, @) V/ n" W4 u

  1274. $ F( h1 Z# O1 ]0 o
  1275. ; Timeout for network requests in seconds.
    0 Q! j0 x, c9 y; {
  1276. ; http://php.net/mysqlnd.net_read_timeout5 B* I/ p: I8 G. e& q
  1277. ;mysqlnd.net_read_timeout = 31536000
    : Y+ Z( v0 i  y

  1278. ! M/ S2 ?: |/ V- ^  T* R% ~
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 @& D' u* b6 _4 ~5 J7 V% E7 z
  1280. ; key.
    4 Y- [* y0 A& s
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    9 _+ Y/ b6 ^8 A; B' s
  1282. ;mysqlnd.sha256_server_public_key =! I( E& n' D# x7 W/ s# G
  1283. # F; t" p$ N: x+ ^: f
  1284. [OCI8]
    6 k+ o$ S  H  a7 Z- G
  1285. ( Z2 }3 [2 x7 {4 T3 S; @* B
  1286. ; Connection: Enables privileged connections using external+ f8 d; v8 I! G, Z0 U
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( y4 R3 p3 d7 S. R% R( s
  1288. ; http://php.net/oci8.privileged-connect
    * y3 \. a9 M: A
  1289. ;oci8.privileged_connect = Off  U4 \6 M! s% X4 M1 f

  1290. ) w( I6 h: P. Q! ~1 D* D3 E$ Q
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ; d5 ^) O5 C) s; N
  1292. ; process. Using -1 means no limit.
    " l2 |" ?. d* w0 h9 W4 P
  1293. ; http://php.net/oci8.max-persistent
    3 j) L0 Q+ ~3 V0 b7 c
  1294. ;oci8.max_persistent = -1
    ' ^% K0 K# }( t  ?7 U$ t# _
  1295. 4 o3 D* I6 p( D/ i/ G1 B
  1296. ; Connection: The maximum number of seconds a process is allowed to
    * x1 V7 i8 E6 i* V% F; W
  1297. ; maintain an idle persistent connection. Using -1 means idle- |, \1 u* ^- b9 N2 }
  1298. ; persistent connections will be maintained forever.- C9 {; i1 e6 s1 A
  1299. ; http://php.net/oci8.persistent-timeout
    ; b2 i7 W6 P$ g
  1300. ;oci8.persistent_timeout = -1
    # H- t) T# @6 q
  1301. ( w4 N2 o( F" Y
  1302. ; Connection: The number of seconds that must pass before issuing a
    ( ~' k# Y* d8 v5 t- V1 O/ x1 _
  1303. ; ping during oci_pconnect() to check the connection validity. When
    9 f0 H- ]9 Y5 i% F3 d- q; O
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    4 g4 M3 V6 \% ~% N! H7 l1 W
  1305. ; pings completely.1 N: U1 z) X& I* E
  1306. ; http://php.net/oci8.ping-interval& a& E0 j4 J2 D8 N! h  V) G0 l
  1307. ;oci8.ping_interval = 60
    ! b* O8 l% I# g, d( G- y4 Y2 q
  1308. ! P9 o) f" c5 d
  1309. ; Connection: Set this to a user chosen connection class to be used- ~& V8 D) V, f2 N  _- O4 J( J  U
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ! v  a3 `; F) X/ _8 \$ J+ X/ |  \
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    4 a* b4 T1 S& g; U/ Q* m
  1312. ; the same string for all web servers running the same application,
    / K  G0 F/ v' U
  1313. ; the database pool must be configured, and the connection string must
    , j) a+ Y  D! N4 o; m1 i
  1314. ; specify to use a pooled server.
    % q* [* V8 A4 N3 z
  1315. ;oci8.connection_class =
    7 F2 c1 N; c: e7 s

  1316. 7 `; p# b3 g) K" t* Z
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ; E) S, }3 n+ z( ]2 T. X
  1318. ; Notification (FAN) events generated when a database node fails. The  X4 p, g. ?4 l  u; S3 J: O4 y
  1319. ; database must also be configured to post FAN events.) R1 l: A, u, n4 |1 W
  1320. ;oci8.events = Off& u3 o; o& H/ n& w
  1321. / w; l! V( A. G) `/ c. S
  1322. ; Tuning: This option enables statement caching, and specifies how
    , M, A2 e6 F1 T/ m; J
  1323. ; many statements to cache. Using 0 disables statement caching.' c( E6 w3 [9 B" X4 C
  1324. ; http://php.net/oci8.statement-cache-size
    6 z6 ^$ F/ x: y# E: b+ u
  1325. ;oci8.statement_cache_size = 20
    & R' ^0 n9 |9 k' v2 I
  1326. 8 X) W- |- X; c# k4 _' v* `. B
  1327. ; Tuning: Enables statement prefetching and sets the default number of% J5 o/ L5 X% h( d, }' Z8 J
  1328. ; rows that will be fetched automatically after statement execution.4 Z1 U* ]5 \$ \# `. d+ ~8 ?/ g
  1329. ; http://php.net/oci8.default-prefetch
    ' ^7 Y' {; I: q. ~2 d
  1330. ;oci8.default_prefetch = 100
    & h1 m; i! @2 n7 U. I' z8 L" T
  1331. 9 E+ K% h$ Z- P* N' h! A
  1332. ; Compatibility. Using On means oci_close() will not close: J/ b# [% U- Y1 V9 z  ^: L. A
  1333. ; oci_connect() and oci_new_connect() connections.
    7 ^2 r1 t" j( G5 w4 v* q
  1334. ; http://php.net/oci8.old-oci-close-semantics# O1 S) j/ O- l  q/ F7 E4 y" {# u
  1335. ;oci8.old_oci_close_semantics = Off
    & g' ^: I! G* ], a% T6 B. n! _

  1336. 7 W& e5 |9 y& `( f% ]8 Z( p
  1337. [PostgreSQL]' r) Z1 d* p: F) s
  1338. ; Allow or prevent persistent links.; b( E% k  s: U  _6 @
  1339. ; http://php.net/pgsql.allow-persistent% Z. ^% U" p/ ^- c" ^1 H( g* U
  1340. pgsql.allow_persistent = On: m5 ]! X$ |& P; X! Q

  1341. 4 W6 g. B# _! q& E1 m( d; z$ y4 W
  1342. ; Detect broken persistent links always with pg_pconnect().
    % A7 ]6 \6 G% i8 H+ }4 K
  1343. ; Auto reset feature requires a little overheads.0 S/ Y8 L9 m$ D% b  t
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ( i( f4 r8 ?/ e0 t$ A! A( p
  1345. pgsql.auto_reset_persistent = Off
    # N! i; C. B: o: o  B  n

  1346. 5 k2 Z; X! J% t3 t1 ]5 D
  1347. ; Maximum number of persistent links.  -1 means no limit.
    4 A: s1 P- d- L; i4 V2 A4 y; u
  1348. ; http://php.net/pgsql.max-persistent
    4 W6 u" `  \6 Q9 k/ H6 z6 x
  1349. pgsql.max_persistent = -1
    6 P! b9 P  ~/ Z( ?8 X7 o( Q
  1350. # O- q* s. \8 T' o
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 s/ e3 k6 l2 t
  1352. ; http://php.net/pgsql.max-links
    . C  K0 C9 _2 q) u; s$ i
  1353. pgsql.max_links = -1& a- n0 D/ B- H
  1354. , |4 U, _  ]- t% V* v5 A) w' x/ S& I
  1355. ; Ignore PostgreSQL backends Notice message or not.
    & ^: j. q( Y, U/ X* T
  1356. ; Notice message logging require a little overheads.* K, u3 Z: j4 F" T  m0 F7 Y
  1357. ; http://php.net/pgsql.ignore-notice
    / V# x, o7 a; z  v4 J8 ~  e
  1358. pgsql.ignore_notice = 0# y+ }% g' b: N/ e2 [  V8 K5 r

  1359. 2 a2 ]: ~; U' o# O; }5 O% ~3 l3 ?; E' t
  1360. ; Log PostgreSQL backends Notice message or not.
    ' d  r4 W4 ~7 P
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    * I! F0 y- b: ?. P" b
  1362. ; http://php.net/pgsql.log-notice9 k. A: X& b8 [) N* C2 i+ s
  1363. pgsql.log_notice = 0) m! a( p% W, |6 q6 z3 _
  1364. , z- `4 S; E+ u0 X" N/ e) q% i
  1365. [Sybase-CT]' x! Y5 }( V% V4 d
  1366. ; Allow or prevent persistent links.
    # N& @+ \* j, m8 \7 ?- d
  1367. ; http://php.net/sybct.allow-persistent* t% V2 t; j% h7 B; ^" z
  1368. sybct.allow_persistent = On+ V' E( [  l* p5 }3 g
  1369. " k7 o( v- Q* ?- N
  1370. ; Maximum number of persistent links.  -1 means no limit.
    & r2 P/ {* T; b+ y: F
  1371. ; http://php.net/sybct.max-persistent* L0 E2 b  [, {: \6 \% T) L
  1372. sybct.max_persistent = -1/ J& M6 e- A# R& l( E
  1373. # K6 }; F# w  h+ N
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , N9 P% i$ p) @) f2 h4 V0 j% Y. E
  1375. ; http://php.net/sybct.max-links
    & @2 {/ n% e: M6 F
  1376. sybct.max_links = -1$ A4 Z/ _- |& H" t$ |, U

  1377. + Y1 E2 w" H+ M, M. g
  1378. ; Minimum server message severity to display.
      y! Q7 F$ T8 j4 ]2 \
  1379. ; http://php.net/sybct.min-server-severity; T4 d/ G# w' E/ O/ j
  1380. sybct.min_server_severity = 107 P( q2 K. |: M4 @3 o

  1381. 5 y9 h* _( w! w1 a; C6 g
  1382. ; Minimum client message severity to display.' I$ M3 h1 k& i! f. q7 g8 C7 ]9 J
  1383. ; http://php.net/sybct.min-client-severity
    # p* u/ S: a# Y  L" f# R  |
  1384. sybct.min_client_severity = 10
    9 c% A( ^! ?7 B0 x  V5 S

  1385. + W; B3 p1 g6 r* }8 g! P; r
  1386. ; Set per-context timeout+ c+ e6 q9 {! x" n  t5 j
  1387. ; http://php.net/sybct.timeout: B$ b- }. x% o" J, D- b
  1388. ;sybct.timeout=9 K, P' S' }1 V  [4 H6 }! b

  1389. # [5 j  v' A& F; g
  1390. ;sybct.packet_size/ |& Q& s' F1 l" Q. g& l

  1391. ( C: Y' U& p, ~. ?4 q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.  i; L, `1 Q% L7 i
  1393. ; Default: one minute
    % p, h8 d+ R" F7 }4 i* H9 Y! Q
  1394. ;sybct.login_timeout=
    + ^" u7 m  b5 v- o/ R; ~6 r
  1395. % r5 Q( z, A& B& a1 n% l" [+ z
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ; F1 w7 B2 o( R; t% k7 A4 Y3 L. W
  1397. ; Default: none" a6 m8 k4 C4 y+ V! N2 f4 B
  1398. ;sybct.hostname=
    ' f; z" U2 {. w! H% D# [7 j

  1399. 9 S% c! A( Z3 z1 @+ m" \
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) ]! V" m8 z2 w9 m+ L4 I4 h6 @! x
  1401. ; Default: 0
    3 o9 Z( m' u% [
  1402. ;sybct.deadlock_retry_count=
    - T- P5 U8 I2 N2 E6 V' w
  1403. 4 L$ g: F5 U" Y( N" Y
  1404. [bcmath]
    % i2 p* d( q0 N! b( `
  1405. ; Number of decimal digits for all bcmath functions.
    + n  s- e3 B6 F8 d: g
  1406. ; http://php.net/bcmath.scale
    $ o7 z1 @7 p( h  Y- y: k
  1407. bcmath.scale = 0" s  `& I* r& e- H$ r% `8 P( _& R

  1408. . U, D+ a: B# m* }- ]$ J
  1409. [browscap]- e3 N9 C' w# w# V' X! k- M- I! `
  1410. ; http://php.net/browscap% E+ J7 b( G! p$ N% h+ P
  1411. ;browscap = extra/browscap.ini
    % D# @* ?5 g& }

  1412. 1 w2 V8 R, y) H' ?$ r- O
  1413. [Session]
    5 B7 R: t$ k! v$ H4 y3 A: [% R
  1414. ; Handler used to store/retrieve data.4 b2 X; z  ]7 w. m
  1415. ; http://php.net/session.save-handler4 b$ X. [0 c! H( I7 z/ x* }4 A1 T
  1416. session.save_handler = files
    6 {2 q+ L9 ]9 @
  1417. / p; j0 U4 {6 f$ j; w
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    4 ~4 i) b/ h1 }: G
  1419. ; where data files are stored. Note: Windows users have to change this
    # y/ J& `( U! s/ B% x
  1420. ; variable in order to use PHP's session functions.
    ' B$ o: F9 x9 A% s
  1421. ;
    3 @: G; {' c( H' Z5 c
  1422. ; The path can be defined as:
    ( F7 K; C; T7 n" H
  1423. ;
    ' E/ z3 C: m8 B* I3 f* A4 F
  1424. ;     session.save_path = "N;/path"
    / I0 Q" P2 S0 [. r& q; }& O
  1425. ;5 Y0 c( O8 e4 h# M  W
  1426. ; where N is an integer.  Instead of storing all the session files in
    + K3 v7 ]4 y0 I) B
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    3 l& ^, M% K5 ^( n5 ]- f
  1428. ; store the session data in those directories.  This is useful if
    ( W+ g4 J- \% I& w* f" I0 m9 Q! C
  1429. ; your OS has problems with many files in one directory, and is3 a" m" F7 [+ S7 l. V
  1430. ; a more efficient layout for servers that handle many sessions.7 v+ M& [& G& t7 G. Z4 N/ M
  1431. ;
    " G% c+ I2 ~2 u
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    2 v$ ?: {3 a5 c7 o1 r' H# R8 g
  1433. ;         You can use the script in the ext/session dir for that purpose.1 G3 X- N3 }7 z2 E, E) ]* z3 P
  1434. ; NOTE 2: See the section on garbage collection below if you choose to' D- B" i2 x+ j. ]
  1435. ;         use subdirectories for session storage% l4 s* Q0 e+ D: D8 P# V/ P! N( F. F
  1436. ;
    % |) u, ?* v1 a$ T6 o% X
  1437. ; The file storage module creates files using mode 600 by default.7 l1 d% A; @* b: k, @* i1 ^* K
  1438. ; You can change that by using
    , P  [1 N  U1 i8 `; M3 K% a# b
  1439. ;
    4 r) T7 p" D4 _
  1440. ;     session.save_path = "N;MODE;/path"
    9 X" E# s% T7 z7 _; X/ ^! _
  1441. ;
    + N: D4 I' a7 B. Y$ ]! {# L* F
  1442. ; where MODE is the octal representation of the mode. Note that this
    ( i. J( P+ Q7 |+ D6 k
  1443. ; does not overwrite the process's umask.
    " R+ P; v( }) z% N9 F8 `9 L
  1444. ; http://php.net/session.save-path
    9 _/ R9 i( \% ?
  1445. ;session.save_path = "/tmp"6 c& C3 |9 }9 f  P9 x
  1446. ; ?6 M7 D+ f1 H9 p( ]
  1447. ; Whether to use strict session mode.
    3 Y& H4 l+ l: Z" Y* y( Z9 T& V* P( w
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ) v/ |% d3 ?+ @! g6 A2 o4 A
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects9 \- t; ~1 _) O) x' d3 Q! h
  1450. ; applications from session fixation via session adoption vulnerability. It is
    5 }+ J$ m" t* x( |
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 D" l# y& R5 J7 a9 }- T
  1452. ; https://wiki.php.net/rfc/strict_sessions
    + u6 G" w/ t. s7 B5 S
  1453. session.use_strict_mode = 0
    9 y  I& K! q# Q3 W' o5 \# `) T
  1454. 1 N# x# P# [: i. U9 T9 O+ S  T0 U
  1455. ; Whether to use cookies.
    " d$ c$ b8 {6 h- ]4 a! t
  1456. ; http://php.net/session.use-cookies$ j1 y$ ~2 D! P4 y4 T2 ~6 K
  1457. session.use_cookies = 1
    # q* P: ]7 t, z$ e/ y$ Z5 o

  1458. + ^& n5 i- u4 i- _7 z; U7 [9 Z9 N. E
  1459. ; http://php.net/session.cookie-secure
    6 {( o$ K+ I# J6 A' t
  1460. ;session.cookie_secure =0 ~% @2 `6 [- _) Z( m8 p
  1461. 4 P0 e: r. Q$ f3 U
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    $ M% R3 j4 o: P& @. ?* a, Y
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    + I# I9 p0 T2 N, s0 Z: _- o
  1464. ; session hijacking when not specifying and managing your own session id. It is* E4 w& }- V# }9 n" a
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) V/ x3 c! G3 W
  1466. ; http://php.net/session.use-only-cookies" v' F- T* i6 a, _$ U8 e6 F, h
  1467. session.use_only_cookies = 1
    4 e$ ?  \1 b9 o
  1468. & N+ |* d% F5 R  m
  1469. ; Name of the session (used as cookie name).+ u; A4 z: I6 ~1 y' v3 W9 v/ D
  1470. ; http://php.net/session.name
    2 C0 i# P/ F6 H6 X0 o+ {
  1471. session.name = PHPSESSID
    " `1 ?2 l5 [' [
  1472. # ^0 Z& ~  ]# ]3 s9 W
  1473. ; Initialize session on request startup.; @' Y4 l; S9 q9 T( |9 x# t) t9 F
  1474. ; http://php.net/session.auto-start0 [. `8 Q# V, m, G. u
  1475. session.auto_start = 0
    # x( h4 A0 u2 f  S) L# m3 u6 ], L
  1476. 8 [  L9 d# {' y2 y4 Z9 i
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * k4 l2 q. h6 [( `8 L2 M: I- v7 A
  1478. ; http://php.net/session.cookie-lifetime/ T4 s3 c2 ?! s2 u2 y2 h& `
  1479. session.cookie_lifetime = 09 U& x4 d( u$ Y1 n
  1480. ) Z/ x8 g5 H4 L3 u" ?; i! j( }
  1481. ; The path for which the cookie is valid.% ]9 q: h2 C, T/ D; a; I6 p
  1482. ; http://php.net/session.cookie-path
    * e2 {# H2 J) I. L) S
  1483. session.cookie_path = /
    ' @: g6 j2 A4 l. H2 `
  1484. . m4 _% R3 Q4 \: h# W2 }  Z
  1485. ; The domain for which the cookie is valid.
    4 F( {7 C, t5 E& W% A8 w( U
  1486. ; http://php.net/session.cookie-domain
    8 q) h6 c3 V8 B* c, ?, [; E
  1487. session.cookie_domain =
    7 j0 Q* y4 d5 I! P
  1488. # d1 Q9 M4 i0 E1 J5 |8 a
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    # f5 G: ]4 q  |# v
  1490. ; http://php.net/session.cookie-httponly
    3 L" W) m$ q: @1 {$ y; ?/ R
  1491. session.cookie_httponly =, C" g5 L: t! p- K+ ^6 D7 h- ?7 q" @
  1492. 1 v$ k$ o+ q/ z* }. J3 U# ^/ q
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    - s& v4 y2 J4 a
  1494. ; http://php.net/session.serialize-handler
    : z6 t- l! E4 E8 @
  1495. session.serialize_handler = php
    - a* l5 O1 _4 x  @9 Y
  1496. + M8 w; G, H9 ]/ e+ [
  1497. ; Defines the probability that the 'garbage collection' process is started
    1 B$ r- {# v# G; B$ z2 J6 Y
  1498. ; on every session initialization. The probability is calculated by using
    4 _0 Q+ J$ J- u' p9 z/ y6 H0 s
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator, k8 [9 s9 ?0 `' S& ?
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * E$ P3 }5 `; t8 L* \6 c  D
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 r7 K& b0 g. a$ E+ C$ Y
  1502. ; the gc will run on any give request.
    9 a5 I( W( U' |0 o2 z
  1503. ; Default Value: 19 t0 W! {/ G% H/ ~' \+ v
  1504. ; Development Value: 1
    0 Y, e; b! Z/ Z/ ^  L
  1505. ; Production Value: 1
    ( g' K% o' x/ C- s8 E3 G* T" U
  1506. ; http://php.net/session.gc-probability
    + j" }, H) e# A8 H
  1507. session.gc_probability = 1
    * K: ]: Q  ^6 s" i6 y3 K6 Z* @
  1508. 1 d4 {- u; L* G" k" F6 t  U
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    3 V5 c- S7 c7 u- i7 Q
  1510. ; session initialization. The probability is calculated by using the following equation:7 T7 @# L, w1 J- E
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % k& Z$ y4 e- p2 `
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 14 }! R% X6 K( Q$ T/ F
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( ~7 b8 v" W8 h8 M, m6 }1 ?4 `) e* N& p
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    " n$ Y- j% d- ?$ v' x, E
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( v) G$ M- o8 H& }
  1516. ; this is a more efficient approach.
    3 a, v2 b( Y$ a2 B  P& _  C, U. M
  1517. ; Default Value: 100
    ( i- x  |  l+ V) j2 Y2 ?# M
  1518. ; Development Value: 1000% N# l6 C: V2 K9 |) b( U( t' l; j
  1519. ; Production Value: 1000( v- H( ^! J$ K
  1520. ; http://php.net/session.gc-divisor" E1 n# Z$ y. r# ~8 d8 Y) l, v9 i
  1521. session.gc_divisor = 1000+ @& H4 I6 _) o: Z' {' n) N
  1522. 6 }# V# n1 H% Z: _
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    8 L; N* u  ^7 S- T1 A9 x. ]; `
  1524. ; cleaned up by the garbage collection process.
    ' n( n5 j. U" h" x
  1525. ; http://php.net/session.gc-maxlifetime
    ) g- S, D/ V" M" F
  1526. session.gc_maxlifetime = 1440
    8 o) H8 d( ^4 ]' C& B6 h, {5 n
  1527. * {. \9 v  Y# z, Q2 Q; ]
  1528. ; NOTE: If you are using the subdirectory option for storing session files! x8 [7 C5 b! a- s: }
  1529. ;       (see session.save_path above), then garbage collection does *not*. X& k- j0 ~  u: ]& }4 u  ~: j
  1530. ;       happen automatically.  You will need to do your own garbage- L. U! [# g- T1 {" W" b- P
  1531. ;       collection through a shell script, cron entry, or some other method., y5 g9 O  X, a- `) |
  1532. ;       For example, the following script would is the equivalent of$ I1 E+ q" R+ ]
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):% D* _& g9 y) B8 N/ h. g
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm/ _5 L% W. ]" F0 B
  1535. ) i3 S+ a: ]% O6 E# `  h
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.# S8 U: g, }/ A+ s& l' b2 P
  1537. ; HTTP_REFERER has to contain this substring for the session to be9 `" w1 O9 U6 n, D" W. o
  1538. ; considered as valid.% D7 z/ C) a; Z6 m* p) g: L& }
  1539. ; http://php.net/session.referer-check
    + p& T% L' ^# z
  1540. session.referer_check =
    ) L5 L5 b) k9 o( f( x

  1541. 5 V/ F9 @1 D) T9 E7 j9 d9 b# o$ n, a- K
  1542. ; How many bytes to read from the file.3 C7 t$ i1 y) u
  1543. ; http://php.net/session.entropy-length6 D6 P/ v  O1 k  i* W$ h4 R; V
  1544. ;session.entropy_length = 325 p9 Z; {: c# N6 O2 X

  1545. , Q! T5 \) C, {+ S  }
  1546. ; Specified here to create the session id.
    ( K9 s9 Z2 B- L* x" g
  1547. ; http://php.net/session.entropy-file' ]% T  R6 Q( |' I7 r* b
  1548. ; Defaults to /dev/urandom" s# R9 H& K+ g8 R/ d% U
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom0 [& @- `  h6 h1 n, p# {
  1550. ; If neither are found at compile time, the default is no entropy file.4 `+ A$ e5 }* H9 L. \2 m! f2 w
  1551. ; On windows, setting the entropy_length setting will activate the7 K% K! m) h5 k/ I* E/ I
  1552. ; Windows random source (using the CryptoAPI)
    7 Z& [. G9 D  S6 m7 @" ^
  1553. ;session.entropy_file = /dev/urandom
    , z5 f1 E' C7 g4 g
  1554. : v  r# Y4 W5 R8 `% Y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    9 K8 j0 G. C- [( Y
  1556. ; or leave this empty to avoid sending anti-caching headers.# |# |% q6 U( K2 g1 \  u
  1557. ; http://php.net/session.cache-limiter
    & N2 Y* e6 q' \8 z: Z9 |# N
  1558. session.cache_limiter = nocache
    4 }( }$ p9 V$ U# w% E7 S8 z
  1559. 1 W- U1 @/ s6 l6 l) o6 d
  1560. ; Document expires after n minutes.
    . s6 K& R" l! y% A1 H" P, G
  1561. ; http://php.net/session.cache-expire4 `; J, E+ c, I
  1562. session.cache_expire = 180
    2 Z( W4 E4 ?) P) A, C# Z* @; G( ^$ K
  1563. ! W  N  Z$ ~! q  o  K
  1564. ; trans sid support is disabled by default.
    5 s' L  |% J# ~# ?
  1565. ; Use of trans sid may risk your users' security., t/ E, `4 K: D8 P
  1566. ; Use this option with caution.% v& U; v' r: b6 B& X, x$ B
  1567. ; - User may send URL contains active session ID( Y  _8 j& h5 T  ^
  1568. ;   to other person via. email/irc/etc.
    0 v' a2 G& B0 }" U
  1569. ; - URL that contains active session ID may be stored
    & l" w2 m5 C, F' ]" Z# G4 A
  1570. ;   in publicly accessible computer.5 U  I. a* s+ A0 j3 X
  1571. ; - User may access your site with the same session ID4 W5 L2 ^" k) y' E3 _1 U" `5 z. g
  1572. ;   always using URL stored in browser's history or bookmarks.
    + D& k; _% ~* C- E+ ~9 s& U
  1573. ; http://php.net/session.use-trans-sid
    % l0 C% B: F" i. c& \# t
  1574. session.use_trans_sid = 0: N1 S1 ]- k' x2 ?( F% ?( @

  1575. 4 ~$ N. }9 u8 f0 F8 V2 a4 {
  1576. ; Select a hash function for use in generating session ids.
    ; e, o' k. E. J8 m9 X3 b2 G
  1577. ; Possible Values
    6 |. \" @. v# e( N$ x% ^0 h. S; U
  1578. ;   0  (MD5 128 bits)3 m* D8 X) Q9 h
  1579. ;   1  (SHA-1 160 bits)5 @  C( d& V" v3 E( l& [/ x+ ]
  1580. ; This option may also be set to the name of any hash function supported by  Y. S3 n. P$ I. i0 {
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(); X3 C$ ~0 E( l# s8 j) R
  1582. ; function.2 d& F: \8 W2 T- K
  1583. ; http://php.net/session.hash-function" y9 F8 B$ F% ?1 n. _
  1584. session.hash_function = 0
    + R% A1 i3 o& ~* x2 H+ `) N( f
  1585. + M. ~3 M0 @. v8 N
  1586. ; Define how many bits are stored in each character when converting
    : Y6 Y5 s7 a  T& k$ W; o8 _$ }1 A! Q
  1587. ; the binary hash data to something readable.( H* v! h9 X/ |7 l- E- v; S
  1588. ; Possible values:- E+ }/ ]$ t! D: w2 ~$ u& z* V8 W' q
  1589. ;   4  (4 bits: 0-9, a-f)
    * v3 L9 |/ W! v$ \: U6 w* [
  1590. ;   5  (5 bits: 0-9, a-v)
    ( G% a! w0 k3 P3 _  w' U
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; y- r: }. e7 s7 O% X0 k3 @4 J/ P  y3 G4 d
  1592. ; Default Value: 4! i$ y3 D) b0 H  c* N9 T; y
  1593. ; Development Value: 5
    # ]' |& J/ N8 h$ }5 ~5 S4 u
  1594. ; Production Value: 5
    # }: `9 W+ y1 R0 q- f
  1595. ; http://php.net/session.hash-bits-per-character/ \3 X! O% }% Q# v8 j
  1596. session.hash_bits_per_character = 5
    * t$ O! f1 `0 }. F& H

  1597. ; F. k, O- o2 E) `; p' ^: _9 |
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    # {) f% E+ m! K3 t# \/ F5 h
  1599. ; form/fieldset are special; if you include them here, the rewriter will$ v. \8 I: K2 t
  1600. ; add a hidden <input> field with the info which is otherwise appended
    + j6 ?* J* L7 G7 J+ S# I/ d( ^
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    1 a" G% P4 [5 i# B
  1602. ; Note that all valid entries require a "=", even if no value follows.
    - R' ?0 e4 P: f5 O, @
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + i9 o' D. J3 s
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 O, r: E4 s4 X1 o# C
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", [' h# k0 i9 V- E. q1 m. M# N
  1606. ; http://php.net/url-rewriter.tags7 [2 c* m- ~; }8 K
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"' O9 r5 K) o1 A" v7 g( W
  1608. + F: g: W! d5 e$ t/ e
  1609. ; Enable upload progress tracking in $_SESSION6 H  D5 l& }/ x9 ]8 E+ _
  1610. ; Default Value: On; [9 g( g1 y, W" a
  1611. ; Development Value: On
    3 e1 m- I! }5 B' L3 _9 z
  1612. ; Production Value: On
    ) \+ v$ ~7 i2 ?* P5 h
  1613. ; http://php.net/session.upload-progress.enabled
    4 w( z! Q: e2 K# z7 C, L5 d) ^
  1614. ;session.upload_progress.enabled = On8 z9 e( U3 o( J- J3 z! y9 v7 q

  1615. 7 i% L- V( F! u1 ?/ `. {: [
  1616. ; Cleanup the progress information as soon as all POST data has been read- z8 |! _: ?/ c5 T
  1617. ; (i.e. upload completed).
    8 D. ?5 Z) S9 s: g9 z! J
  1618. ; Default Value: On6 Y: }3 M6 p( ]+ o7 j- h
  1619. ; Development Value: On) E5 ?( h! v7 k; F4 S/ L
  1620. ; Production Value: On4 ^- |" A) R& w( g
  1621. ; http://php.net/session.upload-progress.cleanup
    8 Q5 `" s  S  L# t1 \: [
  1622. ;session.upload_progress.cleanup = On3 j" P) B' n7 J
  1623. 2 ^; k: _+ [8 }9 k' m6 ?, Y
  1624. ; A prefix used for the upload progress key in $_SESSION
    : L4 \+ f- ~: S! P" F
  1625. ; Default Value: "upload_progress_"" A7 E! V+ @0 R4 H2 w! L
  1626. ; Development Value: "upload_progress_"' l6 ^# S) W! d+ {+ e7 u
  1627. ; Production Value: "upload_progress_"
    ( ?- e' s! M, t* u5 E8 s2 E
  1628. ; http://php.net/session.upload-progress.prefix% M2 ]+ K# q4 N
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ) d8 }( I; M5 f3 U1 _9 b- m" ~! R. P
  1630. 2 N0 K5 a! E) S1 c1 M* M
  1631. ; The index name (concatenated with the prefix) in $_SESSION5 h$ q4 s& D  T' v4 c) \+ u
  1632. ; containing the upload progress information
    / J2 W) q2 V3 i/ L- V' e6 v3 r2 B
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 A, i" ~( M7 K
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". Q0 q5 P3 I8 W: j
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 r) w# j! o/ t! `5 L6 Y
  1636. ; http://php.net/session.upload-progress.name% n  ]6 O* T# q6 n$ z+ }/ k* X3 v0 M
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 e$ D5 J- m7 |! l6 \

  1638. 9 \; O' B& g7 h" M; Y; I
  1639. ; How frequently the upload progress should be updated.
    , |5 Y2 T; u6 Z) {, M2 i, `
  1640. ; Given either in percentages (per-file), or in bytes
    0 f1 b/ ^( Q  ?& H
  1641. ; Default Value: "1%"
    5 i' V$ F% A2 m' Y& Z' `
  1642. ; Development Value: "1%"( o7 Z6 F0 _! g8 g# {
  1643. ; Production Value: "1%"% Y+ e8 L8 w1 p/ z
  1644. ; http://php.net/session.upload-progress.freq* e9 `  x; e$ n9 n7 \9 A
  1645. ;session.upload_progress.freq =  "1%"
    3 M7 Q1 l3 @: ~
  1646. # G  w% F$ [4 ]
  1647. ; The minimum delay between updates, in seconds% ]1 i8 d" [& b" J. m
  1648. ; Default Value: 1, U9 K- ?/ z' S8 }/ |1 L+ H9 T/ y
  1649. ; Development Value: 17 Q+ r: T& B1 c7 `4 L8 B" l3 x
  1650. ; Production Value: 1+ e; N; M, p- a( D6 O% N& ?
  1651. ; http://php.net/session.upload-progress.min-freq
    . A2 G, F* ?5 P. d
  1652. ;session.upload_progress.min_freq = "1"; v5 l( V& ^" r  H, P" o

  1653. * T, @! C0 j' w  K% D
  1654. [MSSQL]
    0 s& S! G; M4 f9 s! f( ^) c  e/ y
  1655. ; Allow or prevent persistent links.
    0 u, z1 D% F9 u- a
  1656. mssql.allow_persistent = On0 u4 l% R) ^! W+ y- O
  1657. 2 p& }  h% Q% z1 o: g* E3 M
  1658. ; Maximum number of persistent links.  -1 means no limit.
    1 L. V2 m( u' u' j/ m$ j5 N
  1659. mssql.max_persistent = -1
    5 `, z+ A$ E7 J- @  a

  1660. : k+ D9 k$ Z9 F" [" U7 j! X6 n! X
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! U0 R& M, ~( [' u4 L
  1662. mssql.max_links = -1
    , q+ N  M: c% L6 ?1 A  d

  1663. & [! l, ?, c: j$ H( ]* N
  1664. ; Minimum error severity to display.* N% X* f: m+ y
  1665. mssql.min_error_severity = 10- U- j/ i7 S2 `2 @  j

  1666. , G8 @' J3 N1 [( _$ d. Q
  1667. ; Minimum message severity to display.) y' i- _- z: X. j
  1668. mssql.min_message_severity = 10
    % O0 k* t$ G/ k! e

  1669. ( \* K6 O: `+ y. ~
  1670. ; Compatibility mode with old versions of PHP 3.0.4 @  z/ P5 k; C, n2 l1 S
  1671. mssql.compatibility_mode = Off( m' J: Z! {9 p9 b

  1672. ! J+ E& X6 r" S" e5 B$ \
  1673. ; Connect timeout
    . O/ k- O1 ]5 [
  1674. ;mssql.connect_timeout = 5+ S, P: `4 T$ v# [9 Y0 t
  1675. ' ?5 ^1 S4 U0 c
  1676. ; Query timeout6 O5 l1 w5 S- E, N/ \! \) _
  1677. ;mssql.timeout = 60
    3 A4 f) b: ?9 ?+ `) Y  y# F
  1678. # z+ ~2 T4 K( s( t+ i% M
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    6 C& f& K, z" |8 L( Q0 h
  1680. ;mssql.textlimit = 40967 i! i, ]0 L: v
  1681. ; x  L& Q+ @/ M( r2 C
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    / A; D% X4 E' H/ k% C
  1683. ;mssql.textsize = 4096
      @9 y" G9 t. T
  1684. - k/ `# G1 v9 D6 x2 S5 O
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.1 K; c; I6 i6 V0 J: D
  1686. ;mssql.batchsize = 0, {5 z* x1 O+ r: x! ~6 ~  w

  1687. 2 O# S, O) E- W! [
  1688. ; Specify how datetime and datetim4 columns are returned/ g0 v4 b% I0 ?3 B) u
  1689. ; On => Returns data converted to SQL server settings
    * c9 x) B) n/ N( j. o
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss2 l! b' F- @" B  B
  1691. ;mssql.datetimeconvert = On
    : j; V8 a9 v3 j' `7 n- `

  1692. 2 \& d& @0 B( ?3 M
  1693. ; Use NT authentication when connecting to the server% Z/ O; Q3 @& i, G' Q; d, u  S
  1694. mssql.secure_connection = Off
    0 v- [+ F7 t3 ^3 V! s; S* T0 [

  1695. ) _4 z5 a3 S0 g( y
  1696. ; Specify max number of processes. -1 = library default! c0 t0 Z7 z2 P7 P3 S
  1697. ; msdlib defaults to 255 n9 E5 U. j" M4 h- g2 v, O0 {
  1698. ; FreeTDS defaults to 4096
    7 l, c; g3 R; \* r0 w- R
  1699. ;mssql.max_procs = -1
    " _! v1 ?* H  h: g
  1700. / Z# L# X0 L* B( q$ |
  1701. ; Specify client character set.
    + z# ~$ n8 f+ g; e6 ?* C5 l% e( a
  1702. ; If empty or not set the client charset from freetds.conf is used6 j/ j8 }7 r$ W9 V- d: ^
  1703. ; This is only used when compiled with FreeTDS! f" R# l  Z) b, Q
  1704. ;mssql.charset = "ISO-8859-1"
    ' d# J6 A( I- u6 A  [1 x% {- }  z7 W" o
  1705. 9 A* k9 {" H# Z" x
  1706. [Assertion]
    4 F  y$ Z* }2 I+ ]2 M0 H
  1707. ; Assert(expr); active by default.
    1 T0 g' @2 r1 k! M7 _
  1708. ; http://php.net/assert.active
    ' B: k* m& t1 k: o
  1709. ;assert.active = On
    , [, V: z( P( a" T" y2 k& ]' M% ]

  1710. 6 P1 k# V& M' A5 @! O
  1711. ; Issue a PHP warning for each failed assertion.
    ( z+ V: M7 ~7 c, q  A7 v/ R
  1712. ; http://php.net/assert.warning7 }& Y4 ^1 R  V
  1713. ;assert.warning = On/ J, _2 ~* p6 U; L2 }  _, a

  1714. ! a1 D3 C0 ?5 q+ F
  1715. ; Don't bail out by default.
    / \! _+ x, ~7 `# ~
  1716. ; http://php.net/assert.bail
    ( P, N2 Y" ^  @4 W- L! D
  1717. ;assert.bail = Off
    6 d; F. Z  |/ y  a% ?9 k
  1718. 0 r; Z% \; d7 Q/ R& p; \
  1719. ; User-function to be called if an assertion fails.5 q$ P4 V, a4 o9 Z% n
  1720. ; http://php.net/assert.callback
    4 n& C. j; ~% {' c- S2 Z: v
  1721. ;assert.callback = 0
      N5 m5 O! p+ e0 u. B

  1722. , g. S1 a3 P# s. M* Q2 w& E
  1723. ; Eval the expression with current error_reporting().  Set to true if you want" o7 y! s* s- ~2 t" k) S
  1724. ; error_reporting(0) around the eval().
    0 s1 M% ?/ c! f& c+ ^
  1725. ; http://php.net/assert.quiet-eval
    " @" C0 O* N1 T% o2 x" t/ o
  1726. ;assert.quiet_eval = 0
    4 p4 B. F( s9 s+ e, b
  1727. 4 T' s' _; i- r& |6 T$ O& l
  1728. [COM]
    1 D9 l3 _+ Z2 r! p9 Y
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs; Y# b! x/ y% O/ P
  1730. ; http://php.net/com.typelib-file" Z& f4 Q' r- Q8 ^, `
  1731. ;com.typelib_file =" C( Z# T) `: W' y
  1732. 8 ]7 Q- Q  D) E
  1733. ; allow Distributed-COM calls
    9 C" t; t8 i. g8 s. c, L2 Y$ Y% k
  1734. ; http://php.net/com.allow-dcom
      I! y- I; x6 s2 d$ A
  1735. ;com.allow_dcom = true
    ; v  L/ d; C; w$ Y
  1736. + {* \0 _9 O2 o) ?- d- z: l' ^6 f
  1737. ; autoregister constants of a components typlib on com_load()
    , f4 R2 u0 s/ N7 S6 Y
  1738. ; http://php.net/com.autoregister-typelib
    / t+ |5 k! M: ^% H1 }
  1739. ;com.autoregister_typelib = true9 w+ v' W% F" p( S, E

  1740. # e: g, {* t0 d$ }4 n4 [
  1741. ; register constants casesensitive
    & M' v# O4 n$ A1 |3 q
  1742. ; http://php.net/com.autoregister-casesensitive
    + E6 Q5 o+ m( \1 p
  1743. ;com.autoregister_casesensitive = false
    . ^9 `4 }9 }( L2 h: d/ H
  1744. , E2 E2 W! V! g
  1745. ; show warnings on duplicate constant registrations$ H+ r; X* ?( s. M) c' i6 a! e; R
  1746. ; http://php.net/com.autoregister-verbose! u. y* G# x- t7 _! b# m3 v
  1747. ;com.autoregister_verbose = true
    7 J" k7 Q0 x9 c: M

  1748. 3 e7 }1 Z9 E" S$ |0 r
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    4 D. H0 a+ d) S- |/ L* V3 g
  1750. ; Default: system ANSI code page8 `8 P: t4 k  O1 F5 [6 ^
  1751. ;com.code_page=
    + t. ?# ?7 N  w9 @" B- V2 \4 n, t" l2 \

  1752. & c! c* D1 p5 \- E7 o7 E
  1753. [mbstring]. v" g% N0 C5 G0 l& w
  1754. ; language for internal character representation.
    5 C- z( s2 T$ ]/ D3 a5 A
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.$ a& ~. _7 R* T# b) P# z" }9 a
  1756. ; http://php.net/mbstring.language
    8 n5 t% b9 A/ n# f5 U8 |7 V' r9 V
  1757. ;mbstring.language = Japanese+ y( }% d7 R1 }6 A$ Q$ F5 X

  1758. 3 j$ f- G+ B+ n  k) b. B
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , n. L7 m7 D, p' j8 \" u
  1760. ; internal/script encoding.# t. e" D( Y$ ?( V, t% O
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 l" Z- [( `1 C: u4 q
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * d. _" b! i1 q4 h0 i4 x$ J9 w6 d& l
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 g' Z$ A1 k9 O0 V0 c; L' v" p9 V
  1764. ;mbstring.internal_encoding =' ~( e, J% S( K0 S
  1765. % p+ R% i& ^  F! s3 R, f+ p$ }* Q
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # I' d  C/ G0 ~
  1767. ; http input encoding.
    9 Z4 \5 ~: |+ K
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.2 N5 _- C/ k- u
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 _# u& R7 c! a( w' q
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input+ n. h0 f8 i. s$ f
  1771. ; http://php.net/mbstring.http-input
    6 J, n6 p! C% i$ v% ^; A
  1772. ;mbstring.http_input =
    3 |7 Y  B6 _* V
  1773.   b6 N# y0 N( f7 _$ w) ~
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( G. f# M9 C7 V0 G, w% O1 L& C8 G
  1775. ; http output encoding.
    2 y1 l# {4 }, C) g8 Y% D# R, f
  1776. ; mb_output_handler must be registered as output buffer to function.
    5 ?  U3 Y6 H8 M/ D
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 v/ E- o6 Y7 m8 k+ u
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; U( G0 Q% c1 C1 X  T# s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set' W. q# j5 @3 c( t) V) c/ ~
  1780. ; otherwise output encoding conversion cannot be performed.6 q, V1 N# @4 a4 H
  1781. ; http://php.net/mbstring.http-output7 y( F" I# `2 P( _  H
  1782. ;mbstring.http_output =7 r* a# ^& j0 F) z" {& q. i

  1783. ) ?( p% e* I  }* m- A4 _8 ?  S0 R9 S
  1784. ; enable automatic encoding translation according to3 y5 r" m: n) i* {
  1785. ; mbstring.internal_encoding setting. Input chars are
    : v: o* }! J: c, @) X
  1786. ; converted to internal encoding by setting this to On.
    ) t$ ^7 l  }2 X3 e. |5 f
  1787. ; Note: Do _not_ use automatic encoding translation for0 {- j+ A* C& N
  1788. ;       portable libs/applications.2 k$ V! g% q( t, t+ J: f, A; x
  1789. ; http://php.net/mbstring.encoding-translation
    1 O7 Y" K0 v; s9 g1 e3 E
  1790. ;mbstring.encoding_translation = Off
    % B- P$ Y0 U- j+ K" w
  1791. - {* F5 Z& l3 R/ M7 F/ J! v) c
  1792. ; automatic encoding detection order.0 K) n+ F& q5 |# C+ ~5 ~3 E
  1793. ; "auto" detect order is changed according to mbstring.language4 e2 O8 r" ~. {& D% f: D& l4 Q
  1794. ; http://php.net/mbstring.detect-order" n9 S6 v; L- I9 ]3 o4 C/ H
  1795. ;mbstring.detect_order = auto4 V$ p9 U0 v4 ~, s' i* L
  1796. 9 y) B5 K8 j# }! Y( e* r: ?
  1797. ; substitute_character used when character cannot be converted
    + t* _" C1 i+ }+ q+ |
  1798. ; one from another$ T% H, R" G) l; P4 q
  1799. ; http://php.net/mbstring.substitute-character
    4 V+ P& n" ]# |; _9 G
  1800. ;mbstring.substitute_character = none( o1 u# s% W2 D. O6 u- p# g

  1801. 7 b6 a  }. y* \% E1 a9 S
  1802. ; overload(replace) single byte functions by mbstring functions.( U. D9 p/ h+ z% L( f
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),/ Z# ^3 r  n3 P
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.' P; |, f+ X2 Q; {% V
  1805. ; For example, 7 for overload everything.
    : I* C& ~- @( Q4 o5 @5 _
  1806. ; 0: No overload
    - N$ ?6 P! L& l8 y* t( {) M9 o
  1807. ; 1: Overload mail() function+ X" T: ^( M$ L6 H5 q
  1808. ; 2: Overload str*() functions% j8 M7 e* ?! ?
  1809. ; 4: Overload ereg*() functions
    ! `8 _. m0 x6 _4 S0 n- }
  1810. ; http://php.net/mbstring.func-overload! P7 |7 D1 C8 v+ I/ q
  1811. ;mbstring.func_overload = 0
    + x) j6 w+ q* h  I

  1812. 8 A) i! u' G) z0 a2 [
  1813. ; enable strict encoding detection., h$ |% d$ g4 d
  1814. ; Default: Off
    : c2 [2 |) t/ N* J/ ^% d
  1815. ;mbstring.strict_detection = On
    $ F( b, \) S$ H+ e6 C2 z
  1816. 3 r: ^* S% ^* [$ F: |
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()5 H+ F7 |) _+ ~  z
  1818. ; is activated.
    ( `, e0 f2 H+ h( _+ G' i6 R
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* V0 Y. h# `* D7 t0 z2 b, i
  1820. ;mbstring.http_output_conv_mimetype=; z8 R# [* L, x- o( }/ I' G
  1821. 2 s( Y$ V5 @2 L* |) y0 r
  1822. [gd]
    1 M- i7 z5 {8 E
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    # W' _  ]* f4 Q# H/ r! m( T
  1824. ; a gd image. The warning will then be displayed as notices5 f/ ^% P+ [" f/ S, X
  1825. ; disabled by default, l4 h8 f3 ^( R
  1826. ; http://php.net/gd.jpeg-ignore-warning
    % d/ O4 d9 R4 i, M7 B* C
  1827. ;gd.jpeg_ignore_warning = 0
    7 ^  P: F4 T: j' y9 i

  1828. ' N- {7 J. g6 ^6 X" @! _/ k' A
  1829. [exif]
    ) Q6 F8 F0 v  O: q' D8 r$ R
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    + L- G+ g! u3 R# G; B/ ?
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 C3 W( ^( t0 k* _. P, f
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 d. h9 B6 {7 A7 E: k' L/ S
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ; N7 g6 W1 G6 c9 K2 S
  1834. ; intel byte order. A decode setting cannot be empty.+ c" P4 |8 R) U4 D0 R- k9 }- @; }
  1835. ; http://php.net/exif.encode-unicode$ h6 f, x5 J1 d1 T7 F0 V% F, E
  1836. ;exif.encode_unicode = ISO-8859-15
    # D7 [7 b* V. u' v3 U1 P. u
  1837. 7 ~  f) f+ O, b  g- q) f( r
  1838. ; http://php.net/exif.decode-unicode-motorola4 w) C9 c1 i% f% j7 U# g
  1839. ;exif.decode_unicode_motorola = UCS-2BE$ q9 w% `: x+ d, Z8 B8 L/ ~

  1840. , z2 `& ?0 O% T7 ^2 t! J
  1841. ; http://php.net/exif.decode-unicode-intel
    ! `1 G# v) Z# b9 F- ?6 u
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    : ]7 |% \1 s* }: r

  1843. " I1 G  q8 F% D6 E, _* `# S
  1844. ; http://php.net/exif.encode-jis
    ' n4 V. w, x' R& R# i4 N" c+ |1 }
  1845. ;exif.encode_jis =
    * S. c0 h7 ^0 h/ R
  1846. - m; a0 e9 ]7 D2 l1 e9 h4 g6 _
  1847. ; http://php.net/exif.decode-jis-motorola# M! K; V$ g  V4 @4 o3 u8 u
  1848. ;exif.decode_jis_motorola = JIS1 X' z( s5 p9 Q" l" [
  1849. & ~; y2 v0 u8 d. P/ g! E
  1850. ; http://php.net/exif.decode-jis-intel5 W5 @; c) z9 K* C# B
  1851. ;exif.decode_jis_intel    = JIS
    4 S, h0 C6 e" n+ w3 T. B8 h

  1852. - N" D8 ^& P3 J& E# [
  1853. [Tidy]
    / q; |  o3 f# }4 l, I
  1854. ; The path to a default tidy configuration file to use when using tidy
    / f3 ?8 s1 u$ t2 M% R
  1855. ; http://php.net/tidy.default-config( T. [( c' v, n2 e2 \/ z; u1 V
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    9 B& X6 T4 }; w' Z; {4 W

  1857. ( w. E: ?4 M/ O  A( O3 m, N
  1858. ; Should tidy clean and repair output automatically?7 Z* f( T4 G( |3 L) o
  1859. ; WARNING: Do not use this option if you are generating non-html content6 n3 w3 w6 c5 }2 h' ?
  1860. ; such as dynamic images
    ! j. V" `/ B+ f2 W- I
  1861. ; http://php.net/tidy.clean-output
    8 G  ~: U+ u4 J8 K3 d
  1862. tidy.clean_output = Off5 p) X' v% L* C$ U( Y8 k. J& z
  1863. 7 }4 w  Y! E. F% ^
  1864. [soap]" Z( z' I3 f6 J* x6 g
  1865. ; Enables or disables WSDL caching feature.
    - _3 p; [# a* k
  1866. ; http://php.net/soap.wsdl-cache-enabled
    1 n( e& g. X' j5 v  b# z( {
  1867. soap.wsdl_cache_enabled=1
    % P; _9 o8 {4 _  ?5 T
  1868. ' R* C) _5 n; A
  1869. ; Sets the directory name where SOAP extension will put cache files.
    2 r; k3 A- Y' u9 d1 T
  1870. ; http://php.net/soap.wsdl-cache-dir, z' @$ ]1 x" b5 Y4 O7 r9 R# z
  1871. soap.wsdl_cache_dir="/tmp"6 `7 P  q$ @$ G! y! N8 S2 Z5 h# I

  1872. : L  V5 i1 o! A7 \: }2 l
  1873. ; (time to live) Sets the number of second while cached file will be used
    . S, S3 ~9 e+ a( E4 G0 W+ y3 v5 n
  1874. ; instead of original one.- n( ^: p* g/ X* K
  1875. ; http://php.net/soap.wsdl-cache-ttl+ |9 A. J$ @  J5 w5 r3 J& U+ d
  1876. soap.wsdl_cache_ttl=864008 ~7 \( }1 d- v/ |' @- I8 w

  1877. ; [, m+ Y5 d3 G- a! }/ T
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : R  ^; q& Z" L! I9 s2 G
  1879. soap.wsdl_cache_limit = 50 z8 i& J% n9 l7 I% r2 J

  1880. 4 L9 t: n* n7 t7 Q5 V8 [
  1881. [sysvshm]
    9 M) J: N5 @" M. }) F
  1882. ; A default size of the shared memory segment
    " b* L* D9 i' |/ E9 W
  1883. ;sysvshm.init_mem = 10000
    4 w; ?" O( ^1 }. ?) F1 w

  1884. - h7 Z; a9 m; h: [3 ^/ e$ l, \) C
  1885. [ldap]
    ' R8 H9 l- m" [3 S' s& w
  1886. ; Sets the maximum number of open links or -1 for unlimited.9 B1 z, |6 z7 x" C8 k( I2 q
  1887. ldap.max_links = -1
    " l: @: j/ \# r8 C6 W7 z8 p

  1888. 9 r8 P. s: b' w7 o
  1889. [mcrypt]
      s' ~. y* i, F- N2 Z3 [" C/ A3 R
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open1 {4 H7 J5 [2 }' F; b9 K
  1891. 8 P% w# k3 @/ P: Z& O
  1892. ; Directory where to load mcrypt algorithms
    % E1 n7 D$ d! v! r. m' b
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' G- @' }! u9 q# e& ~8 w* u
  1894. ;mcrypt.algorithms_dir=' C1 k* W* F! |# K/ k, z  X

  1895. 0 r. k6 T2 u1 Q
  1896. ; Directory where to load mcrypt modes
    ' G8 W% |3 r" \" g$ v
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! J2 C+ W9 N) B0 c. }) D
  1898. ;mcrypt.modes_dir=( X4 h  g9 V. H3 C9 c4 \
  1899. / }2 @3 C0 E+ F' }8 B* w
  1900. [dba]
    2 g3 k. f% ?& J$ y$ k" i% D- Z
  1901. ;dba.default_handler=
    # H+ ]3 P$ H$ J6 I( `- x: L
  1902. & e1 O" ?7 {+ n" V
  1903. [opcache]/ e) W  ~; T' g* j" s3 A$ f$ ^, z
  1904. ; Determines if Zend OPCache is enabled
    # ]9 V3 d& i/ r. l, y5 n! |1 z
  1905. ;opcache.enable=0
    ) h' v9 g( }  w8 i4 \& z
  1906. - h; u! Y( e8 Q: d! U( e/ k
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP( ~6 d9 K/ c) G0 q6 F
  1908. ;opcache.enable_cli=0
    " c9 ^# K! x  f" |
  1909. 5 Q/ u- s) u2 c* Y1 e* S
  1910. ; The OPcache shared memory storage size.
    / O+ a% E- _) v' B/ U' X
  1911. ;opcache.memory_consumption=647 M: S' g" J: o1 s6 |7 z
  1912. " x7 S4 h! _0 q% T& p+ ]
  1913. ; The amount of memory for interned strings in Mbytes.$ S4 b# l& g7 T5 s
  1914. ;opcache.interned_strings_buffer=4
    1 z5 J) Q& F. h! s
  1915. $ M5 }+ q: G" w8 ~6 {
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    ( [" R9 ~" R# H9 U& o
  1917. ; Only numbers between 200 and 100000 are allowed.
    : b" ?; n1 z" Z4 q$ ~+ o2 J- w
  1918. ;opcache.max_accelerated_files=2000
    6 J9 E/ F4 `' \" {/ G

  1919. : W& @$ o) L- J" U3 u9 X. ~
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ( _4 N  }$ c& d* P+ v
  1921. ;opcache.max_wasted_percentage=5( u+ L2 \" {( i! m7 C5 X

  1922. ' q! O2 y2 ?- }( l5 y7 t
  1923. ; When this directive is enabled, the OPcache appends the current working+ H! M' j$ ]4 n" y5 v) x1 Q
  1924. ; directory to the script key, thus eliminating possible collisions between7 r  Q% z* T- d& `( T
  1925. ; files with the same name (basename). Disabling the directive improves% A$ X* v% X/ N
  1926. ; performance, but may break existing applications.
    ! {! X+ ]* @9 O! x. F2 S* f
  1927. ;opcache.use_cwd=1/ Y. V2 \8 E5 D! c

  1928. : y" s, K- P! C! I
  1929. ; When disabled, you must reset the OPcache manually or restart the  J" D9 `( v' ^& A
  1930. ; webserver for changes to the filesystem to take effect.
    / Z5 e; d! J4 L, M: O1 R5 B
  1931. ;opcache.validate_timestamps=1; g3 w% @: ?0 U8 |; ]

  1932. 0 ]! {, @3 ?8 A# {% D
  1933. ; How often (in seconds) to check file timestamps for changes to the shared4 \( c3 v, ?& H) |$ C5 W; ~
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    9 V7 y+ m; G' g
  1935. ; once per request. "0" means always validate)3 D  d. p% T- M# ^5 x! n8 R
  1936. ;opcache.revalidate_freq=29 \9 T# ~: r) [# e0 h+ o6 H

  1937. . `  I% H* @  c% f
  1938. ; Enables or disables file search in include_path optimization
    " W" s9 i7 P6 \/ M) A. R
  1939. ;opcache.revalidate_path=0( s: `* }! K% |0 Z" I. {1 ?

  1940. - F; J4 v* {. k, [
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the* H. b8 o+ W0 o1 N* e
  1942. ; size of the optimized code.
    ) [; `: l( u7 e4 w# p
  1943. ;opcache.save_comments=1
    & z8 Q) f5 ?( q6 O. L2 f$ S# L8 l% h% t/ ~

  1944. 9 F: |% G, S7 K; D
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments". R1 p( c0 ?: B4 n* \' x
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    $ Q! ~1 ]6 R2 i9 _. u* f* ^  @: n
  1947. ; that don't need them anyway.) q6 o  G0 I, K- y
  1948. ;opcache.load_comments=1: Y7 K% w9 v/ x$ J3 ?( J
  1949. & N) z$ o" a" m7 m; @
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    . e2 ?8 S" u# O8 W- R
  1951. ;opcache.fast_shutdown=0
    ! {1 F$ R& |, {: `, e& \2 [& a
  1952. ) e2 K- G& M3 f/ Z8 H
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    5 C* B& I9 z6 ~
  1954. ;opcache.enable_file_override=0" L( J4 y2 f3 [* T5 J

  1955. 6 U5 Y6 R! t9 g% l
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - u! T, q& }8 M- G; B
  1957. ; passes/ m" @. `7 g! [8 o  Z
  1958. ;opcache.optimization_level=0xffffffff
    ; B+ q+ n" m/ P1 g3 M( o6 u* _
  1959. 9 n; H2 O) U0 c# j( h! y+ ]! N
  1960. ;opcache.inherited_hack=1, v. S. p9 @! h+ y
  1961. ;opcache.dups_fix=00 c1 G* S. n7 \" L2 k$ _

  1962. 3 e* ^+ l& M9 }) O
  1963. ; The location of the OPcache blacklist file (wildcards allowed)., Y7 Z6 Z; J: @3 N
  1964. ; Each OPcache blacklist file is a text file that holds the names of files* R5 p/ Z; b3 y8 u4 R8 t3 x
  1965. ; that should not be accelerated. The file format is to add each filename3 }$ \0 v+ p' _1 R1 j+ E( r4 Q6 A, C7 t
  1966. ; to a new line. The filename may be a full path or just a file prefix
    : u$ ], ~0 |) R& x8 d
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www0 b  P1 [* P7 [5 [3 O
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # V1 j: e) t6 y7 u
  1969. ;opcache.blacklist_filename=
    & ^5 m* b1 u4 Z# g' ~$ [( o% B
  1970. 1 q% S( W, x# |+ _. z
  1971. ; Allows exclusion of large files from being cached. By default all files; p. h/ T$ l" D4 j
  1972. ; are cached.
    . {( B' D" v7 u  H6 }7 ]
  1973. ;opcache.max_file_size=0& ?: S' F: s& |0 N( y- p' J

  1974. % u5 k6 w9 E/ O8 c  E) d  ^
  1975. ; Check the cache checksum each N requests." _% H' t6 ]% C' M6 ]0 y
  1976. ; The default value of "0" means that the checks are disabled.
    ( S/ W* x. N4 p
  1977. ;opcache.consistency_checks=04 v! Z( Q% Z( J& ^5 X0 A
  1978. ) A! ?$ p1 K# x; {) E3 `4 l
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    * E, ^+ E9 E7 a* }
  1980. ; is not being accessed.
    1 @. d; D( L% `) S
  1981. ;opcache.force_restart_timeout=1804 F) x7 z$ z2 I9 _* d

  1982. - j$ H/ [% |% o; m, Q5 v6 _
  1983. ; OPcache error_log file name. Empty string assumes "stderr".3 e! b5 q/ |3 y" l: W/ B# C7 Q' K
  1984. ;opcache.error_log=
    : ~8 V. {  Q4 `8 i, M

  1985. . ^: F" D9 Q$ Y! R8 F* _
  1986. ; All OPcache errors go to the Web server log.
    ! q/ _/ v* O9 x+ Z" Z3 `8 ^
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 k: e* g  x  M" i) q
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    3 w4 p( }4 b- u* z; b  l
  1989. ; debug messages (level 4).( A$ E8 I6 z( D; L, S5 W
  1990. ;opcache.log_verbosity_level=10 J# x- W' w* Y3 R% T3 b0 v
  1991. ; f# \- I+ {: n* u
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.% M- o5 P8 n5 f
  1993. ;opcache.preferred_memory_model=9 A3 N/ {# Y1 W  ]1 ]/ Z
  1994. 0 r' q$ [1 r. S
  1995. ; Protect the shared memory from unexpected writing during script execution.
    5 n- T5 c. l9 ~8 T$ E3 [
  1996. ; Useful for internal debugging only.
    ( y8 `( \7 L2 q% w4 j: b" G
  1997. ;opcache.protect_memory=0
    % E4 k* X& H/ s2 Y; ^$ u% h2 J5 S9 h

  1998. & P7 S  x4 \) h7 u/ V
  1999. ; Validate cached file permissions.% T6 o5 b3 ?* D" [3 M1 s# q, {
  2000. ; opcache.validate_permission=0
    ! t% M* V8 _# x, s7 K+ O) Q
  2001. " X& }2 c' f2 l5 v2 @. y# R
  2002. ; Prevent name collisions in chroot'ed environment.+ f: F+ S( z2 }* ?
  2003. ; opcache.validate_root=0  h+ y! i- f4 k: x, G
  2004. 2 t+ w& ]# V* y6 Q# b6 j. L) f
  2005. [curl]
    6 N% `* L5 n9 T* j$ v+ Q
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; D) E) a; l2 c
  2007. ; absolute path.
    , `- s, q/ B$ @1 @8 \# c
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt" @8 C% x& X, A1 R, l2 X% c0 V& W
  2009. 5 C2 h  }  w- d; A# o+ g( w
  2010. [openssl]' x2 J, S2 d! r, S) R; M* I  v3 q
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ) p; ~( O6 g5 U. i
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should2 N5 u4 I) E, d. n2 f
  2013. ; not specify a value for this directive as PHP will attempt to use the' O+ e) F% o- [( E  n4 O
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ( U) s  {8 T7 ?( k/ ~
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    / A$ v& C2 d. [  u# A
  2016. ; option.
    ; h+ T  I+ _" ^  Y: M
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt: S9 B0 _* X, I* N: L  C/ M
  2018. / q" P7 }# R8 @5 Q6 [2 w- x, ^6 y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' L6 U; j  m& W! S( r2 z
  2020. ; directory pointed to by openssl.capath is searched for a suitable$ T. f( W7 |3 P1 e5 ]! g7 z
  2021. ; certificate. This value must be a correctly hashed certificate directory.% q8 v# E/ m. ?+ c
  2022. ; Most users should not specify a value for this directive as PHP will) ^; D1 _4 d: H4 r& V# a
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % ^4 t5 `5 Z2 w4 R
  2024. ; this value may still be overridden on a per-stream basis via the "capath"# w* x% a" P2 {9 @  S3 P3 K
  2025. ; SSL stream context option.. {8 ?7 l# C5 t2 T2 F
  2026. ;openssl.capath=
    * b' w2 j6 O4 r5 N/ I0 Z" p& Q
  2027. + {2 |2 J6 y6 w, R' ~
  2028. ; Local Variables:
    , V8 B  }' N. `0 s# A
  2029. ; tab-width: 4) a4 r# E- o- L8 K  d
  2030. ; End:1 |( Q6 L& N5 m# V

  2031. ( ]' u9 D* f, v% d# a7 p: [1 [4 _, u
  2032. ;eaccelerator- _- o* M  ]! @( l$ ^& u
  2033. 7 m) h. h! p# d6 e- W
  2034. ;ionCube, L. E6 Q+ R: ]( T' B
  2035. # c, s9 I5 x, F
  2036. ;opcache3 h) a) m4 x' h; r* Y7 {3 n4 D
  2037. ) I/ v0 u# q& i1 H
  2038. [Zend ZendGuard Loader]2 h* o8 s7 m) B% `4 T" R8 O8 Y
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so. d7 }* Z! a! N9 {+ V" C% S3 b
  2040. zend_loader.enable=1
    , I  `9 _. i  |/ ?' B5 [
  2041. zend_loader.disable_licensing=0; H$ l" K" v6 p' o7 b2 T
  2042. zend_loader.obfuscation_level_support=32 }! f9 f2 z2 I2 [; T* _, p# M
  2043. zend_loader.license_path=
    & |  @5 \' f# `
  2044. + G  W' x0 b4 a/ K
  2045. ;xcache5 I, _  y& z1 v8 o; L
  2046. ) d6 N0 @5 ?$ r, ^
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146924 b% R3 L+ P2 D4 L/ ^/ n
3 {2 O; v( y/ N& E$ h

0 e/ r2 A: Q1 j1 vDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
. Q# G. q8 R8 s1 V' c4 |7 v
/ v6 |% J) G7 ^6 N/ R) ~Discuz!程序版本选择:$ p' E" F3 U& S% F/ i
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
4 S6 u, F" P( ?1 E不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
0 W) E; B( R8 e6 s/ B2 C1 T3 ODiscuz!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。: M  D5 u2 b  [, T2 g! U
. T+ {/ G# Z: e3 H; Z
Discuz!插件模板版本选择:
/ u- N" ^4 S" q7 W' O: X很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,- E0 {# u& N: A9 R
针对这个问题做个统一的普及:
1 F8 G1 E4 X/ f% J9 JX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
" f2 d& D) c: }4 E
8 P* q$ I* N! N0 v! R所以
+ N# E; E- y6 [1 B+ z适合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的二级域名。
2 V! V1 t% C. T. `* p6 c. V: t打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。6 G  `' z0 b9 |8 A4 X9 r
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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