分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
* [% ^2 t; r: q' D  ]0 \) E. B6 k3 f6 G0 @- F
  1. [PHP]
    ( Z* \7 l: ^3 l3 d0 a6 [4 k
  2. 5 s4 S) i" I! D! `- u, T
  3. ;;;;;;;;;;;;;;;;;;;; i, o/ ~; q9 W: W
  4. ; About php.ini   ;; ^; a$ v) o. r8 Q
  5. ;;;;;;;;;;;;;;;;;;;
    + N# f$ @8 B+ G; P# t  N5 t. m
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    , `/ M+ _5 _1 A% u+ I. [9 b
  7. ; configuring many of the aspects of PHP's behavior.4 b4 d$ J8 X8 p6 D& [5 r
  8. 5 t9 D+ e6 A6 j, c$ W5 f4 o: A
  9. ; PHP attempts to find and load this configuration from a number of locations.! m. }/ v. v* }: y4 ~6 t: [
  10. ; The following is a summary of its search order:- n- G- p: a" y* Y
  11. ; 1. SAPI module specific location.
    6 O. T, [! x8 J# w, M" L6 T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    / C" K, A1 C* x- f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    # ~8 P" K1 G: N( e1 l
  14. ; 4. Current working directory (except CLI)# ^" z, w3 v/ U3 f
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
      a) |2 @7 p- [3 G: }
  16. ; (otherwise in Windows)
    ( \* s) j, z; \+ Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the7 O: m  u' f  P6 m. K. Q: J' }( t
  18. ; Windows directory (C:\windows or C:\winnt)
    - R' R" {2 C' n4 h5 s6 y
  19. ; See the PHP docs for more specific information.+ X) q" D' e* R$ E$ I% A& l
  20. ; http://php.net/configuration.file' |6 C- B3 o( [5 e9 z& A

  21. 8 f) {% |8 x6 h: K
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
      c1 V6 u% I" m: ^+ ~- q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! D* v1 j' s" z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ' G4 Q0 f. f6 |: h3 @
  25. ; they might mean something in the future.
    3 F8 E1 J. g+ K8 S# g* s
  26. 0 g2 {" I# B2 h& N# \
  27. ; Directives following the section heading [PATH=/www/mysite] only7 _" s2 p' M7 G! h! Z, J
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    , J6 N$ G2 b; x; f: U9 G
  29. ; following the section heading [HOST=www.example.com] only apply to
    # |) r5 P7 L' a( s
  30. ; PHP files served from www.example.com.  Directives set in these7 E' D# W" g3 i2 o: k3 L  d: v
  31. ; special sections cannot be overridden by user-defined INI files or& `7 m" E# E% h/ W2 w) P- ^. Z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under$ {2 E) `6 @. u( W# q
  33. ; CGI/FastCGI.% A6 l. ]+ o- y9 D
  34. ; http://php.net/ini.sections
    - D+ p! f4 h5 {
  35. 2 b" W4 N; x8 x4 D$ p1 H' S
  36. ; Directives are specified using the following syntax:
    9 M. X% V  p" W  E% x9 u( _
  37. ; directive = value
      W- ^; Y0 {: v! |, b& w7 e; I
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 A1 Z& C9 Y) H  r3 z; l
  39. ; Directives are variables used to configure PHP or PHP extensions.
    2 i9 h2 T( Q$ A
  40. ; There is no name validation.  If PHP can't find an expected* o" J' U, W! u! v/ |& r
  41. ; directive because it is not set or is mistyped, a default value will be used.5 m0 m3 F- m4 Y$ L( b0 K& @
  42. 7 o& `: D8 U3 G! ~  X$ X
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) R1 N1 L. \, l
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression; l* \3 \2 Q9 o- y, m
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a5 g8 L9 W( ]  i  z
  46. ; previously set variable or directive (e.g. ${foo})) p& I# N4 h4 m
  47. " \" O, M* k# S" o+ S/ O
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 H, B7 E) z+ s2 n' v9 O" W
  49. ; |  bitwise OR! L5 G+ M6 v8 |3 o
  50. ; ^  bitwise XOR
    9 U/ ]+ P5 s2 S5 w1 Z# c
  51. ; &  bitwise AND
    ) b: d3 P. I1 p) q4 u0 v! F
  52. ; ~  bitwise NOT; a' ^; B3 E: q
  53. ; !  boolean NOT
    2 M% b$ H  `! `' A- u
  54. * w9 @8 H, i  u
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.; F) ]1 y. x, o3 j
  56. ; They can be turned off using the values 0, Off, False or No.7 ]9 ~2 d& q9 X! N

  57. ! z3 s+ b! A5 @& g# j0 s, A
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ; L+ W9 l$ q# R; B$ N5 r
  59. ; sign, or by using the None keyword:5 e# [6 H- }- E0 Q0 W+ F
  60. ( @( W; u# C) i- f5 R! w
  61. ;  foo =         ; sets foo to an empty string
    " k' R" p" {" A1 u! A+ L$ a
  62. ;  foo = None    ; sets foo to an empty string4 [: ~0 f9 P/ P& g+ l
  63. ;  foo = "None"  ; sets foo to the string 'None'' x8 c8 S$ ]! s% L2 O4 V# {' i( z

  64. - x  l+ `4 V6 w
  65. ; If you use constants in your value, and these constants belong to a3 H1 j; o! \& P
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),+ T* n" u6 |% f$ L& [" S2 F
  67. ; you may only use these constants *after* the line that loads the extension.  s- ?2 S' P. D
  68. ! H/ @, W) E& q+ A3 h
  69. ;;;;;;;;;;;;;;;;;;;) u/ Z! x3 |; \2 K8 d
  70. ; About this file ;
    & d: c$ J0 A2 m# ]
  71. ;;;;;;;;;;;;;;;;;;;
    9 \' a2 A/ i0 l  M( I1 \) P- N
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    " C5 X$ B9 T* ?( l2 j' [, c' ~
  73. ; in production environments and one that is recommended to be used in( Y5 \/ W+ B- }3 c( T
  74. ; development environments.- J/ b$ M$ w3 T7 Z6 }
  75. # j2 _- d; ]' {' Y5 X2 s. G
  76. ; php.ini-production contains settings which hold security, performance and
    + e/ r0 y2 J8 ^( {6 A# J7 e$ m! q8 w! V
  77. ; best practices at its core. But please be aware, these settings may break
    $ H) @5 U4 b  P: b" c; l
  78. ; compatibility with older or less security conscience applications. We
    $ @% W, Z, T1 c: F2 ~
  79. ; recommending using the production ini in production and testing environments.7 D2 F: E; S/ \6 A  q/ r
  80. - [: f' B. J& @6 N
  81. ; php.ini-development is very similar to its production variant, except it is; }, R7 _7 H) D, U! d
  82. ; much more verbose when it comes to errors. We recommend using the
    4 K/ W9 W! e7 [( \7 @; T, p
  83. ; development version only in development environments, as errors shown to
    " ~- {: M, m. g/ h
  84. ; application users can inadvertently leak otherwise secure information.$ j; X5 l+ u0 @: C1 J

  85. 3 S' s9 u) q. i# ]8 i0 G' M
  86. ; This is php.ini-production INI file.
    " Q; Q/ s) j7 F& @

  87. - o2 c' M! Q( ~# S! ?
  88. ;;;;;;;;;;;;;;;;;;;
    . c9 G! t" y( ]5 O' B; }5 `
  89. ; Quick Reference ;
    " J: j( q# p# W
  90. ;;;;;;;;;;;;;;;;;;;
    ) B4 V0 ]$ s' k- P- w
  91. ; The following are all the settings which are different in either the production, f3 T# {) c; o, n
  92. ; or development versions of the INIs with respect to PHP's default behavior.: M' \3 D6 U: n" `- A. k! {
  93. ; Please see the actual settings later in the document for more details as to why  I  D. I2 ^( R" d1 c9 `/ j( M0 K3 ?
  94. ; we recommend these changes in PHP's behavior.
    + A  E) H* K. [
  95. 8 B% F: U& y! I3 Z7 D# N$ w4 e! b
  96. ; display_errors
    6 g! V" K& S* _+ c' Z7 Z
  97. ;   Default Value: On
    * g8 T9 j  P6 r+ j6 Y" p: U' b
  98. ;   Development Value: On6 g" P; c# }, A9 P* \! Y- l
  99. ;   Production Value: Off
    3 D; b6 K4 G* \; a

  100. 5 q6 k2 [  |3 P7 \( R7 p; C
  101. ; display_startup_errors
    : E; X+ b( O7 @
  102. ;   Default Value: Off
    4 v! n4 ?. U3 w, |) Y
  103. ;   Development Value: On
    ) Q/ C: j" U5 O$ a
  104. ;   Production Value: Off
    ) K- E) Z4 F3 o" t
  105. # K8 x: b$ e8 q2 d: y
  106. ; error_reporting, a* A+ ^! c0 j0 D  i
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! p2 n/ O0 o& w8 Z& ?
  108. ;   Development Value: E_ALL
    0 `" |6 a( [7 o# k- g
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 c$ ?6 ~$ ^7 Z/ [: ^
  110. ) |, T! `5 |; W% b( L2 r5 r
  111. ; html_errors
    : z, w, m0 ^- E. n! [
  112. ;   Default Value: On/ i- j6 e4 I( q. B) s0 N/ H
  113. ;   Development Value: On5 r- b# A  N1 T
  114. ;   Production value: On
    - T7 u3 K2 Y8 h
  115. 7 ~6 h+ J! \4 v1 ~/ q4 j1 N
  116. ; log_errors! G+ h  c' a5 w% o
  117. ;   Default Value: Off9 b( R2 ^& Q# ?6 n
  118. ;   Development Value: On! r$ q- a1 L# Q( q$ Y
  119. ;   Production Value: On
      b: V# z) x8 d8 ?  K, g

  120. - Z/ T& {; u8 Y) N
  121. ; max_input_time; V+ A$ h' A6 S' w( t
  122. ;   Default Value: -1 (Unlimited)8 _' W) E( m1 ^! a, ?
  123. ;   Development Value: 60 (60 seconds)
    & T( e" S: g# ^2 J5 C0 r
  124. ;   Production Value: 60 (60 seconds)" Q) o, F: c( {$ ]+ A& o

  125.   Q( v8 ~- K9 k# \4 d& L: f
  126. ; output_buffering
    6 G  t0 D% m& c' b& \* p9 j+ Q
  127. ;   Default Value: Off
    8 o! l+ U+ Y8 d6 J3 l
  128. ;   Development Value: 4096
    & Z2 y. g4 u1 S8 u9 ?; x9 ?
  129. ;   Production Value: 40965 I2 K& c3 p  N" A1 _7 c

  130. 6 N8 ~/ ^1 V6 ]
  131. ; register_argc_argv
    + W# B3 J( ~  S: Q
  132. ;   Default Value: On! v. G9 |# \) R0 l2 C
  133. ;   Development Value: Off, Q9 K7 [1 Y6 t: V. e
  134. ;   Production Value: Off! a0 y& w9 q- u) R4 h- u

  135. 0 H+ C* O0 ~- s& S; M. @2 c
  136. ; request_order
    ! n3 n' {7 g2 h  C% b! A* q1 O
  137. ;   Default Value: None' y9 |7 G, g/ @3 Q  |
  138. ;   Development Value: "GP"
    8 e0 i+ I. f4 j' }: b  h7 b8 H
  139. ;   Production Value: "GP"& A4 `' O. E$ V! Q( D
  140. + D( v9 D, ]! r+ T! V
  141. ; session.gc_divisor
    + [2 \9 X9 a* p3 k0 L' Y$ _, m7 e
  142. ;   Default Value: 100
    % x# y5 J0 F$ M; R& t9 R4 e& u
  143. ;   Development Value: 10002 g/ f, t4 ~2 |% b
  144. ;   Production Value: 10005 M3 \4 h6 m3 d  S

  145.   Y" F, i1 x5 [- q# R- o
  146. ; session.hash_bits_per_character% ~. p$ a) G" Y& w' E7 f# K9 `
  147. ;   Default Value: 4
    - d/ E/ L3 K+ C/ K) ?' B5 B
  148. ;   Development Value: 5: G& n& X) ~' |/ P
  149. ;   Production Value: 5' I: |) R3 i& Y7 n0 X: R
  150. % L( z4 Y, h% [' c  `2 q* w
  151. ; short_open_tag- k: [$ [+ T7 d" C
  152. ;   Default Value: On: X1 H# |+ w$ F% \6 `
  153. ;   Development Value: Off" E7 `3 G5 \, a. u. v6 x+ k+ C- V2 G, U
  154. ;   Production Value: Off5 `2 {+ l: B# k9 w; l$ N; t
  155. & V& u# {8 j! R5 p2 h9 a' F3 E; T" b
  156. ; track_errors
    7 X0 B) w3 W2 D7 l6 a3 h
  157. ;   Default Value: Off
    ( n2 Q4 E6 I+ i' ]" s  R5 h+ ?9 Y& I$ T
  158. ;   Development Value: On7 t/ v" N/ {: l' _3 z
  159. ;   Production Value: Off/ b' \7 ^' c" i. a6 l( ]

  160. " F7 q# V2 g9 i, Z7 P
  161. ; url_rewriter.tags
    9 u# V& f# i2 g& r
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="2 f% Y( t8 h, o  ?" w
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! \6 T' Z( R( W2 y/ I( f( \
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ M+ {! \7 ]- n- F
  165. ' t1 u, _8 g# C
  166. ; variables_order6 [, d) Y; N  H
  167. ;   Default Value: "EGPCS"5 X5 G1 z/ D8 U$ w9 I6 _: @$ l7 G
  168. ;   Development Value: "GPCS"
    : S; w" o- }' h- v# z, F9 |
  169. ;   Production Value: "GPCS"9 S9 Z& _6 W; G% D
  170. 2 E% m5 J: R* Y2 b2 I
  171. ;;;;;;;;;;;;;;;;;;;;8 P% D  K8 I: D( `; u
  172. ; php.ini Options  ;% z2 b, L/ D. e5 ]$ s* k; ~9 q+ U* a
  173. ;;;;;;;;;;;;;;;;;;;;
    ) f; |) d0 R% |5 I
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . O3 ^3 y2 [! f
  175. ;user_ini.filename = ".user.ini"
    / h  ~' k# u# b8 r+ t

  176. . i% w. H. d3 _, B" D
  177. ; To disable this feature set this option to empty value* e/ @; n% g6 y% e5 G2 }4 w! V
  178. ;user_ini.filename =
    3 X& C9 F1 g2 u( r, y3 I$ T

  179. . I; c3 L, b8 n' J+ C( v
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    - Y3 G# u! \/ A4 |
  181. ;user_ini.cache_ttl = 300
    ( r, b% u+ X: [5 t; S0 k0 w# N  S$ e2 X
  182. / W9 \: R5 @: O7 e
  183. ;;;;;;;;;;;;;;;;;;;;# _/ c4 Q1 H# M) ]2 P% w
  184. ; Language Options ;
    : x0 J( q* _1 n& G2 n" H6 W" u9 T
  185. ;;;;;;;;;;;;;;;;;;;;
    ; u( {4 P9 F. \9 I$ ^
  186.   {$ }; L% t4 ?  B# D+ [
  187. ; Enable the PHP scripting language engine under Apache.* t9 w: ~1 C* L, E4 m
  188. ; http://php.net/engine  a1 N* L6 v/ c+ E  }; X
  189. engine = On
    6 W4 S# M) b3 m/ A: ~# T
  190. - T' g0 Z; t/ ]; ^( ^  b
  191. ; This directive determines whether or not PHP will recognize code between
    " r7 _. I/ _  J+ c- g
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    . X  ?. d8 l, F. a/ S1 V, b
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) P( S1 L' G% I9 w8 z+ F
  194. ; should be disabled, as enabling it may result in issues when generating XML* e) I$ o5 W* R1 d# K
  195. ; documents, however this remains supported for backward compatibility reasons.
    ( c6 e; D9 X* k- i( G
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    0 w: g. M3 s+ Q6 C
  197. ; used regardless of this directive.& M7 T9 q$ m* a1 z& }, O* }( V  U
  198. ; Default Value: On
    - l; T2 o& U8 j  F8 I
  199. ; Development Value: Off) C) h' M/ d9 r3 E% t# j
  200. ; Production Value: Off
    / z1 D2 k- D$ M' F/ j
  201. ; http://php.net/short-open-tag
    - a& b- V/ t$ _2 G. R* m( V
  202. short_open_tag = On
    1 y; q6 M6 n3 |. ?; N  X; i

  203. ) `( L+ M7 ^& r; n- l+ i1 t' L
  204. ; The number of significant digits displayed in floating point numbers.
    4 F: c* s% R6 X$ l
  205. ; http://php.net/precision
    $ A4 x9 x. {% A6 ]& H9 B( P
  206. precision = 14) j; Q+ b, Z+ q  k5 G& K  R% g% J
  207. 8 ?- l% S+ w; f; @3 r# {9 z
  208. ; Output buffering is a mechanism for controlling how much output data* E5 x6 j8 \; g  |# q  O
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that% r6 K9 s' K8 n1 p' F
  210. ; data to the client. If your application's output exceeds this setting, PHP' P' P% v& h' i  o" n# j/ O% k
  211. ; will send that data in chunks of roughly the size you specify.
    % Y, j! k# k- M7 K# |
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    : L: ~1 u* Y0 s0 _0 |
  213. ; interesting side-effects depending on your application and web server.2 B! F: d+ R8 d+ i9 Q+ X# b
  214. ; You may be able to send headers and cookies after you've already sent output* |+ y0 \, h  t% H/ A: o1 A) S
  215. ; through print or echo. You also may see performance benefits if your server is' c& K) ?* m& M6 c* @  k& y7 v
  216. ; emitting less packets due to buffered output versus PHP streaming the output) k& E. X( b4 E0 n" l6 m
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % A0 R1 o* r$ d( f9 O/ T
  218. ; reasons.0 K( J; M5 m# @2 t6 _1 V9 v. ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    & |% O0 l1 U/ ?  G) Y
  220. ;   functions.
    + h2 \* D9 U3 l% G
  221. ; Possible Values:
    ; P6 h5 G9 z, ?$ r+ J9 }
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)1 ]! y) P$ c( j
  223. ;   Off = Disabled' `8 h' P9 p9 J& ~0 e( S
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    4 O7 i4 F1 B5 t
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 r, d& I" V4 `: F' v7 D4 j. _
  226. ; Default Value: Off9 k3 F& g/ w8 Q; b7 u
  227. ; Development Value: 4096+ U& A) ~' a3 a2 p
  228. ; Production Value: 4096: X: J8 A# y% k( r7 C8 O
  229. ; http://php.net/output-buffering
    : X3 {+ d& x. }: I- G# m- g
  230. output_buffering = 40964 r/ H: K/ x% I
  231. 7 G/ x# R/ \3 e
  232. ; You can redirect all of the output of your scripts to a function.  For
    . s+ W3 z) _4 D' _2 B
  233. ; example, if you set output_handler to "mb_output_handler", character2 y/ }. I3 y0 F$ B
  234. ; encoding will be transparently converted to the specified encoding.; a1 y: Y& ^8 h/ u# \/ j- o) J
  235. ; Setting any output handler automatically turns on output buffering.
    + H( t  C7 N4 V* H9 g% Y) D. F1 r
  236. ; Note: People who wrote portable scripts should not depend on this ini, ^7 J2 D, }6 }" D3 f- r1 J7 C; {
  237. ;   directive. Instead, explicitly set the output handler using ob_start().- E; Q" f- g9 U" g* W+ p  w
  238. ;   Using this ini directive may cause problems unless you know what script7 x2 ^7 u' V4 S3 a/ D! j- k
  239. ;   is doing.
    0 J: a: ]. p- h0 _" R
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ z8 Y1 \# l& m4 K$ o) l8 D
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".  d( K" c* P' D/ E. _5 p
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 u( |9 x0 J7 C2 \$ ~- j# H% B
  243. ;   Instead you must use zlib.output_handler.+ a; O) _9 C1 I$ b9 `
  244. ; http://php.net/output-handler1 N- U3 ~& ^2 Y" ~8 g
  245. ;output_handler =
    0 Y4 a5 b9 b/ L+ _; d

  246. . m- ], }2 @% k3 \" C5 P$ x
  247. ; Transparent output compression using the zlib library
    6 a# G8 H7 l. Y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size+ ~0 S* \  Q3 I- q
  249. ; to be used for compression (default is 4KB)# }2 S+ g- M" C
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    & E. }% ^# K0 j! g9 {4 Y
  251. ;   outputs chunks that are few hundreds bytes each as a result of  ~; x8 {" Y% d( H8 N' {
  252. ;   compression. If you prefer a larger chunk size for better
    & n9 [0 R8 @% l7 l% ~) C
  253. ;   performance, enable output_buffering in addition.$ G6 K0 J, w1 C: z: J; `
  254. ; Note: You need to use zlib.output_handler instead of the standard. x' M( {0 G5 G. W- ^' o
  255. ;   output_handler, or otherwise the output will be corrupted.- I  p% s, [" b" ~* k9 \7 `* I6 U
  256. ; http://php.net/zlib.output-compression- u5 [+ ^% a) |+ Q
  257. zlib.output_compression = Off
    : a1 X* J5 F+ e1 S& j. R

  258. ( b( d  Q4 m3 i! w6 k
  259. ; http://php.net/zlib.output-compression-level$ @# c) s* M- ?& I
  260. ;zlib.output_compression_level = -1
    8 r% T2 D/ Q' j, {
  261. ' ?1 J/ q, y9 Y# N$ I% m# T
  262. ; You cannot specify additional output handlers if zlib.output_compression$ K2 Q% ?; Z2 L' H9 F: x1 j
  263. ; is activated here. This setting does the same as output_handler but in2 `* |$ o& V9 ~/ Z! Y$ }/ p
  264. ; a different order.
    ' a# Y; a2 h3 N5 |
  265. ; http://php.net/zlib.output-handler7 c, j+ Q: X$ g& T2 X
  266. ;zlib.output_handler =7 M  v% ~; s# o% Q
  267. ! e1 m; {) l$ `% _
  268. ; Implicit flush tells PHP to tell the output layer to flush itself7 L" L' D# x; h, I$ n- }
  269. ; automatically after every output block.  This is equivalent to calling the
    . u" G! \/ v6 ~( `+ N( O# d
  270. ; PHP function flush() after each and every call to print() or echo() and each
    . Q  E: x) E9 a: Y
  271. ; and every HTML block.  Turning this option on has serious performance
    4 k# Z" H9 ]1 E) Z0 L" M
  272. ; implications and is generally recommended for debugging purposes only.+ M1 y" J( d! L' R7 r
  273. ; http://php.net/implicit-flush0 s% {6 c% n7 j: U, O
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 H0 b4 V6 C9 J; S
  275. implicit_flush = Off
    ) ?. |+ R. ^  `$ Q  I
  276. 6 v) e! w9 n) B: B, X1 J& E
  277. ; The unserialize callback function will be called (with the undefined class'
    ! o1 H' b5 T" o6 C. P
  278. ; name as parameter), if the unserializer finds an undefined class
    0 h2 S) T- i8 S9 K1 [: _
  279. ; which should be instantiated. A warning appears if the specified function is
    ' V. t1 {+ o# ?! f; T  ~+ V! Y! k
  280. ; not defined, or if the function doesn't include/implement the missing class./ S2 w9 P* e7 f, G+ r
  281. ; So only set this entry, if you really want to implement such a
    7 b1 ^+ ^+ G; ]+ q
  282. ; callback-function.+ l5 c! ^# G* c' v) C8 N
  283. unserialize_callback_func =
    ; G7 K2 Q, f) k# n; ^$ K
  284. . u1 U; f" r' X
  285. ; When floats & doubles are serialized store serialize_precision significant
    : V- r+ w4 p+ i/ G/ X
  286. ; digits after the floating point. The default value ensures that when floats- B! g3 _: o+ h; s
  287. ; are decoded with unserialize, the data will remain the same.
    4 z' f( Q, y# a- r4 y2 I
  288. serialize_precision = 17! Q) c2 n- R( w
  289. & V" t& I3 Q( T5 \( j8 e* Q3 }5 L
  290. ; open_basedir, if set, limits all file operations to the defined directory
    " r" M, ]% r& v0 U' o6 r
  291. ; and below.  This directive makes most sense if used in a per-directory
      n1 S6 o- l) T# N( ]5 y
  292. ; or per-virtualhost web server configuration file.  c4 N: E+ L4 O7 ^, _
  293. ; http://php.net/open-basedir4 I- s) S- l9 g* i/ d
  294. ;open_basedir =
    ' a7 K( m2 M& l4 R% X( t
  295. 5 x$ h6 }  O+ C: U
  296. ; This directive allows you to disable certain functions for security reasons.. D( L. P* L8 S' u+ z! `3 F
  297. ; It receives a comma-delimited list of function names." z3 T3 Y+ Y9 E: r5 r
  298. ; http://php.net/disable-functions0 n7 e  P( i1 R) }. c& ]
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & K- a& @3 l9 t! ?  A; b, a$ ^
  300. / V6 c) G2 }% e' ~8 ]4 G6 u
  301. ; This directive allows you to disable certain classes for security reasons.3 Z( I; N- e  A3 x9 _, o% L5 F" {
  302. ; It receives a comma-delimited list of class names.: I- `" \) [9 v7 W3 v8 x/ ^
  303. ; http://php.net/disable-classes& \+ H7 j& L2 @6 u* k7 ?
  304. disable_classes =3 M3 ^1 t( a: ?

  305. 3 C) t0 r! _. r% o) S9 E( Y
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* \% M( r: m3 U% Q% K
  307. ; <span style="color: ???????"> would work.
    ) O2 l# J+ @) |* U& o! @
  308. ; http://php.net/syntax-highlighting
    % L1 i& o6 Q, x
  309. ;highlight.string  = #DD00004 @3 r6 R0 i! d7 K2 J
  310. ;highlight.comment = #FF9900% C$ f, L# N* F' \/ m
  311. ;highlight.keyword = #0077005 Y; E- S6 W5 x
  312. ;highlight.default = #0000BB; @4 r) I; m) Y! y" _( y0 u( a
  313. ;highlight.html    = #0000005 G; J' P2 u: S* N

  314.   y/ O6 P1 \2 [- U0 I; B/ G: e
  315. ; If enabled, the request will be allowed to complete even if the user aborts2 x: Z) X/ M' c/ V% w5 d9 E2 J: }
  316. ; the request. Consider enabling it if executing long requests, which may end up. x2 _/ {  m; k; a# V
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ' @$ a2 {2 ~$ J
  318. ; is to disable this feature.
    8 D6 c1 h5 p1 b' s1 ?% \
  319. ; http://php.net/ignore-user-abort) h' f; I4 B9 ~+ A
  320. ;ignore_user_abort = On
    ! P* A* t' N, D/ O* ^$ h5 Y
  321. $ B; i8 R$ G" @' f- u6 T
  322. ; Determines the size of the realpath cache to be used by PHP. This value should- n: Y* U  }# u! x- E: J/ v2 I
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    4 X7 V9 b' m' F- l$ W
  324. ; the file operations performed.
    2 [+ Z: O5 m2 t0 Z
  325. ; http://php.net/realpath-cache-size1 r8 ?* ~; w" Y0 W8 E$ o
  326. ;realpath_cache_size = 4096k
    ; v0 ^- G; s8 q+ m6 X/ H1 @; k
  327. & T+ W, k* E6 ]
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    / P- N9 l( U; s) x* ~; t! ~
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    6 I% {) P' f. k1 {  j- k( O
  330. ; value.& c( V* a0 V( r3 s9 R5 U
  331. ; http://php.net/realpath-cache-ttl
    : e& S6 `2 Y! F5 f( M
  332. ;realpath_cache_ttl = 120
    : Q  Y- V$ E- [; g% T: {3 h
  333. % A0 f* Q+ f% }; f& Y
  334. ; Enables or disables the circular reference collector., P) i; v1 v! e2 O% m, }0 a
  335. ; http://php.net/zend.enable-gc! |' H/ A, o' J4 v$ x
  336. zend.enable_gc = On* Y$ w# S; i8 [/ o- m* q% X" p
  337. ) G% }1 @/ z1 ?. Y1 C
  338. ; If enabled, scripts may be written in encodings that are incompatible with  g$ }$ F% |  e. K8 w( e# Z
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    * w" @5 ~. a4 x7 U- v( f
  340. ; encodings.  To use this feature, mbstring extension must be enabled.- s' @+ E1 @" h, w- I+ O8 \
  341. ; Default: Off3 Z5 N" \2 s/ ~3 C+ r: N
  342. ;zend.multibyte = Off0 |4 t" T: d! j
  343. ! P5 e& L! s: q0 P: S7 F2 V
  344. ; Allows to set the default encoding for the scripts.  This value will be used3 K6 |  B! f: {/ W
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( I' h3 J5 @7 e" P- M5 Z' A
  346. ; Only affects if zend.multibyte is set.% s! |, e/ C+ Z+ u+ f( G/ L3 `
  347. ; Default: ""* n7 k* F. [# j7 K: W" U3 D* l. t
  348. ;zend.script_encoding =
    3 k8 h' @. A) ?3 D1 M: B8 M; Y
  349. + n! O, a! o: S# T9 J3 K6 f1 ^
  350. ;;;;;;;;;;;;;;;;;1 C% [/ }2 x& x; m
  351. ; Miscellaneous ;0 ]) |+ S* A" V
  352. ;;;;;;;;;;;;;;;;;+ z  v7 ?( C4 C0 y0 ], G! d- j+ G2 C

  353. % y0 t, t$ _- q7 l' R% j! y: Y
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    % L, q& x" e. M3 x
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    # _2 b- P/ f5 c7 l. g8 `
  356. ; threat in any way, but it makes it possible to determine whether you use PHP# ^  O  a9 n; I, ]. u: y2 e9 H
  357. ; on your server or not.
    4 {( k7 \/ Q" }
  358. ; http://php.net/expose-php+ v2 U' A6 Y* L7 o2 D8 \7 U
  359. expose_php = On
    ! y' g$ q/ F! r- s

  360. ' @1 M) d4 ?- Z. ~( y6 A
  361. ;;;;;;;;;;;;;;;;;;;  I7 Z' L: q- P0 F# t+ y
  362. ; Resource Limits ;
    9 l* l* `; v( }6 ^, k
  363. ;;;;;;;;;;;;;;;;;;;6 m) C; A8 v8 a9 Z! u* U

  364. 0 ?% ]. ~) [# K7 y
  365. ; Maximum execution time of each script, in seconds
    & Q# j7 r8 {- c) m. @. C( E- b& `
  366. ; http://php.net/max-execution-time. J/ B" h1 P, k- K9 _
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 E5 P+ x) D0 m( u+ u) g$ [- |
  368. max_execution_time = 300/ D+ N3 ^$ p$ {$ z, N, f

  369. * Z$ u7 u* q  }( e8 h% Y# q1 k
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    : y3 N. e2 I- |$ K
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly. u; }9 t) r" \# t) h, G* z
  372. ; long running scripts.
    ; r3 p* E6 r! }8 U1 D2 w; c
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % b# o. E; A6 B% ^5 i7 ^; m0 y
  374. ; Default Value: -1 (Unlimited)
    " Y- R5 E& g# |
  375. ; Development Value: 60 (60 seconds)
    1 Z$ u1 T4 i& `2 l7 j/ F! ^9 ~
  376. ; Production Value: 60 (60 seconds)7 F, K5 b; |* K# d7 X0 g4 W; m; k) B( \
  377. ; http://php.net/max-input-time: @, A7 i# [0 S* K5 u, c/ `1 V
  378. max_input_time = 60+ R' \: {: K" R' l+ l* k( R
  379. 0 B$ X& \/ [4 G2 M+ S" W& b+ c9 D
  380. ; Maximum input variable nesting level9 Z2 Q- o( i4 u" l( {) l: F. o
  381. ; http://php.net/max-input-nesting-level5 V9 H2 b! C) a# U8 i
  382. ;max_input_nesting_level = 64. o% N. t3 W# u5 y$ }" Z

  383. & w# v, w7 t7 y& W* u! h
  384. ; How many GET/POST/COOKIE input variables may be accepted! b- o7 v# {7 E, ~, l- G
  385. ; max_input_vars = 1000
    3 A( L: ]: G+ `3 t6 L* T# G

  386. : E% F/ ]' j% z# u/ g( h8 E; v: m
  387. ; Maximum amount of memory a script may consume (128MB)8 B4 R0 r- B6 q& C& q; c
  388. ; http://php.net/memory-limit! R6 K9 }% P+ A2 u
  389. memory_limit = 128M
    0 W) a# E  R% w; u) r. b

  390. % O% K. N/ h5 ?
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 h" q8 t( c3 H, A% @: j
  392. ; Error handling and logging ;
    6 J, h+ Z4 a( ]; d. r! P
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: D  C! U; {1 i1 t7 Y8 |' D
  394. " n$ o3 g- B9 r$ ]9 @6 v
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    # O3 H" I9 [+ N( P2 c" ?
  396. ; it to take action for. The recommended way of setting values for this& _4 Z1 B: A3 C2 F0 @) D/ v
  397. ; directive is through the use of the error level constants and bitwise0 c% R* e( N; m/ D% Z
  398. ; operators. The error level constants are below here for convenience as well as
    1 J+ a/ ?2 {7 ?# p. L
  399. ; some common settings and their meanings.
    2 D0 _: H3 @7 K
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      c2 ~# Y6 a( b" o. g2 o; |
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ \" M, `! j2 U+ O$ Z- k
  402. ; recommended coding standards in PHP. For performance reasons, this is the. L! p2 \& y3 r- R7 u4 n" d
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; L1 h% P0 X( V0 F8 T0 M
  404. ; resources complaining about best practices and coding standards. That's what9 C3 q' u( I8 N3 k9 l2 F- f
  405. ; development servers and development settings are for.
    , R% I, L- N3 g6 p* J
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    0 _/ a4 c- a/ }( v+ m9 v" V
  407. ; means it pretty much reports everything which is exactly what you want during
    : W+ ~: l, i" @! z' b
  408. ; development and early testing.
    : \9 {. f4 o) v5 `: X0 Y+ X
  409. ;, `2 _* w  J2 ~) t
  410. ; Error Level Constants:. F  z/ X4 }5 y  a! ]& E
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    " d2 l1 u& v# @& W
  412. ; E_ERROR           - fatal run-time errors
    / C9 C* z/ O, N5 _  b
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors* y4 ~  c+ d2 U
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    * D1 b3 t/ F. v) M5 |" l
  415. ; E_PARSE           - compile-time parse errors
    # d; c$ [) K7 t, E$ {+ w1 |/ k! G
  416. ; E_NOTICE          - run-time notices (these are warnings which often result. o# C2 {0 D2 u+ i) v) r
  417. ;                     from a bug in your code, but it's possible that it was! X4 z% u/ m$ z4 F# v1 v( S( s: P8 R3 |
  418. ;                     intentional (e.g., using an uninitialized variable and3 O) p6 e. F2 Q  H$ A2 I2 m# ~
  419. ;                     relying on the fact it is automatically initialized to an: L) K/ R& F: @; X8 o
  420. ;                     empty string)2 D; W6 L! A# n6 J8 O4 K  ~
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    7 Z9 L/ ?  O- F* h) e, s: n
  422. ;                     to your code which will ensure the best interoperability' ]; P3 x# p  `+ z8 [
  423. ;                     and forward compatibility of your code
    ) r9 y, G4 t5 e* D, r
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    # _* v8 W: @6 l0 B
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' d$ E) S9 d7 W& ~' I
  426. ;                     initial startup
    3 r6 e. m% I9 U3 W% t- S4 M
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    4 \! ^$ {/ L2 [' {+ I  P0 r
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 u, g" k1 m9 I/ s; A0 m
  429. ; E_USER_ERROR      - user-generated error message" q& N" U0 ?! m+ V
  430. ; E_USER_WARNING    - user-generated warning message* B" D3 ]- N) S  w
  431. ; E_USER_NOTICE     - user-generated notice message1 {" v4 {% j8 ~2 K9 A: e  K
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ; V# S, o+ ]+ e1 G0 D! A; O6 ^
  433. ;                     of PHP
    6 s, H- L% m3 C
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings( G! d! N5 x8 R+ n, S
  435. ;
    6 j0 x. x: o: ]9 f
  436. ; Common Values:
    ) h* h0 I5 |* Y8 s9 r
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . S) V% ~: e- k8 W: }8 u1 W7 K
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)4 @& B8 k* {, m
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    % n, T* H$ K  E* J! `) d+ @
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( i: _5 {8 A* X& r+ S
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : n5 p) P  F* O3 m/ m8 [
  442. ; Development Value: E_ALL) r: ^: R4 T, \1 F- l
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    . U; T  s% }0 v! K# L& i" i3 N& a7 {; |
  444. ; http://php.net/error-reporting4 z+ s- Y- c& {6 c- T( Z
  445. error_reporting = E_ALL & ~E_NOTICE" p# M2 b, }+ a
  446. ' ?# f# B6 ^/ v1 u2 L4 x4 }
  447. ; This directive controls whether or not and where PHP will output errors,
    ) q  j1 _1 J- A, R1 l8 ^# |8 S$ N
  448. ; notices and warnings too. Error output is very useful during development, but- t5 {7 ]& r% p( E. V
  449. ; it could be very dangerous in production environments. Depending on the code5 F! d2 x, D& m1 H, h$ _
  450. ; which is triggering the error, sensitive information could potentially leak5 e6 {* Y4 p- \2 }. o9 h8 j
  451. ; out of your application such as database usernames and passwords or worse.
    . w) R) i- ^4 Z" `- H7 ]
  452. ; For production environments, we recommend logging errors rather than# L4 \( {, o7 `/ M8 Z# b, L! Q
  453. ; sending them to STDOUT.- v- F' R6 P% s3 y( s+ c9 J7 [
  454. ; Possible Values:
    % J/ q4 F& A0 ]& ?5 T# V/ ?
  455. ;   Off = Do not display any errors
    + I; _! B0 S9 J! p8 I* b) d$ |
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    " G: W' l4 o( M* ]- y% l9 Z
  457. ;   On or stdout = Display errors to STDOUT8 j4 P# P& P" Z' Z6 m; p, I
  458. ; Default Value: On0 x. P! ]# ~. d) _: p
  459. ; Development Value: On
    & u2 l& y1 B8 x: e/ h. Q. m
  460. ; Production Value: Off
    / i/ u8 _% }- I/ ]" \
  461. ; http://php.net/display-errors& u1 [+ k8 E& Z' @  L
  462. display_errors = On
    : O5 ?! Q* V( N9 g' c
  463. 4 m# e7 I0 x; ]) [
  464. ; The display of errors which occur during PHP's startup sequence are handled5 h4 o5 {! d  l
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    : x' ?" ^6 I+ `9 q
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    / \7 W9 x+ p) Y% e: _% J
  467. ; debugging configuration problems. We strongly recommend you! O! H+ i) ^: t% ?3 `+ F& c
  468. ; set this to 'off' for production servers.( r$ s5 ^# P4 L. \( [1 w
  469. ; Default Value: Off& |$ N) a7 Q, `" T& Q/ V
  470. ; Development Value: On' o) i$ J  V9 D! z4 h/ t
  471. ; Production Value: Off
    6 B# A: G! x* R% F9 D- t( P
  472. ; http://php.net/display-startup-errors
      F- Q. m# X. s) `5 m# x7 _
  473. display_startup_errors = Off
    7 U4 l2 [- T5 j! G& w7 q/ [3 `5 B
  474. & ?: O* l* j4 e6 c: I* ?
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    2 L5 o$ ^( q: [. `0 r8 |8 A! a8 F& I4 K
  476. ; server-specific log, STDERR, or a location specified by the error_log
    - z+ ^% d; V' u2 l- {" ?  I2 E
  477. ; directive found below. While errors should not be displayed on productions' p7 {* q( r0 g. H( a
  478. ; servers they should still be monitored and logging is a great way to do that.
    4 T' @) ]4 E# ?+ M
  479. ; Default Value: Off) A# ]- Q  N9 B' `% Z
  480. ; Development Value: On9 I! Z6 i1 ?2 I% i' }; y( x
  481. ; Production Value: On
    . d, ~2 q$ Z* ^) ?% w0 s3 D
  482. ; http://php.net/log-errors/ u$ }' h( f& U8 t
  483. log_errors = On
    ( l$ c( s" n" J* m5 ?; E% b& ]  V
  484. ( F/ ?; D# ?+ c
  485. ; Set maximum length of log_errors. In error_log information about the source is% _$ }( ]" p8 H7 Z3 Y! G/ Q2 {
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.% C2 \3 a- x/ F7 Q9 s' i6 u) B
  487. ; http://php.net/log-errors-max-len* V- C. K" s6 F& o
  488. log_errors_max_len = 1024
    " O( s  I9 K8 q7 P) ~

  489. ( A  Q2 D/ H) C& W* l# y: k
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same' Q. }  ?9 ]) W- N% ]/ w' t. p$ i* ~
  491. ; line unless ignore_repeated_source is set true." o/ S) g* X! x: O6 X
  492. ; http://php.net/ignore-repeated-errors
    - N1 k2 {+ \; V. s
  493. ignore_repeated_errors = Off
    & p3 Y1 R$ r& p: R1 d6 z

  494. 8 p' A$ q; e, C
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    . k" T% d. d3 \  z0 \) E2 q4 j
  496. ; is On you will not log errors with repeated messages from different files or
    : W) g: _/ R% W
  497. ; source lines.5 S/ Q- W- n/ R
  498. ; http://php.net/ignore-repeated-source* Q& }9 P5 W! |2 D7 n1 [5 r  K& z
  499. ignore_repeated_source = Off
    7 N* M+ H, G7 K/ R9 q& ^* c

  500. : A  i5 h" L+ e2 v1 I& l! h' ^: J
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on7 z5 E2 C* G- V9 K, _
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    1 T* }( k/ f7 x% f7 {. j
  503. ; error reporting includes E_WARNING in the allowed list
    . e* V" y7 b6 o# W0 a
  504. ; http://php.net/report-memleaks
    ; d* Q9 Q9 m0 `# H
  505. report_memleaks = On1 A  |8 U/ n7 r% k5 f

  506. 7 L) |# r& q; x1 y7 B3 A) ^
  507. ; This setting is on by default.
    ( K  h3 Z$ @/ J* c; o0 c7 H, J9 F
  508. ;report_zend_debug = 07 x- [% |% p- d

  509. 7 I6 \" C* `8 A6 D5 e& e$ {
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value, l' D  m& B3 g% T; r
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    0 X) g% P  ?# X# g7 D
  512. ; however be disabled on production servers.
    3 x" W* `/ w8 b- S$ K
  513. ; Default Value: Off- C, U/ s: d. c$ Q
  514. ; Development Value: On
    ; p/ X  i& z6 \' h; o* c3 i
  515. ; Production Value: Off
    , M7 X* P! @4 u# j0 s( ?- q
  516. ; http://php.net/track-errors
    - D0 P% \; c) D: U# I  n
  517. track_errors = Off
    7 }0 u! f8 l) N

  518. & D: V, r3 e/ {: g
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    8 r* {8 D3 A7 V$ \% w1 Q
  520. ; http://php.net/xmlrpc-errors
    3 {1 y8 ?7 Y& s! K
  521. ;xmlrpc_errors = 0
    : P' U& O. k* V2 o" H( I& d' O' k# x

  522. " I3 |( i; n0 M+ U' k& k5 l6 a  t  V
  523. ; An XML-RPC faultCode
    2 k$ x. T; ^/ w4 R5 T
  524. ;xmlrpc_error_number = 0
    9 M6 Z; p+ x3 ]; G6 i

  525. ( Q# b$ ~; D( O1 c8 R
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    3 k% ?0 Z" O+ T
  527. ; error message as HTML for easier reading. This directive controls whether
    4 `+ m5 _: I9 F
  528. ; the error message is formatted as HTML or not.2 C8 z' \3 @# V" k6 @7 u/ h7 Z
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI5 a5 e$ w4 W3 h& N# k0 S5 T* M
  530. ; Default Value: On
    ; y( ~; r! H& a1 l- I# {
  531. ; Development Value: On0 H& J# U& s# A$ }) _0 k
  532. ; Production value: On$ X1 ~; x" b5 t" J7 h
  533. ; http://php.net/html-errors7 \, N& Q8 N7 N
  534. html_errors = On
    ; ]' i8 Y+ `4 F% x8 c
  535.   n' o( \7 \, }" y4 B6 N7 R& R+ @6 q; s
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    $ B' n5 G3 w5 d/ \3 F
  537. ; produces clickable error messages that direct to a page describing the error8 J! e: v; J4 ?' m
  538. ; or function causing the error in detail.( j* t, \/ F: c5 P" |
  539. ; You can download a copy of the PHP manual from http://php.net/docs: ?7 o" G6 _+ e+ ]/ X/ C
  540. ; and change docref_root to the base URL of your local copy including the
    . [% i( C/ J" s; o8 k7 j
  541. ; leading '/'. You must also specify the file extension being used including
      A4 [3 A. c! |7 F  L+ U0 D/ m  y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    . ]0 w6 U, Q" z
  543. ; case no links to documentation are generated.
    ; s% C% b+ [7 v  s
  544. ; Note: Never use this feature for production boxes.
    ( r2 P) h$ ?/ {% }2 [# J+ S' z/ V2 b
  545. ; http://php.net/docref-root: r" e# V5 ]7 @3 E
  546. ; Examples
    5 ]  Y8 k5 }4 r6 W
  547. ;docref_root = "/phpmanual/"
    0 v6 U3 y& G* _: f) v  R: v7 ~
  548.   z! _& Z  `% |6 p
  549. ; http://php.net/docref-ext
    , k4 ~# t6 ?( H# b3 b  u
  550. ;docref_ext = .html4 |% i  s4 J2 p4 n: O

  551. 6 U6 i0 Q3 w5 ]; m2 O9 h% J
  552. ; String to output before an error message. PHP's default behavior is to leave7 N' n7 A* ]) B
  553. ; this setting blank.. g. g( t/ n- L
  554. ; http://php.net/error-prepend-string1 y2 U/ _3 m; j: m
  555. ; Example:
    ! f" a# h6 J: I
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    8 H5 z+ L' P! N+ z5 E

  557. . o8 j: G* C9 C. S/ R
  558. ; String to output after an error message. PHP's default behavior is to leave
    ( F: N5 U% m* ?& o* p  X6 j! E
  559. ; this setting blank.: {6 n" T& k9 ?4 n. W1 w5 `
  560. ; http://php.net/error-append-string
    % a/ v8 q4 c9 s0 P
  561. ; Example:2 z1 R* z2 Q  A; @% f9 I
  562. ;error_append_string = "</span>"
    ! V3 B3 U$ h* w( E4 g2 A* D( ^
  563. + ]+ A7 y$ w. F8 T0 m
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    9 Z' r$ n( _9 e$ G( V
  565. ; empty.
    ) |0 {$ o: l, a* a9 P' [$ N
  566. ; http://php.net/error-log
    6 S6 w/ Y  \) @
  567. ; Example:
    9 u* q* A- \  B
  568. ;error_log = php_errors.log" r( W" j/ Q# T* ?  W  Q! O
  569. ; Log errors to syslog (Event Log on Windows).
    9 o  Z( W& J; j+ |
  570. ;error_log = syslog
    - T4 ?3 l: f( T4 w7 U/ y9 o  Y

  571. 5 l$ f& [! k4 U5 ~5 B) l9 ?
  572. ;windows.show_crt_warning
    2 b' A$ z; s4 W0 w* g
  573. ; Default value: 0
    * k7 [4 [; G# O* X7 O% x' ?1 Z
  574. ; Development value: 0
    $ F. R/ l" b1 h6 J9 `$ S. k% v
  575. ; Production value: 0
    . E) v, m/ P. d: P

  576. 9 Y4 q% w7 c' C+ y  Q( e/ g6 y! s
  577. ;;;;;;;;;;;;;;;;;( |7 I% c7 k& l* H8 b& `  |% l2 |
  578. ; Data Handling ;' O9 Z5 r# Z4 N( F
  579. ;;;;;;;;;;;;;;;;;
    * m1 p' }8 G* e! Y# w

  580. 7 P5 h4 F) b7 G/ U& [$ a
  581. ; The separator used in PHP generated URLs to separate arguments., M4 u0 g. i7 ^: @' S, s
  582. ; PHP's default setting is "&".. G1 D; ?  d. R) }# A. x9 D" |
  583. ; http://php.net/arg-separator.output' m+ ~. I9 x* D! ~( I; m
  584. ; Example:% q2 q2 a+ f# E- z+ @' c. @! b
  585. ;arg_separator.output = "&"
    & J. K' `( H" `2 C" q, W2 m' E
  586. ; B2 `* r7 v. l) j/ K. Z& R8 _  b
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    - _" k. m4 R+ U4 X
  588. ; PHP's default setting is "&".3 ^& j2 T+ P  Y- q
  589. ; NOTE: Every character in this directive is considered as separator!" b: f- R! [6 ~1 s1 P$ J
  590. ; http://php.net/arg-separator.input
    , g/ Y! X$ `( T: _
  591. ; Example:
    - B: j& K- b9 L' Q7 ]4 {
  592. ;arg_separator.input = ";&"
      l* q0 N. m7 H* Q

  593.   y8 l6 h4 Z( b5 g& \. V
  594. ; This directive determines which super global arrays are registered when PHP" {1 s" k$ b, ^: w8 L
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & l$ P. O" o, N; v0 f
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - d% c) x4 Q. F4 V. {3 }9 o
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    5 o( c. U. Q; B
  598. ; used as the others, ENV is not recommended on productions servers. You
    3 A" H1 W) Q$ m$ m9 Q: ~
  599. ; can still get access to the environment variables through getenv() should you
    ' S7 R6 N: x' }
  600. ; need to.
    ) ^8 Z1 K' V  K, {% {9 e
  601. ; Default Value: "EGPCS"; n5 L8 S" T' n. i+ O) X
  602. ; Development Value: "GPCS"
    + A  H5 x& F, V9 b0 G% V
  603. ; Production Value: "GPCS";: h" {5 X' R2 l" Q0 Y
  604. ; http://php.net/variables-order" J& Q# ^$ [4 O, g" G% e; e+ G
  605. variables_order = "GPCS"
    $ ]. R( |$ ?4 q) D
  606. ) F* S" i& F+ {3 B: b+ ]
  607. ; This directive determines which super global data (G,P & C) should be3 o  _5 K5 R' n$ ^# T
  608. ; registered into the super global array REQUEST. If so, it also determines9 \9 w7 D4 V0 @- E+ S
  609. ; the order in which that data is registered. The values for this directive& [8 U- O# [( d4 M
  610. ; are specified in the same manner as the variables_order directive,
    . C3 C1 S7 U9 K2 w. m) [
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set; t  D; d# _. [% i
  612. ; in the variables_order directive. It does not mean it will leave the super; n3 [* _7 i" l$ W  V
  613. ; globals array REQUEST empty.
    2 H7 `/ _$ E- a; c; D
  614. ; Default Value: None
    * G7 G& B' x( N* J* M8 L
  615. ; Development Value: "GP"1 n9 \7 e- L6 U* X6 ]( b9 X0 x! b
  616. ; Production Value: "GP") w* p+ o" j% C2 j" F
  617. ; http://php.net/request-order
    ! z8 Q) L" D* r% g* e
  618. request_order = "GP"$ H& t- }: _: |; g& f! [

  619. + Q2 X! U3 O, v0 i, v3 X0 W
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    , g$ S  q8 w& n2 a
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    0 w5 m7 [2 Q3 l% _$ y: a% T% w
  622. ; is invoked. $argc contains an integer representing the number of arguments
    - X  P. n6 g' q) P+ D0 G  [
  623. ; that were passed when the script was invoked. These arrays are extremely, A$ m' k0 b- K. A1 ]# ]% L
  624. ; useful when running scripts from the command line. When this directive is
    ' E. ~/ s' f5 \7 h, J2 s$ @
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    0 S' Z  y/ r9 m) i3 A
  626. ; a script is executed. For performance reasons, this feature should be disabled3 x/ {: r; \; W2 P8 R0 n
  627. ; on production servers.
    1 j% v8 v. e4 _- ~2 o! c
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 K$ _4 o- I0 J& J) j+ a4 t/ }2 x
  629. ; Default Value: On
    3 {0 f! W0 t  Y! N- M
  630. ; Development Value: Off+ h$ {. C4 Z/ b- I7 Z/ S% \5 _
  631. ; Production Value: Off
    , b! M& Y" b4 V. V3 d
  632. ; http://php.net/register-argc-argv
    8 u, @4 L7 N: z" p: ~9 @
  633. register_argc_argv = Off$ g# q; W+ w* q4 V# F: e5 K
  634. # E2 l) D3 A4 R7 A; N
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're6 r! S' r# a- o  v" `
  636. ; first used (Just In Time) instead of when the script starts. If these3 L/ b1 `. o* Z
  637. ; variables are not used within a script, having this directive on will result
    8 M; x% W; q; a7 n5 S; B; \
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled9 \  X1 `# W  u
  639. ; for this directive to have any affect.( h9 q' n% W% p- G0 Z7 A
  640. ; http://php.net/auto-globals-jit
    ! E! E% p, Z* \% V9 |' T) x' E8 W
  641. auto_globals_jit = On
    / Q. j& |( p+ N! a. j  W# M: L
  642. 2 G0 ?" h7 @' _' ?
  643. ; Whether PHP will read the POST data.) N; x* u' i7 T5 Z4 r. q. X
  644. ; This option is enabled by default.
    4 z# `" O; `  O' v8 j
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! t. Z  N# |9 @  g: V+ d
  646. ; and $_FILES to always be empty; the only way you will be able to read the) b7 Y) j, f' T/ L- U+ Y, O
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    $ n, u) X8 [  @6 l) l
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.' R( J. E0 h. N; q
  649. ; http://php.net/enable-post-data-reading: D9 ^" F) ~, ~. E5 U
  650. ;enable_post_data_reading = Off
    * B" F$ o" P" O

  651. $ y  a# C1 ^* s" H; [8 L. ~4 f8 g
  652. ; Maximum size of POST data that PHP will accept.
    3 J0 }; f9 j1 g$ N1 b: \0 F
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading$ j/ y) |9 n7 C& l  H: @) [& u3 O
  654. ; is disabled through enable_post_data_reading.
    3 i' t+ g1 o% i4 Z! r
  655. ; http://php.net/post-max-size' b$ w+ p1 \- x
  656. post_max_size = 50M
    ; Z! V6 x7 N8 _1 v* Q; D4 B) k

  657. 9 u0 N6 r( T' A9 l* o( X1 P$ |2 O
  658. ; Automatically add files before PHP document.
    ; s; r, {2 R3 E" X0 I: a3 J7 z/ S# |
  659. ; http://php.net/auto-prepend-file7 {* I% W8 L0 e) u
  660. auto_prepend_file =
    2 w) X0 x2 [, X
  661. ; z: F7 E0 y; y- g
  662. ; Automatically add files after PHP document.
    # ]  s; q" |; J/ h* G. V7 V9 m
  663. ; http://php.net/auto-append-file
    8 H6 t0 x0 ~; a/ r3 e' j
  664. auto_append_file =: e* [. b4 r  O- e6 f1 Q
  665. 1 t! f; k& o7 Y) d4 h3 M& Z
  666. ; By default, PHP will output a media type using the Content-Type header. To
    + |  [) ~' G  ~+ y
  667. ; disable this, simply set it to be empty.4 e- Q7 U$ v8 C
  668. ;
    * m4 {/ Q/ B# O( n+ v3 y
  669. ; PHP's built-in default media type is set to text/html.
    " |8 Y7 d9 b6 C0 k; q6 J
  670. ; http://php.net/default-mimetype. }/ y1 X; `; r# `+ ]. a) V
  671. default_mimetype = "text/html"% @. f9 @$ K3 _( x, I

  672. * g3 L# Q7 \) `# x- z) ^
  673. ; PHP's default character set is set to UTF-8.
      x4 q8 B: o, {: B, n) H$ n  e
  674. ; http://php.net/default-charset; ?' l: \6 H" z
  675. default_charset = "UTF-8"
    6 R0 n  L6 s* |, r- i- b; x

  676. . L& ?# T) h: w9 d9 H! n& P0 z' k; Z
  677. ; PHP internal character encoding is set to empty.
    " Z! g; ?+ V) r% ^6 J7 A
  678. ; If empty, default_charset is used.
    . H1 g* }1 {+ A
  679. ; http://php.net/internal-encoding
    ; W  a2 O( `9 k: R# ~* _$ ]( R( k6 A
  680. ;internal_encoding =, {! S- k0 g+ K4 P+ @6 u. U

  681. & b+ o6 C8 C/ I& z2 d
  682. ; PHP input character encoding is set to empty.
    # l1 U5 g' T/ v" E+ p
  683. ; If empty, default_charset is used.# H' j% b; A# T% g4 \5 @: B
  684. ; http://php.net/input-encoding7 U, g& l; ?" X/ w  A! ?0 \
  685. ;input_encoding =5 \" q: z# w: F7 U( X
  686. : C- c+ ]( P: L: Z( B" k
  687. ; PHP output character encoding is set to empty.1 M: }" G, u* |! ]; O6 C
  688. ; If empty, default_charset is used.; y3 U- x8 k3 I0 p# k& [8 I. |0 l  P
  689. ; See also output_buffer.
    7 F. }2 K: r/ W; X* w, e
  690. ; http://php.net/output-encoding, `, p3 _! @" K' f( q0 J
  691. ;output_encoding =
    & T& ^8 |  P' n! S
  692. " w& r. w+ i) g  R, l, k
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & b8 F, f' N& h' ]# |: ^* Q4 H
  694. ; Paths and Directories ;
    * D1 j9 S: V+ a5 y
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, n! I7 S( _  Y* d2 W9 Z6 v
  696. 3 _5 g" \4 F2 G/ u  e0 Q
  697. ; UNIX: "/path1:/path2"
    ' O. Z8 R, [& t: y
  698. ;include_path = ".:/php/includes"" l' J0 i0 M6 Y" U& S; o
  699. ;$ t1 o$ O8 [3 b; b  k& u
  700. ; Windows: "\path1;\path2". s3 ~( k7 x0 q5 W- c
  701. ;include_path = ".;c:\php\includes"
    2 Y, F4 `$ f0 }' ^1 K" s8 J( X
  702. ;" ]7 K" K( ?: t+ G, o
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 n& g: ^9 E7 v* b6 `
  704. ; http://php.net/include-path  E" h) A$ x  K, o5 j

  705.   r4 `4 n  @& S8 j- t1 x& o
  706. ; The root of the PHP pages, used only if nonempty.0 m3 Y( X* i( R
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ s- W3 J/ v2 a+ P# P
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ) E; ^9 O6 w; O' B
  709. ; see documentation for security issues.  The alternate is to use the
    , k% n3 R9 U9 X# x# Q
  710. ; cgi.force_redirect configuration below* D9 t$ _! p& }: `8 H, c3 L
  711. ; http://php.net/doc-root; H1 a9 j3 }. t7 r6 K. q- z
  712. doc_root =
    $ ^5 I' v* q- S% R! {
  713. 8 W# J1 V) U& p
  714. ; The directory under which PHP opens the script using /~username used only  y- ~' Y7 n% x' _; L$ v
  715. ; if nonempty.
    + x+ n# B. n3 W4 l! ^$ S/ N8 [- D
  716. ; http://php.net/user-dir
    - u" g. Z0 H4 d+ K' N4 c. A- h
  717. user_dir =
    $ Q" E1 O0 O0 A; v7 ]
  718. ) G* d% }- r5 ?: T, T8 o
  719. ; Directory in which the loadable extensions (modules) reside.
    - A/ r1 v' P( X; j9 E: i
  720. ; http://php.net/extension-dir) e1 \9 k6 }6 U0 X7 S: B0 j
  721. ; extension_dir = "./"/ V( X4 \9 x  ^: ?) k5 L8 j, i
  722. ; On windows:
    : i8 }5 s- _& v+ Q
  723. ; extension_dir = "ext"
    6 H* ?# R1 T: x1 o

  724. - ?* r* ?/ ]$ K8 u6 s  w+ Z
  725. ; Directory where the temporary files should be placed.4 M: a/ c' d+ x, j
  726. ; Defaults to the system default (see sys_get_temp_dir)$ \8 k1 ?* J! S- f0 `; B
  727. ; sys_temp_dir = "/tmp"# J1 C$ T9 N: S2 V9 F
  728. $ a* N2 Q9 A* r7 f( [, e
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work& X- h6 S& W& K/ O5 B; ]! H2 ]
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: |' P. x2 a3 A' X+ a2 H
  731. ; disabled on them.6 Z3 `3 V) L! \
  732. ; http://php.net/enable-dl( P  P5 `, k6 w6 M/ h
  733. enable_dl = Off* I7 o1 ?& t/ b/ u8 d
  734. ( a. T$ L# W7 b- R# D
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under, {/ x) x+ {2 L' a1 C# B
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    2 S" ?# l0 R) H- W( A
  737. ; turn it off here AT YOUR OWN RISK; V1 d; Y! }5 F9 n# w3 p8 d, b2 U9 w
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . {$ x' |/ Q. V. @: k3 Q4 {
  739. ; http://php.net/cgi.force-redirect  _) o( r- ]3 @7 p* v9 O# M4 Y% [1 \
  740. ;cgi.force_redirect = 19 q9 |( ~3 H0 {3 s2 N/ w/ r

  741. % [: v. b7 h2 ?9 S% T, K
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    - z! C( d! t, w# G1 n
  743. ; every request. PHP's default behavior is to disable this feature.
    $ P7 f' G6 `$ t) b& t8 |* w
  744. ;cgi.nph = 1
    , e0 ^; [) h1 [  S2 w
  745. ) j) o  I4 a! \! r6 Q: F
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape2 V" x% }1 a0 a8 z! M
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    + O6 ~- y7 i! [" h% H- Y+ B
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; v' {& _  w: Q
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : x+ e. h9 t: |
  750. ; http://php.net/cgi.redirect-status-env
    3 A* H* P3 J# Q. y+ S- b+ q) S3 c
  751. ;cgi.redirect_status_env =
    & e- Q, W! H% y5 O' }% K+ w

  752. ; T$ |/ k- z3 I; J* Y$ h5 s
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    % K* h! ~; p0 N4 V
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
      x. c$ z4 |8 t
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    + e& o1 e5 g& t+ x4 B5 u
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting! R! F4 o# ?. p" l$ z
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts  ~# r8 z4 N; d! ^; E
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    , ~1 W; g6 s6 l
  759. ; http://php.net/cgi.fix-pathinfo
    ( X& O9 w9 t5 f$ p. {4 Q. c
  760. cgi.fix_pathinfo=17 ]0 P2 V$ ]8 T4 ]) m& t, S+ z1 V

  761. # {0 O  M' R& T* ?
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    6 R4 E. z6 w2 b! b2 u# k0 ?% |
  763. ; of the web tree and people will not be able to circumvent .htaccess security.2 x: ~7 z1 P% e8 F, K
  764. ; http://php.net/cgi.dicard-path; Y8 O& ^1 L2 M$ @
  765. ;cgi.discard_path=10 Z+ X$ d# h7 y. v4 t1 P; }

  766. * q, a$ S* l& v+ V3 U4 b3 l3 \( l
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 l' I* K! E4 p+ i! f  w, K
  768. ; security tokens of the calling client.  This allows IIS to define the
    7 b) S% w5 f$ W& U4 P
  769. ; security context that the request runs under.  mod_fastcgi under Apache# g/ g  q/ V; V# Z) X/ a
  770. ; does not currently support this feature (03/17/2002)/ ?8 |9 w7 K' \& @! J
  771. ; Set to 1 if running under IIS.  Default is zero.+ {2 t% d/ F3 }
  772. ; http://php.net/fastcgi.impersonate
    6 e+ s7 l7 m( h( m
  773. ;fastcgi.impersonate = 1
    : }) Q% P1 \+ u2 u% `

  774. 4 V1 Y2 |5 _& W) o4 W) Y  Q0 J
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    2 ?% O  l& C# w5 E- [7 A
  776. ; this feature.
    8 S9 o! j9 K- n! }9 U' J8 d
  777. ;fastcgi.logging = 05 \1 j- s! @* C) q& |/ @
  778. 0 i/ T  J, x5 d8 p& x
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to6 w/ U+ W. j: F- S
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 d/ Z6 |5 Q& p- s) _! I7 D
  781. ; is supported by Apache. When this option is set to 1, PHP will send* w. r4 T. N: b: W- m7 |. H
  782. ; RFC2616 compliant header.
    ) }0 C5 U% W2 l0 v0 D8 B3 ~
  783. ; Default is zero.
    " _* e5 e& w, T/ J
  784. ; http://php.net/cgi.rfc2616-headers0 P. Y1 e0 m6 \; b9 Z
  785. ;cgi.rfc2616_headers = 0. G* U/ t9 E" Z$ N
  786. 6 [  M6 D3 I3 t* R
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!5 n1 c% i1 O: m. r2 p
  788. ; (shebang) at the top of the running script. This line might be needed if the
    # I; u5 s5 |$ H& o
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI9 b: P8 P$ P3 T/ x# M  a; N
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ( o$ U9 H4 f( s% o
  791. ; http://php.net/cgi.check-shebang-line: ]  U$ [( X9 P2 @, _- M, T% M
  792. ;cgi.check_shebang_line=1
    6 F9 k/ {* `& v1 O* w
  793. ) |2 `0 p/ G5 E" W2 X
  794. ;;;;;;;;;;;;;;;;, b# _5 U5 Q0 c
  795. ; File Uploads ;
    / v! E9 ?# X6 p; D) }5 l+ v
  796. ;;;;;;;;;;;;;;;;; \/ H+ q, K+ u$ b! I' R
  797. / k, V; h: U" d. {1 v
  798. ; Whether to allow HTTP file uploads.
    " J$ w. O  v. E6 \; J# H! y9 F6 n! N
  799. ; http://php.net/file-uploads
    - O* Y$ _4 a6 x1 M& U; Y
  800. file_uploads = On
    * r' j0 a& S9 C: j( m7 y
  801. $ I6 P  w' b0 A: m0 s9 L2 C
  802. ; Temporary directory for HTTP uploaded files (will use system default if not) D$ A( U9 o# O/ W) x1 `( o. D
  803. ; specified).
    1 m1 B! Y- i# q4 _1 ]2 {
  804. ; http://php.net/upload-tmp-dir" X& j9 P0 |7 g& r- @7 t. b
  805. ;upload_tmp_dir =
    & e1 i5 w/ q* s2 s) {8 U
  806. 6 p: F9 o; K/ }: g4 [, @/ ]/ I
  807. ; Maximum allowed size for uploaded files.9 G6 \2 V" u. l
  808. ; http://php.net/upload-max-filesize
    ; L: `. p( e' {3 s! R* I
  809. upload_max_filesize = 50M6 E/ N+ l! q: j" F6 m# E
  810. . E+ z: {! Q, x# [. B
  811. ; Maximum number of files that can be uploaded via a single request0 y. j9 ?% a( j8 d5 w& p
  812. max_file_uploads = 20
    - o* D  {) K% W9 |5 n
  813. 8 p* u1 c/ z) k. @. L
  814. ;;;;;;;;;;;;;;;;;;
    4 K; V8 P2 d7 P' e1 J
  815. ; Fopen wrappers ;
    0 Z; f& I1 G; r
  816. ;;;;;;;;;;;;;;;;;;  T- _' s3 K$ w6 ?5 M
  817. / h- P/ k, l( J) L$ E
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    - X! S% F! x- T7 H( }1 j
  819. ; http://php.net/allow-url-fopen
    ' \/ M( N6 r7 |$ o% F
  820. allow_url_fopen = On8 Z. `5 i3 }. M

  821. . _# f7 l- k1 J. Q. A
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    1 W+ i2 n% a' n" g% R& o
  823. ; http://php.net/allow-url-include) }4 Y; s4 A/ |4 V' }8 ]
  824. allow_url_include = Off
    - N) P/ e$ l8 G- ?7 Z: M
  825. + |5 ^9 v4 \2 [# [& t
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ' J/ U* n" N! x# H" z% s
  827. ; for this is empty.
    6 C5 K3 J& W. v2 g( o  o2 l
  828. ; http://php.net/from( s' _' Z/ ^) a- o$ d; l
  829. ;from="john@doe.com"# d1 s6 p- v$ Z% Y/ w' G
  830. 6 o; T6 ?1 }: l  Y; z
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    # r" @: S2 t# S- Q4 L7 I
  832. ; http://php.net/user-agent" ]3 K% f  {7 a* b. a7 O
  833. ;user_agent="PHP"- ^8 S1 A9 \/ {; O" ^
  834. & d  O: W  G, \/ `+ A& [
  835. ; Default timeout for socket based streams (seconds), s' L) u; J+ Z. _  Z% |. @8 r
  836. ; http://php.net/default-socket-timeout7 {: }7 e1 y$ S  e! h+ {, I' Q
  837. default_socket_timeout = 60- u" l3 o7 ?2 `! J# v- K1 d* a

  838. 7 a+ H) e) u; ?$ ^7 W- O
  839. ; If your scripts have to deal with files from Macintosh systems,
    * d5 y! p* A! v
  840. ; or you are running on a Mac and need to deal with files from. X8 K$ v) {; b. c% D# p) }
  841. ; unix or win32 systems, setting this flag will cause PHP to$ _- v6 X2 f! n. O, _
  842. ; automatically detect the EOL character in those files so that
    2 Y4 e, T; n3 o2 W
  843. ; fgets() and file() will work regardless of the source of the file.
    % o) Q+ f2 R# F0 N& n; Y, o  k5 I  j
  844. ; http://php.net/auto-detect-line-endings
    + j: S* N$ ]8 ~9 s; k" F
  845. ;auto_detect_line_endings = Off
    4 W0 e$ u1 `# r
  846. ' |) o0 @" [$ g) x  G
  847. ;;;;;;;;;;;;;;;;;;;;;;
    . m; a" R% \3 s0 f; d) ?9 \
  848. ; Dynamic Extensions ;8 _6 x+ M6 y/ I: X5 M- }
  849. ;;;;;;;;;;;;;;;;;;;;;;
    " ?5 e& r% G% \! {- \
  850. , o& ^% S3 I6 f- d. O, T
  851. ; If you wish to have an extension loaded automatically, use the following% t1 w7 d& q. W4 D( S
  852. ; syntax:  Y" E: @* A6 g
  853. ;
    + y! r) g3 W- Z6 P
  854. ;   extension=modulename.extension# n3 z$ p7 ~- g' r) V
  855. ;4 i7 b3 u" ]: D  V, q
  856. ; For example, on Windows:& j& ]" A1 f+ F8 a+ J
  857. ;. y( o. e6 q$ r6 C- U
  858. ;   extension=msql.dll+ z* C: V9 @; H. c2 G9 w
  859. ;$ q2 c2 E  V  n8 ]1 Q
  860. ; ... or under UNIX:
    ) ]" W7 W7 ^( S" _8 V' [3 _. a
  861. ;" M; R* b9 F+ r! _
  862. ;   extension=msql.so
    9 F  \  R9 T# s/ ]3 ^' R
  863. ;' L/ ?4 x! E  A
  864. ; ... or with a path:0 h6 n$ M# M3 a
  865. ;6 F) t" [" E: ]2 U! e
  866. ;   extension=/path/to/extension/msql.so" v7 i1 M7 Q' s1 Y; I
  867. ;
    ! W2 M# G3 m/ g2 y+ N  d! Y
  868. ; If you only provide the name of the extension, PHP will look for it in its, z2 K6 a5 D9 ~( d9 V
  869. ; default extension directory.) i$ j$ [# v3 [1 f2 u
  870. ;1 Z- l( Q- [4 o+ m- z
  871. ; Windows Extensions
    7 Z7 h, S8 F& [/ W# c
  872. ; Note that ODBC support is built in, so no dll is needed for it.$ V+ ^; j5 b: Q
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)- O  [' h3 b! Y
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).2 c% |; p+ U  q* l4 B6 @
  875. ; Be sure to appropriately set the extension_dir directive.
    ) s9 G; U: {2 f5 m* L5 ~2 L
  876. ;
    - n9 {& n* H! K9 l9 ]
  877. ;extension=php_bz2.dll  _9 ~9 `% g+ \$ j! ~
  878. ;extension=php_curl.dll
    1 V( k7 \5 m* W4 Y
  879. ;extension=php_fileinfo.dll
    * E8 l" F6 o. [3 G0 R
  880. ;extension=php_ftp.dll% @' G8 d* Q0 b" d0 B: o8 M2 J
  881. ;extension=php_gd2.dll+ H1 E- l4 `4 @$ M+ @: ~6 N5 Q
  882. ;extension=php_gettext.dll5 J2 i" c/ t) \, X* b# E! C  u  Q
  883. ;extension=php_gmp.dll
    , |$ a/ c4 y- `" _3 M# d
  884. ;extension=php_intl.dll6 `4 |  u: }6 G( h+ c
  885. ;extension=php_imap.dll4 j' w1 |7 ?8 }$ Y% B' r
  886. ;extension=php_interbase.dll: |: X( ?! z7 D  I  O
  887. ;extension=php_ldap.dll7 X: z9 e# [- F! r
  888. ;extension=php_mbstring.dll# ?. n) Z6 e! ?3 H; Q3 v
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it  W/ L. @3 O5 X% b' w$ [5 q
  890. ;extension=php_mysqli.dll
    4 y& V* C# }3 n, b. H
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    3 Y: S! v7 S+ O" X" z
  892. ;extension=php_openssl.dll
    + H; [# m9 w1 v& A. r
  893. ;extension=php_pdo_firebird.dll, T( }* H' h/ D+ f
  894. ;extension=php_pdo_mysql.dll
    ; `! l" O3 K6 z* @$ o; I. V
  895. ;extension=php_pdo_oci.dll
    ; P+ N9 k- g! l! ]5 v# z! x- X3 s
  896. ;extension=php_pdo_odbc.dll( q, ^" H9 c: L8 A/ }7 L1 Y) [
  897. ;extension=php_pdo_pgsql.dll
    ) T1 L. k* y) Q, @1 ~- q
  898. ;extension=php_pdo_sqlite.dll4 ~& X$ S$ ?% Q5 @8 I* {2 W
  899. ;extension=php_pgsql.dll; a0 t: E8 F' f. j
  900. ;extension=php_shmop.dll7 k$ k6 M6 F: Q. Z9 n
  901. ( X! p0 Y4 r* l! h  V: p
  902. ; The MIBS data available in the PHP distribution must be installed.
    & b( A( w3 d5 }) e2 \8 s, Y
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    8 W6 V+ g. Z. `/ H4 m. e* C
  904. ;extension=php_snmp.dll% z: n9 P! }9 c: A; ^. |& j
  905. 0 j) y2 t2 R8 X
  906. ;extension=php_soap.dll* W* I+ G" q8 r& N
  907. ;extension=php_sockets.dll  ]- g' |. s$ I6 u& `# O
  908. ;extension=php_sqlite3.dll
    " Q$ j9 k. T7 u3 x7 {
  909. ;extension=php_tidy.dll
    + v# ^1 g5 G$ F. }1 A
  910. ;extension=php_xmlrpc.dll
    $ J# r/ x# A- t3 S* k$ S; w% @
  911. ;extension=php_xsl.dll7 q$ b- M* h! ^9 V5 z9 E0 E

  912. 0 u5 {! O$ ?  N0 a8 p
  913. ;;;;;;;;;;;;;;;;;;;
    . Q+ M# v% p4 D( P
  914. ; Module Settings ;# O5 O- H% e3 {; k; @
  915. ;;;;;;;;;;;;;;;;;;;
    7 o3 N- I" G: S1 R5 O6 U

  916. 4 ~. {: W  ]3 t9 n3 D
  917. [CLI Server]/ n( P. W* T, x  Y7 \
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.* v8 Y: B! \  p% z/ E8 c& z
  919. cli_server.color = On
    7 ]! w2 ?& Z/ J/ Z2 V
  920.   `2 D+ X% K9 P
  921. [Date]) {- `0 ]# ~! ]+ e" V0 ^8 O3 @
  922. ; Defines the default timezone used by the date functions
    ) [4 n* S% y" d- a5 O
  923. ; http://php.net/date.timezone! V$ W0 U3 }7 N5 _9 @- p& W
  924. date.timezone = PRC" v2 b9 r0 \, j$ W' d: Y! P( v

  925. + p( ]( `. b: O9 [& N
  926. ; http://php.net/date.default-latitude  s6 Z% P! |0 o1 a
  927. ;date.default_latitude = 31.7667
    / M6 Z7 W, k+ g$ T+ g

  928. 5 w* Z( a' ~8 P  _7 X
  929. ; http://php.net/date.default-longitude
    ; p6 }" U6 Z+ y8 b
  930. ;date.default_longitude = 35.2333& ]0 [" `) @5 g4 x# ]

  931. 4 m' F! E4 O, g
  932. ; http://php.net/date.sunrise-zenith+ [4 ]/ ~9 \  u% u. n/ D$ K( e; B6 ?: N: `
  933. ;date.sunrise_zenith = 90.583333; ?- H  s0 v3 ]* D' i! ]

  934. 4 K  R; t7 ~4 m) b  K# [
  935. ; http://php.net/date.sunset-zenith- q( ^  }6 B+ M: x* E2 L9 g4 I; |
  936. ;date.sunset_zenith = 90.5833336 q0 g6 Z9 C9 ~7 [' G
  937.   U* K3 K+ H- }
  938. [filter]5 m6 H' W1 S. Y1 t
  939. ; http://php.net/filter.default- _3 I% K2 O5 a  z+ h
  940. ;filter.default = unsafe_raw# q$ d, i( K! E3 d$ y" a

  941. / q9 n# j* x  e2 P1 t5 u! T
  942. ; http://php.net/filter.default-flags
    ' a& e; P3 t+ q% ?
  943. ;filter.default_flags =3 ]# T* T9 _& |! H) V
  944. . c; W, h% l0 X
  945. [iconv]3 p' }. a' M5 A# L* G$ N
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.; ?$ E3 ?& ^$ g4 ]' B
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 j, \) ^4 s5 R3 f8 |% _' |
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    + b" z2 I: m6 E: L5 M! Z# I8 Z
  949. ;iconv.input_encoding =+ O8 c6 Q; |, B, s8 o

  950. - b2 Z5 _% C3 u3 e4 ]0 i3 j9 s
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.& U* X/ {& s& F5 t) {  K5 M% b. M( }
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 o* D* B& a8 h, {3 n5 a
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 e" [- u/ a2 }. r+ i! h) @
  954. ;iconv.internal_encoding =
    - h2 f/ s# ?8 q* `; t% n9 V$ ]
  955. 1 F9 {3 Q; |+ x- g  T1 O- x6 V
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / x! Y2 H) g; y- x/ M: [& o4 i0 S% m
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.$ d" F( L5 ?' n+ B2 X
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , f! E. S7 _) }% a! m3 A$ F
  959. ; To use an output encoding conversion, iconv's output handler must be set$ G" }3 G! c3 p0 @
  960. ; otherwise output encoding conversion cannot be performed.
    ) G2 G% W& o, y& ~. Q. Y
  961. ;iconv.output_encoding =2 |2 M/ L, \9 C9 s
  962. " E- Q0 q+ \! O  W8 a
  963. [intl]0 G1 \6 j. o& o4 ~* y" x. R) U
  964. ;intl.default_locale =
    + l% n( F7 N. K* u5 m. Y( G. l% h
  965. ; This directive allows you to produce PHP errors when some error
    / N  w0 v6 }: D" ^
  966. ; happens within intl functions. The value is the level of the error produced.
    9 T1 _: W( f6 ]. h! P/ D8 W
  967. ; Default is 0, which does not produce any errors.
    5 g& n( k* _+ }! E* G9 i
  968. ;intl.error_level = E_WARNING8 v. F/ R! X# G0 |
  969. ;intl.use_exceptions = 0
    3 q) ~: v7 B+ z& w- U6 \: y& C
  970. / M- x& K+ |: `/ p8 j3 e, b
  971. [sqlite3]# l5 d6 e; S* Y- s& [
  972. ;sqlite3.extension_dir =. }) Q( c3 G( N4 g; [; e# E7 z/ i
  973.   C' q7 D7 Z0 n2 I
  974. [Pcre]/ R2 p* }+ k  f  _: p' ^
  975. ;PCRE library backtracking limit.
    # q! q3 e# q0 s% K. |( v3 E. V
  976. ; http://php.net/pcre.backtrack-limit4 }7 ~$ l! k# \; l1 x, j, D
  977. ;pcre.backtrack_limit=100000, V- ?/ t; }( R4 v% c2 `
  978. * e  v8 j" r' x
  979. ;PCRE library recursion limit.: z2 M) [; x1 g5 V0 [
  980. ;Please note that if you set this value to a high number you may consume all; J7 F: Z) l! m% d3 J
  981. ;the available process stack and eventually crash PHP (due to reaching the9 k/ G' W! ?4 o1 G; j/ `- S
  982. ;stack size limit imposed by the Operating System).
    ' y8 ]# i% k- B9 K
  983. ; http://php.net/pcre.recursion-limit. Q! P& V# D6 V4 I9 B
  984. ;pcre.recursion_limit=100000
    ) h! G8 k0 R& b$ [

  985. " G, o" n- R) }% F8 @" T+ @1 V9 R
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ' @5 }7 ^! i# P: b
  987. ;library to be compiled with JIT support.
    2 x) B0 Q: e( U/ p
  988. ;pcre.jit=1. y, D6 a' D/ @7 g2 x

  989. # ^0 D6 p: W" r# j, r4 m2 Q# E! n
  990. [Pdo]
    , D9 U! C& U# }) L" T0 Z
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 X( V. v( \  d3 a
  992. ; http://php.net/pdo-odbc.connection-pooling
    7 a0 v7 u7 Z+ D% r
  993. ;pdo_odbc.connection_pooling=strict
    4 ^5 Z; z6 s+ q

  994. , D1 w, Y0 j7 @/ L& ]. p
  995. ;pdo_odbc.db2_instance_name6 K; @, M9 |  V/ {: o

  996. % h, y. J8 g* c2 y. V& L
  997. [Pdo_mysql]
    2 ^8 W  K) p' }, @
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 S9 R0 g7 @( m
  999. ; http://php.net/pdo_mysql.cache_size; A: g. N* X+ t4 a; J
  1000. pdo_mysql.cache_size = 2000
    ( ^9 G0 Q" ~) M) c: `2 y& V
  1001. 8 d, y  B% X/ ]6 n) D
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 D8 n- ^8 n: J7 j; f( \7 m
  1003. ; MySQL defaults.7 u9 Y# H/ U9 Z0 h# ~0 M# D! M7 x  \
  1004. ; http://php.net/pdo_mysql.default-socket
    5 s- M! P6 w* J+ x* B+ b
  1005. pdo_mysql.default_socket=
    ' ]5 i7 a5 N; Z* G# M
  1006. 5 H4 d' ]) V3 n/ a- Y( Q; V% S; _# q
  1007. [Phar]
    7 a( z& z- {: X& q
  1008. ; http://php.net/phar.readonly
      Y4 F8 x; y- B/ c
  1009. ;phar.readonly = On, g3 I5 O, v4 f  e' z

  1010. 9 L% U9 ]: P5 y: L6 R
  1011. ; http://php.net/phar.require-hash: N# e* n/ c  y  v. f
  1012. ;phar.require_hash = On
    & z! s3 M$ _# R3 @# [4 @

  1013. # x3 Z6 r/ K$ Q5 M7 G& E' ]
  1014. ;phar.cache_list =# n! M- A; l4 I: K

  1015. " T, m3 W2 V5 B( E2 c0 [
  1016. [mail function]4 a8 k5 u2 J: h2 v2 {7 |6 |
  1017. ; For Win32 only.
    / h1 k7 v3 {. {) U. y
  1018. ; http://php.net/smtp  d5 w4 Q) g2 F: a# n& ?
  1019. SMTP = localhost) w7 v' V; ]  [
  1020. ; http://php.net/smtp-port
    5 Y/ S. T8 h  W. O5 e2 F
  1021. smtp_port = 25$ v9 I$ x7 q# _6 N; A' ~0 F

  1022. + U2 Z9 j6 r9 N. C8 Q3 `
  1023. ; For Win32 only.+ m8 f. i! Z. Y+ R  u' T
  1024. ; http://php.net/sendmail-from2 e+ R+ z' U8 d; U$ b; _7 S
  1025. ;sendmail_from = me@example.com; k. N* F' d4 n( e7 E8 g& G& c

  1026. ) g. y% r- C2 y3 B7 R
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 |2 R$ q/ l) {
  1028. ; http://php.net/sendmail-path3 {- \: h9 X, U6 G* ~' [
  1029. sendmail_path = /usr/sbin/sendmail -t -i* W* T. y" v* k1 U
  1030. ) P7 j7 V$ a0 p
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    $ H# [2 h: X3 E$ S' J  ~. {
  1032. ; to the sendmail binary. These parameters will always replace the value of
    1 v! u. f; N7 v5 [0 H
  1033. ; the 5th parameter to mail().6 @% W! ~  D( d
  1034. ;mail.force_extra_parameters =. b/ |' ?/ F, ?6 y/ |3 |

  1035. 7 i- W% L9 y, j6 B, K5 Y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename4 H) |* ]3 F( i
  1037. mail.add_x_header = On! Q9 x/ e$ ?2 i: v+ ^' w" k4 o

  1038. 1 m/ j1 j) }. \/ c
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    , c% t2 H; A. o2 O+ P7 Y# @; x  }1 E
  1040. ; the full path of the script, line number, To address and headers.4 N) u0 T+ Y* W  ^. ^
  1041. ;mail.log =
    ; U) }  ~8 [+ H. P
  1042. ; Log mail to syslog (Event Log on Windows).- [3 D- Y: F+ V2 |
  1043. ;mail.log = syslog# a  H/ t+ @  x* y) |5 j1 S9 d

  1044. , G" r: w% D+ ]" r. S
  1045. [SQL]% V$ `0 p; \# D) L
  1046. ; http://php.net/sql.safe-mode
    + ?  i% s; B9 k- m' k
  1047. sql.safe_mode = Off6 N' K$ Z* }3 A& u" C8 S4 R& q
  1048. ( f( Q1 m7 ^1 ~4 h0 L1 e7 g5 C5 m# G1 x
  1049. [ODBC]
    ' b( L" o+ R) Q0 j
  1050. ; http://php.net/odbc.default-db: {! q7 D/ X- f: X& @8 F, Q
  1051. ;odbc.default_db    =  Not yet implemented) i" N+ X& l" s$ i/ E

  1052. : y; x5 h# I$ W+ a/ P# c' ?
  1053. ; http://php.net/odbc.default-user* C8 U* X3 |$ K/ k
  1054. ;odbc.default_user  =  Not yet implemented# I  q# o  B7 B3 ]9 H

  1055. 2 a$ B/ F! w+ l/ \* T: l$ P. m1 M
  1056. ; http://php.net/odbc.default-pw7 H+ z# s$ u( P; |1 w+ C6 G
  1057. ;odbc.default_pw    =  Not yet implemented+ d: D1 `# j0 J8 R! c' x
  1058. 2 j, h! O/ _: C
  1059. ; Controls the ODBC cursor model.
    - B+ e5 Y8 y3 y5 H5 T" A
  1060. ; Default: SQL_CURSOR_STATIC (default).
    9 M7 @) F: f! d! m0 Q
  1061. ;odbc.default_cursortype8 @0 F, k  P9 m) L
  1062. 6 `0 Z( E2 S) `9 t) O
  1063. ; Allow or prevent persistent links.
    ) O- D- N4 w# T8 ~! V
  1064. ; http://php.net/odbc.allow-persistent
    - r: Q0 E7 w$ F# r
  1065. odbc.allow_persistent = On
    ) u, k  D6 v$ y  F" Y% Z$ C7 T

  1066. 5 m6 l% @+ q5 K- @* h
  1067. ; Check that a connection is still valid before reuse.3 p, d" m% g9 u4 t0 B0 V
  1068. ; http://php.net/odbc.check-persistent$ P% }4 `/ T7 x* x
  1069. odbc.check_persistent = On
    ' j+ Y% U  S4 a) `% K' L+ g- `- B% c
  1070. 8 c) a+ K! D& H8 M
  1071. ; Maximum number of persistent links.  -1 means no limit., S8 E* A7 |5 {& Y4 P. ~8 u! Y
  1072. ; http://php.net/odbc.max-persistent
    : X3 V- k  Q( U1 R6 A
  1073. odbc.max_persistent = -1
    ( p( ]' d1 c; }# `1 P
  1074. 5 J5 ^6 y. C9 e
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      Q* z7 w5 w0 q) s3 I+ `( P
  1076. ; http://php.net/odbc.max-links
    0 B6 u- Q( F7 q: C) {
  1077. odbc.max_links = -1
    7 i  \- b; x) t

  1078. ) S  I  ^9 k& {2 r) M
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means3 z8 V8 [/ h! }! ?) V# o" N
  1080. ; passthru.
    ) p7 n% W8 P$ T+ S
  1081. ; http://php.net/odbc.defaultlrl
    8 R6 U0 ^7 U7 B; ^& t
  1082. odbc.defaultlrl = 4096
    0 ^- n8 ~; [" m' F
  1083. 9 O& A1 W' A7 p& g# m' A, P
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& X" g, z+ I7 D- g( |
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 x& Q) U  {% Q; R
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' \0 f. h, r" `! g5 M
  1087. ; http://php.net/odbc.defaultbinmode- j5 B( k7 l9 p/ {. b( |
  1088. odbc.defaultbinmode = 1' f9 Q, u6 @$ K7 w" b% W
  1089. ; m' s+ ^6 O  Y+ p. n
  1090. ;birdstep.max_links = -16 A' A* Q9 H7 y& r9 O7 \; V( q

  1091. ' t  o" e. J# d/ d3 Z
  1092. [Interbase]
    . R2 w4 n; N% W6 a( d
  1093. ; Allow or prevent persistent links.
    " m/ P& h4 s8 b, E/ y! q/ l
  1094. ibase.allow_persistent = 1
    6 x& S5 o, e# w0 q

  1095. 5 T  p; |6 s& {# U+ x& _4 o
  1096. ; Maximum number of persistent links.  -1 means no limit.
    9 C7 `/ M6 s9 u1 l
  1097. ibase.max_persistent = -1
    1 `% G8 h; [- A0 @7 p+ Y3 Y5 y

  1098. 4 t0 R6 k) G5 ], |% @# i4 V
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* C4 W( [, i$ j7 L/ u& k
  1100. ibase.max_links = -12 e& [$ [7 K# |/ f' [  s4 k7 B) h2 Z
  1101. 8 t, R+ e" n  f; N9 w
  1102. ; Default database name for ibase_connect().
    * h' X% C: ?) L$ d8 z6 G! f
  1103. ;ibase.default_db =
    * j+ Y) e% b) h8 j# f! b7 V5 T2 T

  1104. 3 D2 w& c* M4 Y* E9 \* e
  1105. ; Default username for ibase_connect().
    ) `7 @0 Q- q! H' a- z$ @+ I
  1106. ;ibase.default_user =
    ! i& m, Z( `- ?" {& Y7 Z5 f

  1107. + Q( j: k! d7 b5 |4 _; }
  1108. ; Default password for ibase_connect().
    " U: o/ ^5 p& Y7 x
  1109. ;ibase.default_password =7 ^6 Q3 p' l6 S& \

  1110. : k& ?8 j$ K2 A% y9 U9 ]
  1111. ; Default charset for ibase_connect().
    ) }) d& E5 D" N+ \
  1112. ;ibase.default_charset =4 z* ?" |3 E/ a# r7 ]2 M, C
  1113. & t% K0 x5 C  I/ A
  1114. ; Default timestamp format.
    4 O& w( H' s- B5 e
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"8 P, q) k6 q& ?  g  w
  1116. ) O! c3 k3 x% m: ^0 {& \5 F% F
  1117. ; Default date format.0 |1 s, u/ G. ~5 e# H5 g
  1118. ibase.dateformat = "%Y-%m-%d"
    ' G! ]' m4 g8 Z6 q- `
  1119. 9 m* H. E' I" V
  1120. ; Default time format.
    + X# W0 s+ p# v' n
  1121. ibase.timeformat = "%H:%M:%S"+ O" l5 Q# d. d1 \. f2 f1 N
  1122. * |4 q% s' _/ u6 o* Y1 N
  1123. [MySQLi]: I  C" i3 V1 w9 y

  1124.   h; ?/ c& x/ A$ V+ b* s9 i
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ! ]" ~2 c# A+ H) o5 x
  1126. ; http://php.net/mysqli.max-persistent6 F4 T/ v: S" c3 c( J& D. [$ g
  1127. mysqli.max_persistent = -1
    # O, W6 I# Y! F

  1128. 4 h( U2 a8 B0 S8 }& F7 D
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  B: c  N7 V4 m2 d: r8 W* T
  1130. ; http://php.net/mysqli.allow_local_infile- G# @3 ~; T+ i# x7 w, V9 ^  @
  1131. ;mysqli.allow_local_infile = On
    & J  ~3 Y+ y9 L. {0 U( S
  1132. & {4 ]% v; X0 c* x& Z. n
  1133. ; Allow or prevent persistent links.
    ' f6 p4 i. x3 D9 r) }
  1134. ; http://php.net/mysqli.allow-persistent
    9 }, A. v8 `1 r' p2 x5 x# v5 [
  1135. mysqli.allow_persistent = On
    * S; f* b9 {, [2 N0 i, @
  1136. + }% m3 _0 b: D; W& c+ _  R. P4 Z! k9 X
  1137. ; Maximum number of links.  -1 means no limit.# @# y8 B1 y# {! W
  1138. ; http://php.net/mysqli.max-links9 ^; _- C' e* l1 d/ h1 m! Q! V
  1139. mysqli.max_links = -1
    - E- |& O" n8 ^9 ^4 L/ a+ ~+ W

  1140.   F8 q/ }6 ^$ g9 T; \
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache# ?4 o0 @. j% I
  1142. ; http://php.net/mysqli.cache_size
    2 B- d4 l9 k" M8 S
  1143. mysqli.cache_size = 2000
    : V( A% ?% n5 Y: m2 R2 R& R

  1144. " R6 n( t5 z: J# B0 s
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 S/ J4 O# l9 [
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; V  F8 F' }$ ?8 i- o
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 y0 {) E0 F! ~  k+ x
  1148. ; at MYSQL_PORT.5 y9 b$ W& F  F; X9 l. e" n8 A3 n
  1149. ; http://php.net/mysqli.default-port- @7 J4 D/ K" Q+ Q+ [( V% I
  1150. mysqli.default_port = 3306
    ; Z9 Q9 n6 Q" v# p/ i
  1151. & ?' L6 V! J5 J7 P: ~) l* ^+ J
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 ]1 @$ m- P  |$ t. m# @
  1153. ; MySQL defaults.
    * q" ~/ c2 M% C! f0 D% m
  1154. ; http://php.net/mysqli.default-socket  Q) l1 M; g1 K7 U1 f4 J
  1155. mysqli.default_socket =
    9 k+ g4 L5 {& R/ ]+ ]' b/ y0 s( \% @2 ]

  1156. $ o6 n0 A9 k; X# w1 M) n
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).8 o# w: V5 ^9 n. G' E! V! e
  1158. ; http://php.net/mysqli.default-host; p7 r- B! d4 D* q. l
  1159. mysqli.default_host =
    $ @  Q- v* u& F2 V, i
  1160. 5 H1 ^5 T/ W5 t
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " o* U7 F' c) m8 u  e
  1162. ; http://php.net/mysqli.default-user" O# d- N9 |" [. |; |5 y
  1163. mysqli.default_user =
    ( y0 ~/ c( _/ a1 }, j( O

  1164. $ h7 _) A& F; M3 O
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).( f$ s, q7 ?; `& t9 j
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    4 ?, `! w* s  T
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    . t3 d' W* m6 @$ k- \- V8 D
  1168. ; and reveal this password!  And of course, any users with read access to this: A0 W2 Q) x' O5 x4 Z! u5 Y
  1169. ; file will be able to reveal the password as well.8 {; j) Y9 d0 ]
  1170. ; http://php.net/mysqli.default-pw
    1 D3 }3 o9 d( L/ L7 f
  1171. mysqli.default_pw =& j1 E# K5 a* W7 o; ]6 P4 Y5 y

  1172. 9 k  C- W7 N4 V+ Y
  1173. ; Allow or prevent reconnect5 Z- S8 d2 {5 t6 S8 |2 W! C- p- }
  1174. mysqli.reconnect = Off
    1 D0 c1 @( ^# k. i* p
  1175. 4 }3 W4 j% w# a1 S* R% B9 u
  1176. [mysqlnd]
    ! [( b' c5 ~0 X4 y7 X7 ^
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be: Y& K! M- a- U! X% \: i! L$ v
  1178. ; used to tune and monitor MySQL operations.. D, K; i4 ?5 Z
  1179. ; http://php.net/mysqlnd.collect_statistics" ~4 ]( L7 _" d/ w$ T; s+ m
  1180. mysqlnd.collect_statistics = On
    " i, ], n' O1 m& T6 N! }: ^) v
  1181. + g# S9 x) q8 V* n* K1 r3 [
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be* K  F. Z: l) K; _2 w" S
  1183. ; used to tune and monitor MySQL operations.
    : Z; D1 m3 q2 r' f1 D( V7 ?( r1 \
  1184. ; http://php.net/mysqlnd.collect_memory_statistics0 W& p4 c/ ?; X; v! p& ~5 y) C
  1185. mysqlnd.collect_memory_statistics = Off
    5 Q9 K4 g% A5 G; [
  1186. ; s/ `: c( B" e4 T4 Z* x! C
  1187. ; Records communication from all extensions using mysqlnd to the specified log
      p: h" O' j1 Q2 I, @
  1188. ; file.8 J; u2 u: G3 d! W
  1189. ; http://php.net/mysqlnd.debug% V, B7 c2 R% P! v5 V* s$ c0 U( W
  1190. ;mysqlnd.debug =
    6 y( y, {5 o4 f. R8 {6 C5 h5 q
  1191. . T  v! h2 G2 r3 B" ]
  1192. ; Defines which queries will be logged.( J4 a$ G1 j/ S
  1193. ; http://php.net/mysqlnd.log_mask
    2 x- v9 M# f* f  K! W
  1194. ;mysqlnd.log_mask = 0$ U" P$ |+ f  G% N. a7 E
  1195. 5 G1 n8 b; _7 S5 V) p7 b1 S, e
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.8 C" d. o: R0 ?5 B# |0 p/ X
  1197. ; http://php.net/mysqlnd.mempool_default_size  g& W5 N  p8 Q8 l  ^+ X
  1198. ;mysqlnd.mempool_default_size = 16000% _& ?* m0 p( D( F

  1199. 2 x( u2 B* O1 u% m+ W6 g
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.+ {1 y( e! f2 v6 x2 @  V$ v9 a
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    / x1 w5 Q/ ]/ X* L) e- D: f" b
  1202. ;mysqlnd.net_cmd_buffer_size = 20481 Z  }( W3 G& q/ f8 O$ Y

  1203. 7 E2 K" S- x4 [1 H/ ?# h( s
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . W, h2 c( {- y& J  h7 \8 m/ L
  1205. ; bytes.& w* L; `2 `" u0 l
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    , r* E+ n5 ?- t& K: B, b# ^. o% ~
  1207. ;mysqlnd.net_read_buffer_size = 32768: q+ a" L, f% }8 |8 ~# U7 }& P/ F
  1208. 2 u. u4 B# g- b8 C" |; j" o
  1209. ; Timeout for network requests in seconds.+ N. G6 C9 |3 A2 y! ~, d" K
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ' I4 @1 A1 W: N" m8 \% ?) D- s
  1211. ;mysqlnd.net_read_timeout = 31536000; B5 b! c, @3 b. _! a
  1212. / R  L( X# [0 X4 {
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA- f$ h  U9 f% J7 H/ K3 s
  1214. ; key.0 m2 A- O# _! f7 N& r4 `7 _
  1215. ; http://php.net/mysqlnd.sha256_server_public_key; K3 s4 `& d$ G" U, @$ l. |
  1216. ;mysqlnd.sha256_server_public_key =
    7 W! V9 U3 N/ d; c
  1217. ! k. V2 p8 Y1 e+ @1 k. x
  1218. [OCI8]
    . A) E9 q! b5 m+ e5 A
  1219. 7 }6 _; x) g" M4 U1 @" z+ l
  1220. ; Connection: Enables privileged connections using external- a4 P6 F: D' ?5 U! p/ x
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( {$ }. c* @  J6 }6 u
  1222. ; http://php.net/oci8.privileged-connect) t, f: D; o: |% y8 q
  1223. ;oci8.privileged_connect = Off
    % |* ~3 w& ~% ~5 A

  1224. ; U1 N& m9 l: k
  1225. ; Connection: The maximum number of persistent OCI8 connections per/ d/ K; Z' ]( F. u& y/ w
  1226. ; process. Using -1 means no limit.5 L# @$ e% y  x
  1227. ; http://php.net/oci8.max-persistent+ g2 N4 k( [  J. G
  1228. ;oci8.max_persistent = -1" ~* e- H( j. G4 x& E
  1229. - n: a( L% B7 m- V7 x
  1230. ; Connection: The maximum number of seconds a process is allowed to
    2 p; v1 v" }! z
  1231. ; maintain an idle persistent connection. Using -1 means idle
    $ f3 `6 Y4 R! ]
  1232. ; persistent connections will be maintained forever.
    9 U& e( ?- n" n- G1 O- z/ H
  1233. ; http://php.net/oci8.persistent-timeout& M$ k! |; N2 \: V+ d
  1234. ;oci8.persistent_timeout = -1
    ) l! _* o1 f+ L9 y+ x8 u; C

  1235. 7 d) ?: M  z' p" }9 T& F
  1236. ; Connection: The number of seconds that must pass before issuing a" Z$ m3 W% C9 I: P& |; x
  1237. ; ping during oci_pconnect() to check the connection validity. When" l2 s, ^" [" f5 z/ `7 N% ~
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 J6 `* l5 {$ L3 n; o- [* X$ W
  1239. ; pings completely.
    / a/ ~& a1 X% |& W
  1240. ; http://php.net/oci8.ping-interval2 S: ^5 s' ?7 u* `# X6 f
  1241. ;oci8.ping_interval = 60/ W: _& s6 `4 i6 h+ k5 O  N
  1242. % b! h" h6 s) D
  1243. ; Connection: Set this to a user chosen connection class to be used
    ' v8 P( l. k9 h1 i$ U
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    1 X' W# Q& _) F! T8 [
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    6 ^" w! u, w" D% I( a
  1246. ; the same string for all web servers running the same application,
    6 f5 |+ a7 v% N7 l; X
  1247. ; the database pool must be configured, and the connection string must
    9 P% K/ |( H3 _- o' D7 g' Z& p7 O
  1248. ; specify to use a pooled server.
    3 M' _. m) ^/ e9 n! X
  1249. ;oci8.connection_class =7 v0 X9 \# ]/ c1 Z( i, T
  1250. ' n& ~) ?4 d) A* e6 V( l$ o
  1251. ; High Availability: Using On lets PHP receive Fast Application5 U% [& `% E9 N( U
  1252. ; Notification (FAN) events generated when a database node fails. The) {1 t( [$ A# Y+ u% S9 O
  1253. ; database must also be configured to post FAN events.
    % d7 u2 c; B: G  z9 ]
  1254. ;oci8.events = Off
    & I8 N; L5 N0 @9 d
  1255. 7 e) |. a% Z, f
  1256. ; Tuning: This option enables statement caching, and specifies how. o, E4 c3 [1 W+ q
  1257. ; many statements to cache. Using 0 disables statement caching.3 s& i$ [% g3 D1 |, Q
  1258. ; http://php.net/oci8.statement-cache-size
    6 q0 H3 ~( T4 V, L- R0 n" q
  1259. ;oci8.statement_cache_size = 20% l+ K2 j' v1 _! \/ U

  1260. 3 }, W, j9 [$ Z
  1261. ; Tuning: Enables statement prefetching and sets the default number of
      `3 Z5 K# T" r8 T# k7 c5 p
  1262. ; rows that will be fetched automatically after statement execution.: U- n# E' n) ?$ u. a$ y
  1263. ; http://php.net/oci8.default-prefetch
    ) U, S% X; d) I" u* l
  1264. ;oci8.default_prefetch = 1002 y( d. k. Q( \$ d3 V1 z# T

  1265. 1 L4 g) i8 W& p4 `2 r. }
  1266. ; Compatibility. Using On means oci_close() will not close
    ( B4 Z  C9 c& c7 g4 }; K
  1267. ; oci_connect() and oci_new_connect() connections.
    / y9 P* J3 V) p2 Y4 T) y: o
  1268. ; http://php.net/oci8.old-oci-close-semantics
    + B+ r  P; }: x2 i$ }9 i) Q! {
  1269. ;oci8.old_oci_close_semantics = Off
    $ ?7 y, q( j  U2 Z7 }
  1270. ) D  d' o) Z$ E0 s/ E+ t
  1271. [PostgreSQL]  F* D1 p4 f$ A5 Z
  1272. ; Allow or prevent persistent links./ Q5 J5 }8 P& T7 `( F+ V! p; x
  1273. ; http://php.net/pgsql.allow-persistent4 l$ v9 s+ _5 f1 W7 s
  1274. pgsql.allow_persistent = On
    ) L; F, l, ], H- v( Q' O9 Q
  1275. ) c% y4 h5 T- S+ L6 w6 y! U* T
  1276. ; Detect broken persistent links always with pg_pconnect().
    / g2 }! @  V7 T; f
  1277. ; Auto reset feature requires a little overheads.
    - r+ ~3 V3 ~6 e0 O, A
  1278. ; http://php.net/pgsql.auto-reset-persistent$ k( Y; ^9 O/ T0 a: N
  1279. pgsql.auto_reset_persistent = Off
    5 D7 n1 @9 C0 B6 q' M( C" Q7 T

  1280. - d2 V$ k- V! C) u6 N
  1281. ; Maximum number of persistent links.  -1 means no limit.2 I& O1 T  l6 I5 ?0 y
  1282. ; http://php.net/pgsql.max-persistent, x* }7 v9 c8 F% U& ?  l
  1283. pgsql.max_persistent = -19 m0 L+ p7 d! J4 D/ {$ a6 l

  1284. 9 f& c, }5 c6 ]
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& r6 k9 B+ }$ ?/ |# {! g4 e" \6 |
  1286. ; http://php.net/pgsql.max-links' k& T) c' x) h- q% ~- b) q% w
  1287. pgsql.max_links = -1
    , O' j) I8 y* |2 i4 R$ k

  1288. ' n+ x2 k) V9 O# ~0 ^# z
  1289. ; Ignore PostgreSQL backends Notice message or not.
    / G# \2 I. |; E/ Q# y
  1290. ; Notice message logging require a little overheads.
    : _4 p& d  c) ^4 [
  1291. ; http://php.net/pgsql.ignore-notice3 h5 S  Q9 w& j  R) N) |
  1292. pgsql.ignore_notice = 02 D2 d4 Q% ~/ l

  1293. " W/ s# f8 v. C/ V9 w' b
  1294. ; Log PostgreSQL backends Notice message or not.
    " S6 A+ R0 n- |
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 G4 J  [, A3 J& P* P1 o' Y. V
  1296. ; http://php.net/pgsql.log-notice
    - h5 j, h% I* f1 I) ^5 J
  1297. pgsql.log_notice = 0
    5 C- ^2 l3 w  \' G& _$ h. F5 B

  1298. 2 m1 j! o7 z2 R  t
  1299. [bcmath]
    3 \5 _  D  |( y
  1300. ; Number of decimal digits for all bcmath functions.
    0 G5 L! G# u6 c
  1301. ; http://php.net/bcmath.scale5 [* b) E% \! j7 n0 }$ i. s
  1302. bcmath.scale = 0( o. h7 T$ n; x& w

  1303. 1 d" A  ?* t: Z9 @/ I  m  _
  1304. [browscap]  @6 d# A; j3 ^" J3 b+ f9 A
  1305. ; http://php.net/browscap
    - q( v( N7 s; g" v0 a" {
  1306. ;browscap = extra/browscap.ini
      l& `, T) F, E8 t
  1307. ( v+ H2 i3 S2 V
  1308. [Session]
    $ C" l# }  V) p
  1309. ; Handler used to store/retrieve data.
    " R( ^, {# d3 a
  1310. ; http://php.net/session.save-handler
    . M+ D9 S; I  N& S  [
  1311. session.save_handler = files) G$ A( B7 l! a# r

  1312. - j* m8 o7 Z; T3 ~( z: l% u# M
  1313. ; Argument passed to save_handler.  In the case of files, this is the path) W% @. V3 z( t& ^* C
  1314. ; where data files are stored. Note: Windows users have to change this% U( s, P4 G. D# k& R! @8 k4 S& D
  1315. ; variable in order to use PHP's session functions.
    , i1 ^' y' F% E: G: C  R+ w6 N
  1316. ;4 y* T, C7 B- E( m. J6 T
  1317. ; The path can be defined as:
    ! N  F- S5 J8 h" Q" |6 \$ [, ?$ r
  1318. ;
    $ o" w5 S& M) T
  1319. ;     session.save_path = "N;/path"
    % b+ U& h) ]3 F
  1320. ;
    % F- f# l# W; r8 H0 Z
  1321. ; where N is an integer.  Instead of storing all the session files in1 H$ O. h( w* q' E7 u+ F& h
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    - U; Y0 {/ E7 x7 K7 d* h! ?
  1323. ; store the session data in those directories.  This is useful if4 \" n/ i- y* y- J2 J' o
  1324. ; your OS has problems with many files in one directory, and is
    3 a8 o( b& x, F" M. W, w
  1325. ; a more efficient layout for servers that handle many sessions.0 s! D0 t. X/ }, E; D* _8 O
  1326. ;
    $ u5 G5 t5 `  t# e! v4 b$ v
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ( `4 w8 Y# Y; u$ b
  1328. ;         You can use the script in the ext/session dir for that purpose./ P( K+ S& I3 j3 w1 j; G! a8 U
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    3 q+ v7 z6 Q. P+ `
  1330. ;         use subdirectories for session storage% E2 Z; w0 l) J' L8 ^3 n/ M# b( u
  1331. ;
    ' n6 C) {" o% V0 @3 T
  1332. ; The file storage module creates files using mode 600 by default.
    ' E: D5 {/ ]  n' C& i8 t1 x3 L
  1333. ; You can change that by using/ @# H. R5 L! ?0 X+ h/ E
  1334. ;# @* z/ v% R* T
  1335. ;     session.save_path = "N;MODE;/path"7 Z( o" N: [$ h  Y
  1336. ;
    / u: G  k0 t% k7 W
  1337. ; where MODE is the octal representation of the mode. Note that this
    , h7 g( N  Z$ K
  1338. ; does not overwrite the process's umask.
    & @5 X, Y9 s& m$ G" b/ a2 r: p) @3 b
  1339. ; http://php.net/session.save-path( c0 `6 d1 W# y+ }5 g. x
  1340. ;session.save_path = "/tmp"0 h/ l6 g0 ^: ?4 ^& I* w& [; u
  1341. ) v# _( b4 X1 Y" d( f7 {, W) @( K7 b% U
  1342. ; Whether to use strict session mode.3 P' h2 t  r8 |0 s
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate1 b& c4 |! A- Y+ i" a$ g
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects, b3 A' n6 B- _+ S0 C
  1345. ; applications from session fixation via session adoption vulnerability. It is
    8 k2 t' X3 y9 a  |" Q4 `
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    % f9 w3 A9 b2 M, B9 E
  1347. ; https://wiki.php.net/rfc/strict_sessions6 P8 D1 n, S' w1 @# M4 ]9 }
  1348. session.use_strict_mode = 0
    . x5 s' i% d* W7 Y& q0 n
  1349. 8 a1 d: q3 g6 w  y: v
  1350. ; Whether to use cookies.; b- [2 ^& f# w" {; Z! c
  1351. ; http://php.net/session.use-cookies* u) Z/ M) F! Z% L+ E
  1352. session.use_cookies = 1) I  Z- E' v5 C' l
  1353. " g: f! m. k: A6 k6 O! G
  1354. ; http://php.net/session.cookie-secure/ i6 i5 g4 O7 z
  1355. ;session.cookie_secure =- C; k+ e8 s7 ]$ Y( L7 O# ?
  1356.   B' F8 H4 z7 w7 J" X; u; C
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    4 n. t/ q; L' T9 D) o+ Q. c* m4 g
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ' a' F4 D6 m" H; W. p
  1359. ; session hijacking when not specifying and managing your own session id. It is+ M! k1 ^. G0 u
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 H6 J5 ]# y) v- l) \/ [
  1361. ; http://php.net/session.use-only-cookies9 d- W' p" `0 e) v
  1362. session.use_only_cookies = 1: ]# _7 K, H, |5 g5 G  P% _* }
  1363. / E) t' F8 L8 V! c3 V/ C/ v
  1364. ; Name of the session (used as cookie name).3 H" W5 @$ Z! |: [) d
  1365. ; http://php.net/session.name
    / D- Z! o4 n. P
  1366. session.name = PHPSESSID
    ( e7 Y8 ~4 p% _9 C: _: h; _
  1367. ) ?& q: l0 n& {# F8 h5 a- [
  1368. ; Initialize session on request startup.$ M' ~- ?: Q- h& y+ n  Z8 I
  1369. ; http://php.net/session.auto-start+ F7 o+ q8 f) S0 l8 y8 y
  1370. session.auto_start = 0
    + D& W! T8 j/ Z7 b
  1371. 5 N& T4 C" j4 q$ [$ d. q( n+ w
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    . j" q  h, t! I- C# x$ g8 @
  1373. ; http://php.net/session.cookie-lifetime
    2 w: A+ v7 G, x
  1374. session.cookie_lifetime = 0
    $ I2 ^) a7 F, e" v' }7 @; Q+ u
  1375. 8 E& ?: M1 M, c, r% M/ }2 r+ \- |9 e+ m" p
  1376. ; The path for which the cookie is valid.2 t  z: ]* i6 `+ x+ p/ Q! }
  1377. ; http://php.net/session.cookie-path
    9 O$ w8 E$ ?, @( M
  1378. session.cookie_path = /& h5 {3 q, R5 V5 A
  1379. 8 |  Z8 T4 o8 y) U% n+ b; X% i+ G
  1380. ; The domain for which the cookie is valid.
    - B' x0 e5 |' N7 A4 H6 c) C
  1381. ; http://php.net/session.cookie-domain; M; ?+ W) l7 z
  1382. session.cookie_domain =, [$ v8 t3 v/ ], T+ ^

  1383. " b+ n. p3 u/ S7 H" m
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    3 L; o( b( W1 J
  1385. ; http://php.net/session.cookie-httponly$ p0 r/ K( r" |4 e4 g& Z2 T
  1386. session.cookie_httponly =2 x! T# ^" b0 V, _
  1387. ; T% U2 `1 t! _3 _2 L) E8 {
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.) W4 R7 k- Q5 o2 g- v  a
  1389. ; http://php.net/session.serialize-handler& d5 x4 W' P$ ^
  1390. session.serialize_handler = php
    : z$ c( k0 g2 R. |+ F% o, I% }
  1391. " v( y( d+ u3 p) u4 K) x
  1392. ; Defines the probability that the 'garbage collection' process is started4 Y4 U& j" K: |. ~' }
  1393. ; on every session initialization. The probability is calculated by using
    , M' e4 r' p/ t$ |! P6 T
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! a. l9 u4 ]* }
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1, a- _. g8 e% \: Z9 U( }# H- h( Q
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 ?/ B% W/ W. a- }2 u( }+ A- r# U
  1397. ; the gc will run on any give request.
    - ~$ |4 {$ ?; b8 g( W
  1398. ; Default Value: 1
    3 m8 `# o2 U/ F- Q- e. Y
  1399. ; Development Value: 1& m' i* W6 x7 n: y, o
  1400. ; Production Value: 1
    0 u6 T! T3 M4 z
  1401. ; http://php.net/session.gc-probability! E% Y8 Z- M0 O7 _9 s" h/ s4 i4 F% W" t
  1402. session.gc_probability = 1' K: J( k6 {1 n+ F: R
  1403.   G0 W) w+ A% p4 a7 R2 g% I
  1404. ; Defines the probability that the 'garbage collection' process is started on every5 q& ?7 E8 t, ]1 g" C" F1 T) q
  1405. ; session initialization. The probability is calculated by using the following equation:
    . ]: Q' S/ j2 K  N' }+ Z# v; h
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 G! L7 ?4 x/ ^, T
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 \. p+ ?5 ?; _1 \: R8 W9 L
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 X# h0 Y. @9 {$ C$ L4 a& L4 b" t: P* z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / N% `; S- U8 j7 D  c
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,' j2 g, b  F5 m4 `3 S6 F; B: s* f
  1411. ; this is a more efficient approach.: ]5 o, e0 P$ Y6 X& O
  1412. ; Default Value: 1007 f( o8 n9 L) S
  1413. ; Development Value: 10008 `+ P7 ^" J' H3 f/ W; P$ {
  1414. ; Production Value: 1000) f( }9 U: j' A
  1415. ; http://php.net/session.gc-divisor5 ~2 K  v$ a/ r- x! Q7 i) t
  1416. session.gc_divisor = 1000
    / ]9 {% L2 g& Z. x! O0 `* c" k

  1417. & P& c' g, S& I% }/ Q8 q, ^; c
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    . |7 t( V$ P, @' Z6 A
  1419. ; cleaned up by the garbage collection process.* D! r; B+ p" i& z
  1420. ; http://php.net/session.gc-maxlifetime( u% d8 [% V, L
  1421. session.gc_maxlifetime = 1440: m/ |0 p' ]# R8 d* u* u

  1422. ' C# o$ B: ]& z: v
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    . L# X7 k& s$ W! r7 T
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ( g' L( x4 J) @! @
  1425. ;       happen automatically.  You will need to do your own garbage. v# i1 X4 H& u) W! P6 F: G
  1426. ;       collection through a shell script, cron entry, or some other method.
    2 W% B9 N2 D6 t
  1427. ;       For example, the following script would is the equivalent of
    4 b- X) W% Y4 L1 g
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    6 J" C! G1 I& h  m  Y$ k4 w. V4 A
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    4 b# _$ a: p" ~  `/ Q# R2 h* s- y
  1430. ) e/ D6 s9 |2 N+ [# a. j5 q
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 d# w- H2 m+ a
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ' h8 `' n, n6 g- @3 b
  1433. ; considered as valid.- x0 }3 b/ Z4 n. g
  1434. ; http://php.net/session.referer-check
    / |3 G3 c5 u2 C8 F) k
  1435. session.referer_check =
    # `+ _) I% O! z$ E5 c8 c
  1436. 4 q" I' _5 D5 p$ C, |5 {6 q1 h
  1437. ; How many bytes to read from the file.; @/ C7 G) Z6 U/ W: D& p! G0 p# \
  1438. ; http://php.net/session.entropy-length
    ! p. ^7 s) Y% {, H, r, d6 H
  1439. ;session.entropy_length = 32' z) S* R) ^+ R0 r
  1440. % j$ X3 n1 |/ k+ e0 ~6 j* O6 O
  1441. ; Specified here to create the session id.
    8 W* L" \9 E4 O. l
  1442. ; http://php.net/session.entropy-file* Q) I( v6 s& O) z/ ~! S' ^( y' s
  1443. ; Defaults to /dev/urandom
    2 O- l, }2 ~' Z9 m% F* \3 B
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom7 A. |: B& X0 J% G$ b' }2 B
  1445. ; If neither are found at compile time, the default is no entropy file.
    0 m8 j8 D& _$ T$ B
  1446. ; On windows, setting the entropy_length setting will activate the- U  G, n, V( S0 i- g5 s
  1447. ; Windows random source (using the CryptoAPI)2 s/ t, q0 N) {4 e$ U3 E; B
  1448. ;session.entropy_file = /dev/urandom$ y# k6 X' w% `2 c; h$ D

  1449. # f, K7 W2 J2 Z1 G
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects  f, r6 }6 A1 M, O% k, L' [0 I1 n( U
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 p5 \* s& @0 n$ z# q4 Y/ A
  1452. ; http://php.net/session.cache-limiter
    2 N2 \2 _3 Y- a
  1453. session.cache_limiter = nocache8 {# r4 b6 k8 ^8 r; \. Z+ s( x

  1454. 9 p& h- y1 j- K* g6 Z0 Q$ |
  1455. ; Document expires after n minutes." g1 X" f4 }) C
  1456. ; http://php.net/session.cache-expire
    3 i8 E7 b/ h& J5 P
  1457. session.cache_expire = 1804 ]& c, Y5 k5 a  Z0 }+ n! H1 q

  1458. # ~0 ]9 v. ]( J' z7 E, i
  1459. ; trans sid support is disabled by default.  v5 ?& ^" ^* p$ E
  1460. ; Use of trans sid may risk your users' security.
    , _6 F* I$ N6 E
  1461. ; Use this option with caution.6 R; `) P0 f, h! B
  1462. ; - User may send URL contains active session ID( l; ~. f" L* D
  1463. ;   to other person via. email/irc/etc.
    2 M5 w' |* s, E) |
  1464. ; - URL that contains active session ID may be stored1 W# M3 R  D" H5 a" o
  1465. ;   in publicly accessible computer.
      }4 Z+ t8 K) `) k( I
  1466. ; - User may access your site with the same session ID
    , D/ `; L' l: x
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 R3 h+ H4 v4 f9 D5 J
  1468. ; http://php.net/session.use-trans-sid" O0 l% {' e- B: C
  1469. session.use_trans_sid = 0
    , s9 N( U5 {# r. d* |
  1470. ( n# Z0 I% @/ Y- a- G  e- \
  1471. ; Select a hash function for use in generating session ids.
    & E, T% w5 U$ ]  d- v; u
  1472. ; Possible Values; Q) `0 l9 W  `9 [1 V: `" b: x
  1473. ;   0  (MD5 128 bits)* P5 G0 F) }: P, m$ L* r' Q2 Q. Y
  1474. ;   1  (SHA-1 160 bits)0 J) o0 v, p  s
  1475. ; This option may also be set to the name of any hash function supported by
    & p" @, h" u$ e0 C( g' Q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    , w& ?7 A8 M$ |/ V) A5 i; f; R  v
  1477. ; function.
    ! p+ i4 N9 x: B
  1478. ; http://php.net/session.hash-function$ |; b. `2 p3 F, j% Y
  1479. session.hash_function = 0
    8 m( _/ F/ l; b* f2 g
  1480. * J3 X# y1 n. _# R; q$ a3 ]
  1481. ; Define how many bits are stored in each character when converting
    $ t: l  [- p" a1 w, o9 t4 N
  1482. ; the binary hash data to something readable.
    3 T  B- E  b) o
  1483. ; Possible values:- m2 y/ B/ f& _, K3 D' b
  1484. ;   4  (4 bits: 0-9, a-f)1 E+ W. B& W* Z1 x5 C
  1485. ;   5  (5 bits: 0-9, a-v)
    ) D( {9 G: N' r# M
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")0 R9 C1 R/ f# P
  1487. ; Default Value: 4% ]3 |! W! m/ ]
  1488. ; Development Value: 5" P! B4 _4 r3 ?  X4 N  d$ _" B8 p
  1489. ; Production Value: 5
    5 i' e6 ]! ?4 B7 N: M
  1490. ; http://php.net/session.hash-bits-per-character) m+ |2 s) s: w, \
  1491. session.hash_bits_per_character = 5
    9 R+ u0 l+ T% ~$ Z( X. F% H

  1492. ( ~1 z3 ?1 b$ Q
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    4 N- G! s$ z: i* L4 ^/ H
  1494. ; form/fieldset are special; if you include them here, the rewriter will: [2 M" z% G; @5 I6 W& @1 _
  1495. ; add a hidden <input> field with the info which is otherwise appended6 D( K* H$ ^# Z& v# L% X
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.7 l& ?( G6 [+ y0 }+ [- @/ E. D, [
  1497. ; Note that all valid entries require a "=", even if no value follows.. x! w# P3 ~) d; e: `
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' L( j5 v/ Z" Q( g! M
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      }+ R& ?1 `" r& K$ [3 v
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ w% E+ Z7 U# b6 ]
  1501. ; http://php.net/url-rewriter.tags! L; P$ B7 C6 w( X9 ^
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 b1 ?3 a( _  }0 ], d: I

  1503. 5 x! ~$ K7 J; A; z( I0 p: V3 e
  1504. ; Enable upload progress tracking in $_SESSION
    7 w$ p8 U1 q/ a# U
  1505. ; Default Value: On
    6 h1 x& R* g( b3 C- ^" d/ E
  1506. ; Development Value: On. Y9 ^1 j! k+ W6 E' S: O0 K
  1507. ; Production Value: On3 @- [, S& r4 f. g" q
  1508. ; http://php.net/session.upload-progress.enabled; g+ B% p9 l2 T( p5 Q/ U
  1509. ;session.upload_progress.enabled = On& ?' @& ~$ O3 M+ m8 y' _

  1510. ) D+ T6 @% e0 J* l
  1511. ; Cleanup the progress information as soon as all POST data has been read
    7 v3 A( p, h7 }4 U1 ^
  1512. ; (i.e. upload completed).: Z" x9 l/ t, F# L$ s) `
  1513. ; Default Value: On
    : n4 x6 i  R2 Q0 u
  1514. ; Development Value: On2 N1 k% W& `  o
  1515. ; Production Value: On
    % Y8 \$ i2 I6 p3 A7 @# r& H# B
  1516. ; http://php.net/session.upload-progress.cleanup
    6 f( S; ~! ~! y. I7 F9 ]# m' {
  1517. ;session.upload_progress.cleanup = On- ]+ y, m; j# g$ k9 {2 r
  1518. % r& F" O0 f, [& U
  1519. ; A prefix used for the upload progress key in $_SESSION. g7 v2 L4 m9 S* ~* O1 {7 o' v# n
  1520. ; Default Value: "upload_progress_"
    ' Y  w8 H2 d; J- ^3 c5 F7 p
  1521. ; Development Value: "upload_progress_"
    6 k8 C* ]1 \, S, ~1 `: ?3 Q
  1522. ; Production Value: "upload_progress_"
    , ]/ R! `5 B: R
  1523. ; http://php.net/session.upload-progress.prefix. A8 M# w6 V0 E0 z) S0 ]$ ~
  1524. ;session.upload_progress.prefix = "upload_progress_"7 d7 p9 b  G; f

  1525. # X: M5 S9 W1 ?* [* ?* G% K
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ' ^2 [. J5 w! W
  1527. ; containing the upload progress information
    % d6 }6 @: ]$ t# i3 |
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"$ j1 b7 a" e4 b# W4 p  _: e' T
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"* g+ a2 J; Y5 B' K. L9 S8 D
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 |# P1 Z6 T/ T5 b6 Y/ H
  1531. ; http://php.net/session.upload-progress.name( v  P+ a- f0 M6 u' H: x
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS", X, Z/ Z  L  ~% ^9 m; F2 o& p
  1533. ) Y3 C7 c8 `3 ~/ ?3 @
  1534. ; How frequently the upload progress should be updated.
    ! |  j' }- y& S1 }% ]$ B9 h
  1535. ; Given either in percentages (per-file), or in bytes8 p5 p' d* a: B. w. i1 Z% w
  1536. ; Default Value: "1%"8 r! ]1 E6 _2 W+ @9 j8 l* ?  {3 T8 Y
  1537. ; Development Value: "1%"1 S! V: w  g" Q3 L
  1538. ; Production Value: "1%"
    - o( {( J$ A+ P% B1 y6 j8 @
  1539. ; http://php.net/session.upload-progress.freq+ o8 _- U4 k0 x8 Y
  1540. ;session.upload_progress.freq =  "1%"
    6 A0 I! @) N# ~* @9 p9 Q% X3 w

  1541. ! ]* }5 F+ ~( T* I3 K3 R
  1542. ; The minimum delay between updates, in seconds
    + M1 s) n% J% A* v+ o
  1543. ; Default Value: 1
    ( u) Z, m3 U( Z: ^/ I
  1544. ; Development Value: 1
    " [+ p. ^% n( z4 f: I
  1545. ; Production Value: 1/ H1 a$ k) a7 e7 Y9 V- X9 s' g
  1546. ; http://php.net/session.upload-progress.min-freq
    . v( J- @; }, E4 T. r8 \
  1547. ;session.upload_progress.min_freq = "1"! @5 G3 E* W( a" u! q3 {& D1 y

  1548. 1 A9 _! O# Z! \1 |
  1549. ; Only write session data when session data is changed. Enabled by default.' t9 R# y3 n5 K9 e6 v) ^' o, W0 ?
  1550. ; http://php.net/session.lazy-write" T0 ~& b; ^: R+ p) ^
  1551. ;session.lazy_write = On+ g: Z* x  R/ E' N6 P! T( D  n
  1552. / b, u. [+ ?0 [: F' r% z- T4 {% G1 G
  1553. [Assertion]6 B) v; V  z9 k
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    % {0 C: d; \0 f  V- U
  1555. ; -1: Do not compile at all
    - Y! s0 _% a+ G; L' k
  1556. ;  0: Jump over assertion at run-time1 t& A3 p; v& M* ?
  1557. ;  1: Execute assertions
    " b  P2 I0 }. w5 P% W4 e3 y
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    - o* Q0 G/ B; Q
  1559. ; Default Value: 16 d; {* m; O& J+ g' {) {3 Q" ]
  1560. ; Development Value: 1
    1 A2 ?7 T; z+ w' Y
  1561. ; Production Value: -15 h0 N5 q; A8 o; Z8 |
  1562. ; http://php.net/zend.assertions; g2 J+ T* I  |2 S3 i1 L
  1563. zend.assertions = -1: O; p( t7 b, `. @/ K+ O% V$ T3 {% a
  1564. / G/ x+ w4 K; W, m% _" D
  1565. ; Assert(expr); active by default.' w' B  ^5 v$ D) x" {1 @8 S/ i2 U
  1566. ; http://php.net/assert.active
    - ~" ~: R1 S% z
  1567. ;assert.active = On
    5 m) F) _  ~# N9 \
  1568. / A' J+ v4 M7 S+ Z, L
  1569. ; Throw an AssertationException on failed assertions( X$ i$ X4 x% p; J6 Q' `. Y) c
  1570. ; http://php.net/assert.exception0 R6 R- D" e( t& h
  1571. ;assert.exception = On: e$ L, m# ~0 h7 l
  1572. ' {0 W* l$ Y9 r/ n& o& l
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    / l5 }2 s5 B+ K/ s
  1574. ; http://php.net/assert.warning$ i8 S3 K. s( t8 T! m8 f
  1575. ;assert.warning = On* Q9 |; F+ V0 C
  1576. 3 F1 w; b; \" l# ^. y
  1577. ; Don't bail out by default.0 J; C! h3 m/ l' `
  1578. ; http://php.net/assert.bail: {9 n% i, ^( f% q
  1579. ;assert.bail = Off
    ) o4 M7 n- M$ W4 z" W

  1580. $ x4 f3 |# x9 s
  1581. ; User-function to be called if an assertion fails.! ^- z4 b% m/ N# @, ?/ c
  1582. ; http://php.net/assert.callback, G% r) Z3 t8 r! M' p+ p
  1583. ;assert.callback = 0
    6 f2 z8 b  W! d  ]7 ]1 D5 q" O. N* G

  1584. , t% w4 d# t3 _& S9 D% F
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    " e- |7 n5 k9 y6 e
  1586. ; error_reporting(0) around the eval().6 U, Q; k* b. m  R  F
  1587. ; http://php.net/assert.quiet-eval
    ' u. G# i: u5 F1 D# }
  1588. ;assert.quiet_eval = 0
      F* ]  ]" u# |; A- }

  1589. . K1 W5 f# l! Z2 j9 F' h+ d
  1590. [COM]
    ; u7 y  @+ B' C5 M4 F- O" J5 y- _
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; ~( c1 Q% o& g2 D9 R) w+ m  i
  1592. ; http://php.net/com.typelib-file
    0 s* ~: f6 E, s* \7 T0 `0 x% b
  1593. ;com.typelib_file =6 v  f1 y, x  R
  1594. . z+ D, ?: n2 b' p9 H, W% Q
  1595. ; allow Distributed-COM calls
    & g# J: S- N8 f" ]0 c
  1596. ; http://php.net/com.allow-dcom) F, m  I; c5 g$ j; U
  1597. ;com.allow_dcom = true
    1 O( x0 Q) D' a4 a& a" [- W" u" r

  1598. - ^! R. B# k8 n' W: l1 S: g2 W* X9 {
  1599. ; autoregister constants of a components typlib on com_load()/ Q# ^/ a  q# S
  1600. ; http://php.net/com.autoregister-typelib/ {/ u) L/ l1 V: h2 ~
  1601. ;com.autoregister_typelib = true  Y+ i; r, K" ?+ N# P
  1602. : D/ }0 N' B5 M  Z2 ]5 N
  1603. ; register constants casesensitive
    % ?% x" k# `2 v5 a/ E* ]
  1604. ; http://php.net/com.autoregister-casesensitive
    ' x/ H2 Q9 `+ N* D8 }# q6 N8 j- S- n
  1605. ;com.autoregister_casesensitive = false
    ; x. I. e. D' {

  1606. ) q. c# d8 r* o2 T9 A
  1607. ; show warnings on duplicate constant registrations
    % Y* [- G! o; b( s+ d
  1608. ; http://php.net/com.autoregister-verbose
    ' Q% b/ v4 J" @4 c! R$ R7 s5 K
  1609. ;com.autoregister_verbose = true' K$ M8 Z7 _$ M% D" E# \

  1610.   |* H' z4 G0 g9 b- Q
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    9 R/ P" O) \. W$ B" K( J. x
  1612. ; Default: system ANSI code page
    ! y$ z! V6 L- V+ K4 U/ X4 r4 ^& I
  1613. ;com.code_page=! \) H2 P8 y' x# U" T: g$ J3 b; x

  1614. " _% {% O6 v4 m3 s
  1615. [mbstring]
    ) b7 B" N1 u2 ?0 V/ r, }, A# z
  1616. ; language for internal character representation.+ i$ Q# _2 r( s  c
  1617. ; This affects mb_send_mail() and mbstring.detect_order.) x  S/ y4 M$ m) ^) m" Z
  1618. ; http://php.net/mbstring.language4 i4 w" L' _$ `( d: m5 M" L7 T2 C
  1619. ;mbstring.language = Japanese8 _' s; j/ j( v1 X9 i* O% R! P
  1620. ! r* Z/ m' }" T% e" e
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.  u! _$ s# v+ o& N: x% N
  1622. ; internal/script encoding.4 Y' [; g1 M4 |; R. z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    % c8 e0 x0 C) O' X% ?# l
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 _2 h" o3 ~# Z( j3 j. X
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ O2 U, u. l$ ?2 _- l
  1626. ;mbstring.internal_encoding =
    4 [% s1 U- C1 u" ?

  1627. / x) }5 r8 z* j' B9 H
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 [& ?+ `1 G- }0 I9 _4 }( V: x
  1629. ; http input encoding.
    : ?! a2 c& N: b4 v) i" y$ T
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.3 a3 g+ v! \( w  q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used." R2 F3 V8 c" u7 @8 M# m9 ^
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& G+ z+ y% w5 H, n5 [" @% b
  1633. ; http://php.net/mbstring.http-input; a8 V* K: t& B3 R& o; n# }! z
  1634. ;mbstring.http_input =9 g! l# \/ s4 n6 i
  1635. 6 Y% A8 x2 h1 I* |; o8 w
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.9 \% u0 `$ e* w6 o# x+ `$ r* g
  1637. ; http output encoding.
    % Q4 w- K  s+ b
  1638. ; mb_output_handler must be registered as output buffer to function.
    1 C! F0 X( v+ o8 D" q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.% q! Y9 _3 m4 F7 m0 c7 I
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    : ~2 S6 ~( _; X4 R7 n
  1641. ; To use an output encoding conversion, mbstring's output handler must be set, S7 i6 h$ [$ g, r- V3 ]
  1642. ; otherwise output encoding conversion cannot be performed.
    " m# H$ U& j# m
  1643. ; http://php.net/mbstring.http-output
    4 s( V! F* [9 E; X- i, ]$ F
  1644. ;mbstring.http_output =
    & _. ]4 t4 E1 B& H9 e% ~

  1645. / z2 G& `7 D, v8 @0 ?4 F# B4 y0 `4 X
  1646. ; enable automatic encoding translation according to. l" ]% Z4 n) ?& b  z* @
  1647. ; mbstring.internal_encoding setting. Input chars are  l% E6 b: G! s2 u. T6 c7 u
  1648. ; converted to internal encoding by setting this to On.6 V# B. a! r) ]* J0 ~1 P
  1649. ; Note: Do _not_ use automatic encoding translation for6 e1 z9 P- ]) P: u
  1650. ;       portable libs/applications.
    # z" \" B, z! k( y( K
  1651. ; http://php.net/mbstring.encoding-translation: Y, U9 A1 Q9 Y( Z5 y+ g3 @
  1652. ;mbstring.encoding_translation = Off
    $ B- z9 v" A# l3 M0 R5 H0 D3 X7 ~6 C- P
  1653. - \/ g/ |6 m/ i( b
  1654. ; automatic encoding detection order.- B; r( c/ \  K5 j
  1655. ; "auto" detect order is changed according to mbstring.language
    ( V& `4 n7 m9 P+ q; U* V. `
  1656. ; http://php.net/mbstring.detect-order9 n) X* \( b. p; a/ G6 V
  1657. ;mbstring.detect_order = auto7 g7 R9 g( z% ]' T
  1658. 8 W, b; [6 [, `4 Z3 n' Z
  1659. ; substitute_character used when character cannot be converted
    ; D* G/ ]* C2 L9 N# e
  1660. ; one from another- T- s' X, S! H1 m
  1661. ; http://php.net/mbstring.substitute-character
    7 _/ o! ~' l7 ^6 s! `( c
  1662. ;mbstring.substitute_character = none6 C8 U+ C* [9 Y
  1663. 3 c: e( L4 N+ R. p
  1664. ; overload(replace) single byte functions by mbstring functions.$ m- `; t; |# L* r: a
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),; Y7 [  F3 G5 `% v7 T& W7 v
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    9 K6 C( k" u0 G' E& e, R% g' k
  1667. ; For example, 7 for overload everything.$ k1 P% V+ C! A8 G) c" E! x
  1668. ; 0: No overload
    1 J- n+ p, ?$ ~/ R+ `
  1669. ; 1: Overload mail() function0 r0 W% W/ l4 ]2 i
  1670. ; 2: Overload str*() functions
    7 J) n9 L; s+ w1 D% q6 A2 Y
  1671. ; 4: Overload ereg*() functions5 `7 s! W: J# I' L, Y% w* Y0 c
  1672. ; http://php.net/mbstring.func-overload. E) N, [# s  N& x! S) h
  1673. ;mbstring.func_overload = 0/ j7 i# Q  q! t( b4 [0 u5 M

  1674. 1 N  g2 h9 s8 H( x
  1675. ; enable strict encoding detection.
    ) r( f$ `5 D& q/ M( B$ S
  1676. ; Default: Off6 `( F4 F) `1 d9 ^! M2 j/ j7 I! L
  1677. ;mbstring.strict_detection = On1 f" y+ i2 J/ m8 W  Y& ~. L

  1678. # p# w6 E& ~" n$ E  n! [' ^1 T
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
      B9 _9 k+ H: F2 v& B  q5 J
  1680. ; is activated.
    0 }" h0 A1 }( C
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 m6 ]1 f2 i2 n0 g; M5 ?
  1682. ;mbstring.http_output_conv_mimetype=
    ; P. L8 A2 F$ y  h  ~# Z! G

  1683. 9 N; J  u, @& x9 a6 _( t' `
  1684. [gd]
    / q" n  {# A; C2 D- n6 `& F; V
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    . X! T' S- J9 i+ {
  1686. ; a gd image. The warning will then be displayed as notices
    8 ?, g: p3 M/ m$ d% v" |
  1687. ; disabled by default8 _: |' f* O5 O$ K4 q
  1688. ; http://php.net/gd.jpeg-ignore-warning
    5 Q3 S) E1 t+ j* K5 q; Y
  1689. ;gd.jpeg_ignore_warning = 0) H+ I% Q7 ]2 T1 S' E5 u8 K

  1690. % ]& i' L  D( f; w  }. y* s9 U9 o) u# ?
  1691. [exif]3 }: |8 ~" i$ G6 L3 Y
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! L* h4 y$ m: o7 g0 e# i
  1693. ; With mbstring support this will automatically be converted into the encoding- b3 z% n& G, A3 u8 X+ U. x
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ' v! X! L; I+ M" G
  1695. ; is used. For the decode settings you can distinguish between motorola and9 V, ~* [6 v6 f# X8 v& S4 A
  1696. ; intel byte order. A decode setting cannot be empty.7 D! h" Q- G2 l- g8 f% T, B
  1697. ; http://php.net/exif.encode-unicode
    . W" p0 y& @8 B% n/ X
  1698. ;exif.encode_unicode = ISO-8859-15
    0 e) Z, |/ L1 O2 Q( r' v

  1699. # T& L8 m* A9 d
  1700. ; http://php.net/exif.decode-unicode-motorola
    5 ~/ [( [: U& N
  1701. ;exif.decode_unicode_motorola = UCS-2BE5 d' D# y6 e( a2 Y9 a* e5 ?6 V( }
  1702. 0 a2 @. ^: u" m
  1703. ; http://php.net/exif.decode-unicode-intel3 Z9 R; `2 S5 l* K
  1704. ;exif.decode_unicode_intel    = UCS-2LE, a3 R7 ~+ v3 o. d! Z7 I& a1 w
  1705. . v; i/ o! Y8 V# L' g& T: s. J
  1706. ; http://php.net/exif.encode-jis
    ! ]. O5 O+ t) p
  1707. ;exif.encode_jis =
    , A/ s" M6 t) j5 K9 R, H
  1708. ! N3 H3 I1 m0 L+ s  B9 G% K4 n
  1709. ; http://php.net/exif.decode-jis-motorola+ l, s: ~0 N; K2 a" d& B% j, b1 v
  1710. ;exif.decode_jis_motorola = JIS% D+ b& `; C# G2 G2 C/ X

  1711. ' |1 R( ~3 s; r
  1712. ; http://php.net/exif.decode-jis-intel( v5 v" \! {- V& k/ Y$ e2 }
  1713. ;exif.decode_jis_intel    = JIS- S8 B; ~* O3 h+ I- Y

  1714. # ?( r+ X% X9 k) \$ \" N" u& ?3 `
  1715. [Tidy]
    ' j: A. f  R( U% Z2 ^7 {
  1716. ; The path to a default tidy configuration file to use when using tidy3 m3 ~3 h8 {, x) [8 b
  1717. ; http://php.net/tidy.default-config! @8 c6 s4 d" B  {* z
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ' W0 q  j: S$ @
  1719. 6 ]9 e' K1 f7 @2 v6 ^
  1720. ; Should tidy clean and repair output automatically?( D, B. r/ b$ Q0 m$ E4 S
  1721. ; WARNING: Do not use this option if you are generating non-html content" K6 m7 K: _( y' h2 l! K. g7 b( \
  1722. ; such as dynamic images9 t2 c' v$ R# N0 ~. h5 J$ b
  1723. ; http://php.net/tidy.clean-output6 }% K! w# o; j& S3 t5 N( A
  1724. tidy.clean_output = Off) b( W: j, ^1 }& X# Y& g, x5 ^5 ?
  1725.   J6 E" @- d, J; `6 D+ Q  C
  1726. [soap]& G6 C( O6 z' }5 Q/ Q4 J
  1727. ; Enables or disables WSDL caching feature.
    4 X' D5 w& O3 ]& B3 [. g/ u
  1728. ; http://php.net/soap.wsdl-cache-enabled
    : |8 G# B7 g2 R/ s
  1729. soap.wsdl_cache_enabled=1! E9 V) E; j& A8 x% H
  1730. " \- \* ], c% G) o5 k: D
  1731. ; Sets the directory name where SOAP extension will put cache files.
    , ]! F3 {. C8 }: p& r/ J% e, i5 m
  1732. ; http://php.net/soap.wsdl-cache-dir3 U9 m% Y& _0 k4 ?/ E
  1733. soap.wsdl_cache_dir="/tmp"# O4 e) [: O8 O; g
  1734. # J" H$ E! C4 `1 f/ J8 Y
  1735. ; (time to live) Sets the number of second while cached file will be used5 N% ^) V+ e. T: O1 }/ ~+ a
  1736. ; instead of original one.
    1 D+ Z7 w1 r8 d
  1737. ; http://php.net/soap.wsdl-cache-ttl! i9 `( ^# Z8 E8 Y2 R/ U
  1738. soap.wsdl_cache_ttl=86400! a% I  z1 }# Z  r+ q1 N

  1739. ' ]  M  w* |, Q0 g) T
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    7 ^/ {7 D" n4 [2 d' t
  1741. soap.wsdl_cache_limit = 5- z" k( c1 f/ U6 }
  1742. , Y8 w/ r/ X7 g9 B7 H* P
  1743. [sysvshm]# N$ z) F: o& T- f, C( `
  1744. ; A default size of the shared memory segment
    1 O4 E9 J1 d) W# O5 I2 n# T
  1745. ;sysvshm.init_mem = 100004 w' E! C+ Z+ h+ ^0 I  l

  1746. # \" @7 N' |, f. K1 S- q
  1747. [ldap]
    * H  L6 R7 d7 I
  1748. ; Sets the maximum number of open links or -1 for unlimited.5 D6 C- s6 a  Y8 y. W
  1749. ldap.max_links = -1* k3 C/ @" a" a8 `" S

  1750. ' g3 Q$ K5 o4 B
  1751. [mcrypt]
    & _; s; [6 y0 D0 G, e: M2 S4 d. {
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    , {; k+ L1 Z  `( B: G* K! j, W
  1753. ; n# z2 ]) E# ~( Y9 r& g
  1754. ; Directory where to load mcrypt algorithms# x4 L6 T$ z- _& m7 u# O4 C/ d) @
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' C/ X' X4 K/ ~7 D) E4 c
  1756. ;mcrypt.algorithms_dir=
    ' C- ?+ ?4 @% b4 T- Y+ Z- |$ E
  1757. . b! L5 B3 {3 h" S: B! _
  1758. ; Directory where to load mcrypt modes6 i" M7 J8 K7 G4 v6 R
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* s6 }: X- i$ {- x% ~+ B8 B
  1760. ;mcrypt.modes_dir=+ e* T0 H, F8 x. w+ f

  1761. ( O. w  F( r; S4 M6 x% t) l
  1762. [dba]7 X! j; L  M- p8 e6 C
  1763. ;dba.default_handler=" Y$ i$ x' O* V/ R3 H
  1764.   [* |& h2 `( e) M! D; z7 D8 n
  1765. [opcache]
    % z$ F/ ?$ i. j; M' X$ I
  1766. ; Determines if Zend OPCache is enabled' }! A9 [, E( [* {3 U) r# s, P  \
  1767. ;opcache.enable=0, f" w5 ^, N- m; ?2 b5 N: P5 X
  1768. - u' F' w2 @0 {8 ]! D
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    9 y- Y: p7 T- l
  1770. ;opcache.enable_cli=0
    5 B8 `- \4 B8 N: q, L

  1771. / m: ]0 ^2 l- v" o& t
  1772. ; The OPcache shared memory storage size.' i5 E& `5 d8 \% d
  1773. ;opcache.memory_consumption=64! l' J( j( T/ h

  1774. 9 {" ^! B3 b! a
  1775. ; The amount of memory for interned strings in Mbytes.
    , U  x" d3 ?) A8 P; D4 h# C
  1776. ;opcache.interned_strings_buffer=4
    8 O1 v! F- b' G

  1777. 9 _: I  B9 _# s5 K; h
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.$ d/ q( ~9 B' E4 E* b% n& c
  1779. ; Only numbers between 200 and 1000000 are allowed.
    * `( e# `) B6 y( r6 N
  1780. ;opcache.max_accelerated_files=2000; k0 V4 }% {: }. [# ]
  1781. 8 O' P1 a# A' d+ V" {
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.8 d( C2 o) ~" {) ?
  1783. ;opcache.max_wasted_percentage=5' f4 E2 b7 `1 N1 q/ U
  1784. % s7 e5 m& j. ^
  1785. ; When this directive is enabled, the OPcache appends the current working
    + k$ _- v' q. }/ B& @6 b8 @
  1786. ; directory to the script key, thus eliminating possible collisions between# @! j  m( }; p8 k/ G2 E8 E; \
  1787. ; files with the same name (basename). Disabling the directive improves
    ! ~. _, R/ p+ T6 c
  1788. ; performance, but may break existing applications.
    ( }5 g, \( d4 }, k: a
  1789. ;opcache.use_cwd=1
    , ^. N- Q2 a2 G( E8 V" D3 H* U

  1790. ; H" E/ }8 ~6 K
  1791. ; When disabled, you must reset the OPcache manually or restart the
    , Z1 L0 N" Y# T$ R. J8 E6 w
  1792. ; webserver for changes to the filesystem to take effect.
    6 q/ I( K6 m" C% ]7 E) B- _. T
  1793. ;opcache.validate_timestamps=1
    8 D$ W7 _1 c! R+ L
  1794. ( U' Y7 ]. A( Y% Z% y
  1795. ; How often (in seconds) to check file timestamps for changes to the shared7 W- O; }& ]3 P% L1 @5 s
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    $ u( t8 H" C3 n! ^) r8 ~
  1797. ; once per request. "0" means always validate)
    ' b4 u, {! P' Y2 M3 J8 Y& ?0 Y
  1798. ;opcache.revalidate_freq=2% B. I# U4 ~1 x% f2 t2 Z
  1799. 2 K' P! a+ h/ _* C
  1800. ; Enables or disables file search in include_path optimization5 h  s" S5 b1 W4 Q, J* w, Q' _+ U
  1801. ;opcache.revalidate_path=0/ q5 q. E  Q: G& l- v1 q# c: c
  1802. " u" ^/ W! A! N$ U$ \4 X4 y
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 A: Q* G' S5 c' q
  1804. ; size of the optimized code.
    ' F& u* C( ?( z
  1805. ;opcache.save_comments=13 ^. @/ B; e( T. K

  1806. 8 }6 c0 ^+ n6 U$ l
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    : y& n: H7 G0 ]0 [" [
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.$ Q& I) r3 v$ l" b: a* ^6 H1 G/ I* a
  1809. ;opcache.fast_shutdown=0
    * {7 W) t: a6 k# ^, i7 p4 l

  1810. 6 t# q1 i5 r% b8 N" G0 z) V3 @/ [
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    + i0 U" s- l4 c( j3 s0 h; T5 I+ ?; T
  1812. ;opcache.enable_file_override=0: o# `$ t' e* y
  1813. 6 P& J) F. C" Z& O# B
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    5 B6 C" d* a% H# `+ g% u
  1815. ; passes
    , ]: [; L. M9 @1 f$ x$ v
  1816. ;opcache.optimization_level=0xffffffff7 N% q- v- d9 z, O. S
  1817. 1 _& y# u5 N) ?8 p* e, S
  1818. ;opcache.inherited_hack=10 t. L! N$ v  x, R4 U% ]7 l. C: _
  1819. ;opcache.dups_fix=0, ?1 C( J' S$ ^: o7 q! D# s5 k. b; {

  1820. / z  L) I' g0 h9 p& r
  1821. ; The location of the OPcache blacklist file (wildcards allowed)." O0 Z4 f+ U* _
  1822. ; Each OPcache blacklist file is a text file that holds the names of files/ Q% y- Y$ s9 [2 t
  1823. ; that should not be accelerated. The file format is to add each filename
    6 [, X+ k) {8 q- d
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " F( r0 H7 w9 D9 o
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / _: W  \( F! K, Q* i+ j/ _3 B, D' q
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 G6 }$ O- A4 X
  1827. ;opcache.blacklist_filename=
    ' c: X) H3 k. p2 l  Z0 ]
  1828. 9 i% f$ r0 D5 b+ k* D* R7 n
  1829. ; Allows exclusion of large files from being cached. By default all files  `* K2 c, g! f+ d
  1830. ; are cached.
    7 R- h* n; K2 i1 F1 P  W0 v
  1831. ;opcache.max_file_size=0) R* \% A4 w: s! u. {2 I' x

  1832. ; y* E# b. M. |, G7 ~7 f
  1833. ; Check the cache checksum each N requests.
    . J$ r+ N0 ^" s$ n8 q2 a- P
  1834. ; The default value of "0" means that the checks are disabled.0 D8 J! b& Q! X; ]2 K, w$ s
  1835. ;opcache.consistency_checks=0* C+ F0 Z* x6 V9 c$ _$ S
  1836. : u! s# J; |6 f
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 j( E; ?( x( s/ k5 H# @2 x
  1838. ; is not being accessed.( H; `, }% U& E, Y8 [+ ^
  1839. ;opcache.force_restart_timeout=180
    + T8 G0 [4 q- L* P9 u  }
  1840. 6 ]- ~% `* Z* d
  1841. ; OPcache error_log file name. Empty string assumes "stderr".9 H; }- e3 }0 j+ j5 R
  1842. ;opcache.error_log=; O2 j3 x+ ~& S; V7 s
  1843. . J1 O1 S3 u3 [( d2 f
  1844. ; All OPcache errors go to the Web server log.0 ~4 T. k# n  F& {' k# l
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 r8 x$ b) T0 R2 X) V  n+ L! O
  1846. ; You can also enable warnings (level 2), info messages (level 3) or6 |' c* P/ f1 I7 L+ [8 i
  1847. ; debug messages (level 4).6 ]$ z  @* f4 e* v& p4 q: Z
  1848. ;opcache.log_verbosity_level=1
    7 e" |4 V2 ~9 e! j6 u

  1849. $ B) o, ]9 P3 n  F2 ~
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.. m7 b" j$ F4 n) g
  1851. ;opcache.preferred_memory_model=2 P9 I6 U& |4 O7 e& S
  1852. 3 M1 c+ ~9 e. p4 S# S
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ' Y. o/ P4 c0 U- h
  1854. ; Useful for internal debugging only.1 F$ j7 S9 r5 q/ _# n* R
  1855. ;opcache.protect_memory=0% Q/ t/ F, w3 C  i/ w8 Y

  1856. 5 e2 C4 h  H/ n: p; h8 @* W
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ! X& a3 _: S5 ], U' h( Z
  1858. ; started from specified string. The default "" means no restriction
    % S9 f5 L1 r( M" E" V
  1859. ;opcache.restrict_api=9 D  ]: o) A5 [- e7 o2 |

  1860. % P! N9 j8 Q7 N" i8 \- F' J" m  d- I
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    7 c6 V8 h; O( N; t  n+ F1 x& A
  1862. ; processes have to map shared memory into the same address space. This! R: ]* h4 B/ v2 L- c* D4 U6 Y8 o
  1863. ; directive allows to manually fix the "Unable to reattach to base address"7 X5 q5 }. [- o  c( E
  1864. ; errors.
    ( p- ~  N+ F% T  b
  1865. ;opcache.mmap_base=
    " @: I6 R4 R" y! n! g4 _
  1866. 8 T! [! v3 R9 R% m. m+ p# ^& G
  1867. ; Enables and sets the second level cache directory.! N  r# B1 n8 \( V: `% }# f3 d
  1868. ; It should improve performance when SHM memory is full, at server restart or
    9 h+ o/ E# y; n( \6 {9 c. g
  1869. ; SHM reset. The default "" disables file based caching.9 X$ |8 R+ w( O/ L* T( @5 R- A2 e; ?
  1870. ;opcache.file_cache=
    ! K8 O1 \' K# B: i+ j
  1871. 6 C3 D/ X  U6 O0 g- ^' K+ B
  1872. ; Enables or disables opcode caching in shared memory.8 |* t( ?9 s8 R8 K8 s
  1873. ;opcache.file_cache_only=0
    . ^( s; h( Y; C

  1874. - w1 G: [8 g/ w6 Y4 Z- V  H& S
  1875. ; Enables or disables checksum validation when script loaded from file cache.: n" i6 y; U' e1 O
  1876. ;opcache.file_cache_consistency_checks=1
    ; V( ~- z3 W( {, M+ o

  1877. " H( G' ]6 M% F  P
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    4 t2 @8 d- d, g" _0 _. d9 U
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file+ g: e( i( Y; M% L* F
  1880. ; cache is required.6 C" K" ~1 O  p9 U. _+ b# C
  1881. ;opcache.file_cache_fallback=1
    " l8 J/ ~# {/ |1 r' ?% |/ Q4 ?

  1882. 3 ]1 r7 X1 R! Z. F8 |& {
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    : x# F& q* x4 z- }1 E- e
  1884. ; This should improve performance, but requires appropriate OS configuration.
    ' B! Y9 A4 L8 I) q# L* g! Z4 R1 \
  1885. ;opcache.huge_code_pages=1
    6 t, V& C% z5 ^1 O2 y
  1886. 9 o3 V1 j0 u: t* k- v
  1887. ; Validate cached file permissions.  s+ i9 }/ Z( I, f1 N
  1888. ; opcache.validate_permission=0
    . {* t; g) A0 E! o: \4 B

  1889. 9 l) D* U2 W; k" g6 R+ s& M" D
  1890. ; Prevent name collisions in chroot'ed environment.# o1 ]4 t. K' l$ l( q
  1891. ; opcache.validate_root=0
    ! z; y$ l; V, M8 T0 d: L* `

  1892. 8 y5 u/ g, B+ I
  1893. [curl]8 |6 c5 r+ a$ [/ y  ?. U
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an- u' Q- Q2 U! H; ]2 ^
  1895. ; absolute path.7 J0 Q! S+ B& C+ O1 F
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( k, Y3 e+ \8 R
  1897. ( h& X/ b: H2 s1 {- i
  1898. [openssl]  Q* J' O; d  [/ Q: }9 i
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem0 ^: B& ?! `2 G: ]" {
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    3 ~% o; C# [+ ]2 m
  1901. ; not specify a value for this directive as PHP will attempt to use the. T# ~; y! p9 I% [5 \; c3 M1 ~
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    : T$ \/ \4 U8 p9 O( B/ \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context" X( c  e. I3 ?3 O* E0 L
  1904. ; option.
    7 G; |& a$ H4 I! z. U
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    / P7 S8 }1 V* z* y& O

  1906. 7 V* \8 n1 Y9 ]/ ?8 s7 j
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the. y4 C3 L! x+ \, ]. X
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    2 R+ N7 O& Q5 [
  1909. ; certificate. This value must be a correctly hashed certificate directory.
      }( Z3 f; h: B; ~& i
  1910. ; Most users should not specify a value for this directive as PHP will
    ; t/ M# Q8 x; E7 [% ^
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,' P: U$ L- W7 v8 S
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    3 f$ F+ u4 m0 D$ s, |! B
  1913. ; SSL stream context option.6 t# F6 V, c/ w6 z+ {
  1914. ;openssl.capath=
    ' r, N# Q' u0 A5 L* j9 |2 }
  1915. : B: H' K" r0 T- j
  1916. ; Local Variables:
    # u. [& z  n# f  O- }
  1917. ; tab-width: 4
    - |. Y1 r5 E: o4 Y
  1918. ; End:7 o) q7 K4 z2 X. ?; \/ w
  1919. 9 s! S* d! L0 H/ \3 W
  1920. ;eaccelerator) Z1 }+ g! {8 r# v" C+ X8 w

  1921. 5 V: p) p. L. q3 z
  1922. ;ionCube6 q* Y0 P' A8 N) v
  1923. 9 D3 ]" L2 K! K0 D0 _
  1924. ;opcache+ ^/ _$ h/ w" h: _. i! \  Z3 Q

  1925. " Z- \5 v* k1 h* ^$ K
  1926. [Zend ZendGuard Loader]" Y1 ]. T9 `1 H5 W
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    % A# l  ~' g/ D7 p' W8 ~" a. l
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    . h4 Q3 \$ i1 U; u" O& F; y
  1929. ;zend_loader.enable=1
    & F$ Q+ a* c& i1 a) x
  1930. ;zend_loader.disable_licensing=0
    9 I3 f2 I9 z+ C0 l4 e
  1931. ;zend_loader.obfuscation_level_support=3
      I6 z! E: {+ b- s( p
  1932. ;zend_loader.license_path=: R, Q/ ~6 \6 a5 l, Y. V
  1933. 2 n: L' ~0 ~1 ~8 J) `
  1934. ;xcache7 Q4 p0 |! o* V' X4 y9 Q9 V/ g

  1935. - X& S6 s* B2 D
复制代码

7 w! `. M6 A1 S
5 l& h# ?4 ?( }8 Z' B; T- J1 H6 K# ^2 t- b

0 G2 n: h' o  C7 d  y# Y0 `$ [% X' y1 A) j9 q; l6 @

2 I6 X. J: r; U* X# x
! H1 i5 h. y) T4 X6 ~PHP5.6版本原始设置
0 s* X3 {4 q- v
. g, ?! a# `9 j4 s! o' j4 s' M
  1. [PHP]' G! L9 R# R% ~/ b) b

  2. " u; g* M4 Q  |( J# o7 j, h
  3. ;;;;;;;;;;;;;;;;;;;! V0 s* @% A( F, J  T
  4. ; About php.ini   ;
    0 S! u" e% o# H
  5. ;;;;;;;;;;;;;;;;;;;. s2 C: `" I+ n# i
  6. ; PHP's initialization file, generally called php.ini, is responsible for- K* H: S; K8 I3 F$ ^
  7. ; configuring many of the aspects of PHP's behavior.4 [8 Z9 r( B9 L- M. T. k

  8. - b! a! Q) ~' ?% T  F1 m8 k1 Q3 u  C
  9. ; PHP attempts to find and load this configuration from a number of locations.
    5 A0 B- w1 n2 q8 h( u7 C& d
  10. ; The following is a summary of its search order:- `$ o, ~* Q8 l& W- ]
  11. ; 1. SAPI module specific location.
      ^  }( B' Y$ i1 J* \. _  E. o. q
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    % x; U5 j  M7 [1 N3 \1 ^2 v( Y6 a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ; t* Y3 ]- T8 `8 T! m6 P4 Q3 o; U& g
  14. ; 4. Current working directory (except CLI)
    4 L0 C; e7 ?2 F7 x: X4 c7 {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP" V8 }* }+ `2 n5 o; ^/ A" _
  16. ; (otherwise in Windows)8 _0 b6 H; _4 H, r& W) \' X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / K! b& t5 G2 q, d% q. h
  18. ; Windows directory (C:\windows or C:\winnt)
    % k" S1 c" w$ ~! g( Q$ z1 x* B, p& P1 U
  19. ; See the PHP docs for more specific information.! B8 M$ }( v! k, [( C: z
  20. ; http://php.net/configuration.file7 b% f9 D  q* S0 T* @
  21. 1 q9 ~' Z6 A% `  Y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines  g8 E4 X  X2 X4 Q  I9 X' {7 D
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 M4 {, B! t+ a. S- x' {
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though% y7 r  `( |5 E" f0 M, {
  25. ; they might mean something in the future.
    : j& t  ^3 Q. A% Q0 ^

  26. : M3 K! K9 ^5 W5 A4 B
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ F9 h! ]# a0 B9 Z3 V: }
  28. ; apply to PHP files in the /www/mysite directory.  Directives9 r; U9 q' O8 k! z- K
  29. ; following the section heading [HOST=www.example.com] only apply to# f- W8 o1 {. z9 }! P  {+ |
  30. ; PHP files served from www.example.com.  Directives set in these, f0 ]- B; s/ C' r7 ~) M! ?
  31. ; special sections cannot be overridden by user-defined INI files or
    # _% _8 x/ P0 q$ m
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    - Q4 {, H, k7 v  h  v
  33. ; CGI/FastCGI.8 N! V3 @$ S( n% U, A1 [
  34. ; http://php.net/ini.sections4 M: u8 r0 ]: s! L5 ?

  35. ; x. g; j- V' Q. N/ c/ Z# N
  36. ; Directives are specified using the following syntax:. [8 O$ t' J! W0 U* ^! z1 E+ T# i
  37. ; directive = value
    ! s! `$ Q  P( \" |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    * u7 t2 ]5 ]% F# l! Z
  39. ; Directives are variables used to configure PHP or PHP extensions.
    # g3 H' O% a1 a, _) F; g, H2 _. O
  40. ; There is no name validation.  If PHP can't find an expected( T7 L) b2 f& I  K, A
  41. ; directive because it is not set or is mistyped, a default value will be used.% ]& E2 h( k4 W+ T$ [6 F
  42. $ p8 b5 v9 A/ |& }( o7 s; j
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 ?8 f+ z! S, r' C( c# G9 |
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression; X+ c2 Q1 s$ P' c3 D0 l
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / B+ J+ D: y& D1 j7 \! O# @" [6 k
  46. ; previously set variable or directive (e.g. ${foo}); ^: y6 n" ?3 J) I3 l; R
  47. / C2 d2 Y& c3 @* o3 n
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    $ d, [( l3 K/ q& H6 u  g7 n2 b
  49. ; |  bitwise OR4 P- Y2 q) ~# T  O
  50. ; ^  bitwise XOR
    0 [1 S4 ~# I. y, [! s( u% s
  51. ; &  bitwise AND
    ( P/ W' X+ f6 C, {7 e
  52. ; ~  bitwise NOT
    1 q0 e7 J, @* y% s5 O5 \
  53. ; !  boolean NOT5 }, Y6 N/ q% O' w% K3 M
  54. 8 o5 P3 f9 E+ S) ^. L
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 x6 {% I( `6 y9 t
  56. ; They can be turned off using the values 0, Off, False or No.
    4 Z6 X3 k7 h. v) j
  57.   h1 j$ K( ^' R8 {! R3 }5 s+ d  W
  58. ; An empty string can be denoted by simply not writing anything after the equal" ]" b7 [! ]' K
  59. ; sign, or by using the None keyword:! [  f2 k1 ~2 q( s

  60. ( E# s( \2 O9 o5 y, {6 L
  61. ;  foo =         ; sets foo to an empty string
    ; `. j1 V, i) V$ |, i- _( O6 A
  62. ;  foo = None    ; sets foo to an empty string5 C. p: x4 x$ [: r% X
  63. ;  foo = "None"  ; sets foo to the string 'None'
    1 q5 A( o7 |# Z4 z

  64. , ]9 a9 H1 X  s) h
  65. ; If you use constants in your value, and these constants belong to a+ i8 f) }; Q3 C% E$ K* G7 H7 t+ \$ X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension)," j( I0 m3 v8 t  e# ?2 U
  67. ; you may only use these constants *after* the line that loads the extension.
    / O, o+ E7 H3 m9 c, F2 p# G

  68. 6 b# h$ U- t# c! f! w( r6 p
  69. ;;;;;;;;;;;;;;;;;;;
    ) N% N( Y) q, b: K5 _, ]/ K! H
  70. ; About this file ;, J1 D) M8 j8 w) x2 d$ X8 g  E
  71. ;;;;;;;;;;;;;;;;;;;# I8 X3 P  G) f8 E" L0 H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ u4 w  j* G/ t; r% y
  73. ; in production environments and one that is recommended to be used in
    + a0 s* p+ _9 T, j+ H
  74. ; development environments.0 i  z* }& x: M; n) q

  75. - z* m% i, n) g
  76. ; php.ini-production contains settings which hold security, performance and
    . |( i6 _/ n9 D/ `& C
  77. ; best practices at its core. But please be aware, these settings may break
    5 Z8 ~& M- T) u" X
  78. ; compatibility with older or less security conscience applications. We
    * F( j" f9 l; _) c6 K) ~, h8 H
  79. ; recommending using the production ini in production and testing environments.
    ! [: [# ^6 B& F, A  J$ F; j* ^8 G

  80. ; }% ?2 k/ \3 y- P# R7 D- H5 B8 Q
  81. ; php.ini-development is very similar to its production variant, except it is& e" f7 @9 @% n! ^  n- y) Q9 u
  82. ; much more verbose when it comes to errors. We recommend using the
    1 `0 F8 G8 D7 @
  83. ; development version only in development environments, as errors shown to0 G0 K/ ]: w' t
  84. ; application users can inadvertently leak otherwise secure information.- G7 o! l( R1 Z2 d( g$ A
  85. $ t. @, _: F7 k
  86. ; This is php.ini-production INI file.9 r0 Y0 V2 e  w% H, k5 n

  87. . H% z- Z* {8 d1 v  G
  88. ;;;;;;;;;;;;;;;;;;;
    9 m4 n0 `* P3 Z5 o4 P! d$ c
  89. ; Quick Reference ;- U4 n6 h! z) Y! W' \0 f
  90. ;;;;;;;;;;;;;;;;;;;
    . f/ u4 q8 U7 z+ u5 j: U
  91. ; The following are all the settings which are different in either the production
    % d1 E6 S/ l  X9 c8 ^' h6 G. s. ~, C
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    " f) \; o6 e/ O! h& |$ f, t
  93. ; Please see the actual settings later in the document for more details as to why
    & ]5 _+ w! e+ a& r. B# Z
  94. ; we recommend these changes in PHP's behavior.
    : [  V. [, B' p& l
  95. 2 ?$ [* f% ~+ N1 U' v$ b
  96. ; display_errors
    ! h- H. ~9 q5 v! g8 ?
  97. ;   Default Value: On
    7 v- b$ \. z/ c
  98. ;   Development Value: On3 x+ v4 t$ ^) X
  99. ;   Production Value: Off
    2 Y7 ^, T% m, A8 V) k
  100. - G3 V1 \- o* O, Y
  101. ; display_startup_errors7 E/ {# k2 V! J+ [
  102. ;   Default Value: Off
    . O9 v: @2 X/ R3 M! _! K4 A, o1 |
  103. ;   Development Value: On& O# B7 F1 z  `# h
  104. ;   Production Value: Off! Z% v! ^# I7 i

  105. ' u$ ?) r) d+ [+ H6 a$ K/ _- {
  106. ; error_reporting
    9 K/ l3 o8 y8 m# Q% M& q( X  M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; |; S: a/ l% w3 i5 J" A, i$ z
  108. ;   Development Value: E_ALL% S6 x' E: H: v' {# q/ G) P6 j' s
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 s6 }8 E, B7 k) }7 `3 ^3 R: I/ m

  110. ' U  r) |- w6 c
  111. ; html_errors$ O8 @* G6 V& |( T* j2 u; O
  112. ;   Default Value: On# c' U# R$ c  J; o+ Q5 Z8 Y, O
  113. ;   Development Value: On  D( r. O9 P/ w( W
  114. ;   Production value: On
    . }+ _8 |+ T/ P! N( J

  115. 3 P+ _3 ]0 Z7 s# D/ u
  116. ; log_errors0 l, [7 \0 A% I7 [5 G
  117. ;   Default Value: Off
    + L3 ?/ j# `5 f- N% T) d
  118. ;   Development Value: On
      `# j) X4 r3 x/ ]$ l: C2 F7 |4 Q
  119. ;   Production Value: On
    9 b- n/ b0 r9 z. x7 \0 o# N( G
  120. 0 F- z* ?: W) {
  121. ; max_input_time1 u, c8 [# {4 c
  122. ;   Default Value: -1 (Unlimited)
    6 D& M; B, i5 N1 G6 z( X$ [" T" F& q7 L
  123. ;   Development Value: 60 (60 seconds)
    $ S' i' j3 s* S: _% [! c
  124. ;   Production Value: 60 (60 seconds)1 u7 {* Y! Z4 X0 H
  125. " j3 O3 n9 o0 K6 P# a. w
  126. ; output_buffering8 y  V  F% v! Z4 T: P+ ?6 A
  127. ;   Default Value: Off6 }: v; ?# z! p' a  t$ T
  128. ;   Development Value: 4096& @  U0 l- B' `2 r9 I
  129. ;   Production Value: 40966 v5 _; k2 a( A8 x$ \9 ]
  130. ' l& w2 @! x8 F3 H; {  w
  131. ; register_argc_argv; @0 w, \" h  s0 I  u
  132. ;   Default Value: On, K8 U& y* s& K' L
  133. ;   Development Value: Off* E- ]  a9 }1 w( s- O  `
  134. ;   Production Value: Off& t- }) L& ~- e8 v. O

  135. % H- X$ ~9 h& Z6 t. q" d. A
  136. ; request_order
    : f# u7 M- O& a2 i: S/ ]
  137. ;   Default Value: None
    1 ?" g) B) P* k1 G0 E
  138. ;   Development Value: "GP"
    2 U, D9 T, |% u0 V; ?6 s
  139. ;   Production Value: "GP"
    . x0 H* `4 x0 S0 K1 B) A+ O
  140. . o, c% l* ]" U
  141. ; session.gc_divisor+ i+ R, F" X- z! r; F0 j
  142. ;   Default Value: 100* b$ i( `- S% S/ O- o9 m' E5 E/ g6 X
  143. ;   Development Value: 1000' h0 [( A0 J) S& O
  144. ;   Production Value: 1000# u4 B5 U$ Q; U5 j

  145. 3 V- r: @4 y9 a6 O* J" r) ?
  146. ; session.hash_bits_per_character
    4 d1 H# P% o" n, `+ ~5 ~
  147. ;   Default Value: 4
    ! X2 v- n# d. `; T, `0 n
  148. ;   Development Value: 5
    + B7 c# r* T6 T- J, \2 o
  149. ;   Production Value: 58 X% O( f- g, {5 f. P9 A: B

  150. . @2 K! e) M$ I
  151. ; short_open_tag
    * [  P. T2 n% @7 U- D- e
  152. ;   Default Value: On+ x$ b/ l1 e6 R- b7 S% t% e0 t
  153. ;   Development Value: Off
    / E% ]3 B/ [- {2 p2 u- ^
  154. ;   Production Value: Off
    ; s% N* h) k1 h* W8 @

  155. ( W& C( E5 v( T4 n
  156. ; track_errors
    , d& j" f! y' x4 }( k: K
  157. ;   Default Value: Off, P2 P/ |3 c, v3 S) N8 `: Y" D
  158. ;   Development Value: On# I# y% d* X- ~$ [# A1 n
  159. ;   Production Value: Off2 ?: n+ ?6 V# v6 D" ?! f6 [$ D

  160. ' c+ |1 R# u( S7 @
  161. ; url_rewriter.tags$ Y9 p1 N7 I3 r8 G5 y$ u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="+ `) g! w7 d( ]5 a) `4 Y2 K' I0 Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + d8 u& J: ~# v# k" p
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ B$ P# K2 ?  c5 Z! n6 r& P

  165. 0 i8 ~% |( z% @8 l! M& E. H5 i9 V
  166. ; variables_order
    ! x2 M  z  ]8 K* U& E% D
  167. ;   Default Value: "EGPCS"5 a" M- L3 r1 x- Y
  168. ;   Development Value: "GPCS": T) u3 a2 x0 n* p& }7 G
  169. ;   Production Value: "GPCS"
    / l& @/ T3 n6 b! j0 W+ l4 u! A

  170. $ z0 i5 w' b. T6 }3 @  T
  171. ;;;;;;;;;;;;;;;;;;;;
    * b; a# E( @: Z/ S6 A; P
  172. ; php.ini Options  ;
    ; v& Z: d. j7 [5 U; x, S
  173. ;;;;;;;;;;;;;;;;;;;;7 `; q$ L; B3 `7 B# f+ ?( K6 l
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ h/ u( Y/ o- p# d7 C
  175. ;user_ini.filename = ".user.ini"  B! @& B0 ?% Z( x+ n' g  O

  176. # a, r! H" h1 B* `3 M) M
  177. ; To disable this feature set this option to empty value, c* R. d" `$ F6 _% V0 A1 J4 @* ?
  178. ;user_ini.filename =7 ^! ]9 W- H  t+ m. M9 n! C5 Z( g

  179. 7 f& {; t+ W9 y1 ~
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! t7 V# W; x7 z* \4 s' E+ `
  181. ;user_ini.cache_ttl = 300& V- z! p0 p8 a/ W+ Z3 ?! H

  182. 2 @3 |* C) S8 s5 w
  183. ;;;;;;;;;;;;;;;;;;;;, j% u& p1 T7 j( c! |
  184. ; Language Options ;% w1 U, O3 {0 r  O1 ]. ~
  185. ;;;;;;;;;;;;;;;;;;;;% o  W! d3 ~1 G5 ^3 |

  186. 1 V" B" L' T* N- M' B3 m
  187. ; Enable the PHP scripting language engine under Apache.
    9 I' k  B: O' w" i0 Q
  188. ; http://php.net/engine
    + y% w  L$ x! p
  189. engine = On
    - A* ?% w0 q! e6 O: K9 B

  190. & S6 E: Z. S+ ]2 w& l( b+ R
  191. ; This directive determines whether or not PHP will recognize code between
    9 f$ i0 L! j4 C- C* o' v' w% \0 X; \
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! i. J- Q- `& w8 ]
  193. ; generally recommended that <?php and ?> should be used and that this feature9 g2 k% A: f# K4 R) h0 _' `
  194. ; should be disabled, as enabling it may result in issues when generating XML$ z: r- [; p5 B2 I% ?' t5 I4 ]
  195. ; documents, however this remains supported for backward compatibility reasons.
    9 O# n) c4 u* o) _) a' G
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, c2 V" h2 J- T- d1 s
  197. ; used regardless of this directive.! D) a* {2 a0 c
  198. ; Default Value: On
    5 Q- C  j: i$ ?( y7 ?3 {2 ^
  199. ; Development Value: Off
    + c2 g4 D, T& J- Y2 P
  200. ; Production Value: Off
    % Y1 H+ X: j, z  c8 Q9 o
  201. ; http://php.net/short-open-tag6 l+ p+ r% H" e8 @( l5 ]# E
  202. short_open_tag = On) T; E. r: @% z; C" U! A# F

  203. * m' y% t$ j6 N; ^
  204. ; Allow ASP-style <% %> tags.7 E( V. h& Y8 i* T0 {
  205. ; http://php.net/asp-tags
    ' A4 W# u$ a6 e8 q* A$ v
  206. asp_tags = Off5 ~3 F7 F  o2 v% E0 c3 R7 B6 B

  207. 2 u( V7 f/ I* l7 N% H" Y
  208. ; The number of significant digits displayed in floating point numbers.
    ! \: p, O, s$ |1 j
  209. ; http://php.net/precision2 Z6 b/ K+ e9 F0 L& q& F
  210. precision = 14
    ' ~  L$ j' u. f7 r1 z/ ^
  211. 1 m% ]* p0 Y. G' O' k
  212. ; Output buffering is a mechanism for controlling how much output data: H( s, h- f1 n: b' F
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' p, _8 m) L, [- n& X
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ( A: l& y8 E$ p6 W' {; j! s& q7 L
  215. ; will send that data in chunks of roughly the size you specify.& [3 K4 W& }  d& E# \& X
  216. ; Turning on this setting and managing its maximum buffer size can yield some% K% `! D- P. {% v8 M9 t+ T
  217. ; interesting side-effects depending on your application and web server.& K$ F' U9 N* S$ `9 N4 c
  218. ; You may be able to send headers and cookies after you've already sent output$ ~1 j6 q3 |8 D
  219. ; through print or echo. You also may see performance benefits if your server is7 n8 c9 R8 W3 M' Z
  220. ; emitting less packets due to buffered output versus PHP streaming the output% C! U+ ]% t. s5 p; ^0 L( t8 O7 n
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    8 N4 I2 @1 F! [
  222. ; reasons.
    ; m/ t6 i# Z' i% `0 t
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 |5 L7 b/ d3 p5 `
  224. ;   functions.- R2 F. R5 L' }. a
  225. ; Possible Values:' `4 U& |0 B* J0 f/ r
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 |3 \3 J, w! T- J2 z
  227. ;   Off = Disabled
    1 [( Q5 ?2 r( Z
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.5 ^0 k. ]: l3 ~, v0 ?8 J% D2 C
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 \; r, i1 Y3 M- Q9 l0 k
  230. ; Default Value: Off: L* {  F2 Q) V
  231. ; Development Value: 4096: L" i- S- x% @$ ?6 w
  232. ; Production Value: 4096" K% ~9 u$ B5 B* C
  233. ; http://php.net/output-buffering4 }* A0 O% D5 j& U( ]3 S. H
  234. output_buffering = 4096
    0 u6 y( r  V0 g
  235. * S4 f# x: l/ `+ C& L5 P
  236. ; You can redirect all of the output of your scripts to a function.  For
    ; }7 N0 P. S" i9 ~
  237. ; example, if you set output_handler to "mb_output_handler", character3 S! r: ~: |% G
  238. ; encoding will be transparently converted to the specified encoding.2 B- [- }  x- n; Y
  239. ; Setting any output handler automatically turns on output buffering.5 q& H% _: z. y
  240. ; Note: People who wrote portable scripts should not depend on this ini
    5 c* `$ x  a% Q; |
  241. ;   directive. Instead, explicitly set the output handler using ob_start().3 |* c& |  v* {+ n
  242. ;   Using this ini directive may cause problems unless you know what script$ }4 n1 e" s: E$ G* [/ j
  243. ;   is doing.
    , t. b& e3 z: r
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " m# Y: h  a" T# l. Q" L7 W& j
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 V2 c; ]' @* W
  246. ; Note: output_handler must be empty if this is set 'On' !!!!! X4 ^! Y4 f% c% q
  247. ;   Instead you must use zlib.output_handler.
    $ Q/ I! d: `, |  _' t$ i* W2 t
  248. ; http://php.net/output-handler
    8 E. _7 o8 ^4 p: H9 V8 a/ ^
  249. ;output_handler =9 V/ I' `1 j# k3 B" `$ i

  250. . L! p& h6 b& T0 P' F5 J$ @8 u  o; G
  251. ; Transparent output compression using the zlib library
    2 y; X7 t* Z8 ^
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    4 k4 p9 J9 K/ V  b1 o, d1 j  I# W
  253. ; to be used for compression (default is 4KB)* ?# p, ^7 _5 v5 ?
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    0 p  Y+ q7 m$ R4 U- z
  255. ;   outputs chunks that are few hundreds bytes each as a result of- e0 g$ _$ Q) m) N' m
  256. ;   compression. If you prefer a larger chunk size for better
    4 O: H, d3 U; i5 l/ Q
  257. ;   performance, enable output_buffering in addition.
    7 S! r! D0 K# a
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ' J! ~, Q, |% h$ S/ |% |
  259. ;   output_handler, or otherwise the output will be corrupted.9 f; y3 |" v5 }
  260. ; http://php.net/zlib.output-compression
    4 a, z4 H( N* ]# T& W6 R
  261. zlib.output_compression = Off/ T' ?) a/ _7 X" I. u2 Z/ L+ b1 \5 q  D

  262. * \% G' u! H" ?; h3 s
  263. ; http://php.net/zlib.output-compression-level
    + W9 K8 S- r9 `! Y1 S
  264. ;zlib.output_compression_level = -1+ ]0 \  R/ Y+ Q' Q3 X7 ]
  265.   M8 M4 A" q2 W/ v: f
  266. ; You cannot specify additional output handlers if zlib.output_compression
    & Z/ L9 _% T+ J
  267. ; is activated here. This setting does the same as output_handler but in7 y5 v% h3 L- Z  u+ x
  268. ; a different order.
    % e6 a  T1 y3 c% l' ]/ {  X
  269. ; http://php.net/zlib.output-handler
    5 K8 O# _8 O& h
  270. ;zlib.output_handler =3 f+ \1 \% Z9 ?$ B* i
  271. * }: s. i. m& ]7 Q  s0 n( [- [
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 T) Q5 C$ G& D- i- z4 C; A
  273. ; automatically after every output block.  This is equivalent to calling the' p" T) O, _0 Q; b! e% O5 B/ p
  274. ; PHP function flush() after each and every call to print() or echo() and each. e" B" _$ {1 p; l$ a- [
  275. ; and every HTML block.  Turning this option on has serious performance
    " K0 x/ ~8 Y. Z$ M1 u% C4 {; q
  276. ; implications and is generally recommended for debugging purposes only.
    / v+ `5 o% s( u$ H6 w0 {; i4 W
  277. ; http://php.net/implicit-flush' w6 d! h" a6 u1 A: m
  278. ; Note: This directive is hardcoded to On for the CLI SAPI2 T8 S! ?1 p9 l! s' l* A. z
  279. implicit_flush = Off1 c5 Y3 R* q1 a/ O! s
  280. 4 s& N, p' p" {  I8 z( v% h" F5 e6 ^
  281. ; The unserialize callback function will be called (with the undefined class'4 O+ {) ]; n0 {
  282. ; name as parameter), if the unserializer finds an undefined class
    + M* q+ r$ a2 {' l+ x
  283. ; which should be instantiated. A warning appears if the specified function is
    9 H) }- {# m/ m- W, F
  284. ; not defined, or if the function doesn't include/implement the missing class., x8 h* L% y+ e+ V0 D1 k
  285. ; So only set this entry, if you really want to implement such a% r6 K  O/ I+ t) ]& f
  286. ; callback-function.9 c. w6 g! G& y/ G* \6 I# L. M1 h4 N5 N# M
  287. unserialize_callback_func =' |8 P1 V+ f! Q. h- C& S4 ~8 d
  288. . }, X. \7 |! H6 m, _
  289. ; When floats & doubles are serialized store serialize_precision significant
    . j) v7 ^' M% d( T) B: D. ^  c
  290. ; digits after the floating point. The default value ensures that when floats& a. l- U4 [$ `# S1 _' d) h1 I
  291. ; are decoded with unserialize, the data will remain the same.! I, P: G: I) W) W# W
  292. serialize_precision = 17
    & N. a" j, r3 `, ^1 V  l
  293. % R' a/ ~8 n5 S# A# k( `2 f3 L
  294. ; open_basedir, if set, limits all file operations to the defined directory. M' c( m* g3 S' ^* ~7 M) ]8 f
  295. ; and below.  This directive makes most sense if used in a per-directory
    % K8 x8 o. h8 a- |" `$ P5 e; D
  296. ; or per-virtualhost web server configuration file.
    8 c! B. q) s- H& V! H9 q
  297. ; http://php.net/open-basedir: e5 I/ _& m' B9 `0 P
  298. ;open_basedir =
    : |1 f0 W) \! v2 [  D) `, R

  299. : ?: S* ?+ b2 C: {7 w
  300. ; This directive allows you to disable certain functions for security reasons.# G8 a4 h% A5 _2 m6 d
  301. ; It receives a comma-delimited list of function names.3 y* T6 G- `( }; L/ D9 G
  302. ; http://php.net/disable-functions1 R) d9 b% S4 e7 o% n' J
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* b" N( b% o/ \9 J4 ]. i: ]

  304. ; u( [" m, {$ v% f9 e
  305. ; This directive allows you to disable certain classes for security reasons.+ P+ s) D. b( r- k0 Z
  306. ; It receives a comma-delimited list of class names.
    / g* P' A/ \6 }. n7 A2 d
  307. ; http://php.net/disable-classes
    6 x$ I5 N+ f+ Q. R8 I
  308. disable_classes =
    ! t, z% a; s6 A- R

  309.   X6 V' b) @$ c) A6 C7 ~
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    , c+ L9 q8 I: u1 b: n; F" V4 ]; L
  311. ; <span style="color: ???????"> would work.
    % W% A, K- O4 w" I+ t
  312. ; http://php.net/syntax-highlighting# M$ P8 }. ?5 M7 g9 g) W6 b
  313. ;highlight.string  = #DD0000
    / d- V0 K1 V" e9 G( q
  314. ;highlight.comment = #FF9900
    1 D6 n* [# ]6 }7 M+ d( _+ g
  315. ;highlight.keyword = #007700* J1 }! \" V9 c+ M+ s& u, {) {
  316. ;highlight.default = #0000BB- }5 ^+ B- ]# Z
  317. ;highlight.html    = #0000002 y4 `! n3 U7 D, \; g

  318. + P& S, u% C5 q: ~  g! k7 f# P; f
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    1 m8 ~" h" O2 ^: u$ Y3 T2 C' P
  320. ; the request. Consider enabling it if executing long requests, which may end up: w' ^7 Y% g, e% x+ d' c
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 l$ H: a6 e( S* z0 R9 {1 e
  322. ; is to disable this feature.% K8 r$ \/ X/ |
  323. ; http://php.net/ignore-user-abort
    % @4 k1 `' U& j
  324. ;ignore_user_abort = On) q$ q! Q$ A7 a: W+ T$ j0 \7 [
  325. ) i- ^1 K. R; r* l' y* z( h. w8 u
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ' q2 B+ `. o# G% z
  327. ; be increased on systems where PHP opens many files to reflect the quantity of- j8 W$ u/ \. B/ i6 A
  328. ; the file operations performed.
    % R+ A0 t2 p, a$ p- p* X' x
  329. ; http://php.net/realpath-cache-size4 w5 d# ?+ o. K8 f8 Z- {- h
  330. ;realpath_cache_size = 16k
    ! u9 @7 d# z# m
  331. , _- m( Y3 s; \- v9 {5 ?2 K, v
  332. ; Duration of time, in seconds for which to cache realpath information for a given0 p- `% G8 X* k4 Z3 ?" U  r
  333. ; file or directory. For systems with rarely changing files, consider increasing this. G- n1 F4 D% I3 [6 y3 U+ d
  334. ; value.( P1 a7 u3 j- z8 T8 i
  335. ; http://php.net/realpath-cache-ttl
    ) e& e5 x: l+ X# v' [  |1 \/ f
  336. ;realpath_cache_ttl = 120
    , V8 T. @. y& y7 j

  337. 0 d" x* k9 I+ K" R- F. _" R
  338. ; Enables or disables the circular reference collector.
    ) F, U! I1 i1 P5 U' u% b
  339. ; http://php.net/zend.enable-gc
    : H( y  Y) g. ^$ _! ~- V& q
  340. zend.enable_gc = On: Z5 K/ O3 b5 M
  341.   D8 d  X; O8 C, d* Z. p- A
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    " U( z' ~, \% {# B. |
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    . s2 A3 ?" t1 p; Q. {% A
  344. ; encodings.  To use this feature, mbstring extension must be enabled.7 B0 M- l# ~# p( O; A8 n& e, r
  345. ; Default: Off
    ( I# e7 n* ^6 \, {' Q4 [- t0 P& W( _
  346. ;zend.multibyte = Off
    ) C1 W$ ?/ K' M6 U0 G7 Q

  347. * Q. V5 H. u7 H6 O# y# ^
  348. ; Allows to set the default encoding for the scripts.  This value will be used& a! v) v  ~) j; q" l' ?4 G
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 j" g% ?# K8 U* N- z6 R
  350. ; Only affects if zend.multibyte is set.0 u7 C+ i' C% v3 A2 ?
  351. ; Default: ""0 S4 e) P4 S* r4 s( b) h. c
  352. ;zend.script_encoding =, b; P# C" q: Z8 B' z7 d
  353. 6 A# l% o0 w# b2 g: S
  354. ;;;;;;;;;;;;;;;;;
    ! z2 t' R& k" t% m2 F
  355. ; Miscellaneous ;- }) c) I9 S1 R3 e
  356. ;;;;;;;;;;;;;;;;;
    8 R! d" ~5 v, I; Y1 i/ W8 J  e

  357. # M7 b. n5 ^9 N
  358. ; Decides whether PHP may expose the fact that it is installed on the server' L: Z( _4 L: T
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    4 O) b! ^! Z* }& |0 u
  360. ; threat in any way, but it makes it possible to determine whether you use PHP) v3 [8 z3 S' Y1 ^& V
  361. ; on your server or not.
    ) ~6 H5 L  ?7 V
  362. ; http://php.net/expose-php6 T  o8 M! V; t; w8 j
  363. expose_php = On' V# N/ u' z7 ?+ d& [9 _

  364. 1 @! l$ D1 E0 {! I: L3 c" g( T
  365. ;;;;;;;;;;;;;;;;;;;& Y3 {5 S$ `8 j- U, d- a
  366. ; Resource Limits ;
    1 O4 E& q& y& B2 s5 ]
  367. ;;;;;;;;;;;;;;;;;;;, Q3 }0 ^& M/ W7 r/ n" g( \' N

  368. ( h  G3 e+ r. v4 B3 ^8 \
  369. ; Maximum execution time of each script, in seconds
    2 Z9 ?* T- d" M8 y
  370. ; http://php.net/max-execution-time, ~9 |2 x1 L  b' y! ]+ o0 M
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    . B9 u/ M$ T, s: i
  372. max_execution_time = 300; M* P( W6 Y' X% d

  373. " Z( X1 a! L. v, b# }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good6 {* Q, b$ T& P% x7 h3 @1 r3 y
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly, O- ]* b) D  `7 x* |- h! _  a
  376. ; long running scripts.
    * P+ S8 t6 e' p7 l
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI: B/ `! q# f2 u- v  @/ ?9 H0 K
  378. ; Default Value: -1 (Unlimited)1 [% a2 `. \- @% p/ A. r
  379. ; Development Value: 60 (60 seconds)& S, g7 N( e% U! v0 s, t
  380. ; Production Value: 60 (60 seconds)0 C9 _( l7 l+ N/ W5 m* S$ P
  381. ; http://php.net/max-input-time9 u6 N1 U4 b& X  }- {" U
  382. max_input_time = 60
    2 g3 e5 U0 a( m* F6 @0 c0 R

  383. 2 ~  L( L1 F8 h# [0 |5 Y7 ?+ x
  384. ; Maximum input variable nesting level9 D, Y! [% h+ V0 k6 g+ f; c6 g
  385. ; http://php.net/max-input-nesting-level/ P$ _* j% s* Q- m
  386. ;max_input_nesting_level = 64! }) W% |& w# b  h0 P0 Z( W

  387. % v, H* F: |8 P; ^6 k
  388. ; How many GET/POST/COOKIE input variables may be accepted
    , h; s  K2 }7 W/ T1 D0 N9 n
  389. ; max_input_vars = 1000
    7 v7 O' s& R8 S2 h3 [$ J* D
  390. 4 y/ N/ X7 J/ Y  ~! k
  391. ; Maximum amount of memory a script may consume (128MB)
    " a6 U0 s- \" a
  392. ; http://php.net/memory-limit
    6 L4 k  a: @9 n; b! G* _
  393. memory_limit = 128M
    , l4 [! W4 p: z% J) g, n

  394. 0 T/ v( B& P9 ~6 x! @# f
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1 v9 k- o# P. [8 w
  396. ; Error handling and logging ;: x7 L2 O/ }; E3 y/ e
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 F# a4 E# `0 q6 j; K/ k
  398. , U; G) Z  D% i
  399. ; This directive informs PHP of which errors, warnings and notices you would like, c) U; e  A* f
  400. ; it to take action for. The recommended way of setting values for this
    8 m! Z4 n8 b+ L2 a+ A9 s
  401. ; directive is through the use of the error level constants and bitwise; e2 R( {0 p- T7 Q
  402. ; operators. The error level constants are below here for convenience as well as
    ( S% y/ Z; I. r, k) }2 {
  403. ; some common settings and their meanings.
    4 Q3 ?, d; I4 O, a+ [; h
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT: p7 k* H% [& \0 S; O
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 j# O3 J& S! R! \! ]
  406. ; recommended coding standards in PHP. For performance reasons, this is the. f# b, M2 j+ @( l, P
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
      j" i+ J  w# }  ^4 [* C- u
  408. ; resources complaining about best practices and coding standards. That's what# F) ]: z( @! M6 G. S+ L5 n
  409. ; development servers and development settings are for.: D3 q0 s' J$ v+ \
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    % w( L0 u2 Y5 [. p0 m" z
  411. ; means it pretty much reports everything which is exactly what you want during
    ! P' _. B/ D" J9 K0 a- y
  412. ; development and early testing.
    ; U. h5 }6 U6 Q% r4 \5 X
  413. ;" w' O  e# T: q% N1 ^" m
  414. ; Error Level Constants:
    - [) N# F7 H" l. K
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    0 ^" G+ V* g. e/ y1 N# b6 ?8 d
  416. ; E_ERROR           - fatal run-time errors
    5 X& s  X8 \( U# u
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors7 A# P2 ]* a1 o9 N2 Y$ s  _1 u' D
  418. ; E_WARNING         - run-time warnings (non-fatal errors)0 F  x% D8 \+ {6 I+ z/ l
  419. ; E_PARSE           - compile-time parse errors
    # z" c5 i% \- g: b
  420. ; E_NOTICE          - run-time notices (these are warnings which often result& N) u3 e8 ]8 M7 j  w; M. e
  421. ;                     from a bug in your code, but it's possible that it was+ N" q6 z4 h' E% L% _  O' O. ^
  422. ;                     intentional (e.g., using an uninitialized variable and
    3 V8 ?6 a0 ?5 I2 t* N: g* i0 X
  423. ;                     relying on the fact it is automatically initialized to an
    , C& i/ T6 T8 P) }
  424. ;                     empty string). u9 D0 t- N( }7 s( i( s& s
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    5 [8 M' n: X) v
  426. ;                     to your code which will ensure the best interoperability" g; l$ O9 |% M4 c" c; u! [
  427. ;                     and forward compatibility of your code
    7 g% l  [. [" |$ n0 i+ P' P4 q
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 c! N3 y  b" K( T# T
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's" Y6 p; }1 a3 y) W. B9 ^  \% g+ x5 q
  430. ;                     initial startup
    ( u  Y# w0 Q" f7 ^
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    1 ?; t( A# R; D# v
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    , C. E" I* M; f
  433. ; E_USER_ERROR      - user-generated error message
    4 r0 B: |, J* j' c0 }
  434. ; E_USER_WARNING    - user-generated warning message
    ' F" c, P' b3 Y2 F  \( g4 `* K
  435. ; E_USER_NOTICE     - user-generated notice message+ v; X, j* M& }$ |3 P
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    1 {. M9 L+ L- n  L; _0 V
  437. ;                     of PHP
      V3 |" S9 r8 O9 @! I/ x2 V$ ?6 _
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    3 l0 ^( O( f1 p. z7 V
  439. ;0 k) U) p9 F! \# w3 ]5 V
  440. ; Common Values:
    / G) X/ I3 k: s1 q0 L4 D/ B! X6 }& {
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 J5 Q& s& V' i5 d- ^
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)% S, }5 ?- E# w" L
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.). {' B* R! e' A6 v6 E* f, e
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): r. x- n8 K  f# |( `9 N- p4 c- b
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 @7 H  I; ~% R5 D( g1 t- H
  446. ; Development Value: E_ALL
    $ i" l7 A+ R! H9 s4 N3 l3 a4 L4 b
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 A. A" p6 [1 M' j  F$ }  ?6 q7 E" z2 {0 f
  448. ; http://php.net/error-reporting; B/ a2 X" G- r% `  Q
  449. error_reporting = E_ALL & ~E_NOTICE; p2 B( H. S. w' u. J8 L. `& ?- N

  450. & T$ B8 X- N6 w* v
  451. ; This directive controls whether or not and where PHP will output errors,% D# `: x$ l  |* [' O
  452. ; notices and warnings too. Error output is very useful during development, but4 }6 T' V' H/ [
  453. ; it could be very dangerous in production environments. Depending on the code
    5 p2 ^2 o5 I7 D0 d: _' J8 {
  454. ; which is triggering the error, sensitive information could potentially leak$ p, R- T8 V1 P- J
  455. ; out of your application such as database usernames and passwords or worse.
    6 h1 e& o. e# J, F
  456. ; For production environments, we recommend logging errors rather than  m$ h2 o" O9 g1 |/ N. N
  457. ; sending them to STDOUT.
    4 k& W& H  s1 [! d  m' V
  458. ; Possible Values:. z* s7 w/ P+ w) Y7 c5 i3 R2 f
  459. ;   Off = Do not display any errors
    5 `. q  x; c) T* m
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)9 j' b+ \9 _& Q3 ?- x; ~+ e( ^
  461. ;   On or stdout = Display errors to STDOUT6 c% Q! h9 b* o6 Q) C8 [
  462. ; Default Value: On* n! p, |7 v. v+ }4 z4 i! |% B8 M- q
  463. ; Development Value: On
    8 a7 H1 U0 D8 `
  464. ; Production Value: Off2 s7 W. O* x2 ~2 ?
  465. ; http://php.net/display-errors! Y1 t3 l/ d1 D& r6 v1 D
  466. display_errors = On
    $ r6 K& M' J7 Y
  467. 5 _: A: `9 D2 |* d8 Z& I# m) ~3 R$ R
  468. ; The display of errors which occur during PHP's startup sequence are handled: j* U7 Q; c" q+ R+ b
  469. ; separately from display_errors. PHP's default behavior is to suppress those$ A8 g  h$ B& O4 [2 N2 J) U
  470. ; errors from clients. Turning the display of startup errors on can be useful in* O* J* r9 \, \2 p$ \: k+ u
  471. ; debugging configuration problems. We strongly recommend you
    ( R& x& z% C- i: f- ~
  472. ; set this to 'off' for production servers.
    . j: ^: j0 x1 v6 e# {; O9 d
  473. ; Default Value: Off
    2 Q0 o  @. e/ n* S
  474. ; Development Value: On$ d5 O+ m  c' c
  475. ; Production Value: Off
    8 ^5 f3 |0 Y0 q* \( O: V
  476. ; http://php.net/display-startup-errors/ A4 Y  _1 B% a$ ~' E6 y
  477. display_startup_errors = Off, Q" a/ p+ ~' y, ?0 ^1 \7 ~: K
  478. 9 Y& E3 A4 e0 `+ o8 q! W  ^( Q
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    $ B* _' B! y7 x, V
  480. ; server-specific log, STDERR, or a location specified by the error_log# F% u7 I3 @9 X( |$ E  W
  481. ; directive found below. While errors should not be displayed on productions
    % m) S7 S5 ^8 J( i, ?% v' P$ G. S0 Y
  482. ; servers they should still be monitored and logging is a great way to do that.. N! ]5 Y6 j" O1 q  m$ w0 J4 `
  483. ; Default Value: Off' B) v$ m0 b( y0 I2 t7 c, ?; I
  484. ; Development Value: On
    & t& ~% X  l  M
  485. ; Production Value: On
    $ k  ], r. T+ o7 j6 S6 p
  486. ; http://php.net/log-errors: p8 l. e1 I1 q/ ?+ F4 H
  487. log_errors = On
    2 E, X) l' u  a
  488. $ h/ p0 V% M9 @1 a; {# x/ g
  489. ; Set maximum length of log_errors. In error_log information about the source is- g; w0 e2 ?+ z2 G
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all./ K: n0 |( U3 R" m) h7 w
  491. ; http://php.net/log-errors-max-len! P" R3 }! V4 I; C  M/ ^
  492. log_errors_max_len = 1024
    , L( ^( Q9 _2 \& I( `$ ?$ `$ X
  493. ) e$ P/ k8 v) }# b
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same, U! ?) u! Z2 t, `
  495. ; line unless ignore_repeated_source is set true.
    : ]; l6 h- f  `* O7 X+ `
  496. ; http://php.net/ignore-repeated-errors. k4 J0 |: h  c+ H4 E
  497. ignore_repeated_errors = Off1 g& K9 _+ R8 P$ a* @
  498. 9 M1 q% I9 F) V
  499. ; Ignore source of message when ignoring repeated messages. When this setting$ `. C8 T+ J+ G1 c0 d) w% y1 F* Z* `/ L
  500. ; is On you will not log errors with repeated messages from different files or& ?, h+ B) ?/ s5 \2 F5 w9 b4 F- }
  501. ; source lines.
    5 q2 @& P# I/ H$ F8 }3 D
  502. ; http://php.net/ignore-repeated-source
    $ I" \. o- s8 C: G4 E3 u# v5 I
  503. ignore_repeated_source = Off; q1 A( L' ?  s' w% h( t" Z

  504. - m; `+ ^9 R4 J. N
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on1 t7 B1 h4 W. M0 F% J  t' l! [* e, z
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    9 \! u- d8 i- j! e0 `
  507. ; error reporting includes E_WARNING in the allowed list3 I" y9 B+ @' Q9 X# X+ Q3 Y
  508. ; http://php.net/report-memleaks7 g9 P+ r; g. c
  509. report_memleaks = On
    # p, O8 o: B& M' h% U

  510. 3 O' l' n" l! ~' A/ R' \
  511. ; This setting is on by default.& O, l# A8 A* G1 O0 w; W6 w( q1 F, m( Q
  512. ;report_zend_debug = 0
    + u" `; o2 k7 ?2 ^* d! P

  513. - v" E8 X& x/ H! y- y
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value, V' p1 K) E5 f  I( q  P
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    . E6 X8 Y9 a9 m( b, T1 _+ a
  516. ; however be disabled on production servers.: m/ q3 x# m3 x# ^
  517. ; Default Value: Off! l# p( }8 [+ d- F' z# r
  518. ; Development Value: On
    * h' D9 a* C5 }
  519. ; Production Value: Off
    2 G" V& @/ @( ^
  520. ; http://php.net/track-errors
    6 j  p* t" u6 F) E( ]; [
  521. track_errors = Off
    + i) ^, M9 z3 m- w4 i( W
  522. 4 W6 `5 f  z% I4 {
  523. ; Turn off normal error reporting and emit XML-RPC error XML$ [. u# g/ z1 d# I
  524. ; http://php.net/xmlrpc-errors
    2 z3 f3 Q. ?# c3 k
  525. ;xmlrpc_errors = 0
    . a1 `8 [) G( p
  526. ' w- L+ e* L9 V' ^7 H% e7 G
  527. ; An XML-RPC faultCode
    + ~+ m' X' u1 V. Y$ Z( X. ^& b$ Z7 T
  528. ;xmlrpc_error_number = 0; R6 T! X! B2 L2 M% L% M

  529. + m7 b0 h$ A3 T) h/ {; O
  530. ; When PHP displays or logs an error, it has the capability of formatting the2 }0 }( l6 ]7 }; M3 W) M& o7 |
  531. ; error message as HTML for easier reading. This directive controls whether; |  J4 G6 H; N, X
  532. ; the error message is formatted as HTML or not.- t. ~7 C% ~5 b6 r: P4 l
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI: t5 y4 N% @* k$ ~9 q
  534. ; Default Value: On
    3 F" {  M6 m1 J. [0 C& I
  535. ; Development Value: On1 G( I% k- ]! P6 P* G
  536. ; Production value: On
    / z* t2 _4 K6 j. ?3 ~
  537. ; http://php.net/html-errors1 e" ~7 }0 X! O+ o, D0 ^
  538. html_errors = On
    , M( s9 E( {4 P, x

  539. ( \# M) j$ B- o* j, {6 Y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    6 ]7 X% j5 N: x6 S* c! x; ^
  541. ; produces clickable error messages that direct to a page describing the error
    - V. w( Y; e' @( M$ M
  542. ; or function causing the error in detail.
    * ~* g* D7 O* S# c# g; y; T$ i: |4 n
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    * y4 m) p1 s/ }" A7 R
  544. ; and change docref_root to the base URL of your local copy including the. T( W7 x9 T) [/ y, g- ~
  545. ; leading '/'. You must also specify the file extension being used including
    : V7 y" K2 o8 X/ I6 P; J
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which. s, }2 e1 {" l/ w- M( R
  547. ; case no links to documentation are generated.
    , j* \6 j3 [: A& h- u
  548. ; Note: Never use this feature for production boxes.3 E2 |9 W; `! e( z3 K) @4 R$ i
  549. ; http://php.net/docref-root
    , m4 U, Y& v, H0 s  X
  550. ; Examples
    ) v9 p4 Q9 R. E+ O& |$ |! j
  551. ;docref_root = "/phpmanual/"
      B% e7 `: G+ A# n* N
  552.   q; |" w; g" |( }) u
  553. ; http://php.net/docref-ext
    0 }1 \% B6 L0 C( V' U  d' \4 o8 d
  554. ;docref_ext = .html( E% P- ?6 }/ t& P$ i
  555. 6 z* I. ]+ g3 n3 o! T; N
  556. ; String to output before an error message. PHP's default behavior is to leave
    - ]4 L7 G. A( X2 O- R. E
  557. ; this setting blank.
    & O9 F' U3 k# k3 \" B
  558. ; http://php.net/error-prepend-string2 I+ L7 _4 m3 G& A/ m4 _% C
  559. ; Example:- S  x- q8 y( h* o) @0 [
  560. ;error_prepend_string = "<span style='color: #ff0000'>"# x5 h( I  X: E( o
  561. / z5 P3 a' x, n9 a1 s
  562. ; String to output after an error message. PHP's default behavior is to leave
    5 E, j4 ~1 B, T
  563. ; this setting blank.
    ) L  v* h: x/ l  }) ~  u
  564. ; http://php.net/error-append-string8 s7 n! V- L1 {& I
  565. ; Example:
    3 W% `- M# n7 ?$ N5 [
  566. ;error_append_string = "</span>"
    9 X. @! _" ^' P! y' R

  567. 6 |" j3 V9 _4 r. _
  568. ; Log errors to specified file. PHP's default behavior is to leave this value! n! B- ?! n2 y1 p/ C1 c( q
  569. ; empty.
    . B* s' z. B# W, F$ b
  570. ; http://php.net/error-log$ H9 b, d9 F1 \* e) h! q6 D# x8 X1 z
  571. ; Example:3 Q4 e# a( A0 \  m# A. C( d/ S
  572. ;error_log = php_errors.log
    8 r3 H: h8 G9 w2 C% R! v: V" o( I2 \8 H
  573. ; Log errors to syslog (Event Log on Windows).
    / g+ v0 e9 W# A
  574. ;error_log = syslog& B5 H& L- i. N* y7 f: k( j1 y

  575. . `) e: u$ G/ c! r1 Q
  576. ;windows.show_crt_warning
    - w- \6 I& N: z- X
  577. ; Default value: 0
    ' k; ^# l% a/ H$ h' U2 S
  578. ; Development value: 0' Q+ |8 B( J0 C$ O
  579. ; Production value: 0
    . c1 X7 I% \* H- G/ P  M) Y; x7 {( Y: v* ?

  580. ) e1 k' o4 X3 R1 m
  581. ;;;;;;;;;;;;;;;;;( M" V& u  |6 X. Q) U! j, m) U
  582. ; Data Handling ;
    ! ?5 a% q! p5 F$ \5 |' U
  583. ;;;;;;;;;;;;;;;;;0 d! a1 ?* s0 c/ M4 L. y

  584. : x0 c5 G4 w- u* g' i& p3 W1 y% k
  585. ; The separator used in PHP generated URLs to separate arguments.% I- u) R7 x. {  q
  586. ; PHP's default setting is "&".3 u4 h& y) D* T8 i) Y# w! Z
  587. ; http://php.net/arg-separator.output# e% H- B' X) Q5 R+ X
  588. ; Example:7 x) m6 I: C- G( i* A( f' `
  589. ;arg_separator.output = "&amp;") t8 M1 o( E6 R/ Y# S
  590. % v' Y) P! f( Y: F8 j
  591. ; List of separator(s) used by PHP to parse input URLs into variables.$ m/ D- @' K+ J) p/ [/ c/ [. a/ k, Z
  592. ; PHP's default setting is "&".
    0 ~0 Z/ I* }4 K9 J9 U3 z) P
  593. ; NOTE: Every character in this directive is considered as separator!# k, i. N1 s& ?4 _
  594. ; http://php.net/arg-separator.input5 W) x+ ~0 R/ r2 r. ]3 R1 n
  595. ; Example:& t; Z% Q9 S! L+ `9 Y5 s
  596. ;arg_separator.input = ";&"% a1 s. @+ J  B4 x! r/ K8 D) b
  597. / ]8 ]7 v3 _* ]$ ~2 @  a
  598. ; This directive determines which super global arrays are registered when PHP/ N6 ^; }( M! V) a: |3 ]1 z
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 U7 I4 u8 P0 e- b3 g
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( v) k$ V) R0 X' \
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    8 T! ~& ?6 ^& B% @2 ?: A- P% i
  602. ; used as the others, ENV is not recommended on productions servers. You6 v: }, X+ u0 n6 V5 N
  603. ; can still get access to the environment variables through getenv() should you$ E& z# W" q2 r$ q4 P" ?
  604. ; need to.
      b9 c# Y# N( w
  605. ; Default Value: "EGPCS"
    7 ?6 C" ^% D* r& t/ J" P1 O
  606. ; Development Value: "GPCS"
    0 N. ^5 D7 b3 U; j3 z3 i5 Z
  607. ; Production Value: "GPCS";9 ^* o, x& b9 Z# d
  608. ; http://php.net/variables-order
    3 h5 ?( a4 ~4 m
  609. variables_order = "GPCS"
    3 W3 \4 y5 V& v
  610. 4 H- q9 x" V7 a: u! {' H3 N
  611. ; This directive determines which super global data (G,P & C) should be% v- Z/ f8 A; d; {% @
  612. ; registered into the super global array REQUEST. If so, it also determines) t+ i' @3 E9 {$ U: L% T8 Z
  613. ; the order in which that data is registered. The values for this directive5 b+ l/ l$ ^4 d5 a( \7 \, |6 u1 o
  614. ; are specified in the same manner as the variables_order directive,
    ; A9 R" J: }  i! ]2 c% F% \
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set7 F' Y. p: ?$ i1 v$ z6 \. p  ^1 J  D& H
  616. ; in the variables_order directive. It does not mean it will leave the super# w6 A( H# a% k4 g5 I5 z
  617. ; globals array REQUEST empty.
    5 F( a* Z) Q  a
  618. ; Default Value: None8 L" M1 g- |* Y, u3 F  W5 O$ a
  619. ; Development Value: "GP"
    # j+ ?0 g, p" T) Y7 ^
  620. ; Production Value: "GP"- D) X8 x1 ?  h& k' [2 [
  621. ; http://php.net/request-order
    9 L+ ^  b) X! v$ U
  622. request_order = "GP"# y$ v$ X+ M2 J) ~0 B% h
  623.   w9 \% u2 ~& q
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    8 O* y% F: }, a1 X' H6 A" [! e0 ~; f' }
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script0 G! R! O5 F- W6 d8 V
  626. ; is invoked. $argc contains an integer representing the number of arguments
    . o1 v( Y  r) Q! B$ F" |# Q
  627. ; that were passed when the script was invoked. These arrays are extremely3 T6 X" [' D) _6 I- P3 x& x
  628. ; useful when running scripts from the command line. When this directive is
    1 n2 j1 l! |0 \% Q7 J" e) p
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    4 X  ~/ \8 z- o( `! X* f  Y) Q
  630. ; a script is executed. For performance reasons, this feature should be disabled1 [% e0 j# u. E  k, a$ a
  631. ; on production servers.
    ! F, t% o8 j+ A2 D
  632. ; Note: This directive is hardcoded to On for the CLI SAPI6 B; y9 h& ?8 x
  633. ; Default Value: On# X( E+ }6 f/ N; X
  634. ; Development Value: Off: J# ~+ k  T8 B6 |- G/ L
  635. ; Production Value: Off
    / Q6 B: `1 u( o- p9 R, N
  636. ; http://php.net/register-argc-argv
    ; w& _7 n; [( V6 R! z+ K
  637. register_argc_argv = Off( `5 y6 e8 d/ P7 b, j0 s' I
  638. ( X6 F9 W/ L) H  C* Q3 t
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're* `6 g' K/ z6 n( d. H6 Y' h8 h* W
  640. ; first used (Just In Time) instead of when the script starts. If these
    ' x! s& z6 U2 ]
  641. ; variables are not used within a script, having this directive on will result  p2 w1 g/ c% z# ^: ^" i
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled7 t6 R7 U( V9 v0 l% Z# \
  643. ; for this directive to have any affect.2 @/ Q( ?% @4 q8 e( q" b% r* j
  644. ; http://php.net/auto-globals-jit
    & M5 ~7 m) t2 v  B* P5 j
  645. auto_globals_jit = On
    2 t' j( I) o. G+ D' q5 f3 I
  646. ( ^" ?% i  {1 ?9 F& R9 ~5 U
  647. ; Whether PHP will read the POST data.6 x+ N) J$ d! }5 }5 O, T/ a
  648. ; This option is enabled by default.
    / w  K& x# b4 J5 d( c
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    - F1 U6 x  w2 g
  650. ; and $_FILES to always be empty; the only way you will be able to read the1 ]5 ~3 K$ ^  a- Y
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ' L# e6 Y. ^, _" h
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.! K) v5 E4 b+ n! C* B) \8 m( J
  653. ; http://php.net/enable-post-data-reading- h; B- N( G8 n, M$ @/ I8 }7 d) z
  654. ;enable_post_data_reading = Off
    6 F9 a3 r4 a0 \) I& a# z7 R
  655. 0 o+ M3 E. [, U) l% L+ B  X
  656. ; Maximum size of POST data that PHP will accept.
    9 O1 i/ r6 J; c
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 x( [9 S& P8 d- w9 @  J* \
  658. ; is disabled through enable_post_data_reading.$ a! \; E# M( p1 A
  659. ; http://php.net/post-max-size$ F4 W2 X/ `7 o( y6 B5 n$ D
  660. post_max_size = 50M
    % }6 q& t/ [' Q* b6 B6 l/ X# p
  661. 4 L8 T8 D( s' F: |6 M3 c
  662. ; Automatically add files before PHP document.2 u% ?5 k# J5 q. U
  663. ; http://php.net/auto-prepend-file
    - S! H; p, O( T; Y
  664. auto_prepend_file =7 Q# {( g6 p( {1 h; \" m
  665. " B, g! X" \$ O, S( y# Y! y: h( C
  666. ; Automatically add files after PHP document.
    6 D5 H9 ?7 q( y% O! w+ h3 X
  667. ; http://php.net/auto-append-file
    / K6 i5 o. }% H2 O1 x3 `
  668. auto_append_file =2 q+ [' ^! w: r8 m6 c" \1 K/ E
  669. * Q3 ]( F( E% C! N
  670. ; By default, PHP will output a media type using the Content-Type header. To
    0 k: [* B% h0 N5 l6 H0 {
  671. ; disable this, simply set it to be empty.1 o& H3 z  Y# ~, s8 l
  672. ;
    ) X$ d) K. z- }; A
  673. ; PHP's built-in default media type is set to text/html.& q# r* ~' K0 e, e, Y% F
  674. ; http://php.net/default-mimetype' g  C) U  u1 J' k7 u
  675. default_mimetype = "text/html"
    ( z0 q( `* C' g7 X, B  s- m

  676. / I6 V- O; w* j9 S: t4 V
  677. ; PHP's default character set is set to UTF-8.
    9 d2 N" g2 k  o+ \% X9 O- O
  678. ; http://php.net/default-charset$ ^1 d7 d; y, O) a/ z! i" n0 N+ ?0 r
  679. default_charset = "UTF-8"
    2 O' j, G1 O. k4 l2 T
  680. ; Z/ E0 t. b: U4 K
  681. ; PHP internal character encoding is set to empty.3 ]8 \0 X$ @/ W4 e- z
  682. ; If empty, default_charset is used.
    0 y7 U- _+ t# \6 Y8 |
  683. ; http://php.net/internal-encoding. I. V7 C$ L6 g5 j9 _
  684. ;internal_encoding =, c3 g" p# T, C+ x& L0 r4 y3 H5 E

  685. 0 \5 g# N3 @3 }+ E
  686. ; PHP input character encoding is set to empty.
    7 x1 P5 D; w) n* K1 l' W+ I+ P
  687. ; If empty, default_charset is used.
    2 z. q6 K7 w! ~3 c$ [) \
  688. ; http://php.net/input-encoding
    ' G; T, B# O) v4 X* q7 v( n
  689. ;input_encoding =
    4 l1 F& F) p/ h0 l0 e
  690. 5 c6 `5 N6 r, y2 ]! e
  691. ; PHP output character encoding is set to empty.% j1 l" N5 [  o9 M1 D
  692. ; If empty, default_charset is used.2 b. P5 R% M% Z- T; Y, E6 U6 n, \
  693. ; See also output_buffer.: C# ~# R' _$ e* ]: a5 \7 I
  694. ; http://php.net/output-encoding" X6 H) L3 H, G! w  H
  695. ;output_encoding =! v1 b. }4 w' ^- z3 b6 Q! a8 c
  696. 7 ~# H3 @) q# B0 _+ v
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is) l5 h" F% i; |) L+ y
  698. ; to disable this feature and it will be removed in a future version.
    * N: j) W8 u5 p& \: Z8 u  b/ o. W
  699. ; If post reading is disabled through enable_post_data_reading,) Q8 g, M# |  U4 e4 U1 q
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.( S0 K) e$ d  i
  701. ; http://php.net/always-populate-raw-post-data
    : N- l  z" H) U( d- m/ ]
  702. ;always_populate_raw_post_data = -1
    ( j) l! U* c& n8 E$ y. \8 x, e
  703. & ]: L2 R: s4 V3 p
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;' ?3 f' U% N* J/ J
  705. ; Paths and Directories ;2 P* G+ s- v3 r+ J& X- e0 J
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 u) p4 `1 o! a/ v8 I4 v

  707. / T6 C/ y/ v1 T
  708. ; UNIX: "/path1:/path2"# J, _# _8 h: ^+ r% ?0 v) [/ t+ U0 R
  709. ;include_path = ".:/php/includes"
    / |& m2 E+ ^, v
  710. ;( u7 Y4 j' c( I: G3 S) B
  711. ; Windows: "\path1;\path2"# m3 t* E2 w+ I7 k. ]6 b
  712. ;include_path = ".;c:\php\includes"
    ( @) w# Y& Q. ]8 {  q+ s
  713. ;5 ^" S" R; c; Q1 \3 }3 M, m; l6 \1 u
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    8 j+ g5 k( \: b; B+ F) {8 \
  715. ; http://php.net/include-path
    % O" K$ v. P# J: ?! ^2 W3 Y

  716. 8 f9 T7 E5 k# f0 O( t( d
  717. ; The root of the PHP pages, used only if nonempty., D0 P9 f( g2 R9 G
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root" Y% s% O2 ]$ L/ l# X8 G* G
  719. ; if you are running php as a CGI under any web server (other than IIS)/ S. Y  b9 S& R1 ]+ v: w3 `0 L
  720. ; see documentation for security issues.  The alternate is to use the  G' A7 R, h* ?$ p2 f1 B
  721. ; cgi.force_redirect configuration below
    & Q) a% G# }) W& q8 c+ E/ m
  722. ; http://php.net/doc-root1 ~9 `; z% O4 }) K9 `* d0 x
  723. doc_root =$ g% Z5 T4 k# [1 I7 g5 \

  724. 2 E+ e$ D# j7 i
  725. ; The directory under which PHP opens the script using /~username used only
    0 ^/ N! G6 V' h! @" m% m5 o
  726. ; if nonempty.; G; x8 ?4 A- O4 c/ `# `% l
  727. ; http://php.net/user-dir
    $ O" U1 u) G& A; ~
  728. user_dir =
    1 r+ `1 I4 V. v! m
  729. ; R) J- T; q- p, m. c( o
  730. ; Directory in which the loadable extensions (modules) reside.+ b9 U$ K( r- V$ X9 w2 L
  731. ; http://php.net/extension-dir
    " ]% L8 u, e1 w) a9 h; |
  732. ; extension_dir = "./"1 ^! Q3 e3 _  p6 c  U- \
  733. ; On windows:
    % V2 D5 a# G, e
  734. ; extension_dir = "ext"% T! Z8 s) n/ D) J* N* u
  735. + H) {8 N9 W. S' a0 Q1 i7 j3 P" Q
  736. ; Directory where the temporary files should be placed.
    # g, Z% {+ O- j) A% D
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ' N4 W9 Q1 _# |/ Q
  738. ; sys_temp_dir = "/tmp"
    : x( C! n& N1 ]. s/ c/ r% l5 o8 ?, @, _

  739. * ^) u9 o2 X: T- ~& m- H
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ) m5 h" R' d8 c
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically2 P6 I# u; \# E% c
  742. ; disabled on them.# f% [5 {1 n6 o2 [" w
  743. ; http://php.net/enable-dl8 ?0 s. }1 ]7 L- ^
  744. enable_dl = Off  U. k+ O( l( f% x( {
  745. % E; T. u0 Z$ f& K& O0 [
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under% ^0 d# ]. O3 f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
      C- T* N+ m, U! ?
  748. ; turn it off here AT YOUR OWN RISK
    7 p8 }9 E0 t4 ~" _5 h
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 [8 L) M# S0 c
  750. ; http://php.net/cgi.force-redirect% C* O: o4 z4 w' ]+ [, J7 c
  751. ;cgi.force_redirect = 1
    2 m+ }/ S, h5 F" n5 E+ W8 i3 N+ y

  752. 3 j- y8 q# f9 @" v: P
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with9 E7 a9 W! |3 }) i7 h
  754. ; every request. PHP's default behavior is to disable this feature.
      K% p( ]7 `( [4 G9 n
  755. ;cgi.nph = 1( v0 j/ |, R& P

  756. 5 [# o; }. n  F" p+ b6 C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape9 r; ?% S, _' A1 p
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP; h- l( x# x3 t+ b# e
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) E/ z; J: w7 x1 \3 `, n: [
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # m7 z' _9 m/ I
  761. ; http://php.net/cgi.redirect-status-env
    ! v  \. W8 b1 R  g$ E6 D3 H; J
  762. ;cgi.redirect_status_env =6 O  y# Z, J$ _
  763. ! n' ~& a. j, a- N: u3 N* i. [
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" e1 Y' ?1 V5 I* a; P
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* F; w& A0 C+ H) s3 f
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 |: b: l  J! G$ T9 A9 E4 q$ b& G
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting$ G2 _8 i) \3 V4 R8 C
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts( O( |/ l0 B/ ?$ J# C# N
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.! p8 n9 {% ^/ ?( i6 P
  770. ; http://php.net/cgi.fix-pathinfo: W$ l  W$ ~% i) I
  771. cgi.fix_pathinfo=1
    " G% a' N/ {/ |3 t* e* P8 r

  772. & J1 E2 \( i- a9 ?
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 D; ]7 E2 {% Q5 L
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( [% N0 o4 d" D- n
  775. ; http://php.net/cgi.dicard-path
    0 H6 \6 T3 X3 d. z0 L7 ?
  776. ;cgi.discard_path=1& z$ m1 b3 B; K0 [4 X% i) h
  777. $ P( n" o" I* X: `- w* k
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate& G/ P9 g& ~) m4 J) j& T
  779. ; security tokens of the calling client.  This allows IIS to define the  O# L% g  J) D1 \
  780. ; security context that the request runs under.  mod_fastcgi under Apache* a3 D& p8 t' ~0 V  y
  781. ; does not currently support this feature (03/17/2002)' \1 w/ h  F  p2 ?
  782. ; Set to 1 if running under IIS.  Default is zero.
    7 H( r6 O1 Y9 l. ]' @+ ?
  783. ; http://php.net/fastcgi.impersonate
    # F% @2 e' d6 T; Z0 o  J! F9 t
  784. ;fastcgi.impersonate = 1
    % v; a: i9 P. ]$ {' y
  785. 0 k3 H  {2 x9 D+ H1 _* H- z# d) j! e
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* n/ w5 Q8 {$ r
  787. ; this feature.
    8 f, N4 p# B* x; ~$ k
  788. ;fastcgi.logging = 0
    0 Y3 }# Z8 C7 k. N+ P) P' A
  789. 2 }9 g7 F% H, B7 T5 k7 A- q. `0 k
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    % h7 _* d! m: K7 r3 [- g7 n- @. }# l8 m
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    6 C+ Z4 z1 f# {7 w/ C( _; c
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    # \5 W" g. e7 u) k
  793. ; RFC2616 compliant header.
    7 J1 C9 d2 l3 U, ~6 z5 l  C
  794. ; Default is zero.
    0 E' \0 t# S" O# f  [: v
  795. ; http://php.net/cgi.rfc2616-headers" T. O9 \4 t) R% M. H1 }) Y& b4 g
  796. ;cgi.rfc2616_headers = 09 G3 s- p8 \$ h, m' i
  797. / I, T, g  U9 b% C" y3 Y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!; g( r! G! P. Q8 d: L6 Q3 y
  799. ; (shebang) at the top of the running script. This line might be needed if the' ^" g7 k9 F  [( E4 e3 e1 \5 e$ h
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI5 }& ~# E7 f5 l# z7 s) ^
  801. ; mode skips this line and ignores its content if this directive is turned on.
    9 q5 t5 H, L; g2 V
  802. ; http://php.net/cgi.check-shebang-line
    ' Y$ E7 T& C% l: E
  803. ;cgi.check_shebang_line=1
    ! M6 S9 {, [2 S
  804. 2 r6 @3 W6 q6 Z3 e" S8 }0 N0 n
  805. ;;;;;;;;;;;;;;;;$ k% N1 b9 B3 d/ |  x
  806. ; File Uploads ;
    $ s  E1 t8 ~$ u* A$ ~. E3 _
  807. ;;;;;;;;;;;;;;;;
    ! M) D6 S' c. Y( y

  808. $ {9 j0 R1 F0 ], ^0 T0 W
  809. ; Whether to allow HTTP file uploads.
    ; Y0 O! e, U, J, L2 S
  810. ; http://php.net/file-uploads
    9 `  q2 L' Z: g- h  F& S
  811. file_uploads = On
      }- i' t$ Y+ G, U+ y2 c6 M" k' x

  812. * K- ~6 K: @# d
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ) @) K" m4 Y3 G/ B
  814. ; specified).+ s; x4 t) H. T6 e
  815. ; http://php.net/upload-tmp-dir
    4 l& H# [! g& [4 O' t
  816. ;upload_tmp_dir =% f5 Z( J) u0 l( z7 F2 t: j1 L

  817. ; _; M+ k2 m( P. r6 L; l" L
  818. ; Maximum allowed size for uploaded files.
    * O) Z; [# d% u( f6 r
  819. ; http://php.net/upload-max-filesize
    4 E5 w5 \3 \8 x: C5 }
  820. upload_max_filesize = 50M1 p1 V' C( a# I

  821. 1 E' _2 a- D# V# s8 }, S6 e
  822. ; Maximum number of files that can be uploaded via a single request. Z9 n& O. S' Y% o% {% q$ o
  823. max_file_uploads = 20
    : @7 Z. S" D# t

  824. 7 }9 l. P; J% K) T
  825. ;;;;;;;;;;;;;;;;;;$ x8 W  I- J: g2 @6 T/ N7 J( Y( X
  826. ; Fopen wrappers ;- u: Y9 e# s: Y2 _: n+ n' U  h
  827. ;;;;;;;;;;;;;;;;;;
    6 L8 v. b$ h& I! a' e8 E
  828. ! V/ \% A( Q4 @, g
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.0 W. @% z! J, m1 i( k1 w
  830. ; http://php.net/allow-url-fopen
    , t' Y$ j5 h% h- x
  831. allow_url_fopen = On
    ' d+ p9 \4 T9 k: W. L
  832. ) I4 d( }- \& Q
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    4 J0 f& b- m" x
  834. ; http://php.net/allow-url-include, i5 \3 O/ y  |' O0 ?$ n
  835. allow_url_include = Off  J' }, m+ F  m' C$ ]- |
  836. 0 M2 e" ]  K; a! U+ }! K& {
  837. ; Define the anonymous ftp password (your email address). PHP's default setting( G) V1 a: i9 G1 S, x! e5 D
  838. ; for this is empty.
    ! c2 d' a/ ]) ^. d% |) }; c1 x7 R
  839. ; http://php.net/from* `; J9 u! j* u2 n& S; u6 O3 ?! {7 h
  840. ;from="john@doe.com"
    2 v6 o! {( |" v% p6 D0 n4 W# a

  841. 6 G  d7 v' t/ F. A0 {5 F: G
  842. ; Define the User-Agent string. PHP's default setting for this is empty.; E! R) w+ Z$ A$ k
  843. ; http://php.net/user-agent
    4 d+ {: u& {+ c% r# G8 C( W! B
  844. ;user_agent="PHP"# b- l+ J$ ]8 J& w: X
  845. + Q- m' w1 V  D" F
  846. ; Default timeout for socket based streams (seconds)/ N! J( {. [' I$ o. \$ r
  847. ; http://php.net/default-socket-timeout
    / e# `- ]+ M- E  c& v
  848. default_socket_timeout = 60
    , ~/ l  Z# {0 R3 T) ?( y; u

  849. & P& O6 \$ z" R7 ?8 R: b. l2 |: f
  850. ; If your scripts have to deal with files from Macintosh systems,
    1 _0 I) I! m& h7 C
  851. ; or you are running on a Mac and need to deal with files from2 z9 o1 p9 z! G# j
  852. ; unix or win32 systems, setting this flag will cause PHP to4 k5 I% a; \7 L7 F9 x
  853. ; automatically detect the EOL character in those files so that
    6 o3 U# j) k4 ~- C8 Z3 M$ o. Y
  854. ; fgets() and file() will work regardless of the source of the file.' J$ F$ X2 }& P& N
  855. ; http://php.net/auto-detect-line-endings
    ! K7 t# E4 b( H" i" W. f
  856. ;auto_detect_line_endings = Off
    " q. Z( Q$ V; d# f
  857. & ~2 n0 W$ i& Y3 l
  858. ;;;;;;;;;;;;;;;;;;;;;;( q* e3 ]1 @6 q/ n8 d8 y) U
  859. ; Dynamic Extensions ;
      r9 D, N5 H( J$ g& J& \
  860. ;;;;;;;;;;;;;;;;;;;;;;" @& B) r' i  n2 a8 l9 A2 e
  861. 7 D9 g$ }( u0 V" A
  862. ; If you wish to have an extension loaded automatically, use the following
      x0 O* C0 Z9 L
  863. ; syntax:- b" e9 Q, f, d% i' I/ x) Z8 B% ?
  864. ;
    ( S5 W+ c5 n( M, K8 P- Q6 M9 J
  865. ;   extension=modulename.extension  m) j( Q; G+ Q- e9 j" j
  866. ;9 \  j# s" w) U5 v% l+ t, h1 I) c
  867. ; For example, on Windows:
    1 p6 ]8 Y2 c- _" X1 s+ n5 }
  868. ;9 X; V) X! Z3 [  ~
  869. ;   extension=msql.dll
    - M! a% ]' T8 t3 X, ~7 }
  870. ;
    * F* }6 E) ~$ ?, l
  871. ; ... or under UNIX:
    2 ~1 Y  P) z# G4 v5 S6 [* h* W* P
  872. ;! {: s0 X0 P) O  V
  873. ;   extension=msql.so
    % m& n. O5 `( y
  874. ;, {. d9 b% [  F7 y
  875. ; ... or with a path:
    , a0 K1 f* b" r
  876. ;- J9 F) u2 }2 Q0 S
  877. ;   extension=/path/to/extension/msql.so
    7 S5 K% f* b* q' m6 p
  878. ;
    7 K  G5 \9 }" h  \8 O6 b$ x( V# ^
  879. ; If you only provide the name of the extension, PHP will look for it in its  g) T- i1 b) B1 d& k: p
  880. ; default extension directory., a- a# M+ n$ b# o# I% P8 X
  881. ;5 {" O8 ]+ b6 c$ L2 J0 f+ O3 ]
  882. ; Windows Extensions  W6 D- v6 K3 B* m$ Z# A
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    # O9 p3 s0 _2 _
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    : l# W8 A$ H- L$ K( n2 n
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
      h& v: g' |; f. f& E2 O) F% U
  886. ; Be sure to appropriately set the extension_dir directive.4 E2 {6 U5 _) h
  887. ;
    # g, {+ o8 ^* [1 H' \* _
  888. ;extension=php_bz2.dll* r6 h$ B* T2 F5 I/ r8 g6 D
  889. ;extension=php_curl.dll
      h+ ^4 m# t" _; b/ V
  890. ;extension=php_fileinfo.dll
    ! b& q4 {2 g- E6 U' ?1 P
  891. ;extension=php_gd2.dll& l! c7 }8 X, h' i% x+ h
  892. ;extension=php_gettext.dll
    + \. o9 q4 s+ d3 f( ^
  893. ;extension=php_gmp.dll, }" n: ?6 m5 M6 U9 q3 H9 r) C) _
  894. ;extension=php_intl.dll
    " F8 }2 S" l) \; k; C
  895. ;extension=php_imap.dll% S2 M( Q' X# G0 P) ^$ Z
  896. ;extension=php_interbase.dll% Q8 V: k; ], V9 A' x
  897. ;extension=php_ldap.dll
    # \0 S+ n8 w! m! e5 w' O  {, M
  898. ;extension=php_mbstring.dll
    / ~5 ^+ M3 q  |$ F9 J# ^, K4 C
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    9 o" m- c- ~5 f, Z
  900. ;extension=php_mysql.dll9 W" B+ f+ O1 a. u, H/ l! ]" T3 [
  901. ;extension=php_mysqli.dll- ]  Y$ |' [6 Q% k
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client* _# L" Q, t7 {- n- E7 D
  903. ;extension=php_openssl.dll
    : f5 [2 `% {- J% q* p1 U
  904. ;extension=php_pdo_firebird.dll0 [1 @6 T2 a$ y' A5 B  o
  905. ;extension=php_pdo_mysql.dll
    ) v& x  F6 b( g) [3 U
  906. ;extension=php_pdo_oci.dll
    % X% _7 T5 y& P8 s9 l$ w) J6 w, v
  907. ;extension=php_pdo_odbc.dll
    % T' _/ G6 B( \% ?" r/ x+ x
  908. ;extension=php_pdo_pgsql.dll
    $ \, U) ?  Z4 T* D
  909. ;extension=php_pdo_sqlite.dll
    : k6 q. |8 w; S0 {" u/ K  B. _' e# |
  910. ;extension=php_pgsql.dll
    9 R3 l1 g& Q  F7 [
  911. ;extension=php_shmop.dll
    ' i1 `9 R# K( w. D+ O1 r; C
  912. ; B1 i  J7 v9 S- \3 R1 d8 g
  913. ; The MIBS data available in the PHP distribution must be installed. 7 v; U4 ^, h3 I; E/ U' z1 Y1 {
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    $ c/ Y" ?' a) ?+ V- z3 K
  915. ;extension=php_snmp.dll
    / f  K# n. m! y/ D) X; j' H4 o: O9 A
  916. 1 N) y0 b3 R+ }& a7 D, P0 v  z
  917. ;extension=php_soap.dll
    ' P' `. |2 `( s$ K; ]
  918. ;extension=php_sockets.dll
      [/ t0 v! x; r! e0 w9 w
  919. ;extension=php_sqlite3.dll
    " k$ W6 [9 a) K! |: j7 m
  920. ;extension=php_sybase_ct.dll, Q8 D. p; X2 q4 B6 U4 Q# ^8 s5 E
  921. ;extension=php_tidy.dll9 D; R% g% d8 X' d* ]
  922. ;extension=php_xmlrpc.dll
      n1 ^$ P& _* J+ l  b& U
  923. ;extension=php_xsl.dll
    ! C. m; o) ~' A0 a
  924. 7 M/ q7 E( y: Z  r' p
  925. ;;;;;;;;;;;;;;;;;;;
    & {: V# ^! m# k4 m
  926. ; Module Settings ;
    % D- R6 e/ V) P9 [6 A6 s
  927. ;;;;;;;;;;;;;;;;;;;
    . Y5 n( i/ m( ]0 [  X( Z; u
  928. 2 t3 _$ e* ~  b& F# i# x% `0 M; C
  929. [CLI Server]
    . B$ n, w" P8 F! ^- W9 T
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.9 L* Q/ b' Y; m. z' [
  931. cli_server.color = On
    0 d2 p3 J' I3 G; r( ?0 r2 u

  932. ) o0 u1 z5 y/ C6 |4 l& Z  w, r
  933. [Date]; |# M, a3 Q  Z  c. W. r0 P
  934. ; Defines the default timezone used by the date functions1 |! C( b8 s! Z5 Y1 Y6 @
  935. ; http://php.net/date.timezone
    ' \6 w" P6 a, L/ x( [% }  O
  936. date.timezone = PRC
    & j( l' W( M1 U
  937. 9 Z  ^0 R9 W8 k! G
  938. ; http://php.net/date.default-latitude
    % S. T* I4 l  Y7 M
  939. ;date.default_latitude = 31.7667
    : m' `0 h! C  \( f- d& r* `

  940. 9 \: o2 N3 M, v8 {; E
  941. ; http://php.net/date.default-longitude
    # \0 n$ i4 S  A1 z0 ]( O
  942. ;date.default_longitude = 35.2333
    / V% i9 J: i, [( p% ^7 v
  943. 8 x- B/ `4 `/ f4 H  B/ m, _
  944. ; http://php.net/date.sunrise-zenith
    + o& V7 w  V  F: g3 D
  945. ;date.sunrise_zenith = 90.583333, e% n) Q% s% b" Z
  946. & o! q. K1 ~4 \3 v$ A, O+ _) j
  947. ; http://php.net/date.sunset-zenith% q7 J+ J. G  D0 y7 B
  948. ;date.sunset_zenith = 90.583333
    + N$ z9 m$ }0 u! O  f: Y0 B# N' J
  949. " k. F: G: X( `# H6 f4 N
  950. [filter]
    2 k9 ^3 w: ], v/ C) Y3 D1 W- d2 }8 c
  951. ; http://php.net/filter.default
    : P2 w% _  v4 u& ?. A& {: W
  952. ;filter.default = unsafe_raw
    7 \) `. q- M- |9 _0 k# ~

  953. + j+ }$ s# P1 c6 X& r) f% j% m, W
  954. ; http://php.net/filter.default-flags3 i% [1 {6 d/ y% H/ N
  955. ;filter.default_flags =$ w2 J8 `7 e* z* T
  956. - ]3 G5 \9 X6 T, [# T
  957. [iconv]
    ( u3 q% Z5 L3 Z! k+ i* O
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.% G9 F4 d% y5 X/ D$ H
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.5 E$ P' B# L: \
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    * a  w, a3 p0 f
  961. ;iconv.input_encoding =: U1 T1 E$ o' V

  962. + E+ B, O! P: s, z
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * w+ }, I! [5 H; r+ T7 c6 \0 V
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ v5 ]0 k9 O" i! I, Y
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 g2 S1 x* k2 t
  966. ;iconv.internal_encoding =
    & g$ P" c: B( }

  967. 2 ~. {2 V! Z, j- P! b
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 s1 J3 E* z3 i1 }/ J8 p
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' \" L5 w( v8 `! H" x  Y' |' _+ _# F1 h
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding; l( G% q% `) c$ i
  971. ; To use an output encoding conversion, iconv's output handler must be set% j. K! W0 r& e: q& ?" l! F
  972. ; otherwise output encoding conversion cannot be performed.7 w; x& y- I+ \5 ]- N, k/ \
  973. ;iconv.output_encoding =
    5 l$ k. H! ^  N- {/ H+ l* d) [

  974. " v8 @# c) V4 d( a
  975. [intl]) [, m% s; F0 C7 N; N: h
  976. ;intl.default_locale =( S0 Z% L- ?& o- N
  977. ; This directive allows you to produce PHP errors when some error) m1 G$ u4 v6 O9 F
  978. ; happens within intl functions. The value is the level of the error produced.. m  x; a: n  m2 Q, C; A
  979. ; Default is 0, which does not produce any errors.6 N% i+ b- V( z8 ~
  980. ;intl.error_level = E_WARNING
    + B! _: G, k4 `5 T+ s) w3 C
  981. ;intl.use_exceptions = 0
    6 C8 A+ M. W  G9 u! i5 h8 e

  982. 7 m$ N- ^- `3 v) L# N( a) U
  983. [sqlite3]2 k- `( e- V7 V, G" x" P( g* t
  984. ;sqlite3.extension_dir =
    + _7 u+ E. O, E$ }4 q
  985. % n7 ^' [  q' d$ S- b
  986. [Pcre]: t/ H7 |) k" h( L/ F
  987. ;PCRE library backtracking limit.
    * Q5 g* |' [( j9 d
  988. ; http://php.net/pcre.backtrack-limit
    9 L, w* e3 R. s5 N" R
  989. ;pcre.backtrack_limit=100000' o: V1 h5 E& `; O# W$ `% a
  990. : L. j3 n" |9 o" Y# E) H1 V( u( I+ K
  991. ;PCRE library recursion limit.
    2 c- J$ S- J0 {& I, r
  992. ;Please note that if you set this value to a high number you may consume all
    0 ^9 K8 j% q9 \5 g5 ]  Q
  993. ;the available process stack and eventually crash PHP (due to reaching the5 l( m; I, B3 Y# k% g
  994. ;stack size limit imposed by the Operating System).
    # w9 k  ]* m' D9 }0 ?. D: z
  995. ; http://php.net/pcre.recursion-limit- P# H2 U5 Y" ^) E- B! n
  996. ;pcre.recursion_limit=100000
    % V; v8 Y: e+ Y  B3 v6 c/ L9 c

  997. 1 T# Z5 q3 p* Q5 i/ r: a
  998. [Pdo]( q- x2 B$ t( V& E9 l" r
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 u* _9 q/ U) y- ^2 D6 c
  1000. ; http://php.net/pdo-odbc.connection-pooling2 {9 Q- Z1 Y# ?. f8 F/ E3 P& e. I) u
  1001. ;pdo_odbc.connection_pooling=strict
    . B  v) n/ Q" g6 B6 {, |

  1002. + B  n' v# L8 v9 A* M. r$ q
  1003. ;pdo_odbc.db2_instance_name* m/ t# t! t6 S/ E, k$ W
  1004.   w5 I  a- Y, o8 ^5 v$ w1 E. }
  1005. [Pdo_mysql]
    . }% Y4 F0 N9 }- {: y4 x" _
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) v4 v0 ]. l3 ]
  1007. ; http://php.net/pdo_mysql.cache_size
    , C7 U' l4 s1 B: R$ E
  1008. pdo_mysql.cache_size = 2000! `$ g  f* L: ?" z5 c2 f2 _

  1009. 8 B# k0 R2 ?& v7 A% z) k; u) v
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! J1 `4 Q% X, \4 I2 u3 ~
  1011. ; MySQL defaults.) ~4 O2 p0 Z' r5 M$ p
  1012. ; http://php.net/pdo_mysql.default-socket7 K6 E) h' [' j9 J, A9 M# x
  1013. pdo_mysql.default_socket=* H: l5 ~% h: ^, h) a. j

  1014. + ?3 r& W9 k  ~- E  n
  1015. [Phar]
    0 B0 ~6 N( i5 A# b
  1016. ; http://php.net/phar.readonly( o5 t) J3 l2 w: Q# F
  1017. ;phar.readonly = On
      d- [' A; ^$ _* O8 k4 [/ C

  1018. ( ~( Q8 u* u) `! S: z
  1019. ; http://php.net/phar.require-hash
      P0 r3 |9 f8 f. E( d* @
  1020. ;phar.require_hash = On$ q% ~$ ~% ?! C0 I, r% ?
  1021. 9 L, u1 V: e% r5 b1 T+ U
  1022. ;phar.cache_list =) ^6 ]+ ~) P; }' I! e
  1023. 4 D+ |6 x0 F2 y; S3 h, b
  1024. [mail function]. d+ W6 ^3 }' c$ r# ?" z% P
  1025. ; For Win32 only.
    + o' i# o0 v) U$ m# s2 Z* a
  1026. ; http://php.net/smtp% u- k  F: s8 R* `; c  \
  1027. SMTP = localhost
    * {# Y/ g" U! h$ o, A
  1028. ; http://php.net/smtp-port$ _2 w# B% o9 y' Q) V4 s' G
  1029. smtp_port = 25" T- }# O) }0 ~6 E* X& {! v3 Y

  1030. 2 k( Q0 {5 R! A4 V5 d! q( p
  1031. ; For Win32 only.
    " I0 ?" i/ ]5 i" g$ F
  1032. ; http://php.net/sendmail-from# j" Q2 j- e7 e+ j
  1033. ;sendmail_from = me@example.com- i: J' N5 \" q6 U3 r
  1034. & N# @* \  k' S* o, j- s
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").% A; E; a) M, ~/ E
  1036. ; http://php.net/sendmail-path- y) ?, c0 Y+ b- Q8 e( d% R9 ~  b
  1037. sendmail_path = /usr/sbin/sendmail -t -i( B6 G; y& {7 W8 U$ ^! Z

  1038. 4 t: C( G7 u) Q+ Y/ [+ Y6 T
  1039. ; Force the addition of the specified parameters to be passed as extra parameters5 K' N# R- Y6 J  g, x! k6 Q
  1040. ; to the sendmail binary. These parameters will always replace the value of
    5 V9 c& Q* \) m& B8 t7 J$ ~
  1041. ; the 5th parameter to mail().$ y4 C4 a% z& j' E: R# q
  1042. ;mail.force_extra_parameters =
    6 J# S5 o0 x2 \' v0 C: Y; H3 X
  1043. 8 e+ L# ^+ I1 k1 w4 L5 c: O4 _
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " g- @( r+ i9 @( C
  1045. mail.add_x_header = On
    . f7 v4 U# t  t1 z# N
  1046. 4 s1 X$ i+ k- E
  1047. ; The path to a log file that will log all mail() calls. Log entries include' m3 ?" P: U$ f% ~1 U  S+ c
  1048. ; the full path of the script, line number, To address and headers.
    7 e5 g1 z) e% ?! x2 p4 d
  1049. ;mail.log =
    5 ^- r# p  @7 E5 k% r+ t
  1050. ; Log mail to syslog (Event Log on Windows).# Z" t0 }; {1 l7 r1 B
  1051. ;mail.log = syslog
    8 A, N% R. E! ?$ B! [( v
  1052. ) b6 v! B# @/ a/ x# ]- C7 H" b! W
  1053. [SQL]
    - @+ x  ~: N8 P2 q/ u2 x
  1054. ; http://php.net/sql.safe-mode% M7 |7 S' D$ O" ?9 a7 j; M
  1055. sql.safe_mode = Off
    ! ~: R3 H7 q  e* Q0 V7 Y7 o

  1056. # t* |9 N7 G3 R; r9 V/ W6 }- Q
  1057. [ODBC]' d: G  A8 O% b2 L
  1058. ; http://php.net/odbc.default-db) @8 f9 \; @' h
  1059. ;odbc.default_db    =  Not yet implemented
    7 A% \  \/ K9 o, B8 j$ a/ [
  1060. 0 t: P3 u1 a& {/ u7 A6 U
  1061. ; http://php.net/odbc.default-user
    7 Y: T: ^( O( O! j
  1062. ;odbc.default_user  =  Not yet implemented, |+ H; a% t) K# P4 K+ R( m6 F
  1063. " W! `4 k9 {3 {4 i( S4 K
  1064. ; http://php.net/odbc.default-pw  V& c) m4 ^: N2 F
  1065. ;odbc.default_pw    =  Not yet implemented' c9 l, L. i6 z( Q% J* K
  1066. " g. g! F3 X4 f! p$ j
  1067. ; Controls the ODBC cursor model.
    ! B! C: v) E1 j* B' V; u
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ( }' E! ^- S% U$ B; E) s3 Y/ G. H
  1069. ;odbc.default_cursortype8 x' {7 K/ z$ g) r( }8 E& f  Y
  1070.   X3 l( b* z: J* B8 `
  1071. ; Allow or prevent persistent links.! ~* r. q% b. K. X( V" _
  1072. ; http://php.net/odbc.allow-persistent, k0 G$ P& q9 T$ {' p: L3 H
  1073. odbc.allow_persistent = On
    * D- S8 U; z* u. b- u
  1074. / x! p5 W9 F/ m& E; _
  1075. ; Check that a connection is still valid before reuse.: G& s; {$ t+ [0 w
  1076. ; http://php.net/odbc.check-persistent7 @( C' t  N$ J) y* x# _4 E# S; \7 o, v$ [9 l
  1077. odbc.check_persistent = On
    2 m/ d) U7 y# k

  1078. ! Q; K" C7 V" Q: U
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ! d' J  ]/ n8 b' K
  1080. ; http://php.net/odbc.max-persistent
    3 u4 {- m1 p' M
  1081. odbc.max_persistent = -12 |# p8 @* U3 w* d; Z6 N
  1082. / e! K+ |% \0 Y
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , |: i. y/ m' V0 a. B
  1084. ; http://php.net/odbc.max-links
    ; l# j) D: S! f0 f
  1085. odbc.max_links = -1. c* [1 R* v; T' X( W, F5 y
  1086. % ^+ J+ `5 A) ~* _
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    " H( Y4 C- K" R7 E! f+ Z
  1088. ; passthru.# i4 \3 W; S/ q5 I4 r0 z) ]
  1089. ; http://php.net/odbc.defaultlrl8 J2 R; T2 h4 L
  1090. odbc.defaultlrl = 4096, z2 F- v( s8 T3 v1 l( b3 a

  1091. 0 E! S" w. D( [9 f; }# q
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.) v  G2 f$ g# p* v4 n
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  n1 o, A# C! p7 p- C' h
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 x% P" P8 K: T( a  c
  1095. ; http://php.net/odbc.defaultbinmode
    $ p0 ]1 f8 Z) v3 \
  1096. odbc.defaultbinmode = 1% z. U0 _0 {: ?. }
  1097. * |. m( T4 K: W8 I
  1098. ;birdstep.max_links = -15 y$ {8 j$ C6 y8 s( t

  1099. % R( G- {4 F1 q! k9 J7 o  S: B
  1100. [Interbase]
    ( a9 e# C( y, R
  1101. ; Allow or prevent persistent links.* o8 _( G! v* V: h
  1102. ibase.allow_persistent = 1# b; c2 n# L* B' O

  1103. + [* g7 K' r' M7 W1 c2 y
  1104. ; Maximum number of persistent links.  -1 means no limit.7 }! d7 m1 Z3 I# l/ T- k
  1105. ibase.max_persistent = -1* T' ~' D& `/ o* f% M
  1106. 2 m# h% W0 }* _+ d
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 n, {' ^) t( |" a# {; r; Q
  1108. ibase.max_links = -1
    9 l0 K' I6 H- p5 F

  1109. " Y% k. i6 k) s8 L6 U$ f
  1110. ; Default database name for ibase_connect().
    7 W# t0 o, x! d" L
  1111. ;ibase.default_db =5 l6 R- K: a2 {1 w9 t, i: V' \

  1112. / s: U9 S0 g5 E* K) q( N  O1 ~9 d
  1113. ; Default username for ibase_connect().! c: R- b, b. r" k: ~; h
  1114. ;ibase.default_user =
    : b7 P% L) U! W5 V4 x

  1115. 7 ^% \4 ?8 V8 G% W. ?6 m) t
  1116. ; Default password for ibase_connect().; y$ ]+ H) a1 i- n' @
  1117. ;ibase.default_password =& X* f- b6 O0 R9 E1 }
  1118. ; s/ [  c- S( q0 }; h
  1119. ; Default charset for ibase_connect().  s/ o7 e- X' e: e9 `
  1120. ;ibase.default_charset =  ~1 z( K3 q4 ~: [- Q4 h% l& u* G9 v
  1121. ; F; z1 S- L, h) {8 ^* k
  1122. ; Default timestamp format.7 T. j( I* |* A: B
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    $ h* z7 L& P8 B6 h, b9 L% {5 i
  1124. . r; P+ r! |  i
  1125. ; Default date format.3 y1 _( C8 L0 o
  1126. ibase.dateformat = "%Y-%m-%d": u5 Z8 T1 {* v
  1127. , F0 w" {( i# b! N
  1128. ; Default time format.
    % T5 j, y- x8 ?$ D9 s8 ?3 [
  1129. ibase.timeformat = "%H:%M:%S"
    6 Z9 g: m$ p9 t5 ~7 m/ P
  1130. - a! y1 b- J7 n- l. v. k( o+ N
  1131. [MySQL]7 ^  ]  C  `3 q% ~! A, B: m
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 }% x8 X9 U# s4 }+ i$ t% w/ S% g
  1133. ; http://php.net/mysql.allow_local_infile
    ( s  Q5 s5 l% q3 l6 R/ ?
  1134. mysql.allow_local_infile = On& E( |8 m( A! u: r/ n6 \
  1135. 2 w- y2 {2 Y$ X2 h' D
  1136. ; Allow or prevent persistent links./ ]1 N; Q7 m. Q; p( Y# K
  1137. ; http://php.net/mysql.allow-persistent
    " X5 U7 F3 g0 s" K& G9 r! C
  1138. mysql.allow_persistent = On
    9 }  e# h: B5 P4 l& L

  1139. + V) j$ S9 J9 A) G  X
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) i& X6 `0 p( s" W
  1141. ; http://php.net/mysql.cache_size
    % G  Y. g  [% U! j9 J
  1142. mysql.cache_size = 2000+ P' U9 y8 T+ T2 d+ b8 E
  1143. 5 r; Y2 T8 K2 {: P8 v6 U. P1 G
  1144. ; Maximum number of persistent links.  -1 means no limit.
    " f$ H& ?: G0 l
  1145. ; http://php.net/mysql.max-persistent; E7 F0 j' d" N% N0 _1 Y! p5 p
  1146. mysql.max_persistent = -1
    / d* u& U+ h0 g- ?: S

  1147. . }- X8 Y" a. I9 g. Q1 n4 R7 M5 ~
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- |& h1 {; K7 F. T# ]2 s, B# R
  1149. ; http://php.net/mysql.max-links
    ; x0 |& }$ w. W, q3 g  |
  1150. mysql.max_links = -12 B/ {% Q( o. Y& o) @

  1151. ' F3 H" M$ T- v+ P+ ]
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use  I0 C1 L. A7 R. v# ?2 P) N
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    , @' B/ V2 j/ z% \# j1 _4 D
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' u' @' D) i3 E% u6 `: }0 H5 y% K
  1155. ; at MYSQL_PORT.- q) M6 p, Q8 R) k9 w! O) i
  1156. ; http://php.net/mysql.default-port
    - T8 W4 C  z8 b) Z# s% c% u- o, s) Q
  1157. mysql.default_port =
    " W+ ^0 y3 i& E9 V& t" B5 J! K
  1158. & O# L# }! m" y4 {. e1 Y9 f
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " o- l! ?3 R7 g+ p  J9 w1 }  ?0 T
  1160. ; MySQL defaults.
    6 q. o* O7 |: ~  }; B! L8 y
  1161. ; http://php.net/mysql.default-socket5 I- b4 P: W/ P3 R
  1162. mysql.default_socket =
    ! ~* J8 h9 B+ Y( W* N
  1163. ) {4 i5 D: W3 ^
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 i8 K4 {8 Z1 L- V% ?
  1165. ; http://php.net/mysql.default-host) ]' ^0 d/ F9 B. d
  1166. mysql.default_host =& y1 L- b" x; a( o* K; p  a$ _8 ^

  1167. ! |3 u! Z' a: W! h$ q) P; y7 Y2 L
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 c: O& o* t. l* f  q  X
  1169. ; http://php.net/mysql.default-user
    5 @# E! |8 |$ K; }0 N
  1170. mysql.default_user =3 f7 {% {( f: c

  1171. 2 Q! f7 X* z0 L% O% b
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).) D2 |2 D$ R+ R7 |3 f1 U8 ~, T/ ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file./ {' D; N9 Q1 r: ~
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ' G% s/ B  m/ _& ^3 P1 ~
  1175. ; and reveal this password!  And of course, any users with read access to this
    # S  Q% Q- _3 r3 }
  1176. ; file will be able to reveal the password as well.% ~4 k$ N% m& `4 O& [, O
  1177. ; http://php.net/mysql.default-password# `* a! n; Z0 l! q! z9 L
  1178. mysql.default_password =" T8 K% c% z; E

  1179. 4 f) P. F7 l8 e; \
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    . p. F+ X" d. I6 w% S' Q( K+ K# k8 \% X
  1181. ; http://php.net/mysql.connect-timeout: f, ?/ r3 b" h9 L, L
  1182. mysql.connect_timeout = 60
    # i6 x1 W; D5 a# E( y  }: C
  1183. ; p. b1 R9 K" k4 t" X. O
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    * G$ ?7 u2 E$ j4 h' _3 w
  1185. ; SQL-Errors will be displayed.4 P$ O2 ^6 {% T5 S$ P5 B4 g2 M
  1186. ; http://php.net/mysql.trace-mode
    / N+ _3 c4 ]( r$ ]6 x6 W
  1187. mysql.trace_mode = Off
    ! Z3 q6 \8 \) c1 ^
  1188. 6 i* [. j4 o5 |- T4 W/ S0 X! }% E4 K$ @
  1189. [MySQLi]
    + I" z: |+ X; ^2 w, t* ]& d* d

  1190. 6 m* Z1 {( O; d" o
  1191. ; Maximum number of persistent links.  -1 means no limit.. b6 b5 J  n1 U' O  g
  1192. ; http://php.net/mysqli.max-persistent
      }+ v( M( u' F* T6 Q6 f
  1193. mysqli.max_persistent = -1% P+ k9 ~) ?# X0 Q; U9 P/ O
  1194. . w( T2 ?6 B: R# v5 V2 Q3 R) y
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  I0 R" k3 z( D, L
  1196. ; http://php.net/mysqli.allow_local_infile  o6 C$ }8 e5 a, ^7 C# m/ t
  1197. ;mysqli.allow_local_infile = On
    8 j  I, {/ s+ y7 q5 {3 b' ~
  1198. $ A* P1 z$ T5 b$ L' E
  1199. ; Allow or prevent persistent links.
    0 \: U3 u8 ^  x- _: t
  1200. ; http://php.net/mysqli.allow-persistent
    2 M2 ~: k/ ^) N% E7 }, D6 A' ~
  1201. mysqli.allow_persistent = On+ u# N( l; n2 t( j+ N
  1202. & [8 E) s3 R: s8 i. a  u2 U
  1203. ; Maximum number of links.  -1 means no limit.
    ! z# j# ^: Y; D! k+ @
  1204. ; http://php.net/mysqli.max-links
    , j2 z. a1 g" }% v
  1205. mysqli.max_links = -1
    , V! m) s. Z* q& V9 k+ K7 w  F

  1206. 3 p3 F3 p4 i& V" w/ n: |
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache% g) D; n" e* p( O* }9 y6 b
  1208. ; http://php.net/mysqli.cache_size
    9 |# V- W" Q& }2 r" V0 Y
  1209. mysqli.cache_size = 2000: M& g! o) C5 b: E  O; I: E

  1210. 8 U4 t/ Z0 c9 x2 \. n: T! K
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    5 P+ L; W* |* v$ p
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( Q# q5 c# i) Q3 ~
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " e4 e& R, E! m9 h: n5 L2 \
  1214. ; at MYSQL_PORT.
    0 f2 q  \# F( p8 H8 {; d& i$ m
  1215. ; http://php.net/mysqli.default-port
    + d6 Q9 V6 S! u- \4 t
  1216. mysqli.default_port = 3306! x2 J1 s6 h5 B' z' e& q- L0 |% b2 Z

  1217. 8 P8 {3 m; ^; H( r- p- t4 w
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in% m! j4 m2 g' Z8 A& ?% s- x" x
  1219. ; MySQL defaults.
    + _& C* d+ P5 I! J
  1220. ; http://php.net/mysqli.default-socket6 X7 i6 g4 m$ T# Q) n
  1221. mysqli.default_socket =+ N6 w; G4 `) }! t) a( I

  1222. 6 ~. ~6 E8 b; g6 {
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).6 C1 [5 w4 h. P
  1224. ; http://php.net/mysqli.default-host
    8 L+ U# |2 Q1 ]7 [0 r. F* Q
  1225. mysqli.default_host =9 Y( |6 ^; Z3 J: V( ]

  1226. 2 X3 b" ~' H# ]! v8 p: S
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).% j$ \2 c/ C2 }: ^& ?4 z) g
  1228. ; http://php.net/mysqli.default-user$ B  g" v5 ]  J- C& W; U, L
  1229. mysqli.default_user =
    9 b( k  ]- M/ F4 k# j) d

  1230. ) i7 t, H0 w& o0 T
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).- }( S0 M' h5 a' L  ?
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    # T/ n) j: L5 O. N* `6 |
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")% T; y$ f! ?1 `
  1234. ; and reveal this password!  And of course, any users with read access to this
    ) P; j* z2 w, Q( v; [9 e5 G
  1235. ; file will be able to reveal the password as well.
    " ], }: e/ G5 e! t; p* B
  1236. ; http://php.net/mysqli.default-pw& c  Y" f! O% T8 y3 R
  1237. mysqli.default_pw =
    + e: e6 J! E# ]$ L: Z

  1238. ( R: T, o, T0 m7 f: a) Z* W: K" z
  1239. ; Allow or prevent reconnect% b: c' L3 D, U" q8 x
  1240. mysqli.reconnect = Off1 d0 H* |( ^2 s" n
  1241. , T# O" [, B+ e  f
  1242. [mysqlnd]. \# T$ p0 C. }- G: t9 P# Y0 K
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be2 L" N( w$ k( v. i2 L. n7 S) ~+ N
  1244. ; used to tune and monitor MySQL operations.. [2 Z/ r/ ^, l
  1245. ; http://php.net/mysqlnd.collect_statistics
    & Q0 a0 Z% N2 Q/ P* [: k
  1246. mysqlnd.collect_statistics = On/ w3 r# R& k. s& k+ W
  1247. ' E: J1 r, J: U8 I) `2 Y, U
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be2 t2 d. y* S4 ]3 |, L
  1249. ; used to tune and monitor MySQL operations.3 X% B2 s( m! E4 S+ i3 _
  1250. ; http://php.net/mysqlnd.collect_memory_statistics! H) J; ^* s' R! ?
  1251. mysqlnd.collect_memory_statistics = Off: q' M& Y) A/ |* M) T

  1252. ! L% a* z; O4 y0 _, ]8 @+ U
  1253. ; Records communication from all extensions using mysqlnd to the specified log; W7 b- Y" `" P$ N& Q; o3 i
  1254. ; file.
    5 ~6 a" x4 u! }2 W
  1255. ; http://php.net/mysqlnd.debug
    ; i4 T4 n7 f2 |8 o
  1256. ;mysqlnd.debug =9 x7 Y0 F/ `5 u& U9 J: V, F$ W

  1257. 8 f; M$ b. [9 R4 ~- P! W! _! I! n
  1258. ; Defines which queries will be logged.
    6 a. q9 f& B6 h/ K: d2 A
  1259. ; http://php.net/mysqlnd.log_mask
    0 D" x& U2 N, r+ Z
  1260. ;mysqlnd.log_mask = 0& I$ O! ?5 P* z3 L
  1261. . n) ]" M* S- q0 @
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    7 x5 b6 F" a5 J. h8 G; Y, a: y
  1263. ; http://php.net/mysqlnd.mempool_default_size
    - V6 u  u5 y# n. R0 b( X! ?" f) K
  1264. ;mysqlnd.mempool_default_size = 16000/ |# d' o4 ~8 e, {# i

  1265. : R4 ]9 f) L. _  d4 P, F; e
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / S% O; u" u3 L6 s- U& p. A& Y2 T' s
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size7 y) a, c1 U  o; O! F
  1268. ;mysqlnd.net_cmd_buffer_size = 2048! r. l+ s4 _( Q1 V/ u
  1269. / B2 |4 H* ?0 M# f6 h3 @
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in- B% y- I' M5 J$ J3 n) K4 k/ l4 t
  1271. ; bytes.  d& M( a$ q, }6 |; `: z: Z8 R- R
  1272. ; http://php.net/mysqlnd.net_read_buffer_size! Y! _" d- f, g$ x! F. ?5 w, b
  1273. ;mysqlnd.net_read_buffer_size = 327682 B0 D9 i: G( Q, e/ u4 i7 @' J

  1274. + {( Y! }% S7 D! k3 u+ `
  1275. ; Timeout for network requests in seconds.
    % M- L# [/ O  W( k8 ~1 n5 G# F
  1276. ; http://php.net/mysqlnd.net_read_timeout
    1 ?' p1 S" S! k7 T2 |
  1277. ;mysqlnd.net_read_timeout = 31536000
    , g- D: N3 V- a' B; ]

  1278. , R1 P5 G- A3 P+ W& h# c/ ^
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* H6 J4 K# F4 a( U0 O! Q2 [$ t
  1280. ; key.
      H0 e* r+ M( A) L1 J/ a! D
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    / z2 L" W$ c. U  n- |1 [+ y8 c
  1282. ;mysqlnd.sha256_server_public_key =
    + r) c( x0 R, l0 L# ~5 s/ r" c

  1283. # ~, K% O3 e6 S: Y" Z, l' l& h
  1284. [OCI8]
    9 I$ s6 ~6 W( B

  1285. / a  }; T/ b! \1 r+ ^% i
  1286. ; Connection: Enables privileged connections using external
    ; x- z6 Y: @6 l1 m
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    : N7 p) [1 t5 n
  1288. ; http://php.net/oci8.privileged-connect" f6 T: _! z# b' D; m$ i* a: w
  1289. ;oci8.privileged_connect = Off
    % y* A, ]6 x1 N* J4 Z+ C3 Z

  1290. - X7 O6 ^: q# P
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ! S: l) p. |0 w- e$ m$ e# X3 m2 ~( U' X
  1292. ; process. Using -1 means no limit.9 ]( S# X3 ]! `$ E9 P
  1293. ; http://php.net/oci8.max-persistent0 l6 g( v0 y; W7 o. S+ E$ N
  1294. ;oci8.max_persistent = -1
    ; m% t8 m8 p8 @( ~2 c/ W) c2 ^

  1295. 6 U  }4 h9 X! y6 _7 ?5 M
  1296. ; Connection: The maximum number of seconds a process is allowed to+ I& F1 ~1 e' Y; U2 D! p5 v- J* o
  1297. ; maintain an idle persistent connection. Using -1 means idle
    2 o" u; `1 x8 V
  1298. ; persistent connections will be maintained forever.
      }4 u& J+ C6 @( [
  1299. ; http://php.net/oci8.persistent-timeout
    $ a. ^' z. @4 S# x) b
  1300. ;oci8.persistent_timeout = -14 {$ V' B1 ^- u$ v0 A
  1301. - T' A# ]+ C, p/ `( A
  1302. ; Connection: The number of seconds that must pass before issuing a& ]5 O# s9 M* }' b/ z5 D
  1303. ; ping during oci_pconnect() to check the connection validity. When2 H* a) f4 f% ~$ u
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables- M; M! m& b$ g1 Q6 }3 `
  1305. ; pings completely.- ~$ K2 C5 U* _+ [: t+ l
  1306. ; http://php.net/oci8.ping-interval" j" Y5 `8 B/ G! {/ A
  1307. ;oci8.ping_interval = 60
    . p4 s% W/ Y" m, m- j
  1308. & }  }- L5 ^4 J/ Z
  1309. ; Connection: Set this to a user chosen connection class to be used
    * ^5 ^) x: Y1 X4 x& b+ T
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ( Z- q8 o8 B' g5 M: B, k5 F
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    1 q( P1 C4 V! \& T# e( x8 \1 }
  1312. ; the same string for all web servers running the same application,- H0 D  G0 o) p, s3 C2 g& J
  1313. ; the database pool must be configured, and the connection string must
    - r3 c8 @( N* Q% O; i+ n- b
  1314. ; specify to use a pooled server.
    + b; G" a1 \" H$ J
  1315. ;oci8.connection_class =
    ; Q7 l& P8 l, {9 B
  1316. - k$ {% P8 D" I# D: q
  1317. ; High Availability: Using On lets PHP receive Fast Application
    " }% R+ Q* g$ g" Q" c
  1318. ; Notification (FAN) events generated when a database node fails. The: _' I' q5 q' L0 t
  1319. ; database must also be configured to post FAN events.5 A' [% j4 g; q$ L3 x! n" D2 P5 A
  1320. ;oci8.events = Off
    9 n) I, l' P9 X: |0 ?# s
  1321. ) n  S' |4 y  E9 R( w" @" C
  1322. ; Tuning: This option enables statement caching, and specifies how( J: E; c8 ?6 y
  1323. ; many statements to cache. Using 0 disables statement caching.
    6 |( T* N: N) M. [; U8 S- {
  1324. ; http://php.net/oci8.statement-cache-size
    # V, a: \( t2 t1 F0 [' L
  1325. ;oci8.statement_cache_size = 20  _: }3 \4 E: Q: d8 J9 d' O

  1326. , o9 C$ c, L; N( H1 X
  1327. ; Tuning: Enables statement prefetching and sets the default number of- C* S( L1 T; L( m/ r- K" b( G
  1328. ; rows that will be fetched automatically after statement execution., o* P0 Z$ j0 V, f8 m
  1329. ; http://php.net/oci8.default-prefetch, Z' |# t+ s: r+ J6 B' d& }+ K
  1330. ;oci8.default_prefetch = 100
    : R/ b  G4 A2 w
  1331. : _  W: T! k5 ?$ T
  1332. ; Compatibility. Using On means oci_close() will not close+ H3 K2 G& }7 F1 p& c
  1333. ; oci_connect() and oci_new_connect() connections.
    & j" c3 y% s8 g
  1334. ; http://php.net/oci8.old-oci-close-semantics
    % m' x1 m5 Z* V9 Q4 F
  1335. ;oci8.old_oci_close_semantics = Off+ u7 e" j5 j5 v* |
  1336. ! _0 P; w% L2 E* b6 m$ {! _
  1337. [PostgreSQL]7 L; g5 }& c6 |" A4 C
  1338. ; Allow or prevent persistent links.
    6 Y/ n3 @! ^# m5 D  P
  1339. ; http://php.net/pgsql.allow-persistent
    ! L' d7 @4 b. u
  1340. pgsql.allow_persistent = On! }2 ?; Y9 ]. n. K* T

  1341. 1 ~  N) J2 I+ ?( i" c9 V+ u1 D
  1342. ; Detect broken persistent links always with pg_pconnect().
    ; r+ o9 F3 n/ H, K" y) i) n( P
  1343. ; Auto reset feature requires a little overheads.
    " k4 V- i0 R$ H  y, [& }1 y% u6 ]1 z
  1344. ; http://php.net/pgsql.auto-reset-persistent9 ]2 N$ J) Q0 n% l# q: I
  1345. pgsql.auto_reset_persistent = Off
    2 R) d& U! e7 O, T
  1346. & Z2 j( |$ ^) m+ P& o/ z
  1347. ; Maximum number of persistent links.  -1 means no limit.
    % X- _( l8 q* P) T% d2 V# r
  1348. ; http://php.net/pgsql.max-persistent8 \+ k, c3 k: n8 V% W+ B
  1349. pgsql.max_persistent = -1
    1 X5 R6 a& V4 U, y
  1350. 0 u! o, h* N% k- t) G: Z9 l  J/ z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.2 K) R% q$ b9 ?8 j
  1352. ; http://php.net/pgsql.max-links  M4 ]! s  h* y+ c
  1353. pgsql.max_links = -19 m* u8 L1 Q8 t6 L
  1354. " ]4 M; N1 Z. ^7 v. R/ Z1 x6 Z+ T
  1355. ; Ignore PostgreSQL backends Notice message or not." N/ h6 k6 Q0 N% _6 B
  1356. ; Notice message logging require a little overheads.3 c2 c0 J9 l- O
  1357. ; http://php.net/pgsql.ignore-notice% U& L4 Z. B- v( E% M0 ]+ [
  1358. pgsql.ignore_notice = 0
    - C0 X* i: E4 H

  1359. $ _7 H, A8 U7 w. i- [* R& W
  1360. ; Log PostgreSQL backends Notice message or not.0 u+ ]4 N6 A" _( \& V5 x
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    / [1 L, J/ C1 S, `
  1362. ; http://php.net/pgsql.log-notice
    % y! }$ S0 z! n4 V! @6 q
  1363. pgsql.log_notice = 0
    ; F' K- I' [3 @" b2 s) t

  1364.   u% g$ g2 B3 Q% D# n
  1365. [Sybase-CT]/ w. J  z; q  l( _0 F$ f
  1366. ; Allow or prevent persistent links.5 n% ^- i3 g; T
  1367. ; http://php.net/sybct.allow-persistent
    ! @/ q% T  Y1 D9 \* V
  1368. sybct.allow_persistent = On. B: V1 K4 i. C1 @: y5 Q! J1 @
  1369.   K$ I7 t  N( q% S; w; e
  1370. ; Maximum number of persistent links.  -1 means no limit.
    6 q! U8 z0 a/ B+ p( T- [
  1371. ; http://php.net/sybct.max-persistent
    - `2 ?0 i  |+ i/ K2 B1 P- `5 P
  1372. sybct.max_persistent = -1
    ) C/ D5 Y4 r/ W; V6 ?  p

  1373. / G* G* J4 e+ ~  V9 Q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ w6 Q8 z5 D; o3 P
  1375. ; http://php.net/sybct.max-links- B/ {6 b. S2 E1 b5 G8 V3 K
  1376. sybct.max_links = -15 L: d. P6 B" Q) w

  1377. ) u- {' R7 S8 k/ P
  1378. ; Minimum server message severity to display.
    4 i7 O# S( ~  V! G9 H% Y$ B
  1379. ; http://php.net/sybct.min-server-severity( z4 u2 _+ [" {/ w) d
  1380. sybct.min_server_severity = 104 J4 q% l, a- o- I) y  U

  1381. . S$ Z! I; x8 x4 H
  1382. ; Minimum client message severity to display.
    " x8 l. e( r( w8 v6 B
  1383. ; http://php.net/sybct.min-client-severity# [2 K9 G$ ^' J" G2 A7 i% E$ o
  1384. sybct.min_client_severity = 10
    - t4 ?* P3 N6 b8 {. n) S
  1385.   n0 a* f% F' q, w0 N
  1386. ; Set per-context timeout1 ^  I# P  ~: q% p* ?$ u
  1387. ; http://php.net/sybct.timeout
    / n/ D- \$ c- D5 O) n
  1388. ;sybct.timeout=; b8 L" r! X% n- f# h3 ?+ e
  1389. ! t0 {$ c5 F5 V
  1390. ;sybct.packet_size
    8 P1 U' Y4 f& T: @" R: o

  1391. 7 `% O0 }9 P" C5 [, j+ |8 L; L/ [
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ) a- m* i2 F5 W7 M/ n/ y
  1393. ; Default: one minute" \- i; d" E, l, P' V' g
  1394. ;sybct.login_timeout=
    1 r% B% W+ [3 T) x
  1395. 9 p4 c1 ]+ ?6 u1 _
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.8 n  X- s8 G/ a9 G0 g% [; z/ g6 P
  1397. ; Default: none
    / b1 W$ A6 B9 T& D
  1398. ;sybct.hostname=
    7 U( u( z  A4 p% J+ G0 U4 w
  1399. 2 T4 d. C- y$ S2 W, ]
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    % P& h. Y; K1 J
  1401. ; Default: 0
    3 ?* v8 V: ?/ e% j
  1402. ;sybct.deadlock_retry_count=
    * M  r! W" A( \; z+ ~+ q
  1403. : h, F# ^3 G# ^2 D3 A
  1404. [bcmath]7 p4 j( t& N' p
  1405. ; Number of decimal digits for all bcmath functions.* j9 F4 J( G& W' n. T: W
  1406. ; http://php.net/bcmath.scale
    , k* W+ n; N, O& E- f
  1407. bcmath.scale = 0
      C8 o2 o3 K3 n/ X0 O! `

  1408. ; n+ B# f9 E# @5 R+ T2 i  R
  1409. [browscap]
    ' }) z' X* j% f- D. \3 ^
  1410. ; http://php.net/browscap
    $ _+ P9 J+ A2 X' L, j5 e' T+ S! ^$ u
  1411. ;browscap = extra/browscap.ini; t. t$ U7 m1 L# B: G& T  W% V+ B1 E
  1412. ) W6 F+ L* b9 t* V
  1413. [Session]7 {' B0 V  r- i. Q5 w/ y
  1414. ; Handler used to store/retrieve data.
    7 w. [+ t% \& G8 O( B& I
  1415. ; http://php.net/session.save-handler
    / b0 g4 b8 q- L% `$ x2 O
  1416. session.save_handler = files
    9 J0 e" n3 Y, l0 ]2 b4 I$ l
  1417. 7 Q9 w' J1 F5 w7 E2 G
  1418. ; Argument passed to save_handler.  In the case of files, this is the path- s% N' [! ~1 a3 e3 ]. ^$ X- s
  1419. ; where data files are stored. Note: Windows users have to change this
    3 `; q8 I$ v1 Z4 ~5 @+ A; w/ y
  1420. ; variable in order to use PHP's session functions.
    - d7 Q9 X- {- o6 h7 y
  1421. ;
    ( n8 a/ _" a& s6 d  `
  1422. ; The path can be defined as:. G4 r. V- K: O6 f5 W. A0 X
  1423. ;$ N$ K: \8 x  e6 M% o
  1424. ;     session.save_path = "N;/path"* O( g# a  R  Y2 ~- }% O. o
  1425. ;
    4 Z4 y1 `! p: E3 k8 I) Z& L9 ]
  1426. ; where N is an integer.  Instead of storing all the session files in" N) U. H- H1 U! ~# L8 X
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    & X% f# i/ r+ [/ E! @
  1428. ; store the session data in those directories.  This is useful if8 C7 d& @) H! H4 `- Z$ P5 g
  1429. ; your OS has problems with many files in one directory, and is
    8 G9 O) c2 G: c* q5 F1 ^6 f3 n! b
  1430. ; a more efficient layout for servers that handle many sessions.
    1 _& R; V9 x+ h" E. A
  1431. ;4 H; h( X! h" Z. P- t# M; V1 n3 w
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    7 b3 x& |& E7 {3 p# T  p( r* `
  1433. ;         You can use the script in the ext/session dir for that purpose.$ e! y; t$ P, X, p8 i% |8 J) ~6 y
  1434. ; NOTE 2: See the section on garbage collection below if you choose to' f0 v+ i' s- M+ r0 B; h0 Z* e
  1435. ;         use subdirectories for session storage  l& }/ a6 u! ?$ k
  1436. ;
    7 z/ j( y; q1 U' Z8 h; G
  1437. ; The file storage module creates files using mode 600 by default.
    4 p4 r0 j$ d5 }& f! }- W3 y
  1438. ; You can change that by using
    6 Z$ y  p  y! J( M0 E% Z
  1439. ;- g) n* G* R( B# G1 K4 j1 _
  1440. ;     session.save_path = "N;MODE;/path") @, A) b% y  `6 C5 g* D
  1441. ;
    / l' S9 e! }2 x4 T3 h' r
  1442. ; where MODE is the octal representation of the mode. Note that this
    + ?$ a- ^' X* J& H7 R* E
  1443. ; does not overwrite the process's umask.
    ; v* c1 M5 \3 ^# p. q+ O
  1444. ; http://php.net/session.save-path9 D4 L$ L2 ~; R$ w/ H! _; {7 K
  1445. ;session.save_path = "/tmp"
    5 p( q; L+ f6 M' O" z  b4 P
  1446. $ S* @% x" o6 n/ p
  1447. ; Whether to use strict session mode.
    4 i. [2 G. M% V, L
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ; n6 V# ~- R: b) H/ U
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects# f% a6 T% g& D; o- V$ _0 z$ f$ i
  1450. ; applications from session fixation via session adoption vulnerability. It is
    # p) L, d+ r, W* {* b, w4 j- t
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.) n4 }& k; Q0 n3 \) M* }3 }6 R
  1452. ; https://wiki.php.net/rfc/strict_sessions
    6 u0 L$ u6 t! s/ c  c
  1453. session.use_strict_mode = 0& {5 v  U5 c" B3 t

  1454. , u2 e+ `" ?' v' ]% `
  1455. ; Whether to use cookies., a  [+ A; Y& ^, b
  1456. ; http://php.net/session.use-cookies
    " E1 K' |' L- ^+ S
  1457. session.use_cookies = 1! f: k' f$ C6 W+ R

  1458. * x5 T8 o2 e  N* o# T% l3 u
  1459. ; http://php.net/session.cookie-secure' A3 |% `+ Y: V8 h
  1460. ;session.cookie_secure =- _1 ]' n! p! F# A

  1461. $ V8 m) v1 c, R1 Y8 T: V0 B
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining  T! I# J9 z8 _. |9 m
  1463. ; the session id. We encourage this operation as it's very helpful in combating# Y8 y% ?2 A# F% o, S$ ~6 V) P
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ! [9 Z8 Y+ t8 ?5 X0 h1 z- h2 f8 A
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 e: C, w: {! e( E: l- |, y1 F0 _
  1466. ; http://php.net/session.use-only-cookies
    : _* Q: C' g- b% E  C; }
  1467. session.use_only_cookies = 1/ J0 i! i. t0 O* b1 w! S& p
  1468. * p- r8 q: C7 ?, u4 z$ k
  1469. ; Name of the session (used as cookie name).
    ) y1 T- a( f- X. P( n9 y/ r
  1470. ; http://php.net/session.name1 |2 w% Y* U4 D8 B0 G( z- v8 P
  1471. session.name = PHPSESSID; n& t2 N: _) Z) j4 `. n4 O

  1472.   H9 W4 M$ P5 ?6 E& W3 z+ F
  1473. ; Initialize session on request startup.( i- Q* G! s6 u
  1474. ; http://php.net/session.auto-start
    ! Y+ J: x# ~4 u4 C  ?' S- U
  1475. session.auto_start = 0
    1 L& I8 ~: e% q

  1476. $ v; `  \0 ]+ f1 Z
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ' m) Y1 [- P5 e2 L
  1478. ; http://php.net/session.cookie-lifetime4 S, C3 {. c" L3 E; L" X
  1479. session.cookie_lifetime = 0: L7 W" F5 [5 p

  1480. $ r7 x& l, Z- B# I0 x& F
  1481. ; The path for which the cookie is valid.5 _: p7 [9 A" L6 n
  1482. ; http://php.net/session.cookie-path) h! e* Q, ~4 A8 e% ]# U
  1483. session.cookie_path = /
    1 u) Z+ y/ n& J, p& C0 C& ~. t' d/ s

  1484. : k8 r; ^8 m; U- i
  1485. ; The domain for which the cookie is valid.6 b$ w8 A' n9 y2 O- [1 q
  1486. ; http://php.net/session.cookie-domain) A  `6 R$ ]" p, D: p( c; h9 |
  1487. session.cookie_domain =
    3 ~; `" m1 Y1 U( I6 M

  1488. 2 y6 `4 s/ R8 J; A' b
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 W* m0 K( K9 l7 Y1 K1 ]0 K' |- O+ Q
  1490. ; http://php.net/session.cookie-httponly
    + |4 ]* Z5 R! j
  1491. session.cookie_httponly =
    ( N# H0 \$ `4 H7 ]1 Z' Q6 j( \
  1492. * I. I& F# q% y/ u
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
      K2 ^; r: d- h: y' E
  1494. ; http://php.net/session.serialize-handler4 ^$ W3 w: n4 d) y4 B6 z; I
  1495. session.serialize_handler = php8 Z' D7 h/ W! z) U1 ?# n# n: @
  1496. ( _# f( h& |' m8 E+ W
  1497. ; Defines the probability that the 'garbage collection' process is started
    ; ]+ Z  n3 H/ X( k
  1498. ; on every session initialization. The probability is calculated by using
    2 ~2 v! K  I6 V* f1 e/ p
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    0 ^' Q0 ]6 F1 V- H& r8 y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    . ^6 r& c2 |$ D; e
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 }6 z# O; _. q, R4 W: e$ K" V
  1502. ; the gc will run on any give request.+ C1 F7 |3 y3 y" A( b3 |* I
  1503. ; Default Value: 1
    , e: c# i" ]8 `) A1 C
  1504. ; Development Value: 1. Y" \, `, x- o2 P% I
  1505. ; Production Value: 1
    & G7 Z% b: U; X2 ]0 j$ _2 \
  1506. ; http://php.net/session.gc-probability
    & Z% ?8 D: p2 k6 K5 H1 ?
  1507. session.gc_probability = 1
    - y" Y6 V% h' N
  1508. 7 [+ \8 Z8 h0 q* W& z
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    , J0 y  {# I* `: i! U+ u5 q
  1510. ; session initialization. The probability is calculated by using the following equation:
    8 U# D: x9 {5 d4 J$ }/ x; |6 A
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 |! l1 |0 c8 U8 g
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    6 ^! F5 e: N3 \. w
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& ]$ R* Q; h% Q0 A& S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( Q  W  E# j+ p* f+ `& n
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( `, n- M# y- [8 _; P9 F
  1516. ; this is a more efficient approach.
    ) s* {$ T  r1 V' o* p
  1517. ; Default Value: 100" m' D( C; h* G6 m9 N% z* `% m# A
  1518. ; Development Value: 1000; |  I1 S3 S0 @' T! q
  1519. ; Production Value: 1000
    3 V) U8 W8 p  K
  1520. ; http://php.net/session.gc-divisor
    / J9 e' L, q3 ~/ _& v, ^
  1521. session.gc_divisor = 10009 c* U( O+ U5 S2 \' v/ J5 P" c2 c

  1522. - C5 c+ s9 l! L9 h
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and- p" Z& Z* I& F0 {% Z# l: ^" U
  1524. ; cleaned up by the garbage collection process.
      t# e, c# \) Q
  1525. ; http://php.net/session.gc-maxlifetime
    8 \8 j5 f* s9 l' ^
  1526. session.gc_maxlifetime = 1440
    $ J- ], a1 x5 w

  1527. 7 X' q4 x) L: \7 X9 f6 V" ]! y
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    % g- V4 G5 a- o
  1529. ;       (see session.save_path above), then garbage collection does *not*
    " H$ r( i- P8 K+ H
  1530. ;       happen automatically.  You will need to do your own garbage
    ! C5 K( d; q& c' B; g
  1531. ;       collection through a shell script, cron entry, or some other method.2 u& m1 k% K, S) [
  1532. ;       For example, the following script would is the equivalent of
    8 w3 i( e+ v4 |7 ]% `
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ! e9 P3 i+ D8 C9 H
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm4 D0 c- b0 R, R7 H, l2 B: ]
  1535. 1 s: a0 F# @3 c4 W+ {1 y0 n
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.& U0 v" r6 m7 O: F: J
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    3 t# ]6 ^7 C4 N/ e  b
  1538. ; considered as valid.: S8 R" D5 D- x- Z2 X  l2 {  Y8 Y" f
  1539. ; http://php.net/session.referer-check
    + w/ ]7 R7 O. ~/ d2 O3 a
  1540. session.referer_check =) [! n7 P3 k. M! H9 T# q' e& u' d% H

  1541. 9 _* x' @9 {% X. J' D' t, ?! N- @
  1542. ; How many bytes to read from the file.
    9 u* B7 a0 x+ h, g0 u1 d
  1543. ; http://php.net/session.entropy-length
    ) Q( @; I. Z* _! }/ z5 ?1 G
  1544. ;session.entropy_length = 323 a8 E' k) p5 O! \) r
  1545. / h& ~+ a+ u: d, r# [+ C+ I
  1546. ; Specified here to create the session id.: a% I  `" c2 N7 u+ E
  1547. ; http://php.net/session.entropy-file+ N8 o$ |( F4 M& ^
  1548. ; Defaults to /dev/urandom7 c" T  f7 W0 P. Q0 D
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom) B) ^3 ~% T! y) ~% {- I/ n
  1550. ; If neither are found at compile time, the default is no entropy file., O; r" c; k& {! B6 k+ M
  1551. ; On windows, setting the entropy_length setting will activate the' v" S. {/ h4 c% N& R) E) Z
  1552. ; Windows random source (using the CryptoAPI)
    6 w- k$ _9 ?$ x; z7 I
  1553. ;session.entropy_file = /dev/urandom
    % F# u) q- _* G7 h4 V
  1554. 7 c/ x2 B) A3 u# g  n9 v
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ E' ~5 z7 h1 ?# j( x
  1556. ; or leave this empty to avoid sending anti-caching headers.
    4 l; N, S4 m4 h* o2 |
  1557. ; http://php.net/session.cache-limiter
    ! C6 `1 T2 \) \$ j5 Y( J
  1558. session.cache_limiter = nocache
    0 A) r1 Y% M- W# P2 h  T

  1559. ' C4 \5 f7 b) v6 J# h$ |% a
  1560. ; Document expires after n minutes.
    : N" i9 B+ n( x; g5 R
  1561. ; http://php.net/session.cache-expire/ Y4 y- }/ `" b! J2 D# ]
  1562. session.cache_expire = 180
    ( ^7 Z% R% ]" _& Z

  1563. 6 m" b& I2 u6 S* y
  1564. ; trans sid support is disabled by default.
    . J; G4 p* s+ k9 |" O2 k2 |
  1565. ; Use of trans sid may risk your users' security.
      a* }' u* {% x4 g( n
  1566. ; Use this option with caution.
    . T* x6 K5 z+ y- p* [5 _
  1567. ; - User may send URL contains active session ID8 @6 V+ k  P* G; _
  1568. ;   to other person via. email/irc/etc., _$ j6 h+ C* }7 ~- |5 y
  1569. ; - URL that contains active session ID may be stored
    7 l! M0 ~: W* Y1 W% r8 W- G; b
  1570. ;   in publicly accessible computer.6 m% |, M  C+ b, e! u  \
  1571. ; - User may access your site with the same session ID
    # Y6 {* n( ]) m" L
  1572. ;   always using URL stored in browser's history or bookmarks.- p3 p* M% X& }
  1573. ; http://php.net/session.use-trans-sid8 d1 Q- B4 `/ O$ [' m' M
  1574. session.use_trans_sid = 06 @( s! T8 I6 ^) }3 g3 ^# G. r& W
  1575. ( o3 k. ]& n, ~/ H- t/ n& i  s- `
  1576. ; Select a hash function for use in generating session ids." a5 \+ |; S3 d3 M. {
  1577. ; Possible Values  [" W! z4 B8 L  W
  1578. ;   0  (MD5 128 bits)
    8 D; Q( g6 h$ B) C
  1579. ;   1  (SHA-1 160 bits)
    ! [( a+ y: \% m9 l
  1580. ; This option may also be set to the name of any hash function supported by
    + H4 c, q% h$ e; z- r5 X4 r- Z
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 b1 ~4 }5 u, ^* D7 I: B
  1582. ; function.
    % y" b- a/ c. A& z* f, j
  1583. ; http://php.net/session.hash-function
    6 \4 D- a6 ~) c
  1584. session.hash_function = 0
    2 {  H5 h  n! T9 f# Q! m
  1585. 5 |; n9 O" `. [4 a* H, g
  1586. ; Define how many bits are stored in each character when converting$ K6 q2 m+ x1 _, v. J* f4 H/ V8 Y5 }
  1587. ; the binary hash data to something readable.' p4 L. U& q* k  x
  1588. ; Possible values:
    ! C( ^# }( @3 V4 i: E0 L
  1589. ;   4  (4 bits: 0-9, a-f)! S, w4 ^! P, e* Y5 C
  1590. ;   5  (5 bits: 0-9, a-v)
    7 g, C. h" O2 x. F
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")' i. ~1 g3 B) c6 {  i: Q9 X8 n
  1592. ; Default Value: 4
    ' S; q; g, Q$ _
  1593. ; Development Value: 5
    , j  q+ Q* X+ a
  1594. ; Production Value: 5
    0 K2 o: p8 R& S) ?( F7 L
  1595. ; http://php.net/session.hash-bits-per-character
    , Y2 X) ^- y5 c, O- h* T
  1596. session.hash_bits_per_character = 5: J- `8 k: a4 k% ^8 o  a* |0 M

  1597. : L( [( U! U5 T3 R$ q$ F
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.! G2 M/ O  _2 r' b. p: K
  1599. ; form/fieldset are special; if you include them here, the rewriter will9 W: T: k; e, x0 L
  1600. ; add a hidden <input> field with the info which is otherwise appended
    5 B! D" p7 o8 Q) W& X
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    . N) D) m$ L, c9 e  S, ~' m
  1602. ; Note that all valid entries require a "=", even if no value follows.
    # e  `2 `8 t, S$ \. U
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="# H( B; N/ F* s' Z- X) S7 C
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", Y9 V, m: ]" u
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; v- x, n. E, A4 ]
  1606. ; http://php.net/url-rewriter.tags
    7 R; a  X( ?. ^" `5 b. {2 X4 t
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    . O6 |# k9 L9 @* o: _

  1608. % x, p( p9 p1 n
  1609. ; Enable upload progress tracking in $_SESSION% a: |* J8 J# _3 l
  1610. ; Default Value: On
    1 m. _! e0 E9 u, n& j  N5 S& v
  1611. ; Development Value: On
    ; c, N$ }: r6 D! ~) Q
  1612. ; Production Value: On. r5 @' ~6 o3 T6 @. K& D- m  [
  1613. ; http://php.net/session.upload-progress.enabled
    * Q, [( u7 A, ~, p
  1614. ;session.upload_progress.enabled = On# l0 u3 S5 `0 J  p( R/ w& h

  1615. / X: v. H) g  r3 e" D
  1616. ; Cleanup the progress information as soon as all POST data has been read0 r( @1 v' d, c$ G# C
  1617. ; (i.e. upload completed).
    : {4 g% u& x6 V6 B  W1 F; G+ R
  1618. ; Default Value: On) w$ s& p( X+ V4 U. O
  1619. ; Development Value: On
    / U8 P  f9 C4 w. ?/ ?
  1620. ; Production Value: On
    9 {, _& j; ~, w( a5 K3 @! [
  1621. ; http://php.net/session.upload-progress.cleanup) ?& B* m2 t) z8 k3 b$ N
  1622. ;session.upload_progress.cleanup = On
    ; J0 v- w1 L7 @' j$ K+ _$ v0 N# u/ ?- o! e

  1623. 3 o8 e, p2 r! w3 Q/ ^7 v1 U
  1624. ; A prefix used for the upload progress key in $_SESSION4 C, m) T+ ]% Z- D' g: W5 o6 e
  1625. ; Default Value: "upload_progress_"- E3 j$ S5 O2 y8 g
  1626. ; Development Value: "upload_progress_"
    7 d' R- z7 M: g' D
  1627. ; Production Value: "upload_progress_") G' x  f+ _8 e  ?
  1628. ; http://php.net/session.upload-progress.prefix
    % f+ t( i1 z/ J
  1629. ;session.upload_progress.prefix = "upload_progress_"
    + S) m7 G6 ~/ [5 a# r. W& [3 X6 h

  1630. 2 ?/ F' p8 n! Y* e" j
  1631. ; The index name (concatenated with the prefix) in $_SESSION) j, w& J, c" {0 ]4 I
  1632. ; containing the upload progress information0 x5 L( ~3 v) ]/ M6 w3 z" [
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ o3 r4 S! F' b" ^3 I% i) |
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' M* ~) M( C8 _/ P# x* x
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"0 j; o5 [* U( R' Z& \
  1636. ; http://php.net/session.upload-progress.name
    7 f- S/ L; }* S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    2 P* q9 B* Q  C, G- b+ E" f8 A+ Z
  1638. $ l! K6 w+ ~- s& O9 J
  1639. ; How frequently the upload progress should be updated.# m+ H1 U* e8 d, q4 e  ~
  1640. ; Given either in percentages (per-file), or in bytes
    , {( |% K; i! G- `4 t: z
  1641. ; Default Value: "1%"# E: A" M0 v. Q* g
  1642. ; Development Value: "1%"
    9 C: `' Z3 k  v# L! o" A% t
  1643. ; Production Value: "1%"1 q# G6 T6 M7 o  _/ o% h
  1644. ; http://php.net/session.upload-progress.freq& O* W' N8 H* J7 ?
  1645. ;session.upload_progress.freq =  "1%"
    ; U* w  O/ p) b4 b) O

  1646. : B" G/ z* Y. |; @) H9 ?' g+ X
  1647. ; The minimum delay between updates, in seconds
    / E, V. S( n' z+ E
  1648. ; Default Value: 13 e  P" q( q0 G/ ?5 L
  1649. ; Development Value: 14 Q# O7 H- j' j2 D
  1650. ; Production Value: 1  \7 v3 k9 `" ^0 @" v7 a, }
  1651. ; http://php.net/session.upload-progress.min-freq
    # {. s  a3 @" x  n8 M) n
  1652. ;session.upload_progress.min_freq = "1". B, |9 r9 x9 J" G/ J$ G
  1653. 7 d; [; z) I" L. ~0 n
  1654. [MSSQL]# U$ p; _) a1 Q+ v2 [8 B
  1655. ; Allow or prevent persistent links.& D4 Q! j) P& {4 V5 i' J& O
  1656. mssql.allow_persistent = On
    5 s; N1 ~: x2 S- X. w

  1657. ) V- e! h# I9 N0 _: r
  1658. ; Maximum number of persistent links.  -1 means no limit.
      ?. E/ ?0 g( x- ?5 k7 B/ n1 B: G! K
  1659. mssql.max_persistent = -1
    , |, r8 A6 G  b/ P
  1660. 0 W4 M% d7 t2 o6 {- q* V5 J: |! ?
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 T, j' k/ C* E
  1662. mssql.max_links = -1" G- p" u* F8 ~0 h4 s
  1663. + L! m1 S8 D' V7 i% I% P, [
  1664. ; Minimum error severity to display.* r1 C) @) U# B, v% D2 {: p
  1665. mssql.min_error_severity = 10
    5 A- b- x" `$ u) N
  1666. ) I4 t! P, k1 H; O
  1667. ; Minimum message severity to display.+ c2 r7 w" V& ?' z' S
  1668. mssql.min_message_severity = 10
    ! d( O: B- t& v) d, @: ~

  1669. 4 w: l# f" {2 L! x
  1670. ; Compatibility mode with old versions of PHP 3.0.- g0 l7 M6 `6 K  |- V
  1671. mssql.compatibility_mode = Off
    6 a6 Y( N. K" _* N, s- H

  1672. $ V) Z8 z  Z) @% V2 {: G
  1673. ; Connect timeout
    ) v0 L6 q  J+ a7 ]6 C2 }0 O
  1674. ;mssql.connect_timeout = 5
    * D) h3 w: p# |1 z; C" X

  1675. # Z% P# k$ {1 j' J/ a
  1676. ; Query timeout! k- s$ n& ]+ P
  1677. ;mssql.timeout = 60& s+ M4 z0 S5 L/ O! h
  1678. & F3 Z! x: }! t; V$ M8 d3 ^7 z1 I% M
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & p. ~( i: @+ J& o  H0 @- l
  1680. ;mssql.textlimit = 4096. g) h  t7 o% p  w1 j

  1681. 3 M3 H" \, h- f! }% R( F+ s) `
  1682. ; Valid range 0 - 2147483647.  Default = 4096.( n% ~3 w9 Q" `; T  r
  1683. ;mssql.textsize = 4096
    , C  G6 O7 A5 q1 _7 F* f  W1 Y2 h3 z3 Z

  1684. * @1 i2 T9 Q) y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    " a7 Q0 }/ F$ o8 z  w" q
  1686. ;mssql.batchsize = 0) d! _6 x  Z; E9 w
  1687. 3 y1 R% ~1 T5 j1 S( d4 y
  1688. ; Specify how datetime and datetim4 columns are returned
    ; A7 e# C; o% q  Y3 i" @
  1689. ; On => Returns data converted to SQL server settings9 Q. ^$ m  x$ K0 @
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    1 F+ [) E$ e. L' V* x) I: \
  1691. ;mssql.datetimeconvert = On4 t+ \; b% ?# O

  1692. # I6 t' D; C* B, K5 m2 W  d
  1693. ; Use NT authentication when connecting to the server
    9 [5 f* i+ q) Q; E- }8 }  ^
  1694. mssql.secure_connection = Off3 R0 _7 Z9 e0 J
  1695. 1 J: y& e' f1 d2 N
  1696. ; Specify max number of processes. -1 = library default7 |7 Y4 M- j% T3 F) ~0 {2 d
  1697. ; msdlib defaults to 25/ `, i9 D: B# P1 q1 v
  1698. ; FreeTDS defaults to 40964 K4 y9 A5 N0 H7 Z4 Q2 i& g& ~* [
  1699. ;mssql.max_procs = -1
    3 U# @$ j5 A. u) e1 \. p

  1700. 5 o" I) K, X! Q$ t
  1701. ; Specify client character set.. m% X( H+ W& ~! `3 N$ _5 E
  1702. ; If empty or not set the client charset from freetds.conf is used
    * b9 a# M2 f% s6 D. i1 k
  1703. ; This is only used when compiled with FreeTDS/ g+ R3 Y8 {9 j+ c" }$ G
  1704. ;mssql.charset = "ISO-8859-1"
    + G  b& ]. Y" C( d5 D
  1705. % |4 C9 ]( L% o- L, Z- a  d) C
  1706. [Assertion]
    / A. o8 m1 c+ z  e
  1707. ; Assert(expr); active by default.- C' Z; a6 b, f$ v
  1708. ; http://php.net/assert.active
    / ~" k! G- }/ R9 [3 y0 f* c
  1709. ;assert.active = On
    ) n9 p9 o( J6 `2 ?; f% R: N
  1710. , K+ J, {8 F* R$ i
  1711. ; Issue a PHP warning for each failed assertion.6 C6 g. _# M6 l$ ?1 P
  1712. ; http://php.net/assert.warning+ P% I( s; Q8 D6 M
  1713. ;assert.warning = On+ d5 n; \1 Y+ H+ {8 T* |) m
  1714. 5 A- r( c4 ]7 A- \( Y
  1715. ; Don't bail out by default.
    ( O- S; P- h+ c4 S- O/ g
  1716. ; http://php.net/assert.bail
    - h8 P- L& U7 T, Z& X
  1717. ;assert.bail = Off9 i) r- k! c" H) ~0 F8 _
  1718. 0 T1 \5 @8 l/ i
  1719. ; User-function to be called if an assertion fails.
    , y9 g4 T3 h1 D
  1720. ; http://php.net/assert.callback) C. l6 n$ J# z) C) i6 B7 t9 N) v
  1721. ;assert.callback = 0
    6 {" U- D5 Z: \: X
  1722. " s9 S4 A) _9 h' o/ `
  1723. ; Eval the expression with current error_reporting().  Set to true if you want. R5 T' T5 X2 w7 W  J' C! @  K7 t
  1724. ; error_reporting(0) around the eval().1 T' ~$ n/ P4 S+ b2 Z  F. G# b: ^; T
  1725. ; http://php.net/assert.quiet-eval  D0 q& q7 o4 G
  1726. ;assert.quiet_eval = 0& X% l. i, i7 f: [4 o, T
  1727. - K3 w0 q# M3 a0 `
  1728. [COM]8 n0 Z* R/ m. B* M" A) A
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs* ?0 t; F7 E; X
  1730. ; http://php.net/com.typelib-file
      O; s* B: I7 ?, L; \: X
  1731. ;com.typelib_file =) k3 t7 d3 T, F. a
  1732. 0 p+ @' Z" I! c) r
  1733. ; allow Distributed-COM calls
    5 t/ R6 m% {0 D, V* Z( q) ?' T7 E
  1734. ; http://php.net/com.allow-dcom/ L2 f% Z+ P3 l7 X
  1735. ;com.allow_dcom = true
    ( T% d  l6 Z. c8 O/ R6 Q; {5 |( `4 V

  1736. 3 T% v7 s3 f4 v; m* p( x6 j4 [5 }
  1737. ; autoregister constants of a components typlib on com_load()
    . t+ x7 t" F& i5 b8 N# w
  1738. ; http://php.net/com.autoregister-typelib: s. O) P3 i2 J" i6 C
  1739. ;com.autoregister_typelib = true
    & o! q1 l9 e7 ~* J
  1740. 4 O% l# k. H( g' N& Y& K: ~2 S
  1741. ; register constants casesensitive
    ; z) ^( y: V4 |# v( u: m
  1742. ; http://php.net/com.autoregister-casesensitive8 m% O# Q3 V2 Y, Z: ]. ?6 H# V
  1743. ;com.autoregister_casesensitive = false5 d* V- }' C" V, ?: {
  1744. $ L4 V( \$ C: I! d
  1745. ; show warnings on duplicate constant registrations
    . m' C! `. @$ `3 E
  1746. ; http://php.net/com.autoregister-verbose
    8 U  `; S4 D; h/ Q' ^$ i3 d
  1747. ;com.autoregister_verbose = true
    ) s& v- a0 b& o0 W! [( N5 h
  1748. 7 D! b0 b) z' X; s
  1749. ; The default character set code-page to use when passing strings to and from COM objects.  e" E& q' W# o# f  W
  1750. ; Default: system ANSI code page7 p5 K; x* c" |9 N, O$ x
  1751. ;com.code_page=6 U* ?3 f  _3 Q; L  ?' X
  1752. ; R5 l( Y2 h( l  V# V. p
  1753. [mbstring]
    3 o3 P$ k# L- X( q6 h
  1754. ; language for internal character representation.
    % ~( C- B4 L; _) ~0 s9 o8 l  a
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ; R  D' _# m  c  K8 M7 u+ W
  1756. ; http://php.net/mbstring.language8 C  ]9 ?- s& T6 K, z
  1757. ;mbstring.language = Japanese
    0 h" G. _! B% B* h- J9 E

  1758. / n$ z$ I* _! `0 K# P
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.! H" I$ H8 K# L4 O) B0 [
  1760. ; internal/script encoding.8 M: T- Y8 z+ f1 B9 P3 a
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)% R! Z0 d: Q# ]! B# y+ }" \' s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % S: ~3 C, m# ^0 ]
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 }) l- |  h! C3 J& l) ]
  1764. ;mbstring.internal_encoding =/ C' ]* R% F; u* J7 H) ~

  1765. . [/ f2 Z) \6 s9 U" K/ s6 [1 g
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.( q7 {( U3 H+ w- V  N5 d
  1767. ; http input encoding.
    ( D1 V6 }0 w9 N
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    * S" ^: J% L7 \- ^
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.6 M( w8 W7 V! b) {1 q" P2 X# X; z
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    6 H* B# u& V: u
  1771. ; http://php.net/mbstring.http-input
    * N: W# J; V/ {9 m) g1 o6 I% ?
  1772. ;mbstring.http_input =
    ) w+ _- y  g8 N. A' n4 E

  1773. 0 ^2 M1 C, ~* U) C5 h) n
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! D& l; j  q, G5 o
  1775. ; http output encoding.; b% u0 E9 @8 J4 J, y' r  f
  1776. ; mb_output_handler must be registered as output buffer to function.
    . a; f9 E2 |' v
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.% R9 L& s* T6 F% E9 s+ g
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 X4 i7 j4 _. v9 S; J# U9 Z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set: b% y4 j# [; a& N+ Q9 G
  1780. ; otherwise output encoding conversion cannot be performed.
    5 n" Y1 _3 I% D" ^2 v
  1781. ; http://php.net/mbstring.http-output
    - m* q; S3 n, [$ G0 Y+ J; H' g; h* x
  1782. ;mbstring.http_output =1 d0 t5 H* `* h2 h( M8 a4 h
  1783. 5 G, H# }2 A  u! o' G
  1784. ; enable automatic encoding translation according to9 V; G1 o. @. P! p8 i+ v1 B
  1785. ; mbstring.internal_encoding setting. Input chars are8 n! N8 n; m9 a/ B# X( G
  1786. ; converted to internal encoding by setting this to On.
    2 J* M% z# ^( O; L
  1787. ; Note: Do _not_ use automatic encoding translation for
    $ x& x3 ^4 m  C) i5 o$ u) a( R
  1788. ;       portable libs/applications.
    ) n! X! V8 s( o& |$ M1 z
  1789. ; http://php.net/mbstring.encoding-translation
    " p+ [" z8 z" R, J$ h4 j  C0 D
  1790. ;mbstring.encoding_translation = Off8 ~' H# i! p- m8 B1 Y& {8 Q

  1791. 5 \) k* _8 c& X/ e9 t  r
  1792. ; automatic encoding detection order.
    ' X  U( J; a, b6 b" }1 T' u2 ^
  1793. ; "auto" detect order is changed according to mbstring.language
    1 l' Y1 v, Z" @1 c  F+ L
  1794. ; http://php.net/mbstring.detect-order
    # u4 A1 v: N1 o  D3 t- [
  1795. ;mbstring.detect_order = auto
    + H3 c. f2 ?/ _' J: Y3 T2 X7 t( d
  1796. 4 X* m2 C2 L) B" X7 ?+ E) A
  1797. ; substitute_character used when character cannot be converted
    0 p6 g4 C; `7 e  D
  1798. ; one from another
    2 R' C5 o. v- U# s6 _. ?
  1799. ; http://php.net/mbstring.substitute-character
    / t; J0 m" i9 K7 v
  1800. ;mbstring.substitute_character = none
    8 T6 N$ q8 Z* R1 f2 ^  e

  1801. / q. e& ^- f$ q2 R* X2 v1 V- }
  1802. ; overload(replace) single byte functions by mbstring functions.
    . r2 s# _) k0 [
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),$ Q0 m# c! e$ w( H1 o& ~+ E- M# ~
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.- e, q! z/ S$ C7 H8 m
  1805. ; For example, 7 for overload everything.* i3 ^- Q2 Q( Q5 M: ?7 T7 `
  1806. ; 0: No overload
    / D1 k: _; k2 {8 p" ~5 b0 T
  1807. ; 1: Overload mail() function
    % P3 ]2 _, [( s# D( P( J0 q- J
  1808. ; 2: Overload str*() functions0 F- I2 O0 `  B0 f# F
  1809. ; 4: Overload ereg*() functions! z1 ?; k% z; G8 L9 J  r
  1810. ; http://php.net/mbstring.func-overload& Z) m4 r4 [1 ]9 G4 o7 B! C
  1811. ;mbstring.func_overload = 0
    2 [% h3 H% P% {% v* S! r1 a! T

  1812. 4 o. ?. q; U9 `5 i
  1813. ; enable strict encoding detection.
    7 z4 x. S% z( f: A
  1814. ; Default: Off
    6 j- W! C2 D, z
  1815. ;mbstring.strict_detection = On
    6 u. d$ y- B5 x4 o3 y4 T& r' X' b

  1816. 3 }. {3 m0 \1 Z, S8 X
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    8 C' p: e& s' v  I% @
  1818. ; is activated./ X2 Q- R* e! U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 L5 n" A0 R" j
  1820. ;mbstring.http_output_conv_mimetype=* e  B1 n, ?7 x8 U% Y  F- q

  1821. 6 n; J# V- D, T7 {7 G! g( p
  1822. [gd]
    1 N8 p- a  \- |& R+ g3 O' J. q" G
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    , Q. V1 J% |4 ]; M- m9 j& Y
  1824. ; a gd image. The warning will then be displayed as notices$ b/ O. n" r( J* u  A/ b0 t- Y
  1825. ; disabled by default
    9 F$ P5 j3 _( w: M- k: ^
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ) g3 D( |- i0 I- Q- J
  1827. ;gd.jpeg_ignore_warning = 0: I1 e' m% M5 _2 V. x. z5 i

  1828. - O% n8 o# u/ \+ y6 f' G
  1829. [exif]% z2 E) ]1 R) ~( S$ [+ R" v
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.1 R* \$ S! g9 B  i2 O& U
  1831. ; With mbstring support this will automatically be converted into the encoding' ?9 K) F1 [- J8 B" `& }  N; X! y
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    2 }( V* x2 \) C, D! v; A: t/ D
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ' ~! u2 ~% r% i# X% s5 x0 {& o
  1834. ; intel byte order. A decode setting cannot be empty.9 X# b7 q5 J! ]* h' {
  1835. ; http://php.net/exif.encode-unicode
    ( i4 E+ ?4 U/ C
  1836. ;exif.encode_unicode = ISO-8859-15/ I# I; w& a0 M0 P3 n# M$ q% g

  1837. - S( R" ^& R  [1 T. Q. V6 Y- E
  1838. ; http://php.net/exif.decode-unicode-motorola
    ) f' b$ W/ O8 {1 U# e4 t
  1839. ;exif.decode_unicode_motorola = UCS-2BE2 x) C9 z' |( f6 x# H: e1 F
  1840. ) g) t: f3 {2 u5 Y+ L# T
  1841. ; http://php.net/exif.decode-unicode-intel# b) G7 y5 k0 g+ ^. m2 @* k; `
  1842. ;exif.decode_unicode_intel    = UCS-2LE3 B2 ^7 |; g0 _, |# v  y

  1843. % W# U* V3 h0 V4 H# b
  1844. ; http://php.net/exif.encode-jis
    $ O3 C  G' P  d+ B) V0 o, x
  1845. ;exif.encode_jis =, p3 `4 C$ B& d
  1846. $ w2 L6 d/ K/ B# x
  1847. ; http://php.net/exif.decode-jis-motorola
    6 G+ ^; o5 ]1 {) r! @9 \! j
  1848. ;exif.decode_jis_motorola = JIS9 y, H# M: a' E( A
  1849. 5 `1 r' h4 u- v) I
  1850. ; http://php.net/exif.decode-jis-intel
    & G4 H/ a1 \4 I) b
  1851. ;exif.decode_jis_intel    = JIS4 O1 L0 q9 U5 F, A6 J, D

  1852. 4 O3 F: a$ y  v& n7 q) c
  1853. [Tidy]
    5 L, J  Q2 p. [: [
  1854. ; The path to a default tidy configuration file to use when using tidy
      Q' U3 v3 p. j  A0 B8 ^  ~+ ~0 n
  1855. ; http://php.net/tidy.default-config' w: u0 r6 ]# d# F8 `3 ^
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg2 f; Q; S* X) s% [$ W+ X1 S
  1857. 3 O0 V& K3 |3 k2 Z
  1858. ; Should tidy clean and repair output automatically?! [  a( e- r: C- W$ [6 b" F! {
  1859. ; WARNING: Do not use this option if you are generating non-html content8 R% Z, Z; ]* u. F
  1860. ; such as dynamic images! K" y  j8 f' v0 E1 D6 p  Q
  1861. ; http://php.net/tidy.clean-output+ L% N: U7 s( B6 c: A8 [
  1862. tidy.clean_output = Off
    9 Z/ v. I2 G. B: u' O, m7 }
  1863. ! R+ o1 \- m- R1 ?& B
  1864. [soap]
    ; E, D+ k# }! r; |+ e; L5 H
  1865. ; Enables or disables WSDL caching feature.
    ( K' ^4 {7 a# z; ~( y
  1866. ; http://php.net/soap.wsdl-cache-enabled
    3 b% g& ~' x# O$ y3 B& ~
  1867. soap.wsdl_cache_enabled=1
    % n" A7 a" l% f: \. ]
  1868. " }: G9 i1 k7 ]/ |
  1869. ; Sets the directory name where SOAP extension will put cache files.+ |, N( z, D) ~) H$ p9 E+ ?& O
  1870. ; http://php.net/soap.wsdl-cache-dir, G  ^( q( y7 f7 k0 f: ~0 f
  1871. soap.wsdl_cache_dir="/tmp"
    + K7 N4 ?' `' ^, Z: h  X" s
  1872. : j0 s# g9 G. @5 _. q6 H: R
  1873. ; (time to live) Sets the number of second while cached file will be used
    8 G' ], V! r0 A" P
  1874. ; instead of original one.. f1 ^: E  x! X( t% s4 V7 l
  1875. ; http://php.net/soap.wsdl-cache-ttl
    3 L" L0 N* n: E. E" V- ~; d( q
  1876. soap.wsdl_cache_ttl=86400
    3 U3 y, E* s" |* r0 h8 l8 p: _
  1877. " n7 E- g0 L" l7 G, ~
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)' ?3 [- ]+ x) I
  1879. soap.wsdl_cache_limit = 5
    5 ~- l/ Z: V# M! u
  1880. & x* K) `  m3 ?
  1881. [sysvshm]
    ' p; \! N8 E% O# O. X) b" r; ~
  1882. ; A default size of the shared memory segment
    " ^7 O" g1 f6 g
  1883. ;sysvshm.init_mem = 100004 J* w+ Z1 `+ |! O! O

  1884.   R2 ]! R9 [8 w
  1885. [ldap]; D8 @* v1 l% w6 l0 G  i
  1886. ; Sets the maximum number of open links or -1 for unlimited.& ?$ D: }+ m: e' @
  1887. ldap.max_links = -1, x- e# {. X& `: S" ]. x! P
  1888. ; r$ B9 u* t/ q& E/ ]6 x% `
  1889. [mcrypt]& k' ?! y  w' ^2 H
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open4 C* v( C/ ~0 a! B6 F* ]' P; d

  1891. * B, r+ J1 q5 |) C4 [4 }
  1892. ; Directory where to load mcrypt algorithms
    * `2 {, ^1 X. f8 W& }+ i
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): D& p: e; {* q' I: J( ?- q
  1894. ;mcrypt.algorithms_dir=/ `- U: c+ C3 S1 |" Y1 \3 @- K/ M  R

  1895. / A4 l4 H5 D/ u2 D
  1896. ; Directory where to load mcrypt modes6 w' |- q" H" [, m+ N
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 k- `4 |8 a& l. Y, N) o
  1898. ;mcrypt.modes_dir=
    % R( `1 x/ X4 u6 k& C

  1899. 7 z! J  Z" }5 y
  1900. [dba]: A% }7 \, p$ c+ r
  1901. ;dba.default_handler=: ?( t1 V# e0 f! \" d# b

  1902. " C- r7 q, r& B0 f! `
  1903. [opcache]0 Y5 @+ d8 b3 ]$ @2 X
  1904. ; Determines if Zend OPCache is enabled$ g# x8 c3 G% |% E* J/ I! ]0 F. T
  1905. ;opcache.enable=0
    6 {/ x0 b) R# p' s4 ~$ `& S
  1906. 8 i! j3 g% \7 [0 \7 c6 q) j
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 h( L) W" J; Y
  1908. ;opcache.enable_cli=05 j- f2 |; r" m2 j
  1909. 7 c  g/ l% z% h- P. u! E/ z
  1910. ; The OPcache shared memory storage size.
    1 E: n0 Z0 {. A3 K! M7 q
  1911. ;opcache.memory_consumption=64
    / V- o8 d$ n& R2 Y* N& l$ j3 ^  W0 l

  1912. - N2 m1 H* M9 E4 |
  1913. ; The amount of memory for interned strings in Mbytes.
    8 }. ~& W4 B; i0 h, ~
  1914. ;opcache.interned_strings_buffer=4$ O' z9 W/ S! s/ s3 |
  1915. 7 }& {- e; z& R! V4 ^2 t' i
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 ^" M0 U' P% `$ P! U
  1917. ; Only numbers between 200 and 100000 are allowed.
    + O, h9 k+ ?" Z* `& r5 [/ \
  1918. ;opcache.max_accelerated_files=2000
    / O% y$ Q# U5 n) v, ?
  1919. 8 ], h6 e) q; |
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.* A1 F' {8 |! m/ S: L4 l
  1921. ;opcache.max_wasted_percentage=58 [- N9 k5 j/ ]) x

  1922. 9 Y/ k7 k% b7 V" P% Q
  1923. ; When this directive is enabled, the OPcache appends the current working
    # }$ ?4 z4 X  X3 B
  1924. ; directory to the script key, thus eliminating possible collisions between! u1 z) F0 m( d4 D" S& ^, f6 L9 n
  1925. ; files with the same name (basename). Disabling the directive improves
    0 T+ W! m# |( H! U
  1926. ; performance, but may break existing applications./ K  I  w, x5 W- j
  1927. ;opcache.use_cwd=13 R' e! o! ]3 U. X
  1928. - x6 n* L* L, p8 c# Y4 r" ]
  1929. ; When disabled, you must reset the OPcache manually or restart the
    8 t6 J; F+ W* L
  1930. ; webserver for changes to the filesystem to take effect.
    + C; o) g2 W# Y3 I9 Y) O: I
  1931. ;opcache.validate_timestamps=1
    & K4 W4 T! L" ^+ ^; M: \
  1932. - y8 P: D+ W9 V- ^5 @& v2 t# M
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    1 Z# m7 q: Z4 q" Y8 R
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    8 }# C0 n1 x8 D" W
  1935. ; once per request. "0" means always validate)  F; m0 L, Z) G: ~
  1936. ;opcache.revalidate_freq=2
    % @- g5 K) u- Q- Z/ A) F0 r+ L
  1937. ! P  d6 }$ B. S
  1938. ; Enables or disables file search in include_path optimization
    ! M, }. r/ A" i: P) l. ^* x# K  H
  1939. ;opcache.revalidate_path=0/ h: e9 X7 v( {
  1940. . Z: ^: a( |5 f* E! X, p
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    3 x2 K/ j# j2 U
  1942. ; size of the optimized code.0 l" c( u/ P) u- R0 F3 _" k* y+ Z
  1943. ;opcache.save_comments=1  q. W; ?$ m9 e% [# m0 ]( @
  1944. ' f6 ^8 n. z: y' [4 d
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"4 n5 @; |4 c/ ^, g
  1946. ; may be always stored (save_comments=1), but not loaded by applications  Z0 U; `+ `2 L  m+ Y7 ~- Q6 D
  1947. ; that don't need them anyway.
    - g. C# }& x" u5 \; p
  1948. ;opcache.load_comments=1
    4 {" k6 A" t, ^& G* D
  1949. 2 Z/ R; z, v% q, P. R" @' ~2 `' q8 q
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    & A8 w2 o4 y% y7 ?. n
  1951. ;opcache.fast_shutdown=0
    " N/ K- Q- {* @6 M& Z$ O, P6 r, N
  1952. " x5 C, p! x0 \$ i/ ~6 U: V
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    . I9 \0 A- f* R9 t$ g; y! h5 S2 B$ d, `
  1954. ;opcache.enable_file_override=0
    5 k* M+ r3 P( f7 P: u) X& k
  1955. ! M4 n( L. P; P$ v: X3 L
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! j% S; |* l* A$ G
  1957. ; passes
    3 ?* O1 t5 D& g& G
  1958. ;opcache.optimization_level=0xffffffff  v2 W  c: y5 ]8 {1 P

  1959. 6 x* C& D9 _$ s) t1 o
  1960. ;opcache.inherited_hack=1
    % ?9 G/ L' a7 P# [7 w: Q, g* e0 m; H
  1961. ;opcache.dups_fix=0# @3 f5 \& r. P- n$ N6 o

  1962.   w, L! e+ Z( u6 |; k
  1963. ; The location of the OPcache blacklist file (wildcards allowed).3 v3 H7 \, [% O% }/ I0 Y9 y5 x
  1964. ; Each OPcache blacklist file is a text file that holds the names of files6 p  t% u$ i7 A; J; Z
  1965. ; that should not be accelerated. The file format is to add each filename
    ' A& r" S2 z) F7 J4 P# o
  1966. ; to a new line. The filename may be a full path or just a file prefix, G0 x7 J* p  F, M$ h0 g8 Q2 e+ I% W2 l4 G
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    0 j2 J1 r. R  b: l8 Z$ K. B- l
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).% B2 B7 H7 s# w& q' ~' ?- A  }
  1969. ;opcache.blacklist_filename=8 _" w  v$ K' K( ^9 ]
  1970. ( `2 N3 U8 J) a: b1 j
  1971. ; Allows exclusion of large files from being cached. By default all files  o' \/ f! v& x5 _  D
  1972. ; are cached.
    # }& j- {9 E- r* q5 a! z
  1973. ;opcache.max_file_size=0
    ( H  ?6 s1 H( v% L! T0 Z
  1974. * C7 L+ d6 H  G! }
  1975. ; Check the cache checksum each N requests.
    3 O7 u% Q/ M2 r0 F
  1976. ; The default value of "0" means that the checks are disabled.
    0 f0 _3 F2 p. z# W+ @
  1977. ;opcache.consistency_checks=0
    8 h8 ]* r3 R: c' ^

  1978. : M( v2 s* R" Y* o# {" B5 s- B
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    7 a( j. R. O9 V: G' K; U3 |
  1980. ; is not being accessed.; x9 p9 [7 R! E! `+ ~+ U
  1981. ;opcache.force_restart_timeout=180
    ! |1 b1 ~: D9 A

  1982. 6 f) f) j; x! l6 {8 `/ x
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    5 |# c4 W- s! c' m
  1984. ;opcache.error_log=
    # P4 _* w: w+ B+ M

  1985. " ]& w2 I, a: ^3 M/ f, l4 O3 G- ]
  1986. ; All OPcache errors go to the Web server log.
    " K8 T7 l( h( V5 Y/ F
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.0 ~5 v+ |9 ]( f5 K/ O8 H6 p7 [
  1988. ; You can also enable warnings (level 2), info messages (level 3) or! _3 P  ^/ G% x
  1989. ; debug messages (level 4).3 F( [1 z5 W! g) \5 `
  1990. ;opcache.log_verbosity_level=15 W5 i: n- t0 N! \. Z

  1991. & u7 x2 h  e1 _: Q% |0 [5 y( z
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      m8 a  [0 j! D# R3 E- g
  1993. ;opcache.preferred_memory_model=
    1 S4 Y, S" X0 a" J0 |

  1994. ( y; Q6 ^: A( C1 u* v- f2 ?
  1995. ; Protect the shared memory from unexpected writing during script execution.
    . v5 P& c: o4 N9 Y/ P7 v
  1996. ; Useful for internal debugging only.3 d4 C/ f8 O4 R4 d
  1997. ;opcache.protect_memory=0
    & `8 y) y# Q+ t
  1998. 8 X9 ~! t9 }4 p# S! `
  1999. ; Validate cached file permissions.  c, [: W4 K; @& a5 I
  2000. ; opcache.validate_permission=0( F' K) Q: h6 \2 Y# X5 _/ F
  2001. , t0 ?# B- l2 \8 E% D( _" o
  2002. ; Prevent name collisions in chroot'ed environment./ i; ~1 c2 K4 P) s" f/ E% B) ^* ]; c+ J
  2003. ; opcache.validate_root=0
    ; d+ j7 u0 @9 b9 C1 P# c; B. H# i
  2004. & e1 ?2 y4 J- g) [+ @+ s6 s: G
  2005. [curl]
      U* M% e$ o  z
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 \: F6 |2 v. C* R% T9 \3 j
  2007. ; absolute path.
    9 H9 V( B% [" c3 U1 }+ a% M, _
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( v' e5 _5 {- a0 q# W; I

  2009. 5 \) R9 L  c  p& r
  2010. [openssl]& z: K3 d4 O2 A
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    3 B5 \9 M' n" z" y; P2 R
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should( a" w7 d& n! Z( U- Z0 h1 x3 X& l
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ! r& L  y" g, w7 [9 h# W
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 [( h  Y4 N& N% p( B
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context3 C. H' I0 s' z$ v+ e
  2016. ; option.- N$ w5 v5 Q6 J1 t) ?/ r
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt# I4 P5 R# S1 ~6 ?$ t
  2018. $ j9 Y9 o- _! s1 C0 w, Q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    . ~) [- J' [6 ~! x5 k
  2020. ; directory pointed to by openssl.capath is searched for a suitable* }9 h3 Y  d  Z% H' G* T0 f9 u
  2021. ; certificate. This value must be a correctly hashed certificate directory.% U" M7 v7 `& s1 U( J% G5 ^$ e
  2022. ; Most users should not specify a value for this directive as PHP will( u* i/ K3 Y8 U
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    8 O; A) n: Y3 E  s
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    2 p5 v! N/ g/ Y$ U  b' L
  2025. ; SSL stream context option.
    5 [6 |2 @8 O* \4 f6 h
  2026. ;openssl.capath=
    / _" ]7 ^- y/ G* D) x$ J2 }; j
  2027. * W, t2 p0 \6 h* t0 @
  2028. ; Local Variables:& v$ ~- k9 m% u) f) B
  2029. ; tab-width: 45 d1 e: Z0 Q6 N0 b7 a& [: g
  2030. ; End:
    : M0 G  j$ Y/ Z: K  F/ S8 X
  2031. 6 Q" b1 g8 n, n! `9 V# S) j
  2032. ;eaccelerator
    5 ^7 ^6 E) t4 H; W! e1 M
  2033. 7 b$ E* Z3 D" N
  2034. ;ionCube0 D- g9 |+ P' O4 a% u# I( S
  2035. 0 t* ^* @) x1 a. P
  2036. ;opcache! \0 D9 ]* U# X$ c8 I

  2037. ( y7 k- z! r, i: _
  2038. [Zend ZendGuard Loader]# S& t" Z3 m; y9 N4 Q4 H; L8 P
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so/ F6 ], v  o* i# K
  2040. zend_loader.enable=11 P1 q# N1 N* ^( L( I; U+ ]
  2041. zend_loader.disable_licensing=0
    ( k6 L% X/ F; W' P% {& P6 T6 N: j
  2042. zend_loader.obfuscation_level_support=3  ]; q) v& R1 Z6 i5 U  z
  2043. zend_loader.license_path=# e. ~% c  }/ l

  2044. $ D3 K+ u+ @, A: I" o. J+ E
  2045. ;xcache' R  t; Y; G) X# N& p

  2046. 3 d7 q# l0 q9 R  ^
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
  i1 K! o5 c$ i) d  T* a  e; f* h3 d2 }3 l

# h  Z- b. h! `& p- wDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
% v. V# }/ E" J# Z( V4 y7 x# _7 l2 N- ?# R9 f$ H
Discuz!程序版本选择:
, S  m5 r# t# }( r3 w站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,: p  K: [0 A4 h9 Z0 x
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
: z3 E6 j- F3 I# _" vDiscuz!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。
" h$ L1 V8 I3 r5 U+ l& S. M8 H
' c# X+ q" Y  \4 B0 u3 MDiscuz!插件模板版本选择:8 i7 v6 Y1 _8 M1 F6 a0 k
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
$ O) F( f! H) U* D# F& ~  r8 H针对这个问题做个统一的普及:
& M; j2 j( E' @X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
! v9 f6 z, m. e0 z& {- s$ I0 q3 B7 o' {* f7 Z" q
所以
9 ~' u% ^% g, U) h, h( k适合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的二级域名。9 m* [% }. A& o
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。# y6 U4 t$ G# P7 o- b
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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