分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
1 |+ F7 V9 T$ K" W$ F) K4 K8 H/ i* Z# V* G
  1. [PHP]
    : q/ y: H' L1 l

  2. - X) S! g8 b. b& M7 W& H
  3. ;;;;;;;;;;;;;;;;;;;
    # s1 m  H. W6 [7 h0 I8 E( ^
  4. ; About php.ini   ;  A8 V$ ^2 |" U  s) H2 M4 v; U  s6 }
  5. ;;;;;;;;;;;;;;;;;;;
    8 l# g, g, l( K5 W' m+ Z+ d
  6. ; PHP's initialization file, generally called php.ini, is responsible for. j1 d- B! f/ u( j- }/ ]
  7. ; configuring many of the aspects of PHP's behavior.
    6 d, X  ~. V/ k5 j" m5 B0 d* h

  8. 8 T) B3 U( k6 {; ?, B, B
  9. ; PHP attempts to find and load this configuration from a number of locations.- I" d0 @" J2 @
  10. ; The following is a summary of its search order:8 G2 R0 Y' Q2 T
  11. ; 1. SAPI module specific location.
    / C! E/ h0 s8 f8 {' a5 M" |
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)8 j0 C) U1 O9 b0 @0 c  D
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)3 i% Q$ S. C% H. a6 D% }$ Z
  14. ; 4. Current working directory (except CLI). ^% t1 q/ w3 f. q  ]8 B7 q# W
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( m- \" P5 ^. U
  16. ; (otherwise in Windows)
    ) H+ r( A) p$ w- z3 V, r! n/ I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the. {) m2 b) \* g0 q" u1 D# T
  18. ; Windows directory (C:\windows or C:\winnt)
    " I; P# w. z6 K) S  M
  19. ; See the PHP docs for more specific information.
    + j$ v9 |. P, {# V! n
  20. ; http://php.net/configuration.file+ B- t3 R3 F8 e  n) |$ ^' X
  21. + {8 |4 O. @* e0 m' q# O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines# ~+ |0 i" b3 T; [0 R" z/ U( L: [! m
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    , H1 o) x. d9 U5 |+ E; E# G
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    $ a9 X, L% ?/ Z* L$ P  X8 z
  25. ; they might mean something in the future.! T! U3 h, ^. `2 r

  26. 5 `% O9 B$ x( l
  27. ; Directives following the section heading [PATH=/www/mysite] only" k* r# V* u, t/ u) T* Q; t% w1 @
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) L3 P7 x' O! E2 H
  29. ; following the section heading [HOST=www.example.com] only apply to
    ; _8 y% q7 c+ E; n
  30. ; PHP files served from www.example.com.  Directives set in these4 y' U. k1 T: a* s. M' R
  31. ; special sections cannot be overridden by user-defined INI files or
    0 j6 D7 m% O0 w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under) O8 x/ n+ t! E& b/ q
  33. ; CGI/FastCGI.$ r, g, M! `% D2 N; u/ I7 r
  34. ; http://php.net/ini.sections& d) y* v( E* v6 B/ g2 L+ h( E5 Y: w
  35. 7 D/ r. N' n9 n/ l& ^- Q2 M; O
  36. ; Directives are specified using the following syntax:: }8 u& H" N* |) Q5 c
  37. ; directive = value
    . y/ Z  b( r0 y+ J3 y0 b) D
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 A1 b. n4 K6 ]; T, p
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ) E, X+ i& C6 m
  40. ; There is no name validation.  If PHP can't find an expected
    * S, G# O6 q' j2 N- f
  41. ; directive because it is not set or is mistyped, a default value will be used.
    1 \6 D. l* S$ `: i# w

  42. 8 P( v) k7 @* ~9 z# w
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; Z1 e9 G$ _* O5 i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 w0 i; k* F( _
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ( l' L1 Z2 F7 d3 y* B; S
  46. ; previously set variable or directive (e.g. ${foo}). I5 {! I* O: g; P# I
  47. 1 L2 s* Q6 V8 c: N# z  R
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    % i0 b0 {& D, @
  49. ; |  bitwise OR
    # j& W; S+ s! m) x, |, }0 E
  50. ; ^  bitwise XOR
    8 q4 b$ z% i1 V# n( ]
  51. ; &  bitwise AND. j/ a+ S+ e* R4 c. Q. d- m0 z* L
  52. ; ~  bitwise NOT
    # ^7 Q. ^: e" n3 N1 L% w
  53. ; !  boolean NOT
    , V% Q& J) X6 ^7 C3 c' n$ P

  54. 6 }3 L  p" b* G
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    . F$ X3 b- _- l# \3 Q
  56. ; They can be turned off using the values 0, Off, False or No.
    $ h- ], ~4 Y7 K6 e  D: i

  57. 0 a6 i) \. p2 k/ c. h; |5 l! R' C
  58. ; An empty string can be denoted by simply not writing anything after the equal/ P% V' u3 E5 Z3 R' y9 n" p
  59. ; sign, or by using the None keyword:
    2 S! t# g7 b$ S7 p" P& `) P

  60.   R+ u! h+ b% `& n: q/ M
  61. ;  foo =         ; sets foo to an empty string
    # e' k6 d4 N) C% D2 _) P. \
  62. ;  foo = None    ; sets foo to an empty string1 T& _5 F  E# U1 z4 J0 c
  63. ;  foo = "None"  ; sets foo to the string 'None'! G  D2 D! @' k- \1 `  ?5 ?" N
  64. 2 O9 k: [5 q- i. h* d6 O7 e# B
  65. ; If you use constants in your value, and these constants belong to a
    # W- V$ r( A9 D, @
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),+ b- h) V+ ^, q% V8 ~
  67. ; you may only use these constants *after* the line that loads the extension.
      y2 @+ Y" R. Q6 K5 I
  68. 7 r3 S4 O+ y8 i/ |, e
  69. ;;;;;;;;;;;;;;;;;;;" T1 y% @2 h0 J5 ~4 l9 ?
  70. ; About this file ;
    9 W- V' W* i  _, i, Q
  71. ;;;;;;;;;;;;;;;;;;;
    ! W' s+ Q5 n  L( `0 i9 g+ I
  72. ; PHP comes packaged with two INI files. One that is recommended to be used/ z8 D( W2 Q, i! @: x
  73. ; in production environments and one that is recommended to be used in5 K8 s! I. G, }* z  K2 ~
  74. ; development environments.( w. V- E& e0 s. s5 _$ i* ~6 E
  75. & U3 O8 v4 ?' [, x9 G* z
  76. ; php.ini-production contains settings which hold security, performance and
    1 k7 e9 s# Z3 P' D8 u  G: O7 u
  77. ; best practices at its core. But please be aware, these settings may break
    9 n# M' B, t! M% N9 f
  78. ; compatibility with older or less security conscience applications. We
    * C3 ]/ E# ^& D. h$ l
  79. ; recommending using the production ini in production and testing environments.
    1 S4 y- F  _2 r
  80. & H) C6 M$ A! o$ X& l7 [+ P
  81. ; php.ini-development is very similar to its production variant, except it is) u: }0 ~+ ^' O8 x4 L2 b
  82. ; much more verbose when it comes to errors. We recommend using the/ M5 R5 ^1 ~3 X1 g5 t3 x; B
  83. ; development version only in development environments, as errors shown to
    0 S1 F- [" g' y. g
  84. ; application users can inadvertently leak otherwise secure information.0 e5 y/ D5 m$ y: E9 D
  85. 9 m) E2 Y& V. [+ h: x
  86. ; This is php.ini-production INI file.
    ! N8 v: m6 k4 o

  87. & g7 B5 Q$ m! D* L4 R; K
  88. ;;;;;;;;;;;;;;;;;;;
    5 d0 j5 f' Q7 N- @3 `" O
  89. ; Quick Reference ;
    : X3 C$ |. w! W* |7 s
  90. ;;;;;;;;;;;;;;;;;;;' [! X# z# l' w
  91. ; The following are all the settings which are different in either the production7 O2 M0 d( S, P/ k
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - P6 [6 @9 R4 A% P( f
  93. ; Please see the actual settings later in the document for more details as to why# D4 J0 r, h0 p4 S5 B
  94. ; we recommend these changes in PHP's behavior.) m% N: p4 t9 e& d% _
  95. 3 [3 n  n/ {, q( \7 t3 k5 ~
  96. ; display_errors; p  D! I( L+ Z9 e7 g
  97. ;   Default Value: On
      ]& @# W+ y! w, l# F
  98. ;   Development Value: On
    1 [5 Y: Y! X) M  L1 r
  99. ;   Production Value: Off8 Q7 c" [" `- B9 ^4 d; U0 s% M

  100. 3 m. `4 A9 C6 r; S! E
  101. ; display_startup_errors' r0 B& Y9 B- m$ p
  102. ;   Default Value: Off
    8 ^/ X5 R0 ^! k. F. _# ]
  103. ;   Development Value: On( J  y7 i1 W5 f- _9 r7 i8 b: [) g9 O
  104. ;   Production Value: Off( E* W8 u) |: D7 S8 _

  105. 6 E$ L' ?5 d) a# D& J
  106. ; error_reporting  u' V6 o0 h4 c- u* b* N  n; W( j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 z! d6 v8 ~0 \/ w6 v
  108. ;   Development Value: E_ALL
    ' Z2 ?$ G; B  |' G. C, g: \
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 R$ v) W5 u$ @( N* o
  110. , s# a2 }1 j4 j& C0 ~. x9 {, X) q
  111. ; html_errors& O+ N7 a; L  @: d( j
  112. ;   Default Value: On- b3 v7 P0 A& b4 b: d* ]
  113. ;   Development Value: On8 v2 M1 m1 [- L# k; X) B
  114. ;   Production value: On
    ' H% _4 W  r6 e8 D9 G8 D

  115. + o" b  m* \8 W! C# o1 _5 b
  116. ; log_errors
    & d. y' L2 Q' h( {
  117. ;   Default Value: Off+ G7 c; ~, W( P9 F. @1 O
  118. ;   Development Value: On$ ?% b& r; n( s; ~" T, e  g
  119. ;   Production Value: On5 e. Z8 Y. R) ~- O* G
  120. 2 Y2 K5 o& R4 L- e- ]
  121. ; max_input_time8 ?# H  ~5 K( C3 i0 C
  122. ;   Default Value: -1 (Unlimited)
    2 U( }, u/ C' Y% J
  123. ;   Development Value: 60 (60 seconds)# t; E7 Q+ N) ?: E7 f  Z
  124. ;   Production Value: 60 (60 seconds)
    $ D( B4 @* T) G2 R
  125. 9 h& G9 ?9 j& q
  126. ; output_buffering
    4 E0 V" E' i5 P5 `) g+ u9 x9 h( Y
  127. ;   Default Value: Off
    2 [% m3 J& `- W* W6 y; |  C) t' X
  128. ;   Development Value: 4096
    & I1 B$ |" a. S* n6 |
  129. ;   Production Value: 4096
    * x  p% |* C2 |; S" Q0 }4 N

  130. & N: C( F! w3 |# k
  131. ; register_argc_argv3 p2 X, E0 c0 l- i% A/ `
  132. ;   Default Value: On
    7 U9 Q  X$ P1 \! k4 B
  133. ;   Development Value: Off0 w7 M+ q. Z: c
  134. ;   Production Value: Off
    ; G6 I: `( j2 M. B9 z' e& @

  135. 7 O- T( G. Y' N) d, k. t
  136. ; request_order  `9 h& `% v- s/ }2 a+ m3 K7 c6 P
  137. ;   Default Value: None1 \2 B7 N' h+ b/ k2 d% @
  138. ;   Development Value: "GP"& a. o* S3 V% B
  139. ;   Production Value: "GP"9 p" y9 M+ @. g! N
  140. : K  n# @" Y! b
  141. ; session.gc_divisor
    " @0 }) I2 C' ]1 ]
  142. ;   Default Value: 100
    & {" s& C: I2 J9 G7 z' f
  143. ;   Development Value: 10007 t; G  W" s/ X, i
  144. ;   Production Value: 1000
    7 D: t5 D7 c6 h% p% e

  145. ( @  Y+ i  A- ?/ e
  146. ; session.hash_bits_per_character1 b, h4 ?% n. q
  147. ;   Default Value: 4
    7 k' e" H: w3 ^" B3 }9 W5 w
  148. ;   Development Value: 5
    & t0 R3 s; }: d" a
  149. ;   Production Value: 5$ K; e2 g5 K: v  B- }: f
  150. 0 Q, X0 ~/ F3 F6 c$ m
  151. ; short_open_tag
    ( K) |3 H! Q  l$ N* f8 _
  152. ;   Default Value: On2 ~- Q9 x& C# F# R8 R2 c
  153. ;   Development Value: Off
    % B0 ?! Q- c( Z3 ^
  154. ;   Production Value: Off, v' S# K4 b. R3 K3 ?% }

  155. ) {. p. g3 f9 K8 U; U- v) X1 t
  156. ; track_errors1 m' F  a( L6 _
  157. ;   Default Value: Off0 {6 d- _% a, b/ z
  158. ;   Development Value: On* J+ h. E- E) B$ n# f/ I( L  c
  159. ;   Production Value: Off) m/ w' L" s& G+ {% B; F2 L: P8 L
  160. 7 ?- \& g3 R1 K/ e
  161. ; url_rewriter.tags
    * u+ P2 T' U7 X2 a
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  @/ D% t9 V' H
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 ?1 a2 U* s5 q6 W. U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# ~) F2 m$ P+ {7 [

  165. " q- r% ~1 J# [1 U4 O5 Z# r
  166. ; variables_order( ]# j9 W) |1 u8 K
  167. ;   Default Value: "EGPCS"
    ( r: n- P. x, b* G" @$ x4 i7 L
  168. ;   Development Value: "GPCS"  m0 U* {. Y! U- H  {) L- v" ?6 A2 p
  169. ;   Production Value: "GPCS"4 X$ H- p) n) w2 f, Q6 F
  170. ) ~! A4 D* z9 i  L% [
  171. ;;;;;;;;;;;;;;;;;;;;& x0 U/ F3 ^0 d5 ]0 v
  172. ; php.ini Options  ;
    " G9 a: e# k7 A- e
  173. ;;;;;;;;;;;;;;;;;;;;
    * U6 D2 c7 ]2 C/ t
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; d3 {, ]" d: I: Q4 {
  175. ;user_ini.filename = ".user.ini"( @+ O. g3 ]: p. r/ x8 U/ f

  176. . b& i+ M) s3 ]" ~$ A; c) X, d
  177. ; To disable this feature set this option to empty value3 @  }" ?, ]; Z
  178. ;user_ini.filename =. X6 K* o& E! g  p% H
  179. - x& B/ z5 ~1 w  Y$ n1 I
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    4 J0 }3 c% w5 O0 b) h) u+ {
  181. ;user_ini.cache_ttl = 300
    ( u) F( S$ |; b# H7 U

  182. 4 E/ j6 K8 v5 u0 \! {
  183. ;;;;;;;;;;;;;;;;;;;;& M& `% ]9 q3 R
  184. ; Language Options ;  I3 t' e( a# }! o0 j3 O* a; R
  185. ;;;;;;;;;;;;;;;;;;;;$ r# d+ S4 l  ^/ ~

  186. $ c, B) Y; i" R; J
  187. ; Enable the PHP scripting language engine under Apache.
    & I/ @. z2 U' f9 W* _, }
  188. ; http://php.net/engine
    : e2 x: p0 G! c. X+ j( k3 x
  189. engine = On
    6 e: C* G1 I" Q9 q# C5 Q% K+ H

  190. 3 `* H# u& D7 b  S: l9 v) c+ j0 D. E
  191. ; This directive determines whether or not PHP will recognize code between
    ( W$ G- d0 X5 D) r0 n; V) j0 v
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  e! j; L- v. e! C6 {/ v/ Y6 o) \
  193. ; generally recommended that <?php and ?> should be used and that this feature& S" |% X( ~1 N) r7 x7 v
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * E+ D) _. K3 H/ w
  195. ; documents, however this remains supported for backward compatibility reasons.
    4 p" a) W9 I* B# x% N0 _
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    # b9 m# @! C/ _, ]1 B
  197. ; used regardless of this directive.
    6 m) A6 _* k8 A5 Q
  198. ; Default Value: On1 R. U) _6 X4 P! M/ G1 w/ j
  199. ; Development Value: Off
    & d! M# q3 F8 Z8 e' }$ Z" B7 v9 y
  200. ; Production Value: Off
    8 v- b2 t/ C7 y$ M
  201. ; http://php.net/short-open-tag5 I, v! R2 F& D5 Y$ W7 R2 D
  202. short_open_tag = On5 _1 m7 D% |$ R* o/ `0 P2 ?

  203. - i8 P5 _6 A2 N, x& T, s
  204. ; The number of significant digits displayed in floating point numbers.
    " F2 p0 _, z2 Z7 d) E5 z
  205. ; http://php.net/precision. ^, f$ [) g  I  o! T
  206. precision = 14
    + V" p2 U: P. ?

  207. % g. H# A# s4 z/ d# e- V4 p
  208. ; Output buffering is a mechanism for controlling how much output data2 |3 K" C: e* E* `
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    & ^" _: x2 j' Y% g* h" H4 f& N  j
  210. ; data to the client. If your application's output exceeds this setting, PHP* h; Y" l, s/ I/ p6 @
  211. ; will send that data in chunks of roughly the size you specify.0 P& h0 R9 f) c6 y: _
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ; y- t5 M. A3 I4 W  B
  213. ; interesting side-effects depending on your application and web server.
    7 n5 n# D0 k% E; q! ~1 s
  214. ; You may be able to send headers and cookies after you've already sent output$ Q- B" M! `% e
  215. ; through print or echo. You also may see performance benefits if your server is; a- D) A6 s( {. h" ?
  216. ; emitting less packets due to buffered output versus PHP streaming the output0 m4 r" V( T" l. R
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance8 y9 m# t, k/ o
  218. ; reasons.
    ! B* K" e8 ^, y6 F8 Z
  219. ; Note: Output buffering can also be controlled via Output Buffering Control& X% V0 x1 T/ P2 V/ o! b
  220. ;   functions.) W% `  n1 |7 n6 ?2 U/ K
  221. ; Possible Values:
    5 O! D  k. }7 A- Z6 Z
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 U+ h' }- o) ^& h3 N
  223. ;   Off = Disabled
    , A+ x- B; D; x
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # `+ g% o8 A% r& i2 T
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI. \% X& E3 Q& O2 B
  226. ; Default Value: Off$ L. m0 i) }1 _( M: _: c* g
  227. ; Development Value: 4096
    $ m0 \7 o2 j# {5 i
  228. ; Production Value: 4096
    & D% ?% c6 b3 O
  229. ; http://php.net/output-buffering( R; Z" c6 q! S. I! S
  230. output_buffering = 4096; \1 O( @3 d9 M( m
  231. 5 l0 m* ^! B5 k+ I' L/ i& o
  232. ; You can redirect all of the output of your scripts to a function.  For' L8 K+ `1 ]8 A
  233. ; example, if you set output_handler to "mb_output_handler", character5 v- {% z5 [" C
  234. ; encoding will be transparently converted to the specified encoding.2 J* ~' q8 V* _7 N, p: r$ q4 f" S& U
  235. ; Setting any output handler automatically turns on output buffering.
    4 V8 {9 X; @; T
  236. ; Note: People who wrote portable scripts should not depend on this ini
    % m# L4 H4 r% q2 \+ G: f
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ; ?* t9 a  a4 m* J2 F( x
  238. ;   Using this ini directive may cause problems unless you know what script8 W' J" a& l/ W0 R+ J* K$ u7 g
  239. ;   is doing.6 i& Z  Z# K. k- V! W1 e0 |
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    / v  q6 w' n$ C) U& W+ G7 ~: }
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".$ a1 I. m) C# ^) F8 k6 ^* y7 p) h
  242. ; Note: output_handler must be empty if this is set 'On' !!!!8 [0 Q4 N) E7 T  {/ h6 H( P
  243. ;   Instead you must use zlib.output_handler.# o0 G0 S. k2 W1 m5 c
  244. ; http://php.net/output-handler  r7 R/ a( ]" j; \' R
  245. ;output_handler =) i1 F4 Q! E; H! w: C; b% ?) l4 \
  246. 2 s" p6 \! m* }' }$ v
  247. ; Transparent output compression using the zlib library/ C# x! t9 V$ c
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size9 l. U: j$ @- T5 g: y2 R
  249. ; to be used for compression (default is 4KB)
    8 Z( B9 L  v! [
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    1 D  O5 _. g& y2 I
  251. ;   outputs chunks that are few hundreds bytes each as a result of, e! b1 Z. H$ Z% ^. B
  252. ;   compression. If you prefer a larger chunk size for better
    : _. G* N9 j5 T$ l' J1 s- U
  253. ;   performance, enable output_buffering in addition.
    ) C; S; g" t1 t& S! T. S4 B
  254. ; Note: You need to use zlib.output_handler instead of the standard# b4 ~" o8 ~  f: d! F
  255. ;   output_handler, or otherwise the output will be corrupted., u, \! c5 _  ]# m! B1 |, q
  256. ; http://php.net/zlib.output-compression  p8 H$ a. \) S; h
  257. zlib.output_compression = Off
    ! b* s% \$ m/ H7 s

  258. 2 [8 L7 C; A2 g* _1 _/ p, n
  259. ; http://php.net/zlib.output-compression-level
    ' z$ L5 f/ l! B. M) m3 |9 |
  260. ;zlib.output_compression_level = -12 L" S" K8 ^/ I( J( r

  261. 2 ]0 X3 \' J) a" Z: d. ~
  262. ; You cannot specify additional output handlers if zlib.output_compression
    / B, \4 l7 `5 |
  263. ; is activated here. This setting does the same as output_handler but in
    $ e  t$ w3 k3 g5 n  D
  264. ; a different order.8 ^9 U0 p4 \5 ]
  265. ; http://php.net/zlib.output-handler
    , o1 @& k- f6 c/ g$ h' ?
  266. ;zlib.output_handler =
    3 E! d+ m: }2 d! k2 U5 M
  267. + M% D3 q) J# l5 ?
  268. ; Implicit flush tells PHP to tell the output layer to flush itself' ~, Y- e) H# {( t9 T6 W- _
  269. ; automatically after every output block.  This is equivalent to calling the
    ( E: c5 S- R) S' V5 _/ J* ?7 z
  270. ; PHP function flush() after each and every call to print() or echo() and each
    5 `2 C. E) \6 X
  271. ; and every HTML block.  Turning this option on has serious performance
    2 N. `2 M$ _9 b& ^+ a4 P5 m
  272. ; implications and is generally recommended for debugging purposes only.- _  h& m' P: r7 d
  273. ; http://php.net/implicit-flush- ]) C% d% a0 Y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI3 p5 o4 M8 Q5 l& d0 i
  275. implicit_flush = Off8 Q& ~8 Y  b8 t, ]
  276. , w: D2 ]/ q: v+ Y1 V: _
  277. ; The unserialize callback function will be called (with the undefined class'7 C$ K. @2 |7 I2 W- q. g
  278. ; name as parameter), if the unserializer finds an undefined class3 {- f9 a% _( ^1 V
  279. ; which should be instantiated. A warning appears if the specified function is
    7 a/ L9 B  f. O
  280. ; not defined, or if the function doesn't include/implement the missing class.
    / `8 P+ J" R3 _2 v$ t7 j6 r
  281. ; So only set this entry, if you really want to implement such a
    - C# T& C& a: n& ~
  282. ; callback-function.4 u  w& w) X7 j9 Y5 X" c
  283. unserialize_callback_func =+ \; \' W  Q5 C( ?  p
  284. ! Z; e; E/ u0 N3 b) F, ^
  285. ; When floats & doubles are serialized store serialize_precision significant3 m3 ~. A( ~- R  K# c% _: C% o
  286. ; digits after the floating point. The default value ensures that when floats
    ; E3 X0 h! c) w. A) N
  287. ; are decoded with unserialize, the data will remain the same./ J0 A5 f, u+ B
  288. serialize_precision = 17
    5 A. e# V( _6 R' H0 Z

  289. , G7 U4 E) A* S1 T; p1 H
  290. ; open_basedir, if set, limits all file operations to the defined directory3 }# q" v3 U  s5 \, q
  291. ; and below.  This directive makes most sense if used in a per-directory( M% r) M& b" Y3 B! M( R8 K( ], R
  292. ; or per-virtualhost web server configuration file.
    + |2 l/ s- H- {4 G* r# c8 J$ `
  293. ; http://php.net/open-basedir! v: d1 h& b* x
  294. ;open_basedir =! w* g) w$ v9 i1 Q: ]6 p
  295. 5 k4 t: D- P! Z
  296. ; This directive allows you to disable certain functions for security reasons.
    * }$ u' M, m: i' l
  297. ; It receives a comma-delimited list of function names.
    ( s. l* q9 I0 x( h9 V
  298. ; http://php.net/disable-functions8 N  k$ ?+ d, t) h/ [
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru4 P& b6 {  N4 p( [2 c
  300. % P$ @  u0 j( ^' b3 e
  301. ; This directive allows you to disable certain classes for security reasons.
    + d, A" X$ \! k- g
  302. ; It receives a comma-delimited list of class names.) h8 A5 _: m) i" H$ f
  303. ; http://php.net/disable-classes% \0 q1 Z% Y" t. k
  304. disable_classes =0 A8 S7 Y/ S2 e

  305. 1 s+ @0 q" A* v! X0 u
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in2 D; O& V3 i2 [9 I
  307. ; <span style="color: ???????"> would work.) q0 H( R5 n% D9 }/ M1 h3 f( O
  308. ; http://php.net/syntax-highlighting2 X  r! W0 b4 L7 v. d) Y; y3 o+ Z
  309. ;highlight.string  = #DD0000
    5 [& m, E( b8 g1 q2 y
  310. ;highlight.comment = #FF9900
    ! |- L+ t, S" x4 ^3 n) k& U2 A, v
  311. ;highlight.keyword = #007700
    % F! u% l5 I$ g! N' [# ~
  312. ;highlight.default = #0000BB7 X6 k' o) D, J/ @% Q7 H& u
  313. ;highlight.html    = #000000
    7 B5 r- n. x5 _: j9 V; D6 w2 ~

  314. % @2 e  g3 G, a  ^' E
  315. ; If enabled, the request will be allowed to complete even if the user aborts3 Y+ w9 M6 d( K; i. S) Q5 o: n
  316. ; the request. Consider enabling it if executing long requests, which may end up
    5 ?' S* M; J: ?4 c' o* k. D0 b4 H+ j
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior' @+ S+ e6 E" g0 h8 C$ s, B2 i
  318. ; is to disable this feature.
    & B9 w+ ]% E: X1 S7 p: j
  319. ; http://php.net/ignore-user-abort
    9 c* U, N/ m+ b& B/ [
  320. ;ignore_user_abort = On) A1 Z" M- \# \5 \( v
  321. 0 W8 v6 j: W# D3 [) H
  322. ; Determines the size of the realpath cache to be used by PHP. This value should3 F/ C/ _& m' _0 a7 L  D: w) f6 ]
  323. ; be increased on systems where PHP opens many files to reflect the quantity of& w! n% f, K4 Q
  324. ; the file operations performed.6 b4 X, N3 z8 A2 T# \
  325. ; http://php.net/realpath-cache-size: l1 D  U% B2 l+ g: c1 Y  m
  326. ;realpath_cache_size = 4096k7 E1 q0 g9 n: ]  N$ j3 e* F

  327. + k: S) I/ Y6 k/ ^
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    8 U6 t3 H+ ]+ Y8 _0 k
  329. ; file or directory. For systems with rarely changing files, consider increasing this% Z: Y5 A) o. F6 K/ u
  330. ; value.
    ! T1 i' F) i  c$ ]* Y& ~) @  t# N
  331. ; http://php.net/realpath-cache-ttl. ?# u. w3 L6 W' S, Q' L+ U
  332. ;realpath_cache_ttl = 1200 r. s1 F* H6 c- v( }- o6 s
  333. ; c6 e/ ]' S! W1 }1 q( g
  334. ; Enables or disables the circular reference collector.5 H# U" J2 Q+ H% q' ?4 d' C
  335. ; http://php.net/zend.enable-gc- @' D& O3 a2 Z
  336. zend.enable_gc = On
    : e' }. y9 H- [+ m- ]7 |- U
  337. 8 \/ F: D/ p3 }8 n
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    : u* c+ n6 V3 w  v0 P+ N
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    8 i; P+ d; D2 A, R4 Y
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( Z' {% i9 _2 j
  341. ; Default: Off
    0 k! F9 I7 f4 S' C8 ~, S4 H& f1 S6 r
  342. ;zend.multibyte = Off7 d, e: P7 e6 r! \5 y
  343. 3 F3 K% h) x" l
  344. ; Allows to set the default encoding for the scripts.  This value will be used8 T2 E# T! U7 g. C: Q+ V
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.; |1 L4 g0 l% R  V* W
  346. ; Only affects if zend.multibyte is set.0 C& w' @- g2 \$ t; t$ w8 w' h
  347. ; Default: "", n1 y- X! h; ^" Y$ r! J
  348. ;zend.script_encoding =- }! Y; t6 s: }

  349. / p5 R  {) V4 e% m, a2 m& X
  350. ;;;;;;;;;;;;;;;;;
    # O0 j. q" y8 ~4 M( @
  351. ; Miscellaneous ;
    " l& k% a% P0 Z
  352. ;;;;;;;;;;;;;;;;;% V6 l( H/ R" V  e5 U5 j+ c% O
  353. - C9 ]7 x7 |4 [% Y) J3 E
  354. ; Decides whether PHP may expose the fact that it is installed on the server0 |, B7 V" E' E7 P6 v
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ( `( Y: `2 c- }8 ]2 h1 q
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) ?2 |* k" A0 }5 n  X+ \
  357. ; on your server or not.9 p* g* q+ k8 a; p3 M; U
  358. ; http://php.net/expose-php
    8 T4 q: I1 N5 {/ W) r( A* D- B
  359. expose_php = On
    8 s; u8 S6 z6 C' Y, h
  360. % d( @* D- @1 a( v7 Y; r
  361. ;;;;;;;;;;;;;;;;;;;& P, k7 C$ Y9 i  I' W0 W
  362. ; Resource Limits ;6 z+ y6 D, I5 i' Y
  363. ;;;;;;;;;;;;;;;;;;;
    ! j/ D& [5 Q( k, t( T% T- b
  364. 1 w# L: G4 g) y
  365. ; Maximum execution time of each script, in seconds
    9 M9 a( a6 k- h  J5 h
  366. ; http://php.net/max-execution-time( _# x5 p; D  Z: n% h1 n
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 {( d3 Z0 ~7 y4 E
  368. max_execution_time = 300) ~( j# M! x  [, M$ c8 P
  369. 7 ~" _: b! t$ U- B
  370. ; Maximum amount of time each script may spend parsing request data. It's a good3 }& Z. C( |8 q9 D' ^7 h7 O
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly0 O( b8 I& E7 t- e7 U( G0 t
  372. ; long running scripts.# Z  v, ^. f1 Q) r; x
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI  i. O+ I' @# ^( k, \$ f" g( X& g
  374. ; Default Value: -1 (Unlimited)) F1 Q. v) e9 D( k) b
  375. ; Development Value: 60 (60 seconds)
    4 F5 W, A( G7 l  D0 v* d. U
  376. ; Production Value: 60 (60 seconds)8 g' e  f4 n* g# ~( {8 S
  377. ; http://php.net/max-input-time
    2 J0 ?& r* I# ?$ q) c) r2 N
  378. max_input_time = 60, y3 j( s7 \' |  i2 v# [

  379. 9 _- @* X, F! g
  380. ; Maximum input variable nesting level: ~6 m; [: ~: {; M! u# m
  381. ; http://php.net/max-input-nesting-level" Z( ^% C1 T2 Y8 R' P
  382. ;max_input_nesting_level = 64
    ( [7 R8 p  U: S
  383. 6 V4 s& N, z: `9 ^
  384. ; How many GET/POST/COOKIE input variables may be accepted2 v. N2 O  j% }/ \# @1 j! j! ]
  385. ; max_input_vars = 1000
    8 D/ Q6 t+ i; p

  386. 6 F4 h: `' d& B4 m  Q& v1 @
  387. ; Maximum amount of memory a script may consume (128MB)
    + }  M' D+ ^' ?- ^  b
  388. ; http://php.net/memory-limit
    * R& E; n  w( v4 Q, k4 r
  389. memory_limit = 128M
    - v$ r) B' d1 L" }6 H  W! S

  390. & z' F! W% ?4 u% k% O
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 P. f/ E9 y; }, D7 w% d8 @
  392. ; Error handling and logging ;
    ' q5 @- y5 p( f6 D
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 E1 `( I; y5 o3 ], l& N
  394. $ m5 A. \1 w3 j1 M7 Q; y5 i
  395. ; This directive informs PHP of which errors, warnings and notices you would like/ U" A) c. D" n0 U* g
  396. ; it to take action for. The recommended way of setting values for this
    1 G6 X: ]: O3 P1 V
  397. ; directive is through the use of the error level constants and bitwise* ]2 }4 t% G) k, o8 N
  398. ; operators. The error level constants are below here for convenience as well as
    * Q$ l7 Z7 p7 b1 `# H
  399. ; some common settings and their meanings.
    8 g- R  z! |& b$ ]) M
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' e3 t# u' A( w
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    " s) ~, J. d, x0 }0 v
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    # h. D' Y1 m  ~: F/ |
  403. ; recommend error reporting setting. Your production server shouldn't be wasting' J% C9 G6 Y, j3 v( |. q- Q& C
  404. ; resources complaining about best practices and coding standards. That's what
    , r! O5 v1 D$ ~1 e- f
  405. ; development servers and development settings are for.) \9 p: o. t5 M$ j9 H* v; Z; V
  406. ; Note: The php.ini-development file has this setting as E_ALL. This4 K# m1 U0 ~  L' D- [
  407. ; means it pretty much reports everything which is exactly what you want during
    ) P# N, Y4 C8 }
  408. ; development and early testing.
    ) X5 o% Y, I" p9 H- u
  409. ;7 M1 E! `2 q0 V7 M% c
  410. ; Error Level Constants:5 Z4 ^( @( q  y) [; I  R
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! U5 N* q5 }! i! B
  412. ; E_ERROR           - fatal run-time errors2 R# p; R. d. M' x3 f6 r7 M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; O; E4 e' ]& x# |5 @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    / z4 N/ Y/ a3 O' F/ Q# N5 j
  415. ; E_PARSE           - compile-time parse errors
    " _0 _7 E/ o# p  |% m+ T
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    % ?2 o, w: Y% q9 N! C6 t2 |2 i
  417. ;                     from a bug in your code, but it's possible that it was2 o& M7 |, w2 x* K% P! G1 U3 X. Y
  418. ;                     intentional (e.g., using an uninitialized variable and- `6 P- |4 e% J% A5 y- ~
  419. ;                     relying on the fact it is automatically initialized to an+ @4 K  O* L, G6 e
  420. ;                     empty string)
    5 p, s7 Z$ F, [' h; V) Q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes2 N7 l6 r9 x5 x0 {2 P2 G: {
  422. ;                     to your code which will ensure the best interoperability, C) T1 i( P6 b/ x! r8 e# Q' I- S6 {" g
  423. ;                     and forward compatibility of your code
    9 A  E( v, @9 ~/ `; I
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup, Y. Q+ `. j4 y
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ; a/ y% m- n; B( v' l
  426. ;                     initial startup/ V* S) I% Z# M7 S
  427. ; E_COMPILE_ERROR   - fatal compile-time errors4 {# @7 F/ U% w# q7 G
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 B) c& A* ?% V; ~/ v, Y/ Z: G# d
  429. ; E_USER_ERROR      - user-generated error message
    ( d& o: F* @' c) }
  430. ; E_USER_WARNING    - user-generated warning message
    ! Q4 c5 l  Z5 M1 a5 X+ K  U
  431. ; E_USER_NOTICE     - user-generated notice message( y& o/ U7 U/ K3 B* k
  432. ; E_DEPRECATED      - warn about code that will not work in future versions1 f0 F1 N+ T/ Q* x" U1 o
  433. ;                     of PHP
    7 k$ j! w( Z. K; j7 U3 T
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    & V% f- I8 s9 K5 J/ F3 ~  @
  435. ;
    & G- z( ~- o) L) w( t* `
  436. ; Common Values:
    , D3 d/ n5 a" r7 w$ Z+ |& F
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)0 x  @' c4 ?' m9 y* B3 ^
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 I2 P: I7 f+ L, J# e; N% M
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    & ^. k9 u1 [* [, P# ^2 X- R( ~& C
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    0 Z$ l  \+ I7 u6 |
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* t) T0 Z" `, R
  442. ; Development Value: E_ALL8 t* v+ E. o! Q8 r- i
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % v% g. H8 v9 |# A% p4 \$ ?
  444. ; http://php.net/error-reporting% F5 U' {* H" \* b8 n
  445. error_reporting = E_ALL & ~E_NOTICE2 X5 g/ {( p/ l* `9 I

  446. 7 [6 K7 N; Y0 N4 `8 [4 T) w7 q
  447. ; This directive controls whether or not and where PHP will output errors,$ N& B1 R+ K6 r4 d4 d' }
  448. ; notices and warnings too. Error output is very useful during development, but
    # {+ i; T; ~% q& u
  449. ; it could be very dangerous in production environments. Depending on the code
    ( M: K; w9 i1 E: `3 L8 @: f
  450. ; which is triggering the error, sensitive information could potentially leak
    4 j4 _/ b9 k1 E
  451. ; out of your application such as database usernames and passwords or worse.
    9 A- O) v2 H! N- N  v
  452. ; For production environments, we recommend logging errors rather than
    ' n+ ^  o1 ^+ K& }8 F* A4 S
  453. ; sending them to STDOUT.
    8 v' V5 V9 |6 {. {+ L9 B3 l
  454. ; Possible Values:
    $ z0 s9 g1 j) J; `5 O3 O7 a& Y; r8 `
  455. ;   Off = Do not display any errors+ `7 u% V  Z  k5 K2 c
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)( @$ G: M+ h$ a; i# _
  457. ;   On or stdout = Display errors to STDOUT
    9 ^: F' Z; ~2 y4 g4 ~" j" L3 g: j0 g
  458. ; Default Value: On
    5 i3 @0 y2 i7 |# @
  459. ; Development Value: On
    ( b4 I$ E: S  g' ]
  460. ; Production Value: Off) B0 U. R3 g5 f  Q
  461. ; http://php.net/display-errors
    1 S% V! u" ?" V) ^& C3 r  }7 j
  462. display_errors = On* v0 j( |- G" \# ?3 v( L2 B

  463. ) a) a3 B/ B3 j+ T' y' h1 E' m
  464. ; The display of errors which occur during PHP's startup sequence are handled$ E7 u: g1 R8 K+ u# o) q/ W
  465. ; separately from display_errors. PHP's default behavior is to suppress those5 E" \4 b* M% W0 T3 G4 n4 a  R* E
  466. ; errors from clients. Turning the display of startup errors on can be useful in; w! m) Z/ z4 w" X; j( _5 c
  467. ; debugging configuration problems. We strongly recommend you" n6 d% [$ A& H7 i# P3 A- z8 ?
  468. ; set this to 'off' for production servers.
    8 h; l/ [' K9 v
  469. ; Default Value: Off2 p5 R5 e! [1 h1 E
  470. ; Development Value: On
    2 D: Y/ {  I2 [1 q, K( ]" L0 m* b1 W
  471. ; Production Value: Off
    ( Q0 f, }  S: i7 O/ h  n' N' e+ n
  472. ; http://php.net/display-startup-errors7 O2 d; E, i2 P, U) d0 h9 \
  473. display_startup_errors = Off
    * G# z' Y) L/ o, P
  474. 2 q( C8 J' P7 b0 B8 S# b
  475. ; Besides displaying errors, PHP can also log errors to locations such as a: `/ T0 C5 r% l. h" L
  476. ; server-specific log, STDERR, or a location specified by the error_log
    / F* A/ ~: h2 m+ q9 V: f6 h& v
  477. ; directive found below. While errors should not be displayed on productions! _. X( c3 w, c# q
  478. ; servers they should still be monitored and logging is a great way to do that.
    ' B8 S- d3 C* ?& O
  479. ; Default Value: Off
    7 n6 w* V. h% w! D
  480. ; Development Value: On& o9 x5 f4 I: U1 `% N. y- W* N; u
  481. ; Production Value: On* ~* t5 ?# U# @- a' k6 C* {' T, Q4 a
  482. ; http://php.net/log-errors
    $ f( a, D) d  a
  483. log_errors = On
    : h4 s- V& t1 q) Y+ W" s' G

  484. - X" T" L$ r$ U' `  j5 e' [
  485. ; Set maximum length of log_errors. In error_log information about the source is' _/ T3 ~. N4 v
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    3 h# o) x# y3 o8 m0 o
  487. ; http://php.net/log-errors-max-len
    1 [2 T/ l0 H6 R  t) {, h
  488. log_errors_max_len = 1024
    " c4 n/ s- U( G3 Z' y8 b
  489. ( }9 I( \: H1 P  D
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same: R7 z; l% C$ O( Y+ G
  491. ; line unless ignore_repeated_source is set true.
    ; m9 U. y1 R0 x  W) P8 b
  492. ; http://php.net/ignore-repeated-errors
    5 `! b  D8 Y3 E/ e  ~- T
  493. ignore_repeated_errors = Off. F$ q6 z/ R% `  b# ~2 f
  494. 1 X4 h' y! ^8 ^
  495. ; Ignore source of message when ignoring repeated messages. When this setting8 V8 W- ?+ V0 f5 P7 C+ M+ n' ~
  496. ; is On you will not log errors with repeated messages from different files or. |2 F; z$ b- {3 r
  497. ; source lines.& y4 J7 j- m  y6 i$ _9 x
  498. ; http://php.net/ignore-repeated-source
    " G8 c8 W2 N& D) P  O  a9 O
  499. ignore_repeated_source = Off
    / @* G9 e# h/ f5 t( W6 v/ T# Z

  500. ; @5 j0 _- j' \& A0 R2 U/ L3 y+ }
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on! x- ]) A' S/ }6 u6 u* M
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' {: |! b  ~! m! _8 B& y# H5 {% e
  503. ; error reporting includes E_WARNING in the allowed list
    ' y. a, z, t8 p
  504. ; http://php.net/report-memleaks
    5 f# e1 X  F% e5 H
  505. report_memleaks = On
    % h- q8 F* l$ a4 w

  506. 9 k" U, D! d) d  m* P/ R
  507. ; This setting is on by default./ {% p2 ^% @' b& t9 D" L" J& B; M
  508. ;report_zend_debug = 0) _8 {$ D# v5 u0 ?

  509. % Q& A( F4 Z8 P6 B9 y4 z
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    - F8 M3 x7 }: f% ]0 i
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    . L1 m9 p4 x3 b; B: h) S
  512. ; however be disabled on production servers.* g/ H* y. w# h/ f
  513. ; Default Value: Off; k9 H4 K+ w0 l  m
  514. ; Development Value: On
    9 }! l0 i7 I1 @6 a
  515. ; Production Value: Off5 a' r9 O0 P: O8 O
  516. ; http://php.net/track-errors
    + \( D) x$ u2 ]& Y( a0 P$ t
  517. track_errors = Off, O# c9 ~6 J0 q" Z- x& C
  518. 4 F: S, t! @& |( P. Y- {
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    9 Q* a! N4 l  {
  520. ; http://php.net/xmlrpc-errors1 ]$ U& L0 \0 ?) W  @4 A8 K9 N
  521. ;xmlrpc_errors = 0/ c7 X+ T+ C$ I5 j( b: x

  522. ! g4 b. e# S, q% I. n
  523. ; An XML-RPC faultCode
    - }4 l9 t6 c" ~0 _
  524. ;xmlrpc_error_number = 0
    7 R/ c: T6 N# o) r% L7 c$ f3 D8 X

  525. 9 o( S  H; _) t) `- {# p! K
  526. ; When PHP displays or logs an error, it has the capability of formatting the" @+ @/ `+ ~9 ~+ _. a. m
  527. ; error message as HTML for easier reading. This directive controls whether
    # K# k5 G7 o& S+ @  f
  528. ; the error message is formatted as HTML or not.7 _- ^, i8 Z8 D
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI$ m: a1 u- E9 P. N
  530. ; Default Value: On
    ! g1 y& T4 ~9 c8 p9 S
  531. ; Development Value: On
    . P+ A2 x5 X0 \% S0 ~* j: Z
  532. ; Production value: On8 A0 R5 w& @  t$ O$ n
  533. ; http://php.net/html-errors
    9 o2 Y7 ]) h9 [+ `" t) {
  534. html_errors = On" k) A# x- E( q  \2 e
  535. $ Z" L7 ~2 c, {6 K! K
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    : t, ]) h1 m' b1 l* F# O' J
  537. ; produces clickable error messages that direct to a page describing the error
    / B8 v# e  w, g* X1 @
  538. ; or function causing the error in detail.
    ! ]& z; b1 |3 ~; k8 o& W& B
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ) [2 r7 N1 D9 i; n5 W
  540. ; and change docref_root to the base URL of your local copy including the' _+ K% l* R! U! A( x+ g5 G- D) L
  541. ; leading '/'. You must also specify the file extension being used including) p4 W, V2 j( f0 A8 V1 I) e, `; ?, I
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    5 ?! j- {# Q3 ^$ r$ x
  543. ; case no links to documentation are generated.
    # p: U* y2 w0 M; a, ~! S9 V
  544. ; Note: Never use this feature for production boxes.
    $ X; `: t# [' K0 o9 f8 U/ [* e
  545. ; http://php.net/docref-root, z5 a2 r) N6 F9 C+ ~/ ]
  546. ; Examples2 j- Z8 ~' ~2 W1 d
  547. ;docref_root = "/phpmanual/"
    & w; X3 y- e7 [$ l9 _7 t

  548. " S0 U, k  Y1 R* M4 R& z4 s2 U% A, Q& n
  549. ; http://php.net/docref-ext5 T# z* z% y& C+ |
  550. ;docref_ext = .html
    + ?8 Q% I& C1 @

  551. ! |  c4 w# }+ Z0 Y) g/ N6 z8 r5 s8 k
  552. ; String to output before an error message. PHP's default behavior is to leave
    ! h. I4 `4 n6 b9 C; A8 }& C
  553. ; this setting blank." R2 {6 C' e) i' F2 R
  554. ; http://php.net/error-prepend-string
      g. Y0 i' i: ?0 [2 T6 k! w" P% a
  555. ; Example:( \) Z- K3 N- I; r5 o/ h
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
      ~6 }" ]( M  p; j& R* E
  557. : f" D! d6 a' \8 K3 V, j/ X
  558. ; String to output after an error message. PHP's default behavior is to leave
    + k' q: C+ e* i; @/ m: G' I# \; z
  559. ; this setting blank.  f+ q3 ?8 R% Z; ^7 J2 s
  560. ; http://php.net/error-append-string
    0 w- ?/ Z& F3 \
  561. ; Example:5 b% X) `- g, g
  562. ;error_append_string = "</span>": B& y, C- n( _4 Y3 _
  563. : a& y& J3 K; v
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    7 `3 M1 @# Q9 W. {; c
  565. ; empty.
    - Y6 e9 n3 q' [" E; Q) t, j
  566. ; http://php.net/error-log
    ) m! S$ T1 `, s
  567. ; Example:: R) l+ q  Z* R( }! G
  568. ;error_log = php_errors.log
    9 b) }' q! `  t
  569. ; Log errors to syslog (Event Log on Windows).
    3 a+ S( h1 O, u; a+ f1 l- r
  570. ;error_log = syslog
    ; t! Z8 V9 r4 B! |; j5 `

  571. 1 E5 d! N5 B* ^
  572. ;windows.show_crt_warning( z$ j# j# i' ]
  573. ; Default value: 0* r/ {$ o5 W( ]
  574. ; Development value: 0. `8 |! u% f$ _; z# @/ M
  575. ; Production value: 0, Z, [9 A4 g( c- ^( \. Q, {7 W7 V0 |

  576. 9 c  ~; A. G/ t0 `' i+ M: f( ]5 z
  577. ;;;;;;;;;;;;;;;;;" p# ?; w6 Y1 Y2 |- u6 ^
  578. ; Data Handling ;
    ; b4 T$ [) n' [* K% v5 z2 C
  579. ;;;;;;;;;;;;;;;;;
    2 |9 g+ ?  k* |* X% j
  580. % ?: X- r0 j. x5 |1 O3 Y! j
  581. ; The separator used in PHP generated URLs to separate arguments.7 A( _" f% d2 q, |
  582. ; PHP's default setting is "&".
    7 T" ]' _! g% n* O9 D3 Z9 ^- I
  583. ; http://php.net/arg-separator.output6 Y% |7 e: s8 ^
  584. ; Example:' Z  R1 U2 c/ X, `! s) f/ R
  585. ;arg_separator.output = "&"
    ! y1 D6 q0 i- `$ c5 ?: U  B! G
  586. % S* G7 ~* O% b1 d4 I
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ( Z# v( R3 w" J) h  }- j* _- Y$ w
  588. ; PHP's default setting is "&".
    3 M/ \+ ~1 K2 [: \' L
  589. ; NOTE: Every character in this directive is considered as separator!
    4 A+ g& e/ v$ K
  590. ; http://php.net/arg-separator.input$ k. V" q% q+ u3 b% n/ l4 c
  591. ; Example:
    % g% A" y$ L+ j& p- w
  592. ;arg_separator.input = ";&"1 J$ B! ^+ k2 ~$ X2 _( S8 ?
  593. : v8 o/ I' [; `! S# b7 _9 R2 ]# x
  594. ; This directive determines which super global arrays are registered when PHP- b5 T/ {: g' V/ r
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    , H" ~% y$ j: {3 b" K
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - D3 z$ P  I$ p9 ^6 {* O
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    $ i1 \* \2 [8 C7 E& s
  598. ; used as the others, ENV is not recommended on productions servers. You4 h; _0 i  Q# C2 b. ~
  599. ; can still get access to the environment variables through getenv() should you
    # z2 E0 o* U7 z6 g/ C9 R1 d0 a1 b
  600. ; need to.) P- H4 Y8 j3 T' {" G
  601. ; Default Value: "EGPCS"
    " B7 m$ {1 o! H6 t8 n. M! {) E
  602. ; Development Value: "GPCS"
    * x' \2 ]5 [+ a) s& n1 u
  603. ; Production Value: "GPCS";
    / R/ U! O, j- {( M: g5 i* {8 _
  604. ; http://php.net/variables-order
    ! Q0 j5 O) K  R% R* D  y
  605. variables_order = "GPCS"
    ! [0 i4 y; {0 f0 _" L* O

  606. ! c, ~0 ^: V$ h, q% t. U# R
  607. ; This directive determines which super global data (G,P & C) should be5 i+ S# ~3 _; U$ ^4 O7 B
  608. ; registered into the super global array REQUEST. If so, it also determines$ V0 j8 `# [4 G$ d" f% B
  609. ; the order in which that data is registered. The values for this directive6 N, ~5 I- x- |2 J! M) W- c
  610. ; are specified in the same manner as the variables_order directive,
    ; z! Y6 n! C5 b5 j. m& d0 Q  h
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 y2 s, \- B1 a' g! Z$ ^- u
  612. ; in the variables_order directive. It does not mean it will leave the super
    / g& D% l9 I# `
  613. ; globals array REQUEST empty.5 I7 E* Y$ K1 b) ^$ ]/ E
  614. ; Default Value: None
    9 F( ~2 u. A# S6 g4 Z, ^
  615. ; Development Value: "GP"
    ! E& C) L% L2 ]' r" r8 Z0 L
  616. ; Production Value: "GP"
      i9 }& H8 H2 N/ d2 B0 }  j
  617. ; http://php.net/request-order
    1 `$ f- W+ S9 y7 g1 _, W/ ]% [6 u
  618. request_order = "GP"; f% O; T  {% F1 o& @

  619. # H( [; @: S$ J" b/ H# _
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    3 M6 \8 m0 q  [" a
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script/ k; h% a1 G. ~& S2 V5 r" w
  622. ; is invoked. $argc contains an integer representing the number of arguments& T5 ^" T! I% ^4 |5 a" K
  623. ; that were passed when the script was invoked. These arrays are extremely
    / h* d/ K! ^: y4 |9 c8 D
  624. ; useful when running scripts from the command line. When this directive is% ~- I! W' o( b+ l( b
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 E; ]  d; D& j  Z" m( q% W! J
  626. ; a script is executed. For performance reasons, this feature should be disabled* @/ T9 v$ ~( ?7 I
  627. ; on production servers.8 Z" _  f! N8 u+ U3 d; ^9 Y( z/ y3 m8 z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    % J) I7 R5 E( d6 M& N7 \4 V
  629. ; Default Value: On
    9 I  s# Q, z8 Y1 o
  630. ; Development Value: Off# Y8 r" e8 x4 E$ }: S) ~0 X" K" r
  631. ; Production Value: Off% m' a* G! e' k& Y2 V  }
  632. ; http://php.net/register-argc-argv% H" d$ J6 }1 d7 }9 P/ M
  633. register_argc_argv = Off
    7 L! M# o9 b) E0 A, M

  634. + y3 q, ]. [6 l4 e' M( D1 E
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" R  Q9 ]1 l( `3 B0 o+ S8 L' b) @% n
  636. ; first used (Just In Time) instead of when the script starts. If these
    ( A- f" F! g' X' P6 f" z2 G
  637. ; variables are not used within a script, having this directive on will result( y. o! l- ?* K
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled; l! T# s( F0 `* e- J( b# E
  639. ; for this directive to have any affect.! ?) U+ ]4 z, ]* a* \9 h( v8 {) L
  640. ; http://php.net/auto-globals-jit2 z- c' l8 U" L& [/ b# N7 h
  641. auto_globals_jit = On  Q* Q! o! j' O8 i

  642. " q  V( D* p+ }* j  x+ q: W
  643. ; Whether PHP will read the POST data.
    , o- {6 v+ p3 c8 I
  644. ; This option is enabled by default." v( `9 w2 U) G( `& p# J5 G6 m7 @
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST3 [' ?4 ~, u, A# v: B2 n/ Q$ f" q
  646. ; and $_FILES to always be empty; the only way you will be able to read the0 m' ]+ k" @" S4 N% t3 C; z
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    5 I8 V# ~, r- }3 o+ |& l
  648. ; to proxy requests or to process the POST data in a memory efficient fashion." r' [+ V9 ^. _9 Z( ^0 H$ u
  649. ; http://php.net/enable-post-data-reading
    : ^$ J" _9 y8 f
  650. ;enable_post_data_reading = Off2 {7 ]$ N/ Y6 N' G6 C
  651. ; W/ ?( p6 l4 r- Q  |
  652. ; Maximum size of POST data that PHP will accept.% v$ h- t6 x( B. [3 f7 J1 X5 o
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading$ R0 h7 e3 L1 R8 l# c
  654. ; is disabled through enable_post_data_reading.
    : d. R' [% [/ N: h  V7 V
  655. ; http://php.net/post-max-size
    . O! @. _5 E) F/ L+ _  ~
  656. post_max_size = 50M. |3 @. b+ |9 G5 O$ e

  657. " L0 `5 l( i3 \* \: J
  658. ; Automatically add files before PHP document.$ b9 o: _. S' d6 p
  659. ; http://php.net/auto-prepend-file
    + \( d- u  V7 n% ^% `& T- k; Z9 S( s
  660. auto_prepend_file =5 u) z+ W* @; ?$ V; x  r4 D/ @, p

  661. ' S4 q) F* I5 o0 v7 e
  662. ; Automatically add files after PHP document.; c7 M6 E" w; U) V% e4 r" [
  663. ; http://php.net/auto-append-file
    ! W- I$ M' A- K
  664. auto_append_file =. d2 A* J; [8 a, ]' M3 \

  665. 2 o$ A' b0 Z! O# z
  666. ; By default, PHP will output a media type using the Content-Type header. To2 N- r! [2 Q$ ?% i9 g! E* Z! a: U
  667. ; disable this, simply set it to be empty.: G7 N! a& F1 t2 _1 ]  ~+ _9 A3 P, [
  668. ;: P2 n- q' o! ?* Y$ K
  669. ; PHP's built-in default media type is set to text/html.$ C4 f, E* z" u1 b4 i. Y3 |$ a: a% n
  670. ; http://php.net/default-mimetype
      o# h8 s/ c( }& C( A) }
  671. default_mimetype = "text/html"6 G) M( r7 }0 @# Y4 [5 {2 q% w
  672. 3 Z. H" Z& e, A/ @
  673. ; PHP's default character set is set to UTF-8.1 ~% @! S+ y0 B7 n: o9 {: j
  674. ; http://php.net/default-charset4 f; h6 b+ o2 Z( u- A, @3 l
  675. default_charset = "UTF-8"; d, b" \1 M* v6 G
  676. 9 q& O+ @9 G+ t9 d$ z: v* O0 _
  677. ; PHP internal character encoding is set to empty.
    4 n) p' E1 [; l3 J9 h# R
  678. ; If empty, default_charset is used.
    ( J* W6 h3 d2 r. @0 T" W0 E
  679. ; http://php.net/internal-encoding/ R  X$ v# ?7 F# `3 g3 |
  680. ;internal_encoding =
    : q0 k1 q) L- F4 O3 H

  681. # q1 y7 U6 b5 c; Y7 C* l
  682. ; PHP input character encoding is set to empty.
    $ z  G, r3 ~& e% y2 F7 B# M/ K
  683. ; If empty, default_charset is used.
    6 O! ?8 E: |! h# ^: {* L
  684. ; http://php.net/input-encoding* y! k  l3 O) }9 e' ~
  685. ;input_encoding =
    % v1 v" T% o5 X* R

  686.   f8 J+ ?0 e3 g2 J" @. a
  687. ; PHP output character encoding is set to empty.
    2 L8 e7 Z2 O1 x) |
  688. ; If empty, default_charset is used.3 u) J0 o8 l$ g1 w8 q6 w! @' }/ P+ b
  689. ; See also output_buffer.
    $ n+ G6 V) e6 H
  690. ; http://php.net/output-encoding
    & M2 @6 E* [7 F! A
  691. ;output_encoding =
    + H9 q/ T3 I( r$ I9 U

  692. : X# \' o& z- z% d+ @
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    5 ?+ U. L1 v! K" X
  694. ; Paths and Directories ;6 H5 Y4 M. ^) J0 N9 @% [
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + ]/ q" M! j, a9 B/ b" \

  696. 3 E" _, k1 B& ]4 P4 Z# X6 B0 b
  697. ; UNIX: "/path1:/path2"
    * K8 F: {  \& G  M" z) p  U9 s1 k
  698. ;include_path = ".:/php/includes"
    3 ]8 B) H8 x$ p! q, o; k# _
  699. ;
    * t+ x+ l+ P$ {9 A: F% g1 B
  700. ; Windows: "\path1;\path2"
    9 U$ y) N; `, p2 K, s1 S1 H
  701. ;include_path = ".;c:\php\includes"
    " A0 A- A& \6 v( \
  702. ;
    / I5 l& v0 D8 B7 {9 g
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    # M7 N7 |! y( {! z2 l
  704. ; http://php.net/include-path
    + x. }9 N4 v$ R

  705. 0 C/ B' V2 N$ l8 \) M0 C: {
  706. ; The root of the PHP pages, used only if nonempty." Z" h+ \$ H9 n0 r% x
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root8 y2 x4 p" x/ G/ g5 v1 T
  708. ; if you are running php as a CGI under any web server (other than IIS)& V0 V+ x# E4 K  V% X5 u8 _0 g
  709. ; see documentation for security issues.  The alternate is to use the- X! i8 b8 Y7 c0 W; u; f# R0 J
  710. ; cgi.force_redirect configuration below
    0 n! N2 I- |9 x# {7 y) T
  711. ; http://php.net/doc-root/ N' z% `& t. q: P
  712. doc_root =
    * d6 P# _2 @  y& |  j7 e9 P( Y
  713. - ]9 v, ^4 _& x, ~, o
  714. ; The directory under which PHP opens the script using /~username used only
    ' V/ l! I. x6 ~. q2 E$ u+ L7 G3 K: E
  715. ; if nonempty.4 Q4 H* K  m$ h: h( a6 y7 c% I& ~
  716. ; http://php.net/user-dir
    ) t0 Z" e. v8 e
  717. user_dir =8 F! o  B3 `' N4 ~1 m

  718. 6 O$ N* @4 k7 A% S  c
  719. ; Directory in which the loadable extensions (modules) reside.! x% V8 p( F% ^( i* J/ x
  720. ; http://php.net/extension-dir$ Z' A( \8 [1 f3 b/ G
  721. ; extension_dir = "./", O! P/ H7 s9 P$ ^
  722. ; On windows:
    " Y" F( K4 w, H3 o2 m- B5 V
  723. ; extension_dir = "ext"
      i; J- @) S$ I/ i" z+ _

  724. 1 H0 E; h- |- f0 n/ P: y; L& K
  725. ; Directory where the temporary files should be placed.5 n6 D: f# F' K( ^- [
  726. ; Defaults to the system default (see sys_get_temp_dir)4 ^: i, y# x1 W. i
  727. ; sys_temp_dir = "/tmp"0 S0 R; L2 A1 J% `0 A

  728. % ^+ ~0 O" h* }8 ^
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 Y# d: e+ g$ f; y
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 r! T1 O& O4 Z. M7 O( c
  731. ; disabled on them.3 Q0 W" ?& f" c, v: t
  732. ; http://php.net/enable-dl: P# ^5 Q% T' [* n, Z( P
  733. enable_dl = Off
    $ t8 s, F' g2 G- p, }" Q0 h

  734. : ^, Q* p) `& ^. B4 G' ^- [
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    : W" l" D" O+ t' y) k9 g
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can$ N: e8 l9 t8 p: j! f
  737. ; turn it off here AT YOUR OWN RISK
    * N4 w$ b6 q! f9 y  c( r
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 E7 j0 C& H9 P1 L, A
  739. ; http://php.net/cgi.force-redirect
    & N, Q8 ?' F$ \
  740. ;cgi.force_redirect = 17 w& e8 {& H% w( i. a
  741. 9 m3 H, h* [% z0 v# {2 b; E
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' m# S- X) `& w8 E0 W0 z0 p
  743. ; every request. PHP's default behavior is to disable this feature.
    ' E4 V1 O0 [) l
  744. ;cgi.nph = 1$ R. G: L: `& R: P
  745. ( \  z, t% `) N, m. P5 v( p4 j6 H* t
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    % l) ?0 R( F/ R( y+ [9 F; G, e
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, m9 u: g( X- |* e$ `1 x
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 ?+ \( u( U1 y5 n# e4 A
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    $ J+ `: @$ m* P# t
  750. ; http://php.net/cgi.redirect-status-env8 e8 A* E8 k7 b8 x
  751. ;cgi.redirect_status_env =8 r. c' t& I+ _# Q
  752. 2 A  q$ L; f, u0 y! R; L
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's6 K" z9 K: x& U8 F
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok2 m  d4 C: ]% Y: L0 M
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting% {2 u- _) s( W( g6 ?% N
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 E+ o- t2 S# N
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    . t( D1 o  ^7 C1 y3 v4 [: b2 @
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ H3 H: c/ l4 N
  759. ; http://php.net/cgi.fix-pathinfo7 ~0 Y5 `& t/ s! A
  760. cgi.fix_pathinfo=1' i/ G. T% j* J* F5 l& T3 M
  761. $ j. U7 W" ^+ X8 T
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside. f) P6 L- L% d* c& O4 ^
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    8 A* D/ M$ y- x& N% q
  764. ; http://php.net/cgi.dicard-path1 ^' \* X. E" y8 O* k7 q
  765. ;cgi.discard_path=17 y" @- p! p# k! `- J

  766. " W- E: O  H, e% @7 F
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ K6 E( {; A& A$ T$ x6 Z$ k
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' Q8 [( k, H6 g/ x6 C
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    " `( H( \" z4 Y+ v0 e  |
  770. ; does not currently support this feature (03/17/2002)2 Y$ @- f& T, q- ~: i7 A& _1 ?
  771. ; Set to 1 if running under IIS.  Default is zero.
    9 l1 C" I% j- m7 ~2 x$ p' P8 A* U
  772. ; http://php.net/fastcgi.impersonate
    5 P* m1 D* p* V: j- _) `! O% ~* f, b
  773. ;fastcgi.impersonate = 1- p8 J* A4 y* n. `

  774. ' R0 J& n% w$ h& l' K7 @
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable5 L1 R6 R/ V# _7 a1 x
  776. ; this feature.* a5 I( @) G$ W: l7 G; Q! }' T
  777. ;fastcgi.logging = 0
    4 @+ z* n& Q) t% k# R- `8 o
  778. 8 K8 m+ r4 u+ K  }" e
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: t, q, Q; Z3 F4 ?
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that- X+ n, m: T7 N! Q$ X
  781. ; is supported by Apache. When this option is set to 1, PHP will send" ~4 m5 p6 ~- m% _; S- L
  782. ; RFC2616 compliant header.- L' t" n% ~: ~0 e
  783. ; Default is zero.
    0 X' o; ]" q* G. e+ a
  784. ; http://php.net/cgi.rfc2616-headers
    . R+ w8 l( l5 D" _) S
  785. ;cgi.rfc2616_headers = 0
    ; a  H0 F, h$ B7 Z- N) x
  786. + ?" |  I! A, {( W  O
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * r" E% T5 d) \- v* I# m7 N
  788. ; (shebang) at the top of the running script. This line might be needed if the+ G! c* L$ t* v7 H8 h# s- |
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ; ~3 {$ O9 |* Q2 ?$ q
  790. ; mode skips this line and ignores its content if this directive is turned on.7 s8 w, o" y' F
  791. ; http://php.net/cgi.check-shebang-line
    / |/ Q( h: Q& x+ g/ a* C+ A
  792. ;cgi.check_shebang_line=13 c% E" ]+ Y  M2 c, S

  793. $ G3 N8 {8 W8 z) e
  794. ;;;;;;;;;;;;;;;;$ X0 ~" ]5 M* ~- Q
  795. ; File Uploads ;% y. X9 `: A; x7 a
  796. ;;;;;;;;;;;;;;;;1 t: [7 ~" x$ S
  797. & E% z4 s& z+ w7 k$ {0 `
  798. ; Whether to allow HTTP file uploads.
    . B/ H% \( @. G8 ]+ h
  799. ; http://php.net/file-uploads9 ]! @  o9 h: V  d/ V% i
  800. file_uploads = On
    8 R% b! A- W5 _7 p0 {9 @: b
  801. 3 g9 }& N* f6 {+ z- m1 A# g
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    & H3 P9 O3 _  u9 [3 ]& W
  803. ; specified).
    . T& A# f' M1 L2 I
  804. ; http://php.net/upload-tmp-dir1 F" z# t2 V5 U: q( l0 A* g
  805. ;upload_tmp_dir =+ ?; G1 M: A. q1 M% ~! ]. t2 g

  806. 3 ?: F, r1 {$ s
  807. ; Maximum allowed size for uploaded files.
    % H) _; n5 \3 j7 P, z6 l* U
  808. ; http://php.net/upload-max-filesize
    8 J7 L. h! C: v2 a/ I  E
  809. upload_max_filesize = 50M
    ! Q2 Z5 V4 n3 \) s

  810. 2 ~* M8 }9 w+ o: l/ T$ F& G7 p
  811. ; Maximum number of files that can be uploaded via a single request8 [! o! d4 Q4 K# X$ o- r
  812. max_file_uploads = 207 x6 z+ `) T6 a; R0 {

  813. 1 C+ }8 ]- A0 p3 s* E
  814. ;;;;;;;;;;;;;;;;;;
    $ U0 z1 E2 l' u6 g& b
  815. ; Fopen wrappers ;  `( |$ X$ H- }) t* s8 g8 \8 Y* q$ o
  816. ;;;;;;;;;;;;;;;;;;
    & b' Z1 d: z- P8 ^6 e; d& E
  817. 5 j7 @8 m3 c8 w: {) F5 g
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / m, |) z8 c+ A( ~# f
  819. ; http://php.net/allow-url-fopen
    + z8 Y2 H4 _, A9 G
  820. allow_url_fopen = On
    / ?* l) R+ N$ k. c- i8 t0 j
  821. $ \# u2 c( y$ |6 w# u
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    " f7 }. E6 z& Z6 y' P+ ?
  823. ; http://php.net/allow-url-include
    6 d9 M" [/ h8 C5 d) T
  824. allow_url_include = Off
    ; C; J# H2 t, z# O0 \; v6 f

  825. " u) ~4 N- W0 b6 M/ C  P
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    3 x  Z4 D2 b: D( o' b
  827. ; for this is empty.
    ) K) E0 `: v. A; b- S, w) ?
  828. ; http://php.net/from
    ' w0 k& c- w' q
  829. ;from="john@doe.com"! U% H+ i' D3 V0 D6 H8 V

  830. 3 Y9 k" O; |5 E4 a
  831. ; Define the User-Agent string. PHP's default setting for this is empty./ q! Z7 J) z: q4 ]" a0 ?3 `$ V
  832. ; http://php.net/user-agent1 a& M, H/ x# j- J6 n
  833. ;user_agent="PHP"8 W9 {7 ~/ w7 ~7 O$ Z

  834. 9 t) m7 _4 Z+ |2 A
  835. ; Default timeout for socket based streams (seconds). g5 o$ U( e4 Z8 w% g
  836. ; http://php.net/default-socket-timeout0 E4 r" q- ^6 o# ], w
  837. default_socket_timeout = 604 v, o, w7 Y9 I4 A+ E6 o9 p) W
  838. " _4 j5 n" [  u
  839. ; If your scripts have to deal with files from Macintosh systems,
    ; ~" |$ |: g0 f$ C. K: l' R( c
  840. ; or you are running on a Mac and need to deal with files from- t( Y- ~4 x! w9 A0 M+ F
  841. ; unix or win32 systems, setting this flag will cause PHP to
    6 C- ^$ `+ r3 C# h- T1 M! U
  842. ; automatically detect the EOL character in those files so that* D- q# H' J% y
  843. ; fgets() and file() will work regardless of the source of the file.
    & b. _* B( e2 X% Q% \2 r& {
  844. ; http://php.net/auto-detect-line-endings& P+ @* d, o& b( ?* Y. K
  845. ;auto_detect_line_endings = Off& f/ X) q, R: w& G6 N4 `- L. ^
  846. 7 Y& W& Z/ ?/ _
  847. ;;;;;;;;;;;;;;;;;;;;;;( \  g0 R: ?) j! M; {+ y: E; n5 c3 O
  848. ; Dynamic Extensions ;
    + o3 q4 p  I  I6 t
  849. ;;;;;;;;;;;;;;;;;;;;;;
    # U4 `1 D# O; o+ |  b) S& Y

  850. 9 \3 K8 c# e- ]
  851. ; If you wish to have an extension loaded automatically, use the following& \% b  Q3 n- `+ `  e
  852. ; syntax:* U+ [: [2 k" G$ y- z/ f$ Q* T
  853. ;
    8 v8 Y2 l7 x% K% x" i
  854. ;   extension=modulename.extension
    9 L0 Q" J) e: I3 W, D$ p* }
  855. ;" o0 q7 {" k& K0 H% `1 _
  856. ; For example, on Windows:
    $ y! M2 n) |: o( t& ?, V1 E; N/ m
  857. ;
    8 D1 Y+ i6 D3 [2 O! }
  858. ;   extension=msql.dll, ?- B# r' W/ y2 ]8 w0 z* B: O
  859. ;# I- k9 y3 G, y4 \2 q8 q  M8 d2 L" W/ v
  860. ; ... or under UNIX:' k* z  w: v9 F- S  m+ u
  861. ;
    % A  g: F2 @/ Y7 z: u
  862. ;   extension=msql.so* y3 W6 h" r& Z/ g' t- R4 S
  863. ;
    ! v% {4 W2 X5 k) N
  864. ; ... or with a path:
    ; L7 t( D: S: S* V# w' G
  865. ;
    + e3 {; o7 K5 N* Q/ z
  866. ;   extension=/path/to/extension/msql.so
    5 ]+ w1 n7 |( Y! v" G, O+ u
  867. ;% Q6 o' y; ]8 E) _
  868. ; If you only provide the name of the extension, PHP will look for it in its" Y+ r3 l5 g$ w0 C6 M8 W! S
  869. ; default extension directory.
    4 v; y; u& c# q" q$ R( ?4 U1 R7 Q3 F% b
  870. ;
    0 S. N- {& L& ~3 M0 w
  871. ; Windows Extensions
    0 J* x9 [3 s1 X. @% m9 R
  872. ; Note that ODBC support is built in, so no dll is needed for it.' H5 l6 ]" P: H5 w- j7 j( x
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)3 l) a  {: E" w  w4 ~) ?" [
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    % _: E% \/ t6 ]8 r" U- l: ?
  875. ; Be sure to appropriately set the extension_dir directive.( e: z. d0 x/ `3 b7 j0 a
  876. ;$ {" u- V. D6 ^1 j9 R* M
  877. ;extension=php_bz2.dll9 q; `# B1 d" K! d/ t3 C
  878. ;extension=php_curl.dll
    1 d  Q3 z- o& b" W0 ^! S
  879. ;extension=php_fileinfo.dll( c2 Z. }2 d# V) }  d9 N
  880. ;extension=php_ftp.dll
    4 U5 o" G/ b6 U( h& a$ K' d; P- [
  881. ;extension=php_gd2.dll, H* r4 }! e# M6 Y( S8 b2 _2 g
  882. ;extension=php_gettext.dll
    % w: N$ L4 N9 f) m) o( ]
  883. ;extension=php_gmp.dll
    5 ]# y- b- E3 a8 C  R
  884. ;extension=php_intl.dll
    4 ?; s& J; e; h' E+ a& m& y; b
  885. ;extension=php_imap.dll
    - G: K7 |! m: f- e. Z. p- k
  886. ;extension=php_interbase.dll# ?) x) c0 W3 f- f! H" `- J0 M
  887. ;extension=php_ldap.dll
      L* p4 q" N5 k- y* @
  888. ;extension=php_mbstring.dll$ u+ M2 [- b3 N
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it) ^- K( a, w( _. y5 R
  890. ;extension=php_mysqli.dll
    1 m1 K7 h/ e% g" m6 I# Y( t2 x& M
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client# @% v1 _" z# k: M! m1 @& X
  892. ;extension=php_openssl.dll5 d5 r# I! v) l: ~: d9 ]
  893. ;extension=php_pdo_firebird.dll/ ~5 v, Y6 z9 I/ S3 I
  894. ;extension=php_pdo_mysql.dll* r8 B; o# k/ E. i, y3 m9 D
  895. ;extension=php_pdo_oci.dll$ B; [$ U7 z0 m) ?: x& C
  896. ;extension=php_pdo_odbc.dll4 a' \4 \* k; A1 t7 `/ C
  897. ;extension=php_pdo_pgsql.dll! E. ?* u; z* A- T
  898. ;extension=php_pdo_sqlite.dll
    & A# m* s9 i' Z$ z( h# @! L9 {
  899. ;extension=php_pgsql.dll
    ' L( u: a0 l5 X3 u" E6 Q
  900. ;extension=php_shmop.dll
    2 z! x2 [! k& X; b
  901. : g( i5 u/ _, }
  902. ; The MIBS data available in the PHP distribution must be installed.
    + e' L7 d, r9 [3 W! T) M' _
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    1 ?+ c: z& b" d# o
  904. ;extension=php_snmp.dll
    # I2 e" Q3 y2 x$ d

  905. ( f" p  c( s4 M# G3 ?
  906. ;extension=php_soap.dll
    % b& V+ [& h& n3 C* c6 a/ ~$ [
  907. ;extension=php_sockets.dll
    " }9 c+ Q% ]4 l7 K' Y; x
  908. ;extension=php_sqlite3.dll
    6 U; |* Q3 O: c
  909. ;extension=php_tidy.dll6 |# ?3 H: ]2 b. m
  910. ;extension=php_xmlrpc.dll+ C' v! f8 e: ^; [9 ^
  911. ;extension=php_xsl.dll
    9 r- s% X$ `0 t" H! i: _" ^
  912. + ~$ J% S* C6 R; E
  913. ;;;;;;;;;;;;;;;;;;;/ o7 \6 z/ A8 O: O8 l  [  I7 ~
  914. ; Module Settings ;
    ' @2 o, b! G( }
  915. ;;;;;;;;;;;;;;;;;;;: _1 p9 O& ?5 D, `) ]  X

  916. / e  f) H7 P+ X' S- M
  917. [CLI Server]
    / N& v+ `& h# O& r: H4 Y
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    2 u4 |: y5 z0 H0 }  r& `; i6 A
  919. cli_server.color = On
    ( Y2 R' D+ J6 r( I( m; u& C% O5 t

  920. ! G8 k0 @) e8 ~4 U/ ?
  921. [Date]* I# u6 t# k6 j* I! a& O" `2 }
  922. ; Defines the default timezone used by the date functions# U3 b' b- ^( c2 a/ @0 o
  923. ; http://php.net/date.timezone1 d6 z& @* h1 g( k# X" _: \
  924. date.timezone = PRC
    6 B; K  c: A5 {( ]1 U% K

  925. 8 s; d& ]' R# |9 {
  926. ; http://php.net/date.default-latitude
    ( ]/ o: J4 D: O" |& s& T3 _
  927. ;date.default_latitude = 31.76676 Q1 H1 }* I9 U

  928. $ J2 @3 s% S, r# N. V
  929. ; http://php.net/date.default-longitude
    - e1 {' }; ]/ q" d
  930. ;date.default_longitude = 35.2333; |0 N; u) M! K% t
  931. , d: k, u9 Y" d/ S" J8 K  z
  932. ; http://php.net/date.sunrise-zenith) \4 \7 n% Y# f  D2 H
  933. ;date.sunrise_zenith = 90.5833336 E% k) m7 P+ U7 p
  934. 1 N2 p2 i8 N9 ?7 H' n
  935. ; http://php.net/date.sunset-zenith
    % C' ]/ n* |0 a# z
  936. ;date.sunset_zenith = 90.583333
    . G* I' U& [( \$ X+ k

  937. 5 p4 b% x# ?& {& e7 K$ }4 `) A( a$ Q
  938. [filter]
    3 Q# C2 I8 N: }" ]7 h9 R" L* e3 a
  939. ; http://php.net/filter.default* s: _# G) V% c) Q
  940. ;filter.default = unsafe_raw
    6 m4 S2 a, o: M$ h8 t
  941. ) E+ l! z7 {$ f  s6 J
  942. ; http://php.net/filter.default-flags
    4 o+ i( R  m2 r% W, ~& K
  943. ;filter.default_flags =
    * A( }" o# D& a% A; ^) z- ]0 W( \6 F5 g
  944. # d, |/ I/ O) C* e& }1 Z
  945. [iconv], b) h5 [1 i$ M9 W4 x0 l6 m
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; f) H, H4 p# W' e' t$ Z% U5 h" D8 U
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    6 N- y1 Z% z# f" a# [6 v
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding3 Y; ~2 p7 f/ r- N
  949. ;iconv.input_encoding =: \: y" i9 l% h! i' a, p( `
  950.   x4 f* V2 T8 X' z. Y
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.. n1 A! o  D! D* e
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # P( m& j1 m9 d) Y1 [
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 w8 a# Q/ ?( q4 V
  954. ;iconv.internal_encoding =
    / Y1 W+ o, g+ n& C% m- `- W
  955. ' w* r, M' K3 b- z# n- Y7 l7 s; Y
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.) r+ G0 I: M$ h" [0 x) _
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.0 q8 h* |" W3 x% f6 `5 ]
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding  Y' c/ I  C& @* O' Z
  959. ; To use an output encoding conversion, iconv's output handler must be set
    $ G6 p) ?  u5 B6 q
  960. ; otherwise output encoding conversion cannot be performed.
    5 ]) \0 O) t% b+ Y. i
  961. ;iconv.output_encoding =, ^3 ~4 u/ @2 o" j  V* \

  962. . q' G9 @( V- V# q
  963. [intl], O$ o; i; t3 T
  964. ;intl.default_locale =
    / L. I, n% X+ [6 K7 S3 |) e/ u4 s
  965. ; This directive allows you to produce PHP errors when some error
    2 }! p, {" J- ^9 W
  966. ; happens within intl functions. The value is the level of the error produced.
    ( A5 h7 L+ q2 v; x: j# w" C
  967. ; Default is 0, which does not produce any errors.
    3 @6 _0 I+ `$ p5 G; a0 H
  968. ;intl.error_level = E_WARNING
    4 a& A" X' K# w
  969. ;intl.use_exceptions = 0
    6 ]; [' b  U! T1 q  \5 l" h

  970. , h" h7 r, ~9 h) ]7 x
  971. [sqlite3]
    3 P) p4 v4 `' D
  972. ;sqlite3.extension_dir =
    0 U; w$ m, s' `& L9 B# Y3 n
  973. " A) V# U( N! l
  974. [Pcre]$ {% `9 I. O. A& W
  975. ;PCRE library backtracking limit.( M4 C, l: H  c+ n3 ^
  976. ; http://php.net/pcre.backtrack-limit. I5 {$ G5 f# a* t! S# b
  977. ;pcre.backtrack_limit=100000
    " b# T) d5 k  m! p+ ?# w1 Y

  978. : W) @5 T- f; p& q
  979. ;PCRE library recursion limit.
    # j8 V. R3 m: e. b
  980. ;Please note that if you set this value to a high number you may consume all. S# ^2 J( P- K! `0 W: j5 J
  981. ;the available process stack and eventually crash PHP (due to reaching the3 R. `, |9 _4 W- C6 c0 c6 r/ B. A
  982. ;stack size limit imposed by the Operating System).$ u, r8 N6 a: R6 [
  983. ; http://php.net/pcre.recursion-limit7 w6 j4 a' c" h
  984. ;pcre.recursion_limit=100000% y: ~4 [$ g: z* @& {' j7 u7 r

  985. 4 b0 O' n" x# M) x! B
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ; B0 c# i) O+ M6 @
  987. ;library to be compiled with JIT support.
    & h3 W! o! Q4 r
  988. ;pcre.jit=1
    ) b: @! P0 n: z+ F
  989. % b1 u5 l7 C+ D! r# p5 G5 M
  990. [Pdo]
    0 N7 U  h# Y( ]7 _$ y- i5 p* D" c
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off", @. Q' b/ ~- F0 T7 b
  992. ; http://php.net/pdo-odbc.connection-pooling+ i) O5 s, ~0 ^, U( C- i. H
  993. ;pdo_odbc.connection_pooling=strict
    + Q4 S4 |# S" @! K) S: `  q
  994. ; h+ e! _- o, A! v' o  `8 `# H
  995. ;pdo_odbc.db2_instance_name1 ]! R' n" ]/ s. s9 r$ }
  996. ' ]; h. {; c, U+ \+ F
  997. [Pdo_mysql]$ g1 I5 b5 z1 A" M
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : r' R; p: V$ k+ q
  999. ; http://php.net/pdo_mysql.cache_size
    ; k+ q% E5 }- n: K7 g5 u5 Y
  1000. pdo_mysql.cache_size = 2000! _& z" J) p/ e& n' V4 N
  1001. ' p4 c) ]+ n; A2 O7 m) _4 o
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " b( s, ?9 L, h9 f" X+ j1 d
  1003. ; MySQL defaults.
    9 S# X2 K) h5 ]; ]# j! ~8 D
  1004. ; http://php.net/pdo_mysql.default-socket
    2 u. p( {( S% T& H; a
  1005. pdo_mysql.default_socket=. f* T' D% h' ?: ]
  1006. 6 t5 e9 j% N" G+ X
  1007. [Phar]1 |9 s; O- B  x5 s5 }7 g  d0 U+ |! C- Z: t
  1008. ; http://php.net/phar.readonly' W8 l$ w; [% J! D5 ?
  1009. ;phar.readonly = On* z6 K  R) G# c3 {. P* Z; I: E
  1010. ; s3 j2 n# `6 D9 X
  1011. ; http://php.net/phar.require-hash
    4 ]4 Q2 O. G3 I: y: |
  1012. ;phar.require_hash = On" n6 e  @/ U3 S3 t4 F$ J# Q
  1013. - G, I/ a0 K. k5 ]2 x9 o0 P
  1014. ;phar.cache_list =/ z% v& w1 d0 j2 d7 R, F% x

  1015. - I4 s* z7 G9 p9 G  p
  1016. [mail function]
    - A' P0 [5 }' h+ a/ l0 @
  1017. ; For Win32 only.
    " Q2 }5 ]) M2 l: F- B, E. `  j8 N
  1018. ; http://php.net/smtp( {2 R* r0 u9 r9 W
  1019. SMTP = localhost
    . f& S+ n* E% \# G2 v: }  q$ P
  1020. ; http://php.net/smtp-port
    $ c+ J( J; N% s4 k
  1021. smtp_port = 257 ^( J! p4 x7 o

  1022. " K4 o- R- Q( I+ W2 @4 ?9 i
  1023. ; For Win32 only.9 i1 [  ?0 G  T* }0 O5 R9 r0 j
  1024. ; http://php.net/sendmail-from
    ' I: v# B9 C& l
  1025. ;sendmail_from = me@example.com5 e; W, ]) O9 a! D- [

  1026. 0 P( I! ^9 x: }- f. p- u* x
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").4 ?  Y: o( u. u2 s- d& y
  1028. ; http://php.net/sendmail-path5 C( |3 r$ l4 W; e* w
  1029. sendmail_path = /usr/sbin/sendmail -t -i6 O3 g0 a1 b- f6 i5 b3 h7 t! W  d5 t
  1030. 7 F. {+ j% l4 u; p' |
  1031. ; Force the addition of the specified parameters to be passed as extra parameters# s& P5 m1 z9 r. g5 j4 S8 Y! i) w5 Q
  1032. ; to the sendmail binary. These parameters will always replace the value of
    5 Z! ^2 w1 H: g3 x9 x0 [; [, s5 j' `
  1033. ; the 5th parameter to mail().
    0 B* B4 q) g$ v7 A1 E2 n+ g4 L) {
  1034. ;mail.force_extra_parameters =
    : k. _: @9 Y4 @7 z7 E2 @

  1035. 8 O* g7 ~  V$ Z
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename) z0 ]% O# X, c& g; T
  1037. mail.add_x_header = On  B. d2 r: s1 i8 c2 B
  1038. 2 Q  H8 t; j2 M# D( T
  1039. ; The path to a log file that will log all mail() calls. Log entries include1 Y0 h/ m0 [0 f
  1040. ; the full path of the script, line number, To address and headers.
    ( a$ Y: a, O( K( g6 l
  1041. ;mail.log =
    , ~" _3 O4 `1 m
  1042. ; Log mail to syslog (Event Log on Windows).
    / r; T$ ]" a4 X* c3 n: h4 X) l3 r; K
  1043. ;mail.log = syslog+ |. F  f+ h" e, J( r# k
  1044. ' o  X$ G, U. s% N
  1045. [SQL]
    7 n! _* D3 ?0 M0 w, _. }8 a$ v0 U
  1046. ; http://php.net/sql.safe-mode, V. t1 {6 e+ b8 A' g2 {0 S
  1047. sql.safe_mode = Off
    2 H% o+ `) K3 ?
  1048. ! T& w% ^, v  I& w/ d
  1049. [ODBC]
    3 c; ^! X0 F9 o0 a  V
  1050. ; http://php.net/odbc.default-db6 _0 Q1 c2 H: @) h) [
  1051. ;odbc.default_db    =  Not yet implemented
    2 S$ z/ u( }5 `2 x

  1052. / L/ u/ _  n* i9 t0 [
  1053. ; http://php.net/odbc.default-user! {( K: I* L2 i% |
  1054. ;odbc.default_user  =  Not yet implemented
    8 D* {; g* g6 Z: W( W3 _

  1055. " R# L  P( n5 {  E  X6 U# q9 j+ q
  1056. ; http://php.net/odbc.default-pw
    1 s, W' `5 j# z4 z: Y/ F) |
  1057. ;odbc.default_pw    =  Not yet implemented# L# ^1 i* a) L/ w" u7 d. H
  1058. 3 Y" Z. P; S& A5 h/ m8 U! ]
  1059. ; Controls the ODBC cursor model." h1 U# p- U7 ?$ \  O
  1060. ; Default: SQL_CURSOR_STATIC (default).
    6 N5 R( r- {" w: z
  1061. ;odbc.default_cursortype! ~! H; q  S0 f. u) S, B4 X  l8 O
  1062. ' k2 Q+ T  v9 l/ e/ H1 d
  1063. ; Allow or prevent persistent links.
    1 z# {1 k/ f: F+ m% B# ^
  1064. ; http://php.net/odbc.allow-persistent  L/ H! M+ T9 K4 ~" R" l
  1065. odbc.allow_persistent = On- G, e. D" r9 Q1 m  @
  1066. / \! b+ u5 j/ Y; X+ y, C5 |
  1067. ; Check that a connection is still valid before reuse.$ \0 V6 i+ n8 O; E! x  V
  1068. ; http://php.net/odbc.check-persistent4 G8 ?9 L8 z, c3 D2 U/ D9 F% G  D) i8 ^
  1069. odbc.check_persistent = On4 G: C/ M& t& O) e% d* I' i! |

  1070. 1 V( b/ d9 Q' M2 }1 x
  1071. ; Maximum number of persistent links.  -1 means no limit.. b8 X. c* B( K! ~
  1072. ; http://php.net/odbc.max-persistent  J' u, v6 [7 |3 r
  1073. odbc.max_persistent = -1
    5 Y7 u; v2 u+ f0 e& f' s

  1074. + y% M) k+ e7 I5 _2 b4 [2 }* z1 L
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / P' Z1 _  ]1 [: L' |2 t3 ]- @
  1076. ; http://php.net/odbc.max-links2 Q" h7 G* b  e) b- _" Z' w
  1077. odbc.max_links = -1" n5 t0 Y  s1 p+ r
  1078. ; ~. s! N: g& v# y: H2 u- I+ a! S# c4 U0 x
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ U1 a4 b4 J- }3 {& C2 X
  1080. ; passthru.$ a& m( e8 C7 l) c" O6 j( S8 ^
  1081. ; http://php.net/odbc.defaultlrl9 Y: t$ l7 j3 K. E
  1082. odbc.defaultlrl = 4096# f9 a8 l9 F, C* f

  1083. 6 W/ g  ]% L# |1 W' L& [1 F
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! I4 ^8 S! B4 D. l: k
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 d9 ~- t9 `! O, H
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode; O! U' ~) g% b, K5 Q5 r/ @6 ~
  1087. ; http://php.net/odbc.defaultbinmode% g! R/ k  Q3 I2 }/ ]6 \8 w
  1088. odbc.defaultbinmode = 1
    * c! A6 {) X- G4 v
  1089.   |# U" L: r3 ^2 n  f4 A5 q% y
  1090. ;birdstep.max_links = -1
    9 K! Z$ ^- F8 l5 T0 f( p
  1091. ( ]# ~7 v1 r) v8 I1 `' B
  1092. [Interbase]
    7 ?2 H4 o( |& \" L" e* n
  1093. ; Allow or prevent persistent links.
    : I) {  M# u' M) \5 U
  1094. ibase.allow_persistent = 1, S  y  I( {/ x' X( o! U

  1095. ; ?% z# |2 t- ]( v. q4 I
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ( z0 N& y# V* s. \  T) D
  1097. ibase.max_persistent = -1* r) o+ _5 ?1 N2 ?$ a
  1098. ) ^( T! V. h# g) ?  L+ s" N
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : L8 X, a6 x- Q
  1100. ibase.max_links = -1% }+ J! X; m+ d( @. K9 @) O
  1101. $ ?& M) a% {( y; C
  1102. ; Default database name for ibase_connect().9 u, R3 g# y9 I3 h* J" U& Z
  1103. ;ibase.default_db =
    , J/ _! H9 i' v" `

  1104. ) j6 o2 l8 e0 V% K9 w
  1105. ; Default username for ibase_connect().
    / T, z1 a9 k" A% a2 U2 Z+ h% M% @
  1106. ;ibase.default_user =
    $ F+ n) h! t& s
  1107. 5 R: c2 Z1 r+ |" Q
  1108. ; Default password for ibase_connect().: h6 _! W6 T4 ]6 z- A8 \% R2 B
  1109. ;ibase.default_password =
    ) o2 J) n+ Z, }! Z# n+ q0 E3 ^

  1110. - G* K9 ?4 N5 E6 }: b; }
  1111. ; Default charset for ibase_connect().
    + i3 t3 {7 c) Z9 R7 p# I
  1112. ;ibase.default_charset =2 r" L7 j6 x6 K$ |( H
  1113. ; k$ `: n8 ^* F1 `
  1114. ; Default timestamp format.
    6 C" Q' M& [2 @, X! N! ?, {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"0 h- e! R6 l- d  X0 o; ~* e

  1116. ( {4 d7 x2 ]) ]1 p9 O( h
  1117. ; Default date format.% F3 n, q' a1 `. q4 {! U& r
  1118. ibase.dateformat = "%Y-%m-%d"4 O" f9 R& c1 p9 r& @2 z3 A& B

  1119. ( o, D/ D! D5 E% X
  1120. ; Default time format.8 M& y+ B2 O& l4 E, \% N5 a" A
  1121. ibase.timeformat = "%H:%M:%S"" G7 L5 z3 F) X& p: R
  1122. 6 V/ Z5 _  |2 E! I* [' V
  1123. [MySQLi]: M0 M/ F- E+ h$ W  ]' E1 b8 D1 }

  1124. 4 d/ p6 U  E5 `
  1125. ; Maximum number of persistent links.  -1 means no limit.% v& B/ U( r. _6 h
  1126. ; http://php.net/mysqli.max-persistent
    . s, J. P4 c# H* x- K9 g1 m8 I$ J! {& a
  1127. mysqli.max_persistent = -1
    1 m" z. e; ?- s6 Q! Y

  1128. 4 j# Q  r* e0 Y4 e
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 R' l' ~) u% h3 O
  1130. ; http://php.net/mysqli.allow_local_infile
    ) z/ `: t+ d$ u  Y! t' q! F
  1131. ;mysqli.allow_local_infile = On: h% s9 U' b9 r2 O8 \3 R

  1132. 4 Z- |0 K$ b; _
  1133. ; Allow or prevent persistent links.. d7 D3 v7 {2 L9 S2 l0 P
  1134. ; http://php.net/mysqli.allow-persistent; d/ M6 ]! f- A- L0 g7 S9 G) ~
  1135. mysqli.allow_persistent = On
    2 ~( h' w, w+ E2 s0 Q

  1136. ( Y( I2 D$ O9 I# g
  1137. ; Maximum number of links.  -1 means no limit.0 B  {" g# \* {/ C( z4 u3 l
  1138. ; http://php.net/mysqli.max-links
    $ Y/ ?6 c0 @- M
  1139. mysqli.max_links = -1
    1 O3 _9 A1 G+ ?  p
  1140. ' _9 f. E9 w0 A  f" h5 y6 ^
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      z* ~1 H# O0 G
  1142. ; http://php.net/mysqli.cache_size
    ( Y" ?, x3 p/ X
  1143. mysqli.cache_size = 2000
    # \9 Z# h. H! g

  1144. 7 o/ Q6 A0 b, `9 Q3 i6 e
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use* v( a1 N; X2 R7 E& \( {' q
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the# y$ A- m' @) C6 k0 C0 M4 z3 {
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 v6 Y, N8 z7 r$ w
  1148. ; at MYSQL_PORT.
    7 ^1 a$ @: m3 d; b. R. ~& J
  1149. ; http://php.net/mysqli.default-port1 M! w2 w# v7 L+ y; O, ?1 V( P
  1150. mysqli.default_port = 3306
    * H* a% N$ a% B, J+ ?" u4 O
  1151. " E8 B: I7 v4 C
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * c7 ^3 q3 R8 M2 c7 @
  1153. ; MySQL defaults.
    3 V; z* S( C8 U0 p6 z
  1154. ; http://php.net/mysqli.default-socket: D: e8 u+ F" i$ `! @  E, |; A4 S
  1155. mysqli.default_socket =, S; E7 m3 b4 |7 S3 ]) l
  1156. 7 }/ _6 q$ |5 Y
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    5 ?# Y& P# ]7 B
  1158. ; http://php.net/mysqli.default-host9 k6 W; r* ?" E# U3 O; ~  z
  1159. mysqli.default_host =
    , |+ p5 A6 B9 t6 p" k9 Z3 `

  1160. 5 k3 c' L* |# W
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
      c- _! M& w6 R
  1162. ; http://php.net/mysqli.default-user
    ; A6 [  T, F2 [) b2 A2 U
  1163. mysqli.default_user =1 X+ o. w6 M# {" p$ C1 |

  1164. ' b+ N. T; v$ [
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 k0 v/ c2 z+ r" T# j
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    & \4 O8 ^5 s: ^4 k& [& `
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    : O. C9 e. _* c/ d* P6 k; b  @
  1168. ; and reveal this password!  And of course, any users with read access to this% u# P% C) h" t) [1 Q  f( f1 x* o
  1169. ; file will be able to reveal the password as well.; s: K8 k$ g7 d: D5 y1 d
  1170. ; http://php.net/mysqli.default-pw( p, E/ ~- F) g; m% D4 f+ U
  1171. mysqli.default_pw =
    # q( S+ {' s, y; x7 C0 g9 j

  1172. 9 p- ^5 R1 @% d/ p4 b, l4 H$ c9 I& t
  1173. ; Allow or prevent reconnect5 U) i% _  B( q# G6 D' U4 g
  1174. mysqli.reconnect = Off
    + ^  a( z: Y+ Q, |, d
  1175. 1 c& n1 m# T# [- D8 P0 ~/ ?4 G' ^! A
  1176. [mysqlnd]
    0 H) v8 N0 {, s3 b
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ! s; c" {! u* E0 A
  1178. ; used to tune and monitor MySQL operations.
    9 Z, v0 @9 P* W2 I9 D) F! }
  1179. ; http://php.net/mysqlnd.collect_statistics
    , d* I  i. B9 J. m. j; \; H
  1180. mysqlnd.collect_statistics = On$ M. G( r9 {; Y: O" Z, O

  1181. 8 V* z/ R; x7 J6 m0 a6 X( K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 P" t8 u# t& [2 K
  1183. ; used to tune and monitor MySQL operations." H0 v! p3 t6 p
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    4 v- g) A" n& }9 B& W( j0 i* o. X
  1185. mysqlnd.collect_memory_statistics = Off# v, y4 b! M0 t# u6 B
  1186. . E( @+ P( J' s5 s4 e6 z
  1187. ; Records communication from all extensions using mysqlnd to the specified log& v8 R8 O# r* @
  1188. ; file.
    3 Y5 d( c" f$ p. e; j, }5 E3 `
  1189. ; http://php.net/mysqlnd.debug
    0 ?% C' W$ t: V* ~; Y' s
  1190. ;mysqlnd.debug =
    . e! d9 O! R$ |. ~3 y

  1191. 0 E* r( d: w% l" Y
  1192. ; Defines which queries will be logged.
    , m: N  m( p" y' a
  1193. ; http://php.net/mysqlnd.log_mask
    ; }/ H1 G3 y$ B  o0 i
  1194. ;mysqlnd.log_mask = 0
      }. E  L* K/ J) |9 u- d
  1195.   Q0 ]& g! d3 ?1 ~
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    1 B- O! N- ?: ~" d
  1197. ; http://php.net/mysqlnd.mempool_default_size5 k4 `5 x1 f) }& L' `+ `: K9 P5 j. F; m3 u
  1198. ;mysqlnd.mempool_default_size = 160006 a7 |7 ], c" o' F4 d: g% j+ H
  1199. # h9 i; {( s! j' W' \6 W9 G
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.) q5 y6 H, H, s$ T2 D* p6 U
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size' N6 I& _0 [* V  i
  1202. ;mysqlnd.net_cmd_buffer_size = 20485 k2 u5 @; }7 K1 W/ H

  1203. % J7 Z* @. h! z. j
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! F  N- b; `) r+ r0 l0 d
  1205. ; bytes.; y* ?/ O. C1 b0 V7 C
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    + i3 r  `. j) u, p2 t. y: v
  1207. ;mysqlnd.net_read_buffer_size = 32768# K$ F# m1 |# w! N

  1208. / q( u" o$ S7 ~$ V( w0 J
  1209. ; Timeout for network requests in seconds.' i  b0 {: b& O) |3 O  p" l
  1210. ; http://php.net/mysqlnd.net_read_timeout& ~. k) f) U1 ]2 b, p! s
  1211. ;mysqlnd.net_read_timeout = 315360001 ?0 F  U, R9 N5 i: U
  1212. 0 [0 r6 a4 K0 Y( w2 g# C. B
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    0 b$ L5 {5 Z' B0 i
  1214. ; key.' r9 n; q. n' ?2 K# Z( t. o
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    * A' \3 S9 V$ r& e
  1216. ;mysqlnd.sha256_server_public_key =
    * i- y: b* |: Z. p  l

  1217. : q, R6 ^4 a. ^5 Q" G) C
  1218. [OCI8]1 _5 b0 r' b% d& `
  1219. ! B2 p/ f& ~8 A2 t5 Q  z
  1220. ; Connection: Enables privileged connections using external5 `. J+ r/ d9 M! w- v6 [" ?
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 h. L3 j0 L# D6 c
  1222. ; http://php.net/oci8.privileged-connect) v7 a$ {% G! a3 Z0 S
  1223. ;oci8.privileged_connect = Off8 l' q1 q* s$ m. |/ h

  1224. 1 D7 c( n, S8 z, e& I
  1225. ; Connection: The maximum number of persistent OCI8 connections per( d$ U8 S* o7 F8 l  f2 r& Y
  1226. ; process. Using -1 means no limit.- d, ]: x" ]' z' P1 M
  1227. ; http://php.net/oci8.max-persistent
    + W4 Y; f- s2 D. w$ B- a- @3 {0 b9 J6 z
  1228. ;oci8.max_persistent = -1! R( u1 Q- o0 @

  1229. 4 j5 a, [% w8 ]) h0 ]1 x
  1230. ; Connection: The maximum number of seconds a process is allowed to1 ]% {5 [  V' H8 p5 R
  1231. ; maintain an idle persistent connection. Using -1 means idle
      A5 M6 z% I6 v& d  `7 C! Q- B
  1232. ; persistent connections will be maintained forever.3 @* i' _8 X) c
  1233. ; http://php.net/oci8.persistent-timeout+ ?3 K1 M# x5 K  S; z
  1234. ;oci8.persistent_timeout = -1; [, V( Q9 i% }# u4 N" |

  1235. 7 H& J; K: ]; e8 {$ \
  1236. ; Connection: The number of seconds that must pass before issuing a
    # d3 n+ ^( c. |1 R/ A5 |4 D
  1237. ; ping during oci_pconnect() to check the connection validity. When+ \$ H6 v3 W7 b: E; ~2 O
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ P0 |; x" p' S6 Z% H
  1239. ; pings completely.
    & I; G9 u$ r( C# n$ o. \
  1240. ; http://php.net/oci8.ping-interval) X& Z+ Y' a$ j6 ]
  1241. ;oci8.ping_interval = 60
    4 P6 e7 D/ R% V. z& a: y2 I

  1242. - R, `0 u; \" k2 [" ^
  1243. ; Connection: Set this to a user chosen connection class to be used5 r) _/ }) l3 {  ?- t. S9 r
  1244. ; for all pooled server requests with Oracle 11g Database Resident  X; T2 s; T' `2 [6 F5 s
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to6 S/ f; S9 \: i7 z3 l) {0 }' E
  1246. ; the same string for all web servers running the same application,9 r% [1 S, Z, G7 Z5 F- Z
  1247. ; the database pool must be configured, and the connection string must- }8 }# f) N8 z! Q
  1248. ; specify to use a pooled server.! N$ L8 ]: Y/ c  Z6 `
  1249. ;oci8.connection_class =
    - S) c5 I9 \( O6 R
  1250. # g0 h7 d0 m( ~- d1 Z1 C8 }; D+ O0 q0 `
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ) B/ o6 F! j* Y' P" ~( O
  1252. ; Notification (FAN) events generated when a database node fails. The
    $ B0 X0 `8 C, c/ K1 e- Y7 Q
  1253. ; database must also be configured to post FAN events.
    $ w& E0 }3 S2 s- B9 |
  1254. ;oci8.events = Off
    ( C  O" r6 y3 B: Q
  1255. 2 c8 w, W% h  X/ q
  1256. ; Tuning: This option enables statement caching, and specifies how
      P; R: t, d: g) U
  1257. ; many statements to cache. Using 0 disables statement caching.0 `" j3 ]. x6 R' O
  1258. ; http://php.net/oci8.statement-cache-size$ }3 u5 x1 ^: F$ H1 \/ h% d% O: t1 y) R& c( v
  1259. ;oci8.statement_cache_size = 20
    . m- V& Z4 n; [2 |+ [
  1260. 7 K% k: J8 j) c' {. P
  1261. ; Tuning: Enables statement prefetching and sets the default number of( @$ T) [5 t; S) y; N6 J
  1262. ; rows that will be fetched automatically after statement execution.) B/ k$ c9 _4 l/ C
  1263. ; http://php.net/oci8.default-prefetch
    & S+ ]  D/ T% c% q  A
  1264. ;oci8.default_prefetch = 100
    ) }; P% f. w( D: h! y

  1265. % H, V" D" Y5 y& m# V
  1266. ; Compatibility. Using On means oci_close() will not close- p7 Q* c; C* K3 n3 h  T0 H
  1267. ; oci_connect() and oci_new_connect() connections.' ]( _4 t& Z6 l$ ~! b
  1268. ; http://php.net/oci8.old-oci-close-semantics
    4 R- k9 ]; s' ~! O5 J
  1269. ;oci8.old_oci_close_semantics = Off
      l4 }  u9 F7 U2 X
  1270. 2 e4 A( K5 R4 d8 \! N4 S
  1271. [PostgreSQL]
    / x2 w8 h6 b  m) f, [. A
  1272. ; Allow or prevent persistent links.
    $ [( O) x! ?) z" |3 d# l
  1273. ; http://php.net/pgsql.allow-persistent
    # {& ^! ]4 d' F5 F
  1274. pgsql.allow_persistent = On3 T8 z5 l, L1 y2 k8 O  x

  1275. $ N4 N. I0 [& q# W1 }' u
  1276. ; Detect broken persistent links always with pg_pconnect().
    1 E% _% ^) A9 H4 q) N# h( H
  1277. ; Auto reset feature requires a little overheads.' A! ^+ N6 [) Q
  1278. ; http://php.net/pgsql.auto-reset-persistent
    8 C8 R) L: J% D5 N/ K% \
  1279. pgsql.auto_reset_persistent = Off7 a1 L5 k! Z( B. s& Y0 E8 f

  1280. 2 U6 F2 A3 [1 x
  1281. ; Maximum number of persistent links.  -1 means no limit.& J" F) E& Y+ r. r* }+ R
  1282. ; http://php.net/pgsql.max-persistent
    : l5 a8 A6 p! s- U
  1283. pgsql.max_persistent = -1
    + U( d7 E2 R" T; V# m* q

  1284. . q1 K5 k- z  n( l$ b3 l/ w9 t  ~
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.2 b7 J6 R1 G/ L$ f/ |
  1286. ; http://php.net/pgsql.max-links
    " z" K5 j, J/ i
  1287. pgsql.max_links = -1
    $ n- k+ u+ k5 U- X5 n3 u0 z" @
  1288. % g, P8 _6 k4 Z* W
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ( C/ Z5 K0 A7 `3 z
  1290. ; Notice message logging require a little overheads.
    + \9 C  W* `. M8 H' W
  1291. ; http://php.net/pgsql.ignore-notice0 v# M* Q$ n. w7 f. k
  1292. pgsql.ignore_notice = 0
    & M# l- ~* |2 h+ t

  1293. 8 ~; \% K# W7 ?' i3 b' V4 D+ p
  1294. ; Log PostgreSQL backends Notice message or not.. ~% F- G% g' L8 k, u, i
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    5 m3 d  o* n+ _; o+ _5 Z2 d) v+ a9 Q; x# S
  1296. ; http://php.net/pgsql.log-notice
    . D. V9 S- X& B( n$ h$ Z
  1297. pgsql.log_notice = 0% Q9 x' K( w% w% A) ^+ K

  1298.   x4 `3 |- P. B/ V1 f
  1299. [bcmath]
    : f  P  T+ m) ^6 Z" f6 a
  1300. ; Number of decimal digits for all bcmath functions.4 F$ t5 c! D% P3 `. o
  1301. ; http://php.net/bcmath.scale: v7 h+ F, w3 K9 B1 P1 a
  1302. bcmath.scale = 0
    5 l. a- u) G" Z4 a3 U+ C  P

  1303. % s8 ~, i: d, v6 v# b
  1304. [browscap]/ A( J9 o1 [+ R
  1305. ; http://php.net/browscap
    , G7 I3 y# D7 M% B8 L
  1306. ;browscap = extra/browscap.ini& @. g- w  D, ]5 D4 T. M1 J
  1307. ) q) i' g0 t+ v6 [
  1308. [Session]+ z# I) @, d( c" @3 z* e4 f' V
  1309. ; Handler used to store/retrieve data.+ t: y$ X/ T9 p, g9 [# {5 m0 w
  1310. ; http://php.net/session.save-handler
    % r4 l: I2 b! U; F
  1311. session.save_handler = files% i% a8 k8 \. V1 R

  1312. $ ?' G: H8 ~: q  u# c1 R3 h
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ; B# k6 Z8 M3 |. M! W: X6 m
  1314. ; where data files are stored. Note: Windows users have to change this
    2 e" v8 D, `" q4 v( ^  F
  1315. ; variable in order to use PHP's session functions.
    - o; m! m) J( ?
  1316. ;, u" a- ]! g2 x, C
  1317. ; The path can be defined as:
      _2 H& @' }8 c8 m0 @# B$ r
  1318. ;" E  A1 W3 q7 K' j. D, A; j
  1319. ;     session.save_path = "N;/path"* ^, Z7 k* \/ u. A% v1 H
  1320. ;
      w( G. O2 R- ^/ z4 S
  1321. ; where N is an integer.  Instead of storing all the session files in
    # i/ t6 H1 r& l: W
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    & b* {  K/ Q& G8 w2 F) z
  1323. ; store the session data in those directories.  This is useful if
    & U! b! V3 H0 q3 Y5 Z  J  n
  1324. ; your OS has problems with many files in one directory, and is3 C. @8 m# j) p0 U4 _3 ]1 j7 S
  1325. ; a more efficient layout for servers that handle many sessions.
    3 T6 t3 M) o$ V! I
  1326. ;
    4 s# Y2 `7 f7 d2 ^0 @. D1 E
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    . n4 w, M. B# g" s2 `* _
  1328. ;         You can use the script in the ext/session dir for that purpose.
    0 y) f1 t, p2 _' d
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    3 O1 D) x" |* B" X/ ~/ F
  1330. ;         use subdirectories for session storage
    0 `- F5 x+ v9 ^( b& O
  1331. ;
    ) h5 W/ g5 a' X" i& u; V5 ~& I
  1332. ; The file storage module creates files using mode 600 by default.3 S. {! m% r# a: r
  1333. ; You can change that by using
    ) M$ T2 l% v1 r7 i" z; K
  1334. ;
    8 M4 A0 O+ a3 v4 ?0 K* [* X& z
  1335. ;     session.save_path = "N;MODE;/path"0 q* K2 o$ H6 j' k. N. i, U
  1336. ;4 b6 a. {' t+ y- c5 o" w# a
  1337. ; where MODE is the octal representation of the mode. Note that this& q3 m6 X9 `8 p+ a% O$ H) N
  1338. ; does not overwrite the process's umask.
    # a+ i/ d# S( _! y
  1339. ; http://php.net/session.save-path8 J6 A8 L  P+ k- Q
  1340. ;session.save_path = "/tmp"
    # t+ J1 S: x$ w2 y8 P: l. I
  1341. 8 G  t- W( w" M1 Z
  1342. ; Whether to use strict session mode.5 C, T# h. Z" C/ O  t9 r
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 }! I) q( K* D: X7 o
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects' I& ]6 T5 j( n! ^% e9 b
  1345. ; applications from session fixation via session adoption vulnerability. It is
    6 M& r' [+ V! x8 p, d$ T( Q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 Q$ N3 E& P' b9 \$ K7 |
  1347. ; https://wiki.php.net/rfc/strict_sessions- j( C4 S! s/ e1 O
  1348. session.use_strict_mode = 01 E- {$ X( g/ Z8 Q* \2 l

  1349.   k; ~7 v* W; Z9 h' J2 m6 }
  1350. ; Whether to use cookies.
    , k  v! z# k( ]6 f0 p3 T0 J
  1351. ; http://php.net/session.use-cookies/ h0 ^% f0 q! V9 X" V2 X7 T& `
  1352. session.use_cookies = 1
    1 Y% G" @: V" l# `1 r9 D9 V
  1353. + ?' b8 r2 |5 d
  1354. ; http://php.net/session.cookie-secure& L2 G' b5 Q0 M" m' K
  1355. ;session.cookie_secure =
      H; ~' p4 M" k+ @3 |

  1356. ( n& g0 F6 A* g& x) W
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining: |, L% E! D$ ^  [# l
  1358. ; the session id. We encourage this operation as it's very helpful in combating: h( a/ S' k5 z, H  w) o& T
  1359. ; session hijacking when not specifying and managing your own session id. It is- ~  a* U7 E' v- T0 K6 e& T& u  O9 g& y% Q
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    & ~' T* C# C  }4 P4 h
  1361. ; http://php.net/session.use-only-cookies
    : u/ R, f* }; N) n- C0 }/ k
  1362. session.use_only_cookies = 1
    7 h- P! ]+ j0 b( B9 r3 i
  1363. 0 o( `* S" ^# k7 e& v& B; I
  1364. ; Name of the session (used as cookie name).; f+ j* J7 W$ j7 U0 ~- A
  1365. ; http://php.net/session.name
    ; j7 s  X9 e) n$ T8 o
  1366. session.name = PHPSESSID
    . p9 x- I; V8 A& f" }) A) O3 q
  1367. 9 p* O8 @$ a1 I* ]3 b/ `: q# t
  1368. ; Initialize session on request startup.
    ( @) X# C( f: n5 }8 u# P
  1369. ; http://php.net/session.auto-start
    9 E, J' X8 u4 B: \- F
  1370. session.auto_start = 0
    + Z) M7 y4 @% N; q
  1371. - z4 E  \7 ]1 o5 @
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ) [# V( H$ r, U$ o  z
  1373. ; http://php.net/session.cookie-lifetime/ f" @/ {" @7 U8 B0 f
  1374. session.cookie_lifetime = 0% b* {+ x; @1 s+ _1 h5 [1 F
  1375. $ x! {  ~2 g8 [& }* i9 ?
  1376. ; The path for which the cookie is valid.
    6 ^$ v0 L; Q( Y1 z
  1377. ; http://php.net/session.cookie-path
      o6 p% M& q# }+ {/ X- ], `4 \. t& O! h
  1378. session.cookie_path = /, [1 S" u+ S9 _3 ]

  1379. ! d/ I7 _( e# i/ Q$ y9 [7 K
  1380. ; The domain for which the cookie is valid.
    ( U+ C4 q' N# n( \
  1381. ; http://php.net/session.cookie-domain, {" a% t  s" ^
  1382. session.cookie_domain =
    2 d3 g- f: Z! r) T) h. X  D
  1383. & N: B5 X/ p3 S4 a8 v/ e' p
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.: w1 i2 c+ v  E* U$ A8 R  e
  1385. ; http://php.net/session.cookie-httponly
    " N$ T3 s' a! H8 R/ [2 P, f& m
  1386. session.cookie_httponly =
    . o& X" a  r8 ^# z+ w

  1387. , J6 k6 M; v! |
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.) L9 `. Z# [! S+ M; G+ A
  1389. ; http://php.net/session.serialize-handler8 X( e) f0 v4 [/ ~9 m7 {4 V3 w" w
  1390. session.serialize_handler = php" E& U) D$ Q% l+ ^5 T9 v
  1391. 6 M/ o+ q. L( D- \7 _
  1392. ; Defines the probability that the 'garbage collection' process is started& M$ ^- b" ]# X7 C0 z" ?+ u
  1393. ; on every session initialization. The probability is calculated by using1 z$ B+ U2 T5 N! ]) a' W, ^
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    & y: z1 {# F* j$ H' w
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    6 u; B# R, g; d# t4 N
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! c' W! L( V5 D4 y
  1397. ; the gc will run on any give request.
    : g( u: a! y* M2 `6 T
  1398. ; Default Value: 1
    6 v+ G! g5 y. i* P( D. v2 T
  1399. ; Development Value: 1: ^$ c( Y, z* \2 e- n
  1400. ; Production Value: 18 `4 _4 u/ H( p" G
  1401. ; http://php.net/session.gc-probability
    3 K8 U/ b2 m5 V6 s* }
  1402. session.gc_probability = 11 s% U3 t/ ]9 P  X  K3 i

  1403. 7 R) M9 w  g" v6 S' g
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    $ g! }7 l# R7 m. [! Q% D. v& k5 T
  1405. ; session initialization. The probability is calculated by using the following equation:
    4 }' g! W) _- j) y1 w! M( m
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - M6 M5 j' i5 R+ N9 n# A5 {
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    4 E0 D/ H8 B* E/ _
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ T: a  M0 D1 A  X6 h! ?2 J
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 A. U3 W$ q( I
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
      `- n: A- n7 }/ L. t6 h
  1411. ; this is a more efficient approach.
    : t8 e$ {7 ~4 C$ b! j- M5 L4 i' c; q
  1412. ; Default Value: 100/ o7 Z; s9 g: S4 o* @- I8 ~) w
  1413. ; Development Value: 1000. B0 F  D  P8 D; \
  1414. ; Production Value: 10002 l( |2 A/ O9 D4 ?% c5 j
  1415. ; http://php.net/session.gc-divisor0 B" H2 S7 M/ o  q& I% P# r
  1416. session.gc_divisor = 1000
    " Q3 Y1 Q% t1 ]- D- P" Q

  1417. * r! |& g! b: A6 C: \7 F5 v  g
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
      T8 b: ?! j4 L6 h% H
  1419. ; cleaned up by the garbage collection process.
    & I* i* F* B1 X3 H; r- F/ X
  1420. ; http://php.net/session.gc-maxlifetime1 }& d: W9 Q: o0 [! H" M; Y! Q
  1421. session.gc_maxlifetime = 1440( H( A- P# N, y1 n8 y* e& z' y% ~; e
  1422. $ m* j1 s6 w( K/ @; p8 K1 M
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    7 }: a9 Q" @! _- s# f& f3 f
  1424. ;       (see session.save_path above), then garbage collection does *not*" D; o1 Y- y8 u0 b+ m
  1425. ;       happen automatically.  You will need to do your own garbage2 g' a: e9 N, N6 u
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 ?/ M$ N6 U* x+ P" D
  1427. ;       For example, the following script would is the equivalent of- C) Q9 v& P( }
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. A4 c% `  h1 \' n
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( `! a- b6 ~$ @) }8 v
  1430. " o: h: q) a- S; Z' |
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.$ @( {) F) w8 g! v
  1432. ; HTTP_REFERER has to contain this substring for the session to be6 t' S$ g* j2 F5 C
  1433. ; considered as valid.& D! m' b. a7 f# N$ Y* ]
  1434. ; http://php.net/session.referer-check
    ; a' ^% f  c% N  K; [
  1435. session.referer_check =$ c2 S$ a+ n2 a, k  |
  1436. 1 `# f6 h, X2 ?/ S7 `( o$ `1 u* C
  1437. ; How many bytes to read from the file.
    1 U4 d- p# ^# k7 l  `
  1438. ; http://php.net/session.entropy-length
    - @- u6 Q8 P' l; S+ q, T5 m  _
  1439. ;session.entropy_length = 32* V& C* N3 @7 g- p* @
  1440. , {1 S  Z5 I5 e
  1441. ; Specified here to create the session id., t& A& A: m/ [6 S# Y8 b4 {: T) x
  1442. ; http://php.net/session.entropy-file
    3 p: Q# O9 j5 Q) ?: o* N
  1443. ; Defaults to /dev/urandom
    . ?" j% V$ l/ m# U+ p9 V# v
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom7 o- h( M" |! a5 M! B: q1 V
  1445. ; If neither are found at compile time, the default is no entropy file.
    * ]; `& B% a& Y( ?- ~
  1446. ; On windows, setting the entropy_length setting will activate the- l  P) [7 L/ j) n9 x8 E
  1447. ; Windows random source (using the CryptoAPI)  X6 f% X- |# ?' a; l: t3 B% ^
  1448. ;session.entropy_file = /dev/urandom
    3 i0 q2 d, {$ B

  1449. $ ~* y8 a; b1 i5 |
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects; c3 V& p3 ^  w* |! y
  1451. ; or leave this empty to avoid sending anti-caching headers.9 O7 J/ x) T4 G
  1452. ; http://php.net/session.cache-limiter! p' H* h; h9 v% `1 d6 p; a% ~
  1453. session.cache_limiter = nocache
    # y# X5 r! d; H0 H  h
  1454. ' j; j7 o4 D4 v4 V
  1455. ; Document expires after n minutes.
    " J6 z, j7 Y- n2 Y7 y
  1456. ; http://php.net/session.cache-expire* L$ d' p; W+ f( a/ d
  1457. session.cache_expire = 1800 [6 b$ U- B0 H: X

  1458. 4 C( I! ^+ g$ R4 w4 K" Q
  1459. ; trans sid support is disabled by default.5 d7 D: l$ w' ?% }& ^. P
  1460. ; Use of trans sid may risk your users' security.  r! V. O! s" a: n/ W  N
  1461. ; Use this option with caution.3 C3 P* p& V. ?3 |' s- r" \. M
  1462. ; - User may send URL contains active session ID/ {1 _! t5 m6 u' ]. Q; T/ s
  1463. ;   to other person via. email/irc/etc.
    / `# |% k  D; D. N
  1464. ; - URL that contains active session ID may be stored
    # }( Q7 V/ D/ ~: ?8 H, i8 v
  1465. ;   in publicly accessible computer.' d6 p3 Q9 L+ ~. b5 v
  1466. ; - User may access your site with the same session ID6 u' B+ E' ?# {) U8 ~7 p+ G- b
  1467. ;   always using URL stored in browser's history or bookmarks.
    - L& B* p$ I6 T
  1468. ; http://php.net/session.use-trans-sid8 K' W# l7 ?" E5 s' s
  1469. session.use_trans_sid = 0/ d) Y* K! i- ?3 X5 d& m0 n6 d

  1470. ; U4 w5 j3 j0 y5 \4 O
  1471. ; Select a hash function for use in generating session ids.
    . a( R; _% V5 X; ?7 q
  1472. ; Possible Values( w, M, n) k. W' s; M( o; a' t& d3 U
  1473. ;   0  (MD5 128 bits). A8 q# S  O3 v: E5 o5 U
  1474. ;   1  (SHA-1 160 bits)# f0 Q" Q- Z1 o! e* |( w% ]: Q
  1475. ; This option may also be set to the name of any hash function supported by
    3 f8 ]0 P7 d5 H( @. [  ~% P
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()( `0 ^) f/ `1 I* ^( T; _* E
  1477. ; function.
    ! \' J6 H+ L, J* u% g2 h
  1478. ; http://php.net/session.hash-function7 w" T1 h3 P) k( j/ n+ {! W; P
  1479. session.hash_function = 0# Q: O: X2 u% Q, H# \" N9 Z
  1480. 3 P$ |. W! l: }1 x" \4 p8 y' l& v
  1481. ; Define how many bits are stored in each character when converting/ k3 N3 o' a7 d. }8 V$ x1 x
  1482. ; the binary hash data to something readable.( d% R; p4 V$ o- T" n
  1483. ; Possible values:
    0 h* J/ y  W: d
  1484. ;   4  (4 bits: 0-9, a-f)9 m! S! o2 a0 K" K7 ]$ o6 e$ B7 R+ B
  1485. ;   5  (5 bits: 0-9, a-v)+ f+ `; Y3 m0 H- ^( L% |, R4 J
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
      Z6 @) x! k, Z# n! [1 i# s
  1487. ; Default Value: 45 T+ o/ ?8 Q6 C1 H1 _# Q4 k
  1488. ; Development Value: 5
    . p5 P8 _  \+ X1 f
  1489. ; Production Value: 5
    ; d; Q# C" P+ A! S& x6 J9 a. Y
  1490. ; http://php.net/session.hash-bits-per-character
    , ^6 L9 L( K8 q
  1491. session.hash_bits_per_character = 5" p) U5 ~% N- Z% d

  1492. # @/ x4 g6 v$ M
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    % @# F: n5 r  _
  1494. ; form/fieldset are special; if you include them here, the rewriter will  R: i5 z5 V4 z3 s3 ?# U  h' U
  1495. ; add a hidden <input> field with the info which is otherwise appended. k$ s) A( I& K$ i) k8 x
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 N7 C7 v: c3 S4 _8 q- k
  1497. ; Note that all valid entries require a "=", even if no value follows.
    2 m: J* i8 V; N* ~' S+ r- i
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ Y4 \' n5 D- n- q; ]
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": y3 o, l5 I% F3 u
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") B% o! u& v% [! M1 R" b
  1501. ; http://php.net/url-rewriter.tags
    / ]5 L1 h+ l0 ~. K! ?" w
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"3 L3 Q1 T% q  Y

  1503. ! w2 z4 H8 q/ E$ |9 B, h
  1504. ; Enable upload progress tracking in $_SESSION
    4 r/ d& Z5 ~- M/ O' h) B0 F, \
  1505. ; Default Value: On
    1 t, u1 e( w2 V3 m
  1506. ; Development Value: On
    - L- F% g7 _, S  L, l1 p+ @$ C
  1507. ; Production Value: On) a2 G  K3 b1 C+ [( z& ?$ z( l: k
  1508. ; http://php.net/session.upload-progress.enabled
    7 a( ^- B, p* F. d7 U$ u% j3 \
  1509. ;session.upload_progress.enabled = On2 q2 E8 O0 C4 E  Z) G

  1510. , |: a+ x9 i* _
  1511. ; Cleanup the progress information as soon as all POST data has been read
    % |: a5 D# D! I; @' `3 @% Y
  1512. ; (i.e. upload completed).
    + x  H0 c# `2 W4 n. N( q
  1513. ; Default Value: On. I/ ?) h% z/ O& P6 R
  1514. ; Development Value: On
    3 L% `! r" H# V! P* n9 u/ X7 ~, P0 o
  1515. ; Production Value: On8 L# f+ Y, j1 V+ I7 I
  1516. ; http://php.net/session.upload-progress.cleanup7 W# l2 o; W! U
  1517. ;session.upload_progress.cleanup = On- Z) B) m2 a9 }8 X0 ~% b
  1518. + l9 I+ L$ n1 v! c3 w, u. b$ a1 \
  1519. ; A prefix used for the upload progress key in $_SESSION6 F$ p  C2 p; p- t1 }) d2 ~
  1520. ; Default Value: "upload_progress_"
    5 U4 A& {; X6 T. [  y
  1521. ; Development Value: "upload_progress_"& m( }: B4 S( _+ b3 [
  1522. ; Production Value: "upload_progress_"
    ' W, g- @' ?. \) T7 K/ u
  1523. ; http://php.net/session.upload-progress.prefix
    5 M( e+ J5 p5 |0 V% b
  1524. ;session.upload_progress.prefix = "upload_progress_"
    7 v% m% B6 D: }$ Z

  1525. : K$ _0 u1 W* f. o. _
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    0 K* Q% S3 m* y; q' \' T
  1527. ; containing the upload progress information: W& X: P! A7 o4 O
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS") D0 s; g5 S3 f
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 I; ?* f+ g9 Q
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & K) q9 d0 J& B+ D. K7 B
  1531. ; http://php.net/session.upload-progress.name
    . L/ b6 i! ]* N
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * ^; v; _! d) p6 x

  1533. 5 r) }7 ]9 W5 h
  1534. ; How frequently the upload progress should be updated.
    " ^& p! y; Y$ p& N' X& p- O
  1535. ; Given either in percentages (per-file), or in bytes
    ' D# D& A5 F. ]% d9 o
  1536. ; Default Value: "1%"7 {/ |# N. B& j9 R9 t
  1537. ; Development Value: "1%"
    * j8 |4 b% O/ U! i/ J9 w
  1538. ; Production Value: "1%"
    * b% o. @& u) M1 k7 h9 {$ K; x
  1539. ; http://php.net/session.upload-progress.freq
    / p: F4 [; R% T6 L8 D; g# [
  1540. ;session.upload_progress.freq =  "1%"
    % a# ^2 @3 p: ?! {

  1541. . p- e/ W) H! o( `
  1542. ; The minimum delay between updates, in seconds; q* ^1 X* p* Q2 R0 q7 d
  1543. ; Default Value: 1+ Y- _7 s: ]8 K8 u# N+ t" z
  1544. ; Development Value: 1
    # m) S+ m; }+ J
  1545. ; Production Value: 1
    7 K( d2 Z5 T3 X
  1546. ; http://php.net/session.upload-progress.min-freq
    : d+ _' i/ t6 h$ h4 t: J
  1547. ;session.upload_progress.min_freq = "1"$ ^0 a" n" u" M2 E0 L- E: F
  1548. . G/ i$ K; H# @. _- u9 d
  1549. ; Only write session data when session data is changed. Enabled by default.
    & W5 y' [7 D2 _9 b& \
  1550. ; http://php.net/session.lazy-write
    # \" s3 F* f& \
  1551. ;session.lazy_write = On
    7 Y" W5 h/ x9 w& [' |' |7 V& g

  1552. ' g( e; w5 r% M% n# M
  1553. [Assertion]5 J2 C# c- ~4 p2 c! ?$ |
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    7 C/ t  p# o3 q, }( M
  1555. ; -1: Do not compile at all
    8 h3 q* y8 J$ P
  1556. ;  0: Jump over assertion at run-time' ]! B& ?2 @+ g" Y/ b8 m) Q; f2 p
  1557. ;  1: Execute assertions$ ^$ K1 H* J( N( b
  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)5 q" ?5 K8 z3 M& \: d' a
  1559. ; Default Value: 10 e6 i" b9 Y; E* C) i8 ~
  1560. ; Development Value: 1
    ! ^3 u& I8 B5 A8 y+ V. u
  1561. ; Production Value: -1
    9 q0 w* R5 w) ?" ?# P
  1562. ; http://php.net/zend.assertions/ W7 r- `7 p" s- \5 i' l
  1563. zend.assertions = -1
    ; h7 ~: O1 @- B+ T* l
  1564. / a$ q# N0 N. c
  1565. ; Assert(expr); active by default.7 h1 y( ?  C# l3 F2 H& o- E
  1566. ; http://php.net/assert.active
    ! G% z) T* I# P0 a3 @- W! ~# W
  1567. ;assert.active = On  ^- S+ U* f8 x' R6 P. D& l

  1568. + B5 N1 z6 |) u  s6 c; |0 K, Q
  1569. ; Throw an AssertationException on failed assertions! B% c+ ^* w: n0 A4 v
  1570. ; http://php.net/assert.exception8 T" C+ r7 p$ o6 M2 f
  1571. ;assert.exception = On) s1 ~7 ^. e' T- C

  1572. 1 z, D, P- D- F5 B% g  j
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active), d  v  R' B7 A# T  H0 _/ s/ p* b
  1574. ; http://php.net/assert.warning5 d6 l& G; `* \/ L  Q* q3 }4 q
  1575. ;assert.warning = On
    0 F7 w3 u9 F* b6 S, g4 X
  1576. 8 a. B2 {( u1 u$ s$ j
  1577. ; Don't bail out by default.( w. a$ i( s5 j: v4 ~9 W
  1578. ; http://php.net/assert.bail
    , P. _2 a# V. {+ d' j5 N$ y
  1579. ;assert.bail = Off
    / w) Q) k$ d1 W/ N8 i$ @- \: ~

  1580. ' c- G' r4 x7 v- d9 N" i
  1581. ; User-function to be called if an assertion fails.( w; k, b2 k5 F/ f
  1582. ; http://php.net/assert.callback7 q; P! ?0 W4 `5 p  T
  1583. ;assert.callback = 05 s6 f5 Y8 h$ y$ Q5 r/ N* Y' j

  1584. - j" M4 d9 W# ^4 v6 E- f' n
  1585. ; Eval the expression with current error_reporting().  Set to true if you want8 j& p5 y" v6 V& b6 N+ `  |! [; F
  1586. ; error_reporting(0) around the eval().
    / U& ]% W( X. j$ B6 s
  1587. ; http://php.net/assert.quiet-eval4 G' A! L5 A- X5 {) ?
  1588. ;assert.quiet_eval = 0
    9 l! t5 O9 c# \5 P
  1589. % ^) i: z7 w4 C% B
  1590. [COM]( B0 V" r* @/ a' |$ q5 n' s; t
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 n( U% f; |8 {! y& E6 L# x2 h
  1592. ; http://php.net/com.typelib-file. o3 l% A& ?# s
  1593. ;com.typelib_file =
    8 F6 {9 P9 j9 S: O
  1594. - q, H( E/ S, q# o5 ^' {
  1595. ; allow Distributed-COM calls! K: @, \  Y0 Y
  1596. ; http://php.net/com.allow-dcom
    1 M7 b1 T2 E$ E: N4 ]
  1597. ;com.allow_dcom = true8 Q& C6 a" W" l5 |% [

  1598. & }+ M4 y6 N5 f$ y2 D: X
  1599. ; autoregister constants of a components typlib on com_load()* M) o1 L/ d; Y
  1600. ; http://php.net/com.autoregister-typelib
    + p( H8 i( ?3 b' h- E' W
  1601. ;com.autoregister_typelib = true
    , N7 \# ~7 R  W& h

  1602. 2 d( S% v4 h1 i1 j1 n3 A; f
  1603. ; register constants casesensitive# ~% C. ~; n4 e9 V5 ~
  1604. ; http://php.net/com.autoregister-casesensitive
      q7 ]. s9 a6 T5 `( D" ?
  1605. ;com.autoregister_casesensitive = false
    1 P6 y) Z; d9 r- F1 T

  1606. + {0 Y, I. ^, h$ s8 x7 h5 e
  1607. ; show warnings on duplicate constant registrations; B9 X5 @6 G, \% q0 l* s4 O/ x
  1608. ; http://php.net/com.autoregister-verbose! d% r8 T6 z' R# z9 q2 m
  1609. ;com.autoregister_verbose = true
    * j- v$ `' c6 I: l3 ~0 R

  1610. 9 Z) k, S0 A- C# N' X1 B7 S
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    0 W7 X# }& a2 S/ z4 o+ G& X9 X
  1612. ; Default: system ANSI code page  M3 v# {0 R* I" Z. v; y" U) x
  1613. ;com.code_page=! r! C% D. ~  v
  1614. 3 k& d7 s6 r$ ^$ S! k3 \
  1615. [mbstring]
    $ x( S2 j1 m) x( F( ]
  1616. ; language for internal character representation.5 s4 P  o9 [& c0 A+ w  j
  1617. ; This affects mb_send_mail() and mbstring.detect_order.4 D' [  p  y% I( }: H
  1618. ; http://php.net/mbstring.language
    7 R  X$ n; @+ ?+ T8 H6 m+ d/ W0 `
  1619. ;mbstring.language = Japanese3 K, v- k1 D" F9 W: P' q

  1620. ' H4 l+ h% w) @% _+ x
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * b. j& j' M! J  V
  1622. ; internal/script encoding.& j8 }) f7 b' d0 e) _! x' f7 i
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)! x2 F4 D! k* x$ ^: H' U- w
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 f0 I" Y7 T& R" [$ T6 N- |
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 Z3 N! z4 q6 g* ?# ]
  1626. ;mbstring.internal_encoding =/ t6 q' J; d. P' R

  1627. * d6 u+ Q& K* e! A6 ^
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.- [/ o" o+ A% c
  1629. ; http input encoding.
    / h, D2 y: f- S9 D* ?2 a% M& g+ Y
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    # K+ r( F2 B  I* U! H6 \" X
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.$ M1 o. L, @( v0 _& r& R4 ~
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input7 t# u  ~$ `4 g4 v
  1633. ; http://php.net/mbstring.http-input5 o# |* g2 B9 j/ O
  1634. ;mbstring.http_input =
    ; C4 O; _+ Y. \& c7 e% |- W! e8 m
  1635. / o1 S" G" K  _) e4 n
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.9 o" }/ D- |7 a$ ^/ h5 {2 K
  1637. ; http output encoding.$ g' a. X7 a4 F6 _$ L& P
  1638. ; mb_output_handler must be registered as output buffer to function., H6 D, U: z$ l4 ]+ H! C
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  H2 S6 ?7 i3 Z( n
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output5 s5 Z$ P7 `+ A, J5 g
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ! B0 Q% @7 L/ q! f  b
  1642. ; otherwise output encoding conversion cannot be performed.
    5 m: D8 D$ f! j. |* g
  1643. ; http://php.net/mbstring.http-output& V* Z" ]5 P+ x  S6 X
  1644. ;mbstring.http_output =
    . U! z; E! E# f& D6 t2 ?8 l
  1645. : \  m* }& y9 X
  1646. ; enable automatic encoding translation according to7 I2 y! J4 g+ j2 W3 k3 k- g
  1647. ; mbstring.internal_encoding setting. Input chars are% F, S/ }( T4 E5 Q
  1648. ; converted to internal encoding by setting this to On.
    + N! n9 M& J6 Q  ^0 n  y7 }2 H
  1649. ; Note: Do _not_ use automatic encoding translation for+ Q$ k$ r6 Y) {2 W0 w
  1650. ;       portable libs/applications.
    ) E) u6 q/ C+ ]$ [
  1651. ; http://php.net/mbstring.encoding-translation" T. q- Z3 E4 l3 |
  1652. ;mbstring.encoding_translation = Off
    $ U; N! W; B0 Q' y8 _
  1653. / F, U7 x5 M' z1 g4 q. {& {- @
  1654. ; automatic encoding detection order.% [) i* S2 n3 ~7 }
  1655. ; "auto" detect order is changed according to mbstring.language
    $ Q- u% s7 j. ~& G: Q9 E' Q
  1656. ; http://php.net/mbstring.detect-order7 h/ h! u' ~1 f# |+ k1 c( f" v
  1657. ;mbstring.detect_order = auto
    ) z4 b: B! i, ~. b/ T
  1658. ; p; a" k4 \5 W% l' m/ R
  1659. ; substitute_character used when character cannot be converted
    ' \8 j! ]2 x7 ]
  1660. ; one from another
    / v8 N* g5 H  L% V+ t
  1661. ; http://php.net/mbstring.substitute-character
    . E' a! t2 i/ |6 ?# U# y
  1662. ;mbstring.substitute_character = none
    + G7 F* ]7 b* k& e0 K3 |: J. @! ]2 ]

  1663.   _# h0 ^9 G9 Q! _8 G
  1664. ; overload(replace) single byte functions by mbstring functions.
    ; ^; l2 w! \7 J& X7 N
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),3 d0 G  o$ a5 t. c/ {4 ~
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.. u$ q+ m' d2 s3 Y
  1667. ; For example, 7 for overload everything.! i4 G4 S1 K( j8 y3 h4 N7 r
  1668. ; 0: No overload0 I8 ~" L$ j/ [4 D/ o
  1669. ; 1: Overload mail() function
    1 A9 |4 w& O, Q0 i4 z
  1670. ; 2: Overload str*() functions& B- T) k$ w. t6 ~
  1671. ; 4: Overload ereg*() functions: ?! N4 n& C" V6 I( g: f
  1672. ; http://php.net/mbstring.func-overload
    6 G& `9 K! \9 y3 \- i5 q8 b  H
  1673. ;mbstring.func_overload = 0
    : K) u2 S5 I: B0 M# ~9 b* e1 e

  1674. % Q; M! Z& }/ X, A
  1675. ; enable strict encoding detection.
    # V- I- J. D1 W* t: B3 i
  1676. ; Default: Off
    & {/ d/ k, b9 h9 c: d3 Q5 h
  1677. ;mbstring.strict_detection = On
      M" O- b9 M* `3 Q6 M4 {
  1678. $ @: I: [8 ~. y9 l- v, o) f% y5 I
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()6 }; S! L4 l1 d2 K" {: Y
  1680. ; is activated.
    , y0 x5 D9 R! F9 o7 Q7 q( ]* n
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    0 m) I2 Y, C+ H% t; h% J
  1682. ;mbstring.http_output_conv_mimetype=* [0 {! f3 v0 D
  1683. ' }& t7 t3 p- s, C% F' g4 H% m
  1684. [gd]
    1 {; Z$ A, O' |: e
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    7 A# ^: y. D. h" c# S# y5 A& x
  1686. ; a gd image. The warning will then be displayed as notices
    4 C6 e- {9 Y/ T; R
  1687. ; disabled by default
    6 f- k* }7 j9 y5 i" e. A% A3 o
  1688. ; http://php.net/gd.jpeg-ignore-warning  k0 y0 N" H9 g6 L7 v, ]; B5 S
  1689. ;gd.jpeg_ignore_warning = 0
    7 W1 h1 B1 k2 R- v  c) |9 n+ \- |

  1690. - B0 I" l( W9 l
  1691. [exif]
    % I9 P* A/ j3 a
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 J* G/ C( v+ t! g! ^7 _/ w0 S1 a
  1693. ; With mbstring support this will automatically be converted into the encoding
    " y# K' S8 q! e+ @5 A( W8 q: V
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 g+ P) Y$ P) a* B
  1695. ; is used. For the decode settings you can distinguish between motorola and" F5 Y) i9 y) S; s
  1696. ; intel byte order. A decode setting cannot be empty.( I7 n0 C' W& y- Q  K7 r( L
  1697. ; http://php.net/exif.encode-unicode
    3 d# E- N/ [. e6 I5 q
  1698. ;exif.encode_unicode = ISO-8859-15* I) ^8 Z, H" b. R' G/ E( d

  1699. " _6 K. r6 A! B/ n* X( S
  1700. ; http://php.net/exif.decode-unicode-motorola) ~9 U5 U3 U# y  p7 i" u8 e
  1701. ;exif.decode_unicode_motorola = UCS-2BE; Y, E9 w  P- W4 _# I" Y

  1702. 7 |# @  W& G( X9 n+ w& [
  1703. ; http://php.net/exif.decode-unicode-intel
    4 n5 b* l& \) B
  1704. ;exif.decode_unicode_intel    = UCS-2LE" H6 Y6 U: G: z5 l& `* c1 V

  1705. 7 N1 v+ D9 Z7 M* r0 `0 W
  1706. ; http://php.net/exif.encode-jis
    ! }- p3 n6 U) q% Z$ r
  1707. ;exif.encode_jis =
    , k! u) |- f8 ]6 h' t" C

  1708. 7 ?$ a' _* z" J4 O
  1709. ; http://php.net/exif.decode-jis-motorola$ J5 L* v) }% e( W$ [" N
  1710. ;exif.decode_jis_motorola = JIS
    # @1 e  C% i) C

  1711. % O  K6 D6 i: a1 F) _9 Q
  1712. ; http://php.net/exif.decode-jis-intel3 |, P) Z& b/ k. ^- H" u& w, Z
  1713. ;exif.decode_jis_intel    = JIS
    ( `2 V; W- S* A" I  b$ Q
  1714. 8 g5 Z: U, f" j2 U% H
  1715. [Tidy]* I, F+ x& ~; X% P0 o
  1716. ; The path to a default tidy configuration file to use when using tidy% u; x: e) [1 K6 ?: k3 M2 p
  1717. ; http://php.net/tidy.default-config+ T" h0 @: V; z. i6 {( h: M2 S
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg. |6 `; @( ~6 H, l6 u

  1719. ' u/ m8 q$ @# x- `
  1720. ; Should tidy clean and repair output automatically?# \4 G0 D& i7 A: R  z/ o2 g
  1721. ; WARNING: Do not use this option if you are generating non-html content# j0 i. l; N1 k' _* a
  1722. ; such as dynamic images
    , Z4 o, c0 F6 g* M4 S* S: q
  1723. ; http://php.net/tidy.clean-output; b+ H4 J- m# P7 o% [3 V
  1724. tidy.clean_output = Off
    " D5 V# p2 y0 O, @

  1725. . O! p1 L+ y0 [& X2 n3 l0 t) S4 S# p
  1726. [soap]
    6 I* m& g& D0 H0 E: S) G
  1727. ; Enables or disables WSDL caching feature.( F+ X; P; v; v9 d- Y' D
  1728. ; http://php.net/soap.wsdl-cache-enabled8 Z: s' j7 c( `: H. d7 x+ C' Z
  1729. soap.wsdl_cache_enabled=1
    + _3 `! T* H  ?; D3 }9 w7 E* }

  1730. ! I6 I! E: d1 }0 o$ N
  1731. ; Sets the directory name where SOAP extension will put cache files.& j+ C3 x  `0 i$ o  u9 c7 l
  1732. ; http://php.net/soap.wsdl-cache-dir
    ) H0 ~0 M* d" J1 p2 D
  1733. soap.wsdl_cache_dir="/tmp"/ U# Q' A- M( n% Q" @) n
  1734. ' H2 c2 C+ u2 ?% d
  1735. ; (time to live) Sets the number of second while cached file will be used
    ; C4 i) E) {8 r  Z/ U; o+ d" i/ v
  1736. ; instead of original one.9 r+ ?( M9 f1 F7 O
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ) ?' s1 Z  F) j" U* Z( r4 }( n
  1738. soap.wsdl_cache_ttl=86400
    # n, i3 c; u+ ]3 {; ]3 ^
  1739. # l# ^7 R; O# C3 {
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! v! f4 I8 L9 |* y
  1741. soap.wsdl_cache_limit = 5
    7 H, G9 R0 q# v& H! b
  1742. $ J# R, a0 w1 e/ _; X2 g* }
  1743. [sysvshm]  `; M, v% k! F% K4 E  n# x  h5 {
  1744. ; A default size of the shared memory segment
    5 J) |- V9 Z: X+ R+ p
  1745. ;sysvshm.init_mem = 100008 h: C! p6 n% i3 v* a* H

  1746. 0 M/ Z# G3 l% W/ ^4 Z1 U: {
  1747. [ldap]2 V) ]9 {; C  p! ^0 d
  1748. ; Sets the maximum number of open links or -1 for unlimited.6 M! L! q( m* V- N$ ^5 A
  1749. ldap.max_links = -1
    1 A2 p5 ^6 H0 D" B7 [: E
  1750. 3 A, n/ N$ @# W7 H
  1751. [mcrypt]: O2 [" c5 x6 g- v0 U4 o
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    / `; i( ~) p. v# q7 l# C

  1753. ; o2 `- F; M1 j8 [* X; p" L& V
  1754. ; Directory where to load mcrypt algorithms
    : |( I& O- S. T1 ?: r: `0 F( a
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . y  I- k9 L4 h+ K
  1756. ;mcrypt.algorithms_dir=
    ' h; G, s" S& q4 @
  1757. 1 g0 ]* Q& a) O. {9 b" I
  1758. ; Directory where to load mcrypt modes
    6 m1 E; Z8 d# p
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / N) e( n# K% P9 ?
  1760. ;mcrypt.modes_dir=6 l. z" D- X6 R0 i+ O7 k8 y

  1761. ( w3 r! A4 ^2 B8 ^
  1762. [dba]
    4 J. c. E* b; |; N* x
  1763. ;dba.default_handler=0 x5 R  i2 ~4 k1 M

  1764. ; H' E6 ?# A' R4 e
  1765. [opcache]
    9 D) K! y- k: r" m
  1766. ; Determines if Zend OPCache is enabled9 Y- l% [) m/ n7 g# X) I- E$ D
  1767. ;opcache.enable=0
    & S; o) t. U, e/ h/ D' ^) I
  1768. 4 b. r$ X) E/ V* f7 L" j
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP# j' x& m6 Z  n8 @( b
  1770. ;opcache.enable_cli=09 M) A# D2 l4 i( d; p( t

  1771. 6 z6 h" [. a0 ^
  1772. ; The OPcache shared memory storage size.
    # X  m) e0 J7 H( V
  1773. ;opcache.memory_consumption=64
    - U/ B  n% k* F. A3 y

  1774. 5 d; r# k8 O1 X
  1775. ; The amount of memory for interned strings in Mbytes./ W4 k0 r; A; Y, M3 F: l
  1776. ;opcache.interned_strings_buffer=4+ Q0 q1 d# C0 h" x/ i
  1777. 8 a& {8 `- H( j: v. P+ o6 x
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 B. |+ a# X9 H
  1779. ; Only numbers between 200 and 1000000 are allowed.
    # [+ H8 c( K0 D  z
  1780. ;opcache.max_accelerated_files=2000) l. _3 G6 C3 U7 f- P
  1781. 2 Z5 n% e0 r4 }7 Y  j
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # N; s9 t* x7 X" Y+ g+ t
  1783. ;opcache.max_wasted_percentage=54 G0 ]  l4 a1 P2 D% O' m# P' q
  1784. . l( _# I5 E# Y: w, K& J
  1785. ; When this directive is enabled, the OPcache appends the current working* l8 Q1 v+ I- Z6 F/ A% F, `1 m
  1786. ; directory to the script key, thus eliminating possible collisions between9 d* h: l* I4 H- U
  1787. ; files with the same name (basename). Disabling the directive improves
    ( N3 H: H' _( ~! P8 \: G) O2 T
  1788. ; performance, but may break existing applications.
    ; j$ h, {0 N4 I: ?( V
  1789. ;opcache.use_cwd=1& k" z; n% i- S5 N4 r

  1790. 5 A) j/ s: Q" E" F1 p3 Z5 x
  1791. ; When disabled, you must reset the OPcache manually or restart the- u8 ?& p; Y+ Z0 }% k2 _3 N
  1792. ; webserver for changes to the filesystem to take effect.) Y7 J$ u" W# l: j3 h# ^
  1793. ;opcache.validate_timestamps=16 p! S  Y5 E9 Y: w
  1794. / `. i' e& K% u
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ( l# C" z; n1 Q
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . O& t$ U, l- {0 d: [! R
  1797. ; once per request. "0" means always validate)
    8 ~2 V. b7 [* L* {1 e0 ~
  1798. ;opcache.revalidate_freq=2
    ! @8 L* w" W  M8 m0 ]4 C6 v
  1799. ; u# l4 C4 |/ H9 O" |( {, B  b, t
  1800. ; Enables or disables file search in include_path optimization9 z. T4 i% S5 a& Q) j
  1801. ;opcache.revalidate_path=0
    * y* S" @' p) G4 \6 A' z
  1802. 2 M/ o" E1 V2 a) G1 {
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    1 ^5 s" J- O+ x* B9 D" K0 l
  1804. ; size of the optimized code./ v* ^6 q/ \8 o+ P
  1805. ;opcache.save_comments=1
    4 a7 b& Q0 z5 N
  1806. ) @& p: s, A/ Z, c
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code! N' u2 I, {: k1 o2 w) F# E* e
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    3 \; U3 D* F  y' n* Y- C  }0 t) l* d- I
  1809. ;opcache.fast_shutdown=0
    6 C3 R" y/ l/ u9 W$ F% ?. q, \

  1810. " `( C) b1 H3 V& k( L7 @0 I
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    " \8 v- a/ G; d% u/ u
  1812. ;opcache.enable_file_override=0
    $ L0 `9 p: n& R; K4 }% Q) }

  1813. / Q4 I" r& x! t/ ]: n
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - w6 O0 R! V  O0 \& }. x0 H- w: H
  1815. ; passes- c5 d+ J. c1 f3 E' |5 B
  1816. ;opcache.optimization_level=0xffffffff
    ! ]9 r: u$ r* \4 |" ]
  1817. ' P8 K. @7 |7 I5 x1 f+ b
  1818. ;opcache.inherited_hack=1& I- `! Y& V/ y; S! l
  1819. ;opcache.dups_fix=0
      r  G: y  ]2 g5 B5 B( A7 a
  1820. ( r3 `1 @3 x$ R5 Y; g
  1821. ; The location of the OPcache blacklist file (wildcards allowed)./ e. H4 t) c  X5 T! X: ~, b0 @
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    : V; M3 m' z: p1 d- R
  1823. ; that should not be accelerated. The file format is to add each filename& y! M: o" {9 G2 B
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ' Q' L2 ?' l3 C9 M7 b6 T$ `
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www) O  v4 S& Z# R
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).& l5 ~7 V* U$ g9 m7 o% |+ Z
  1827. ;opcache.blacklist_filename=
      }  X. [& P6 M
  1828. 7 O  }  V/ w$ P5 J+ _
  1829. ; Allows exclusion of large files from being cached. By default all files- ~- V+ M1 k5 v* r) `8 m( L  }
  1830. ; are cached.1 o: k# P+ ^$ E% Q! L( U7 U
  1831. ;opcache.max_file_size=0! d, R0 t. \( A8 v/ i8 ^8 D

  1832. ) `- |7 n) G' j9 e, I) R: V; |% S
  1833. ; Check the cache checksum each N requests.; B/ o" d  t0 ?1 _
  1834. ; The default value of "0" means that the checks are disabled., R: I0 l2 N8 S
  1835. ;opcache.consistency_checks=0# {0 l' A2 R. J/ f7 A$ Z
  1836. 3 a& }2 ]  C$ U0 U. {, W
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache% X/ v* u2 c( P* N- y
  1838. ; is not being accessed.0 O0 {  Z- \$ D5 p+ q- U
  1839. ;opcache.force_restart_timeout=180) K; i: d) E" X+ f! \- `
  1840. 9 l% g$ ^; C+ Y; }% }& a
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    3 Q' Z1 S8 |6 z' Q, X$ V3 U2 N
  1842. ;opcache.error_log=8 N9 m, y8 J2 f
  1843. + r1 ]8 ^( n; n# M" l5 m
  1844. ; All OPcache errors go to the Web server log.
    6 y1 K3 D0 k9 N& c# ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 Q$ \2 a9 Y7 V4 V) J4 B, k4 Y& p
  1846. ; You can also enable warnings (level 2), info messages (level 3) or' d+ W5 H& F& G2 W- k
  1847. ; debug messages (level 4).' L7 t+ }9 X, z# l2 ?, a* O' R3 J
  1848. ;opcache.log_verbosity_level=1; K6 r! G% [5 c. H) b( O9 x
  1849. , h$ g! B9 C, ~! k: H0 G  R' X
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . _) S% t  u; ]
  1851. ;opcache.preferred_memory_model=( D) y3 t& @- @/ ~# @
  1852. 8 T- x4 h! N- P) {" D! z
  1853. ; Protect the shared memory from unexpected writing during script execution.
    0 i, V, k& \1 \, Z8 G
  1854. ; Useful for internal debugging only.
    - W  ], W, X* w/ `+ i! k
  1855. ;opcache.protect_memory=0
    * T9 `& Z* o7 R7 s& ?" H

  1856. % E8 L% Y4 a; O" w- x! N+ W. b$ _
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    2 _4 M+ i( B" A# \8 q+ {, x: b
  1858. ; started from specified string. The default "" means no restriction1 I/ g1 z8 p2 D4 a
  1859. ;opcache.restrict_api=! r5 B6 \1 R) r
  1860. 3 W9 m% J  e( j
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP7 V$ s! L2 F/ d; c1 D
  1862. ; processes have to map shared memory into the same address space. This# e% G% k! }8 m
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    6 X' {) z) ?! F) v0 [
  1864. ; errors.
    * j( w5 L* r( a6 C
  1865. ;opcache.mmap_base=
    9 \* q- Y; k$ L

  1866. : m$ `/ V* n. e* A
  1867. ; Enables and sets the second level cache directory.
    ( V! d8 r3 h2 t1 [
  1868. ; It should improve performance when SHM memory is full, at server restart or
    - T/ M. W9 _3 p5 F( Q, S0 g
  1869. ; SHM reset. The default "" disables file based caching.
    8 H9 l8 U- q. k# M+ d. F
  1870. ;opcache.file_cache=
    ) ?2 d" e! _7 s+ i" X* X

  1871. 3 |( M" k$ e( K# A7 N
  1872. ; Enables or disables opcode caching in shared memory.0 q' W. x' v4 V# z4 \. ^
  1873. ;opcache.file_cache_only=0
    4 c: P& r" ~4 M6 l

  1874. ( |( v$ P5 d  W5 g6 _0 g  I* b# F
  1875. ; Enables or disables checksum validation when script loaded from file cache.) W' v7 Z- j, ~: Y/ J
  1876. ;opcache.file_cache_consistency_checks=1
    / m1 R- D+ v0 s. B- Q! E
  1877. - Y) Z6 E+ p5 A" l! ~( J
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to( H# d- `# u; ?2 b, E7 I. D% d
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    / e1 a! b) q4 l5 a  C# y/ j: N
  1880. ; cache is required./ t4 K4 `0 m5 f% ?1 U* g) S# S
  1881. ;opcache.file_cache_fallback=1
    1 T- f0 C- r5 c- d3 O4 m  J# h: C# C" z
  1882. , L" ^% Y, N& s" U) z1 w
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    6 o: }: [* O( I6 m1 Q/ n+ }
  1884. ; This should improve performance, but requires appropriate OS configuration.
    / W1 ~( g; q; V8 V
  1885. ;opcache.huge_code_pages=1
    4 d% _/ j3 K; L+ Z$ f: {3 S0 j

  1886. 0 F/ }$ i0 J7 H: t
  1887. ; Validate cached file permissions.8 i2 ?3 }9 o; Y5 T, r. l
  1888. ; opcache.validate_permission=0
    ( S8 n) i/ h: [: s4 A( |7 w
  1889. 0 N3 t# g1 ?! m: ^
  1890. ; Prevent name collisions in chroot'ed environment.
    ; `% F' h& N- g2 Y1 b" p
  1891. ; opcache.validate_root=0
    ; R9 J) F" P( V+ o# d

  1892. # s& k) d5 P+ B& ^+ ?0 a: g/ N
  1893. [curl]
    1 }$ W6 l- i% r: [2 g
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an% K! q2 Y4 \8 U* i, J
  1895. ; absolute path.
      F9 c7 Q, s/ W" ]4 V% y0 J& A
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    * z9 g( ?# x3 E" Z* _$ p6 E$ l

  1897. ) H4 p% l! z+ `9 {$ V
  1898. [openssl]8 Y  m8 n% K$ n! K6 l( V+ \
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem2 {/ I" K6 \% {0 ]3 b. R- V1 r# m9 k
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should3 Y( z& l( B6 M' m. e5 @0 ^
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ; X6 Z- B; U3 a. y/ |
  1902. ; OS-managed cert stores in its absence. If specified, this value may still2 ^: f/ P# s0 t# C9 ^0 w8 R. @
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    0 q/ N5 ]7 ?2 P1 _- [/ }, ^! |4 O. M+ N
  1904. ; option.
    7 d- e$ I* F/ a+ t9 L! J. U
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    0 f& E$ I( ]" o8 O1 K- u& U
  1906. ' i; B3 u6 Z7 g* U: D3 R9 I
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    2 j) C& z3 q6 j+ a$ k
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    9 w) U+ e1 x' Y; d0 D1 p+ B+ X( W0 ^
  1909. ; certificate. This value must be a correctly hashed certificate directory.* J% I( t- n# `( W* x8 f
  1910. ; Most users should not specify a value for this directive as PHP will
    , {, h2 u$ {4 Q! d; N% u1 {
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,, O. M; u' H$ k9 u) T
  1912. ; this value may still be overridden on a per-stream basis via the "capath"! m" m! _% I9 A- |8 l3 b
  1913. ; SSL stream context option.
    5 Q( Q9 l1 c& v
  1914. ;openssl.capath=
    8 w4 N( w0 w% H, u: z
  1915. 0 x7 t+ U" M4 H* V6 ~3 j; D7 A
  1916. ; Local Variables:* t( e  b# ^' h0 m8 U# v
  1917. ; tab-width: 45 \2 F0 B. H/ N4 i
  1918. ; End:
    6 n7 B* s0 G; w+ \

  1919. 0 ^' Z1 b7 }/ i: @6 U6 n: r
  1920. ;eaccelerator
    3 C: w6 @  _) O' |; i
  1921. # l2 Z- G% U3 w: `5 w" g
  1922. ;ionCube
    : \0 G6 x  k% |( F. X' B
  1923. ! \5 A: H+ w. ]3 t# @: G
  1924. ;opcache
    : r$ }. T$ W+ G& i* M
  1925. + g, y/ ?, T, [8 c# c; k* C
  1926. [Zend ZendGuard Loader]
    # n& t; x5 N* j2 t5 z$ O
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.) o' P# O5 B+ O9 l( q! n
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ; N, l7 J. Z9 ]
  1929. ;zend_loader.enable=1: ^1 l* k9 t$ l% M0 l
  1930. ;zend_loader.disable_licensing=0
    , U6 Y" @0 D# z
  1931. ;zend_loader.obfuscation_level_support=3* K) e7 a5 B" G( y) [4 k
  1932. ;zend_loader.license_path=
    , C9 o0 T- b# u( e9 x
  1933. ! e: Z7 y  D7 Y! r3 ?! \: |
  1934. ;xcache6 Z/ L* Z- H, I3 M/ z- h

  1935. ; N9 I" w- [% }8 Z9 P7 k
复制代码

9 O5 i: {% m' R/ h$ W+ _
% P. c3 I- M. U9 m
; f1 z9 C2 a) c. |. `
6 T; K  U8 C6 {( N$ s) d
1 n* \. E  V( S+ i" {$ H9 }& W9 l* G( z

1 I3 ~* @  b8 |( z) u9 C) dPHP5.6版本原始设置
( m9 c0 A" X( E: t5 T% y9 l# u+ r! x/ L" c; b- m
  1. [PHP]
    ; _; D' o& Z6 O7 ?3 F& K

  2. ; B% I" ~4 k! i; H6 O
  3. ;;;;;;;;;;;;;;;;;;;# _& J- [$ {* q. q5 V8 c
  4. ; About php.ini   ;3 ?6 b8 C+ a( t; f# v; J
  5. ;;;;;;;;;;;;;;;;;;;
    : e- y# ^5 V/ Y) Z4 z" J
  6. ; PHP's initialization file, generally called php.ini, is responsible for  d1 o7 W2 a7 o* u# N* I
  7. ; configuring many of the aspects of PHP's behavior.. M9 M# @( U6 X# M8 P1 D5 A0 p

  8. . ]* A4 N5 k0 e% H: q; m( S: l8 e
  9. ; PHP attempts to find and load this configuration from a number of locations.% c. S; D  j) e! X2 R. \7 |# n
  10. ; The following is a summary of its search order:2 W* c( n, F* S* t
  11. ; 1. SAPI module specific location.
    / z/ ^; }9 V& |* L0 @
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    + p7 ?1 d# C. t2 T4 _' v8 I
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    " a. F* [& g, f% \9 `3 F
  14. ; 4. Current working directory (except CLI)
    $ T1 X7 @0 A* B8 `9 I6 Z/ O
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP  c, m: l% n5 G
  16. ; (otherwise in Windows), [' u4 S8 X/ F8 R; _9 {
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 a7 b9 m0 K2 M6 P
  18. ; Windows directory (C:\windows or C:\winnt)
    . ^, y7 U5 U$ n
  19. ; See the PHP docs for more specific information.
    ) h+ }4 U! a7 ]9 k* @
  20. ; http://php.net/configuration.file, k  l, k  c% [2 h9 A  \( \

  21. + p: k7 w8 L  a2 U
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* `) @/ x9 V# i7 A( x. \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).$ u3 M3 ^# e8 N7 v6 E# b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though% q7 K# S  R: `( w
  25. ; they might mean something in the future.5 _$ q; Y6 S3 a9 u& Z, x- n

  26. - @& p8 G- v3 d1 M6 N6 m  E
  27. ; Directives following the section heading [PATH=/www/mysite] only" \" G4 W% U) q' G- R
  28. ; apply to PHP files in the /www/mysite directory.  Directives0 V& r) m& G  I; {( R
  29. ; following the section heading [HOST=www.example.com] only apply to
    ! a6 v$ _% Q  I1 a" T  @
  30. ; PHP files served from www.example.com.  Directives set in these% S6 v7 r& k- {) _
  31. ; special sections cannot be overridden by user-defined INI files or
    , |. W$ ?6 _9 [
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " U+ c- e0 Y2 k" j+ K2 d4 @
  33. ; CGI/FastCGI.
    2 n8 t3 X# [- ^( p. y4 C3 U5 m
  34. ; http://php.net/ini.sections( L& y/ ^5 b+ Y0 j6 h* k. O

  35. 4 A' z% @  [4 Y/ g8 v- U
  36. ; Directives are specified using the following syntax:1 N6 k# `; ~% Z& C5 w. e, i* P0 m
  37. ; directive = value
    5 m3 x. j6 ~# s# o( z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    " ?2 @5 ?2 l  G7 z3 j# w8 U+ _
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / [8 u# l8 K- F8 k# F! [
  40. ; There is no name validation.  If PHP can't find an expected
    3 Y8 z1 @4 I4 `- T& n/ v
  41. ; directive because it is not set or is mistyped, a default value will be used.
    9 i  H: J- z; C/ t) g
  42. $ R7 x6 u3 i: X& z- q. j2 N" r% s$ v
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one1 r: v+ V7 `# {5 j1 h& _
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    . D* P' }! S6 ^7 r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; C* D2 X0 K# C7 N
  46. ; previously set variable or directive (e.g. ${foo})' G5 n- ^* ^' y# }! D

  47. 6 S& ]5 N6 G# g, a
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    3 @$ [1 _% v% T+ W2 u& B! ]
  49. ; |  bitwise OR
    / |* w8 l6 t. j4 ~$ [3 j
  50. ; ^  bitwise XOR+ i0 d# |, n! P; ~5 Z: J
  51. ; &  bitwise AND! }$ [! O& w1 h: k3 z9 B. w
  52. ; ~  bitwise NOT
    - D2 d4 P; T9 F
  53. ; !  boolean NOT
    9 A6 w# ~$ ]# C1 ^  u8 r

  54. 2 y/ G- n- u, J5 y5 \$ A& e* G9 {
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 C7 Z1 f4 q0 |4 U4 U
  56. ; They can be turned off using the values 0, Off, False or No.4 Z( _+ P% U- ?) Z- ^$ g1 s
  57. / V3 B: x. W- F( Y1 ]) n1 Q  B
  58. ; An empty string can be denoted by simply not writing anything after the equal, a' Z$ q- C* E/ D
  59. ; sign, or by using the None keyword:8 y! G7 u0 H0 S" i2 V7 O7 O4 x
  60. 2 v, q/ |- l; a: r8 s6 F/ z
  61. ;  foo =         ; sets foo to an empty string
    8 G6 `% O' R# ?7 o" O5 A" D/ K
  62. ;  foo = None    ; sets foo to an empty string
    , i/ u- `/ V; U! ~
  63. ;  foo = "None"  ; sets foo to the string 'None'
    : n7 j! G* p' m; \" t/ Z

  64. ' x0 |0 L9 T# x" F" y) q( k8 e
  65. ; If you use constants in your value, and these constants belong to a  P) r* L; E, D( D/ L8 M% \% g4 j
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),/ }  ?" {1 J# V4 z* Q& x4 J# F
  67. ; you may only use these constants *after* the line that loads the extension.  v, H  A/ o& y

  68. 1 n* J1 d2 a) z: R1 \
  69. ;;;;;;;;;;;;;;;;;;;
    6 X) m4 F2 e' x6 c
  70. ; About this file ;* b* R  M8 U6 v% N) {6 v  F
  71. ;;;;;;;;;;;;;;;;;;;
    % V0 H8 n" Z" K# q: P& O
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ( k) B9 Z4 U' U; e/ s6 J2 n
  73. ; in production environments and one that is recommended to be used in
    9 A4 b- E) J5 a
  74. ; development environments.
    ' D3 @- n( S+ ?# w& ]) Q2 T# I+ G

  75. ) ]* }+ a0 k% K3 X* ^
  76. ; php.ini-production contains settings which hold security, performance and5 Z& t$ A. }- x9 a% l5 w0 A' X
  77. ; best practices at its core. But please be aware, these settings may break1 }# y* ]- I9 e) Z  D. @
  78. ; compatibility with older or less security conscience applications. We, T, H; B; k. ~/ Q: v& ]3 ]
  79. ; recommending using the production ini in production and testing environments.
    0 r) p4 r) U. W8 i# F

  80. + p7 j1 k% l1 @. F0 x2 G4 r
  81. ; php.ini-development is very similar to its production variant, except it is
    ( i9 T0 x$ B( K, N* T5 X* h
  82. ; much more verbose when it comes to errors. We recommend using the8 Q0 I; ^% R# v2 {0 X
  83. ; development version only in development environments, as errors shown to
    0 d# |# ~  V5 L( j2 u) {& z6 w
  84. ; application users can inadvertently leak otherwise secure information.* E2 Z5 D: j( s: q- Q, }9 Q5 @
  85.   c6 F1 @9 \: z9 e
  86. ; This is php.ini-production INI file.
    8 J7 a6 e8 ?- K. T

  87. 3 f, Q% B% k! y4 U* F
  88. ;;;;;;;;;;;;;;;;;;;% X7 S  R4 [4 h7 Q( k5 }
  89. ; Quick Reference ;' o0 }5 W) b# F  x( R) Y
  90. ;;;;;;;;;;;;;;;;;;;
    1 B4 w/ H9 |$ ?& B
  91. ; The following are all the settings which are different in either the production8 A( L- s8 {& M+ Z( X2 r6 ?6 j
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # m- N0 Z1 m0 z# q; Q
  93. ; Please see the actual settings later in the document for more details as to why0 ]: C7 E  C* k: P* B# o3 h2 b) N
  94. ; we recommend these changes in PHP's behavior.
    4 ~7 e& b& z+ q, o7 z/ u
  95. / e# A1 w/ ]" W" u% i  A; R% L
  96. ; display_errors8 f0 v" M) a  E; a% ^- y& |: Z
  97. ;   Default Value: On
    ; ~! n% w" B0 r5 I* d! @
  98. ;   Development Value: On  ^: ^2 j# P! g! n+ O' r; t* B. K2 \. B
  99. ;   Production Value: Off
    3 V* V$ N, `, y3 F6 U

  100. / t; u" d# k' {: R- F$ E0 ^+ i
  101. ; display_startup_errors1 I0 B9 w4 w7 y7 n
  102. ;   Default Value: Off  Y/ Z4 N1 v9 [. D: b
  103. ;   Development Value: On
    0 O" E6 ]2 a, v* g* K
  104. ;   Production Value: Off1 b2 J7 D1 A" t4 S- V
  105. * o1 ^6 }4 j* v, Z# Z
  106. ; error_reporting
    0 ^  y' `  t8 s0 j1 m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . w2 z' ^6 M8 `5 i" \
  108. ;   Development Value: E_ALL5 V' G) s; A6 @2 Z2 k# Q$ w
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 s( J& Y7 r) K- u4 r; ]8 i4 _
  110. ( d0 X4 h8 _3 C2 O6 B
  111. ; html_errors
    ) j4 I7 f3 e$ Q, X6 t
  112. ;   Default Value: On
    $ f. p" G) q$ B& q; o
  113. ;   Development Value: On0 i1 p) ]+ _' F( j( ?0 k
  114. ;   Production value: On
    , @, d+ W7 t' M6 b& l& A% j
  115. + O" b' x6 f  r' x) p  A) K
  116. ; log_errors/ y* M, j" V, B: a
  117. ;   Default Value: Off
    . n- b8 N& G* i& ~4 o
  118. ;   Development Value: On
    " ?6 a# e3 v! J  P& @1 P- V
  119. ;   Production Value: On. a# u: E" b4 G0 x6 P, o

  120. 8 g9 b7 W# S. f7 e: c! @# n
  121. ; max_input_time. b6 e: {+ l# r, P0 H
  122. ;   Default Value: -1 (Unlimited)
    % {8 g0 M" A7 K; }
  123. ;   Development Value: 60 (60 seconds)3 e  ?% h1 K) \3 b7 A
  124. ;   Production Value: 60 (60 seconds)$ h' C% X5 q: v. G0 ?! B/ `
  125. ; t. u: w9 m' ?. m; D+ x
  126. ; output_buffering
    4 E" [7 P) }( l. I8 g3 d8 E0 z5 Z
  127. ;   Default Value: Off
    * S  g8 `. @: M" K4 }  D2 S
  128. ;   Development Value: 4096& ]- ^* y4 G8 b/ U- B4 E
  129. ;   Production Value: 40961 d$ [& G4 q4 j- Q& n* d" v
  130. ' n0 c: c, V- {! `3 c
  131. ; register_argc_argv5 b6 S  P( H8 z/ V% I: i5 M
  132. ;   Default Value: On( ~1 }) F- X& e) U' |; T
  133. ;   Development Value: Off
    " I- h! c+ O& `
  134. ;   Production Value: Off
    1 H2 C9 N, z" e, r: }  I

  135. , n- v9 P. F4 s+ \8 T1 n! i8 {
  136. ; request_order5 A. H( W4 g; ?: |- K5 y7 j% }0 q
  137. ;   Default Value: None" c. t2 J8 B# K; _( [7 p- a
  138. ;   Development Value: "GP"; {* c7 p0 ]7 l0 ^" i1 A' Q! |2 R
  139. ;   Production Value: "GP"
    % N# C- Z3 _+ R; l
  140. : R5 x3 c+ S" U1 z1 @
  141. ; session.gc_divisor
    ( x. j4 _; H) I7 w" h2 C( c5 r
  142. ;   Default Value: 100
    7 l5 ?; i6 a- s: n$ W7 s
  143. ;   Development Value: 1000, P& I, o7 h8 H
  144. ;   Production Value: 1000; f- R3 [; ?9 Z& S( F3 ^
  145. 8 S  g; b' L; C6 b! I0 b( f
  146. ; session.hash_bits_per_character
    5 f! o& {4 M. k) J+ I) Z, N
  147. ;   Default Value: 4. o+ z# A1 I( z! `/ ^( O8 \
  148. ;   Development Value: 5
    & }9 m7 T# s) v0 M! a: k
  149. ;   Production Value: 5
    , r. O! q2 J- c9 n# v

  150. ! [/ t- ?; ]# a
  151. ; short_open_tag
    ) A/ x& l7 W: i7 Q1 J% ?1 A* w0 }4 t
  152. ;   Default Value: On
    " _" W+ y( Y- Z2 v3 y: q
  153. ;   Development Value: Off
    8 w  [9 B( Y7 j. N4 [3 ~9 m( C
  154. ;   Production Value: Off+ j* J' M2 I; T! g5 ~

  155. . C4 i+ m$ X+ n
  156. ; track_errors/ Z% x- {7 L( h7 p! h
  157. ;   Default Value: Off
    + x6 D  i! ~$ a# ~- `3 ^$ J
  158. ;   Development Value: On( J! n+ @/ A: q5 Z# i
  159. ;   Production Value: Off
    8 _* }# h: ?6 a! c+ q/ a% Z
  160. 9 r" Q9 Y  L, p" E, G  F! H
  161. ; url_rewriter.tags
    6 r) ~, S7 c( T. F% u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="# K& Z3 e# l7 s( H8 k+ [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* @" r5 c, f) I# A/ L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ h2 W3 x* h5 m# g1 M. ~

  165. % e" q8 Y6 B" y8 U( y
  166. ; variables_order1 I: Q; i7 U0 m" ]+ G/ @9 a8 s! ?. b
  167. ;   Default Value: "EGPCS"; R/ F! L" w6 [( A4 C( u
  168. ;   Development Value: "GPCS") y! q- W5 h; i
  169. ;   Production Value: "GPCS"
    & {, D/ r8 c  b) ~

  170. / r" l. @* c4 ]
  171. ;;;;;;;;;;;;;;;;;;;;
    8 r( q! `$ I6 L0 ?7 F
  172. ; php.ini Options  ;* p. O4 w9 L6 o7 N) i. G2 P
  173. ;;;;;;;;;;;;;;;;;;;;/ {, O2 {+ N8 Q: m/ r
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 R. E  W* @  \4 J+ F# A
  175. ;user_ini.filename = ".user.ini"
    % b6 m; N! U! ~3 J
  176. % c7 I( g/ A) K" n
  177. ; To disable this feature set this option to empty value. X: C% I- D4 c' x: j/ ?
  178. ;user_ini.filename =
    " A& \# V# \' u6 V" Z8 F% R  N0 I

  179. : S; }2 i" ~9 R; ]- _
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)" E% K- h9 Y( H) q4 ?, N
  181. ;user_ini.cache_ttl = 300
    * x6 T% x* ^2 X/ l5 A; a6 P+ G
  182. 4 a" h0 Y" y: d! y2 W3 C5 p, w6 g' I
  183. ;;;;;;;;;;;;;;;;;;;;
    - \) a. j1 r6 N: v: S& d) j9 c
  184. ; Language Options ;% l. i% W: V* Y, d- D* F7 A2 l
  185. ;;;;;;;;;;;;;;;;;;;;
    0 h# t% Y/ v7 T) c7 a: q
  186. / {2 t8 u( ^- f$ Q/ w% M
  187. ; Enable the PHP scripting language engine under Apache.3 A3 b5 H+ Y" N. d5 f/ q3 k
  188. ; http://php.net/engine
    ) _7 x! p0 a, B9 k1 @  ^- q
  189. engine = On
    3 K2 g0 ?$ D9 ?) \7 \

  190. : y, K$ N' E8 I0 A# W6 e, v
  191. ; This directive determines whether or not PHP will recognize code between
    ; j* [3 \5 G. i8 ]' U. u
  192. ; <? and ?> tags as PHP source which should be processed as such. It is8 }' \& \/ B2 |! Q1 a$ R! p
  193. ; generally recommended that <?php and ?> should be used and that this feature
    : J5 S4 H, m# y
  194. ; should be disabled, as enabling it may result in issues when generating XML
    2 [, c. L: y: E! C2 q. H0 R! Y
  195. ; documents, however this remains supported for backward compatibility reasons.
      [& F' K# w9 p* c* {$ x
  196. ; Note that this directive does not control the <?= shorthand tag, which can be# w6 ^: \: Q2 z8 h  d  Q) m
  197. ; used regardless of this directive.
    9 @  q% T; \9 ~3 C0 s; l. b" _4 I* B
  198. ; Default Value: On
    7 x7 h) z0 w2 A- A
  199. ; Development Value: Off
      ?9 i) S+ X+ R1 ?% I+ i% f' g% E: {
  200. ; Production Value: Off
    2 o: j6 L2 {0 I' b, W
  201. ; http://php.net/short-open-tag% F( d, X: E# o( f/ d" x9 [
  202. short_open_tag = On1 R  u2 D0 s' W& t
  203.   x6 c5 ?$ e3 V/ G& Z) {
  204. ; Allow ASP-style <% %> tags.
    : r: W* f6 A( b
  205. ; http://php.net/asp-tags* ]! t9 [/ L8 @/ W
  206. asp_tags = Off! G) o3 n$ E  u1 {4 G5 S: ~
  207. ' a1 n0 g2 a& R
  208. ; The number of significant digits displayed in floating point numbers.' n) Y  ^7 g( H4 I8 I; s! I5 K
  209. ; http://php.net/precision! K6 |' v& |. B" A
  210. precision = 14' j0 k) U* S7 Y* H" [
  211. % a4 S) f3 y- ], {/ {$ n* q
  212. ; Output buffering is a mechanism for controlling how much output data4 U% j5 b  J2 y( A+ i* B& _. P
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ) T# r+ H& r5 l0 {( l; ?' W: u
  214. ; data to the client. If your application's output exceeds this setting, PHP1 t; G$ W& T# U5 X- D7 {( t
  215. ; will send that data in chunks of roughly the size you specify.
    ) A0 T3 S4 Q+ q
  216. ; Turning on this setting and managing its maximum buffer size can yield some6 B8 V& a* M6 h: {& v
  217. ; interesting side-effects depending on your application and web server.0 S) `' z! c, e' y: V
  218. ; You may be able to send headers and cookies after you've already sent output8 S! q% N# I% n: b( j$ Z( A' F
  219. ; through print or echo. You also may see performance benefits if your server is/ b2 a! c6 z( Z1 M9 n5 Y
  220. ; emitting less packets due to buffered output versus PHP streaming the output. E: `9 `5 ^: V* N  [
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 @  R2 y' r$ ]
  222. ; reasons., p" P/ F' m. e; b; ]
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    2 v% O# G# X0 M* O
  224. ;   functions.2 \. q5 M$ ?8 E3 G) e) h
  225. ; Possible Values:
    2 O) ?0 ^0 H* s
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    $ B: t$ |3 t; \  r" X. x) n" D8 ?
  227. ;   Off = Disabled
    % R! g* [; x) E; K
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes., x4 z, {, l+ z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI% |. A9 T3 m# l) m# R
  230. ; Default Value: Off' l# m1 y, `% Q+ w) \
  231. ; Development Value: 4096
    2 g; O! F8 y9 `6 d
  232. ; Production Value: 4096: r1 m$ t2 z" j/ o
  233. ; http://php.net/output-buffering! z$ N+ }# o2 t% y" N
  234. output_buffering = 4096
    ( m4 Q! p! x8 a! ^
  235. , k' g: p; ?9 a3 E! @+ l8 _
  236. ; You can redirect all of the output of your scripts to a function.  For( ~2 E+ s# ~( Q0 x5 l: O% v0 A
  237. ; example, if you set output_handler to "mb_output_handler", character+ N0 K! F4 e/ B/ t
  238. ; encoding will be transparently converted to the specified encoding.
    " ]1 {9 ]3 c) O' p  R% `
  239. ; Setting any output handler automatically turns on output buffering.# ^" w' K8 E- t% q/ z
  240. ; Note: People who wrote portable scripts should not depend on this ini
    + w; d# a) y' U- v
  241. ;   directive. Instead, explicitly set the output handler using ob_start().& T8 a1 X& |; D: v# O" z7 s
  242. ;   Using this ini directive may cause problems unless you know what script
    4 Y% ^3 q! _, r9 U( Y& B; i( _
  243. ;   is doing.4 _& c3 v3 M/ w9 a2 b# |0 w
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    8 b7 x8 m6 `, O4 x& F( c* f$ d
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".- @9 w7 \# }4 }1 v! f$ U% }
  246. ; Note: output_handler must be empty if this is set 'On' !!!!! _' [9 a& O2 Q
  247. ;   Instead you must use zlib.output_handler.) F1 s4 r; v# ~( S1 z
  248. ; http://php.net/output-handler
    ! j2 f6 E1 e& J' c, l
  249. ;output_handler =: Q4 \. m+ D$ f1 y) u6 c

  250. . I. S4 C/ x* a
  251. ; Transparent output compression using the zlib library# [0 K. e7 H! p* ]1 L
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size4 p) p5 Q: e: Z
  253. ; to be used for compression (default is 4KB)1 L# X" h& Y- j6 A7 c' n9 F
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP- C2 n  |7 R9 J# K7 O0 w
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    * ]- s6 V- D  h) Y( g
  256. ;   compression. If you prefer a larger chunk size for better
    5 h7 n  n8 P/ x7 _! x! j
  257. ;   performance, enable output_buffering in addition.2 y  u0 `5 w- M$ O/ y! r/ H/ K5 W4 z
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ) R* A9 @/ K0 Z9 N8 m- Q
  259. ;   output_handler, or otherwise the output will be corrupted.( c6 M. ]& ^- q) ?
  260. ; http://php.net/zlib.output-compression
    / p2 r2 O5 B, j4 G8 i
  261. zlib.output_compression = Off
    9 h4 B$ Z3 C5 j* [

  262. 2 \$ R* ?7 ^3 k: g( o0 y" k0 J
  263. ; http://php.net/zlib.output-compression-level
    " o: R# a; \6 C
  264. ;zlib.output_compression_level = -1
    2 S9 d/ y# P7 K2 |

  265. % ]0 z" B+ L+ Z' B: p
  266. ; You cannot specify additional output handlers if zlib.output_compression) \4 P8 F; n; a/ B1 f
  267. ; is activated here. This setting does the same as output_handler but in) A$ s, \) P, N
  268. ; a different order.
    " B8 X& P! B7 X. |
  269. ; http://php.net/zlib.output-handler
    3 {! Q* A4 c4 Q: \/ x, [
  270. ;zlib.output_handler =
    4 s) G+ `7 c; h/ n/ I' T; U4 V& O

  271. % i: U# f) E: q$ E
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 B8 A  B2 A: b. E4 S
  273. ; automatically after every output block.  This is equivalent to calling the
      E! x% z- @1 l4 b- J( t# @
  274. ; PHP function flush() after each and every call to print() or echo() and each
    . m) U) \/ C! O
  275. ; and every HTML block.  Turning this option on has serious performance
    + b7 p! C+ P! D1 ^4 y; c) \2 Y3 [
  276. ; implications and is generally recommended for debugging purposes only.
    + M1 r' x1 r/ i
  277. ; http://php.net/implicit-flush
    0 N/ `' \3 z, \& ?8 t
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    " l6 Z# m0 l% K
  279. implicit_flush = Off) q* o8 t& O, [4 h. P$ E. z  f
  280. : l+ g6 N5 [* X( Q+ n
  281. ; The unserialize callback function will be called (with the undefined class'# Y7 u. \$ u) g2 s: C% \; D: A
  282. ; name as parameter), if the unserializer finds an undefined class) p  `9 G' ^. ]# `
  283. ; which should be instantiated. A warning appears if the specified function is/ L! [2 x( m1 t. I) j) w
  284. ; not defined, or if the function doesn't include/implement the missing class.6 R) v$ Y( I* c; j" U1 r' K
  285. ; So only set this entry, if you really want to implement such a
    " ~& m" M2 {9 p, ]
  286. ; callback-function.2 G% _+ ?/ |( |" m, E; n9 d. r
  287. unserialize_callback_func =' J2 k9 |' ]; s

  288. 9 D1 ?0 A3 t  u9 Y$ g
  289. ; When floats & doubles are serialized store serialize_precision significant* S6 \  L8 J. y! F
  290. ; digits after the floating point. The default value ensures that when floats0 s* |/ w. `" @5 m$ |+ K4 o: f6 O! x, O
  291. ; are decoded with unserialize, the data will remain the same.
    * v& v3 g+ z5 t. u: w3 T" C
  292. serialize_precision = 17
    1 w. r1 F9 Y5 t: {$ V7 S
  293. & [% W7 V2 J6 R5 ~$ v7 Z$ ?( v% E
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ' l; g/ I8 P: `3 b5 N1 G
  295. ; and below.  This directive makes most sense if used in a per-directory
    1 l( X+ Z+ C0 c$ Q8 G) R
  296. ; or per-virtualhost web server configuration file.
    / P: f$ w* w5 {
  297. ; http://php.net/open-basedir, Z) W7 [1 Q! \! M. ?& X
  298. ;open_basedir =! h& J: O* G8 T4 j1 U
  299. * u" F2 B& e* K, Q7 e: Z
  300. ; This directive allows you to disable certain functions for security reasons.
    # n4 A( E  R9 j7 F& y
  301. ; It receives a comma-delimited list of function names.) v) i: Y8 p1 w' x  c
  302. ; http://php.net/disable-functions( m# h! d9 ~' A' o6 L/ U4 l
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru5 n$ p+ @7 o' h" ?$ c4 E) i4 L

  304. 5 B7 f2 p$ K9 Z1 ]& a2 ?
  305. ; This directive allows you to disable certain classes for security reasons.
    / A1 j+ Y  _$ P
  306. ; It receives a comma-delimited list of class names.
    ; G3 P% H6 ], Q9 e' o8 Y* i
  307. ; http://php.net/disable-classes
    2 k4 y, L4 U8 Y& @- u
  308. disable_classes =8 d  j, D1 ^( }: u
  309. 9 F+ p6 l: n# ^4 w, Z" _% B
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' ~0 n" E1 V; @% w4 Z" m
  311. ; <span style="color: ???????"> would work.1 b' j* A$ L# j9 g0 q4 r7 ~
  312. ; http://php.net/syntax-highlighting
    ' Z% @3 Z" X; D$ ?: x, e
  313. ;highlight.string  = #DD0000! c- @8 M4 P6 `; t
  314. ;highlight.comment = #FF99003 ]8 `1 f; K  x+ E2 u- T! k1 z
  315. ;highlight.keyword = #0077004 n: [2 \4 @4 N, R/ [  I
  316. ;highlight.default = #0000BB# s' N0 x1 g6 Q( m
  317. ;highlight.html    = #000000
    : M0 @1 p& q' t- B4 p2 W
  318. 9 k. K4 {9 m$ I1 j8 n
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    & S  v5 g; D' X: X% j
  320. ; the request. Consider enabling it if executing long requests, which may end up
    9 `4 y4 X/ V  v& j/ l
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ) e+ C3 q: R9 m1 W* j
  322. ; is to disable this feature.& H4 `* f2 G8 \- j  F7 h: }1 q
  323. ; http://php.net/ignore-user-abort
    # a. I, o: R3 K1 A& S8 b0 r
  324. ;ignore_user_abort = On
    % X0 D# C: P# o" W$ `) r! S( e
  325. 1 J* V" Z0 G* l6 Y' O( |/ P
  326. ; Determines the size of the realpath cache to be used by PHP. This value should. U2 ]0 \/ d! d' \
  327. ; be increased on systems where PHP opens many files to reflect the quantity of& O7 h6 K* t# s
  328. ; the file operations performed.7 M! Z* [8 D4 {: I* z2 a9 i
  329. ; http://php.net/realpath-cache-size) t8 U( w) S( K& N4 l* d+ C9 X7 _
  330. ;realpath_cache_size = 16k
    + F) c" U6 r7 c7 a

  331. 1 n# K0 L5 W2 ~7 v  f' n2 a
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    3 _5 n8 y' |  E' e, A2 |% f2 W& L2 X
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    / H2 I# Q( A, B$ K
  334. ; value.
    ( K/ c. T% P, `6 s8 W
  335. ; http://php.net/realpath-cache-ttl
    , e; K; o, I% S9 u7 e5 r
  336. ;realpath_cache_ttl = 120$ m; Z; a, t" b9 ~" k

  337. . ]) [4 M) I) ~" }7 ~2 j' Z
  338. ; Enables or disables the circular reference collector.
    9 ]" O* ?, w: ?3 W( g- V
  339. ; http://php.net/zend.enable-gc
    4 G9 `; Q& N  o7 ]5 i
  340. zend.enable_gc = On
    5 R  W! U( C7 w2 m2 D+ o
  341. . ?) N" R2 M' O! J9 f9 B
  342. ; If enabled, scripts may be written in encodings that are incompatible with1 H4 u( k* A4 m" U* p2 l
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 [( X- d& b5 X, x* b6 V5 N
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 N/ Q6 R/ B! ~3 s
  345. ; Default: Off1 s! f7 y0 m1 V6 h
  346. ;zend.multibyte = Off. ~% U- f. f! {6 ^; \; f

  347. 8 W- ^% U: p) r* g) i* f
  348. ; Allows to set the default encoding for the scripts.  This value will be used* ]) ^& r" H2 N' ]$ F, [2 ]6 [
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) A  K7 C5 J3 Y! W7 {/ ~0 E
  350. ; Only affects if zend.multibyte is set.* V: a/ x' b! H
  351. ; Default: ""
    " q& L& v  i% A# g
  352. ;zend.script_encoding =& u& a7 H3 ^9 A9 u& }; `; p

  353. 4 z- d& B( y9 C! N" T8 Q
  354. ;;;;;;;;;;;;;;;;;3 X9 [) X7 s" K6 G3 y
  355. ; Miscellaneous ;& D+ S0 i9 V' W3 w+ c/ G
  356. ;;;;;;;;;;;;;;;;;
    ( u, z" k- Q4 P
  357. 8 ?9 Y) C# A- Z/ a4 J
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 j& R4 b' z, y
  359. ; (e.g. by adding its signature to the Web server header).  It is no security" g- R3 N) t# R- D9 v3 ~# g1 a3 ]
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) _1 i% u0 w  Y) w( \
  361. ; on your server or not.3 _$ }) x# R( @. h4 a" p
  362. ; http://php.net/expose-php0 H) r- Q, N2 a2 W1 O) {
  363. expose_php = On/ x' D1 s) x( U+ B1 `; y

  364. 4 x& d7 A- U/ C, D6 O% P
  365. ;;;;;;;;;;;;;;;;;;;
    7 C5 t, B; V- X, v  N7 I
  366. ; Resource Limits ;
    0 [& M9 D4 V5 a2 i" i% i- r3 R* _
  367. ;;;;;;;;;;;;;;;;;;;. ^7 u, E. `5 ~: Y

  368. & [7 k! L: \% X- x" b4 I
  369. ; Maximum execution time of each script, in seconds- z4 o( z, @9 B4 j% j" Q
  370. ; http://php.net/max-execution-time
    + n5 j0 X) P, s$ r% e; N
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI: s7 e7 _1 ~9 L& S2 J* T4 O
  372. max_execution_time = 300* D' b- q; l; z/ Q7 y/ l7 ^

  373. ) t* J+ \2 Z7 E$ |) e
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( H" |- b0 t+ J" c
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly) ?$ y- T9 Y9 n9 O; A
  376. ; long running scripts.% @" c& B, [' Y$ h+ ^; W
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ! J/ {0 X0 b, Y% e/ S
  378. ; Default Value: -1 (Unlimited)' ^6 X6 d6 h9 Z; v7 Z$ Q
  379. ; Development Value: 60 (60 seconds)" q  i# \9 a: o. H3 h5 W
  380. ; Production Value: 60 (60 seconds). s/ a  _: M7 {, V
  381. ; http://php.net/max-input-time  [' m6 V' o; P: ^1 v: s$ t
  382. max_input_time = 60
    . }8 U" |0 T3 \. j& @1 l
  383. # v" \9 X* d" a' `; }5 P
  384. ; Maximum input variable nesting level4 D+ i0 `3 ^( I4 a0 P
  385. ; http://php.net/max-input-nesting-level
    # U' a2 {0 l0 S. `2 J. l0 t; s" C
  386. ;max_input_nesting_level = 64' V* K; }* \& e- D, A6 D1 @
  387. , S0 `8 |* U3 c
  388. ; How many GET/POST/COOKIE input variables may be accepted
    $ S/ z; ^0 X' c9 X7 Y
  389. ; max_input_vars = 10004 F  T+ F* r& J8 e
  390. ) k8 K2 R2 A% w' A
  391. ; Maximum amount of memory a script may consume (128MB)
    * y# P6 P; H; s9 V% ^, ?
  392. ; http://php.net/memory-limit
    7 U4 h, }4 t; V" s! l% ~  S$ _% x5 _
  393. memory_limit = 128M# V, G( f5 w/ F# e% H

  394. 7 F1 d! R' u6 k0 S& Y
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 r& G$ V7 h4 H' c
  396. ; Error handling and logging ;
    ) S2 B- I9 Z3 ~/ q5 Z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * h; ^' }' W% P4 d. q
  398. + q% _. ]" d# E* ]: J, {5 d- s' M
  399. ; This directive informs PHP of which errors, warnings and notices you would like$ h4 c4 X! _" p) _% ?
  400. ; it to take action for. The recommended way of setting values for this- P! v" ]7 s5 |" I" s
  401. ; directive is through the use of the error level constants and bitwise, b% r( G2 M, Y
  402. ; operators. The error level constants are below here for convenience as well as
    + O) ~+ s  o: [( r' |( c4 O) ~1 L
  403. ; some common settings and their meanings.
    " R. J4 _( `' w" B. {
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* f7 z2 V5 y1 ^! L
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 R/ M1 G2 S0 \& H( i
  406. ; recommended coding standards in PHP. For performance reasons, this is the7 X: z8 r0 d* W, I+ c# Q
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; J3 M) ^" m' c- p
  408. ; resources complaining about best practices and coding standards. That's what$ s3 F3 B& h" i0 A! h) B* w
  409. ; development servers and development settings are for.2 q. M% @. O+ `
  410. ; Note: The php.ini-development file has this setting as E_ALL. This5 b8 v7 d8 r# h* e. a& b" E5 E
  411. ; means it pretty much reports everything which is exactly what you want during$ D: H7 q' W8 z" t0 D, y' Z
  412. ; development and early testing.
    - Y" Q! g' l8 I5 g
  413. ;+ G8 @6 L% d+ E/ X
  414. ; Error Level Constants:6 k8 G/ |4 j) p  `
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)( f. z8 h% D# L- [0 s  j3 o
  416. ; E_ERROR           - fatal run-time errors$ u$ F% E. a2 M  L
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 S7 a; g7 F& ]7 g* W* }
  418. ; E_WARNING         - run-time warnings (non-fatal errors)5 ^. U; W! B7 E& n. d+ y, o
  419. ; E_PARSE           - compile-time parse errors
    1 D/ r% I( X/ r, H# R, T! p4 ?2 P
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ; f, e5 e) J# u' X! v
  421. ;                     from a bug in your code, but it's possible that it was
    . f; W& r' m. M2 q/ E# z: I
  422. ;                     intentional (e.g., using an uninitialized variable and
    7 C" a6 H& T  N( _) [
  423. ;                     relying on the fact it is automatically initialized to an
    2 `1 W' Q; V; }1 \
  424. ;                     empty string)
    1 A  x- L: l; O7 }# {9 N, `* x0 X+ w8 `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes$ S* X- X' M" m3 \
  426. ;                     to your code which will ensure the best interoperability+ b+ U' q+ R$ A" B0 S7 E
  427. ;                     and forward compatibility of your code
    . g0 n) }& b+ B  ~+ S# B8 i
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 A2 {( e: _$ C# S. L4 i
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 i! e7 z8 a! L/ m' t9 b6 g0 o$ F
  430. ;                     initial startup
    , I/ _  A( k  U, a% m8 G  h0 ~/ [
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    * e% W8 [) P) `( I$ p8 {" }- v* _
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 d# `) o% h3 _% k( ^! r8 B
  433. ; E_USER_ERROR      - user-generated error message
    " K0 L2 m* H% q; L/ q3 z# E
  434. ; E_USER_WARNING    - user-generated warning message* ?) ?9 H7 y2 L- f. D
  435. ; E_USER_NOTICE     - user-generated notice message3 v& x% ^8 n( L: K6 ^2 w
  436. ; E_DEPRECATED      - warn about code that will not work in future versions0 T% C+ l! V* t2 R/ c& Z
  437. ;                     of PHP2 b/ E: [9 X2 A. ]3 \2 s: Q6 P
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    . ?% y* s  C8 P
  439. ;
    , g9 N6 R$ ^! Y
  440. ; Common Values:
    8 M8 U3 f0 ]# W
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)( y' }9 c, Q* O5 F% J  ~+ ~
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)% C% H/ r2 L. |% p, @  |! A6 W
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    . ?  w' k- G. W
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)$ V& l# A+ i+ r. \5 O! v0 _. W
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! _; x( {1 |6 e/ ?  a; i
  446. ; Development Value: E_ALL
    / ^' G- j) z- [' W7 v, f1 y
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      C4 u+ c1 R1 N' ]/ M
  448. ; http://php.net/error-reporting. ~# F; j$ w5 A. M4 `
  449. error_reporting = E_ALL & ~E_NOTICE
    3 K6 t, ]1 I; u$ N  G% u3 f) d

  450. 8 H6 \; [# v! Y- H6 R4 q
  451. ; This directive controls whether or not and where PHP will output errors,
    - ]. s9 r1 t5 F5 _' O
  452. ; notices and warnings too. Error output is very useful during development, but
    7 Y" S5 Y, Y3 q: r' S1 l
  453. ; it could be very dangerous in production environments. Depending on the code
    3 ]2 k: @+ V  B
  454. ; which is triggering the error, sensitive information could potentially leak
    ( a/ K" ^' G3 e. Q: l9 f% C
  455. ; out of your application such as database usernames and passwords or worse.$ r$ ?7 J& `: \5 W9 W5 R
  456. ; For production environments, we recommend logging errors rather than
    4 M# m1 Y1 }8 k+ R
  457. ; sending them to STDOUT.) P  b% B" G2 D
  458. ; Possible Values:
    $ _9 z  R/ I+ E6 w/ l, R6 z
  459. ;   Off = Do not display any errors
    7 v! G/ _; |. D+ i8 D
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    7 r0 c+ m, y% ?7 r- v& W6 K9 R$ H1 U
  461. ;   On or stdout = Display errors to STDOUT% A4 l( i! u- R+ c& u+ B- z1 |
  462. ; Default Value: On
    ! Q$ |! K) ^4 N( o- z# L9 L2 o
  463. ; Development Value: On
    % X" e. a5 B: j3 U3 T7 g
  464. ; Production Value: Off
    ! @" j3 a, U  l/ O  J! ^
  465. ; http://php.net/display-errors
    . m. m% V& y; G$ {
  466. display_errors = On
    - X1 _) [) R2 q
  467. 8 h% p1 m  A2 j1 K9 q5 u+ I
  468. ; The display of errors which occur during PHP's startup sequence are handled
    8 z3 X. \& r% h0 h
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    : s% u4 }& J4 t# u+ U: O
  470. ; errors from clients. Turning the display of startup errors on can be useful in; _/ X8 `" H7 P' Q, u+ E
  471. ; debugging configuration problems. We strongly recommend you
    ) o# C$ `4 r# ]5 m1 a
  472. ; set this to 'off' for production servers.
    ( N" S5 t- x' o  y" K/ r; z* f# |
  473. ; Default Value: Off) r* o. g5 n7 g, y$ a: V5 C
  474. ; Development Value: On. G. ^) Y+ c: U8 F, R. R4 s! E
  475. ; Production Value: Off
    , G* K8 e9 s" }2 J- W7 s: k
  476. ; http://php.net/display-startup-errors
    3 W4 a  L5 K( i" \9 x3 C
  477. display_startup_errors = Off& S3 a3 W4 w) R/ B+ L! J

  478. ' E0 f( _0 D  g  `5 X( |; |
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 w( T% `1 w* f8 T# x7 e% j
  480. ; server-specific log, STDERR, or a location specified by the error_log
    5 t. k5 b- F# \7 z. k
  481. ; directive found below. While errors should not be displayed on productions7 E" [2 F8 l! u+ l" C
  482. ; servers they should still be monitored and logging is a great way to do that.0 v( L2 z! }7 l9 }; d- d
  483. ; Default Value: Off
    9 m+ ~( W4 }+ t' D9 A4 B6 V
  484. ; Development Value: On
    . d; S2 }. T$ c5 M6 n: t
  485. ; Production Value: On- S0 I' X' C5 O3 y. R! C
  486. ; http://php.net/log-errors+ k; q, @; X- d6 R
  487. log_errors = On
    : ~+ P* E/ r5 H; W
  488. 9 O' [3 s" D  }  M# F0 N
  489. ; Set maximum length of log_errors. In error_log information about the source is' {/ |% q2 X3 W, q& i5 I+ K. l$ y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    - x. x# @8 }- S1 g4 Z
  491. ; http://php.net/log-errors-max-len
    # o" V3 s, k# h) e5 Y* i9 n  W
  492. log_errors_max_len = 1024
    7 v3 V, X6 J8 X3 [# K# r1 e* w1 s

  493. , D+ |8 W9 x2 B& N9 j5 W) d
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , P4 [! B# U: p9 {  K" i7 M# e+ ~
  495. ; line unless ignore_repeated_source is set true.
    % ~, }* f' s0 j7 _8 ]% L5 x
  496. ; http://php.net/ignore-repeated-errors1 Z# K8 O, _: [1 b. e
  497. ignore_repeated_errors = Off* L3 p0 x( o" Z3 S
  498. 8 V* u% l1 v4 Y( F2 n& Z% k
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    2 f* ]9 d3 B" l- U' x* N7 G
  500. ; is On you will not log errors with repeated messages from different files or% t& m! }6 a% E; p) y$ ]
  501. ; source lines.
    / {5 z' ?5 T7 H! m" P1 k
  502. ; http://php.net/ignore-repeated-source8 z3 h/ C5 s! ]% B
  503. ignore_repeated_source = Off; J8 s* n; L5 `8 a1 ?6 @
  504. - |* O- y$ |5 l7 h* Z' f* l. Y5 U
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on! L8 a/ W; W. H
  506. ; stdout or in the log). This has only effect in a debug compile, and if- n% `/ ?% f0 e# W! d, R7 ?
  507. ; error reporting includes E_WARNING in the allowed list5 M; T  F) v1 @3 k
  508. ; http://php.net/report-memleaks
    ) V1 h5 G! x% `( s* \
  509. report_memleaks = On8 V8 W, ^  [/ D3 H
  510. 9 A. C8 l' x* K! [" d) C$ E- P) g
  511. ; This setting is on by default.9 u4 }1 M9 g0 i% R2 Z) G9 x. t
  512. ;report_zend_debug = 0
    ; ~3 @* E! i3 K

  513. : n, y% L4 W+ b2 e
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ! ]5 q6 G2 P0 A, B
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    1 X" _3 N, q) n% u2 O
  516. ; however be disabled on production servers., k* i; L+ N& Z9 S& @$ c( J0 i
  517. ; Default Value: Off
    * G* l5 i( S+ l0 ?2 }8 R# X
  518. ; Development Value: On
    2 g0 O! ]. W. j# a: B' S
  519. ; Production Value: Off
    " @5 O0 E2 e' [2 \6 z2 \% U- m
  520. ; http://php.net/track-errors
    . J; i* e1 ?: G' I0 l
  521. track_errors = Off7 r# C7 K5 F  x6 \+ S) ?
  522. 9 Y0 t9 l" v# {6 f5 `
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ) }9 p, r* o9 V2 r9 H  }
  524. ; http://php.net/xmlrpc-errors5 I; w6 t. E- p  U
  525. ;xmlrpc_errors = 0
    8 a0 F7 \% ?( I" Y) }7 s+ L3 u

  526. 4 E1 V" L2 b$ \3 z7 G) t; T0 a
  527. ; An XML-RPC faultCode
    9 {% j4 Z: `) m3 C7 I8 o2 ]
  528. ;xmlrpc_error_number = 0& S' m4 c6 z3 ]3 [

  529. 1 Q* e0 f- y7 x2 `: m) O8 X
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    0 D. b$ ?$ K3 l+ W* W
  531. ; error message as HTML for easier reading. This directive controls whether
    3 i0 L& r- ]. s! q2 a
  532. ; the error message is formatted as HTML or not.
    8 d. @; W4 E8 n; j5 [( b# G5 u% V4 d
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 ]" P- ^7 W' ?) p, N! C  \0 C
  534. ; Default Value: On5 P9 t8 t3 {0 i
  535. ; Development Value: On3 G% h' g! Y+ E0 g( v
  536. ; Production value: On
    $ F3 _5 [8 g2 ?
  537. ; http://php.net/html-errors" ?# Y! S0 \/ l( p  }$ {# O
  538. html_errors = On; _* a4 k9 U7 G3 Y( K( J9 v

  539. / s2 d9 V) @( a. ], m% a
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP0 P  \* Y! K! X- {1 @& {
  541. ; produces clickable error messages that direct to a page describing the error6 f5 o9 J* Z* ]& \' G; c3 X0 B
  542. ; or function causing the error in detail.
    . \& D) P' }0 h4 u
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    6 P8 }% A, C9 Z' Z
  544. ; and change docref_root to the base URL of your local copy including the
    * c" t2 V+ a; G# g. D; T
  545. ; leading '/'. You must also specify the file extension being used including$ T- _! P+ f+ w' U, H# Q
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    6 I2 @2 T$ J! k  I
  547. ; case no links to documentation are generated.
    5 m! ~( B4 d( _% d# Z2 O& `
  548. ; Note: Never use this feature for production boxes.  U) U- D: C6 g1 Y' T+ T
  549. ; http://php.net/docref-root
    / W8 ~7 `1 p) p, N
  550. ; Examples  X* m) Z: |% [% ?: k  d9 K* ?
  551. ;docref_root = "/phpmanual/"5 R( V/ _# S' k

  552. 3 x, m7 A0 A) q- v: B4 A
  553. ; http://php.net/docref-ext6 ], X0 a  B8 X
  554. ;docref_ext = .html
    ( m+ n, R, b! L! D! ]
  555. 9 {$ g: c2 ~- y$ G# q0 {
  556. ; String to output before an error message. PHP's default behavior is to leave& K% r( s( k8 F1 D9 a
  557. ; this setting blank.
    * k$ n3 j" O5 ^$ a" h4 r
  558. ; http://php.net/error-prepend-string( e) G# x5 ?( m+ G, e; v" ~3 _# a4 V
  559. ; Example:
    ) ~- J; n* D# s# S4 u
  560. ;error_prepend_string = "<span style='color: #ff0000'>"! x: ]. j! j4 i! R
  561. 2 f( j  B1 R7 r/ @- `. Q* y5 T
  562. ; String to output after an error message. PHP's default behavior is to leave- B9 ]) U) _! {3 M
  563. ; this setting blank.
    , |' s' V- z6 Q; R
  564. ; http://php.net/error-append-string3 ^, {# a, x, k0 N
  565. ; Example:
      o5 P2 V" c2 y3 L+ o. q& @; T7 S
  566. ;error_append_string = "</span>". _/ L7 C, w, ]( N% ~. t8 H: b4 I% t

  567.   u/ H  t+ t+ D. A+ B
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    + k" Q0 N( Q9 k& X* e- E) y
  569. ; empty.! R! ?$ }/ V5 @6 p  E* x
  570. ; http://php.net/error-log1 `( h9 q: P) N/ I- {3 V5 s7 r
  571. ; Example:! `1 y- ?$ L, j  }1 U
  572. ;error_log = php_errors.log# {/ U# g) A# I( }: m' l
  573. ; Log errors to syslog (Event Log on Windows).; G$ x+ |2 B8 Y
  574. ;error_log = syslog2 i  b% c/ V- m* ^
  575. 4 i; b% D5 F% N  }
  576. ;windows.show_crt_warning
    . A. D1 p- S7 J. Y1 {0 e
  577. ; Default value: 0  ]; j. _6 S! Z: |; _3 I7 m% P
  578. ; Development value: 06 D  o% `- y# }  g3 d0 V7 S3 ]: x5 f
  579. ; Production value: 0
    1 N+ X* |# L' q- J* u
  580. / A) \  g: d9 O' m
  581. ;;;;;;;;;;;;;;;;;
    9 e  N& H, k% }9 c& a3 d5 @- c& d/ e
  582. ; Data Handling ;
    $ W& x, ]  i2 Y$ Y
  583. ;;;;;;;;;;;;;;;;;
    " [4 g. |% s' \; N3 L) N: v

  584. " C6 j0 F/ b& _9 _  W
  585. ; The separator used in PHP generated URLs to separate arguments.+ G. S& ]1 v; i1 r* i
  586. ; PHP's default setting is "&".1 i: x' D2 m5 v1 r" V7 l6 u' j
  587. ; http://php.net/arg-separator.output6 _: b, z. ^) s; \) T' x3 R
  588. ; Example:
    ( f, @, k# l* f- S
  589. ;arg_separator.output = "&amp;"% w3 ], ~+ f' P) H: Z; K# }
  590. , d! [/ s6 A7 ]7 V# l4 D
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' p0 k7 o  s. B& e8 S
  592. ; PHP's default setting is "&"., a  n' H1 z) _) u4 C, G
  593. ; NOTE: Every character in this directive is considered as separator!( B% p1 Q( {& a9 S& w' b
  594. ; http://php.net/arg-separator.input
    : c0 ?: j0 ^- X+ P# K
  595. ; Example:
    + ]/ j5 r- t  u8 i0 A( i( b0 Z2 [
  596. ;arg_separator.input = ";&"0 X9 S' u7 f8 v+ I/ N1 ~& F( ]

  597. 6 v% P, [) _% C8 \& l
  598. ; This directive determines which super global arrays are registered when PHP9 c: u" [6 F$ V! u" b1 O
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! R+ g, [9 e) M9 _7 \
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' H. |) ]4 p' X5 d9 n8 u3 b
  601. ; paid for the registration of these arrays and because ENV is not as commonly( l5 U4 R8 ~0 D. N7 j3 G. \- I: S
  602. ; used as the others, ENV is not recommended on productions servers. You: Y* S1 I, W. @, o# f7 J
  603. ; can still get access to the environment variables through getenv() should you$ W# v7 S2 B- @' z+ \3 O
  604. ; need to.
    $ m4 T% k7 ~' S1 h* U) `
  605. ; Default Value: "EGPCS"
    2 |7 Q$ N. C. J9 e$ d2 ~) U9 B6 e
  606. ; Development Value: "GPCS"
    8 z( P0 d$ S8 Z0 f' `# `- k
  607. ; Production Value: "GPCS";
    ( k0 b) N: ~( ~
  608. ; http://php.net/variables-order2 y7 _7 s2 X  L6 \/ x& ?# R1 u
  609. variables_order = "GPCS": Z7 t3 k8 M6 u: A

  610. + U! W( X/ D: K$ }
  611. ; This directive determines which super global data (G,P & C) should be
    + o5 _4 @9 D; \4 f1 Q& h7 }" m
  612. ; registered into the super global array REQUEST. If so, it also determines$ P5 V8 a' I5 O  d2 B3 z0 E2 l8 t
  613. ; the order in which that data is registered. The values for this directive
    . H5 F  z# Z1 ]' ~
  614. ; are specified in the same manner as the variables_order directive,
    % T) ~& f9 J% X5 ~# L: s; f. z
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set1 r+ f' E. l7 i
  616. ; in the variables_order directive. It does not mean it will leave the super1 _* w9 X8 l$ z$ @/ O) a4 V6 D
  617. ; globals array REQUEST empty.7 E" g; D: O; h5 p
  618. ; Default Value: None5 p' U4 Z% F5 [3 h8 T
  619. ; Development Value: "GP"% e% g  ?2 x2 O+ U, W6 u7 P7 z2 b
  620. ; Production Value: "GP"7 F# R0 z) D7 \" c' D
  621. ; http://php.net/request-order4 h2 U/ L3 {* o1 m* x' q
  622. request_order = "GP"9 V7 k9 ?0 @$ ?- ~: _: R4 H

  623. 6 x* C& A% g5 O
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    % e4 i6 e4 V; A( K" n6 s
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    : v+ n; E7 m: Y' j& {, g6 x, e$ y
  626. ; is invoked. $argc contains an integer representing the number of arguments
    2 f, Q- B- c6 H8 ~! a
  627. ; that were passed when the script was invoked. These arrays are extremely3 m7 S+ c/ |- x! I( r
  628. ; useful when running scripts from the command line. When this directive is
    ' b( l4 J" t2 _: a( n' v7 n5 P
  629. ; enabled, registering these variables consumes CPU cycles and memory each time* h4 t3 `* H0 C0 i
  630. ; a script is executed. For performance reasons, this feature should be disabled
    3 y# o9 q! A$ a8 G. m
  631. ; on production servers.9 Q( y8 ]4 E3 n
  632. ; Note: This directive is hardcoded to On for the CLI SAPI" o/ f( ?6 j6 s2 ~9 T5 n8 \( e
  633. ; Default Value: On
    9 j1 c/ ?, ~2 u( g8 ?/ S
  634. ; Development Value: Off7 l! C( O# T/ F) e5 |4 m
  635. ; Production Value: Off; z7 r3 f0 W$ ]& l& u% U) ?
  636. ; http://php.net/register-argc-argv) b8 t3 X+ `2 V/ {( j
  637. register_argc_argv = Off
    4 O9 g# A6 S, F  o  M3 B( m2 R3 u

  638. / ~9 ^2 l' y2 ]/ U: t' s
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; W& i! M+ A/ ~" W- S, q
  640. ; first used (Just In Time) instead of when the script starts. If these7 a- ^# |8 A2 }; o; ?8 y
  641. ; variables are not used within a script, having this directive on will result
    ! z3 ~' C# R7 e& e; v0 h, A
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled# }" Y3 v4 E* o; d! U! m" _
  643. ; for this directive to have any affect.+ t+ I6 a# t, w4 V4 Y
  644. ; http://php.net/auto-globals-jit' t: b4 D$ c- D" w# S% W$ x
  645. auto_globals_jit = On
    # {4 ~+ Y: `% H+ k- R8 b

  646. 3 J# p3 b' j6 n
  647. ; Whether PHP will read the POST data.& X! t5 ?0 n7 e% K
  648. ; This option is enabled by default., N" a9 \. P& j  A
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST: ^" S7 q4 A' _5 L  [$ {
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    $ C( F" r) i' _) \/ F
  651. ; POST data will be through the php://input stream wrapper. This can be useful' ^* k# q* u) s/ C, v2 C! D' _5 Z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.- q( _+ i7 G* y/ E; s
  653. ; http://php.net/enable-post-data-reading
    % W8 V7 F- n- l; X- M- ]1 J1 t  F
  654. ;enable_post_data_reading = Off
    ' _- j% w8 j1 l! N1 G

  655. # u4 [, y( u  j5 E0 O
  656. ; Maximum size of POST data that PHP will accept.
    8 }$ v8 L# w3 Y' l" ]; S3 ?& u
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    : D# ~7 ^1 v$ [: B  b' V
  658. ; is disabled through enable_post_data_reading.1 Q) i/ p5 @# e! `0 U, q
  659. ; http://php.net/post-max-size+ c, u9 o* Y) \9 _% ]; [
  660. post_max_size = 50M7 j# _) Z% E: i5 W- {

  661. - l7 W, s  B) m' M
  662. ; Automatically add files before PHP document.
    . ?% _: m; B8 R, `% {/ _% q& I5 \
  663. ; http://php.net/auto-prepend-file! r! {5 D3 @4 H
  664. auto_prepend_file =; {% b6 ^/ [8 b' [% t* T
  665. - ?1 p1 V) Y( X) d
  666. ; Automatically add files after PHP document.
    + ?; H2 Z( N7 I4 n9 U) l
  667. ; http://php.net/auto-append-file7 Y/ R8 }' r* H1 b7 C
  668. auto_append_file =
    + _" D$ ^3 f+ K2 i2 R3 z: h" E

  669. 0 N( V/ o" }2 Q: O5 Z2 X
  670. ; By default, PHP will output a media type using the Content-Type header. To
    , p$ H/ [8 D' x" i# i( i9 G8 h2 G
  671. ; disable this, simply set it to be empty.7 f9 \4 U% r/ W' b  |" ^6 U
  672. ;
      e( [4 a1 ~/ B3 x' d! [
  673. ; PHP's built-in default media type is set to text/html.
    $ P* ^6 ?# j/ l7 q7 m
  674. ; http://php.net/default-mimetype
    * J) x2 Q1 C% \) |7 P2 w
  675. default_mimetype = "text/html"
    ( f' k+ ]/ H& D+ ?  q8 w4 @1 @
  676. : ~* u& d+ [" C+ C/ Z. s" y5 c( Z
  677. ; PHP's default character set is set to UTF-8.
    " n* x' z- N) ?; w6 g# n% i5 J
  678. ; http://php.net/default-charset' T4 A; h( x3 h  d) j+ ~
  679. default_charset = "UTF-8"
    4 m: j6 l8 y7 k* Q9 A
  680. * }3 e6 q7 C- r
  681. ; PHP internal character encoding is set to empty.) R; E* D, Z6 ]5 R- q
  682. ; If empty, default_charset is used.
    3 _) P5 K" K+ \$ J
  683. ; http://php.net/internal-encoding
    ! X/ U- o/ ^# }5 l+ C  ?* e
  684. ;internal_encoding =
    " j6 Q3 z/ @4 ^* z
  685. - J1 x  l% H& ^' Q; r
  686. ; PHP input character encoding is set to empty.
    ! }3 V# T) _& D7 P" `, B* g
  687. ; If empty, default_charset is used.
    5 y9 s! A: N" B( ~9 i
  688. ; http://php.net/input-encoding
    1 [# U7 O/ ?% A1 _9 G9 l  d
  689. ;input_encoding =! u% S& J0 m# S4 a! ?  [
  690.   u$ X5 i# N+ G; x, {
  691. ; PHP output character encoding is set to empty.
    1 P' l8 |& T4 G) Z  w
  692. ; If empty, default_charset is used.
    ; U* J* [  [) Y6 n8 G4 G# i. I
  693. ; See also output_buffer.* n% q. D3 `* ~8 ?5 G
  694. ; http://php.net/output-encoding. x$ N8 I2 M% m7 n
  695. ;output_encoding =
      t6 q% h* j8 q7 u, M8 g
  696. $ f2 x0 J2 y' A/ ]7 k5 r( B; _1 j
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is! Q/ I) N/ a$ N3 Q' g  v
  698. ; to disable this feature and it will be removed in a future version.4 m; e  \4 u8 _2 s, A5 w8 Q
  699. ; If post reading is disabled through enable_post_data_reading,) L& S7 A3 t: L* B8 \
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.# [3 W( x2 C- j+ }
  701. ; http://php.net/always-populate-raw-post-data
      m& d: ?  O+ Z& s/ A/ ?" N% d
  702. ;always_populate_raw_post_data = -1
    # L6 g6 M6 `8 D9 r

  703. ! O2 w3 Z0 u; U$ q( @' G
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;' H+ u* D( R4 ~* {) L& g, m
  705. ; Paths and Directories ;
    . Y* h; O0 t4 d
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;. C+ g! Y9 B) |) i4 T1 e1 h! x
  707. ; z. _. E/ \' W; x0 H) V% V
  708. ; UNIX: "/path1:/path2"
    + ^: {" A+ {3 k+ T- ^3 w
  709. ;include_path = ".:/php/includes". f$ K# I  T( @, h% d
  710. ;2 q) m% @1 e6 l6 E% p- }
  711. ; Windows: "\path1;\path2"6 U0 w. ~8 @) Q. Z2 z
  712. ;include_path = ".;c:\php\includes"
    3 x" K# m& G+ t0 v/ `/ O) a- Y6 N* J
  713. ;
    / ^. c8 j# V) z
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 J+ o$ |! h( w1 U! c9 I1 \
  715. ; http://php.net/include-path
    % B0 o" i  t. d* h

  716. 4 ]8 V7 V6 v/ c
  717. ; The root of the PHP pages, used only if nonempty.
    6 y( Y+ W- z5 S8 `; h: R* A2 ~
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    / A0 q$ s1 \( I$ @+ G. P
  719. ; if you are running php as a CGI under any web server (other than IIS)5 h; Q6 @3 o  [( W' g$ x
  720. ; see documentation for security issues.  The alternate is to use the
    2 @- Y/ B& `4 k+ @
  721. ; cgi.force_redirect configuration below
    7 D4 W7 V9 \. Q1 L. [
  722. ; http://php.net/doc-root
    / C4 s. G& G& D+ z. k
  723. doc_root =; c& j1 D" `5 B& R8 v7 r

  724. 3 Y# W6 [2 _% F+ Q" Q5 m
  725. ; The directory under which PHP opens the script using /~username used only5 }% {/ \/ O7 l
  726. ; if nonempty.
    3 x3 @% e4 Q9 F1 @" \
  727. ; http://php.net/user-dir
    ; t: D" M$ o6 j$ ^
  728. user_dir =
    ; X. [3 E5 E3 @* A8 l, z  w! {

  729. 7 g% X5 r2 b! {
  730. ; Directory in which the loadable extensions (modules) reside.
    * u; a6 E5 }" E/ `3 ]
  731. ; http://php.net/extension-dir
    3 L( T0 o  S' C/ E3 s
  732. ; extension_dir = "./"
    5 Y3 x8 H3 [1 S: t- e
  733. ; On windows:4 ?& H9 h6 Z" j  s
  734. ; extension_dir = "ext"
    # O9 n2 q  f; z% u% O2 K
  735. 4 _# G* t% B4 P* G! l: O
  736. ; Directory where the temporary files should be placed.
    : ~+ @  A/ _# C, b: C4 `9 J# i; @' z
  737. ; Defaults to the system default (see sys_get_temp_dir)
    + n1 e! a; p4 `/ k; @% w3 O7 n5 [
  738. ; sys_temp_dir = "/tmp", _2 A; w- T5 k
  739. - I% p5 Q9 F8 [. I" ?2 {& b
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    7 L1 c4 Y4 T4 a6 S* K
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    3 p( J) N+ b( |9 M, P
  742. ; disabled on them.
    ! {( C. k; s4 \- z8 n/ p) J
  743. ; http://php.net/enable-dl2 Y5 v; n, ~/ H( O% A+ q
  744. enable_dl = Off
    . ~2 K1 v# Q( w% ^0 T" ?& V
  745. - V  o3 Z  z* c9 S& {: N' a
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 j5 B) @. R* }. \5 ~- E7 w; p
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 \( h  ?  `9 \- D! v
  748. ; turn it off here AT YOUR OWN RISK; R& I: L* ^) C" M6 ^
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    7 u2 t% E  \* i1 u! B
  750. ; http://php.net/cgi.force-redirect3 w/ X7 B  e0 u6 d( a/ W. u: c
  751. ;cgi.force_redirect = 1
    ! E; e9 t0 b( g9 h" j
  752. . c2 d* _. Z% j7 f% Y5 `0 C
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with7 |3 G9 }6 Q- W( i% A2 n- t) u
  754. ; every request. PHP's default behavior is to disable this feature.' C5 `* L2 v; G, G3 _) A
  755. ;cgi.nph = 1
    1 B; ]2 a) p) {

  756. # _& t1 @6 ^% j7 S* g: p/ R* u
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    4 w" P! o4 x! s$ p7 n# o, h  p: e
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP2 `. Q* U* d4 r" v7 F
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY4 m  P+ b) W/ v% X# k- V
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    " {: T, x0 g6 q  D" i0 k" C
  761. ; http://php.net/cgi.redirect-status-env
    " ?9 H2 m9 {& @" e! P( x$ H/ ^! z
  762. ;cgi.redirect_status_env =. [: e6 s9 c$ ~- q; R( r

  763. 9 d4 T2 W* B3 b2 F9 X
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ K* G, g% r* E
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok2 q, J6 F' h. U( ]0 V
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    - D, l4 L& _# {* o+ L
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
      D4 i3 [, K$ `& Y' x
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 f  t# O# o: l5 [# G
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.5 L+ y0 \6 {" m" D
  770. ; http://php.net/cgi.fix-pathinfo
    5 o: e, _* y- j  s: h* \
  771. cgi.fix_pathinfo=1
    $ _% A; u6 n& Q0 c5 F1 l

  772. . _/ q8 X2 d8 t2 t" z1 e! ^& E2 `
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside: r( A7 c4 w1 x" o8 q: R. ^
  774. ; of the web tree and people will not be able to circumvent .htaccess security.( e" a: G9 \: V: `% B
  775. ; http://php.net/cgi.dicard-path1 f5 \2 C7 E$ N
  776. ;cgi.discard_path=17 g/ S7 s/ D' w3 b! G

  777. 3 p/ Y# Y+ O& J, v# ?
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate5 {. x" u  H4 X
  779. ; security tokens of the calling client.  This allows IIS to define the
    4 x: A5 ]8 ^2 w! N& G8 h7 d% Y
  780. ; security context that the request runs under.  mod_fastcgi under Apache* }2 O' H3 |2 X2 Z5 S: I/ X6 K
  781. ; does not currently support this feature (03/17/2002)* o0 c* M; F+ T0 u! I( C
  782. ; Set to 1 if running under IIS.  Default is zero.
    2 \! F8 z/ M2 Z" @) w" y# [) s
  783. ; http://php.net/fastcgi.impersonate6 A1 L+ e4 C# e+ @3 a" v& R
  784. ;fastcgi.impersonate = 1
    5 J9 F6 {9 w) P* b
  785. ) P9 W2 c8 n+ E" o8 A
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable& k2 Y6 s; w1 ]$ V- q
  787. ; this feature.
    . Q: r2 [# @0 g, N% q% ^
  788. ;fastcgi.logging = 0* P  _  \3 q! Z+ I( r3 k+ p. K
  789. : Y: r0 o  P! x! X) m% p
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    & \& G, k8 K; F
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 f. |6 x" e1 B! K9 U5 X! {4 Y
  792. ; is supported by Apache. When this option is set to 1, PHP will send! ?9 x9 S9 F5 `3 _4 `# M
  793. ; RFC2616 compliant header.
    , w! {" M; p. k# K- W
  794. ; Default is zero.; o4 H! W% H% X3 N
  795. ; http://php.net/cgi.rfc2616-headers+ _$ Z, C; T0 S8 W
  796. ;cgi.rfc2616_headers = 0: m5 i2 _) O6 Z2 B+ I3 \

  797. " v4 ?3 @) V) T+ y6 T: v/ M: C
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    7 |: M; C& R! t3 E/ m
  799. ; (shebang) at the top of the running script. This line might be needed if the+ A/ T, d: Y8 e
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI1 h% q& V" [6 j; u
  801. ; mode skips this line and ignores its content if this directive is turned on.) y) i5 g$ b# C, u6 U5 `( v
  802. ; http://php.net/cgi.check-shebang-line5 c: H; ?0 [' M0 g: q
  803. ;cgi.check_shebang_line=11 N- }) [0 R- r1 q, S0 e* {
  804. * ?2 A3 W0 A0 W
  805. ;;;;;;;;;;;;;;;;
      j; \( ~, }  G; A. N
  806. ; File Uploads ;
    " K; L: a- ]) y* x" X
  807. ;;;;;;;;;;;;;;;;* H* K0 ~9 R" ^1 p7 \+ u6 g/ G/ a

  808. 1 k% g( y4 ^- R5 F$ T( a
  809. ; Whether to allow HTTP file uploads.
    ( Q! w4 F; u& Z0 }. w
  810. ; http://php.net/file-uploads
    3 C' F5 k6 P7 Q' y) A# t( S
  811. file_uploads = On
    ! W  H6 Y- q$ f. M
  812. : s  v4 ?6 h' O- O7 C
  813. ; Temporary directory for HTTP uploaded files (will use system default if not5 g% m1 {* j* M0 a
  814. ; specified).' ^  ~$ v2 `' d/ l
  815. ; http://php.net/upload-tmp-dir! _7 C* B+ V6 e# l
  816. ;upload_tmp_dir =8 X5 ~  p8 ?8 C7 X9 Y% y" Y
  817. ! u: {1 P1 n. Q5 n* {- |
  818. ; Maximum allowed size for uploaded files.1 l, h9 u+ E% R1 h$ f; A4 g( F
  819. ; http://php.net/upload-max-filesize$ d# K4 x% g- `
  820. upload_max_filesize = 50M$ R, O/ i' t* E
  821. # D4 A7 B. n1 _0 n1 ^
  822. ; Maximum number of files that can be uploaded via a single request
    & L+ v, m& E3 j5 W; |% T) Q
  823. max_file_uploads = 20
    " d, E, t, |5 w" W$ [# k

  824. ' ?2 t' W% |, `5 B
  825. ;;;;;;;;;;;;;;;;;;* g0 \+ Y7 l3 S6 c2 f
  826. ; Fopen wrappers ;
    8 d5 U: `. F! {8 f, s4 k1 d, H
  827. ;;;;;;;;;;;;;;;;;;
    8 B  |5 `3 ]7 ]# j+ _6 I5 W
  828. & s$ g& S9 A. ~  ^( U
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    8 \$ \$ p+ w# l( }0 i
  830. ; http://php.net/allow-url-fopen9 m  A" h8 z; m. T8 P
  831. allow_url_fopen = On) d$ s, u5 Y1 T# i0 ~2 z7 q
  832. & E1 X; Z+ t; O3 S9 B/ B5 x
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * v3 e- W4 s) R
  834. ; http://php.net/allow-url-include
    * F, `' P7 }" B5 U3 s$ K
  835. allow_url_include = Off
    . Q; ^* o" J% W& _; Z

  836. 2 L" D, }8 ^/ ^
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    9 w' t% E, f/ k- E
  838. ; for this is empty.  Q! O1 y; c9 ^0 ~. p! U/ u0 C
  839. ; http://php.net/from
    0 V9 ]* O( h( |  x6 z
  840. ;from="john@doe.com"
      E0 f# }1 M# t$ ]: y0 h0 B
  841. % }) p( o6 g# H, D7 c
  842. ; Define the User-Agent string. PHP's default setting for this is empty.- m. O* j, |8 r+ E0 R$ M
  843. ; http://php.net/user-agent
    ; I6 e& K& B3 @3 c7 ~# c, [
  844. ;user_agent="PHP"" S1 v1 ~2 T0 D
  845. + s& N) I5 z+ F& v# N4 ?
  846. ; Default timeout for socket based streams (seconds)
    4 f# {* G& P; z) Q' L# ^  S' s/ ?
  847. ; http://php.net/default-socket-timeout
    / Y0 C1 y9 c, z, g
  848. default_socket_timeout = 60% e: P0 @0 y. f/ F% p
  849. 2 |; s% s* `1 v8 e" q5 t/ o+ R
  850. ; If your scripts have to deal with files from Macintosh systems,
      V5 z! A9 B; a8 V, T* e
  851. ; or you are running on a Mac and need to deal with files from' ~* ^, P, A; O' j4 F9 e
  852. ; unix or win32 systems, setting this flag will cause PHP to
    9 L7 K' G/ w# ?- c2 Q
  853. ; automatically detect the EOL character in those files so that1 G% |; _; X0 G) }, J/ [
  854. ; fgets() and file() will work regardless of the source of the file.' g2 H4 @1 F2 y( W$ V* ^
  855. ; http://php.net/auto-detect-line-endings+ l8 v% `1 ?$ d' J3 m: D5 f
  856. ;auto_detect_line_endings = Off
    # J* ~- F8 c6 B: d3 P

  857. ; R# l5 E! X( Z  M$ H, ^. u* {. e
  858. ;;;;;;;;;;;;;;;;;;;;;;
    * S$ x3 X3 f0 g1 l4 a# P: V4 |
  859. ; Dynamic Extensions ;
    % |% R9 ]  ~( r+ m" U) j' k9 |
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ( }- B0 K7 b0 d5 a

  861. # \6 L+ m: h+ C0 S# ?% a- E
  862. ; If you wish to have an extension loaded automatically, use the following* m2 {3 e8 N$ M: S
  863. ; syntax:# b( D1 i  Z5 B% m2 |' _' t
  864. ;
    6 i, ]& s4 Q$ @6 Z( n7 J
  865. ;   extension=modulename.extension
    ) n; {) z3 S* `+ p' J; \& p
  866. ;
    / R4 G; ?  `1 A, J
  867. ; For example, on Windows:% w' A$ c8 W/ y3 J! }1 D2 v
  868. ;
    ( S# S/ G8 p' s4 {
  869. ;   extension=msql.dll
    % k: o( o7 p  t! F5 }- \
  870. ;/ w- Z6 M5 k9 h2 H4 k
  871. ; ... or under UNIX:* ~3 B/ s" U( p/ ^, v
  872. ;. ~. ^0 Q* N% W- Y% c6 d
  873. ;   extension=msql.so
    ) y, d3 ^# Y( ?" D$ X- ?8 J
  874. ;
    * e: p% W/ _* B+ l
  875. ; ... or with a path:6 k# f7 C! Y- A# t4 N) h5 o
  876. ;) c' |8 i/ x8 r8 `3 h1 u
  877. ;   extension=/path/to/extension/msql.so1 p9 z8 X+ ?" [3 m8 @
  878. ;
    ) `, h" Z* `% i/ C. e9 I
  879. ; If you only provide the name of the extension, PHP will look for it in its5 h0 h, s9 D  r" y3 b8 z
  880. ; default extension directory.3 {: m- h0 L( Q' X
  881. ;
    ; L6 @# p# |  }  m1 n
  882. ; Windows Extensions
    " g$ l7 E$ i; W2 ?! `5 {) b
  883. ; Note that ODBC support is built in, so no dll is needed for it.2 R/ g; F- ^; J  L
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5), I' P$ K( a; @' g
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ! i0 F. ]7 j& L; s3 Q
  886. ; Be sure to appropriately set the extension_dir directive.9 F  B# Y) ^- p9 g  r6 w- j; y# v
  887. ;/ |0 S- W! |/ x
  888. ;extension=php_bz2.dll
    3 R7 t. P7 i* ], e5 X3 ?  i/ G
  889. ;extension=php_curl.dll
    & g4 g& d( \# ~9 P3 e
  890. ;extension=php_fileinfo.dll* T6 W! V' _3 P9 t2 a
  891. ;extension=php_gd2.dll( H5 g) O; U( d. e' G; o
  892. ;extension=php_gettext.dll
    7 N7 n" k+ \6 r& d, l: r
  893. ;extension=php_gmp.dll5 F, P/ E* b# r2 ^# m2 x
  894. ;extension=php_intl.dll9 S$ u7 Y  @5 e6 J
  895. ;extension=php_imap.dll
    # k9 d( _; R4 ?: i0 J) g1 J
  896. ;extension=php_interbase.dll
    # T8 b" k$ P) A
  897. ;extension=php_ldap.dll
    4 |* }2 _4 K" d( E3 r& _0 b# w
  898. ;extension=php_mbstring.dll
    , {  ^# ?" a1 j" ^, A3 [. `
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it  }" m9 D2 p, Q/ T: s* ], B
  900. ;extension=php_mysql.dll
    % B) K6 O/ k+ r
  901. ;extension=php_mysqli.dll; }% E8 U, ~' t. J- C
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    7 c0 q9 b4 a1 @
  903. ;extension=php_openssl.dll
    4 u& I! m! J+ b
  904. ;extension=php_pdo_firebird.dll
    " j. K# e% R: `% M- d7 U
  905. ;extension=php_pdo_mysql.dll7 v/ ^" t. g/ h, |8 V* U% [
  906. ;extension=php_pdo_oci.dll5 l8 V6 ]& |: Y" \, h/ x2 H" ~  P
  907. ;extension=php_pdo_odbc.dll
    4 f) |% ^& U# b- x3 f
  908. ;extension=php_pdo_pgsql.dll
    - a$ T+ D! u# R; s) N
  909. ;extension=php_pdo_sqlite.dll
    - y/ k4 O+ L% R: q8 Z1 i
  910. ;extension=php_pgsql.dll1 t: H/ H9 H3 B( l5 B! q$ T3 O* l
  911. ;extension=php_shmop.dll# n% P+ {8 q6 A+ s1 R: o% ?

  912. & S9 F( P6 G1 G5 \- V$ N* Y
  913. ; The MIBS data available in the PHP distribution must be installed.
    ' e. I4 m& f' m2 Y5 a6 I$ }2 ]
  914. ; See http://www.php.net/manual/en/snmp.installation.php ! ^9 C" L( f% W/ a5 x2 J7 R3 R3 B7 n
  915. ;extension=php_snmp.dll8 D4 J. [" R: R8 c4 x, S/ Y
  916. 0 B0 [* H3 u( |4 H$ A- j# t
  917. ;extension=php_soap.dll
    : E, H$ h9 Q$ R3 Z9 A: n
  918. ;extension=php_sockets.dll
    & m* h  F  u8 W" l) i/ M7 i
  919. ;extension=php_sqlite3.dll
    . Z: F) ^6 c4 n: p) ~$ H& [7 @! h5 M$ V
  920. ;extension=php_sybase_ct.dll/ t$ m/ F& v, y% p4 e$ u. [# s+ \
  921. ;extension=php_tidy.dll) M4 n  }1 m" {- \
  922. ;extension=php_xmlrpc.dll
    2 |$ s  u$ ]& l% B
  923. ;extension=php_xsl.dll
    ; j9 l9 |' V' G: _
  924. 1 b& D) l0 j1 P& P* `
  925. ;;;;;;;;;;;;;;;;;;;
    ; G2 f; W0 M/ U+ f0 ~' w
  926. ; Module Settings ;* {3 T4 n' E2 f0 e7 K4 H
  927. ;;;;;;;;;;;;;;;;;;;
    , P6 Q6 T) p$ o: O  t- A9 J) |

  928. ( }+ D/ H( H; O) O# S7 ^. h" d
  929. [CLI Server]
    8 }7 w' [1 B$ ]1 y5 v: [
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    + ~7 I7 F) G3 m; k( [  a* V
  931. cli_server.color = On
    1 t- n/ q0 m+ P3 G7 F) D. j. k

  932. 6 E8 N% |0 W- ?" E
  933. [Date]9 \7 H" L) w2 @& O( s4 X
  934. ; Defines the default timezone used by the date functions2 O) }% _5 t( u+ O* ?/ }
  935. ; http://php.net/date.timezone
    $ M4 M- i/ b. D9 \
  936. date.timezone = PRC
    * i# n: h$ V3 h

  937. $ x3 ^" W% t. T- f3 W- P+ P
  938. ; http://php.net/date.default-latitude, }& Z) ?2 b# H, y/ R
  939. ;date.default_latitude = 31.7667
    5 V5 g" D& a! R0 T0 I* K9 }. Q
  940. " H4 K0 x0 u2 W/ d
  941. ; http://php.net/date.default-longitude" z. x9 A) v6 R6 |0 j5 Q
  942. ;date.default_longitude = 35.2333
    # F+ \/ s7 V8 I
  943. 3 h8 V! y1 \- |# H+ ^+ \9 Q& ?
  944. ; http://php.net/date.sunrise-zenith6 u: a/ g6 f2 J& H9 S
  945. ;date.sunrise_zenith = 90.583333
    3 r. ?* l; }# s' d2 \! f
  946. ' ?9 h9 f) {1 [9 t; O; M  f0 j
  947. ; http://php.net/date.sunset-zenith
    3 B' J$ T. q9 P' p0 {; R
  948. ;date.sunset_zenith = 90.5833332 [$ x/ f- I% v* e" w; C
  949.   T5 ?! ?3 y  b0 b
  950. [filter]# @1 P( S$ z5 K( D5 D
  951. ; http://php.net/filter.default
    1 |- @' q  z# X+ w' Q
  952. ;filter.default = unsafe_raw
    . u1 [8 a  O6 g! g/ M! z& _6 P, B
  953. % _# k5 T8 |8 t2 u3 t) A
  954. ; http://php.net/filter.default-flags
    , f2 \  o$ }9 @+ A) T; T) r
  955. ;filter.default_flags =
    1 j+ d, Y* l# D3 j! W4 }' j
  956. + w0 h) v: F* T) U& L0 _( h
  957. [iconv]2 I' ^' L6 {! m4 ^0 W
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / |3 S6 I' M/ Z# g$ N. T
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    5 |& Q! i8 ]/ e# w
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding5 a) H8 d; g8 N2 W( l/ J
  961. ;iconv.input_encoding =
    , f* }3 Z4 i! m$ h1 v' }6 t, T
  962. ; H6 [+ u) [- P5 `, x
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 c& X; ]% a9 U8 l' c( A! v
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 `4 F: m% K7 q/ B0 P; }' p7 A
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' v1 E, u  E! T
  966. ;iconv.internal_encoding =
    5 y' y8 L( Q2 d% S% P
  967. 6 l. K- O: r! X" A  Y! K
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.7 q2 Z2 R5 @4 k3 `; ^
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 H9 }! U  `" Z$ O
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 X2 J, _8 d) E/ ~% Z) Z
  971. ; To use an output encoding conversion, iconv's output handler must be set- }7 A" @# V9 u7 B& y
  972. ; otherwise output encoding conversion cannot be performed.
    2 z9 h8 ], ^! j! f) Y% f' c6 p! C
  973. ;iconv.output_encoding =
    - R8 z" ~+ b9 D( n2 Y7 g. W
  974. 6 R$ s/ _) ]8 V6 R) v7 V: n9 a" w
  975. [intl]
    + t" j' ~6 J8 ~2 W. }5 n# p
  976. ;intl.default_locale =% ]" `$ t5 T+ f' M3 c
  977. ; This directive allows you to produce PHP errors when some error' s( `7 ~* K( j
  978. ; happens within intl functions. The value is the level of the error produced.
    ; q- }4 a: o- l
  979. ; Default is 0, which does not produce any errors.; p% q% G5 Y. y- M- I0 J
  980. ;intl.error_level = E_WARNING, V0 T- O# V2 ]* q% _& p/ h6 K  f
  981. ;intl.use_exceptions = 0
    ' N7 v7 o+ R! [  @) {$ L- L

  982. 5 q7 w/ K" k  W. }( b
  983. [sqlite3]
    7 C7 E+ d  g5 w, m+ j) t
  984. ;sqlite3.extension_dir =" F0 E9 a8 b) U" a6 G
  985. 6 H$ C4 ?4 y1 v' Z5 |. K$ V
  986. [Pcre]
    / L- s5 s9 o4 a7 N: \
  987. ;PCRE library backtracking limit.3 u! R9 C- J( E, ^: j3 z% i
  988. ; http://php.net/pcre.backtrack-limit
    4 R+ {& Z. ?+ [+ l" L  H
  989. ;pcre.backtrack_limit=100000* A' y% J6 a" q" E/ f% N' r7 J) ]
  990. ; J4 l  X9 _8 b* A2 N& F9 B" t
  991. ;PCRE library recursion limit.. s1 \7 `5 I- \, n
  992. ;Please note that if you set this value to a high number you may consume all2 q5 @1 o5 l5 E; p7 \( _# P) I3 Z
  993. ;the available process stack and eventually crash PHP (due to reaching the  \, W0 x5 I) [- G4 [
  994. ;stack size limit imposed by the Operating System).
    ' u& X" F3 `" k: S* c3 I
  995. ; http://php.net/pcre.recursion-limit
    5 k0 q6 _* m4 b: A- u, y
  996. ;pcre.recursion_limit=100000  ]- H! g7 g9 P# m
  997. 9 A3 P( a5 R- y$ }# h
  998. [Pdo]
    6 s  H: e. p, N
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    5 Z1 Y7 d( n. G
  1000. ; http://php.net/pdo-odbc.connection-pooling6 ?- b0 |3 J6 H4 C3 S) o1 v7 z
  1001. ;pdo_odbc.connection_pooling=strict
    % b; r7 j6 W1 }7 k" H# z$ x
  1002. & Z3 J1 _- V5 g% s5 p
  1003. ;pdo_odbc.db2_instance_name
    - a4 }1 x/ s+ e+ Q* R* s
  1004. 8 L- c' @+ R) x& k  o4 B
  1005. [Pdo_mysql]& w2 l* f& V) P$ W( s* i
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & H9 j3 N* H' {9 |0 r$ P  I$ v
  1007. ; http://php.net/pdo_mysql.cache_size
    ; E( b  M4 l0 ]
  1008. pdo_mysql.cache_size = 2000
    9 x; a# ~9 u) P1 O6 u7 w

  1009. / F5 U9 I" f  i( l6 Z+ b5 A
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : U4 K0 h# o. s  l, s5 ~# c
  1011. ; MySQL defaults.
    7 b4 w" Z9 }( _' d8 H" v. j( s+ m
  1012. ; http://php.net/pdo_mysql.default-socket2 v" H) l+ r  K$ i+ E) x
  1013. pdo_mysql.default_socket=1 {7 e! q/ \" E7 w# v# m

  1014. ' X0 F$ n: P$ P( [
  1015. [Phar]
    ! B7 k6 \$ S* l& s
  1016. ; http://php.net/phar.readonly
    % p: f: \& t/ U0 _) c. _
  1017. ;phar.readonly = On. V2 e$ ?/ ^" {: d: K

  1018. # l7 a- d/ b4 d# C9 A
  1019. ; http://php.net/phar.require-hash2 B6 ]' ~' d! p9 w+ R2 R( j' r6 Y
  1020. ;phar.require_hash = On4 }9 Q% A$ z0 N5 @9 Z* p3 K# j

  1021. 3 l! g+ ~5 Q9 Y+ d. P
  1022. ;phar.cache_list =
    3 c+ q  a% m* |) W+ S9 J# l# U

  1023. $ ~! q" h0 {; B$ J
  1024. [mail function]# B! f# i3 a& r2 I  a4 j
  1025. ; For Win32 only.( N" |1 x+ T. i
  1026. ; http://php.net/smtp
    3 _' O. Q3 b0 l8 f( B7 h1 A3 ~
  1027. SMTP = localhost
    . H3 ]0 `6 }4 z9 g/ T. J0 J: W5 R
  1028. ; http://php.net/smtp-port  j: ?' w2 a6 c0 {4 q: ?8 V
  1029. smtp_port = 25
    & h' I# t* f- T+ T7 M% l( T  e# ^
  1030. $ F& z7 ^; _( z0 `4 M, h* g
  1031. ; For Win32 only.
    / v# G7 t; A* H- a& s
  1032. ; http://php.net/sendmail-from
    # q# ?' D6 g( m9 S  C5 }
  1033. ;sendmail_from = me@example.com3 _% s0 c+ C' T. F3 T

  1034. + K5 M5 j* d5 Q( s, i; N
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 ]" s2 r# l1 O9 [; x2 a0 i9 H
  1036. ; http://php.net/sendmail-path: m) h. u' e* Z% t) w2 g8 X
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    7 C) f9 V- j9 E8 i/ ^* F$ r

  1038. 8 e3 G' t$ A, T- u: i
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    3 y. A5 r; k) z: [3 _& {$ ]0 M
  1040. ; to the sendmail binary. These parameters will always replace the value of( S- a3 U8 e, U
  1041. ; the 5th parameter to mail().
    ) K- J- a# o7 a* ~
  1042. ;mail.force_extra_parameters =
    5 g/ w9 d% r1 r: r3 L& X
  1043. % ]% F7 C2 ~  A5 y5 ]
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    . Z+ \! P0 l- v1 K* w) f. w
  1045. mail.add_x_header = On
    1 D3 z: u/ h( c, K) m) P
  1046. & o) ?* x; G! S8 \
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    / p, P- U( e/ n/ Z- `" N/ ^# K
  1048. ; the full path of the script, line number, To address and headers.. Z6 \! f- K. k1 f/ y
  1049. ;mail.log =
    6 ?$ f- v$ y" A- h/ v" a
  1050. ; Log mail to syslog (Event Log on Windows).6 e" X  n  P: O) i) M4 P
  1051. ;mail.log = syslog
    6 b6 p% X7 i) _4 g% s9 \2 ?, n
  1052. ' F7 f' Y9 x& H6 q+ w; S% \
  1053. [SQL]7 u6 t5 d5 f8 C, {2 |5 |
  1054. ; http://php.net/sql.safe-mode7 r  C* W4 m- z* P
  1055. sql.safe_mode = Off5 t$ j% z' K& x1 `6 C# ~
  1056. 2 l2 C8 E" d- r6 E0 Q3 i
  1057. [ODBC]
    4 B1 }7 x, m; _4 p5 b* N
  1058. ; http://php.net/odbc.default-db
    , r5 P9 _& n8 Z6 T/ `  W
  1059. ;odbc.default_db    =  Not yet implemented& l& |4 k$ Q9 Q" H
  1060. 5 Q0 }' ~) i3 l) t6 ^
  1061. ; http://php.net/odbc.default-user* z* }, |$ c. |0 M( d/ _8 d+ B
  1062. ;odbc.default_user  =  Not yet implemented
    ' k% A- `! L# `3 r! D' Y/ L

  1063. ! G) `/ |$ Q. w' T
  1064. ; http://php.net/odbc.default-pw
    0 Z' A8 w8 ]4 p! f0 v
  1065. ;odbc.default_pw    =  Not yet implemented8 E& I+ X$ B% f1 P. ^1 p

  1066. - D  f# m% b! a( \% k! I6 t
  1067. ; Controls the ODBC cursor model.
    . j. `9 t; K: {' ]- z4 f( S' p1 J4 Q
  1068. ; Default: SQL_CURSOR_STATIC (default).* ^  Z# ~" M7 U% c% l
  1069. ;odbc.default_cursortype
    - Y" _0 E7 a: o" {" Q* n
  1070. 9 u  T; \5 J# l* G  E( {
  1071. ; Allow or prevent persistent links.- P' J1 s* A6 D! t0 i
  1072. ; http://php.net/odbc.allow-persistent3 e) [" |" X, X1 f5 V$ I
  1073. odbc.allow_persistent = On5 W$ s, J. @6 _. x3 D

  1074. $ N2 \" b( U8 y
  1075. ; Check that a connection is still valid before reuse.
    " K0 ~3 F% j! |5 V, `
  1076. ; http://php.net/odbc.check-persistent
    " j6 I2 x* c: h3 M6 Z% O# R
  1077. odbc.check_persistent = On
    * [! D1 R( P: |3 r% f
  1078. / G; X5 j" o6 y7 v( {; B
  1079. ; Maximum number of persistent links.  -1 means no limit.5 P. o8 x+ j5 k- _- M
  1080. ; http://php.net/odbc.max-persistent/ }; {' E( U% q/ h- [
  1081. odbc.max_persistent = -1! m" J9 P1 g; @4 k/ A3 Z
  1082. 2 `8 G0 [; C: N4 E
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 m' @) l. Z" |7 Y
  1084. ; http://php.net/odbc.max-links
    8 T/ Y. |- _4 U! g/ P( B& k
  1085. odbc.max_links = -1
    0 G8 N! g, J% E8 x1 o# G. V

  1086. " {/ E5 h8 L8 ^# [9 D
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
      K) {; t9 R% y8 R
  1088. ; passthru.; t' Y  |! ^5 d) N
  1089. ; http://php.net/odbc.defaultlrl
    6 M( i4 w& ?3 B! ^/ Z
  1090. odbc.defaultlrl = 4096
    1 l$ \2 D, H# f1 {7 Z6 r

  1091. 0 X4 G* X5 Q9 W; C, }
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( c$ n+ z4 Q' m  t( u
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, h, W5 X5 d2 ]2 X) D( ?& S3 g+ l
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ! w- Z! d# i2 g. q3 P
  1095. ; http://php.net/odbc.defaultbinmode5 n$ D  L: a5 J7 H/ ^# I9 e8 [
  1096. odbc.defaultbinmode = 1
    % o# M- A6 w; @; w1 B9 X# C
  1097. 8 ~9 l* K. M4 D! O7 |0 F5 S
  1098. ;birdstep.max_links = -1" K2 R- U8 U, _; A

  1099. 2 K" }- N8 T* ?  [$ Q8 A& W5 E
  1100. [Interbase]. b  s$ I: f0 d$ @
  1101. ; Allow or prevent persistent links.
    0 \& |) d  V3 o0 H2 `
  1102. ibase.allow_persistent = 1
    9 g; E& ?, E2 n

  1103. ( s  H, U* L& v. n0 J1 V" H- m6 t# i
  1104. ; Maximum number of persistent links.  -1 means no limit.5 O7 m" i* P' F, J
  1105. ibase.max_persistent = -1: S$ [- ]! B* R- D  j
  1106. 3 E5 T$ X7 F6 v- Z
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 r7 A# g3 ~; k: t
  1108. ibase.max_links = -1
    9 H  l2 {5 J& S9 j3 H' y" @! K
  1109. 7 [5 b4 z8 k) s; R1 }* {: y* y
  1110. ; Default database name for ibase_connect().& \6 A' E' b% I/ T* c
  1111. ;ibase.default_db =
    - ?$ \& V' `# T+ Q
  1112. 5 Y! k; {( T- R. {7 N! `
  1113. ; Default username for ibase_connect().; t, }: ^1 k; M; j+ e9 ^
  1114. ;ibase.default_user =
    + Y$ _# F. f' {. Z( L) P% q
  1115. / g( k+ T/ X: K; L* B* s
  1116. ; Default password for ibase_connect().8 h0 U- I% M; t" ]  g& p
  1117. ;ibase.default_password =6 T% l& _3 \' Q. T

  1118. 7 Y( l; W) A5 R4 }
  1119. ; Default charset for ibase_connect().
    . z7 G( P# T4 F; X
  1120. ;ibase.default_charset =
    % w+ t+ }7 ?( x

  1121. + G! o. [/ C% I* `
  1122. ; Default timestamp format.1 }7 u$ u& F+ C6 @% U
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 |/ z' M) m# u) Y4 Z- _
  1124. & K6 t3 M5 A) T2 u# f6 M- S
  1125. ; Default date format.
    $ {2 e& P: @( s0 D$ @$ Q
  1126. ibase.dateformat = "%Y-%m-%d": W+ |: L1 C3 V) [- |

  1127. % y! }' N6 Z) n& o. N$ o4 H
  1128. ; Default time format.
    % c' Q  x3 g% R# U( n
  1129. ibase.timeformat = "%H:%M:%S"
    : ~, A* Y' I& |
  1130. & N0 W! p. @, B5 k  A) Z* ?: T
  1131. [MySQL]
    # F/ J5 ^3 C3 C: h$ S$ g) p# U! G
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements2 r0 I: ^2 Y  j" E
  1133. ; http://php.net/mysql.allow_local_infile8 [8 @  v% E7 Y6 I
  1134. mysql.allow_local_infile = On
    / E, ^8 A6 C. j1 E+ l
  1135. - s; g7 @* u- `: }1 u# `
  1136. ; Allow or prevent persistent links.: v) S. a9 T; M+ M
  1137. ; http://php.net/mysql.allow-persistent
    % c: f$ M8 J% a/ k7 w* `
  1138. mysql.allow_persistent = On
    . \- P- L+ d  |0 b+ N2 E

  1139. ; v0 ]% D( o- }$ I. y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache% ~) }! U; w# H+ R) r
  1141. ; http://php.net/mysql.cache_size
    5 c, Q# D# _7 I
  1142. mysql.cache_size = 2000
    # w+ [! s  K4 w. Q# @$ U

  1143. # r  U5 X& p/ `4 j" I+ u3 ]# @
  1144. ; Maximum number of persistent links.  -1 means no limit.9 k7 k$ c% G% P
  1145. ; http://php.net/mysql.max-persistent* z, ^% `2 s/ E0 I! K" Q* M. e
  1146. mysql.max_persistent = -1  q- N& R8 U( j/ c

  1147. 9 n- W% d) \+ \, C
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( ], _6 K& e% J1 V
  1149. ; http://php.net/mysql.max-links
    0 B! M! m6 @( m* w3 D8 m
  1150. mysql.max_links = -17 W( ]0 X8 ]) e& m8 n( ]" A
  1151.   T3 a* m1 f* y7 s7 o7 ]7 H
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use" S$ k+ e( G, E6 w
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 L2 M% n. ]2 O7 f( y1 I9 i
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , t' r' J( R9 e
  1155. ; at MYSQL_PORT.! p" O5 n5 o# y
  1156. ; http://php.net/mysql.default-port7 e/ l" j5 F: ]' c( O0 K$ }
  1157. mysql.default_port =
    1 @# _* r& x0 l# C' C: j6 E

  1158. ( }$ M' f( J+ \0 E0 a, K2 }4 i
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ T3 V+ [% y2 }3 N7 ~
  1160. ; MySQL defaults.
    ' p& A& q, T. ]* J; f4 \- I; K" j
  1161. ; http://php.net/mysql.default-socket% X! w% s7 z  A; [+ Q
  1162. mysql.default_socket =
    # M- o) ~/ c7 Y* F$ S' E

  1163. 0 d. e5 l9 r5 a2 g% h0 }
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 G# ~0 B1 h  w! K; P( I5 h
  1165. ; http://php.net/mysql.default-host, d0 z1 Y2 d( Q6 a' y$ L+ \% K
  1166. mysql.default_host =
    4 D7 K9 M* w! m
  1167. 7 b3 y' P8 c$ {/ t9 u
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 n7 i5 e; ~( Y% l
  1169. ; http://php.net/mysql.default-user
    - W2 G6 t' V, o7 \. N
  1170. mysql.default_user =- i. F) S1 g3 x
  1171. + A! D& a. B( b1 t. v( J
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    / w* `& L4 E, g6 g/ r. X3 \
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.# O' v8 @, a( |( s
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")# E( f1 I  ]% a6 q0 A; i) t
  1175. ; and reveal this password!  And of course, any users with read access to this3 S- c; L8 q9 u  `, l! X# a2 m
  1176. ; file will be able to reveal the password as well.
    $ `' x# b- H8 b
  1177. ; http://php.net/mysql.default-password! E1 N  L" i  k6 b$ n/ ~2 j( d/ l
  1178. mysql.default_password =
    , @( \" c4 b1 U- D5 w9 q/ @
  1179. ; i, u& a8 T% m% f) r3 D6 \
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    9 J$ y) f$ C4 Q" H* Z8 ~( ^6 U- s
  1181. ; http://php.net/mysql.connect-timeout
    : y4 P" x& Z4 u2 [% r% k4 A
  1182. mysql.connect_timeout = 60
    2 M" z: R* s) v3 N4 N% b
  1183. $ b+ _/ c1 P1 I
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and3 e5 f' _# y3 ~
  1185. ; SQL-Errors will be displayed.
    ) f1 ~: l4 W6 N) L" H4 U
  1186. ; http://php.net/mysql.trace-mode
    $ K; x% G3 m$ z
  1187. mysql.trace_mode = Off4 m( x7 J) w' q! {6 r

  1188. 1 Z! I1 Q7 z8 n% Z0 v8 x
  1189. [MySQLi], \+ I* f. k1 `0 P6 T/ X
  1190. + B% p# O- |6 L4 S" H5 i
  1191. ; Maximum number of persistent links.  -1 means no limit.
    3 K" W' H) r" @& U# T
  1192. ; http://php.net/mysqli.max-persistent
    9 ^5 L) ?  j  G$ W0 }2 c; t
  1193. mysqli.max_persistent = -1
    7 }+ K+ `; x' w$ y% @* U
  1194. # {/ S7 v; k! f$ H5 j
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ o0 b- F9 t( k  v* A5 W2 e# S
  1196. ; http://php.net/mysqli.allow_local_infile
    ' V0 a- _5 B( z2 o; X0 h: ?& H' W
  1197. ;mysqli.allow_local_infile = On' Q3 S  p# ^6 a5 ]: d) p9 t

  1198. * q8 y2 [0 n6 l: e
  1199. ; Allow or prevent persistent links.! l3 ?, X) A( d) r
  1200. ; http://php.net/mysqli.allow-persistent8 ]1 w( |/ ]/ r" |) {; J/ X( q
  1201. mysqli.allow_persistent = On
    , o% q  o( x5 G4 W8 q7 F/ M

  1202. & I; y) C" m% B8 S* H# U/ a, W& M
  1203. ; Maximum number of links.  -1 means no limit.
    " _. v0 N- m$ T4 h- G& r0 q$ \
  1204. ; http://php.net/mysqli.max-links# @( ]% F9 |" E7 ~: B
  1205. mysqli.max_links = -1) j$ y% @8 G; O9 H! |" u
  1206. - I+ n3 ^6 l: \. W2 _
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 t8 R/ Q) I! H% T  M; Z
  1208. ; http://php.net/mysqli.cache_size, t- O$ O" T* {' B: }. T) O, Z; K
  1209. mysqli.cache_size = 20006 S$ ~) a9 c* F2 [8 ^
  1210. . L4 B9 \' R1 H- U
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use2 t: ~1 R0 P  R- X7 ]1 v7 U# t
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( C! z! `1 t6 u7 P2 e8 D' X
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) W* k* n1 ^; J& b# q5 ~( v
  1214. ; at MYSQL_PORT.
    & u- l6 v- d  b" x7 f
  1215. ; http://php.net/mysqli.default-port; }5 ~. z7 m# D
  1216. mysqli.default_port = 33065 F  S5 O( x/ K
  1217. ; l8 g9 u1 L2 \* C9 r) d
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 W! ~' ]( a  @
  1219. ; MySQL defaults.+ p3 c2 M& j! O6 N
  1220. ; http://php.net/mysqli.default-socket/ T7 A' U6 q( V$ E
  1221. mysqli.default_socket =7 P, V$ z- @) Q2 l! c& \
  1222. % y3 g+ C3 P3 I+ [9 s2 u3 O' a* q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! X, r% h) w6 o! _, q% N: S
  1224. ; http://php.net/mysqli.default-host5 m$ Y9 s, l3 l! |4 d
  1225. mysqli.default_host =) _" @1 q& e" _2 e( J
  1226. 1 j1 `) e5 M, Q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; X3 a8 W  f. x
  1228. ; http://php.net/mysqli.default-user
      p) r" \& }; d2 N( z
  1229. mysqli.default_user =
    7 T& F$ R( |  |5 Z2 Z0 Z: u/ }
  1230. ; K% Z. g6 F2 |7 I
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    9 {& i' F) x/ y" {7 ]) Y4 o
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    , B8 M% d# ^+ Y. [  g% H
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")! i4 H: _$ G* d6 w/ a4 M
  1234. ; and reveal this password!  And of course, any users with read access to this
    ( s: O, @  v! b+ ^# W
  1235. ; file will be able to reveal the password as well.
    , \5 U' D' p  c  @; d8 [5 {
  1236. ; http://php.net/mysqli.default-pw( Z9 \/ M. G/ U) @: t; b" o) L: J
  1237. mysqli.default_pw =% }8 z8 B. [. H0 w0 @3 H; E& K
  1238. $ ]$ K9 G2 r; p( }
  1239. ; Allow or prevent reconnect; B6 Q$ D. t  x$ s) ^/ [& C: ]
  1240. mysqli.reconnect = Off
    & H9 M: N) f* p/ K4 F5 i5 {1 X4 q* ]

  1241. : v" N) f% B' f
  1242. [mysqlnd]% Q$ U: _" Y# v% a
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be0 b# l9 ^. w  P% z& p6 T
  1244. ; used to tune and monitor MySQL operations.! z; {- _; a; ]
  1245. ; http://php.net/mysqlnd.collect_statistics
    & j$ e7 p6 a5 o  Q( D2 L4 \
  1246. mysqlnd.collect_statistics = On
    3 n# t# \) w6 }- v

  1247.   x% J) H, f- V: D; x
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ) Q. L3 h8 j: o- M  P
  1249. ; used to tune and monitor MySQL operations.
    4 M; J" s& t0 w0 C+ `) Y
  1250. ; http://php.net/mysqlnd.collect_memory_statistics: j+ z5 B6 u4 c9 f  l. L- I' }
  1251. mysqlnd.collect_memory_statistics = Off' ?. V& z7 V7 S

  1252. + D0 r3 k/ h' o  K' I: r, c4 q. H! {0 j
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    . P% |: H; C5 d7 v5 |
  1254. ; file.! l! C9 F8 F: H
  1255. ; http://php.net/mysqlnd.debug: U  X) g4 ]3 z& K0 u# V1 E! x* g
  1256. ;mysqlnd.debug =# y( ^' g) l+ Y! H5 M
  1257. 2 X9 [9 c, v" A% f* c; \
  1258. ; Defines which queries will be logged.' k$ w3 c4 T2 t
  1259. ; http://php.net/mysqlnd.log_mask
    , r1 @. H& _' n$ N  ?
  1260. ;mysqlnd.log_mask = 0
    " Y9 S* y" [. w4 `4 W

  1261. + {# l' ?4 p+ @  {! D0 n
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    # y, r- q3 @4 \/ f
  1263. ; http://php.net/mysqlnd.mempool_default_size
    * Y  t) _: U- V) `2 M  |  d
  1264. ;mysqlnd.mempool_default_size = 160001 @( Z% _0 C" Y" X

  1265. # Y& X) t& v; ?% Y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / ]: C+ C3 g( n
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size2 d# F# `% T; o
  1268. ;mysqlnd.net_cmd_buffer_size = 20480 A0 s( |2 p+ S2 J5 V9 X0 Z
  1269. ) b; A6 M* Q+ R
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    1 N4 ~4 |( M$ J; k- v
  1271. ; bytes.9 }; I, [: n4 h8 X* J* h6 w
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    . r* K( F) t8 i9 Z
  1273. ;mysqlnd.net_read_buffer_size = 32768( w! z" w) {# ?7 D' S' q
  1274.   D  m3 C, ?8 g0 `$ _8 S9 H
  1275. ; Timeout for network requests in seconds.
      J+ [; ]# R& W
  1276. ; http://php.net/mysqlnd.net_read_timeout& K5 l2 l" e: {2 x6 l1 D
  1277. ;mysqlnd.net_read_timeout = 31536000
    * b% ~! z9 l' T, D8 [0 K1 t8 v+ S

  1278. 6 t# l+ l+ Z$ W
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    9 E* E2 X" k: \* F5 ]
  1280. ; key.3 ^: }% s; Q+ g. n; \) h
  1281. ; http://php.net/mysqlnd.sha256_server_public_key4 X% f  @( C. c; y
  1282. ;mysqlnd.sha256_server_public_key =
    2 w8 D# ]. G$ C  l5 L5 r
  1283. + X0 f% E: f4 @. H' ^
  1284. [OCI8]
    # I- m- I6 w  R6 t! [7 A) _
  1285. ' f% Y3 L& B7 C& _2 a& o
  1286. ; Connection: Enables privileged connections using external
    / I; [1 G& @! D6 y7 x) j1 t/ O
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)7 O5 S' }2 R; K- k
  1288. ; http://php.net/oci8.privileged-connect" @6 g& ]# A' P) c0 q/ X' D
  1289. ;oci8.privileged_connect = Off1 Z1 R9 A* J! n3 P+ ]% Q& V- `
  1290. ' Z( N' Z& {/ l2 Y
  1291. ; Connection: The maximum number of persistent OCI8 connections per3 Q$ i8 J. X8 f
  1292. ; process. Using -1 means no limit.: U; w  c) n1 Y
  1293. ; http://php.net/oci8.max-persistent
    1 b! h7 C/ o# P( M7 C
  1294. ;oci8.max_persistent = -15 u# ^/ F8 X  S6 Q! y8 [/ i6 [
  1295. 4 w/ N; {3 h6 B; _9 i' ?
  1296. ; Connection: The maximum number of seconds a process is allowed to" Z# I& D: K2 n- M' c, U$ h# `
  1297. ; maintain an idle persistent connection. Using -1 means idle
    $ U, u& e7 s) H2 A
  1298. ; persistent connections will be maintained forever.5 D( P3 h' M; Q( A  ?; U- o
  1299. ; http://php.net/oci8.persistent-timeout
    5 j7 p, |; U7 \. G! d; l+ c( f9 e
  1300. ;oci8.persistent_timeout = -14 D9 A0 ?# T8 Q" a0 Y! G
  1301. $ B0 L6 E8 l, q1 y1 ~5 h
  1302. ; Connection: The number of seconds that must pass before issuing a
    & j  r' M7 f( o1 S
  1303. ; ping during oci_pconnect() to check the connection validity. When
      m& K) L0 T% H: \5 c
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 ], i6 j1 w8 U8 c; J, s/ C$ z9 i) z
  1305. ; pings completely.0 I% o7 Y8 ]- V" |
  1306. ; http://php.net/oci8.ping-interval
    & p( c1 s4 F8 p; t1 g
  1307. ;oci8.ping_interval = 60
    7 M6 P8 f8 y% M2 g% d/ z

  1308. : Q0 b" P! j! z; x8 _
  1309. ; Connection: Set this to a user chosen connection class to be used3 Y) s* c, Z; w1 ~  c
  1310. ; for all pooled server requests with Oracle 11g Database Resident3 x+ p- z0 a, y8 p
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    0 E- _7 \+ S7 E2 A+ k
  1312. ; the same string for all web servers running the same application,
    , q" r, k3 D6 k2 P
  1313. ; the database pool must be configured, and the connection string must
    : `9 D5 m7 @6 F: ]: a0 W
  1314. ; specify to use a pooled server.
    ) u1 K8 V5 U7 w/ K6 H
  1315. ;oci8.connection_class =
    ' _7 J4 T  {  v4 v! x. S7 I0 h4 _' D8 l

  1316. # b' `* k9 ]' I" T3 S  {
  1317. ; High Availability: Using On lets PHP receive Fast Application; G. C) C% y( @
  1318. ; Notification (FAN) events generated when a database node fails. The
    " y4 A3 |" N5 I( r. A: r; I
  1319. ; database must also be configured to post FAN events.
    # d. B1 N) M4 \1 T9 j8 g- Q
  1320. ;oci8.events = Off# \( }$ u. d2 J' {+ q- i3 E; |

  1321. 9 s/ C/ T- C7 J$ ~5 S/ D
  1322. ; Tuning: This option enables statement caching, and specifies how2 }( A/ e! N3 j& F8 B, d
  1323. ; many statements to cache. Using 0 disables statement caching.; N: t; B/ b8 x3 |1 S. u, H& e
  1324. ; http://php.net/oci8.statement-cache-size
    " a& y: x2 X4 R+ R0 r
  1325. ;oci8.statement_cache_size = 203 ]5 H2 Z- o* T; E
  1326. 3 B& a  M2 X2 M- P9 V* O5 S
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    / |, ]& H' S; c! o  K
  1328. ; rows that will be fetched automatically after statement execution.- b* e4 b( R. `3 P
  1329. ; http://php.net/oci8.default-prefetch
    $ p5 x7 V8 Q( z" b- s' v
  1330. ;oci8.default_prefetch = 100
    , Y1 s3 W' ~0 n! p
  1331. : r: O/ ?8 r1 b9 n* b1 q
  1332. ; Compatibility. Using On means oci_close() will not close  I0 g% r* F6 }6 L! n1 M( j
  1333. ; oci_connect() and oci_new_connect() connections.& Y/ H# B$ b" S- L/ N8 t
  1334. ; http://php.net/oci8.old-oci-close-semantics1 |0 V: ]# Z1 d: L$ p& A7 b% l! ?
  1335. ;oci8.old_oci_close_semantics = Off0 h" k0 L+ l" k  X" _
  1336. # d7 W: }# F1 h
  1337. [PostgreSQL]
    . u+ O; G3 c7 b# E5 S- S3 u- D
  1338. ; Allow or prevent persistent links.
    / w; B6 R, J' o# N2 ^& D5 ?
  1339. ; http://php.net/pgsql.allow-persistent0 X1 r/ ]4 b5 x4 t& {, e% Y
  1340. pgsql.allow_persistent = On
    ) Y$ b5 j# P1 |& `
  1341. 1 m% F5 s3 W' A% P
  1342. ; Detect broken persistent links always with pg_pconnect().$ q: b+ ~! Z# D" o( x
  1343. ; Auto reset feature requires a little overheads.3 d8 k7 J1 P. u, e0 o* m2 a0 S0 ?
  1344. ; http://php.net/pgsql.auto-reset-persistent; q5 V7 Q4 N. r
  1345. pgsql.auto_reset_persistent = Off  B  V' N' P* M+ _& y! m
  1346. ) }% ]% [* b. z% L$ A0 g9 h
  1347. ; Maximum number of persistent links.  -1 means no limit.! F2 N6 T3 \" {+ A% x
  1348. ; http://php.net/pgsql.max-persistent
    : L& J1 v2 V6 q! H0 {
  1349. pgsql.max_persistent = -1' p, C4 ~5 ~( c, y! q6 V

  1350. ( t, {5 n: U; a1 Q) r
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    . X- v1 V9 e7 P$ {, i3 S& @- q
  1352. ; http://php.net/pgsql.max-links8 U% t; t$ {& a# A6 e# \
  1353. pgsql.max_links = -1% O  x. q; C5 t. V; J) |

  1354. # X1 N/ {3 Y  s' y& h
  1355. ; Ignore PostgreSQL backends Notice message or not.3 v1 o( j7 G3 k- J
  1356. ; Notice message logging require a little overheads.
      U! s9 S2 C6 z2 S3 Y3 j
  1357. ; http://php.net/pgsql.ignore-notice
    - h9 F0 }# o: q- w- Z* V  K: N
  1358. pgsql.ignore_notice = 0
    # B2 E' T$ ~. Q- Y0 t
  1359. & b7 d  S' B% A3 O# ~3 U& Z
  1360. ; Log PostgreSQL backends Notice message or not.6 Q/ |7 P* [5 @# E# W
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.& S4 J# G, _# C& k1 H
  1362. ; http://php.net/pgsql.log-notice  a- i1 Q! e% R8 U
  1363. pgsql.log_notice = 0
    2 I2 y) a# B" d3 e6 x& G6 H" q
  1364. 4 f9 D8 X2 ~, }
  1365. [Sybase-CT]
    & b* b7 G$ T4 N
  1366. ; Allow or prevent persistent links.
    # a7 J0 x* {: T8 {# Y! x% K. E* X
  1367. ; http://php.net/sybct.allow-persistent& y* U+ D/ `7 W8 i* {6 G
  1368. sybct.allow_persistent = On
    ) T& S( \5 F. J2 x

  1369. * |: E* U' q6 l' l) i7 a6 q3 B
  1370. ; Maximum number of persistent links.  -1 means no limit.
    + Z4 N6 G) N1 A' l- Y/ M4 P
  1371. ; http://php.net/sybct.max-persistent
    ' t! s5 a- L1 Q4 V( r* \
  1372. sybct.max_persistent = -1
    # C5 @* x: ~  b4 F6 G! o

  1373. / L) d; j) z) I( O' q4 b1 d
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) M- R: H5 H$ s4 X
  1375. ; http://php.net/sybct.max-links6 @- W0 F0 z# _* ^8 J# @3 J# y
  1376. sybct.max_links = -18 h. g: b5 d0 f0 [5 H6 O9 w5 L

  1377. $ G; h. p: Q8 K2 M: c
  1378. ; Minimum server message severity to display.
    , k8 e8 p6 b3 w: \
  1379. ; http://php.net/sybct.min-server-severity
    2 ^6 U2 c. s7 T# r
  1380. sybct.min_server_severity = 10
    # K7 C7 y0 ]9 E1 Z$ ?9 n; R

  1381. " _, x) m% ]+ R! I
  1382. ; Minimum client message severity to display.
    8 d( O4 t# K1 m) f, n* a$ C5 d7 E8 m
  1383. ; http://php.net/sybct.min-client-severity
    $ k& g2 w% B3 q5 ]8 O. `
  1384. sybct.min_client_severity = 10( k9 B# X( i7 ?4 ^; {- I
  1385. " T, ^) X/ U8 H4 K0 }% B
  1386. ; Set per-context timeout
    6 t) N9 `, V+ u! B* {6 ~
  1387. ; http://php.net/sybct.timeout
    * y4 {- G' v# ~5 \: X6 j: `9 @
  1388. ;sybct.timeout=
    8 `8 {3 i+ |, d6 E1 }

  1389. / G) e8 p$ E" R- f- E) }
  1390. ;sybct.packet_size8 p  p1 J  r( b' o! {8 C

  1391. 2 h6 K+ L, g3 ]. N5 @+ D
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    , Z& k4 w) n/ I: A2 ]! \
  1393. ; Default: one minute
    . K) d: S% ?9 y0 Z: A2 U( L
  1394. ;sybct.login_timeout=
    " e$ G( H5 m0 B
  1395. 5 c5 b. l5 N, p' h1 _0 R
  1396. ; The name of the host you claim to be connecting from, for display by sp_who., T3 s( i# X3 g$ t9 M7 o
  1397. ; Default: none# D4 O$ r+ Z' A' L
  1398. ;sybct.hostname=
    8 H0 n- _7 y/ r1 x

  1399. : g) }2 g1 w! y% }( M- J0 e
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".' y; C" z9 R* w
  1401. ; Default: 0
    ( ?$ F; k$ D# n" x' l0 }
  1402. ;sybct.deadlock_retry_count=; X- S9 L! K& j7 M# A: b

  1403. - z3 e3 \5 h- r! {/ g( |4 W
  1404. [bcmath]
    & H6 ~$ f4 e0 S! [
  1405. ; Number of decimal digits for all bcmath functions.
    : D+ f* R# k- v' q1 V
  1406. ; http://php.net/bcmath.scale3 J: L4 ]9 x" A) O
  1407. bcmath.scale = 0
    5 M! w1 d" ?' J$ s
  1408. ' ~: Z. ]' z& H% D+ _% _' E
  1409. [browscap]: Q6 Q. T6 ]* [3 G0 ~  s5 d
  1410. ; http://php.net/browscap: z* E, h. q- m
  1411. ;browscap = extra/browscap.ini( Q* m7 h" H" z/ l& S1 [

  1412. . j) ^  `" f8 S, a2 Y/ X
  1413. [Session]$ N" F; p, t6 u, b  U
  1414. ; Handler used to store/retrieve data.
    . p) N2 B: G/ ~% S8 _) l% w; n
  1415. ; http://php.net/session.save-handler
    : k  d9 y# U( \# |( `# m( d
  1416. session.save_handler = files
    ' ?: g# Z- r2 ~9 q9 t% ?! e
  1417. % F* h* ^, q3 r% h( w; u
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    9 p/ l% ~' N: g
  1419. ; where data files are stored. Note: Windows users have to change this
    ' R8 X0 d; q% A5 P+ k
  1420. ; variable in order to use PHP's session functions.
    ( g* g9 ]) J# ]- h. l% J
  1421. ;: b( f6 I, X2 U' }3 b
  1422. ; The path can be defined as:
    " I* U7 s2 w3 P6 R0 L
  1423. ;
      e0 P2 e! }( `1 \
  1424. ;     session.save_path = "N;/path"* k! [9 }2 n' |6 [% B) U
  1425. ;
      J3 j1 N; }! ^
  1426. ; where N is an integer.  Instead of storing all the session files in
    / W' X& \- t% v2 W/ v7 Z5 n
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    9 f$ z$ Y, @: o1 E
  1428. ; store the session data in those directories.  This is useful if' ^% I4 J8 T& @/ |3 v! [) f2 d/ P/ l
  1429. ; your OS has problems with many files in one directory, and is
    : j# y+ g; x, P% E, M$ A" o1 U$ v
  1430. ; a more efficient layout for servers that handle many sessions.
    # K0 W- a7 y: Q# l4 E
  1431. ;) |! U9 ^2 d: a. H: }8 E
  1432. ; NOTE 1: PHP will not create this directory structure automatically.1 W& m* r0 Z# k/ B  l) W
  1433. ;         You can use the script in the ext/session dir for that purpose.8 f9 {) W1 i- g8 `: [9 R9 J
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ; a  v% i2 q5 j0 F8 F0 |( T) C" e9 V* y
  1435. ;         use subdirectories for session storage" g  H. s5 t% ?5 S
  1436. ;
    # z  n& v9 S" A0 m- q' o/ Y
  1437. ; The file storage module creates files using mode 600 by default.+ O  C$ s+ x0 |
  1438. ; You can change that by using
    1 B! @5 v; E( X# o$ v( G2 Z
  1439. ;
    5 S  j7 }7 h/ P" u, i
  1440. ;     session.save_path = "N;MODE;/path"1 Y  P! p/ I) j3 m- C) `
  1441. ;
    4 {; ^7 x) T( Q( z4 f+ T
  1442. ; where MODE is the octal representation of the mode. Note that this4 ^4 p  |: \3 E7 V8 Z6 {# M" b
  1443. ; does not overwrite the process's umask.
    , P1 p4 V( ?: q% I
  1444. ; http://php.net/session.save-path
    7 U* d3 p/ w! a7 @7 @6 e
  1445. ;session.save_path = "/tmp"+ O3 M) q( k5 ]5 I8 R
  1446. . ~3 f& G+ |' B4 ~! U8 I7 i" C* d2 p
  1447. ; Whether to use strict session mode.) C) N& f( w/ W$ r7 h& ?" P
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    # X/ ^. j; z% B5 R( g1 n" t( j
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ; U6 [' m% @4 [0 S; x  A9 q
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ' D, I9 |$ l( M: {6 S
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    1 f. |9 w; |+ T7 b; y7 Q2 S2 n4 Q6 O2 p
  1452. ; https://wiki.php.net/rfc/strict_sessions
    9 k, ?/ R: u) c: Q$ I
  1453. session.use_strict_mode = 0
    0 F! y: ^) U4 O/ T6 z$ l% q
  1454. , d# u% M' o' a! @8 r
  1455. ; Whether to use cookies.
    0 |. r- N# c: a$ q+ Y" _7 }
  1456. ; http://php.net/session.use-cookies- Q: d' I9 L4 W. [* L; H
  1457. session.use_cookies = 1) G  s$ k/ z8 o! o! }& X
  1458. * E: n0 b% t. d4 S; X1 d
  1459. ; http://php.net/session.cookie-secure
    % L, ~3 E7 ]5 u2 q( ^- E/ |4 m
  1460. ;session.cookie_secure =! ~: @2 l3 h$ Z5 s, N
  1461. 5 W* Z5 Q6 X6 Z! q7 H" H; v! G
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    . X  @0 U0 ^- y* [1 A
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    / D0 [' B# x- M) f) R
  1464. ; session hijacking when not specifying and managing your own session id. It is6 |5 [5 \$ A0 J" a/ p# f) C3 Y9 O
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    9 i: J+ W: w) S% c" H2 Y7 T: @
  1466. ; http://php.net/session.use-only-cookies
    * o0 V, x& z  [% e) W% ^
  1467. session.use_only_cookies = 14 x( t5 [9 ]; m( g; r! f

  1468.   |' v" q9 w' k0 {* L4 e& d) K1 K1 @
  1469. ; Name of the session (used as cookie name).
    3 [4 d/ m7 y' T1 E5 U9 U
  1470. ; http://php.net/session.name' d" |6 I) ?5 d( h; }2 f2 t1 n1 Q: W, @6 c
  1471. session.name = PHPSESSID  [  C) K5 J( l* Q( d
  1472. : \; r6 g9 A0 A: E1 d$ J+ V
  1473. ; Initialize session on request startup.
    " L/ p1 R2 y! e
  1474. ; http://php.net/session.auto-start
    3 t8 N/ |* j# |& E; ^" D  V
  1475. session.auto_start = 0
      F% R! b. r( ?# L
  1476. ( A3 P/ V8 V, H6 V, b2 V& S) z9 ~2 ^4 x1 t
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 M6 l7 C9 P0 c8 h! J* \
  1478. ; http://php.net/session.cookie-lifetime
    . p- n+ B$ \2 U
  1479. session.cookie_lifetime = 0$ T+ V2 L8 z& H: f8 R

  1480. - j" i/ @* N/ D7 F
  1481. ; The path for which the cookie is valid.0 g2 z" _: m1 F3 y/ E# {/ p7 |2 Z8 d# S. z
  1482. ; http://php.net/session.cookie-path/ @) f4 w9 b8 b/ j  R
  1483. session.cookie_path = /' z9 Z2 Q6 i0 T* U( w9 X  H
  1484. 6 A* ?7 Z/ F3 F8 v' r( [1 _& z' k" z
  1485. ; The domain for which the cookie is valid.9 d- B) Z; U* C3 n& d- W7 [
  1486. ; http://php.net/session.cookie-domain* b9 [. o2 a' R
  1487. session.cookie_domain =
    , {6 w- M/ ~) H7 Y

  1488. ( J) h! H+ b7 P$ f7 H
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.9 S( D- e& V2 [: h* \1 a' g
  1490. ; http://php.net/session.cookie-httponly* r- d" P( y" b
  1491. session.cookie_httponly =
    1 v- Y) Z! j4 [- i; ]6 f
  1492. 9 p$ R  G/ c8 M; H" z# _. `
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 t  a; D: u2 ], p& M1 u/ Y; J
  1494. ; http://php.net/session.serialize-handler
    - Z( u) B9 q) E. \. ?
  1495. session.serialize_handler = php2 y" {/ Z! c& i- V6 F5 ]+ Y' D

  1496. ' b! w8 H# Q) l
  1497. ; Defines the probability that the 'garbage collection' process is started- I% _$ d* M( J0 h* F, J) b
  1498. ; on every session initialization. The probability is calculated by using: p% o" ]; R/ u3 c% ^
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator# E  p( Y; s6 u5 M$ @0 A3 s
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    $ f) c# }, h3 n: R) f  [7 ^: N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' z% F; w! p) ?8 R
  1502. ; the gc will run on any give request.' k8 w9 \4 P, f) \0 }* o
  1503. ; Default Value: 10 i  r# L: L  X0 I7 ^" l7 l7 a3 r
  1504. ; Development Value: 1, v' l  i  Q9 D3 L
  1505. ; Production Value: 1
    , B8 m" B) k2 j2 I! g
  1506. ; http://php.net/session.gc-probability. B1 j+ M* \8 D; |7 h
  1507. session.gc_probability = 1
    1 r( J9 z: n9 x% A

  1508. 9 U+ i. `3 W* \" S( X" f6 c2 p3 E
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    3 l/ z  I% q1 Q( M' C; E
  1510. ; session initialization. The probability is calculated by using the following equation:/ w- Y/ r1 t3 Z2 J
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    * ^/ t  J4 N3 s6 w3 M; t& m
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 M$ R5 x& C, a( @+ ~7 Q
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& G4 R( J  U. C3 ^
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . y7 p! r# f) N+ A
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * ~1 q" T. }! Z# b
  1516. ; this is a more efficient approach.
    ) k7 u0 A! z; p& t7 x  w
  1517. ; Default Value: 1001 [* ?& I1 j8 a! h
  1518. ; Development Value: 1000/ p& T6 H5 i1 O7 n' W6 z
  1519. ; Production Value: 10009 L- C% W* V" D6 |
  1520. ; http://php.net/session.gc-divisor
    8 A' L) X4 c- I% O
  1521. session.gc_divisor = 1000
    4 {4 y2 r& F9 {/ h2 |+ T
  1522. , G% r/ I/ E+ k1 v1 x, o) ]
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    + d/ r5 O- I& ]6 [3 ~; U  t* f
  1524. ; cleaned up by the garbage collection process.. d( m9 g( q; }1 L; B) Z" L
  1525. ; http://php.net/session.gc-maxlifetime$ H8 [  H- D  R  m: Y
  1526. session.gc_maxlifetime = 1440
    - h8 C4 n0 A) J
  1527. ' I/ W+ E6 j. e5 S! {
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    : L0 R  y5 d- h  v, t- y: n
  1529. ;       (see session.save_path above), then garbage collection does *not*
    4 i( E5 Z4 W! |6 j6 h- X
  1530. ;       happen automatically.  You will need to do your own garbage
    # X9 Y/ t  B; ?3 \* ]0 j  B
  1531. ;       collection through a shell script, cron entry, or some other method.: S( v7 s) x7 Y
  1532. ;       For example, the following script would is the equivalent of: X; a3 ]/ g2 Z2 x9 k' |
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):& ]% T- ?5 m- j# m* u! a" P
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm' |( [7 }5 Z. l  ~5 ^- F
  1535. ' W9 q& X& e, M( ]) q3 @5 H3 {
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    3 X4 t1 e+ m3 `2 ~0 P; L0 u
  1537. ; HTTP_REFERER has to contain this substring for the session to be3 P4 `5 H( [" G0 ?
  1538. ; considered as valid.
    : V) G% [( q9 w4 x0 @; f8 D
  1539. ; http://php.net/session.referer-check5 @: j& S7 K( z7 g9 T9 ?
  1540. session.referer_check =/ S, v9 r8 t6 t1 ~  l$ S

  1541. ) F( i0 {7 t0 \. t' W& z
  1542. ; How many bytes to read from the file.( c+ U% o0 J( P0 s; ?
  1543. ; http://php.net/session.entropy-length
    & h4 d8 f* O  X' s
  1544. ;session.entropy_length = 32
    ; t8 Y) v5 T6 _) v# z

  1545. * W" V4 j9 q# z# s# D
  1546. ; Specified here to create the session id.2 M0 Z# F# t4 k# q* k% ?" R
  1547. ; http://php.net/session.entropy-file
    : g1 H) c! q* d
  1548. ; Defaults to /dev/urandom0 o% F5 r3 \, }8 a4 X: z% y
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    , H" B) k5 [4 P1 D/ a0 W
  1550. ; If neither are found at compile time, the default is no entropy file.! y1 `/ |( W7 c5 W% x* Z; H# ^2 u
  1551. ; On windows, setting the entropy_length setting will activate the
    % r. H( H. c) f: ]( M  N4 e8 }4 y; a3 m5 k
  1552. ; Windows random source (using the CryptoAPI)) u, X# q3 U, H4 K
  1553. ;session.entropy_file = /dev/urandom
    + d1 Q+ _" {% O8 [5 I" Z( J
  1554. # f0 u. l+ O' c% J# _  W3 a
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ' ]  p! G# @2 P
  1556. ; or leave this empty to avoid sending anti-caching headers.; M6 e1 J3 x% }/ Y1 T
  1557. ; http://php.net/session.cache-limiter
    0 I( F/ e( L8 |
  1558. session.cache_limiter = nocache
    7 V% `& L6 R6 ?  f- M3 O9 e
  1559. ) n; q; ^- g1 P+ ]7 V% |
  1560. ; Document expires after n minutes.# _" j* r( m6 y8 p+ v& s
  1561. ; http://php.net/session.cache-expire
    . c' j. X2 V/ P. G! W* H
  1562. session.cache_expire = 1807 l3 {) \0 e& W8 o

  1563. $ A6 y. c) `- o
  1564. ; trans sid support is disabled by default., c: m* B# \* K6 O0 n
  1565. ; Use of trans sid may risk your users' security.
    " m" @0 d+ s, P! Z% V
  1566. ; Use this option with caution.: E: X! v8 t. o$ K( ^
  1567. ; - User may send URL contains active session ID) R" V4 ?4 `; d' `5 U
  1568. ;   to other person via. email/irc/etc.
    9 K+ b4 O# @8 m/ u: z" j5 x
  1569. ; - URL that contains active session ID may be stored+ i5 b8 g* |. E# z
  1570. ;   in publicly accessible computer.
    " D8 U1 h5 e, V" ^
  1571. ; - User may access your site with the same session ID
    - Z( G& U: N; `
  1572. ;   always using URL stored in browser's history or bookmarks.7 h; {! E# V9 L5 z2 L1 G' R
  1573. ; http://php.net/session.use-trans-sid: A, H/ J1 c" E' B
  1574. session.use_trans_sid = 0# g% U# ?2 o  w" \
  1575. 5 h5 P2 h3 i% j# t, z. W
  1576. ; Select a hash function for use in generating session ids.3 x. ?3 e, s: X$ R
  1577. ; Possible Values
    4 v2 v) z4 z: M' W
  1578. ;   0  (MD5 128 bits)
    2 r$ ~0 Q* C! n1 d' G* p4 o' N
  1579. ;   1  (SHA-1 160 bits)$ N! ~$ U8 {# z9 S3 A
  1580. ; This option may also be set to the name of any hash function supported by
    1 O3 u# B6 E9 O
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()8 z  ]/ ^) ?9 ^2 u3 C( H7 a- r
  1582. ; function.
    " m! N( Q0 E# O/ Z! u
  1583. ; http://php.net/session.hash-function
    8 R- Z! G+ r& V& F1 ~
  1584. session.hash_function = 0
    ( u6 A! F" L! I/ \

  1585. 6 }3 s7 E# f$ L* A$ n
  1586. ; Define how many bits are stored in each character when converting" G, }. h( c# l6 H$ K, Y& O
  1587. ; the binary hash data to something readable.$ j# r7 b7 ?: C
  1588. ; Possible values:* V3 ]0 g+ n/ D. b
  1589. ;   4  (4 bits: 0-9, a-f)) ?# `- u, ~7 y! t; g$ i6 M- c
  1590. ;   5  (5 bits: 0-9, a-v)
    6 `6 ~1 I) S! x& U! d. O
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    , v# l5 S* H4 v, Q6 j
  1592. ; Default Value: 40 n# k$ s% [. N9 g
  1593. ; Development Value: 55 Z1 v# Q) M, u$ R9 J# ^
  1594. ; Production Value: 5' n9 i" u- `6 b( t
  1595. ; http://php.net/session.hash-bits-per-character
    1 N8 M; [6 ^0 ]* G8 d! y
  1596. session.hash_bits_per_character = 5
    3 e  w2 u: Z) ^5 |" Z) E! g

  1597. ' n' N* g' X& @" a; D
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.8 ?$ G/ G! Q; B( r
  1599. ; form/fieldset are special; if you include them here, the rewriter will( O) a: a1 I/ i' i( F+ T
  1600. ; add a hidden <input> field with the info which is otherwise appended
    9 D5 i$ Q! h5 T1 J! q. H; e0 I
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    9 \- M& c5 H  }& K0 {
  1602. ; Note that all valid entries require a "=", even if no value follows.
    % k: O! X4 j5 V+ k! Y2 r: k
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 d! S: C* X" P7 c- G% {
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 |8 }! f: |# H/ H' U( P5 c+ X
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") l7 X% D3 W0 r/ u
  1606. ; http://php.net/url-rewriter.tags
    " v2 C1 E3 N3 G5 {/ c/ m; J
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 `2 T! l+ a# h) J5 _. t* {

  1608. 5 P! t9 E  ^% F+ |4 ]) Y. g
  1609. ; Enable upload progress tracking in $_SESSION
    7 L# Y: n& y. V2 L
  1610. ; Default Value: On
    % w5 N) K' C3 K& {
  1611. ; Development Value: On3 A6 ?3 h6 o: z
  1612. ; Production Value: On, Q5 p8 s7 ]4 k8 x
  1613. ; http://php.net/session.upload-progress.enabled: _6 T! {+ P% _) z
  1614. ;session.upload_progress.enabled = On5 w! {1 @6 S- B3 m, x7 O: [! D
  1615. ; S0 z0 G% j, D' j$ q# K+ t
  1616. ; Cleanup the progress information as soon as all POST data has been read: c, m* l& w6 T+ l' Y
  1617. ; (i.e. upload completed).
    " ?8 q% h0 l* Q9 t
  1618. ; Default Value: On8 M0 I/ C" d- x% I5 a3 s1 x9 y
  1619. ; Development Value: On
      t3 K8 d2 c$ f& \0 N/ u
  1620. ; Production Value: On! j8 q1 ^& h- ^% e
  1621. ; http://php.net/session.upload-progress.cleanup1 V5 i3 {, u( [' _" T: i5 C
  1622. ;session.upload_progress.cleanup = On$ T, p3 M1 J5 \' Z  ?

  1623. . m' [# i7 Q/ \; J$ m
  1624. ; A prefix used for the upload progress key in $_SESSION
    & Y- t9 a5 u. }3 b
  1625. ; Default Value: "upload_progress_"
    : V3 P9 a. Z) W
  1626. ; Development Value: "upload_progress_"" \) C- O, d( F9 W; G8 ~
  1627. ; Production Value: "upload_progress_"( n0 j( d/ v& x& u: I" M( s, j* c" ~
  1628. ; http://php.net/session.upload-progress.prefix
    5 z! I' [  r# N# U6 m: \! X
  1629. ;session.upload_progress.prefix = "upload_progress_"
    4 }8 j$ L* f. j" y$ r2 S; h4 a
  1630. & }' h6 d) p; ^5 p) }* c
  1631. ; The index name (concatenated with the prefix) in $_SESSION) `. i7 i: |1 o
  1632. ; containing the upload progress information
    ( G) s% M2 U$ l5 l
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"9 t/ f; \) s2 U! S% }. C
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"/ P* U; x/ q! I4 X9 B8 i/ w/ c
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # r# w7 |( ], b/ g% {1 b
  1636. ; http://php.net/session.upload-progress.name: H( R; S' \& l9 n7 D" `' t
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS") ]" e; C/ ]- J- \
  1638. 0 C" ]/ c# L' x9 {  V" u
  1639. ; How frequently the upload progress should be updated., d/ a. l& }4 c& K2 [
  1640. ; Given either in percentages (per-file), or in bytes" I* _, p& _, F$ R) N
  1641. ; Default Value: "1%"
    / {( n2 ]: o: B' d! g
  1642. ; Development Value: "1%"+ f2 ~0 q( _  E# h$ M% r, f* k/ a
  1643. ; Production Value: "1%"2 W+ K1 E2 @$ Z) y2 l1 s
  1644. ; http://php.net/session.upload-progress.freq
    . d8 h. i- j5 {* A! R
  1645. ;session.upload_progress.freq =  "1%"# S6 b& @$ x5 {3 ~0 {; c
  1646. 4 ]/ ~  y& h% z; E+ [) z4 W
  1647. ; The minimum delay between updates, in seconds- X' m0 Z7 I2 D9 Z0 c: J8 Y/ X6 i( \/ z
  1648. ; Default Value: 1
    2 }! q  e" ?" B8 o, J' @+ q, o% p
  1649. ; Development Value: 1
    . A4 K& H0 C# n0 P3 ~6 ~  e* a
  1650. ; Production Value: 14 Y/ ~9 @2 f* h2 x
  1651. ; http://php.net/session.upload-progress.min-freq% S9 S" _* }6 d: E- c
  1652. ;session.upload_progress.min_freq = "1": g3 S( ~' B+ H7 ?! Q% {
  1653. / |9 ~: R5 F( o5 h; j% C5 H- n
  1654. [MSSQL]% k' g- F5 @( h/ f# M6 |' D) x
  1655. ; Allow or prevent persistent links./ J+ y/ E; }% B8 M/ d- |/ L
  1656. mssql.allow_persistent = On
    , t0 h) M$ C/ G% L$ v* ?
  1657. ! H: ~' F/ \0 c
  1658. ; Maximum number of persistent links.  -1 means no limit.1 Z/ N% }" e9 v* z( }( H7 S4 }8 c) p9 O: U5 c
  1659. mssql.max_persistent = -1
    4 H# M5 o& ?7 z( A( h0 X# f

  1660. & P* B$ `! T3 L7 I
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # E& P7 O2 l2 }  M
  1662. mssql.max_links = -1
      b9 _  U+ E- w( M8 k0 D

  1663. 0 m: k4 \9 E0 I2 L' o& n
  1664. ; Minimum error severity to display.- P2 A5 k) f# d2 m
  1665. mssql.min_error_severity = 10  S) e; d* s: G0 n9 w5 f* E, R$ J
  1666. & Q/ U/ i7 k+ p7 b+ @2 f
  1667. ; Minimum message severity to display.9 b, [; s" B5 A) t0 i
  1668. mssql.min_message_severity = 10
    , c/ o+ @/ W1 y- R7 P6 n" [
  1669. ! g7 {( V. I: S- X$ h# Y9 D% {. H* J
  1670. ; Compatibility mode with old versions of PHP 3.0.
    4 L/ H  w% h6 i; r. w0 _9 O- |: Q
  1671. mssql.compatibility_mode = Off! C; u0 l& ^- R. h/ p7 y' B

  1672. . Z4 x. k  y, b9 G( ?) s. d( H
  1673. ; Connect timeout0 n! d. h5 N  W' `4 i
  1674. ;mssql.connect_timeout = 57 ?1 i- q, S# M
  1675. , z7 X. B0 Y3 g6 L
  1676. ; Query timeout
    $ A! E9 L" k, W  t8 g" W) |. h
  1677. ;mssql.timeout = 60/ {4 k5 X& S. p2 M+ M& Q
  1678. * s& o; _6 z6 t5 @$ c8 n1 h
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    3 K" b/ r/ Z: H: k/ ~/ K2 O  D
  1680. ;mssql.textlimit = 40964 s3 g- {- P7 Q4 I

  1681. ; o! a' `5 R- |
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    * [  b6 _* D- k( o1 _0 T9 n
  1683. ;mssql.textsize = 4096
    ; W" Y+ ^9 J1 X! ]! e
  1684. . K+ |( N" ^/ x) [( ^
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    4 L+ }' X# ?! d  G# ^
  1686. ;mssql.batchsize = 0
    ( L4 o) o9 f, C/ k( i6 M5 F
  1687. & V4 V) u7 K: c1 [4 O  k
  1688. ; Specify how datetime and datetim4 columns are returned
    6 D+ z8 j* i' b+ ?! }, i
  1689. ; On => Returns data converted to SQL server settings. l' l8 D! M. j3 ^
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss, _" q! I! `  {5 a# v) n5 Q  D- T
  1691. ;mssql.datetimeconvert = On
    0 y& i1 X* z3 ]9 d/ X
  1692. " }; Z' L$ e4 b/ m% ]
  1693. ; Use NT authentication when connecting to the server. Z9 |5 [; M# A8 R5 @
  1694. mssql.secure_connection = Off. o% m2 C+ p3 Z3 D
  1695. - ^2 B9 n9 x" U4 b9 u
  1696. ; Specify max number of processes. -1 = library default7 E: V: I( m# R; D- e! K! i- x
  1697. ; msdlib defaults to 25# d) N9 n+ v' [0 {* @
  1698. ; FreeTDS defaults to 4096
    $ H) f4 D$ K* x* o6 Z- k. ~( j7 Z
  1699. ;mssql.max_procs = -1% G1 z& w" k7 d6 I0 {! s+ m

  1700. + W6 N. z. d0 g& I1 e9 _& [" {
  1701. ; Specify client character set., T4 G  Z& x6 ^/ X* S4 s% [9 k9 V
  1702. ; If empty or not set the client charset from freetds.conf is used
    # H9 o3 f/ X# R, f8 F$ q
  1703. ; This is only used when compiled with FreeTDS$ N6 I2 K" U$ n2 m+ P; d
  1704. ;mssql.charset = "ISO-8859-1"
    1 Y0 {& p/ R4 N+ ]+ r* X
  1705. ( T  S' S. D! f' Q5 N7 D
  1706. [Assertion]
    # ~2 Y+ J; }/ c* R/ V
  1707. ; Assert(expr); active by default.
    4 k% q% [0 w, j; u% ^5 p/ k) R
  1708. ; http://php.net/assert.active
    2 j- U2 F8 z( p  i1 p+ {
  1709. ;assert.active = On
    4 u) [* t+ a% Y5 C0 P- Y1 j
  1710. : J0 J' @8 a+ u5 o$ l; U
  1711. ; Issue a PHP warning for each failed assertion.
    ) q4 s9 ?. L2 {& f6 C2 n; @
  1712. ; http://php.net/assert.warning
    ( z5 W7 g$ Z9 k. L! X
  1713. ;assert.warning = On
    ! U1 [8 D0 o5 c  n1 N0 z7 k

  1714. 6 L% N; j5 w% g+ t2 k
  1715. ; Don't bail out by default.( }8 K, k1 [0 `" s& |5 z
  1716. ; http://php.net/assert.bail& y  P! N0 W7 g& q0 x0 N; a1 u( w0 c% [
  1717. ;assert.bail = Off
    0 i  C5 c* U& ]. s/ B
  1718. - {* }/ j  h& n0 b6 |( @
  1719. ; User-function to be called if an assertion fails.
    ) z% H, e7 P" f9 N9 J  N0 M! J
  1720. ; http://php.net/assert.callback3 o# j- m! [+ ?& Y: j
  1721. ;assert.callback = 0
    : q8 Y4 \( G& L/ S  q( I. r
  1722. % X0 `# l0 c! q$ T$ q( I, ?
  1723. ; Eval the expression with current error_reporting().  Set to true if you want9 c- x% i/ x5 E: ]6 a7 D
  1724. ; error_reporting(0) around the eval().0 y% t0 Z( Z( a) h
  1725. ; http://php.net/assert.quiet-eval
      p- w1 ?/ E( o: @3 M9 N
  1726. ;assert.quiet_eval = 0- x) y* t) w9 a

  1727.   l& K) [, B1 b, x9 e4 g
  1728. [COM]5 _  K1 a! f% X4 m9 {
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs$ W( j9 C; [" ~7 B% }3 ~: m/ n
  1730. ; http://php.net/com.typelib-file& c* x3 F4 _$ y' ^
  1731. ;com.typelib_file =. Q& x2 `" w% j/ D% v3 x& J. j

  1732. ) y$ }. L& T/ @+ ?8 ]7 N
  1733. ; allow Distributed-COM calls) M# L; q% W9 q* [- L, T+ C( f4 G# u
  1734. ; http://php.net/com.allow-dcom
    7 G# J4 g  _0 b! P6 Z6 Q
  1735. ;com.allow_dcom = true
    6 y6 V6 K0 R: Y  R/ H5 A* l

  1736. 2 O: L  {$ U! L
  1737. ; autoregister constants of a components typlib on com_load()
    ' y3 u3 [9 z0 \# W) v  B* p
  1738. ; http://php.net/com.autoregister-typelib
    / D% o7 A3 b0 }
  1739. ;com.autoregister_typelib = true
    - s) D: Q  ~# Y, r( P# H
  1740. & D4 G' t$ [+ @! t; N2 x
  1741. ; register constants casesensitive
    " X, P1 P+ J, d" a+ E- F
  1742. ; http://php.net/com.autoregister-casesensitive
    * ^0 B- L8 V* v) F
  1743. ;com.autoregister_casesensitive = false$ T5 I( h& U# I; y

  1744. 9 s% X) r4 m9 g; x0 i
  1745. ; show warnings on duplicate constant registrations
    , U& @8 c! L0 Y, H/ W8 k
  1746. ; http://php.net/com.autoregister-verbose
    2 b  B* n7 {) o/ G
  1747. ;com.autoregister_verbose = true  Y8 X) M9 o0 S
  1748. - t" y- g, O8 w  P' Y
  1749. ; The default character set code-page to use when passing strings to and from COM objects.' [: v! j' {. o  @" r
  1750. ; Default: system ANSI code page
    6 s' I" c& y' T6 a
  1751. ;com.code_page=7 d6 }4 l( Q) [& A* G8 b$ _

  1752. 3 S0 b- {5 v$ B" W" D" }* n
  1753. [mbstring]4 T/ f' p8 }( o/ J4 G& P
  1754. ; language for internal character representation.
    " B9 I0 z  E  i
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ' [2 w6 L' X! G  ~# u
  1756. ; http://php.net/mbstring.language
    4 ^1 ~9 g3 O2 l  C8 r
  1757. ;mbstring.language = Japanese& p7 Q+ i8 b% e, B! _1 j

  1758. 4 y* d7 f2 A) ~4 @
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 D1 H1 `9 O. q/ b5 b* g, ]3 Y
  1760. ; internal/script encoding.
    . k7 _5 U: L: t- g7 P5 [8 m
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    / |& }, T# i  ~& U2 r% i
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., o- y4 d7 z1 r
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : t! s0 s, O0 V; ]8 c
  1764. ;mbstring.internal_encoding =
    ( g; [$ K: \! e- b' J/ ?
  1765. * j. M! s! f3 n; v
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.6 I1 e' X5 Z) X* s& Y
  1767. ; http input encoding.4 j& B8 i: `+ u
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.( F4 f2 G+ B7 I2 @4 W* E9 W
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    $ r2 G. t/ n# ~2 o& ?$ s) \
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input' N6 I8 X, B+ s; }
  1771. ; http://php.net/mbstring.http-input
    ! @, X  B% W) [3 j5 X1 S
  1772. ;mbstring.http_input =$ K8 A6 \9 |" Z* V3 ], _
  1773. # C" \( }5 {: ^2 R/ Z
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.( R* F1 T- _% C
  1775. ; http output encoding.: G4 V. R& W0 i- w' Q
  1776. ; mb_output_handler must be registered as output buffer to function.6 {  M1 o) e& J3 d  @1 Q; {- e
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & v% z4 w+ `9 R
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    / Q  E/ U* C; v, V6 f6 K
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    7 f; t2 @' _0 V" e
  1780. ; otherwise output encoding conversion cannot be performed.
    % V" c* l7 O5 k2 K: m0 Z
  1781. ; http://php.net/mbstring.http-output
    - M9 |+ n. l$ t
  1782. ;mbstring.http_output =( u( e* K+ {8 \/ D3 U2 \- v  d& w7 n; y
  1783. * |4 z0 ^3 l; j: u
  1784. ; enable automatic encoding translation according to
    ; `/ a) [6 s# G' K% Y0 ^" L
  1785. ; mbstring.internal_encoding setting. Input chars are
    0 n& _* H/ I1 m% h7 S
  1786. ; converted to internal encoding by setting this to On.. d; w  h2 C7 K
  1787. ; Note: Do _not_ use automatic encoding translation for+ |; N; K* U2 V0 R
  1788. ;       portable libs/applications.
    3 `, c: u6 o4 x* i7 A/ L
  1789. ; http://php.net/mbstring.encoding-translation
    7 |2 o( f" z. b) D  \$ l
  1790. ;mbstring.encoding_translation = Off5 K9 {& w) m: O3 K
  1791. 3 Q6 h: ~- n- Z5 u
  1792. ; automatic encoding detection order.1 S6 T; M- t6 v* [2 H( q
  1793. ; "auto" detect order is changed according to mbstring.language- g/ m" K% w3 Z/ ^0 k% B
  1794. ; http://php.net/mbstring.detect-order+ C) r7 S: u% I+ b/ f" s, ?7 z
  1795. ;mbstring.detect_order = auto
      C4 S+ R$ |- w) e! c3 B
  1796. 6 ?: I' j/ a% v- {. z0 _8 E: v
  1797. ; substitute_character used when character cannot be converted
    5 G' P& \' v+ y& P2 M; z& d
  1798. ; one from another. K$ ?7 I3 F0 L% Y
  1799. ; http://php.net/mbstring.substitute-character
    ; G% @' _. v5 m( w5 u# B
  1800. ;mbstring.substitute_character = none1 D' d% P+ N+ {

  1801. 3 f" c# a2 `# E* e" B$ W) e: i# t. W
  1802. ; overload(replace) single byte functions by mbstring functions.
    " {' g' }1 F. ?$ r( i0 c
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),$ A  {+ B: X; {) s1 P
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.! z  w' C- ]4 L  ]! t. M3 X, n
  1805. ; For example, 7 for overload everything.) T1 U/ @7 I, M: O  X
  1806. ; 0: No overload
    . m! {) Y  w) j8 G" u  k
  1807. ; 1: Overload mail() function
    , M% o2 C6 C- R5 V" e8 v$ I0 J) I( S
  1808. ; 2: Overload str*() functions
    ; w9 M  @: C5 f" a  N
  1809. ; 4: Overload ereg*() functions
    4 {2 H  A5 C' U# i7 Z7 S$ Q# t$ z: P* ^
  1810. ; http://php.net/mbstring.func-overload
    + g& Y; Z0 Z2 b/ S
  1811. ;mbstring.func_overload = 0
    5 s7 ^7 o8 E/ u/ O" `6 m: j: N# x

  1812. + D1 q$ g$ h8 U3 F; c. n
  1813. ; enable strict encoding detection.
    * M* ]0 ^) a# E; k" E* p* @( \' J
  1814. ; Default: Off
    # w! C6 w8 D0 L+ z5 ^/ l
  1815. ;mbstring.strict_detection = On
      ^+ F# g% _. i2 c' g) C% O/ {

  1816. 0 k  b! c) E' S' V9 p* V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()# u' ~; U* a4 [  R2 I
  1818. ; is activated.
    8 `% z2 h$ B  r8 m- q
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 x/ `- V0 n& c( B' y7 K0 X
  1820. ;mbstring.http_output_conv_mimetype=
    ) n4 e* X" k! x7 N8 o. H6 F

  1821. & v! E1 e6 E. I% K6 \' V! C: }! ^/ g
  1822. [gd]
    3 z. B# J! @' H/ @" T( e6 w, Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    % G6 P' l% h% q7 q$ {
  1824. ; a gd image. The warning will then be displayed as notices
    3 b4 m( f! G- c7 ?* i
  1825. ; disabled by default( T3 j! M$ @7 r0 w- y/ _
  1826. ; http://php.net/gd.jpeg-ignore-warning3 Z+ a6 `; e% d" e* {8 Y9 t
  1827. ;gd.jpeg_ignore_warning = 0; B4 k  N! p' k" M% S; }1 _1 S2 h5 h! f
  1828. - m  u# v  G$ f. }
  1829. [exif]
      C! ?2 |5 D& s. e' t5 @
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 m$ i( L$ t& g0 M. |
  1831. ; With mbstring support this will automatically be converted into the encoding7 @3 ~6 ]8 I( s: ^/ z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    , d  `1 ?* F5 W: n# t
  1833. ; is used. For the decode settings you can distinguish between motorola and* A9 ?2 d# F4 ^7 f& ?4 x# Q
  1834. ; intel byte order. A decode setting cannot be empty.9 r1 m' y$ c3 W2 {! W- r
  1835. ; http://php.net/exif.encode-unicode2 P6 w. S% {5 k  B: w& K6 K5 Y
  1836. ;exif.encode_unicode = ISO-8859-15' Q; O" A+ _" ^5 k0 P7 w
  1837. $ w, |* N' g: M* _% f1 {& s  {
  1838. ; http://php.net/exif.decode-unicode-motorola
    8 j$ i% U) \% e. t9 h& H
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    4 n' x$ M+ u1 G
  1840. 5 D1 c3 u7 k# |) k+ {: q: y
  1841. ; http://php.net/exif.decode-unicode-intel7 ^1 \+ o9 C& D
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    6 ~" x. \3 m& }( }. Q
  1843. * R% ^) n- e7 G( I) p+ ?$ A
  1844. ; http://php.net/exif.encode-jis
    ( G- S  v& ?# I2 _% F2 }
  1845. ;exif.encode_jis =
    . l* ?8 |" n: r+ B; j+ K1 F3 ~

  1846. & S; R8 @- `0 a8 {4 u
  1847. ; http://php.net/exif.decode-jis-motorola
    & `% @2 n5 }" t# l
  1848. ;exif.decode_jis_motorola = JIS# N. V4 H" f) W4 j/ ~' O% b6 G
  1849. 2 u1 N! q( e/ Z( E- {
  1850. ; http://php.net/exif.decode-jis-intel
    * k. D& o$ U2 @: |7 _( ^
  1851. ;exif.decode_jis_intel    = JIS
    " K- j2 ^& _# n# Q  g5 O& T0 C

  1852. 4 [4 ]& [' M2 L6 ~9 H
  1853. [Tidy]
    % H* S) I4 [1 x$ ]! D& G
  1854. ; The path to a default tidy configuration file to use when using tidy
      V6 s1 E& J* a; n. L" \5 _
  1855. ; http://php.net/tidy.default-config: c- F& W9 }; [" X/ J" w1 h
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 [1 |& l. Y; ?3 x! w3 w
  1857. 9 ?4 X; V8 ?; y; d5 _# H
  1858. ; Should tidy clean and repair output automatically?
    6 @0 V/ X- {1 o5 e1 |
  1859. ; WARNING: Do not use this option if you are generating non-html content; X& T0 r4 b) d  k9 X
  1860. ; such as dynamic images
    ; P( a# v7 Q7 x2 m: j
  1861. ; http://php.net/tidy.clean-output. j' G9 y7 i( _
  1862. tidy.clean_output = Off7 O' Z- A. `3 U/ I) z+ w6 B) i

  1863. * b0 n4 O% c) i/ R% M6 n5 ^
  1864. [soap]/ T& K8 i) `8 Q; J% r6 ~
  1865. ; Enables or disables WSDL caching feature.2 m% o, V3 z  |: E' d0 j
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ( P/ j2 n* V+ k: W1 L! z
  1867. soap.wsdl_cache_enabled=1
    3 m, _' g& z/ @2 `2 Y5 o

  1868. 3 m. b9 C5 u/ P* |) `8 }$ B9 K0 w" O
  1869. ; Sets the directory name where SOAP extension will put cache files.: r6 L; K$ ~; g' @4 Z! ]
  1870. ; http://php.net/soap.wsdl-cache-dir0 _4 v: v: ^# a) s6 m2 f
  1871. soap.wsdl_cache_dir="/tmp"5 k& s. {$ w1 v* K
  1872. ' F% y  X+ n1 @7 T/ P
  1873. ; (time to live) Sets the number of second while cached file will be used& N% g7 X0 B7 {( |6 x( S
  1874. ; instead of original one.
    4 V8 S, v0 c3 y( X6 J& `; ?4 x
  1875. ; http://php.net/soap.wsdl-cache-ttl
    / I% C( t9 }% I8 A$ W
  1876. soap.wsdl_cache_ttl=86400  \' Z$ G5 N5 U5 z

  1877. # L5 B9 g- d7 [
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 c: b* p5 o* h1 o; ~9 @
  1879. soap.wsdl_cache_limit = 5
    ! G- q( e1 s  C$ O
  1880. 8 G( G; [  p2 ]% {' o. l* R4 k
  1881. [sysvshm]4 s8 c; h5 o+ j% M' O) t
  1882. ; A default size of the shared memory segment3 o; m; O) V; E, \( n2 j. z: U
  1883. ;sysvshm.init_mem = 10000
    9 K3 C- U; B1 b' R

  1884. 8 B& I9 e' ?0 [5 Z) G
  1885. [ldap]
    . g! z' I- \7 g( j9 c. i
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    + G" e+ ]( S0 C$ x6 k3 K; x1 e( j$ v
  1887. ldap.max_links = -1" |/ ]2 e  y! ?5 ~7 ]; H
  1888. # {1 F1 E$ g7 R8 s$ [- D% c+ M
  1889. [mcrypt]4 s4 K. p/ f1 c4 p& D
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open$ w" l, G/ h0 e# C0 U  }

  1891. 0 H) G3 w; G: L2 x2 n4 P
  1892. ; Directory where to load mcrypt algorithms
    1 y. r1 C6 Y9 x3 z  Z
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 y$ u3 ~1 ~6 i8 z# o4 J1 l6 q
  1894. ;mcrypt.algorithms_dir=- M* R8 p9 n# G. K
  1895. 4 O5 M1 ?$ S2 x2 t2 T
  1896. ; Directory where to load mcrypt modes
    $ z+ T8 L3 d9 c' C
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 q& `- M# s* \+ K+ A$ G
  1898. ;mcrypt.modes_dir=" p3 e( j6 ]; K0 \: j' Y3 a8 Y

  1899.   ~" z! `" k5 D  ?
  1900. [dba]0 U: F6 X( Y6 x- u- F1 ~
  1901. ;dba.default_handler=, `- E7 l9 _/ s; o: Z; Z# r

  1902. ) c. k! I% b7 {$ ~+ o
  1903. [opcache]
    4 y2 H6 g6 v# ?
  1904. ; Determines if Zend OPCache is enabled9 @- U/ n/ o% o2 ~: O9 p
  1905. ;opcache.enable=0
    ) Q( v+ \3 h  T% a

  1906. ' F; w2 b! P$ u0 V
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP; C5 Y, O4 U3 l9 ~
  1908. ;opcache.enable_cli=0
    ! h. `; ^& k( K' Z" T/ O& l( T- y# `

  1909. * }" b, Q8 J. W, f
  1910. ; The OPcache shared memory storage size.6 G1 ~/ M$ u, r$ W3 R) ^) D2 W
  1911. ;opcache.memory_consumption=644 |- d1 w' s0 x+ W5 S7 }- {" u2 }  Y

  1912. ) P( A: o5 O  a8 \& _
  1913. ; The amount of memory for interned strings in Mbytes.
    , ~3 r2 M3 J# h5 H' H
  1914. ;opcache.interned_strings_buffer=4; N3 y  E9 D9 `0 I# K6 {) H6 Y$ G

  1915. 1 o5 a# N- U( |) H' \  G
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.7 Q+ d% M) L" m: U  f
  1917. ; Only numbers between 200 and 100000 are allowed.7 x0 H$ J8 j: U" e0 c
  1918. ;opcache.max_accelerated_files=2000
    & L  b( Z9 B0 X7 V4 R( Y% D
  1919. : j3 |* r) N4 l' b. `: r0 N! i
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 d: e* G% m' Z
  1921. ;opcache.max_wasted_percentage=5
    # c6 I. B# E& _# K2 c9 f
  1922. ; Y0 ?* U0 B- O* g' c* ]
  1923. ; When this directive is enabled, the OPcache appends the current working
    1 o. x# _; {' [' N3 p1 f, i* a
  1924. ; directory to the script key, thus eliminating possible collisions between
    8 D) h6 {8 N- D8 o/ Y8 F% P
  1925. ; files with the same name (basename). Disabling the directive improves
    + `& |0 c' ^% P$ q
  1926. ; performance, but may break existing applications.
      A. f6 S; q6 i# l: ^+ k
  1927. ;opcache.use_cwd=1
    * R/ \2 l1 ^( T2 w2 }4 S4 I! {
  1928. ) h# {4 H8 _# W3 W$ g. w+ f
  1929. ; When disabled, you must reset the OPcache manually or restart the2 b* w  M" c& J( ?# |, d
  1930. ; webserver for changes to the filesystem to take effect./ |. Q  J9 [/ Z, J$ O
  1931. ;opcache.validate_timestamps=1& R  u8 `3 {; y4 c) S3 `
  1932. * r- F4 T3 \" A3 l3 x1 q3 }& N
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 I- _2 W, `+ ^
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    # U/ U) c6 e- t4 R
  1935. ; once per request. "0" means always validate)7 l! B& K: b- z& y3 ?3 F9 Y- |; i6 ^
  1936. ;opcache.revalidate_freq=2
    # X+ L: A) z/ ^5 Q

  1937. ( @5 H0 x+ I: R/ b/ ?
  1938. ; Enables or disables file search in include_path optimization/ Y$ t! K4 \2 i' d; Q" U% j9 ]
  1939. ;opcache.revalidate_path=0% V8 y3 J6 I& m, Q/ l2 R
  1940. 4 Y( [8 }! K1 n) B. J6 G
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 O, A. h7 A6 p5 S2 o
  1942. ; size of the optimized code.
    ) P  P7 j( q" J% Q
  1943. ;opcache.save_comments=1: d+ y" P( F. H2 S! F' D  p
  1944. / I, ~8 }$ `. b# z, w
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"& x" w* {8 q) ?# g
  1946. ; may be always stored (save_comments=1), but not loaded by applications3 P; a  a1 ^- S. a. U
  1947. ; that don't need them anyway.
    , G! P' h( t3 A: s' O0 n
  1948. ;opcache.load_comments=1
    # {! D, ?! b5 V& V! K: V
  1949. " h' p7 T6 b; I- D6 L8 _
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    , E3 ?, x; |8 B, ~1 S
  1951. ;opcache.fast_shutdown=0( [2 \/ v& W( F: n; ^" A8 r  U; m
  1952. , a3 M4 j: ^1 G* O
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' d+ h  O! x4 s* ^
  1954. ;opcache.enable_file_override=0
    9 R2 x% u1 `7 z, V  o6 z
  1955. 1 b* b1 n- g+ S" H1 p, I' i7 s8 V
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
      f6 w' u( J* B1 I: o8 l$ y* z
  1957. ; passes
    ! L% h- E' F# p3 m/ a2 Y" l
  1958. ;opcache.optimization_level=0xffffffff
    + t' x% P3 p& P8 G" v# Z

  1959. ' f4 x9 x# _+ d: i
  1960. ;opcache.inherited_hack=1. M2 Z& f0 \, y4 s$ |2 ^- c
  1961. ;opcache.dups_fix=0
    ; n( E* D/ D* h
  1962. + b. f4 C7 k1 n
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    3 M$ v& P8 m  @" a% h  O4 K6 |4 N) N8 C
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    3 l' [! N# R8 ]4 m' r8 o
  1965. ; that should not be accelerated. The file format is to add each filename3 ]$ R+ H; a5 [  D( I$ n
  1966. ; to a new line. The filename may be a full path or just a file prefix
      M6 ^+ V" S; W
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ' r9 }' j9 ]5 L' k6 g
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ k5 j8 k8 G+ a+ Z7 d, l( b& h
  1969. ;opcache.blacklist_filename=" Z* k  C* W1 ~( H' c1 f2 ]
  1970. $ d& x- ^3 [7 e, d
  1971. ; Allows exclusion of large files from being cached. By default all files6 W$ u  R) J) ^- q/ W/ j) |
  1972. ; are cached.. R6 W9 M" j: ]. z- a( z: N
  1973. ;opcache.max_file_size=0
    & E$ R$ @* H, ^2 E/ t# T

  1974. 8 [% b: y' G! f" R
  1975. ; Check the cache checksum each N requests.
    9 l" `$ ~3 H0 x9 L9 N. B
  1976. ; The default value of "0" means that the checks are disabled.# u4 w9 K2 O3 w: z
  1977. ;opcache.consistency_checks=0% x7 y- u- N) h/ s4 d
  1978. * ~4 x3 Y( A" F3 F5 [5 R
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    : a5 `/ L+ a8 }1 O8 Z
  1980. ; is not being accessed.
    1 B; h9 {. D+ [) }" K
  1981. ;opcache.force_restart_timeout=180) q- C! \, e& l( w: n

  1982. $ _1 i1 |( I' e- h% ]* g& a
  1983. ; OPcache error_log file name. Empty string assumes "stderr".9 _/ z. r4 H# ?
  1984. ;opcache.error_log=/ p  ~9 ]3 o# O- c* W5 K& d2 @3 F

  1985. 7 n8 o) B3 D2 @1 s1 P1 U. G- Y
  1986. ; All OPcache errors go to the Web server log.1 |6 B0 ?; A+ ]. b9 A5 |5 I2 J" X  M
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.; u2 j+ ^$ J* C% ]
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    6 G" y9 p1 v9 d- X9 _3 [- C- b
  1989. ; debug messages (level 4).$ k1 ]6 \0 _! o0 C
  1990. ;opcache.log_verbosity_level=1
    " R% R$ k  k% j5 |

  1991. & M7 b6 d( r; i+ n3 T
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.0 }: q3 `. v! r" F( _! W3 X+ i
  1993. ;opcache.preferred_memory_model=
    ' s& i2 v( H0 V4 a- O

  1994. : C& E% f$ B) }$ f' S$ r5 P
  1995. ; Protect the shared memory from unexpected writing during script execution.
    5 t  z" r/ D1 l: n# S
  1996. ; Useful for internal debugging only.
    / w) `) k  f# ~
  1997. ;opcache.protect_memory=0
    $ F, r! S, E$ v! U0 {7 w

  1998. ; Q& ^5 r( V6 h$ n" o  i
  1999. ; Validate cached file permissions.
    4 ~, O! f$ X9 R! t+ D' @4 Y
  2000. ; opcache.validate_permission=0. c' Y( i' j4 t+ E$ r  A7 g

  2001. 5 b( ?7 K) N" d! v5 ?5 g
  2002. ; Prevent name collisions in chroot'ed environment.
    ' x3 G) V& V; p
  2003. ; opcache.validate_root=08 X/ o9 P5 k. T) B

  2004. $ l: ~2 g* E0 U# u, y
  2005. [curl]
    2 Q8 S/ H4 H  c8 G  ^, {7 [
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 K/ |) H. o# X' X) x8 v& _
  2007. ; absolute path./ Q" ]; }5 N6 G; c  }( ]8 g9 |' M' f
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    6 d2 d5 \& h! i; F# J/ j

  2009.   o& G6 P2 s# t$ I3 r6 W3 z: c
  2010. [openssl]) R1 @0 U3 T" E0 @- F
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem4 j: R9 A+ n0 M
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should( a- M: O! V+ g, o. Z
  2013. ; not specify a value for this directive as PHP will attempt to use the4 |5 z  l8 m6 s6 @% w* [9 z
  2014. ; OS-managed cert stores in its absence. If specified, this value may still  H0 y  \; O+ `1 z$ t6 ]
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context9 R, p. P, z! R' q( E3 G
  2016. ; option.
    + ^8 H/ W3 X  `9 ~4 U4 i4 N1 U% X
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt8 B6 I  m0 }6 @+ v4 Z

  2018. ( J1 N' S: [$ l6 O
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the2 i1 b& @- R# L
  2020. ; directory pointed to by openssl.capath is searched for a suitable% ]/ t) t7 s% v) }
  2021. ; certificate. This value must be a correctly hashed certificate directory.: H; U* L  |1 T; G9 T
  2022. ; Most users should not specify a value for this directive as PHP will: d7 r, T( A8 S- @& Q
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    , n# C- e5 Q" a6 E8 b+ n# Q
  2024. ; this value may still be overridden on a per-stream basis via the "capath"; C/ k5 w" W3 y7 x. ?& \1 p+ F
  2025. ; SSL stream context option.
    ; N+ |4 @1 C& j/ D. z
  2026. ;openssl.capath=" \: ^- I* F- U9 O: j5 o

  2027. . F  [2 o* U$ O
  2028. ; Local Variables:
    + p, D0 e9 H  v
  2029. ; tab-width: 4
    2 i. l! a8 {  F7 U. V; ^" O
  2030. ; End:% G- |" W( K' E$ m
  2031. # N' M3 b+ a- \
  2032. ;eaccelerator
    5 \3 X/ S! k4 @% t% C) Q; ]$ v

  2033. / `# ?; d7 M/ r  @  l
  2034. ;ionCube' N9 G. o( C! U/ ?  j8 {$ E2 D  F
  2035. 3 K+ O) e' k9 o+ f( e; x
  2036. ;opcache
    % `/ E' x5 f, j3 `4 C! B; s

  2037. " [( Z/ F5 b- h
  2038. [Zend ZendGuard Loader]
    8 l- o1 L/ X; S: e! W
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    * X) f1 d2 j7 M0 p8 j3 P
  2040. zend_loader.enable=1( Y+ T( w: v  S+ R0 U
  2041. zend_loader.disable_licensing=0
      O$ A" V3 V, U7 E* n0 b% D. Q
  2042. zend_loader.obfuscation_level_support=3
    3 z: G2 P) @) w
  2043. zend_loader.license_path=" l. _$ Z6 l2 F8 D
  2044. ; S8 h/ E' h! |4 O/ s3 U" `1 c( |
  2045. ;xcache
    1 M1 Y) H) }- h# B4 n  {

  2046. , w" w4 x, G1 }( W& U
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692% I& ]6 f7 [0 f6 |' z$ M
8 _9 V  \* D3 G" m- G/ I' M! y
# V4 L- [" O9 D" c# G1 K5 [
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
# R: N# d8 m/ @+ b
" a+ f! y1 `+ l5 b9 _: H, H6 I% }% JDiscuz!程序版本选择:+ T. l' a* T; X$ d
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,* L2 S# Y8 Q: |& J5 O
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
. H2 J1 b& ]' u. JDiscuz!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。
- N" ?+ k4 D6 o& s; z0 _' Q( x7 r6 y5 d2 Y" ^
Discuz!插件模板版本选择:( Q  _7 A! b* s9 I, n, H$ Y
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
; e; {4 V( L- V7 {5 `3 Z: P) Y针对这个问题做个统一的普及:0 h. J0 r# O* w
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
7 l" T5 d- k+ t: t
( N6 M* a' q+ y' ~所以
, }- [+ J$ Z( w4 @适合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的二级域名。
3 O2 b' ]3 n0 n5 |! i2 V* j2 j# c6 y打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
; v1 h- G/ |# j8 c% r注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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