分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
7 C- Y1 ^7 E+ _3 }5 E6 f6 |( S7 d
1 y/ D. M0 q4 D, X3 r& {
  1. [PHP]4 A* n* C6 A- O" G+ d

  2. + p2 ^2 B& j1 z2 C
  3. ;;;;;;;;;;;;;;;;;;;: Z# J+ ?: C! I* q2 S8 ]1 J
  4. ; About php.ini   ;
    % f  K" e8 M' m! v9 l0 F
  5. ;;;;;;;;;;;;;;;;;;;
    ' L1 i. n$ J5 x* P3 J
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 }+ W" b0 G2 P
  7. ; configuring many of the aspects of PHP's behavior.
    # U7 i3 w, K7 R- K

  8. : u) R$ M6 x( q6 a! j9 `) i% O
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * e0 I" x' x3 Y% N4 H6 r" n: k" Y0 x
  10. ; The following is a summary of its search order:& m" ?1 |- K/ H; _
  11. ; 1. SAPI module specific location.3 R8 }; B$ p+ n& s- b
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& D6 p; c; i' K# d) w" v
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)8 I5 I7 Q6 h! ~" q" \' H7 X
  14. ; 4. Current working directory (except CLI)
    ; A5 X2 N8 g; B, }% Z1 a. b" X
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    * a/ A% o$ ^1 R( O6 l/ q, {5 S
  16. ; (otherwise in Windows)
    % t# [" B5 P& ^/ t
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    $ D' i" Z) _! z" w7 A
  18. ; Windows directory (C:\windows or C:\winnt)  M( i) y, i% h7 L5 O: N) P9 p
  19. ; See the PHP docs for more specific information.: s: Y8 k3 E0 e5 s- c) ^
  20. ; http://php.net/configuration.file
    # k' F5 }3 V+ u8 n

  21. / Z0 N: W0 A* u% e) s
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    $ Z9 V& U: t6 }/ @2 `& ]  k( X$ [
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    $ e; Z. C8 Y  |& l4 o: Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 X3 p4 M- l5 l9 Z
  25. ; they might mean something in the future.
    4 V$ T" z9 t( x/ b
  26.   D4 G# C' X. D* g4 M. |
  27. ; Directives following the section heading [PATH=/www/mysite] only, K* R0 B, q% o/ X3 ^/ b
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : g4 |0 v" e9 L5 H
  29. ; following the section heading [HOST=www.example.com] only apply to
    " |) ^' C3 J6 o/ F9 O- ]6 q$ I
  30. ; PHP files served from www.example.com.  Directives set in these5 x/ t  O& ?( d# O& y, \* ~
  31. ; special sections cannot be overridden by user-defined INI files or
    / i# P# K: j' l. L+ B2 b
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ( H* z0 j3 K: t6 p- k! _) L+ \
  33. ; CGI/FastCGI.
    $ t, F# P- S9 N1 r( k- G' s
  34. ; http://php.net/ini.sections& \/ v3 w- H2 L7 @& q# d
  35. 8 s/ p2 b1 a; g+ v. x
  36. ; Directives are specified using the following syntax:1 _% w# V8 H  p- A
  37. ; directive = value
      K0 ?0 R, M& ?3 ?& O3 @$ Y4 D) b- l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ' k8 i  ?! p; a- s0 |' B
  39. ; Directives are variables used to configure PHP or PHP extensions., R! W  z0 \9 K7 j' p4 m7 l% N
  40. ; There is no name validation.  If PHP can't find an expected5 F  q! L* p, ]( E; Y9 @$ p( y7 t1 F; ^
  41. ; directive because it is not set or is mistyped, a default value will be used.6 @6 D3 N* d0 q" j; u

  42. 7 c. I* W7 U$ H7 X% b
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one7 b6 Y& R3 R; H: [0 C* u6 ]
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression# R/ s+ w7 m. y% T
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a; `; }9 g  o$ r6 r- a' M8 j7 c; G
  46. ; previously set variable or directive (e.g. ${foo})
    5 ^! e* e; L+ b& b4 y. X

  47. & n2 Z/ ~1 R$ M6 z, p: I
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 w6 M: ^! I& n4 @2 V1 t' S
  49. ; |  bitwise OR1 z* V  [* A4 B1 a% J( Q3 w1 L
  50. ; ^  bitwise XOR
    % I( h/ R2 V2 q; Y8 q3 N  h
  51. ; &  bitwise AND
    + X) L3 ^, W5 m7 _5 w) f
  52. ; ~  bitwise NOT- I+ R& X( p# `& ^. q" V9 m) h
  53. ; !  boolean NOT2 ]2 ^! T) F0 r/ d0 H6 m7 t
  54. 4 M) X& X- I$ ?7 n2 _
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 V( L# h- X/ k! v: r1 K1 T
  56. ; They can be turned off using the values 0, Off, False or No.' f, [, {  ~3 e# z8 n3 O
  57. 9 \2 R* r) W5 Z  z9 V! c  s; C% E
  58. ; An empty string can be denoted by simply not writing anything after the equal# J  c' o) c% k2 L6 t( A
  59. ; sign, or by using the None keyword:/ g6 n8 O$ m& Q  j1 W1 N  l  E

  60. * o/ s( N, d" v2 p& ?! ?0 S
  61. ;  foo =         ; sets foo to an empty string8 }+ ]  }/ m# G2 @; l: t, r2 l# z2 l9 W
  62. ;  foo = None    ; sets foo to an empty string. g. y: P7 f/ R6 G/ Z* f
  63. ;  foo = "None"  ; sets foo to the string 'None'7 u6 @, ?$ P$ G
  64. $ u% F) g4 x# y6 ]8 T7 _/ _7 H4 V
  65. ; If you use constants in your value, and these constants belong to a0 k9 w- ~$ X! I$ L
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 f$ F% Q" D3 ~. C
  67. ; you may only use these constants *after* the line that loads the extension.3 `5 K  f- I0 {/ Q

  68. " T- M: i! c- F! P6 t
  69. ;;;;;;;;;;;;;;;;;;;
      w* m1 d+ ~6 O) q' @* h: z; I
  70. ; About this file ;
    4 d/ A! C) K" G4 p3 T0 i1 d7 i
  71. ;;;;;;;;;;;;;;;;;;;, L! a4 r7 V6 q+ Q) B! s; \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    - c5 d! G0 A3 N
  73. ; in production environments and one that is recommended to be used in
    8 o0 K. f3 O7 N% U, M
  74. ; development environments.8 R2 v( v. O) F# r3 |; n

  75. $ F8 T8 U8 Z# {! x
  76. ; php.ini-production contains settings which hold security, performance and
    1 ]! r& u/ Y5 c2 d  {
  77. ; best practices at its core. But please be aware, these settings may break8 O8 b" ~& P& W
  78. ; compatibility with older or less security conscience applications. We
    0 |; u' N1 p, A  R) N5 ]- z( S
  79. ; recommending using the production ini in production and testing environments.
    ( E7 e" X) J, K7 G3 J  d' B

  80. 6 y0 G9 ]) t! T( S
  81. ; php.ini-development is very similar to its production variant, except it is8 i2 k/ U( C$ H& D; @  T
  82. ; much more verbose when it comes to errors. We recommend using the( y: U! K5 x% b* ^8 J4 o$ ?
  83. ; development version only in development environments, as errors shown to. V% p3 O# [& T2 |/ X9 K
  84. ; application users can inadvertently leak otherwise secure information.
    . m, D3 k% l, M0 m
  85. 7 v6 N  q6 R! M6 D
  86. ; This is php.ini-production INI file.: {/ \6 D" K: g9 L/ D" G

  87. # [7 h1 _" i: b" m6 o8 @
  88. ;;;;;;;;;;;;;;;;;;;4 ~8 T2 P  K4 @/ y& e% a( n; t+ N
  89. ; Quick Reference ;' B. o+ J8 y/ w
  90. ;;;;;;;;;;;;;;;;;;;$ p" T+ Z% ~% x8 W4 I6 d, X7 m* Y
  91. ; The following are all the settings which are different in either the production9 Z$ F) J: j" W$ U
  92. ; or development versions of the INIs with respect to PHP's default behavior.. [  M/ o  S* ~+ H9 x7 I) I' ]
  93. ; Please see the actual settings later in the document for more details as to why
      {* i0 ~" f3 q0 ?
  94. ; we recommend these changes in PHP's behavior.
    ) I& n  y" g# d$ ^4 f% k
  95. + i: q/ ^$ f: C( k- ^# g
  96. ; display_errors* B! k- Z. v0 {; m. m  {
  97. ;   Default Value: On- A+ [7 p9 i* {
  98. ;   Development Value: On
      j* G; x% N6 v* l! y. q" t1 B
  99. ;   Production Value: Off1 D( \/ Y' @1 T, b* s
  100. % Z3 H, p$ J. }1 J7 r
  101. ; display_startup_errors
    $ A3 }* d  H, z7 q1 K+ j2 H
  102. ;   Default Value: Off
    ! s! f3 R  R- N
  103. ;   Development Value: On  Q4 J* L( Z" s/ y& {& o. W& `
  104. ;   Production Value: Off  e+ g/ Y: s" ]' a  q7 J8 `1 w" @
  105. 2 ~3 S  P9 n  S0 n5 x, T
  106. ; error_reporting
    ! h7 b7 P- o! f1 [! I1 m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ G8 n: l8 @9 E2 Z
  108. ;   Development Value: E_ALL6 g! d9 V5 Z' D* }  P/ H
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT+ x  O' q6 k+ O

  110. ; X8 {. P+ n6 U" m, ~! z  I( g
  111. ; html_errors9 @6 ~, \$ f5 K( R/ [. T
  112. ;   Default Value: On/ T- Q5 Q# d' g7 j
  113. ;   Development Value: On  s6 _: u2 ?$ H' h. T
  114. ;   Production value: On# ~9 d# R" j, o

  115. ! ?: y* B5 `5 {9 F% v
  116. ; log_errors
    * F! `8 X5 x) f) A4 n2 _
  117. ;   Default Value: Off
    7 |5 c3 k2 p6 Y, Z
  118. ;   Development Value: On
    9 ^( I2 |% C' |' `" @7 P
  119. ;   Production Value: On8 R6 @, O0 g& W1 i- b5 l

  120. ! w6 `$ h0 h9 l5 m* F9 I; w7 a
  121. ; max_input_time
    ! ~  u! u0 S: s& S* g
  122. ;   Default Value: -1 (Unlimited)
    / {0 s+ }% T* V5 }# ~  j
  123. ;   Development Value: 60 (60 seconds)% ]( C# }* z/ z6 e! X7 c$ f
  124. ;   Production Value: 60 (60 seconds)1 {/ y+ Z2 l! H# t5 [  R

  125. 1 ?5 j- }5 _3 M3 {
  126. ; output_buffering, i/ S5 U  J7 y, a1 R$ c
  127. ;   Default Value: Off
    3 m! w" \; I; ]9 w7 U) f
  128. ;   Development Value: 40967 l0 v3 V. i" o
  129. ;   Production Value: 4096
    6 S( N  S  d( |1 w. f4 Q

  130. ; Z- a" o$ C1 [+ j- X& X
  131. ; register_argc_argv( b5 U# d6 i' w$ T# `# m: l
  132. ;   Default Value: On
    4 F$ a$ g9 S" Z/ a. u: A  M" {
  133. ;   Development Value: Off
    + k0 y- Z9 i4 T/ D% M5 G: d
  134. ;   Production Value: Off" s( E* d8 W' o. G7 t8 C/ K. Q; i( k

  135. 7 C! f+ E+ d6 r' i
  136. ; request_order1 S' ?! @: I4 Y1 h1 E0 t: \# E
  137. ;   Default Value: None* s' P& ^' m0 i& C" \
  138. ;   Development Value: "GP"$ u/ A! M: R: O4 @& z
  139. ;   Production Value: "GP"
    : o9 V! ^! P- i* q3 ?4 m0 A& G3 Q9 c
  140. 9 r# `4 p; E% M: i' ?
  141. ; session.gc_divisor
    , g  [7 h' K* V  L3 H! ~2 a. Z+ P9 Y
  142. ;   Default Value: 100, t3 z& }; p/ L4 `! t2 F- U
  143. ;   Development Value: 1000
    / F4 ~( N2 d/ k
  144. ;   Production Value: 1000
    2 ?8 E/ ^7 e. }/ A9 S

  145. - |( C) J4 R$ B; h, U9 F2 K0 b
  146. ; session.hash_bits_per_character! d* G' }9 K# `
  147. ;   Default Value: 4! ^! m9 v' @0 M0 g4 h! [) B
  148. ;   Development Value: 5; r; F, v: ]0 P; ?4 T
  149. ;   Production Value: 53 O$ y' L3 J! j  t/ s
  150. ( g. N' C8 m' p& v  I
  151. ; short_open_tag, k( J$ J/ A& ~0 D& _( z+ ~
  152. ;   Default Value: On4 C" g9 o9 s4 v( d9 ^8 m( D# j# F
  153. ;   Development Value: Off
    . k$ E- `! \4 W: L
  154. ;   Production Value: Off# C+ k3 H  q/ O6 J; V5 H, i& R

  155. 0 D- u7 i' n: R- ]1 R6 ^( T8 y
  156. ; track_errors
    + q5 z/ _0 ]1 g0 ]
  157. ;   Default Value: Off
    2 l1 G( x4 Q' Y
  158. ;   Development Value: On8 @2 l! f# s* l; e
  159. ;   Production Value: Off7 e9 U: }. l9 f; X

  160. : e) |2 `) q; t  V8 f* d# z
  161. ; url_rewriter.tags( q) z% v' K+ m+ e* D7 L; X# }
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & J5 I$ W3 M% B" p
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 }; Q/ T; o: |! p* E4 \9 Q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ ?' M* E! B+ B9 {, i4 d2 T* ?7 ^3 P
  165. 9 _: i8 l) S+ a" j1 R
  166. ; variables_order
    : d% r# N0 P5 g6 |1 C3 ?+ @
  167. ;   Default Value: "EGPCS"# c. E# p1 S) c/ o( E
  168. ;   Development Value: "GPCS"
    # M. D) K: O9 ?" u7 U/ G! x; G
  169. ;   Production Value: "GPCS"
    " F( X* e; N$ Y) b2 m8 _+ T  K+ F/ u
  170. - z+ }1 H- ~9 \9 _- Q. D
  171. ;;;;;;;;;;;;;;;;;;;;7 X  N, c: s$ L. J
  172. ; php.ini Options  ;1 j6 @0 Y+ D# \) P
  173. ;;;;;;;;;;;;;;;;;;;;
    $ r/ \7 ~& Y5 |! W
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 |' a4 R2 ]1 q
  175. ;user_ini.filename = ".user.ini"  n  S! M3 Z) w) E

  176. 0 o8 n% o& [  r6 X/ i& Y+ E
  177. ; To disable this feature set this option to empty value: {; ^1 Y9 n( G& P$ i2 c4 [- N
  178. ;user_ini.filename =
    ( k* s# F* W3 N* I( a0 ]  O( w; l4 i
  179. ! K( j7 i6 l' }  [
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)3 Z" Q$ D* Z0 A9 Y
  181. ;user_ini.cache_ttl = 300
    8 L% U6 Y) v8 U
  182. 6 ]( B- E( y, b+ q0 F
  183. ;;;;;;;;;;;;;;;;;;;;) n% a- f9 j/ R& ~: J% q; F
  184. ; Language Options ;
    8 Z9 O8 m$ `- A
  185. ;;;;;;;;;;;;;;;;;;;;
    - e) t7 a/ ]$ [) w$ v
  186. , Y1 N$ U& ]/ G5 @3 K6 j4 h
  187. ; Enable the PHP scripting language engine under Apache.
    6 {: ]7 a) T* I
  188. ; http://php.net/engine
    7 U5 a" _* i# f6 [
  189. engine = On  |3 Z6 E& e! X' w
  190. % [9 d3 n9 D" E# J# v+ O
  191. ; This directive determines whether or not PHP will recognize code between- `+ b* k( I- G6 h  W
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    3 D3 [# _- j! b, @( ]) G4 E& C3 |2 t
  193. ; generally recommended that <?php and ?> should be used and that this feature1 v  J0 H/ c/ n. O7 n+ Z6 i! Q" T
  194. ; should be disabled, as enabling it may result in issues when generating XML
    8 r* D) c& v2 W9 H: x; y/ J
  195. ; documents, however this remains supported for backward compatibility reasons.
    - R1 c. D, z( G, T0 e
  196. ; Note that this directive does not control the <?= shorthand tag, which can be/ b5 C# \" e" ~: I
  197. ; used regardless of this directive.
    & ]5 [$ S" ^6 e: B# K" w2 [2 h( {8 f: U
  198. ; Default Value: On' s3 r9 \1 u5 c* s0 M) a- E% H7 w
  199. ; Development Value: Off
    1 L# a1 \3 S% G$ H4 R6 x
  200. ; Production Value: Off% |* r! ^( _, E" }
  201. ; http://php.net/short-open-tag1 T8 w' {5 ~6 F' r) M
  202. short_open_tag = On4 P) X4 i6 G& H/ @$ w1 i. L3 {
  203. ( e) U  M8 Y5 |) t7 v; V
  204. ; The number of significant digits displayed in floating point numbers.
    . G, P* Q6 h, s1 e2 o9 i
  205. ; http://php.net/precision  _2 J1 g8 H: q' x) [
  206. precision = 14
    0 _- M" E+ z6 Z/ h/ O3 i5 p8 s

  207. ; k2 c7 C4 _' a5 Q
  208. ; Output buffering is a mechanism for controlling how much output data) m: C0 z; Z/ J
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that$ ?. ]5 D; i7 U
  210. ; data to the client. If your application's output exceeds this setting, PHP
    , W# P9 ~/ i' q4 t% x' O
  211. ; will send that data in chunks of roughly the size you specify.' x/ {9 L: _; U* X$ y$ A
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    1 f% \6 n! ?* m: F8 x
  213. ; interesting side-effects depending on your application and web server.8 w% h9 l% i+ v
  214. ; You may be able to send headers and cookies after you've already sent output
    * C. c+ ~. I1 y* v3 v
  215. ; through print or echo. You also may see performance benefits if your server is2 s' ?& I7 _2 i0 o1 M) |" z
  216. ; emitting less packets due to buffered output versus PHP streaming the output# }& d; O+ p; [2 h% }' a
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance9 B- Q! I6 Y: b$ N' P% W: \
  218. ; reasons.
    ( I! K6 _: @" y5 n: H  T0 ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control; m  I6 k9 I6 Z. y
  220. ;   functions.% `7 I4 H3 f0 q3 w+ T
  221. ; Possible Values:; t9 r% ]( k- S$ V  q( l
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)5 O( _- t# N) m. ]* o
  223. ;   Off = Disabled+ U% t, X/ F/ `
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " i; Q0 ?5 M. o+ \6 x; Q  n5 ^
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' `2 f0 P5 u" A$ o9 _) Y, y" v
  226. ; Default Value: Off
    ) z' V* r& x1 d/ O4 S
  227. ; Development Value: 40960 f* \) Z1 `, g  M
  228. ; Production Value: 4096
    . U9 A* T6 Q1 {
  229. ; http://php.net/output-buffering
    $ R5 W/ y& I9 f  E) D% ?- X
  230. output_buffering = 4096! k; a; e9 C1 i: b$ k
  231. : _; w, s5 m& P# v- d: r
  232. ; You can redirect all of the output of your scripts to a function.  For
    : ?1 G$ |2 y* _0 C) ~0 M; v% c. P
  233. ; example, if you set output_handler to "mb_output_handler", character$ `) Y: |; c: u0 J
  234. ; encoding will be transparently converted to the specified encoding.
    5 l7 L, P5 R. o, v( K1 `
  235. ; Setting any output handler automatically turns on output buffering.: f' x# C6 }3 U1 b4 ]$ i- K% S% O
  236. ; Note: People who wrote portable scripts should not depend on this ini
    : i" Y& K" l, h7 z! ^
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    4 j; n* V/ _2 ]( {; b
  238. ;   Using this ini directive may cause problems unless you know what script
    + i5 J- h3 O( l
  239. ;   is doing.
    0 X" n1 g+ r+ I
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 o) h6 h% n  @: P) I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    7 X4 g! E  O1 v8 }) R7 w
  242. ; Note: output_handler must be empty if this is set 'On' !!!!* ~1 U8 b8 e( n( u8 F" N' Z
  243. ;   Instead you must use zlib.output_handler.
    2 }/ h" {7 o7 c! }$ J' l, @
  244. ; http://php.net/output-handler
    1 s$ F$ V5 `! Z
  245. ;output_handler =
      A4 G9 H  b& a" l
  246. 8 l  N& ]9 D! Y. ?" Z/ M
  247. ; Transparent output compression using the zlib library
    4 ?8 c% A) S# `: _
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size2 X9 z7 n" q6 C: E
  249. ; to be used for compression (default is 4KB)
    2 p. X* r8 z- M& x
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP& Q9 {1 {, q( C. Q$ {/ x
  251. ;   outputs chunks that are few hundreds bytes each as a result of% r8 u1 T# s8 Q( ?
  252. ;   compression. If you prefer a larger chunk size for better
    5 r  A7 }9 [4 J- N2 d$ k+ i- h
  253. ;   performance, enable output_buffering in addition.
    . J% Y0 d' e, y+ f5 V
  254. ; Note: You need to use zlib.output_handler instead of the standard& D& Y# }* n7 z- s0 c
  255. ;   output_handler, or otherwise the output will be corrupted.
    1 `7 N+ z- X& T" n& _: f
  256. ; http://php.net/zlib.output-compression; K! H+ z. m# ^+ [( H6 r: g6 b
  257. zlib.output_compression = Off# z( e! D, A" H" Y9 _
  258. ( E' z; n* `$ v
  259. ; http://php.net/zlib.output-compression-level9 k% X7 A2 P) p; t% l( c
  260. ;zlib.output_compression_level = -1
    ( E4 y% A0 X: |9 H

  261. " Q2 m6 O# j  `1 w" u  E! ?* x$ r
  262. ; You cannot specify additional output handlers if zlib.output_compression
    : w- e6 O; _! U5 p% g2 ?
  263. ; is activated here. This setting does the same as output_handler but in
    + s& r/ y9 H* ^" |+ R# K& k
  264. ; a different order.
    6 G! s, M! m! N8 l! o# D
  265. ; http://php.net/zlib.output-handler
      L6 c( E; K) A: ~  b6 }4 [; ^
  266. ;zlib.output_handler =3 ~' s3 [8 l! L' {% V
  267. 7 a! F* a8 f5 [9 {( R* I
  268. ; Implicit flush tells PHP to tell the output layer to flush itself$ ~0 ]; ~9 H4 k# ?' ]9 t7 `$ @& e, t7 ^8 D
  269. ; automatically after every output block.  This is equivalent to calling the/ R0 U% W) @  W! `
  270. ; PHP function flush() after each and every call to print() or echo() and each# _5 z) S8 h' C7 L: l- G
  271. ; and every HTML block.  Turning this option on has serious performance
    5 S9 F" w) F, G- u
  272. ; implications and is generally recommended for debugging purposes only.  l, y+ o* S; v2 E
  273. ; http://php.net/implicit-flush0 ^) [4 d! j/ a& |# a4 _1 U
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    & W) K* H  J' U" F1 h4 ^+ Z
  275. implicit_flush = Off
    * k1 T8 \& B3 Z+ l& L% ?& x
  276. 1 |0 H- h9 x4 a2 D
  277. ; The unserialize callback function will be called (with the undefined class'
    8 d  X2 J% F8 i5 v+ Z  B  i6 M, _
  278. ; name as parameter), if the unserializer finds an undefined class& m2 o  \9 D6 L% d: h  D5 }, a
  279. ; which should be instantiated. A warning appears if the specified function is0 S2 F- o/ s* v
  280. ; not defined, or if the function doesn't include/implement the missing class.6 x) W' h2 ]6 E
  281. ; So only set this entry, if you really want to implement such a
    3 T- p% [' G1 H$ u3 Q$ ]* V: K
  282. ; callback-function.' W1 n4 r% e+ f
  283. unserialize_callback_func =1 [9 j8 j2 B8 N: t1 @7 a) ]
  284. " Y0 c" S& V/ f- z: ~0 A# Y
  285. ; When floats & doubles are serialized store serialize_precision significant, l3 e8 Y; i8 a. T, Q
  286. ; digits after the floating point. The default value ensures that when floats
    0 ^: {; f8 |/ W! h. A
  287. ; are decoded with unserialize, the data will remain the same.
    $ E0 l( r+ I; Z- K+ }4 _
  288. serialize_precision = 17" W, w. C* P2 Y3 q

  289. 7 x8 \4 v- a% J2 K6 b
  290. ; open_basedir, if set, limits all file operations to the defined directory+ {7 T% c* W8 g: s/ K* O
  291. ; and below.  This directive makes most sense if used in a per-directory
    * \5 @9 c& j5 a3 |% I/ Z
  292. ; or per-virtualhost web server configuration file.
    8 L5 k7 ~' q- N/ ^
  293. ; http://php.net/open-basedir% y% N7 e) g# P6 e2 V, E
  294. ;open_basedir =/ w1 U; J+ j; l% G7 r% v- `

  295. 7 q$ ^  p! P1 ~3 u: W
  296. ; This directive allows you to disable certain functions for security reasons.3 r* f6 d" |7 o3 z" ?8 X
  297. ; It receives a comma-delimited list of function names.( j9 c  P) A  V: l% ~' j
  298. ; http://php.net/disable-functions4 ?. b$ K; p% J' R
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    1 G5 y6 ]/ N: d) H4 |
  300. 3 l. \) g; W% u9 [! }  }0 j
  301. ; This directive allows you to disable certain classes for security reasons.6 y5 v! b- a2 ?2 {$ j( ]
  302. ; It receives a comma-delimited list of class names.& L, {9 K' s2 k6 p/ E8 |
  303. ; http://php.net/disable-classes6 N- j' W9 i1 s$ C
  304. disable_classes =
    ! p. M7 j" E( K  _# S# k

  305. - [  W; C" r9 o" H2 V
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / _' |# n/ Q1 w4 J  A) r, g
  307. ; <span style="color: ???????"> would work.7 |- U9 m/ f9 n6 h* \7 f% ~3 P- l
  308. ; http://php.net/syntax-highlighting
    ; {0 [7 _: o; z# ?+ |
  309. ;highlight.string  = #DD0000
    : i* ?- I+ a) ?- Y
  310. ;highlight.comment = #FF9900
    . Q( T; I# y0 T, W/ T) [" H& K
  311. ;highlight.keyword = #007700
    ' h) |! A4 W! p/ c' T: a% T" z
  312. ;highlight.default = #0000BB- r! q3 ?' R( v. ~
  313. ;highlight.html    = #000000
    * E+ Y) y2 a! D4 D: X9 X, m6 d/ z

  314. - {9 ~, K; j4 A, `. \
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    " w8 K. X, S8 E
  316. ; the request. Consider enabling it if executing long requests, which may end up4 C9 z5 ^8 e7 k+ h! Q* s
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    5 C) ]! L& J0 _! w
  318. ; is to disable this feature.
    5 V: G, G, d2 ^3 f- q. o# f$ c
  319. ; http://php.net/ignore-user-abort: m. O* `- i/ P* v# d& G
  320. ;ignore_user_abort = On9 A/ _% X$ a! b, H

  321. ) Y; _5 P2 ~' V0 v& ~4 E
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    / |/ G2 f4 B3 O
  323. ; be increased on systems where PHP opens many files to reflect the quantity of& x! G9 _( B) `! g1 f! b# O
  324. ; the file operations performed.
    1 F; f- B7 W  S8 o  m
  325. ; http://php.net/realpath-cache-size" i( r% o' P4 I: g& D
  326. ;realpath_cache_size = 4096k& M: H+ v; m; X3 A6 x% [( O+ W) g
  327. ! |* d; T& n- v; h* ~
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    8 t2 l% w3 q: \: i5 l8 @$ ~: B8 L
  329. ; file or directory. For systems with rarely changing files, consider increasing this  K( m8 d  r' S
  330. ; value.
    . K; }( L3 w: ?0 I4 |$ h
  331. ; http://php.net/realpath-cache-ttl
    9 Q9 H& N1 e! d& @
  332. ;realpath_cache_ttl = 120. P9 U7 [* v9 J7 m+ S

  333. " D9 G; W# I% Q* e7 N
  334. ; Enables or disables the circular reference collector.
    5 F3 n3 Y+ K9 }# C( P5 w6 x
  335. ; http://php.net/zend.enable-gc# Q% P7 E% q6 i9 W
  336. zend.enable_gc = On
    ' n3 @* T2 a4 r, A' V
  337. 5 Z8 q! ^- a& L9 [1 Y  b* a( `
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    4 X6 c- g9 \" P! v0 p) L) r
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 `* V& o1 k" Y: ~
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    8 h. F3 O: v- T3 j4 M' G
  341. ; Default: Off$ _' s; w! l4 G9 L7 L4 y, U/ o
  342. ;zend.multibyte = Off
    . N3 x8 o- u3 ~9 f" z- w" h

  343. / T! C: R0 ~' K) n! F
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    9 M2 o  N- ]$ X- l8 n- _; j
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 o5 x( V8 t6 Q: u7 F* I& m$ t. i
  346. ; Only affects if zend.multibyte is set.
    ! x! M5 {) T8 s5 v: t1 K( {/ r
  347. ; Default: ""
    8 t: f1 [0 k8 M& A: b  B4 e  |; Z
  348. ;zend.script_encoding =% Y% p7 a, R" R- b1 x9 r
  349.   r: {/ P, Q1 r9 j9 G$ C
  350. ;;;;;;;;;;;;;;;;;. z2 w+ i7 ^$ g6 i  S
  351. ; Miscellaneous ;
    2 J2 o% `! `) C, o6 f. B  _6 p
  352. ;;;;;;;;;;;;;;;;;
    + ~4 G/ S, j4 q
  353. 1 d# p: ]5 Z+ q6 d8 {
  354. ; Decides whether PHP may expose the fact that it is installed on the server% e  N$ ^* ^5 l0 i
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    : L3 P9 H+ U0 z& [! [( j
  356. ; threat in any way, but it makes it possible to determine whether you use PHP+ l/ h, N5 L- S, {. w5 x" N
  357. ; on your server or not.
    ' q8 M; H3 ~/ O- g* B
  358. ; http://php.net/expose-php- Z6 |5 c8 K+ q. _" k
  359. expose_php = On1 @3 J0 p7 b) ^! z2 M
  360. , N2 h4 h( ?  H8 f
  361. ;;;;;;;;;;;;;;;;;;;
    8 m! |( p( B1 h% p! D# W
  362. ; Resource Limits ;8 b, ], [  A! B8 w( @; _
  363. ;;;;;;;;;;;;;;;;;;;+ |6 E2 W2 L2 `$ I% K# a$ Q  M

  364. : A4 q2 Y( a! m
  365. ; Maximum execution time of each script, in seconds
    0 D9 V5 q: f1 C/ r
  366. ; http://php.net/max-execution-time
    $ a+ m, G+ z' i* x+ j6 }
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    7 }6 {/ U% r( N$ d9 @! n* k' W
  368. max_execution_time = 300( n# ~9 ]/ b5 O% s& l

  369. " h$ D$ k4 I$ k4 D5 h1 A4 h
  370. ; Maximum amount of time each script may spend parsing request data. It's a good* S& c. K) j( x
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
      _# Q9 u& U* J7 _  J' @2 d
  372. ; long running scripts.
    / G& w0 w( q9 S& l1 c! ], E
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI+ S* v$ O6 D2 C0 H  q
  374. ; Default Value: -1 (Unlimited)3 t% A: p; o3 B9 d
  375. ; Development Value: 60 (60 seconds). t3 y& r4 w, l" ^
  376. ; Production Value: 60 (60 seconds)
    . {0 f* g% j  Q; ^5 g
  377. ; http://php.net/max-input-time# \/ G0 u5 O* o* m
  378. max_input_time = 60
    . f- J9 G2 Z9 a0 X/ T& l
  379. ) W2 B% t1 v/ N, g. B9 K6 y+ d
  380. ; Maximum input variable nesting level
    7 u, B' G% b8 Y9 o8 J9 V
  381. ; http://php.net/max-input-nesting-level! |3 N+ T2 `/ Z( C; j; N
  382. ;max_input_nesting_level = 64
    0 q- i' y& }$ S9 f5 A' s) M) r
  383. 7 n! m  }6 o' l( Y7 `9 w& v
  384. ; How many GET/POST/COOKIE input variables may be accepted
    4 x) U* Y/ W2 G# j% `9 M
  385. ; max_input_vars = 1000& v+ a' J5 `6 o1 X+ S
  386. 9 x, X& t) M# i5 N( [/ `
  387. ; Maximum amount of memory a script may consume (128MB)
    % Y: g9 d7 \! U$ Z! g$ F  Z3 {
  388. ; http://php.net/memory-limit
    + b( B5 I6 M! {2 f6 K! M- y0 d* k
  389. memory_limit = 128M. m/ Q1 u, X' Y  L9 A8 o& i/ e

  390. * C" h0 P  g6 a
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 j1 f) F  Y1 i# U1 s( {
  392. ; Error handling and logging ;' ^, k& u: V) z- e, T- u( j8 n9 H
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! B, U% P; k; V1 W1 l
  394. ( c% p7 y( {/ m6 ~& u& r* S+ t
  395. ; This directive informs PHP of which errors, warnings and notices you would like" Q, M+ U9 }9 J, `" J* B! |' x
  396. ; it to take action for. The recommended way of setting values for this
    ' N4 ?. D% F0 H4 d9 ?0 n5 V
  397. ; directive is through the use of the error level constants and bitwise
    8 Y; a2 i$ e  _  w1 P: ~0 _
  398. ; operators. The error level constants are below here for convenience as well as* w: e( o1 m  ?# z, f
  399. ; some common settings and their meanings.
    ( c7 \3 ?, P. C  U+ N, W9 d* D
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' c* A0 @; I" S" z8 ~: C$ o% z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and. ~4 h: y  p( s5 Q# S: `7 c$ |" o. y
  402. ; recommended coding standards in PHP. For performance reasons, this is the8 c/ c0 H9 w( E1 d( w) }& _7 i+ u
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    $ b9 n+ H8 l+ e& Y
  404. ; resources complaining about best practices and coding standards. That's what* ~- p% I& U6 @* ^8 Q- x# B% H; |
  405. ; development servers and development settings are for.
    ( M. U7 z+ x) |
  406. ; Note: The php.ini-development file has this setting as E_ALL. This3 T, }  O$ U. @; U: y& \" a
  407. ; means it pretty much reports everything which is exactly what you want during9 U. ]5 N+ s. e% w5 M" s
  408. ; development and early testing.9 F- I6 b' G7 n  Y- u
  409. ;4 v0 Q6 P$ m0 O
  410. ; Error Level Constants:
    * c: v9 s& r8 e  `3 ^* s4 T2 R/ w5 y
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! v$ F! j+ v' `* [
  412. ; E_ERROR           - fatal run-time errors) [* \4 I( J) X3 ^  T- e1 O7 H
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / K( K; o2 ]9 p* L6 u5 g
  414. ; E_WARNING         - run-time warnings (non-fatal errors)8 E  V5 X8 @2 O' N4 z
  415. ; E_PARSE           - compile-time parse errors
    4 {+ ?  H2 ~  r* r
  416. ; E_NOTICE          - run-time notices (these are warnings which often result# C, f3 u* m! N0 ]% P( j0 K- i
  417. ;                     from a bug in your code, but it's possible that it was
    5 s4 p4 U; A. }9 i. I3 d5 N
  418. ;                     intentional (e.g., using an uninitialized variable and
    ( M3 ~  s+ ?) O1 t5 O
  419. ;                     relying on the fact it is automatically initialized to an
    . m2 S3 L& Z! g& o5 r9 i6 @
  420. ;                     empty string)
    * k1 T" q/ y. e
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- I) W) l# ~/ A( D% [
  422. ;                     to your code which will ensure the best interoperability
    ) A: p5 r1 }4 g% m9 ^, p& L
  423. ;                     and forward compatibility of your code
    . c  @. ^- o! N# T
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup; d1 P! D* ~7 D  L+ f/ c
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's; g4 n8 j" T" ]! R# ?) c
  426. ;                     initial startup; p* D! n- C( t
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    & _/ ]- j6 d3 V* _- H
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)" b, s/ N# G  F" }
  429. ; E_USER_ERROR      - user-generated error message
    ' F' B8 ^7 d* @! ~1 p
  430. ; E_USER_WARNING    - user-generated warning message
    : G& d0 e  p/ t# H( Q! `
  431. ; E_USER_NOTICE     - user-generated notice message
    4 I2 h: @0 |; s6 w
  432. ; E_DEPRECATED      - warn about code that will not work in future versions' _# \7 y: r! W- X6 ?8 F  `
  433. ;                     of PHP& ~7 B4 x6 e! }% r8 h8 m( {
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings$ f% W- m" l. ?& A1 }) @& ?
  435. ;
    + ^4 ]; d, a* [
  436. ; Common Values:: u1 X# U: D  R% Z6 @0 H- t
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)3 f9 O: ?/ M1 A' w- V& \/ k
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . ~) O- b" ?  n8 K# x
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + b3 d# `5 e- w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)8 d# N$ C# p/ d- G7 G
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 r1 E+ k7 I$ k' @* b
  442. ; Development Value: E_ALL8 t% ~9 j# z3 t. Y% n2 q- U
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 y7 v1 {6 N" l: w( Q5 Q
  444. ; http://php.net/error-reporting
    ' [2 M* c( p1 I! o7 x
  445. error_reporting = E_ALL & ~E_NOTICE
    * o: E' x/ a% r' ~! v0 V6 j( U$ i$ N

  446. 4 D# ^% n4 Z! D: }) ~" n
  447. ; This directive controls whether or not and where PHP will output errors,
    6 }! E$ x* V) \( C
  448. ; notices and warnings too. Error output is very useful during development, but3 h9 ~% x% ]% e9 x% N
  449. ; it could be very dangerous in production environments. Depending on the code. f0 m! Z1 ?& \7 i" f
  450. ; which is triggering the error, sensitive information could potentially leak
    / A, r- Q8 V( F9 b/ |4 z$ y8 R2 A
  451. ; out of your application such as database usernames and passwords or worse.4 ~7 m7 H6 r( `& A8 |" S6 D
  452. ; For production environments, we recommend logging errors rather than$ X& P1 T( {( H
  453. ; sending them to STDOUT.7 a/ m6 d4 ^) K! B1 D
  454. ; Possible Values:; T" {# ~% _# y4 b( w
  455. ;   Off = Do not display any errors6 [- N( U, {& `# K  t! {2 `+ k
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 ]1 I' u7 U/ j* y9 T0 o
  457. ;   On or stdout = Display errors to STDOUT# V2 r+ E" r# Q' S6 Z
  458. ; Default Value: On
    - J9 `$ m; U/ p4 \' q  g
  459. ; Development Value: On
    % H3 ?. f) C% }" z
  460. ; Production Value: Off/ q& z" @" s3 D1 [# G9 T( I* b3 S" l
  461. ; http://php.net/display-errors
    7 k$ a) K& W; p0 L
  462. display_errors = On! w! B' G, y$ f. I; v4 G
  463. ! }, K" x3 t4 F; h5 \
  464. ; The display of errors which occur during PHP's startup sequence are handled& y0 `8 z2 c6 n) x) Z2 @5 c
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ; ]' t. d& M% p% y# D: }, }
  466. ; errors from clients. Turning the display of startup errors on can be useful in+ `) K- t" Y: c, w9 U3 X
  467. ; debugging configuration problems. We strongly recommend you0 T# Y- \1 {# `6 Z
  468. ; set this to 'off' for production servers.' D+ _8 Z$ }, C; u* H# U
  469. ; Default Value: Off- ~2 d$ Y9 O& C( \' M* g+ \; V
  470. ; Development Value: On
    ) w! s8 U( y& I1 Y  B2 {+ A1 l
  471. ; Production Value: Off: M( W, K; ?7 C# X& Z/ C+ ~  E
  472. ; http://php.net/display-startup-errors
    ' u+ i/ ^& T0 X0 G8 m0 I, T0 k
  473. display_startup_errors = Off
      E( G  A+ F6 P

  474. 6 n3 P* F3 j( z- T
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    2 X) T" b. m0 u0 p) G8 V9 ]) h
  476. ; server-specific log, STDERR, or a location specified by the error_log% @0 P: Q; z( ^# h9 \& M3 ]
  477. ; directive found below. While errors should not be displayed on productions9 c* m2 R0 j7 B5 u/ b0 t0 w
  478. ; servers they should still be monitored and logging is a great way to do that.
    1 f. `4 A  `; r( B$ E' {# E4 o7 |
  479. ; Default Value: Off) i3 r7 w9 x" {3 ^
  480. ; Development Value: On9 V; ~! P5 l/ _; E" M
  481. ; Production Value: On8 C$ P, _$ j/ ?* {0 E
  482. ; http://php.net/log-errors
    ! g# Q4 K, R+ ?" A
  483. log_errors = On7 X6 l5 }) l6 y2 ?- ^9 H# o

  484. ! R5 Y1 D) r+ a7 S) f
  485. ; Set maximum length of log_errors. In error_log information about the source is
    3 M1 D+ c5 l# G: Y! N6 S
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.; r( r4 w# I9 D4 |+ q. ^0 A1 h
  487. ; http://php.net/log-errors-max-len6 Y3 g; T7 @3 d& H7 R
  488. log_errors_max_len = 1024* ]% E4 m$ Z! I! W# v0 e& A

  489. . t! U  Y% u$ i) \7 i" ?- h
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , v# f+ D( a5 ~( ?" r% u7 Y
  491. ; line unless ignore_repeated_source is set true./ [8 s5 k/ K1 G6 E- b; x
  492. ; http://php.net/ignore-repeated-errors/ R0 e+ \. h7 l- H" i* I3 ^) F
  493. ignore_repeated_errors = Off) f+ W  P8 Q( G$ T  R

  494. + p* \$ T: {2 a1 H! l
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    / z# x3 I) G) O8 g. d
  496. ; is On you will not log errors with repeated messages from different files or
    3 v( f1 B- R& u- m* C8 s* e
  497. ; source lines.
    * O7 W9 ^  Q7 c! p+ h7 G
  498. ; http://php.net/ignore-repeated-source
    7 T: D. I# e5 ]! K! ]# n$ n- c: b
  499. ignore_repeated_source = Off) S5 t- c8 a+ R/ N
  500. ; E# I( p, J& d# B, a- G# v
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on6 o4 L2 \4 H4 ^2 D. \
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' H: A* o9 m2 @
  503. ; error reporting includes E_WARNING in the allowed list
    ' F9 a: e; h! P4 w7 e
  504. ; http://php.net/report-memleaks3 i+ K4 _: P0 J7 g. M" E
  505. report_memleaks = On/ O0 F4 R6 o4 ?) I' w

  506. 9 v! _5 L7 I( B% r: j9 I, K8 U
  507. ; This setting is on by default.' S* J& V; |6 l/ p8 q5 K7 d# A
  508. ;report_zend_debug = 08 ^. t; V( v  ~+ \+ q
  509. + m) A: i5 n+ i4 C& h4 P
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value1 }3 @0 _. q# `! ~
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    / G/ i0 F$ c5 Y3 P( g3 B& b
  512. ; however be disabled on production servers.
    ' R. |3 N  W5 E7 B
  513. ; Default Value: Off
    . [; a- w# ?& E0 P% n
  514. ; Development Value: On3 ~( L% J* M' G- F
  515. ; Production Value: Off
    2 @6 |4 t! G6 K% t4 I
  516. ; http://php.net/track-errors
    ! G) k" o0 }: {$ s
  517. track_errors = Off
    9 g  }5 Z! y0 l2 y0 ?
  518. , P2 f% S' e  o- X( ^
  519. ; Turn off normal error reporting and emit XML-RPC error XML- R* q+ s8 @/ a+ k9 ?
  520. ; http://php.net/xmlrpc-errors' n6 K9 \, @, G, u+ a2 J
  521. ;xmlrpc_errors = 0
    : ~' r4 n. p! u/ c0 K* d
  522. 9 L2 C. y! @3 I: I3 }
  523. ; An XML-RPC faultCode9 m, Y' s: h9 x" [" ]9 ]: V
  524. ;xmlrpc_error_number = 0
    - {, @+ [& C; D, f1 ^& u7 }* h* r

  525. * C* Y% m# q/ ]+ `' @1 l  v* Y
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    4 S) Q" o  z/ f4 N7 e5 A7 n
  527. ; error message as HTML for easier reading. This directive controls whether
    " s3 u/ N5 f9 j$ m4 f
  528. ; the error message is formatted as HTML or not.
    2 x: T0 G& Q% R" j
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 i" J, `% T% N. p3 \
  530. ; Default Value: On
    5 P: ^4 ~' X% _
  531. ; Development Value: On
    ) K- R9 N! b1 f( ^# i2 R
  532. ; Production value: On
    6 K! t' i; S. k! `. ~' T+ {$ m
  533. ; http://php.net/html-errors
    $ Q- m. C! u6 X6 a
  534. html_errors = On
    8 ^7 ]3 E' [+ \  D) g+ P' h$ ?) `

  535. 5 i4 l0 H. x% E3 S; a0 F2 L
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , h( ?, W' y8 v2 J: y' Y+ d
  537. ; produces clickable error messages that direct to a page describing the error
    1 e6 U4 Q3 a6 x9 f7 W5 f' _9 ~
  538. ; or function causing the error in detail.
    * X# J4 i# r& a. G  y' A
  539. ; You can download a copy of the PHP manual from http://php.net/docs, s! T. ^  F/ V8 w2 |. i/ f9 U
  540. ; and change docref_root to the base URL of your local copy including the/ z: \$ \( E; }
  541. ; leading '/'. You must also specify the file extension being used including, C( l0 R- S% g$ b4 Y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which* c% u- @4 [; K
  543. ; case no links to documentation are generated.& C' w# j1 }! X9 B& l. f9 ?
  544. ; Note: Never use this feature for production boxes.
    % \5 _+ n; ~5 O( o9 s
  545. ; http://php.net/docref-root/ R) p$ r+ J3 @5 h$ E5 E; A
  546. ; Examples
    ' T& O) U$ X+ N0 _8 H7 C5 P
  547. ;docref_root = "/phpmanual/"
    " q2 N6 n3 ]8 S; x! R: B) c' d
  548. , U" t8 C9 H4 \* w" ^& R; E" \
  549. ; http://php.net/docref-ext2 r2 T2 i  k$ V+ ?% y: X8 m& R
  550. ;docref_ext = .html
    2 n( C8 g# f1 s7 j7 C% M. H

  551. . C$ c# N/ v5 h4 O
  552. ; String to output before an error message. PHP's default behavior is to leave) p% j# W& L2 Z9 P
  553. ; this setting blank.( q% W# z/ ]3 G; i* A8 `2 v
  554. ; http://php.net/error-prepend-string
    $ O% F+ s; G' z# ^
  555. ; Example:
    : R- Y, i% r) j3 |, \2 u
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    7 X# L# j) C/ w' e+ Y! R

  557. ; k; O0 B# d9 Z; ]' ~+ h; S' C
  558. ; String to output after an error message. PHP's default behavior is to leave
    % W, |; X. g* f
  559. ; this setting blank.: N# x0 t* n* J: I6 x: W/ T
  560. ; http://php.net/error-append-string2 X  }$ t0 m5 s
  561. ; Example:
    % R- r2 M2 x9 J( ]) O& g
  562. ;error_append_string = "</span>"
    " w6 ~3 W; W' G

  563. 0 l4 p! k" O. b3 V1 t
  564. ; Log errors to specified file. PHP's default behavior is to leave this value0 S+ X9 ^1 n/ o% Y
  565. ; empty.
    / q- ?' k2 U$ Z3 n# N' x! _
  566. ; http://php.net/error-log' k5 ?% l9 c& _* q
  567. ; Example:
    , E: L! ?* |8 M9 Y8 b
  568. ;error_log = php_errors.log* v( j- t" N2 t; q9 Q3 O
  569. ; Log errors to syslog (Event Log on Windows).7 S" ^! E+ T# J% i
  570. ;error_log = syslog
    4 z; v$ M7 x5 M  \& w

  571. 3 d$ q" a7 G7 t5 K! J8 ?* [1 N3 ?* V" O
  572. ;windows.show_crt_warning. s3 [" c# S$ f, a2 e. p1 h, M
  573. ; Default value: 0) O9 x9 X2 T# W1 N+ \8 O) S
  574. ; Development value: 00 b' \9 `- x: k7 o( z; v' y
  575. ; Production value: 0
    - O. t, l6 ^; Q4 G
  576. ! J; s. f% U( V6 |
  577. ;;;;;;;;;;;;;;;;;
    4 o" R* \2 g" [& t
  578. ; Data Handling ;4 r/ q+ _& v' b* Z$ `1 D
  579. ;;;;;;;;;;;;;;;;;$ |: W9 ^% |7 F0 `2 n' r* \
  580. / m( `. C- G, Z, e
  581. ; The separator used in PHP generated URLs to separate arguments.
    3 K; \3 c+ Z5 C. z
  582. ; PHP's default setting is "&"., ]; a4 n4 p& T7 i  y
  583. ; http://php.net/arg-separator.output6 B, ~9 I! C; j6 n& g
  584. ; Example:
    / @4 ^( Y2 u) Y3 i4 r$ U: ?8 \7 z) l
  585. ;arg_separator.output = "&"% d) `% E6 r5 X" P. a

  586.   o5 @* f2 p/ Y( m7 i0 f1 D4 U
  587. ; List of separator(s) used by PHP to parse input URLs into variables.+ r! L: w' S7 \1 D! ?% m' c
  588. ; PHP's default setting is "&".
    2 Q7 G& w2 \' `7 F
  589. ; NOTE: Every character in this directive is considered as separator!
    * {  @, U& c# I* S$ F& b/ M7 ?
  590. ; http://php.net/arg-separator.input
    6 S0 q1 G/ H/ h3 S! N. x- P- I
  591. ; Example:. U* B: T6 w# j& f2 T, c3 z8 p
  592. ;arg_separator.input = ";&"
    5 C( ~/ n3 y* c- n7 g/ T
  593. # I# {! N) u3 t! b9 P
  594. ; This directive determines which super global arrays are registered when PHP
    8 |" A1 V! K3 ]" g, u4 Y- s
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super* G$ J2 J1 {3 n
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    4 F4 |0 E3 b4 `% i$ T1 C/ `& X  _3 W
  597. ; paid for the registration of these arrays and because ENV is not as commonly# H* z$ ]; ^  |3 g
  598. ; used as the others, ENV is not recommended on productions servers. You& Y0 l" c+ Q* N) ?% {. K
  599. ; can still get access to the environment variables through getenv() should you& V8 M2 l( ^. V7 G
  600. ; need to.
    # z0 Z: J- j& G! q7 |9 ]
  601. ; Default Value: "EGPCS"6 S" \/ A, w9 m% `
  602. ; Development Value: "GPCS"9 Y8 J' U/ v$ Q
  603. ; Production Value: "GPCS";" v+ x* X  |% C2 P' Y
  604. ; http://php.net/variables-order
    # A& j3 G2 A8 [8 V
  605. variables_order = "GPCS"
    0 t+ g2 _& I  x+ ~: v0 P+ g
  606. $ z. @8 G% J4 E9 z- D, V: l0 _1 r
  607. ; This directive determines which super global data (G,P & C) should be
    2 Q- ]  q) Y; a3 \4 \: i- u, y: D
  608. ; registered into the super global array REQUEST. If so, it also determines! r) b3 {# [) J
  609. ; the order in which that data is registered. The values for this directive) X6 W3 D$ v' M9 o
  610. ; are specified in the same manner as the variables_order directive,
    0 Q, d: }2 |% I' l# U7 k4 M
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) g0 Z% U( p7 S! m4 u" `
  612. ; in the variables_order directive. It does not mean it will leave the super7 R+ s. s( a: S/ Y- B$ K
  613. ; globals array REQUEST empty.
    2 d2 b: h% Y. ?% @: G6 L0 ?- I
  614. ; Default Value: None
    - t1 y# {8 h5 t* B4 C7 t
  615. ; Development Value: "GP"
    / V! z- g! O: z; k- B
  616. ; Production Value: "GP"9 l8 F' s1 v# o* F
  617. ; http://php.net/request-order
    , X5 _9 l9 |& {
  618. request_order = "GP"1 T* Q* I! b: X4 }% C# }

  619. 4 \. A& ?  o  t! P1 @
  620. ; This directive determines whether PHP registers $argv & $argc each time it6 |' d# H) o  |
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script' f( U) G% U0 w- H0 k
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ' E; `. i1 p+ _: W" g
  623. ; that were passed when the script was invoked. These arrays are extremely0 A! D6 U  W3 t. _7 v' a2 ?5 {$ f
  624. ; useful when running scripts from the command line. When this directive is
    : [  v0 C  [$ q$ {$ v5 i
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 ]. {& }1 E* J! |# q/ L
  626. ; a script is executed. For performance reasons, this feature should be disabled. ?. \4 [- o, C# Z7 A# {& e3 S3 d
  627. ; on production servers.
    ) t5 Z! ~6 r2 j$ S7 @+ |+ j
  628. ; Note: This directive is hardcoded to On for the CLI SAPI! k$ I! k# h1 _% r& V1 @
  629. ; Default Value: On$ z7 P& Z. @% v, h0 b
  630. ; Development Value: Off
    . x4 W: `. e1 c0 j' Z* j( T8 c) g
  631. ; Production Value: Off
    9 p& G8 U0 N4 M$ O! S1 `+ `# a/ Z
  632. ; http://php.net/register-argc-argv( y3 N- \# F0 d" R1 ?6 {! H& Z
  633. register_argc_argv = Off3 t9 j7 C1 r3 R/ }7 z; C! D1 b8 i
  634. 8 L8 ^5 p  l. v8 O& D
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    3 u. x& {  p" I: @0 U( l; @. y
  636. ; first used (Just In Time) instead of when the script starts. If these8 U* P" W) P8 ~/ H+ g
  637. ; variables are not used within a script, having this directive on will result
    : p3 E9 b) X3 X; h3 L
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    4 Y- E/ C. \9 e# w
  639. ; for this directive to have any affect.' L. [' j& _  u- I; r& a" g! j# S  b0 q
  640. ; http://php.net/auto-globals-jit8 _, w! P% F$ e) f
  641. auto_globals_jit = On
    3 h" I2 s7 r3 m+ t) v2 q5 B( l  ^
  642. 9 f( d; ]( S; L3 p% b1 ?
  643. ; Whether PHP will read the POST data.* z: X/ `& ^+ P9 v8 j
  644. ; This option is enabled by default.% o4 T: @" }) X1 U3 v- y" [8 h
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST, H- Y! N/ C8 h& |8 v, d. z5 ^$ A
  646. ; and $_FILES to always be empty; the only way you will be able to read the1 ]. _& E* `$ c# |2 t/ g) t3 Z0 Y
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ! Q! j7 ~- R# t, A; s0 o. y
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , A7 m. J6 @. ]7 \, m, i
  649. ; http://php.net/enable-post-data-reading$ K0 P& L1 `. n: x$ ], c5 o
  650. ;enable_post_data_reading = Off
    * K9 R% X, x6 O0 o' A/ d
  651. 2 A5 s  N) w& k
  652. ; Maximum size of POST data that PHP will accept.
    9 @) X6 N/ H8 Q
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading& ^5 C5 l4 U2 v
  654. ; is disabled through enable_post_data_reading.
    * h+ w: y/ G( c- e
  655. ; http://php.net/post-max-size$ }- P6 R& ~! }' d
  656. post_max_size = 50M* I# x8 W& W# X# o8 |- r

  657. . z0 M, h7 B2 N: n$ D1 A3 K+ U
  658. ; Automatically add files before PHP document.. g4 {' C9 r/ n8 l; b
  659. ; http://php.net/auto-prepend-file& M* z0 k, l9 l: D" C1 d
  660. auto_prepend_file =% B! b! U! z4 v
  661. # B" a& N; Q5 l3 z  Z) _- ]8 |
  662. ; Automatically add files after PHP document.- U7 _  `7 r. K8 I& v5 @
  663. ; http://php.net/auto-append-file
      J  n% e8 n' k" s+ T. q
  664. auto_append_file =  E& A, P& Y6 x
  665. $ |# [# m& T' a: a
  666. ; By default, PHP will output a media type using the Content-Type header. To2 t7 D& e- o5 D* N9 W8 ^
  667. ; disable this, simply set it to be empty.
    , d2 u' e5 U& H7 @5 q" j
  668. ;
    % z% Z) c6 I7 |5 N2 b
  669. ; PHP's built-in default media type is set to text/html.4 M' B9 |* G; K( h) _! r
  670. ; http://php.net/default-mimetype& N% k, C( Z0 A0 o: C9 X' H
  671. default_mimetype = "text/html"
    * i" p& Y: u5 K! M" u: Q/ x" t  C
  672. 8 w2 l$ o; V3 s- q- k; p, e7 m
  673. ; PHP's default character set is set to UTF-8.5 N/ \% k( U% t/ j5 D
  674. ; http://php.net/default-charset
    % h3 `- ]* W/ I: R
  675. default_charset = "UTF-8"( t! ?8 E; M& M1 N: P2 T
  676. / J0 n( N# ~0 U
  677. ; PHP internal character encoding is set to empty.: T: D+ z: G  T5 ]7 c0 b
  678. ; If empty, default_charset is used.. F- k" G2 a3 U. O4 y2 ~- }3 V( Z% t1 P
  679. ; http://php.net/internal-encoding
    % T  |/ g: O3 {  }
  680. ;internal_encoding =
    , T9 n9 h7 g) _- Z
  681. - y: D  y  \8 q5 z9 u5 ~
  682. ; PHP input character encoding is set to empty.' e0 L2 C+ x$ K4 r" u
  683. ; If empty, default_charset is used.
    0 ?" E. h: [$ o  T5 t
  684. ; http://php.net/input-encoding- t! q4 K( r4 G# y# ^
  685. ;input_encoding =
    $ A$ H( M/ W( t7 t; D9 Q

  686. : w6 S: [$ M# r+ ]! J. b
  687. ; PHP output character encoding is set to empty.
    - I! }* X' _% X5 t3 n
  688. ; If empty, default_charset is used.
    * z9 }5 P/ K* M) T1 W8 U8 Y
  689. ; See also output_buffer.
    ) h: G' `4 _$ [+ {5 N) I$ v6 X; g$ l
  690. ; http://php.net/output-encoding% H7 L8 X7 F, J; k8 }/ f% |' `* j
  691. ;output_encoding =5 q! B7 q0 U4 j, y8 Q; I* \6 z
  692. ) n7 _( R4 b8 ~" ~) u
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 Y3 U5 I) s4 D2 [' D" F
  694. ; Paths and Directories ;. P3 K! x- J' G! W2 L" b8 j
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;$ i3 Q2 Z; [6 c) ^
  696. ; w) h" l0 f. d0 ]9 j$ P9 r: D5 ?
  697. ; UNIX: "/path1:/path2"8 ~, G+ `# c7 }$ _
  698. ;include_path = ".:/php/includes") C" d& ~4 T9 ~2 X6 I/ v% O9 |
  699. ;
    8 i1 r3 g6 L5 L8 d
  700. ; Windows: "\path1;\path2"' V# i! Q/ ?6 @
  701. ;include_path = ".;c:\php\includes"  E' M# z/ i2 e+ ~; l4 w8 \
  702. ;
    / x. o9 T8 m  G( B  g9 I
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"6 K1 y% ?* V8 s: b- J, L6 b' D
  704. ; http://php.net/include-path
    . K5 m8 v4 g  P6 b1 T: v

  705. , m! h" E) s9 m& x+ _1 c: e
  706. ; The root of the PHP pages, used only if nonempty.. Q$ t% V% ^# s. `
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + ~. V1 y  c$ \$ n
  708. ; if you are running php as a CGI under any web server (other than IIS)
    & W4 b' a+ [! Z- u7 g. {! D& m6 ?) A
  709. ; see documentation for security issues.  The alternate is to use the/ b4 P5 \. v6 {8 g* \* H
  710. ; cgi.force_redirect configuration below
    2 g, E1 B. O6 Z* H; A; t, [
  711. ; http://php.net/doc-root
    # ^3 j% Z$ n) o% W0 `
  712. doc_root =+ T4 u) V: m1 M5 N
  713. . y5 w3 Y* Y* t/ A) v3 k
  714. ; The directory under which PHP opens the script using /~username used only
    ) z2 i4 S8 B' k
  715. ; if nonempty.  _( {+ X+ Z" S) |. x# F
  716. ; http://php.net/user-dir  j# v( w8 R5 N/ t8 B6 ^% Y7 Y
  717. user_dir =
    ) C& Y" {' g" C( o7 M
  718. - f% _8 F& ^/ _. v
  719. ; Directory in which the loadable extensions (modules) reside.
    % _8 P$ ]0 a& [. q
  720. ; http://php.net/extension-dir
    ! |$ G1 _; c4 J$ x0 ?$ q
  721. ; extension_dir = "./"
    % ]0 v+ m1 Q* [% c) H
  722. ; On windows:/ A) }- D* G1 z! h8 w
  723. ; extension_dir = "ext"" u9 O+ t' ^! `' z( i5 e  F
  724. ( Q0 y9 R$ o$ J: `
  725. ; Directory where the temporary files should be placed.
    ( A$ O1 v5 w" h
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ; z$ \! v) a0 d' t4 |
  727. ; sys_temp_dir = "/tmp". R, q4 g! f1 t

  728. * P1 `9 _3 L" f
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    7 p5 W( y3 w- U- U
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ' _5 m' A; X8 W4 D0 s6 [4 P
  731. ; disabled on them.
    1 ~+ ?, p, ~" N
  732. ; http://php.net/enable-dl; K; h( _2 Z' w( u! \  _
  733. enable_dl = Off- M) p& e1 W. Q3 k) G
  734. 3 N0 z; A# ~. @: W
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    + C# z# d1 G8 }
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can2 u* ^4 ^7 M& s. _% s* J) k- [
  737. ; turn it off here AT YOUR OWN RISK1 s5 j5 K9 y; T2 i' f
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - ^/ E7 m3 {. V9 q
  739. ; http://php.net/cgi.force-redirect! ]# X. ?8 h* e! q
  740. ;cgi.force_redirect = 1. z/ F: e* H1 n( O4 K3 H

  741. 6 e+ f2 V3 J* n% s
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with. \5 a4 R5 g9 l$ ~& I- Y7 r/ q
  743. ; every request. PHP's default behavior is to disable this feature.0 f, |- {* x3 R& i! `
  744. ;cgi.nph = 1
    9 U  J3 H. M, S6 S+ i

  745. , _7 G: }1 V% _  f' \) ~4 R/ V
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape9 f* J( E* I9 l5 M0 u* U0 a
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP9 ^  b: o, n% s+ i/ p
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 I. l% s- V$ P8 y; g
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    2 E: U+ J; Y8 r5 e
  750. ; http://php.net/cgi.redirect-status-env
    6 \' G; J( r# N2 V
  751. ;cgi.redirect_status_env =
    9 o& o0 v" u5 ?/ P5 ]: K+ ~

  752. 3 R# F0 F7 \5 T  q* u4 O; r/ p
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 W) H% k" m1 z& m- G) R; z
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    " g# i4 I/ F3 \) R, o4 @3 d
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting& G0 R1 F$ D( N# p& j
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 B$ Z7 q0 o+ b" ]9 C: G+ l# o
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts) s& w# G. W' k/ x1 ^
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.3 T0 ?7 q& r5 y8 p# K1 Z
  759. ; http://php.net/cgi.fix-pathinfo
    # `9 D3 R1 F# v, {+ T! `3 |
  760. cgi.fix_pathinfo=1
    4 [4 }* B4 A. r7 b
  761. 6 u% D* Q8 W5 e0 |3 ?! P
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    , p  V& A" z; I6 d7 N
  763. ; of the web tree and people will not be able to circumvent .htaccess security.( i9 y+ `! l7 Y# F) g
  764. ; http://php.net/cgi.dicard-path1 Y' Y9 ^  E6 a/ v" b7 D
  765. ;cgi.discard_path=1
    , J* O9 B$ e* h/ i, m" R4 Y

  766.   t4 P0 H- Z* p( Q. o. i- ?$ I
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 O5 E* I+ S( o' p% C5 C! Q9 g- }
  768. ; security tokens of the calling client.  This allows IIS to define the+ F' P% u% j  {% L  o" t, R
  769. ; security context that the request runs under.  mod_fastcgi under Apache# e. G' n  \2 I: Q' S
  770. ; does not currently support this feature (03/17/2002); G) n6 l9 K& M7 Y& V  Y9 j
  771. ; Set to 1 if running under IIS.  Default is zero.
    2 C% [# X/ e" g' H
  772. ; http://php.net/fastcgi.impersonate
    ( m( b4 w6 X* K1 b. f* K
  773. ;fastcgi.impersonate = 1
    7 T3 O, ]$ n, ?5 e( p1 ?% g- q8 C
  774. 6 F. E" c; m% r- W0 X+ t
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable% N: w, Y8 @; U$ n/ |
  776. ; this feature.
    ) \$ }& l/ H! `" W
  777. ;fastcgi.logging = 0- D1 u' I# L  R; u, o- X/ a

  778. % ]  d$ U6 w  ]  s: Q/ j
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% y! L7 U0 R4 A5 B/ g$ ~
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 H) R6 P1 M1 J
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / e) k* D7 ]$ \$ ?9 u2 H( _
  782. ; RFC2616 compliant header.
    0 a" e" B/ \% I! ^/ @* S7 T, v
  783. ; Default is zero.
    " l& c5 t0 X% j& r& P
  784. ; http://php.net/cgi.rfc2616-headers$ K, K; T5 R4 f/ z# A4 r3 Y" d
  785. ;cgi.rfc2616_headers = 0
    : `1 a5 B. m' f" ^5 x, C! k% ?2 {

  786. 3 w$ w) I# b0 `/ Z
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!6 o5 T6 S0 Z+ L: [
  788. ; (shebang) at the top of the running script. This line might be needed if the
    # _4 o5 s% G2 x' c* S- {5 s
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    & T* t" m8 z' b/ g) D% h
  790. ; mode skips this line and ignores its content if this directive is turned on.
    / q% K$ O, j) l2 Y/ u+ S/ j
  791. ; http://php.net/cgi.check-shebang-line
    9 n2 Z: E- L0 u& b' ^% ~& i' E# E
  792. ;cgi.check_shebang_line=1
    # }8 Z0 z; P* {

  793. % N" S: u- O, m8 Y& ~
  794. ;;;;;;;;;;;;;;;;
    $ H6 X' y" r  Q# x
  795. ; File Uploads ;
    " P4 q0 a. `! V" n
  796. ;;;;;;;;;;;;;;;;
    & Q" H7 }& g$ P
  797. $ z" x; ]- G, I1 s% M% W
  798. ; Whether to allow HTTP file uploads.
      [4 u) g1 d3 Y* L! _
  799. ; http://php.net/file-uploads
    2 r4 P# A* M) J0 m( K) m" B/ y
  800. file_uploads = On
    & g! _3 I0 A  K9 A0 h: ^# d4 A

  801. , ?: R6 `% p- z8 N+ j; C
  802. ; Temporary directory for HTTP uploaded files (will use system default if not  o7 o5 d3 v. x) {
  803. ; specified).( ^) Z  N, [/ r: ?5 }" S6 y
  804. ; http://php.net/upload-tmp-dir/ T7 ^4 a! {' Y2 O; P- g  n! t
  805. ;upload_tmp_dir =
    : P9 {" r5 J5 Y# i$ _
  806. % @% P. h. m3 S1 X. C( P
  807. ; Maximum allowed size for uploaded files." T/ S3 C- [* J6 o5 [9 d" `% a1 o
  808. ; http://php.net/upload-max-filesize
    2 h3 b; z, q' l$ i% v/ T
  809. upload_max_filesize = 50M" g$ Q2 g; y( R
  810. / q, k' Z7 `' v. I
  811. ; Maximum number of files that can be uploaded via a single request. Z, N( T" g% y! A: s
  812. max_file_uploads = 20
    : I) l" G- y. ^

  813. 9 _! I+ p- J( O6 y, S: {# l0 c5 [* y
  814. ;;;;;;;;;;;;;;;;;;
    & E) J+ W) p" L
  815. ; Fopen wrappers ;/ b/ C1 B' u0 i( V: e
  816. ;;;;;;;;;;;;;;;;;;
    % ]. o. Q/ s( l% k1 x
  817. & ^9 e/ o7 Z5 J" [4 d' n
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.6 a3 {( X0 ~. c5 l7 e/ h- i
  819. ; http://php.net/allow-url-fopen
    , l) @2 Z/ c3 O2 |: ?" f$ q4 h" C
  820. allow_url_fopen = On1 p0 z9 Z  T3 `( {$ h( P7 i! m, U+ a
  821. 6 N( Y; C7 G' u* g
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    - h- L) i+ N0 b4 N' [
  823. ; http://php.net/allow-url-include
    / c% z& Z! F; Y2 [. Z4 j4 R
  824. allow_url_include = Off
    , t4 Y. N$ b. G. y* y* a
  825. . k2 \% Q9 y0 y* Z' j: a0 X+ P  G# g
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    # j$ Q! S7 Y8 z
  827. ; for this is empty.9 H) k4 F2 f& J2 |% y  B
  828. ; http://php.net/from
    , k  Y! n/ u9 V+ V
  829. ;from="john@doe.com"; V" e2 T& ~% T7 j# l" t' H
  830.   ^0 }- x& [# Q' s/ w
  831. ; Define the User-Agent string. PHP's default setting for this is empty.+ I0 C1 c+ ?) v( ]' b4 |
  832. ; http://php.net/user-agent+ x8 p. C4 i8 e
  833. ;user_agent="PHP"
    ) m4 i& {2 [7 s1 y7 x# M
  834. 0 W& _' D: {( B& A6 }
  835. ; Default timeout for socket based streams (seconds). P& i4 ^+ l. ?+ j% \" t+ f. c
  836. ; http://php.net/default-socket-timeout) R; U4 G# S. o0 \: x+ i
  837. default_socket_timeout = 60
    3 m# w- L) G) Y. P0 y
  838. , [, {# r6 v6 m. }
  839. ; If your scripts have to deal with files from Macintosh systems,
    " N! r; {3 C7 Y( d
  840. ; or you are running on a Mac and need to deal with files from
    ' N& e. O) }9 @4 j7 f. f
  841. ; unix or win32 systems, setting this flag will cause PHP to
      I9 E: K+ t" Q0 M
  842. ; automatically detect the EOL character in those files so that
    ; k; h6 O& N0 W5 j! A: H3 S
  843. ; fgets() and file() will work regardless of the source of the file.
    7 @2 }/ d3 B& `" W+ C$ |
  844. ; http://php.net/auto-detect-line-endings3 l6 |, t: j2 r$ ~& w) z3 q
  845. ;auto_detect_line_endings = Off% Z1 f, ?+ Z8 `2 {

  846. 2 Z/ z- z: z9 H. o" s
  847. ;;;;;;;;;;;;;;;;;;;;;;6 l; O5 c6 x/ v5 C# t8 K4 L, F
  848. ; Dynamic Extensions ;/ D0 r/ ]6 r0 \, s9 c2 W
  849. ;;;;;;;;;;;;;;;;;;;;;;
    & \# G' o, E( Y& b
  850. - L! u( z, r, b" X- l) i
  851. ; If you wish to have an extension loaded automatically, use the following
    . n: ~- @! R0 z1 D2 u  v
  852. ; syntax:0 p" H! }8 Y6 e* y6 e
  853. ;
    ) c6 n9 ^' \+ \9 t9 @! E: I
  854. ;   extension=modulename.extension
    5 I. ]% D  y5 e; h
  855. ;1 L9 i9 `' l1 ^; i" L+ c- G/ ^
  856. ; For example, on Windows:
    - S) a* \# h! v! e+ r. j' k
  857. ;- S) x) J$ i4 R7 o
  858. ;   extension=msql.dll% n2 B+ a! _3 L! A' e
  859. ;9 i9 k% k( D" r+ A2 O1 w
  860. ; ... or under UNIX:! e% k9 e2 q, K' E2 g
  861. ;5 Y/ u0 U) N+ Z$ r( G
  862. ;   extension=msql.so
    ) e4 x6 ~& z5 o8 _
  863. ;
    5 y' `" E5 {: X+ V1 e8 K2 T
  864. ; ... or with a path:8 ~5 i  x5 P6 m! O' C6 W9 L! ]
  865. ;, o+ i$ _" l9 ]. N
  866. ;   extension=/path/to/extension/msql.so5 X( G+ g& \- @. G- B
  867. ;6 ~0 |. u# t- [, }7 V7 B
  868. ; If you only provide the name of the extension, PHP will look for it in its
    , N1 L9 |: K& F( p3 e
  869. ; default extension directory.5 W* s1 {( Y; j& p& k) u
  870. ;& d( f/ U! j% e4 w
  871. ; Windows Extensions8 _0 o) \  Z' b$ @# _# P( k, X
  872. ; Note that ODBC support is built in, so no dll is needed for it.+ P; R; t; B$ ]" f/ F
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)3 D3 y7 V1 z+ v
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    & x8 o: V* G# p0 [3 A9 ?
  875. ; Be sure to appropriately set the extension_dir directive.
    2 n" Z6 K# _, v4 }% |5 m
  876. ;* f" g* Y8 m6 o" @0 {
  877. ;extension=php_bz2.dll) v. L8 _% s1 L+ H
  878. ;extension=php_curl.dll% y1 x: C  \6 w6 g. l9 K
  879. ;extension=php_fileinfo.dll9 O) w' }  W8 Y1 ^0 U% @' f9 S9 L! p
  880. ;extension=php_ftp.dll3 e; Y' J; G& x' I0 d7 n$ E
  881. ;extension=php_gd2.dll- F# Y: ]4 C2 y; i* K/ ]
  882. ;extension=php_gettext.dll
    5 A* v$ f/ ~2 X" @  `& o6 M
  883. ;extension=php_gmp.dll* Z+ `1 P9 {3 S
  884. ;extension=php_intl.dll5 |$ W5 ~6 m% w4 N; o3 k
  885. ;extension=php_imap.dll
    # n& O. N3 U; F8 n; W6 b$ v
  886. ;extension=php_interbase.dll
    9 K/ X; C: d0 t3 A& u
  887. ;extension=php_ldap.dll# r1 s* ]7 a9 Q( ^) M" e
  888. ;extension=php_mbstring.dll
    ! s; R1 i# a: ~: k  B* h! y
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    6 |( ~7 a" P! x' G
  890. ;extension=php_mysqli.dll
    9 r* ~  M7 f6 A) X! B' g0 J* P
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client0 o/ U# n2 N/ Z2 ~
  892. ;extension=php_openssl.dll
    8 `0 H! ~( O! x9 D- F
  893. ;extension=php_pdo_firebird.dll5 v: N; N7 y, d* T- `; U
  894. ;extension=php_pdo_mysql.dll8 U' i# g( B, z3 f/ a
  895. ;extension=php_pdo_oci.dll
    0 L- u2 Q  Z) f9 m
  896. ;extension=php_pdo_odbc.dll! ~( _4 P  {9 [: S
  897. ;extension=php_pdo_pgsql.dll
    ' f- Q# R: ]; ^/ C' O
  898. ;extension=php_pdo_sqlite.dll% L9 \2 f" H0 H! S9 M
  899. ;extension=php_pgsql.dll' N- J7 T6 E# v( a* y. G3 H
  900. ;extension=php_shmop.dll
    + B, p& s4 W7 X: G
  901. 5 T7 m# n  \. z" I0 w
  902. ; The MIBS data available in the PHP distribution must be installed.
    8 C* k- i" j) a
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    - {7 y) U1 c$ @; ]4 y+ o  `6 B
  904. ;extension=php_snmp.dll
    6 \9 Y5 a3 \" j* `+ T
  905. 5 E' ~2 F3 H" m) h: J5 l
  906. ;extension=php_soap.dll
    8 ~% r7 o) d' F' S, E# R4 A
  907. ;extension=php_sockets.dll- P4 d& o3 h4 V- i, r
  908. ;extension=php_sqlite3.dll) [' h: I) m$ ?  k6 ]0 d
  909. ;extension=php_tidy.dll) I  w+ O% E, Y
  910. ;extension=php_xmlrpc.dll
    8 l2 z/ A6 _, L# q, m  \. |" `; {$ B
  911. ;extension=php_xsl.dll$ _: `) m, v& Q
  912. 5 r- S8 P' j7 n3 C) W
  913. ;;;;;;;;;;;;;;;;;;;
    4 H4 t, b2 L" H: `) z/ f. M6 X& ^
  914. ; Module Settings ;: \2 r1 |5 N* [' W2 u; {! A7 n+ S# ]
  915. ;;;;;;;;;;;;;;;;;;;; Q4 {+ Z( u$ y' k7 D
  916. / L# r9 m' N& D4 `: o
  917. [CLI Server]
    / ^8 F- c3 z" I, }' M/ g3 f6 |
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; M+ v! X/ v3 c3 F! j  h6 w7 |
  919. cli_server.color = On
    $ s  Y9 s5 B4 l* Y" D5 T1 m
  920. 2 k5 m) j3 h7 G  c/ K  g. O
  921. [Date]
    ; ~) M: c4 \5 V: F* n) J& ]/ j6 w9 a
  922. ; Defines the default timezone used by the date functions
    $ T" @# l# ~  b. r& u" K7 P0 e
  923. ; http://php.net/date.timezone
    * x1 u' `4 I+ U& t4 y  O4 d: r, ^
  924. date.timezone = PRC
    ! Q/ T% @9 _) c# }& L+ A, L5 Y
  925. 7 S4 u1 ~0 }6 q3 v; R9 A( {
  926. ; http://php.net/date.default-latitude
    , l( Y2 j4 \. m2 ?$ f" ]0 h# D1 W3 ^
  927. ;date.default_latitude = 31.7667
    ( g# h( h; C4 q
  928. * {8 N$ v" d; Q$ `! I% l: l
  929. ; http://php.net/date.default-longitude
    / z. ?! V: U. A" l8 j
  930. ;date.default_longitude = 35.2333
    ) f" y  N3 C) s5 m+ I

  931. / f+ L( S; Z  }: f% z
  932. ; http://php.net/date.sunrise-zenith; A. z+ L6 [% B" A* M0 y. S# [2 O
  933. ;date.sunrise_zenith = 90.583333
    5 b0 X2 D# `. j% O! p% i: I1 b" F' H

  934. / a5 t6 b3 A6 k# _* j  X* Y4 \
  935. ; http://php.net/date.sunset-zenith/ L1 s' `+ R$ y
  936. ;date.sunset_zenith = 90.583333
    2 F. ]6 A! q) a, S1 E

  937. 0 t* F# T# b: U' O! `
  938. [filter]3 P& v5 x# {+ k1 K
  939. ; http://php.net/filter.default: M/ C2 z& R: W1 F
  940. ;filter.default = unsafe_raw( [% c2 l# g) I3 ]2 ?
  941. 4 F7 o2 M& N/ L1 B: s
  942. ; http://php.net/filter.default-flags
    : x7 w% m7 t: Z  W
  943. ;filter.default_flags =! i# |6 ~, t. [2 {
  944. * s. g" O+ w5 d. z1 t
  945. [iconv]" i1 Q5 p+ H* `/ K# I
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.7 I0 D% `; ], O, q' |4 |8 g- a3 U
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 v! [; U/ c( h6 v% V
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ' o  I; n3 a4 _3 F. y6 E% a( Q
  949. ;iconv.input_encoding =
    % L, g8 l8 `+ V
  950. , C% Z/ v; J( A: C% _4 M7 L8 f
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 o6 ]' t9 I# W5 t- @5 K& W
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  u2 a% V5 @, u# C) y2 ^
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( J2 X, @2 K# C4 d* i8 \+ {$ C# F
  954. ;iconv.internal_encoding =
    : P* f# j' l  u# M1 W' q

  955. 9 t" J, @( O7 u$ P, b# L; x  t
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.+ B0 \" a" Q! d$ ^8 O
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    % X% A1 i3 C% }2 @
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding( h. T( O' ?- E' y$ x( ~  Y  O
  959. ; To use an output encoding conversion, iconv's output handler must be set% }5 L+ a+ u: w3 z3 U! e& D: D
  960. ; otherwise output encoding conversion cannot be performed.
    / E& a( L8 A3 c# J# X3 U7 U* ~
  961. ;iconv.output_encoding =
    : E$ [; b# j+ z: n4 \2 Z/ M, u4 v

  962. / C% @5 n* e9 |7 s% k0 I9 x
  963. [intl]
    6 U" v7 b  o8 h
  964. ;intl.default_locale =  q% F! o' J# j% c! K0 l3 F
  965. ; This directive allows you to produce PHP errors when some error, a  p- v5 _4 j) ]2 e; S2 p
  966. ; happens within intl functions. The value is the level of the error produced.
    " a& O) y  q& |$ u
  967. ; Default is 0, which does not produce any errors.
    * X: Z, I% j6 M3 S# z! r
  968. ;intl.error_level = E_WARNING6 s# c6 ~  }: m: P9 K4 I4 |- V$ Y+ \
  969. ;intl.use_exceptions = 0. z6 B% U: R$ Z  L5 N

  970. & |7 }8 V; n# y  O. s
  971. [sqlite3]
    0 M, d5 k5 }+ M+ N6 \; O
  972. ;sqlite3.extension_dir =0 ^; V% n& w2 i7 L( [% l

  973. 9 }8 v* l- w" ]2 O4 \5 h+ G, ?8 E
  974. [Pcre]
    9 P! z* U6 N6 L! O
  975. ;PCRE library backtracking limit.
    % S' l$ o  I0 T9 p& h
  976. ; http://php.net/pcre.backtrack-limit, s+ u, {3 @5 r7 H
  977. ;pcre.backtrack_limit=100000. @& _' g3 O" \

  978. / u" O$ L# P; u- e! r- j
  979. ;PCRE library recursion limit.8 l5 k; J3 z, A6 k' n
  980. ;Please note that if you set this value to a high number you may consume all' {; X8 d0 h3 L+ x
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ; _+ Q( }. J% N0 {! y* l5 E
  982. ;stack size limit imposed by the Operating System).
      x/ s$ E( J9 g
  983. ; http://php.net/pcre.recursion-limit
    + s7 v' [  x2 I" ?, |# @) l
  984. ;pcre.recursion_limit=100000, k6 E( ~! C1 L5 x

  985. 2 i3 M" E7 s; W8 g: P& e3 o
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    4 V3 K7 @) T+ s. l. V7 a0 o% V4 d
  987. ;library to be compiled with JIT support.. o- m0 @3 W5 `, i% T
  988. ;pcre.jit=1
    ) P5 s+ N+ D2 D; @% K2 I

  989.   u& e+ z- Y* q( {
  990. [Pdo]
    - f1 P. }- V$ E4 I2 G7 M& `/ R9 |
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ {( `6 `9 ~6 u) a( G! R4 X
  992. ; http://php.net/pdo-odbc.connection-pooling
    3 D. O+ W3 a& ?
  993. ;pdo_odbc.connection_pooling=strict5 X9 x" D. `3 T: N- o/ M! j) h
  994. % g: @3 w) Y0 A( H6 i  z
  995. ;pdo_odbc.db2_instance_name
    $ e# P5 d  [$ |6 o$ m* \
  996. ( C9 d/ k( U1 Y- z$ s
  997. [Pdo_mysql]
    ) z! r4 |& K3 {2 Q4 x1 l+ u
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 f' A9 g* G' u% Z9 A4 q4 h2 A
  999. ; http://php.net/pdo_mysql.cache_size
    ) {! s7 w( c+ H
  1000. pdo_mysql.cache_size = 2000
    0 q* Q! k$ Q; k& K7 E3 a- l# C
  1001. * h/ c, b9 `7 w$ ?
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in  G9 z( K& A: p
  1003. ; MySQL defaults.
    , i; R  o' W/ Y6 K$ L
  1004. ; http://php.net/pdo_mysql.default-socket
    0 d3 K( U& V: [
  1005. pdo_mysql.default_socket=4 D$ ?" j4 l5 r( F& ~& i3 J

  1006. ( ^$ X9 @6 g6 k$ A' H5 N8 J
  1007. [Phar]
    0 h/ }, L2 ]' k8 q+ X) l
  1008. ; http://php.net/phar.readonly
    % g' E2 O! a( s
  1009. ;phar.readonly = On2 Y5 S+ Q9 R- O6 w6 E6 k1 t1 T

  1010. 7 g! Y- f& n" k& x
  1011. ; http://php.net/phar.require-hash" G4 @, z2 ]* Y& U: d' L6 n
  1012. ;phar.require_hash = On
    . h; R6 s1 p2 ]) G& W7 n( @( v
  1013. 8 ?( e- s- r4 l
  1014. ;phar.cache_list =% x0 P2 O0 Z7 |: ?" D3 N& `

  1015.   o5 y( |: C; E
  1016. [mail function]
    ' Z& O) i5 @) M0 H8 Z1 d' f6 d
  1017. ; For Win32 only.
    ( ^- d% d0 ^, w' n! j5 I( b$ I3 T
  1018. ; http://php.net/smtp6 V  ]3 l) Z1 ^% a* U, @$ S  g5 B
  1019. SMTP = localhost+ y/ h: \+ |  w# H( H
  1020. ; http://php.net/smtp-port$ X' [4 t9 F: `7 S
  1021. smtp_port = 25
    ( }3 T: `8 Y, V
  1022. : F# ^' }! B% `$ ~
  1023. ; For Win32 only.: C; T% V' }3 a$ Y  ]$ W
  1024. ; http://php.net/sendmail-from
    ) V5 H1 i% e5 E* N: M: `$ {
  1025. ;sendmail_from = me@example.com! x" L7 y8 o$ ?- ]  t, G% q

  1026. / W' m3 d% c7 L! d: [" C! B) c  g  ~5 b
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 P8 U9 K6 t3 i9 j1 R
  1028. ; http://php.net/sendmail-path
    , |) v5 g  k' {" V" h& C
  1029. sendmail_path = /usr/sbin/sendmail -t -i* W9 J: H4 _2 F% Q
  1030. & Z! o$ i( X) o) A8 z  h6 a, U
  1031. ; Force the addition of the specified parameters to be passed as extra parameters! v1 ]6 O' T% f" [( ?* v/ U
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ; G2 [3 Z+ e2 d  X1 x+ d
  1033. ; the 5th parameter to mail().' n1 O) ^1 [. T0 o! L; n1 J. _
  1034. ;mail.force_extra_parameters =
    9 H) B3 R4 ]9 p' u

  1035. " L' ~* P% g) `' N" C3 m* h
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    $ D, q0 g* `, R7 D4 q1 ]7 \7 h
  1037. mail.add_x_header = On; q- W& k' r1 `9 @& w
  1038. + R# J% _2 Q- H8 N
  1039. ; The path to a log file that will log all mail() calls. Log entries include. K, Z* D5 h& |/ F6 M: e& }
  1040. ; the full path of the script, line number, To address and headers.
    & x' V- I1 z: K  A4 u, Z$ o
  1041. ;mail.log =
    + t' U1 N: V. N  i- y; N7 A
  1042. ; Log mail to syslog (Event Log on Windows).
    2 g; {& R6 r3 `  L5 {4 G. O( q
  1043. ;mail.log = syslog# Q, D) D0 \+ u( L, _2 e
  1044. ; I+ g. w3 J: \4 Q7 u2 }9 H6 e9 n
  1045. [SQL], d  |  C2 Q8 _! I0 H& T' g
  1046. ; http://php.net/sql.safe-mode* p6 _+ u3 x$ l" W3 ]2 E
  1047. sql.safe_mode = Off: Y1 ?6 U9 j( ^7 l, L7 b' H  j
  1048. 0 ]& d4 ^4 c3 r& {3 o0 T* Q4 k8 P  x
  1049. [ODBC]
    6 }: z' q% p7 C
  1050. ; http://php.net/odbc.default-db4 p: t* R3 \+ _  W/ `5 O9 `
  1051. ;odbc.default_db    =  Not yet implemented
    8 ~  G. q% J% ?3 z5 `& x
  1052. 6 B+ W: e5 A3 y; G: N
  1053. ; http://php.net/odbc.default-user6 C4 {/ y+ J% o3 ~8 Y/ t
  1054. ;odbc.default_user  =  Not yet implemented
    & Q9 K: C# r0 Z7 d+ X. b

  1055. : d; u! l( q4 U) v* L
  1056. ; http://php.net/odbc.default-pw
    ( ?/ V) O) D- \% `/ R
  1057. ;odbc.default_pw    =  Not yet implemented
    * \0 I6 S+ M3 h5 m
  1058. 8 X1 e: ]2 H* t0 J4 G! [9 t  N2 [
  1059. ; Controls the ODBC cursor model.
    9 o0 _6 |4 M$ i
  1060. ; Default: SQL_CURSOR_STATIC (default).
    & g5 O4 w* c, C3 M2 P
  1061. ;odbc.default_cursortype
    " _$ _6 p  y' S7 [- q
  1062. 4 f5 `, h9 G: s( ]. z
  1063. ; Allow or prevent persistent links.+ Y* z4 O! ]' o1 j$ J6 R
  1064. ; http://php.net/odbc.allow-persistent4 o3 @2 S0 J. {4 L" v2 F1 e% v: [
  1065. odbc.allow_persistent = On
    + c0 J. `1 S7 U* [' U

  1066. 3 E! X3 `) e* P& ?
  1067. ; Check that a connection is still valid before reuse.
      [5 m+ f& F# A- ~2 W: c) {6 F
  1068. ; http://php.net/odbc.check-persistent
    7 C# c9 {) m! R5 I' N# q$ E; N
  1069. odbc.check_persistent = On4 q% G9 r- T  f: _3 ~
  1070. 1 J- x2 q6 G! G' ~6 L& w8 M
  1071. ; Maximum number of persistent links.  -1 means no limit.
    8 w/ s( |* n3 [1 g" U
  1072. ; http://php.net/odbc.max-persistent, p( r6 S: ^, w2 s
  1073. odbc.max_persistent = -1
    4 R$ R, H2 G( C8 |3 I: Q3 B: @$ h

  1074. . P9 y& G. h; w1 i4 ^
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: _4 E; f( c: P, H; O( B, h
  1076. ; http://php.net/odbc.max-links
    ! {7 ^: z  t, `
  1077. odbc.max_links = -1" ], \9 k3 C: f' z- \' o+ @5 ^4 M

  1078. 3 X- c+ ~) b' B+ T9 d# d
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    8 e1 c$ s8 l8 }- p3 ]! V& d
  1080. ; passthru.* J0 L6 A; b+ w9 N1 B8 W3 S
  1081. ; http://php.net/odbc.defaultlrl
    $ n/ V: A8 L3 ]4 [" c- [# r
  1082. odbc.defaultlrl = 4096) z+ N; v4 t' v/ G. k9 X
  1083. 1 y! S* Q( G4 G) J
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    - J" j+ W& e$ [8 H, K0 j* u
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, y$ }- k0 `8 ^) R5 ~
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 i+ w- ^% J3 _) F* Q9 L
  1087. ; http://php.net/odbc.defaultbinmode4 c# ?; \/ _+ `3 K: E3 M
  1088. odbc.defaultbinmode = 1
    $ h( B% T5 S+ X1 O3 @

  1089. ! ^9 O* h/ o8 w+ Q$ [
  1090. ;birdstep.max_links = -1
    & [' o7 J# q( u% V# y% y5 g

  1091. ; y2 g3 j$ v7 C% V3 Z
  1092. [Interbase]$ x6 b6 P. e( P' H! I5 o
  1093. ; Allow or prevent persistent links.& R9 k- ~$ o) @  U
  1094. ibase.allow_persistent = 1" F( D" D! N2 [% o6 w
  1095. ) x% {" C7 M8 T
  1096. ; Maximum number of persistent links.  -1 means no limit.3 a/ h/ O* m( d7 U# @" G* O
  1097. ibase.max_persistent = -1
      q9 [, \) m# O; T6 ^9 p
  1098. ; j/ I3 y& V3 F, r
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 Y% |2 |" r( s1 |' w; @0 Y# S0 z
  1100. ibase.max_links = -18 U4 ~* t# Z+ M- H6 m% T
  1101. % d3 \- ]) A' S5 O* [
  1102. ; Default database name for ibase_connect().
    * `+ Q: U8 U4 Z$ N
  1103. ;ibase.default_db =: r) ]3 ~& t; d" g9 O. ^" A9 T

  1104. 0 u: j$ M$ E8 O+ F; X, w2 C
  1105. ; Default username for ibase_connect().  Z' d2 C" J4 @- {
  1106. ;ibase.default_user =
    & e+ x% n2 O; _9 t) Z1 Z

  1107. 6 }2 R) ?  G# r. O6 L* [6 K6 J
  1108. ; Default password for ibase_connect().
    0 D/ i8 E5 o3 z# u/ r* o
  1109. ;ibase.default_password =
    " h7 f/ y, G3 b1 e  s
  1110. + F& F7 e7 O5 [" k
  1111. ; Default charset for ibase_connect().2 `+ |/ v4 P1 H2 @1 N
  1112. ;ibase.default_charset =
    . ?( c6 ]7 l$ S5 L. b- c
  1113. 5 [8 G% A+ c/ w$ z
  1114. ; Default timestamp format.
    * f* E/ E, o# N8 ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    6 f; L: c5 y, N$ J( H6 d4 [

  1116. 9 }/ A. E# h& ~- f" R
  1117. ; Default date format.
    7 I+ P" a& L& }# H/ j
  1118. ibase.dateformat = "%Y-%m-%d"3 M; |  D8 P" O4 _2 n  ?9 U/ p) Y3 B

  1119. 2 U" `/ S. k2 @8 f
  1120. ; Default time format.( a" b# u7 N' K4 y/ `' d
  1121. ibase.timeformat = "%H:%M:%S"0 ]5 i" H" b5 a0 y; _( b" e  Z9 `

  1122. 1 F) E* R* X  a# ]/ i! M; H' z$ w" {
  1123. [MySQLi]9 j' k1 B/ I+ v" k/ E
  1124. ( `( L1 [2 {1 `6 C: J. A
  1125. ; Maximum number of persistent links.  -1 means no limit.$ x2 K4 r5 o2 Y! P$ s
  1126. ; http://php.net/mysqli.max-persistent
    8 f  {+ r  _$ y/ N( f, Z9 }2 u3 b
  1127. mysqli.max_persistent = -1* P; v  [* J- ?- E# V/ Y

  1128. 0 C# a9 W5 E7 v0 B$ a
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements: j' r7 r6 N6 O+ B- t
  1130. ; http://php.net/mysqli.allow_local_infile
    4 i4 n4 Y) J# ~# v) h5 P
  1131. ;mysqli.allow_local_infile = On1 a+ S$ y1 p8 l, \3 r- z

  1132.   x; j% D# s( l- [4 ]" m
  1133. ; Allow or prevent persistent links.$ [' |! u0 V0 u* p) f
  1134. ; http://php.net/mysqli.allow-persistent
    + R1 `/ R9 m; |$ V
  1135. mysqli.allow_persistent = On  }4 [) U* E$ Q: ]; p# _
  1136. + L! k6 e, w  \
  1137. ; Maximum number of links.  -1 means no limit.
    * P4 J. E4 n/ v& ?7 q# m
  1138. ; http://php.net/mysqli.max-links7 b" Q, I; l' z
  1139. mysqli.max_links = -1
    5 \0 v# H& r/ v. Z- |

  1140. 0 t. J) w! s, c8 z' P
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 t1 j/ e- i: P# m  G3 |  P) J
  1142. ; http://php.net/mysqli.cache_size
    , ?9 X& d# K6 V+ u' Q0 x; P4 N% g
  1143. mysqli.cache_size = 2000
    5 O! ^+ s! v+ ]1 ?
  1144. , b6 I+ z# h% d
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 ^9 \! r3 F) l
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    / v. g) v" {/ M  A* X" ?3 J8 b
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    3 h1 B* \9 v* p# V, Q8 k
  1148. ; at MYSQL_PORT.; l8 o! m3 E; M# K. Z
  1149. ; http://php.net/mysqli.default-port: n3 c' a( [/ B( _7 @$ Z1 v
  1150. mysqli.default_port = 3306
    3 T7 c8 M  H) o5 z

  1151. # T7 G8 L, A( K* e+ y4 o; O
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 l# q) I0 j, O: ]; U3 S5 S" x0 W2 i
  1153. ; MySQL defaults.+ w8 n  l: y+ p0 s3 s, P$ g
  1154. ; http://php.net/mysqli.default-socket; Q4 q! u6 J* b: J# b- O
  1155. mysqli.default_socket =
    $ |& ^) ^( Q' w* W
  1156. 9 {3 v2 [; \% d+ o4 {5 C
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # E  G0 M" L& N' l7 j
  1158. ; http://php.net/mysqli.default-host# k" k& f, S, I( [) S$ n
  1159. mysqli.default_host =
    2 [$ N8 B. m; ]+ i( ?7 b
  1160. 6 u' D* L* p. S
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    / X  R0 }( b& V# |5 @! r
  1162. ; http://php.net/mysqli.default-user
    % q9 P4 o# W; J2 f; N
  1163. mysqli.default_user =
    8 U, c/ d5 m$ `7 T7 f0 e

  1164. : ^: w! P" ]1 B" P! \. J
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; p+ w* f3 Y' @; D7 m) A0 ?4 v0 W
  1166. ; Note that this is generally a *bad* idea to store passwords in this file./ m8 C0 X- Y4 F  z3 L9 N8 J
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    / D! A: L) s, T) @2 \7 F
  1168. ; and reveal this password!  And of course, any users with read access to this
    + D7 @& ]8 a( f+ p+ b- V& e
  1169. ; file will be able to reveal the password as well.
    4 w7 |) c' G$ Q  Z' o( C
  1170. ; http://php.net/mysqli.default-pw
    ' k- ^( B, K( t/ g
  1171. mysqli.default_pw =' C- R- u3 v9 R  d8 \5 h

  1172. 3 W! R- ]6 j2 k: G9 v- y# T4 Y
  1173. ; Allow or prevent reconnect
    - U& \' e) L: e) }# l
  1174. mysqli.reconnect = Off% K. d& |. D) V
  1175. ) E. G- B% ^. n' e- g2 s: z  Q% U
  1176. [mysqlnd]/ A5 h$ T$ y- F0 V- m- M
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ( m. P: r* b4 R1 U
  1178. ; used to tune and monitor MySQL operations.
    1 {5 a# q/ N$ \, m. k4 [+ z
  1179. ; http://php.net/mysqlnd.collect_statistics
    / B/ F  x  x. \& k
  1180. mysqlnd.collect_statistics = On
      F2 D% N' r- K" @& c, R$ W

  1181. * n6 e' x. B2 v/ {
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be) A% p# T( m0 r6 r
  1183. ; used to tune and monitor MySQL operations.
    . O+ N% [' H0 o* ~
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    5 m2 ]0 {; B0 Y6 _! e' `4 J
  1185. mysqlnd.collect_memory_statistics = Off
    % R6 O" _2 }8 ~) c  o, X& r0 d
  1186. 3 ^+ m! a# i& J3 {' O( j
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    8 Q5 N0 ]4 W; H, k
  1188. ; file." R% t% Q9 I7 d* U# M: p7 o" y( C" H
  1189. ; http://php.net/mysqlnd.debug
    ' r' L% F# z# c  |
  1190. ;mysqlnd.debug =* E2 m1 p' _3 C

  1191. 3 @- v+ t8 d1 B' M4 x4 f
  1192. ; Defines which queries will be logged.% i1 o, {" t, i' s! c
  1193. ; http://php.net/mysqlnd.log_mask3 y- Q, ?( n& B& p! n3 Y) w6 C
  1194. ;mysqlnd.log_mask = 08 A  A2 c7 O  m" s2 h
  1195. ) A9 y, o$ b3 N/ h! E
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    % B# t$ Z; U4 u2 @% j: D
  1197. ; http://php.net/mysqlnd.mempool_default_size
    2 B; F) K! B* v2 [) ~
  1198. ;mysqlnd.mempool_default_size = 16000
    . h2 M2 [8 t; x; r( d6 g9 i
  1199. $ R: }2 i/ p8 C* U8 s6 r% Q! j
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.  A2 [- x1 R# v) p0 @8 [
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    / O" H  `! p$ ~+ a
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    4 F9 }! }" o& S7 x# O6 M) u
  1203. 2 Q9 ]) Z4 H9 U2 }7 ~
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    / `* e/ _, b* Y( n2 b; E
  1205. ; bytes.
    6 \: g8 v5 K6 J  M' }' B
  1206. ; http://php.net/mysqlnd.net_read_buffer_size3 c. V* \- ]# F; m3 {( D- S
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ( U2 H7 x: |! r6 d' X& J, H4 v
  1208. 5 m: u. G& a' p, y9 @
  1209. ; Timeout for network requests in seconds.0 ]3 C0 v" }* c' r& k! a! d! k0 F6 W
  1210. ; http://php.net/mysqlnd.net_read_timeout6 j( P! J: ~' n
  1211. ;mysqlnd.net_read_timeout = 31536000
      |3 W  [% p5 `) L
  1212. 7 ?$ t. s" U* _8 I* l- T' n, O
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA% j8 p9 S& Q3 L9 t) y# Z  e
  1214. ; key.1 D) m5 _& u9 {- \& [
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    % U9 V+ j* L' \& s+ M9 L. ?
  1216. ;mysqlnd.sha256_server_public_key =
    * S! x8 k! F9 P, f- E& `

  1217. . u8 K6 F$ L7 F0 O
  1218. [OCI8]/ ?- E; N8 q1 |+ ~" m3 u
  1219. ' v/ v$ J. y2 Y; z
  1220. ; Connection: Enables privileged connections using external
    4 ?1 V( }" s6 {4 [1 r3 Y) `* b
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)" L# x+ L  a2 `6 w6 I% W* _/ Q
  1222. ; http://php.net/oci8.privileged-connect
    ; [; t7 k7 X6 Q9 t0 G0 t, U# @
  1223. ;oci8.privileged_connect = Off' w% D0 o! u; f: M4 ?- ~# {
  1224. ' C$ Y& H' y' h% L8 \6 b' B6 p# A
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    4 Z; p$ h7 w9 o$ B' U; {7 O) O5 j+ [, [
  1226. ; process. Using -1 means no limit.
    7 v* H7 X+ V( P
  1227. ; http://php.net/oci8.max-persistent0 ]: i7 W6 t7 _
  1228. ;oci8.max_persistent = -1& u5 f7 e, W+ t3 f. L# v
  1229. 9 L" P3 f- z. G. i
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ; Y7 _5 L3 @7 g  C9 S" B+ s
  1231. ; maintain an idle persistent connection. Using -1 means idle* s4 a( Z& @$ i5 k0 Q3 ?4 S
  1232. ; persistent connections will be maintained forever.) [& e/ \) ]- }) o+ b
  1233. ; http://php.net/oci8.persistent-timeout3 R% i! Y# [% u2 x" {8 v2 v
  1234. ;oci8.persistent_timeout = -1
    + d) ]- f* W9 Q4 w3 X& ~* V

  1235. ( A1 I  {, C  b5 p
  1236. ; Connection: The number of seconds that must pass before issuing a/ {3 v1 U# G# ~, q1 B7 a) l9 e5 s
  1237. ; ping during oci_pconnect() to check the connection validity. When5 @% H3 W2 d! {! ]2 ?
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables$ ?/ d3 y; v1 N* l% q4 G$ N
  1239. ; pings completely.
    & i- s* N% C+ @
  1240. ; http://php.net/oci8.ping-interval
    ; b5 r/ [" m) ~" m& Z9 f! B0 g, m) M
  1241. ;oci8.ping_interval = 60
    # ^" j8 c+ k' @% N- C9 S
  1242. 0 S. T% q: @( e
  1243. ; Connection: Set this to a user chosen connection class to be used; r5 K- g- q" k+ e" \% E6 F; ^! g# ]7 B
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    # b  ?$ i& I: F5 d) s* j) o% I
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    . e) h- f, H# x4 X. P
  1246. ; the same string for all web servers running the same application," g- i" ?; u9 D' ?
  1247. ; the database pool must be configured, and the connection string must
    % \! z  V/ u9 _1 G5 R
  1248. ; specify to use a pooled server.9 l% Y. w# X; S8 V$ O5 J2 H
  1249. ;oci8.connection_class =9 t  X* X+ ~$ B, Q! m- q
  1250. + ^/ O: x4 ~. \$ x/ n+ q0 E
  1251. ; High Availability: Using On lets PHP receive Fast Application+ `6 \  ~5 @- h  `9 [
  1252. ; Notification (FAN) events generated when a database node fails. The
    9 o- ], M& I! B0 J' h
  1253. ; database must also be configured to post FAN events.7 M+ h  l2 |3 e  @; W6 E, T
  1254. ;oci8.events = Off
    4 P5 Q% N7 f+ ?6 T0 h

  1255. # N0 n4 O! s5 I
  1256. ; Tuning: This option enables statement caching, and specifies how4 c5 u' M7 S3 [' m& [
  1257. ; many statements to cache. Using 0 disables statement caching./ W2 u5 }  t1 u9 Q& W, ]
  1258. ; http://php.net/oci8.statement-cache-size
    ( p5 i* O' l# ]; U9 E# n
  1259. ;oci8.statement_cache_size = 20. B+ }* V+ Y. o& D0 m
  1260.   p/ s7 ?5 M5 P( S0 n6 r# S
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    % M5 }9 _6 z/ S( P+ y" I" k/ K
  1262. ; rows that will be fetched automatically after statement execution.; K+ D; f1 d9 C; k8 d+ V; ^
  1263. ; http://php.net/oci8.default-prefetch$ ~+ \( u$ v% m
  1264. ;oci8.default_prefetch = 100- C6 A9 X; P& [- O" _# A
  1265. $ R, e& o7 Z; X+ E
  1266. ; Compatibility. Using On means oci_close() will not close
    + {0 Z1 M3 M+ A, `5 N
  1267. ; oci_connect() and oci_new_connect() connections.
    2 K) V4 c) z8 n* W2 [6 u
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ! l' }: ]$ o- Z4 r7 X/ v, e
  1269. ;oci8.old_oci_close_semantics = Off
    6 F7 X  Y, H4 v9 O3 l

  1270. 5 T+ A3 X0 l1 ~, H: h1 C
  1271. [PostgreSQL]
    6 o1 O: s5 N7 X$ B6 w" i
  1272. ; Allow or prevent persistent links.5 S. _4 R- S1 J1 T% w' c
  1273. ; http://php.net/pgsql.allow-persistent1 g5 c& {. R; c) K% U) u, r
  1274. pgsql.allow_persistent = On
    + H! G1 x8 B, E- `" t. U/ k! _2 B9 K

  1275. & R/ i1 `* s- w3 O& r, L
  1276. ; Detect broken persistent links always with pg_pconnect().7 t' |+ a+ x+ b. |2 J- l( o& i  a; s
  1277. ; Auto reset feature requires a little overheads.9 o( J1 q& i, V5 w$ H* H. x9 j: i
  1278. ; http://php.net/pgsql.auto-reset-persistent
    , p" n; j/ _6 \& u0 A( G
  1279. pgsql.auto_reset_persistent = Off
    . u* Q( T2 O" x" y
  1280. 2 X6 ?' s! h2 K; X* A$ X
  1281. ; Maximum number of persistent links.  -1 means no limit.5 N+ M- @" Y% {% g! l
  1282. ; http://php.net/pgsql.max-persistent9 W- @3 _. v! G; u0 X+ n
  1283. pgsql.max_persistent = -1
    / y8 q* V9 C% {; [/ Y8 f0 F

  1284. 9 U8 E$ d9 w% u" y5 H+ y" r- {
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) H) [+ [* P. W( P
  1286. ; http://php.net/pgsql.max-links
    5 x! ]3 r& z! g. s! C
  1287. pgsql.max_links = -1
    ! |. z( x: m2 p$ b

  1288.   }7 ?& H- W( }  j" c+ t7 ]
  1289. ; Ignore PostgreSQL backends Notice message or not.
    6 i8 I7 Z  b/ q3 S# F, h
  1290. ; Notice message logging require a little overheads.
    # C$ m- p$ l; Z+ f
  1291. ; http://php.net/pgsql.ignore-notice
    + |* I; [/ y* |( O$ _
  1292. pgsql.ignore_notice = 0
    / b3 P& E! S- q; P5 B5 |

  1293. % i: V  W- Z% O) _5 D5 Q
  1294. ; Log PostgreSQL backends Notice message or not.' F8 _* f/ R# e/ j2 b2 u
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* D% W$ z, D) j3 L4 ^- C' y
  1296. ; http://php.net/pgsql.log-notice
    ' w) t' q$ l: m" G7 H4 @
  1297. pgsql.log_notice = 00 `3 k; f, C& [7 p2 W' d
  1298. ! \4 x3 A' K* f; s3 k% O: M
  1299. [bcmath]
    8 S, ]1 b8 J* K6 {( o: C
  1300. ; Number of decimal digits for all bcmath functions.$ }1 h8 g$ {- U: P
  1301. ; http://php.net/bcmath.scale
    $ l3 o5 }( F4 M- T" U" C+ F/ `5 A
  1302. bcmath.scale = 0
    " Z5 N( [, R5 x, s1 e

  1303. . f% C3 g, g/ m: E. ]* r
  1304. [browscap]& C7 l1 N: i% ~
  1305. ; http://php.net/browscap2 p0 y' H! `/ k, i( j4 y8 Q. |7 m# P
  1306. ;browscap = extra/browscap.ini
    ! X5 h! ]* a* t& g/ @$ M
  1307. 7 t' ]! E# C  u  g5 K: m: X
  1308. [Session]
    9 T2 H8 J# I$ _2 U3 Z0 f
  1309. ; Handler used to store/retrieve data.
    0 [" Q* p4 \3 T, s) Z2 i
  1310. ; http://php.net/session.save-handler
    * R0 R: W7 z8 Q9 l" q
  1311. session.save_handler = files
    $ `2 V, o$ ^+ q  W+ C. v# c4 Q( N
  1312. 2 S' t% f9 z3 `1 Y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    1 t8 S6 v1 S$ z4 S
  1314. ; where data files are stored. Note: Windows users have to change this
    $ J* o1 ?  K7 K* K) ~. e! J
  1315. ; variable in order to use PHP's session functions.! g& D; x$ x; P" C
  1316. ;
    + h2 D- Y- H2 X9 o' w1 e
  1317. ; The path can be defined as:5 {+ L4 p& T1 v- i& p5 ]
  1318. ;- `$ G# G1 k4 W$ C) \
  1319. ;     session.save_path = "N;/path"8 U0 e  \, k  p
  1320. ;
    + ]9 H, X2 }6 E7 b' X
  1321. ; where N is an integer.  Instead of storing all the session files in
    - e0 _+ o, K2 i$ W
  1322. ; /path, what this will do is use subdirectories N-levels deep, and( a& v" b3 [, |$ q3 a; b
  1323. ; store the session data in those directories.  This is useful if
    3 [4 z) a; f) p: \4 q
  1324. ; your OS has problems with many files in one directory, and is0 H- V  J4 n# `. i
  1325. ; a more efficient layout for servers that handle many sessions.
    # I7 I: g& S/ p2 I
  1326. ;
    ; Y) x  Z- \( E  |- P
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ! q0 _$ r7 i! r. D. {( r6 D
  1328. ;         You can use the script in the ext/session dir for that purpose.% w6 _3 J) E- M" ^
  1329. ; NOTE 2: See the section on garbage collection below if you choose to6 ~1 F  h4 A2 f7 b. w) a1 C
  1330. ;         use subdirectories for session storage
    % }" @5 g/ ^( M* z) k& _( ]6 _
  1331. ;
    0 e+ Q6 H# E& f( y, u9 T4 T
  1332. ; The file storage module creates files using mode 600 by default.2 n  U5 Q1 Y* K
  1333. ; You can change that by using+ D* P( s- J' \% I( x( S
  1334. ;
    : ?4 f; g4 g; c3 d2 _/ P
  1335. ;     session.save_path = "N;MODE;/path"
    " p: b, l9 ?9 T
  1336. ;
    : l" Z2 ?$ F; R9 ]) x* e7 Z1 T/ h
  1337. ; where MODE is the octal representation of the mode. Note that this
    9 ~$ e* F% e, G3 P( W  N
  1338. ; does not overwrite the process's umask.2 j, F* c+ n) r! R
  1339. ; http://php.net/session.save-path  ^3 V7 C- a% j: |: T2 }7 ~
  1340. ;session.save_path = "/tmp"
    / j  i% e$ D+ ]. L7 g2 r! L2 Y
  1341. + r) \# h/ Z* N* p2 z- q/ F4 g
  1342. ; Whether to use strict session mode.
    7 `6 f; q( {3 V1 [
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    # I9 r& \/ t$ \! I
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects/ P4 l' j$ A) a6 w: ^. U
  1345. ; applications from session fixation via session adoption vulnerability. It is' x9 T4 J/ z0 n# U5 P& _
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.' @) T6 p6 C% h! v7 q
  1347. ; https://wiki.php.net/rfc/strict_sessions! ~# X# x1 J7 F" D: ], ~% m
  1348. session.use_strict_mode = 0
    , u2 u+ |& |+ I2 G& `

  1349. % q0 e5 j0 B! m# \% Q
  1350. ; Whether to use cookies.
    ; S! l& N: n% f2 i$ I
  1351. ; http://php.net/session.use-cookies
    $ L; \8 [% w! J  c6 y& |0 |
  1352. session.use_cookies = 1! O) b, c5 m0 ~; ~: R$ _+ Y- Y) _/ n* V
  1353. ( J# W; n1 t5 \9 U6 k  T* i0 o
  1354. ; http://php.net/session.cookie-secure
    , }, c; V/ A& P' W( A
  1355. ;session.cookie_secure =
    & L; k9 Q; P2 q
  1356. / Z/ R' [8 j3 m0 `/ n
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining) ~4 M" z/ G9 f1 y" D) _
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    * P* R; D! @2 P
  1359. ; session hijacking when not specifying and managing your own session id. It is# |9 O2 @9 h5 u6 _$ v
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.0 J3 f3 f* y3 J
  1361. ; http://php.net/session.use-only-cookies' Y$ [) k5 T+ J* Q# e$ g
  1362. session.use_only_cookies = 17 b5 C3 l. @9 Q

  1363. - H. i( }8 ?- @1 d
  1364. ; Name of the session (used as cookie name).7 X5 w7 N5 K( {5 f8 x6 s
  1365. ; http://php.net/session.name
    3 a6 U4 s% n9 Z) Z
  1366. session.name = PHPSESSID% W4 j/ K2 }8 p$ W( v% c* j
  1367. ( w8 |  a9 R7 }, `
  1368. ; Initialize session on request startup.
      c' j' ^( c$ u! U8 u( ?) e1 S
  1369. ; http://php.net/session.auto-start
    2 D: Z# s) O/ m
  1370. session.auto_start = 0
    % v: ^' ?4 b9 |3 E
  1371. 3 A/ S  y, _( L2 {3 I
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  M# a! J% _2 Z# C0 `" |! f/ U
  1373. ; http://php.net/session.cookie-lifetime
    4 V8 ~4 N9 X  @- Y/ q
  1374. session.cookie_lifetime = 0
    5 o* e# M! D# U& ~7 G4 e
  1375. , A( M) ^7 O1 p  `
  1376. ; The path for which the cookie is valid.
    ' R# \. b$ S- s. c
  1377. ; http://php.net/session.cookie-path" K1 j# O7 ?6 e! J! O' x* z+ w- }
  1378. session.cookie_path = /
    " k7 m$ q' s" Q# e! U% r& @
  1379. 4 r# H/ C% z; L- |7 N9 W8 X
  1380. ; The domain for which the cookie is valid.0 |* T) }2 P2 s, }+ v5 E$ m
  1381. ; http://php.net/session.cookie-domain- [6 T; ~( `8 b# D/ o2 p! Q# j& b+ O
  1382. session.cookie_domain =
    3 f6 X3 B- H( o5 a: |

  1383. * l$ I1 x$ H2 F* w3 }/ I
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ' J. v; d, Q( e0 \0 r/ A
  1385. ; http://php.net/session.cookie-httponly+ ~# F/ y, t+ x: a
  1386. session.cookie_httponly =
    9 n( ]4 R" t  R9 o6 W4 j
  1387. + S4 P- C: @3 N1 T' b! c; E5 d) ^
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : d$ Y( X; W) g. \' y9 ^5 }! P: C
  1389. ; http://php.net/session.serialize-handler
      [3 m6 l3 U; l+ o+ n
  1390. session.serialize_handler = php# S5 F! a( C' R

  1391. * W5 x1 R9 E4 `% l3 j* C3 ], Y; L0 P
  1392. ; Defines the probability that the 'garbage collection' process is started
    9 C6 `9 t$ i7 Z4 k0 L& W8 ^
  1393. ; on every session initialization. The probability is calculated by using
    0 V( ^2 V% A6 v4 e8 l9 p# y
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ D- F8 F0 I4 p) C: A
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 16 F; i" F! U6 z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 `  V/ Q: V2 l
  1397. ; the gc will run on any give request.$ f6 `5 \: {0 S  E6 K
  1398. ; Default Value: 14 i* c2 y4 L& f* k* V3 ^3 c
  1399. ; Development Value: 1; i- g. m1 j; X, E7 V
  1400. ; Production Value: 1# e1 j( R; k) A
  1401. ; http://php.net/session.gc-probability7 d9 [( O; X1 {2 v1 x* v
  1402. session.gc_probability = 1( n- N9 u' _& V) M

  1403. 7 i! }, w9 ~7 w4 X. u
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * ~: _( }; l+ _; h8 d7 h
  1405. ; session initialization. The probability is calculated by using the following equation:) g4 D  T, I/ P: }5 I/ P" ~
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* f9 k8 d) D0 ~6 ~0 ^) k+ S
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    + S5 `# ~; F  n2 q" X1 l
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 D- I  m2 B" I& U$ C# [/ C
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 [8 b8 u6 |$ T/ Y- \9 q9 B
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,9 ~0 n+ o1 i" W4 j
  1411. ; this is a more efficient approach.' n* l- ?% e$ Y. D
  1412. ; Default Value: 100
    ' A0 K  r& \( g. j5 h
  1413. ; Development Value: 10003 K4 B; t* T, m
  1414. ; Production Value: 1000
    $ Z+ U! c- n7 s  @- r1 v
  1415. ; http://php.net/session.gc-divisor
    1 @: i. i6 a& x1 x/ B% N
  1416. session.gc_divisor = 10009 W: U, a' n8 y2 K4 n) c0 H; e0 r

  1417. , h; ~. {$ T: j( n1 W& O& }
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) I, Q+ k' l/ o  f$ o5 w
  1419. ; cleaned up by the garbage collection process.$ A; J: R' u( X  {; g" X
  1420. ; http://php.net/session.gc-maxlifetime% `8 g$ U4 {; c$ A  u
  1421. session.gc_maxlifetime = 1440: S- f* f/ Z7 A/ N1 _( D( r
  1422. 1 c8 q: x+ W* o7 }4 M6 ?
  1423. ; NOTE: If you are using the subdirectory option for storing session files1 w+ Z" y2 ~9 ~" L% R5 B6 k+ A
  1424. ;       (see session.save_path above), then garbage collection does *not*7 _- t, J  h& Y3 v' C6 m
  1425. ;       happen automatically.  You will need to do your own garbage
    , z- f. Y: Z( h7 e- S
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 i/ L6 R) U8 G. }, i0 p  `% i
  1427. ;       For example, the following script would is the equivalent of, l! g7 F+ O2 K( j" r3 N
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    + j( W( v; v  t1 `
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    % E' {" ^, E: }& t$ z# b( D: @
  1430. / P% [7 c0 _$ K7 z/ s8 e
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 V; m; W$ q" y) p6 l  h& P  J' j
  1432. ; HTTP_REFERER has to contain this substring for the session to be1 ]1 n1 c! M2 Z4 O( r( A. I
  1433. ; considered as valid.
    1 w" J* `: @0 w. ]3 {
  1434. ; http://php.net/session.referer-check
    / N; p1 V+ F8 t6 @: [3 v9 [
  1435. session.referer_check =
    6 F  P7 I$ l8 ?0 _& F6 f! k7 P

  1436. ) q$ @3 I  p1 L" }/ u
  1437. ; How many bytes to read from the file.
    * K1 q' z8 a! e' Y
  1438. ; http://php.net/session.entropy-length
    & V. ?. C( d7 V7 Z4 }. X
  1439. ;session.entropy_length = 32* Y2 L  P& Y! j4 p& y. Z# Q
  1440. ) s: v9 S3 x( H% `" b
  1441. ; Specified here to create the session id.& [8 S6 a. q6 `+ d
  1442. ; http://php.net/session.entropy-file/ Z# G+ [* {3 Q5 a8 d0 X: f; x% i
  1443. ; Defaults to /dev/urandom6 C# H1 v6 f  R( _
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( N8 m( n( O+ {# W. K0 h* [
  1445. ; If neither are found at compile time, the default is no entropy file.- A: Z: {2 L% g' ~' N% f. P
  1446. ; On windows, setting the entropy_length setting will activate the0 _, K4 O/ Y- f; O5 `" J: ~
  1447. ; Windows random source (using the CryptoAPI)3 O. {9 _" c( L$ u+ g
  1448. ;session.entropy_file = /dev/urandom2 }9 u% a1 R& k) ]2 p5 t; \7 O+ D
  1449. 7 C& L& }: `# u) m
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects; {" r# W, H" B8 V4 P  n) P
  1451. ; or leave this empty to avoid sending anti-caching headers.
    + c) ~; ]) ~/ E0 w7 r; Z% V, k
  1452. ; http://php.net/session.cache-limiter
    4 z  L: [$ H9 `4 F/ I8 N
  1453. session.cache_limiter = nocache. y( Y- K. @  s0 ]/ n' {4 v% i! q

  1454. 1 x& u9 M4 u4 p. `' G5 |
  1455. ; Document expires after n minutes.
    0 W8 Q! d8 z, w4 B% g5 \
  1456. ; http://php.net/session.cache-expire
    2 @/ O( q8 I! K3 w; U
  1457. session.cache_expire = 1809 ~: N+ f* ]! S5 Q9 n* X( Y7 n- K: B4 g
  1458. 9 t' ?) W1 E, M3 A
  1459. ; trans sid support is disabled by default.
    & ]0 k8 j0 p5 ?& T) K" l) f* Y
  1460. ; Use of trans sid may risk your users' security.
    $ e. e6 Q! d' `8 {
  1461. ; Use this option with caution.3 k5 S; t7 D* M! V8 p& d
  1462. ; - User may send URL contains active session ID, |3 |1 y2 \. q; Z& W7 A
  1463. ;   to other person via. email/irc/etc.
    ; q; n1 D9 u: l
  1464. ; - URL that contains active session ID may be stored7 a& h* J0 g1 H
  1465. ;   in publicly accessible computer.% ]2 C  F4 c1 {. i- C: l! G
  1466. ; - User may access your site with the same session ID
    ) Z" q3 S" [: X- G3 I8 O4 H  |+ T
  1467. ;   always using URL stored in browser's history or bookmarks.3 ~7 q; a3 X# c2 _5 N3 u
  1468. ; http://php.net/session.use-trans-sid
    " q: h# @1 `, G% c8 ^$ Q5 X. }. k
  1469. session.use_trans_sid = 0
    % }. S9 q! D6 w! Q' P2 t+ ~
  1470. 9 O) X; L1 w# i$ j6 \( [
  1471. ; Select a hash function for use in generating session ids.* U6 @( I+ U, e# r1 M6 `
  1472. ; Possible Values
    # e$ a* K4 ~. H
  1473. ;   0  (MD5 128 bits)
    . O$ _( i% z+ G# A6 R
  1474. ;   1  (SHA-1 160 bits)/ y3 y& h( A: a) ~& m0 d
  1475. ; This option may also be set to the name of any hash function supported by: [2 S8 x" o5 U( E9 u, }
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    + ?: ^0 H4 w+ o. I1 C5 K
  1477. ; function.6 \' ~2 S. i( B" V
  1478. ; http://php.net/session.hash-function2 M+ D: N* `. X+ d
  1479. session.hash_function = 0
    & [- Y# G: m- _/ r7 Y0 e2 @, a

  1480. - Z# B8 V$ R4 s6 A$ H/ {
  1481. ; Define how many bits are stored in each character when converting) ]# j) z6 `5 j$ F  [
  1482. ; the binary hash data to something readable.  v' Y" u" J8 Y4 H
  1483. ; Possible values:
    / W- J. R# d- W: W
  1484. ;   4  (4 bits: 0-9, a-f)% j3 m7 a! x; @
  1485. ;   5  (5 bits: 0-9, a-v)  `! K, j4 O4 m1 o) f$ D% i3 m
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* |. A/ W" V. F  Z/ ?: L
  1487. ; Default Value: 4
    ' u6 @) t' l# |! Y+ q
  1488. ; Development Value: 53 x  d3 o) `1 t
  1489. ; Production Value: 5  k8 O8 V: J( A6 A  A% g( ~
  1490. ; http://php.net/session.hash-bits-per-character
    / O4 P# }$ _/ N3 L! ?# a$ C
  1491. session.hash_bits_per_character = 55 H- _$ Y/ [2 b/ Z7 \) \# V

  1492. ( g+ S% d& n& x: w
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( w% F/ \( z& N6 f( p9 i
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ( G! M6 _& Y8 w2 H- B! G
  1495. ; add a hidden <input> field with the info which is otherwise appended  T0 R/ {% {9 Y3 F' f
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.. k9 P& e. V' ]. v" [( U8 B( v
  1497. ; Note that all valid entries require a "=", even if no value follows.
    . C! |( W( W: Y; E( l- k
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 }+ l+ H, \9 f& d0 {% Y' C
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& O$ [, Q7 X. C0 O9 t
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & b/ [! |. E  B2 a0 O5 `
  1501. ; http://php.net/url-rewriter.tags
    ; U. o7 f# P$ W( t  u, |
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 U4 q/ O% O$ L! z4 j* E; J7 {/ `! I# D
  1503. 1 G/ }3 L# h8 y/ W
  1504. ; Enable upload progress tracking in $_SESSION
    4 k  Y' {+ j+ h$ ^; e! B* {' T  o1 m
  1505. ; Default Value: On
    , |, O& G9 ?( Y3 ^) G
  1506. ; Development Value: On
    9 n0 j4 Z6 ~! _$ F; S( N
  1507. ; Production Value: On, e! V" }6 I: B" \6 r6 k  J
  1508. ; http://php.net/session.upload-progress.enabled
    $ Q* N% _: ~7 S
  1509. ;session.upload_progress.enabled = On
    $ i; |9 Y4 M# o5 S( `; u
  1510. # s+ U( t! y5 z1 f1 Q: K5 x
  1511. ; Cleanup the progress information as soon as all POST data has been read. j1 |; v' w& S3 ^0 N' e
  1512. ; (i.e. upload completed).
    2 x0 ]9 @, _5 I- H3 o* K+ r2 Q+ W$ U
  1513. ; Default Value: On: W: Y1 k" ~2 `0 A
  1514. ; Development Value: On" R# t9 ~4 H, a. Y( S" ]2 q6 n
  1515. ; Production Value: On
    ( ^) T/ y3 Y4 h1 K1 W
  1516. ; http://php.net/session.upload-progress.cleanup+ q* {$ @5 }6 \) r
  1517. ;session.upload_progress.cleanup = On
    . x! G& p% }" D  ]4 L1 R/ H6 m* g4 A

  1518. $ i) Z8 O$ J: A) z
  1519. ; A prefix used for the upload progress key in $_SESSION8 }! @+ u' {7 K2 ?8 {
  1520. ; Default Value: "upload_progress_"9 |0 E* k* W9 d# t$ @3 V# o& g4 f
  1521. ; Development Value: "upload_progress_"' n: Q* H5 ?, j6 L
  1522. ; Production Value: "upload_progress_"
    - o* x' w, n9 m  J6 j: J
  1523. ; http://php.net/session.upload-progress.prefix
    ! j" N8 u/ a9 L! P% Z
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ' G7 q& g# v, i( B% g: k( Y! `$ S$ d- ^
  1525. 7 d/ \+ q) _* R3 [2 F# j2 z' l
  1526. ; The index name (concatenated with the prefix) in $_SESSION; m" E  a' \6 ^4 ^4 g/ x
  1527. ; containing the upload progress information
    3 ^' U* I4 y7 T& ^
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # h$ R, M: v% d
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"5 h( h! r" d: Z& a
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"3 n$ Q# O4 s0 E0 U' d. p5 I
  1531. ; http://php.net/session.upload-progress.name2 e  L$ j( W/ c; d0 C* O) D/ i, Z1 a
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 C+ J! W% g* q; _* d# G
  1533. / b0 e4 h  z' p9 G, C
  1534. ; How frequently the upload progress should be updated.
    9 @- {. J# W; P  V
  1535. ; Given either in percentages (per-file), or in bytes
      H3 q5 K# R! N' U! e
  1536. ; Default Value: "1%"
    ) \; }9 c" x) a: ?. d
  1537. ; Development Value: "1%"8 X0 {! K+ c6 L4 B8 |5 R5 Q8 E
  1538. ; Production Value: "1%"& e$ @: V' r+ d1 L2 \
  1539. ; http://php.net/session.upload-progress.freq
    ( |& K$ N3 \* ~5 g
  1540. ;session.upload_progress.freq =  "1%"
    " C  l8 j8 I) h. d. _# c& \

  1541. ! v7 |3 W3 d/ v4 m+ b  l. z
  1542. ; The minimum delay between updates, in seconds
    ; ]3 R8 X) t7 {% Q. g1 K+ _% g" Y
  1543. ; Default Value: 1
    3 s! g; k0 V" C! ~
  1544. ; Development Value: 1- h( k9 W( ?- M0 V
  1545. ; Production Value: 11 P8 `  q( P% c/ T7 b
  1546. ; http://php.net/session.upload-progress.min-freq5 e& s5 w% I3 a: J4 ^5 Q. a
  1547. ;session.upload_progress.min_freq = "1". n( R9 _  S. ?8 a$ Z3 N6 c
  1548. ' x. n$ C# I4 N3 D. g
  1549. ; Only write session data when session data is changed. Enabled by default.
    3 W  l9 r0 M+ b1 J) R
  1550. ; http://php.net/session.lazy-write
    8 k) e/ }' Y  U- A2 n( D
  1551. ;session.lazy_write = On
    3 d1 B" `, `1 d( L8 H: C" t( d
  1552. , j1 O6 }* x  H3 H; N
  1553. [Assertion]
    / p; K: S/ ^" I0 ?: G
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)1 b8 C6 @0 X7 S1 d3 j; r# j
  1555. ; -1: Do not compile at all& l5 x! ?: }. T8 M8 p  ]/ i
  1556. ;  0: Jump over assertion at run-time
    4 ]" T0 m/ \: \' E( ~& Y$ K2 ^
  1557. ;  1: Execute assertions. e. m; o( o1 q+ y; T+ X
  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)
    9 V' w9 w: v: `4 |
  1559. ; Default Value: 1
    % M( X6 G' @, S+ B' R4 Y( R2 I
  1560. ; Development Value: 1
    ( \; X7 C, ]) T6 q
  1561. ; Production Value: -1
    - k! G' l; k/ Q4 ]. K* M' ~
  1562. ; http://php.net/zend.assertions
    ! f% c  F3 i0 h/ r
  1563. zend.assertions = -1
    4 F$ f& }; h/ W: y

  1564. ( b! X* o' b' P, _" \6 s
  1565. ; Assert(expr); active by default.
    1 U) E+ J5 `- j1 |: i6 l9 ]" Z
  1566. ; http://php.net/assert.active
    4 {3 h  k# u4 X( @( o: s
  1567. ;assert.active = On
    4 _0 |+ a( d8 a. O- O5 g
  1568. 1 i- j+ N7 U5 g+ Z/ y' Y* l6 A; K
  1569. ; Throw an AssertationException on failed assertions
    5 S8 ?" [; h9 P0 v2 m  c4 i% T
  1570. ; http://php.net/assert.exception
    $ b/ k; Z5 P7 o, X/ }0 H+ g- q% ~7 R
  1571. ;assert.exception = On
      N  D  d* a: Y+ y1 Z* d
  1572. % r; l+ e  t. c5 W. w
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    3 h- t/ Z. [" k7 U5 g4 r% F: O% f
  1574. ; http://php.net/assert.warning  W! e7 X6 C+ |3 t& v: J- n/ G5 E
  1575. ;assert.warning = On! L; s1 ]! U6 O% E4 L  |
  1576. * P2 E' h$ A8 C; q, f2 x
  1577. ; Don't bail out by default.' j0 _: f3 f. G( i+ h
  1578. ; http://php.net/assert.bail( n! C- Q: i, w$ c" e9 s
  1579. ;assert.bail = Off2 R+ p* o: m& P8 m9 G9 Y
  1580.   W7 N+ E' w5 U8 z' n- u! T5 [
  1581. ; User-function to be called if an assertion fails.
    & r9 s# B9 u: B; p! V% n
  1582. ; http://php.net/assert.callback5 b) v0 L; |" y' s" q. |* g
  1583. ;assert.callback = 0
    , t% z) w3 G5 B5 A

  1584. 3 v$ G. l2 t, {6 h6 |6 O  e
  1585. ; Eval the expression with current error_reporting().  Set to true if you want$ J( D  ~8 a  A. e3 j
  1586. ; error_reporting(0) around the eval().. R" D0 A  L/ G8 o1 s  p
  1587. ; http://php.net/assert.quiet-eval
    7 i% N/ q9 x1 @
  1588. ;assert.quiet_eval = 0
    $ e( c" @! P6 a: b
  1589. . C" a0 ?' z+ d6 Q* o# W% q
  1590. [COM]! X/ H3 G1 n' `/ U2 @
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs6 p4 n8 _! S( d1 t$ T
  1592. ; http://php.net/com.typelib-file% T, f4 x! Q' o2 M4 t0 @
  1593. ;com.typelib_file =
    2 y4 }1 _- H$ c) ^4 Z
  1594. : J4 _" f  e/ e
  1595. ; allow Distributed-COM calls6 }0 S7 V, \# |
  1596. ; http://php.net/com.allow-dcom
    4 _: [; ?0 @6 T3 J
  1597. ;com.allow_dcom = true
    3 n( J% ?% m; V7 }

  1598. # @% a: z  Y. |7 \6 k: G7 E* W2 @
  1599. ; autoregister constants of a components typlib on com_load()+ j6 P. v* V0 L% ~& X  j
  1600. ; http://php.net/com.autoregister-typelib6 K" s) \- [; ^. g, \+ k
  1601. ;com.autoregister_typelib = true& }4 @' S8 F7 e1 \* U2 \9 K8 m

  1602. 4 t/ j! n" J( ]- F
  1603. ; register constants casesensitive6 E9 z1 y4 o  v4 L- @
  1604. ; http://php.net/com.autoregister-casesensitive
    ) @; M, _, A! y$ }
  1605. ;com.autoregister_casesensitive = false/ a! k# u0 |1 x$ [. P. g# \
  1606. 6 V; P) k9 X0 o  |; n, ?/ U
  1607. ; show warnings on duplicate constant registrations
    % F$ |/ F/ h+ @! I9 _5 z- A0 o
  1608. ; http://php.net/com.autoregister-verbose
    0 R& O$ w; ]- D3 w3 H) D  u+ D9 I
  1609. ;com.autoregister_verbose = true
    # j, }9 a( F2 \+ k, y% X" ?
  1610. : f  ]& m- B! V
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    % t4 Q' j9 G  [
  1612. ; Default: system ANSI code page
    ) P* i% [$ |7 [' Y
  1613. ;com.code_page=0 t& K- ]7 r/ n" D* e8 P3 v

  1614.   |" ~3 F/ d6 k3 s$ I- v7 I; v
  1615. [mbstring]8 Y& i+ g7 Y7 @5 O: ~* t
  1616. ; language for internal character representation.
    ( ~  U/ ~+ N4 i2 N9 `, Z( _7 l# P
  1617. ; This affects mb_send_mail() and mbstring.detect_order.3 R  h/ \  a- P" G( A1 F' x
  1618. ; http://php.net/mbstring.language) u" O. w, F; C& n0 `6 y
  1619. ;mbstring.language = Japanese
    7 U) }) c! W8 q# X: a3 s% W0 w
  1620. # C' L8 e3 ]+ T) i1 m2 V
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , `7 e( s. J+ S4 U4 a$ P
  1622. ; internal/script encoding.
    % ]2 `; r& @9 L9 |/ T8 t% B9 i
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 M5 s& w( _4 u7 h9 A
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 @& R3 t% d  v" k7 d7 v
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, o. ]' T. |3 q1 y% |$ S
  1626. ;mbstring.internal_encoding =8 d. |# j5 z6 s% g8 N1 q9 M
  1627. ! z+ V/ r$ s1 b2 E& m$ {$ d6 U
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : X" z  A' T0 F8 L1 m  T  d( W
  1629. ; http input encoding.0 @* h. w* A% V: H" A4 N( G
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    8 @& y& x3 r3 p- ]
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.$ I. Z$ _  x6 q, i
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    8 Z% t9 i: J! @+ L0 l% L# a
  1633. ; http://php.net/mbstring.http-input" Q2 I2 X% e4 Z6 R8 @
  1634. ;mbstring.http_input =+ q( e* K( U& n

  1635.   ~; e, v& m9 t* n% P3 x% v) d
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.+ ], O% ^8 S  t5 j9 k' y
  1637. ; http output encoding.
    / |/ E$ L- N* q0 u' H7 j7 D( O
  1638. ; mb_output_handler must be registered as output buffer to function.
    7 b; i3 `( g+ x8 J* @! d/ c- |) R& O
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    4 W( z- r  k1 m/ m
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 x9 I5 A# _( w* ]5 T# w
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    , V4 B$ k, `; A( v( \7 h
  1642. ; otherwise output encoding conversion cannot be performed.! ?5 n# `0 f: j4 y/ _
  1643. ; http://php.net/mbstring.http-output, g* p4 M9 }: \* C3 Y
  1644. ;mbstring.http_output =
    8 e0 O/ }' A. x5 ^# x) h

  1645. . ~5 _. \3 F, M5 h$ r; U* Y
  1646. ; enable automatic encoding translation according to& ~2 J; n& I  R
  1647. ; mbstring.internal_encoding setting. Input chars are
    2 l$ ~9 T2 R9 ]* \
  1648. ; converted to internal encoding by setting this to On.
    - G: D- x' H; o3 h
  1649. ; Note: Do _not_ use automatic encoding translation for
    1 o5 t# e4 E" R5 K3 h
  1650. ;       portable libs/applications.
    0 M$ ?( g7 m2 Q8 I$ o: q( @5 A
  1651. ; http://php.net/mbstring.encoding-translation4 a- o, F* D0 C  ~2 h8 \1 y: e
  1652. ;mbstring.encoding_translation = Off
    . L2 v# c/ A' F" \
  1653. 3 a' Q% `& _+ o$ q7 [% A
  1654. ; automatic encoding detection order.) N4 @6 a) d$ ?- |- a4 Z1 b
  1655. ; "auto" detect order is changed according to mbstring.language
    0 ^; ?; I" U- u! |( z
  1656. ; http://php.net/mbstring.detect-order
    . v5 @* ^, f+ t4 Z, m
  1657. ;mbstring.detect_order = auto
    " c$ \( K: I5 a$ }6 M$ e

  1658. ' Q8 a2 h4 X& ]/ K8 b  J
  1659. ; substitute_character used when character cannot be converted: k  v+ A5 T1 |1 g; e" ~
  1660. ; one from another
    ' X' D4 t  c( w+ t
  1661. ; http://php.net/mbstring.substitute-character" E$ V6 x- W9 ^$ z5 r, |
  1662. ;mbstring.substitute_character = none$ \2 Z1 W/ b9 h
  1663. : n& ^& Y: u$ }6 }
  1664. ; overload(replace) single byte functions by mbstring functions.! v- G& A1 B' S
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! s* l2 o/ h9 w: x! ^; `
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ) o( k3 x' W" i3 A# d6 f: l6 ~# m
  1667. ; For example, 7 for overload everything.' [* p) }. D0 }. S6 }. |7 t; D
  1668. ; 0: No overload* [! p  c+ d+ D. y1 g! d
  1669. ; 1: Overload mail() function  t0 i9 T9 U* Y8 A2 r
  1670. ; 2: Overload str*() functions1 h: n. v/ s0 h$ p
  1671. ; 4: Overload ereg*() functions
    $ H: R1 v6 O  s
  1672. ; http://php.net/mbstring.func-overload
    # B% R" _( g% O0 y
  1673. ;mbstring.func_overload = 03 g  Q7 V% y) G* H/ F6 ]0 M
  1674. # M: ~0 _0 X+ r9 f# ~
  1675. ; enable strict encoding detection.3 e3 E1 [- A( G: R, O
  1676. ; Default: Off+ A" P6 B7 Y8 }8 D
  1677. ;mbstring.strict_detection = On' A' o1 r1 a2 `6 t# }! z

  1678. . ?& s0 K5 Q( V! P* _
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    5 N/ R! H3 p; o8 e  y( j! S
  1680. ; is activated.( s/ R$ v. q9 Q( Z' W
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    - ]0 D  f9 b8 N* c# V/ q" {
  1682. ;mbstring.http_output_conv_mimetype=
    " d+ o/ d- E. S) R
  1683. ' Y6 r2 Y# q4 S' S  }8 @
  1684. [gd]# [) e3 A/ A! A
  1685. ; Tell the jpeg decode to ignore warnings and try to create  E$ M- L  q4 {: Q! m: w  C
  1686. ; a gd image. The warning will then be displayed as notices
    * C+ J) s! t/ O, |* S
  1687. ; disabled by default
    / \; Z9 p3 i+ \# H" u+ `
  1688. ; http://php.net/gd.jpeg-ignore-warning
    8 T& W4 z  F4 Q- C5 f
  1689. ;gd.jpeg_ignore_warning = 07 }; l) o4 K6 v% Y5 q" z6 [0 h

  1690. 6 u; z: f2 T: v& N- Q
  1691. [exif]
    5 |% c5 U7 C9 K) @1 C  U
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 C- f) S) x4 Z% E( S
  1693. ; With mbstring support this will automatically be converted into the encoding
    % P# r4 j2 y5 ]: a
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding! y% G) f1 i0 o- n6 S- t( {
  1695. ; is used. For the decode settings you can distinguish between motorola and  n) }4 X% L4 v& z+ O7 @
  1696. ; intel byte order. A decode setting cannot be empty.
    7 Q; {: f# Y7 ?' D) r! K
  1697. ; http://php.net/exif.encode-unicode
    " N& w8 x5 N+ O! A! }
  1698. ;exif.encode_unicode = ISO-8859-15
      r' f& p1 I7 ?! X+ E/ s0 C) Y# C

  1699. 8 z$ q# l* H: m2 R9 i. _% Z# A
  1700. ; http://php.net/exif.decode-unicode-motorola
    % Y* B5 j7 ~7 ~/ Z
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    1 h3 P; ?: V. C1 O9 [  `

  1702. 1 R) n7 ?! ~( I4 v* C1 ^. C( I- [
  1703. ; http://php.net/exif.decode-unicode-intel! y& ^" P9 w$ W0 r
  1704. ;exif.decode_unicode_intel    = UCS-2LE! ^7 x( ~* y6 X  K3 P

  1705. & D& O; _1 t8 l7 p0 W
  1706. ; http://php.net/exif.encode-jis
    - B" f: \# |! S+ d
  1707. ;exif.encode_jis =  }" [6 r6 ~/ J- _" \$ @+ J: p

  1708. 3 n8 l( E/ _, i7 z
  1709. ; http://php.net/exif.decode-jis-motorola) ^/ ~" `- g5 q. s- h. T' c
  1710. ;exif.decode_jis_motorola = JIS+ |( y# A9 @' @0 Q+ g& }

  1711. 1 q* D( q4 ]; X1 o0 F
  1712. ; http://php.net/exif.decode-jis-intel
    ) O/ ~+ U2 ~( P% {) N
  1713. ;exif.decode_jis_intel    = JIS+ n# A, C; p; a5 O$ g! e8 ~( M

  1714. ' }, e1 B6 r! ^
  1715. [Tidy]* U/ X; a8 C4 Q% D' S; v
  1716. ; The path to a default tidy configuration file to use when using tidy, U7 R. V. s+ h' E" Y! y
  1717. ; http://php.net/tidy.default-config6 d& _+ X% g6 R7 O: f
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    " x. w% g' H) A( P2 h

  1719. . b4 Q- u9 Y# \) y1 m) s/ H
  1720. ; Should tidy clean and repair output automatically?! \4 ~/ a" \6 G3 }) C) j6 F
  1721. ; WARNING: Do not use this option if you are generating non-html content
    * M) y/ `# c* N5 |! M/ |1 E' a
  1722. ; such as dynamic images3 n' k/ ^( G2 h( P0 o4 E
  1723. ; http://php.net/tidy.clean-output4 W. [+ a) @$ `2 N; S7 C& z# B
  1724. tidy.clean_output = Off
    ) K9 c, o: q8 ?% z

  1725. 6 G" Q! U- C) N* H' K' B
  1726. [soap]
    9 M3 q" R7 Z* f5 i3 w% C
  1727. ; Enables or disables WSDL caching feature.3 S# p! d2 \' e3 F6 h! W
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ! h# g# z5 @2 _2 \6 j0 g% Y6 [& Y& A
  1729. soap.wsdl_cache_enabled=1
    - p) ]' p( s( }/ \, W/ w. I

  1730. $ w  I% n" p8 A( @' a% D; s
  1731. ; Sets the directory name where SOAP extension will put cache files.
      W, U: @" J% Z2 F, h7 P: F
  1732. ; http://php.net/soap.wsdl-cache-dir9 D4 w. v' g$ X- l' Y/ K3 @; F
  1733. soap.wsdl_cache_dir="/tmp"
    # U0 [* C, ~$ o& `% e
  1734. & B; U8 c( ~* c& `* C
  1735. ; (time to live) Sets the number of second while cached file will be used1 ~* O/ A) y* i" X9 U
  1736. ; instead of original one.3 K$ |* S# g  }, w9 V! a
  1737. ; http://php.net/soap.wsdl-cache-ttl5 S; g( M; \: Y8 h1 P$ [$ Z7 \5 Z
  1738. soap.wsdl_cache_ttl=86400, [9 E5 Y0 g! ]2 a8 j. x- _% `2 N
  1739. 5 Z8 v4 z) V0 C/ w$ N$ w0 x, T& v0 I
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    # L& M9 x) d8 H. X3 s
  1741. soap.wsdl_cache_limit = 5
    ! |+ j9 B$ V/ k
  1742. ; F  {2 p8 o  X: C" h9 ^
  1743. [sysvshm]& ]7 ?. W/ ^1 l" D/ l1 s! ?$ P3 R
  1744. ; A default size of the shared memory segment
    & d$ Y( g3 ^# M0 G' r0 r
  1745. ;sysvshm.init_mem = 10000
    3 S, x0 |  z, ?2 Z" A8 m

  1746. . a% T$ M, n" G1 K: S
  1747. [ldap]- p. l( \3 a& Q. o
  1748. ; Sets the maximum number of open links or -1 for unlimited./ S9 y: F& @4 {$ S
  1749. ldap.max_links = -1
    5 P/ A( T8 q* W/ G( a1 o: Z
  1750. ! Z# T+ m3 F6 y) K4 S, i( c1 D
  1751. [mcrypt]
    ) c! T/ m& I& H# R
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open: c8 y1 g# X/ t' a1 ]9 k$ l7 X

  1753. 6 ]1 B# a8 ^+ p8 C# h
  1754. ; Directory where to load mcrypt algorithms% W3 ?" @0 c3 ^. t- [
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 v) A9 k8 h/ `" w: Q
  1756. ;mcrypt.algorithms_dir=* }9 N, ]4 [! V
  1757. 5 r/ `. j' o+ [. w8 X
  1758. ; Directory where to load mcrypt modes
    * ~5 p4 F/ T  j* }/ {' ~4 H( A
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! T3 c0 E8 X& w2 n
  1760. ;mcrypt.modes_dir=
    % [, p6 z/ u: N# K

  1761. 8 J' c4 M+ g! V; I+ o3 p
  1762. [dba]
    ) K9 `& {" K1 K, r$ E
  1763. ;dba.default_handler=; N7 V7 r- R+ S( T, w7 P+ `) ~

  1764. 2 s, {2 A+ L( i* ~* v8 X9 N# J% C. w
  1765. [opcache]3 J/ [9 q7 @. m. c. I: n
  1766. ; Determines if Zend OPCache is enabled
    ! C% ^, [- p5 X& y* N" X8 @: X
  1767. ;opcache.enable=0) Y6 a1 K0 R4 l  u7 ~

  1768. . F: |7 }5 t8 v1 H" \
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    - R2 e# {1 h" H1 H8 T/ x
  1770. ;opcache.enable_cli=0. O. L7 z' s, y0 ?" r, c
  1771. ; e  l  r' W' g. Z
  1772. ; The OPcache shared memory storage size.- L% v0 G. G3 w* U+ s2 z
  1773. ;opcache.memory_consumption=649 Q, y. T& H4 c% V( Y" \9 N
  1774. 7 R4 J: a3 _1 b9 Z! p+ |  Q
  1775. ; The amount of memory for interned strings in Mbytes.1 E! N4 G7 V  i/ G( ^. n6 ^
  1776. ;opcache.interned_strings_buffer=4
    : }) c( a5 E/ a2 ^8 E8 m" J
  1777. 7 R; K3 q) p+ W4 I% l' f- x- |
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    6 m* W: G2 [! B( a5 j. p4 r8 e
  1779. ; Only numbers between 200 and 1000000 are allowed.
    & j) G) h' {2 X3 X+ t$ V
  1780. ;opcache.max_accelerated_files=2000
    5 f, K1 ^( f0 \3 ~" h: O! x
  1781.   v- i7 `3 w: G: B/ p( x/ u0 ]2 z
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 P, s( x1 _0 C: n$ i9 z
  1783. ;opcache.max_wasted_percentage=5
    1 O8 o$ W- q# B' D- E1 j! D9 ?" s

  1784. / N9 w, j$ J. f# l  C# ~# h( ~
  1785. ; When this directive is enabled, the OPcache appends the current working
    1 ~9 C8 ~: p6 B, w0 R
  1786. ; directory to the script key, thus eliminating possible collisions between
    0 t  l3 P: m$ b+ R
  1787. ; files with the same name (basename). Disabling the directive improves
    $ L! J' c% \' L( q) d
  1788. ; performance, but may break existing applications.
    3 ]) \- i0 e! r5 P; b
  1789. ;opcache.use_cwd=15 s% w4 `  k& H

  1790. + e3 f/ d* X) n. j, f) b
  1791. ; When disabled, you must reset the OPcache manually or restart the
    " y9 p7 ]. [/ ]/ ^
  1792. ; webserver for changes to the filesystem to take effect.
    2 ?- v  R; {# e4 ~
  1793. ;opcache.validate_timestamps=1
    + @! t  z- M; t& j6 l5 F2 C4 a

  1794. , U, A4 X/ g! ?3 X# B
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    * Z0 V& J1 {& l9 P# T3 w: S
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    8 F4 R* e0 \4 x+ q4 Y" j6 a+ E
  1797. ; once per request. "0" means always validate)
    # x- Z2 U1 b- ?7 L4 {- \% Y! }  G6 q
  1798. ;opcache.revalidate_freq=2. f5 r# |2 c6 C. E4 G. r6 L; }( a
  1799. % u* \3 Z6 f4 D
  1800. ; Enables or disables file search in include_path optimization
    - m1 P; y2 u# ?. o2 Y& u  h
  1801. ;opcache.revalidate_path=0
    : Q1 M2 I% \" w  N# x
  1802. " \! ^8 y- }" ^$ g: m
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 g0 I% w5 H, L4 l
  1804. ; size of the optimized code.
    9 k, {( V' V  ^( o
  1805. ;opcache.save_comments=1
    * Z* G# G, Z$ ?. f: B# C

  1806. 9 ^% D5 o) g/ i" b1 c) u
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code( b! V6 I) P( P* Q3 Z
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ! W3 |; ?0 S  W  f
  1809. ;opcache.fast_shutdown=0
    8 m5 o! a. L, W: H- g

  1810. 5 o; W; B* }+ ?4 H* j+ q
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    1 y4 k  d! Y) k$ z* u
  1812. ;opcache.enable_file_override=0
    . P- M/ j- c& ?# Z8 v

  1813. : x' l+ [4 k3 _2 l5 t/ x$ q1 Y  H
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    , g4 Z' u+ u# d  n3 ~% G# C1 X) c" ]
  1815. ; passes4 [0 x' f! q( f6 E1 V
  1816. ;opcache.optimization_level=0xffffffff. o* p/ E8 ]- s& _
  1817. * w$ l0 ?; d) a. k6 f+ ?' W1 `1 ~
  1818. ;opcache.inherited_hack=1
    - `) w4 p4 f( W3 f' h) Q% e% Y
  1819. ;opcache.dups_fix=0
    3 \0 z0 B4 ~& P) {0 D9 a, S+ i

  1820. , n% j9 _6 \5 X. l& [* T' b& e
  1821. ; The location of the OPcache blacklist file (wildcards allowed).% |9 q8 T1 o0 M$ p1 z2 m& c: ^
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ! |4 i$ C2 T! @/ f4 q7 b, J/ `
  1823. ; that should not be accelerated. The file format is to add each filename
    4 x) ^2 z$ k5 g* V, R5 Z
  1824. ; to a new line. The filename may be a full path or just a file prefix8 f+ j/ I3 C( a
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; v1 s/ @( s5 E* i- O3 o5 [
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    + H, L! P6 ^9 o& Z: M
  1827. ;opcache.blacklist_filename=
    9 v" V, X  o3 S; @0 G7 M
  1828. 5 t% m: Q: q; [4 x3 I; H9 z' U! }  c
  1829. ; Allows exclusion of large files from being cached. By default all files' P0 J/ z+ }  c" u0 _1 y7 y
  1830. ; are cached.3 U& C9 }' v: o( ~
  1831. ;opcache.max_file_size=0
    ' D0 O! I& ?: t- q8 o2 i

  1832. " K) Z9 ]+ i( n  J1 u
  1833. ; Check the cache checksum each N requests.8 N2 M) }' D$ c% _
  1834. ; The default value of "0" means that the checks are disabled.
    8 O# V( I  f# \% }, L0 P) H8 D& n
  1835. ;opcache.consistency_checks=0
    8 y4 l. T" Z- Y" v/ n. e5 G; e7 P+ G

  1836. 4 f) ^0 Y9 T$ T6 a
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    " @9 u, {8 A2 e
  1838. ; is not being accessed.
    5 i' g, H1 h9 o( @9 g' h
  1839. ;opcache.force_restart_timeout=180
    ( P9 w5 L* p9 B9 ?# {- _% N

  1840. 8 c& M; j4 \% J' X+ f8 S! G" v
  1841. ; OPcache error_log file name. Empty string assumes "stderr"./ h! f! W3 e: ]2 J! B1 q
  1842. ;opcache.error_log=. Z* T( Y& f2 X

  1843. 0 K" v/ Z! j) X. j5 V
  1844. ; All OPcache errors go to the Web server log.! r4 v& l8 h% T0 V9 f; a
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.3 N# C7 y4 n+ g/ u. M6 d) L: z
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    $ b2 g$ s1 I; i* f0 _# k
  1847. ; debug messages (level 4)., ~; v( k2 o) C) I6 J
  1848. ;opcache.log_verbosity_level=1
    8 l3 p0 D4 u0 R6 c( {& m. `! l! V

  1849. , b0 N* H5 ?+ ]& o9 D4 P$ x: W
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . Y2 a# N8 o' A5 C& ?
  1851. ;opcache.preferred_memory_model=
    ) y5 Z- @1 r! `: C3 W$ m0 L: d

  1852. , p) a- V2 d" f' E5 n% J2 v$ }
  1853. ; Protect the shared memory from unexpected writing during script execution.1 E# z) z1 N' a5 ]+ U
  1854. ; Useful for internal debugging only.. u- {% X. s' I
  1855. ;opcache.protect_memory=0
    . @; t* n2 k& V* m6 Z

  1856. ) J0 N' u" ~5 l5 z- g" \7 ~
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is& t: g: v$ d$ N- b$ x- O0 r
  1858. ; started from specified string. The default "" means no restriction! S- f1 O+ T. o; z: {
  1859. ;opcache.restrict_api=
    * _7 s/ G2 v$ V1 W

  1860. ! q( r* ], u6 d3 z
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP0 G+ _2 j2 F* @, U% [
  1862. ; processes have to map shared memory into the same address space. This
    / N! R& k, l& L9 M" D
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    4 ?; q8 |9 o9 G, i8 ~
  1864. ; errors.
    9 @+ A* T9 B8 [2 ]' @4 x9 J) ^3 g' ~
  1865. ;opcache.mmap_base=3 N- \5 f  z1 Z! \2 |  b- C

  1866. 6 e3 \8 U9 P9 p$ n; v
  1867. ; Enables and sets the second level cache directory.# ]# m+ J) v3 j
  1868. ; It should improve performance when SHM memory is full, at server restart or
    % }1 ?  e( @! @( Y7 t3 T$ v, e
  1869. ; SHM reset. The default "" disables file based caching.  ?# @0 q9 q: e! n
  1870. ;opcache.file_cache=
    ; ]2 T( X0 D) ]/ c5 x8 r) w3 [5 f

  1871. 0 T( H  @$ h! v9 D% L
  1872. ; Enables or disables opcode caching in shared memory.
    + S& E3 S$ `; g2 U( _$ g
  1873. ;opcache.file_cache_only=03 D' u; Y& {; P  W8 P& h
  1874. ! ^8 w; M9 j, l/ L: d
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    - C* D2 Y2 W4 ^. w
  1876. ;opcache.file_cache_consistency_checks=1# }  j9 ]9 G% Q+ f% l
  1877. ) X' P6 d3 H: U; A6 V  m* a
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    8 o6 {1 q2 w& w- c. U
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    : N& u  s3 n7 Q& Q) a
  1880. ; cache is required.
    4 y! E+ b2 v" x- |" R
  1881. ;opcache.file_cache_fallback=10 M# O& i' |, [
  1882. 9 _9 s+ v/ t5 i+ E- p
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.& [; \3 D, U- _  J* _
  1884. ; This should improve performance, but requires appropriate OS configuration.
    : T5 ^0 F5 y+ B( n$ Z
  1885. ;opcache.huge_code_pages=1
    : x; h! {: g3 d% E8 L( _" [3 Q

  1886. / p$ N% a6 T2 c# n: Y4 V
  1887. ; Validate cached file permissions." M1 e& w- A( c" t
  1888. ; opcache.validate_permission=0
    0 N0 |. R, x( N$ Q7 r
  1889. $ s! p; X& J! T' U7 A
  1890. ; Prevent name collisions in chroot'ed environment.  H/ L% [0 i: B% ~+ g
  1891. ; opcache.validate_root=07 Y' Z+ h. \) o* @1 X# O
  1892. + ]9 ^3 c% A" g- F; r& F$ b) f+ U
  1893. [curl]
    8 H8 g- i8 T2 M  P* G, y: `2 ?
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    9 M. b) y# `% Z
  1895. ; absolute path.3 k7 K5 b" R( R' X2 }1 x9 Y# r
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 L1 Y: [  E4 A4 G4 e7 q  ]* r
  1897. 6 T1 E+ Y; C2 i7 c5 R- Y
  1898. [openssl]
    % C  f3 w5 t  t( [$ Z4 z8 Q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    * D' O5 K6 w9 q* @% m4 U( c9 r
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should. S0 H. \) n$ |+ K, t
  1901. ; not specify a value for this directive as PHP will attempt to use the) ^! Z6 h! k4 e1 i# e* L
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    0 q1 d! F# x' L, o& F1 V% G
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ' U' N: \0 L' n$ y% K; Z1 l) |
  1904. ; option.
    $ A0 c9 v% ~6 |# N9 {6 r- s& E2 i3 M
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ' z+ u* k1 z# i# w1 _

  1906. + O& V. U$ ~% N
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the; J( A4 l+ h* e: R9 H6 i( [: q+ u
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ' j# ^( T1 l$ [9 L8 j* S
  1909. ; certificate. This value must be a correctly hashed certificate directory.6 d# N# r4 f+ y8 E3 V/ ?- Q
  1910. ; Most users should not specify a value for this directive as PHP will
    * S- ~8 F0 N  H6 D
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,0 M# T# ?, w5 m& \
  1912. ; this value may still be overridden on a per-stream basis via the "capath"4 x0 k4 ^( Y! `2 n* g
  1913. ; SSL stream context option.
    ! O2 E& C$ Q: ]
  1914. ;openssl.capath=* a/ ~* z0 ]9 ~( j

  1915. . s$ D, v& @8 l, i( d: i4 F
  1916. ; Local Variables:, @4 D! W) K1 G  b' U, P
  1917. ; tab-width: 4
    ' {+ u" D6 q4 a% W3 k
  1918. ; End:* C( P2 k) A' u2 w8 p1 `( X8 W

  1919. : v! ?. ~; Y3 N
  1920. ;eaccelerator
    # `, u7 A$ t$ o3 D

  1921. 8 C$ X+ I( g, o/ _+ i
  1922. ;ionCube
    + V. G( ~. T/ N" F

  1923. $ B1 k. Y6 p4 v
  1924. ;opcache
    + J0 M3 A2 U3 V+ ?' }0 P, \" H
  1925. % V; x4 X( }5 v" X: ?3 @
  1926. [Zend ZendGuard Loader], R# L& T* @8 \" q: Z
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.% t7 G7 c. C- b3 X/ z; }' Y
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ! f& M5 k$ d, E# n) Q
  1929. ;zend_loader.enable=1( L( T9 h2 A* E1 L4 t+ {6 H
  1930. ;zend_loader.disable_licensing=0
    ! `# L0 T2 l6 ~% \8 W# `& G( F
  1931. ;zend_loader.obfuscation_level_support=3
    / M$ V* E: ^( I3 g  ~
  1932. ;zend_loader.license_path=# R$ s3 @( \# ^( e9 ]+ Z
  1933. 1 n5 I7 {* R% S2 k, ?& k. E
  1934. ;xcache
    9 ~, S& {# G) c$ f4 r9 y2 j
  1935. 4 v  Y+ G* C! X. b. g( t
复制代码
) L6 s" {( B8 f. }5 O
/ p4 g& R6 Q! Z4 x" c
: _( ]; ~2 b1 B  b+ e9 q. k# @7 A3 j

/ r* v& u5 [; b
" p. |4 P: @  o* ?2 M& I& h* P9 ~  e
4 i3 C! F4 o/ Y* ~9 Y* Q" v! `% P5 k' t& p# P
PHP5.6版本原始设置/ O' F4 j" O% G: ~9 z" g( n9 V" R6 x

  S5 c) f" I' \! b$ B% q! I
  1. [PHP]
    ; E/ w: s: H6 U2 K2 P
  2. ) s, ~4 m3 Y  N9 O
  3. ;;;;;;;;;;;;;;;;;;;
    9 E" P+ O, A: k; k& x/ N$ H% {
  4. ; About php.ini   ;
      s( G( {6 \- J0 U2 F
  5. ;;;;;;;;;;;;;;;;;;;, p; y, s: A  @$ h3 }3 _
  6. ; PHP's initialization file, generally called php.ini, is responsible for" Y7 s9 a+ @' s1 ]: Z
  7. ; configuring many of the aspects of PHP's behavior.( @: f+ b; P% x1 {) f7 A
  8. " V" j* M0 z' @; S0 u
  9. ; PHP attempts to find and load this configuration from a number of locations.5 ?% V) z( d5 U" V( I
  10. ; The following is a summary of its search order:( R2 L* o1 Q, X  @+ q3 @( w$ k
  11. ; 1. SAPI module specific location.) K; h( c6 M, B: f
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)) a8 N. Y! r' i7 P. e0 S
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& J" I; \# g* `, P) O# m3 f
  14. ; 4. Current working directory (except CLI)
    " s& z7 F7 g/ m4 G: `. h
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 w% U: }: ^) b; E9 \  {  X
  16. ; (otherwise in Windows)) O$ i9 b/ v" y5 C
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 U6 X% v8 r. n% c- {/ K  G& _$ ?
  18. ; Windows directory (C:\windows or C:\winnt)
    % r5 U# l. A! C9 ^9 N5 f
  19. ; See the PHP docs for more specific information.
    ( s4 A+ o3 \* A2 T
  20. ; http://php.net/configuration.file  g& g2 k; s9 w- ]: l+ s5 {0 F. L

  21. " k) \1 M% J' e# I! a( q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 _5 z: K( G5 L$ p7 b
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; R: \7 b  S7 I* G+ i
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( r: K8 J, g( m" @
  25. ; they might mean something in the future.& K0 s0 U4 E, C* t) i4 J1 N

  26. 6 s3 _9 X) i2 `
  27. ; Directives following the section heading [PATH=/www/mysite] only, v0 |( z3 O9 Y
  28. ; apply to PHP files in the /www/mysite directory.  Directives% k* m7 G( j' q3 U
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' f& m! I9 M1 r
  30. ; PHP files served from www.example.com.  Directives set in these
    " j1 O3 A# q) H& y0 J/ T
  31. ; special sections cannot be overridden by user-defined INI files or; r* n  p: ]+ k, r8 \% X# L
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! q) R( K# B5 V; w  D! O
  33. ; CGI/FastCGI.
    & T3 u, v% g$ H  [/ ?, L
  34. ; http://php.net/ini.sections, A+ ~' l" t5 I- L  L- x
  35. 2 O! ]3 W" Y4 h, L# D
  36. ; Directives are specified using the following syntax:
    % Y4 w6 M4 Z1 L# G
  37. ; directive = value
    9 Z5 s& @! Z1 a
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    5 |3 O4 F: P7 W: f# `0 D3 A
  39. ; Directives are variables used to configure PHP or PHP extensions.
    9 s: q# f% B0 p5 x  ^
  40. ; There is no name validation.  If PHP can't find an expected
    1 B" {( V" h' h5 `1 o
  41. ; directive because it is not set or is mistyped, a default value will be used.% a& R6 h4 }; U8 M3 l9 o( c
  42. ( N# V( g8 }: z6 s
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( C. ]% W9 z0 m9 M: _3 o& N6 s
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) x, S' C3 _9 V$ b4 @
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a8 v' }) N! b/ D4 }! N! S
  46. ; previously set variable or directive (e.g. ${foo})
      f4 Z3 ~- t0 g
  47. - u/ |# b& l2 W" S6 x/ _( u
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # o. [4 g; i2 Z4 C
  49. ; |  bitwise OR
    1 d: W; A) R2 f# v5 O0 r
  50. ; ^  bitwise XOR- R5 Z# o- X: N" m/ O+ K- v
  51. ; &  bitwise AND& k# U: [: q& o+ L% T2 }
  52. ; ~  bitwise NOT5 T$ x" _8 W% ~2 B  g
  53. ; !  boolean NOT
    " w/ [! K* x7 t) o

  54. + S7 G7 f  ~$ Q' e
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.: R$ `; N+ ?0 v" L' |7 c3 l5 I
  56. ; They can be turned off using the values 0, Off, False or No.
    , \$ d7 z3 p8 T2 A- i
  57. 8 y/ w# y4 p) U* D6 u: F
  58. ; An empty string can be denoted by simply not writing anything after the equal- m2 _6 f/ q0 X5 D# Y
  59. ; sign, or by using the None keyword:1 O- t) U5 g0 W

  60.   c. f3 r) ^( Z7 s$ P
  61. ;  foo =         ; sets foo to an empty string
    ! E. I) e' Y( @/ t  v* T
  62. ;  foo = None    ; sets foo to an empty string1 t$ n6 x- _6 D4 n
  63. ;  foo = "None"  ; sets foo to the string 'None'- p5 [/ f/ F/ e3 w% H1 V

  64. . w9 P! C1 B& {
  65. ; If you use constants in your value, and these constants belong to a6 o+ ^+ X/ P8 q6 k2 |$ Y) e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 V& i0 x, m% c5 X. a7 P% c
  67. ; you may only use these constants *after* the line that loads the extension.  p- K( h5 ]+ f$ w: M& P

  68. 8 }9 G( M# ~; d4 }$ |3 j7 N
  69. ;;;;;;;;;;;;;;;;;;;( M" t( j- h3 a+ n; y
  70. ; About this file ;
    # J* n0 i/ F5 {' a7 k
  71. ;;;;;;;;;;;;;;;;;;;
    . l$ z2 j9 f4 a
  72. ; PHP comes packaged with two INI files. One that is recommended to be used5 G% ?7 N7 X1 I  p- ?) k
  73. ; in production environments and one that is recommended to be used in. {0 e2 c% W5 ~! a: q
  74. ; development environments.5 O+ p6 K3 D4 J! M% {" D0 K

  75. " [0 k5 c8 Y3 R! S; j
  76. ; php.ini-production contains settings which hold security, performance and
    6 T% c* L( a" c, S: c
  77. ; best practices at its core. But please be aware, these settings may break
    / U2 `: X/ [3 P6 X% r
  78. ; compatibility with older or less security conscience applications. We# K' k. D4 [3 a" D
  79. ; recommending using the production ini in production and testing environments.# b" O' _  ~5 `. q  h4 v

  80. # R( s7 }, X) J. q( Q8 O8 J  l
  81. ; php.ini-development is very similar to its production variant, except it is
    5 c/ t( h6 D  C: |1 S) i$ }. w. s0 J7 F
  82. ; much more verbose when it comes to errors. We recommend using the! v/ ^' B( S1 ~0 E
  83. ; development version only in development environments, as errors shown to) i& G+ t: g3 u: v8 \
  84. ; application users can inadvertently leak otherwise secure information./ x9 S9 M" |) _1 H3 s& ?9 p5 f, s! d

  85. " @) x, g6 x3 r
  86. ; This is php.ini-production INI file.* m: i; N  r% W# z, M% ]
  87. # s7 R( m; q. w4 u' e
  88. ;;;;;;;;;;;;;;;;;;;) E0 N& x1 x* K6 z. {
  89. ; Quick Reference ;
    8 Q+ z3 C: D0 I" `
  90. ;;;;;;;;;;;;;;;;;;;
    1 \' R: Y0 J3 f4 f) i, m( O$ X
  91. ; The following are all the settings which are different in either the production6 b' q# y1 c" f- K5 B. C
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    + D. J/ E, z* e8 Z
  93. ; Please see the actual settings later in the document for more details as to why) T2 z: T' m$ v; o+ Q4 I
  94. ; we recommend these changes in PHP's behavior.
    & h. \0 K; \& J/ }5 w# ^4 c% d6 _" L
  95. + e$ I8 v0 V# c( I0 l6 o+ t7 G
  96. ; display_errors7 y8 J7 M3 D! Z. U9 C
  97. ;   Default Value: On
    3 Z8 e2 A/ s( o1 V
  98. ;   Development Value: On
    ' b8 Y) h% W$ C# k$ v5 d5 f
  99. ;   Production Value: Off
    7 h4 u( V  ?5 M5 i
  100. : Q" E" s! e  ?# H  x
  101. ; display_startup_errors; p9 @6 y0 A1 ]4 p/ o
  102. ;   Default Value: Off
    0 A. X' ^: }0 B/ k) j) q5 T
  103. ;   Development Value: On
    4 Q- t% |* M) ~
  104. ;   Production Value: Off
    2 j! _- s( ]& h5 `- v1 V
  105. ! N& F& R5 O4 k  H
  106. ; error_reporting
    # Q+ `1 J% Z/ L  ~
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, l! ^6 W) r/ P. N
  108. ;   Development Value: E_ALL
    & ?7 c0 J' W8 t# `& ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, I! z$ {% `% x  _! g
  110. 9 {4 z+ S" R* p  K# X- y5 c
  111. ; html_errors
      n" A; j  J. v: _: N0 s) i8 c
  112. ;   Default Value: On3 C2 ]: x/ n  ~$ |& u0 g' {
  113. ;   Development Value: On' {; \  n. k  S! g7 {* |2 w0 }
  114. ;   Production value: On
    * r: ~" w$ E! {* J/ _& a! l: @  C

  115. # K  s3 h: G' u. o& Q+ p
  116. ; log_errors7 o2 ]  t" E1 A
  117. ;   Default Value: Off' M* Y$ C5 k4 T6 Q( e/ c
  118. ;   Development Value: On) ^' e$ V. f6 R
  119. ;   Production Value: On( X2 ^4 k4 b8 ?% }4 g
  120. 0 }  }/ e4 Y/ E9 `0 {
  121. ; max_input_time
    : k/ s& }* W3 P
  122. ;   Default Value: -1 (Unlimited)
    ( a$ q( A2 u% ^4 Y0 F
  123. ;   Development Value: 60 (60 seconds)
    # P4 f5 R# k+ I3 F+ T
  124. ;   Production Value: 60 (60 seconds)
    & ~7 l5 O  N3 w

  125. 3 L  c1 U# W& m5 Q' l
  126. ; output_buffering$ {; D5 H3 k5 ~7 S  D( N
  127. ;   Default Value: Off
    * T0 b' o+ T% f; R8 ^/ \
  128. ;   Development Value: 4096
    $ |$ @7 E  X( ~2 ~6 I6 n. m
  129. ;   Production Value: 4096
    : [- d9 ^+ V2 ]: z1 \  t$ O

  130. 7 R6 ]. n3 J' S2 [) t$ L
  131. ; register_argc_argv
    8 O" Q' |: T* j7 `
  132. ;   Default Value: On6 h# y1 I6 g& N; J
  133. ;   Development Value: Off
    % s. p( f, r' F* I0 H9 y% G5 {
  134. ;   Production Value: Off/ f5 A  E; t- W0 j6 V* D
  135. 1 d% s4 ?! w6 s: G
  136. ; request_order
    # E7 q7 J' b1 p0 n% Q/ I4 A
  137. ;   Default Value: None
    7 S2 p$ M& P2 T3 y
  138. ;   Development Value: "GP"
    % ?7 w. S; P/ `  M8 B3 Z  w
  139. ;   Production Value: "GP"
    ) n  r- u# a! K8 H( d$ h
  140. 5 V7 i& t0 u! _8 u! N" V
  141. ; session.gc_divisor* M* z" k2 P7 Z" @4 U- O
  142. ;   Default Value: 100. v- H$ T- T$ q+ t+ Z
  143. ;   Development Value: 10004 P7 i' ]# g8 P) x# f
  144. ;   Production Value: 1000
    ! `* ?; W+ s4 J$ e' ?3 N3 T
  145. 0 V7 z2 t4 w9 |
  146. ; session.hash_bits_per_character
    7 U" T- }  s7 H. z1 I
  147. ;   Default Value: 4
    / R' |3 _- V: V0 w; ^" X, {
  148. ;   Development Value: 5; L* k% x8 r! ?: g" K) l8 v
  149. ;   Production Value: 5$ x  Y* G* k3 u

  150. : V! F/ a- t+ a, r
  151. ; short_open_tag
    4 u. f+ ]& N# r7 S9 F
  152. ;   Default Value: On0 B. M2 l1 u2 ]2 k
  153. ;   Development Value: Off; p: p8 I" {' b/ \2 g* H1 @$ h
  154. ;   Production Value: Off
    - t2 z  _3 d% b7 v

  155. 8 @. M, b/ ]. T- @. p
  156. ; track_errors: X& i( j- J# @
  157. ;   Default Value: Off
    ) y4 N4 n/ M8 r9 K  {  k! F/ o
  158. ;   Development Value: On9 Q: A+ m+ o9 j+ t( k  i
  159. ;   Production Value: Off
    7 y0 l# u6 W" R

  160. , A6 F  s+ m+ s0 H3 ^( c
  161. ; url_rewriter.tags  I- c9 _. z, }) w% A$ A
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="& Y/ j5 D) h- f- ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - e9 G$ B7 j/ d+ R: j: m
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 j, ?0 a( @9 }% a
  165. 1 E( X" g, t/ n: l
  166. ; variables_order
    7 g, q6 X# p* q" s& G+ V' e
  167. ;   Default Value: "EGPCS"" s- ^2 W8 M6 b( F$ F7 m) _
  168. ;   Development Value: "GPCS"
    : P3 m5 K0 b( A
  169. ;   Production Value: "GPCS"* ]' X  Q" Z5 t% y1 w& U4 Q; S
  170. $ }2 V, U: H: {
  171. ;;;;;;;;;;;;;;;;;;;;# O8 r6 z9 \9 j
  172. ; php.ini Options  ;' q" W$ E0 g/ x  L/ h' r$ k$ s
  173. ;;;;;;;;;;;;;;;;;;;;* F2 ]' E7 ~6 o9 z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"- |7 W1 i1 v' N( c: C
  175. ;user_ini.filename = ".user.ini"/ c- L" n) j  d2 ~5 D+ v& N$ S
  176. / v% ]6 l3 x$ u1 d6 V7 m8 I
  177. ; To disable this feature set this option to empty value6 z; T' X% Y8 }; \
  178. ;user_ini.filename =
    7 x: A9 d+ O' d3 P

  179. 9 [& n* x! l# m/ t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    # i9 a3 B" z+ Y8 V
  181. ;user_ini.cache_ttl = 3001 v; e: H5 x/ l3 R

  182. / s7 {& U- Y, m: P
  183. ;;;;;;;;;;;;;;;;;;;;) J+ g& U1 }" _* |3 z7 i+ g
  184. ; Language Options ;
    5 A% t" o. V4 |/ p! m- j
  185. ;;;;;;;;;;;;;;;;;;;;
    + T& v$ \5 G! Y

  186.   T8 [! X4 S$ M0 [- V
  187. ; Enable the PHP scripting language engine under Apache.
    6 V0 A, B- J4 C' t, O
  188. ; http://php.net/engine
    6 ?* [3 Z; \9 z/ s9 v! y
  189. engine = On6 B6 D+ Y$ b/ i! S; b! R
  190. 2 Z2 z) c, n% Z/ I/ a* B
  191. ; This directive determines whether or not PHP will recognize code between9 ^0 ?8 v1 }8 L- V  C% W, N
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 O: N1 \6 D. H/ n: V
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % r4 Y" n* H3 ^0 p! P
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 Z: E6 r9 f2 n" j9 ?+ ]
  195. ; documents, however this remains supported for backward compatibility reasons.
    + x" A6 g+ u) R0 s9 ^
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 i7 l' q: q1 `( h% N
  197. ; used regardless of this directive.
    " a- Y5 V/ R( t: W* R
  198. ; Default Value: On+ I, B0 ]7 y! R, t$ c! M" u' J2 S
  199. ; Development Value: Off" I. [! ~* ]3 J% N
  200. ; Production Value: Off" b- @" p$ ]* g( z; h
  201. ; http://php.net/short-open-tag9 H" D2 o$ o6 i5 k! N
  202. short_open_tag = On
    4 g8 r& ^( D  B- _, w" W
  203. % Z4 R) p$ `6 I5 A/ i$ @( X! H8 l
  204. ; Allow ASP-style <% %> tags.. e( S3 F* {. ~, n  n3 n
  205. ; http://php.net/asp-tags# y% h4 Y( t. O$ j5 `4 F
  206. asp_tags = Off
    : ^3 B2 N& t4 X- b# v! M# {% M) t6 n
  207. ; L8 _1 c3 `9 _* P) y+ h; {
  208. ; The number of significant digits displayed in floating point numbers., E8 i7 h/ P) J
  209. ; http://php.net/precision
    ' @) ]4 G/ E. w) K( i" `6 H# Z9 O" S
  210. precision = 14
    9 [, u0 T6 a  G: C% Z
  211. # _0 u, B- W4 B' S: k0 ?: [* J
  212. ; Output buffering is a mechanism for controlling how much output data& O/ {; ?( \1 |. m& M" v' a
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    6 }9 c9 U" Q, M5 ~
  214. ; data to the client. If your application's output exceeds this setting, PHP4 W+ T0 W7 y* n; a
  215. ; will send that data in chunks of roughly the size you specify.
    / B* H! A) i" _+ y  e. A( j
  216. ; Turning on this setting and managing its maximum buffer size can yield some$ m; b8 \3 V, L; @: Y* z0 l' [# J0 F
  217. ; interesting side-effects depending on your application and web server.
    ) d7 ]( s  {* I. a
  218. ; You may be able to send headers and cookies after you've already sent output
    ! m! L3 z$ L2 p* l" J' N* @. a
  219. ; through print or echo. You also may see performance benefits if your server is" r# |: H. T2 r* n% ~
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    3 C& ?* H5 s: u" v, u& ^" [# X
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ! x. U" Y. g# P5 Q8 k% [* t
  222. ; reasons.( b7 @2 M0 K/ Z9 U9 J7 D% h. S4 ?
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    + q( e5 J8 N& W" ~
  224. ;   functions.. M/ _& M+ w1 Q
  225. ; Possible Values:
    . s& d3 g  T5 C+ z; I
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)* O! i5 n8 ?( \: z$ M
  227. ;   Off = Disabled
    2 y1 I  I9 U: {% |' K
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 u3 S4 c, u7 `  B
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI& D0 U4 M$ ^0 z1 s9 J8 w
  230. ; Default Value: Off( V# p, a# w( h4 ?
  231. ; Development Value: 4096% x5 a6 P# p# P& X# s
  232. ; Production Value: 40969 }8 `7 x% L: Z
  233. ; http://php.net/output-buffering/ P# O6 d  y& s* v
  234. output_buffering = 4096
    ; Z) b% J- V3 H/ H9 t
  235. 1 y' h* H: q$ f  z5 W; U
  236. ; You can redirect all of the output of your scripts to a function.  For
    5 K# B1 Q' b0 k0 Z4 W, I; A
  237. ; example, if you set output_handler to "mb_output_handler", character
    # W- L+ O. {5 y8 d: L
  238. ; encoding will be transparently converted to the specified encoding.1 `/ `4 M% @( m4 o
  239. ; Setting any output handler automatically turns on output buffering.. S+ R0 C  x0 i7 E: Z! J1 V  x
  240. ; Note: People who wrote portable scripts should not depend on this ini
    # S9 D) E' g3 U% l* a
  241. ;   directive. Instead, explicitly set the output handler using ob_start().6 y$ k) p" O9 B$ b
  242. ;   Using this ini directive may cause problems unless you know what script
    - [" H) `( l2 O6 }9 N
  243. ;   is doing.
    ) m( S6 y% D4 {; ?
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"0 u7 \/ i" v( d3 [. w. |
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 T  d$ ~+ B; o2 _( _- D1 `
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( v# Z  E4 u; b2 A. p; x. }8 y; y
  247. ;   Instead you must use zlib.output_handler.3 j( w3 ?3 g2 A1 r
  248. ; http://php.net/output-handler( q( Y* K# F  w+ N
  249. ;output_handler =
    5 ^# ]# k% D! ~5 c4 k
  250. 0 C4 u/ s  J& t( U; ?: X) w
  251. ; Transparent output compression using the zlib library$ e4 F: ^1 P6 j/ Y: @( n7 X
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size* i  C0 s* ?1 q# E/ Z( Y6 D
  253. ; to be used for compression (default is 4KB)% d/ }$ Q: I+ U5 q' K8 a
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP: J: N% n) P  Z
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    , @- X# P2 ^4 v5 g- v2 V
  256. ;   compression. If you prefer a larger chunk size for better
    ' J9 I7 H, U# l. j) b  F
  257. ;   performance, enable output_buffering in addition.
    + C* z  [' `0 T1 F2 \
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ' m' _) G$ W+ D6 a
  259. ;   output_handler, or otherwise the output will be corrupted.) m. E0 d* f+ M! k2 I8 }- l% V3 C, ~
  260. ; http://php.net/zlib.output-compression
    $ p8 B* y2 j9 F9 Y
  261. zlib.output_compression = Off
    - k/ x" d2 `: R: U- L1 }
  262. ( P% I+ Y1 K0 b$ A' Q( T; R6 ?  f$ z
  263. ; http://php.net/zlib.output-compression-level
    1 Q0 j3 R* R! b9 J0 f
  264. ;zlib.output_compression_level = -1+ q, S4 |$ v6 M& H- ]4 L2 b

  265. " M0 y' @2 k7 N3 Y4 s) W
  266. ; You cannot specify additional output handlers if zlib.output_compression
    9 L/ i  N  Y' Q# u6 f- O/ n
  267. ; is activated here. This setting does the same as output_handler but in3 `  E& i/ `- ]/ J
  268. ; a different order.. P; m- @8 I# `: ^& L5 k7 A/ z
  269. ; http://php.net/zlib.output-handler7 ]- n; M7 {8 x5 Y* N# F- D2 F
  270. ;zlib.output_handler =. g  S8 F/ B8 ]. W5 E
  271. 8 c5 O- I" d) H9 E+ _" L* w
  272. ; Implicit flush tells PHP to tell the output layer to flush itself& M  n. g0 }9 c# G0 v
  273. ; automatically after every output block.  This is equivalent to calling the
      K( K- ^. J9 v, F' W! k
  274. ; PHP function flush() after each and every call to print() or echo() and each0 o: I3 U6 R2 J* U+ _
  275. ; and every HTML block.  Turning this option on has serious performance
    - ^& O& f) u6 @, T! i2 }
  276. ; implications and is generally recommended for debugging purposes only.' `) X( `) @+ q/ ?$ Q
  277. ; http://php.net/implicit-flush6 X  c; E2 P0 w) Q3 a3 e* g
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ L7 O, z# F$ |5 B( {6 z, t& [
  279. implicit_flush = Off/ T, V" c% z# L" O: \. L9 @/ ~% S& \

  280. # P+ Y8 u' j. ~7 f0 U; z
  281. ; The unserialize callback function will be called (with the undefined class'
    ( R  W% f# h. |  X+ r
  282. ; name as parameter), if the unserializer finds an undefined class3 ~7 i" I" o( l. y
  283. ; which should be instantiated. A warning appears if the specified function is/ z: c7 n/ C0 t
  284. ; not defined, or if the function doesn't include/implement the missing class.
    : _4 I0 |: u: Z$ D' W. o+ m
  285. ; So only set this entry, if you really want to implement such a. n; x8 ^% C2 S! a1 h+ ]' ~
  286. ; callback-function.
    $ s/ ]/ N1 p; ?
  287. unserialize_callback_func =
    4 f' a. c- {* k' S
  288. . P6 o) x% i& g
  289. ; When floats & doubles are serialized store serialize_precision significant
    ' D# {( V; \6 C" b6 y; j" v" I+ ^
  290. ; digits after the floating point. The default value ensures that when floats
    6 |0 e, C: j  r
  291. ; are decoded with unserialize, the data will remain the same.
    8 }' Q% h6 M/ E% X$ c" V2 \6 O
  292. serialize_precision = 17( ^/ f) s0 |% [

  293. + {: k: |/ G7 D2 J5 A, f3 `! T
  294. ; open_basedir, if set, limits all file operations to the defined directory! H7 b0 m2 {0 C' I  Y
  295. ; and below.  This directive makes most sense if used in a per-directory
    - e1 C/ k1 S2 T
  296. ; or per-virtualhost web server configuration file.
      ]4 @" o: g1 Z; c
  297. ; http://php.net/open-basedir$ P# q, R" C# M' Q) u/ s
  298. ;open_basedir =
    . P! a( i# x7 A  H- ]' @) s  X" @
  299. ' l2 k% [: L' t
  300. ; This directive allows you to disable certain functions for security reasons.
      X7 N  u( |/ E( Q3 X% Q) \& n
  301. ; It receives a comma-delimited list of function names.
    6 T9 ^$ X& x+ {$ T8 ~5 @$ P
  302. ; http://php.net/disable-functions
    0 S' M, t. z& t
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru+ ?/ W8 y# t+ T5 F4 ?& q" [
  304. % r% ?# F/ D( V8 @
  305. ; This directive allows you to disable certain classes for security reasons.
    9 m7 o5 K! D% V5 o& Z
  306. ; It receives a comma-delimited list of class names." Q1 R( T# M& U. U8 |
  307. ; http://php.net/disable-classes
    % ]: L1 D: L% p" G6 Z
  308. disable_classes =) o$ ]' y, N8 a- o+ [/ ]

  309. . t" d1 b. e) M2 |$ J  f5 f
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 R+ r# ^/ Y! i, k' X
  311. ; <span style="color: ???????"> would work.
    . |* |) D0 t, B6 L
  312. ; http://php.net/syntax-highlighting
    6 e7 V) M3 j. a% D% f" |
  313. ;highlight.string  = #DD0000
    3 L0 Z0 E6 |' j
  314. ;highlight.comment = #FF9900
    7 K: h% H/ @# l* V2 U5 ]
  315. ;highlight.keyword = #007700
    4 b: v6 m7 x0 P$ l2 K5 ]3 Q
  316. ;highlight.default = #0000BB$ y2 y8 v6 r) R
  317. ;highlight.html    = #0000000 ?4 Q. r% x! t' O' g" `

  318. ) s5 S; Y7 U, C# P6 {
  319. ; If enabled, the request will be allowed to complete even if the user aborts0 T8 Q. ?- G+ P
  320. ; the request. Consider enabling it if executing long requests, which may end up8 W/ R2 `, ^/ t( E/ K" k+ m+ l
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior' Y  A3 i5 k, E; k3 t! S
  322. ; is to disable this feature.
    0 ~+ P% K8 N2 ]% \$ q0 l# q
  323. ; http://php.net/ignore-user-abort
    - M% C1 u- P5 P8 i
  324. ;ignore_user_abort = On6 b& O7 x" S$ J1 q6 j
  325. + z: W! G2 F) z- `  Y( N
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    3 f1 N1 ^0 S7 k
  327. ; be increased on systems where PHP opens many files to reflect the quantity of5 t5 o" R( C! Z' A
  328. ; the file operations performed.) ^* P$ I. V2 E$ l3 H
  329. ; http://php.net/realpath-cache-size) w0 P+ G# u7 E2 Z
  330. ;realpath_cache_size = 16k: @7 q; A5 S, V8 b/ X$ W1 ^
  331. 3 @5 F2 ?5 ^# C) l' j0 @
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    : \" G( Q& v! t+ K' g$ e; f8 f
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ( ]4 t+ T0 p3 A$ x* Y. h
  334. ; value.
    2 V3 h7 Q* R+ F: j, \
  335. ; http://php.net/realpath-cache-ttl
    ! c! ]4 D( }+ ?
  336. ;realpath_cache_ttl = 120
    3 p4 w9 l5 d8 R  u# O

  337. & k5 Z3 G  Z6 S8 d. Q
  338. ; Enables or disables the circular reference collector.' D- x* F/ m# l' T3 G
  339. ; http://php.net/zend.enable-gc- X! }  I& H: w6 Q2 |% Y0 [8 U
  340. zend.enable_gc = On8 o5 P4 y% u) {" Q5 H+ D5 R" ^/ [

  341. & i& u$ m; V, {2 M% ]
  342. ; If enabled, scripts may be written in encodings that are incompatible with8 G- P1 P. r# I
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + ^9 L  o0 w( O, ?9 v5 b
  344. ; encodings.  To use this feature, mbstring extension must be enabled." e9 \0 I" S! }: r: z0 x% o7 }
  345. ; Default: Off: b- Z, u7 Q9 K% }3 U+ t' J
  346. ;zend.multibyte = Off( G/ ]- u' G7 O4 h) ~0 [

  347. + r/ ?$ d/ k9 T. L# W2 {
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    9 Q( m  b' H) `0 H; b/ P
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
      m! K7 F, T# R2 u
  350. ; Only affects if zend.multibyte is set.
    9 T, g. F1 s# U4 J! G0 H8 Q
  351. ; Default: ""$ [1 q; k. ^$ [8 b+ H
  352. ;zend.script_encoding =, c2 F* G# X6 u- D2 i

  353. ) ?4 R2 z' z* B" A1 O
  354. ;;;;;;;;;;;;;;;;;
    & [, ?& f9 J, Z; l. a9 ?; A$ C! @8 B9 _
  355. ; Miscellaneous ;
    ( b/ i1 G* p. s/ P, y3 K# L
  356. ;;;;;;;;;;;;;;;;;
    $ @: O% l7 G6 L5 ]
  357. ; {$ ~' V" K& X! \8 ~) `
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    " _) K  R: C# x0 [9 B
  359. ; (e.g. by adding its signature to the Web server header).  It is no security, z! E$ l! I7 Y" |" \/ g
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 h! W+ Z" ^0 g# k3 v$ Z
  361. ; on your server or not.
    # A, I! U" o4 Z* r& l
  362. ; http://php.net/expose-php) O6 H: O6 i8 g/ M
  363. expose_php = On* {' g. @; x, ]- R& s* Z

  364. 0 Z8 h  I& O' q9 u4 W2 B) X
  365. ;;;;;;;;;;;;;;;;;;;
    9 g8 m0 c, ^$ R9 W1 b6 Z
  366. ; Resource Limits ;
    * c! {- }( R9 `1 U& P6 G
  367. ;;;;;;;;;;;;;;;;;;;! q( ~+ R5 k* Q+ a, [0 G5 r! B

  368. . }/ i, R7 x% B! }
  369. ; Maximum execution time of each script, in seconds) F9 f8 D' `6 @, B+ R
  370. ; http://php.net/max-execution-time+ M; S; y& w  p2 L" @
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    " M) `# g2 d5 [3 M
  372. max_execution_time = 300" }& X8 S1 M6 V5 T) s/ |
  373. 3 j" }  c. F4 p
  374. ; Maximum amount of time each script may spend parsing request data. It's a good& ]: G# m) t5 V7 ^- {7 q8 x
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly" l( r9 q/ i4 `7 P7 u) L# ]
  376. ; long running scripts.
      a- P1 n4 |, I/ ^2 m
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI, s* |" X* w/ [1 t% \' k/ w( W
  378. ; Default Value: -1 (Unlimited). a; r; {5 t5 |, a
  379. ; Development Value: 60 (60 seconds)
    % W7 P% u' m( c% j
  380. ; Production Value: 60 (60 seconds)2 \0 N: D1 R+ f! Q  E7 L9 r- D
  381. ; http://php.net/max-input-time
    ( O: q9 F6 I, _7 i) `9 \/ [
  382. max_input_time = 60/ C8 `! ~/ ?( {" @# j

  383. * B& [3 Z5 X0 Z8 p& q( Q4 v$ P& N# R
  384. ; Maximum input variable nesting level- }; ^1 M- ^6 v1 v' o: z
  385. ; http://php.net/max-input-nesting-level
    : Q) K* R  F- h0 X2 M
  386. ;max_input_nesting_level = 64
    4 S8 G; y) e. P
  387. 3 J" W; q! s+ P& @/ G
  388. ; How many GET/POST/COOKIE input variables may be accepted  k9 b0 @( {' T/ a3 N
  389. ; max_input_vars = 1000% ?  e9 \. ^+ a, F4 C
  390. , ~1 c0 a' s4 v- n! g) e
  391. ; Maximum amount of memory a script may consume (128MB)
    8 i  F6 S+ P! u
  392. ; http://php.net/memory-limit/ J* m9 U2 H6 t" V  o9 Z8 L
  393. memory_limit = 128M
    6 O& J2 ^1 L. ]8 r1 z

  394. 6 G, f) Q) Q+ J6 H
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : k) ?% G7 B9 t: O( z% w3 X0 Y
  396. ; Error handling and logging ;5 s2 D, O! d0 }
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 [) k4 X% y- e1 N4 }! t  O

  398. ( g: P* Q0 i. X/ f; R% x
  399. ; This directive informs PHP of which errors, warnings and notices you would like$ P7 i( i3 F( c. z
  400. ; it to take action for. The recommended way of setting values for this% b9 ]3 E4 T& y4 R8 `
  401. ; directive is through the use of the error level constants and bitwise
    & r5 W! o! T0 z7 B
  402. ; operators. The error level constants are below here for convenience as well as
    3 H& m0 M0 V: j4 q% V" ^8 W
  403. ; some common settings and their meanings./ X8 D( w( r* ?
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT) h" g0 k' x! Y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, n' ~& {9 I0 O
  406. ; recommended coding standards in PHP. For performance reasons, this is the; `$ Q8 I$ Z) O$ C' A3 @3 ~
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    . \0 ?$ _& n4 T, G
  408. ; resources complaining about best practices and coding standards. That's what& d' ~' `' Y+ z; ^& P
  409. ; development servers and development settings are for.8 }7 W) N) m- f; i5 y
  410. ; Note: The php.ini-development file has this setting as E_ALL. This' ^- I3 H- e* L  n3 t
  411. ; means it pretty much reports everything which is exactly what you want during
    ' A4 ^! K! x0 n3 f: l
  412. ; development and early testing.
    6 }- ^! d1 X4 ?* X2 b, f! W7 F
  413. ;- L! Z. A( O0 w8 c
  414. ; Error Level Constants:$ h! k3 e; J) y5 I/ C3 d  g1 w% \) m
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0): c4 Z1 P6 }! c
  416. ; E_ERROR           - fatal run-time errors
    6 G1 x# i: \! O$ ^! I0 ?
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% v2 k4 ~. g$ g/ o$ S* }$ r
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    & U4 i# H) z! d- ~3 w) m1 M8 R
  419. ; E_PARSE           - compile-time parse errors
    . M! z: B! d5 k( n
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    & O3 I" b1 x* n
  421. ;                     from a bug in your code, but it's possible that it was. k( J- E7 o1 x" U) S9 p0 X' b5 X
  422. ;                     intentional (e.g., using an uninitialized variable and
    ) z) {& w5 ~9 u
  423. ;                     relying on the fact it is automatically initialized to an
    0 t7 z) n0 P8 J
  424. ;                     empty string)
    & A* q7 H2 s( U9 p
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" ^0 E7 R4 m# U- Y! a. W" I
  426. ;                     to your code which will ensure the best interoperability
    2 \9 b, m& \8 M+ I. n
  427. ;                     and forward compatibility of your code
    ! C  X: Y6 m  l
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( A/ ?. a8 r" D% Y, ~
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    3 d& i% c- ^) ?
  430. ;                     initial startup
    3 M+ r% j9 A. W' g9 [& s9 m! _
  431. ; E_COMPILE_ERROR   - fatal compile-time errors* x- }# K- A+ o3 h2 W+ G4 l
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 W4 h% J$ x/ h, j0 H
  433. ; E_USER_ERROR      - user-generated error message
    ; B/ u+ c, ?* ~4 p1 c5 {# O+ h; _
  434. ; E_USER_WARNING    - user-generated warning message
    : E0 g; x, z. ?% P% k: W' d3 d
  435. ; E_USER_NOTICE     - user-generated notice message
    ' N% k; o' h. E; r" ]% }9 H
  436. ; E_DEPRECATED      - warn about code that will not work in future versions0 l# @% G& P* E0 g! k
  437. ;                     of PHP: H! T  J& I4 P- \1 P, [
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " ?5 R) d6 x7 ~, |
  439. ;/ o6 x- o6 D: u
  440. ; Common Values:/ A0 |/ o! Y+ u$ F; Y5 l/ _0 j4 L
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ' y: m0 F0 X* c# Z( d* j
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : L# n9 {1 q8 {8 p5 e# |; n, U& a
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 g- }9 Z4 Z: F/ z6 |) T7 K
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    4 O- x4 ]+ |8 S
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# c( `# H/ b. F
  446. ; Development Value: E_ALL8 l" J& B6 y. j, C3 l8 i
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 ^3 a5 E1 \4 m' h
  448. ; http://php.net/error-reporting
    % c7 A2 g2 g( M: k; z
  449. error_reporting = E_ALL & ~E_NOTICE
      p9 R4 j* S' d# w& S

  450. # K" u) i9 g0 x5 Q
  451. ; This directive controls whether or not and where PHP will output errors,
    4 ^9 Q  H7 I3 D9 \1 q
  452. ; notices and warnings too. Error output is very useful during development, but/ ]! B  A% ^* T$ D4 l: ]# E
  453. ; it could be very dangerous in production environments. Depending on the code7 ^4 l5 n& W, ]6 H' ]9 ?4 x
  454. ; which is triggering the error, sensitive information could potentially leak) G. ]# D, A3 U) i; E
  455. ; out of your application such as database usernames and passwords or worse.
    , Q* B" K" @) @
  456. ; For production environments, we recommend logging errors rather than
    % E/ s9 h6 j7 Z/ ^
  457. ; sending them to STDOUT.
    " h2 q6 Q( e8 Z  w6 f3 N- T' i3 S
  458. ; Possible Values:
    ! X& Y3 Z, C; l& F- ^% n7 Q- v
  459. ;   Off = Do not display any errors7 z/ h3 G' o+ ~
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!), N: g5 f4 O2 l- o
  461. ;   On or stdout = Display errors to STDOUT' z5 l0 k0 n8 ?# @: Q' W# G* h8 V' |
  462. ; Default Value: On7 X+ E8 c( [+ @/ u' E
  463. ; Development Value: On
    ) j1 }5 d# U1 {# R: F6 X* N% V
  464. ; Production Value: Off8 s  d; t8 o5 c" ~; B
  465. ; http://php.net/display-errors
    ! v2 Q! v% H; G+ E
  466. display_errors = On  z8 C/ j9 u. y) s+ l8 q# V$ L9 d* a

  467. 4 d3 }6 a1 o/ n/ M6 {
  468. ; The display of errors which occur during PHP's startup sequence are handled
    % K( B; {8 m! d! u
  469. ; separately from display_errors. PHP's default behavior is to suppress those5 j' @. F5 `$ A- `+ Y
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    $ P$ b9 f+ ~. S
  471. ; debugging configuration problems. We strongly recommend you
    & U; u! i2 V" X3 @$ o' R. k) l
  472. ; set this to 'off' for production servers.% H5 T" l+ T1 F/ @
  473. ; Default Value: Off
    8 V1 k5 _! @  d3 [% B
  474. ; Development Value: On
    1 |( y3 ]6 P* C* y% H% k! }
  475. ; Production Value: Off
    0 \8 n# Q( C1 i
  476. ; http://php.net/display-startup-errors
    5 u3 ?; \7 _, K7 o
  477. display_startup_errors = Off
    # F3 P2 r: D' U7 u+ f1 N* R! x/ Y

  478. 6 b; S, @5 |6 L) g5 ^& y" n
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    . i' |, h5 n( t5 X  x2 `
  480. ; server-specific log, STDERR, or a location specified by the error_log
    + J  i! j' O; w- [" e* P
  481. ; directive found below. While errors should not be displayed on productions% X/ n$ o, J3 }8 c1 C# t. t
  482. ; servers they should still be monitored and logging is a great way to do that.; I" D+ O, a8 \/ J- p  m5 I8 ~7 F2 v) a
  483. ; Default Value: Off
    0 q0 ?0 t. P. i. r3 `
  484. ; Development Value: On
    ' H2 G" n% c  K! E2 R4 G& H8 F
  485. ; Production Value: On
    , p! ?+ F$ p+ N7 N8 _; P  m9 V
  486. ; http://php.net/log-errors$ S1 D3 N, \0 x6 s2 S7 \
  487. log_errors = On$ z  d, Z4 R2 g; ~7 i/ V

  488. * F3 b: `1 e( M+ x2 q& ]- J
  489. ; Set maximum length of log_errors. In error_log information about the source is! G# \- S  z0 k. p
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    3 H/ D) D4 Z# J5 w8 G: @% e; @$ i5 j; w
  491. ; http://php.net/log-errors-max-len- ~( Z4 o* o" F. V
  492. log_errors_max_len = 1024
    8 L' d/ @3 {0 m* S1 ?+ V

  493. ! F$ k2 T  u# z/ w9 X/ t
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same3 ~2 v0 k5 @4 M1 d6 q- j2 ]% _! V$ ^
  495. ; line unless ignore_repeated_source is set true.
    ! P9 Q" A2 e& j9 M" d$ g0 e9 W* e2 \
  496. ; http://php.net/ignore-repeated-errors
      D0 s  g/ _+ H" c
  497. ignore_repeated_errors = Off3 {; S) {6 e3 A' X' Q* D/ Q* ?

  498. % Z0 H" M4 u! N6 e4 A
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    3 m! Q) |6 |' y. \
  500. ; is On you will not log errors with repeated messages from different files or
    6 P2 j; W: f* K3 e
  501. ; source lines.  p+ F- l# t! v* b  k4 f
  502. ; http://php.net/ignore-repeated-source
    ' J7 r' }3 G8 l0 L
  503. ignore_repeated_source = Off# u9 R3 q% @$ z* @
  504. 0 D/ K" J, a% f" Y* C3 j
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    7 x4 Y2 {: g; p
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    - a( u) d/ E! r
  507. ; error reporting includes E_WARNING in the allowed list- T7 v6 A2 }( @0 ^. Z8 |
  508. ; http://php.net/report-memleaks6 I  J  B" `2 q1 j, q/ {* a, k6 n
  509. report_memleaks = On! u$ S5 {4 [* n1 U) A

  510. ' X1 w& l; I+ g" D& q
  511. ; This setting is on by default.
    " B7 N( \, U+ S
  512. ;report_zend_debug = 0
    - {* v8 J1 p3 E( n' V) I9 {% G
  513. 4 I0 e5 W) [8 ]3 k3 [5 t
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ! \' a9 \0 O: U: Y1 ]8 x
  515. ; to On can assist in debugging and is appropriate for development servers. It should) v) K: L8 X$ X: N; ]4 d
  516. ; however be disabled on production servers.
      W9 r8 L, a( V; f$ P; w0 M$ J5 f6 y
  517. ; Default Value: Off" k! k3 d$ u+ c$ `% t* |: Q
  518. ; Development Value: On
    9 H3 v4 V8 _1 l) ^( T% [- {
  519. ; Production Value: Off: V* A* p) p& k6 `9 n
  520. ; http://php.net/track-errors5 w1 o* X# m2 Z+ }
  521. track_errors = Off% ^/ E7 v: v* h3 }- T
  522. 0 }+ E9 b6 ^! h: K/ A& X
  523. ; Turn off normal error reporting and emit XML-RPC error XML: }! L) H7 A8 y1 D* K
  524. ; http://php.net/xmlrpc-errors6 O6 h  i! f# X
  525. ;xmlrpc_errors = 0- ?" D$ }  h) p1 s+ q0 m& b! K
  526. & Z6 j" W/ V! W! V. }; {6 W* I. w1 @- s
  527. ; An XML-RPC faultCode( v% h0 p/ K+ h9 ~
  528. ;xmlrpc_error_number = 0
    0 w; l) ^; _# t4 [9 _

  529. 5 Y) L" T# ^9 x. {; l" l* R
  530. ; When PHP displays or logs an error, it has the capability of formatting the3 g9 B) e$ H5 K0 A- ~5 j+ M
  531. ; error message as HTML for easier reading. This directive controls whether5 `* a& n% j$ f  [
  532. ; the error message is formatted as HTML or not.
    ' n# ~: N" [' u3 ?4 b+ v
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI6 Z) z4 z2 f$ v. ?: x+ s
  534. ; Default Value: On
    $ Z/ q8 Y6 x, @" }7 E
  535. ; Development Value: On
    4 f/ L8 `. f* e  d6 F0 Y
  536. ; Production value: On
    $ k; Y2 t6 u6 R7 M7 C+ u
  537. ; http://php.net/html-errors% U: e8 Y+ F9 v4 Y) U4 k
  538. html_errors = On
    / W% f3 s1 ^9 G& b7 o( R

  539.   X5 s3 p/ b7 _4 W) b, U3 R! T
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP8 ^3 u/ O0 k# _
  541. ; produces clickable error messages that direct to a page describing the error" {& C' Z& J4 L0 N9 h0 t* d- Z: B4 _
  542. ; or function causing the error in detail.
    7 A1 d4 O; x; B! A+ C' E
  543. ; You can download a copy of the PHP manual from http://php.net/docs
      b( q0 m: \& k& Q/ C: k
  544. ; and change docref_root to the base URL of your local copy including the# e3 ?9 ~# y" N8 ]) C! }/ U/ }
  545. ; leading '/'. You must also specify the file extension being used including
    - X' n+ }% J; M, h) r3 e
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which9 _! b$ k# {4 H* O* r5 I
  547. ; case no links to documentation are generated.
    & x8 o7 f/ c3 i0 q& T% N( N
  548. ; Note: Never use this feature for production boxes.* B- V* p6 D5 r- o0 ~. s# f
  549. ; http://php.net/docref-root
    . v3 G1 @/ t0 u6 y/ n
  550. ; Examples( ]9 _4 l; n9 t. _% G
  551. ;docref_root = "/phpmanual/"
    1 N+ ~/ [. ?5 @

  552. 0 n% ?: w2 B# @. ~/ Q$ k# I! Z
  553. ; http://php.net/docref-ext& v! j5 A6 R, n+ ^" e% E
  554. ;docref_ext = .html
    , V& B% u/ a6 |7 [$ [7 H+ f3 h
  555. " |1 L* O7 J1 w1 ~# Y  _9 W8 _
  556. ; String to output before an error message. PHP's default behavior is to leave' a2 H. h2 @( O2 _# n, G% t
  557. ; this setting blank.. ~  `0 G! |) t0 x
  558. ; http://php.net/error-prepend-string
    ! g: N- u5 ?$ W! H% f6 C# ]5 [
  559. ; Example:% f- ?0 n5 W+ T: C% S7 f4 _
  560. ;error_prepend_string = "<span style='color: #ff0000'>"$ c7 z( P: c" n6 ~

  561. + {# |8 \( e0 A0 R& b; @! J
  562. ; String to output after an error message. PHP's default behavior is to leave
    * o' T9 j7 g- \9 l( V, N5 P7 l1 ^
  563. ; this setting blank.$ f) J, h& |- b2 V0 Q$ G4 |
  564. ; http://php.net/error-append-string
    : G2 ?; O0 ^% U* r
  565. ; Example:
    3 N4 i- n% q# d
  566. ;error_append_string = "</span>"5 o7 |9 @5 v- k0 v7 P0 M
  567. % t0 l& _; e  L" g
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    1 P, A; u6 t8 Z# h0 C
  569. ; empty.) }- C; T- h) }6 w2 w" U( R3 L
  570. ; http://php.net/error-log
    0 |0 k5 C: `: p
  571. ; Example:
    - l! x1 q( }, g+ A6 M: B3 U& L! C
  572. ;error_log = php_errors.log
    ! V6 M1 D6 v. j( s) p: q" [
  573. ; Log errors to syslog (Event Log on Windows).5 c0 D5 c2 d+ r8 [4 x4 }( N2 O
  574. ;error_log = syslog
    : q: D' |. O0 u9 Y! x
  575. 6 w5 e6 U8 B0 G2 X3 ~- K/ h9 e2 _
  576. ;windows.show_crt_warning# |0 ~& I, y5 Z8 A  q0 k
  577. ; Default value: 0
    3 p/ H/ F* e7 G; F5 h$ s
  578. ; Development value: 0. X( _4 R, b) |' d' }
  579. ; Production value: 06 K8 z& r" L7 M; x- j: I
  580. - s' s. y& b) k5 B. ~6 W
  581. ;;;;;;;;;;;;;;;;;" C- r/ [/ L  W* i2 b5 r1 @
  582. ; Data Handling ;
    $ M+ v% |. d/ n1 Q" P
  583. ;;;;;;;;;;;;;;;;;2 K$ H$ Y) _! y9 K7 n  g  `0 s

  584. 7 B2 q! u, N; {( @0 T: K. o
  585. ; The separator used in PHP generated URLs to separate arguments.
    : P! v8 V  D6 j
  586. ; PHP's default setting is "&".
    0 l. b& r% p+ [6 ~
  587. ; http://php.net/arg-separator.output/ n1 D# [: u# d% ]
  588. ; Example:" }! V3 v4 G4 n7 f- F
  589. ;arg_separator.output = "&amp;"
    2 _4 T6 ~; C  f  ^

  590. 2 v2 Q& C9 l( f) J, X8 T' A2 P
  591. ; List of separator(s) used by PHP to parse input URLs into variables.* ~5 }  |! S- r8 v* I
  592. ; PHP's default setting is "&".% F- A9 ^& ^9 `$ J' W5 {; l
  593. ; NOTE: Every character in this directive is considered as separator!5 U) u( h  h9 `& I0 j: i0 L
  594. ; http://php.net/arg-separator.input
    5 n5 V1 x% X2 _' w
  595. ; Example:
    / L! p1 ], C4 m+ m1 [8 B5 m4 M
  596. ;arg_separator.input = ";&"( J% G0 p. k( B+ T( U( S: U6 _
  597. 2 a! J& v+ y1 A: `4 r  X
  598. ; This directive determines which super global arrays are registered when PHP. L' F( C, Q* \6 Z: x( ]* G$ i
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    : a# ~) w, k6 ~6 R' F/ m
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! L1 O6 ~! G1 \9 I& r* `$ S1 M
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    " X& J7 d  w; d* h- k: G
  602. ; used as the others, ENV is not recommended on productions servers. You8 F$ z# t/ T4 x
  603. ; can still get access to the environment variables through getenv() should you5 |& j  k2 m1 ]; F% c
  604. ; need to.
    0 S5 w6 k8 \  P# ]' c1 {- j' t
  605. ; Default Value: "EGPCS"
    / ?9 u% Y8 Y2 i
  606. ; Development Value: "GPCS"
    8 P9 s/ _0 z. X( a* V; L, ~* W1 F" z
  607. ; Production Value: "GPCS";4 E0 e- x# K) |1 s5 Y! u+ z$ Z
  608. ; http://php.net/variables-order
    8 G- |7 X0 p' O9 l' D. h
  609. variables_order = "GPCS"' e3 [4 @7 U& L, U0 L# [: f6 @4 u' z0 V
  610. 8 Y$ s% n: Y9 E
  611. ; This directive determines which super global data (G,P & C) should be
    6 o7 `. n1 W1 a- y7 S8 I
  612. ; registered into the super global array REQUEST. If so, it also determines
    5 a3 i) x- J' v6 }& R: B  X6 X
  613. ; the order in which that data is registered. The values for this directive2 T3 W: {* N: Y! L: @
  614. ; are specified in the same manner as the variables_order directive,
    " b6 B8 A: D: I# h- ~- }
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set2 O$ [! x6 E: C1 M
  616. ; in the variables_order directive. It does not mean it will leave the super
    2 d' t0 ^* k! q- @& _
  617. ; globals array REQUEST empty.
    0 Z' i. ^/ p3 ^7 S5 _, r! d& y
  618. ; Default Value: None  Q9 r7 f) M+ o2 u
  619. ; Development Value: "GP"
      t7 x9 g0 i6 D4 w9 w
  620. ; Production Value: "GP"
    * F' Y& \* T( b; l+ u
  621. ; http://php.net/request-order5 e- `, H  H! o
  622. request_order = "GP". L- n" t8 C- N+ I/ |
  623. 9 {3 Q+ e. b. }2 U( v
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    + j) g, `+ y$ `1 T4 H% ?9 L$ X" _. Z; _
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , `1 s/ T. O  ?% V. G7 s2 b: \
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ( A1 T& R* k( M8 U
  627. ; that were passed when the script was invoked. These arrays are extremely2 @9 f% N+ U8 h# @6 C( p( }
  628. ; useful when running scripts from the command line. When this directive is( J7 A9 A/ I8 s( k; D
  629. ; enabled, registering these variables consumes CPU cycles and memory each time" h( c$ Q2 e# t% P
  630. ; a script is executed. For performance reasons, this feature should be disabled& F* K! T7 ]4 g4 M4 p8 G' z
  631. ; on production servers.( ?# d0 ^" }9 k* g
  632. ; Note: This directive is hardcoded to On for the CLI SAPI6 m/ C4 m2 K! ]' |
  633. ; Default Value: On3 A' F% t" g8 t1 @1 f& P. u
  634. ; Development Value: Off
    + b1 y  ^$ r. h& G# `+ R
  635. ; Production Value: Off
    % C! Z! ^6 l1 X
  636. ; http://php.net/register-argc-argv
    # f8 x( X& ?& p- @1 B  [# j
  637. register_argc_argv = Off# @$ K- Z9 J/ N. Z

  638. / q: w  Y$ F% m) @6 Z4 Q0 u
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% T1 b+ p5 {1 ?; r' _; A; G6 K
  640. ; first used (Just In Time) instead of when the script starts. If these# I- L5 w4 ?* U1 o
  641. ; variables are not used within a script, having this directive on will result* \% G; E8 k  t0 [- K. z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    + }  U+ t, [! U$ j" u. t
  643. ; for this directive to have any affect.2 I- n9 ]: g% L7 e6 K
  644. ; http://php.net/auto-globals-jit9 x0 j6 S$ ]" y  Z  p$ X8 j2 }
  645. auto_globals_jit = On
    . t7 A# S+ ~0 U0 n

  646. 7 m7 U! I5 o/ u2 Q, {
  647. ; Whether PHP will read the POST data.5 [# J. b3 Y3 q) k3 E
  648. ; This option is enabled by default.% C/ }* Q/ z0 E/ F( c1 Y
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    * Z9 d/ \$ d1 p2 k/ C# x! b
  650. ; and $_FILES to always be empty; the only way you will be able to read the/ ], Y' h8 D1 x: W* ^& M$ N
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    0 S4 {' r+ a/ p& E% p
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.6 W# ~+ o) @/ P* p
  653. ; http://php.net/enable-post-data-reading
    " H3 r" D( n+ t8 z( ?1 T! {
  654. ;enable_post_data_reading = Off; N8 B6 N- q0 g2 g: L3 b
  655. ! c1 z3 f) d" o& g9 q
  656. ; Maximum size of POST data that PHP will accept.6 x3 ?; i2 O/ O' U
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading8 y* P4 |. t; w6 v
  658. ; is disabled through enable_post_data_reading.
    / z6 n4 H' u5 k% y
  659. ; http://php.net/post-max-size
    # e- P* C+ ^' e) l
  660. post_max_size = 50M
    ; i3 V* n# b! z. X5 J8 s" C8 J
  661. . z! R. t+ i; D: o
  662. ; Automatically add files before PHP document.& I* h& Z9 H+ y& n
  663. ; http://php.net/auto-prepend-file3 C* u6 O8 Q& [1 ?
  664. auto_prepend_file =3 j- g# Z) H: P" O
  665. + N2 E! L5 Q* Q9 M0 M# c
  666. ; Automatically add files after PHP document.
    + w5 t6 F9 e! E: l1 u2 D' |( H
  667. ; http://php.net/auto-append-file
    ; g: y( K' d" U
  668. auto_append_file =' l' |; c' @$ L0 W* ~0 M- B9 G

  669. 4 R% m$ I  V. @
  670. ; By default, PHP will output a media type using the Content-Type header. To
    9 q" s: S4 B( @$ j
  671. ; disable this, simply set it to be empty.  _2 Q% r5 r/ o: Z+ X0 ~
  672. ;$ K" I9 L% I; A" n) a$ t8 n
  673. ; PHP's built-in default media type is set to text/html.
    ( y. D- c9 P( T1 ~! W! X
  674. ; http://php.net/default-mimetype
    - _- q& y4 _$ B4 k+ x: `- X
  675. default_mimetype = "text/html"
    1 a6 s  W7 A1 ?3 x& n& l8 }# a
  676. " q8 ^: p# \* [" R9 m" |" `' C
  677. ; PHP's default character set is set to UTF-8.& D) l  n9 e4 R$ m
  678. ; http://php.net/default-charset
    ; @8 i3 S4 {" _2 h
  679. default_charset = "UTF-8"
    5 L; e! I! K8 h/ P6 A. [- ]
  680. ; W0 F! s- y% }" P5 [; g; {
  681. ; PHP internal character encoding is set to empty.5 H8 o" a* a( Q4 ^5 S5 s6 O& e* u
  682. ; If empty, default_charset is used.
    ! o% F# I, H( u' T9 p
  683. ; http://php.net/internal-encoding
    - [1 p( i& Q, O& v- b
  684. ;internal_encoding =9 E) H9 b: r/ [% J

  685. ' @# U* J2 B' E6 h
  686. ; PHP input character encoding is set to empty.0 w- f) o5 ~, Z+ Z1 Y, O  y& ]
  687. ; If empty, default_charset is used.7 \  _9 V0 s( |. ?
  688. ; http://php.net/input-encoding" m/ ?8 u4 o* H& L6 x
  689. ;input_encoding =, P3 j3 [& ^2 w
  690. - A/ M( G4 ]5 X$ `* j/ m; |
  691. ; PHP output character encoding is set to empty.+ N( e& q9 i, b, e  J, A+ D
  692. ; If empty, default_charset is used.
    ' w+ V! g" c0 P, H1 C- N; e1 Z
  693. ; See also output_buffer.
    ) c. G0 D# i4 f- e; [5 w5 D, a
  694. ; http://php.net/output-encoding: W5 x. Z& l9 M# b& M: j+ s: @
  695. ;output_encoding =" M# h# U( q4 c5 f8 z1 o
  696. 9 j7 g+ g( v$ h- Y
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is. y4 M7 S5 ?0 j8 p
  698. ; to disable this feature and it will be removed in a future version.$ r0 k5 T9 e0 P7 z% _$ z
  699. ; If post reading is disabled through enable_post_data_reading,- k$ C+ U  _  {& z& h! Z
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.3 c. Q5 H3 \9 B6 h/ F1 j
  701. ; http://php.net/always-populate-raw-post-data2 I* v( r' m: h# r3 p2 g
  702. ;always_populate_raw_post_data = -1
    - L1 f) S$ E+ s3 L- O/ f
  703. ( E4 }& x5 \: n" s
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;  y% i" P! ~" u1 Y' @
  705. ; Paths and Directories ;) D( r! L( H. ^( j, T2 {
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 w4 T! ^5 P1 w/ z

  707. ' r& c: N! t: B% k" ?
  708. ; UNIX: "/path1:/path2"
    $ U9 l' F' C# t& z5 M* [; t
  709. ;include_path = ".:/php/includes"
    + N- w& q+ m% i, h  v
  710. ;# U- _! F$ i: I( k4 ]; `. p  }- W0 {
  711. ; Windows: "\path1;\path2"6 ]+ l+ U5 z9 l7 E
  712. ;include_path = ".;c:\php\includes"
    " F# e' D- ~6 d
  713. ;
    ( |( ]7 l! o# b9 y/ @  ]1 M
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"9 @9 ?/ j' ]: ~" o( E
  715. ; http://php.net/include-path
    5 m" m# M; X2 N/ y) T/ L

  716. $ [1 S5 I6 U( S" I7 J& E
  717. ; The root of the PHP pages, used only if nonempty.! P4 _6 S/ b/ h. U$ F) m
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# c0 K) m/ A+ P& B$ Y$ Y  [9 ~
  719. ; if you are running php as a CGI under any web server (other than IIS)# X, c6 ]" V4 A: i) S3 Y
  720. ; see documentation for security issues.  The alternate is to use the
    & _2 n2 _) W8 ]& o: ]; i! z; g
  721. ; cgi.force_redirect configuration below6 i3 }; O5 g! _$ |3 f7 @' [$ n
  722. ; http://php.net/doc-root+ [3 m% Z! V) i
  723. doc_root =
    8 j8 n% ]: ?$ T  [' o
  724. 3 j' O+ h- W+ G3 P6 ]4 m
  725. ; The directory under which PHP opens the script using /~username used only2 D3 Q$ J, ]. P9 l, W! g; b
  726. ; if nonempty.5 j2 d' g9 K6 y+ \; h. C: G
  727. ; http://php.net/user-dir
    : q' }- @% X& R! u5 {' ]
  728. user_dir =
    2 ?1 S2 N2 o4 m& R1 c
  729. ( I6 I$ D- c1 f% A
  730. ; Directory in which the loadable extensions (modules) reside.. @( D' D' H6 m2 _! [: t
  731. ; http://php.net/extension-dir
    7 l# ?' h4 B; h7 j
  732. ; extension_dir = "./"
    + {8 A( ]' S% P) l$ _8 Q) T2 B
  733. ; On windows:
    , q7 d1 h3 x4 L4 ?
  734. ; extension_dir = "ext"
    ( P6 ^4 P: W* Q+ n# q1 u1 M! D" T
  735. 2 B+ `* R+ q; T, K
  736. ; Directory where the temporary files should be placed.1 [1 F+ U1 g, h0 ]2 K! r- ~
  737. ; Defaults to the system default (see sys_get_temp_dir)
    1 Y- i, |; {7 t" q3 T
  738. ; sys_temp_dir = "/tmp"4 f' Q1 u; t! w' }

  739. 0 M2 Y2 @3 N# n$ F
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + {3 C, }1 f, r/ q- M: B
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 f7 `" }4 Q. ]) K( D
  742. ; disabled on them.
    ) P" }  ^9 H( P2 ?# O
  743. ; http://php.net/enable-dl! x, e( @" s& K( {$ e
  744. enable_dl = Off" N+ c" g1 q$ i7 o( V

  745. 1 O. t& g/ P: k8 g) b
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) K* n7 M1 x6 |0 V
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    6 I+ v0 d; N( G9 {' ?- B
  748. ; turn it off here AT YOUR OWN RISK
    # c6 S3 }9 d. Q6 j( i: |
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    # t6 u# h+ W; q
  750. ; http://php.net/cgi.force-redirect) _! ~# ]6 ~! ]" j' Y
  751. ;cgi.force_redirect = 1
    , j  Z) n3 M! K5 |

  752. 0 x5 F+ z# Q% @+ d) q
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    8 H- y& |# _0 I4 G5 f
  754. ; every request. PHP's default behavior is to disable this feature.
    & W2 w, E8 D/ i/ i  W( ?& G/ [
  755. ;cgi.nph = 1
    8 W2 x- y1 ]4 O: ^/ A* N" u

  756. . h' W$ {' a6 W1 V9 s& C3 r' ^5 q1 K
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : h/ S: Q* J# D' s9 n4 |# h; G# [
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 ]8 L- O9 Q6 c
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY  ?- M1 i) N& W6 M
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    0 U% b. O1 }/ t" K8 P3 m
  761. ; http://php.net/cgi.redirect-status-env4 b; X3 k! h* o# a/ b
  762. ;cgi.redirect_status_env =
    0 }+ v7 L3 D+ j4 x1 v# \& o

  763. ( R, o6 l+ ]9 m4 T/ n# X6 t
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . J. S0 N7 }3 `0 J2 w% \) @
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ B+ }& {0 N2 A$ [" H. c; i
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
      y9 v" y* k) v4 O( k6 B9 G  I
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    + @5 V" P% i) z; A9 x# n1 L
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    7 Y8 d7 C' Y4 Z
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 r/ B! Z% y/ L! ^) |* \* @1 o
  770. ; http://php.net/cgi.fix-pathinfo
    % t, A  S0 J# B( f3 z9 U. k
  771. cgi.fix_pathinfo=1
      K. Q: k' |7 B
  772. 3 X3 l5 y  \) F
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & G  ?; u! U7 h8 U# Q0 k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.3 U2 n' n9 K! e" d
  775. ; http://php.net/cgi.dicard-path
    0 U4 j- J6 g) {  z
  776. ;cgi.discard_path=1$ E; D' |+ O* v& |  Y' y& i! G* r" d
  777. 7 m- N2 P, d" n# ^. g0 d% b
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    4 n( o  u; i6 F; g
  779. ; security tokens of the calling client.  This allows IIS to define the
    3 r, x. u2 v/ d* F. q) d
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ! `# o/ |$ H- K/ Z
  781. ; does not currently support this feature (03/17/2002)
    ) n& o7 A+ F# a% H
  782. ; Set to 1 if running under IIS.  Default is zero.
    7 n0 ^+ o6 A) u( T& Z2 j% A! z
  783. ; http://php.net/fastcgi.impersonate
    , z' k/ ^4 ~( \1 V
  784. ;fastcgi.impersonate = 1
    0 }6 F4 u& \  O

  785. 4 h! k- G# D5 c' I0 A) ]4 g, P  R
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
      ^4 B# j6 H+ F; \8 C) M$ Z2 C
  787. ; this feature.9 l* p. |' m; l1 f1 w
  788. ;fastcgi.logging = 0
    8 B7 s" q/ l) |! o! z8 \5 }
  789. 9 K) i1 [( \& N% N( C+ L* ^% W  {3 i
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    8 c" J1 u% ]4 @) w8 Z2 Y
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ( _: A& `4 Q) J3 t6 d3 n; Q
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    " i& D" G  r) v3 Z
  793. ; RFC2616 compliant header.
    9 _8 a/ |+ `2 F; g8 w$ a* n
  794. ; Default is zero.
    3 y( R& i. W2 w' i* `
  795. ; http://php.net/cgi.rfc2616-headers3 q$ y0 y, p% J# `2 H' _" f
  796. ;cgi.rfc2616_headers = 0! b6 j' P7 q; E8 n: Z. H
  797. % n2 e; }9 l1 d* W
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ! q  z+ r9 k' {$ {2 o6 g
  799. ; (shebang) at the top of the running script. This line might be needed if the
    , m0 z2 t! R. C2 _: \, t4 i
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 \5 E) d. n+ g2 u5 L. N
  801. ; mode skips this line and ignores its content if this directive is turned on.( I, {' I& q) ^! X; d- S
  802. ; http://php.net/cgi.check-shebang-line
      p0 W9 J6 F& F( g# }
  803. ;cgi.check_shebang_line=19 M9 m" r, M' c- D
  804. 7 F9 I- N) S% E- H9 O2 m0 T
  805. ;;;;;;;;;;;;;;;;
    % p! V9 ^4 n/ X7 h; X
  806. ; File Uploads ;+ G7 h8 q& }0 S5 a1 K
  807. ;;;;;;;;;;;;;;;;
    $ s) y% G! Q7 [" G( P! G, Q
  808.   T  I/ @, _) x& q
  809. ; Whether to allow HTTP file uploads." {( k' {8 h3 Y
  810. ; http://php.net/file-uploads/ s7 p) X0 d: x0 a# V
  811. file_uploads = On1 ]5 l. X! P% P
  812. % M5 n% {/ J8 A( E0 R& s
  813. ; Temporary directory for HTTP uploaded files (will use system default if not# I$ w# @2 [. q- {
  814. ; specified)., O8 ^6 J! a. h7 w
  815. ; http://php.net/upload-tmp-dir% R( z! {! T" D. i5 _
  816. ;upload_tmp_dir =& A/ {6 W* U( x+ V: G, c
  817. 6 L- A4 m/ S- ?  |4 D8 ]5 A% E
  818. ; Maximum allowed size for uploaded files.0 K$ C' J0 r8 t
  819. ; http://php.net/upload-max-filesize
    ; m; a; L" S7 v8 h- x3 s2 H2 W& P
  820. upload_max_filesize = 50M) B' _) }" K; W5 o; y
  821. " c# P+ S* l7 r) D+ V5 i2 [" e) r0 q
  822. ; Maximum number of files that can be uploaded via a single request1 U2 D& f- `/ U6 [  [
  823. max_file_uploads = 20  l5 f9 i; o( I' F0 ~( {8 l

  824. : n+ k' x; Q4 P1 t3 S3 L
  825. ;;;;;;;;;;;;;;;;;;3 L: {  l# ^* \7 n. m9 [6 d& \5 \
  826. ; Fopen wrappers ;
    ) s; v  R# d( [7 b) Z  @" o# z
  827. ;;;;;;;;;;;;;;;;;;: Y( a4 n: U1 l& M+ m5 Z! r5 E8 k

  828. / q5 y, p/ p2 B! L" _5 c2 G
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    8 C/ X6 ~3 _$ K5 v/ l
  830. ; http://php.net/allow-url-fopen& }$ x4 Y2 J5 P8 a  }" T; w
  831. allow_url_fopen = On
    7 W4 u& b  R; C' V

  832. 3 j# m% G% j! X% G
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    % i0 ^! b& i8 r! `% R8 Y
  834. ; http://php.net/allow-url-include
    ) W$ w4 J+ L6 s1 K, ^' |
  835. allow_url_include = Off
    ! {  ^: N+ @+ q/ Z- h" v

  836. ; `. w' J' i0 L7 S7 B5 ~9 d% O
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 S; f( I/ x& k- ~" [
  838. ; for this is empty.  M* k( X& M; F+ ?
  839. ; http://php.net/from
    4 y; @' o; ~* \3 J4 R
  840. ;from="john@doe.com"
    9 X* G! S2 Z' O
  841. : s% b& ^! w* P) D+ @
  842. ; Define the User-Agent string. PHP's default setting for this is empty.% g. Y  Y' d- B' A5 `, x' [
  843. ; http://php.net/user-agent
    % `: r, k% s) p/ v# C- h% q
  844. ;user_agent="PHP". F0 }! [3 t# F* V: Q( r$ H8 q( E

  845. 9 r! F" O. w! r3 \5 F
  846. ; Default timeout for socket based streams (seconds)
    3 C1 ]0 d0 K9 \. v; c2 @2 C
  847. ; http://php.net/default-socket-timeout2 `( X, @% J% k* J, [
  848. default_socket_timeout = 60# x: @$ U7 G3 R5 p5 Y0 H" h

  849. $ ?, @& q5 C: K* D# G3 U
  850. ; If your scripts have to deal with files from Macintosh systems,! r! `0 y  \# L
  851. ; or you are running on a Mac and need to deal with files from
    ) ^! y  M. b$ M3 X% d2 d9 ?' t! `7 K3 O
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ; C: ]5 I6 n7 h8 ^- [$ y9 q% X
  853. ; automatically detect the EOL character in those files so that
    5 q/ o2 ~! N9 x
  854. ; fgets() and file() will work regardless of the source of the file.) @" E+ _; \3 y: @9 q9 z# R
  855. ; http://php.net/auto-detect-line-endings
    ! I  \* C, j( b0 K4 a0 T# g
  856. ;auto_detect_line_endings = Off
    ; a/ y; Z' J. [0 ?" |. }
  857. 5 J# `3 g# n  J! @! |4 d$ ]# ?
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ) x7 Y( a( ~  D' w* A# B7 K
  859. ; Dynamic Extensions ;
    ) o* A6 S' J; G- k
  860. ;;;;;;;;;;;;;;;;;;;;;;. X' }* }1 d7 ~6 n/ k# h

  861. + v* w5 x& z( b
  862. ; If you wish to have an extension loaded automatically, use the following
    , ^. G( z1 |  I6 l; v
  863. ; syntax:
    / H4 a7 \- ^& r
  864. ;0 H8 c% M# V* y
  865. ;   extension=modulename.extension( K" F: q5 R" ]+ Q/ _
  866. ;
    0 z5 {% Y( Y  x2 S  U; p: ~9 b
  867. ; For example, on Windows:7 V: e8 R" O- R/ L# Y2 q
  868. ;8 }* L' }/ D& z& p: j
  869. ;   extension=msql.dll
    ; p+ S2 u" o7 j. n' O" o. M) o
  870. ;
    2 y( x* c8 i) E* M. V4 A% [
  871. ; ... or under UNIX:
    : y. h3 Y5 x! M* E
  872. ;
    ; C: w# o" r& W! }
  873. ;   extension=msql.so
    " D- t, {9 M) P* l3 B! t7 s
  874. ;) N/ Y# X8 I& ]6 z5 ]. B
  875. ; ... or with a path:& y' I  e0 d  w
  876. ;; W" {( {9 P: P1 F2 a
  877. ;   extension=/path/to/extension/msql.so: i- ]3 B% N/ c0 i9 k- N( e
  878. ;
    ( a4 a: }% @. K5 W; W" b
  879. ; If you only provide the name of the extension, PHP will look for it in its* }7 F, T) J* k
  880. ; default extension directory.
    5 }  \' ]7 ?/ W1 H9 a* s& [9 I
  881. ;. M$ l* E- F1 }, h9 y
  882. ; Windows Extensions
    # r$ |/ T2 V/ k% u/ s
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ; m7 Y, N" @4 d, M. G6 t1 W
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ( E! Y- R& X8 |# _7 Y% d
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    $ L$ e) X5 y6 ?
  886. ; Be sure to appropriately set the extension_dir directive.
    6 h" w7 z% R7 W
  887. ;- U9 z/ Z7 F8 H
  888. ;extension=php_bz2.dll
    . j) L: [, I  Q9 N' j" n
  889. ;extension=php_curl.dll% ^3 w( a1 P" t
  890. ;extension=php_fileinfo.dll
    8 @1 I, x4 C& X/ p- _
  891. ;extension=php_gd2.dll
    4 U  G2 O3 r' ], u9 L/ R) _3 z
  892. ;extension=php_gettext.dll! K9 L! f9 v& k! E, T% e+ q
  893. ;extension=php_gmp.dll" s0 ]1 z: R! [2 w: x$ K
  894. ;extension=php_intl.dll# Z; j* q5 G$ G  N
  895. ;extension=php_imap.dll
    8 d0 V1 n( c1 Y7 e
  896. ;extension=php_interbase.dll
    ( S  H  Z5 S5 g- B( R  Y4 A
  897. ;extension=php_ldap.dll
    : H4 B  ^, C, ~- F- O1 [: }
  898. ;extension=php_mbstring.dll
    . z# A1 {9 X' U) |4 Y5 E, @, r
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    9 u$ i0 O$ _$ Z, l
  900. ;extension=php_mysql.dll
    + @5 i' B, W7 n5 H
  901. ;extension=php_mysqli.dll3 O, M  P1 [$ a  [6 }
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client# e  d' _0 ~0 R9 a
  903. ;extension=php_openssl.dll
    / |2 R! t5 h9 o" C8 O  g
  904. ;extension=php_pdo_firebird.dll
    ! Z0 O1 U1 Q4 `+ I% r6 L
  905. ;extension=php_pdo_mysql.dll
    ) [$ G. q" G, X2 Z
  906. ;extension=php_pdo_oci.dll& h8 f0 P  y+ B8 }9 _; m: j! h  U1 K" A
  907. ;extension=php_pdo_odbc.dll
    - Y1 S( f9 K. \9 o4 M
  908. ;extension=php_pdo_pgsql.dll
    6 C3 ~; E- c" r& w% D  F# O
  909. ;extension=php_pdo_sqlite.dll$ E: v/ S/ g3 P/ I2 q6 X  E* V
  910. ;extension=php_pgsql.dll3 @& C" b* b- z# Z" s
  911. ;extension=php_shmop.dll( X# B( T6 k( R1 t# d( @
  912. " P. R6 G" Q2 O$ k1 {
  913. ; The MIBS data available in the PHP distribution must be installed. 9 ~1 N0 B& a+ ^  V8 a  E. s, i
  914. ; See http://www.php.net/manual/en/snmp.installation.php ( ]) m8 Z% a9 w. C$ x% y2 z
  915. ;extension=php_snmp.dll
    ; u+ a) s& r- U" _& K$ N$ d9 R

  916. 2 A, M: A7 ]0 q4 ^+ _5 ]; b( R
  917. ;extension=php_soap.dll
    5 C# f) u# h& F: V. L0 U
  918. ;extension=php_sockets.dll( T0 ]. {% m9 v' M* r/ I* z
  919. ;extension=php_sqlite3.dll
    * l& k% ~; L4 B+ A  B! j. u
  920. ;extension=php_sybase_ct.dll& W5 ^! r, A) d; H6 P7 D5 s$ {; J
  921. ;extension=php_tidy.dll
    6 Y. p* H1 X$ m
  922. ;extension=php_xmlrpc.dll7 c8 x* U, R3 R7 s0 c
  923. ;extension=php_xsl.dll
    9 i0 L; l# g+ W2 G7 i- `

  924. 5 v$ |/ a# m. E) a
  925. ;;;;;;;;;;;;;;;;;;;
    ' Z4 n6 ]: {9 h) \% y+ n" |
  926. ; Module Settings ;% Z" @! }  l6 H
  927. ;;;;;;;;;;;;;;;;;;;
    - X" W4 L" L6 t5 h" I8 K
  928. 6 H8 I$ z+ @" B; D, p3 x2 Z
  929. [CLI Server]& P, u4 ~- F% \) n, [
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 O; j/ {% P0 l: t+ r& x% L/ h
  931. cli_server.color = On
    4 S7 o  l6 ^6 |% n" M

  932. 6 g4 J8 F( F, T2 F
  933. [Date]
    * f3 e% p- ~8 G& U7 B' A8 _1 Q" n2 z
  934. ; Defines the default timezone used by the date functions; x2 ]. I# U" ]
  935. ; http://php.net/date.timezone6 R. X1 h) o) C, q' E6 j5 F" m
  936. date.timezone = PRC' ?- `  \2 E1 y7 h) F/ H
  937. 0 t/ _+ {, Q' A5 F8 }" n2 c
  938. ; http://php.net/date.default-latitude8 g, E8 b) o- n" v6 G% I! |, @
  939. ;date.default_latitude = 31.76671 [. G# |! T5 w8 v5 y4 P3 I

  940. 1 h+ H$ v1 a  h
  941. ; http://php.net/date.default-longitude# G* U) x, L/ ?
  942. ;date.default_longitude = 35.2333& g, y6 X1 h# U. b8 N

  943. / Z0 W, L5 s' M
  944. ; http://php.net/date.sunrise-zenith$ C3 K% g# @# j3 l3 b
  945. ;date.sunrise_zenith = 90.583333
    ; n! u. ]4 `0 J1 G: Y! T8 h/ [, _
  946. 0 I2 ]. e! k9 p
  947. ; http://php.net/date.sunset-zenith
    8 j0 j+ K  f/ S; C, K
  948. ;date.sunset_zenith = 90.583333
    6 ]4 b& W! p! k& A) v+ y2 k
  949. ' ~# p7 V+ M# m* P6 D
  950. [filter]+ G, x& L. d' g# T
  951. ; http://php.net/filter.default
    ; B% D0 ^2 E5 }) |) x- Y9 h' j
  952. ;filter.default = unsafe_raw8 v% k% B; d' X- F
  953. , n& u1 @& I$ P% R& c
  954. ; http://php.net/filter.default-flags+ [8 U0 m' _$ e  M" p. }3 s
  955. ;filter.default_flags =
    / i5 R; x. Z# @  x, H' w: r5 [

  956. 9 Y0 T3 e4 u7 y& y% O8 E. W" n
  957. [iconv]
    7 I3 ~) ~( ~# N3 e3 M
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 V. j5 f9 A4 k$ a3 N
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.% q$ }& w6 j0 I, \& I( d5 G. L
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # `# ?- D6 `5 o3 I: C* B4 [  }
  961. ;iconv.input_encoding =9 U+ @1 [8 M5 t6 E+ I

  962. * S; `1 m6 T0 v, Y& t" R
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ ~5 O3 _% a: B5 h' w
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ B" W( K5 t" H+ d) _! b* I7 D
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* @3 H# s! t; k' b" i5 e1 E/ R  L
  966. ;iconv.internal_encoding =" G" [+ I- o; B& F) m! H
  967. / A  s$ k. j2 V( X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.1 k/ l* c# C  a9 P/ r3 I) H" O% f
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.- ?0 G  y! ~! n$ q7 u0 J
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding, Z' T/ M9 R. y: R8 M
  971. ; To use an output encoding conversion, iconv's output handler must be set' M0 ?5 }! N: U9 K
  972. ; otherwise output encoding conversion cannot be performed.9 K% D" V" Y* P4 E: P
  973. ;iconv.output_encoding =
    " Z: p& Q: q* b$ `0 ^8 N
  974. 6 R0 a1 S% b$ X2 \
  975. [intl]$ M  D5 X5 L/ ~* |! E3 z$ z
  976. ;intl.default_locale =  v# a$ H0 R* n8 b
  977. ; This directive allows you to produce PHP errors when some error* ]& U* u5 R$ d) g
  978. ; happens within intl functions. The value is the level of the error produced.
    0 Q& r1 r: G/ v' g% N+ m
  979. ; Default is 0, which does not produce any errors.' R8 m4 F' b) t" q4 |7 H
  980. ;intl.error_level = E_WARNING
    . Z* _1 [: K6 U5 S- N
  981. ;intl.use_exceptions = 0+ t, }, `, w) _  q/ w4 ?
  982. / E, a/ n* q) u' l
  983. [sqlite3]
    % n$ _; H9 C9 ]" n% B
  984. ;sqlite3.extension_dir =7 C& \5 _; \, n. |* w0 Z& X& V

  985. $ L$ u  m1 o9 N" `( o9 v
  986. [Pcre]7 e# C$ E* R: P/ R0 I) M! O
  987. ;PCRE library backtracking limit.
    2 L' u! c/ W9 Z; V9 |+ k3 Y
  988. ; http://php.net/pcre.backtrack-limit5 t/ ~; C) L' V# J
  989. ;pcre.backtrack_limit=100000
    1 G2 t* [' S1 B# r5 ~- y

  990. 9 Q/ I2 W# i- L6 S
  991. ;PCRE library recursion limit.; Z" B3 T. v$ U& C& H/ V
  992. ;Please note that if you set this value to a high number you may consume all
    . K" ^1 Y3 S9 i! p& m
  993. ;the available process stack and eventually crash PHP (due to reaching the
    , e5 v$ p, k% i
  994. ;stack size limit imposed by the Operating System).9 d5 O6 p  }8 x$ A$ b5 C
  995. ; http://php.net/pcre.recursion-limit
    : A' \. ]0 K: m3 H& {
  996. ;pcre.recursion_limit=1000005 L. P: f( @( U4 N$ x$ B; E7 W0 f
  997. $ L% j* x" B0 L7 M% K. l  [7 ]
  998. [Pdo]& G$ Y' Q& W) N7 O5 f" j' e) H
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"7 A3 ~; l$ P& o7 ]; Y8 S
  1000. ; http://php.net/pdo-odbc.connection-pooling; S: G) T( t% l! {* J4 O
  1001. ;pdo_odbc.connection_pooling=strict
    ( A/ |& C0 P4 Q& l* I2 M6 o

  1002. . y" ~3 p! s9 A' c" {  H" h
  1003. ;pdo_odbc.db2_instance_name& I2 ?6 V: n9 f9 B

  1004. 7 T8 W1 b8 l7 E# v5 k! D$ v# m; j& \
  1005. [Pdo_mysql]5 r4 J0 Q& @1 f8 b
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 X% L( L" L$ F* t* p' U9 X9 W
  1007. ; http://php.net/pdo_mysql.cache_size
    ! s/ ]& z5 F& ]9 x; W
  1008. pdo_mysql.cache_size = 2000$ ]- R9 c4 V& ~

  1009. 8 F5 x. X' y1 p' Y
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 F4 a9 F& k' b
  1011. ; MySQL defaults.
    ( Q) X8 G! y' e0 {
  1012. ; http://php.net/pdo_mysql.default-socket, \, f  ~0 X7 m1 d
  1013. pdo_mysql.default_socket=
    + |) J/ P: x1 s
  1014. 8 h& j4 n' U* o5 A* C$ J, ^
  1015. [Phar]' n& l' F6 v1 G+ D) F
  1016. ; http://php.net/phar.readonly0 l, W% v1 i2 ?2 n
  1017. ;phar.readonly = On
    ' ~. l" G/ H: x  q4 o

  1018. . c& Q  S" W# l; ^$ C
  1019. ; http://php.net/phar.require-hash: ^* o( d4 R+ U4 D. R5 I# r
  1020. ;phar.require_hash = On9 b% m4 Y( M+ ?( Y4 J5 j' @) m

  1021. ; X$ \% q0 F5 M$ y( V* n
  1022. ;phar.cache_list =: I% `# w8 s$ X/ P& W$ ~3 K

  1023. $ B5 |$ o- O/ P: N6 B# c% L
  1024. [mail function]+ J' d2 [3 r8 J$ c
  1025. ; For Win32 only.
    7 g0 n* w, q. t5 N
  1026. ; http://php.net/smtp0 y% P" M" Q5 a/ g6 |4 c# @9 {/ d/ f
  1027. SMTP = localhost$ w1 n2 }2 q9 k. I" O) ^/ C
  1028. ; http://php.net/smtp-port
    ( s/ ?  J* E8 @$ Q" ?! c
  1029. smtp_port = 25+ \) f! M9 ]+ v
  1030. $ \! `1 ~- c2 e" U3 d) l
  1031. ; For Win32 only.- i, T3 v# t. E8 X) y# G
  1032. ; http://php.net/sendmail-from
    9 V: I2 V$ c# }" S0 q2 f6 z7 r
  1033. ;sendmail_from = me@example.com( }9 ^3 r; M8 S# F/ M

  1034.   j9 i6 t- ^  s4 e1 x. I
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - C7 \. B" q" q3 B$ e* i
  1036. ; http://php.net/sendmail-path5 s/ _/ v6 R/ ~/ s" Y0 Q
  1037. sendmail_path = /usr/sbin/sendmail -t -i: B6 m! ~/ @$ I  T' _/ r5 {8 o
  1038. ' S! R5 Q6 L9 D$ K" V
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    4 @$ |; _7 o) J- B' B* ^* h
  1040. ; to the sendmail binary. These parameters will always replace the value of2 P( E* s! ]- E  k; z, D
  1041. ; the 5th parameter to mail().
    / @! [1 ~7 q2 t! w$ l- N/ ?
  1042. ;mail.force_extra_parameters =4 ~: x' H5 V. i' |: S

  1043. 7 p. u, u8 h4 u7 @2 w
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 @8 S7 Z: n$ d+ g9 C, p
  1045. mail.add_x_header = On5 T" X* ?3 c( C' R7 z1 s! [

  1046. + R: x- {6 S8 e  A7 |4 b$ {! c
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ; k# E9 z2 M7 o# ^. Z8 `0 I
  1048. ; the full path of the script, line number, To address and headers.
    7 m# Q' H2 i' U) ^6 O" q5 s
  1049. ;mail.log =
    5 h8 m/ l8 O5 }2 s2 V1 y. \
  1050. ; Log mail to syslog (Event Log on Windows).
    ; z" B/ ^, v; E, h4 f
  1051. ;mail.log = syslog
    / U# K1 G/ g& c& t" D; }+ I4 P
  1052. ( D9 B' ~8 a8 @4 T! ?
  1053. [SQL]
    ( A. y& t. E, Y* p
  1054. ; http://php.net/sql.safe-mode
    / _( v$ Z" d. d( u0 l; O8 w
  1055. sql.safe_mode = Off; Q! U: i8 E. a( n: w
  1056. / G+ G7 o3 s! E: r9 B3 ^
  1057. [ODBC]3 o9 F$ s$ ?* h: @, Z6 x
  1058. ; http://php.net/odbc.default-db
    / a- n. d4 h" u7 m
  1059. ;odbc.default_db    =  Not yet implemented
    ; B9 V2 H/ Y. R4 t

  1060. ) ]  W' B3 Z1 W+ e$ N" y
  1061. ; http://php.net/odbc.default-user
    5 `) `+ k& S( E9 ^. |- `& c6 n
  1062. ;odbc.default_user  =  Not yet implemented
    1 D6 L( x0 u% u; I+ ^9 r
  1063. 9 z/ [8 h. W$ l, F0 H8 I
  1064. ; http://php.net/odbc.default-pw
    + S  v* K* o# f4 p; ~  o
  1065. ;odbc.default_pw    =  Not yet implemented
    ' {' \( P& n, N4 e: {2 u

  1066. 1 w- m/ ?8 `3 Y5 p6 J
  1067. ; Controls the ODBC cursor model.
    ! ~- M6 z- A9 @3 J5 ~7 o, [
  1068. ; Default: SQL_CURSOR_STATIC (default).) g) U3 L; J" o4 x
  1069. ;odbc.default_cursortype
      q% ]4 Y: ^+ \4 a) M
  1070. 5 P5 r2 s) h0 Q; n7 M( b3 G
  1071. ; Allow or prevent persistent links.' f5 s. f$ R, _' r
  1072. ; http://php.net/odbc.allow-persistent. ^# u5 b* l( e! {& w. ?3 {2 L
  1073. odbc.allow_persistent = On! l, {, T2 |+ ^6 W

  1074. 6 a) x: F) A( r1 {
  1075. ; Check that a connection is still valid before reuse.
    5 i& [. _1 u4 D+ W2 H
  1076. ; http://php.net/odbc.check-persistent
    # F4 _5 o" x7 b2 b% t
  1077. odbc.check_persistent = On: M+ O* X. l& n" U3 Y2 X

  1078. 4 [: x, h" z9 ~0 J* _) Y, V+ W
  1079. ; Maximum number of persistent links.  -1 means no limit.& G, q' ?9 Q& w" U$ i2 K6 ^4 |4 u( r
  1080. ; http://php.net/odbc.max-persistent6 e/ x- f1 e; ?# P2 a& a# U
  1081. odbc.max_persistent = -1' j3 x& e0 x$ d" q* u% D

  1082. 6 V6 U: [0 c: L9 w6 H" M/ |+ _
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) j6 r' y' G6 J; I" n# Z- _2 Q
  1084. ; http://php.net/odbc.max-links; P! B. n9 E& S. ?; M; V
  1085. odbc.max_links = -1
    % j- ~% w  z$ X* X, U5 S) K

  1086. ' ^; T* \8 `0 o  v
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 C* s7 T# i4 t5 b
  1088. ; passthru.* o2 v: u1 Z' j
  1089. ; http://php.net/odbc.defaultlrl4 w$ h# w. h  q, z4 v9 p
  1090. odbc.defaultlrl = 4096
    ; `; a2 {( g: m' r0 `3 N

  1091. 7 C4 O/ s  S" f: f
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    * n8 j* u" F2 T* l
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) K* `# a1 @3 B9 _( J9 ?" v. ~
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    . v1 L+ k* U* o! g6 P
  1095. ; http://php.net/odbc.defaultbinmode& i# O+ R& z! ]# K% y
  1096. odbc.defaultbinmode = 1
    , ^# K: ^- ]: ?. C9 x4 m6 K; j7 M
  1097. 7 x7 T: @& @9 |, y0 `1 B7 @5 k" f
  1098. ;birdstep.max_links = -1
    ( K. Q6 @  X- V* r  G
  1099. * e; u- P$ D* Z/ G* _, _0 t+ J! |% Q
  1100. [Interbase]
    2 C% o+ @) y3 W/ |  `; D: H4 ]3 O. \
  1101. ; Allow or prevent persistent links.
    # C4 r4 q( ?! @- M# h. l% @; O
  1102. ibase.allow_persistent = 1" n- n# \4 @4 y5 E" z
  1103. 2 n+ ]" z( e/ r& B9 p+ Q8 q4 j: ?( j
  1104. ; Maximum number of persistent links.  -1 means no limit.
    * ?/ R% y. u* M
  1105. ibase.max_persistent = -1
    + W2 q, v$ D$ }# v, {' ?. V
  1106. % m' w! C( ~7 @, D. V' W5 p  C
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 }, L8 p4 }7 F& T
  1108. ibase.max_links = -1, Z7 j$ Q6 [! ^3 X+ f
  1109. , E3 L% U' h2 F1 T* d/ v1 t
  1110. ; Default database name for ibase_connect().
    7 \- d3 O3 \9 q
  1111. ;ibase.default_db =
    % n3 u0 b7 D1 ]* P
  1112. / N" C! p8 L" m
  1113. ; Default username for ibase_connect().
    : c! T8 D/ E6 Z' P
  1114. ;ibase.default_user =
    * Y& I* C, L" ~5 V
  1115. / L& T+ h) Z7 w2 p5 m9 ?! d! ^% v: \
  1116. ; Default password for ibase_connect().0 r! D- J- j) I% M, y
  1117. ;ibase.default_password =
    7 n- a8 ~# h9 R" @. l

  1118. " o9 z& j* Y7 x$ |, l  j
  1119. ; Default charset for ibase_connect()./ [/ E! Y: A% y6 P% L/ B& r
  1120. ;ibase.default_charset =
    + W! Q* L" ?% P% ?9 X4 Q# t
  1121. $ I  n8 y1 @$ G# c9 y$ s" h" J
  1122. ; Default timestamp format." F# i" v9 m4 `: |8 w
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"6 E, l# d' l; ?3 X
  1124. " ?$ A' ~9 L0 `! R0 e3 z" i
  1125. ; Default date format.
    ; g% q6 `9 w& B6 f
  1126. ibase.dateformat = "%Y-%m-%d"
    : M  P! m  B6 p& t; |# X
  1127. ) K7 Y* V  K8 {( N
  1128. ; Default time format.  S* E" n& I$ c
  1129. ibase.timeformat = "%H:%M:%S"
    0 D8 w. P9 F9 h4 A
  1130. * I" x7 {! ?+ N* j8 _
  1131. [MySQL], H- S4 T$ s5 n/ D6 p0 ^$ x( G
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    9 A3 B: U! x+ ]$ H! @9 G$ W+ u( a
  1133. ; http://php.net/mysql.allow_local_infile
    / o6 V: X  W" k0 z
  1134. mysql.allow_local_infile = On, ]- S2 n  r( E  v

  1135. : x. [# _# Q4 R' I
  1136. ; Allow or prevent persistent links.3 `/ x# q7 N; w! @
  1137. ; http://php.net/mysql.allow-persistent
    " J) c( {; d, i) T3 e
  1138. mysql.allow_persistent = On; c- I; w: D6 |, g
  1139. 9 A6 ~/ x& q. f: c# V* S/ m3 T" S. e
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 I% b$ G9 A' D
  1141. ; http://php.net/mysql.cache_size8 w6 A" L& n2 o3 U9 W* o9 U
  1142. mysql.cache_size = 2000
    / W% g4 c. x: k! g% K4 x

  1143. * c& `2 R0 u: G) Y+ t. D3 U; f
  1144. ; Maximum number of persistent links.  -1 means no limit.
    : ~2 r  `! Z; Y2 V8 K! g/ }
  1145. ; http://php.net/mysql.max-persistent
    4 i2 c& l0 }1 c, w' N& u
  1146. mysql.max_persistent = -1
    4 m* u$ `5 n- M# @- k; b* U

  1147. 2 ~  r0 `( ^0 o0 m6 b6 c! j
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 }; U% I' S  u9 z( E0 [, i8 Q
  1149. ; http://php.net/mysql.max-links
    9 U: u, W" z( X& |# s7 l5 A
  1150. mysql.max_links = -11 s$ {0 V5 z5 j" V$ L

  1151. ( F0 ]% P9 y: l) d
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use2 H8 c3 W$ M0 q
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    " U0 F1 k2 l7 z1 e9 P
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' G: M! C7 N! W* A3 X
  1155. ; at MYSQL_PORT.
    ; L* o4 u; M# Q8 j& w3 q
  1156. ; http://php.net/mysql.default-port
    $ P  |* j* S9 p* @- G( n
  1157. mysql.default_port =4 t: K* @2 f: g. a7 k8 }

  1158. - S3 P3 S& o- g9 ~. c% k$ d# O) |! B/ O3 d9 X
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in% s4 W! P2 U( t7 X! G0 I
  1160. ; MySQL defaults.' k' x5 p7 N" g, O  p2 O8 f
  1161. ; http://php.net/mysql.default-socket- w) a- B! {) q" O* U; x
  1162. mysql.default_socket =
    , m" t, ~9 j1 m& Z# c# X

  1163. 0 C+ r# Z( v; j
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).1 g$ Q+ O) {% Q
  1165. ; http://php.net/mysql.default-host- @3 |3 u/ x/ T% u# c# @1 |% B
  1166. mysql.default_host =
    3 K; o+ H' J, o4 X6 [  ?  y

  1167. " r+ F$ ~& g# o0 b+ O5 v: _; y% t
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).3 ~6 J0 q* A5 Z6 i9 w; f9 c) V$ @
  1169. ; http://php.net/mysql.default-user' `8 P& H# d2 ?9 W8 b; M
  1170. mysql.default_user =1 O4 O0 C! F: d7 B$ V. [9 T

  1171. " H! b7 Q6 J; @1 {7 `0 I
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    & R/ f3 L  S- {2 b8 q* P  Z
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    , ?7 @% @1 ~4 z' r+ P  j
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")" e- Z2 o  u, }, g
  1175. ; and reveal this password!  And of course, any users with read access to this$ \( u2 D& J; q" J4 n; f
  1176. ; file will be able to reveal the password as well.
    : W3 U" t+ j! H- h
  1177. ; http://php.net/mysql.default-password
    - q  I* y4 S1 j9 d) g2 T* q, K! I
  1178. mysql.default_password =
    9 W3 o5 G4 r; {* A
  1179. 2 n% @# P0 J' C- y, g, s4 u0 S
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit  t. c; c* l" \- ?7 `) h$ w
  1181. ; http://php.net/mysql.connect-timeout9 i' u; \. r: h- l8 o  W/ N$ M
  1182. mysql.connect_timeout = 602 u9 g0 ^/ I7 h# O7 P+ T4 r4 R
  1183. & D4 F9 Y. y3 g% L
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and# U3 v7 n; e4 v- N& E2 N  X1 i* M; d
  1185. ; SQL-Errors will be displayed.0 \# s; t5 Q$ S. ]/ D; Q
  1186. ; http://php.net/mysql.trace-mode  v; y% Z5 X" b' \" }
  1187. mysql.trace_mode = Off; f+ Q) z5 e# j1 M3 R+ V
  1188. 4 \$ e; d) h& ?+ t) L
  1189. [MySQLi]* J: X$ j* E( W& B* R. L- ~7 b/ R

  1190. " _. l3 S2 M& g1 b$ g" A/ a
  1191. ; Maximum number of persistent links.  -1 means no limit.7 E3 G& I' ^/ q( |6 O$ ]/ e, t, h
  1192. ; http://php.net/mysqli.max-persistent' s! C3 a: D6 v* U- U
  1193. mysqli.max_persistent = -1
    ( B2 D% `, b$ ?# e

  1194. 6 @- A' B6 m$ T5 T: _, A7 t
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; u% k* ^+ q4 V- R
  1196. ; http://php.net/mysqli.allow_local_infile$ i1 [" t& @% n
  1197. ;mysqli.allow_local_infile = On
    / ?1 J! G( ~% X( L4 l* I0 e
  1198. , z" a3 {& g9 q) c$ [
  1199. ; Allow or prevent persistent links.5 R$ W% J& n( J! K9 ^4 X' B& B
  1200. ; http://php.net/mysqli.allow-persistent
    % _; J* ?6 {, j6 g) Q9 f
  1201. mysqli.allow_persistent = On/ ^1 \+ y  r5 D: Y$ C4 j# e8 n

  1202. 6 q% G. z2 p% \# {
  1203. ; Maximum number of links.  -1 means no limit.
    3 r- `% q! U# d
  1204. ; http://php.net/mysqli.max-links, _8 R! E: `" v# z
  1205. mysqli.max_links = -1
    0 P5 U1 O+ o" P+ i

  1206. + G* |4 A0 w% `+ Z
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / n; c. A  Q* Q+ R
  1208. ; http://php.net/mysqli.cache_size
    ! U' ^6 o1 z0 V3 l3 ?4 D
  1209. mysqli.cache_size = 20008 s( G7 m, O4 z

  1210. . {( O( k! _% ~; n
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ ]3 C; R/ n) O+ n  y- C/ W% T) D
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : C, N9 `: v! V2 V3 W% Q; Y; o
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) u! j0 o* p" G# ~! h  e
  1214. ; at MYSQL_PORT.
    ( l3 n. e/ {! \# P" C% X) R
  1215. ; http://php.net/mysqli.default-port( a$ s' I" |' X& I- |( C& O6 M
  1216. mysqli.default_port = 3306
    3 V# _7 }) I- V9 R) P/ G
  1217. " i3 l* |3 X/ p; }6 q8 W, u5 V2 v
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 ~) s0 q, W) @+ G) t. I
  1219. ; MySQL defaults.
    7 r/ o7 I! m8 _1 ^
  1220. ; http://php.net/mysqli.default-socket$ \" x3 P# b+ J
  1221. mysqli.default_socket =5 f$ M5 M* [9 g3 F7 C* a
  1222. - I6 {0 `- j* R6 [  V, J
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).! r3 |* E) N7 M, I2 @! T% v
  1224. ; http://php.net/mysqli.default-host8 Y& l2 l# {' n
  1225. mysqli.default_host =5 B$ y1 \' G4 U0 x$ i$ B2 G, t

  1226. - H9 H9 H& v7 H
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) }) y5 w- F  m8 @) q, L
  1228. ; http://php.net/mysqli.default-user
    & G0 E/ l3 G4 Z  k" i  u
  1229. mysqli.default_user =
    " ?$ V9 \7 y4 _/ I! M0 U
  1230. 1 y- o) V3 P9 |6 f
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    $ C6 h. [* A! l! {9 K
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( b2 z. M% E' f+ a3 t7 C
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    8 M! G6 `% n8 [5 s" F+ k" O
  1234. ; and reveal this password!  And of course, any users with read access to this2 n2 A7 X3 e9 l+ _, N
  1235. ; file will be able to reveal the password as well.5 G) b* e' f7 C: h( C" l5 d+ P
  1236. ; http://php.net/mysqli.default-pw# u# W. l9 m* H. l; q5 n) y; A
  1237. mysqli.default_pw =& w0 w* J2 n  G& a9 a  G6 V7 |0 M
  1238. ! Y/ G5 c! f, U5 r
  1239. ; Allow or prevent reconnect
    7 r! a4 ?3 q! @# w& ]
  1240. mysqli.reconnect = Off# Y4 o2 n8 {% y# @& I1 i

  1241. 1 i/ R+ U3 U" E( b4 `; N
  1242. [mysqlnd]
    7 u3 `6 T3 Y/ r
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    0 n- {& A$ Q9 M' V
  1244. ; used to tune and monitor MySQL operations.
    9 Y( O. k4 ?, @; I1 U( F: z/ q
  1245. ; http://php.net/mysqlnd.collect_statistics
    % u9 s1 E7 b- `
  1246. mysqlnd.collect_statistics = On
    ! e' o. M( b" |. |5 s- n; ?  L) T$ {* |7 Y
  1247. 6 ]5 D8 Z! i  f. i+ s7 r1 J! \. ]
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, m7 s  p* @0 }3 Z4 D
  1249. ; used to tune and monitor MySQL operations.  b) u3 T1 R5 Z
  1250. ; http://php.net/mysqlnd.collect_memory_statistics5 ^8 d: W. c9 b7 W
  1251. mysqlnd.collect_memory_statistics = Off8 n$ {- f. \  n( i

  1252. ( {$ B$ R6 `( ]3 C- T
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    8 f- I0 l- u- M' E6 V5 Z0 R
  1254. ; file.
    9 U3 l* d3 Q3 S% t6 C& _+ C
  1255. ; http://php.net/mysqlnd.debug
    # F% e9 a! I) B
  1256. ;mysqlnd.debug =
      V) ?- f+ ]& v! N& r

  1257. / |, r# ]: Y+ {' S# X  g1 `$ X8 `/ R( u
  1258. ; Defines which queries will be logged.8 `% w; o' @; u* ~" `# ]
  1259. ; http://php.net/mysqlnd.log_mask! ^9 a; d% Y, R
  1260. ;mysqlnd.log_mask = 0
    8 d5 P/ |/ X1 J. e- o

  1261. * v) ^) u7 r6 P- p; z& \
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    9 m7 k$ S+ \$ C2 r7 L$ Q4 `$ e/ a/ M
  1263. ; http://php.net/mysqlnd.mempool_default_size
    7 Z) I  _. @% x* S) `7 s
  1264. ;mysqlnd.mempool_default_size = 16000, |0 N$ E8 @- W% a! I$ ^

  1265. $ J- J3 |9 H( H. p
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    . H' d; t& w9 U; v) ]- Q( }; m  a
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size- c3 w& y+ f5 g1 x7 e
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    " o1 q( ~# h( {$ y

  1269. " b& q: o: z8 R( Y" ~, [% `6 z
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" ^+ j$ a8 w& b# o
  1271. ; bytes.
    + \7 b) r8 Z- X5 P) l8 Y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    + ~! p0 \' \8 X" {
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , u; r$ B+ P/ `; _  k; r

  1274. ' g8 E- A4 j5 a/ f
  1275. ; Timeout for network requests in seconds.
    * ]% [- f' W1 Q( G
  1276. ; http://php.net/mysqlnd.net_read_timeout
    9 @: d$ l( d" l& `
  1277. ;mysqlnd.net_read_timeout = 31536000; z$ `+ t5 M1 T* j, s* X! n
  1278. " V# F' U1 a. Q5 _5 u. q5 N  j% d  o
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    - Z: A9 O  e# C5 Y4 L  f+ k
  1280. ; key.
    6 h& L" H& H  w& Z& S. [' C
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    0 @1 P; T. {6 n: y0 Z9 k" C
  1282. ;mysqlnd.sha256_server_public_key =$ {9 i6 A. E7 \5 f

  1283. 5 O( J  h  H4 h. @, c' v7 W- T
  1284. [OCI8]
    6 j; U- [( N, m: {* q% G0 [
  1285. 5 u( s, T) |1 [0 ^, R* y) y- G
  1286. ; Connection: Enables privileged connections using external
    % N; i5 N& `$ N9 ?5 X0 r
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 a( Q! x' I# N  m' K
  1288. ; http://php.net/oci8.privileged-connect
    6 W% r" z8 \7 `5 P: l6 ^# `
  1289. ;oci8.privileged_connect = Off" K0 V" R; N) r8 F. u2 @
  1290. 4 Z5 S/ G8 c7 H  [$ T! ?% G; X
  1291. ; Connection: The maximum number of persistent OCI8 connections per( A! p  H8 [0 u4 }0 n8 J
  1292. ; process. Using -1 means no limit.
    : a! E0 A- j+ W! d4 @- u2 P. t
  1293. ; http://php.net/oci8.max-persistent6 r; h. h3 V+ [/ Z
  1294. ;oci8.max_persistent = -1
    5 ]% z. [( b0 Z% G; {

  1295. ! _' _: x$ h) B1 K
  1296. ; Connection: The maximum number of seconds a process is allowed to
    * Z. Y4 }( [+ m# r! E! |
  1297. ; maintain an idle persistent connection. Using -1 means idle  K/ v: \, H# Y" H% ?. O8 R5 l
  1298. ; persistent connections will be maintained forever.0 S& Z# {4 i/ a- W% g  B
  1299. ; http://php.net/oci8.persistent-timeout
    / D0 u' G7 q# k2 w6 v4 Z' C
  1300. ;oci8.persistent_timeout = -1- v8 j5 w: b, ^/ f" ?

  1301. * P* I; l7 W/ N$ o
  1302. ; Connection: The number of seconds that must pass before issuing a
    5 h. j% G2 ]% v
  1303. ; ping during oci_pconnect() to check the connection validity. When9 K% q( M5 U8 g! E+ P. ?
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " T2 A* D, d! a0 S, t
  1305. ; pings completely.
    + f( F) c, A) N% P* ]
  1306. ; http://php.net/oci8.ping-interval4 y! I: z2 r# p6 g* j2 ~7 j
  1307. ;oci8.ping_interval = 60
    ; w6 O; [/ v: \6 A

  1308. , e, ^+ z! G$ o, z5 Y: r
  1309. ; Connection: Set this to a user chosen connection class to be used
    : }' p+ m/ ~8 }4 h# m, H
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    / W# |) u, z: T" ~, j' [6 p+ h! f+ s
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to9 y$ c/ ]3 L$ f" M3 f8 ?" R
  1312. ; the same string for all web servers running the same application,
    " K2 Q! V2 F4 L4 Q
  1313. ; the database pool must be configured, and the connection string must
    5 s2 E) j6 ~, N" h9 U+ M
  1314. ; specify to use a pooled server.
    , \* o# C8 Q1 U! D6 E8 o
  1315. ;oci8.connection_class =
    $ T' ^! l& ^; l5 T7 p! z& O
  1316. , x$ h; a. I: K8 D. j
  1317. ; High Availability: Using On lets PHP receive Fast Application
    9 k7 F# V  R! V" ?% {. x* n
  1318. ; Notification (FAN) events generated when a database node fails. The' H+ x9 }4 `) q& j( t) y& I
  1319. ; database must also be configured to post FAN events.
    - A" e% f+ w6 U- P+ I
  1320. ;oci8.events = Off
    4 J2 G, b' o4 i

  1321. 6 ?; _% u# v( D8 `. @* N
  1322. ; Tuning: This option enables statement caching, and specifies how
    & L5 Q) G. ^1 N5 k: K0 Z
  1323. ; many statements to cache. Using 0 disables statement caching.
    $ s. o! S/ M7 j6 k) Z. [2 s" q
  1324. ; http://php.net/oci8.statement-cache-size
    ( m1 i5 x* T; L' B! k8 v" I
  1325. ;oci8.statement_cache_size = 20" j, l, Z# I8 {( Z
  1326.   i4 Y  V7 Y+ t+ p& c  ^; ?
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    8 x4 m) D  l2 [8 V$ k
  1328. ; rows that will be fetched automatically after statement execution./ p% |! H$ _, V3 e" m8 x
  1329. ; http://php.net/oci8.default-prefetch
    0 ?$ x4 T) \! E
  1330. ;oci8.default_prefetch = 100
      o9 ]+ t8 v: R* J% K

  1331. : h, j5 N8 S, d, J7 k1 Y. w$ o/ X
  1332. ; Compatibility. Using On means oci_close() will not close: u, m- c$ g1 W7 B) o( Z
  1333. ; oci_connect() and oci_new_connect() connections.. s2 V8 Q/ Y( J0 u. o5 J+ J/ V
  1334. ; http://php.net/oci8.old-oci-close-semantics" `4 [- X9 e6 B  {" b
  1335. ;oci8.old_oci_close_semantics = Off
    + G! E# W0 ^4 l1 G! W. f

  1336. 7 e( \! y3 L+ ]
  1337. [PostgreSQL]
    : ^5 q' I; ^/ {$ o
  1338. ; Allow or prevent persistent links.5 i6 t: Y7 B0 o' ?6 P2 Y
  1339. ; http://php.net/pgsql.allow-persistent
    % f1 m6 h  Y5 ]3 v
  1340. pgsql.allow_persistent = On
    7 ?' ~! s" s* Y3 z' }- @% V% L

  1341. ! D  O& L9 O% O% C. d# K
  1342. ; Detect broken persistent links always with pg_pconnect().
    7 v9 |0 d1 e: v( ]4 B+ Y; {4 Q
  1343. ; Auto reset feature requires a little overheads.& a7 u, B4 P3 n: q3 B0 t
  1344. ; http://php.net/pgsql.auto-reset-persistent
    / y/ c) G+ ~! q3 K- a  ]: H3 Q
  1345. pgsql.auto_reset_persistent = Off( O2 Q# T' {% `) F% q1 ]% K
  1346. 7 d! Z+ K4 t4 f" U  N! Q) Q
  1347. ; Maximum number of persistent links.  -1 means no limit.
    4 B4 g# J3 U& _6 Z; L3 t
  1348. ; http://php.net/pgsql.max-persistent& u7 y# y, J7 g& ^0 a, I7 _/ N7 q
  1349. pgsql.max_persistent = -1
    # \# m; f2 C# Z6 ?

  1350. # |* S  x; ^2 y( {0 |
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    7 x- W4 Z9 c- w" Q
  1352. ; http://php.net/pgsql.max-links) S6 ~( J, M7 t
  1353. pgsql.max_links = -1
    3 L7 M% |! w$ [0 c7 A) U8 Y

  1354.   }7 l, I9 u* j7 ~
  1355. ; Ignore PostgreSQL backends Notice message or not.. J9 F4 r9 D7 F+ q( C% K* a
  1356. ; Notice message logging require a little overheads.( f% g1 q7 N7 r/ l2 {6 p+ O
  1357. ; http://php.net/pgsql.ignore-notice
    ) U2 b5 Q) p( c) o4 ^0 }* t- U
  1358. pgsql.ignore_notice = 0
    ' X: j" Z3 F4 V" S9 p0 f

  1359. 7 [* l4 G* _7 S# H! K) C
  1360. ; Log PostgreSQL backends Notice message or not.( q/ \& s- m0 Z: @1 |+ K
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    8 g  v5 g" ^. W5 Q6 @) W1 y
  1362. ; http://php.net/pgsql.log-notice$ T+ b& a- f, o
  1363. pgsql.log_notice = 0
    4 X( t0 x; N+ @& B

  1364. ' ^7 U/ U+ Q4 i# v7 l
  1365. [Sybase-CT]& k/ N2 i8 n9 X+ S, x+ k% C  p4 h
  1366. ; Allow or prevent persistent links.
    $ |+ b! I( @$ ?7 t2 h
  1367. ; http://php.net/sybct.allow-persistent
    ) A8 V. [9 X4 l3 s. ?+ V
  1368. sybct.allow_persistent = On4 g* {/ E, A! b
  1369. 3 u4 R4 u6 O: ?  V: _7 g
  1370. ; Maximum number of persistent links.  -1 means no limit.
    # R  J* H* m6 `6 [2 N3 J, N
  1371. ; http://php.net/sybct.max-persistent
    ; g  c0 O4 e8 ~4 d6 H  W
  1372. sybct.max_persistent = -1
    ) P* K/ O7 h  |' d7 _6 g  }7 r; T

  1373. 2 X  v' J, @8 O2 y8 Z
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 x$ }8 ^2 j/ ~' {; \6 L
  1375. ; http://php.net/sybct.max-links3 ]* N0 j) C3 d; N; X
  1376. sybct.max_links = -1# X* T. P) `9 g4 m

  1377. + e$ _; y. A8 [+ L" Y7 ~  j6 K
  1378. ; Minimum server message severity to display.# t. x; @% n4 y& v0 |! w, Q
  1379. ; http://php.net/sybct.min-server-severity
    8 `# s' T2 o4 o  W' A6 E# v
  1380. sybct.min_server_severity = 10; s  P+ c; }" u! s* {

  1381. " g4 o' f' B( d) a
  1382. ; Minimum client message severity to display.
    " v$ A! j* N' `. Z! v) r
  1383. ; http://php.net/sybct.min-client-severity
    6 E6 A1 ]" V2 N# ~( m- V
  1384. sybct.min_client_severity = 10+ j0 s. W6 L9 w, v- ~( }4 `

  1385. $ b# J, f. q+ o5 e" I, K
  1386. ; Set per-context timeout
    0 ]$ h5 t8 m! e
  1387. ; http://php.net/sybct.timeout
    0 f& w1 n2 R6 O
  1388. ;sybct.timeout=
    9 Y' V8 Q" m5 V8 H4 m- u

  1389. , l$ D- S# D% l: e) t3 g/ U
  1390. ;sybct.packet_size
    4 S. \2 p  m  L) A2 \3 I. D  u- f4 i

  1391. : b- t& m! R) X: B0 J% h) p/ U. q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.) J% x4 w( E+ w, L% A7 f0 A
  1393. ; Default: one minute
    / W6 l, l3 d, \) O$ D- y9 i
  1394. ;sybct.login_timeout=
      ]" r& Q* d" S; n5 u
  1395. # @5 h# x4 N" `$ v5 @5 D) B
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    8 @! L1 }( f- J0 \: h' k" K
  1397. ; Default: none' B3 W, I. d& H1 u' [8 Q
  1398. ;sybct.hostname=
    0 W0 u8 h4 e  j7 a2 C) c% ~

  1399. / z; Q/ v" f* b2 U
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".0 v& i! \& {. Q& A  A
  1401. ; Default: 0
    $ X' Q& `, Q3 Z" p$ u4 |/ r/ X9 p
  1402. ;sybct.deadlock_retry_count=7 H; Z' ~% n0 @, z% c3 U; K

  1403. 8 U! j3 L% S2 Q& n0 O, z
  1404. [bcmath]
    6 t7 X! `% C/ J$ L$ y
  1405. ; Number of decimal digits for all bcmath functions.& k' Y9 I, e& @: r1 U4 h
  1406. ; http://php.net/bcmath.scale
      j4 R4 q  ]9 X' j( e
  1407. bcmath.scale = 08 a5 l$ `. {* u& f5 e' d

  1408. : Y- S; T0 L+ b
  1409. [browscap]+ @7 t  z- C+ L5 M- E! Y5 n
  1410. ; http://php.net/browscap1 ]9 z$ c( O- M; T" @7 {: N
  1411. ;browscap = extra/browscap.ini
    & u4 o# S; u! i. \- r7 c3 p4 O

  1412. 3 w9 @! k; ], a4 @% a& N- I
  1413. [Session]( a& y' f+ G% x( s
  1414. ; Handler used to store/retrieve data.6 C8 u- x" `8 k, e
  1415. ; http://php.net/session.save-handler9 _4 R5 z! l9 ^" S# N$ }
  1416. session.save_handler = files
    / p4 L; H8 ^/ H9 D

  1417. 9 W' W$ x6 R& O) Q, d" {
  1418. ; Argument passed to save_handler.  In the case of files, this is the path: Y& L) W7 q- D$ \! c  L
  1419. ; where data files are stored. Note: Windows users have to change this
    % a$ Q3 J; z0 J" `" e4 {1 W4 k# N
  1420. ; variable in order to use PHP's session functions.
    $ Z' l/ B, ?  j6 S4 h$ f8 h" K
  1421. ;
    ) c5 t& b4 O* ~1 t$ A
  1422. ; The path can be defined as:1 f# Y! ?5 e( f1 {% G* J
  1423. ;
    1 M4 v0 A' z% y1 U4 o
  1424. ;     session.save_path = "N;/path"
    - L/ z$ j2 S. U0 p
  1425. ;
    % i% B2 w0 N2 Q
  1426. ; where N is an integer.  Instead of storing all the session files in3 |8 n4 n# U4 I, X% G! j
  1427. ; /path, what this will do is use subdirectories N-levels deep, and9 B) [: J( e4 _: G" h
  1428. ; store the session data in those directories.  This is useful if
    3 H4 k& r' i3 K+ _
  1429. ; your OS has problems with many files in one directory, and is
    % f. R4 k% e% T: C# ]) o/ z) s
  1430. ; a more efficient layout for servers that handle many sessions.
    . Y) Q+ T  T6 M% \  k) ]5 F) M: o8 C
  1431. ;
    % t6 J2 @8 y: [
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ' x# E: o) \1 \/ o& f6 i
  1433. ;         You can use the script in the ext/session dir for that purpose.
    + b% x4 ]0 L+ b, y7 p$ A$ T: Z6 R8 e
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    - z7 a9 o$ i# h0 ?) H
  1435. ;         use subdirectories for session storage% R4 u( T6 N1 U0 G, j# p4 g. [
  1436. ;( G- _5 |' p$ Q
  1437. ; The file storage module creates files using mode 600 by default.
    . X, P; p* C1 V  r
  1438. ; You can change that by using
    - Y+ o0 g. [& c- ?
  1439. ;; d3 k- J  `) J# p; S
  1440. ;     session.save_path = "N;MODE;/path"
    , C1 Y; Z! ?( v6 j8 }# M
  1441. ;7 X% f+ q2 ?7 S& p; ?1 l+ ~
  1442. ; where MODE is the octal representation of the mode. Note that this  J: p( o: k& a  J
  1443. ; does not overwrite the process's umask.* h% q- q4 |$ Q$ w2 v3 q
  1444. ; http://php.net/session.save-path, {+ I: p6 T9 E9 o
  1445. ;session.save_path = "/tmp"
    - @& b  J- ^5 `
  1446. * X; [' Z7 j. K% x) W) g9 a
  1447. ; Whether to use strict session mode.
    / U) E& F+ E) E
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    + X4 g0 U; Z' Y* n' y! U2 ^
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects; C% O) Y$ K' X8 d
  1450. ; applications from session fixation via session adoption vulnerability. It is( ?2 u7 z! T# \4 h
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.# m" ?1 X' E8 e& ~
  1452. ; https://wiki.php.net/rfc/strict_sessions
    # S6 j% V( l( Z2 I5 L
  1453. session.use_strict_mode = 0
    " j0 k8 b& I0 ]+ ]3 D
  1454. ; ~! \* s( z' m+ V' |+ k9 s) i) R: f
  1455. ; Whether to use cookies.
    : o5 L* K! ^( O& q, [% X: c4 s
  1456. ; http://php.net/session.use-cookies
    4 F4 ?1 J& O/ V  @6 r+ ?
  1457. session.use_cookies = 1
    / a. @6 M! C0 ~& m  Z

  1458. & {2 b. g! r& r. B0 V/ e
  1459. ; http://php.net/session.cookie-secure
    9 x4 j3 k  b3 |$ ]" e1 Y& j0 Q
  1460. ;session.cookie_secure =
    5 o- z  y: h5 t+ e# i. R5 u

  1461. 3 s8 y  ^2 A9 n  s9 _2 ^& K% R
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' T; k( f+ \, |4 c2 k5 I# U
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ( c1 t: J& L7 z: F
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ; q" h9 y( J5 s( A
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.+ V. D) q1 i+ c- Q1 Q  B6 J# w
  1466. ; http://php.net/session.use-only-cookies
    7 U# v* B( e+ S: z
  1467. session.use_only_cookies = 1( G' N. W* o7 Q- ]

  1468. ) L4 l  p4 [1 i- q, l/ M$ z/ F  o
  1469. ; Name of the session (used as cookie name).
    8 u/ Y; X' |+ B' G7 [' n; g; @& P1 k
  1470. ; http://php.net/session.name2 `3 ~2 _" _/ t8 [3 E6 X
  1471. session.name = PHPSESSID
    8 ?7 Q5 F/ |) w8 T

  1472. & B" x' }" k& j6 Q$ ^
  1473. ; Initialize session on request startup.1 p  v' S1 @' o+ U
  1474. ; http://php.net/session.auto-start
    6 d2 E7 G$ S/ R. u8 }0 T" K1 B
  1475. session.auto_start = 0
    4 j$ u/ I  A0 c

  1476. 4 P* l9 x8 `0 f' n& {% w
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 b; x& B* \/ u" S+ k- W, X$ C; H. D
  1478. ; http://php.net/session.cookie-lifetime
    : Q  A! `' d7 n4 q# o
  1479. session.cookie_lifetime = 0" h/ q9 S& N. f0 b  t

  1480. % }6 S- m" K5 K
  1481. ; The path for which the cookie is valid.
    1 N* H; A1 w$ w9 [5 }! j# D
  1482. ; http://php.net/session.cookie-path8 F: F! l1 k2 b
  1483. session.cookie_path = /4 b& ^4 x' {& V
  1484. 9 j9 M+ C: s. u; |
  1485. ; The domain for which the cookie is valid.( s2 Z& h* n' m4 \
  1486. ; http://php.net/session.cookie-domain9 A# ?$ I8 {  l. b# v! K) @
  1487. session.cookie_domain =' n5 U8 T$ F" f- _0 x# o: M' B

  1488. 6 K3 M4 [0 ~9 B8 Z, P3 ~* w$ Y, F9 Z4 M
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ) K3 W' j+ x4 ?
  1490. ; http://php.net/session.cookie-httponly
    0 x1 i: P2 f3 s
  1491. session.cookie_httponly =% O% _; G) n" G! Z
  1492. + R; r2 [' |& k; i4 ]0 Q7 M7 w" w
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . I: `8 A) K% d' [' w
  1494. ; http://php.net/session.serialize-handler0 i4 c4 O; o6 @: O& P8 d
  1495. session.serialize_handler = php" f  x, b6 b# G$ H! |1 I
  1496. ( M  k6 N3 Q' T; C  U; k  U+ v
  1497. ; Defines the probability that the 'garbage collection' process is started0 a' a  l% U; U+ r
  1498. ; on every session initialization. The probability is calculated by using
    ) B. E" I$ P3 n; s- J
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    * Y/ W3 r8 F+ j$ D) J, z8 o
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1+ b: \4 X7 f! q
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 \) L/ N8 y# ~- J
  1502. ; the gc will run on any give request.7 e" O( B. K" E# F
  1503. ; Default Value: 18 I. H' ~: p0 }) D0 E- P
  1504. ; Development Value: 1
      F  x# w- m7 L; z: G: H4 I# v
  1505. ; Production Value: 1% O, S) S. ~* z! t" F7 y
  1506. ; http://php.net/session.gc-probability
    2 l. P+ N: ~8 l' [' S' k$ P, v
  1507. session.gc_probability = 1
    ( K% t1 q' L- x$ V
  1508. $ G3 U2 _3 P1 D/ v; H! w. Q
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ( q6 v1 `' w/ R, X( f
  1510. ; session initialization. The probability is calculated by using the following equation:
    3 z) @4 Z% S* f" p
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, c6 f. a( W/ h3 V0 H
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 19 F% L5 s! @$ ^9 ?# s- ~8 H
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 W0 n4 }. W8 Y8 P0 {$ C
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you$ m4 Q4 Z/ R1 X9 I1 n% h; g1 W" T
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    % h: @# z9 K  s& T. }2 G) F
  1516. ; this is a more efficient approach.2 f% f7 H; [" \. K* p& \
  1517. ; Default Value: 100
    % C; H( y) O! @* @, m+ V8 E2 }
  1518. ; Development Value: 1000! s3 J2 P' f+ m4 f; r% j
  1519. ; Production Value: 10005 f# e* n* s/ `* i8 \
  1520. ; http://php.net/session.gc-divisor
    3 z/ v0 g' y! t
  1521. session.gc_divisor = 1000
    ) b: b! p, P9 x4 w) @& d9 e% j, V
  1522. 7 \% J7 H& x$ U# t: s7 Y6 q' A
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and* U1 B) P( }. k8 L/ C, Y
  1524. ; cleaned up by the garbage collection process., ^, u# S$ n* F4 R+ `) p
  1525. ; http://php.net/session.gc-maxlifetime
    : `9 S+ R( I1 i5 E6 H4 L. c  w* a( e
  1526. session.gc_maxlifetime = 1440* i4 h: q- A: r' N+ q; r  ^
  1527. & T5 R6 {# Z1 p: {) ]
  1528. ; NOTE: If you are using the subdirectory option for storing session files" |/ L& B  `/ t2 J% D+ K0 V
  1529. ;       (see session.save_path above), then garbage collection does *not*! a9 W9 |* W+ C/ k# R. J' ~, X' E
  1530. ;       happen automatically.  You will need to do your own garbage; c3 u/ H  z5 F% {& N
  1531. ;       collection through a shell script, cron entry, or some other method.( O; N  O. {1 ?( K
  1532. ;       For example, the following script would is the equivalent of! o: J% O1 y+ P3 Z  M) c  ^( j
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. g' b, R! e5 |, b
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    - o3 l* I1 s: I4 s- x

  1535. 7 [; m, {) ]+ t3 n) i0 c9 G0 W  ?
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.& n7 K' Z# g$ s3 x
  1537. ; HTTP_REFERER has to contain this substring for the session to be* ~' ^# F( R# {9 p7 a
  1538. ; considered as valid.4 f6 P& e/ o5 ^. |' w
  1539. ; http://php.net/session.referer-check2 m3 r' }; i8 Z! e" @
  1540. session.referer_check =
    / A$ o+ m! h. h- Q

  1541. ) j$ L. q0 u5 N; T! f' N3 f
  1542. ; How many bytes to read from the file.
    , C2 r' ^5 F% Y( |' H. b/ v
  1543. ; http://php.net/session.entropy-length: D, ?  R: Y9 i0 a
  1544. ;session.entropy_length = 32  E' t  v* g4 f( o- h- u

  1545. 6 o$ {! m$ M3 q+ c  @4 ^6 v6 Y! Y
  1546. ; Specified here to create the session id.5 Z8 j9 @% W  g0 O
  1547. ; http://php.net/session.entropy-file% @% x) q6 Z  u- g; ^: u* p, u
  1548. ; Defaults to /dev/urandom
    2 E8 a* A4 m) \+ e; c
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! N$ G7 ?- c4 Q# A
  1550. ; If neither are found at compile time, the default is no entropy file.
    6 k* I9 V7 q5 J
  1551. ; On windows, setting the entropy_length setting will activate the
    4 X# ]# B% s! \, u. n- _' O
  1552. ; Windows random source (using the CryptoAPI)
    5 ?! L" w$ M% a; A, Z# V4 Q! {
  1553. ;session.entropy_file = /dev/urandom
    . v& x. _) W: q) u" t+ T8 \; ^
  1554. ' b) {" d6 |7 u* D0 C+ g  Z# `
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects* X+ N* O2 p8 S! ]+ f
  1556. ; or leave this empty to avoid sending anti-caching headers.+ W) x5 {1 Z" M. c% @% Q
  1557. ; http://php.net/session.cache-limiter- J. K# `* P8 r% A) y
  1558. session.cache_limiter = nocache9 r; V; b7 B& M4 O+ p
  1559. * N$ _& t2 E' U4 `
  1560. ; Document expires after n minutes.& X2 z3 ]! `8 `
  1561. ; http://php.net/session.cache-expire# H5 r' j9 H* ~& P8 `) i
  1562. session.cache_expire = 180
    : v; G4 j/ |# \- v

  1563. $ c" h% i- T# {! o8 O! {0 K- W8 a; D5 ~
  1564. ; trans sid support is disabled by default.9 p& w; o" F3 x1 x/ j* L1 ]! @
  1565. ; Use of trans sid may risk your users' security.$ j! @, J6 h  H0 P! }
  1566. ; Use this option with caution.: k$ U+ [. @  P9 i
  1567. ; - User may send URL contains active session ID2 L; q# K( \: t; P
  1568. ;   to other person via. email/irc/etc." h: X* w# z2 o6 N+ N4 o( J( f
  1569. ; - URL that contains active session ID may be stored  a+ I* {" a) k) w- J3 t
  1570. ;   in publicly accessible computer.
    + Q. E# F4 u: O# A* Q5 V
  1571. ; - User may access your site with the same session ID& Z, O1 O) ?$ s0 I
  1572. ;   always using URL stored in browser's history or bookmarks.9 u  P0 L7 L4 w2 W4 J
  1573. ; http://php.net/session.use-trans-sid' P3 J$ K& w' z2 F
  1574. session.use_trans_sid = 0" A2 P, f6 b8 X9 ]2 B
  1575. / P  ?3 G: _/ ?2 b; }# u
  1576. ; Select a hash function for use in generating session ids.% e( h1 k- U4 y+ s. e
  1577. ; Possible Values3 N) V( ?4 V/ P0 n
  1578. ;   0  (MD5 128 bits)
    6 u5 h& a6 B. i0 Z5 G  K, q
  1579. ;   1  (SHA-1 160 bits)
    0 q# N+ ]) A; v3 I9 ?6 t2 e$ P
  1580. ; This option may also be set to the name of any hash function supported by* H; r1 d' t/ Q6 `9 Q: c2 d
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()% e: D) g  X9 S8 p
  1582. ; function./ C4 ]; p" I( k+ ~1 j, Q
  1583. ; http://php.net/session.hash-function" O3 E/ r# M. x: b- U5 n, q
  1584. session.hash_function = 0( G! v3 M# e, k8 T8 P9 K
  1585. , A  c* z% c+ z* Q9 M
  1586. ; Define how many bits are stored in each character when converting( c' Z$ N( [: m/ R4 ^6 |
  1587. ; the binary hash data to something readable.
    - t! b& t# \5 H% l1 e, w
  1588. ; Possible values:3 u# [, ~7 N. d
  1589. ;   4  (4 bits: 0-9, a-f)+ ^5 W9 ?$ {$ D: u5 Q
  1590. ;   5  (5 bits: 0-9, a-v)) H9 p3 k2 C( b) ]8 c2 g3 r4 h1 U
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")' b1 {: R( z0 o  o( \: B- m
  1592. ; Default Value: 4
    8 D1 }- [5 T4 T# d( i! R3 W
  1593. ; Development Value: 5; j; l* G  J# Q( z5 v1 v
  1594. ; Production Value: 58 [( ]+ y5 }1 O- @2 j+ Y
  1595. ; http://php.net/session.hash-bits-per-character& [2 V7 p! g- V2 g& \% R# U
  1596. session.hash_bits_per_character = 5
      B' Q7 t. v% M4 V5 U' ~) R0 C, Y
  1597. 5 }6 ~  \; X6 }
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.1 i- K! ?! Q1 k  D
  1599. ; form/fieldset are special; if you include them here, the rewriter will1 t6 a5 J. a- d/ ~) B. c& K
  1600. ; add a hidden <input> field with the info which is otherwise appended, i' N! G* w% a( M
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.3 l3 M, u1 M: D! s3 _) G7 H
  1602. ; Note that all valid entries require a "=", even if no value follows.: a, G, _7 R; S1 D* k6 N1 B+ L
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 g  S' h8 K0 a2 u
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # D! F. J* H+ y  f5 O
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ |. Y2 o0 P8 p6 f: X: w+ L; u
  1606. ; http://php.net/url-rewriter.tags. C3 [$ \; R8 g/ c
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 }- O  I" K4 Y6 [/ q" e- d
  1608. ) c3 s, Z$ Q9 E, }9 p( E  e/ \
  1609. ; Enable upload progress tracking in $_SESSION8 y! \8 R0 ?( d) N
  1610. ; Default Value: On
    ! j6 x2 b  H: ^
  1611. ; Development Value: On
    & S. s. l1 K6 q5 q1 ~, S
  1612. ; Production Value: On# {/ Z; _3 P7 b# x" x2 s
  1613. ; http://php.net/session.upload-progress.enabled
    ' }! `& b8 ]' }6 [+ C
  1614. ;session.upload_progress.enabled = On
    5 |( z+ C% R' Z% e8 S7 X4 p

  1615. 6 k* W9 N( I# _+ K. I6 W
  1616. ; Cleanup the progress information as soon as all POST data has been read
    : C8 p4 w1 O7 l3 Z, [$ P
  1617. ; (i.e. upload completed).
    - W, b4 d9 Y5 u5 Z4 g  X- L
  1618. ; Default Value: On% c. ?6 Z5 |) ?3 t7 `
  1619. ; Development Value: On) ~3 c% D, Y+ V2 t* H/ g. o/ V
  1620. ; Production Value: On5 R* T& l' B& v* x
  1621. ; http://php.net/session.upload-progress.cleanup* y/ @! m; @& l( o7 f
  1622. ;session.upload_progress.cleanup = On! i9 W) W: l1 ?
  1623. 9 @4 n  V( e& d2 }! `" m
  1624. ; A prefix used for the upload progress key in $_SESSION
    1 ?: }4 {  z, i2 R5 ~2 J) \7 s- W
  1625. ; Default Value: "upload_progress_"1 N0 _2 t& i$ s% c+ f
  1626. ; Development Value: "upload_progress_"
    , u- A2 R8 m) @) q6 p. D- @# {% l
  1627. ; Production Value: "upload_progress_", y; }( R% Y6 I8 X" e: X
  1628. ; http://php.net/session.upload-progress.prefix  t! u9 ^/ U  ?$ j0 O7 q, v9 l
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ) O+ G6 P7 G3 m8 l
  1630. ) o1 @# ]; c6 m% t1 b: t
  1631. ; The index name (concatenated with the prefix) in $_SESSION  k; j8 K5 G0 B5 q2 I1 n
  1632. ; containing the upload progress information
    : s0 O  L% _2 T% W8 ^; ]
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"( K; G* n( ~6 n4 p  c6 R
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + e9 p) I# c, M1 p% X5 ]- G
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"( r9 M7 Q  y+ ?' s
  1636. ; http://php.net/session.upload-progress.name0 V' m0 P/ g" o0 Q8 A
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    - {3 L; [* X( }: o7 }2 R9 p

  1638. 9 ~+ p1 h' p$ T7 a0 y
  1639. ; How frequently the upload progress should be updated.' \7 Q7 e/ L, M
  1640. ; Given either in percentages (per-file), or in bytes$ m. B0 c* L, o& m
  1641. ; Default Value: "1%"
    ) ]8 c6 N9 [! S6 y9 q
  1642. ; Development Value: "1%"  k$ }3 C4 A2 m" J, z( B
  1643. ; Production Value: "1%"9 h& f/ R' @) Z+ E+ @8 v
  1644. ; http://php.net/session.upload-progress.freq+ t2 s% P$ ?( f2 S+ E% a' I
  1645. ;session.upload_progress.freq =  "1%"
    4 |: B: h/ f* v+ H

  1646. " F" u8 d) A+ w; j
  1647. ; The minimum delay between updates, in seconds; V& m0 V9 [, B: H% W; l# M2 c, @
  1648. ; Default Value: 1
    : q5 I" Q/ |+ Y1 m
  1649. ; Development Value: 1
    + X" k, N; C. A; @& C+ ?
  1650. ; Production Value: 1* p, c' O/ o* k5 R! @, G# k
  1651. ; http://php.net/session.upload-progress.min-freq
    6 P+ D  Y" j, ?( B( w/ O9 [
  1652. ;session.upload_progress.min_freq = "1"0 d4 }6 @  R: v

  1653. 2 a! Y3 b3 u' i8 y9 k7 M% Z1 q
  1654. [MSSQL]5 D3 Y3 K0 l3 N! ]
  1655. ; Allow or prevent persistent links.9 i7 [% l) w- O
  1656. mssql.allow_persistent = On/ R' G; E3 r4 [) e3 l$ T

  1657. ! \  j' u' E; \5 a+ f1 I+ Z
  1658. ; Maximum number of persistent links.  -1 means no limit.
    % l2 j. R' {* ]2 h$ ?. E
  1659. mssql.max_persistent = -1. Y9 w7 l: r1 G0 b" o9 N9 v
  1660. - Y- X9 e: D" M4 V. f# y
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : u- u6 D, K( k5 f8 K' x9 q: d, f
  1662. mssql.max_links = -14 F. P# D# V1 }3 J' A4 ^
  1663. / U! A) F6 U! l2 A5 d
  1664. ; Minimum error severity to display.; _4 B; @  W, @
  1665. mssql.min_error_severity = 10' k0 u7 P- I" u; s

  1666. & o4 Q4 B3 f$ V- r2 i; I( h
  1667. ; Minimum message severity to display.( c4 b9 ?6 P# ^* j$ B' z7 o! k
  1668. mssql.min_message_severity = 10
    % y( u  d- F& m* {  X. A) `( ]
  1669.   T/ o2 t8 _1 q
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ; D; ~0 O7 f* o' |) f
  1671. mssql.compatibility_mode = Off. W% s/ B6 |: v1 U" E- l! y

  1672. , V* I2 {1 u( b0 j* L/ M. J
  1673. ; Connect timeout
    $ s7 y- G4 s, S) E$ b2 G. g/ L5 r; M
  1674. ;mssql.connect_timeout = 5: {  v7 P0 L- I7 T% H8 F! @5 L

  1675. & x8 z5 @! N4 f' z; W
  1676. ; Query timeout+ t* w/ ^6 ?$ \% X
  1677. ;mssql.timeout = 60
    % Z0 x+ S' c) M* O' ]9 z1 }
  1678. * s( I# b% P% R# x
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    : x! e/ s! _9 O
  1680. ;mssql.textlimit = 4096, L: L, @# r' c9 n/ }- ^+ o- D! {

  1681. % u+ O( w. |6 V0 b9 X; k
  1682. ; Valid range 0 - 2147483647.  Default = 4096.4 {, ]) d7 L7 }# ~
  1683. ;mssql.textsize = 4096
    - b1 g* U4 N) C- R% U7 _5 D
  1684. - L# x% D$ z$ H6 `9 D
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    : J: y  J3 P4 T5 [; [" j5 Q
  1686. ;mssql.batchsize = 0
    5 I* K' l; E: w, \" D2 Y+ [2 J
  1687.   V' B& q6 A9 k4 [+ Q: t
  1688. ; Specify how datetime and datetim4 columns are returned' h1 I5 \% i5 v) ]- r+ r
  1689. ; On => Returns data converted to SQL server settings# z8 {7 |. w- q3 Y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ! O$ j3 y0 n+ ?
  1691. ;mssql.datetimeconvert = On8 S4 U! K6 s& r1 `9 ?5 T
  1692. # U; w( g& k" N6 _/ \" `
  1693. ; Use NT authentication when connecting to the server& _7 A$ R! n3 J$ T" k" f: r, [
  1694. mssql.secure_connection = Off6 v! L: ~1 C" K4 q% J
  1695. ; \4 @# |# h, @$ B; g
  1696. ; Specify max number of processes. -1 = library default2 e* ~! o% g* k! P0 h6 d( z
  1697. ; msdlib defaults to 25. Q3 E; W$ n( w; K8 h9 j3 x, c5 {# r1 o
  1698. ; FreeTDS defaults to 4096
    0 j7 i/ ^8 x0 [% T4 x/ E
  1699. ;mssql.max_procs = -1
    2 q" L' k5 m2 P
  1700. 5 h& n* q  N4 Z6 C- L7 r* j
  1701. ; Specify client character set.* `8 C# P  u1 D
  1702. ; If empty or not set the client charset from freetds.conf is used, E( B+ ~4 r; g
  1703. ; This is only used when compiled with FreeTDS
      X" I, I  f+ {6 C2 U5 b- g/ R0 M. n. a
  1704. ;mssql.charset = "ISO-8859-1"
    9 T1 t. v. i$ M" h1 O) @6 K8 a, Z

  1705. 2 q( a* N. i! i* f; [
  1706. [Assertion]
    , r# \7 O- @: P6 u
  1707. ; Assert(expr); active by default.; v4 c- ~, a# P; D+ P0 T  \
  1708. ; http://php.net/assert.active( r) K4 B' }8 o8 W
  1709. ;assert.active = On* w9 \- D) {) B7 r

  1710. / W, `% p' U: ]- z$ s. U
  1711. ; Issue a PHP warning for each failed assertion.
      W/ Z$ ^/ I1 F& z7 X$ X# f* Z8 p
  1712. ; http://php.net/assert.warning
    . c+ K( L/ M% |* y; a4 S
  1713. ;assert.warning = On2 V  Y" E6 ]% Q% E

  1714. ; K8 N, F2 L8 O0 o5 c2 {4 H
  1715. ; Don't bail out by default.
    ) o: u- N' w0 E4 S5 P! e
  1716. ; http://php.net/assert.bail
    + s8 x0 ]! C* @, e* k- L
  1717. ;assert.bail = Off
    " X; {) A. _# D5 B7 C

  1718. 4 s: k% t6 G. G2 ^  m; s9 _" J* B
  1719. ; User-function to be called if an assertion fails.
    # f. P. k* b. H; K
  1720. ; http://php.net/assert.callback
    : F* C2 V# f5 ~6 D% a. s
  1721. ;assert.callback = 07 s8 H1 ~! c0 z* c) C: F
  1722. # L6 R8 W/ N0 M0 |
  1723. ; Eval the expression with current error_reporting().  Set to true if you want, [6 {1 p- P0 q! A  F$ i5 Y
  1724. ; error_reporting(0) around the eval().
    : R4 ?# t! X2 H) R9 W4 O
  1725. ; http://php.net/assert.quiet-eval1 k3 F3 e# X9 H# r3 {& M% C' R; i
  1726. ;assert.quiet_eval = 0
    7 k4 B# e' Z2 e) z9 j. ~7 O
  1727. ' H, v- K# [' a
  1728. [COM]
    3 `; c8 i: ~5 @5 b( C; v' S4 X
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) s) P! Y0 D$ E+ I' Y3 K
  1730. ; http://php.net/com.typelib-file% ~/ ?3 |5 i) R# f1 o
  1731. ;com.typelib_file =6 J5 s" S  X/ B* X

  1732. / ]( [' ]9 `2 c" r. D5 v0 Q6 f
  1733. ; allow Distributed-COM calls/ P( {9 |, X9 M9 q% t. L* O( y
  1734. ; http://php.net/com.allow-dcom: a$ I  N% n+ k; o% B
  1735. ;com.allow_dcom = true5 P: t/ |9 n5 N" L0 k- u
  1736. & ^& X. G& |% S4 O* v- x' ?
  1737. ; autoregister constants of a components typlib on com_load()
    & j4 m+ e% L, L$ ~. Z
  1738. ; http://php.net/com.autoregister-typelib
    " k* S. l5 q7 U7 \* l4 C' L3 s% z
  1739. ;com.autoregister_typelib = true+ r3 u( ^; V* ]% O8 M! p# G1 \& l

  1740. 3 n4 J/ Z) N1 l
  1741. ; register constants casesensitive
    ) i/ N' g% \0 s& N
  1742. ; http://php.net/com.autoregister-casesensitive: i& f; C# P6 z' l) U- x
  1743. ;com.autoregister_casesensitive = false5 D& \( L; D1 Y) G
  1744. % N6 R; i* N7 Z3 y
  1745. ; show warnings on duplicate constant registrations  [, K/ \+ ^9 L3 L1 V8 ~8 J
  1746. ; http://php.net/com.autoregister-verbose
    ' f5 R9 ?7 k, [- r! f
  1747. ;com.autoregister_verbose = true) r! r% t/ O4 g* U

  1748. 8 i$ m- I' d1 l+ |  B- r: m; ]% X& B
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    8 O# x- [! B9 V
  1750. ; Default: system ANSI code page  L0 q6 n1 j4 C* Q" G) U# X, q
  1751. ;com.code_page=) W  `, O0 j5 K4 @$ S$ R/ Z
  1752. " M4 L% I8 P% @5 H8 J8 n9 J8 ~  x5 U
  1753. [mbstring], u/ e7 J6 F6 l  J% L
  1754. ; language for internal character representation.
    % u8 b% p; s5 d) h  h- d$ K5 G
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.3 Z: C  T0 m3 Y# T. R# r
  1756. ; http://php.net/mbstring.language
    , d$ u. m& k$ d
  1757. ;mbstring.language = Japanese
    4 W2 a1 E5 }5 c
  1758. 2 S+ ]0 \6 d% p+ ^$ W' f& [
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead., Z$ ?. r4 K4 R  H2 B0 w
  1760. ; internal/script encoding.
    8 g4 j8 H0 A$ y
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ' O# c0 e$ c+ {
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 k; _8 N/ n  R4 x" }
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 Y4 R# S7 M0 \# f: f0 O
  1764. ;mbstring.internal_encoding =* d' @' r) t3 x3 F

  1765. 6 |5 Z7 y" a9 B0 J; n  q4 c( l
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.* v5 [1 `4 H" z. u2 x- a: ^
  1767. ; http input encoding., h. S+ d# |5 R7 t' w4 e: i
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    " M+ _7 |2 R9 E! d! G. P
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    " H6 L, {: d0 l
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ) ^, i5 ^$ R1 k7 I, ?. w' X3 ?
  1771. ; http://php.net/mbstring.http-input1 p9 i2 o7 F3 J/ l( |! k6 L, a# T
  1772. ;mbstring.http_input =
    9 Q" E4 {/ z2 y& i& x

  1773. - D$ P+ e* A! f6 t: ~
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ y: Z6 a- w# h7 S: z* h* y
  1775. ; http output encoding.2 ]7 G" S6 C% Z. d" c5 u7 E3 {
  1776. ; mb_output_handler must be registered as output buffer to function.
    " z. P# q4 ~% m6 @- i0 Y' ?  H
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . r# ^: F+ @" i7 b* i$ S
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    8 |% j2 k7 I4 X8 e4 M  n  M
  1779. ; To use an output encoding conversion, mbstring's output handler must be set( G' r1 x0 f$ v* G# o! T
  1780. ; otherwise output encoding conversion cannot be performed.. l/ V+ C1 Q- r: S  N" h
  1781. ; http://php.net/mbstring.http-output0 E& f  t0 ]/ t7 a6 A
  1782. ;mbstring.http_output =
    1 o# r2 F9 q( Q. j* p$ G. v
  1783. : j8 z5 D9 K, j. s7 ^- r
  1784. ; enable automatic encoding translation according to
    1 x# K6 M( ?  J$ p. ~
  1785. ; mbstring.internal_encoding setting. Input chars are; I) [8 [) c9 G! g
  1786. ; converted to internal encoding by setting this to On.
    $ n! Q1 I3 }. N
  1787. ; Note: Do _not_ use automatic encoding translation for( G+ J4 u, E% K% G' G# O
  1788. ;       portable libs/applications.& w; P7 l) ^( D) i0 D
  1789. ; http://php.net/mbstring.encoding-translation3 ^; o  U* K$ o9 O4 D
  1790. ;mbstring.encoding_translation = Off6 U4 i8 ~/ G( i. v: [2 }0 B
  1791. 0 Z! o, Z% C& {& i( _
  1792. ; automatic encoding detection order.- ]! U# b$ e" p+ _- P* D
  1793. ; "auto" detect order is changed according to mbstring.language
    / z# J' `8 y; t& x7 W2 s+ W2 O9 |  Z
  1794. ; http://php.net/mbstring.detect-order
    * s( h: q1 R$ n4 l/ A6 _
  1795. ;mbstring.detect_order = auto
    : P  }6 [, T/ |' o% f3 V* t0 ]
  1796. 5 M0 }) d" h, x! e
  1797. ; substitute_character used when character cannot be converted
    ) J7 y6 ~( @6 x- O8 @
  1798. ; one from another% V' O# q, }' }1 y3 t: p8 Q
  1799. ; http://php.net/mbstring.substitute-character
    + n! C, b3 }, |( {: K
  1800. ;mbstring.substitute_character = none) A, U( l$ x, y# T
  1801. " o0 f6 \# Z" z* q# P
  1802. ; overload(replace) single byte functions by mbstring functions.
    # z" R1 l" F/ o0 k3 O$ P% m
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! M  a3 ^4 m3 ~
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ' C2 g0 G& @/ ^2 I1 ?& V9 L! m
  1805. ; For example, 7 for overload everything.  N$ y- n0 c: S6 O) Z
  1806. ; 0: No overload
    ! t! _+ s% x/ |& S
  1807. ; 1: Overload mail() function
    ' D& x. X8 Y5 u1 _0 L% S0 I2 {( E
  1808. ; 2: Overload str*() functions
    : H+ J9 d& c0 z$ k& ?
  1809. ; 4: Overload ereg*() functions
    2 [5 K6 K) z% S+ K& ?
  1810. ; http://php.net/mbstring.func-overload
    & X, K7 {8 o  c0 r' H
  1811. ;mbstring.func_overload = 09 w6 s; t+ B* t8 s
  1812. . Z& ]" j1 ~: ~: \& @
  1813. ; enable strict encoding detection.1 Y7 _2 [! x5 y( X9 t
  1814. ; Default: Off
    : e/ H: {- T1 W6 ?# K1 I
  1815. ;mbstring.strict_detection = On
    ( _& j0 b( s5 u" I7 p$ [$ Z

  1816. : s2 n/ r3 \5 T. \
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    % p1 _( B& {) B: a; T
  1818. ; is activated.
    6 \$ Q: x( g' }7 y1 }' ]+ A
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! L# n8 K6 y2 ~" e6 H( |
  1820. ;mbstring.http_output_conv_mimetype=6 [& j  z% ^2 K' j5 a, ~; A6 |

  1821. " R) V$ e7 c7 |. P1 J, O
  1822. [gd]
    $ O9 F7 i, A) _9 k2 K8 L2 T
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    * c/ ^' d% ?& @! }, g
  1824. ; a gd image. The warning will then be displayed as notices
    ( L4 y3 L2 A& t( [  [4 o
  1825. ; disabled by default
    - ]6 g/ {  `& y3 d  Z/ L1 ?7 o. ^& `
  1826. ; http://php.net/gd.jpeg-ignore-warning
    # L; m4 L& c9 N3 E! S* l
  1827. ;gd.jpeg_ignore_warning = 0
    & o) {. D4 O2 r5 [: b: W" |

  1828. 3 F( c6 f' Z0 a, F/ _, z9 o
  1829. [exif]& K3 F/ S0 ^6 A1 e8 G
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & r) d% ~2 @9 Y; M+ k- T
  1831. ; With mbstring support this will automatically be converted into the encoding1 L" X8 n4 _: q; u7 Y3 [7 _; i- k
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : Q% b8 Q( W% I
  1833. ; is used. For the decode settings you can distinguish between motorola and6 G( c6 B" J4 Q
  1834. ; intel byte order. A decode setting cannot be empty.+ Q% J- R2 ~' E4 R9 Z* E
  1835. ; http://php.net/exif.encode-unicode4 `9 }  @, r2 f* X$ p$ W' [
  1836. ;exif.encode_unicode = ISO-8859-157 ^8 Q0 F* h  i' F
  1837. ; S) T( ^- j) H$ n+ R
  1838. ; http://php.net/exif.decode-unicode-motorola* t3 D! N5 U% |/ Y  Q# W/ [+ t. R
  1839. ;exif.decode_unicode_motorola = UCS-2BE; C6 i8 p8 U$ ^0 c# I0 S) w: p  H

  1840. / y# |/ p% I* i; x7 b
  1841. ; http://php.net/exif.decode-unicode-intel
    5 \0 ]9 Z+ d8 S( P) `! S8 ?
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    : \6 B( ~3 i/ T: p& w# L

  1843. 5 h5 |8 ^7 ~& f
  1844. ; http://php.net/exif.encode-jis
    ' o  l3 u! l8 C
  1845. ;exif.encode_jis =; F8 {3 P) A( x2 E3 D, ^/ W

  1846. - ~$ e' ]/ z6 j7 j6 e
  1847. ; http://php.net/exif.decode-jis-motorola  r! T% Q7 b4 q/ T8 A( q: p
  1848. ;exif.decode_jis_motorola = JIS% I# }! F8 n1 o$ I8 s0 h! y; |2 S

  1849.   ^2 ?% u# A  D: ~6 @* k( s) A
  1850. ; http://php.net/exif.decode-jis-intel
    ) E6 {1 N- a! c( [
  1851. ;exif.decode_jis_intel    = JIS; l: H4 u& ]' a# `# F1 @

  1852. 7 H7 t# @7 P( \- b8 ^$ ]. P" F
  1853. [Tidy]
    . N9 p" U2 J0 z# a" I; i' F
  1854. ; The path to a default tidy configuration file to use when using tidy/ ?; A  U* H( B7 |6 G; Y' j
  1855. ; http://php.net/tidy.default-config8 O& V! j  ^$ X7 _' M7 p; W
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    4 N% _& {3 [# s5 o" ?# i/ L

  1857. " X0 R7 O/ k' D( K9 @
  1858. ; Should tidy clean and repair output automatically?% r. `0 s+ j7 d# g4 D: B+ Y# J
  1859. ; WARNING: Do not use this option if you are generating non-html content, ]5 t1 c3 g# S, @8 h$ T' X& K
  1860. ; such as dynamic images0 R9 E0 s, O3 q1 v
  1861. ; http://php.net/tidy.clean-output
    ) @  b% ^8 Z  r* q5 C4 t/ L+ F
  1862. tidy.clean_output = Off; |  K& r, J7 B* P$ z- |: z/ ]
  1863. ! e0 o1 I. ~; c& y
  1864. [soap]5 V% E# B: r' Y& R4 w, _
  1865. ; Enables or disables WSDL caching feature.
    1 W. y+ I* d" ?) i: c
  1866. ; http://php.net/soap.wsdl-cache-enabled. m: I9 E/ z3 _- G
  1867. soap.wsdl_cache_enabled=17 n8 I  H% a1 e3 \0 q  Z
  1868. ) X4 _/ T# {, }+ C. L' \6 Z( {
  1869. ; Sets the directory name where SOAP extension will put cache files.  S8 C, l+ l3 N5 D" J
  1870. ; http://php.net/soap.wsdl-cache-dir
    : I4 f& w; ]: D/ @5 }- A( M5 {
  1871. soap.wsdl_cache_dir="/tmp"
      `, n4 s$ d1 a& P+ k+ q

  1872. 9 \  I' J: w1 J' T
  1873. ; (time to live) Sets the number of second while cached file will be used& ^) O) X" C& M- E" |
  1874. ; instead of original one.
    4 f: X4 x: v" M3 i# c& d! H/ \3 X
  1875. ; http://php.net/soap.wsdl-cache-ttl9 `" M; r8 H( {2 V
  1876. soap.wsdl_cache_ttl=864008 O. ]( X1 m' B0 S; y* C

  1877.   \8 \% n6 ?- Y8 e" p. g( M
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) k0 m9 Z( h, w
  1879. soap.wsdl_cache_limit = 5
    ( z7 r4 x+ Y# A; b, n

  1880. ! E2 \( `' k+ p: z5 X3 i' N
  1881. [sysvshm]
    * v7 h6 a# C1 e" _+ Q
  1882. ; A default size of the shared memory segment
    . v* k8 s# z, n( ?) d, }4 R
  1883. ;sysvshm.init_mem = 100005 e3 ?0 [2 d  S1 [
  1884. , o: }8 p0 I6 u
  1885. [ldap]6 A, C/ u/ E4 o9 |
  1886. ; Sets the maximum number of open links or -1 for unlimited.! z8 n" y3 X) t; d8 }% ]
  1887. ldap.max_links = -1( f7 B3 U4 }; l7 O% f

  1888. $ Z9 v' s  l  P  v
  1889. [mcrypt]1 b' H: L  K+ l4 B) ~, U( D- h
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 Q5 ^2 X% `9 ~3 c
  1891. $ R' X( f) \. U+ g( `
  1892. ; Directory where to load mcrypt algorithms2 _' S: E8 |. k1 Y/ w) @+ H
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' ~: a) W( Z. S) n. T6 |
  1894. ;mcrypt.algorithms_dir=2 D  A. A3 v% F" m1 H
  1895. 8 g7 A" A6 Z( c5 t/ T* p+ z
  1896. ; Directory where to load mcrypt modes$ {0 Z# ~- B( O+ R3 u
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 m5 u5 D) q+ d5 J6 I' U8 L/ n& @
  1898. ;mcrypt.modes_dir=
    9 y4 J4 t, u% l" X- j* b5 N
  1899. ) T6 M! T4 v+ u2 m2 {
  1900. [dba]; n- G8 Q* ?0 ^  C) d
  1901. ;dba.default_handler=& ?4 Z# ^6 O3 }0 `% o, e
  1902. # R5 m4 y/ B  C
  1903. [opcache]
    2 Q% l: v0 E. Y$ ?' o- s/ ]$ W
  1904. ; Determines if Zend OPCache is enabled4 A8 _6 y! ^/ E$ g
  1905. ;opcache.enable=0
    8 l1 }- C6 d$ k0 ~8 _* b: }) a6 g
  1906. , M6 H, B* I: x( p) g# U
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    0 t  G; n' n9 |- s4 v- r0 F
  1908. ;opcache.enable_cli=0
    - \1 F5 X! @) S  a

  1909. : x' L1 ]+ N# K5 d9 P9 m
  1910. ; The OPcache shared memory storage size.- W, d$ u+ U( F$ p2 L
  1911. ;opcache.memory_consumption=64/ C9 w$ z! \7 }' ~7 U
  1912. ; b* G* {4 q1 V
  1913. ; The amount of memory for interned strings in Mbytes.5 r7 P9 M! M1 V2 G9 i' B# I# m7 {4 n; N
  1914. ;opcache.interned_strings_buffer=4
    ( D: L, z* Y2 b4 z0 ]/ G

  1915. # f7 ?" p% K% Y, P0 ]
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.2 }+ P/ h* o2 \1 _" t/ H
  1917. ; Only numbers between 200 and 100000 are allowed., n0 {/ K6 j$ H3 s6 V6 n& x* W
  1918. ;opcache.max_accelerated_files=2000
    ' K4 B. Q% `  n( Q% P

  1919. 0 K1 Q7 o, Q4 A. U9 J
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    , z2 S; j3 q2 f: m+ C3 o. K8 N
  1921. ;opcache.max_wasted_percentage=5
    - d2 d& N; P$ Q& Z  p9 H$ N, r

  1922. , ]2 F. k7 C) O  z8 B
  1923. ; When this directive is enabled, the OPcache appends the current working9 [$ H6 r/ ~2 b1 }2 |. p- o/ V
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' O. `, C8 g2 d! R3 m
  1925. ; files with the same name (basename). Disabling the directive improves' a: |1 T# g' c* C
  1926. ; performance, but may break existing applications.6 i# u9 \% C# H6 _5 L5 c! C
  1927. ;opcache.use_cwd=1
    8 v3 ~/ ~8 f& K' s5 Z7 r, l7 _% y! V# x

  1928. + |  T( }/ P. n( p' n
  1929. ; When disabled, you must reset the OPcache manually or restart the; W! v8 M3 I- ]' D' R
  1930. ; webserver for changes to the filesystem to take effect.
    5 b+ A  }1 w( Q: a
  1931. ;opcache.validate_timestamps=1
      E8 `; ?3 `& J, h  ?" \/ W0 Q

  1932. ( H7 Y- B$ R) A; ]0 M! x# G9 O" q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared: S) d  Y) ?4 }
  1934. ; memory storage allocation. ("1" means validate once per second, but only5 n! i. ]$ b4 x0 l; O; S8 f. d3 |
  1935. ; once per request. "0" means always validate)
    ' h; D/ ^6 ]6 Q4 a* W% S
  1936. ;opcache.revalidate_freq=2$ T/ ?- F  M! t9 E, y
  1937.   I  [: `+ s3 E* k
  1938. ; Enables or disables file search in include_path optimization
    1 G/ [- G, z; _4 ^& q
  1939. ;opcache.revalidate_path=0
    0 Q3 G/ w& k- m/ ]& s% u; e" h2 ?
  1940. ! I& `# t. Q  h/ A% c
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * B5 B' {  k5 {5 X# v
  1942. ; size of the optimized code.1 Z) T! B+ S8 F9 x7 z9 p" W5 C
  1943. ;opcache.save_comments=1( H8 P6 ]7 c$ u+ O6 ^
  1944. 6 k6 p3 {" W2 \. ~! g9 d& h
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    - V, G, S- I4 f& i4 i
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    . c! _  e* N: U# Y1 H
  1947. ; that don't need them anyway.1 ^1 `. n* O! j: w" c. a
  1948. ;opcache.load_comments=12 [1 N$ D5 s7 O5 E- U
  1949. ( Z- f2 F8 V$ Y9 p/ r
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ) b0 V( n8 Q: w& E3 I8 k+ `
  1951. ;opcache.fast_shutdown=0& O3 H0 ^4 Y( G! p
  1952. " x2 ~$ t: ^3 Q9 B" u$ {2 G
  1953. ; Allow file existence override (file_exists, etc.) performance feature.# R  M2 [4 e$ Y. o: ~
  1954. ;opcache.enable_file_override=04 L( D- Q3 h1 b

  1955. & Y6 y* \( x* ]$ a( }9 j
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache- ]2 |. Z3 ~* M: x
  1957. ; passes+ I% _2 r4 X9 p# R+ U
  1958. ;opcache.optimization_level=0xffffffff
    + ]' d; e$ e0 j

  1959. 1 N3 R5 g! A1 k' K2 R7 d' G1 N5 B
  1960. ;opcache.inherited_hack=1
    6 {+ H6 L, C" [$ K8 t
  1961. ;opcache.dups_fix=0
    " X3 U9 W+ h/ \
  1962. : w4 Y( y5 @( m9 r- S9 v& R0 V6 ?
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    - q* L: ]2 B. O% a0 R! m
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    : T; I$ P7 Z+ J" m  ^, M0 a3 m
  1965. ; that should not be accelerated. The file format is to add each filename5 ]' G3 z- Q0 M- o9 T
  1966. ; to a new line. The filename may be a full path or just a file prefix# L: W2 W( n% {8 c6 _9 ]
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www9 P: X! V& l& H5 O+ B$ [
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).* A; R! t3 x$ P: }+ f
  1969. ;opcache.blacklist_filename=7 m- d9 g' G! s! l- Y. m, C1 a: t

  1970. ' m! L6 _8 y0 F( V* r
  1971. ; Allows exclusion of large files from being cached. By default all files
    ( D; m- c& \& V, S9 p* ^
  1972. ; are cached.% J) X2 {% r4 o' Y% M2 d3 a: ]' O
  1973. ;opcache.max_file_size=0. |2 [; Y! G! U; ^! ?% }0 o

  1974. ! p2 @8 M8 b+ Q, \5 b) B# J
  1975. ; Check the cache checksum each N requests.
    ; j4 Z% V5 z& G# V% t2 H
  1976. ; The default value of "0" means that the checks are disabled.0 C+ [: E2 l" s; m
  1977. ;opcache.consistency_checks=0
    0 b3 Q- |; K4 L+ x# M
  1978. ) k" @% ]1 p4 b+ k! Y
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ! s6 a7 a5 G* U4 g% E% e
  1980. ; is not being accessed.
    , x9 J6 ?4 v. q3 F, [3 _) z' S
  1981. ;opcache.force_restart_timeout=180
    0 ?3 T, Y+ E4 q% k& W* u. |0 m

  1982. 2 ~* k* b3 W9 I7 ^- Q% }
  1983. ; OPcache error_log file name. Empty string assumes "stderr".2 h/ ~0 }0 e: H9 w6 R" B, W! `
  1984. ;opcache.error_log=
    $ `5 y5 m4 W+ [7 P

  1985. 1 @1 [; b8 G9 d5 T- \# W
  1986. ; All OPcache errors go to the Web server log.; M4 ]9 s* ?/ H+ V4 ^
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.% P5 h1 W) d1 T4 r/ B6 D& Z! }
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    1 \3 U) O, H  Q' T
  1989. ; debug messages (level 4).% L, W$ J6 ^8 Q, _
  1990. ;opcache.log_verbosity_level=1
    3 M) z# O( f& r+ n* R

  1991. ; l; A2 o$ B6 {9 Y; |( V  R
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.9 y' Y' x9 Q7 l" I  _% }) u
  1993. ;opcache.preferred_memory_model=/ U6 @3 o8 S  X0 s& ~" w: c

  1994. ' B; w2 G+ Q' j  u
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ( z4 S$ j/ \, T; j/ ]$ `
  1996. ; Useful for internal debugging only.
    $ t% n& z7 U, L' x1 B" ~  F9 w( Y& B
  1997. ;opcache.protect_memory=0
    7 }! e! g! q# P3 `
  1998. * |9 ~4 K2 J7 C  }7 Z+ U9 |% j, Q
  1999. ; Validate cached file permissions.' t! g& e- e) `1 m
  2000. ; opcache.validate_permission=0
    ' F. N2 C' s+ @9 U5 K
  2001. $ h' t+ ?  S. _. x: u* F! g
  2002. ; Prevent name collisions in chroot'ed environment.
    9 c) P; s  ~0 J( S0 B1 E  N( O
  2003. ; opcache.validate_root=0
    - {4 F) {7 x7 p# T* f0 D/ t( t4 s

  2004. % s/ u: {/ J/ {$ h/ a8 |
  2005. [curl]! w3 T2 Z; J$ |6 D( ]+ P( u
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    9 Y" F9 T' E8 m! j) W, d
  2007. ; absolute path.* K1 }9 z. E: u$ [+ N- o7 e
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; V# j7 b0 L+ [0 B7 b: ^; j
  2009. $ o/ d. P! ^. g3 ]) p
  2010. [openssl]
    / Z9 P/ Z" i, A' J% Y$ j5 ^& h
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    : U1 s! A3 W! n0 O3 n& V- `& m
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should% M# F/ b$ ?% ?2 _
  2013. ; not specify a value for this directive as PHP will attempt to use the/ k7 X# O- k$ d3 ~* i6 H3 J
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ' b" n' L6 T2 @# K
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    9 [2 h; N( W" ^6 s* G
  2016. ; option." t4 ?8 i0 F& X7 k7 U
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* s0 M9 h5 C) g1 y, g( r! N4 U  _

  2018. # q2 G8 c1 ^8 a( R
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the" p/ g1 z; T! T; x3 n
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    $ C; p& n" _% w1 X0 O
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ' Y, K' p: ?, b9 L/ {2 n
  2022. ; Most users should not specify a value for this directive as PHP will
    % |7 U6 A/ }0 Y) ~
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,7 }, T2 ^. C/ D5 L
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    " S1 ]4 ?7 [2 |
  2025. ; SSL stream context option.
    1 _' z, l4 h# a8 H' S
  2026. ;openssl.capath=0 W9 z6 `( C4 W
  2027. 7 ?6 I; y8 l/ u1 a# |, ^3 _- Z/ n+ N
  2028. ; Local Variables:
    & g; J$ Y3 r) g4 r9 h
  2029. ; tab-width: 4
    & E  \2 I5 h) A- g* m
  2030. ; End:' _; }& B# k2 ]" n
  2031. 0 Q# B2 O3 k3 c$ h) U
  2032. ;eaccelerator
    . ^( C7 F3 n* o+ M* f/ Z3 R! g1 b

  2033. ' ]0 d: ]+ }* Q' o' W3 S" E+ S; i
  2034. ;ionCube
    - Y( D7 b: o% q3 c

  2035. * E/ s& N3 ]* T2 j
  2036. ;opcache0 k5 l6 i! q  M% t+ ?" q6 Z

  2037. / W  q1 |% j/ O3 |# j
  2038. [Zend ZendGuard Loader]
    9 o' h  @9 T. p( v1 a: {
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so0 [3 k/ J! s" N- {
  2040. zend_loader.enable=1
    * c( w4 {& [# a! R+ o. E2 H
  2041. zend_loader.disable_licensing=0
    3 A8 L- n& C/ O
  2042. zend_loader.obfuscation_level_support=3. o% h$ [4 x% {
  2043. zend_loader.license_path=& L, }! ~7 Y) l

  2044. : {! }8 R* W3 S/ C9 d
  2045. ;xcache
    6 P8 S  }# q- B" x! O8 Q

  2046. % _+ b# i4 @2 O7 ~( S: Z
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692' M" W+ I- R  {6 }! [  r* v
& {/ n" S" t0 x' M# \9 C8 Y
5 q! l; j2 |* x# ?! @2 j* |
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,: J. c2 A7 [3 f$ j( J* m4 B
, P+ ]4 U% X% J; m1 m4 g& Z8 \5 R* X
Discuz!程序版本选择:
9 s8 a& n' g+ ?; T" W站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,  {$ I! I% n# y9 d
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
5 p  Z/ W  |4 r$ c, FDiscuz!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。1 z0 {. h* S( i# s
1 ?4 J- S9 {6 b1 W$ r" m% \; S
Discuz!插件模板版本选择:
0 o% ^; V+ h" f9 X2 L) B很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,  M* `& V0 W+ t4 c
针对这个问题做个统一的普及:
9 |" }- y9 Q( g3 k: _X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
6 Q/ S2 h# S1 Z  R: Y! t0 v& L. }$ v. m$ n, h% A# R
所以/ B2 C* d* t. P3 N/ f6 i# T, F4 U
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。7 c* s- t' w$ Y) u" _
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。8 M7 s# H3 M! S& f' T
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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