分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.09 G4 i$ t0 v: Y- w2 g# l: \
) j5 m4 G' t0 ~' c5 g
  1. [PHP]; w/ l. R/ t* f- R- `, p

  2. $ G& h7 r5 x: S5 J' K( e3 X
  3. ;;;;;;;;;;;;;;;;;;;
    / \: n1 h) K1 `! E6 y# k" U  c. s% \
  4. ; About php.ini   ;
    ; W; @0 r0 {$ I' v; K
  5. ;;;;;;;;;;;;;;;;;;;
    * P/ Z' C( {+ @5 |4 |
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    9 l" K7 `) X, \$ W" K5 G* o( Y
  7. ; configuring many of the aspects of PHP's behavior.
    8 w+ z7 m! m8 y; N3 r+ M# F

  8. / F) G' A. e. L* \% C# y
  9. ; PHP attempts to find and load this configuration from a number of locations.# D0 `+ A% c# ~4 ~
  10. ; The following is a summary of its search order:) k5 @3 m9 f! t9 t% I- X6 \
  11. ; 1. SAPI module specific location." M' e! v: ^  d  F0 Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! G7 V* }) }: i# Z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' }1 X; H0 t7 h& i
  14. ; 4. Current working directory (except CLI)
    # z6 D6 G4 {+ {; Z/ y7 w5 J
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    * x4 y* O2 G% ^5 c6 b& I
  16. ; (otherwise in Windows)
    . z+ w: V3 v9 f, a0 T& s
  17. ; 6. The directory from the --with-config-file-path compile time option, or the& F; Y, w* V' ~$ a4 i
  18. ; Windows directory (C:\windows or C:\winnt)
    6 h. A6 i8 t9 _
  19. ; See the PHP docs for more specific information.
    - E& Y$ z; k" z! S1 F' y3 F
  20. ; http://php.net/configuration.file
    & {; J0 F5 {) n
  21. # A- C( ~8 B) y8 p2 Q: }# V
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    / s6 d1 b! s2 ~, s  }, @4 U
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).0 U" f- L7 F1 y9 V5 s# w
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ) f% V7 o1 }' @
  25. ; they might mean something in the future.2 }5 a! _# L3 F! @; N

  26. 0 E% H3 e7 {% n: `# \
  27. ; Directives following the section heading [PATH=/www/mysite] only
      p; _3 t! |1 z# O9 B
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    4 }; U! |: L- I
  29. ; following the section heading [HOST=www.example.com] only apply to4 {* t7 z! f5 |/ i; V$ `; k& P
  30. ; PHP files served from www.example.com.  Directives set in these3 }8 _- P! c' H5 @" I9 L) Q
  31. ; special sections cannot be overridden by user-defined INI files or7 S) ^, a+ @  z4 ]( l) c5 Q" o! P
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under3 E( @  R6 C0 ?  h  ]6 K8 R/ A9 B; g2 ]
  33. ; CGI/FastCGI.
    $ @) U9 _, h$ q9 c8 {' N
  34. ; http://php.net/ini.sections" }! K2 r* K" f3 q$ ~
  35. ; j$ l" |$ R8 B) P, R/ N
  36. ; Directives are specified using the following syntax:  [" i; K: \7 Y) U' U
  37. ; directive = value
    & O2 e( b& \" x; z' e: K
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.& A! f: D/ M& J* ?6 m7 y
  39. ; Directives are variables used to configure PHP or PHP extensions.
    $ x5 Y( m" J# d4 y: H6 E- s/ O
  40. ; There is no name validation.  If PHP can't find an expected
    9 _; f" L$ r7 U1 x# l3 M
  41. ; directive because it is not set or is mistyped, a default value will be used." u% Y, M8 C$ L: T$ V0 e3 e) U

  42. & y. L+ c1 r" |
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one5 ^: P% O4 p6 r8 ^
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ! [' B5 q) i* R$ B# I& C+ I# N9 x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a# D, z. c/ m5 a" G
  46. ; previously set variable or directive (e.g. ${foo})* [% o1 W3 l! @, O. ~9 k. m' O
  47. 7 W+ \2 _% A2 P6 R
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:# _' d, d0 S7 r+ g
  49. ; |  bitwise OR
    ; d/ s$ K0 L9 g$ ~: G% n
  50. ; ^  bitwise XOR* ]$ O+ T0 ~9 o8 ]
  51. ; &  bitwise AND
    4 m/ A. T; l! f3 U
  52. ; ~  bitwise NOT7 X( N  m3 u! n6 e9 c! S, e0 h3 |
  53. ; !  boolean NOT1 [" j' m: c' u' ?+ y2 u

  54. + A" z& W3 |. R; n; E3 L& W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    4 a" K/ [4 a  C( b/ J
  56. ; They can be turned off using the values 0, Off, False or No.
    ( d$ {% v3 k1 e( u
  57. % a8 U' o) n' n( ?
  58. ; An empty string can be denoted by simply not writing anything after the equal! \4 V9 t$ t8 k) Q
  59. ; sign, or by using the None keyword:4 h% w6 b3 F! [# J% C/ h9 `( q! i

  60. . D7 ]; {- v1 S5 g% @
  61. ;  foo =         ; sets foo to an empty string
    " v! ]" E8 E4 m: n) ]% f9 I
  62. ;  foo = None    ; sets foo to an empty string/ K3 P  W: N. A1 z3 a( r
  63. ;  foo = "None"  ; sets foo to the string 'None'
    $ l- j9 T( C% Q% o9 C- S

  64. ) g, Q: Q7 s( z1 E8 P( k
  65. ; If you use constants in your value, and these constants belong to a
    ; F# F6 o3 z. d& C) H
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    : G6 u. c5 I! c4 M
  67. ; you may only use these constants *after* the line that loads the extension.
    & R+ B% v- A( b+ W# O. @9 W" m
  68. * L5 n5 l+ A) V- m# ?
  69. ;;;;;;;;;;;;;;;;;;;
    ; V* U7 B, R1 d5 {% e; J0 Z3 m
  70. ; About this file ;
    " ^- f$ B1 p( B3 m: H) i7 |2 i
  71. ;;;;;;;;;;;;;;;;;;;
    , j# E- n/ ]' m6 e0 w
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    6 g2 r3 M! _* n$ m# x* {
  73. ; in production environments and one that is recommended to be used in1 k: v3 k  Z1 V3 q3 v; Q# a# W
  74. ; development environments.
    ' {* ], l3 M0 [5 ?
  75. " Y) u0 a% `0 W* Z
  76. ; php.ini-production contains settings which hold security, performance and
    # r, \2 K$ g( h  [; z
  77. ; best practices at its core. But please be aware, these settings may break
    ; F8 k  x, b! Z0 z
  78. ; compatibility with older or less security conscience applications. We- y8 O8 k/ P) p! F
  79. ; recommending using the production ini in production and testing environments.  H2 J. p6 a! O

  80. / Y9 q: y9 b! ]0 M. {9 `7 C
  81. ; php.ini-development is very similar to its production variant, except it is6 u$ x; X, t* O0 H
  82. ; much more verbose when it comes to errors. We recommend using the
    / v! B5 C, @0 G- n( Y# H
  83. ; development version only in development environments, as errors shown to
    & a! j8 b# V9 G
  84. ; application users can inadvertently leak otherwise secure information.  s3 s% \2 ]1 z# V( {. _

  85. 4 C7 w) B( _# K
  86. ; This is php.ini-production INI file.4 z& N2 I! ^9 n9 f% c5 N. O  ^3 r

  87. . o! X; i+ s$ ^& C  w, B
  88. ;;;;;;;;;;;;;;;;;;;% L( u+ |1 r! \' L* S5 c2 z, P
  89. ; Quick Reference ;- G$ [2 K# m6 B$ F% \
  90. ;;;;;;;;;;;;;;;;;;;
    # ~/ R6 T& r4 o/ \- O7 F
  91. ; The following are all the settings which are different in either the production5 f  n) |7 X9 E+ |# q
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    9 ~2 o1 x7 x0 O$ K  [
  93. ; Please see the actual settings later in the document for more details as to why
    . ?( w; \/ J3 t2 j
  94. ; we recommend these changes in PHP's behavior.
    , v3 D; ~; n# B- K

  95. ) [+ R3 S# K8 c9 u9 B
  96. ; display_errors
    ' |* A8 K. S' c) h0 j8 N) ]
  97. ;   Default Value: On* M/ C/ ~1 U3 G3 y- H6 t0 T0 t( y
  98. ;   Development Value: On  @" w' @9 Y. v! n! O
  99. ;   Production Value: Off+ q9 n4 q* p/ e
  100. 6 A& }! F, J9 v" v2 a
  101. ; display_startup_errors2 c6 T# G8 J  u8 z
  102. ;   Default Value: Off
    7 G1 X. `+ Q; Z+ ^$ [
  103. ;   Development Value: On
    7 S. h. i$ k' C+ p* n( [# N
  104. ;   Production Value: Off
      R; g/ t' m7 R- d6 Z: m

  105. . f) k- Z' _+ t( X: w
  106. ; error_reporting
    : H0 i9 J2 ]) P; O
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + Q. }% c$ \5 J. r6 q5 a! N
  108. ;   Development Value: E_ALL
    $ j* J' F2 r3 g4 Y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 m/ p+ T1 f0 K
  110. 7 f. A; F4 b+ [3 o. l
  111. ; html_errors3 [- V0 t6 C- f- {2 H8 [9 y
  112. ;   Default Value: On  s3 a. s; h1 @  S% o. b
  113. ;   Development Value: On
    8 r5 n2 p% |1 H
  114. ;   Production value: On
    # Y9 [6 |+ v6 c, a

  115. ) \$ u4 f4 A+ v' n2 C9 j
  116. ; log_errors( o* x: j; X- H& }- v! S
  117. ;   Default Value: Off
    : J; a$ M7 M' _8 ?
  118. ;   Development Value: On5 A3 z" W- t: t1 K
  119. ;   Production Value: On( p  F6 E( D/ n
  120. , g8 u$ T( S. D, {" H; {# A; `
  121. ; max_input_time
    ; M' t' B1 _' ~+ _6 m' r' U
  122. ;   Default Value: -1 (Unlimited)# h$ U% Q5 o) t9 f6 N3 h- ~4 K
  123. ;   Development Value: 60 (60 seconds)
    ' ^1 g2 \' l6 f9 S) d8 I' j
  124. ;   Production Value: 60 (60 seconds)4 u1 u9 V1 h" d/ X2 o
  125. * d( F3 K% A' ~* J
  126. ; output_buffering
    ! ?. I. b- x$ ?- ^* G3 {
  127. ;   Default Value: Off
    - N% u6 C5 p/ |
  128. ;   Development Value: 4096
    . f1 A% f) I# }% f! Y+ }; u2 ]
  129. ;   Production Value: 4096
    : ]/ h' I/ r& z8 v, e

  130. 2 s- a5 \4 P, }: j
  131. ; register_argc_argv0 o) D( Z, T1 l$ |
  132. ;   Default Value: On
    . j3 _3 o5 G. q7 C, `
  133. ;   Development Value: Off8 ?5 M2 ?+ w0 H3 t  i
  134. ;   Production Value: Off
    9 K( E* O1 e% d( Q2 r( U0 z

  135. ; f$ X; K# X. G7 c
  136. ; request_order8 v  H  N# U1 \1 ]* L9 R: |
  137. ;   Default Value: None) N( H2 [2 }2 [- O6 A, w
  138. ;   Development Value: "GP"9 O+ H; |2 ~) T( _3 L7 L
  139. ;   Production Value: "GP"' B: D, j! H" g8 r. m

  140. / Y6 n$ C2 e* _$ s9 x! X
  141. ; session.gc_divisor
    $ v8 z! A4 r7 R! S4 V
  142. ;   Default Value: 100! I: ~* P2 b! r$ C
  143. ;   Development Value: 1000
    ( s8 m. [* [7 q8 f; X
  144. ;   Production Value: 1000
    2 L$ E/ G$ L  Q8 R9 O9 w
  145. ' W5 [$ T' g1 D2 M7 D0 R' \
  146. ; session.hash_bits_per_character
    5 R+ L$ _# \9 I* K! _+ C5 W0 ~
  147. ;   Default Value: 4. P" B/ p/ x9 _( q. H' B
  148. ;   Development Value: 5
    8 b6 F2 q' g' B* ]. z
  149. ;   Production Value: 5
    $ I9 M9 B+ ]8 ]& {+ S  l% a

  150. # Z" @: b  P# s  L1 l( K
  151. ; short_open_tag
    & z# l0 P$ ?  Z: ~
  152. ;   Default Value: On5 u5 ?1 V* K( {5 b* v( Y
  153. ;   Development Value: Off
    . y0 F6 c% \) P
  154. ;   Production Value: Off) i1 U$ f" j1 [- J
  155. : J: v/ o7 ?, e# x0 t* s* G2 f
  156. ; track_errors
    - X& w, {+ [1 s6 }
  157. ;   Default Value: Off- g$ _3 B1 \& h* C- D  r, l  J
  158. ;   Development Value: On
    ' H0 Y6 ^, |  n1 e, Q, B  u8 Y
  159. ;   Production Value: Off6 ?0 N% |4 E" {2 S' l/ {) a( t- |% k
  160. 6 V5 s0 M: _$ G$ c  O3 A* v( a9 s
  161. ; url_rewriter.tags& m5 ]+ ~& T* ?6 @! p& u9 p/ @
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=". F  Y9 I' o( j  T& k
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 T9 L9 w& e, {% L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : v  w  g' r8 f2 g
  165. ( J% v. Q' S1 `: O
  166. ; variables_order% [: N" P: f  m8 h
  167. ;   Default Value: "EGPCS"
    , l& z1 ~" ^1 @1 v1 q4 V
  168. ;   Development Value: "GPCS"
    ; F8 C: ~  f( x6 \! p) H
  169. ;   Production Value: "GPCS"
    : {5 Z. k; \7 n: F, @% p& b5 Y1 {

  170. . `% `! I8 ~0 E1 |- C
  171. ;;;;;;;;;;;;;;;;;;;;7 q, t" e: F6 q7 ?
  172. ; php.ini Options  ;
    1 s- k% D0 [# ?7 b+ T3 S8 J
  173. ;;;;;;;;;;;;;;;;;;;;
    * Y( z/ n* e1 }) t$ R7 c9 [4 `
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ S% I" M8 _3 [/ b
  175. ;user_ini.filename = ".user.ini"
    " [  W6 X7 n8 N! X. p

  176. ! r2 R6 s1 ~& e/ S; h- e7 {( J
  177. ; To disable this feature set this option to empty value9 T. [7 P1 d9 Z1 M+ x* r6 Y: n
  178. ;user_ini.filename =
    4 w. g. x  t6 F" F
  179. " |( o) J9 V5 o. Y  J/ `. {
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)' ~7 |0 K  m" D: ~& k3 X+ W
  181. ;user_ini.cache_ttl = 300
    9 C! Y9 u4 H8 O8 y
  182. 4 e2 [, @$ M5 u7 L6 T
  183. ;;;;;;;;;;;;;;;;;;;;' S( W7 N3 F# V+ o% ?  x' k* C
  184. ; Language Options ;$ P6 M4 A9 v2 b% Y
  185. ;;;;;;;;;;;;;;;;;;;;9 ^2 V! `  Z) W: B& l  K! N

  186. / {0 L! F" c  v: g3 D( k" \
  187. ; Enable the PHP scripting language engine under Apache.
    $ A& `) B1 X" d3 @- ^0 y* M5 w
  188. ; http://php.net/engine2 I# r# W! L5 c$ l
  189. engine = On
    6 q; K; Q2 e) l+ {/ Q/ j1 c( i
  190. : Y4 s0 {$ R/ k7 h
  191. ; This directive determines whether or not PHP will recognize code between. A2 p9 U1 U; b. _0 U0 {
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ T5 x; @- P6 _9 g+ ^+ `
  193. ; generally recommended that <?php and ?> should be used and that this feature$ n9 p- l- J* T+ U1 O3 Y; }
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 G: ?4 x* j) M! b) C3 L( l$ |
  195. ; documents, however this remains supported for backward compatibility reasons.$ E* ~% J( h! r3 _8 |1 B1 Z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 Q. c6 l( x; U
  197. ; used regardless of this directive.
    $ }8 i& f% C% h& _! Z. f' p6 |' e
  198. ; Default Value: On; G% W& m: f8 D* R, ?
  199. ; Development Value: Off; m9 a- C$ J4 l2 Q6 u5 L8 D
  200. ; Production Value: Off
    $ ^, R+ M" t3 s+ H
  201. ; http://php.net/short-open-tag% W( X1 o  R' D7 u; @; M" S
  202. short_open_tag = On4 [0 f; ~/ l+ `9 o8 n) \

  203. ! M8 V" y9 u2 e. E& e
  204. ; The number of significant digits displayed in floating point numbers.+ _, `) x! M7 L. s( m
  205. ; http://php.net/precision, R) [, ]$ ]  H* Q, [* E) L2 \
  206. precision = 14! `8 k6 c# p4 E$ m& h
  207. 9 z7 _, O' j, M9 m. `( b
  208. ; Output buffering is a mechanism for controlling how much output data
    0 l  _1 Q; P, `( q
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that0 a8 _: T3 c1 A, A( c% ]
  210. ; data to the client. If your application's output exceeds this setting, PHP2 n6 L' {+ M" [. y! x
  211. ; will send that data in chunks of roughly the size you specify.
    ! w3 C7 i, N  E" ]+ l) A
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ; r1 J6 M1 t: m( u9 f2 Y9 @
  213. ; interesting side-effects depending on your application and web server.
    7 _% N- C% X- x) W8 R" |
  214. ; You may be able to send headers and cookies after you've already sent output' f- U0 ?3 C, q; g. U7 V: `
  215. ; through print or echo. You also may see performance benefits if your server is
    / h  c: F- y, x3 d
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    - \) @5 C9 F6 A. ]7 {2 |, h  p, y
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: I7 a% V& \0 p* B9 C0 L9 `
  218. ; reasons.4 u/ w9 L& {! n' q+ w, Z; P
  219. ; Note: Output buffering can also be controlled via Output Buffering Control! }& R! m$ `, I) \- O
  220. ;   functions.
    9 J% w& ?( a+ z3 a( U" ~
  221. ; Possible Values:6 x0 S+ a( S5 t5 q: a& X0 q
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    / n( z7 k4 x* x% R
  223. ;   Off = Disabled
    # G! Y( E* \  H8 d, {
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.; z! x2 a( p) Y8 u' f/ z
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI! }, r  E, {( t9 K& n3 o
  226. ; Default Value: Off
    6 Q. A: _: ?/ A1 e, \
  227. ; Development Value: 4096; U6 Y9 y7 b7 t2 V8 D7 @6 a  m5 u
  228. ; Production Value: 40968 J; C7 ?3 r, s' Q
  229. ; http://php.net/output-buffering1 |4 L4 d) s9 E  \. F: q% r% |
  230. output_buffering = 4096
    ( F7 P% C) x. y5 f& j+ y7 ~& H

  231. 7 h- z: o& w' K' z! |
  232. ; You can redirect all of the output of your scripts to a function.  For
    9 z3 q; S" ^/ e+ w, P) |
  233. ; example, if you set output_handler to "mb_output_handler", character0 r6 p( L6 w+ A, O
  234. ; encoding will be transparently converted to the specified encoding.7 ^! R1 o/ V# ~* d1 g9 Z/ [. r
  235. ; Setting any output handler automatically turns on output buffering.
    ' D/ m$ x# c+ m4 Z. h: e: ?+ i' p
  236. ; Note: People who wrote portable scripts should not depend on this ini' k; P: ^. T( h- p
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    + ]7 W/ e; o: X; r
  238. ;   Using this ini directive may cause problems unless you know what script
    $ A4 m/ [; l9 A# C
  239. ;   is doing.
      \3 Q# O7 h0 `) O+ M4 a
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . b$ G: Z9 A% ]+ c
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"., J5 ~: y. ]# e8 O8 ^8 p
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 q' f; I$ S/ [0 [$ ?# _5 r) y
  243. ;   Instead you must use zlib.output_handler.7 C- \. u4 J! @5 B
  244. ; http://php.net/output-handler  y# A: a- Z4 U8 N/ \4 o
  245. ;output_handler =
    2 q' Z4 h+ g0 G1 x4 d) A
  246. ; j5 i" v# S8 S- C. l* ^
  247. ; Transparent output compression using the zlib library; z- Z# o, |1 v9 o! v
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size5 d! x  t0 X) \, z
  249. ; to be used for compression (default is 4KB)
    ! i$ L# y' l# a! M8 L" j+ w" o
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) k: \+ k; k3 Q
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    1 b' k5 z2 ]! _1 I0 B, d5 G/ X, C
  252. ;   compression. If you prefer a larger chunk size for better
    8 R+ B1 l- @7 Z, k$ i' d6 X# ?
  253. ;   performance, enable output_buffering in addition.) G; [* M  D2 ^( P! F
  254. ; Note: You need to use zlib.output_handler instead of the standard8 k3 O4 L0 ?; Y- h4 m) }
  255. ;   output_handler, or otherwise the output will be corrupted.
    9 }4 n3 E& ]2 G8 s5 o
  256. ; http://php.net/zlib.output-compression1 h, v" ^# j2 i& U$ a3 U/ K
  257. zlib.output_compression = Off
    7 c9 f; K4 y" S( n" m
  258. ( C0 M. o' P9 i7 m
  259. ; http://php.net/zlib.output-compression-level
      M7 t; B. ]3 k. p+ V
  260. ;zlib.output_compression_level = -1* q9 `( @( S0 B* A, n

  261. $ g# U6 h0 C3 l
  262. ; You cannot specify additional output handlers if zlib.output_compression
    # G" T7 N# ]3 ^9 B4 F/ W" o% s
  263. ; is activated here. This setting does the same as output_handler but in
    / R% {: @3 d! d; S
  264. ; a different order.' ^2 l4 @6 p3 `+ C2 ]& e1 ^) Q
  265. ; http://php.net/zlib.output-handler
    5 |. R! ~% c& [5 t: e2 t
  266. ;zlib.output_handler =  a" t5 z5 A" n3 }+ r1 x$ j

  267. # @; O4 f3 s, K5 b# @! @7 V
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 M3 _+ g. m0 M5 b6 h
  269. ; automatically after every output block.  This is equivalent to calling the
    4 H0 F5 R1 \% {; y( q
  270. ; PHP function flush() after each and every call to print() or echo() and each
    1 r5 r% A! @. T" E3 K, `! ^$ G
  271. ; and every HTML block.  Turning this option on has serious performance
    2 }8 L$ v* B# |; R2 E3 [
  272. ; implications and is generally recommended for debugging purposes only.6 a# ]& T8 o: ?6 @0 ?. @
  273. ; http://php.net/implicit-flush+ {- o( m7 `! _$ T" [
  274. ; Note: This directive is hardcoded to On for the CLI SAPI$ R$ f& q- U- B1 @$ k/ z4 [& Y8 x% J
  275. implicit_flush = Off
    0 P! k, N. m& p# [7 g# k0 y

  276. . B+ z+ {5 Q' A5 ]8 C
  277. ; The unserialize callback function will be called (with the undefined class', m, t9 U+ S& M+ V/ f
  278. ; name as parameter), if the unserializer finds an undefined class
    6 ?9 B: `9 [5 ?. l
  279. ; which should be instantiated. A warning appears if the specified function is
    0 z/ K2 K2 g+ c2 W2 a0 {$ m
  280. ; not defined, or if the function doesn't include/implement the missing class.! E$ I' ^0 y8 ^+ n) U" N
  281. ; So only set this entry, if you really want to implement such a, [7 X3 n" y( [) e/ A; f, F
  282. ; callback-function.
    ( D% |' J. q- v5 N- {
  283. unserialize_callback_func =- O9 H/ M& |# x5 ]- e7 T: n

  284. , ~  M" \5 B) ]2 Y+ R' n
  285. ; When floats & doubles are serialized store serialize_precision significant
    3 a: g0 u* i( e- _$ P2 ^) {& |8 g
  286. ; digits after the floating point. The default value ensures that when floats
    . b. U6 A2 {0 y
  287. ; are decoded with unserialize, the data will remain the same.; q7 C3 E' E3 n% v
  288. serialize_precision = 17
    % K& x; _7 K: ]1 a! l) W/ Y+ d

  289. ( G' j; d; o% n1 }: s4 }0 h
  290. ; open_basedir, if set, limits all file operations to the defined directory) @0 E" ]$ }; a" S( ?7 a8 d: E
  291. ; and below.  This directive makes most sense if used in a per-directory
    / g0 |- o  f% Y# }
  292. ; or per-virtualhost web server configuration file.
    / D7 U* H( E, t& S/ a' a# j2 v
  293. ; http://php.net/open-basedir
    : _' m0 l3 z) ~
  294. ;open_basedir =
    # U. n7 v+ V- C' b. G

  295. ; _3 R$ Q, [7 ^4 x! y
  296. ; This directive allows you to disable certain functions for security reasons.5 m" V  P  H/ S1 ~
  297. ; It receives a comma-delimited list of function names.; z) y4 o, C( p8 g
  298. ; http://php.net/disable-functions/ N; F' U/ q: y, E* b! _- t
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru8 U" O  y) M4 B  V" G$ l
  300. 4 U* ]7 _  Y; _9 C
  301. ; This directive allows you to disable certain classes for security reasons.
    5 u6 I+ ^; ?& E
  302. ; It receives a comma-delimited list of class names.
    8 @: s' \, @, }' J: J/ X! o6 T9 h  w
  303. ; http://php.net/disable-classes
    0 M! x) F; ~8 L/ D% {( Y
  304. disable_classes =0 m) L. H& N- x  X

  305. ; i! R1 L; W( g0 r$ Q( q; i4 w
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in5 U" r7 ^" d8 `: u$ d6 O% g
  307. ; <span style="color: ???????"> would work.
    ) `# e* c7 T% Q- x; i+ P0 P5 R
  308. ; http://php.net/syntax-highlighting4 W9 Y2 X$ H7 d$ O1 @5 f0 m
  309. ;highlight.string  = #DD0000: s/ E; v$ O; [8 T
  310. ;highlight.comment = #FF9900( q( _" w$ E$ _- j6 T
  311. ;highlight.keyword = #007700; ~% n: K9 v9 l4 T6 c" m5 U* Z
  312. ;highlight.default = #0000BB
    - r* k. j9 g' ?* i" U& V4 h
  313. ;highlight.html    = #000000
    6 p3 V# g  e( v$ w% h. w
  314. : w+ ^; v: k  q2 i. E" b
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    " ~9 n" n( U! X7 z. L) n  B
  316. ; the request. Consider enabling it if executing long requests, which may end up
    : A6 j' c% Y, ]# |1 g
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior4 J, e* i, q3 J. K4 O! d
  318. ; is to disable this feature.
    0 Q* L: i, N& l: b
  319. ; http://php.net/ignore-user-abort
    ! R7 \; V+ W$ |
  320. ;ignore_user_abort = On
    & X$ n, @/ s/ b( ~5 E! M

  321.   M' u1 j8 i1 [7 ^
  322. ; Determines the size of the realpath cache to be used by PHP. This value should; u! y, V9 G3 G- a0 A6 a2 b
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    9 g+ Z4 Z$ s: y+ N3 U! l
  324. ; the file operations performed.% K& {/ T* ]5 s. \
  325. ; http://php.net/realpath-cache-size& H9 N* d% _) b# O% u% a1 E
  326. ;realpath_cache_size = 4096k2 R9 P6 l( C( s4 p& s6 T* b

  327. 8 z/ @$ j- Y# }4 y9 {8 h
  328. ; Duration of time, in seconds for which to cache realpath information for a given+ i# K9 \- Z3 ^" D4 y& U  t+ n
  329. ; file or directory. For systems with rarely changing files, consider increasing this/ L: k( o6 i% X- w6 ?
  330. ; value.- q( B- p6 ~  I, |6 z! B4 V: R
  331. ; http://php.net/realpath-cache-ttl
    7 _- G# B3 x2 M
  332. ;realpath_cache_ttl = 120
    + H- c* f& p3 b$ K

  333. 5 O4 h. Z7 i9 V; S0 e. f* H0 E& M
  334. ; Enables or disables the circular reference collector.7 r) o, N7 _' M; F
  335. ; http://php.net/zend.enable-gc
    0 M( s8 f" l7 X, r; p0 b
  336. zend.enable_gc = On- {$ w- r9 I8 N1 |9 y

  337. , Q. d3 [0 {4 j
  338. ; If enabled, scripts may be written in encodings that are incompatible with5 L6 y. a; r5 k+ j
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 [6 J" j( \  e; r1 e
  340. ; encodings.  To use this feature, mbstring extension must be enabled.0 y7 o1 B/ }. G; K/ p
  341. ; Default: Off* r; o! g' ?  z8 B/ L
  342. ;zend.multibyte = Off; e* a. }, k, m% \
  343. 5 }0 w8 p0 v9 }7 M: B5 F7 C7 K
  344. ; Allows to set the default encoding for the scripts.  This value will be used* s$ w% s4 ?6 _: W6 p& Q
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    2 y4 V+ ~0 ~1 {0 F; ^0 l/ _
  346. ; Only affects if zend.multibyte is set.- ]& j( \- {4 M9 X% v. _
  347. ; Default: ""
    - Z' k5 Q2 j! B+ r0 q" J
  348. ;zend.script_encoding =
    # `8 d8 K8 z1 n' \% p7 j) ^
  349. 0 L7 z) u, ~1 n7 K/ p/ ]
  350. ;;;;;;;;;;;;;;;;;: h, `/ i1 c0 E: U. I- K+ s
  351. ; Miscellaneous ;' A/ o) m* E- e& C: `
  352. ;;;;;;;;;;;;;;;;;2 n" n3 s- z4 }. w% j# L% E

  353. * M2 v4 y+ Z  n* d8 f& `' C
  354. ; Decides whether PHP may expose the fact that it is installed on the server4 v& L9 e6 [) B# k
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    - s- S$ j2 y$ z( d9 l, W
  356. ; threat in any way, but it makes it possible to determine whether you use PHP0 B" O$ t/ x8 g# w
  357. ; on your server or not.+ k. y2 s8 T, x5 U3 g/ W+ U$ x
  358. ; http://php.net/expose-php0 D+ F- c# k* V- C
  359. expose_php = On
    3 f* U  W0 G& H( }( G

  360. 5 f3 h/ [% r$ ^. J; o0 g
  361. ;;;;;;;;;;;;;;;;;;;0 P* ?; O! z: ~, ^6 i: d" @
  362. ; Resource Limits ;
    ! [  m# m5 V; ^  s7 G+ R3 W% O# o' x
  363. ;;;;;;;;;;;;;;;;;;;
    2 L9 M+ {- Q( S  ]" ?% w
  364. 4 b" O# H3 N5 I/ f! }
  365. ; Maximum execution time of each script, in seconds* I+ y  O4 Z# V4 u
  366. ; http://php.net/max-execution-time6 ]) v* W# m0 x3 Z1 n6 l
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI3 x7 c! S1 t- ^: [2 N. [, c/ B
  368. max_execution_time = 300" c1 O% h" N3 x1 I

  369. : o% ^  c7 f2 w7 M
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' W- r6 o6 x: Z/ S2 |
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly4 U& P7 _3 \1 b
  372. ; long running scripts.
    ( h  s9 G: L8 h3 C% `7 M
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI( K! R/ Q. y2 X  P5 L- e
  374. ; Default Value: -1 (Unlimited)
    # O2 [5 B- A$ C. h- a# E
  375. ; Development Value: 60 (60 seconds)
    8 j* H$ X6 ~0 T% c) y7 [) ]. n0 `6 t* F
  376. ; Production Value: 60 (60 seconds)6 f$ x( f% V; D
  377. ; http://php.net/max-input-time
    $ b3 }9 ^4 d6 I, E
  378. max_input_time = 600 x7 ]* s3 w) p+ E/ q: M2 _
  379. $ n0 W3 I: C- Q* C  [+ F/ l5 @
  380. ; Maximum input variable nesting level4 n; a, H4 P5 T& u; a
  381. ; http://php.net/max-input-nesting-level9 ]6 b- Z6 h/ D4 p9 O/ l
  382. ;max_input_nesting_level = 64+ Z- W6 J0 J6 o9 Y

  383. 0 [/ M: f/ Q1 `: C( ~
  384. ; How many GET/POST/COOKIE input variables may be accepted. V& {0 {% z5 [
  385. ; max_input_vars = 1000
    2 K3 c0 u) Y9 h" ]* y' D3 ~

  386. 5 K8 ]1 x# ]0 z+ J* C. x/ A, Z
  387. ; Maximum amount of memory a script may consume (128MB)7 G! f* l$ @6 y+ }7 i
  388. ; http://php.net/memory-limit
    ; V/ \0 m* F) c' a
  389. memory_limit = 128M; g9 }$ c+ j9 T& [* z5 f2 r2 T; G

  390. - H( ~# f6 t" G2 S1 Y$ `: x: U
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 d4 f* _$ H. ~( S
  392. ; Error handling and logging ;
    ) V5 G6 N1 K8 [+ G
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; w6 I& E/ J5 I4 G3 I, r

  394. ( j  D% @# y7 E; n! r
  395. ; This directive informs PHP of which errors, warnings and notices you would like/ \' _5 n9 ~6 d
  396. ; it to take action for. The recommended way of setting values for this
    - G$ _! |! i! D
  397. ; directive is through the use of the error level constants and bitwise# p1 t7 N  B+ m& L. l6 x* \3 ~" b7 D
  398. ; operators. The error level constants are below here for convenience as well as
    , }2 ~( Z( p5 U1 f- @- C4 s
  399. ; some common settings and their meanings.4 o/ U, R6 j7 X7 x
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' l7 U$ z; A: t$ b3 b" w
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    & L9 D) {+ W0 n& L; J
  402. ; recommended coding standards in PHP. For performance reasons, this is the$ X8 i5 w9 ]$ C- W
  403. ; recommend error reporting setting. Your production server shouldn't be wasting2 ^' c2 y% P# R: q' V1 b
  404. ; resources complaining about best practices and coding standards. That's what( i9 |) M& v- @
  405. ; development servers and development settings are for.
    : S1 H, Q5 s* v3 Q
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
      d5 p5 N. ^, T$ R
  407. ; means it pretty much reports everything which is exactly what you want during
    ! u) e0 `, k9 M9 X) S5 k7 a) t
  408. ; development and early testing.
    4 z) c- Z2 k5 z" b& d& I% Z9 k
  409. ;$ ?# g' q# F0 g, M0 j# _
  410. ; Error Level Constants:
    7 D3 A) V6 I# x5 @" a  Y/ q! P. x
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    1 k; ?0 J2 t2 N, O' E% [
  412. ; E_ERROR           - fatal run-time errors- i& Z% }* L0 o1 {! H
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors/ z" C+ C0 I3 P4 `" `
  414. ; E_WARNING         - run-time warnings (non-fatal errors)" b, n* h& n1 M) f. n
  415. ; E_PARSE           - compile-time parse errors2 M0 ?( ~  E, L3 l0 q% U9 y
  416. ; E_NOTICE          - run-time notices (these are warnings which often result: k) M8 Y5 i! w5 O& p
  417. ;                     from a bug in your code, but it's possible that it was. l# S, t! e, k* d& i" t
  418. ;                     intentional (e.g., using an uninitialized variable and. p  B0 a- K  V3 D3 r% \. R$ q  n
  419. ;                     relying on the fact it is automatically initialized to an
    ( n" m& |/ V1 V3 |
  420. ;                     empty string)
    3 N% v% ^  V9 A/ v8 H8 |& G
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes& N/ E* `# H/ s- }) |. {! ^
  422. ;                     to your code which will ensure the best interoperability
    : W9 g4 v- ]2 D9 h* g& v% d
  423. ;                     and forward compatibility of your code, }8 t- ^% M" {, \
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ; z( n' |$ B  w, ^3 ?
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % r) |7 }+ r- j% n/ d6 _
  426. ;                     initial startup
    $ w1 d0 ~+ l4 `- I) m
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    1 j* v6 B' f" r; p" a6 ^2 C
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)+ ~% o7 O9 M# Q8 F$ w
  429. ; E_USER_ERROR      - user-generated error message
    2 J7 z! I" c) C" @' ?. p4 @! c3 i
  430. ; E_USER_WARNING    - user-generated warning message* b3 L$ p6 M  P! L! m7 b
  431. ; E_USER_NOTICE     - user-generated notice message
    7 F6 g' d7 Q! U6 x1 E1 v
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    3 Z8 J% V( M5 i+ _1 q+ c' B
  433. ;                     of PHP
    / {9 I& o. T, T* n/ Q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings) t$ d2 I( I! L: F, W! E" B
  435. ;/ g5 z* b8 c& d5 z5 ~) l
  436. ; Common Values:2 P# l# l" H, V
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ Q9 ]3 T+ R$ l% r5 k6 K
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* @1 k6 r) U0 @! C" L' R
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    / R& W0 \% F/ I
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    7 W$ C' \' j5 a/ j
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ n8 _5 F& q( f" \
  442. ; Development Value: E_ALL
    , _6 k: q+ Z! f7 A9 e  g
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 Q2 C, |+ n) m$ t
  444. ; http://php.net/error-reporting
    - p& j$ U6 b3 P8 x- i9 m: \
  445. error_reporting = E_ALL & ~E_NOTICE
    1 o( I/ a" R0 _4 m
  446. 9 p( m) _8 r, P  |/ c( `
  447. ; This directive controls whether or not and where PHP will output errors,
    9 w- I3 L7 K# o2 b. ~) U3 k
  448. ; notices and warnings too. Error output is very useful during development, but% ]& b3 n) O" i' ~
  449. ; it could be very dangerous in production environments. Depending on the code
    3 @! M4 \2 W* p7 A+ T9 L, j
  450. ; which is triggering the error, sensitive information could potentially leak0 f5 @! d- H! L3 a; X
  451. ; out of your application such as database usernames and passwords or worse.: j" f2 _# ]+ g# [, i
  452. ; For production environments, we recommend logging errors rather than
    5 T3 ~; B" m6 D  P8 r( ^
  453. ; sending them to STDOUT.( Z% r6 Q& y) s9 y/ {
  454. ; Possible Values:
    3 N/ [3 O* {% K8 N
  455. ;   Off = Do not display any errors; O' r; [* d7 \5 S$ ^: k/ p. K; \  C
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    9 a. Q. [/ Q" L! t# ^8 I( U
  457. ;   On or stdout = Display errors to STDOUT- s! J1 h: [4 w* {8 G
  458. ; Default Value: On
    , `: h2 h9 ~9 m6 v1 U& C% w
  459. ; Development Value: On
    6 d+ A; L' F$ K, o* L
  460. ; Production Value: Off, Y* j( k, s+ r+ Y9 U8 b
  461. ; http://php.net/display-errors
      r8 j6 `" m% x3 M9 J' B4 m
  462. display_errors = On
    * Q6 J, p( Q# c9 K+ ?# I

  463.   \/ C/ x. z- e  p. e; i. H6 [' f
  464. ; The display of errors which occur during PHP's startup sequence are handled1 U2 ]$ O' r/ L# ]& h" }% ^
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    1 L3 T9 ^) T! C. d. G! z! X
  466. ; errors from clients. Turning the display of startup errors on can be useful in9 P0 w( b" [5 l
  467. ; debugging configuration problems. We strongly recommend you1 m0 y9 s7 Z4 V/ y$ e) P# _
  468. ; set this to 'off' for production servers., Y! k& T- @! l* r! E
  469. ; Default Value: Off$ R" Z+ P5 a* u$ }
  470. ; Development Value: On: p0 E: ]& W$ T( Q& S- q! f
  471. ; Production Value: Off
    & ?( H/ x  F5 z; K- S
  472. ; http://php.net/display-startup-errors
    % v" j* V: P" X
  473. display_startup_errors = Off
    0 ]( |) ^) @7 l) y3 I
  474. * g7 a0 W6 _+ ^4 {( |$ ?: h
  475. ; Besides displaying errors, PHP can also log errors to locations such as a" H0 F6 [( ~* D: H0 [0 l0 X' T' L) j( u
  476. ; server-specific log, STDERR, or a location specified by the error_log: K4 O+ c& p7 q& e9 Q- V. Q8 h
  477. ; directive found below. While errors should not be displayed on productions( ~  z8 R) g. W+ f  W( q
  478. ; servers they should still be monitored and logging is a great way to do that.
    ) c1 H! ^6 t9 H# b) A* F2 ?( B
  479. ; Default Value: Off, v, K8 T7 C7 }# {8 t
  480. ; Development Value: On
    0 O6 @$ x4 \/ ?4 {: t
  481. ; Production Value: On6 k2 h: x; a! s1 y" r) J
  482. ; http://php.net/log-errors
    : x) S# N9 E& M/ t7 ^: T6 P
  483. log_errors = On& b0 l% s/ T+ W9 _% @

  484. - J3 N" Q  `+ C3 X
  485. ; Set maximum length of log_errors. In error_log information about the source is
    8 q+ {1 S+ q  {+ N$ X- y" p
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    9 d' p0 d  i: }$ u) O" F/ L
  487. ; http://php.net/log-errors-max-len( n# E; u7 d" T, W9 {) k$ e6 ]4 ~
  488. log_errors_max_len = 1024! S; ]* Q) Y+ U! B9 a. C0 L1 B% J

  489. - B+ P! {9 j; [; `9 \4 ~6 n/ q5 J) m: d
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    $ A% G  l2 z) o' r$ S8 v6 C1 U
  491. ; line unless ignore_repeated_source is set true.( G, F& w9 P+ q1 O& R
  492. ; http://php.net/ignore-repeated-errors+ r! `+ R5 p$ J2 [+ M: K& L3 k% r
  493. ignore_repeated_errors = Off
    % f$ v3 K1 U6 ^. |, `" e' }: l$ R
  494. / j8 ?/ l6 p% m  w8 G+ ^& m
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    . _( ~$ Z6 c$ q) G7 t- f3 S: ]; A
  496. ; is On you will not log errors with repeated messages from different files or
    $ y, B: e3 z# T
  497. ; source lines.! ~! c4 y" ^. j! L! g" r! ^" x; R
  498. ; http://php.net/ignore-repeated-source/ r" E2 e" X. H- o% t& O& t
  499. ignore_repeated_source = Off
    5 O$ x  M9 n) ]  v8 u% O

  500. & S6 w, S; m0 ^) s8 y: w
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 V* \: T1 c8 t! [3 a
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ) W& d% W& `$ [
  503. ; error reporting includes E_WARNING in the allowed list0 E9 c$ C7 k  |& J0 p5 z5 x' l) E
  504. ; http://php.net/report-memleaks
    # q6 J3 n5 S; e' n  X
  505. report_memleaks = On
    $ F& Q9 I/ M0 Y+ m" y* M: P* t
  506. + x3 B* v, @  P$ U
  507. ; This setting is on by default./ X2 n! \8 k% s% Q7 ~
  508. ;report_zend_debug = 0
    " t# a1 ^- U5 w7 w) Y2 l2 Y2 W

  509. * T! `. O- T) ^6 ~4 H/ c9 ^. e, ^
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ( z& b# l8 l, x* R5 x
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    7 V& [6 E* Y; z9 U' a9 J
  512. ; however be disabled on production servers.  Y1 c$ o0 c  g/ S% y) r6 R! A! Y
  513. ; Default Value: Off& J1 v7 ], e" j- y
  514. ; Development Value: On# j  d  @9 Y$ o8 q+ y$ b
  515. ; Production Value: Off8 I( `% m6 \# K1 X3 D* K& @0 U# X
  516. ; http://php.net/track-errors
    0 Z- G7 B; ?0 n* k, Y3 G
  517. track_errors = Off
    5 o' e' c+ u. W7 y; {1 P7 Y7 y, [, L, \

  518. ( p+ i" T8 \5 R( g, Q2 x; }3 e( B
  519. ; Turn off normal error reporting and emit XML-RPC error XML& I! O: k( m; n5 R. b
  520. ; http://php.net/xmlrpc-errors
    4 t; e8 a9 B* X
  521. ;xmlrpc_errors = 06 {" Y* Z4 J6 d/ D+ O
  522. 9 P' |* P. [- T" H
  523. ; An XML-RPC faultCode
    $ L2 ?/ u: v5 S8 i# Z* m/ C
  524. ;xmlrpc_error_number = 0
    ) y  O* I+ m' K1 U! c9 g9 i

  525. ' ]$ j# p, X+ c. V
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    7 W* g8 J" W- `( @
  527. ; error message as HTML for easier reading. This directive controls whether9 X9 y4 G+ O2 P3 q+ H# T6 e
  528. ; the error message is formatted as HTML or not.
    - O) E0 `7 A2 M4 B$ }9 U' q! w" W
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI6 I- l! a( W& [. ^$ O
  530. ; Default Value: On
    : t1 F- m- {7 r( q; e
  531. ; Development Value: On
    2 U; O" k9 M* a( w" x) w) i' ~) I
  532. ; Production value: On6 Y! B% N) y: C. |0 F* O, j) s
  533. ; http://php.net/html-errors
    : P& ~8 L; H! L) r7 v3 m
  534. html_errors = On4 d0 S' w' ?. A9 T+ k/ `
  535. - `) U# q7 N8 V- X, b, x
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP: _% X9 u  _4 x% C2 j: t
  537. ; produces clickable error messages that direct to a page describing the error
    3 G! b' d, h$ a: z: J
  538. ; or function causing the error in detail." R7 I% q' u, `( y9 J
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    7 W4 @/ b7 L1 ?9 m  {% p& b: J
  540. ; and change docref_root to the base URL of your local copy including the
    # u/ V6 ^) t" J
  541. ; leading '/'. You must also specify the file extension being used including
    9 x/ H( j# f( ?
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + n2 S  M: R! I; v5 y
  543. ; case no links to documentation are generated.
    $ X# U5 i/ j' [; W3 K# m: w
  544. ; Note: Never use this feature for production boxes.3 B- n# s; [7 A: ^8 ^: z9 D
  545. ; http://php.net/docref-root9 f1 {' E, x' z0 l
  546. ; Examples
    4 F* X; V$ H" S6 D0 ^) [
  547. ;docref_root = "/phpmanual/"& }9 M- ?% z+ a# `3 f/ e

  548. $ j5 R) z3 f! t4 ^2 d
  549. ; http://php.net/docref-ext
    ' Z. j0 v3 e6 L! W2 D8 L* [; L
  550. ;docref_ext = .html
    / [& r2 n; J. _- W1 Y) P' T
  551. 8 N+ S' H9 v1 F1 Q
  552. ; String to output before an error message. PHP's default behavior is to leave$ r& X3 v# L! B
  553. ; this setting blank.; y) M9 p2 Z* \3 j- b) F; e! j
  554. ; http://php.net/error-prepend-string
    - ^6 z0 l2 o, l3 G* L: a
  555. ; Example:
    1 f6 {: P; h' U0 F+ y; I
  556. ;error_prepend_string = "<span style='color: #ff0000'>"3 S8 x1 v5 K9 M  a

  557. # \7 n* J, L+ o/ t1 P
  558. ; String to output after an error message. PHP's default behavior is to leave4 v! W6 p% g9 {' @
  559. ; this setting blank.& L" l. Z" W$ D3 o" n" f2 c; O% ]5 I3 `
  560. ; http://php.net/error-append-string4 F1 _6 m7 |. v* ?4 E' r" g# e
  561. ; Example:
    3 k# c. m# d$ J# s5 N- M+ |
  562. ;error_append_string = "</span>"8 w$ t" l5 z. E* Y* h5 o

  563. ( ?1 t1 }6 X! E( w3 O
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    # Q* w* x5 a/ b3 p
  565. ; empty.
    ! K% D5 U: k4 {* X+ n% \
  566. ; http://php.net/error-log6 c' [, Y% ?1 o9 \
  567. ; Example:
    " i3 c  s  X1 w8 c* n
  568. ;error_log = php_errors.log
    # ]/ A- Z) l6 u3 X! [! B5 H
  569. ; Log errors to syslog (Event Log on Windows).
    , {5 J' `7 ?: v
  570. ;error_log = syslog' n) C7 A+ ^2 a3 W' ^5 H
  571. + L. j/ }6 V& X* K1 C4 J7 M
  572. ;windows.show_crt_warning) u& P- S2 r$ v" c
  573. ; Default value: 0' y& ^1 G. N6 u8 D5 O
  574. ; Development value: 0
    0 |' F; s. g  _- U- p: d% n8 r  K
  575. ; Production value: 0* D- }, k0 W; L* r1 M8 o
  576. $ l) b" d: ]* V$ j4 |
  577. ;;;;;;;;;;;;;;;;;
      a1 M" L% r' }$ a
  578. ; Data Handling ;
    ) X. x+ Y% b, ^
  579. ;;;;;;;;;;;;;;;;;9 b& c* i: \  E# G5 K
  580. ; q8 u- B: q7 I, d) Q( @5 m5 V: F
  581. ; The separator used in PHP generated URLs to separate arguments.
    7 [4 {! W8 O$ D; f2 R2 E5 O  g
  582. ; PHP's default setting is "&".6 z# z0 b: F1 ^/ [
  583. ; http://php.net/arg-separator.output
    ' h2 O% X  K" a! J5 g
  584. ; Example:( l; \. g  o, A! T7 q) z
  585. ;arg_separator.output = "&"' a' F4 o' a5 j1 H$ W; e7 }8 u

  586. 9 S8 b' ]9 {/ f+ _4 Y
  587. ; List of separator(s) used by PHP to parse input URLs into variables.9 h/ i% _1 \* K5 r( S
  588. ; PHP's default setting is "&".6 x! }/ _7 k: x! P9 _+ I5 k
  589. ; NOTE: Every character in this directive is considered as separator!0 @& O: v, F8 s% t3 M5 M0 _! b
  590. ; http://php.net/arg-separator.input( x3 I1 s1 |7 @; \" U# D9 i2 b
  591. ; Example:( V0 y; `2 b: L: E# x1 [; l
  592. ;arg_separator.input = ";&"
      A' O5 V. Y' H2 `4 i! y

  593.   d* T/ L8 E/ |$ b* P
  594. ; This directive determines which super global arrays are registered when PHP
    + W7 v6 ^6 b; ~/ o
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    % |, Z' M/ t$ M9 U8 `* u
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    . Z/ K' a# T& g; A6 q
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    4 m6 r3 p8 j  Z) {# x
  598. ; used as the others, ENV is not recommended on productions servers. You$ ]) {0 t4 ?. L0 o1 A$ ]( l* `) }) T
  599. ; can still get access to the environment variables through getenv() should you
    , T+ \; z$ u! g
  600. ; need to.
      h, b- i$ c' x/ @7 k$ [) S
  601. ; Default Value: "EGPCS"! k& ]* z5 ?/ \5 t
  602. ; Development Value: "GPCS"
    # r6 O6 X$ E' S, C+ e/ U# U( ~
  603. ; Production Value: "GPCS";
    6 N+ D( Q/ H2 |  H
  604. ; http://php.net/variables-order
    ! J9 ]5 `- w. d8 v0 y, r5 ?; l; a
  605. variables_order = "GPCS"; U% ]( p% ^3 o, N. i$ T

  606. 9 @% Q  P9 h/ s
  607. ; This directive determines which super global data (G,P & C) should be
    ' Y" k4 X4 w5 f/ E  ~. n- o
  608. ; registered into the super global array REQUEST. If so, it also determines6 L* c8 F/ W0 F) A
  609. ; the order in which that data is registered. The values for this directive
    . Y) v! C2 ~2 ^6 l9 t) ]  W. O
  610. ; are specified in the same manner as the variables_order directive,
    ; O2 f( C6 k' i8 u& B2 k* S
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    6 d9 ~4 _4 v$ s9 R9 g8 x% r
  612. ; in the variables_order directive. It does not mean it will leave the super+ y! T( Y- @1 z) k1 H+ P9 D6 U- d0 ]
  613. ; globals array REQUEST empty.
    & l" q; f* C# R1 l
  614. ; Default Value: None
    % M/ [# e" s/ J
  615. ; Development Value: "GP"! `  M. e3 q' T. z6 L
  616. ; Production Value: "GP"
    / M2 p. T! f' s8 y# \. Z* ]
  617. ; http://php.net/request-order, ^" P3 k0 {. X
  618. request_order = "GP"
    # @  G5 U; L% G& r. l& w! e
  619. ! z8 R2 R2 p! V( T+ o" t
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    " W8 l. b! b1 A4 P
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script, h1 s$ K4 `" p, y
  622. ; is invoked. $argc contains an integer representing the number of arguments
    : R. V% }  v  L/ k0 I
  623. ; that were passed when the script was invoked. These arrays are extremely$ i6 E8 p3 S- Q0 ?* S
  624. ; useful when running scripts from the command line. When this directive is+ g9 u7 {% Y5 S' j& b& @
  625. ; enabled, registering these variables consumes CPU cycles and memory each time# p. g" n- E( M, _
  626. ; a script is executed. For performance reasons, this feature should be disabled  D9 h0 a+ K1 k  Q5 B, I
  627. ; on production servers.! i" L! P+ E$ v' y2 ^! A% D/ n2 U
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( n/ D& c- i3 y, Q, @
  629. ; Default Value: On
    & @! q) f- b' c: u
  630. ; Development Value: Off6 K5 D( e2 t, a; T
  631. ; Production Value: Off0 k. e9 e" O) ?/ L' Y% C
  632. ; http://php.net/register-argc-argv
    # O) ?- f4 z' V/ W5 P
  633. register_argc_argv = Off# }7 f3 T- a8 Q7 F5 G% H

  634. / _/ e9 B$ Z: _6 y$ g  _* S% v. b! l3 m
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    $ d8 E) ~* \4 F$ q+ h  q/ X" [
  636. ; first used (Just In Time) instead of when the script starts. If these% h: h) D) ^. W% n' G- l
  637. ; variables are not used within a script, having this directive on will result
    . |& j3 `5 }' ?( }- O
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled  B( @7 E+ k0 j( `& N
  639. ; for this directive to have any affect.
    8 z: D5 l+ P5 k' m* y( x% s
  640. ; http://php.net/auto-globals-jit
    1 i& r* D2 D5 I" d* f2 o, ~
  641. auto_globals_jit = On8 o0 R2 \8 x4 j7 ^  m

  642. 4 M( X8 [, A; `+ X
  643. ; Whether PHP will read the POST data.. @2 s$ h' g- X& d) x) V
  644. ; This option is enabled by default.
    2 Y# c! A' E7 E6 [$ J: p1 A2 g
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST7 w' G1 A4 k2 g/ \7 n8 c2 e
  646. ; and $_FILES to always be empty; the only way you will be able to read the* N5 v* A( c4 Y6 u( A  G
  647. ; POST data will be through the php://input stream wrapper. This can be useful/ @4 T+ ~! [  e& s5 A) Q# X, m$ S
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    : Z: _2 V1 [# E4 H
  649. ; http://php.net/enable-post-data-reading
    3 K" r8 {" [. r/ }; ~; T
  650. ;enable_post_data_reading = Off
    ) g7 b  ^5 U. n; N, w7 H3 \7 j$ {2 f

  651. 4 q0 V3 q6 a$ S3 O: s5 Z
  652. ; Maximum size of POST data that PHP will accept.5 i1 q, ~: Z* F1 S7 ]5 _
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    : {3 w2 Z+ z% x. e5 D9 L
  654. ; is disabled through enable_post_data_reading.
    8 Q( r  ^. ?: z& T* I- H# Y$ I. R$ G9 _
  655. ; http://php.net/post-max-size- K; g! ]# @, `* c
  656. post_max_size = 50M  B- F: m+ {, Y+ ?1 \" U

  657. 0 f" K5 Q5 e$ g
  658. ; Automatically add files before PHP document.) P; R" o* Z4 ]: D
  659. ; http://php.net/auto-prepend-file
    0 p0 ]5 T' |) m% e& x" U1 E
  660. auto_prepend_file =: r* b2 n- _* F5 f2 T% ]. h

  661. , ^/ y; \0 i1 S' V6 H6 k
  662. ; Automatically add files after PHP document.
    1 Z6 k) }, \. s9 E
  663. ; http://php.net/auto-append-file  g! Y; R. f# b4 X# n5 R
  664. auto_append_file =. R# O6 H" L( b0 h1 i; q7 g
  665. 6 e: s, ~' i; A
  666. ; By default, PHP will output a media type using the Content-Type header. To
    # r4 j- m- Y) V
  667. ; disable this, simply set it to be empty.
    # `6 D7 [3 [" [
  668. ;
    4 |  h4 y( D( |
  669. ; PHP's built-in default media type is set to text/html.! c) a: `! ^2 A2 L
  670. ; http://php.net/default-mimetype
    $ G0 @$ f( a0 m, i" `
  671. default_mimetype = "text/html"
    4 i7 i1 e3 b/ ^% X# `
  672. 6 ^& y' U2 ]' e& W7 Z
  673. ; PHP's default character set is set to UTF-8.7 i0 k$ Y6 [1 x. u
  674. ; http://php.net/default-charset
    2 b% k9 @, a3 N5 w+ W
  675. default_charset = "UTF-8"3 h4 ?% x9 v# x: Q" T& Q7 a
  676. 1 h7 p" Q2 ]4 o6 z" a7 c6 f6 s
  677. ; PHP internal character encoding is set to empty./ `. ^( d% Y! y) Q( i
  678. ; If empty, default_charset is used.
    * p5 b8 |8 m% A2 K; h
  679. ; http://php.net/internal-encoding+ K; L; ^% c  C' Y4 ^$ F
  680. ;internal_encoding =
    6 u* g$ L4 B# W1 t# {
  681. + B' S1 P  ~8 Z8 @: i; F
  682. ; PHP input character encoding is set to empty.
    ; V. m/ m' H9 Z2 S4 C/ }0 p5 w
  683. ; If empty, default_charset is used.
    4 }; o2 K4 f5 K
  684. ; http://php.net/input-encoding) Q" {3 A3 N. ^9 ]
  685. ;input_encoding =+ G/ {+ @5 e7 m/ l5 p3 z' f" T
  686. 8 M6 x/ _6 {6 K
  687. ; PHP output character encoding is set to empty.
    * i) x2 g3 T. f9 O
  688. ; If empty, default_charset is used.
    ( y3 b4 K$ M$ Q$ Q
  689. ; See also output_buffer.
    7 o- _; P6 J) s9 H* w) P4 \' o
  690. ; http://php.net/output-encoding
    + K5 f8 i) x8 k" O% @1 G+ p( R
  691. ;output_encoding =8 z; p- d( v% W, _# H  U
  692. 8 K) Q* z, \- ~+ [7 v# s
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 h, s$ K: ?# e
  694. ; Paths and Directories ;+ F+ d4 G! H; s5 V( Q  w) i
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 ]1 A1 k/ u" e; I" p# v) U

  696. ' i  s- ~" {) O1 l6 Y
  697. ; UNIX: "/path1:/path2"
    7 @4 e% s: f! x
  698. ;include_path = ".:/php/includes"7 f( q* o% j! p1 ~3 w: [. w! t. B
  699. ;
    % U- X0 ^. q; @( M1 @( f
  700. ; Windows: "\path1;\path2"
    ! n* j, n% X& \+ C
  701. ;include_path = ".;c:\php\includes"
    5 n1 l: L$ V! |$ `' L- G
  702. ;
    ! y& f$ J; r, f+ _* W( s2 s
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 P7 L" H2 W2 s( a) Z6 F9 Y
  704. ; http://php.net/include-path
    / W9 n4 b+ ]3 L

  705. - ~1 C9 ~7 O& E0 I0 x
  706. ; The root of the PHP pages, used only if nonempty.# c6 I5 h; M4 D) E
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    2 d) T* a& K: W% C  H" X
  708. ; if you are running php as a CGI under any web server (other than IIS)
    - ]1 o$ \: g! F$ o& m/ w- h+ s3 a" n
  709. ; see documentation for security issues.  The alternate is to use the
    $ q  a0 h1 d5 c5 f
  710. ; cgi.force_redirect configuration below
    , \3 T* g6 p% E
  711. ; http://php.net/doc-root+ ?% C, K( {' I* I0 ^7 a
  712. doc_root =, H4 _# e3 K, J) q/ F5 e8 a

  713. & @  N! `; t: y
  714. ; The directory under which PHP opens the script using /~username used only! I) r* x- ], K/ @: ]! _/ J
  715. ; if nonempty., G7 F& j: @- O5 |( Q! f+ e
  716. ; http://php.net/user-dir
    5 T0 V1 t$ w4 K
  717. user_dir =
    2 E- m& p1 z% _! h& N) W
  718. ' Q5 S2 d; P4 }7 {% C
  719. ; Directory in which the loadable extensions (modules) reside.$ }/ y) o3 N* ]/ [7 p( d- }
  720. ; http://php.net/extension-dir
    5 v: T& a1 b# f0 t4 b) f0 T! J
  721. ; extension_dir = "./"# o! X6 X; m6 Y. \4 w
  722. ; On windows:4 _7 m' T5 e5 _
  723. ; extension_dir = "ext"; U7 I7 R1 @6 ?

  724. & o  \/ u3 T2 f+ ~
  725. ; Directory where the temporary files should be placed.
    & c8 J3 v5 X; B) B& W3 l
  726. ; Defaults to the system default (see sys_get_temp_dir)
    0 c$ k5 x6 J! B. F* n  o: E3 u
  727. ; sys_temp_dir = "/tmp": L! @: {/ I, G
  728. 8 R" Y" C0 v8 g! [- w" {: l
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work. m, `4 K# S! O; B; M/ v/ R
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( `" h& F& N. |" j
  731. ; disabled on them.
    6 ^% I& L" S( l. ~
  732. ; http://php.net/enable-dl
    3 t4 a8 w8 `3 q& A9 s
  733. enable_dl = Off
    $ N: u* _2 m; r& g
  734. 2 U' M, H! A7 ~0 S( ?6 w) {9 ~5 P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under: \* s+ g: k. v4 T( K' B' R! A$ O
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ' T* z; s; O9 O$ ^- h; i
  737. ; turn it off here AT YOUR OWN RISK6 a. t* B) k' S; N6 K7 N; {
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    6 s7 g, {' K4 e% @* t
  739. ; http://php.net/cgi.force-redirect% k) P: M$ Z: R1 s- l
  740. ;cgi.force_redirect = 18 X! k2 v) p- U; n3 k

  741. # S7 j) ^: Q4 x4 y/ w( d! Q
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with* d) S( \7 G% b8 D9 X. q
  743. ; every request. PHP's default behavior is to disable this feature.- z% j8 h. Y+ Y9 Z: o9 t. j
  744. ;cgi.nph = 1( N" y# B4 U$ L2 F0 F7 D3 z
  745. ' h$ s. @% m' w2 Z- B8 ~
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) L5 F6 |8 _5 ?7 F8 q7 n; j* O
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    - z2 k6 C) E4 Z2 L
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % d' k1 t1 E! U6 U- I) k1 Q
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    % Y* o1 d- [5 z8 j' s4 _+ c* c
  750. ; http://php.net/cgi.redirect-status-env. q6 ~5 n* a' B/ i1 D
  751. ;cgi.redirect_status_env =0 h$ x. F/ ]7 I+ |4 P" y
  752. 8 Z" ?3 s' l( T7 y2 ]" m
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + L  {9 ]9 ^# v, R4 O4 h
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok" u# R7 M% x. |: J5 m. P% X4 `' E" n
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting4 n3 P9 J1 b( _% C5 C
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : L+ H' }- T% a/ q7 o; v
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    7 h: N1 D8 p7 f% U5 k; ]8 v) B
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 C& U2 m! i0 R* |: E$ \4 \( e. C
  759. ; http://php.net/cgi.fix-pathinfo, t# s8 b2 f$ g2 _( j
  760. cgi.fix_pathinfo=1
    ! n8 F8 d6 T: t6 o! h! r( U

  761. 0 X7 U2 e6 @& m' b, H
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- U9 n0 ]; |$ m+ N
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) U1 G1 U/ [6 N5 K3 t6 b* D
  764. ; http://php.net/cgi.dicard-path
      F  Y1 _+ f0 c" l/ }
  765. ;cgi.discard_path=1
    4 Y: D6 K! I5 O

  766. 6 f$ y  |! |: G/ P# v0 P* X1 j) J
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate- `( H/ h* `4 K
  768. ; security tokens of the calling client.  This allows IIS to define the
    4 a- {- k9 I/ w( u% ?# q& j
  769. ; security context that the request runs under.  mod_fastcgi under Apache! i+ V1 D, O- E
  770. ; does not currently support this feature (03/17/2002)4 }: t* M% H2 o3 F9 L
  771. ; Set to 1 if running under IIS.  Default is zero.
    ' o2 \: ^) H$ l/ w& t8 C3 Y% U" w
  772. ; http://php.net/fastcgi.impersonate
    0 b$ S4 h  S, L3 b' J
  773. ;fastcgi.impersonate = 1
    2 L0 ^+ U" x  }9 G

  774. 4 U; L+ V( |% z+ t, |9 V
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable1 s# ?. E3 q  o" r3 n4 q3 p3 T
  776. ; this feature.
    2 V! P7 W0 F& g! u+ l$ X4 ^
  777. ;fastcgi.logging = 0- N! F* F$ K& @
  778. & `4 o# c& C' @7 D8 R
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to' y1 R& V( G! Z
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    , b* k* R: M, e& W2 g
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / S' n! E1 l# L/ Z% @* q; w7 x
  782. ; RFC2616 compliant header.' C/ S# _9 V5 t
  783. ; Default is zero.
    ( Y. T" y4 J/ ~9 E: c. T8 @6 u
  784. ; http://php.net/cgi.rfc2616-headers
    8 |7 k! e1 E7 P* ?; d
  785. ;cgi.rfc2616_headers = 0
    # r5 u! z7 c- k) I5 x; P
  786. 5 p6 M' h. D+ N
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # I5 |% k3 N$ n; \7 k3 t7 L( p
  788. ; (shebang) at the top of the running script. This line might be needed if the) t* N% `( j) A6 N" F0 {3 A& V
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ O$ e7 h) Z' m- c" V. l0 M* f8 V6 V- q
  790. ; mode skips this line and ignores its content if this directive is turned on.* H' o) n/ W- o5 h1 Z
  791. ; http://php.net/cgi.check-shebang-line
    * B9 i+ i7 d2 o' A" \' P5 w$ J+ p
  792. ;cgi.check_shebang_line=1
    : ~6 S3 ~+ y7 J2 R8 E2 [* W7 w. }: _8 [
  793. + J% X/ j; _: ~$ X" V( x$ h0 B+ W
  794. ;;;;;;;;;;;;;;;;8 a6 A/ I4 ^. |
  795. ; File Uploads ;
    ) V  P. E0 _9 ~3 \
  796. ;;;;;;;;;;;;;;;;
    + Z* j! g( J) ]6 l" `( C
  797. 8 E  q- \$ `. f- F7 ^, G1 U4 J
  798. ; Whether to allow HTTP file uploads.
    : ]% j+ I) M8 T& V1 U" d0 f6 S( K
  799. ; http://php.net/file-uploads* ~2 X+ r  [: l/ f
  800. file_uploads = On
    7 h' e' V/ D4 L. j, h# }7 L/ b

  801. : N+ @9 e# R) h, h( E2 i( G+ H
  802. ; Temporary directory for HTTP uploaded files (will use system default if not$ Y7 |6 R/ t+ ]+ K0 w! N/ g2 ^/ I. X
  803. ; specified).
    4 I! O: v  F  [9 Z! Q# W7 T* y% a
  804. ; http://php.net/upload-tmp-dir
    ' A1 G/ d- M* F
  805. ;upload_tmp_dir =
    # U% ^9 h) \3 u) P6 R  V! D

  806. ( S6 R9 V% G) O2 m5 a- `- A  d; K' `
  807. ; Maximum allowed size for uploaded files.
    . A  T4 ~5 E0 M6 f7 A- g: t& {) G. s
  808. ; http://php.net/upload-max-filesize
    # B3 O0 k1 Y  {0 _8 y! W
  809. upload_max_filesize = 50M
    # e9 g! I4 a: b* [* y
  810. , A0 {/ n1 L3 u$ S! w
  811. ; Maximum number of files that can be uploaded via a single request  i# X. i2 O- l5 o
  812. max_file_uploads = 202 m% F7 ?" ^  u$ \" x4 d" Z# w. b
  813. . Z3 Y% a$ K) j- |# z; \6 \
  814. ;;;;;;;;;;;;;;;;;;: h+ _  L) W' p0 {
  815. ; Fopen wrappers ;! w" N) E$ S, B6 X: {5 X
  816. ;;;;;;;;;;;;;;;;;;
    - P' A4 {* G& D9 R

  817. 6 t' R- @6 Y( Y" B
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    . T* \. ]1 E- \5 j# k. N, y
  819. ; http://php.net/allow-url-fopen
    ; u% W+ }- D8 R/ d; S, A+ U
  820. allow_url_fopen = On* h7 L, k) K, l' u( S' [/ L! B

  821. : q& A' M5 H  q% c/ N# ?+ N7 |, F
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." h' j; j0 N) v
  823. ; http://php.net/allow-url-include
    + m, R# D4 g4 ?2 u! k
  824. allow_url_include = Off
    - |/ V7 N8 @- R' d
  825. ) v3 ^  F, j6 q# e1 B' B- L
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    - N/ i8 @& T1 w) z, j2 z' I% X  F
  827. ; for this is empty.
    ' w1 d. h' _+ |' h, ^) f8 h' S/ f
  828. ; http://php.net/from
    5 q" X) U- X. r# N  D# ~( Z' S, \
  829. ;from="john@doe.com"
    ' U- l8 [' W/ w2 c
  830. 9 |  D/ D% y) j
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 k9 m  @0 g* q4 f' x  l
  832. ; http://php.net/user-agent. M7 y/ _4 k! k0 `8 Z; o% o2 w
  833. ;user_agent="PHP"
      C/ u' H+ n9 d) _; P, d/ ^# L: ]* K
  834. $ `. n: @! X. ^& l8 W6 `3 A3 l; z# O
  835. ; Default timeout for socket based streams (seconds)& n/ s: g1 T/ g  I( |; Q; h
  836. ; http://php.net/default-socket-timeout
    1 [/ W) c/ _' {
  837. default_socket_timeout = 60
    ! p/ z0 S" T( P1 W
  838. 4 \. q) I9 l+ E# @
  839. ; If your scripts have to deal with files from Macintosh systems,
    9 j9 Q+ p& i  {* a6 g9 w6 d
  840. ; or you are running on a Mac and need to deal with files from
    : {2 o& n! [& K5 ?- V
  841. ; unix or win32 systems, setting this flag will cause PHP to3 I% k7 ?( x" W; u4 O; }
  842. ; automatically detect the EOL character in those files so that
    9 z3 i! P  ?2 l7 f' ]& I6 q
  843. ; fgets() and file() will work regardless of the source of the file.
    + }. c% B9 T: z0 T" k9 G- e/ S5 u1 L
  844. ; http://php.net/auto-detect-line-endings  Y/ }) R- x$ m* n2 x  L( ]9 i
  845. ;auto_detect_line_endings = Off5 l: r  k- v; P9 U

  846. + Y1 L6 Z1 m3 k) l: @0 j* `
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ( z: n# B$ s" l. v
  848. ; Dynamic Extensions ;4 ?8 V* v' D* Q6 k8 A, x1 ]% t
  849. ;;;;;;;;;;;;;;;;;;;;;;% C1 t# @& @2 u& y% I9 V% f# ]* u

  850. $ ~+ l/ H9 W9 @! U
  851. ; If you wish to have an extension loaded automatically, use the following
    5 N3 t# r' q0 `& f, n
  852. ; syntax:, i! j* n; _$ W- {# Q1 y' E
  853. ;
    " B  o) q$ Z- j7 o2 t, |9 e
  854. ;   extension=modulename.extension
    3 U& o" l8 }+ m/ q, o' l5 }
  855. ;
    ( g5 e' q9 ~7 x6 c7 g
  856. ; For example, on Windows:/ i$ O7 O8 n& f4 q% U+ N
  857. ;
    ( l4 U' V& h4 _8 q8 Z: Y! b! R
  858. ;   extension=msql.dll9 z8 G$ q) b/ `& N8 [
  859. ;
    ; @3 i$ L! N& l: A+ }& l9 `( q1 R
  860. ; ... or under UNIX:4 q$ u2 j3 y& m) F, N
  861. ;$ r1 T& Q9 z5 I- X: E5 {) }) i4 D
  862. ;   extension=msql.so
    " f- v5 m+ v$ z+ l5 b& y$ p
  863. ;; C) W- h" v1 H" @2 Y! C
  864. ; ... or with a path:
    * i, K$ A! e% O; I3 s/ S
  865. ;7 \/ o- x7 Z. t- l' B* g7 Q8 l
  866. ;   extension=/path/to/extension/msql.so; t& ~. P3 o7 G% }
  867. ;
    * m8 [1 c8 z0 @. C
  868. ; If you only provide the name of the extension, PHP will look for it in its
    " e  H5 ]0 [3 x# S2 E
  869. ; default extension directory.* T; q8 J9 }; m
  870. ;
      Q& S6 a3 \, R* b8 e; h
  871. ; Windows Extensions% W. M( j# @- x  m9 P: Y7 y
  872. ; Note that ODBC support is built in, so no dll is needed for it.  I  v+ M# J& g9 A* Z
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ) f1 }' O" _: {9 V
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    7 [6 y8 z9 Y# o% B( H
  875. ; Be sure to appropriately set the extension_dir directive.
    " o% u% I# k. s
  876. ;
    1 ~" Q; w( E+ z8 @  ~" g4 y
  877. ;extension=php_bz2.dll
      V1 J  h2 r" o) l1 J
  878. ;extension=php_curl.dll' s2 X& {8 H: }. P# q; G
  879. ;extension=php_fileinfo.dll$ k- h. @' k8 j
  880. ;extension=php_ftp.dll) I9 K9 d/ m, J$ G) ~0 q
  881. ;extension=php_gd2.dll
    6 `. \9 ^" G; s, T8 z2 ?; F. f8 V2 C
  882. ;extension=php_gettext.dll
    / i2 h# [$ g6 }7 Y. k
  883. ;extension=php_gmp.dll
    / m. ]3 P- Z5 I; x, D
  884. ;extension=php_intl.dll
    8 k2 ?5 ]9 p. l" o8 U* _: r
  885. ;extension=php_imap.dll
    ; w% n' R. U" P4 p1 k# V5 `0 y9 b
  886. ;extension=php_interbase.dll5 D* M3 P. E; F) ^6 t
  887. ;extension=php_ldap.dll8 T$ J3 \6 P& ]. H
  888. ;extension=php_mbstring.dll1 w& Y" p1 p* O' _
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it: l% h  \& D& ~; |- i) W
  890. ;extension=php_mysqli.dll
    * q6 y  n* E1 l, Y, V% x# S
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; Y( A$ P+ S8 ^  m0 ~+ c: I
  892. ;extension=php_openssl.dll6 K! y2 S! [+ B, }. D
  893. ;extension=php_pdo_firebird.dll
    8 i2 z2 X& z0 N6 I8 B( |
  894. ;extension=php_pdo_mysql.dll4 w" u0 o5 {0 g5 |$ v! j
  895. ;extension=php_pdo_oci.dll. K. t; k+ ?6 S9 M2 h) O
  896. ;extension=php_pdo_odbc.dll
    . f, v$ l7 J- Y# C* p
  897. ;extension=php_pdo_pgsql.dll
    8 B. i4 A" N* _& S: N: y
  898. ;extension=php_pdo_sqlite.dll% v7 z, A5 ^5 G) h0 `4 ~
  899. ;extension=php_pgsql.dll; u; j( S2 n3 R
  900. ;extension=php_shmop.dll; O' n2 P* Y' d9 e' g+ |

  901. - {3 q' \0 E: u; e
  902. ; The MIBS data available in the PHP distribution must be installed.5 x" J& K5 A/ y3 \! I
  903. ; See http://www.php.net/manual/en/snmp.installation.php) H: q$ u) {( u; h7 A* m  A
  904. ;extension=php_snmp.dll" q( m$ w% H$ e

  905. ( b* r4 M$ K: j7 F% r1 e
  906. ;extension=php_soap.dll
    $ J8 G" o& ]+ A9 c7 v& Q4 p$ Q5 K
  907. ;extension=php_sockets.dll1 R& Z/ x" W1 s$ k0 q! }; D% V
  908. ;extension=php_sqlite3.dll
    ) e" c4 j: {' [$ }. F/ a( r
  909. ;extension=php_tidy.dll' L* e* q6 M' @5 r! i# @/ u
  910. ;extension=php_xmlrpc.dll
    ) T) A4 {5 ?* ^2 \( M* o
  911. ;extension=php_xsl.dll
    ' w8 |, y( k, P$ a0 E
  912. # S+ A, @7 L4 _6 @
  913. ;;;;;;;;;;;;;;;;;;;% U. I9 S% M5 Y: V! p( D
  914. ; Module Settings ;
    7 E  L8 M$ n5 a% R
  915. ;;;;;;;;;;;;;;;;;;;: M6 Y/ O5 r' p) D& @! C

  916. & Z0 F1 O3 n& E; k1 H
  917. [CLI Server]- W" o+ M: a1 B+ i" p
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ! M& J$ N; K: q" }& v
  919. cli_server.color = On
    ' N6 w: V1 a$ k% Y5 ^' T3 c

  920. , _, Z: P4 F- Q! ?. }+ u9 t
  921. [Date]
    5 e" M/ z1 g$ @# [
  922. ; Defines the default timezone used by the date functions+ k( u9 I3 }& _$ @4 t0 ~
  923. ; http://php.net/date.timezone: Z. G2 u  |+ Q2 S+ U
  924. date.timezone = PRC2 [2 o* h3 o0 a; w% f" A

  925. 6 [2 W% m4 _7 a! T/ k
  926. ; http://php.net/date.default-latitude- S$ Y* p8 m  v$ Z; Z' [3 G5 [
  927. ;date.default_latitude = 31.7667! H- R3 ?. W9 N9 Q* o4 K" r$ t
  928. 7 w+ M' c& m* _  d# _' i/ y- x
  929. ; http://php.net/date.default-longitude
    - g9 Y% z1 ?% H" P; |" U
  930. ;date.default_longitude = 35.2333
    + j* h/ b" b5 b  I4 U, k& k# p) d

  931. ! s6 N# S$ A4 ^' C8 _% g8 E
  932. ; http://php.net/date.sunrise-zenith* X0 D4 G2 p, Q9 j6 p8 D
  933. ;date.sunrise_zenith = 90.583333/ X; b* c+ e3 ~& N6 _

  934. . |+ O2 h: i$ x7 i
  935. ; http://php.net/date.sunset-zenith* g& o  q" B* B$ r% A. P0 F
  936. ;date.sunset_zenith = 90.583333- P. i/ M. `$ k
  937. 7 w: g' V1 {+ ?- [
  938. [filter]
    ; [0 Z9 `# ~  |! _0 V! e$ y8 y6 S; a4 m
  939. ; http://php.net/filter.default
    - @8 Y- u( f! x2 o
  940. ;filter.default = unsafe_raw0 d( `% ^0 }. F8 R$ Q
  941. ( g3 Z- o+ U0 M$ b
  942. ; http://php.net/filter.default-flags$ r% K8 X- Q, R5 G+ `+ U
  943. ;filter.default_flags =) Q: p& u$ b8 ^5 r
  944. : d$ E' {5 L. ]4 s, f
  945. [iconv], B& J, Z8 F/ A+ I9 A3 x( S
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.3 `/ E- t; }4 y! x2 z7 j% g& x
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 F  {% g" D4 R* n7 m
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding$ z% C$ p  _4 o6 D4 y/ i; g9 V
  949. ;iconv.input_encoding =+ |( g* H, z8 Y6 D0 }
  950. . }$ x0 Y6 D+ N' H' x
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 H! z9 @  t+ R3 c; I( r
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( z+ ~- g# h6 |+ g8 y1 b
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 t+ y  ~# s7 _1 a' x& V! G; k
  954. ;iconv.internal_encoding =
    ) ?- E& }7 X* ^) X3 s+ t4 u% O

  955. . c3 ]; c0 C7 x  M& c' ^
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , {) {3 A8 @7 f+ f) j( M4 R
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    % G( |7 K: S( u& q" f0 E- v
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # n: Y; I, _$ ~5 V
  959. ; To use an output encoding conversion, iconv's output handler must be set9 {3 ?) P* Q4 U1 ]. @3 h5 Q9 @: j
  960. ; otherwise output encoding conversion cannot be performed.
    * z; W5 y4 w* z& c* g4 G6 M8 N
  961. ;iconv.output_encoding =9 O( a# P1 b* S
  962. / C& I3 U0 \# Z) Q
  963. [intl]$ W2 Q; o0 o5 X& r- [. ^
  964. ;intl.default_locale =: J2 _& \3 Y% C4 B" A
  965. ; This directive allows you to produce PHP errors when some error9 \7 [2 ~9 I8 d7 D( J9 Q
  966. ; happens within intl functions. The value is the level of the error produced.. K3 U1 N" Q+ l0 H) ^0 b$ _3 |
  967. ; Default is 0, which does not produce any errors.
    ! R: ]  o0 G6 O9 R1 k) [/ e+ U
  968. ;intl.error_level = E_WARNING/ F) ]/ w) W( R& q5 N% w: f0 u
  969. ;intl.use_exceptions = 0
    , i, Q& t% J* Q: Q1 {3 J+ A
  970. 0 U7 U2 D* R1 Z% F8 {) o
  971. [sqlite3]
    0 s' x. F9 ^: V9 _+ H" ^4 k# J
  972. ;sqlite3.extension_dir =
    * k8 _( }( x$ A/ ~9 N
  973. " D, C0 y& y1 g: Y: _' Y
  974. [Pcre]
    ( c! `. t9 L. {6 ?: g* E
  975. ;PCRE library backtracking limit.4 u+ e( e! s' l$ P2 p
  976. ; http://php.net/pcre.backtrack-limit' F5 d- s% B3 H) ?9 Q( G
  977. ;pcre.backtrack_limit=100000$ w% V: a( S% N8 u+ _

  978. ; X7 R8 S. d4 u7 {' b9 ~
  979. ;PCRE library recursion limit.0 @% d  `7 `: Y! n2 q4 n/ _
  980. ;Please note that if you set this value to a high number you may consume all
    ( O+ D( r, ?5 |+ M! E
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ( D5 Z" ^9 z/ p  S+ e% t3 H
  982. ;stack size limit imposed by the Operating System).
    6 r$ ]5 E9 v2 F
  983. ; http://php.net/pcre.recursion-limit9 g( A, }2 X; S# E  I( M+ n: S
  984. ;pcre.recursion_limit=100000
    ' f- q1 J% ~0 C  _& I" y) {" k
  985. % T9 A9 Y" R0 E
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ! a+ w- q& @: f3 }1 M
  987. ;library to be compiled with JIT support.
    1 }, b; a1 v% m8 [6 j
  988. ;pcre.jit=1
    " L; a9 d9 C7 M
  989. 9 S- [% F9 O0 c! b. D6 q- N4 U/ M
  990. [Pdo]
    9 G1 L0 O' X; X+ R
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"0 f0 f" c& h/ [+ q: M4 Q4 v5 e
  992. ; http://php.net/pdo-odbc.connection-pooling
    " ~, M/ n: K+ a
  993. ;pdo_odbc.connection_pooling=strict
    " G1 M2 x$ w" V: P$ b4 h; P

  994. 6 _+ N, k, @: Z0 t/ W# \1 u
  995. ;pdo_odbc.db2_instance_name1 ~' r) a! A$ s. u, T* [9 Y

  996. # b  l& K  U& ]- O
  997. [Pdo_mysql]
    $ D; R* n$ n1 X9 J4 G9 a
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache! P! d/ \/ ?% q3 G
  999. ; http://php.net/pdo_mysql.cache_size5 v) t" M4 D. M4 ^5 Q2 |; a2 L
  1000. pdo_mysql.cache_size = 2000
    & ?$ T- r, [3 {7 G
  1001. " o% K  v, h4 b7 k# X2 v
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in: B. i1 U" x0 w
  1003. ; MySQL defaults.) ?6 E) l0 z. `( A3 a0 `1 Q+ H
  1004. ; http://php.net/pdo_mysql.default-socket9 b$ K! ~; O! r. {& v
  1005. pdo_mysql.default_socket=
    2 R8 y. S( [2 a% Q% y+ t
  1006. 3 \$ M; d  L0 k+ _7 t
  1007. [Phar]
    # x2 X1 \1 |1 q; s) ?7 g1 O
  1008. ; http://php.net/phar.readonly
    " ]2 z! e/ y$ X# ~$ f1 i9 T, K$ w
  1009. ;phar.readonly = On6 N+ }' m# z. e# g) J: [
  1010. # x8 v7 t7 x  G5 G
  1011. ; http://php.net/phar.require-hash3 j# I0 J% ~, J9 @! ?9 n
  1012. ;phar.require_hash = On
    ( r; q# f+ V' ]0 F0 R3 a
  1013. / L) O( x8 \+ Z- g& F1 F
  1014. ;phar.cache_list =
    . {% `6 w- n, G! [, g6 z& s' H

  1015. ' B$ [& Z4 o1 n3 {+ a
  1016. [mail function]
    + r+ v& ]8 B7 N" m
  1017. ; For Win32 only.  T5 R+ F5 T' C# ]% b
  1018. ; http://php.net/smtp
    6 t, [1 N+ _9 w( S1 ?: o& P7 C2 X3 @
  1019. SMTP = localhost
    / K' c: ^9 n" A4 V+ f0 A% _7 |, i
  1020. ; http://php.net/smtp-port8 S1 \: K" I1 H; x5 M
  1021. smtp_port = 25
    4 S9 |' @2 b4 u+ z
  1022. 8 `1 u3 N# B5 b# S* J
  1023. ; For Win32 only.  V; O1 _  T& v" D( b! `- r0 N
  1024. ; http://php.net/sendmail-from
    ! P* ?4 X/ P4 q
  1025. ;sendmail_from = me@example.com
    ' h2 D0 q1 q- r

  1026. " o# H' w' ~, s% B$ l) z, v
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").! _/ |4 s/ `4 {" J
  1028. ; http://php.net/sendmail-path
    9 d; ?1 e! ]; R0 B! m
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    + ]: f+ S, T" w$ J3 O4 Q0 u
  1030. + c9 l$ {8 R/ D  e
  1031. ; Force the addition of the specified parameters to be passed as extra parameters$ }7 d1 L5 o  z7 S
  1032. ; to the sendmail binary. These parameters will always replace the value of0 F8 K! I. H4 J, ]% [. @& ^
  1033. ; the 5th parameter to mail().
    $ b, D4 ]6 s4 W3 `2 m' `
  1034. ;mail.force_extra_parameters =
    , F' f; h0 Y% _8 L; X! M
  1035. ; ~9 |# K, J/ R2 z2 V
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    & m+ y7 V) `: ]& _, L
  1037. mail.add_x_header = On
    2 v/ U5 D, @7 C

  1038. 6 P' x8 [0 S/ f
  1039. ; The path to a log file that will log all mail() calls. Log entries include# C9 ~6 U" @! c7 ~- H9 v
  1040. ; the full path of the script, line number, To address and headers.7 W" y3 r! T: ?$ W9 p$ `; N
  1041. ;mail.log =0 ?4 c* m4 m4 C$ j, l+ x) S
  1042. ; Log mail to syslog (Event Log on Windows).
    ) O  ?+ U" Z: {$ m6 e/ D
  1043. ;mail.log = syslog
    : @+ o( y  j. `8 M5 b: H7 l" u
  1044. ! Q% Y* D' Y& B; k" i$ n9 k
  1045. [SQL]3 D) U! I; G% ~9 |
  1046. ; http://php.net/sql.safe-mode( V4 ~* f0 t7 ?, p0 X! t) A/ |8 @
  1047. sql.safe_mode = Off
    ) ?1 w) ^- M& M5 K1 J
  1048. : z* X8 i: r' d2 `
  1049. [ODBC]
    9 m" @- @% o# w8 g3 k* w, h! L
  1050. ; http://php.net/odbc.default-db
    0 }  J( ]  R3 y& y: _* t; y' m
  1051. ;odbc.default_db    =  Not yet implemented
    6 e6 C3 f' y  Y+ S
  1052. * p/ L! C2 |1 V7 K1 f
  1053. ; http://php.net/odbc.default-user. H9 O/ B" }7 }! T
  1054. ;odbc.default_user  =  Not yet implemented
    7 }# c$ N- U. z0 F" y& S

  1055. % K$ M, c+ ~0 }
  1056. ; http://php.net/odbc.default-pw
    # |+ p4 B6 i2 Q; K* R% I5 H
  1057. ;odbc.default_pw    =  Not yet implemented, Y7 Z( ~/ @* @1 t: [

  1058. ) u; L! m4 ]9 {
  1059. ; Controls the ODBC cursor model.
    ! }1 x, t) s7 D) c
  1060. ; Default: SQL_CURSOR_STATIC (default).
    1 c% ?: h8 v0 j0 G3 r* v) j
  1061. ;odbc.default_cursortype
    * k! A1 x4 Q  b/ D2 E' `
  1062. $ s. V# G* l/ t* W) @
  1063. ; Allow or prevent persistent links.: ?1 M, `4 n8 E: K$ |- C8 _- X3 ^
  1064. ; http://php.net/odbc.allow-persistent0 O9 G+ H) d: m1 M! R6 k
  1065. odbc.allow_persistent = On
    0 W! T3 g& m) ^' U  o/ Y! r6 T2 P
  1066. 2 ?; H3 ^9 z& h9 J" {7 ~
  1067. ; Check that a connection is still valid before reuse.
    : K- J1 _; A1 D2 g; B1 X
  1068. ; http://php.net/odbc.check-persistent
    ! I7 y, J, L: ]
  1069. odbc.check_persistent = On5 w3 f" E7 C" u" a: }$ Y- r
  1070. : f" T' N& Z, L; Z2 M* D3 w" s4 K
  1071. ; Maximum number of persistent links.  -1 means no limit.) J! D' V& f$ M, ^
  1072. ; http://php.net/odbc.max-persistent: A; x9 _, T- o' R$ ^) V7 K
  1073. odbc.max_persistent = -1/ U& u, {( h: u; X5 z6 M9 F; o7 e

  1074. 6 R' p2 a8 ~% V8 n# S8 `4 w$ n! o
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 N' q) g* L% \7 X* u
  1076. ; http://php.net/odbc.max-links
    $ u) A+ C: ?; k9 |. O
  1077. odbc.max_links = -1
    ; }- y. L. f0 ]
  1078. 3 ?: z: h" U+ ?- X  z
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# d4 Y+ a. t" w+ @+ M1 P
  1080. ; passthru.
    / I: m: u$ u$ @. G# W% c; d
  1081. ; http://php.net/odbc.defaultlrl2 Y6 ?, J  e) h( ?
  1082. odbc.defaultlrl = 4096
    ! P% J8 `6 u# v4 H
  1083. 0 W0 R# v8 v8 g+ J8 A& u3 z( s
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( ?  o5 u" `2 X
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation& y1 k- w' Q/ d/ I6 ]5 B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    - Z6 Z9 Z) {  j
  1087. ; http://php.net/odbc.defaultbinmode  Z6 z; s; M/ F  A$ t
  1088. odbc.defaultbinmode = 16 j# e4 ]( Q7 n, m5 k7 e
  1089. ! v3 {" G% J: k+ @: b( ^, P
  1090. ;birdstep.max_links = -1
    / D( m2 Z" S0 A# g5 O
  1091. # c4 f% f( k' U7 O
  1092. [Interbase]% X; Q: ]) o8 ~
  1093. ; Allow or prevent persistent links.7 e7 f; ^" J1 t
  1094. ibase.allow_persistent = 1$ }/ i' D0 G* L% y. z8 a
  1095. " [/ M& \& d6 V- M( ~: k4 r- @
  1096. ; Maximum number of persistent links.  -1 means no limit.9 h" Y( Y8 N' I$ W* D
  1097. ibase.max_persistent = -1
    9 v' m' H6 A0 O: N3 x# M- W6 M

  1098. , k4 _0 B4 B  l6 B/ F
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# R: n( C% e+ h) _6 ^- ]# z
  1100. ibase.max_links = -1
    : C+ E4 F; V1 ?$ I# O! a4 N
  1101. ( }$ M( {0 i1 j8 q' l5 ]! }* r; {% G" a
  1102. ; Default database name for ibase_connect().
    . D- |/ d/ ^" _' F! N$ B0 s% o; ?
  1103. ;ibase.default_db =( o$ o4 W7 d/ _1 O3 y+ n% m

  1104. 3 }; D7 n7 E1 F& Y3 ]
  1105. ; Default username for ibase_connect().
    6 s- ~, F8 Q' M, K; m# `) d
  1106. ;ibase.default_user =% v0 w2 L) v" f. Z
  1107. * W, K: ?9 \2 T
  1108. ; Default password for ibase_connect().- y! {. [: e4 C2 n6 l
  1109. ;ibase.default_password =
    1 p9 i; g1 @; d" _0 s( _2 {

  1110. ' R+ A. e& F- l6 T! k5 ~
  1111. ; Default charset for ibase_connect().9 [3 f2 s  ]. q1 {/ d( e' z* _
  1112. ;ibase.default_charset =
    & R# O  g* ?% n$ K/ P0 K

  1113. - b5 N- O2 W4 k% g# l
  1114. ; Default timestamp format.
    $ v! h8 s0 I' @% x' W, ^, x
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"& t% L4 ?3 o. d" a& ^0 M  q. m
  1116. ) ^6 w/ P8 g( o2 J; S
  1117. ; Default date format.3 B* k8 M' m5 z' Y3 R, y9 z
  1118. ibase.dateformat = "%Y-%m-%d"
    % W7 Y$ [  f/ h' c6 }) F

  1119. $ k# K) w" q/ e( a1 x
  1120. ; Default time format.# |& m; d* i: B4 `
  1121. ibase.timeformat = "%H:%M:%S"; q. V" }: u3 G; y# @
  1122.   K  W8 G5 P/ m7 T+ b: w2 N
  1123. [MySQLi]
    , }9 s  ^9 e& P. v

  1124. ( V4 b3 Z) }1 p5 K3 V+ |
  1125. ; Maximum number of persistent links.  -1 means no limit.2 R% L) k& o, A: @
  1126. ; http://php.net/mysqli.max-persistent/ [- U! k, m2 C0 O
  1127. mysqli.max_persistent = -1
    ' C* G; m2 E% p3 A9 Y+ L
  1128. 3 K, k% @, ]+ m% r
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    1 f; J0 E7 Z6 I! H3 p, M" ?8 j" h
  1130. ; http://php.net/mysqli.allow_local_infile; v9 n  v/ t- r# X5 C0 J7 g
  1131. ;mysqli.allow_local_infile = On
    & a& ^3 r. w) H% v: e# v. L" c1 O

  1132. 8 T, \/ G9 ]6 A) l- H" _2 m
  1133. ; Allow or prevent persistent links.
    7 b, ]8 ~! Q# y" ]
  1134. ; http://php.net/mysqli.allow-persistent
    : L! d( J0 j3 F
  1135. mysqli.allow_persistent = On: p/ V9 D6 e) b: q! w
  1136. ) O0 S9 {9 Q/ Q! J2 D7 {
  1137. ; Maximum number of links.  -1 means no limit.* T2 ^! _% `: G6 |  E2 l0 Z
  1138. ; http://php.net/mysqli.max-links, S% j9 R! h$ B2 }: t
  1139. mysqli.max_links = -1" S; q: ^8 c1 w; b) o
  1140. 2 |: @4 F: F7 x
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + X/ t& e2 b2 t3 \+ w
  1142. ; http://php.net/mysqli.cache_size2 q/ l8 K" y: _: z0 m( z
  1143. mysqli.cache_size = 2000
    : ~+ k! ^' _) q9 M
  1144. ) G' ^% e& w2 [" z7 H$ c& {
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    : N! O4 O! f; a- R
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    " _8 ^- {+ `* [" ~3 ^3 x
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 M9 Q2 v( j; m2 W4 |. [
  1148. ; at MYSQL_PORT.8 J0 z0 B) X' i$ R. P5 f9 C9 W, Q3 o  r3 ]
  1149. ; http://php.net/mysqli.default-port: t8 w$ f' ~' U2 g( H# O2 }
  1150. mysqli.default_port = 3306
    , g/ `3 u; J& Y
  1151. . l) I% z% H/ @6 U# p: g
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in  F8 Z; S0 C/ A3 R
  1153. ; MySQL defaults.
    2 e1 w/ b1 H1 k
  1154. ; http://php.net/mysqli.default-socket
      ]* D1 J8 q. b# d; P& Z
  1155. mysqli.default_socket =- `  l1 W; r6 I" b7 }
  1156. 6 P4 U- y' r- X0 ]2 e/ r" ]* t9 r
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% M; u' w) ^5 K0 j& |
  1158. ; http://php.net/mysqli.default-host/ A# |# c$ G; m. c
  1159. mysqli.default_host =; v) R! Q. J2 U$ T: J- m
  1160. 2 x, U3 v- z- _: E  f+ E: h( H
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " i( y6 q/ c; U& F1 f1 W" z  F" V
  1162. ; http://php.net/mysqli.default-user
    0 m+ F# h' ]# ]
  1163. mysqli.default_user =
    % Z5 ]: v0 ^2 \4 ?" s

  1164. $ X1 X( L( Y9 e& \: Q9 m
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    $ R) v/ Q( R' N# E$ A
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.& p- _- N1 Q) Q" N
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
      Z2 S4 r( d8 ]" _8 T6 R( W( K
  1168. ; and reveal this password!  And of course, any users with read access to this/ i7 ]( W7 A6 {7 D% p1 p& I% a" _! m
  1169. ; file will be able to reveal the password as well.
    , y7 z9 B1 x( R" k
  1170. ; http://php.net/mysqli.default-pw, a1 f/ H) X6 V/ U$ F5 `% ~
  1171. mysqli.default_pw =0 J4 t, M7 }( Q8 |9 v/ ^

  1172. 4 F8 }2 W+ r. V7 P1 _
  1173. ; Allow or prevent reconnect
    ( ^/ _9 V) I, k3 n
  1174. mysqli.reconnect = Off
    ' G2 }; u3 t5 P4 Y1 m$ F5 I
  1175.   z4 V* Q) b5 A, O- k
  1176. [mysqlnd]1 Y7 @! V  b4 k2 b
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be& s: r8 a, J; T
  1178. ; used to tune and monitor MySQL operations.
    " E5 u4 v+ Z: E: t; X" y
  1179. ; http://php.net/mysqlnd.collect_statistics
    ! |8 Y6 w) ^& x* d$ b. Z
  1180. mysqlnd.collect_statistics = On
    ; z  H" y$ [6 J
  1181. ! W" U7 X( j! e# b- e5 j( ]
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ I$ W* f1 {3 c/ g& y: b
  1183. ; used to tune and monitor MySQL operations.' @. q3 @0 F  {+ w6 u
  1184. ; http://php.net/mysqlnd.collect_memory_statistics& H' x1 j2 B- k( i, [* G
  1185. mysqlnd.collect_memory_statistics = Off( ~" ?% j7 [2 A( s1 A* B! \$ A% L
  1186. 9 ]5 f6 t' `) T
  1187. ; Records communication from all extensions using mysqlnd to the specified log* M% U# E& [$ M+ O$ u# x
  1188. ; file.9 ?1 c( }  E: V/ B( [4 P
  1189. ; http://php.net/mysqlnd.debug: F8 V" g) E' {. p; _6 V) |4 C
  1190. ;mysqlnd.debug =
    # P5 A( |: b+ `) H0 a5 ]8 P/ r
  1191. 9 U( E$ k+ I. h0 P7 s
  1192. ; Defines which queries will be logged.  ]% R$ m3 G* @$ j& b  m
  1193. ; http://php.net/mysqlnd.log_mask
    6 }1 c3 V5 [0 e; g) c1 o' b3 c
  1194. ;mysqlnd.log_mask = 0
    " H: ^+ ^) }8 d1 F: J/ L' k6 V6 Q' p

  1195. , {. c& q) [5 s" b0 `3 C
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.5 m: }& A0 g9 v1 R! G. w
  1197. ; http://php.net/mysqlnd.mempool_default_size
    & ^8 A3 c6 ^: Y& c- r2 ^/ t
  1198. ;mysqlnd.mempool_default_size = 16000
    " |) B+ p: Z/ G5 x9 L
  1199. 2 u7 m( A; B' l  N+ W# D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.* S* i4 D" g9 [9 w( Q4 k. V# {
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    4 ^" E  a& t" t) x
  1202. ;mysqlnd.net_cmd_buffer_size = 2048/ O3 p& a5 p+ k( v. Q0 v

  1203.   p- s' O1 X$ _1 U. U
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in/ ?1 I4 W& L; A9 G5 R9 s: F
  1205. ; bytes.
    & u% e2 h1 z5 ?% R: o7 [  ^
  1206. ; http://php.net/mysqlnd.net_read_buffer_size* I6 v$ A$ j- z5 @: @
  1207. ;mysqlnd.net_read_buffer_size = 32768
    2 `) D& g/ G6 L0 a
  1208. 8 z7 I+ R6 a, i' a, {3 D/ v
  1209. ; Timeout for network requests in seconds.# j. c) R1 N2 ^
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ( V6 o9 G% {3 W( m! d1 k( n! Z& a& P
  1211. ;mysqlnd.net_read_timeout = 31536000
    6 }3 t" u  {" m, B* Z& L; w4 }
  1212. 4 J; {/ X9 i2 o3 n
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 j' R# s& g- U" T0 \1 q
  1214. ; key.) r- Y4 e& p2 C4 m4 _0 z/ `
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ! z2 I& \& _1 P7 ]! ~- M' |
  1216. ;mysqlnd.sha256_server_public_key =
    / c$ g( L+ b! A* L/ `$ r
  1217. 6 W" I) b1 T$ m$ z8 G; U
  1218. [OCI8], ?: a5 h# c! E# O
  1219. 0 A. X! t; q# x0 {" j+ b
  1220. ; Connection: Enables privileged connections using external
    ! t# W9 l" g0 i6 @- t# c, c( C# I: z
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ) c3 {) j! }& y( v! H8 U, a
  1222. ; http://php.net/oci8.privileged-connect% l+ u, w: `; N7 H
  1223. ;oci8.privileged_connect = Off5 ^1 _& T. _. J7 I* Y/ ?  z
  1224. ' u2 P! z; `: i1 C# V& q* K# c9 T
  1225. ; Connection: The maximum number of persistent OCI8 connections per7 A1 O2 q6 @8 A( A; Z
  1226. ; process. Using -1 means no limit.
    : S9 q% {6 _( E3 E; i( Q1 G
  1227. ; http://php.net/oci8.max-persistent+ Z" u- B) E9 W8 r' R
  1228. ;oci8.max_persistent = -1
    5 U) k5 X- X7 z# X& f: S1 F

  1229. 6 |5 s6 |! \5 |( W9 N. }7 r+ \
  1230. ; Connection: The maximum number of seconds a process is allowed to; x4 e0 Q, y: J( D/ N" z, u
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ' c/ k& Z$ W+ I: T5 S! h
  1232. ; persistent connections will be maintained forever.5 [6 H% j7 ^* `8 r
  1233. ; http://php.net/oci8.persistent-timeout
    2 R5 K- X. P! G4 O: @  O( V9 G
  1234. ;oci8.persistent_timeout = -1; l; ?7 f5 d+ z1 y/ P! T: J
  1235. 4 n* y6 w! c( D& M, U- _
  1236. ; Connection: The number of seconds that must pass before issuing a
    . o& m1 J0 e3 p
  1237. ; ping during oci_pconnect() to check the connection validity. When
    " w$ w7 X- h2 A1 \# {
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables3 p4 l7 J4 }# T) ?! w/ |
  1239. ; pings completely.' q& i8 \( D6 P% h0 v8 I
  1240. ; http://php.net/oci8.ping-interval
    1 U# E' L$ b7 {' y* w% [" u
  1241. ;oci8.ping_interval = 60/ Q4 e, W8 Q, p# p; g. V: Y

  1242. " r- V' R+ V( b( |9 Q  C
  1243. ; Connection: Set this to a user chosen connection class to be used
    4 y; W) u! \0 s
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    " f' y* w6 [! }( K
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 _$ H) R/ H; V
  1246. ; the same string for all web servers running the same application,
      z+ [2 U3 J7 ?0 s. r8 M
  1247. ; the database pool must be configured, and the connection string must. H& J# x# K/ [. d4 [
  1248. ; specify to use a pooled server.* `& r/ d% O! @- E+ e
  1249. ;oci8.connection_class =# E/ {' q- j: U" A6 S% Q
  1250. % f$ u; d' t9 _+ P) S" {  e; R
  1251. ; High Availability: Using On lets PHP receive Fast Application
    * _9 E  ?& K7 l$ r! u
  1252. ; Notification (FAN) events generated when a database node fails. The
    # _: |1 {  t* R9 B( W! ?6 T0 Q
  1253. ; database must also be configured to post FAN events.: A* m' R/ M- g6 I; K
  1254. ;oci8.events = Off3 F4 h% ~$ ~6 A* r6 F

  1255. 4 U0 a, F4 d% N. h2 l
  1256. ; Tuning: This option enables statement caching, and specifies how. |. O% P% i$ v4 g% O3 s) t2 A
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 n; c6 m7 |0 p  o& T& ]
  1258. ; http://php.net/oci8.statement-cache-size
    0 Y: r2 H* n9 K; P- ]' G
  1259. ;oci8.statement_cache_size = 20
    ) W3 T* x/ z, |% [
  1260. . a# c# u: @* y7 m: U
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    : |  y" g* h- N$ ], }- B$ L3 A; d) V# r
  1262. ; rows that will be fetched automatically after statement execution.
    % i- p; f8 c+ S" X* G
  1263. ; http://php.net/oci8.default-prefetch7 E! ], |2 j' m# W9 o
  1264. ;oci8.default_prefetch = 1003 N; b' W: C2 W! E0 O0 y

  1265. . z8 O! q2 E& R6 d
  1266. ; Compatibility. Using On means oci_close() will not close# g6 o$ f6 x  p+ D  [
  1267. ; oci_connect() and oci_new_connect() connections.
    % L* ?( z1 M+ l1 d0 b/ |5 J
  1268. ; http://php.net/oci8.old-oci-close-semantics: y4 e( `- t4 z/ a
  1269. ;oci8.old_oci_close_semantics = Off/ l: K" r: N# f- E6 y9 B
  1270. . M! C6 p; _3 f1 z9 x1 k4 ~
  1271. [PostgreSQL]
    ! l# h8 s$ }9 _0 Y3 {$ N
  1272. ; Allow or prevent persistent links.: w- u7 s- u! Z  H* P, w
  1273. ; http://php.net/pgsql.allow-persistent4 `& y  ~4 k) e5 j  C  c
  1274. pgsql.allow_persistent = On
    $ x# @* N% A( D/ @# u9 U; C- H

  1275. # B1 Q" l' L3 k8 n! o
  1276. ; Detect broken persistent links always with pg_pconnect().& T4 H* d) p" f5 d' V5 c
  1277. ; Auto reset feature requires a little overheads.
    : F7 ^* W0 p4 K8 m6 k  s' a
  1278. ; http://php.net/pgsql.auto-reset-persistent9 b- Z- k' m6 u% f
  1279. pgsql.auto_reset_persistent = Off
    * k$ x' q& E5 K; L' a+ S5 v  H

  1280. ! ^: O* k6 t+ O: o
  1281. ; Maximum number of persistent links.  -1 means no limit.
    $ F4 u$ H( o6 n- q
  1282. ; http://php.net/pgsql.max-persistent( `$ {' }2 ^& i
  1283. pgsql.max_persistent = -1
      t5 |1 r/ x" J2 @  u# u

  1284. & w+ n- V0 P6 Y  R# b, z/ I
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # J" B# q8 G3 B2 T: u9 [7 `
  1286. ; http://php.net/pgsql.max-links4 _9 q$ H/ W! N  I
  1287. pgsql.max_links = -1
    : w, x9 R$ I" |' Q- C% ?

  1288. 4 w* O, y; O8 {4 ?
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ; F0 B- J- Q( ^+ w  M. d
  1290. ; Notice message logging require a little overheads.
    + v. l: r" i* y# ], A, x
  1291. ; http://php.net/pgsql.ignore-notice
    & i# ~7 E3 I. B
  1292. pgsql.ignore_notice = 02 [: v3 i% s) v8 N' \" K

  1293. 7 `3 t& x' @4 M. b
  1294. ; Log PostgreSQL backends Notice message or not.
    5 ~6 h8 a) E& m
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message./ u' ]/ h5 a  Q- g5 M
  1296. ; http://php.net/pgsql.log-notice
    ( k0 T( o8 o+ Z& j
  1297. pgsql.log_notice = 0
    ; ^# T! d2 C% k' n) T

  1298. * P3 w! {( J/ }$ \- K# c6 L9 G
  1299. [bcmath]* n% P" n- E6 n/ j
  1300. ; Number of decimal digits for all bcmath functions.
    : B7 N6 z. T) X1 {" A; e# L1 q
  1301. ; http://php.net/bcmath.scale
    8 k0 M1 Z+ Z! f6 G( C, D
  1302. bcmath.scale = 0
    ; ^4 C' w; ?/ A/ _
  1303. ) a, k1 r: Q" W6 ~
  1304. [browscap]4 e( r  k3 e3 e9 z- l& j
  1305. ; http://php.net/browscap& W3 P7 f: m3 m$ a9 ~; X
  1306. ;browscap = extra/browscap.ini
    . ~- X1 ]( n# H4 w* L* m  O
  1307. ; Z- j. ~0 ~1 n* w
  1308. [Session]$ N  {. P: l) b0 O7 o$ Z8 q/ P& M; m
  1309. ; Handler used to store/retrieve data.$ o4 w+ ]( c4 s" j
  1310. ; http://php.net/session.save-handler
    & q; y) S, x. Z  V
  1311. session.save_handler = files# f, _0 d9 Y8 a, z  }& l
  1312. " [2 u; r/ r0 ], o  o4 T+ x  Y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    / `7 o- R% ?; L5 e  T0 f7 [
  1314. ; where data files are stored. Note: Windows users have to change this
    * W( \9 |! R( M& [8 n+ g; s$ U% _
  1315. ; variable in order to use PHP's session functions.) e5 A3 R+ A3 f( G8 w2 A; Q) ]* V9 f
  1316. ;( \7 m' k8 t) l4 s
  1317. ; The path can be defined as:
    ! j' B; E7 `5 k/ d' |
  1318. ;
    ( u, G" Y4 g6 S
  1319. ;     session.save_path = "N;/path"- l" G" i  D! k  t/ L. F4 T
  1320. ;
    4 ~& y% n# u' {
  1321. ; where N is an integer.  Instead of storing all the session files in* {/ n) l7 H( s$ v
  1322. ; /path, what this will do is use subdirectories N-levels deep, and& e" S- k/ w' c% q& V
  1323. ; store the session data in those directories.  This is useful if1 w% t; a& @+ e! S& z" ^  _9 ~
  1324. ; your OS has problems with many files in one directory, and is
    4 r' D# e9 b0 w6 T) x
  1325. ; a more efficient layout for servers that handle many sessions.0 a) |' t+ s) J; D
  1326. ;
    4 H. M- M/ r0 h8 G; j! V
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    2 w3 y" t& i2 O. a+ C4 ^  u# Y1 ~& c/ s
  1328. ;         You can use the script in the ext/session dir for that purpose.- o) W2 [( d1 @. Q4 s6 B
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    & a5 w  j6 L4 v
  1330. ;         use subdirectories for session storage
    , H; }' v' n3 p; y
  1331. ;
    - e, [( n4 _4 I! _# w
  1332. ; The file storage module creates files using mode 600 by default.
    % u% `" T& F" u" |
  1333. ; You can change that by using
    9 A- T6 C! K- ?2 |
  1334. ;# E- d4 i/ j9 ~; J6 P) B  r' B
  1335. ;     session.save_path = "N;MODE;/path"
    ! E0 ^5 b0 e- r
  1336. ;0 ^  F6 [/ U  W( b
  1337. ; where MODE is the octal representation of the mode. Note that this9 w% q9 p, w- L2 e5 G4 [; d
  1338. ; does not overwrite the process's umask.
    $ E+ o7 g, C0 v. h
  1339. ; http://php.net/session.save-path
    6 `6 K1 z! J, T4 ~
  1340. ;session.save_path = "/tmp"+ o( t* e8 j8 J" ]. t" b7 Y

  1341. ' r3 Y2 m. B" U* P6 m
  1342. ; Whether to use strict session mode.
    * p* X: U% b) |# s, R  S+ R
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ; ]9 B% ~. q4 \7 O0 M# N2 }; w
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    5 M$ l) ]) b. ]7 o7 e
  1345. ; applications from session fixation via session adoption vulnerability. It is
    / T/ p4 r! Q' q6 _
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged., R! _) `8 G4 c0 N( m
  1347. ; https://wiki.php.net/rfc/strict_sessions& \1 ~% g# D. R* o9 l2 v- _
  1348. session.use_strict_mode = 0+ a( S& L4 r; R. l" ]0 v) j
  1349. 3 z/ f. _8 T! _( h
  1350. ; Whether to use cookies.# G5 g8 a: W1 p, p5 `1 a/ k% n
  1351. ; http://php.net/session.use-cookies
    2 N2 w( o/ S1 }5 D# S
  1352. session.use_cookies = 1
    ' {, ?) |  z* t1 y) |3 U' M5 r

  1353. + ^& U9 @6 {& C7 x" {: k' |
  1354. ; http://php.net/session.cookie-secure  W3 Y* e8 C$ r( @) C" r
  1355. ;session.cookie_secure =7 z* f* O! q; ^* N" K
  1356. : }: Q! S  Z& }0 I9 v! k9 w. n
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining+ N- R/ u4 J. ^* c3 r
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ; l- M; ]- K; |1 I# A* e; y
  1359. ; session hijacking when not specifying and managing your own session id. It is
    - _' R4 |3 Q5 G! W& G8 F
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) A0 d; ^' |7 j" `  X- K1 i- W
  1361. ; http://php.net/session.use-only-cookies+ k- ]: M4 r: b0 {( p8 v6 U% r2 f
  1362. session.use_only_cookies = 1
    . c3 o+ G; P2 h/ k0 W

  1363. 0 x. X# P2 @. O7 q% L" @. H
  1364. ; Name of the session (used as cookie name).
    ) o5 f  _% |0 @: L
  1365. ; http://php.net/session.name+ d  s8 x1 H3 |; B/ P( e* d
  1366. session.name = PHPSESSID0 s6 k" i( `- t" m7 E( U5 a0 T2 S- F
  1367.   H% j! [0 H9 ~  T* _
  1368. ; Initialize session on request startup.$ E( Z7 I- v7 k" [  d
  1369. ; http://php.net/session.auto-start
    4 H7 i, r$ {  H: j% j9 n+ q3 [9 v5 j
  1370. session.auto_start = 0
    , R+ n! |6 s: ]
  1371. ) x& L- _) M# D) a
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( }7 Z; }. _! q. L
  1373. ; http://php.net/session.cookie-lifetime' {( O! y5 k( y3 [- ~! y6 F! d9 E! C$ s
  1374. session.cookie_lifetime = 0
    ( J$ _) N* E9 i% |5 I2 u& s% ]

  1375. 6 F- G; R) l$ ~; E
  1376. ; The path for which the cookie is valid.3 p8 `# O% H8 l. B1 ^+ K
  1377. ; http://php.net/session.cookie-path
    + S* ^  R, t' z
  1378. session.cookie_path = /8 L. x: U0 N6 L

  1379. 2 J% q& g0 `! j5 k
  1380. ; The domain for which the cookie is valid.
    / K! u! N' T0 @3 n( h
  1381. ; http://php.net/session.cookie-domain0 c8 w- f% p9 Q" I( @
  1382. session.cookie_domain =* C* f- \0 t% g3 K

  1383. 2 M4 Y; [) l* g+ V3 K6 d+ [4 U/ ^
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.1 Z+ j- W% i, g2 m- ^' O0 `, a
  1385. ; http://php.net/session.cookie-httponly$ y/ L' F- e- n4 @% ^
  1386. session.cookie_httponly =
    1 n( C7 C) N; Q5 X; f9 L& d
  1387. ! v2 ]/ G, m; u. I5 M
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.  L# O. R/ }. U. t2 J) J! W
  1389. ; http://php.net/session.serialize-handler
    " q0 U/ s; E- }* a7 n  W& j8 m: w# B
  1390. session.serialize_handler = php/ \. R$ E0 h! W* t. s- J+ Y
  1391. 3 U+ E. f1 j. |& ]+ A' F: J1 A
  1392. ; Defines the probability that the 'garbage collection' process is started
    ) {" g+ _! x! ]
  1393. ; on every session initialization. The probability is calculated by using& ?  q: ^, C9 H% @. C' w# c/ N( _6 C# f
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 W- M3 D0 w0 d$ [- i) Y% W  C! o0 F
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + s" _6 f5 D- y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      }5 v7 E5 C6 Y3 y
  1397. ; the gc will run on any give request.
    7 l4 z9 d* Y! e/ m+ e3 q6 `( y
  1398. ; Default Value: 1
    6 i2 \& M& R$ ]/ x. p" X  u
  1399. ; Development Value: 1% v) r  P; W/ A& K" E1 s
  1400. ; Production Value: 1* D% D/ R7 B* e' s+ _
  1401. ; http://php.net/session.gc-probability/ v8 ?0 @4 S+ P3 t
  1402. session.gc_probability = 1" K  z8 a5 l, i$ ~1 i: n" C
  1403. ! H" `1 I9 C" Z; V0 Y6 F+ ?
  1404. ; Defines the probability that the 'garbage collection' process is started on every( }, Q" y) U9 `: F5 V5 G: ^' _
  1405. ; session initialization. The probability is calculated by using the following equation:
    0 ?, e! B4 ?+ y3 ?( b, e# g$ H; q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    * C/ G2 F) N, d  y
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1/ v: C% M/ W7 K/ L: o& e8 {
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- u& _( e- J1 C6 W" ^( V
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    0 j3 f" G  q9 @& Y3 i
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,5 c& _" d. [, o/ o/ _
  1411. ; this is a more efficient approach.
    ! s3 {2 B( c; f' @2 E
  1412. ; Default Value: 100
    ! Y4 w( H( J# x
  1413. ; Development Value: 10000 i' Q# _9 Q# C6 T
  1414. ; Production Value: 1000- \1 q) a( s. @0 v
  1415. ; http://php.net/session.gc-divisor
    9 i  Y, _9 F- {5 t5 G- I2 [
  1416. session.gc_divisor = 1000, f- \8 F; p1 R) R, B4 l
  1417. 0 ^& e& p# F" R2 c9 l  {  h9 o
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and& J+ Z! ^8 i% ?9 u0 D2 L1 b% z
  1419. ; cleaned up by the garbage collection process.5 k4 N& Q0 L* P: ?$ S1 Y
  1420. ; http://php.net/session.gc-maxlifetime- e2 ~! A+ Z9 [) Z, h  H
  1421. session.gc_maxlifetime = 1440
    ) S/ R  t/ L! [3 ?( m

  1422. ; E4 n8 i( [) i4 ]
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    7 ]7 r: Z4 o9 \8 x6 Y
  1424. ;       (see session.save_path above), then garbage collection does *not*
    6 x/ m- {! S- k8 F5 W. G) @
  1425. ;       happen automatically.  You will need to do your own garbage
    ' ]/ g8 q7 o- \' w& C: d
  1426. ;       collection through a shell script, cron entry, or some other method.
    9 a( F+ @$ B" h& N
  1427. ;       For example, the following script would is the equivalent of6 ^& ^. @- I3 K0 I# ]
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : ?, x: L% Q% s$ u
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm$ Z% Z2 L2 u% {' p2 R
  1430. ; {- u9 g% a8 B6 y% F. R# l! l
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.+ V% Y9 W' U) s6 c
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    & i4 ^0 E7 s+ H9 h2 `
  1433. ; considered as valid.
    / h, B$ n, h1 |4 ?7 P0 q1 y
  1434. ; http://php.net/session.referer-check
    9 V+ n; l1 Q5 w1 R' N
  1435. session.referer_check =
    5 x! \! d+ r& e) }: t
  1436. 6 R1 Z! ]/ C1 ^. i8 q* i' K" X+ @
  1437. ; How many bytes to read from the file.
    % i7 }: b; @1 t
  1438. ; http://php.net/session.entropy-length, z- H- [% T8 h! L4 z" o
  1439. ;session.entropy_length = 32$ O! R  r; N1 A) z; q0 I" _

  1440. 9 ]# A3 `" Z7 U0 F$ M- H0 y
  1441. ; Specified here to create the session id.. M" @$ L/ v' a5 b; |
  1442. ; http://php.net/session.entropy-file
    : R2 I9 k9 r4 S
  1443. ; Defaults to /dev/urandom2 B7 Y# J! ?  `, {: o
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    $ ~/ ]1 A3 q7 |: u  V, W# Q
  1445. ; If neither are found at compile time, the default is no entropy file.
    2 X, @: e4 y% X, x1 W. ?
  1446. ; On windows, setting the entropy_length setting will activate the
    & }' H& B/ O/ V6 c# ~' S* J! G
  1447. ; Windows random source (using the CryptoAPI)
    2 e( u" \# i4 G9 C4 u/ B0 p8 ]9 M
  1448. ;session.entropy_file = /dev/urandom- R$ |; J9 p/ D. |* q
  1449. 7 S! b; X8 b' ^4 G
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 }$ R) o) l) E5 v  x/ k6 b
  1451. ; or leave this empty to avoid sending anti-caching headers.. Y, z- j3 D4 W0 E& O
  1452. ; http://php.net/session.cache-limiter/ z# U. r, r8 ^' Y* N" r, ]
  1453. session.cache_limiter = nocache
    # I9 B1 e1 m7 G+ [& C3 }
  1454. & O" S+ i) J% |1 o6 K& N
  1455. ; Document expires after n minutes.
    ( m& c: _" y) l' `% w; e4 D
  1456. ; http://php.net/session.cache-expire0 ~) Y# h" [# ?7 [; H" I: r- F( B
  1457. session.cache_expire = 180
    4 z2 k" j' q+ @+ N7 t5 M. B7 V6 o

  1458. ! t- f, B; X) p* A. X; p9 [) ^% L
  1459. ; trans sid support is disabled by default.
    0 L6 b0 M- s( Q  W+ C* l
  1460. ; Use of trans sid may risk your users' security.8 h# w5 `8 s' K' U* \1 \
  1461. ; Use this option with caution.0 O/ T( c" p. C& O1 c5 m
  1462. ; - User may send URL contains active session ID
    , w" f5 e  }+ r" P& i
  1463. ;   to other person via. email/irc/etc., S4 Q4 x( N7 ^% g5 n( q
  1464. ; - URL that contains active session ID may be stored
    ' S& [& ]0 T9 q  x: J3 U% M* s. u
  1465. ;   in publicly accessible computer.
    ' l$ H" ~. F, [9 {9 _7 \3 a0 [) S
  1466. ; - User may access your site with the same session ID6 G: X/ G  F2 z, V$ q6 ^
  1467. ;   always using URL stored in browser's history or bookmarks.1 p5 q+ O' I8 D! g
  1468. ; http://php.net/session.use-trans-sid7 f7 H' P& X/ E
  1469. session.use_trans_sid = 0
    9 I* w! H+ E9 E9 z+ e9 m) _
  1470. ' K: e4 B  P$ j4 {# ]
  1471. ; Select a hash function for use in generating session ids.
    + v: g! @& R1 E' G
  1472. ; Possible Values
    , Z/ O, ?# V4 C1 d5 D+ B
  1473. ;   0  (MD5 128 bits)
      U, B8 m. D; L2 a" e3 }
  1474. ;   1  (SHA-1 160 bits)
    2 W: J8 R9 c1 x% {4 U7 f0 W% O6 @" _
  1475. ; This option may also be set to the name of any hash function supported by) B! D: k3 ]9 K6 ]' p2 i* h9 t: _
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    # i$ {) `6 p4 G$ G4 p1 d* L
  1477. ; function.( `0 {8 w& @! B& }* k: @) R7 y% X/ x
  1478. ; http://php.net/session.hash-function
    . x# Y' o  J7 ?" v
  1479. session.hash_function = 0
    ; W' }/ k& Y! S' z( L- D8 @8 }

  1480. 5 [8 s) C5 H) d2 x2 T5 R6 S* X
  1481. ; Define how many bits are stored in each character when converting( C& F& r" y" ?* U2 U$ L
  1482. ; the binary hash data to something readable.
    1 e7 b2 l) l4 U% L0 x0 K
  1483. ; Possible values:/ `4 P6 F6 o- n! T
  1484. ;   4  (4 bits: 0-9, a-f)3 m% E- Z; c* M
  1485. ;   5  (5 bits: 0-9, a-v)
    * u0 M: C1 h; G& I/ N
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ! b" [* T9 d: G
  1487. ; Default Value: 4
    4 G+ @. \% ^2 `
  1488. ; Development Value: 5& \3 j1 U' J; s1 ^7 E3 f  F
  1489. ; Production Value: 5* O$ y1 D4 ^, a8 p' h  K# d
  1490. ; http://php.net/session.hash-bits-per-character
    2 k4 x2 X8 n$ R$ o& k( ?3 E
  1491. session.hash_bits_per_character = 52 y0 M, R, n( O2 s  d% E* ^1 r+ a

  1492. 6 {! g  q" _: _: Q) e6 \# E, B
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.% @7 p# w8 o; X3 u
  1494. ; form/fieldset are special; if you include them here, the rewriter will2 V! L/ F: N! Y+ q6 T  \* X/ c( ?
  1495. ; add a hidden <input> field with the info which is otherwise appended
    4 Z3 h" |5 U: {# M$ T/ G% L; r9 F
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.! q! r- I3 j+ |# `# g" R- P
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ! l9 }+ ]7 r4 x* S5 k) x5 P
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 t9 i( Q. y7 {% w) h8 x9 ?& H
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ F" X1 g; |; k- b# Y
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 N, T1 P: I1 P. w5 |
  1501. ; http://php.net/url-rewriter.tags
    * Z& u" {% i# |' K
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    % \$ a5 Z* Z( T7 m6 j) \
  1503. ' L7 E6 d) \) j# S9 ~# k
  1504. ; Enable upload progress tracking in $_SESSION
    ' i* D1 v8 S3 ~! @% ^- o0 z
  1505. ; Default Value: On
      u! d: y" n/ O3 u  _
  1506. ; Development Value: On0 Z8 r' Q8 U; ^( T) |* ^& W
  1507. ; Production Value: On
    2 l. K9 k4 z; r) e9 j$ h) p
  1508. ; http://php.net/session.upload-progress.enabled2 N& r' g' t5 D5 F3 {; y) G: m
  1509. ;session.upload_progress.enabled = On+ [) Z$ I+ u# C5 W

  1510. / g. ^" d  G) Z
  1511. ; Cleanup the progress information as soon as all POST data has been read- W5 ~5 J3 L- I
  1512. ; (i.e. upload completed).- q7 d4 {! y6 p& ^; [8 }6 W
  1513. ; Default Value: On
    5 H; A$ w8 T$ M8 a! s  e. _- b
  1514. ; Development Value: On
    ! s. d: [. y$ \
  1515. ; Production Value: On6 B- q6 t0 g/ f9 S. m) e; k
  1516. ; http://php.net/session.upload-progress.cleanup
    & ?. P+ J: O" W% A; t( M
  1517. ;session.upload_progress.cleanup = On
    2 m! L- x' h$ ^* z. L0 K

  1518. ) I- C1 G. Y& k; [! Y
  1519. ; A prefix used for the upload progress key in $_SESSION
    : K& n: I* V% J2 `
  1520. ; Default Value: "upload_progress_"
    * q* o0 P3 E( q' _1 i
  1521. ; Development Value: "upload_progress_"% q2 t0 m( x, t& Y* K
  1522. ; Production Value: "upload_progress_"2 W8 d2 e! t- P( i
  1523. ; http://php.net/session.upload-progress.prefix" _& z8 X! H" h8 c; m& {" e
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ! r4 z* H3 l( }6 R: T; M
  1525. # F6 E$ [  s  r( y: f
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    # }' Z0 I6 f/ m, [" i) S6 t
  1527. ; containing the upload progress information
    & c5 S! i- C" V% i4 h: L
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : B8 C% w2 K  y& C
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) @7 w1 u% @4 R4 H7 \4 L3 i
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & G: ^& s( Z# _
  1531. ; http://php.net/session.upload-progress.name
    ' f; ?9 G( r- |* i
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    + Q2 ?; I$ @9 x9 L+ w; e

  1533. 3 o& Y+ l( E- n: y* C( ]
  1534. ; How frequently the upload progress should be updated.* g1 B3 u" n7 \) O9 h& ?) ]
  1535. ; Given either in percentages (per-file), or in bytes
    4 g* `2 M+ ~$ q- E# v
  1536. ; Default Value: "1%"( A. A3 V; d# e/ {+ w
  1537. ; Development Value: "1%"5 ]5 H3 U+ ~# j$ m
  1538. ; Production Value: "1%"  q* L5 E) L% b' H, \
  1539. ; http://php.net/session.upload-progress.freq
    ) T; g5 @! f# t  g4 O3 r" }- O
  1540. ;session.upload_progress.freq =  "1%"
      Q% |: [1 f7 r

  1541. 8 r* ^" I. H4 G, G$ }
  1542. ; The minimum delay between updates, in seconds
    & Z5 Q0 G. ~7 T; e0 I
  1543. ; Default Value: 1/ ?9 {( l1 _& w! \/ K: M8 R
  1544. ; Development Value: 1. D' |" g. @1 p2 c/ {
  1545. ; Production Value: 14 A9 g" F% ^$ t
  1546. ; http://php.net/session.upload-progress.min-freq! B9 |+ d. r) Q; s. D. }8 Q- L# {- ?
  1547. ;session.upload_progress.min_freq = "1"  x  ~/ K- G, w) b3 W0 w7 e: |

  1548. 2 H9 L9 @' G7 g; G
  1549. ; Only write session data when session data is changed. Enabled by default.
    1 H+ q  l, p4 U' d6 N2 G
  1550. ; http://php.net/session.lazy-write
    : @# n" n/ ^' g2 I/ R
  1551. ;session.lazy_write = On
    ; Y: @5 W9 |- A" s& f; F0 M
  1552. ( v, Y$ Q8 D5 i, U; p: G6 ~; ?' x8 Y
  1553. [Assertion]& V: b( o! e: F2 ]
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)- Y" {9 I- s* u* ]/ t: Q, n+ R7 A
  1555. ; -1: Do not compile at all
    ; p" a& a2 m3 M4 D
  1556. ;  0: Jump over assertion at run-time* r; F6 D7 V- g0 Y
  1557. ;  1: Execute assertions
    / l: R2 h$ {$ Y9 ?; j$ e0 G: T* 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)% @! P/ _+ j# w9 u
  1559. ; Default Value: 11 `7 P4 m0 K8 R( C
  1560. ; Development Value: 1
    7 d+ n$ n3 _  g# \; G
  1561. ; Production Value: -1
    ; }0 R1 M8 B2 \7 q5 Q
  1562. ; http://php.net/zend.assertions
    ' K7 ^/ `3 D+ ?; V8 c
  1563. zend.assertions = -19 |0 v; k5 h% ^$ }
  1564. / i0 M; W( k: Q0 R* a
  1565. ; Assert(expr); active by default.8 o+ |$ F0 d' l
  1566. ; http://php.net/assert.active" P0 D) \" F4 {9 D4 [: |
  1567. ;assert.active = On
    1 F& }9 M$ e9 w! ^& i
  1568. 3 m0 z9 W3 \- A  V7 d
  1569. ; Throw an AssertationException on failed assertions
    5 b* K% A( b# t* C+ ~* {
  1570. ; http://php.net/assert.exception" d, [# A. e$ F. @( R& ]6 J
  1571. ;assert.exception = On0 q, E2 R- u5 H' b
  1572. 9 ^9 b+ i# G8 l6 n4 u( ^; U1 x( J
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    4 H) y, t# u3 {) `4 J2 J
  1574. ; http://php.net/assert.warning
    $ x; A, s$ F6 @7 d4 R- z
  1575. ;assert.warning = On* E$ X2 r' @' H0 }7 b# `' X

  1576. 0 Q" I% K8 p' @2 v2 \
  1577. ; Don't bail out by default.
    " i( B, E9 K. U$ n/ h+ n! _+ C
  1578. ; http://php.net/assert.bail
    6 C- D  p+ C4 T3 N# {4 ~3 }
  1579. ;assert.bail = Off
    $ r- ~3 k) @6 ]. R7 A- U; k
  1580. : v8 P- `9 M4 n. L. C0 @) }
  1581. ; User-function to be called if an assertion fails.2 ~: L" C6 K1 Z; q) T. g  F
  1582. ; http://php.net/assert.callback
    3 G. k9 L+ `- S/ S4 I1 c! l$ q3 M
  1583. ;assert.callback = 07 a' Q4 T1 R' ^1 }; g4 S' N

  1584. ' B7 p) h' h3 v8 b! }$ s5 y) x
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    . ^5 ~  c1 Q# W4 T# l% y) @
  1586. ; error_reporting(0) around the eval().: }# m1 F5 ]2 v" _
  1587. ; http://php.net/assert.quiet-eval
    ( g" T9 c4 E8 Y7 _& P
  1588. ;assert.quiet_eval = 0
    3 ]9 S* Z# f- s; B! h

  1589. 4 }* z8 [" V0 W5 T
  1590. [COM]
    & H$ C" G' H7 k
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) {/ e! @  Z3 o2 o! S5 h8 r, ?/ T  ?
  1592. ; http://php.net/com.typelib-file
    4 |( ^% [# K. F' d$ p6 Z+ v
  1593. ;com.typelib_file =
    3 z0 {5 f" e7 c" T8 N

  1594. * m# U5 T% A7 o" v! N3 i
  1595. ; allow Distributed-COM calls
    2 u( j. Y' l( r) m
  1596. ; http://php.net/com.allow-dcom  U" Y: |4 @1 z, m* u7 N
  1597. ;com.allow_dcom = true) [6 I, [, G4 i' Q

  1598. - @* Z9 l8 w: j! o! J
  1599. ; autoregister constants of a components typlib on com_load()
    & y8 A1 v1 \' K+ e
  1600. ; http://php.net/com.autoregister-typelib- K4 U# F$ M; W6 A
  1601. ;com.autoregister_typelib = true+ A; E1 U2 P5 F6 k; f" U

  1602. # y$ U0 t+ t. d
  1603. ; register constants casesensitive
    & O# \8 q+ T# M' i2 h" g
  1604. ; http://php.net/com.autoregister-casesensitive
    $ u+ q5 `$ _5 |' P' q7 l
  1605. ;com.autoregister_casesensitive = false& q* q5 T# `" G. p, N; D
  1606. 0 k+ E$ @4 h! d( [, [
  1607. ; show warnings on duplicate constant registrations" }( k( G3 z+ w
  1608. ; http://php.net/com.autoregister-verbose* T; f# q- d1 o7 h3 u2 J' g5 V
  1609. ;com.autoregister_verbose = true
    & c" J  x. ~. v. t$ D) Y
  1610. ' m+ r( c' U2 c5 F
  1611. ; The default character set code-page to use when passing strings to and from COM objects., ]6 z+ n& |0 G" V
  1612. ; Default: system ANSI code page
    # y: B8 t2 Y/ j% Z8 b
  1613. ;com.code_page=1 g3 Y0 t4 E. ~! W9 }3 i
  1614. & ]% {# `, T1 J$ N# {. h- e
  1615. [mbstring]. [3 J7 [% a( b6 W" Z5 e
  1616. ; language for internal character representation.  q, k& \$ s  t+ Z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    9 V% Q' G/ n7 D% ?$ ]
  1618. ; http://php.net/mbstring.language% z# K: K' z: l3 W& u  \% C
  1619. ;mbstring.language = Japanese" q* p4 \$ d2 s+ Q& ~+ \
  1620. 6 J, X$ b1 X: k2 v+ H( T5 n8 n
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 P' C! s  @# O" K  _* N* R: x
  1622. ; internal/script encoding.: c& N. Q, m3 ^3 n5 [  i
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& @. [* Z; z5 t8 t
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    4 V8 q: F/ J% ^6 ?% w
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " s$ U2 ^; D- c
  1626. ;mbstring.internal_encoding =. z7 j! E3 p5 `7 t  E0 s( B

  1627. - j/ P- [# f+ j$ W2 R( s5 g' ?3 L
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 v3 W& B9 C7 L( [7 j
  1629. ; http input encoding.1 S; c& B2 U& w: S0 \/ E. T+ r  K
  1630. ; mbstring.encoding_traslation = On is needed to use this setting., }/ \1 m$ \' q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.8 c1 Y/ i! O' \! ~4 B, a# @% G  g. u
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input$ y1 `- t" @; L9 r4 v! [  t
  1633. ; http://php.net/mbstring.http-input' S7 D9 r. p1 P
  1634. ;mbstring.http_input =
    3 @4 U' \1 d8 i" h4 ~- v0 o6 A. u
  1635. / I3 M2 q. A5 p, \! O4 g
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 y+ w# X$ F/ o3 p+ d3 x( j9 `' B
  1637. ; http output encoding.' C$ Q+ Q9 n, j' Z. C) C
  1638. ; mb_output_handler must be registered as output buffer to function.% `* t2 L+ l: {5 ]# D8 d
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! q1 R. W/ w3 \) o" \% W  [
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output& E6 i) t' N5 g8 Y! s5 W
  1641. ; To use an output encoding conversion, mbstring's output handler must be set, R* [0 P4 f& D0 n7 Y3 K% d
  1642. ; otherwise output encoding conversion cannot be performed.
    : r9 I) R( {' |. Y+ t( A
  1643. ; http://php.net/mbstring.http-output
    & [$ _: d5 L! ^5 V* u3 u
  1644. ;mbstring.http_output =9 z, I. P- F9 X& j5 d# s5 a

  1645.   A3 M9 X) d8 ~+ x# P
  1646. ; enable automatic encoding translation according to  A4 u, w# H9 y
  1647. ; mbstring.internal_encoding setting. Input chars are
    , o. V: O' ?. h4 u! k
  1648. ; converted to internal encoding by setting this to On.0 _5 }; k/ V" g/ }/ S2 U
  1649. ; Note: Do _not_ use automatic encoding translation for- V9 m9 d( e( U1 z; {* S% [
  1650. ;       portable libs/applications.
    & B+ C5 e1 g2 x; e" t# ]5 O
  1651. ; http://php.net/mbstring.encoding-translation: c' p# B% B* Q# z+ G
  1652. ;mbstring.encoding_translation = Off; Z9 ^4 p7 P' g# M2 o" B  s

  1653. . s# V; \/ S3 q' r  Y7 J
  1654. ; automatic encoding detection order.
    . x! S' v; [3 f1 j# t7 v
  1655. ; "auto" detect order is changed according to mbstring.language
    0 y3 c6 z1 W6 Y& ^; B& X
  1656. ; http://php.net/mbstring.detect-order
    6 z5 T" g$ ^( F2 e
  1657. ;mbstring.detect_order = auto
    " ?1 W* J* B. G' {

  1658. 4 _) A: B) |  Z8 P4 n
  1659. ; substitute_character used when character cannot be converted" q! `9 }% Z. H3 [1 c
  1660. ; one from another
    0 c" Y, t# l- }: E4 ~' L7 s' P+ G
  1661. ; http://php.net/mbstring.substitute-character
    # f% _' Y% J- X2 n% y/ r
  1662. ;mbstring.substitute_character = none
    ; L# m0 j" ]) J8 U0 `1 a
  1663. 0 k3 r" A* B  k  n: x9 `
  1664. ; overload(replace) single byte functions by mbstring functions.
    , h  I# v$ L# N1 L
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 w7 V$ V2 P2 s/ S
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % c6 L* P5 t" `% m! y$ N& j" F2 e
  1667. ; For example, 7 for overload everything.# K, k* x2 E, K5 j" ^
  1668. ; 0: No overload
    % W% f) b, g6 r$ H, m' R) h
  1669. ; 1: Overload mail() function( \. ?8 Y+ y; C; a" n, d; s4 k0 H
  1670. ; 2: Overload str*() functions  [) C( O3 f) `, @/ O7 c, X
  1671. ; 4: Overload ereg*() functions
    ' n. w+ X1 j/ n1 G. @0 f; U- c
  1672. ; http://php.net/mbstring.func-overload% p' H$ a% W1 e. C; K: F5 _  |* \& i1 Z
  1673. ;mbstring.func_overload = 0- C/ u1 Z4 y; @) y/ q; n

  1674. * L3 u" ^3 S2 t
  1675. ; enable strict encoding detection.
    5 q7 l8 O" j/ n: V& v' ~7 w3 k( N% k
  1676. ; Default: Off: [$ W8 ]" F' f
  1677. ;mbstring.strict_detection = On
    3 A: g: ~* }6 ?3 q3 X% u4 c9 T
  1678. 6 A9 e5 }% J: U) |
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()6 \7 k0 }5 U9 I
  1680. ; is activated.9 q2 g+ p! c& @$ t4 k7 p4 ~
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 S$ P+ ~; Z, E( s
  1682. ;mbstring.http_output_conv_mimetype=
    6 T; k- @1 \, a% m

  1683. $ H2 T5 [% [2 |+ ?
  1684. [gd]
    ) `1 I8 ^/ I5 p6 e  N6 H6 ]
  1685. ; Tell the jpeg decode to ignore warnings and try to create% W  r5 n5 N; r
  1686. ; a gd image. The warning will then be displayed as notices# K: l% Q' [/ N+ e9 i1 o; v2 g
  1687. ; disabled by default: u; n5 |. ^1 {. ^. C, r- w4 R8 |6 m
  1688. ; http://php.net/gd.jpeg-ignore-warning
    1 Q! [! l% `8 M. U, U. H1 ~$ P
  1689. ;gd.jpeg_ignore_warning = 0$ `% g' Y2 V  t
  1690. 2 m3 }' O; k  \* W
  1691. [exif]: `# c! q" q" `; G0 ]. s7 M6 N
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.9 ?5 g1 ?, J( `$ |
  1693. ; With mbstring support this will automatically be converted into the encoding4 g: c4 a" R9 W% @
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 ?) t# W" T5 @, a+ }
  1695. ; is used. For the decode settings you can distinguish between motorola and
    : l7 z" [. Y2 X; j5 H) _8 l+ G4 V
  1696. ; intel byte order. A decode setting cannot be empty.
    5 T2 L) n7 b( m& V. U3 d- X7 h
  1697. ; http://php.net/exif.encode-unicode
    ) W+ ]2 L% v" g7 Z" H
  1698. ;exif.encode_unicode = ISO-8859-15
    / N& Z& Z/ q7 k7 h  G) V- M

  1699. / w6 s9 k. y3 S( `; W  Z, t* {
  1700. ; http://php.net/exif.decode-unicode-motorola
    + m9 W. n+ l1 j9 q% i) M
  1701. ;exif.decode_unicode_motorola = UCS-2BE: E( L1 Y8 y% {- Y
  1702.   Z  o5 d: I# F
  1703. ; http://php.net/exif.decode-unicode-intel
    ! J- r" z- m: q9 s0 @
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ( {# [* ^- h& ~+ w0 Y0 l6 Z: t: ^
  1705.   T6 t/ e$ D, \; T5 i" R) i/ r
  1706. ; http://php.net/exif.encode-jis
    * T' p( D" u4 @3 G( U: x; ]
  1707. ;exif.encode_jis =
    ' t) P/ y& h1 l  C: r3 q
  1708. , W( c9 G* G/ N, h) q( E' C
  1709. ; http://php.net/exif.decode-jis-motorola
    / p$ X* {% X  `. E9 |- W" a
  1710. ;exif.decode_jis_motorola = JIS5 L; {3 D( l# i) A9 t1 y3 s: z

  1711. 7 n( u0 L7 c8 G7 U0 p5 k8 Z" o8 R
  1712. ; http://php.net/exif.decode-jis-intel
    4 r: S% J( Z/ t1 k2 k4 x6 B% @
  1713. ;exif.decode_jis_intel    = JIS8 x& p6 a! c4 t' r0 M
  1714. 2 \* m# u0 C; o) [1 }
  1715. [Tidy]! c7 J  E# A5 k& S! a, L( n
  1716. ; The path to a default tidy configuration file to use when using tidy
    ; J  l7 m+ M& j" ]5 I/ {7 h. ^
  1717. ; http://php.net/tidy.default-config+ T. O: Z5 r" U: r. N! s: N
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % {$ V3 O8 G6 @* a  E9 y4 y, Q$ a

  1719.   Y2 Q" n9 P/ t/ g0 {
  1720. ; Should tidy clean and repair output automatically?
    " e6 q; l; l; d) e
  1721. ; WARNING: Do not use this option if you are generating non-html content
    # g) j& S$ C! l1 [, C$ _
  1722. ; such as dynamic images
    ; q. F+ \' p0 ^
  1723. ; http://php.net/tidy.clean-output* P+ }' a* G3 a  p6 j
  1724. tidy.clean_output = Off
    & y; q" p$ }+ ^
  1725. 7 d5 B& _- \7 D! ~
  1726. [soap]
    2 E" M" Q& T; }7 V8 H
  1727. ; Enables or disables WSDL caching feature.; F6 B0 i" q2 C% b
  1728. ; http://php.net/soap.wsdl-cache-enabled
    , ~) g& j/ X. {4 E* s, g
  1729. soap.wsdl_cache_enabled=1
    2 G4 W3 h3 R  a1 J9 a
  1730.   e* P2 v5 T, N4 {+ o$ H
  1731. ; Sets the directory name where SOAP extension will put cache files.# f, _8 n! \) @/ ?6 W
  1732. ; http://php.net/soap.wsdl-cache-dir, Z8 ^' \: p! I2 c& r/ j
  1733. soap.wsdl_cache_dir="/tmp"
    / }# ~8 F* h  z; L
  1734. ; D: h' }' c8 ^) j
  1735. ; (time to live) Sets the number of second while cached file will be used4 j& F, D+ j& z1 F+ l5 D- b
  1736. ; instead of original one.
    & M4 f7 i) ]8 Z* L6 l! b( d+ |
  1737. ; http://php.net/soap.wsdl-cache-ttl3 ^: S( v" i+ O
  1738. soap.wsdl_cache_ttl=86400
    $ i1 f! \- N. D5 t7 X

  1739. 5 H0 I6 f$ _" F3 C( v
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)# \8 x- T* q0 ^1 H5 G8 _5 ?3 G) z! ~  n
  1741. soap.wsdl_cache_limit = 5* T0 s8 C/ |) |* p4 A

  1742. ) e$ o# x) I/ p
  1743. [sysvshm]
    & d) H) u& M; G2 s/ @3 X
  1744. ; A default size of the shared memory segment8 P- O  q0 r+ }: B1 }; H
  1745. ;sysvshm.init_mem = 10000
    ) J" e5 \/ L8 K1 Z9 r1 G& A
  1746. + s5 W. n, q/ ~, f; h( p
  1747. [ldap]
    2 ?: H+ ?$ M2 q! r1 [
  1748. ; Sets the maximum number of open links or -1 for unlimited.+ ]: s$ w; Z0 I
  1749. ldap.max_links = -1  D: Q8 l  A$ D/ ?- I
  1750. $ m4 F8 z2 b7 b" C) {6 \8 F
  1751. [mcrypt]2 w( T0 R! |' ^' L9 z/ C" q
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open" U& O) V+ F6 T  K% t; z
  1753. 6 B: d+ [  ]# z2 K- l) \7 G: H
  1754. ; Directory where to load mcrypt algorithms
    * ~# U" v, I/ A4 ?# ?
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* _* Z7 w; C$ Y3 [  D
  1756. ;mcrypt.algorithms_dir=
    9 N. @1 n9 o" p6 I6 Y* M

  1757. & Q0 @5 h$ q/ U) H
  1758. ; Directory where to load mcrypt modes
    / H# W. M7 E6 `" m
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 |: E5 }4 C) ~4 V# n2 J) `
  1760. ;mcrypt.modes_dir=
    9 v: @! i  y. h* E
  1761. % O/ ]' @9 U/ V8 {4 v
  1762. [dba]) E$ ^/ l1 g5 E
  1763. ;dba.default_handler=
    + {' v' l& o7 `, \; W

  1764. & y3 D1 {& H$ G9 C5 Z
  1765. [opcache]+ [, v. `' F, I- ^* l4 G$ \
  1766. ; Determines if Zend OPCache is enabled% L+ a7 g9 d: x4 P
  1767. ;opcache.enable=03 L- P, u1 o$ k4 |1 l" Y  `
  1768. ( \4 ^2 s1 ?% n) |: @, h
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 x8 H/ @' }) b% ~) ~5 Y  e* Y2 t
  1770. ;opcache.enable_cli=0
    ; C2 q3 s% \' V  b4 U; ~0 ?/ G

  1771. $ Y) x* w1 l, L3 g. x
  1772. ; The OPcache shared memory storage size.% I7 H' k# E% C8 w) q9 c# p7 I
  1773. ;opcache.memory_consumption=64
    0 j% D7 ^( f" P! [* j
  1774. * Z) T! h/ ~" F# T
  1775. ; The amount of memory for interned strings in Mbytes.  T$ d9 C1 d. [5 h7 B
  1776. ;opcache.interned_strings_buffer=4. w7 z/ v1 ^- y$ s
  1777. : o/ x' i9 f- `9 p: c) X1 u+ |( R
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.; b) Y! j! s/ F, v; \2 D$ A( `  d
  1779. ; Only numbers between 200 and 1000000 are allowed., B: a; I) l+ h* b& A3 l9 S6 Z
  1780. ;opcache.max_accelerated_files=2000
    4 U0 a" |! Y4 H+ e- f) _. S

  1781. * X6 m3 v2 }+ b* j4 m
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    1 B8 y( N" M5 W6 B6 u& Z- V3 v6 K
  1783. ;opcache.max_wasted_percentage=5+ O' G6 Z- H+ ~, Y
  1784. & {2 p- O; d8 Y: X: }, k9 G
  1785. ; When this directive is enabled, the OPcache appends the current working% R; B, ?/ `1 a8 a* }  Y
  1786. ; directory to the script key, thus eliminating possible collisions between
    0 ]$ ~: i0 J, ]  l' \0 b9 [
  1787. ; files with the same name (basename). Disabling the directive improves
    " t! u; v$ H1 [2 k
  1788. ; performance, but may break existing applications.
    9 c* g( `' N/ ~
  1789. ;opcache.use_cwd=1
    8 d1 U2 a* s& o: o- p$ w

  1790. , q" r- S* p0 L
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ! @0 h8 z4 W' b+ z
  1792. ; webserver for changes to the filesystem to take effect.. Z3 U) ^9 t- }! R& |8 C# h& K
  1793. ;opcache.validate_timestamps=18 w  _" J; D# e, I

  1794. ; {3 t- D  ~8 t) f3 s# s5 ]2 F
  1795. ; How often (in seconds) to check file timestamps for changes to the shared% a. H+ ], P. w3 r
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    0 x: z/ {6 ?2 O9 A
  1797. ; once per request. "0" means always validate)
    ; h0 x8 n; ]5 B( M6 a5 a' q
  1798. ;opcache.revalidate_freq=2/ T2 J2 m% F2 @6 U& E1 s
  1799. & J% X( ^( I2 T) q: ~5 \
  1800. ; Enables or disables file search in include_path optimization
    5 ^5 g$ a: i; p0 K
  1801. ;opcache.revalidate_path=0, Q, r/ ~$ H, t- {
  1802. . e0 W7 a) {& P! v$ r2 z
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " p  w. X; R1 S7 T
  1804. ; size of the optimized code.
    5 ]& `( c% V) D. U* A7 P4 t" u
  1805. ;opcache.save_comments=1
    - M3 U9 `& d6 \5 ?- T% V3 t

  1806. 7 s3 g' q* ~, Z$ D  t% Z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    $ N$ E9 z0 e, J( e: P1 n; [
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    0 t: \& A5 _: H) b5 E5 J
  1809. ;opcache.fast_shutdown=0
    ' y, m- h- i6 h/ ~9 O" Y

  1810. : O+ O2 y% R: K2 N3 x, L
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    - I7 S0 f- n: j2 F1 r: ^7 a, U
  1812. ;opcache.enable_file_override=0
    8 N" R" m; d& X' r
  1813. 0 {2 z  W$ G6 @4 i) Q5 U
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
      g4 B* x& C! v
  1815. ; passes
    1 s1 D/ [% t$ \, {% X: D
  1816. ;opcache.optimization_level=0xffffffff! T8 m, J1 E4 E
  1817. $ p" g( |5 V) G( j# d& V* \
  1818. ;opcache.inherited_hack=1) E! `- g/ Y0 C4 }0 L
  1819. ;opcache.dups_fix=0
    5 u9 f3 ]2 R- J( e) {8 I* X' }1 Y

  1820. & V, {: b4 i- [5 I5 C8 w
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ! I2 }, X: P3 f. F/ [+ c9 Q
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    + G! K: N- |6 F$ @. a3 e' B/ H
  1823. ; that should not be accelerated. The file format is to add each filename# }. ~+ g0 q% A' U
  1824. ; to a new line. The filename may be a full path or just a file prefix! r# \4 H9 Q+ a$ Z8 g0 {1 L& I
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    2 i- \+ \5 S9 t: `; s
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ' C1 R9 T/ y1 h! k% H' u
  1827. ;opcache.blacklist_filename=
    ( R8 G+ d/ R/ a

  1828. 4 L9 X  m4 D7 g, O. n
  1829. ; Allows exclusion of large files from being cached. By default all files
    - w9 I. `5 `. q- h2 i
  1830. ; are cached.7 k1 [# d8 N+ m" p- W) V, @. Y; u
  1831. ;opcache.max_file_size=0
    1 s. L  D2 y4 Z4 B$ k0 W

  1832. + f5 E$ {9 u4 k; _
  1833. ; Check the cache checksum each N requests.
    2 l- \5 \% D7 g1 d' B
  1834. ; The default value of "0" means that the checks are disabled.6 s# T1 ^" q$ L# O
  1835. ;opcache.consistency_checks=0, |* B5 H; n2 q1 J' K8 _, `0 A6 e3 k

  1836. $ e3 _4 {0 X; y9 A  y
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    2 f" A' C* T1 J9 u2 L7 B
  1838. ; is not being accessed.
    ; X) \/ `2 ^! `3 _5 {
  1839. ;opcache.force_restart_timeout=180% w# [( S6 t6 C$ c# y/ \; L  n; m0 S
  1840. 3 R% S1 F9 x# Z" z) S
  1841. ; OPcache error_log file name. Empty string assumes "stderr".. z( J% }4 {! O! ~. f5 i/ g
  1842. ;opcache.error_log=' ^& m' x+ }7 Z% J( {  o

  1843. " m1 \( q. `# X4 j
  1844. ; All OPcache errors go to the Web server log.
    # Q3 G, C! R# j
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.6 f, x0 Q! j1 P7 r$ F' g1 m
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
      b% Z/ b" H7 I6 Z$ _+ `# ?
  1847. ; debug messages (level 4).; _2 L' x& \6 t8 h; R1 {" m- y3 r
  1848. ;opcache.log_verbosity_level=1
    . [% G5 K2 G' J& X8 o$ @/ O9 e

  1849.   W2 O& J1 Z1 z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.5 S! _9 n# T+ a# h9 H' C" x
  1851. ;opcache.preferred_memory_model=+ K6 a9 L9 u/ q- B1 n

  1852. ! Q& i/ y8 q5 i( ]
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ' q# i$ |7 Q7 z& [
  1854. ; Useful for internal debugging only.
    / `! U5 O5 _" R$ X! g
  1855. ;opcache.protect_memory=06 \# ]* r) E5 K7 A

  1856. ; l; W  d( e3 ]" u# O$ Q6 M  `6 s
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is3 m4 W: `6 X% k
  1858. ; started from specified string. The default "" means no restriction# Q- z" M2 B! V; O6 J
  1859. ;opcache.restrict_api=
    9 {* a" P( {1 j. C+ ^# R, H

  1860. 0 f. g1 Z7 U! J8 g" B, `& U
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP/ S% |$ P2 j2 I( D
  1862. ; processes have to map shared memory into the same address space. This6 J  C: \3 N" X/ b1 j6 H' q: e: N: ?
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    . r) _0 M7 A  W. |) }
  1864. ; errors." o9 S1 P; R0 E+ M9 \
  1865. ;opcache.mmap_base=2 s# r4 @$ r2 y2 A2 }, [

  1866. & O2 h) a- \7 \$ g
  1867. ; Enables and sets the second level cache directory.
    4 C5 i: c. l6 Z
  1868. ; It should improve performance when SHM memory is full, at server restart or0 o5 `1 C( X) L; b! ]! ^
  1869. ; SHM reset. The default "" disables file based caching.
    " Q8 Z! `" _% ^+ g$ W' h9 L+ o
  1870. ;opcache.file_cache=
    6 }6 H; K, p2 m5 L% s4 L6 i
  1871. " v( I: H1 ~3 j) y) [1 x' m, U
  1872. ; Enables or disables opcode caching in shared memory.
    # H6 |8 @: f0 E9 o3 f- c# d0 `
  1873. ;opcache.file_cache_only=0% l" ~) L" j. \# z/ H, a
  1874. " e$ Y5 p' a2 p- S
  1875. ; Enables or disables checksum validation when script loaded from file cache.3 c9 n, u4 _/ P2 j$ ]  [' W7 b: S
  1876. ;opcache.file_cache_consistency_checks=1
    4 b7 f7 S0 D! y
  1877. - f0 J$ \9 I6 Z! S+ f8 x$ @  x
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to7 G5 L! A% S7 H, a- F4 b$ ~4 e
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file4 B) [; n0 y2 p
  1880. ; cache is required.
    ' o; o. h0 W) r% n  S
  1881. ;opcache.file_cache_fallback=11 L; t/ G# W* ]: P5 L
  1882. $ y6 i  _7 @1 ^( a+ {) T0 A
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES./ q% y6 o  [* q. l5 o! `) G
  1884. ; This should improve performance, but requires appropriate OS configuration.1 o9 M* U+ Z! g/ u( d( d
  1885. ;opcache.huge_code_pages=13 f, ?8 {  B2 l; m! S
  1886. 8 k( y( h. D2 R/ Q5 L
  1887. ; Validate cached file permissions.
    9 u% }8 H+ E/ _2 n. H
  1888. ; opcache.validate_permission=01 t$ S. j7 B& B2 P; D
  1889.   l' K# x4 }! r3 {* j
  1890. ; Prevent name collisions in chroot'ed environment.
    : ~5 L0 S3 D; Z1 g- P
  1891. ; opcache.validate_root=0! J$ z! s7 b8 n) ^

  1892. # f8 l; {: V3 R* J4 X7 w, w4 O1 c0 s
  1893. [curl]
    # S8 K% n1 N/ c( ^9 s3 V
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 o2 E9 R2 T9 m0 e; ^8 J
  1895. ; absolute path.' t6 T6 r1 a  H! v6 F" M
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    1 e  m: O/ f) e$ v: o' P2 D

  1897. & C& ?( z+ V3 K, J, o
  1898. [openssl]
    9 ?/ l' t/ R9 n; |
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ; V! s% f' q  P: E  |  r
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 `2 O0 A! a" z; E. S$ y% u
  1901. ; not specify a value for this directive as PHP will attempt to use the
    3 L) J7 I2 g5 C5 Z& }
  1902. ; OS-managed cert stores in its absence. If specified, this value may still5 S5 C- B0 c  H9 s& I0 ?
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) }, w- _1 O; _) W
  1904. ; option.: U) ?4 J. M* H6 I/ o5 ~5 N0 W! @
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt; R; }2 n, n5 @9 r. {0 x# u& O) _
  1906. * e1 G7 W1 Z5 R( A# z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    . X6 {" b) O/ g' ~: `
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ( G9 N. i4 ]2 t# c
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    0 F3 k" I4 o  i9 F( L9 L. k' r
  1910. ; Most users should not specify a value for this directive as PHP will
    8 r) @/ Z3 N6 r. Z& `/ a: ~
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,) U/ N* h4 |1 }0 y1 U
  1912. ; this value may still be overridden on a per-stream basis via the "capath"& y7 N& A+ R9 j, ]0 v3 u  P
  1913. ; SSL stream context option.
    ! G5 M! S* g3 X7 o7 C
  1914. ;openssl.capath=1 a3 G+ h* q# @) d
  1915. 3 i6 |, o" L- q6 J& f
  1916. ; Local Variables:+ j; Q: z( Q% \  R5 i
  1917. ; tab-width: 4
    : C& I8 ]2 Y" ]
  1918. ; End:
    + }/ O  s+ Z0 P) W0 W

  1919. 0 }' M& z, p: S
  1920. ;eaccelerator
    , m6 o/ J1 [8 `4 G& y- a
  1921. % \# I6 s& |8 w+ X; t. ?
  1922. ;ionCube6 t' V1 {9 m& [- q

  1923. . H4 t# m8 u: Q# P2 }& g
  1924. ;opcache
    ' K  t$ m; d5 {; G, K

  1925. ! W& w$ ~6 T- [5 m9 y. e) e5 P
  1926. [Zend ZendGuard Loader], a  G) K9 C0 P: w; C& e/ _
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line./ ^( q2 D! `) r6 d8 Q0 L( P+ N) I
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so% C: B" X" w8 n- j, Q
  1929. ;zend_loader.enable=1
    . e; w8 T3 x3 `8 o
  1930. ;zend_loader.disable_licensing=0
    - P$ `+ B8 t/ t/ [7 G
  1931. ;zend_loader.obfuscation_level_support=3' ]% q; f8 D7 L. d4 U
  1932. ;zend_loader.license_path=0 }9 e, K& J6 R
  1933. , ?' }. W  r7 y8 i' j$ F4 K
  1934. ;xcache
    & ?! B, A; i5 t& Q/ x& l  ?
  1935.   }+ ?/ Z/ b, B1 n; y
复制代码
+ ~1 l/ ]; X5 e3 u

$ [- V" ]& g. t# X& g& d. |5 \" ?9 |) w7 b0 f: l$ q* g

4 R; U& @( g* f  b9 c4 y# U8 x0 c' s  V# L* x
% o, g9 j* G( `  |: A

* _8 A; G$ L6 ^2 S1 t1 ^: ePHP5.6版本原始设置
' i# ~( E- Y$ d) c1 B1 f
& T  s1 G6 j' Z; j
  1. [PHP]2 B4 G% M8 K/ E5 g: D7 A7 H) @
  2. 0 ^( U1 k; V9 b: B& v
  3. ;;;;;;;;;;;;;;;;;;;" m+ z9 f1 C  d, b7 x1 ~7 z3 f. J
  4. ; About php.ini   ;" @+ |$ L( U+ c0 _  m# g0 R
  5. ;;;;;;;;;;;;;;;;;;;7 C% F# z) ^" o7 Y
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    1 T6 x& m- Q. k$ A
  7. ; configuring many of the aspects of PHP's behavior.
    9 W( i& q# b5 L* m

  8. 6 M' t8 {. v7 {' a. v
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( t0 q+ C5 o& b
  10. ; The following is a summary of its search order:
    6 F  f1 Y& K+ Z$ C: n; p
  11. ; 1. SAPI module specific location.
    8 P0 g& Q: f$ R
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ) x/ `( r" r& O- h" F
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 q1 ?* ~7 \/ ?! O% O" W2 W! E+ \
  14. ; 4. Current working directory (except CLI)/ w& m+ ]! _* ^( k
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ! n5 q  t4 [+ m4 x) ^8 @9 p
  16. ; (otherwise in Windows)% i: b! H5 ]% y+ a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the+ R, E8 [$ ^3 n" x
  18. ; Windows directory (C:\windows or C:\winnt); ~5 X# Y  u( ?6 r
  19. ; See the PHP docs for more specific information.) F+ C8 D* T: J4 f9 o+ ^$ g; f
  20. ; http://php.net/configuration.file
    5 d; D. R: b0 |/ A5 w6 m

  21. 3 J0 E( B# D& |& E. [
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 L" z' k% d: ~* {" u5 `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- H9 x- B! i* V( T; J. x3 z  x4 U# v
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 ~1 H% I6 ?/ k3 d3 t* d! a: S
  25. ; they might mean something in the future., I, n4 [6 Y5 f- Z, |* w8 L5 ]
  26. $ {- R5 I- N, `+ f! F' {  S# ]7 h
  27. ; Directives following the section heading [PATH=/www/mysite] only& p2 e- c1 l/ \% u" D
  28. ; apply to PHP files in the /www/mysite directory.  Directives) L& ~5 O- K# F
  29. ; following the section heading [HOST=www.example.com] only apply to1 G8 r& p3 j+ ]; r8 t# B$ g+ ]
  30. ; PHP files served from www.example.com.  Directives set in these
    ; a& `5 ~6 O* {" R3 `
  31. ; special sections cannot be overridden by user-defined INI files or
    7 H9 A( t3 p" E. {0 ?- [3 r
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 [+ d" M7 L5 s' C5 A% L
  33. ; CGI/FastCGI.
    . P6 Z5 z( \( y7 [
  34. ; http://php.net/ini.sections3 M7 n$ b  l8 P- [5 A' [1 P  M( i

  35. 4 U2 D" [$ j- p( ?2 A$ C
  36. ; Directives are specified using the following syntax:
    & V( e" f5 H$ @, w/ u
  37. ; directive = value, U1 P+ x9 S4 O$ e+ N" G/ C0 o" F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    + ?4 c# Z& c. ]
  39. ; Directives are variables used to configure PHP or PHP extensions.% y$ l& `: ^0 d6 x
  40. ; There is no name validation.  If PHP can't find an expected7 D  p6 C4 m' o9 V
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - x2 S( B! A) L/ j/ j# W6 x' R' V9 U
  42. ! h5 @) |) C9 L$ T! Z4 K9 r& N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    . F9 b: Q0 `/ h$ q, E5 |' M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression# Z9 B% L, }8 Q3 C# c9 \' t, Z
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ! K8 }3 y7 v3 P& a0 s. Q4 m5 i. |
  46. ; previously set variable or directive (e.g. ${foo})2 R' H+ }- @( c% ^
  47. , i8 j& P+ M; E+ }5 M8 i3 M5 G
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: g5 \" J2 A( ~$ T+ x
  49. ; |  bitwise OR
    8 z* B4 _6 j4 B# j; u) ^
  50. ; ^  bitwise XOR/ v$ ?, v# Y" w# D# ?1 [
  51. ; &  bitwise AND# |& {9 v3 w3 q1 Q/ }; s' @% Z
  52. ; ~  bitwise NOT
    ; x' H1 O3 R! o1 L- _' R; ?
  53. ; !  boolean NOT
    $ H3 C, V) X) B% R

  54. 6 H( ^  F2 ?' H  t4 W9 A
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' x7 {9 W# }, E& v
  56. ; They can be turned off using the values 0, Off, False or No.
    - D: Q  Z* j. x1 q8 Y" d

  57. % ?+ s: M9 C% G3 ?* k$ |
  58. ; An empty string can be denoted by simply not writing anything after the equal5 E6 |7 `* `* @9 j# L  Q2 F
  59. ; sign, or by using the None keyword:
    ; P+ H; b! ]7 ?0 n  S; {
  60. + e. r; G" X/ V
  61. ;  foo =         ; sets foo to an empty string
    " M3 w5 u" L, q. ], F: |
  62. ;  foo = None    ; sets foo to an empty string
    , P  A+ M7 E4 Y5 P2 n7 P  ?& N
  63. ;  foo = "None"  ; sets foo to the string 'None'7 S8 G8 _) {0 [/ G1 q! t! n
  64. * O* y( G- r+ W5 s  H( u/ S
  65. ; If you use constants in your value, and these constants belong to a2 Y. O$ ?, c8 I5 |& [
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; `) {# f. T$ s# `- r+ n) D
  67. ; you may only use these constants *after* the line that loads the extension.& ~0 ?! w; v4 o( O9 C2 y/ z
  68. 3 F& z& J9 \* s8 s# k
  69. ;;;;;;;;;;;;;;;;;;;
    0 e$ E4 D. ~6 {+ B' ~# G' s' D
  70. ; About this file ;+ j1 W4 D! I- p$ \4 `9 X& T4 y& O# k
  71. ;;;;;;;;;;;;;;;;;;;' O* @; ]% g  v4 m* C6 v" x' B
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : Q& f8 B* A4 N6 a# o7 \
  73. ; in production environments and one that is recommended to be used in
    ) B( l7 v4 T! l6 \. _: a* d
  74. ; development environments." o0 Y+ k% }0 X! s& O2 P! N
  75. + v6 Y3 H4 r& `4 d: F9 ^& l2 {* O
  76. ; php.ini-production contains settings which hold security, performance and* s9 H5 [2 m- e. u, I% R
  77. ; best practices at its core. But please be aware, these settings may break
    % H4 L" u+ I/ g  M* P
  78. ; compatibility with older or less security conscience applications. We5 ~" V: _4 c7 Z& y
  79. ; recommending using the production ini in production and testing environments.
    7 y1 G5 G/ i2 y/ C1 }

  80. & {6 V1 L6 b, Z& a. k3 w( {
  81. ; php.ini-development is very similar to its production variant, except it is. W; [2 u. m0 a' Q7 m7 f
  82. ; much more verbose when it comes to errors. We recommend using the- n0 ^% I# T4 j
  83. ; development version only in development environments, as errors shown to
    7 A( N' M1 Z) R, M% ~' v5 }% c8 _
  84. ; application users can inadvertently leak otherwise secure information.
    6 l4 {* ~+ u  l0 E. v9 q- X% G

  85. : h0 J0 S& l+ T) `$ N- Y/ j
  86. ; This is php.ini-production INI file.+ C; @. X# o% \) [$ ^, u

  87. 1 f9 s, b- [& \, o+ I# [4 I
  88. ;;;;;;;;;;;;;;;;;;;
    " Z5 B# K5 V# c8 M/ G
  89. ; Quick Reference ;
    8 G5 r! ?/ ?8 A+ I
  90. ;;;;;;;;;;;;;;;;;;;' M' i6 C# s9 @# S5 b2 g, Y& U
  91. ; The following are all the settings which are different in either the production; `) z/ ]- M& I8 z9 \8 u$ c; S' `
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    8 o* I2 R2 D; w( P! R" R* o. \9 `
  93. ; Please see the actual settings later in the document for more details as to why
    % g$ W2 M6 p1 M# q6 D0 |9 Y/ F
  94. ; we recommend these changes in PHP's behavior.
    9 ^4 S2 o4 T( B7 n0 T! l8 ?
  95. , F  i7 Y. x/ w
  96. ; display_errors2 c( k& A$ ?0 |; A" H( w
  97. ;   Default Value: On
    7 Z$ C! _7 G& V; r& D; i
  98. ;   Development Value: On
    3 I" x+ y& s& a: E" ~
  99. ;   Production Value: Off
    8 l5 ^# M6 l, y/ a4 V" E) M, Z

  100.   j# @: S; N9 l4 F/ I6 D# [
  101. ; display_startup_errors
    ! y1 C0 T# V) X5 H+ v# B5 p
  102. ;   Default Value: Off. d7 W( b9 h; `
  103. ;   Development Value: On
    3 R. s1 Z; Q! @0 x% Z
  104. ;   Production Value: Off5 K* a8 ]8 k% w" q; N) c) Z

  105. 5 l4 N0 q/ P! I' _
  106. ; error_reporting5 {) |# m$ `. t' Z# L1 j/ K) e5 U
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 a- \4 J" ^- D3 n
  108. ;   Development Value: E_ALL1 i9 W' l5 p5 s, e5 }
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 |9 u, h( Z7 M% @

  110. 9 h- J6 ]/ ~/ [5 w
  111. ; html_errors
    1 w8 @% o5 I7 g2 A, G" J
  112. ;   Default Value: On4 ]/ u( x+ b* T9 p; s& V7 T
  113. ;   Development Value: On6 g$ [8 C" e2 }7 F) F0 d- |' j
  114. ;   Production value: On
    . ~6 N' M0 w' f7 b

  115. - A- h* s$ W: ]1 S$ Y1 r) m8 z
  116. ; log_errors! {- }/ _' q4 b
  117. ;   Default Value: Off+ C( x/ [; H7 y1 Q& }2 H# I
  118. ;   Development Value: On) \; U1 E3 @! p/ w% w1 e6 d
  119. ;   Production Value: On
    # D9 i0 P- d, l5 N+ o$ E

  120. + Z! r- ?0 |3 c2 K, R
  121. ; max_input_time
    2 j- ~. H2 x% K% i2 i, _$ A% t6 H
  122. ;   Default Value: -1 (Unlimited)
      M3 }  K- N0 `$ l' u0 V1 F
  123. ;   Development Value: 60 (60 seconds)* f2 E" |8 f; b1 s9 F4 P$ y
  124. ;   Production Value: 60 (60 seconds)
    & x% m# x# y& p) _; R
  125. 5 C5 z- {7 O) }/ r7 O6 B
  126. ; output_buffering3 K! X6 Y0 I4 v$ y) O
  127. ;   Default Value: Off" X  i$ V  f3 |  B2 D4 }4 J
  128. ;   Development Value: 4096* q/ u! c: Z3 M$ c' l
  129. ;   Production Value: 40962 x0 M! t7 E, P) \" f& L& P1 t$ U& J3 \

  130. ' E- x: D4 b" ?" d
  131. ; register_argc_argv
    . F* Y8 A% c6 V  M: G% E
  132. ;   Default Value: On
    3 P, d- ~1 k& ^+ A' b) s1 G
  133. ;   Development Value: Off/ S9 j7 b. j0 t9 H; h* O
  134. ;   Production Value: Off
    + A( A+ V  A' I+ {

  135. ) n  J9 d1 B! {; ]$ |, s# V+ D
  136. ; request_order
    # I; z* ?+ e$ @, w
  137. ;   Default Value: None
    + N6 V+ {' n4 h1 v# K0 l
  138. ;   Development Value: "GP"
    9 a9 u/ k6 `6 E/ m
  139. ;   Production Value: "GP"3 x! @( B* N$ b+ |$ X# C: o9 _

  140. # ?( m& @( V3 T9 z: ~% b- x
  141. ; session.gc_divisor
    1 N+ c: E2 w7 j' ~
  142. ;   Default Value: 1007 b% W8 s: r0 o. _
  143. ;   Development Value: 1000/ [2 }/ p! A( m; r
  144. ;   Production Value: 1000
    ! a% ?5 L. O& Z" C# d) f) x3 E% D

  145. . p) H" u+ R7 w5 v' z
  146. ; session.hash_bits_per_character1 F" ~/ u9 q! e) J/ y) M; G% c4 B: x
  147. ;   Default Value: 4" D7 ?- P& W" a; H. d6 G9 [
  148. ;   Development Value: 5
    - @# J' Z' T2 [8 d: j5 {
  149. ;   Production Value: 56 T! h( M$ z& n

  150. ! {- H! J3 h4 L2 Z" |/ Z0 @# w" B
  151. ; short_open_tag  V  K# P/ @0 P
  152. ;   Default Value: On
    1 Y! ]7 }, f- E# R
  153. ;   Development Value: Off
    , X, D3 ]1 L) U/ ^- ~$ ~
  154. ;   Production Value: Off
    2 F- |6 l( I$ G7 }* y- B" N
  155. & ^: r- b* S. W3 \; w# l, L
  156. ; track_errors* q+ }5 }4 i1 E/ h: X; I8 y% |  O
  157. ;   Default Value: Off
    0 ~) P/ M6 R5 Z3 f( m: s
  158. ;   Development Value: On
    , a4 V3 R" d* B* w. I$ Q# T( i
  159. ;   Production Value: Off
    5 c9 Q; J; c2 b0 j- I
  160. 1 {+ |7 n3 ?! |" e$ m6 }
  161. ; url_rewriter.tags
    ' e  \: X6 _* B, x' Y& `
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 W7 b6 s  Z$ k, I! e
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& Y1 K' X% a. F" i! w  e
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 n  i. v' `9 s# p) ~# r) i% b2 `1 P( N
  165. : E; R( [0 k/ \
  166. ; variables_order
    * {+ K4 _1 {7 ?, c: o4 v0 d
  167. ;   Default Value: "EGPCS"
    % j0 {. a5 Q4 l
  168. ;   Development Value: "GPCS"
    % _: J$ {' F: ?5 G, x! g9 n2 o
  169. ;   Production Value: "GPCS"' b' d! P0 I7 p5 O, y$ U

  170. / Z9 h* X- h6 [: o7 z7 R
  171. ;;;;;;;;;;;;;;;;;;;;
    + o# I  s* L7 h, E+ }
  172. ; php.ini Options  ;* b1 j6 h( o8 ~0 @5 w
  173. ;;;;;;;;;;;;;;;;;;;;1 S" S/ W1 j" m: p; \+ \  d4 m
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"0 p8 m8 v( W+ L/ a# Q
  175. ;user_ini.filename = ".user.ini"' q: B5 C. Q% w5 Y" k! }) B! M. P
  176. 9 a& ?" q$ ^% w+ L
  177. ; To disable this feature set this option to empty value
    $ a6 p! ^; M- _/ @2 W2 y/ G
  178. ;user_ini.filename =
    9 p, l6 i. M6 r: a* S- C  G
  179.   P2 G& o( B5 f2 }: ?
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)( u1 l( v" v$ `' ^
  181. ;user_ini.cache_ttl = 3000 W- z2 q9 @" V7 m1 H' `' u$ A

  182. ; N! S4 D: E6 I$ N6 z
  183. ;;;;;;;;;;;;;;;;;;;;, j2 O: c4 b3 I  Q' V0 s  f. e
  184. ; Language Options ;
    + U0 i; h: ^4 M+ y$ h  x/ R- V
  185. ;;;;;;;;;;;;;;;;;;;;' z/ k5 m& Z- u+ _
  186. ! `3 k# m2 ?- w" G
  187. ; Enable the PHP scripting language engine under Apache.
    9 Y7 s" Q/ N) L9 N& S
  188. ; http://php.net/engine
    ' w4 l5 O' n% [5 Y% m1 s6 O
  189. engine = On
    5 S4 M4 z) z& B% B5 r1 [2 ^

  190. : }% {! d* g6 O5 H4 m+ ?* w# e
  191. ; This directive determines whether or not PHP will recognize code between
    % V4 U/ K4 t/ h  l" B) H' J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ; N3 v. v; j1 v# @7 R2 E
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ! F* v( Q0 Z6 u) s3 T
  194. ; should be disabled, as enabling it may result in issues when generating XML
      p8 o! V) M) F8 D) s/ E3 L1 P, i
  195. ; documents, however this remains supported for backward compatibility reasons.7 h. f1 Q  h* Q: G
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 M5 f2 M5 A# @" |
  197. ; used regardless of this directive.
    / W, S; {) w, j
  198. ; Default Value: On; O, K6 u& m# R3 ~( d
  199. ; Development Value: Off
    + b' Q7 X7 ^) \: I, @8 K
  200. ; Production Value: Off
    $ T8 M. x% _9 x5 d! a( e3 h
  201. ; http://php.net/short-open-tag5 _1 {( D: M5 g) K+ ]3 H4 I7 f
  202. short_open_tag = On
    3 D. ^3 l7 U% @- c$ P6 ]8 T& e/ u

  203. . _% v- \9 }$ c) p8 ]
  204. ; Allow ASP-style <% %> tags.9 C. T  i, o- L# v7 k
  205. ; http://php.net/asp-tags- L3 F) G5 D7 _4 z% c$ a3 Q. F" [5 H
  206. asp_tags = Off
    9 I& T+ V! z! s( X0 ]4 ^
  207. 7 n4 A8 a! g0 M% c. l, v
  208. ; The number of significant digits displayed in floating point numbers./ D+ c' O2 C' X# A5 ^7 d
  209. ; http://php.net/precision
    / H) f+ ~) }- v
  210. precision = 14
    & ]2 l3 U" n# U8 B& D6 C& p4 ?
  211. 2 j$ w( g7 l* o3 J) p
  212. ; Output buffering is a mechanism for controlling how much output data* g2 U4 k4 _" d
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that; P/ b( J" _: g! y1 s+ J
  214. ; data to the client. If your application's output exceeds this setting, PHP
    / Z$ S* s8 m; i6 p
  215. ; will send that data in chunks of roughly the size you specify.9 ^: u5 U$ V% l9 ?* O8 I5 S
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    " B/ q4 C1 L# S( Q+ j( a5 _9 D( E
  217. ; interesting side-effects depending on your application and web server.
    % S* \* m1 H$ a
  218. ; You may be able to send headers and cookies after you've already sent output
    7 I8 R. `) }/ M( T
  219. ; through print or echo. You also may see performance benefits if your server is3 ]: x! y. E( V+ G0 T1 e+ x  O
  220. ; emitting less packets due to buffered output versus PHP streaming the output8 n! y; b2 ~9 Q
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    $ |3 L4 Z1 H5 n# [0 S
  222. ; reasons.: Q# \3 o1 B- P7 K
  223. ; Note: Output buffering can also be controlled via Output Buffering Control, k4 s: }3 e3 Z8 K
  224. ;   functions.
      X* g$ T, Z7 U  b3 H, R- ]% M
  225. ; Possible Values:
    7 H( o( V. G* k
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)/ Z8 X) F" C; I0 w2 {+ p( d" ?6 [  Y2 ~8 s
  227. ;   Off = Disabled
    . _, ]' K4 \% b+ [2 }3 {. v
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 x) F+ C9 V8 [, R
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 h. _; g7 d: L  v
  230. ; Default Value: Off6 l$ c7 y$ m  b
  231. ; Development Value: 4096
    , ?) W, c4 ]3 K6 d" ?0 {% c, i) H
  232. ; Production Value: 4096
    ( b) o7 \6 i% i5 t: j9 k
  233. ; http://php.net/output-buffering
    " |* ^+ R# K' a5 |+ r( z
  234. output_buffering = 4096
    , Y6 [) V6 t. {. f  b7 L

  235. ' Q, G  T+ Y1 O1 p- v' h& R
  236. ; You can redirect all of the output of your scripts to a function.  For
    4 ?/ W% U; t$ Z: c; C- C
  237. ; example, if you set output_handler to "mb_output_handler", character+ W( G& f# ]& x9 S  U2 Y$ z9 T7 u
  238. ; encoding will be transparently converted to the specified encoding./ X/ h1 q+ b% u
  239. ; Setting any output handler automatically turns on output buffering.
    , B7 l1 P& `7 K* s
  240. ; Note: People who wrote portable scripts should not depend on this ini
    3 A+ e( ]( S9 ?0 e$ V
  241. ;   directive. Instead, explicitly set the output handler using ob_start().6 ?; }9 k& [. L+ C/ W( o' e, b' p
  242. ;   Using this ini directive may cause problems unless you know what script
    6 P3 ~/ g# r1 T6 Q' V
  243. ;   is doing.
    9 @/ H, q! t/ y3 I2 c5 M2 S
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"4 G( N) Q* P" H% r9 g6 [
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"./ s. [3 O) h" \: _9 Z) B
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ) {4 ]3 m! ]5 o, V7 C
  247. ;   Instead you must use zlib.output_handler." D  G2 P) D6 e* ~8 |
  248. ; http://php.net/output-handler6 r0 ~! v6 D4 w: _0 u
  249. ;output_handler =
    9 G& m8 r" a) g; j

  250.   R; }# y3 T/ D8 {) a; ]( l* s
  251. ; Transparent output compression using the zlib library% j' @6 o! x) v8 G2 ?) w
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    * r: {% h4 `/ J. S: l" f: p
  253. ; to be used for compression (default is 4KB); M- }$ f, K7 X! b: }
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP7 Z8 e9 f1 r& n6 m2 N
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    9 i5 R) K" j/ y+ J$ [) f
  256. ;   compression. If you prefer a larger chunk size for better
    ; s) [5 d8 E5 K* W4 G1 T7 `+ {
  257. ;   performance, enable output_buffering in addition.
    8 z- C( ^5 O$ j( N. i$ }, }
  258. ; Note: You need to use zlib.output_handler instead of the standard0 }/ K* ~$ r+ k2 T1 q/ @
  259. ;   output_handler, or otherwise the output will be corrupted.2 Y' ]9 H2 q$ a6 y
  260. ; http://php.net/zlib.output-compression- G9 i; I$ D3 I
  261. zlib.output_compression = Off* o% D) w/ n8 w
  262. # U8 s  M4 \0 k, l
  263. ; http://php.net/zlib.output-compression-level
    . _  l6 q7 b. F  z) C
  264. ;zlib.output_compression_level = -1
    - w' V3 u, z% v, x' P( c$ |8 P
  265. 0 @1 p$ e% d1 o, U8 a
  266. ; You cannot specify additional output handlers if zlib.output_compression& p: E3 `" c7 G- H
  267. ; is activated here. This setting does the same as output_handler but in
    2 f  V4 y8 k+ h) M
  268. ; a different order.
    / [& b: A8 T* a3 K7 a0 n) D3 r
  269. ; http://php.net/zlib.output-handler* v2 A2 t+ M6 b7 p* s* m
  270. ;zlib.output_handler =
    " I6 \' @4 Z- p+ t  |3 \
  271. ) u2 s2 ?6 M) b6 y. ~, t
  272. ; Implicit flush tells PHP to tell the output layer to flush itself* e4 u: Z& K7 u( h" F1 q
  273. ; automatically after every output block.  This is equivalent to calling the
    ' l, A& p& j& _* @
  274. ; PHP function flush() after each and every call to print() or echo() and each
    , F: _9 b: L" `* T" S2 l
  275. ; and every HTML block.  Turning this option on has serious performance8 |  }$ d, G3 [  g# J7 q& E
  276. ; implications and is generally recommended for debugging purposes only.: w/ N& }2 v0 A% r! n
  277. ; http://php.net/implicit-flush
    & [, e2 _  C% J2 A. k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI0 Y/ j9 G0 u5 j1 i& Z, q
  279. implicit_flush = Off
    5 b, d9 W& F# \$ A' c4 I! W
  280. 8 Y; D6 T) _8 s( L
  281. ; The unserialize callback function will be called (with the undefined class'& h) ?  l4 U9 \
  282. ; name as parameter), if the unserializer finds an undefined class8 p8 j& |6 W8 I2 }/ l
  283. ; which should be instantiated. A warning appears if the specified function is, e0 @9 J9 H8 l' e6 M6 q0 U
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ; W) k: e0 A, s
  285. ; So only set this entry, if you really want to implement such a
    / `  d% z+ G+ a6 v9 y
  286. ; callback-function.
    : g4 M: b$ K% {/ u* G1 p; U! u0 X( q
  287. unserialize_callback_func =( L& R, W$ R  ?+ K

  288. 2 P6 P/ u( I$ E8 e$ y
  289. ; When floats & doubles are serialized store serialize_precision significant
    + r3 b8 M) P  K; O3 k
  290. ; digits after the floating point. The default value ensures that when floats( L! V, ]; C; n( |6 K/ f" e
  291. ; are decoded with unserialize, the data will remain the same.$ E6 |/ r% c% w8 w. d( _
  292. serialize_precision = 17
    & O9 _/ N$ m- l' g

  293. 2 a# w7 J/ R2 k! L1 J
  294. ; open_basedir, if set, limits all file operations to the defined directory( T4 ~7 f8 _% |- s) C
  295. ; and below.  This directive makes most sense if used in a per-directory
    7 l" ~: j) D* V' ?$ O& X
  296. ; or per-virtualhost web server configuration file.
    $ O3 Z3 W5 c3 r! c
  297. ; http://php.net/open-basedir, B4 Q. V  G: g8 o/ J* ]4 l' f2 m" A
  298. ;open_basedir =
    1 R9 C0 q6 a0 c. b. n- I# U3 O7 ?
  299. 1 \2 V. g4 N# ]/ v: g/ {2 W: J
  300. ; This directive allows you to disable certain functions for security reasons.6 H+ A  p! u" s6 Y7 l7 X4 ^
  301. ; It receives a comma-delimited list of function names., D( ?$ y8 C+ m* o: b
  302. ; http://php.net/disable-functions
    4 B, h+ Y" f: d- C  _
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' w1 r. H0 k! Z+ R5 u( C' s- A

  304. 9 Y- T$ o8 v. d& w+ `9 y  ^" @, ]
  305. ; This directive allows you to disable certain classes for security reasons.
    ) B6 J$ a0 h  r# k3 j& h
  306. ; It receives a comma-delimited list of class names.3 H! U! o1 A0 A; Z$ H
  307. ; http://php.net/disable-classes
    ( J3 w7 U& S5 g9 g3 e# o3 Y
  308. disable_classes =1 O& @) c6 s2 O0 c( {

  309. / I' [# C( E) y( R/ R. u8 @& A- R
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % S: H6 z6 n& U9 R
  311. ; <span style="color: ???????"> would work.! Q; o, Y) d1 T. ~5 F9 s7 w
  312. ; http://php.net/syntax-highlighting& y5 R4 g* c& Q5 h
  313. ;highlight.string  = #DD0000
    ( `, V! k' ^# C' y& p, f
  314. ;highlight.comment = #FF99001 r* f  c% v% N6 J: o
  315. ;highlight.keyword = #007700
    , o- ^- j2 z2 ?+ w1 Y  r2 `
  316. ;highlight.default = #0000BB
    % m5 a2 p$ }6 W% e: G5 t; h
  317. ;highlight.html    = #0000000 ?; Y' B, ^) l" t- l  I- J

  318. 1 Q1 t' l6 B0 m, ?2 p
  319. ; If enabled, the request will be allowed to complete even if the user aborts! Z* T- B, m! ]; n
  320. ; the request. Consider enabling it if executing long requests, which may end up
    1 ~) E, @4 L% q
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    3 `; f% G2 s* q1 y& B5 k: r" T
  322. ; is to disable this feature.
    & a+ _2 i9 e, q0 j; Z' _$ ?
  323. ; http://php.net/ignore-user-abort6 s5 w' I2 n, _! |! w% d; Z
  324. ;ignore_user_abort = On
    ! Y/ Y$ c0 T; w* A. x2 B
  325. . b. {! T6 z( @4 {, Q7 E4 l+ Z" t0 g
  326. ; Determines the size of the realpath cache to be used by PHP. This value should4 a9 s6 }4 z: C0 P# W9 |& Z
  327. ; be increased on systems where PHP opens many files to reflect the quantity of* B$ g5 N3 S$ `) D
  328. ; the file operations performed.5 O5 I# t% e7 y$ L4 f
  329. ; http://php.net/realpath-cache-size3 M/ V+ I' s; W( f6 ^
  330. ;realpath_cache_size = 16k" J: F/ A3 X5 d+ I) j

  331. : h( B7 }0 G7 O& m
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    , [0 d$ K0 A" f5 N* H$ m
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    , T8 V  @8 u. A# D+ w
  334. ; value.4 m0 J$ M+ d1 B3 U  F1 n! v
  335. ; http://php.net/realpath-cache-ttl
    8 E2 ?( p" |7 V
  336. ;realpath_cache_ttl = 120* B( I( i. ]3 S& Q$ z5 p

  337. : ^7 J( `! R5 S% m( F
  338. ; Enables or disables the circular reference collector.
    * @$ I  U0 V% }" D. d% w- N
  339. ; http://php.net/zend.enable-gc
    5 v( D, k6 x5 i$ F9 }. z
  340. zend.enable_gc = On7 W7 U4 Z! B1 E- K( B* O  v/ _
  341. % Y9 N5 F5 h8 b' w5 L# B9 B5 B- W
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ( }! G1 \! P% X3 g" ~
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    . J! l" G5 [1 X7 \
  344. ; encodings.  To use this feature, mbstring extension must be enabled.# I+ U; d& g& I4 C) i! v. c: v
  345. ; Default: Off2 m2 n5 d/ h4 Z% n4 K0 ]5 Z  S
  346. ;zend.multibyte = Off
    7 h6 A& e, {4 M
  347. 0 l! U! e% _' ^+ ^8 A
  348. ; Allows to set the default encoding for the scripts.  This value will be used1 d7 L. {7 V4 t1 ^1 V- G4 `
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.4 X( n2 _, g* Q
  350. ; Only affects if zend.multibyte is set.
    . k& Y: N6 S( e+ o& J! h9 v/ l; v# K
  351. ; Default: ""+ Y7 R2 v5 @( g2 N  \7 x. j' g4 X
  352. ;zend.script_encoding =
    3 Z! i: u1 M* M, r+ x+ W9 G$ A
  353. $ R# U1 D) n5 \1 p5 S! B6 g
  354. ;;;;;;;;;;;;;;;;;5 a: c% z$ e0 M5 W
  355. ; Miscellaneous ;
    9 |& W0 N& [5 Y- h+ z" S' V% @- B
  356. ;;;;;;;;;;;;;;;;;
    2 ], @- Z: I( W/ A  u& F( J9 A
  357. 4 j% A. ?5 @, @: Q+ b; o) v
  358. ; Decides whether PHP may expose the fact that it is installed on the server; u9 S/ |( c! m! F% v8 l+ q$ m9 J
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    : _$ e3 v) C0 b$ Q3 k- M4 D
  360. ; threat in any way, but it makes it possible to determine whether you use PHP% L% f' u5 ]% A" g' H1 M2 C1 Z4 Z
  361. ; on your server or not.3 ~8 f7 r6 N0 L! |9 Q& ~
  362. ; http://php.net/expose-php
    + b( F) W5 P1 \; T
  363. expose_php = On
    # n/ D& Q5 U( ^1 ~) Z& a
  364. ) p# V% `/ a/ C3 Z
  365. ;;;;;;;;;;;;;;;;;;;1 ^- L+ \# ]( ~" N2 f+ Z; t' B
  366. ; Resource Limits ;
    6 S% n" o3 X" f6 I  N
  367. ;;;;;;;;;;;;;;;;;;;- |$ B  g, w$ j" ?) t$ n

  368. ! W7 A4 W! M3 M) F* W7 G, b
  369. ; Maximum execution time of each script, in seconds
    , w& V. P( u1 ~' y8 b2 _
  370. ; http://php.net/max-execution-time
    1 s4 `# x7 ^; ^$ @1 q8 Q/ L
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI2 @0 k$ Y4 k, e5 R% ^
  372. max_execution_time = 300
    3 }3 }/ o- [/ h1 I( `3 W
  373. ! y) c: }0 Q7 [- e: C0 I
  374. ; Maximum amount of time each script may spend parsing request data. It's a good% {+ o. K' X8 y% \4 U
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    9 z. t# z! K+ P" H* E8 U
  376. ; long running scripts.
    8 _; o5 c" F0 _# `
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    9 z2 l2 n! Q1 r3 K
  378. ; Default Value: -1 (Unlimited)9 F2 O! a9 W% j9 e; Z
  379. ; Development Value: 60 (60 seconds)8 q$ v6 Z/ \* B4 [: c
  380. ; Production Value: 60 (60 seconds)$ P, R9 `) n6 ~9 j
  381. ; http://php.net/max-input-time
    / q+ k% m; z# d0 e$ p+ T
  382. max_input_time = 60
    % V6 b2 G( V) G3 H

  383. $ L% c  x$ O9 A& ]6 ^
  384. ; Maximum input variable nesting level1 c8 r% A6 z8 N6 g% @* h0 D
  385. ; http://php.net/max-input-nesting-level* c. l2 A0 N- o/ i% M: m4 J/ A
  386. ;max_input_nesting_level = 64, m! p% `9 @8 ]) F3 O0 a
  387. $ C4 {- Z9 V- n( ~* O3 R/ C' L
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 `% p7 K7 {1 u, [# y" x
  389. ; max_input_vars = 1000  m4 e# h; q& t
  390. 5 v/ A' y) h8 o1 X
  391. ; Maximum amount of memory a script may consume (128MB)0 }$ r! h7 q; _: Y
  392. ; http://php.net/memory-limit/ M; O' H, v5 ^5 H
  393. memory_limit = 128M: j* T0 |% q, r' x
  394. ! d0 A$ U6 \* F  z1 ]
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ P+ Y! ^* P3 B0 P9 h1 M* B4 Q+ w
  396. ; Error handling and logging ;
    + ?6 I" U$ x  g. o, s/ I( {
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 a0 n( M& B# x+ G6 C) F
  398.   Q+ p: Y5 G' T4 a
  399. ; This directive informs PHP of which errors, warnings and notices you would like  F0 ~- N: I. J/ S6 f7 U2 \9 Y
  400. ; it to take action for. The recommended way of setting values for this
    - ^$ _: j0 r4 t" N! o
  401. ; directive is through the use of the error level constants and bitwise% A6 W% C2 p& Y; }. u
  402. ; operators. The error level constants are below here for convenience as well as
    8 u( [- S) M3 X/ f
  403. ; some common settings and their meanings.: n5 j0 I  E# q  d" k+ |
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 q; h9 q" O( h+ }7 n
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and9 ~. J% ]/ @; X
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    3 \+ x& b  h' q2 x) P: k* ~; E
  407. ; recommend error reporting setting. Your production server shouldn't be wasting* c4 e/ Z& S! B1 v1 d
  408. ; resources complaining about best practices and coding standards. That's what; G0 B! I. _0 P# W0 n; o
  409. ; development servers and development settings are for.
    * g% k  y8 T9 k# q+ {
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    - w/ J+ x' X. H- T- N$ B/ X4 _
  411. ; means it pretty much reports everything which is exactly what you want during' Y3 }% ?# `% H7 V
  412. ; development and early testing.
    + f) ^2 d2 X: F# ], y
  413. ;
    7 Q- U; d- J9 |# _! N( q: A
  414. ; Error Level Constants:
    . F/ X& F, L/ a. O( ~
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)- w! X4 t+ m! B6 k  E
  416. ; E_ERROR           - fatal run-time errors
    5 _$ I4 U! ^3 g5 l5 ~8 b) Z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
      t. k2 D* R; t2 X
  418. ; E_WARNING         - run-time warnings (non-fatal errors)& j4 L. S2 y) Y# B9 M
  419. ; E_PARSE           - compile-time parse errors+ Y* n( l0 T" D
  420. ; E_NOTICE          - run-time notices (these are warnings which often result3 H5 t0 U1 E/ r3 }8 g) b# h
  421. ;                     from a bug in your code, but it's possible that it was
    2 v0 f! c) T* v. Q  n0 w% f7 k# h
  422. ;                     intentional (e.g., using an uninitialized variable and
    & Q& C* k4 _- s& q1 G
  423. ;                     relying on the fact it is automatically initialized to an) R7 ^0 C8 v% m# P& v
  424. ;                     empty string)
    3 n' \* W' u: m4 n" W
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ; M$ A7 d8 s1 N
  426. ;                     to your code which will ensure the best interoperability
    7 ^4 ~; n) S7 S. a$ [% ~1 }+ [& m
  427. ;                     and forward compatibility of your code4 d: I; a0 Q. O4 G
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup: \! K$ q8 B7 l/ ?" @9 R
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's# H* L' K# A! i8 p' f% W* x
  430. ;                     initial startup
    # v+ u% x- v0 z$ e: n# z( }
  431. ; E_COMPILE_ERROR   - fatal compile-time errors$ |0 P  E; t1 [# C( T3 }% \: y5 A/ s
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    % o# i* T* F2 ?
  433. ; E_USER_ERROR      - user-generated error message( M7 o+ t1 b* E: F
  434. ; E_USER_WARNING    - user-generated warning message/ ^4 k1 [% s) a% G/ l! |  V8 G. U
  435. ; E_USER_NOTICE     - user-generated notice message0 Q9 }% M1 J5 ~+ M6 z
  436. ; E_DEPRECATED      - warn about code that will not work in future versions( W1 \& W( f# ~% q; r9 P
  437. ;                     of PHP
    ) D6 H, G3 \/ O, I, S/ L4 q
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings& _" w8 d  o3 \+ i( I8 ~
  439. ;6 G1 _" o$ [: M3 W, x. e
  440. ; Common Values:$ }( x1 F2 D1 e. B. l
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.): ?" s) N* s0 J  J
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! m& B9 p" N, W# c
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  L6 E; |/ G! p6 ^$ Q0 P$ N) {: p% ^
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)- C6 E6 c1 ]( q, K
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) s! c  f& A3 B
  446. ; Development Value: E_ALL
    ' \( ^: Q- |3 y1 x: O6 ?
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 D8 |& V4 o% o* K0 W3 g) G
  448. ; http://php.net/error-reporting$ a6 _" r* \$ n& S) ~, Q7 H( i- N
  449. error_reporting = E_ALL & ~E_NOTICE5 l! n! N) T* O+ _. Q& Q

  450. 1 m- c# C6 A: N$ ]) x( J$ T
  451. ; This directive controls whether or not and where PHP will output errors,) x& N) j* x* W2 C/ i3 |- n
  452. ; notices and warnings too. Error output is very useful during development, but, O. e8 i$ k  f4 P' p
  453. ; it could be very dangerous in production environments. Depending on the code
    9 e& U$ N# b9 p
  454. ; which is triggering the error, sensitive information could potentially leak. Y, Q6 ^6 {" R& f" @* w9 l
  455. ; out of your application such as database usernames and passwords or worse.
    6 b/ E- B5 C) S5 z" r# s" G/ y
  456. ; For production environments, we recommend logging errors rather than
    % L( f. {, g" J- [$ ]: }
  457. ; sending them to STDOUT." x& K$ N; T; v; ]& @
  458. ; Possible Values:
    2 [# w  Q  T: Y$ R# P/ q' i) {
  459. ;   Off = Do not display any errors
    % {; W& `- J% d( U7 P
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)4 c  I6 p  ^3 @5 X1 I
  461. ;   On or stdout = Display errors to STDOUT$ {1 I( w) \, k$ j
  462. ; Default Value: On
      M' O/ }0 k6 v4 g7 c
  463. ; Development Value: On& h8 l, y5 B9 Q- n" n' |# T8 E
  464. ; Production Value: Off* c6 V( b, A4 }+ Y) X
  465. ; http://php.net/display-errors
    4 T& \. o6 l0 h1 ]
  466. display_errors = On
    4 h2 z( b; h! E) D1 b

  467. . x) C, x6 v/ J- m1 ]6 e" n
  468. ; The display of errors which occur during PHP's startup sequence are handled% U; y0 s6 ?3 N, a8 e8 D
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    3 E' ~8 n9 t$ x, o: n" o- m. l7 a
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 @. _% R0 j- B2 X0 F: B6 {8 z
  471. ; debugging configuration problems. We strongly recommend you$ P$ K" u+ ]! u, [! U
  472. ; set this to 'off' for production servers.
    5 [3 l* n" Y8 _/ u( [
  473. ; Default Value: Off
    ) q4 G6 s, G8 K( x! c; a+ t
  474. ; Development Value: On
    # ?2 N) o% ]) F5 L1 Q+ X
  475. ; Production Value: Off* g- d- d- \7 [/ I$ P
  476. ; http://php.net/display-startup-errors
    / Z8 M# M$ c; A3 R
  477. display_startup_errors = Off% Q. f: R. k$ k9 l9 c8 [
  478. : N) Y4 B: T$ h" O$ s" n
  479. ; Besides displaying errors, PHP can also log errors to locations such as a+ ?; F2 c0 H3 G1 e* o& ?
  480. ; server-specific log, STDERR, or a location specified by the error_log) N) Z3 [4 U/ J/ h' z! x
  481. ; directive found below. While errors should not be displayed on productions
    ( ]- r% d& S- C6 @2 v4 z
  482. ; servers they should still be monitored and logging is a great way to do that.4 u3 K3 U: Z: A# X$ I
  483. ; Default Value: Off2 U4 j( K1 c8 M
  484. ; Development Value: On
    $ u) F; ^# k( p/ b4 y! J. r, }
  485. ; Production Value: On
    0 c# x  v+ G1 j9 s7 `4 f$ }6 [
  486. ; http://php.net/log-errors
    $ ]9 x8 G* }+ Q. X  X, ^
  487. log_errors = On
      g$ D$ W4 [( m2 _" W+ ?0 E
  488. 7 N; z4 |( t" x
  489. ; Set maximum length of log_errors. In error_log information about the source is
    : K' P8 ?# j0 K7 ?
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 a& K- |- v( c- X) u+ T1 D
  491. ; http://php.net/log-errors-max-len
    + `5 v( ^: [! E, Z% c% l* f# U
  492. log_errors_max_len = 1024
    - p* n1 ?$ E8 ?! @

  493. $ i: y% `/ k! G8 B
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . w- l$ F3 D' Z0 J
  495. ; line unless ignore_repeated_source is set true.
      z# e5 T6 F- L5 O8 g6 j$ S3 }5 M
  496. ; http://php.net/ignore-repeated-errors
    2 n" j5 E: W* D: r
  497. ignore_repeated_errors = Off
    6 l4 d/ k) b6 e8 V2 O6 t' V3 }

  498. 0 [+ U- v" [: F+ A9 W( {% v0 G
  499. ; Ignore source of message when ignoring repeated messages. When this setting& o4 z& s5 o( L% X
  500. ; is On you will not log errors with repeated messages from different files or
    4 c3 H! `% E  g+ O4 S
  501. ; source lines.& J7 E9 G% P$ U  N+ O6 }: h: o
  502. ; http://php.net/ignore-repeated-source
    8 f' n) x+ s# p9 m/ e
  503. ignore_repeated_source = Off+ j0 c6 T6 Z5 {, `

  504. 5 Q1 Z  z+ t) S% s% }1 y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on) I( C" e# h, d1 b
  506. ; stdout or in the log). This has only effect in a debug compile, and if5 _" a; @2 G$ v- }# d
  507. ; error reporting includes E_WARNING in the allowed list
    2 d4 }! G  Y# P
  508. ; http://php.net/report-memleaks2 ]( }7 _6 Q7 ?" H/ R% f/ v$ p
  509. report_memleaks = On
    ( @$ O: {# ]4 k

  510. 2 B, J4 u* J! `6 ^2 c& c# x  P
  511. ; This setting is on by default.
    1 R  z+ ^# \: k% U# m  ]
  512. ;report_zend_debug = 0- z: c8 C+ }; e, u. O

  513.   ?0 j9 S+ b# W( I
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value/ `' L% A2 k7 s9 f4 E7 U  g2 q
  515. ; to On can assist in debugging and is appropriate for development servers. It should# ?' @7 N* u7 [% H6 R8 L
  516. ; however be disabled on production servers.
    / N, W6 t; n" O
  517. ; Default Value: Off9 i5 _$ J) b5 g: N6 ?5 z
  518. ; Development Value: On
    + V& c$ J: J* r& y
  519. ; Production Value: Off/ D" t+ B( x  q) z: c3 u  d2 @
  520. ; http://php.net/track-errors+ o/ B- d) t9 X7 ~, V4 ?
  521. track_errors = Off3 c8 b6 U. |  x

  522. ) |/ y6 t3 i; X! J# p- c9 i
  523. ; Turn off normal error reporting and emit XML-RPC error XML! c1 ?1 |' f% i
  524. ; http://php.net/xmlrpc-errors
    6 v% m2 y6 o& u( r6 q
  525. ;xmlrpc_errors = 0
    $ R# T. e! v! f- ?$ o- n

  526. 9 q8 ^/ k, n1 a5 ?" t
  527. ; An XML-RPC faultCode4 z, @' C% j1 Z: R  d6 ~' D' b
  528. ;xmlrpc_error_number = 0) t5 @. ?: }( w

  529. , ~7 L- c7 O! h( z: h( H
  530. ; When PHP displays or logs an error, it has the capability of formatting the+ q! G+ U( t3 h, W
  531. ; error message as HTML for easier reading. This directive controls whether- Q4 i& E6 n8 y8 D- y; H" T1 D- |
  532. ; the error message is formatted as HTML or not.7 N9 N) S: N7 E, W. k! ~4 {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI* |" e0 X3 Q; `1 u# H
  534. ; Default Value: On
    & g0 w( N% |4 G- I9 O; O" k
  535. ; Development Value: On
    1 c2 i5 E$ |+ z* a8 {: g' z/ _
  536. ; Production value: On
    . e* m- F0 s; K) e8 U0 F7 ~( I
  537. ; http://php.net/html-errors
    & k+ e* I: J) G. t! T( _
  538. html_errors = On
    2 h0 ]& E$ f) _! ]

  539. 8 H' c; w. |% e/ p0 v
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    * \( P+ t, }( d3 ]# g! i
  541. ; produces clickable error messages that direct to a page describing the error* n  {: P3 N7 s& f6 y# j) y
  542. ; or function causing the error in detail.
    ( ?. I2 L8 K/ k+ h
  543. ; You can download a copy of the PHP manual from http://php.net/docs; t  c% }7 Q9 o) X% l5 w2 O  J
  544. ; and change docref_root to the base URL of your local copy including the
    * s9 @( P# a. G9 Y- {. E
  545. ; leading '/'. You must also specify the file extension being used including
    2 t( ~  T$ X& Z8 l* [8 c
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which" J: Z% S; ^0 d' e
  547. ; case no links to documentation are generated.
    # u7 C9 P( |) @. L
  548. ; Note: Never use this feature for production boxes.  m: C2 I$ m0 |8 @3 ~5 D9 W- r5 g
  549. ; http://php.net/docref-root/ |8 M( k5 ]- G  ?' J* [
  550. ; Examples  k% R2 u' f' r9 @. N" x
  551. ;docref_root = "/phpmanual/"' V# z2 m, {4 I* ?0 m1 t4 d

  552. 8 L9 X0 N! F* o/ P* C
  553. ; http://php.net/docref-ext
    & `% J4 \+ h/ r7 [: p  V- {( T
  554. ;docref_ext = .html. g# _+ f( w/ \& P

  555. . I- x8 Z# T: q4 c
  556. ; String to output before an error message. PHP's default behavior is to leave
    , M3 N7 u" M" _: _' o2 ^
  557. ; this setting blank.
    6 ?% k8 d* k+ [( K" b' c
  558. ; http://php.net/error-prepend-string
    + x: j3 D' U2 _  D: n% e
  559. ; Example:, d& F' q8 L% L8 R# _
  560. ;error_prepend_string = "<span style='color: #ff0000'>"" ^; L, S* i+ C) i/ r! ]

  561. ' w) T( A+ W. H% |7 U
  562. ; String to output after an error message. PHP's default behavior is to leave2 S9 o4 B9 X7 O: e
  563. ; this setting blank.! J" X6 X* r* l" e) ]
  564. ; http://php.net/error-append-string* X) C5 q0 a/ m7 V4 W) d9 S
  565. ; Example:
    / o! l( d: s$ S; c
  566. ;error_append_string = "</span>"
    . U) V: N9 C6 _
  567. 1 c! b' J+ m6 h
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 u$ }) P1 U( S
  569. ; empty." {6 x: U4 e0 B" a3 K4 _9 P& A) f
  570. ; http://php.net/error-log
    ( E6 C( Y  |6 X# U4 ^& S
  571. ; Example:, m& x5 G6 Q4 A  c# ?8 X
  572. ;error_log = php_errors.log( F% u9 {* V' A" O! V
  573. ; Log errors to syslog (Event Log on Windows).3 \* `3 M% ^5 [$ [
  574. ;error_log = syslog: w, Z' S7 S- n$ q, t
  575. ( @1 ]' N, h' k5 w1 \2 h8 q  t; x% {
  576. ;windows.show_crt_warning
    + G7 j& o+ A. d0 h' A8 ~* ~
  577. ; Default value: 0+ F' v; H# t, ^8 {8 }+ f( A
  578. ; Development value: 0
    / D4 G) ~+ \- |% J4 i
  579. ; Production value: 0: Q0 g# T1 K- s$ Y; |! h* R

  580. , m5 }" ^" v; E
  581. ;;;;;;;;;;;;;;;;;
      v4 g4 i! t7 _1 q2 H4 U- N! p% i
  582. ; Data Handling ;
    ) @" k' J! F, o% u8 ^: h
  583. ;;;;;;;;;;;;;;;;;9 g" _. X! f5 U! @( v% i

  584. / b2 r8 P5 `8 C/ r& p2 ?
  585. ; The separator used in PHP generated URLs to separate arguments.9 u0 c8 X8 U: ?
  586. ; PHP's default setting is "&".
    7 a- r% v# b! v" h. s
  587. ; http://php.net/arg-separator.output
    0 X# y) |; M8 o* N5 O, x4 A
  588. ; Example:
    ! c0 l& h1 g2 j( b
  589. ;arg_separator.output = "&amp;": s4 x6 r& z  F" b
  590. 8 ^8 I8 Z3 B2 w) `& a/ m  c
  591. ; List of separator(s) used by PHP to parse input URLs into variables./ x4 V7 L( N( t+ s
  592. ; PHP's default setting is "&".
    5 P! U6 p9 b- h% N
  593. ; NOTE: Every character in this directive is considered as separator!' ~3 }) h6 s- T7 P
  594. ; http://php.net/arg-separator.input8 ]: l# ]6 A0 n5 i
  595. ; Example:+ H. B1 X4 t. W, I) `0 \; c) W
  596. ;arg_separator.input = ";&"
    7 u4 |& o' C1 D" Q
  597. * a+ T8 |# Y- Y+ T* m
  598. ; This directive determines which super global arrays are registered when PHP
    ) Z1 X7 x# I+ f$ Y- ~
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    9 P* h4 L3 O/ x
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 }" g- x. E, Z, W& y: R3 I
  601. ; paid for the registration of these arrays and because ENV is not as commonly( [8 q. V" h( c$ S( `- K  a
  602. ; used as the others, ENV is not recommended on productions servers. You( ~2 \) Q& Q$ O6 E
  603. ; can still get access to the environment variables through getenv() should you
    9 U5 I2 a! Y  R3 S3 {$ h2 N. g
  604. ; need to.
    % |; o6 A& Z: \1 l: Y) n
  605. ; Default Value: "EGPCS"+ y. ^  U* w7 \6 B/ t/ X, s
  606. ; Development Value: "GPCS"" D' f! Q* f1 Q$ w# E+ Z
  607. ; Production Value: "GPCS";# o; I% U* m* P( t/ ~9 ]
  608. ; http://php.net/variables-order
    ) Y; o. Y- ?0 r- d" O" m& Y# m" t
  609. variables_order = "GPCS"7 P, w4 l- ?! Q, l! X- n

  610. % v$ p3 c3 f3 R' T2 D+ h$ N7 Z' ?
  611. ; This directive determines which super global data (G,P & C) should be
    - h6 V" w% ~. J0 }
  612. ; registered into the super global array REQUEST. If so, it also determines
      |5 n  R" P* O5 Y/ g- Q% q" {
  613. ; the order in which that data is registered. The values for this directive3 Y2 {- Z( P# |+ t+ l8 a& j) s
  614. ; are specified in the same manner as the variables_order directive,
    ( K; P6 Y6 r( g) h# z
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ G8 n: ^4 {* |3 ^8 Q
  616. ; in the variables_order directive. It does not mean it will leave the super
    ' ?: D2 f) f4 L' ~% }
  617. ; globals array REQUEST empty.
    8 C' X" K; K0 k
  618. ; Default Value: None
    + ]" w* @, k9 B, |0 `
  619. ; Development Value: "GP"/ ^( @( R4 X/ M, z! o& B8 V, D7 B
  620. ; Production Value: "GP"
    + o7 L% z( C  a- ?  q) k3 l
  621. ; http://php.net/request-order* T4 W. j( L4 q5 |9 h. _0 f: M$ n$ E
  622. request_order = "GP"
    : K3 S8 S( e: u2 d

  623. . O) K; ~- b& T. l, s, `
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    0 n0 d' }" I, ?/ }- k
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ' L0 R8 m9 B/ X2 F4 |3 |
  626. ; is invoked. $argc contains an integer representing the number of arguments# g" T9 A" W, @$ F+ v. o6 R# u) t& w
  627. ; that were passed when the script was invoked. These arrays are extremely
    & D- Z, F/ a' H% q
  628. ; useful when running scripts from the command line. When this directive is" ~1 i6 ^$ k2 r( S* c$ `4 Z
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    . {# F: v+ L1 `
  630. ; a script is executed. For performance reasons, this feature should be disabled. g6 Q5 q( u; r5 n+ ?
  631. ; on production servers.
    7 N: Z- i; x6 _: W# c( o
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 o! }! G# E! l% m+ t
  633. ; Default Value: On  [" d0 L) D/ F
  634. ; Development Value: Off
    % y0 d5 ^0 U6 w2 t, K
  635. ; Production Value: Off
    & U% P0 e" E8 `) M
  636. ; http://php.net/register-argc-argv& A. P) Y8 T3 H: q8 h
  637. register_argc_argv = Off; t" ?" f) L* b+ @- k% V7 d" T

  638. 9 r0 ]- e- @6 {% b
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      [# i/ l8 W$ o, z2 J  i
  640. ; first used (Just In Time) instead of when the script starts. If these' L2 V0 g! `% [7 H& R6 w6 d
  641. ; variables are not used within a script, having this directive on will result7 u4 F- K/ R. \
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    8 v. }) X) I' p, ^2 V( R; q
  643. ; for this directive to have any affect.
    $ T2 q8 W# p8 |# o
  644. ; http://php.net/auto-globals-jit
    1 R, [& j( `+ f$ k* T
  645. auto_globals_jit = On6 W$ K5 q0 I1 D; @( b' h

  646. ' C! p' w9 v2 w" ?# B( }# x
  647. ; Whether PHP will read the POST data.7 s, X& U' v* P6 D6 S7 W
  648. ; This option is enabled by default., O, B7 J) [# M" }1 ~  W7 [" L
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ' @* z1 G6 l9 [' B# G$ K/ W
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    6 k4 X# G8 c- R7 s$ g
  651. ; POST data will be through the php://input stream wrapper. This can be useful% d4 q6 r0 q! {5 A
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    2 @) r' H# D' Z: ?: ~/ z1 Y  c
  653. ; http://php.net/enable-post-data-reading
    * J1 J  x% U( W4 V" ]2 V
  654. ;enable_post_data_reading = Off
    ! Q" w9 K5 i9 T4 l" T( ~4 S
  655. * Y* z- V) F9 Z' w. X6 V
  656. ; Maximum size of POST data that PHP will accept.
    ; B& H/ `& H$ X# o  B
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ' m0 R% ]% I! B) S$ k7 i, A4 u& ]
  658. ; is disabled through enable_post_data_reading.0 {; T6 R( B1 Y0 }
  659. ; http://php.net/post-max-size
    ; W, u0 z  l: N
  660. post_max_size = 50M$ u9 B7 z( i+ J# B

  661. " ?, \" C( T- x) E
  662. ; Automatically add files before PHP document.0 _8 k/ ]* {& a
  663. ; http://php.net/auto-prepend-file2 N* w, n- e# r8 s' [1 g
  664. auto_prepend_file =
    3 y0 @1 \- Y. y/ j

  665. ) o% \* M1 L/ h" h" J1 [) G
  666. ; Automatically add files after PHP document.
    6 E- I1 b+ w. y7 o8 G, k# A
  667. ; http://php.net/auto-append-file
    8 d2 b; m, L5 N, L% g- X0 c4 n* Y/ h
  668. auto_append_file =
    0 G4 ~3 ^6 g5 S6 n/ L1 W  _

  669. 0 x* f1 h; f! K  }) N! A+ J
  670. ; By default, PHP will output a media type using the Content-Type header. To
    & u0 @% e9 g0 }& l+ T  K. i
  671. ; disable this, simply set it to be empty.+ `" C& Y, X3 r( Q# {
  672. ;
    + d* D- l% A% I" q( E
  673. ; PHP's built-in default media type is set to text/html.% I! _# z" G. x7 T
  674. ; http://php.net/default-mimetype$ o8 S7 D. P3 A9 ~. W) q; W' H2 B6 s
  675. default_mimetype = "text/html"& d1 v. K! `5 N/ B
  676. # j1 ?$ K* y3 s! o) f. g" D+ B
  677. ; PHP's default character set is set to UTF-8.! N7 y8 _! J& e7 s( N
  678. ; http://php.net/default-charset
      @1 S6 ?% x  s; t
  679. default_charset = "UTF-8", G8 A4 B6 |3 k! G, A9 f7 J

  680. 3 m. s4 p/ w) `$ K  S+ c8 |
  681. ; PHP internal character encoding is set to empty.# R& Q" O, x! _
  682. ; If empty, default_charset is used.
    1 u7 k' d6 a4 i( @' Y. @
  683. ; http://php.net/internal-encoding& S: A" o% {+ N2 j" K2 u* |0 W
  684. ;internal_encoding =
    ; J! F. S6 s1 t1 M

  685. ; H/ _, d4 \" J: e+ H
  686. ; PHP input character encoding is set to empty.
    5 W" w5 q, c! }5 B/ o! t0 j; A- h5 X9 Y
  687. ; If empty, default_charset is used.5 O% K, s3 h% p5 I& L5 J
  688. ; http://php.net/input-encoding
    - A$ \. T$ Z+ x! J: A
  689. ;input_encoding =( A$ O) b) H9 ?5 L+ J
  690. & k7 q( H  z) h. u4 r1 {
  691. ; PHP output character encoding is set to empty.
    4 u" |, }) t- u/ q8 U* l4 ^
  692. ; If empty, default_charset is used.
    0 k0 e4 A! O' c* Y4 q& x. C& c
  693. ; See also output_buffer.& K8 ]+ z+ \! s. o9 v" e
  694. ; http://php.net/output-encoding
    0 F# o2 T  x% z4 \* l) w
  695. ;output_encoding =3 R; L; C3 w) `2 Q6 W

  696. 6 ]$ k$ P& _% K" R
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is  G& g% R5 Q9 P# S* {
  698. ; to disable this feature and it will be removed in a future version.
    : @5 t' w2 k3 Z+ }4 i
  699. ; If post reading is disabled through enable_post_data_reading,- m# |% A! {$ t( D  Y/ v
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.: \& d& ~( V0 Y* D
  701. ; http://php.net/always-populate-raw-post-data
    % t) ~  o8 x5 D" H8 C' U6 T
  702. ;always_populate_raw_post_data = -1' a3 M, ~$ w8 z) r& z3 a% n4 |

  703. * I1 |) B2 l+ A) ^( U
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 v" u0 S% S9 E- b+ K) y& J
  705. ; Paths and Directories ;  ~5 v5 Q* \( n' Z- v0 _" s
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;2 a4 @7 ]/ ^' B8 t6 ^# O, d
  707. + n2 \8 E% a8 q+ o
  708. ; UNIX: "/path1:/path2"  e4 v6 n2 n+ a8 o
  709. ;include_path = ".:/php/includes"! I( x% Z4 _$ q
  710. ;* i- B/ h( Z6 K( F) b
  711. ; Windows: "\path1;\path2"- b2 V- u7 v  M9 S% k( y' y+ E
  712. ;include_path = ".;c:\php\includes"4 U& f3 Z; m0 E0 r  n$ u0 b
  713. ;
    , p' R+ {) A1 f6 o% N/ m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"$ w% G. w$ I* M/ K7 F; p7 r2 @
  715. ; http://php.net/include-path
      P% ^. T. t9 d& m6 s
  716. + A! _, w8 V' t) {0 Z1 E
  717. ; The root of the PHP pages, used only if nonempty., J" [. p9 {1 q/ T' A+ X
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root; ^# l3 ]' G0 j6 u. {/ k
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ' G0 Z9 N) [: C
  720. ; see documentation for security issues.  The alternate is to use the4 K$ C+ v; C7 R3 }
  721. ; cgi.force_redirect configuration below5 x% C0 l1 S% m' C4 a
  722. ; http://php.net/doc-root  g8 f! o' z; ?7 D
  723. doc_root =
      Y, Y; ^; m% m
  724. * e2 m- Z6 n- ^) B) r2 g& n8 x
  725. ; The directory under which PHP opens the script using /~username used only$ ]( T7 ]8 g0 x
  726. ; if nonempty.
      i1 i6 _! G* X" W5 `, @2 ]4 L
  727. ; http://php.net/user-dir
    ' h) w3 g' \8 B2 a' [+ l
  728. user_dir =
    # d0 J# E) ?- W0 h: v
  729. ; i0 ^7 w9 [! L! }6 n7 L
  730. ; Directory in which the loadable extensions (modules) reside.8 \3 C& C. O3 g! ?% K; A  r
  731. ; http://php.net/extension-dir
    ! ~& ^+ _& T+ ]! K
  732. ; extension_dir = "./"& W7 m, @$ c$ J/ v
  733. ; On windows:8 b6 d2 @1 a. U  E1 z8 y9 g- a* N
  734. ; extension_dir = "ext"/ `$ |: B  F+ F. r
  735. " W! Z" _( I* W8 V+ g
  736. ; Directory where the temporary files should be placed.
    + u9 D" d7 k( P9 E
  737. ; Defaults to the system default (see sys_get_temp_dir)6 E5 T5 L! F- |! f
  738. ; sys_temp_dir = "/tmp"
    ' J. ?& W1 k: ]9 |
  739. 7 z2 d; M0 K, q2 O3 [6 r
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & U' ?9 P( l- r. d) }2 U+ R: @& h
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    3 K- A$ Y- S1 T
  742. ; disabled on them.* s0 y4 W9 `' `* N
  743. ; http://php.net/enable-dl
    ; \9 e0 z" h# ^" S# e
  744. enable_dl = Off
    ( L. N7 F5 e( f" d
  745. 7 I( i5 l; d" l
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under* `, B+ T4 ]) w3 J5 p0 A; l6 d
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    % E) S7 w& B! V! T4 f& D
  748. ; turn it off here AT YOUR OWN RISK
    5 c, f1 _  [# o- I
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**# E/ m  {2 S8 E
  750. ; http://php.net/cgi.force-redirect1 O9 I) h, ?" e# C
  751. ;cgi.force_redirect = 1/ W& N& J) e/ A! ~( v3 `

  752. 3 ?' T$ o2 [6 D' y* w& o) X
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with: j# p7 y% n4 b3 H; [' e
  754. ; every request. PHP's default behavior is to disable this feature.
    0 h9 B2 L6 ]. H
  755. ;cgi.nph = 1$ k/ r, E$ f+ c2 D* i% H. p

  756. 2 `) D" Z8 X. r6 v7 V
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape3 L/ o# I4 I" \( v
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    5 v% u+ @/ E4 f; o
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY- D/ b7 z- w/ I' U
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST., p( G. D3 d& d) g3 X
  761. ; http://php.net/cgi.redirect-status-env
    ! Z+ ^6 Y1 }) l# \; M9 ?: h
  762. ;cgi.redirect_status_env =
    1 e& Y/ ~0 h+ o% E& {. G: ~' f

  763. 9 F% J, O; ~3 [  i- l  D2 s: p& ?
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ) P6 g. @1 ]% A% P3 }/ J) S2 s
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( T' u9 T! D9 Z. ?/ U% X" F$ Z
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
      u; C3 C$ T* R/ E: i
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 j" J2 |0 `. o
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts7 Q2 B* n5 h7 s" y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    . ]2 X' g5 h1 i8 y+ H
  770. ; http://php.net/cgi.fix-pathinfo
    & p+ p' d5 O0 E
  771. cgi.fix_pathinfo=1
    1 i+ `0 D# K9 k/ [  }. _  i% c
  772. & v% r! R3 A& ^
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 I8 p& ]* N) _3 P3 |0 {' t1 p& v
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    / l2 A- Q! j1 \% ^! X
  775. ; http://php.net/cgi.dicard-path
    ( d- A2 U  Z. \
  776. ;cgi.discard_path=1
    . O. Z0 T9 r6 y
  777. & [, S  Z* W, c1 ~3 e; E
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate4 N* }% P. X# S
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 i, o* ^2 K  v0 L1 K: r
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    4 X; H! E1 C5 A9 `6 D
  781. ; does not currently support this feature (03/17/2002)
    1 u5 d0 X% v8 J9 O
  782. ; Set to 1 if running under IIS.  Default is zero.
    ( c% i9 {8 P; t
  783. ; http://php.net/fastcgi.impersonate* D3 Q/ F* q/ G& |$ N
  784. ;fastcgi.impersonate = 1) ]% F9 f2 U9 f
  785. 4 h$ i; U  F" ^! N! A7 @6 O( r- U
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable9 L: t6 I$ E# |1 H1 a
  787. ; this feature.2 s0 s& h. ~; s/ X; \9 h4 ?
  788. ;fastcgi.logging = 0' t) R0 c1 s- ?# c9 b
  789. & n9 R) y2 }  D4 p. l
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    * d0 {9 c4 i5 h; x( V! ?9 S
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    # V  F- V- y# S/ d) f
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 T6 @7 f$ g4 e7 F3 e. ^2 o; P
  793. ; RFC2616 compliant header.8 ]5 ?7 Q. p+ Y7 ]. J
  794. ; Default is zero.
    & X/ {; K2 D+ f9 s
  795. ; http://php.net/cgi.rfc2616-headers3 m- ?7 `$ ?. D  [, w! i3 d+ w
  796. ;cgi.rfc2616_headers = 09 q2 U7 r5 r0 G- z
  797. ' b1 o3 m6 y4 x; \5 w' O+ C
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!  l5 L( w/ ~# F# T8 T
  799. ; (shebang) at the top of the running script. This line might be needed if the
    % u8 m% r* c  f5 p, c; s3 i
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 r; F" x3 R# u2 D1 |7 _3 e
  801. ; mode skips this line and ignores its content if this directive is turned on.6 B- s  ^6 O5 P1 i3 U7 l
  802. ; http://php.net/cgi.check-shebang-line" e: z( i( k3 a' E' W  o9 m& X
  803. ;cgi.check_shebang_line=1
    , n1 T+ g  n- N

  804. 1 O9 N7 R+ V  x/ ?- z5 Z7 \4 Q* b
  805. ;;;;;;;;;;;;;;;;, Y6 u. W! S4 i% t6 ]# P/ F
  806. ; File Uploads ;) a5 ?  W0 w) Y$ V/ H2 S0 m! p; Z
  807. ;;;;;;;;;;;;;;;;! y1 g& q; i+ S$ B

  808. : h  |) p5 Y% d5 X1 I+ U" b
  809. ; Whether to allow HTTP file uploads.7 U0 y5 S& i  B
  810. ; http://php.net/file-uploads
    , A" }) c3 p& Z3 V
  811. file_uploads = On
      K! O* |8 r) B1 S
  812. ; E- C" P( ?6 c* \
  813. ; Temporary directory for HTTP uploaded files (will use system default if not5 f6 X! Q7 t/ ^2 H; t) D
  814. ; specified).
    0 z' Z) K5 N4 v- P7 i+ B& x3 G
  815. ; http://php.net/upload-tmp-dir
    0 S+ O2 Z% ^9 L+ u2 [# S2 y5 z7 r" y
  816. ;upload_tmp_dir =3 Z" l! `1 n5 @6 g' C  I- F

  817. - e' r- |8 e/ c' d" L
  818. ; Maximum allowed size for uploaded files.
    ) o8 W! T  {3 H5 @
  819. ; http://php.net/upload-max-filesize4 w. ?+ \: y, M6 M& X' f# t
  820. upload_max_filesize = 50M' O* J  p3 _- z! ?6 u3 ~" O

  821. 9 T5 X7 I  }2 Z7 t8 N6 R7 B/ |
  822. ; Maximum number of files that can be uploaded via a single request* K# t( n7 B1 f0 M/ r4 B
  823. max_file_uploads = 20! j( |/ O' e; A5 }' C9 J

  824. % C" |+ d" \7 a$ ^
  825. ;;;;;;;;;;;;;;;;;;
    & R4 e% g: I, _: _9 |
  826. ; Fopen wrappers ;
    . K9 i1 i2 c& _' z* y
  827. ;;;;;;;;;;;;;;;;;;( ]9 C7 ^4 D+ O

  828. : d2 S) y" k$ [7 }2 w
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# Y- s" Q- C3 W8 d4 Q& B. _
  830. ; http://php.net/allow-url-fopen2 W% a$ p6 O) A; q$ l
  831. allow_url_fopen = On& Y# D- Y' }" ], U' ]# F4 _
  832. 0 N$ O/ g% [4 U  \5 z, w
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 i5 v3 @6 f7 \2 z
  834. ; http://php.net/allow-url-include3 ?5 W; K& W) I; N6 M( Z: }
  835. allow_url_include = Off
    5 {0 t5 C; E9 @; y/ b! s
  836. 3 b( ^; r  t: O
  837. ; Define the anonymous ftp password (your email address). PHP's default setting, X! V' S$ U7 G( w
  838. ; for this is empty.
    4 x# ?5 {4 A8 `$ {" ^  o
  839. ; http://php.net/from" u* e5 p+ g$ o# \$ V
  840. ;from="john@doe.com": i" h2 A4 m: a0 E4 w4 `8 n7 r0 A9 T; Y
  841. ! A; o  ^* d0 t1 ]3 D
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
      l' Y* I; r  O% l
  843. ; http://php.net/user-agent, }) ]: [7 s) c# L0 }- S
  844. ;user_agent="PHP"( H# E" F' k& `  e
  845. 6 G; ~0 W! i9 V- D
  846. ; Default timeout for socket based streams (seconds)
    2 L4 n' e/ C& G2 i4 X
  847. ; http://php.net/default-socket-timeout" ^/ N/ e: _0 R4 x# V/ C' J
  848. default_socket_timeout = 60+ W* f0 r) Z4 j! m4 P  A# d

  849. / E# ]  c/ P, J$ a, {" G- k
  850. ; If your scripts have to deal with files from Macintosh systems,
    . v$ M5 H! z7 f
  851. ; or you are running on a Mac and need to deal with files from: q9 n1 A% N* m; W- z1 p
  852. ; unix or win32 systems, setting this flag will cause PHP to
    & S$ Z8 V4 M) [4 Z
  853. ; automatically detect the EOL character in those files so that
    9 \  w; `4 p- ]. a$ Y2 C/ U! \
  854. ; fgets() and file() will work regardless of the source of the file.* _# k9 c; @0 |4 u3 Q
  855. ; http://php.net/auto-detect-line-endings
    - y( x2 Z, c1 P4 s
  856. ;auto_detect_line_endings = Off: s# [/ y' I7 [5 @1 J

  857. * ~  |5 {: p$ V% d/ Z2 u
  858. ;;;;;;;;;;;;;;;;;;;;;;! g8 c+ F9 A/ v2 s
  859. ; Dynamic Extensions ;
    % r. g- Z8 p  l- b2 k
  860. ;;;;;;;;;;;;;;;;;;;;;;, ]: t2 u1 y  Z( U  [. i% s, R

  861. : O6 a3 o: ?. c
  862. ; If you wish to have an extension loaded automatically, use the following  b8 K7 q* i" l3 R
  863. ; syntax:* {" q0 {9 I# T/ X, t
  864. ;
    5 W# F, k$ a8 R* ~- A) E) |% J
  865. ;   extension=modulename.extension
    2 L" l/ @4 b9 B9 l( X' J& x: C; l* r8 \" \
  866. ;
    ' s6 J1 U  R, w; q
  867. ; For example, on Windows:
    % ?: ~: D1 }- E" d7 l$ T, |
  868. ;% A5 |, s: d0 q/ b$ Y, f" {3 X
  869. ;   extension=msql.dll, t; M. N4 ]& W+ S) V
  870. ;0 u+ U# A3 ^  b$ R$ _
  871. ; ... or under UNIX:; g1 V" v: `& u$ o# y9 c' H" V
  872. ;
    2 u/ ^5 K% w" I$ W$ m1 D
  873. ;   extension=msql.so& l4 u( Z! @6 q/ F3 L( ]
  874. ;
    ' u% T3 b, J* f8 I
  875. ; ... or with a path:% o" {8 b  `( b# h' ]
  876. ;
    ' _; n+ h( x5 g+ d* V8 E
  877. ;   extension=/path/to/extension/msql.so
    . E0 p/ r8 |# E  j0 P/ R/ g. s. m
  878. ;
    * A% l0 M) G% |# t" G
  879. ; If you only provide the name of the extension, PHP will look for it in its
    0 e; C+ {; m- q: l; l. |5 e
  880. ; default extension directory.1 Z/ H) }4 ]# K+ d
  881. ;4 ]+ ~; M2 v$ d4 N6 y
  882. ; Windows Extensions5 I' m( s* }1 S
  883. ; Note that ODBC support is built in, so no dll is needed for it./ ?. X) f" |% {
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    . p4 w2 t! e( `+ H7 |' M
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    : c( k4 A1 E0 o1 I, k" e3 E
  886. ; Be sure to appropriately set the extension_dir directive.
    # W- V; \7 ?  Q: }$ S0 e5 l
  887. ;) ^* L8 [9 m) c' b! k5 N
  888. ;extension=php_bz2.dll
    ( ?  \' t5 c- T  L& n/ \
  889. ;extension=php_curl.dll4 H5 H- {% X) J8 {9 z1 E2 q1 r
  890. ;extension=php_fileinfo.dll0 g) G) V2 N7 O) W7 p$ R- J- S
  891. ;extension=php_gd2.dll
    . q& \% a2 X4 p% Z+ }: e9 p9 r
  892. ;extension=php_gettext.dll) x8 s+ ~! e( o. i( u# k
  893. ;extension=php_gmp.dll- R2 E( `  {  T# t8 z
  894. ;extension=php_intl.dll, ]: w; a1 q; ^+ C
  895. ;extension=php_imap.dll$ O8 ?% u! w& s9 a
  896. ;extension=php_interbase.dll
    ' m4 Y8 C) K% Z5 K  e
  897. ;extension=php_ldap.dll6 x6 {2 Z+ e7 E: E" Z
  898. ;extension=php_mbstring.dll* q/ ^4 E$ H. U4 u  F( Z. N% c
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    $ M) u# @* v: `
  900. ;extension=php_mysql.dll2 _* P! H5 E! I! ]! d, d- @
  901. ;extension=php_mysqli.dll# o  @9 M3 _! s1 \
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ! P$ E; W  U5 x7 e( b
  903. ;extension=php_openssl.dll0 J$ `7 z) j! @+ [' a% F7 r& z$ L
  904. ;extension=php_pdo_firebird.dll
    3 W' ]% w% @& Y" A9 _  `2 z
  905. ;extension=php_pdo_mysql.dll5 Q4 C* a9 c. E1 P5 q
  906. ;extension=php_pdo_oci.dll
    + T& \7 P: ~' ?
  907. ;extension=php_pdo_odbc.dll" }4 `. K. N* b" m  {" }; b6 h5 {
  908. ;extension=php_pdo_pgsql.dll$ c8 Q9 X7 S. J# D0 d0 y$ Q% I+ V
  909. ;extension=php_pdo_sqlite.dll
    2 x; f8 V% O" M6 @
  910. ;extension=php_pgsql.dll. R3 P2 b+ m% L  }
  911. ;extension=php_shmop.dll
    2 J* ~6 d4 X' l4 w, r1 b

  912. " ?' w5 y- g( m9 Y/ l
  913. ; The MIBS data available in the PHP distribution must be installed.
    9 g9 A1 Q- y+ L5 t2 d( K1 N, G
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    2 j) N1 H) m, x$ \* T8 ?! f
  915. ;extension=php_snmp.dll# i9 g$ E) G# K$ o. G. s$ R) ~1 H

  916. $ l1 x7 n, P- G; R3 G$ c
  917. ;extension=php_soap.dll
    , W4 k: h, e" S5 e. T
  918. ;extension=php_sockets.dll
    8 n# Y/ f; {. a2 o+ [, [
  919. ;extension=php_sqlite3.dll+ a. F8 f; S* ^0 C2 K$ z
  920. ;extension=php_sybase_ct.dll
    ! ^& i0 ^6 }8 |, O
  921. ;extension=php_tidy.dll
    6 D9 @' X6 U, E) |& H
  922. ;extension=php_xmlrpc.dll  @  {% ~4 @: w6 C- R. \
  923. ;extension=php_xsl.dll
      O7 l2 ?- u/ [4 V# l' L9 k

  924. , g; P- g& x# u4 P
  925. ;;;;;;;;;;;;;;;;;;;
    # {+ t4 W; q% d4 Q: f' V
  926. ; Module Settings ;
    - y3 Y% `, G6 ^+ X" _- V
  927. ;;;;;;;;;;;;;;;;;;;
    $ T0 }2 B9 `1 q: q/ a1 Y; l

  928. ) I6 r1 C9 A8 w3 R- ~5 U
  929. [CLI Server]
    - N9 D; R0 e/ x% K- S7 g$ s
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.7 {8 f8 J( Z; y  l# I: s
  931. cli_server.color = On
    " P$ G2 }- }$ p

  932. $ p& J1 W4 B$ p3 r3 f. l. h* A) ^
  933. [Date]* k2 Q+ p9 K$ N
  934. ; Defines the default timezone used by the date functions. ^+ n1 O% Q7 @5 f
  935. ; http://php.net/date.timezone2 V) C* O/ Q6 Y
  936. date.timezone = PRC
    ' C. h% t/ G8 w* Y6 C  g; _& O& \9 [
  937. 4 n% ?1 S, @+ [$ _
  938. ; http://php.net/date.default-latitude
    5 Y$ R% N! b9 f& O
  939. ;date.default_latitude = 31.76674 R: {& y- ~) H( T

  940. ! q+ G+ U% a/ r3 r% d( v5 X1 _
  941. ; http://php.net/date.default-longitude
    ; _  L0 M: C" K+ R+ e% n5 n0 \0 j
  942. ;date.default_longitude = 35.2333
    + i  [' K* i" p6 @% l

  943. 5 g8 O" b0 Y/ Y' D
  944. ; http://php.net/date.sunrise-zenith1 n3 z; U1 ^9 k9 E/ I
  945. ;date.sunrise_zenith = 90.583333
    1 T  L7 H6 X- w/ h  `9 S

  946. , l8 w% p- H6 ?! V
  947. ; http://php.net/date.sunset-zenith
    $ r( a2 }/ b' S1 M( y8 i% O/ L9 _
  948. ;date.sunset_zenith = 90.5833334 Z+ S( `% s; P2 V5 T

  949. - E1 p1 r2 ?: {' V4 M9 X/ V2 X) F
  950. [filter]* g, M- _/ x! i# T, L) ?  Y' ~& T
  951. ; http://php.net/filter.default
    ( K9 o. x: n; I, G  E
  952. ;filter.default = unsafe_raw6 a& N. @4 N  u" P, n( Y* s" Y

  953. ) c* i9 _2 e; p9 b( Q) x
  954. ; http://php.net/filter.default-flags7 g5 M; v1 B( V+ k, r* b3 O2 s6 N
  955. ;filter.default_flags =
    6 B4 t, n! M, v! o
  956. ( v% d, X4 y) d. P
  957. [iconv]
    " C/ S3 E. E; b0 H. V- @/ r" X3 N
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
      v% N5 k% m- e- o+ q8 _4 T
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    2 N7 t% L" d) W
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding% ~3 Y3 D1 Q# p- C- B
  961. ;iconv.input_encoding =( T6 B, Y% {# }
  962. 5 E9 ~& D# M* b" Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      o" R( t) F" Z, Y( j% \3 f
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 v( O8 U- o/ j7 f: g
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 x! b  Y; z; N6 V3 K
  966. ;iconv.internal_encoding =
    - g9 t% [# ^6 D& Y0 [, |+ p

  967. 5 v5 k1 F  Q8 K; `2 X4 _$ ?
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' P- o! E$ f+ u
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.1 g- O- f, V/ n8 o1 m% Z
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding) c% _0 R; r, f9 m  D6 m
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ) |4 U$ `& l8 ]' w; m, c- }: j5 P
  972. ; otherwise output encoding conversion cannot be performed.( @3 l: s* n# w. c/ _
  973. ;iconv.output_encoding =# V5 g9 O3 Y% o7 g* C* V

  974. 7 u7 m4 S8 m- g* ^/ z
  975. [intl]) m! O0 e- e0 O7 B6 w& C
  976. ;intl.default_locale =
    " i4 \5 w. O) W, p! a
  977. ; This directive allows you to produce PHP errors when some error7 L7 K! W; S1 z; v/ f8 y( w' K
  978. ; happens within intl functions. The value is the level of the error produced.
    4 w, }, t3 u) W) ?; j1 x
  979. ; Default is 0, which does not produce any errors.: k6 n& A/ e7 Z, W. ~* G0 U% Z
  980. ;intl.error_level = E_WARNING
    0 S9 Y, k. H: t
  981. ;intl.use_exceptions = 0
    8 P1 G" ?! v  E) e2 j1 t5 n7 ?

  982.   n, o9 F1 F) O& e6 f
  983. [sqlite3]
    3 d- U' [! J1 k% }& P
  984. ;sqlite3.extension_dir =
    ) m  |- Z1 g5 N* J4 z
  985. 6 D' l1 V" N% W
  986. [Pcre]0 I, O3 d* k+ E3 C! S
  987. ;PCRE library backtracking limit.( Y5 b8 w" P4 e+ j
  988. ; http://php.net/pcre.backtrack-limit
    7 S& `  e' _' E0 ]  X4 J
  989. ;pcre.backtrack_limit=100000& l$ t* L8 g  @1 E* G
  990. * B! ~# W6 S4 ]( Q
  991. ;PCRE library recursion limit.. O5 ]. a% S  A& j6 y4 X
  992. ;Please note that if you set this value to a high number you may consume all5 q2 a( S) T, \. e" F% ], N6 L. ~
  993. ;the available process stack and eventually crash PHP (due to reaching the! p# |; a/ d8 x! V8 j7 v
  994. ;stack size limit imposed by the Operating System).
    # H2 L) I6 Q- _& A) c& D
  995. ; http://php.net/pcre.recursion-limit9 R; Q1 J7 u1 Q- l3 q$ p  n( T) F
  996. ;pcre.recursion_limit=100000
    * K. K2 g" e; r; X" s7 @" x+ Z

  997. ! \  s& F& [! _0 I8 ?" G7 ], j. E
  998. [Pdo]
    5 a3 H3 U# |4 j$ |7 s
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"! S# H! E- E" F* _
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / [( v, c  f* [1 T6 Z
  1001. ;pdo_odbc.connection_pooling=strict
    : p. D: K0 K' L% ?6 X" _. {6 }- c
  1002. 8 H" ~7 T$ G* l. g! j" e) m! i$ A
  1003. ;pdo_odbc.db2_instance_name& ~  c, t  N/ [0 H2 D# b+ b

  1004. % Z' y  h) \3 K7 n& i# S
  1005. [Pdo_mysql]8 q! M8 _+ G# O/ _% D: k" i5 d0 S% v
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) `8 [. m- I( x% q$ y1 F- S, k
  1007. ; http://php.net/pdo_mysql.cache_size
    : T" A7 H% s2 a5 h5 o8 P2 S$ u
  1008. pdo_mysql.cache_size = 2000
    & N0 g2 ]" c$ ]% X+ m4 l; I

  1009. 6 j- `3 O) u! ?. y: y" u8 i
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 ~7 Q. }$ h) G0 c; O  o3 P
  1011. ; MySQL defaults.
    . h7 l2 G( b9 _* O5 c
  1012. ; http://php.net/pdo_mysql.default-socket
    " Y3 [  Q. z+ W0 e6 q
  1013. pdo_mysql.default_socket=' z& o% u: s& l, ^

  1014.   B$ q: o6 Y+ w! {( F/ H
  1015. [Phar]) d: n4 n1 A( b
  1016. ; http://php.net/phar.readonly
    % `  W6 U6 `. |
  1017. ;phar.readonly = On' ]9 e5 P  B  {% R$ {
  1018. - f8 [. e  `5 P2 B( _% j( l% t4 s0 a
  1019. ; http://php.net/phar.require-hash+ }* g  W5 Q5 g. k+ N- V, `, d! B
  1020. ;phar.require_hash = On
    ! @8 i) w. L. G8 {- z. r

  1021. ( D/ V- ^- ~# Y) u& v
  1022. ;phar.cache_list =7 y6 k0 _: k3 u3 U# E+ B" |; `% H

  1023.   T, T; Q: n  Q4 g0 Y- W9 _' b# B
  1024. [mail function]* A! A9 ~3 d7 A: m) I9 f
  1025. ; For Win32 only.5 W0 P% J  y; C6 O  L6 b) e
  1026. ; http://php.net/smtp
    6 E1 T1 O  Y* F0 }7 x
  1027. SMTP = localhost
    1 Y" Y5 T2 H  N: e' Z7 c! R
  1028. ; http://php.net/smtp-port! E" E# f8 E- f! X
  1029. smtp_port = 258 B( n* @! e) M
  1030. : B. k  F. ?: b. A
  1031. ; For Win32 only.
    6 w- K6 Q& L1 D+ t3 ~. x
  1032. ; http://php.net/sendmail-from% M9 U) v0 j3 {6 a( ^( A
  1033. ;sendmail_from = me@example.com
    ) Y5 b4 Y" B# V9 h' J

  1034. / L) [8 `& @) C- V
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    1 V! B* o1 P5 j# r. ^0 b+ K
  1036. ; http://php.net/sendmail-path4 Y9 R* W. j6 c2 b: @9 b+ ^
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    " h9 K* e% U; h8 H& R  b- x

  1038. 6 A- T# z  Z" ^! e1 K
  1039. ; Force the addition of the specified parameters to be passed as extra parameters3 f$ d  N0 h8 r, D
  1040. ; to the sendmail binary. These parameters will always replace the value of
    - D$ d/ ?. f$ C  N4 p0 @9 A
  1041. ; the 5th parameter to mail().) j8 O' V7 T9 \/ E, r
  1042. ;mail.force_extra_parameters =
    # |( {% J0 H+ c4 d4 E9 W
  1043. # f4 N, [2 k# `1 I9 Q
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    % Y( _% B8 s0 q# b' V
  1045. mail.add_x_header = On
      p6 M% o- R8 H! j

  1046. 0 n; u2 H, Q: N2 b7 Y' [9 W, s
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    8 o" D) r2 T; u) F
  1048. ; the full path of the script, line number, To address and headers.
    ; Q" j6 \6 i; t
  1049. ;mail.log =6 [( S2 o" z: r6 l
  1050. ; Log mail to syslog (Event Log on Windows).9 f( [8 O- H& a/ k& P8 v
  1051. ;mail.log = syslog: q0 J8 U: y! ]& k3 _

  1052. + g% t! D+ L+ W6 w; r3 s, H- K
  1053. [SQL]4 K) W/ p, ?0 J  u, ?
  1054. ; http://php.net/sql.safe-mode3 n5 a% i& }: s4 `( H# |
  1055. sql.safe_mode = Off
      \2 C- O+ z9 w9 d6 K: p* `4 C

  1056. % q2 i6 x' \0 Y1 \* t& \& e
  1057. [ODBC]. Z; X- w- b8 A
  1058. ; http://php.net/odbc.default-db
    " p, q7 E* j: e9 u6 B- c
  1059. ;odbc.default_db    =  Not yet implemented" f) R. f7 w+ y& N6 S$ d

  1060. 6 }. b# c7 c; R# H
  1061. ; http://php.net/odbc.default-user
    9 P. f% r- @: X
  1062. ;odbc.default_user  =  Not yet implemented8 _+ s: c3 j1 Y8 t  g! i/ c4 J4 N: f
  1063. ' K( _6 h. Z( v" s0 `. q6 a8 L2 F5 Y  s7 n
  1064. ; http://php.net/odbc.default-pw
    ( v- L2 o$ A! Q: R$ }$ _
  1065. ;odbc.default_pw    =  Not yet implemented
      ?) n: w! n5 {! V8 O
  1066. . W2 ?2 L* f: m! R% Y$ N; Y
  1067. ; Controls the ODBC cursor model.  y' J7 N0 A& g* R  ~& N5 F3 Y) S
  1068. ; Default: SQL_CURSOR_STATIC (default).; h% B8 h3 H9 P& T4 o9 Q
  1069. ;odbc.default_cursortype$ e6 i: y2 H9 A# Z$ Z

  1070. 3 P! _3 z& x/ x- j9 s/ ?
  1071. ; Allow or prevent persistent links.
    3 A7 o0 u6 D( C5 c6 ]; T2 C! k
  1072. ; http://php.net/odbc.allow-persistent6 s' Z- ~0 {) R5 X# L! X
  1073. odbc.allow_persistent = On
    3 P8 h) R, b* R' k2 a0 M4 `+ s* T$ g

  1074. 7 O' M1 M6 L2 s1 N/ I. [  Q  A' V
  1075. ; Check that a connection is still valid before reuse., z* w3 u" y" M
  1076. ; http://php.net/odbc.check-persistent
    6 {% ~; @, Z/ D% E7 r1 v
  1077. odbc.check_persistent = On* u1 ?$ u$ }. ]) x8 K2 g
  1078. 6 t6 K7 H' @8 V' ?" i" \0 d
  1079. ; Maximum number of persistent links.  -1 means no limit.$ z. n4 {. \4 d
  1080. ; http://php.net/odbc.max-persistent& ~- B1 z5 w0 {& L' @
  1081. odbc.max_persistent = -1! N7 K1 q$ e: K( {( @2 `

  1082. " I/ \7 t8 R3 ~# r# N! L- G4 n
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  i, R( W! N* ?6 r5 J: Q! D
  1084. ; http://php.net/odbc.max-links" M0 x- a  w: k1 n2 A( z
  1085. odbc.max_links = -1
    ( j. u0 v8 c+ y/ T

  1086. 3 u$ w8 Q. |+ x/ }
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( w7 P- R0 [9 W
  1088. ; passthru./ t4 e9 ^- F# z) o, E
  1089. ; http://php.net/odbc.defaultlrl8 B( B  b4 r5 K& z9 `, m9 j
  1090. odbc.defaultlrl = 4096/ X, R' \8 N6 Q* a
  1091. 1 J, v: a  ]6 Y5 c9 {4 Z4 v3 p
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ) A9 t  C7 D7 T1 g- @
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 d  K7 H/ K0 h0 K. s1 q& H
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    1 D7 Q( [, O8 z+ p* J0 @" {
  1095. ; http://php.net/odbc.defaultbinmode5 z. C2 c7 I- J+ R: m6 m
  1096. odbc.defaultbinmode = 1
    * G# ?9 h( d& [& f) u

  1097. ( e7 z7 J# e1 z9 w' i
  1098. ;birdstep.max_links = -1. r6 T: O- d% Z

  1099. : r( e9 U; ]' a2 s) `5 C
  1100. [Interbase]8 S$ r" V1 H9 |5 z+ B+ |; R
  1101. ; Allow or prevent persistent links.6 Q! N. J4 l; R5 L
  1102. ibase.allow_persistent = 1
    : Q$ P# i4 b  }

  1103. , G& b. C2 y) [! \
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ; s* |2 @6 F; l! T) c. F
  1105. ibase.max_persistent = -16 ]9 C2 Q& B3 v/ i
  1106. 7 A3 ]; ~5 l8 M+ h# _
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- M- B+ E  G0 n9 I! w) f0 c0 I9 T8 d' f
  1108. ibase.max_links = -1
    / g6 y( ]" k0 M4 s) ^8 E8 F. z
  1109. 3 L# W8 I0 r: u, h
  1110. ; Default database name for ibase_connect().
    + o% {$ x; E/ s( m! n- X
  1111. ;ibase.default_db =6 ~* o3 g/ O8 P& U5 w2 i2 D
  1112. 9 v5 J' [& ?. c1 y* p# p/ w
  1113. ; Default username for ibase_connect().
    8 T' W8 |+ ~6 ^3 H
  1114. ;ibase.default_user =
    * m3 k9 r; G4 U- I& T

  1115.   f+ h9 e9 g2 p
  1116. ; Default password for ibase_connect().
    * J9 g2 K8 u. t/ M% c$ ~
  1117. ;ibase.default_password =
    9 q8 @  E9 J2 M% B6 r4 o
  1118. - n: K. x# ?1 d8 y  L! l8 b1 P& z$ e
  1119. ; Default charset for ibase_connect().1 W+ r; S1 N) T9 Q4 q
  1120. ;ibase.default_charset =" B! `; h$ U8 Q% w! K

  1121. 1 t# R' Z" @7 ]% F0 S) \
  1122. ; Default timestamp format.4 M. |7 }3 y* G' i: W" g0 l: s+ m
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 F6 F+ I+ }! R, ?: k
  1124. 3 v4 h5 ?) L' d6 T
  1125. ; Default date format.
    8 x9 f2 S( X7 G
  1126. ibase.dateformat = "%Y-%m-%d"
    + M. Z  ~( M: y3 E9 ?  g$ L5 ~

  1127. ; V% d4 P# g7 S3 v3 f
  1128. ; Default time format.
      r5 C3 s0 {* ^% Y$ C  u
  1129. ibase.timeformat = "%H:%M:%S"9 L. z. v1 o) s* {4 g% y9 ^/ p

  1130. 8 U% ]" z" h& E/ w
  1131. [MySQL]; L% P/ _# \$ q" h
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, z" b4 H1 u# y1 s
  1133. ; http://php.net/mysql.allow_local_infile/ \& ^1 k  C) j0 I! d2 A
  1134. mysql.allow_local_infile = On
    - J% ~( g* Q' c2 z+ j. J
  1135.   t5 O9 ^+ m% b
  1136. ; Allow or prevent persistent links.
    7 `$ R' \8 ]# L8 O9 U$ s" a
  1137. ; http://php.net/mysql.allow-persistent
    5 o2 R7 Z* S" K* x7 u
  1138. mysql.allow_persistent = On
    * Y2 X$ {& Z) W. G- @6 v2 T2 |- z
  1139. 4 M& H1 {$ [7 Q9 k8 p
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & k, G+ W" I/ ]1 X9 {+ H9 t
  1141. ; http://php.net/mysql.cache_size! X3 ^0 s) _5 s" r0 L" f$ Y
  1142. mysql.cache_size = 2000' s8 p  d- R5 |  ^+ ~- \+ C% a8 w

  1143. 6 {( T: z! `- F0 j& J# p# n: q5 T/ t
  1144. ; Maximum number of persistent links.  -1 means no limit.
    6 @; L& d: E+ @
  1145. ; http://php.net/mysql.max-persistent  ?! S* {6 C6 l8 e2 n8 @
  1146. mysql.max_persistent = -1
    3 z9 C: t2 y" T& ?
  1147. * _9 P1 j$ R2 n4 D  q& F
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& e& _$ }( Z8 S
  1149. ; http://php.net/mysql.max-links
    6 H# g5 Q9 p0 X. s
  1150. mysql.max_links = -1
    / b0 Z7 T8 s# e
  1151. 7 Y& X/ g2 F. H! c9 @4 b7 h( c: L
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    - @: J* ]/ E; J4 z% Y4 X
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! ]& _* H3 ~! `4 g( G
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , _% x. ?$ K, U! T
  1155. ; at MYSQL_PORT.
    0 t- J  O$ V- W8 L0 J5 G
  1156. ; http://php.net/mysql.default-port" [6 c/ d" b! \/ J0 N+ m+ n
  1157. mysql.default_port =
    5 ^( w6 t, g: @
  1158. 1 K' u6 f0 w* b7 }0 Y+ W$ u) b! p" o' R
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / h6 q0 P& M& A! Q
  1160. ; MySQL defaults.
    * }7 D$ D  I0 b' _6 M8 t
  1161. ; http://php.net/mysql.default-socket
    " l  S0 c) _; k4 V+ d% F& b1 R
  1162. mysql.default_socket =
    $ }. Y# v# a% e" z  k8 N& m* ?
  1163. $ z9 e# u- N9 z9 R3 n
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).4 X2 g! {3 ~2 T0 {% P% _
  1165. ; http://php.net/mysql.default-host
    " {  `! d) `8 \' Q4 i3 `. P
  1166. mysql.default_host =" `% M: U7 ]! ^4 V; N/ r

  1167.   b5 w3 K' [. \* A5 K2 r+ w& ?
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) h# ~  g/ }( a5 M( `; e4 \6 v
  1169. ; http://php.net/mysql.default-user7 s$ y' ~/ q$ \- E, f
  1170. mysql.default_user =4 s3 Q. T" \  s* Q! G6 I% V
  1171. ) D' X1 `4 A1 B, X7 t; R. t5 U
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    + [3 \' R. g( p
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 Y5 O4 m! V, J  A5 |
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")4 U5 X# P' w: _" o6 U' @
  1175. ; and reveal this password!  And of course, any users with read access to this& |- h! S$ N7 E* F9 u
  1176. ; file will be able to reveal the password as well.
    - s; v1 ]$ j7 _4 V
  1177. ; http://php.net/mysql.default-password
    0 ^& p1 ^5 |& ~; g) ?( x- T
  1178. mysql.default_password =
    3 \8 ?% @2 r1 \) w3 Q: S

  1179. 8 o% E  b4 l- x' W/ |' I
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    , }% \+ }, g( [( ?$ f. e/ X$ `
  1181. ; http://php.net/mysql.connect-timeout
    : x9 |/ J! z7 l+ j* c9 y% V
  1182. mysql.connect_timeout = 60& m# t) ?% q4 h8 ~4 ~

  1183. 7 {3 S( y  k5 t7 C+ t  T
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ( j, s+ W1 z. f  h
  1185. ; SQL-Errors will be displayed.. O2 W# M( J% S) P) b! G4 k
  1186. ; http://php.net/mysql.trace-mode
    7 y, R7 o& [# ?* Z/ C3 O
  1187. mysql.trace_mode = Off
      H8 C0 c% j( _2 |$ W3 H
  1188. 7 {* i+ N  C0 N9 \  o. R% N! o
  1189. [MySQLi]
    % X6 _) [! @4 {0 d0 f
  1190. " h9 S1 I; N; {/ _/ N8 i' t0 x$ M6 V
  1191. ; Maximum number of persistent links.  -1 means no limit.
    $ @! Y1 K% {2 o: Y: w0 t8 ^
  1192. ; http://php.net/mysqli.max-persistent
    2 Y/ m/ s* S. j+ F4 E: c" X
  1193. mysqli.max_persistent = -1; q! G3 n* {* {' U7 r# d

  1194. , a" g9 i% P  u+ J1 j
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  x8 c6 q! f( b( G8 b' g% a
  1196. ; http://php.net/mysqli.allow_local_infile% h- O& d4 g( N( V+ G8 D
  1197. ;mysqli.allow_local_infile = On
    4 P3 n* [# a( f' A8 W; g

  1198. % ~+ k4 g9 X# `1 g/ H
  1199. ; Allow or prevent persistent links.
    ; h% C0 H- F5 M3 h2 V
  1200. ; http://php.net/mysqli.allow-persistent
    , E# ?" B; c+ N$ b
  1201. mysqli.allow_persistent = On& C6 ^& _% L  U
  1202. 4 n+ ~7 _2 b( |( N) v: P
  1203. ; Maximum number of links.  -1 means no limit.
    1 S. a( c, ^7 Q2 R
  1204. ; http://php.net/mysqli.max-links+ z$ K3 H; i# t
  1205. mysqli.max_links = -14 e. b5 E& @- H# Z* H8 ], @

  1206. & _( P( ~: i3 c; u% o0 _
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! E9 T. n8 {! _9 [& d
  1208. ; http://php.net/mysqli.cache_size$ ]$ a, |* T& d6 ^6 B! J$ c. w
  1209. mysqli.cache_size = 2000
    * V% A9 s/ c% T, P: t$ V8 f1 j; y

  1210. ! G1 z- l, K* F
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 P$ E7 ~, T% W5 W7 R
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the5 Z& b, c! o1 o
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( S, Y. ~; s0 k
  1214. ; at MYSQL_PORT.
    " |) J. `2 v* h$ X' [
  1215. ; http://php.net/mysqli.default-port
    8 Y7 G2 a3 ]/ ]0 ?7 ~
  1216. mysqli.default_port = 3306. i  w# P) G4 o2 y. {
  1217. ; f& W- X/ J9 c0 U/ u) C( F
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in  H2 o, `0 f* `9 M+ s: F/ I
  1219. ; MySQL defaults.' \* W3 n/ W; T' k0 u3 s6 q
  1220. ; http://php.net/mysqli.default-socket# t5 n; F0 Y: _: W2 ~
  1221. mysqli.default_socket =
    : z. V4 E3 |% T: Q' [" P* U( m

  1222. + e' R, ^. J4 @* j
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & {, O" b" B0 ?; h
  1224. ; http://php.net/mysqli.default-host4 q( w. g1 Q# R! V- N9 }
  1225. mysqli.default_host =" @8 f  V: X; w9 G# i3 ~, O' W# b

  1226. % v) L" q. u+ n( I3 {- |! l
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).2 A+ g9 C" A: z9 y
  1228. ; http://php.net/mysqli.default-user
    0 V! B+ [# ?" M& A( x
  1229. mysqli.default_user =
    1 q( `4 a' N. P
  1230. 7 J* T/ }1 y4 D7 w6 C% d
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).4 B, g0 R4 q% \9 u- k
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
      D( X) g9 p# |. q8 Y3 y3 ]
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"). U; y- c3 P  D" p8 u: r
  1234. ; and reveal this password!  And of course, any users with read access to this
    ) c$ V3 D. \: d8 ]# M' M, |
  1235. ; file will be able to reveal the password as well.
    0 I2 w$ v+ U3 B) }2 \
  1236. ; http://php.net/mysqli.default-pw8 N7 s8 V" J4 h/ M. e, ?
  1237. mysqli.default_pw =
    ( r; f0 G* l9 ^/ t7 x( m

  1238. ; D* K: Y4 j# W  A6 E; _2 B: Y
  1239. ; Allow or prevent reconnect
    * w+ h" M3 F$ Z; ~2 E
  1240. mysqli.reconnect = Off
    : T7 w. Z" F( _6 p9 C

  1241. 6 w4 U9 e6 Q( B- f& f, n
  1242. [mysqlnd], A# E4 x; s% U# @: T. }
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be% W+ J2 S4 u# k9 p
  1244. ; used to tune and monitor MySQL operations., Y! |" a/ _: j6 w( `
  1245. ; http://php.net/mysqlnd.collect_statistics( n1 e- o& O! o1 o5 ^  S9 O/ K
  1246. mysqlnd.collect_statistics = On, S4 V' o. j' u9 b& f  Q$ C/ g7 c

  1247. 5 r$ @: p5 a9 g2 `
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 O+ C8 G8 v3 `& c# y3 \6 t6 }
  1249. ; used to tune and monitor MySQL operations.
    3 ]: J% s7 E! A( O% S' Y' B7 b
  1250. ; http://php.net/mysqlnd.collect_memory_statistics  t1 p' J0 E' u; V- @" v' s8 {
  1251. mysqlnd.collect_memory_statistics = Off% D& X! d( e- {5 l

  1252. % @/ J1 ?4 i- l; v
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    3 ^8 f0 ~4 s4 o0 @# q  X
  1254. ; file.$ ?- m7 j7 N/ P, j/ Z4 }# u
  1255. ; http://php.net/mysqlnd.debug
    - l) G# J' a( i& P* U
  1256. ;mysqlnd.debug =2 l" F2 j4 _) A3 g

  1257. ! i# A" C+ d6 v! _$ ?$ D
  1258. ; Defines which queries will be logged.
    * g! N" Q: O. n2 L4 F# f
  1259. ; http://php.net/mysqlnd.log_mask
    + z0 r1 E! D; e- r5 M1 R5 }! |
  1260. ;mysqlnd.log_mask = 0
    6 ?1 ^0 {7 I0 p9 G

  1261. ! G& N1 e6 S4 ]% G4 c
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets." J/ ^% w% g, E- X
  1263. ; http://php.net/mysqlnd.mempool_default_size
    3 \/ q2 P/ M5 A3 x2 b$ P8 m2 @
  1264. ;mysqlnd.mempool_default_size = 16000. P5 q7 v% |! d! H
  1265. 6 \- C" t: X. I# I
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ' V  V2 @& R! i* o
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size) c4 \: Y7 N! D
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    / o' k2 W# R& Z' M

  1269. 8 C+ ?0 H6 ^& S% ~
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in% u- x( B$ e/ D' [
  1271. ; bytes.
    1 Q0 x: ^( u9 k. K
  1272. ; http://php.net/mysqlnd.net_read_buffer_size6 I+ B; I8 H: Y  i
  1273. ;mysqlnd.net_read_buffer_size = 32768
    0 J& e: F) S, {: E

  1274. 3 v6 e% |7 J$ q( p0 D9 B! V
  1275. ; Timeout for network requests in seconds.
    ; N- Z% R& t% k4 X& L; \1 T
  1276. ; http://php.net/mysqlnd.net_read_timeout
    & A2 z% t4 w5 s. z" e/ ]
  1277. ;mysqlnd.net_read_timeout = 31536000
    % [* N& J5 g2 q% Q( i

  1278. & E  l" S! {0 V8 E0 k
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA) E3 W3 v5 s, d* `
  1280. ; key.; l( J7 ^# N* W; ^% i4 z
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    + ?% J& A* U7 A6 o" s
  1282. ;mysqlnd.sha256_server_public_key =
    6 }# f$ ^' C+ B

  1283. & U2 e6 e: Y' D, j9 F- H& X# H4 `' v
  1284. [OCI8]
    5 w$ I- z; m; X& O
  1285. 7 S' I. @* ^2 H
  1286. ; Connection: Enables privileged connections using external
    # x8 m& X# D: R
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 z! E- b/ Y/ E9 A
  1288. ; http://php.net/oci8.privileged-connect
    % E. z2 `1 P, R) n
  1289. ;oci8.privileged_connect = Off# J* A( [+ L7 x, @% E
  1290. / Q2 p! H. m# \5 G; C- Z
  1291. ; Connection: The maximum number of persistent OCI8 connections per: l, d7 z* h+ q' A" d1 @$ j
  1292. ; process. Using -1 means no limit.8 L* I! [/ `: \- v4 h# K5 n8 T* ]  J
  1293. ; http://php.net/oci8.max-persistent+ e4 F' n9 @6 }
  1294. ;oci8.max_persistent = -17 a/ K* G! M" i9 L$ ^/ d

  1295. ; Y7 N4 U7 N$ J5 M4 u+ T9 I6 \
  1296. ; Connection: The maximum number of seconds a process is allowed to# \9 X7 C1 N' `8 }% c8 w
  1297. ; maintain an idle persistent connection. Using -1 means idle) g" m1 e1 e% a* _# M2 ]
  1298. ; persistent connections will be maintained forever.
    # G% w0 e8 C* w: p7 A
  1299. ; http://php.net/oci8.persistent-timeout
    4 I& T& e& r( G9 j9 ^/ _: S/ T& S
  1300. ;oci8.persistent_timeout = -1
    8 N8 _% }+ z' S$ j

  1301. % K7 Z9 E7 K- \2 k: N
  1302. ; Connection: The number of seconds that must pass before issuing a
    / q) p+ I' M2 g6 [8 _. O
  1303. ; ping during oci_pconnect() to check the connection validity. When  P6 k: A* F& g: `
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    1 [' e# p& P* C$ P( M& w" d
  1305. ; pings completely.) l" T8 V8 k7 N  z2 i
  1306. ; http://php.net/oci8.ping-interval
    1 T" |* B- r; {! V4 D
  1307. ;oci8.ping_interval = 60
    - E$ J0 E& d0 k$ i% O1 c

  1308. - r% N; D% ?; E" K- J( k* |% i
  1309. ; Connection: Set this to a user chosen connection class to be used$ b5 W) O, }9 j) C' z6 r! |! C
  1310. ; for all pooled server requests with Oracle 11g Database Resident( e/ ~. x9 E" j* y
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ( d! l4 O8 w4 U( w1 W
  1312. ; the same string for all web servers running the same application,- _$ J; I1 B' Y/ L6 {0 B( ]5 D  `
  1313. ; the database pool must be configured, and the connection string must
    ) d7 U+ n9 a3 X
  1314. ; specify to use a pooled server.8 o8 G- d0 y" i. m8 p: G! J& \
  1315. ;oci8.connection_class =
    & }5 a1 I+ u& @, Q& V

  1316.   Q6 F0 _+ q% T, Q
  1317. ; High Availability: Using On lets PHP receive Fast Application
    : `" M7 c+ U5 b
  1318. ; Notification (FAN) events generated when a database node fails. The
    " a0 [# l( z' m- M8 u, F
  1319. ; database must also be configured to post FAN events.+ J" U  s- i+ |) W2 L" x
  1320. ;oci8.events = Off
    ( x  G6 v& K& l. l3 ~- [8 q
  1321. 9 z5 g! s% f# U
  1322. ; Tuning: This option enables statement caching, and specifies how
    ! N1 Y( W$ E$ m
  1323. ; many statements to cache. Using 0 disables statement caching.- s5 i5 m, K6 d% ]
  1324. ; http://php.net/oci8.statement-cache-size$ Y* x$ e4 }& j% d5 ~: I
  1325. ;oci8.statement_cache_size = 20) g. D- X" Z; U' U% `6 z) b

  1326. : q2 Y& N: o$ i5 G5 F: e- S
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ( y8 o0 q% K# n& `6 q
  1328. ; rows that will be fetched automatically after statement execution.2 G# o- O3 t1 I, ?6 r; V
  1329. ; http://php.net/oci8.default-prefetch& v( x6 i2 G3 @. P% Z# i0 U9 {
  1330. ;oci8.default_prefetch = 1001 ^9 i2 |# d9 f; ?7 |% k0 `, U

  1331. - y/ X" N2 o6 M7 q
  1332. ; Compatibility. Using On means oci_close() will not close
    : Y, i7 g$ @, ?4 D0 L
  1333. ; oci_connect() and oci_new_connect() connections.3 C& l! `% Z5 j3 |
  1334. ; http://php.net/oci8.old-oci-close-semantics/ E% {# O" F+ M# n9 |% [* j/ P% P
  1335. ;oci8.old_oci_close_semantics = Off0 L  L" ^# d$ k0 P5 Q- K! b2 w3 [( F

  1336. - O$ F8 [/ ^# x9 o  K
  1337. [PostgreSQL]# M5 \. K/ v( ^* R. {# `6 Z- h
  1338. ; Allow or prevent persistent links.; g$ g4 J; T7 f# _, V
  1339. ; http://php.net/pgsql.allow-persistent) M4 G/ K/ r$ q
  1340. pgsql.allow_persistent = On' J3 N# o. K! k) }. F
  1341. ) N; ^; g8 i4 e! c
  1342. ; Detect broken persistent links always with pg_pconnect().
    ( u/ ^* n, f3 v% N0 ?( {1 Y
  1343. ; Auto reset feature requires a little overheads.
    - n' K( S5 Z$ \+ X1 ~
  1344. ; http://php.net/pgsql.auto-reset-persistent
    & Y, o9 k  s' C: `( }
  1345. pgsql.auto_reset_persistent = Off8 p  _+ e1 y" d$ f

  1346. & s1 d9 L# h7 d. `0 K9 [# A
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ( [5 w# X  B, |/ V
  1348. ; http://php.net/pgsql.max-persistent5 E- s3 N8 ~" S4 N8 G; y' h
  1349. pgsql.max_persistent = -1
    2 e, `1 }/ N* \. C. j) [
  1350. / y1 [8 P. J6 A. L% o( h% v
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.8 n; S6 [) g( \- ]( H$ ^* f& `" Y
  1352. ; http://php.net/pgsql.max-links
    2 \5 t( a  w6 T, B* O
  1353. pgsql.max_links = -1
    8 @( v. L. T7 z0 L5 {$ r6 ^

  1354. % b' d) X  e3 |& p& `
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ; Q4 U) j# R% Z# K) G0 V
  1356. ; Notice message logging require a little overheads.
    8 Z% x4 A2 c0 o# k" p  w
  1357. ; http://php.net/pgsql.ignore-notice2 k  s7 a# _- Q
  1358. pgsql.ignore_notice = 0
    * Z% ]6 K# \5 N( x0 R7 I8 R  l
  1359. 2 _2 {! z1 f! J$ ?" p6 D( B
  1360. ; Log PostgreSQL backends Notice message or not.
    2 `3 z5 W% [" s6 E  f- H
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; ~2 f' R9 F" l$ V4 m& U' N
  1362. ; http://php.net/pgsql.log-notice
    ; S/ B! f9 l: g& Z7 Q
  1363. pgsql.log_notice = 0
    - O4 f/ U  P, w) m7 m
  1364. $ ~% C" L. F& ~) }1 ]7 g' a& w7 j
  1365. [Sybase-CT]5 t6 M. @$ {  S8 k/ o8 Z
  1366. ; Allow or prevent persistent links.- A) j8 w+ ?& Y$ ~, Z: X
  1367. ; http://php.net/sybct.allow-persistent8 d- N9 K, H( o( i( u1 o+ g
  1368. sybct.allow_persistent = On
    " M* P  T9 b4 T1 s

  1369. ( o4 _% b) d) }  h) ^
  1370. ; Maximum number of persistent links.  -1 means no limit.
    # D$ ~; H5 q1 R2 k: g
  1371. ; http://php.net/sybct.max-persistent+ B4 U  k/ l; p+ S4 N7 H4 ]
  1372. sybct.max_persistent = -1
    - V  g$ ~+ g# \

  1373. 2 }0 t" K2 F6 G" C6 w/ T+ X
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: R7 y  q. C$ J* B3 |4 N  q4 Z
  1375. ; http://php.net/sybct.max-links: R- ?2 i, M; [9 Q
  1376. sybct.max_links = -1
      }! T6 Q5 G) W8 v+ r4 Q& j

  1377. / M. p( E# |1 v; D9 S+ c+ l" k
  1378. ; Minimum server message severity to display.5 Q7 t* l" u) _1 j4 b
  1379. ; http://php.net/sybct.min-server-severity
    0 i) e6 |, V0 f- r- R# }5 L
  1380. sybct.min_server_severity = 10
    3 ]- s6 v! K1 o1 T1 F  F

  1381. / ~9 E( d/ q( i) E
  1382. ; Minimum client message severity to display.( N. m8 f' P' I: A# L
  1383. ; http://php.net/sybct.min-client-severity5 l) h3 |' ~" A5 m& p% k
  1384. sybct.min_client_severity = 10
    & M1 @1 D+ }* s2 N

  1385. 0 n. }$ y% z: Z, u: r; B" |
  1386. ; Set per-context timeout
    9 K5 a8 q0 ^/ F; {
  1387. ; http://php.net/sybct.timeout+ z+ [. x) ^/ t; h9 b" W
  1388. ;sybct.timeout=, q& L$ ~: z: K0 O2 M1 {9 W
  1389. - D) u; t! I& B, G
  1390. ;sybct.packet_size/ O( Z% I0 g# A& q
  1391. 3 W7 e+ w& f4 ~# I- r- H
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    : J& R$ S* y, r, @$ ~/ b! U1 q
  1393. ; Default: one minute
    7 s/ ~% b; |: W/ w" A  J
  1394. ;sybct.login_timeout=
      @! C2 i' a. Q- t* N
  1395. - m5 y9 M0 s6 y+ ]
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    2 C- q1 h- x; L
  1397. ; Default: none/ Y- c$ M0 }! ~0 o5 x
  1398. ;sybct.hostname=7 G% p6 |& ~; Y0 i' r
  1399. ) H! i( B3 Y6 T3 W
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".5 X4 E( D! {+ f6 P, c" u+ |$ a
  1401. ; Default: 0! n( C/ ?; f$ ~: g& n0 l
  1402. ;sybct.deadlock_retry_count=
    ) t: y+ p# l" W! l
  1403. 5 K$ t; T# j& H' D
  1404. [bcmath]5 \$ y; A8 I9 [, q% u9 J' b! J4 ]
  1405. ; Number of decimal digits for all bcmath functions.! I0 n2 e3 V! \+ a9 t2 K1 }
  1406. ; http://php.net/bcmath.scale
    ( T% U& k' C; f( [; f1 t3 a; E/ v
  1407. bcmath.scale = 0
    - p- N  b/ f1 E; K* Y

  1408. ! D2 q% V% b: d: X- m6 i& v
  1409. [browscap]
    : v8 a( z! f/ w$ Y
  1410. ; http://php.net/browscap8 ~- {  {; N7 P: L/ @4 v; Z9 ?
  1411. ;browscap = extra/browscap.ini: ^4 w2 u% z- n" X  i8 S* r
  1412. + f1 h: z4 n1 D, T* N2 J
  1413. [Session]1 K  N/ u  \  b' G
  1414. ; Handler used to store/retrieve data.
    / d- i; a- s' a  Q
  1415. ; http://php.net/session.save-handler8 H7 z# z: W" j2 Y9 X, T
  1416. session.save_handler = files5 C7 k9 d6 a6 {. p( X' p( @
  1417. . c! ?; Q. U$ l. z( X9 P
  1418. ; Argument passed to save_handler.  In the case of files, this is the path: n2 P( t3 H6 \6 z8 L# y
  1419. ; where data files are stored. Note: Windows users have to change this
    " r# o8 Z1 c2 R# O3 b
  1420. ; variable in order to use PHP's session functions.* ]+ @# `8 ~9 @, h  @$ K4 f
  1421. ;
    6 h% V) }2 E% j1 S! k
  1422. ; The path can be defined as:, u2 j8 z2 Z6 ~/ ^" z) `2 O# k, j
  1423. ;
    ) J  g$ w2 M6 M( T
  1424. ;     session.save_path = "N;/path"5 t- r+ z! ^- e, U3 ?
  1425. ;% m9 P! _. U$ I/ T6 l
  1426. ; where N is an integer.  Instead of storing all the session files in
    + c- C2 V; i0 h% Y. p
  1427. ; /path, what this will do is use subdirectories N-levels deep, and; P. Y  K$ I+ f9 S9 ~( C7 ~( q: n7 x
  1428. ; store the session data in those directories.  This is useful if! F6 l3 J6 F* r3 F" y
  1429. ; your OS has problems with many files in one directory, and is
    4 p9 f( w; x: Q( d3 q% y# y
  1430. ; a more efficient layout for servers that handle many sessions.
    ' e4 p9 Y/ x3 A2 y. D' P
  1431. ;* s$ L5 F, Y# d; w
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    " J3 v1 J, Y. H6 f5 A( A9 X. j2 L
  1433. ;         You can use the script in the ext/session dir for that purpose.
    % F1 V6 o) x# c* U- |8 Q. a( [
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ' k- N! c( t0 g  m% b+ E
  1435. ;         use subdirectories for session storage
    : t6 D: \% z2 Q* m3 x: Y/ o
  1436. ;3 I% {) G9 j! _
  1437. ; The file storage module creates files using mode 600 by default.9 W1 ?+ H9 f  {! p+ L' _8 x. r6 ]
  1438. ; You can change that by using
    / ]6 N. f8 i4 m8 H& m
  1439. ;
    $ C, c4 S2 d$ d
  1440. ;     session.save_path = "N;MODE;/path"
    . M" l0 o/ y+ L& ]3 ^! t: Y6 W& r2 l
  1441. ;$ ^9 z" `8 q( T
  1442. ; where MODE is the octal representation of the mode. Note that this
    % Q, W: j6 {2 V$ z6 ^( z
  1443. ; does not overwrite the process's umask.
    , j% L$ I. w8 B
  1444. ; http://php.net/session.save-path% @4 s0 S8 O2 R: v" b/ F' h8 r
  1445. ;session.save_path = "/tmp"2 p% h& w  [$ E" v& B- q# G0 M
  1446. ( T9 Z, ^: T  T' `! _3 F
  1447. ; Whether to use strict session mode.
    * y4 ~5 P" A) s1 j
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate/ N- ~6 L8 n! E; M5 {
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects* h% E; q3 [* V, `/ y
  1450. ; applications from session fixation via session adoption vulnerability. It is" k1 S' L7 Z4 d5 h
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    1 T) C5 l" f7 E3 V
  1452. ; https://wiki.php.net/rfc/strict_sessions8 S# I: |2 F! U5 e5 J+ ~% S' @6 R
  1453. session.use_strict_mode = 0
    # b% d+ i  v3 H- g" N
  1454. 4 E" r/ e2 I3 v/ f( R
  1455. ; Whether to use cookies.5 N; e$ v: ~+ L/ f4 u7 e# p- G
  1456. ; http://php.net/session.use-cookies# I' X+ D; B8 C
  1457. session.use_cookies = 1, X! i9 {1 ?( G
  1458. * f' c) `' u( ^' i8 S
  1459. ; http://php.net/session.cookie-secure3 R3 ?" Q5 i7 R8 ], o0 }8 Z, y
  1460. ;session.cookie_secure =0 U4 K3 [( R! [/ [% F2 w

  1461. * G& \) G3 k5 H6 X* ~9 K
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & W/ t+ c9 R* N5 h+ c( x7 n
  1463. ; the session id. We encourage this operation as it's very helpful in combating% Y2 k8 v; D9 |/ y3 b0 D2 I
  1464. ; session hijacking when not specifying and managing your own session id. It is+ w% }  {4 D5 V6 W: B/ h
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " Y- f, U4 [- f9 [3 i
  1466. ; http://php.net/session.use-only-cookies; S. q' O* t7 ~2 {1 i" e
  1467. session.use_only_cookies = 1
    , h# L5 E. T' P% Q9 Q
  1468. ( I/ y+ c: `! D8 ?, |: V* u/ @
  1469. ; Name of the session (used as cookie name).
    / r7 C9 |+ X! ?# s
  1470. ; http://php.net/session.name
    ) D4 N3 K# `  }* K/ Z4 x/ d
  1471. session.name = PHPSESSID
    / n# _; Y  _+ Y0 K* X: b; t5 |

  1472. $ ]5 B; ]+ S' M4 ~- K$ S2 D0 S, T
  1473. ; Initialize session on request startup.
    ) @; h, q, J0 r/ ~5 X1 \
  1474. ; http://php.net/session.auto-start# [. c/ z3 X+ `; I) |/ r. i
  1475. session.auto_start = 0
    4 {5 w# ]/ m6 E
  1476. ( f& E2 ~( r& `  ?7 n
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.; Y. p( h1 T% ^1 _
  1478. ; http://php.net/session.cookie-lifetime6 u8 L& ?4 I2 u2 p* ]# ?" q
  1479. session.cookie_lifetime = 0" e1 t$ c5 m  J

  1480. 5 D3 `" R5 u# [
  1481. ; The path for which the cookie is valid.
    / m% C0 W5 E: P( {/ s: `
  1482. ; http://php.net/session.cookie-path0 s* {5 a* l) D1 [" t6 x' u
  1483. session.cookie_path = /
    2 N: \# L8 u1 j2 `& E7 z, D

  1484. & t! s& Q1 Q( i, N
  1485. ; The domain for which the cookie is valid.2 t- E* M+ S! H0 }2 t9 T' ~1 A. ]
  1486. ; http://php.net/session.cookie-domain
    ; Z# |# z: K6 j$ w
  1487. session.cookie_domain =
    " L: _% M5 u5 F# G8 V
  1488. 9 b- c; T& D1 m. W/ s8 E
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* h" ]4 t$ j! o% X) x. [: {" o, M2 }
  1490. ; http://php.net/session.cookie-httponly8 ], V0 T2 i5 a" D- _$ U" _3 N2 z$ S
  1491. session.cookie_httponly =) L% x1 I3 v* R* O; Q( H
  1492. 1 _: ^4 J; ?# G( ^/ `- E+ h+ f
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # t: |* n* o1 q: H& Q5 E! @  W' I8 S; i
  1494. ; http://php.net/session.serialize-handler# _6 x- E" R7 |
  1495. session.serialize_handler = php4 r1 u- `0 s" t3 K( |9 d1 e- ?

  1496. . z3 X0 [. Z9 ?0 d5 p3 s
  1497. ; Defines the probability that the 'garbage collection' process is started: M: m" S* a8 v' r5 C( A
  1498. ; on every session initialization. The probability is calculated by using: a- z  z! E' B, _5 {( t
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator* D( O# }2 Z: V" }6 o" V
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 11 ]8 q  x3 k; }0 v- d, \
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% r1 @/ o; c# ]# n: p8 P& P+ ^
  1502. ; the gc will run on any give request.
    # _- \5 g2 E) y4 B, ]! U
  1503. ; Default Value: 1
    - L- P; }# c7 u  P
  1504. ; Development Value: 1$ o# O$ W. X: B; W4 X
  1505. ; Production Value: 1+ Q0 e8 c0 s8 p9 r
  1506. ; http://php.net/session.gc-probability
    5 y% F' E  B0 A- s; I
  1507. session.gc_probability = 1
    : Y+ I) X( U( {5 ?" x% `6 {7 ~

  1508. 4 F# x$ Y4 @, P+ E% [, M( w
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 f7 J, @7 n1 B; [  G1 y
  1510. ; session initialization. The probability is calculated by using the following equation:4 {4 O% J/ b/ S  ~
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    $ [/ F0 Z* |/ x- o
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 d: C) q0 _: k7 R; a2 v" G
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 W# u4 l% b! ]( K7 l' |4 N& B
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you! N: |/ v0 _6 Q
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,0 O' c. Z7 G2 C2 w$ p5 V
  1516. ; this is a more efficient approach.- O2 s2 ^) w7 ?# k2 Y$ r4 L( j( a
  1517. ; Default Value: 100
    " T6 M$ q+ }1 @
  1518. ; Development Value: 1000
    4 y# q3 E! ~% q- m+ b/ I  w; r
  1519. ; Production Value: 10007 q2 w# l" g# h0 ^
  1520. ; http://php.net/session.gc-divisor$ |1 n3 q0 V2 [; a
  1521. session.gc_divisor = 1000
    . A3 }  v- x9 m, Q# a1 W: n+ r
  1522. 4 K# \1 r- b% J/ @7 y/ }. W4 e, }, i
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    " _0 h8 j: h7 N, q& n) k& i
  1524. ; cleaned up by the garbage collection process.
    2 u% Z4 R; I/ U
  1525. ; http://php.net/session.gc-maxlifetime
    . ]: _' P5 b. \5 Q9 m
  1526. session.gc_maxlifetime = 1440
    ! a( Q- @7 O4 Y( ]2 \: A

  1527. 2 t% G/ N) q- y
  1528. ; NOTE: If you are using the subdirectory option for storing session files6 ~& g' q5 c# c: R- h0 j
  1529. ;       (see session.save_path above), then garbage collection does *not*
    9 o) s+ h7 D5 ?; g% k5 N) E9 \
  1530. ;       happen automatically.  You will need to do your own garbage
    # c) }4 Q+ U- S# P; R7 S
  1531. ;       collection through a shell script, cron entry, or some other method.
    6 I' ~% r* }& R8 Y
  1532. ;       For example, the following script would is the equivalent of
    ; h2 ^. h8 Y3 {) y% [& |2 ^
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    2 o8 I/ s* C" y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm( ^$ O! Q( U! C5 J6 t

  1535. 5 @, [+ ~3 W7 H0 _3 [3 L
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.9 l( }4 H3 p2 r2 C
  1537. ; HTTP_REFERER has to contain this substring for the session to be$ Y5 U8 V& a& p
  1538. ; considered as valid.+ }1 M& G6 j8 h7 R9 Q1 z
  1539. ; http://php.net/session.referer-check' Z7 a! y' i  Y. C
  1540. session.referer_check =1 w* t: E# S! v

  1541. : c, p+ s. [* `: z# N
  1542. ; How many bytes to read from the file.
    * i, n2 U  Y% w
  1543. ; http://php.net/session.entropy-length) T+ N# t5 @& z! n' s- P9 i
  1544. ;session.entropy_length = 32
    2 N/ {5 w( c% O7 v, }+ Q
  1545. - ?. z6 q  @. }9 R* h/ c
  1546. ; Specified here to create the session id.
    ! N3 h" {" ?/ `3 `$ q9 W
  1547. ; http://php.net/session.entropy-file
    7 L6 s* l# X4 H
  1548. ; Defaults to /dev/urandom
    + A1 }- j8 V+ e' E3 o
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    7 [, E5 @. X' W
  1550. ; If neither are found at compile time, the default is no entropy file./ B- S4 m8 p5 O8 Z2 s- @4 b
  1551. ; On windows, setting the entropy_length setting will activate the5 e2 ~' v% x  O. r
  1552. ; Windows random source (using the CryptoAPI)
    7 x! E) ]9 x( l; R
  1553. ;session.entropy_file = /dev/urandom' L* d3 N7 }3 l7 U9 Z' g, t6 W3 C

  1554. ; h* G; ^, ?2 Z  p) J+ T) @; M; P% }
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects8 o" O$ F* O4 O& k2 y  }3 \
  1556. ; or leave this empty to avoid sending anti-caching headers.
    , j( R; ]7 f% S% R. g% @
  1557. ; http://php.net/session.cache-limiter) w, J: Z7 u* C- G, J* i! m- b' o
  1558. session.cache_limiter = nocache
    ; A) l% u4 G* z* W# v+ W' e

  1559. 7 k. D/ x& ]# M! O* w/ V
  1560. ; Document expires after n minutes.  M5 {: s3 d3 w/ }2 D  u
  1561. ; http://php.net/session.cache-expire
    4 v: g# G4 J5 m7 z  b# l
  1562. session.cache_expire = 180
    3 O8 e2 J5 |8 \/ D5 s& x8 ?
  1563. . x' T7 Z. Y6 v5 P- ?' h- x
  1564. ; trans sid support is disabled by default.
    8 V. a5 M6 A$ u! Q7 b
  1565. ; Use of trans sid may risk your users' security.
    - V* a9 |+ I- s/ T" C% \
  1566. ; Use this option with caution." I5 D$ C' l! s9 V8 m& [
  1567. ; - User may send URL contains active session ID
    7 Z& D9 C2 l7 L9 Z) `# c
  1568. ;   to other person via. email/irc/etc.
    , e) y4 S: V, V# a' t1 V
  1569. ; - URL that contains active session ID may be stored5 V' t3 T3 j8 M; o+ R! W" P
  1570. ;   in publicly accessible computer.6 j, X1 e6 }6 t6 Q+ @- K3 W
  1571. ; - User may access your site with the same session ID
    & i+ t$ O; _7 Y, ?8 {0 ?
  1572. ;   always using URL stored in browser's history or bookmarks.2 B" K( |, \9 P, [+ m3 @
  1573. ; http://php.net/session.use-trans-sid
    " P) W+ n5 I9 n4 ~6 }1 G  `
  1574. session.use_trans_sid = 08 h" A# N9 v3 d1 T  Y1 z

  1575. 6 r" C# T5 b# m& w) }+ O
  1576. ; Select a hash function for use in generating session ids.8 W' ^) c& d) U2 ?
  1577. ; Possible Values4 U3 X+ {; p! r- a" e6 Z: a" i
  1578. ;   0  (MD5 128 bits)
      L+ O2 J& J: K2 m. @6 G
  1579. ;   1  (SHA-1 160 bits)
    , ?' l2 R2 x: T
  1580. ; This option may also be set to the name of any hash function supported by; }6 }/ G' }7 k, u5 S4 @
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()/ c" G7 _/ J9 A% n6 P6 h) Z
  1582. ; function.  e) H: _  b; n# d
  1583. ; http://php.net/session.hash-function
    5 U- @  M# D9 d4 ?- }0 H0 P8 f
  1584. session.hash_function = 0# A$ l/ N9 X& A) ?2 L  f9 ?

  1585. 6 A& i5 j2 U5 R& N2 N& f
  1586. ; Define how many bits are stored in each character when converting3 O0 M& ^0 T1 |1 P1 y/ c
  1587. ; the binary hash data to something readable.
    - |; u9 }$ R' Y9 @% q  }
  1588. ; Possible values:
    1 L' F# D- `1 p" Y4 V
  1589. ;   4  (4 bits: 0-9, a-f)& H" K, n% z1 r* L0 Q9 a; M: f7 k& e
  1590. ;   5  (5 bits: 0-9, a-v)8 l8 S* n- g6 q7 A' b) X6 J
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( `  u* b  o1 `4 t2 p" B
  1592. ; Default Value: 48 P  D/ V0 O8 ]2 w: h
  1593. ; Development Value: 5
    % v$ N. Q; C  [% E* c
  1594. ; Production Value: 5# a1 w2 K" s/ r- J( ?
  1595. ; http://php.net/session.hash-bits-per-character/ V" {9 y$ |5 r& m4 M; Z
  1596. session.hash_bits_per_character = 5
    4 x( T* A, C/ U$ [& |1 [4 ~: n0 w# C! x
  1597. , M3 h; y1 H  G8 G) k
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    + a$ S, d  N1 H7 q( Z
  1599. ; form/fieldset are special; if you include them here, the rewriter will  f3 r( Q  n4 |8 r. ~2 C8 ?
  1600. ; add a hidden <input> field with the info which is otherwise appended0 T2 i3 z9 J' a7 B1 k" S6 k! u
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.2 a( w. `; z! D+ P# j
  1602. ; Note that all valid entries require a "=", even if no value follows.
    " K# S: s) T. O+ U6 R, C
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="8 ?1 R( x3 j$ R, D& u
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; E* ~& l6 R" C3 }8 _5 |5 s
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : P( X4 c" s9 @0 U' w
  1606. ; http://php.net/url-rewriter.tags
    * z# x4 _  K/ V7 E
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"% R0 W" h% j/ T( g
  1608. 9 t2 P, d  @* S) c; \) H/ ^
  1609. ; Enable upload progress tracking in $_SESSION
    $ Z  F! M9 A  e4 h; I
  1610. ; Default Value: On
    $ N1 l, s- l) r% p" h4 i
  1611. ; Development Value: On& d1 c7 m. i3 d$ T* R
  1612. ; Production Value: On
    " u7 `- j- M. z$ w. `
  1613. ; http://php.net/session.upload-progress.enabled% w+ C) M% e- s! N/ z6 B  {
  1614. ;session.upload_progress.enabled = On" S. E9 a! F7 I

  1615. . E  g) Q  P6 P/ |- ~9 b& k
  1616. ; Cleanup the progress information as soon as all POST data has been read  k; R1 K! c- s% G
  1617. ; (i.e. upload completed).
    % b7 Y1 ^3 \% T
  1618. ; Default Value: On5 i4 Q7 z) }! [. g/ u  q9 I
  1619. ; Development Value: On
    " \" Q/ ?% K) L
  1620. ; Production Value: On
    / z) r) v4 U6 e* u% I
  1621. ; http://php.net/session.upload-progress.cleanup
    & h8 g* _4 ?5 t! T
  1622. ;session.upload_progress.cleanup = On. R. b" M0 u% l6 w8 l3 @

  1623. * A: R! J) S2 W
  1624. ; A prefix used for the upload progress key in $_SESSION, p" j1 R: ~! p6 A! d  l5 p5 q
  1625. ; Default Value: "upload_progress_"3 W1 w6 I1 r+ R- ]4 O3 J0 O
  1626. ; Development Value: "upload_progress_"8 k1 r( _  |0 `2 d
  1627. ; Production Value: "upload_progress_"
    ' _* ?; P8 x  E1 Z
  1628. ; http://php.net/session.upload-progress.prefix; h! D$ M0 M# y* [2 L
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ! J( c( }( B  ]# q/ z

  1630. + O5 ?! [9 U  n$ x4 J* [
  1631. ; The index name (concatenated with the prefix) in $_SESSION6 ]4 E7 K# y6 ~" z
  1632. ; containing the upload progress information8 V4 R  N  R  B3 I, C  W4 k
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : N1 f! P8 A: k" w# g( u: f) J: d
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# |3 H$ s/ y, m
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"( A2 D) U0 I, Y2 j9 _
  1636. ; http://php.net/session.upload-progress.name
    " S9 F) W0 f5 s2 T* c% I
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 C# @/ e- e( X! i6 L$ g# U7 j; w
  1638. 7 v, Q% U7 H. P" y4 F# i9 ?
  1639. ; How frequently the upload progress should be updated.
    * {+ }- z) E0 X
  1640. ; Given either in percentages (per-file), or in bytes
    ' j2 t# W! R) R: u( ]( i' K
  1641. ; Default Value: "1%"  w. c' [  d* {' f" e5 w
  1642. ; Development Value: "1%"
    $ v6 ?" g) x0 K. u
  1643. ; Production Value: "1%"3 P7 T* Y, Y: ?- L, A
  1644. ; http://php.net/session.upload-progress.freq
    7 e7 s5 T0 ?. Y8 c
  1645. ;session.upload_progress.freq =  "1%"& ^: E. L5 A! m

  1646. 6 @3 s9 v* L9 @' c
  1647. ; The minimum delay between updates, in seconds
    + }0 h1 s+ h8 B, k9 g  S: r2 y# Z
  1648. ; Default Value: 1+ j6 z9 I, X8 {3 H! h" F
  1649. ; Development Value: 1* [; L: l' V9 l! S
  1650. ; Production Value: 1
    0 M7 O0 a0 V  K. ~, G& X+ f& J
  1651. ; http://php.net/session.upload-progress.min-freq
    ( E+ z6 S- _  B" k1 g3 t
  1652. ;session.upload_progress.min_freq = "1"
    , Z0 g$ B- ]& [, o0 R! a6 B' b
  1653. 2 |2 w) G6 @) _" N* v. w* R0 c" Y
  1654. [MSSQL]
    ' j* [1 O) F% L) }; x
  1655. ; Allow or prevent persistent links.
      Y9 H( x' f3 Y4 {7 ?
  1656. mssql.allow_persistent = On- t- p) Y  ]$ s( G- N0 D

  1657. ; `+ L: q8 w5 E" ^" v8 h
  1658. ; Maximum number of persistent links.  -1 means no limit.
    . I3 y" {# G: R; H& _$ Y! M
  1659. mssql.max_persistent = -1
    ' F! y8 I2 _% _+ g
  1660. 7 V  r# D2 Q) ]- e4 s& X) j
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + ^* ]) c+ _1 w" e+ t
  1662. mssql.max_links = -1
    # Y7 k* d; O0 H1 Q) J" ~9 ~

  1663. . w2 \; |% M7 v. J, \1 m
  1664. ; Minimum error severity to display./ _1 o& o2 f! V# }' A% p
  1665. mssql.min_error_severity = 10
    - F( y' r% `# K9 r. h

  1666. - P9 N3 Y6 _" M' Y( u# t8 u
  1667. ; Minimum message severity to display.
      Z+ [  T1 [# X& q
  1668. mssql.min_message_severity = 10
    ! M1 Y& h" m2 M; B9 G5 b% z
  1669. # Z% u/ A3 ~% a6 G5 N6 ?
  1670. ; Compatibility mode with old versions of PHP 3.0.0 m% {0 H3 F. i7 d! L# c/ C! Y
  1671. mssql.compatibility_mode = Off3 t* d3 E& o" `' Z* a8 }

  1672. ' k" P7 D( `9 `9 i
  1673. ; Connect timeout( z/ u- h& J4 v: |) n
  1674. ;mssql.connect_timeout = 5: l8 K8 s1 U; {2 v
  1675. , p& D5 u2 R5 S5 x  I
  1676. ; Query timeout# C6 J6 _5 k/ R; ~5 C) _
  1677. ;mssql.timeout = 60
    # D1 c! N; S1 `. K  Z. A' T2 t
  1678. 6 r- b0 H! W! ^: T% i& |
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    # X" \* N8 X' T+ [
  1680. ;mssql.textlimit = 40961 s, w" U9 `9 U

  1681. 1 S& b( K$ Q9 ?# E' ~
  1682. ; Valid range 0 - 2147483647.  Default = 4096.) f, M3 i4 W/ a$ j7 [4 {' ^2 R8 d
  1683. ;mssql.textsize = 40961 J) x; Y/ M9 i) W4 }
  1684. 6 r, @4 _# k0 S6 Q  }- F% F$ x
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.$ {5 _) ?8 C. D4 v. ]7 F- h
  1686. ;mssql.batchsize = 05 k& Y; h! S" c, f$ j) M6 ?
  1687. 1 _5 e. B2 O  |
  1688. ; Specify how datetime and datetim4 columns are returned/ [3 J: \  t( |, b( `
  1689. ; On => Returns data converted to SQL server settings
    : a* y  g# n- l- D  m. `
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    1 {1 @0 N1 m1 U" P, b7 R
  1691. ;mssql.datetimeconvert = On
    # o$ j7 B% |* j+ p

  1692. " [" u" k* A% j! T5 q
  1693. ; Use NT authentication when connecting to the server* v; M& O8 W; i7 M( F& d
  1694. mssql.secure_connection = Off
    3 y+ u, W7 V5 O7 \7 p
  1695.   ]0 P0 J1 }5 L4 I- e
  1696. ; Specify max number of processes. -1 = library default% k& M: [8 d# V
  1697. ; msdlib defaults to 25( i% O+ D2 @' X& X, M" S2 O  {9 D
  1698. ; FreeTDS defaults to 40961 ?; e3 ~* H0 a) A( t4 O0 h
  1699. ;mssql.max_procs = -11 T! P$ o7 g; {5 E
  1700. , P* c: K( |6 ]* E! p
  1701. ; Specify client character set.3 h2 R8 a2 K  D0 {
  1702. ; If empty or not set the client charset from freetds.conf is used9 E  d; Y+ u+ R4 q$ Z
  1703. ; This is only used when compiled with FreeTDS  M! |! ]; m; t  O1 I4 V, L
  1704. ;mssql.charset = "ISO-8859-1"9 N/ ]5 I+ l% n2 R9 H

  1705. * g5 G7 W% O! Q8 G
  1706. [Assertion]
    : M. t+ E0 F! x0 `& F
  1707. ; Assert(expr); active by default.' ^0 Z, U, a5 K- T( t4 X0 N
  1708. ; http://php.net/assert.active
    $ r, e  e; ?0 h0 G
  1709. ;assert.active = On) S+ d. ~; u/ f

  1710. * c* i9 y5 [, k
  1711. ; Issue a PHP warning for each failed assertion.4 l0 a6 Y4 o( H6 q
  1712. ; http://php.net/assert.warning2 D2 b( o9 S9 }9 u! P: E
  1713. ;assert.warning = On
    % b5 p. R+ `, {+ Q: L9 h
  1714. ; r6 s' r! e2 G
  1715. ; Don't bail out by default.* |, y, n  D4 g% @0 \) Y
  1716. ; http://php.net/assert.bail
    / z9 w2 D) g! o2 G
  1717. ;assert.bail = Off: i3 b4 P0 t6 h2 S; r

  1718. * W/ K$ ?. J, g
  1719. ; User-function to be called if an assertion fails.; X( d+ n4 `! m# y
  1720. ; http://php.net/assert.callback* p+ p! f0 _/ E0 a* r$ P! y! G
  1721. ;assert.callback = 0( U7 i% y+ [& a" m' f

  1722. : U2 R# d3 _+ o* D* h
  1723. ; Eval the expression with current error_reporting().  Set to true if you want+ O4 Z+ x2 T  q
  1724. ; error_reporting(0) around the eval().& L6 Z- K9 z, S7 d
  1725. ; http://php.net/assert.quiet-eval
    8 O( J. W: S5 V
  1726. ;assert.quiet_eval = 0; \% ]: \! o9 C0 @; Z) h

  1727. % p- Y! a. n' v" `9 s9 f6 L3 L
  1728. [COM]# C1 l/ W/ `, K) s
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # q* r% \7 `8 ?$ S
  1730. ; http://php.net/com.typelib-file" h$ `" R+ ?; ]6 z
  1731. ;com.typelib_file =
    & I0 c- H/ T) P: H: ~: O" \
  1732. + y! |( J" C  Z/ h& d
  1733. ; allow Distributed-COM calls
    ) ^0 R5 v6 b3 C& C5 b" X" [2 `: J* ~
  1734. ; http://php.net/com.allow-dcom; ], O( ~0 ?; v" D1 T" Q
  1735. ;com.allow_dcom = true& N  n* X, Z! q& c0 u( M2 j
  1736. 3 @$ h- f+ J4 p* @7 x1 m
  1737. ; autoregister constants of a components typlib on com_load()
    8 V3 s8 Y; r0 L; b; p& l4 |. {
  1738. ; http://php.net/com.autoregister-typelib
    7 u5 n, I5 l4 R7 G: A
  1739. ;com.autoregister_typelib = true
    5 k; n: E' y! B" w

  1740. : D$ i( d1 m+ L' p5 M% s
  1741. ; register constants casesensitive. u4 J" a) _5 M
  1742. ; http://php.net/com.autoregister-casesensitive
    ! g$ X( e- a3 s0 t) h% ~' t- n) \
  1743. ;com.autoregister_casesensitive = false
    . e3 ~3 h, ^) E  x2 _' O# l

  1744. 2 C- r% w8 U/ g# D9 @: ~
  1745. ; show warnings on duplicate constant registrations7 o. z5 [1 |/ M
  1746. ; http://php.net/com.autoregister-verbose3 t6 ~1 x6 f# {; b
  1747. ;com.autoregister_verbose = true
    / b2 |* n  T7 D: l$ ~7 ~7 e

  1748. 9 c2 b* M% f7 g* ^3 k
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    * F5 X" ^/ G0 t( F
  1750. ; Default: system ANSI code page
    2 I) k: V. h  r, N/ @
  1751. ;com.code_page=
    : D: c4 Z/ t+ N; b5 r( _

  1752. , d: K& k" s2 ~' a7 `! p# ]9 ^; u
  1753. [mbstring]
    $ n3 R% J. R" u
  1754. ; language for internal character representation.1 f# p3 q7 n( u- l' c; u
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ; s0 Z$ t: I+ B1 _: X
  1756. ; http://php.net/mbstring.language
    2 e- E; W- s. L+ I/ y
  1757. ;mbstring.language = Japanese
    . M9 U' ^6 r) L
  1758. # B7 d. Y  X9 [0 J/ T
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 k7 k' t$ w! N! e2 D6 C! `
  1760. ; internal/script encoding.( o/ I5 n( _7 [9 N
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) N* R, T$ h4 g
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 k( b0 S2 @1 ]
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 m# s$ d3 Q4 U! b* h. y: T8 G; c  P
  1764. ;mbstring.internal_encoding =
    ! A: J9 A  |' ^1 k8 E& y
  1765. ( i/ f; E/ @6 f5 o% R; L% I) |
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.3 j& B' M4 U7 ?" a
  1767. ; http input encoding.
      }) E/ {8 A. K& N+ ^- q
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & r1 V0 [6 [: x
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.! v% S' Y( J. C) H$ `
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input- @( y' t/ ~/ J, R" \1 R1 G
  1771. ; http://php.net/mbstring.http-input8 B$ l; O1 F+ s, J, v# Y9 z5 g
  1772. ;mbstring.http_input =
    $ t. b+ j. g# P; ~8 a
  1773. 1 _* ]; b/ A4 ^' b
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 r* F$ H& b* `: P% W: p9 k6 ~$ M
  1775. ; http output encoding.3 Q+ h: e/ w- a# G3 O3 [9 x, Z' N
  1776. ; mb_output_handler must be registered as output buffer to function." Y, V/ E1 h$ \% n
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.3 L% {& W5 g, u; M3 d) m
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output# S/ }- n+ e9 ~  `6 c
  1779. ; To use an output encoding conversion, mbstring's output handler must be set! a# L/ P: l9 x7 q
  1780. ; otherwise output encoding conversion cannot be performed.: `5 j* z2 O0 k7 N
  1781. ; http://php.net/mbstring.http-output% q4 W7 A6 R- c1 a( T
  1782. ;mbstring.http_output =5 N% C2 Y5 r4 C9 ~9 e
  1783. 4 W/ j* A" k. A1 x- Y. U) y$ V( s9 m
  1784. ; enable automatic encoding translation according to
    , `# h% w; m  I! h9 t; i" C
  1785. ; mbstring.internal_encoding setting. Input chars are
    $ \# u0 T9 q" Q1 w! _- a) i
  1786. ; converted to internal encoding by setting this to On.8 \$ ?- p. V1 A" P: B/ Q
  1787. ; Note: Do _not_ use automatic encoding translation for$ X0 w4 _. E. n" Y
  1788. ;       portable libs/applications.& q" S0 Y- H! q1 p) B' x% T# g
  1789. ; http://php.net/mbstring.encoding-translation
    . c6 [! I. N8 n- G5 V" Y7 n9 Z
  1790. ;mbstring.encoding_translation = Off  C: Z& {8 k6 n9 j
  1791. " O! z: F' D. e
  1792. ; automatic encoding detection order.
    9 V# P% K. |; @/ I+ N4 u
  1793. ; "auto" detect order is changed according to mbstring.language
    . \8 {+ ^$ O' S
  1794. ; http://php.net/mbstring.detect-order
    " j! ]; @/ p5 k% o
  1795. ;mbstring.detect_order = auto
    6 f- g& {0 {8 o% V5 s

  1796. & ?# T$ }  A6 U) c: |
  1797. ; substitute_character used when character cannot be converted
    ! n# P" a2 R7 E. l; `1 @& P) e2 O5 _
  1798. ; one from another# C  I/ A+ h5 X! U
  1799. ; http://php.net/mbstring.substitute-character& d7 w- U3 c, {; ^: D' O
  1800. ;mbstring.substitute_character = none1 ~- `  C. u) @4 S6 w3 ]3 g
  1801. 0 @# D. e& g2 v. u; b" a
  1802. ; overload(replace) single byte functions by mbstring functions.
    , T5 N0 @8 ]5 E" V" w) w
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg()," C/ m6 m8 j- J7 h) n" R3 H
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.3 |, S4 C" h+ G3 P- X2 X: S
  1805. ; For example, 7 for overload everything.
    - j+ B0 w9 B% \
  1806. ; 0: No overload. O7 l, ~& f8 c/ f3 H2 _
  1807. ; 1: Overload mail() function1 j3 W! q! G) `4 w7 C
  1808. ; 2: Overload str*() functions
    2 m2 _: I& Z+ X- m( z
  1809. ; 4: Overload ereg*() functions
    : _4 f. k  G8 l7 E- Z7 j# V
  1810. ; http://php.net/mbstring.func-overload
      F  r$ X1 D; J0 k1 x9 K# ]
  1811. ;mbstring.func_overload = 09 |! y3 @# S+ _5 ?# _& Z! l2 ?

  1812. 5 n% k! K0 O- c+ R5 _( H4 r6 b+ w
  1813. ; enable strict encoding detection.
    2 c+ {$ c5 ~! {. a/ M- E
  1814. ; Default: Off) v% p- _/ G- U' O# e
  1815. ;mbstring.strict_detection = On
    : }- O7 @- B  j

  1816. 6 S$ B) C: c1 ]; Y) k
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ ]- w+ d& p: Q( j& E$ D
  1818. ; is activated.
    3 }; X. l2 z$ ]! \7 O. r* u; V% l
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    0 k0 b; j( l% P2 Y, B& o8 z
  1820. ;mbstring.http_output_conv_mimetype=) [5 s- y, Q' g& x7 e) |. z
  1821. 0 l, n" b5 }# `1 W* V& U
  1822. [gd]5 C5 h  i) n9 L& e, s7 f$ y0 l3 n
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    7 A6 ?% g6 v! F9 p8 H* f
  1824. ; a gd image. The warning will then be displayed as notices
    # x% _% |" @8 [! W2 G/ v: a2 h, z/ I
  1825. ; disabled by default
    / _4 a3 Q3 s: d5 P# U0 B
  1826. ; http://php.net/gd.jpeg-ignore-warning- K' [( s; Z% z- V
  1827. ;gd.jpeg_ignore_warning = 0
    $ M1 p% U2 A+ |' E! Q; ]3 K
  1828. . H, E) _6 n8 z" i  m7 O
  1829. [exif]& L' Q; w6 X9 e8 q; \
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; |! M. O# j; {4 W) Y: }* B
  1831. ; With mbstring support this will automatically be converted into the encoding, D/ X5 @7 n/ e6 X
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 c: C1 e" e& q* a
  1833. ; is used. For the decode settings you can distinguish between motorola and
    & Z6 ?2 Z/ o6 J# l, i$ m! ?, y
  1834. ; intel byte order. A decode setting cannot be empty.
    ; b+ b5 V9 X4 y5 I) H
  1835. ; http://php.net/exif.encode-unicode& D0 G  T, X( ~; @2 y
  1836. ;exif.encode_unicode = ISO-8859-158 U! P4 g, l* r

  1837. ; }! ]+ z9 o$ J* `7 |" g
  1838. ; http://php.net/exif.decode-unicode-motorola& E! V7 G' r- _, M
  1839. ;exif.decode_unicode_motorola = UCS-2BE5 o2 O5 B) V- W& [5 \

  1840. : B# j' Q5 y, h. ^0 E8 Z2 O) ]
  1841. ; http://php.net/exif.decode-unicode-intel7 {4 @: ~/ p. X4 x! L9 l/ B5 U
  1842. ;exif.decode_unicode_intel    = UCS-2LE0 m8 T3 N  `7 ?+ m& i- J
  1843. + |7 A; C' g: W, H
  1844. ; http://php.net/exif.encode-jis) g  h& ?) p7 D, ~6 t$ U! d
  1845. ;exif.encode_jis =
    3 _/ T3 a8 f# D/ N5 L- S

  1846. ( G6 c% D# E9 p+ |* H+ j
  1847. ; http://php.net/exif.decode-jis-motorola& ~: k, i. O4 z8 W# K; x; e# ^
  1848. ;exif.decode_jis_motorola = JIS2 U( r! s# U5 z
  1849. 2 {6 V0 G5 L, ]' t* \6 T
  1850. ; http://php.net/exif.decode-jis-intel
    ; w5 f. t) Z' x
  1851. ;exif.decode_jis_intel    = JIS
    + `6 B9 k$ y0 y/ H9 W
  1852. 0 B/ \! `1 t. J' R8 K
  1853. [Tidy]4 h+ l3 n6 w0 P; E* `0 {
  1854. ; The path to a default tidy configuration file to use when using tidy% E/ L5 g$ n/ L5 W& B4 J
  1855. ; http://php.net/tidy.default-config
    , B3 F' K) [6 R4 y8 R
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
      H, `1 X( i3 s
  1857. 6 Z3 P  a5 [7 f% L$ ?
  1858. ; Should tidy clean and repair output automatically?$ ~  a% u5 Q" j, ]6 `
  1859. ; WARNING: Do not use this option if you are generating non-html content% `8 [1 b8 G/ H$ `
  1860. ; such as dynamic images
    , [% A, m5 G, D. f: I% \2 `
  1861. ; http://php.net/tidy.clean-output
    ; i3 o* X. B  M/ `; j
  1862. tidy.clean_output = Off
    0 r, g! Y$ s+ V
  1863. : H7 v, E5 h( v' Z
  1864. [soap]) F$ I( n: a, v! g7 S$ n
  1865. ; Enables or disables WSDL caching feature.
    - ^' N- ]# {, C$ P( O( o% N! m# c/ @
  1866. ; http://php.net/soap.wsdl-cache-enabled/ C" Q1 U8 B. E+ H1 ^4 H
  1867. soap.wsdl_cache_enabled=11 t( K  V: `. T# g$ W2 V( r
  1868. ( i% Y/ W+ \0 D9 ]& Y
  1869. ; Sets the directory name where SOAP extension will put cache files.
    # b- t! v# Y# V0 @0 T
  1870. ; http://php.net/soap.wsdl-cache-dir1 O+ F) ?, y& }/ S4 S
  1871. soap.wsdl_cache_dir="/tmp"' l/ x, Q1 N3 V

  1872. ! b) Q' |2 g, ]0 ^; u3 P
  1873. ; (time to live) Sets the number of second while cached file will be used
    : E/ k2 R* v3 w5 X; K" B
  1874. ; instead of original one./ a5 x3 X& A. Y0 ]' M
  1875. ; http://php.net/soap.wsdl-cache-ttl
    " W; i( i& S4 p, v3 m+ K
  1876. soap.wsdl_cache_ttl=86400
    3 a8 g& d5 i- _

  1877. ( E1 \' ?5 ?$ x/ Y' A
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) T+ _4 P% G2 B  }  d
  1879. soap.wsdl_cache_limit = 5
    . L! Z  s+ \1 e$ N) s7 O" j

  1880. - S9 }( g; X) H+ _4 h- ^0 {" C% ]
  1881. [sysvshm]! Q( \# M2 y7 C+ W# U2 e9 U
  1882. ; A default size of the shared memory segment6 _) t  N! F+ U$ x5 \% n% \  X- w
  1883. ;sysvshm.init_mem = 10000
    ! S  @2 c& g6 {9 J, ?& g
  1884. / z, i5 ~; M0 j$ g( E6 i" G& B
  1885. [ldap]: U$ L4 {; ?. _
  1886. ; Sets the maximum number of open links or -1 for unlimited.) M" Z  n$ R: K6 T: I8 `* I
  1887. ldap.max_links = -1
    ; D, @. A9 v) t& i- ~7 _5 _
  1888. , @1 J+ w9 L+ \+ o
  1889. [mcrypt]
    $ U" s. z; U* j4 l4 D
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    " L/ s, j$ E9 t$ R6 `
  1891. 3 r; r: K% d4 q' D
  1892. ; Directory where to load mcrypt algorithms8 ^( g# Q' H' w
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      g. A8 L& A  A# A
  1894. ;mcrypt.algorithms_dir=
    " M# q, }: w+ Y- O- u+ h+ j* d( R

  1895. 9 Q6 q# I. `  B5 V( d! P
  1896. ; Directory where to load mcrypt modes
    , v9 W) _# s1 }/ g2 K! ^% ~
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : o& w# _8 m; g" ^( D# X
  1898. ;mcrypt.modes_dir=
    ; P! H. n& M2 U) Z& D

  1899. " T6 [9 n. I0 E5 d# n9 ~4 ~( d$ D9 ?
  1900. [dba]
    / U) {% r8 d+ C
  1901. ;dba.default_handler=1 [. b) s: Z9 o" c& G2 ~4 H

  1902. + M6 c" s; }$ d; p1 M$ |6 x
  1903. [opcache]
    8 s* d8 L- A) Z  J: c1 v+ F
  1904. ; Determines if Zend OPCache is enabled
    / s" ]+ B' W' |  K$ l4 J
  1905. ;opcache.enable=0/ d, w; h  V$ p  x9 t

  1906. ) n; T/ A3 w" O% \7 p
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    & w1 j( e5 r- T* F* Q) Z: l3 [
  1908. ;opcache.enable_cli=0; }4 Z+ q" R, J2 W) o# Q- }% O# l7 p
  1909. % t: E5 J2 S6 I- W4 W5 t
  1910. ; The OPcache shared memory storage size.
    : a, i+ H. i# m2 p5 e; ~
  1911. ;opcache.memory_consumption=64
    ' g* \8 h: j4 }7 ^7 F
  1912. 1 p4 c) d% _# B9 c8 V; ~
  1913. ; The amount of memory for interned strings in Mbytes.
    ' S2 Y! y. x& A- u0 r1 t# e
  1914. ;opcache.interned_strings_buffer=4
    ) s0 ~: \7 D8 ~+ ^' i8 y  a0 s

  1915. ) J! {* Q2 e) U) j
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    , l; T! g0 T4 \" j3 E9 Z
  1917. ; Only numbers between 200 and 100000 are allowed./ f1 n+ R- L+ B: x+ ], V/ [  A; p
  1918. ;opcache.max_accelerated_files=20009 T0 O/ h6 E" a0 |* l' P$ z

  1919. 4 `8 L0 Q' O) F. u) `5 ^
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + T+ v5 B7 b3 ~" k+ b& E
  1921. ;opcache.max_wasted_percentage=5
    - u; }8 x  s% k' ?

  1922. 0 ]; K. D- L/ ]- K* _2 H
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 E( E  T; I: T' }' d
  1924. ; directory to the script key, thus eliminating possible collisions between
    ) Z6 }$ V% e; H( Z/ x& v0 Y
  1925. ; files with the same name (basename). Disabling the directive improves
    ' c7 j9 P5 `, ?3 f' T; e( F6 }
  1926. ; performance, but may break existing applications.- {6 B$ O9 k+ Q, f6 {
  1927. ;opcache.use_cwd=1, e) \6 I1 \  e7 ?- P4 s$ U
  1928. , @: a: E7 ~- s6 g  R' {: Q
  1929. ; When disabled, you must reset the OPcache manually or restart the
    , E- z8 F9 d. s/ ]9 B0 F; s
  1930. ; webserver for changes to the filesystem to take effect.' ?' \9 c( D3 D6 X  d9 y) L
  1931. ;opcache.validate_timestamps=1
    , U9 H( K0 X7 p1 x; N
  1932. 0 S% I( j6 f" [; V% ?( Q, k
  1933. ; How often (in seconds) to check file timestamps for changes to the shared& q- l5 J& T8 ], y; b
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    4 Z5 ~: s/ U% g3 ?9 I+ I  T8 e
  1935. ; once per request. "0" means always validate)
    ! r0 f0 C1 y9 Z
  1936. ;opcache.revalidate_freq=2  l, r0 P6 ?/ j0 A- n
  1937. ; M) S& x/ V3 }5 M
  1938. ; Enables or disables file search in include_path optimization7 `2 a! y$ J0 e
  1939. ;opcache.revalidate_path=0) L; A9 n3 `8 @- J1 w

  1940. " u( r' x0 Y, a7 @
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) A" w0 C, e3 p4 F' B! o+ v
  1942. ; size of the optimized code.
    8 w+ _# m! |! O+ B
  1943. ;opcache.save_comments=1' r6 Q+ H1 T; w! Y0 [

  1944. ' ^/ }: b, m' A% g, V6 V
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    8 F* b) E/ }! q# U2 K! Q
  1946. ; may be always stored (save_comments=1), but not loaded by applications+ D3 h4 d* D8 W/ ~' i/ E0 Q
  1947. ; that don't need them anyway.2 Y4 M, Y- K: ?8 p% W9 h
  1948. ;opcache.load_comments=1( b7 U' g9 D4 _/ @6 L

  1949. 8 c" ?; V0 [5 k) S( G) `2 I" O
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    9 b8 P4 X7 Y; U1 g4 M& [) ~% K
  1951. ;opcache.fast_shutdown=0$ v; T4 M$ V; a9 O5 a# K

  1952. 6 O3 c% y& a- D( H6 Y1 [
  1953. ; Allow file existence override (file_exists, etc.) performance feature.- C8 n6 u9 ]8 f
  1954. ;opcache.enable_file_override=09 c1 @/ @! b1 p! Q6 Q

  1955. + d6 Z% Q- v& ]+ M% p2 G! ^' v+ f9 o
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache8 _- B$ F0 m% m. u# X6 Q; {6 O
  1957. ; passes" H' X; Q$ o/ x; n6 n$ l, Y0 y0 D
  1958. ;opcache.optimization_level=0xffffffff; k( B' a8 m. x
  1959. 8 Y  F4 E) i0 z
  1960. ;opcache.inherited_hack=11 _4 x1 ~; e$ l
  1961. ;opcache.dups_fix=0# {- \! h( b4 k3 b' E
  1962. * [; o0 Z+ k9 y$ W0 Q9 }1 [) q7 d
  1963. ; The location of the OPcache blacklist file (wildcards allowed).% p4 A2 Q5 y" s$ v" W+ H* h, {
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    % g1 [8 y) e8 X1 _1 Q/ W
  1965. ; that should not be accelerated. The file format is to add each filename  U6 ^4 z( Y2 h1 i: Y
  1966. ; to a new line. The filename may be a full path or just a file prefix! M0 l$ ?9 g6 x$ ]+ }2 I# Q, p
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    * x( I0 E! [  ]; e) K1 z# r5 q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).5 R4 {2 y# `* a, C1 n
  1969. ;opcache.blacklist_filename=# c# }9 \' h( a0 T, }
  1970. 1 [3 a9 P7 Y7 B$ v
  1971. ; Allows exclusion of large files from being cached. By default all files+ Z' }* h6 P# t. r3 u' B
  1972. ; are cached.
    6 t* a3 f4 Z+ F0 z0 `3 v
  1973. ;opcache.max_file_size=0
    1 I6 \5 U5 h1 R0 o1 `3 e; E

  1974. ; a& e4 O* Z2 g3 }+ j+ b
  1975. ; Check the cache checksum each N requests.& A! v2 ?% \" J
  1976. ; The default value of "0" means that the checks are disabled.
    7 P! v1 `, M  C3 M! H3 K% K; K4 S; [5 W- I8 L
  1977. ;opcache.consistency_checks=07 |: x" X$ i/ [+ k4 n
  1978. ; _7 L/ I+ z8 e* S
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    * u/ c2 f1 s' K/ L8 U: W
  1980. ; is not being accessed.. j+ `* a7 k- m0 a8 e
  1981. ;opcache.force_restart_timeout=180
      P; i2 e- l" x: ~: a7 j8 \$ c) i3 L9 m

  1982.   T6 a1 ]; d# ?+ z/ w3 U! R2 a% s
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    * Y2 ]9 D9 \+ Z& U7 V+ V: U8 O$ A
  1984. ;opcache.error_log=
    + C# i: F( H7 a9 H" ?

  1985. - l" z% ~0 o! o7 W1 a( t
  1986. ; All OPcache errors go to the Web server log.
    ; G4 w/ [/ `3 K: w: _6 a5 w) g
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.' P% b' u9 X+ h- z- @1 M
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    / A5 q1 V5 H# f; v5 Y" [8 s
  1989. ; debug messages (level 4).( a) a, J) `0 g5 I
  1990. ;opcache.log_verbosity_level=1( x7 e/ \# ^5 n7 ]- ?" `) d, @

  1991. . V4 [' U& ~  q# O! i3 I# K6 K
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * S) z; u) m" V) y( y! X+ |) q" o1 N- y/ m
  1993. ;opcache.preferred_memory_model=
    3 {2 C, a/ D1 o3 Y4 G3 @3 K

  1994. ' h8 m3 B% U8 x7 s- _" G2 t4 @
  1995. ; Protect the shared memory from unexpected writing during script execution.) B+ e& a9 p/ v+ v- Y( T
  1996. ; Useful for internal debugging only.0 e$ |4 h0 c1 G# j4 v6 j& a
  1997. ;opcache.protect_memory=0$ P- A# F2 m7 @4 K
  1998. , u$ ]5 ?5 {' t3 |, X& V0 S
  1999. ; Validate cached file permissions., r3 @: |7 U  S) P! {& h
  2000. ; opcache.validate_permission=08 [3 h& P; K) ~4 _: Y
  2001. 4 ]4 c" e- i0 y1 h2 s
  2002. ; Prevent name collisions in chroot'ed environment.- g" r! D: u" z3 {8 T5 W8 X
  2003. ; opcache.validate_root=09 {$ h6 V7 s% {$ p
  2004. # C; [7 U- D2 A6 n0 |3 i+ {
  2005. [curl]
    , S; ]5 ^9 X/ ?) I
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an4 @6 p: X# q9 a% r- C$ E
  2007. ; absolute path., {( c4 t, v/ G! Z. k
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt/ c0 i2 ~' ]  F# J
  2009. . L8 H: t( \% i
  2010. [openssl]+ K! ?& y# j2 a+ _9 [1 U$ C
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem3 d% x1 d6 C; F1 A9 w  ^
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    * W7 Z6 \6 E6 c* H+ V0 W9 H5 K
  2013. ; not specify a value for this directive as PHP will attempt to use the' i5 g" H- ^7 x0 i1 Q2 }( s* J
  2014. ; OS-managed cert stores in its absence. If specified, this value may still; D8 S- y3 ]/ d+ d9 L& k5 X
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context; ~' {% K2 P9 ^3 S) d
  2016. ; option.
    3 p* o% \0 A' |- r5 M2 H$ F) G; e" L
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ! |7 N+ P, A& w5 W* ~2 K" S3 q
  2018. : I# [- Y2 G2 N$ q3 i. U0 \
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the$ u7 A; U$ A% ]# z
  2020. ; directory pointed to by openssl.capath is searched for a suitable/ E& e/ s6 E& I& Y" w3 C
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ) m* e% j" h/ {
  2022. ; Most users should not specify a value for this directive as PHP will
    " C* {( z4 s: Q- F) _0 `: W5 q& @
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,/ d5 ^. R& ?  I8 U
  2024. ; this value may still be overridden on a per-stream basis via the "capath"- v% x( s3 ?8 ?, b( V: c
  2025. ; SSL stream context option.% _# O# ?' q+ G5 \: O3 R+ \* ~  w
  2026. ;openssl.capath=, k3 X, c  p+ G
  2027. ; P2 h3 G% s9 c. H
  2028. ; Local Variables:# o2 U3 u9 @5 ?" Y
  2029. ; tab-width: 4
    ; O* C8 f/ x2 z5 ?& c/ h
  2030. ; End:
    ' e1 i! p9 C, \' H" P7 n$ R

  2031.   h0 [+ A3 K* L* o( N1 d4 i3 \' G3 M
  2032. ;eaccelerator
    0 {. ]* j( B" V+ P# `! h6 O$ f
  2033. # k) L; e: c1 V5 ~2 @
  2034. ;ionCube+ U9 b4 K0 M* Z# p/ B0 r  G

  2035. : C! X' [' n" b2 c; j
  2036. ;opcache7 b: e- E/ p9 |7 N/ S
  2037. $ q1 t/ y% }4 ^6 V' y
  2038. [Zend ZendGuard Loader]" {% x( |5 l2 y: r
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so4 |9 u( n! l& f  e0 Y" V# F( e
  2040. zend_loader.enable=1' S5 o1 e+ A" H/ c% E# H) N( R
  2041. zend_loader.disable_licensing=0
    6 g4 i* ?! f, D  H' D1 m  o
  2042. zend_loader.obfuscation_level_support=3# k( G( }7 I$ m
  2043. zend_loader.license_path=4 l6 ~4 }, P! X' N

  2044. & }, L) o3 y$ i( M8 D9 s
  2045. ;xcache( G4 C- h. j6 u' \  ~+ ?; ]
  2046. % f- i+ }# x7 I* K4 f
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
) p9 q/ k8 C0 Y( f3 z2 o; j; d( F/ o( q9 v3 G" R9 \/ |

3 a7 Y* y$ u: f  S5 l3 dDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,) |. o. C8 z' Q' X+ F

+ C$ @" x6 i$ \, RDiscuz!程序版本选择:8 P& X2 G" V. P: ^& L% q7 e  c
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,& P7 U6 _) Q: z, ^, F$ D" T
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
6 L: w  ]1 J- c1 Q  ?" sDiscuz!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。
/ @" I0 s3 |* M- w4 u2 Z/ l2 f7 j5 D3 F5 d8 v1 }
Discuz!插件模板版本选择:* B3 `- a$ R4 @3 c" a  j3 j
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,/ R/ K% `% q( L  e) n
针对这个问题做个统一的普及:* R0 g2 b  D* R  w( x
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
  R7 T6 M1 H; Q: P" o3 ~- ^
; P: w) o) H9 I# N+ M" Z2 T# \所以
4 ?5 |, R- Q) x8 d1 i, p7 `6 ^适合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的二级域名。
! \7 F  d* H* n8 Z打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。, Z- l9 Y+ A8 x. Y0 e" t, \/ |
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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