分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
4 r; u( _, r! k5 |/ F  l' p& x
0 D& A, n% Y' j" o
  1. [PHP]1 A/ t4 J6 W$ P+ T# g6 B# n) N

  2. . J8 H7 d6 b/ R  _
  3. ;;;;;;;;;;;;;;;;;;;
    4 h4 u  p4 R/ k/ Z
  4. ; About php.ini   ;
    ' C. r" `1 ], ?7 U8 z
  5. ;;;;;;;;;;;;;;;;;;;
    / f- s" X+ v3 B/ F% z
  6. ; PHP's initialization file, generally called php.ini, is responsible for! i8 H% f; v0 k& K" @6 b: Z
  7. ; configuring many of the aspects of PHP's behavior.$ P8 U2 N1 v: n0 @" W6 K$ H
  8. 9 G- @# T. E+ A" X% B$ M1 d
  9. ; PHP attempts to find and load this configuration from a number of locations.) {6 i# n+ c, R8 g' I& I0 M2 T
  10. ; The following is a summary of its search order:, k# y5 B0 k4 B0 v! h( Q+ Q3 k; O
  11. ; 1. SAPI module specific location.% Z0 P* G% f( B# f& r6 G' s
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)1 Q4 G3 x! f+ Y0 o
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)9 D. x) m. t% H0 i% C
  14. ; 4. Current working directory (except CLI)
    / t. H# h, V+ A- n! k" l" F* z0 H
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP5 u) b9 ]; ^2 ^4 `2 q
  16. ; (otherwise in Windows)% Y; i% x8 ^" u
  17. ; 6. The directory from the --with-config-file-path compile time option, or the( q" F/ X$ {- K) R6 B3 c1 R
  18. ; Windows directory (C:\windows or C:\winnt)/ Q8 M! p- V: T+ J9 s- X; e; z
  19. ; See the PHP docs for more specific information.
    ! l/ D# S# ^9 M, G/ ~
  20. ; http://php.net/configuration.file  y; Q( ]% y3 r9 V5 ]

  21. % W9 T8 z/ p- J3 t
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 z1 ?" ~- ?$ r. \, L
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., a- J9 `( m5 N
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 {5 g$ x! f1 ~3 m8 L0 C1 w1 i
  25. ; they might mean something in the future.
    3 X0 m" l; C9 Y- ?- A

  26. ; S  g, l4 f6 w& }/ p
  27. ; Directives following the section heading [PATH=/www/mysite] only
    1 z2 d8 b0 y5 G! B5 ^, w3 g
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : z: B* X* F2 I8 k
  29. ; following the section heading [HOST=www.example.com] only apply to
    , P7 J: E: @( O: O2 {" m
  30. ; PHP files served from www.example.com.  Directives set in these
    # m% W, _" R0 S2 ?/ Z
  31. ; special sections cannot be overridden by user-defined INI files or' r/ k' w  V5 l- S3 _' _7 M
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 p' k' F+ b5 C( n$ l4 O9 H* P. I
  33. ; CGI/FastCGI.; r- z5 x  ?0 W* i" e
  34. ; http://php.net/ini.sections
    8 s/ P5 B) u% A6 R! G: ]

  35. . W6 P% n8 h7 I: W, ~' [% H9 F
  36. ; Directives are specified using the following syntax:% z" h+ A( D9 L: T
  37. ; directive = value
    2 p8 r8 `4 n. a) X5 O6 X9 s
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.6 |& F7 l' f& E1 ~3 i; |" T
  39. ; Directives are variables used to configure PHP or PHP extensions.
    1 k. C5 Z6 N/ r
  40. ; There is no name validation.  If PHP can't find an expected
    8 D* p: T; J  u8 ^; J
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # n! z2 }+ V: W1 w! j+ ?
  42. % A+ G2 ]# T# V
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / S& b& A. E/ `& q- K2 i6 v% ]1 P* m
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    * Z' |$ p) C2 B* t9 X
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a0 {  ^% P, p- p- {/ F* j- F
  46. ; previously set variable or directive (e.g. ${foo})3 t9 _1 u  w. H4 W: {  M; N- s

  47. 3 p; G1 S( S% a6 z  @. h1 U
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' U! ?. u4 \1 p) I+ W
  49. ; |  bitwise OR( k  ~& q. j% u, C# ?
  50. ; ^  bitwise XOR
    7 \# f+ m  D8 F. {3 J
  51. ; &  bitwise AND
    2 [# _2 ^  S1 Y* _1 W
  52. ; ~  bitwise NOT! b4 {' j' N/ x
  53. ; !  boolean NOT9 F  S) `$ n: O, q6 u9 g" g% x6 i
  54. # @9 H, d: V6 T! q9 V- f% Z' r
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.( h- o* ]& T  l
  56. ; They can be turned off using the values 0, Off, False or No.
    9 d; s" S% z5 I+ S) N* l9 f, p

  57. % R) K5 j" U) m4 e* Z- l
  58. ; An empty string can be denoted by simply not writing anything after the equal
    * ?2 m/ _; I' b8 `! D, S4 |; K/ t
  59. ; sign, or by using the None keyword:
    8 P* L3 @* B8 M# s0 `1 L9 q

  60. * V) D9 C0 n2 v5 y% i# c* z
  61. ;  foo =         ; sets foo to an empty string
    8 P1 B/ S# H7 ~" G+ K
  62. ;  foo = None    ; sets foo to an empty string
    0 P# z( o: E& W  m& I  N
  63. ;  foo = "None"  ; sets foo to the string 'None'9 h, k- N: \& h' o: f; A
  64. 0 z- k1 q% x! S
  65. ; If you use constants in your value, and these constants belong to a
    - W: j; {( \; e2 y- Y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 M) q: e: G; b! ~
  67. ; you may only use these constants *after* the line that loads the extension.4 V, `3 C) w8 H# X+ @* G" }, [
  68. . y7 `1 y' @' ~  ]
  69. ;;;;;;;;;;;;;;;;;;;3 D' e4 s3 j; q9 d" K+ A3 Q
  70. ; About this file ;% [4 Y! d4 v" g' {* P
  71. ;;;;;;;;;;;;;;;;;;;
    2 Z- G2 l* D' a3 n4 K+ y  z* f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used0 d) S0 ^' H& d: n
  73. ; in production environments and one that is recommended to be used in
    6 ]6 ^' r, v# G% V5 |. T- P" h) A  E
  74. ; development environments.
    7 h' a2 {6 C8 {- t8 _1 l

  75. 9 O/ v" _% ^+ i
  76. ; php.ini-production contains settings which hold security, performance and$ ?, Q2 g$ _0 r' O4 \9 D: [" q
  77. ; best practices at its core. But please be aware, these settings may break
    9 K! k- q" H# b+ Y1 d) |' d) @
  78. ; compatibility with older or less security conscience applications. We- w: V/ g4 X, O% p
  79. ; recommending using the production ini in production and testing environments.9 M$ j" U+ t7 s0 b% Z
  80. : l" K6 m5 j6 f- N; |! q# l
  81. ; php.ini-development is very similar to its production variant, except it is
    ) o' v5 `) Y  B5 C% Y4 G' B% i7 P% w
  82. ; much more verbose when it comes to errors. We recommend using the
    / U9 @# r: |2 p- J
  83. ; development version only in development environments, as errors shown to
    " D9 G9 {+ E4 k, f0 g
  84. ; application users can inadvertently leak otherwise secure information.
    3 y+ m+ ^7 Z5 W

  85. 9 {" ]( Z6 M, V. {% D+ `
  86. ; This is php.ini-production INI file.  @& {$ V2 ~2 W- C/ G3 m
  87. 4 v! A: M& T2 a( `% I' x
  88. ;;;;;;;;;;;;;;;;;;;0 ]1 {( q) P- v" @
  89. ; Quick Reference ;
    / L% k% N! h/ u1 i2 J- J
  90. ;;;;;;;;;;;;;;;;;;;
    3 u' m8 g) l% U% p& _
  91. ; The following are all the settings which are different in either the production
    # T: w! q$ Y0 @' u  m5 Q2 S
  92. ; or development versions of the INIs with respect to PHP's default behavior.6 X2 o2 V: d3 p' U
  93. ; Please see the actual settings later in the document for more details as to why+ F2 B( L2 Y' _" S) }3 t5 _
  94. ; we recommend these changes in PHP's behavior.& i3 y2 K; S; y0 }
  95. 7 A, S( \3 D% O3 ?% C, k
  96. ; display_errors0 B6 B5 _( y9 t1 `6 j7 R. ~; M9 ^. l
  97. ;   Default Value: On1 ?+ _& t+ y+ p" x9 |! ?: \' {
  98. ;   Development Value: On& a. d  _# \" v9 k: v
  99. ;   Production Value: Off
    ! G% {: P( L6 p% m) ]9 Y5 f, D
  100. 4 O- y9 |1 P* S/ P2 [
  101. ; display_startup_errors
    , c9 C3 E; [5 Z" Z& T
  102. ;   Default Value: Off
    & N; m7 @* \" Z; k. x7 A
  103. ;   Development Value: On/ A8 q8 M6 {- W2 ?% c; ?
  104. ;   Production Value: Off- |- }5 Y, `: v) v4 i. m5 u

  105. , ?/ \! r# P  t. \, ?
  106. ; error_reporting
    5 b5 ?; q' L0 A3 e4 j) t& c# Z/ F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ i8 ]* i: j% _- u* Y/ }6 C: X
  108. ;   Development Value: E_ALL
    * P, m5 o4 z+ L' I2 ?
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : z: Y9 R% Z/ G2 J

  110. 7 ]. M; n: X6 B3 q8 p" F6 L% i
  111. ; html_errors
    4 q/ j7 M% f4 r$ c  m8 o
  112. ;   Default Value: On6 h! M( x" V  d# T: L
  113. ;   Development Value: On
    3 o8 J! g: g" T" H' C! c. h
  114. ;   Production value: On
    0 r: U" ]: W1 c. a4 D" d% o. X
  115.   X/ m2 t5 b1 P& Q& y' N3 L/ c7 i
  116. ; log_errors
    # Z; E4 I( i7 _) X% M
  117. ;   Default Value: Off
    " x6 n, g+ N- w2 K" @3 a5 K
  118. ;   Development Value: On
      A/ H3 D* V+ |
  119. ;   Production Value: On$ ]# k4 ^! _) |9 i) `0 k  H
  120. 5 ?% _( N, m* X  B2 i) a
  121. ; max_input_time
    9 P* Y5 t. J% M5 B+ f% V4 U
  122. ;   Default Value: -1 (Unlimited)
    4 w  u  F7 V8 J6 A6 ]8 N8 @
  123. ;   Development Value: 60 (60 seconds)  _. y1 q/ G4 R+ H6 [; M0 \, S  G( b
  124. ;   Production Value: 60 (60 seconds)
    0 I# z' T6 b# z+ d3 ^: G2 y& T# ?

  125. $ t, j% D" h1 ?9 E1 A& `% R
  126. ; output_buffering
    ( d, P0 h: S6 x( t, H% r2 S7 B8 v
  127. ;   Default Value: Off
      r# q$ B' k; {1 R4 k+ p7 M
  128. ;   Development Value: 4096; T+ {2 W7 h& l7 P" @  A
  129. ;   Production Value: 4096. C$ s, _# M1 p. r% Q# x
  130. 5 ]0 j: t7 }" X
  131. ; register_argc_argv
    $ D  m4 r7 e/ \2 s2 n
  132. ;   Default Value: On
    + I# c) @- ^: \6 _& Z
  133. ;   Development Value: Off
    8 q! o4 b8 M6 x; o) i9 Q
  134. ;   Production Value: Off: s( ~' g$ B/ @

  135. ' g" a$ D5 P1 z) l
  136. ; request_order' p- u/ p9 Q- I* `6 E  s9 o
  137. ;   Default Value: None6 C+ p2 E/ R$ z, M& P0 X5 _- _
  138. ;   Development Value: "GP"9 z6 l6 h1 f0 m0 j
  139. ;   Production Value: "GP"3 K9 G1 ^; O0 A% V

  140. 5 W" A9 {! B7 M6 L* P2 B
  141. ; session.gc_divisor
    2 R' y# j& K3 f* F. C
  142. ;   Default Value: 100
    * [: E8 a8 r6 |
  143. ;   Development Value: 1000
    , ?& w% Z" C6 z' Z+ h2 w, u( A4 X0 E% [
  144. ;   Production Value: 1000
    ( W9 g4 l: d0 Q) H' L9 W1 ^

  145. 4 P3 r( m7 R& l  X# b2 n
  146. ; session.hash_bits_per_character9 O( c1 S! y' x2 @8 z+ D4 H
  147. ;   Default Value: 4
    2 E+ K4 k6 d8 \, K6 G6 N% l; y
  148. ;   Development Value: 51 y# i1 L0 c& J- o' \7 _
  149. ;   Production Value: 5
    * m2 [' p  {8 ^0 |) Z
  150. 6 T9 |/ I) n) P- |
  151. ; short_open_tag
    . d, C. I' _  B; u
  152. ;   Default Value: On
    , i; z7 [- V( s+ O$ M3 O! X
  153. ;   Development Value: Off
    - ~6 M, H2 E* n# P, C
  154. ;   Production Value: Off' |( A$ P0 u6 w3 x& r

  155. . T8 B) P  K4 T, D
  156. ; track_errors$ f0 M/ g8 b) f" Z
  157. ;   Default Value: Off
    ( C7 e- P1 P. f+ G) u$ B
  158. ;   Development Value: On
    8 e0 V9 o: u( A4 `6 G1 F+ @
  159. ;   Production Value: Off8 N7 ^! h4 v$ H2 N& Z
  160. # i' I: i2 Y1 f* D! @
  161. ; url_rewriter.tags8 r- G$ @- g, v6 x
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ r* F% g8 E# H
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ ], Z( v6 h; `( g% U7 U" O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 w: C" a8 i- y9 p8 h

  165. # s* t0 K# d! B& j  v1 s0 E
  166. ; variables_order
    : B) i. Y: X# w6 L- v
  167. ;   Default Value: "EGPCS"
    2 F$ ~( }8 V& a! @+ @1 n, c
  168. ;   Development Value: "GPCS"% `, A8 S9 h$ Y6 |& T
  169. ;   Production Value: "GPCS"
    . D" ]0 e) ?% u! j) ^: |6 _8 A$ @

  170. 8 `/ Q9 b# _- D! a9 y7 `" K' l
  171. ;;;;;;;;;;;;;;;;;;;;) j% K' C, W4 x( {* o
  172. ; php.ini Options  ;" n7 C# ?0 R: y0 N$ _" z
  173. ;;;;;;;;;;;;;;;;;;;;) b0 O& I3 Y1 y5 y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"3 X4 Z1 X: @2 ^8 m
  175. ;user_ini.filename = ".user.ini"% E3 _; ^2 i2 F
  176. " N6 k7 _) {0 k4 P1 I0 s2 u
  177. ; To disable this feature set this option to empty value
    + c6 @' n+ T/ n& V- ^- C/ R( ]
  178. ;user_ini.filename =
    1 O2 ]) Z2 @8 F4 W; P' V  F

  179. 9 G9 r1 y' N% G9 i- t4 N
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ( W% r* y, Y' r3 D) O& Z
  181. ;user_ini.cache_ttl = 300
    # C" L1 n  X! ^! Y& Q+ U( ?+ y

  182. . c, ~, M+ a) z! v( k2 r  B" O
  183. ;;;;;;;;;;;;;;;;;;;;6 ^: _, B$ z' \' J* j
  184. ; Language Options ;
    3 V: K7 w: a. W0 v4 @) X
  185. ;;;;;;;;;;;;;;;;;;;;. B) \2 U1 V( Q( l) B# W. @3 @

  186. ( F1 Y5 y& A6 q9 R% W6 ^4 r
  187. ; Enable the PHP scripting language engine under Apache.
    8 _$ i# [( g( {0 x/ ?
  188. ; http://php.net/engine2 F8 }5 p; `$ q6 E/ Y7 v. P
  189. engine = On
    2 y% I5 a( a6 o; L) N' c  f9 O; A, G

  190. + N8 u* v3 }- U7 ~2 J  p/ V
  191. ; This directive determines whether or not PHP will recognize code between8 r: V, S" i( x* a% c6 V
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    0 \4 j: M3 ^* v0 i& W
  193. ; generally recommended that <?php and ?> should be used and that this feature# f3 n4 B/ A( f" J: D
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ s3 Z/ v# P: j
  195. ; documents, however this remains supported for backward compatibility reasons.) H: ]! H5 v2 B
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    0 g5 Z) c- W  u. `) ~( Y" k# J
  197. ; used regardless of this directive.
    7 ^/ n0 |0 \& K8 T& G# B) v( Q7 g5 f
  198. ; Default Value: On1 h( a, G, }5 G" b: w& h. h
  199. ; Development Value: Off! @. j# a  e; G0 F( g- J: a
  200. ; Production Value: Off0 ^" K6 {- [, M7 Q
  201. ; http://php.net/short-open-tag
    : ~. T$ K9 P6 d* O" d% _2 M( a$ l+ L
  202. short_open_tag = On
    $ i% t8 k9 t. m

  203. 8 `6 C; R$ `" S  t2 w
  204. ; The number of significant digits displayed in floating point numbers.
    ( b$ Q  P2 L* u1 J9 ^
  205. ; http://php.net/precision
    6 K/ |5 D5 G2 u2 |
  206. precision = 14; d) P# Z5 J8 Z$ P; G8 y
  207. # L( K  C1 Y& U0 ^
  208. ; Output buffering is a mechanism for controlling how much output data
    ) E1 `) l- A+ {  F8 K( U  Y' `
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! x' c0 |/ h( n
  210. ; data to the client. If your application's output exceeds this setting, PHP
    2 Z8 }% m2 `3 Y% K+ g
  211. ; will send that data in chunks of roughly the size you specify.; f* U, h" b# d
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    * C" J3 }, a4 C7 O4 m! n1 ^! l
  213. ; interesting side-effects depending on your application and web server.5 d' I+ x0 @+ ?$ K% @8 ~. b
  214. ; You may be able to send headers and cookies after you've already sent output
    " `# o9 z% b' E$ ~6 K
  215. ; through print or echo. You also may see performance benefits if your server is" ~2 M. K: n) R# S
  216. ; emitting less packets due to buffered output versus PHP streaming the output1 v* G, ~& r# n1 C, b
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 m! {" }) C/ o: N& a1 U
  218. ; reasons.
    5 r. @9 t9 ]0 v; s) E8 y0 u7 G
  219. ; Note: Output buffering can also be controlled via Output Buffering Control8 n0 h2 ?" L6 H0 Y; O4 ]
  220. ;   functions.6 _4 v% b  G0 p! d$ T- I
  221. ; Possible Values:
    4 r1 f$ Q  C: F0 }- Z0 E5 h/ u
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)! l! M" l" |: i6 F" ?' l! x! o
  223. ;   Off = Disabled9 `/ z4 }) z$ j- }: f! k
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # E: ~+ o1 ^+ T* Q8 M+ S; q
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI" O3 z- U3 R" d
  226. ; Default Value: Off
    7 p" @( K+ g4 k
  227. ; Development Value: 4096; Q; s/ ~* N0 \" A. C% h
  228. ; Production Value: 40965 |# a/ z8 S, [* U* s0 y* S* U& a' v3 p$ ]
  229. ; http://php.net/output-buffering# o: H& z* x/ o! J: W
  230. output_buffering = 4096$ t& s0 C6 Z2 {* Y

  231. 5 E9 k% `* F/ X3 Z2 |
  232. ; You can redirect all of the output of your scripts to a function.  For
    1 I0 P# o9 \: d+ X) P- `$ [7 l
  233. ; example, if you set output_handler to "mb_output_handler", character  m% y( ^* m3 E- n6 _- e9 L
  234. ; encoding will be transparently converted to the specified encoding.6 r, @9 i& M" w5 O, I9 ]/ B
  235. ; Setting any output handler automatically turns on output buffering.3 q/ _' x/ G( ?7 p+ r$ `. M; U
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ( S7 H( b! n6 b3 Y# y
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    9 m6 ?( t! `: f1 B
  238. ;   Using this ini directive may cause problems unless you know what script
    3 d  P/ W' ]) w: \
  239. ;   is doing.0 X) j: P* i0 n2 e- }  j
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    2 D( {* j$ g0 j0 U2 X
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    9 H4 j) h' R# ]6 ?) N' J
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ; ^( r: a- [' F! a) [
  243. ;   Instead you must use zlib.output_handler./ D( Z: W/ U! h4 b6 x* }
  244. ; http://php.net/output-handler
    + S  W5 w4 [! l& }+ W5 B
  245. ;output_handler =
    / b( d! b7 E* S) t% C$ k

  246. 1 k7 A- ]/ [- M5 }* _# O
  247. ; Transparent output compression using the zlib library( e5 K3 g& z8 m6 C
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size9 {- n0 W- }% J* x0 Z: m1 T& s
  249. ; to be used for compression (default is 4KB)
    3 k6 k  M/ Y# o* Z* K& X: [
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # b9 ?& A* X6 V! v/ c1 W
  251. ;   outputs chunks that are few hundreds bytes each as a result of: k+ x3 i% P3 ?  ~4 w1 E. b0 N$ N
  252. ;   compression. If you prefer a larger chunk size for better
    ) {0 U% _9 }/ I% t
  253. ;   performance, enable output_buffering in addition.' @2 O/ s& ]4 S+ l# `7 n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    9 K, R' p" I( U+ G, G, ?
  255. ;   output_handler, or otherwise the output will be corrupted.
    3 C6 Y# j* V! ~3 o
  256. ; http://php.net/zlib.output-compression* v; Q5 H$ g7 Q2 N  U. U8 z6 o
  257. zlib.output_compression = Off
    6 p  a& Q5 M8 o, g! D

  258. # P8 m( }+ g# @, Y  |
  259. ; http://php.net/zlib.output-compression-level: z3 Y" e1 ~) X' q- ^3 A
  260. ;zlib.output_compression_level = -1
    + G6 F; V& W% @

  261. 7 g: J" P$ n, j# O4 X
  262. ; You cannot specify additional output handlers if zlib.output_compression
    6 e( F; L$ f0 `) n: w- c
  263. ; is activated here. This setting does the same as output_handler but in+ s- Z$ P0 ^- y* ?* q/ f3 m
  264. ; a different order.
    & y, f6 F0 r9 z
  265. ; http://php.net/zlib.output-handler2 G& z: N. P" A, ]8 ^: a2 V8 G; x
  266. ;zlib.output_handler =
    $ \9 p2 h& }& L8 `6 R

  267. 4 `0 j( o* g. @5 M$ v
  268. ; Implicit flush tells PHP to tell the output layer to flush itself4 h' v/ l" R" m5 N3 V# @3 X
  269. ; automatically after every output block.  This is equivalent to calling the3 S+ E+ G; ], m! U' m% Q
  270. ; PHP function flush() after each and every call to print() or echo() and each/ X) C' y! N+ P( C- u
  271. ; and every HTML block.  Turning this option on has serious performance6 o% Q$ \( ?" P  t$ [
  272. ; implications and is generally recommended for debugging purposes only.
    : b. w! E# I2 K3 L& C: R
  273. ; http://php.net/implicit-flush
    2 @: L. u( o7 R5 N0 ^; n; m
  274. ; Note: This directive is hardcoded to On for the CLI SAPI+ T. ~3 h5 E4 B& \" S
  275. implicit_flush = Off8 H! V, D. K7 l3 E  x2 R/ i
  276. - D$ b1 n$ b- F9 A
  277. ; The unserialize callback function will be called (with the undefined class'' S9 v4 d( R1 J" n  h% ?" P& z7 |
  278. ; name as parameter), if the unserializer finds an undefined class
    ( x: x: k( s  T7 t
  279. ; which should be instantiated. A warning appears if the specified function is, E( B1 [* ]2 |- n& b- h7 [' P
  280. ; not defined, or if the function doesn't include/implement the missing class.
    5 l8 l/ M8 @9 ]; G" U4 W
  281. ; So only set this entry, if you really want to implement such a
    / ?- Q' E# z0 A" ^2 ~
  282. ; callback-function.; R+ ]: K3 U5 Z1 N  f% c; \1 P6 }
  283. unserialize_callback_func =* R5 B* t1 x4 L
  284. 3 v9 {+ ^2 a; N9 w
  285. ; When floats & doubles are serialized store serialize_precision significant
    ' B: m0 J+ Q4 c) P
  286. ; digits after the floating point. The default value ensures that when floats
    5 a! Y# B1 [* T" k: V1 v" i5 ~+ b# T
  287. ; are decoded with unserialize, the data will remain the same.
    4 b8 M4 P0 O+ s6 Q( \% D; C  A
  288. serialize_precision = 17/ E5 \! y* {" M

  289. + v4 M, O% r% `: @" O4 Y& d) n
  290. ; open_basedir, if set, limits all file operations to the defined directory
    $ P9 v/ ?' d5 ]9 S. j
  291. ; and below.  This directive makes most sense if used in a per-directory
    ; A2 ^, V2 \: \. w1 ^
  292. ; or per-virtualhost web server configuration file.
    . S1 J+ f; B* q4 ?; r
  293. ; http://php.net/open-basedir
    ! j% I! f' m1 `& m% }) [5 e
  294. ;open_basedir =9 p  Y& c9 y5 _- ^" x
  295. 6 h: o6 j. v5 L3 Y. }' U/ R" @
  296. ; This directive allows you to disable certain functions for security reasons.
    ! t# y5 |% g, _' D
  297. ; It receives a comma-delimited list of function names.
    $ N( D7 C8 S% A
  298. ; http://php.net/disable-functions; C6 i0 L+ C2 f5 `! X$ ?
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# ~6 P  ~8 [' v

  300. - `1 ^, ^& ^$ c( j0 E0 g
  301. ; This directive allows you to disable certain classes for security reasons.
    8 H5 w4 s" f; @% E6 M% x8 D3 A, h
  302. ; It receives a comma-delimited list of class names.; g3 t# u. C' |) n, i: e
  303. ; http://php.net/disable-classes; Q! z1 L9 v# U) O
  304. disable_classes =
    7 X$ X1 q, Z8 `3 C2 l

  305. + |" m6 p, r" F. c2 F6 N
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in( L  n9 m6 N- o4 D
  307. ; <span style="color: ???????"> would work.
    + k# b4 w+ ^( F
  308. ; http://php.net/syntax-highlighting
    ' o( A* Z$ a$ g
  309. ;highlight.string  = #DD0000
    5 F9 K; ]2 g6 N) B" \/ ]
  310. ;highlight.comment = #FF9900
    3 W# I5 H9 S- W+ C. h
  311. ;highlight.keyword = #007700
    6 s. J% z% a- ~! q+ b4 M
  312. ;highlight.default = #0000BB
    $ W1 e  s3 ?0 y, ^8 W
  313. ;highlight.html    = #000000
    # i/ R0 y6 Y; [
  314. " v% I. q; U- P' k9 Q. u$ _
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    + b( q7 D! {  J  n' Y
  316. ; the request. Consider enabling it if executing long requests, which may end up5 e* b1 J- Q5 n/ _1 E1 x
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior) f7 o+ E" B' S5 W1 O
  318. ; is to disable this feature.
    ! [, T. ?2 ^0 @! K4 M
  319. ; http://php.net/ignore-user-abort
    4 ?! o3 F& b/ l2 j$ j# C4 m
  320. ;ignore_user_abort = On+ x- F5 i+ {" O' _% @  F
  321. . q: X) m; G; x
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    8 U/ T2 ~9 h: u
  323. ; be increased on systems where PHP opens many files to reflect the quantity of3 Q0 w$ J6 r4 H6 M: D# I! r5 l
  324. ; the file operations performed." l3 i. m, Z+ ~$ T
  325. ; http://php.net/realpath-cache-size
    6 s0 g* E+ r) |6 H3 ^* I
  326. ;realpath_cache_size = 4096k
    ) c- r  p. g7 f& j7 C" A
  327. . J0 B  |. s& @5 d
  328. ; Duration of time, in seconds for which to cache realpath information for a given; D6 J0 D4 m  p* c1 R
  329. ; file or directory. For systems with rarely changing files, consider increasing this4 y5 {$ R9 H# m8 H
  330. ; value.- D8 ?4 v! ]+ _0 N, Q& I# y
  331. ; http://php.net/realpath-cache-ttl
    4 P8 t/ R0 L) g' S& f# J1 M
  332. ;realpath_cache_ttl = 120
    1 g- k8 J+ W. d4 {

  333. ; a2 M4 }: x; E* V" Q# L) m! s
  334. ; Enables or disables the circular reference collector.
    ( t) O* m, i/ W: S- U4 P5 P
  335. ; http://php.net/zend.enable-gc
    / A- U! \; E7 B! _( o" Z
  336. zend.enable_gc = On: G2 _) m0 G" `$ V" y: l4 i
  337. 2 O% s, z6 i0 ~% f! P8 U) J7 U4 S
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    4 x* m2 z" @5 W, D0 k
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ( O3 |1 y! V; T
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    2 Q4 f5 z  v, j; h: G4 p6 Z
  341. ; Default: Off2 h: j! g! W9 T2 }; T$ N7 P$ V. T
  342. ;zend.multibyte = Off" Y: M- m# ], Q7 \. {6 i- ^8 {
  343.   q; n- q+ ^% K) A
  344. ; Allows to set the default encoding for the scripts.  This value will be used/ T& [1 S, ~% r# Q" y# J
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
      g  N' ^$ I) F0 u! Y) P
  346. ; Only affects if zend.multibyte is set.& o$ H$ W- W+ l
  347. ; Default: ""
    9 n  r: N$ |3 D" g  B
  348. ;zend.script_encoding =
    - y' D. ]. C2 Q- ]' a
  349. $ O! j( ~9 O4 ?$ D
  350. ;;;;;;;;;;;;;;;;;$ _& Z& |3 r) m
  351. ; Miscellaneous ;
    ! P+ e3 L" i/ v( u3 L
  352. ;;;;;;;;;;;;;;;;;% t- f2 ^, q- j0 ~  _, d8 m

  353. - d% z9 y. Y5 x& V6 D5 l$ q/ v  x0 b
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! j. \" n* J2 _2 ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 v$ H3 h5 X' `
  356. ; threat in any way, but it makes it possible to determine whether you use PHP) X4 G- G% u0 R
  357. ; on your server or not.
    & d# i  g, F- b  P
  358. ; http://php.net/expose-php7 Y1 r, n0 B% R$ x) F
  359. expose_php = On
    . b9 r2 a9 S) n% b4 X  I

  360. 8 ]' A- N( L! |
  361. ;;;;;;;;;;;;;;;;;;;- [+ p" d: q$ {  {( S# d. y
  362. ; Resource Limits ;
    / h0 C! M" }8 N" t9 z
  363. ;;;;;;;;;;;;;;;;;;;( n' [- m5 G% \% \" ~3 r3 n
  364. 8 v# L- X" O$ o0 A% v
  365. ; Maximum execution time of each script, in seconds! i# L3 o; {7 |2 b& o
  366. ; http://php.net/max-execution-time
    ) f5 R: t7 [3 }! d; c: R' v# c. ?
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    # b8 R+ @6 d- M* Z9 x& K, Q
  368. max_execution_time = 300
    5 W* T' q$ S! Z) X4 c0 s* o# k* e5 r

  369. " ?% n4 k7 N9 d6 S- k
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' [) u7 N& e) E/ o: j3 U1 O; m
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 k3 _  m& d. ^+ |5 e. s; m, Q6 J
  372. ; long running scripts./ M1 m# y9 K" Y9 m9 w  |# C
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    $ e  M$ K% D, x& V6 x5 I  h
  374. ; Default Value: -1 (Unlimited)1 _& r) O0 Q0 _& _- y7 T/ M
  375. ; Development Value: 60 (60 seconds)4 R" V* ]. T& A' f% S3 |: c
  376. ; Production Value: 60 (60 seconds)
    , N- n8 Z( H, p& F0 J% |
  377. ; http://php.net/max-input-time
    3 G; J- ~7 }: h4 j
  378. max_input_time = 60
    7 j& ~/ X6 ~! K# X5 Z; m
  379. , n  m2 O" b+ |' L( m
  380. ; Maximum input variable nesting level
    # b9 a' Q$ K; @! F1 c  ^6 N! P
  381. ; http://php.net/max-input-nesting-level
    5 ^: b- B( L4 Y5 |4 ^8 {5 o3 T
  382. ;max_input_nesting_level = 64
    ( G% M+ }$ W9 s) o0 b& H: }! }/ O

  383. 2 ]+ i7 ]/ A4 ~. H  V, H
  384. ; How many GET/POST/COOKIE input variables may be accepted7 A( ~) e" G1 l" H% W# X. c) B' k
  385. ; max_input_vars = 1000
    9 ?& g2 N9 [4 e

  386. 9 Z# M& Y9 ]9 A& d4 @6 e# R% e
  387. ; Maximum amount of memory a script may consume (128MB)# E! S: A( D  ?. T  n0 T
  388. ; http://php.net/memory-limit' g+ p9 r( S, b. n: J8 H  E. z
  389. memory_limit = 128M6 N" v3 j% k( {- X: U- o  S
  390. + |# K# M8 c* w( A  t
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # ]: C* m+ y5 A3 W
  392. ; Error handling and logging ;
    " ~- q# U4 X! @8 e5 Y/ F2 c( E: l( c
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! z; R( }  N1 |5 Y& F0 H
  394. / y/ G" z  Z' ]8 P7 E8 p
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    , r3 I1 @7 H' p5 n) o8 V% z
  396. ; it to take action for. The recommended way of setting values for this8 V: {( n; j' ]" l5 d
  397. ; directive is through the use of the error level constants and bitwise2 M. s8 R$ ^" b/ u
  398. ; operators. The error level constants are below here for convenience as well as" r3 c- z4 t- m. S# r5 ]; _
  399. ; some common settings and their meanings.
    / i3 M9 b; e; O) N* ^5 f9 X
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ C) V: o1 P2 b$ E0 i" x+ ^4 i, ]
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    / U  q3 j  [, f8 B& o
  402. ; recommended coding standards in PHP. For performance reasons, this is the, F$ W6 X+ c+ h  U8 Z( t1 n
  403. ; recommend error reporting setting. Your production server shouldn't be wasting, i1 n1 D* K/ P8 U- f" B" Z  C4 @
  404. ; resources complaining about best practices and coding standards. That's what
    , k* r# }8 s9 E
  405. ; development servers and development settings are for.
    0 q4 L: h; k% x, q* H, ?# S
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 ?. a6 ]1 R7 R
  407. ; means it pretty much reports everything which is exactly what you want during( f9 p' i: K( O+ r
  408. ; development and early testing.
    * ]1 |6 ~* H4 n+ D3 D4 `" B
  409. ;
    % I$ L& N  @- X
  410. ; Error Level Constants:8 T, X/ u7 o* O. f: C! t! }1 a' u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)$ f3 l( W  O& D+ D7 q7 p
  412. ; E_ERROR           - fatal run-time errors) G- ]7 e) J% ]) w6 ~( |
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " D9 Y3 t: R8 E* u3 O
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ' V5 D. v0 B, U4 d5 W. l' @
  415. ; E_PARSE           - compile-time parse errors
    0 I8 B5 h3 F9 s6 Y9 y
  416. ; E_NOTICE          - run-time notices (these are warnings which often result, D: f7 I4 c3 I/ U' l( J
  417. ;                     from a bug in your code, but it's possible that it was
      Y6 o4 ^% |1 f. O
  418. ;                     intentional (e.g., using an uninitialized variable and
    * P! s" ?" y) W
  419. ;                     relying on the fact it is automatically initialized to an
    " p; F" U* ^2 A0 R6 r
  420. ;                     empty string)
    / C% Q0 L4 f  u6 [* D. C- C
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: ^/ P8 Z+ W( m" H4 C. _3 u
  422. ;                     to your code which will ensure the best interoperability# i6 D/ _; S+ [  [6 @" t; c
  423. ;                     and forward compatibility of your code7 ]5 J6 g5 r3 U& G: |7 `
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup/ a1 T* M+ Q* k9 b3 a
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    8 |! p+ ?. g  l. z6 l- ]3 j) Y
  426. ;                     initial startup& Q/ G7 q* }* i
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    4 T3 f% l3 f) e# d1 I
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  D' J( B" t( K/ B9 R
  429. ; E_USER_ERROR      - user-generated error message4 [8 S& a: M: {
  430. ; E_USER_WARNING    - user-generated warning message
    3 l7 h1 o0 n# g' y; ?8 X) H
  431. ; E_USER_NOTICE     - user-generated notice message
    ) j9 h4 L- [- V! r8 c2 u. m
  432. ; E_DEPRECATED      - warn about code that will not work in future versions, {: w- X+ p" i6 t# T6 L6 C
  433. ;                     of PHP- [# z0 p& g2 x
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings7 s% _, S- e$ a- F
  435. ;
    6 m% z. e" b# }" B
  436. ; Common Values:
    " l! X+ a0 a, h5 n  q+ v
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)0 [! z: c' f3 l0 G- h: a
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . Z: J  S6 v0 r* B. W  ?/ v4 T) }8 z
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    " n' H, Y2 |9 q+ A/ X: S
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ _. `: L. g' e- {
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% S* u4 i# p4 _$ V
  442. ; Development Value: E_ALL
    1 }1 h$ U. v# d
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  s3 P" H9 k( ?/ V6 Q1 C
  444. ; http://php.net/error-reporting
    ' l& t. ~: O* T! Q+ a: {
  445. error_reporting = E_ALL & ~E_NOTICE
    ! K  k' h0 d- J3 t8 _
  446. ( {! ~5 h3 _5 C7 |+ I
  447. ; This directive controls whether or not and where PHP will output errors,2 e- U0 w  J7 W4 w4 O
  448. ; notices and warnings too. Error output is very useful during development, but
      F" [# _( i2 ]0 d4 v/ ], ^9 m- C
  449. ; it could be very dangerous in production environments. Depending on the code
    ' F3 @& |" p! \; o" J- j
  450. ; which is triggering the error, sensitive information could potentially leak0 r  w: {- h9 {: ?
  451. ; out of your application such as database usernames and passwords or worse.# D6 [8 t: F, d0 y2 f1 p
  452. ; For production environments, we recommend logging errors rather than7 N% h" }3 R! e) L- Z: m
  453. ; sending them to STDOUT.  k/ J: ^; @% I  l6 Z4 d
  454. ; Possible Values:
    8 |5 g% N4 e3 T8 e2 R
  455. ;   Off = Do not display any errors
    ( ~+ f1 H) @0 y4 y
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    . Z# n1 w+ f; y6 c/ n4 V1 j% R
  457. ;   On or stdout = Display errors to STDOUT
    8 O9 ^8 Q4 s# r. h& w3 S: v
  458. ; Default Value: On" `& O- I+ H. j* i! t- t: }# |
  459. ; Development Value: On/ x* ^% F4 p) ^( q) A9 [8 Q
  460. ; Production Value: Off
    ' V% Q) D& a; H4 D1 K+ a( k
  461. ; http://php.net/display-errors7 {( f+ @$ y3 @; f0 m
  462. display_errors = On! F, N2 u9 }' x
  463. ) x/ K9 z6 j4 F- @5 m/ }6 {7 F
  464. ; The display of errors which occur during PHP's startup sequence are handled: U! a7 t5 b8 d! [
  465. ; separately from display_errors. PHP's default behavior is to suppress those5 P  q- V  M2 C4 z; Y4 U& j
  466. ; errors from clients. Turning the display of startup errors on can be useful in, v. ?( u9 ^! ~# B+ o
  467. ; debugging configuration problems. We strongly recommend you& g- C3 T' J+ G
  468. ; set this to 'off' for production servers.
    , H  D  [& _: K# ?" l
  469. ; Default Value: Off8 ]! {- g: G0 z0 V7 l0 s! j2 Z
  470. ; Development Value: On1 G' \6 N2 I/ v1 n% L
  471. ; Production Value: Off
    2 v6 \: F; O/ l; D" W* C
  472. ; http://php.net/display-startup-errors
    : ]: \+ w9 R( m* i% h4 F; H5 M( r
  473. display_startup_errors = Off
    0 T- z& H+ ?3 s
  474.   H0 o7 ^/ f5 U: q$ }: n
  475. ; Besides displaying errors, PHP can also log errors to locations such as a2 I; d; n$ h* h0 u- r& n  k
  476. ; server-specific log, STDERR, or a location specified by the error_log
    - b9 @, o( G# _% e
  477. ; directive found below. While errors should not be displayed on productions1 A- r- Y* _9 k6 p6 A) U: X
  478. ; servers they should still be monitored and logging is a great way to do that.7 G% X' S5 D0 X! m+ w
  479. ; Default Value: Off
    7 E- S6 E: {1 Y: Y; [  m# B
  480. ; Development Value: On
      R7 a7 H' f! q4 I" U; v+ t& w7 p
  481. ; Production Value: On
    ! h4 Q8 N; m" ~* m
  482. ; http://php.net/log-errors
    2 }* W* t  O8 {" A4 L1 c4 V
  483. log_errors = On" r2 m4 n" ~$ \' {2 `8 T+ D1 ^
  484. 4 z4 J( P! ?7 X  G
  485. ; Set maximum length of log_errors. In error_log information about the source is& C8 D) h, Q- a: h
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! R& _: B, Y; B: z) N7 T
  487. ; http://php.net/log-errors-max-len7 i. N$ y) e5 z" ?/ |
  488. log_errors_max_len = 1024: f2 Z6 y  H1 t% _6 T  w

  489. : I5 V! ]  l: }# R" H
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same  m* f+ y" }8 A. Y( d) K: k6 h' L
  491. ; line unless ignore_repeated_source is set true.# e. F6 v/ @2 I' b1 T
  492. ; http://php.net/ignore-repeated-errors* s. ^) G0 J! K! ?2 ?
  493. ignore_repeated_errors = Off1 b1 K) v& x4 R$ b
  494. + y; [/ }- {; c9 X; \$ l% t
  495. ; Ignore source of message when ignoring repeated messages. When this setting* s! C: {$ o, \' G" e
  496. ; is On you will not log errors with repeated messages from different files or
    ! x5 h: a- S. K; q
  497. ; source lines.
    ; Z; q7 s8 k9 ^8 _
  498. ; http://php.net/ignore-repeated-source
    0 _2 M( W4 r) p# t5 k" o: m
  499. ignore_repeated_source = Off
    . [0 k2 A7 s9 N- V6 v9 f" p

  500. 5 h0 s7 H/ K; P2 R9 t' ~
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    6 n4 R0 c+ {& L8 f, l, f  ]
  502. ; stdout or in the log). This has only effect in a debug compile, and if; p4 _5 R, T3 `9 p+ B
  503. ; error reporting includes E_WARNING in the allowed list# k9 c  z# i7 v
  504. ; http://php.net/report-memleaks/ s) b5 Y2 H: S5 o  P" m2 ?
  505. report_memleaks = On
    3 X$ m) _4 k$ {. K3 {4 \, y
  506. - {6 L# r1 @0 {& N8 D, ]- E* D
  507. ; This setting is on by default.+ |8 C! B1 o, x4 i+ D4 W& U0 n
  508. ;report_zend_debug = 0, S' P7 \5 o, ~5 M. |

  509. - X9 h6 i" k0 E* }
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ) [( Y, g7 r, ]( d
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    1 @6 r. y( |. s8 u! k8 d/ w
  512. ; however be disabled on production servers.
    . [7 S' M1 [& I( c/ _/ s  d8 D+ u8 v
  513. ; Default Value: Off
    0 j8 a8 ?* p5 ?% q
  514. ; Development Value: On& b1 K6 E3 i) T9 d- V
  515. ; Production Value: Off
    8 _' d0 u  K$ N9 J) z
  516. ; http://php.net/track-errors
    " a% ^  |8 ?! R" U5 @
  517. track_errors = Off/ I( m. r; G1 k6 u2 A' `

  518. * `4 \, X# B4 x
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    4 |% ^+ n0 v5 x" A: H! H+ @
  520. ; http://php.net/xmlrpc-errors
    " {$ h  R# g, W
  521. ;xmlrpc_errors = 0
    5 j/ S/ T9 v  S4 o- }9 a8 R( D! S7 ~
  522. ) Z2 G8 L9 X' c4 K2 r7 w5 A' o  e; ~
  523. ; An XML-RPC faultCode
    " s9 D3 ^; U- i8 D/ V! w
  524. ;xmlrpc_error_number = 0
    , a; J  e0 `5 x: J% x
  525. 7 y" N4 O* {5 {! W" F0 {
  526. ; When PHP displays or logs an error, it has the capability of formatting the' `. z$ K: L. v+ M
  527. ; error message as HTML for easier reading. This directive controls whether
    . W  B4 r$ g) ]& Q% B2 T
  528. ; the error message is formatted as HTML or not." S4 m' s3 o3 s) x4 b5 ^
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI: v9 J# _  [8 E- T! @
  530. ; Default Value: On- T- [* O0 \: y: A
  531. ; Development Value: On3 l( ?7 s* }# B2 y  v/ d- @
  532. ; Production value: On
    ) G2 Y- R3 J+ E, \, F, n+ ^
  533. ; http://php.net/html-errors
    9 w- g( @& q8 o7 q- W
  534. html_errors = On5 ^5 g2 Q2 z& u# s$ k

  535. ( H" d" a1 P! @- [9 B# k: W
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP  ^# T" Q, h8 k( U2 N
  537. ; produces clickable error messages that direct to a page describing the error
    * u3 B) J# `8 G+ w- C  u
  538. ; or function causing the error in detail.
    2 N) F- x+ S/ F) }
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    , r( C. @8 g1 a
  540. ; and change docref_root to the base URL of your local copy including the$ b- @- b+ F: a6 A- R: h& t0 X
  541. ; leading '/'. You must also specify the file extension being used including" I* g# R1 ]- |6 L
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which0 @( b4 n- ]0 k$ A2 w
  543. ; case no links to documentation are generated.
    - V& J: o- w' l; Z# N  J! @
  544. ; Note: Never use this feature for production boxes.
    4 V7 d, Q- @, a
  545. ; http://php.net/docref-root' l! ]: p* Y& j. s' `% x
  546. ; Examples
    , y. [& j9 V7 Z% L; H8 E" i
  547. ;docref_root = "/phpmanual/"8 I/ U- w* u1 s9 V2 v
  548. " y; {  Z4 g3 f1 t4 @
  549. ; http://php.net/docref-ext
    " v/ c' m* m( g; i# N0 u& _, g
  550. ;docref_ext = .html
      p$ l: a% E* Q1 t  V

  551. 0 d& S6 d+ t! f6 \
  552. ; String to output before an error message. PHP's default behavior is to leave
    & i2 R, p) b5 ^5 t
  553. ; this setting blank.! A  z! A3 S% K  G
  554. ; http://php.net/error-prepend-string0 P! p5 m6 h: r3 V* n1 T
  555. ; Example:1 t9 k& V0 Y/ s6 A8 {
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    . r& B( W% n- \  b/ \( J* [3 y# N6 Z
  557. 1 n/ ~0 I) l$ S6 O
  558. ; String to output after an error message. PHP's default behavior is to leave8 H# p' b9 b9 u6 F- y5 f1 K' T
  559. ; this setting blank.) }( F  t! Z; _$ W# s/ b
  560. ; http://php.net/error-append-string
    2 y6 S( N" [( m) Y
  561. ; Example:
    9 U: q, v" R$ F3 ]& k
  562. ;error_append_string = "</span>"& `/ ?0 R# m" v+ R- o! i
  563. 7 U. o+ a% F2 D! |# w
  564. ; Log errors to specified file. PHP's default behavior is to leave this value* d/ U" J+ w: k& O
  565. ; empty.
    ' g7 F( U8 p' O2 i
  566. ; http://php.net/error-log! M8 z  W# }  s. I# y- G5 D! {
  567. ; Example:) m8 Q# v9 O0 e! X  B) p
  568. ;error_log = php_errors.log" ?% o1 ]% w, U; o( h1 `6 T, ?
  569. ; Log errors to syslog (Event Log on Windows).. ^4 d. v: P" u4 ]- J+ c9 O
  570. ;error_log = syslog: ?1 t! Y" s, G/ a; G+ l1 z
  571. : w* Y2 e5 r" V3 T, E3 ^" r( l( \9 z5 \3 F
  572. ;windows.show_crt_warning1 q) }5 {) T* L6 N, u1 k
  573. ; Default value: 0
    & P# i/ v" p6 K% p' w) @% D
  574. ; Development value: 08 j7 C! I- j, h
  575. ; Production value: 0
    + V0 ?- i  T6 k( I
  576. - ]3 u& M9 m/ v$ Q% c7 G/ w/ e, v2 P, p7 @
  577. ;;;;;;;;;;;;;;;;;1 b' B3 W. _3 i2 N
  578. ; Data Handling ;
    8 {/ k: b1 s% ^  U5 ]6 b
  579. ;;;;;;;;;;;;;;;;;
    * F' A. n  [& P: e8 o; D# @& R

  580. ( y$ @- X' S% m
  581. ; The separator used in PHP generated URLs to separate arguments.
    , R2 ?/ K  ?1 ]) C6 [, d8 d+ d
  582. ; PHP's default setting is "&".' q9 Y6 M" e9 z" B: A# X
  583. ; http://php.net/arg-separator.output# K9 b, A+ A) v: A: N9 f! J4 K, }
  584. ; Example:5 A" |5 S, @4 z" c2 e/ Y  i( q
  585. ;arg_separator.output = "&"
    0 `% u7 f, h) J! ~, ^5 w

  586. $ ]7 r: h7 X+ B7 Q5 B& r9 w: x  S
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    9 K7 U  t2 `' r2 x
  588. ; PHP's default setting is "&".- }6 K6 i: e% e" Y- Z( D
  589. ; NOTE: Every character in this directive is considered as separator!
    3 A, I5 C. V& w  j- ^
  590. ; http://php.net/arg-separator.input, s* U& o  ~& F1 F5 W, y2 Y
  591. ; Example:
    3 z6 |0 O7 V( [/ {
  592. ;arg_separator.input = ";&"
    % B2 E: h/ a+ |

  593. 9 Z, k- h  ?2 u) |0 ?- Q: f1 U/ n
  594. ; This directive determines which super global arrays are registered when PHP
    0 W" k5 r: g3 ]* S. W
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 ]3 p/ _# a* B" n
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 U! K4 `2 F" p5 m! D( S; K
  597. ; paid for the registration of these arrays and because ENV is not as commonly/ Y9 V/ N# R3 k" Y% h" d. ~
  598. ; used as the others, ENV is not recommended on productions servers. You$ H/ v1 R6 v, E/ D2 s
  599. ; can still get access to the environment variables through getenv() should you. r# ~& H5 H) }1 a1 z
  600. ; need to.
    1 t5 X( T4 U( x
  601. ; Default Value: "EGPCS"
    / ?- R9 g2 g, M6 [( G6 f; C: r
  602. ; Development Value: "GPCS"
    & s5 k. k! }' A0 V& c1 ?
  603. ; Production Value: "GPCS";7 m% S! d8 B' }1 h* L
  604. ; http://php.net/variables-order" v" q2 H8 y: O( Q9 q9 U
  605. variables_order = "GPCS"+ [9 n+ W7 D/ J: `5 G$ k7 P3 [# y

  606. 4 H& Y" C4 \7 T6 H2 s
  607. ; This directive determines which super global data (G,P & C) should be, x9 B* V7 {. C' C$ G. y6 E: v
  608. ; registered into the super global array REQUEST. If so, it also determines9 k+ G* Z# X  e" P1 }. x) |- E
  609. ; the order in which that data is registered. The values for this directive3 E7 D! e, L7 ]$ j, a1 _7 W6 v0 r
  610. ; are specified in the same manner as the variables_order directive,0 }& `5 y1 X* u. a6 A& Z
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ' h( O% U& ~8 z( `( K: c9 _
  612. ; in the variables_order directive. It does not mean it will leave the super
    % x9 o$ O3 X, k: X0 v
  613. ; globals array REQUEST empty.
    / [$ c3 m0 ?5 W1 [8 _! V
  614. ; Default Value: None: s1 i4 t6 w+ u( u! R: r/ s
  615. ; Development Value: "GP"4 ^8 l9 H$ N  `8 C" Y7 L# L. ?
  616. ; Production Value: "GP", W- H) h7 H5 w! B+ h/ U# n: C' P
  617. ; http://php.net/request-order9 a/ i( r+ M7 d: x7 q  F' u. `& f
  618. request_order = "GP"  r/ }+ O! S) ~# C- w  e* {

  619. 9 _' g. O& P2 n# j' J" f
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ K0 G3 V& N) |" ?3 x
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , v& s; D" ?4 ~+ s0 P6 x) }
  622. ; is invoked. $argc contains an integer representing the number of arguments7 W# k7 |3 w2 k( L/ s/ |& N
  623. ; that were passed when the script was invoked. These arrays are extremely
    ; Z' X2 t: ?( H
  624. ; useful when running scripts from the command line. When this directive is  w3 p2 G' }: G6 `0 H2 b
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    " Y, m8 Q; d, |3 D% B, U0 c) F
  626. ; a script is executed. For performance reasons, this feature should be disabled& ^1 t5 m7 @* R; v
  627. ; on production servers.8 C- T7 M' z6 ?4 n! R
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 J& X3 a/ h4 p! H
  629. ; Default Value: On
    7 D, Q: F  B4 M4 ^2 I$ Z2 S
  630. ; Development Value: Off+ t) T: l+ X3 v
  631. ; Production Value: Off
    ( y/ i& j* O- Z7 n; [2 c, e
  632. ; http://php.net/register-argc-argv$ Q& N- G5 C# L( `+ y
  633. register_argc_argv = Off
    ( b6 n, n* G7 l$ Q* b
  634. # l" F  d( s, u8 ?) N
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 R* b8 l, ^! h; M
  636. ; first used (Just In Time) instead of when the script starts. If these6 B2 I$ `3 @' t
  637. ; variables are not used within a script, having this directive on will result
    / Q* S) D0 ^* C7 T  t# }; E* A1 z
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled4 o# w. d6 T  {, H* D: j
  639. ; for this directive to have any affect.8 M: ~0 L- a9 p0 m/ c
  640. ; http://php.net/auto-globals-jit
    7 W5 j3 H5 \) G$ D. r
  641. auto_globals_jit = On3 D8 L4 m( [' h; J
  642. 0 i3 \& ]* B# x( h2 d1 a
  643. ; Whether PHP will read the POST data.
    # Y* r3 ?, Y5 ^9 j
  644. ; This option is enabled by default.
      m3 Q" b' j2 X, Z. D/ c. p
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST  n: |+ n$ n1 o! Y
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    / g" n7 ?* R6 M  N* G" w2 r
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    6 L$ T& Q0 ^5 C+ W# j  B' P0 Q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    " h8 F" f6 p# D) \$ q, J! \
  649. ; http://php.net/enable-post-data-reading3 Y5 G4 [3 F) Y
  650. ;enable_post_data_reading = Off
    * d$ d* N1 U. q9 z. M

  651. " s8 m' t; h/ W8 I1 ^/ g, Y
  652. ; Maximum size of POST data that PHP will accept.
    # a; L% w. U+ O% d4 b4 t# \; x
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / M0 q. [* n: q1 m
  654. ; is disabled through enable_post_data_reading.
    * u& |& P& l( N
  655. ; http://php.net/post-max-size  n; X5 E: S8 _+ X2 M8 }4 q. U
  656. post_max_size = 50M
    " o) m4 n3 f8 v: k4 K( f" |
  657. 3 l9 k1 f- I7 }0 u5 d
  658. ; Automatically add files before PHP document.
    3 A( W' k' F2 z! }4 C
  659. ; http://php.net/auto-prepend-file
    % M) N3 x4 ~) |, i
  660. auto_prepend_file =
    & A& ]" M5 v7 L7 {/ [

  661. - E& ~  y$ h2 c# E* p& z
  662. ; Automatically add files after PHP document.
    : N, Z' W1 b% Y" w; w; D
  663. ; http://php.net/auto-append-file" @7 t" i/ K6 P4 k: \* n, S* v/ f
  664. auto_append_file =  G' `3 F8 Y, J7 f- v( O
  665. ) e! F% x; A4 p& K- m/ x
  666. ; By default, PHP will output a media type using the Content-Type header. To, J9 k. n& B$ N2 D- v1 U1 U
  667. ; disable this, simply set it to be empty., ^, j6 {" ~6 E- r% m/ }9 ~8 R
  668. ;- U  B5 D# l8 K3 H
  669. ; PHP's built-in default media type is set to text/html.
    4 h: E9 f" q8 i
  670. ; http://php.net/default-mimetype8 ?$ _; A6 ]. W
  671. default_mimetype = "text/html"
    + I2 c7 i9 X# {8 I5 `
  672. & D# C$ U! m) o; e1 `
  673. ; PHP's default character set is set to UTF-8.
    # O+ h  }# g6 W
  674. ; http://php.net/default-charset7 k/ ?# K" A6 M. {" H( }1 N
  675. default_charset = "UTF-8") Z9 G: u7 z5 d) E3 U
  676. ; t8 `7 U5 c% ]+ h8 W+ i( T
  677. ; PHP internal character encoding is set to empty.
    9 Z/ c  i" ~$ S+ y( L
  678. ; If empty, default_charset is used.
    & {% U. b5 H% |& A( R
  679. ; http://php.net/internal-encoding+ [! B! g  s1 t- n+ ]" O: ?. f3 w
  680. ;internal_encoding =7 g5 y4 A6 V/ J  e) |( h

  681. 1 n9 c$ G' l- x6 k* @. w
  682. ; PHP input character encoding is set to empty.
    8 b; r0 m6 |4 y* a9 m- f/ G3 F9 p! T
  683. ; If empty, default_charset is used.# E$ x. l% \% i" B
  684. ; http://php.net/input-encoding
    $ ^* V" H3 I6 W3 }1 l$ |
  685. ;input_encoding =
    5 n% t. x9 u2 c3 t8 [7 I" ?

  686. , @3 U+ ~- j: ?8 e5 }
  687. ; PHP output character encoding is set to empty.
    1 E6 F. Y$ Q# q0 D6 {( t
  688. ; If empty, default_charset is used.
    , a0 F8 U) I" t7 C) `
  689. ; See also output_buffer., {/ C; {3 x5 _+ [' B4 N- A" e: r) o
  690. ; http://php.net/output-encoding
    3 n) d! X  Q0 k+ l% w* M
  691. ;output_encoding =
    * o5 y' k" `- k6 k

  692. / L% `& Y/ i) {, W6 v8 I/ O) c1 K) x
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;8 R2 D# Q0 D! Q! k/ ~6 D( E; I
  694. ; Paths and Directories ;+ o7 N/ C) ?' `; E) Y
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 p! @6 b4 Z9 y# x; B0 @% r
  696. : }7 O9 B2 J/ a
  697. ; UNIX: "/path1:/path2"
    6 O' C. j: Z' I; w" |
  698. ;include_path = ".:/php/includes"
    - t' ]2 k; P# R% B" P
  699. ;0 k/ C4 D5 Z* Q# ?0 Q$ N* ~5 s5 _) {
  700. ; Windows: "\path1;\path2"; D! `; t( B0 }' E- F( R* f/ J
  701. ;include_path = ".;c:\php\includes"
    ; O/ T5 s. z( q, I& Q8 ?& M  l3 b
  702. ;% O/ U1 T' D, t3 p
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    # h% n, I3 [/ q. l" T5 f7 D
  704. ; http://php.net/include-path/ _" k1 W8 h4 |# ~5 [4 P
  705. 3 a( R0 E) K  t
  706. ; The root of the PHP pages, used only if nonempty.
    3 t/ v& A; l" x; l
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root/ R4 r3 U/ u  K
  708. ; if you are running php as a CGI under any web server (other than IIS)( |- X( E) O$ {( b, m8 i% K
  709. ; see documentation for security issues.  The alternate is to use the
    3 W  A- }& B; e- \( D+ E
  710. ; cgi.force_redirect configuration below
    " b7 B0 ?/ q2 g) P
  711. ; http://php.net/doc-root
    7 c7 a5 n& I& Q' P5 a
  712. doc_root =
    ' I. I$ }* Z8 y* Q- D$ \" C5 C

  713. ( }8 l" [7 \! M+ J3 O. d
  714. ; The directory under which PHP opens the script using /~username used only
    % g7 V" g0 }3 ?* |$ m+ w
  715. ; if nonempty.9 V' D2 `8 j! ]9 q' R( B9 |
  716. ; http://php.net/user-dir- p. Z% G, X4 }- H
  717. user_dir =# j1 X- \1 K+ a$ L% a

  718. % C, y$ N7 n0 w3 ~% Z) k8 h
  719. ; Directory in which the loadable extensions (modules) reside.3 z7 f' U/ g4 T+ Z
  720. ; http://php.net/extension-dir+ o3 m% ?% [, |$ g+ m- G& Y& \
  721. ; extension_dir = "./"
    * L- P! o: L% K
  722. ; On windows:: p) O- i% m, E3 p: T! U( p% k
  723. ; extension_dir = "ext"
    " a7 N0 R! q: M6 \' d

  724. - L% E- a1 m2 Q" y) p
  725. ; Directory where the temporary files should be placed.0 O. j3 [( x& ]7 ?4 E& {. Y) t
  726. ; Defaults to the system default (see sys_get_temp_dir)
    $ D& H) d5 [+ M4 N; m: Y  R
  727. ; sys_temp_dir = "/tmp"
      j1 e1 n1 y8 }2 s

  728. $ b8 F1 }5 O- m8 W
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    * H7 q9 k5 G7 E: K
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    8 e& u) Y7 _8 a7 T
  731. ; disabled on them.5 m' H5 Z4 Z* v3 ]
  732. ; http://php.net/enable-dl$ n) n. K3 j0 I" u
  733. enable_dl = Off
    7 N8 u- B; D  [$ ?9 i

  734. 8 t8 P: C5 t3 R5 Q0 B3 I5 P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 j4 T3 v  D( j( a
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can# a9 r3 }. C# t' T! v2 y# x
  737. ; turn it off here AT YOUR OWN RISK
      |3 T8 M2 u, w! C) E
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**# P8 y% K/ @( A3 Y! {) x
  739. ; http://php.net/cgi.force-redirect
    5 j4 r5 ^2 `3 x0 c
  740. ;cgi.force_redirect = 1
    ! A/ u0 C* x, ?+ W, g; O4 s0 R& k2 k

  741. % D/ q; r" d9 c, R0 Y
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    , [: h' u/ y% [0 y7 b
  743. ; every request. PHP's default behavior is to disable this feature.
      r  `% Y( I5 u5 f+ U
  744. ;cgi.nph = 1
    # ]4 g1 T$ x& F4 b4 B) _4 Y1 P" D: U
  745. ! ~3 m2 L7 w9 r7 u; w8 I
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& A" Q2 ]0 E# Z* E
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( C! k; Y. U. u# R8 o# |
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY! B" {+ ~5 c) f8 s( v
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.% ~* X9 D) W/ {7 H9 Y
  750. ; http://php.net/cgi.redirect-status-env8 ^( W8 n7 o0 h
  751. ;cgi.redirect_status_env =8 |  x; d8 e, z3 B9 ^! {$ t
  752. - v1 W( O4 `# u( l" P8 n3 \$ }
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    : g1 V0 \4 F* h- J7 x8 i
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( Q* H2 m9 |1 A* [/ y
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: u& E: B. i0 Z0 K/ H7 S4 I
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting" ]$ g, P5 ]8 v4 }/ J
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts+ s1 B1 q7 ]& ]3 ~1 u3 d* Y3 A
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) ~1 e  A+ H2 E
  759. ; http://php.net/cgi.fix-pathinfo$ ]- c4 N, k  p% |
  760. cgi.fix_pathinfo=1+ }, A: [, b2 h6 @* n  j6 t9 F
  761. 9 }. o# ]6 x2 A6 s. G" W; ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside( b" b5 @" b: s' O! r! R
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    1 B$ X/ B7 y: N( P/ Q* t# P* B
  764. ; http://php.net/cgi.dicard-path, n$ l; X, ~/ Z: _
  765. ;cgi.discard_path=1
      d3 d9 e; \9 u3 b3 W7 v5 N& v

  766. " V4 j  B! n6 A8 E3 w1 t# F
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* J" o/ J9 T! C. p2 C
  768. ; security tokens of the calling client.  This allows IIS to define the
    " x% |& b" M9 a! a7 c. |% p; C
  769. ; security context that the request runs under.  mod_fastcgi under Apache+ d. ]4 x4 W6 K; E; a8 ?' `
  770. ; does not currently support this feature (03/17/2002)
    : p7 ]5 Q6 L. L
  771. ; Set to 1 if running under IIS.  Default is zero." r; U4 ^0 D/ i% x2 E, \
  772. ; http://php.net/fastcgi.impersonate( p% u7 }0 Q+ R5 R5 ?
  773. ;fastcgi.impersonate = 1* r% v/ g% X4 {( F+ r& x
  774. 3 L" _! b0 H# G/ A* |& Q
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ O, A  ?4 U' ]5 k5 V
  776. ; this feature.) j; r+ N& ^, ^4 ?+ t2 K& L
  777. ;fastcgi.logging = 0; W" m* f0 U: x* Q  K" K
  778. $ c( K0 [% [& i5 o
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to0 v- Z* _" ?& E4 _9 m0 c% ?
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( M8 Y1 m8 h/ c% Y% Q( j2 D
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    6 o) S1 v7 Y4 \+ Z/ _+ T) ]0 P
  782. ; RFC2616 compliant header.* j; f4 }8 |; G, v: h. q. E
  783. ; Default is zero.
    7 h* M6 x5 p/ S/ ]* l6 e+ k
  784. ; http://php.net/cgi.rfc2616-headers
    7 _% k$ M! w4 H" E
  785. ;cgi.rfc2616_headers = 0( h4 _( X6 ^- F0 t8 i
  786. 9 C# |, k" S! Z1 {; E  Z
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!* G( D/ N7 c4 k. Y) H& Y
  788. ; (shebang) at the top of the running script. This line might be needed if the
    : l. ~7 o2 C$ Z* h( @8 ]  l" }  q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI9 \& A3 `1 Y* ~* t2 u1 v( ]( y4 A
  790. ; mode skips this line and ignores its content if this directive is turned on.
    1 C* k+ x5 X/ G8 ~9 F5 D5 `5 R* {
  791. ; http://php.net/cgi.check-shebang-line
    * M1 F2 M% k0 Y' q9 R/ p
  792. ;cgi.check_shebang_line=1( c4 W  \8 ^2 b. t4 y% |) G

  793. 0 `7 ?2 S% Y- ^& S8 p" H: O
  794. ;;;;;;;;;;;;;;;;8 P- [" t5 [+ o3 t
  795. ; File Uploads ;* d& k/ ]' l+ I, u/ I
  796. ;;;;;;;;;;;;;;;;$ z5 S. d2 W' B7 O6 W& J. b

  797. 8 t' r  b0 k7 b+ P& K% t# P4 a
  798. ; Whether to allow HTTP file uploads.' v$ @$ `8 j/ V" @0 p/ L! e$ k
  799. ; http://php.net/file-uploads
    ! }, h: S1 ^! T& k
  800. file_uploads = On, P' F$ O; B, J5 n$ m$ s

  801. 0 _5 f+ d0 k6 z1 C5 }
  802. ; Temporary directory for HTTP uploaded files (will use system default if not5 s+ ^" I2 H& u+ p7 Z
  803. ; specified).- [% a( z: @0 l2 [# x- Y
  804. ; http://php.net/upload-tmp-dir3 {8 g3 R% O# \; }
  805. ;upload_tmp_dir =$ r' W. H1 O, |7 l. R- q7 Y

  806. $ c( _) y3 ?4 D$ l9 P
  807. ; Maximum allowed size for uploaded files.5 U; p# V3 Y2 T0 }6 j( A. q7 x7 a, N
  808. ; http://php.net/upload-max-filesize, b) \) F! `" ?* m
  809. upload_max_filesize = 50M
    ; ]/ V4 p5 j* z! Q

  810. : T/ [, K' ?6 R1 U& f9 P
  811. ; Maximum number of files that can be uploaded via a single request+ T" I( G" u3 P' Y! W
  812. max_file_uploads = 203 n5 `) Q( t+ `6 w& s# @7 n
  813. ! n5 h& G+ P1 q' b
  814. ;;;;;;;;;;;;;;;;;;( q+ W! d* J: _% t0 _
  815. ; Fopen wrappers ;9 ]' c) i+ W! M/ v+ H1 v; v2 r
  816. ;;;;;;;;;;;;;;;;;;
    $ f+ ^9 R+ L: @

  817. & _  F; b3 K" I- r. R
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    & i0 Q! c0 k3 z/ j+ V  O
  819. ; http://php.net/allow-url-fopen
    0 A. X1 ~  F7 B  U7 q% J4 |
  820. allow_url_fopen = On& E5 L" y5 m5 [7 ^% D* V& `( ~
  821. # c' h7 G! W) }
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; n. l: o' e: i
  823. ; http://php.net/allow-url-include. D- a8 m( P. X
  824. allow_url_include = Off
    , g0 Q$ |% q+ W! D& }
  825. . \, C( T8 f1 U1 {9 a$ g
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 r1 M$ Y5 p/ J9 y" ^/ F4 j* W
  827. ; for this is empty.
    7 H' j- U5 Z& @! Z+ X
  828. ; http://php.net/from
    # q; Y; _  }$ `# z8 B
  829. ;from="john@doe.com"& J5 C( |2 E# d' A5 ]5 g' r; r
  830. 4 O% ?. h7 c$ r; I- j
  831. ; Define the User-Agent string. PHP's default setting for this is empty.; T( v% a9 u9 P
  832. ; http://php.net/user-agent, u% @9 R8 `$ o8 L5 W6 L$ S
  833. ;user_agent="PHP": U! T1 \' T1 Y; k! i  H' e- g

  834. 9 H( w  l5 H+ V# s
  835. ; Default timeout for socket based streams (seconds)
    : U3 q# ^5 X: D& \- o1 X8 S0 d( z
  836. ; http://php.net/default-socket-timeout' V) S( S& ?% s* \' Y9 b
  837. default_socket_timeout = 60
    0 b! q- m3 [  d$ E4 X) k; X3 Q4 @

  838. ) s5 G- H8 t8 O1 ^/ K7 B9 h; ~7 L7 a
  839. ; If your scripts have to deal with files from Macintosh systems,# t/ e7 o- O  E/ r. p
  840. ; or you are running on a Mac and need to deal with files from
    8 T% t: ^+ L1 m- I" q) u
  841. ; unix or win32 systems, setting this flag will cause PHP to
    - t8 Q. K: f& o1 }- A' p
  842. ; automatically detect the EOL character in those files so that* `( B2 |0 |2 k- J! t& ~
  843. ; fgets() and file() will work regardless of the source of the file.
    : f/ n" |) X* r- T# O6 h: b
  844. ; http://php.net/auto-detect-line-endings
    ! ~! p* W/ p3 A2 A3 V9 @, Q
  845. ;auto_detect_line_endings = Off
    ( |* U9 [3 [* g) H! d9 Y

  846. 7 q: F' s) p$ _# k9 o: Y
  847. ;;;;;;;;;;;;;;;;;;;;;;6 j0 \% U+ }5 K  A' Y$ |
  848. ; Dynamic Extensions ;: ]. \- [: [) ]& T  \/ g1 \2 s' y
  849. ;;;;;;;;;;;;;;;;;;;;;;  p1 P/ [) p* A* c" y5 j) G0 |
  850. ) G+ }5 Q7 i6 J, [! p* q
  851. ; If you wish to have an extension loaded automatically, use the following5 l7 r- R) J* \; ^, N% n
  852. ; syntax:
    " }/ z- i  |& W8 O1 V/ f
  853. ;
    2 B( w9 L& c4 r
  854. ;   extension=modulename.extension7 u, Q9 z! f  S0 D& h! r: \
  855. ;
    0 ^; S- G7 ~1 G# d6 z3 \: _( h
  856. ; For example, on Windows:+ ]. Y0 m/ ^4 `
  857. ;
    % ^$ x4 N! O" M' {: \
  858. ;   extension=msql.dll
    9 u; R% l& b% r+ T: K4 e
  859. ;
    0 L7 j/ H+ c+ P% s. z9 V
  860. ; ... or under UNIX:6 C. q  m6 R! o) N& X1 Z
  861. ;
    5 X0 Q% T0 T1 Q$ r1 x7 P  I
  862. ;   extension=msql.so
    & z' _9 l& t$ \# b) @
  863. ;
    * u! V" Q# x, w6 f
  864. ; ... or with a path:
    3 A* ^6 f1 ^; b8 W7 Z( Q
  865. ;
    8 E* V2 ?& |+ y; w
  866. ;   extension=/path/to/extension/msql.so
    ! R$ P6 d" O3 a3 V7 Z5 O8 x
  867. ;
    ; `& B' A# O! ^7 f8 Z4 J
  868. ; If you only provide the name of the extension, PHP will look for it in its* p; q% i6 M6 N& g+ V, b2 I
  869. ; default extension directory.  H& C0 f6 V& e1 U$ U+ ?4 s
  870. ;, Q: c" O/ v7 N( l" M4 u7 o
  871. ; Windows Extensions
    # F/ e- V# |" M% y
  872. ; Note that ODBC support is built in, so no dll is needed for it.( r" T( d; |' X, |
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    , m/ F" o# d9 p: |0 h6 _. }
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    / A+ [) ?9 S; d; J( r& A
  875. ; Be sure to appropriately set the extension_dir directive.# d- S! H9 d; y; u  u% j  ]5 N
  876. ;* J) m) d* [* q+ [9 t1 J
  877. ;extension=php_bz2.dll
    . X5 p! b' h4 ?& H, r) ?8 Q
  878. ;extension=php_curl.dll  q0 C% }& I) O5 o/ n3 T# I
  879. ;extension=php_fileinfo.dll
    0 V& S# s) j0 I! }: |
  880. ;extension=php_ftp.dll
    9 f8 Q2 i3 E) o/ p9 A7 ^
  881. ;extension=php_gd2.dll
    + Z7 L! B* J4 N8 u; k* J$ Z
  882. ;extension=php_gettext.dll$ n7 u( k) U$ C& f% e
  883. ;extension=php_gmp.dll4 Q. O; i% a4 b( q9 a6 Q
  884. ;extension=php_intl.dll
    & |/ x9 S1 O' ~
  885. ;extension=php_imap.dll
    . T9 D$ m+ F+ M8 b8 G
  886. ;extension=php_interbase.dll
    & `6 ~& _  o. W9 S
  887. ;extension=php_ldap.dll4 |& H* P8 h6 u
  888. ;extension=php_mbstring.dll
    ; L7 n  V! A0 O1 Q% o  n; A
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / d2 Q% x5 a/ C* n; N
  890. ;extension=php_mysqli.dll
    ) R) b4 A# x; Z: L+ \
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ! m2 b( Q* H" G/ @% h- R8 V5 A
  892. ;extension=php_openssl.dll
    ) C1 o, T6 O3 Z6 t( `5 O
  893. ;extension=php_pdo_firebird.dll
    $ X: A9 [) ?3 g
  894. ;extension=php_pdo_mysql.dll
    - o2 J# B6 y* V- }5 w5 y6 \( [7 S
  895. ;extension=php_pdo_oci.dll' v7 b" Q; ?2 g9 Y/ P( H
  896. ;extension=php_pdo_odbc.dll; D" P( @7 a0 Y7 _0 d% V
  897. ;extension=php_pdo_pgsql.dll
    ' G* I+ R  `: C' t7 t7 a
  898. ;extension=php_pdo_sqlite.dll, X0 P; e' A4 u/ y+ ^& z2 |7 f
  899. ;extension=php_pgsql.dll9 w5 X) t( P: X0 g5 o
  900. ;extension=php_shmop.dll
    - l- G8 @3 Z3 p/ c% z4 V

  901. : U/ u  j9 J0 b6 i9 y7 U
  902. ; The MIBS data available in the PHP distribution must be installed.8 ^6 V/ v; Z0 t' ?
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    5 t) k/ j/ w; e9 w* N0 w; f. I
  904. ;extension=php_snmp.dll
    6 o; q' x, J5 a# Z+ Z6 J" l

  905. # O% m* Q6 e6 k$ _+ [. d3 x
  906. ;extension=php_soap.dll5 ^) F: Y2 b: S1 j" v9 c* O
  907. ;extension=php_sockets.dll$ j/ k9 Y8 A2 o: k* V! S
  908. ;extension=php_sqlite3.dll
    3 j- f! w$ i% n8 a0 p' v
  909. ;extension=php_tidy.dll& t* t+ t/ F1 l5 ]
  910. ;extension=php_xmlrpc.dll
    + @7 D7 ~8 Z) T7 B( E$ s
  911. ;extension=php_xsl.dll
    ' F6 e; X/ \& I$ s" A* G; r9 R* D

  912. 6 [/ T, V% s  P: o
  913. ;;;;;;;;;;;;;;;;;;;
    7 l! a8 ]( @* c4 [
  914. ; Module Settings ;1 m2 X" h: t: B3 i2 F% s
  915. ;;;;;;;;;;;;;;;;;;;
    2 p1 Q2 w6 p' [9 X+ C. V

  916. 7 l. M& V2 w% Q; ]6 h& v' y
  917. [CLI Server]: z6 e) t/ P) f7 T+ W" t
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.! n+ b& S( }( @8 q! Q5 U
  919. cli_server.color = On1 ?9 F+ F4 G) Y/ M7 U/ q
  920. 4 b  [/ K$ a: ~  X2 y% k8 p" S
  921. [Date]$ o3 L$ c  ~7 U. w- |6 r
  922. ; Defines the default timezone used by the date functions
      a, ~& {9 `' o/ N4 x$ p* r! |
  923. ; http://php.net/date.timezone* ?6 D0 O% j/ W
  924. date.timezone = PRC
      B( w1 f3 v( }1 U$ s  L
  925. ; v7 q+ E* h) a" s# \! {
  926. ; http://php.net/date.default-latitude+ X) l+ h, V% P- |3 x% y
  927. ;date.default_latitude = 31.7667
    1 ~- E. h! {- Z1 _$ ~" f4 Y* k

  928. 1 I0 y8 l: }1 K
  929. ; http://php.net/date.default-longitude
    . w1 L) U- S  ^" q! l
  930. ;date.default_longitude = 35.2333
    9 M9 n: ]5 U' `  \
  931. 6 Q7 Z6 ?2 Q! [' Y( c
  932. ; http://php.net/date.sunrise-zenith
    * W8 y# S9 K$ t5 z' t+ i1 N
  933. ;date.sunrise_zenith = 90.583333- G* y- h: a  e4 `$ i  I  G
  934. + i! t' @% N/ M& u) H* `, ~5 N
  935. ; http://php.net/date.sunset-zenith' f0 z  r# }( M/ h& S
  936. ;date.sunset_zenith = 90.583333
    $ e. Z) s+ }# ~5 A' |6 s" e$ j
  937. 3 z6 y% b0 q! J9 e
  938. [filter]
    / l! u' V  t6 _( s/ n# f
  939. ; http://php.net/filter.default. A  `# y3 T4 l) z6 ]3 i
  940. ;filter.default = unsafe_raw
    ) y, o) V7 X/ f# i3 E( N* {
  941. & o& C% A" ]& `& g; w* F
  942. ; http://php.net/filter.default-flags2 A* e- u/ K) I- E  t0 g& o
  943. ;filter.default_flags =
    . A' @: Y( ]; B% F; j  c6 q
  944. 0 W# D7 M/ y! G. n6 F
  945. [iconv]( ^7 u! E$ K1 I4 ~$ q
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # n! c3 t+ n$ j2 b7 S
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 F9 ^! y( h4 ^
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! o# Q: @  M( q
  949. ;iconv.input_encoding =
    8 S$ r! p& J9 J% s0 y4 @. M8 j
  950. 9 C! d3 z" i, z" Q3 \) `; d8 T
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 m+ h7 Y  o# r( p! W. d
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! _/ Q1 F, K; i# B. ]1 L4 b
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 ^. t( y. C' K+ n5 ?
  954. ;iconv.internal_encoding =. D- I$ I  P% B2 s

  955. 8 a/ g3 N8 H9 v' O' X. E
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.. V- A; X9 l$ A- \1 x; w
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 m8 S" h" N( J, ^: k* C$ P
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    8 G$ z1 T3 `4 r9 h, z% q  E$ p/ w7 A
  959. ; To use an output encoding conversion, iconv's output handler must be set/ O& y. C  ]4 j1 ~$ z
  960. ; otherwise output encoding conversion cannot be performed.
    . L4 m- ?/ O3 j5 W4 W" h, h  }
  961. ;iconv.output_encoding =
    6 m: x9 `) J4 W! l  s
  962. 7 S" P. s/ X& M
  963. [intl]
    , ~- S& W3 _! x' T% X- z6 k) k
  964. ;intl.default_locale =8 H: u% }9 U* q3 J4 M
  965. ; This directive allows you to produce PHP errors when some error& C# [# h( ?' {
  966. ; happens within intl functions. The value is the level of the error produced.* j- q+ A8 d- z+ x" r8 Z! S
  967. ; Default is 0, which does not produce any errors.' |! ?; N/ G. a7 M
  968. ;intl.error_level = E_WARNING
    * K$ H& j( o; h' G% A1 T
  969. ;intl.use_exceptions = 0
    " k4 {2 t/ t- H& u" }% f1 s7 U

  970. , U7 v, a' R& j. I( s9 h. n
  971. [sqlite3]
    " C! ?! n4 S4 O* i$ o' b
  972. ;sqlite3.extension_dir =. v! f( i+ L4 }& b
  973. / P, m. q- _" A3 B
  974. [Pcre]
    ; T5 N0 ?- w2 l. k1 r
  975. ;PCRE library backtracking limit.! \  Q, P+ O/ J/ b
  976. ; http://php.net/pcre.backtrack-limit" U3 G, U6 W/ |, K. u0 \
  977. ;pcre.backtrack_limit=100000+ {! r( B; ^( B3 p3 P5 k) X+ D
  978. ( ]5 @" W$ y& S# Y$ y7 H
  979. ;PCRE library recursion limit.5 L" s6 e) g; S, X8 v
  980. ;Please note that if you set this value to a high number you may consume all
    % C$ L0 q6 O  W7 P1 Z
  981. ;the available process stack and eventually crash PHP (due to reaching the: ?7 y; m& Y3 F* b' ~
  982. ;stack size limit imposed by the Operating System).
    " p6 @; B0 }) [# \0 A
  983. ; http://php.net/pcre.recursion-limit% i% w5 d& |: `9 _
  984. ;pcre.recursion_limit=100000
    7 B% M' g1 F' Z3 Q$ A* s
  985.   p2 }2 V, E+ `: w7 ^+ U
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    9 [6 w3 Y- P( Q; k
  987. ;library to be compiled with JIT support.
    : a8 }2 P* [4 B
  988. ;pcre.jit=1, j  m; o1 Q) S$ r% n- [
  989. ( z* g$ z' I) ~2 F5 X
  990. [Pdo]3 H$ ^8 e8 F, h& ~2 s
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"# z' V& U3 d2 x4 w
  992. ; http://php.net/pdo-odbc.connection-pooling
    / Q" P6 e. T/ c0 W7 E) o, L
  993. ;pdo_odbc.connection_pooling=strict
    7 K# I% @+ [1 E. _" ]

  994. + x5 n$ N& ^' `# |- V
  995. ;pdo_odbc.db2_instance_name
    8 M) @3 N9 |# c9 E

  996. . j/ I* ]  K( W' ^" ^8 F/ D) {) S
  997. [Pdo_mysql]  A1 F1 q* l% T
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / C* s6 m3 f0 Y, e' e8 |
  999. ; http://php.net/pdo_mysql.cache_size
    ( R6 K2 n% K. K5 \( J; U+ Z8 o9 A
  1000. pdo_mysql.cache_size = 2000
    + o8 T5 D! j) O+ @; [1 U
  1001. + L7 `1 [9 [0 J9 r; h
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in% @+ b. O0 l4 }, t; B. C; Y! C: K
  1003. ; MySQL defaults.2 }: @2 V8 d% m/ k3 D
  1004. ; http://php.net/pdo_mysql.default-socket
    ' i/ `1 y' |. e5 E
  1005. pdo_mysql.default_socket=
    & \0 e0 ?/ d+ R# h

  1006. ; g. _6 p1 E; `/ G5 R: o8 x9 _
  1007. [Phar]
    & R. V/ X5 `+ ]9 G6 }
  1008. ; http://php.net/phar.readonly# q4 G  S2 p* \& D4 R% y/ E
  1009. ;phar.readonly = On
    , R6 H) K! Q; `2 q8 y

  1010. ( T( s1 P6 b! E1 K4 M
  1011. ; http://php.net/phar.require-hash
    ( |, G7 v" ~. S4 k" R! p
  1012. ;phar.require_hash = On
      X' v# c2 \- V  U7 k/ E7 H$ q" A( C: t& W

  1013. * k8 u  A: j* X! T; A
  1014. ;phar.cache_list =1 H5 ], C0 |: X; l# ?

  1015. 4 H* Z0 L9 D; b+ \4 A5 c
  1016. [mail function]6 y- p8 c7 A, Z7 h" }1 H: H
  1017. ; For Win32 only.
    ! |2 K5 ]. u  b0 b5 S0 N% h
  1018. ; http://php.net/smtp
    3 p- c' e% S3 \' a0 c' h7 S; C
  1019. SMTP = localhost7 n. j$ Q9 Y! h- ]( _
  1020. ; http://php.net/smtp-port
    ) d3 W& ~* w; S9 Z
  1021. smtp_port = 25
    & }2 Q/ _# c$ ?3 A

  1022. 2 @* ~3 m2 ~2 H' l. e, H: _
  1023. ; For Win32 only." K  X7 u$ \. v% i% T
  1024. ; http://php.net/sendmail-from
    3 ]  h+ f3 L+ ~$ a' `$ K! _
  1025. ;sendmail_from = me@example.com! x6 k. U: }: Y- W
  1026. ! }  S: ]& Z% P, q  l4 N: u
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    8 O& ~4 [. W$ F9 K- C9 ]
  1028. ; http://php.net/sendmail-path
    ) S/ I% w# V" O0 W7 r! w4 U7 B
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    - D. t+ B0 ~( e) |
  1030. 0 v- c6 `3 R; W; ^( Z) Q  {
  1031. ; Force the addition of the specified parameters to be passed as extra parameters3 }8 a) W4 t' J
  1032. ; to the sendmail binary. These parameters will always replace the value of% }9 d$ w' r! X$ [
  1033. ; the 5th parameter to mail().* x7 p$ p; b! G' ]' W" e* X
  1034. ;mail.force_extra_parameters =" \1 g4 B; W& _$ I$ g8 p4 m5 j* X

  1035.   B# X9 R7 [$ Q: i; T9 N, V$ p  U
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename: D0 |" J& |* M! x. r
  1037. mail.add_x_header = On" r- r% s3 ?* F! b) G+ G  w. Q7 o
  1038. * |  d' i9 J% c
  1039. ; The path to a log file that will log all mail() calls. Log entries include3 R% a& Z. I/ I0 p& ~" c
  1040. ; the full path of the script, line number, To address and headers.& t2 D9 c9 q$ P* v
  1041. ;mail.log =
    6 ?2 |" X) ^* Z7 u! t2 y
  1042. ; Log mail to syslog (Event Log on Windows).* W+ y0 |8 P0 N6 a: ]# v
  1043. ;mail.log = syslog: H& F6 ?$ r7 x; C) }" F
  1044. ; Z, [: D( S$ J( x; Q/ A: e! ~
  1045. [SQL]  X3 e$ t) B! s. z: O# k3 T' {; j: Z
  1046. ; http://php.net/sql.safe-mode, T9 |  C# ~( f  j+ a
  1047. sql.safe_mode = Off
    + L' `" |" D1 o7 ^

  1048. 7 ?) q& d1 @7 o; o
  1049. [ODBC]
    + {3 {# D8 ~4 w1 T
  1050. ; http://php.net/odbc.default-db
    % Y4 V$ k% e" d% @. B/ e
  1051. ;odbc.default_db    =  Not yet implemented4 ?6 J9 O  b/ k" {8 [
  1052. 6 A# X6 u' e9 M0 W
  1053. ; http://php.net/odbc.default-user2 J" B6 p" s4 a, _0 ^7 i
  1054. ;odbc.default_user  =  Not yet implemented
    7 ~2 a: G& Z% X

  1055. 2 Q# m- c' d+ \1 g- K" p8 M! n: F
  1056. ; http://php.net/odbc.default-pw# X/ F: D$ ]( ^+ P  }3 k+ x. ]8 l4 c. x
  1057. ;odbc.default_pw    =  Not yet implemented
      F$ r* S5 H! ~$ k

  1058. ' _/ w% O4 P$ p$ s" g+ B
  1059. ; Controls the ODBC cursor model.$ h2 d7 V- j" @. q: N/ W: d
  1060. ; Default: SQL_CURSOR_STATIC (default).6 M7 R8 \' M1 d5 j4 e3 a
  1061. ;odbc.default_cursortype
    & m' P- U. I" b

  1062. 3 [! ]+ i4 a4 ~3 `, y5 T6 k
  1063. ; Allow or prevent persistent links.
    ( H' S2 Y( M  R# k: @( ]  ~
  1064. ; http://php.net/odbc.allow-persistent
    ( K$ H- a' w. U  w  p" P; t
  1065. odbc.allow_persistent = On1 D, g8 G0 p/ r: i7 ~+ D* f

  1066. & J) S$ L/ s5 e" w
  1067. ; Check that a connection is still valid before reuse.
    & q( D8 Y/ O2 q2 M9 r! [
  1068. ; http://php.net/odbc.check-persistent/ w9 p' x; c+ Z$ M9 j
  1069. odbc.check_persistent = On
    ' L; s5 @/ `/ ^- G( {% Y  {, ~
  1070. & T/ T9 d- B4 f# {9 [* q
  1071. ; Maximum number of persistent links.  -1 means no limit.
    4 ~1 `& u4 j- p0 q' u$ S
  1072. ; http://php.net/odbc.max-persistent/ I. k# N8 c# {5 N5 m7 E" V
  1073. odbc.max_persistent = -1
    0 \1 N( b" i- N: R
  1074. ' ]" C! P  b, A3 [# D& I  H2 s
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 n( g! Y$ u3 M
  1076. ; http://php.net/odbc.max-links, m. N+ g. F2 m5 ]
  1077. odbc.max_links = -1
    ) d+ A$ s$ V- x+ X7 l' z- A
  1078. : ?" q" z, K( m' Z: _4 r% }# L
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" A  z4 u, C! I! \2 I
  1080. ; passthru.
    ; ?' b" g  k5 `& u+ w" W; n
  1081. ; http://php.net/odbc.defaultlrl
    ( H+ q. \) k( O1 i" U
  1082. odbc.defaultlrl = 4096
    $ s- I% K7 x! a# @6 \7 d0 r6 k

  1083. % d0 p% F8 _5 U8 J. A5 S9 @  N; z
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 j2 e. d3 R. ^
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 G6 L+ v! i. U6 W
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 M2 [- v6 _6 j5 ^
  1087. ; http://php.net/odbc.defaultbinmode
    2 ^; h% Y/ L8 J, f5 h
  1088. odbc.defaultbinmode = 1- g. V% e4 R6 ?7 G# W
  1089. . c5 m! }- y3 l$ _$ b/ o
  1090. ;birdstep.max_links = -1& m1 N5 S3 C1 v$ w
  1091. ' H" ~+ n1 E6 Y# X' B$ A- \# N( B
  1092. [Interbase]
    , f# K) I. q, _
  1093. ; Allow or prevent persistent links., P/ m2 C3 a3 V* i
  1094. ibase.allow_persistent = 19 f$ q/ f2 L0 i: X

  1095. + c7 C8 o. I: l4 ~
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ( E. z4 q5 c% I) d5 N
  1097. ibase.max_persistent = -1
    $ t- W2 ?  y2 Z2 b  _8 x0 e1 [

  1098. 9 b% _% o7 H; E8 z& s
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." u3 _0 \; j# Q- F$ m- P: I7 y
  1100. ibase.max_links = -1
    3 n+ }5 X0 v- G9 C5 Y, e
  1101. 0 G7 n4 K" P3 W4 a
  1102. ; Default database name for ibase_connect().
    6 F6 [' C/ i" w+ O7 t7 X
  1103. ;ibase.default_db =
    5 k& k# {2 U# n. ^  M) f8 m( |" ]/ z4 ^  `
  1104. 7 N1 w7 G7 P3 L  T
  1105. ; Default username for ibase_connect().: O0 I$ p3 U) o+ U4 Z
  1106. ;ibase.default_user =, N5 V& S2 f6 Z9 ~3 G$ T* L7 k" L
  1107. 4 G: k0 a! v: v
  1108. ; Default password for ibase_connect().( h- ?+ U. e8 ~2 w
  1109. ;ibase.default_password =
    5 v5 k* c) [5 e1 x! H: Q

  1110. ; t( b  p( m3 P4 Q1 m0 G' b
  1111. ; Default charset for ibase_connect().+ v2 N0 h" ?7 C0 T* I0 D
  1112. ;ibase.default_charset =
    : q" z' g- V4 ^% G1 @9 d

  1113. ) ^3 A! D% M! ~; m
  1114. ; Default timestamp format.
    8 }  h4 G( U* o: [9 [
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * F; b0 t! U+ d( T" o8 ~7 C
  1116. / C+ t9 w$ W  c
  1117. ; Default date format.
      |2 I# u: y, m( C
  1118. ibase.dateformat = "%Y-%m-%d"
      N+ H& [6 i6 Z' Q* d& Y( \) m/ ^
  1119. , O0 u$ o" G4 s: d, I% _. G
  1120. ; Default time format.
    " V4 d. z5 h* q) R! a+ v( x
  1121. ibase.timeformat = "%H:%M:%S"; r/ q* w7 Q5 ]# P+ C7 s( l

  1122. 4 u' X& G4 q/ J) J  e3 C7 P3 ~
  1123. [MySQLi]! F) X: G# ~( D# {7 w
  1124. 8 p, D5 b, y' w4 @$ _$ v9 S3 f4 ~
  1125. ; Maximum number of persistent links.  -1 means no limit.
    9 _% M0 C. f. y1 p6 r, c
  1126. ; http://php.net/mysqli.max-persistent! e3 k/ t8 c4 W. s
  1127. mysqli.max_persistent = -1, ~" K/ Q/ A- u# x& p  x1 O; f6 j

  1128.   ?* c7 E! e; y' o8 p
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 D- K  ?$ X6 S
  1130. ; http://php.net/mysqli.allow_local_infile7 [0 A- I4 a) G/ p% `: g& G
  1131. ;mysqli.allow_local_infile = On
    : u) i2 Z. S. H1 b

  1132.   V2 k1 J& M, B8 Q; F' n
  1133. ; Allow or prevent persistent links.+ w- E# J9 N- Q- M0 y
  1134. ; http://php.net/mysqli.allow-persistent$ w" c; ^; K: l5 i6 y: A' f$ L) [- V
  1135. mysqli.allow_persistent = On1 s7 M5 B: ^, u9 I6 j; i
  1136. ! i+ `' }: e, Z6 z  D
  1137. ; Maximum number of links.  -1 means no limit.' S+ |) l4 H' {! d) L
  1138. ; http://php.net/mysqli.max-links
    6 C# W0 g- F9 ]2 g$ _
  1139. mysqli.max_links = -1
    6 r( P9 O/ O- q; d* |) L
  1140. & T; v2 b0 g& j+ O- o, c' V7 _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + e+ c. Q" {( B/ w' G
  1142. ; http://php.net/mysqli.cache_size% x8 u2 q! D  X% B
  1143. mysqli.cache_size = 2000
    7 a/ ]' G% F  [  |5 d! m

  1144. 8 O& z% g1 J9 z, Y, f0 H
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use9 D, B# I) `" B) [! N/ u: x
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    1 }' A% y7 j3 \6 r2 ]; g& G
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# y3 P7 w( J# a
  1148. ; at MYSQL_PORT.
    7 I$ E  O0 r& f3 w& ^* ]) D/ F5 t4 t2 y
  1149. ; http://php.net/mysqli.default-port0 |" v" C. ]! q
  1150. mysqli.default_port = 3306
    # V( b) a$ B+ s( q7 f/ S

  1151. 0 S& I" i' f0 E  o! G
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in# u( t' m7 `+ g
  1153. ; MySQL defaults.5 K2 X3 Z2 \/ l- q$ Q
  1154. ; http://php.net/mysqli.default-socket
      b8 n3 a: G6 }/ n! f
  1155. mysqli.default_socket =. Y0 f! k, G( m
  1156. & ~, i  W2 n" \% A; n
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 X) L% k/ C, x& b5 g% R
  1158. ; http://php.net/mysqli.default-host
    1 U# Y9 L) [- }4 ^
  1159. mysqli.default_host =
    7 M5 z+ ~& m! x2 _8 v1 m# M

  1160. ( E2 L3 }. G- V% |; r$ e+ b
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 S' s. J- P2 h
  1162. ; http://php.net/mysqli.default-user9 b' r8 X7 v' Z) E- D) W  z
  1163. mysqli.default_user =, C- c. ]# Y# g7 ]. T
  1164. % Q3 Y: W' ~+ ~7 z: T/ _
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 W7 p: D' ?5 f, }+ n
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    * G: u* p; x1 g2 ~( `! T' m) Y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    3 Q% b6 u/ X  K
  1168. ; and reveal this password!  And of course, any users with read access to this
      H% u6 y: s# K
  1169. ; file will be able to reveal the password as well.
    * s  d4 E6 r  b/ R
  1170. ; http://php.net/mysqli.default-pw: i) a" ~( e9 i1 M+ |
  1171. mysqli.default_pw =5 \5 Z* q# B8 \. ?7 w( r' X

  1172. . L7 m- O4 c; R0 C* K' N
  1173. ; Allow or prevent reconnect7 d& f0 {2 f( ?" l* i  f" h) @2 N
  1174. mysqli.reconnect = Off1 `& H. A& X+ \+ S. w4 z
  1175. * g* J. c# t+ _  ~; N+ [  y
  1176. [mysqlnd]& k  h) E. [6 X9 |- y3 ^( v5 \( \
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ! j: U! V& O3 \1 I
  1178. ; used to tune and monitor MySQL operations.
    0 `* t/ C! z. W* m
  1179. ; http://php.net/mysqlnd.collect_statistics
    2 k0 [5 V' G% R& \) E# u
  1180. mysqlnd.collect_statistics = On5 N8 A* t/ x% x8 {4 \: q( |

  1181. 0 x8 D6 Z4 i' C$ l0 D
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ W' r: W2 j+ z9 z
  1183. ; used to tune and monitor MySQL operations.
    7 C; s; _  j8 V; W- X" }* {
  1184. ; http://php.net/mysqlnd.collect_memory_statistics; L/ E- ]( u  V3 m  q: Y. `
  1185. mysqlnd.collect_memory_statistics = Off
    8 z# y' `& ?: B# r
  1186. 6 j. Q  U( y3 K) H% [5 O* o% |
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    + G- r6 V9 q# o3 ~! S9 l
  1188. ; file.
    ( o, @. p9 v  F: j. i: R
  1189. ; http://php.net/mysqlnd.debug
    . |6 C$ q" ^' u
  1190. ;mysqlnd.debug =8 k  r& r, h$ `9 J* ]9 L7 Y7 J
  1191. 9 {2 P, H, b( A/ q+ o
  1192. ; Defines which queries will be logged.
    % X4 R( U7 M* o3 j2 d6 I; |
  1193. ; http://php.net/mysqlnd.log_mask
    8 X* a' y5 |0 Q' A: u- B
  1194. ;mysqlnd.log_mask = 0
    - }% @* Y* ?9 g7 l# }4 V

  1195. ) s- C- C( l" Q; m
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * j8 N- t( f! T& ^# B+ M
  1197. ; http://php.net/mysqlnd.mempool_default_size
    1 ^* K2 l5 J* y3 I/ T; e8 ?/ e/ |
  1198. ;mysqlnd.mempool_default_size = 16000
    : z' q$ E  n/ j  e1 J
  1199. ; w2 p( f9 h4 v, v
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    * m1 b  w2 J' l$ `  ~: `. l
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    8 o) d# L! M- z. @4 ~. m5 `: d/ J
  1202. ;mysqlnd.net_cmd_buffer_size = 20481 e- o; A0 q2 h7 R
  1203. ) \* G' O9 @/ B; c# a3 Z! }3 p
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in, ^9 k' W# b3 E( {' O% x, E5 ~
  1205. ; bytes.
    ( b! Q) x. ?# L3 c3 P% I
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    % |" o* W7 n# J/ z* c- q
  1207. ;mysqlnd.net_read_buffer_size = 327683 d$ |/ F% {* S/ R; B; U0 B4 G" E
  1208. 8 K8 J4 w. {( D
  1209. ; Timeout for network requests in seconds.
    . W/ v) P6 w& y" D( n% g3 G
  1210. ; http://php.net/mysqlnd.net_read_timeout
    - p( Q- E  N- x8 u; _
  1211. ;mysqlnd.net_read_timeout = 31536000
    3 }1 N' q, R( M( [. M/ w5 F5 D
  1212. * m" `1 @& k0 x& \
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    " R, t3 q+ U; Y+ I# W
  1214. ; key." M3 r: e0 p% G  Q6 E" a1 K" V
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% k7 M- X8 H0 U1 ~+ x
  1216. ;mysqlnd.sha256_server_public_key =
    7 Y/ Y( y5 w0 Y4 b- I# R+ O

  1217. 7 {' [3 e- `4 m! W. F# H
  1218. [OCI8], ~# U- u4 L* k. T
  1219. 2 X+ K$ D5 N9 \8 z  Y: r5 w
  1220. ; Connection: Enables privileged connections using external
      M) O* R) z8 t% I) `
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 c/ A0 `2 F" s- b: I9 f
  1222. ; http://php.net/oci8.privileged-connect1 q  N, [" @' X/ Q% Q) o
  1223. ;oci8.privileged_connect = Off% Y' x' X+ a9 j: Z

  1224. 0 P# r6 ?$ T! ]0 z# f
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    " d1 s1 P  G" B1 t) m6 ]
  1226. ; process. Using -1 means no limit.
    - I9 o, k/ Q2 M1 P; S1 z
  1227. ; http://php.net/oci8.max-persistent/ W! m  c6 X+ O# e' N$ V" K: c
  1228. ;oci8.max_persistent = -18 @5 {3 Z6 l9 P& F6 h

  1229. + a3 |6 s7 p9 G; m. j' p& V) U3 I
  1230. ; Connection: The maximum number of seconds a process is allowed to
    8 X- D0 v6 A6 l, V" c& k6 [% T
  1231. ; maintain an idle persistent connection. Using -1 means idle
    % i2 p4 L* V, h7 J, \3 H: u
  1232. ; persistent connections will be maintained forever.4 n8 z' {" |- V; u2 X
  1233. ; http://php.net/oci8.persistent-timeout
    & ?  }) ?& Y( V; l: E! |
  1234. ;oci8.persistent_timeout = -1
    . L2 C+ x) K) R

  1235. & U3 p$ v- r6 Y2 K/ Y5 l
  1236. ; Connection: The number of seconds that must pass before issuing a8 I  R' G, Q+ |, w' Z: N
  1237. ; ping during oci_pconnect() to check the connection validity. When
    % N6 k% L0 s( X8 h3 A# l6 y
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 P6 B9 D+ i: @& C
  1239. ; pings completely.
    & A! v% z5 Y  X; ^
  1240. ; http://php.net/oci8.ping-interval
    ( G6 F- z; U- S
  1241. ;oci8.ping_interval = 608 A1 }" I, n" _
  1242. % g6 N1 o* p' O$ h5 E3 B0 m
  1243. ; Connection: Set this to a user chosen connection class to be used
    2 \( ?6 g5 K; s) y/ t& }2 b! `
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    * Z8 n8 k, o0 U  O8 c  x" s
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to2 x& {, K/ L/ V, H8 r0 E( o
  1246. ; the same string for all web servers running the same application,
    3 `& V$ h2 p, ?8 f% n' r
  1247. ; the database pool must be configured, and the connection string must& e& l; s  z& ^
  1248. ; specify to use a pooled server.3 T8 o- H1 L& [+ H
  1249. ;oci8.connection_class =5 A9 R/ ~  K3 H" ?

  1250. 3 T3 w7 D8 u0 v. h7 Y( `
  1251. ; High Availability: Using On lets PHP receive Fast Application0 \" A; m" k) W/ n$ N
  1252. ; Notification (FAN) events generated when a database node fails. The
    0 U6 B) E7 `# c9 @
  1253. ; database must also be configured to post FAN events.
    7 [5 @  o6 I' o& U
  1254. ;oci8.events = Off4 W2 a: c' m; Z: c$ S& d
  1255. " p: o  U$ y8 T) D
  1256. ; Tuning: This option enables statement caching, and specifies how' w2 y% c1 T% `$ v1 F7 W# X$ l% f
  1257. ; many statements to cache. Using 0 disables statement caching.8 w5 }- R, |" Z3 ^! s" I$ G% F
  1258. ; http://php.net/oci8.statement-cache-size! D. B9 N" s7 `' r/ x) C8 E
  1259. ;oci8.statement_cache_size = 20
    / `' z1 X. P3 g" O

  1260. 7 A0 [0 i3 R7 K( h  F6 W
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    # H8 o: C' v0 V$ |5 y; @& \
  1262. ; rows that will be fetched automatically after statement execution.- N) o' ^& ^4 b. H  I3 ^
  1263. ; http://php.net/oci8.default-prefetch
      s0 ?7 R7 Q$ y( q
  1264. ;oci8.default_prefetch = 100
    2 l3 p( {# ^+ I" {  {6 f% G+ q

  1265. 3 _8 K9 u4 W9 W8 r
  1266. ; Compatibility. Using On means oci_close() will not close: @4 m" _' U+ F0 m' t
  1267. ; oci_connect() and oci_new_connect() connections.+ J0 Z) q& U: F5 W1 R1 O
  1268. ; http://php.net/oci8.old-oci-close-semantics
    5 G7 p6 u+ a" U& t$ z; f# J! o
  1269. ;oci8.old_oci_close_semantics = Off
    ' _0 c8 m7 \8 J$ U
  1270. - T: ?8 C7 c/ T+ j
  1271. [PostgreSQL]( h1 {0 i# y2 R# |0 d9 x% ]* ~- @
  1272. ; Allow or prevent persistent links.
    * U5 `+ ?; b3 q6 N+ ]9 v
  1273. ; http://php.net/pgsql.allow-persistent2 Q& ?( y, b7 a: L( p
  1274. pgsql.allow_persistent = On; `) P5 |  V8 @( g

  1275. 9 H' S6 j. P* K1 g0 q- W9 b
  1276. ; Detect broken persistent links always with pg_pconnect().
    + R" i- H2 ?6 W8 E$ H
  1277. ; Auto reset feature requires a little overheads.
    + N1 M9 ^, Q/ ~- r1 m, c
  1278. ; http://php.net/pgsql.auto-reset-persistent& N- m! `1 X8 F
  1279. pgsql.auto_reset_persistent = Off" M! D$ F5 C) @5 e9 j

  1280. & Z" r2 K& X) u* y" p8 Z
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ' g. E8 V8 o  x' d5 r- J
  1282. ; http://php.net/pgsql.max-persistent
    4 O; F8 h/ _7 C6 ]1 I
  1283. pgsql.max_persistent = -1
    ' C8 C4 D+ Q( }( t( ^

  1284. ( h+ e" {" C, |4 @* u$ p& Y
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ s9 ?5 y3 F4 V2 V+ b, i6 n
  1286. ; http://php.net/pgsql.max-links, V2 ^% W/ J) I* m- J" v
  1287. pgsql.max_links = -1. ]0 `; k* P! c& s
  1288. 3 |5 J0 Q# F  \4 E3 q) a
  1289. ; Ignore PostgreSQL backends Notice message or not.; O" D# t& W( `  s# r6 N- V
  1290. ; Notice message logging require a little overheads.: |' v" O6 L# w# w
  1291. ; http://php.net/pgsql.ignore-notice
    6 F9 [2 J) q* _: Q
  1292. pgsql.ignore_notice = 0& D' D4 M# z7 g  \; }2 n( l$ p

  1293. - ?! t* X7 A8 V: \
  1294. ; Log PostgreSQL backends Notice message or not.
    0 a. q( A( l" i& C* i- w$ E1 R
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; d) G5 q2 L. @7 Z) W7 b* A/ J" m- t
  1296. ; http://php.net/pgsql.log-notice4 r4 G% U9 ]1 n" p0 n, u
  1297. pgsql.log_notice = 0
    , i, \$ t" \9 I) o

  1298.   }3 Y% a9 x$ c! @
  1299. [bcmath]
    / d  D) w$ h: X$ U0 ?
  1300. ; Number of decimal digits for all bcmath functions.
    $ \% c: l6 x  C, @
  1301. ; http://php.net/bcmath.scale
      u% V1 I! Y$ z% l. x7 m+ b% N/ j' m
  1302. bcmath.scale = 0
    ) c7 C# U6 _+ K/ J
  1303. / e6 i$ e. A( y
  1304. [browscap]( y+ L5 e5 c1 v# ^9 Z2 q- c) Q- `4 A" c
  1305. ; http://php.net/browscap
    3 I: d# n2 U$ a6 B: e% V* M
  1306. ;browscap = extra/browscap.ini& U0 v4 A6 t: N! k2 i" l4 E# R# W
  1307. & p! ]/ {8 K9 D/ `( V! x' }6 K& O
  1308. [Session]
    + }# M0 a' I" G9 t) }/ i
  1309. ; Handler used to store/retrieve data.
    1 X$ j. q+ F+ u5 ]2 g
  1310. ; http://php.net/session.save-handler
    ' \( z8 t& j' s/ v
  1311. session.save_handler = files: k  }0 H7 B- w# I3 q
  1312. : e0 L# c3 K4 Z( X! |' j
  1313. ; Argument passed to save_handler.  In the case of files, this is the path% D2 ^3 m, j, }2 {! g
  1314. ; where data files are stored. Note: Windows users have to change this  @% ^9 C& k# a. B
  1315. ; variable in order to use PHP's session functions.! ?; ~  a2 G) z0 N
  1316. ;
    8 u# Y- O9 R) l; l  x: ^2 J! O; Q
  1317. ; The path can be defined as:
    9 S* P- W% ]1 q& O* ?9 K
  1318. ;
    4 k, Y' r$ g4 E
  1319. ;     session.save_path = "N;/path"
    " {' E9 `, ]2 p) @+ H  w" ~
  1320. ;
    % C$ ~/ j+ Y& E; x7 H+ Y6 I+ P
  1321. ; where N is an integer.  Instead of storing all the session files in2 y# E% f0 M+ m# v
  1322. ; /path, what this will do is use subdirectories N-levels deep, and9 `1 E: x3 g. T: @
  1323. ; store the session data in those directories.  This is useful if( r+ ]8 t4 y' E7 e" H& X; l# S# t8 ~
  1324. ; your OS has problems with many files in one directory, and is- h/ d  N+ O  R  G3 |6 h4 p
  1325. ; a more efficient layout for servers that handle many sessions.6 K; v. w- A3 Y# d3 T. w6 \6 n
  1326. ;# P4 q. J$ W; ^; l: P
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    1 s8 `1 B& F: P1 [0 l; n
  1328. ;         You can use the script in the ext/session dir for that purpose.
      L* B: U9 ]- `. j) }. a
  1329. ; NOTE 2: See the section on garbage collection below if you choose to  E: q+ K5 ~% b+ K
  1330. ;         use subdirectories for session storage. t2 I2 w7 R- _" D7 x
  1331. ;. Z0 x- B/ r8 ~1 `
  1332. ; The file storage module creates files using mode 600 by default.
    + A$ `# s6 E* f
  1333. ; You can change that by using
    - Q3 `+ D6 x: b; s- c
  1334. ;8 t. u5 F  V. x; S
  1335. ;     session.save_path = "N;MODE;/path"% q* t/ _1 {3 D+ J7 h
  1336. ;- L( P) w8 C3 G' W% `% m
  1337. ; where MODE is the octal representation of the mode. Note that this/ W/ q& E+ L8 U) r
  1338. ; does not overwrite the process's umask.) E  F! [/ o2 \8 Q+ g( q% C
  1339. ; http://php.net/session.save-path
    - m+ e: Q( _& ]. ?
  1340. ;session.save_path = "/tmp"4 X2 m  Q8 l. f

  1341. + Q, S% |& u) d. [
  1342. ; Whether to use strict session mode.; T, y( o! L/ v: {$ w, M$ p
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate1 P) z3 l. k4 ]* n8 b& h1 _
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects! H; Z1 r7 x( m6 l0 Q( O
  1345. ; applications from session fixation via session adoption vulnerability. It is
    # [# T' ~! f/ S0 D
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    $ G/ x- E+ o; }( x7 b( o  Z
  1347. ; https://wiki.php.net/rfc/strict_sessions# b9 I6 b7 {+ G" D" N8 i- }% W
  1348. session.use_strict_mode = 0
    2 F( v: M; \% V2 E! ]4 d) @
  1349. ) Z+ g8 s* k' J9 v' S, p+ s2 z
  1350. ; Whether to use cookies.9 n& L7 q! R8 q+ {( o! S
  1351. ; http://php.net/session.use-cookies( q+ x/ t$ B/ ?
  1352. session.use_cookies = 1+ s/ N+ D/ I& V+ g* ~: ^0 Z
  1353. 4 z) ]# T, _5 F$ }5 a
  1354. ; http://php.net/session.cookie-secure& I/ z3 Y3 q, M
  1355. ;session.cookie_secure =
    ( C1 s+ ~. t1 f0 D# C

  1356. 8 O4 l* {, g# {9 Z3 e8 x' ?
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining- `- Y* @% d/ C9 v) Q, P* b
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    * o* P% ?; `1 p; q1 F. q
  1359. ; session hijacking when not specifying and managing your own session id. It is
    " C' Y* U3 i3 x1 q' N
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    4 U1 p- e! \6 v) ]0 O% `/ u/ q
  1361. ; http://php.net/session.use-only-cookies
    ' R+ ?; V4 w% n% ?- y7 y' X
  1362. session.use_only_cookies = 1
    ' t) `) p0 X7 u. ?

  1363. 5 U0 h0 M! u+ \- e8 n2 y
  1364. ; Name of the session (used as cookie name).
    - l2 t& }( c7 C
  1365. ; http://php.net/session.name
    * ?0 K& ^  J: {& x
  1366. session.name = PHPSESSID
    - F- O+ D" [$ ?$ @8 S

  1367. & g" U! T& F/ Q! ^& }
  1368. ; Initialize session on request startup.
    4 L- f7 \' o' Q, _1 ~; J
  1369. ; http://php.net/session.auto-start
    / E# W5 k# g) ]2 T
  1370. session.auto_start = 0
    1 A9 V6 I& N- F

  1371. , h7 ~  s% u8 K/ f5 [
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  e8 a5 ?; O7 C; m6 L0 ~
  1373. ; http://php.net/session.cookie-lifetime2 L, e3 i$ D  c- {7 T
  1374. session.cookie_lifetime = 0
    . @1 g5 G2 t  c

  1375. ' _- t2 \1 E  `" U  Q8 e$ ]3 ~9 `
  1376. ; The path for which the cookie is valid.
    , @' F5 g9 H, L( r; f7 R/ }
  1377. ; http://php.net/session.cookie-path
    2 Z+ f! U8 U8 |# E" D
  1378. session.cookie_path = /
    5 ]& R, G/ q4 G% t" E

  1379. & V9 n- N: ~' Y& M# Y3 W  i
  1380. ; The domain for which the cookie is valid.9 o9 q9 Z8 O2 O1 h+ O; c
  1381. ; http://php.net/session.cookie-domain
    ' x2 B1 O$ {7 d$ V
  1382. session.cookie_domain =
    % T- Q% Y9 ]) w) G$ X$ z3 \. a
  1383. " L0 Y+ o) [/ B2 Z( m
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) z) p. N2 V* b( ~* p" |
  1385. ; http://php.net/session.cookie-httponly
    7 z$ i4 o/ Z+ Z: x9 {
  1386. session.cookie_httponly =
    . U+ N$ ^+ Z; g/ |! a6 t# b
  1387. . X! |& ~( _5 \) L3 Z
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP." O  K# G/ W0 o4 u
  1389. ; http://php.net/session.serialize-handler& t; f0 F6 A4 }! x( h9 b5 y
  1390. session.serialize_handler = php! N( I) f( J0 G; r. b- s/ j
  1391. ) ~' W1 L" t* g' _/ x. l& t
  1392. ; Defines the probability that the 'garbage collection' process is started
    $ D% L" _: E7 w5 O! H8 A. G4 Z
  1393. ; on every session initialization. The probability is calculated by using; N; U  e* {" o1 F3 b: V7 |
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator0 E% X+ O5 @' }; |$ ^& i
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1" |, A# e# d' [
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, V0 K1 I9 l( r5 @# {% \
  1397. ; the gc will run on any give request.' v( Q# g/ u& x) f0 t8 c
  1398. ; Default Value: 1
    : _% M, e: v, {* T, T
  1399. ; Development Value: 16 P, c/ k% }2 p2 o
  1400. ; Production Value: 16 j/ @: d8 k- A) d4 k$ I
  1401. ; http://php.net/session.gc-probability* K( a+ U5 @% I1 f2 w& }9 M
  1402. session.gc_probability = 1* \6 n* Y. F* ]3 s. J$ v$ B7 Z: _
  1403. 5 ]6 E; T% [/ p! F
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ' m, l! @( {  l5 |8 b5 r# _# C
  1405. ; session initialization. The probability is calculated by using the following equation:
    * x# i5 R2 u+ j+ a) d- E
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and/ [$ m/ u9 t6 j
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 K  M" |) g$ j. d
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 f; d0 J% U% }+ J5 R- J3 I
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    6 k: V# `# L: t7 k3 f6 P9 n5 h! B
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,6 f. O; h$ v# G7 p9 A( W+ v2 n( r- s
  1411. ; this is a more efficient approach./ H7 `6 I0 _$ G/ D6 ^% c: n( |
  1412. ; Default Value: 100
    % V3 M) E5 t% p* d& h/ k
  1413. ; Development Value: 1000
    ! V) Q) w; T) P) Q0 @
  1414. ; Production Value: 1000
    1 Z4 @6 |: @0 R. U
  1415. ; http://php.net/session.gc-divisor
    ( ]0 Y1 j3 z  d
  1416. session.gc_divisor = 1000
    ; {: |+ y$ j& G7 i4 k

  1417. 4 h2 v+ E! V9 o2 G( u
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    5 g9 D! V: B* A0 ]6 i, I+ M
  1419. ; cleaned up by the garbage collection process.
    2 g/ D$ z0 R% ^* I9 X5 h, Z0 E
  1420. ; http://php.net/session.gc-maxlifetime) l2 M8 ^# o, f
  1421. session.gc_maxlifetime = 1440
    ) @' T0 X  @! d6 S1 c
  1422. & X% O# K$ }- U/ E/ d& B
  1423. ; NOTE: If you are using the subdirectory option for storing session files# p& `. F3 s4 K0 h; n2 d5 U6 ~+ |
  1424. ;       (see session.save_path above), then garbage collection does *not*4 c  Y1 V* _# {: e8 k; m0 k
  1425. ;       happen automatically.  You will need to do your own garbage
    # H- D7 ?8 W# y' q1 P  I
  1426. ;       collection through a shell script, cron entry, or some other method.8 h& B3 b2 x- C( y2 d4 [; d
  1427. ;       For example, the following script would is the equivalent of6 s2 T1 K9 D! y+ x, o  }/ P
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    " `" D. n' W. d4 G
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    . l) z% _7 e- Y* o
  1430. ) b9 @# p) B3 D% [( ~5 A. }' {9 ]7 b& @: y
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    . }  \' V2 D  {. b: s/ w
  1432. ; HTTP_REFERER has to contain this substring for the session to be1 a) F. U  A2 `
  1433. ; considered as valid.
    - J, {# K( z0 L6 U5 C5 q) i9 E) s
  1434. ; http://php.net/session.referer-check6 V: t  [1 C" W* P& N& W" L
  1435. session.referer_check =
    ' d! k( Y6 i' ^2 I
  1436. 8 d1 `1 c5 F( {4 K% u1 b8 a* r. }& X
  1437. ; How many bytes to read from the file.) k( v6 V: C" Y
  1438. ; http://php.net/session.entropy-length4 `% ^' b! S2 }0 _- g! X1 |; R
  1439. ;session.entropy_length = 32: h4 `0 M: t$ A+ H5 v& H. [
  1440. : P& A" ^3 T# j$ N, ~
  1441. ; Specified here to create the session id.1 q; L) W/ e. W& S5 S; Q: t, @: m/ P2 {. j
  1442. ; http://php.net/session.entropy-file
    : g' v7 v5 k, @) H& b5 j% l5 t6 S( R
  1443. ; Defaults to /dev/urandom
    % i7 }5 b* S0 K8 j, D
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    3 v2 D0 T) r! m- Y0 @  ~: s
  1445. ; If neither are found at compile time, the default is no entropy file.! v8 |$ z* }/ M0 Q! B% \6 G, m; Y+ ?9 F
  1446. ; On windows, setting the entropy_length setting will activate the- t" S2 p" L( z4 x. X
  1447. ; Windows random source (using the CryptoAPI)4 P# z8 z# f4 a' @
  1448. ;session.entropy_file = /dev/urandom& P0 Y; ?* }2 h  R/ T! M

  1449. , ^3 d& O) L3 s9 }5 L
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
      U" A! B5 t# r1 {8 K5 o9 s
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 ]+ c4 z0 z1 ~- S0 t
  1452. ; http://php.net/session.cache-limiter
    : o  o# v8 \6 K  d8 E/ _! E, U
  1453. session.cache_limiter = nocache$ N9 Z+ L9 ~% V6 b6 _9 ~4 d

  1454. - \' k( R; c/ A# A* o, C
  1455. ; Document expires after n minutes., A9 w+ e: U7 S8 O; W
  1456. ; http://php.net/session.cache-expire
    ; |  T! ~( |4 e4 u& f9 M
  1457. session.cache_expire = 180
    : E1 F3 v! _. p0 J# L
  1458. 9 D  |7 ~- V8 T: }9 J! S  R
  1459. ; trans sid support is disabled by default.; P% G% u% Q# d( y6 `
  1460. ; Use of trans sid may risk your users' security.) T# I- G; s' C* L' G
  1461. ; Use this option with caution.
    + O; f+ F3 g: @0 i0 c
  1462. ; - User may send URL contains active session ID
    $ `5 d% o: U& n1 X: R
  1463. ;   to other person via. email/irc/etc.# {7 H2 c, F. H5 u5 o. `
  1464. ; - URL that contains active session ID may be stored' i* f3 p: @& Y; r' K5 p* a
  1465. ;   in publicly accessible computer.
    ) j3 P$ d8 b# y( V8 T( @6 y2 d
  1466. ; - User may access your site with the same session ID
    8 A0 B" f0 O3 O& _) }/ Y2 W5 H
  1467. ;   always using URL stored in browser's history or bookmarks.
    6 C) I* ^1 C) l
  1468. ; http://php.net/session.use-trans-sid3 ]2 f( L4 Z, j! J
  1469. session.use_trans_sid = 0% U4 h' V% {. I( @5 Q
  1470. # n( F4 v/ K) @$ l$ C1 P
  1471. ; Select a hash function for use in generating session ids.
    ! J" U4 y1 u: i* S% u2 k- v! `2 ]" w
  1472. ; Possible Values# W) f4 C6 o% c) F8 A0 |, R
  1473. ;   0  (MD5 128 bits)
    ! `/ t, s: g- r* @) L( r
  1474. ;   1  (SHA-1 160 bits)9 M, e( M+ O; X* R) U2 s% o
  1475. ; This option may also be set to the name of any hash function supported by
    & q% x. L) B, m4 w3 S- e# D
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()/ d' D# h. ^! |* g# b
  1477. ; function.
    " m" k0 I7 F/ N; A1 e, u' @
  1478. ; http://php.net/session.hash-function
    9 H! a  m6 z2 f0 w
  1479. session.hash_function = 0# z2 ~4 |5 w1 z% K; ?6 O# N2 |
  1480. , s1 B1 G8 ^% b4 r: e: J  k
  1481. ; Define how many bits are stored in each character when converting7 i" t+ t) D& _" T# i5 s3 q
  1482. ; the binary hash data to something readable./ n$ E( y4 D0 m
  1483. ; Possible values:
    0 d* |- F! y8 v7 C) v
  1484. ;   4  (4 bits: 0-9, a-f)& \! ]# H8 C/ c: d. h$ s
  1485. ;   5  (5 bits: 0-9, a-v)5 i6 F/ s  W: f! w& ~3 N: x
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")8 j  j0 |6 |& C' ~
  1487. ; Default Value: 4
    0 z4 M+ C( f# v1 r  O+ u
  1488. ; Development Value: 5
    5 `- f% P( {4 x& c
  1489. ; Production Value: 5. f% r. `/ v8 W/ n2 F
  1490. ; http://php.net/session.hash-bits-per-character/ D! N1 `  q( d5 m
  1491. session.hash_bits_per_character = 5
    * {8 f$ I% d4 ]- f
  1492. - {( r: ]; p) D" R/ P* h; i5 h
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    1 C: Y, {. D* B7 _+ X& y
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    & c; V- p; \- \, f' C7 k- K
  1495. ; add a hidden <input> field with the info which is otherwise appended# K+ L9 Y, E4 O/ P; Z0 e7 J- P6 p
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / f/ R1 U; t$ L% ?
  1497. ; Note that all valid entries require a "=", even if no value follows.% @& |, r6 K8 y) q8 G
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 ?- s# _0 n) G$ N# [
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! C1 Y0 Q" E0 m9 n0 V- r
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / ^7 |5 A4 V0 J8 b- e! {  V
  1501. ; http://php.net/url-rewriter.tags
    + ~' _& ~& [( |, J' @4 v
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    " k" J6 M; l0 ]5 @% I

  1503. & l  m( N, Y. l. B
  1504. ; Enable upload progress tracking in $_SESSION
    / W0 ~8 c2 H) `$ y: k, B& u) x
  1505. ; Default Value: On
    : A. o. ?8 G, ?
  1506. ; Development Value: On
    8 B7 c+ A4 y/ O" e* q  s, }
  1507. ; Production Value: On
    ; n0 W# J- Z$ @# G
  1508. ; http://php.net/session.upload-progress.enabled
    ) J: N6 N- _+ J5 z/ z6 f8 u
  1509. ;session.upload_progress.enabled = On5 R, y0 s  Z- T( ]6 ]) P
  1510. 5 a+ p' L8 m' i5 L1 J
  1511. ; Cleanup the progress information as soon as all POST data has been read- r: s( o; f. O  v1 G
  1512. ; (i.e. upload completed).
    . X/ D8 O  M, f
  1513. ; Default Value: On, u, Q7 j. V' I- @$ I% A$ Q
  1514. ; Development Value: On3 ^( Q. R8 J9 d
  1515. ; Production Value: On( p( B2 Q' m) ?. D
  1516. ; http://php.net/session.upload-progress.cleanup2 [0 Q4 V" @* ^% X; W) ^
  1517. ;session.upload_progress.cleanup = On
    ) f4 d$ u- U5 E# c0 S& c

  1518. ; n7 T$ ~9 o" t- a0 W: x
  1519. ; A prefix used for the upload progress key in $_SESSION- E+ N5 i% C# C8 q
  1520. ; Default Value: "upload_progress_"* G  w8 D+ A2 C, f. i4 v+ |
  1521. ; Development Value: "upload_progress_"6 k, `5 j- }& f3 W4 k
  1522. ; Production Value: "upload_progress_"0 h# f( v; D& T( A) i
  1523. ; http://php.net/session.upload-progress.prefix
    ! W6 I: r3 N- ?5 z1 b
  1524. ;session.upload_progress.prefix = "upload_progress_"- M9 o  h* B7 W' q* C# o" y
  1525. , `6 h+ F1 L. y' \3 L. T
  1526. ; The index name (concatenated with the prefix) in $_SESSION' n( i$ T. e5 _$ W1 E; |
  1527. ; containing the upload progress information
    5 H+ @; H& C) Y* f: _
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( i3 L0 `0 A" I6 {4 F& w
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"" |0 B  H1 D1 R9 _; e) R
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . F, H* m: K8 h/ q4 M
  1531. ; http://php.net/session.upload-progress.name
    6 K" r, q0 I- h5 R$ F
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 A& {' S0 Q, |! l
  1533. 8 X2 U1 L, ~! W# `6 M. R# ?
  1534. ; How frequently the upload progress should be updated.
    6 [/ F7 g. I( }1 Z, u5 }
  1535. ; Given either in percentages (per-file), or in bytes+ \! ~- _  X/ u
  1536. ; Default Value: "1%"
    ' {1 p2 ?+ j- K% r- Q+ L
  1537. ; Development Value: "1%"# }9 Z' C0 w8 V8 p1 E, ]
  1538. ; Production Value: "1%"
    * U+ Q+ }+ x& h; f4 P3 r4 a- X
  1539. ; http://php.net/session.upload-progress.freq
    9 |$ w! C; y/ ~  n4 U
  1540. ;session.upload_progress.freq =  "1%": g5 h. a, W7 |: r, t. F+ Z3 L; ~

  1541. - d$ Q' D/ _9 j! U6 M
  1542. ; The minimum delay between updates, in seconds0 v9 l# H) v$ a! X: @2 Y
  1543. ; Default Value: 1
    3 C, q& a* Q! ~5 u4 m
  1544. ; Development Value: 1
    ) ~9 P0 {% g, k* D
  1545. ; Production Value: 16 G3 O4 l4 B+ u
  1546. ; http://php.net/session.upload-progress.min-freq6 J2 d* l# I. }
  1547. ;session.upload_progress.min_freq = "1"
    9 z, _( X! r) p# C
  1548. ' l" B1 {- _9 |7 V/ A4 M
  1549. ; Only write session data when session data is changed. Enabled by default.; D) u' W! B/ ]. Q% c" G% f
  1550. ; http://php.net/session.lazy-write) q/ n1 w- m/ T0 F
  1551. ;session.lazy_write = On
    5 u$ ?" M# L! Y5 U0 n
  1552. : X( Q6 q7 f# u$ h$ x- C& |3 E+ [
  1553. [Assertion]
    ( F* Y: A3 ^  o5 }
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)" D( t. Q8 B1 p! N$ y: l5 u
  1555. ; -1: Do not compile at all, Z% X! R5 P7 v) p/ q  C
  1556. ;  0: Jump over assertion at run-time
    1 k% ~& H- u2 ]8 i. |+ t% S1 S- a+ G
  1557. ;  1: Execute assertions
    : X- W2 R, M/ _$ K' ~" R7 V5 L
  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)
    $ b+ {, Y5 d# `
  1559. ; Default Value: 1! m! D7 S% n7 \9 H* ^( b4 x
  1560. ; Development Value: 1
    4 e. [: k* L0 ~+ a
  1561. ; Production Value: -1" h* q4 P$ P8 ^0 C! r8 ?4 _7 X4 i
  1562. ; http://php.net/zend.assertions
    9 H/ b4 V* C; V3 s) V- [
  1563. zend.assertions = -1) r3 n1 [" X: v3 e  c* S

  1564. ' J! N6 u2 g, v* Q, U- i. q( M
  1565. ; Assert(expr); active by default.$ x! E1 \6 H/ w
  1566. ; http://php.net/assert.active* G5 w; o4 h0 L
  1567. ;assert.active = On
    & b) _) X5 w: y8 c6 }
  1568. 9 n7 q) j% u! a  `  {" b& y
  1569. ; Throw an AssertationException on failed assertions
    0 H' c! W2 r0 c8 Q0 g/ X6 y
  1570. ; http://php.net/assert.exception$ z, y' f7 s1 ?+ O4 F
  1571. ;assert.exception = On
    3 }$ X( l+ b  R* |: _

  1572. 2 g. N8 l2 y2 |: [2 a' p
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    6 T$ c! e& t- X; a, C! p
  1574. ; http://php.net/assert.warning
      G/ N" I' B6 J3 X+ J$ p
  1575. ;assert.warning = On- }2 c/ T- m9 S7 Y6 m8 R0 `. i

  1576. " c% r' ?6 @( E8 ^7 \
  1577. ; Don't bail out by default.
    * J3 [/ u$ N; Y6 n  y
  1578. ; http://php.net/assert.bail
    7 ]9 V# G) M: l' s' l. k9 J4 ?
  1579. ;assert.bail = Off
    3 k; w! g* |4 A  p5 @

  1580. ' i" U& ]( m: b# h
  1581. ; User-function to be called if an assertion fails./ [4 M. T( Q# o0 _& M
  1582. ; http://php.net/assert.callback3 g( Z+ k2 c, y- v. z. E
  1583. ;assert.callback = 0
    0 ]# B5 n+ v1 O9 w/ w. ~2 H, |

  1584. ; ~5 X6 d' i# H" A; i! E
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ) Q' o% l% \/ b# U1 F" }
  1586. ; error_reporting(0) around the eval().5 m5 u9 L6 K9 l& I. _2 B# b
  1587. ; http://php.net/assert.quiet-eval
    4 k. b. A( F! P& J7 d- u1 {
  1588. ;assert.quiet_eval = 0
    . @9 p' }+ h5 Q+ _

  1589. * C4 _* @* u2 f/ H" j
  1590. [COM]: V9 W6 i5 n3 }! s; n2 x! _
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs0 s6 q/ j; A. p8 S$ {
  1592. ; http://php.net/com.typelib-file
    , k! ^2 C, H/ u' y1 M8 \
  1593. ;com.typelib_file =
    $ }# ]" }  N% w0 \* e

  1594. & v6 N; }+ r& V8 m, P: j! u
  1595. ; allow Distributed-COM calls
    6 V2 N- Y, \9 h6 E& ~$ K+ g0 b
  1596. ; http://php.net/com.allow-dcom
    : L( u- N. ], H  n
  1597. ;com.allow_dcom = true
    ! N4 o, ?' e* X' @

  1598. ( n$ J8 G* v1 ?1 R
  1599. ; autoregister constants of a components typlib on com_load()
    , g, z5 {/ X2 r% Q  s
  1600. ; http://php.net/com.autoregister-typelib/ ~3 C8 x. j, E: M0 [
  1601. ;com.autoregister_typelib = true+ N1 N- T7 E5 b: s, s6 j
  1602. 5 D2 s, k' M; i" f* k- V3 a
  1603. ; register constants casesensitive
    8 r7 o* O/ q2 H# l  h1 O' G
  1604. ; http://php.net/com.autoregister-casesensitive
    . q3 s, v; q1 T) h) t
  1605. ;com.autoregister_casesensitive = false8 E* s  q) h& I: I# ?. U

  1606. . u0 x1 x" ~+ a4 {/ @# D2 N
  1607. ; show warnings on duplicate constant registrations
    * J- D5 U& ?& k$ f, W
  1608. ; http://php.net/com.autoregister-verbose, ?$ O8 [- w: V8 \$ C7 m
  1609. ;com.autoregister_verbose = true; b& A+ H6 x/ K% v. G' B7 V5 r

  1610. 8 T  H7 B9 g5 k: i9 `2 |& O( C7 w, R0 f
  1611. ; The default character set code-page to use when passing strings to and from COM objects.6 e3 I  w: C9 g# z( H
  1612. ; Default: system ANSI code page6 a7 F3 [$ r  A# t1 P8 g1 j
  1613. ;com.code_page=, F* @& c. ]! t* ?

  1614. $ L( f% c, k  M- D7 ]+ N
  1615. [mbstring]
    5 h( {- `! F; }! X* G
  1616. ; language for internal character representation.
    5 c$ z& E" T1 E( E
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    5 m6 L) g0 ?0 c! X
  1618. ; http://php.net/mbstring.language" F* M: Y8 ?$ W; [% {
  1619. ;mbstring.language = Japanese$ P" z3 @2 B: _$ x! A

  1620. - ?& G& o6 H& u. S6 d0 Z
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.  x$ k8 m; k" _5 G& i- X. k7 H
  1622. ; internal/script encoding.
    : \% H7 h8 c  E+ B
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    9 T, S% e- m5 Y! f
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & q. [2 c# t/ l! ~) A# d; e! z
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) P: [: V* M) m' Z9 ?
  1626. ;mbstring.internal_encoding =# b- W- Y5 d/ K8 F2 F' A, q
  1627. # ^& c& T# R( Q0 X$ A. ~" E
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.! l  S# Z* k4 Z* D4 t/ T" `5 X* M
  1629. ; http input encoding.4 {* J% D6 g7 [1 v# I
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.. X" u4 e: X5 r4 n, _) n9 y
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    1 S& }, V. K! k. c4 S/ X
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* Y, ^3 Q, j8 ]: t  Z5 w
  1633. ; http://php.net/mbstring.http-input& L+ Q- j2 ~# z
  1634. ;mbstring.http_input =+ n7 J# C' F# N. c6 v5 J6 M; D

  1635. . \5 v+ [5 U* X" r
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ A) J- Z4 k$ S5 a  x
  1637. ; http output encoding.. l7 T; X# S3 B  b( j1 j' i  {
  1638. ; mb_output_handler must be registered as output buffer to function.6 q; Q9 B  ?: @7 p
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; N, v* d' a+ f; |" `, H9 r' ?
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    * S: V, ~! j, b+ I9 N& R% O
  1641. ; To use an output encoding conversion, mbstring's output handler must be set( w- F2 J, a3 P* O
  1642. ; otherwise output encoding conversion cannot be performed.
    5 B3 [+ r4 }: p9 ]7 S* w
  1643. ; http://php.net/mbstring.http-output
    / X6 G. B% I* t9 E. J* B4 H
  1644. ;mbstring.http_output =
    - N( b$ C/ l" X" x' U+ \# ]

  1645. . q4 G/ G' j, A8 I! o
  1646. ; enable automatic encoding translation according to
    3 d  E, g( |' C7 u3 w
  1647. ; mbstring.internal_encoding setting. Input chars are
    2 \9 p; w' x$ {  N) \! w
  1648. ; converted to internal encoding by setting this to On.
    7 ]# g; U5 l! [- {& T; N4 K
  1649. ; Note: Do _not_ use automatic encoding translation for" W- h% U5 M2 Q8 @- H2 }
  1650. ;       portable libs/applications.
    - l5 k8 _1 H6 w
  1651. ; http://php.net/mbstring.encoding-translation
    0 P3 z2 |6 _7 x; X
  1652. ;mbstring.encoding_translation = Off; _* N7 D( b, r, u) u+ a' U! b5 F
  1653. ( D/ s9 z& E1 c4 _: x
  1654. ; automatic encoding detection order.
    + U+ C/ i8 @  r' J0 D
  1655. ; "auto" detect order is changed according to mbstring.language& a0 D) X, J0 Q- L3 y1 }
  1656. ; http://php.net/mbstring.detect-order: Q$ I$ D7 ?" X0 o1 y% f' `
  1657. ;mbstring.detect_order = auto
    . T/ [$ \& D% o) c7 ^/ g7 h( c1 W
  1658. ! r6 ?9 u2 d; F  X+ v2 E( _# d
  1659. ; substitute_character used when character cannot be converted) z4 I" u" ?$ S: N2 o4 l( p' S
  1660. ; one from another! _9 e, D" G8 n4 |: x/ m; V$ `2 C- t
  1661. ; http://php.net/mbstring.substitute-character
    . \5 u! w+ b8 Z- n$ B
  1662. ;mbstring.substitute_character = none7 q5 a/ a2 `4 |- L8 [

  1663. $ p9 C7 R3 e3 I
  1664. ; overload(replace) single byte functions by mbstring functions.- @) [. [: a5 g
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! j: n' N4 a5 r* m
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    " p" t' i* [& X% a0 w4 ?7 s3 M* _
  1667. ; For example, 7 for overload everything.
    6 b) \2 \& q5 L- H0 \4 R- E
  1668. ; 0: No overload
    0 }$ H) ]2 F% a; s" g
  1669. ; 1: Overload mail() function; a! X: E7 |$ x3 {- M, M! v6 `
  1670. ; 2: Overload str*() functions
    ' K& j; d* N. |, q
  1671. ; 4: Overload ereg*() functions
    - W" Z% [/ Q8 I
  1672. ; http://php.net/mbstring.func-overload
    + P! X5 S5 }- x; n# U) {
  1673. ;mbstring.func_overload = 0! e4 _8 z+ J1 M* N3 Q% x3 O
  1674. : q  N& ^( a6 e2 d  ?6 _
  1675. ; enable strict encoding detection.
    : k* p+ q0 j0 ~. Q. {* ]2 k
  1676. ; Default: Off( L! |  ?! \0 o' M4 K# G4 l1 a6 m
  1677. ;mbstring.strict_detection = On
    4 o8 Y' R) Q. `, l# L9 ^$ E7 i$ h2 X

  1678. ! O% ?1 X$ U& E1 t
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()- M! i8 ~4 {% v& }- ^
  1680. ; is activated.3 u- q$ ]& ]- W
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    + U, @  b* g, ^! C9 w1 q
  1682. ;mbstring.http_output_conv_mimetype=
    7 Q) Z& U5 |7 S( F) d* d5 e
  1683. " ^1 D+ D1 ~7 A) E: [% F
  1684. [gd]
    ( ]& x4 P5 C7 d  T0 _
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    . a9 Y6 N8 w/ I
  1686. ; a gd image. The warning will then be displayed as notices6 \" x) l7 J3 A0 `* X1 t: b. A
  1687. ; disabled by default, U1 H5 j- M. r; C
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ; }: l8 B: R  c9 S0 J  E" c& r, }9 A2 e
  1689. ;gd.jpeg_ignore_warning = 04 z+ @  x5 i+ K1 p# a* m% |
  1690. # e- d- K4 H, `7 q5 n$ x
  1691. [exif]
    8 ?6 v, w/ `; C/ S3 t
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; e2 h/ b4 V: F$ W
  1693. ; With mbstring support this will automatically be converted into the encoding
    ! o" [3 t: i% |' {
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding4 `/ A6 ]8 s' W6 i% V. x
  1695. ; is used. For the decode settings you can distinguish between motorola and1 U# F& J) f, t$ F( T9 i! E
  1696. ; intel byte order. A decode setting cannot be empty.
    7 j# H8 g2 L4 u* }2 }% u
  1697. ; http://php.net/exif.encode-unicode
    ' _# }, U6 R2 R5 c3 D$ H3 n
  1698. ;exif.encode_unicode = ISO-8859-15. I) U8 [5 X& p5 Q. h
  1699. ! j2 C! {2 c) _: d5 K
  1700. ; http://php.net/exif.decode-unicode-motorola
    6 |/ b; @/ ~# V& r9 J8 R3 _
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    % e! f1 l0 [( E* l8 y( x
  1702. 3 z. o7 L: Y6 F# s: R. B$ \
  1703. ; http://php.net/exif.decode-unicode-intel
    ! X, P3 h, d! b/ |
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    $ n9 M) Y  A& m- M. m7 ~4 f

  1705. 1 z9 |5 O4 {9 u$ O* p# D
  1706. ; http://php.net/exif.encode-jis
    : r! @" H. T  x6 v' L' @% }
  1707. ;exif.encode_jis =+ I2 e7 B( w7 e; j2 P: k- Z- u
  1708. 4 q. |( p1 U/ c( \' l6 `6 M
  1709. ; http://php.net/exif.decode-jis-motorola
    " v3 u+ `+ z+ d! A
  1710. ;exif.decode_jis_motorola = JIS* l$ A6 v8 l  Z# h; j/ u$ G+ q

  1711. - t% O* |/ ]# }7 c, C
  1712. ; http://php.net/exif.decode-jis-intel
    & T0 i0 s3 I, j7 X5 j
  1713. ;exif.decode_jis_intel    = JIS2 ~9 @  X% J6 b& f: \& u
  1714. 5 D( H0 {: ?% l1 ]* F/ I" M6 J4 T& q9 S( c
  1715. [Tidy]& D- D1 Q6 s. h; ]3 w0 t7 ~0 i9 {
  1716. ; The path to a default tidy configuration file to use when using tidy% s* M' q4 g  h. M! N1 Y5 [; R
  1717. ; http://php.net/tidy.default-config
    & |% N0 R& u# s: _* q( a' a/ ?! c
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg" }& E4 f* {# e4 G6 ?* D

  1719. & D3 I1 A1 b0 f# ~, R6 j. l
  1720. ; Should tidy clean and repair output automatically?
    # p- [' R) a$ J; d/ `
  1721. ; WARNING: Do not use this option if you are generating non-html content, y1 [+ ]. N8 ]. i( ~" k
  1722. ; such as dynamic images
    + i( |& T+ F" b6 K. Y
  1723. ; http://php.net/tidy.clean-output: i9 U9 d% T9 v
  1724. tidy.clean_output = Off
    # Z4 e8 \5 X% @. V
  1725. & |4 m' ^0 i8 ~6 o$ S5 `2 x' g" b
  1726. [soap]
    2 W7 }! @" G- K; L# Z
  1727. ; Enables or disables WSDL caching feature.
    0 d/ G1 P- L$ X( @4 h( g: z
  1728. ; http://php.net/soap.wsdl-cache-enabled" K: |) N# }& k0 Z# |1 I
  1729. soap.wsdl_cache_enabled=1
    : n7 c0 K. R7 x
  1730. 5 ~# T5 n* M% h" w# Z, n
  1731. ; Sets the directory name where SOAP extension will put cache files.& _. t0 J$ A: F1 D2 }0 x% S: e
  1732. ; http://php.net/soap.wsdl-cache-dir
    + n' H: y* b3 S" \, q2 `
  1733. soap.wsdl_cache_dir="/tmp"
    4 a. B8 w6 q( E$ J5 q4 z9 x' _
  1734. : }0 e/ C) S8 B. G& z
  1735. ; (time to live) Sets the number of second while cached file will be used2 @$ ?4 H* y. V0 f" C0 `( A
  1736. ; instead of original one.
    ! D7 Z7 f( F& z# S3 W5 w8 F
  1737. ; http://php.net/soap.wsdl-cache-ttl
    7 r) I: ~2 G& d9 s& {
  1738. soap.wsdl_cache_ttl=86400
    ) ~7 J5 t, {3 N
  1739. , s8 p: z; D1 u" y. }; T
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)4 ~5 [: R8 D& V! W, N
  1741. soap.wsdl_cache_limit = 5
    ) w2 D. Z1 L# J+ J+ o3 I
  1742. + U' c9 G# Y2 S" K' f
  1743. [sysvshm]5 ~5 M& N: O' ?
  1744. ; A default size of the shared memory segment
    9 z# Z; o6 T" e) t2 U" F
  1745. ;sysvshm.init_mem = 100004 f8 n3 z. L/ u. f" E3 T' V
  1746. * y1 m0 B* a9 E% L& T
  1747. [ldap]
    & V) O6 n4 H; E* L9 d5 D
  1748. ; Sets the maximum number of open links or -1 for unlimited./ A+ M, a6 F7 {) w  D2 Y
  1749. ldap.max_links = -1
    1 N' U: R6 q% U  y4 o( Q
  1750. ; @# G( ?: l  D# `& b! W
  1751. [mcrypt]8 f1 T1 P( f6 i$ w
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    % d7 J% W) G; ]$ F5 ^

  1753. . b- I) V- T# G) M
  1754. ; Directory where to load mcrypt algorithms
    " Z8 W1 \4 Y' d) |9 N( O" S
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ A( N' w% w$ A# q
  1756. ;mcrypt.algorithms_dir=  g* Z9 Y4 G# s% z

  1757. 4 D- K3 q/ C/ t' W
  1758. ; Directory where to load mcrypt modes
    ) u: M+ q: e+ ]! ], @  M
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ L7 Q5 ?" L5 t, r/ C1 n
  1760. ;mcrypt.modes_dir=3 Q6 {' L- i& I5 M: j9 n1 g
  1761. : l7 k% w  W, q7 U3 b* Q1 O) f  Q
  1762. [dba]
    1 a, ^$ R/ ^" Q7 P
  1763. ;dba.default_handler=
    * l4 @9 [+ L7 _5 u5 {8 x0 e

  1764.   P* ~4 R% A( T
  1765. [opcache]
    ! l3 e' j" i1 b) |+ w0 a
  1766. ; Determines if Zend OPCache is enabled, _; j* R0 O. o$ j5 `7 w
  1767. ;opcache.enable=0/ ]  }2 W2 Y+ s5 v! \
  1768. : g& S  k  x* A
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ( S7 [5 {) H. P4 {! h
  1770. ;opcache.enable_cli=0
    6 L5 P3 C- ^0 D) H5 r  z

  1771. , [: t, K2 V6 g8 S  J% {
  1772. ; The OPcache shared memory storage size.
    ( O/ w: Q; L* d5 u
  1773. ;opcache.memory_consumption=641 k' P0 C* P8 {0 Y( D
  1774. " S6 e6 l( e) \
  1775. ; The amount of memory for interned strings in Mbytes.
    & Y( d0 j9 _9 |6 j4 h
  1776. ;opcache.interned_strings_buffer=48 a. U4 n5 {: [1 |6 O- c& S

  1777. ; L% |( j, h% z
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.6 K" y3 Q. a# R" C  X
  1779. ; Only numbers between 200 and 1000000 are allowed.
    5 I7 @. x( Z+ {: v* Q
  1780. ;opcache.max_accelerated_files=2000; [3 L* x+ ]- r2 o* W* K# x& n
  1781. * J4 E0 N0 ^% L8 s: [2 Y
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ! g( R: H- q( m7 O: n* m+ B( z
  1783. ;opcache.max_wasted_percentage=5- Y! Z9 o( _5 x, |
  1784. " E/ Y/ p/ Q8 K$ |$ f
  1785. ; When this directive is enabled, the OPcache appends the current working
    6 ^7 a) v( `3 S4 L# [
  1786. ; directory to the script key, thus eliminating possible collisions between
    ) s; d( O, X, F+ O! r! L& R9 T! C
  1787. ; files with the same name (basename). Disabling the directive improves
    $ g+ V' R  i2 g9 _6 E* ?8 M
  1788. ; performance, but may break existing applications.! {- |) p& F4 k" m
  1789. ;opcache.use_cwd=1
    0 W& f+ m2 |  B' H6 A9 e. Z) R

  1790. 0 B8 e- N- t% p8 S" ?
  1791. ; When disabled, you must reset the OPcache manually or restart the
    , P/ M. j/ _" r( P0 H" G" \
  1792. ; webserver for changes to the filesystem to take effect.; z5 k% W: D9 t! k- ^) u! e. t
  1793. ;opcache.validate_timestamps=1; |& ]- `  m* e4 V
  1794. ' k) X5 V3 d8 E  k* C2 F
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    . P0 r0 Y2 Z% s
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ) x! {* G; {; ]
  1797. ; once per request. "0" means always validate)
    ( Q6 w+ c2 o! I/ b
  1798. ;opcache.revalidate_freq=2! G4 W. i; [) G* W" u8 ?

  1799. 1 [9 ^+ I, J2 a* n  ?
  1800. ; Enables or disables file search in include_path optimization
    5 d$ ?* c2 L$ t- v5 R. `
  1801. ;opcache.revalidate_path=03 z! n4 Z. N* R1 {/ Q% x
  1802. ' `* q" H8 ~4 b$ }7 N4 C) \5 S4 T
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the8 t) x  [9 z9 {2 X- q# C
  1804. ; size of the optimized code.9 l2 |0 Q/ b! H$ @" ?
  1805. ;opcache.save_comments=1
    & \* |2 T" V( \
  1806. + g4 o  q/ l9 Y3 {& b/ M& ]
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code9 n0 V5 i: H: `, x
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.* t, {1 k. ?' j4 C. h' G
  1809. ;opcache.fast_shutdown=0( d* d% \& e1 M( `# V/ k1 ?& m! t

  1810. ' a4 H0 n+ e8 ^% g( E. z
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    : R8 q$ L5 ~# h! S0 m5 Y6 z- f
  1812. ;opcache.enable_file_override=0! M9 R% g4 o) S+ L! @
  1813. 5 K: S8 T# F& i" n2 ]
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache" Y2 F* J) ]" n2 @; E$ q2 X
  1815. ; passes
    1 w5 t" \6 ?0 ]; M& a+ \: {
  1816. ;opcache.optimization_level=0xffffffff
    , L5 |6 y, d$ b4 U& s- m
  1817. ) T+ J5 n- ~/ L/ a" S- e
  1818. ;opcache.inherited_hack=1
    9 x: G6 O$ r/ Q2 }( F& C0 {
  1819. ;opcache.dups_fix=0
    ' w7 b5 A: \1 S
  1820. 9 c9 |! P% c3 T1 m" X
  1821. ; The location of the OPcache blacklist file (wildcards allowed).+ b! U- b3 |& }) Q* F# y% |
  1822. ; Each OPcache blacklist file is a text file that holds the names of files5 D8 y1 d" P4 Z2 p: {
  1823. ; that should not be accelerated. The file format is to add each filename
    $ k! F! j0 q! O6 v6 Q. g
  1824. ; to a new line. The filename may be a full path or just a file prefix
    $ j$ j; c! Z/ K: y
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www& _& ?9 R2 d+ n* E9 k  M
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 V. h7 k& }, M4 h9 C8 U  B
  1827. ;opcache.blacklist_filename=7 A8 ~3 m0 s- e: k
  1828. 9 I- R$ u4 P* F& n0 b
  1829. ; Allows exclusion of large files from being cached. By default all files
    ) x9 f/ I7 W; W" h
  1830. ; are cached.1 J1 \& h( M, \/ \
  1831. ;opcache.max_file_size=05 e9 C0 ?8 S6 v$ a; g& F
  1832. # M: o- y' v  a; z7 G
  1833. ; Check the cache checksum each N requests.4 T2 c5 y0 `# `8 k
  1834. ; The default value of "0" means that the checks are disabled.
    6 Q  S1 W  X$ B9 s+ B  d0 ]' Q
  1835. ;opcache.consistency_checks=0! c8 \5 B& M6 k( b5 |; B

  1836. 8 \- v9 ?) J+ o& z5 u$ `
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) v) B" d6 t0 Y
  1838. ; is not being accessed.
    & U$ S4 T; P! _# a. e- q
  1839. ;opcache.force_restart_timeout=180
    3 _) f& u* ]. [( G6 k  B* a
  1840. / Z% ^4 _/ _3 f% ?( w% M
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ; G! w. H! J" j
  1842. ;opcache.error_log=1 H$ v! n5 a2 D+ [; d

  1843. ! a. e7 t1 b8 t; r) \
  1844. ; All OPcache errors go to the Web server log.
    $ T1 K. O7 _! p
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.2 O- Y7 S) o2 e
  1846. ; You can also enable warnings (level 2), info messages (level 3) or- M" _( m/ Y3 K0 P: j; J
  1847. ; debug messages (level 4).
    1 D( i4 u$ L3 o2 r" K/ X7 N+ t) f
  1848. ;opcache.log_verbosity_level=1; d) \* R1 @+ C( l4 a$ l; B

  1849. , r9 I* A1 z' A$ J7 k
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    6 X4 M) m+ c" v( ]# q
  1851. ;opcache.preferred_memory_model=  Q' t  {& ^5 s3 P
  1852. : q' ~7 b( D. f. r( Y% h. x
  1853. ; Protect the shared memory from unexpected writing during script execution.
    : X, C' N, [( d+ b4 q: B+ _
  1854. ; Useful for internal debugging only.
    ' U% n+ O: g1 q! Y" Z
  1855. ;opcache.protect_memory=0
    + ?* W& e" P8 q9 S  b5 `$ j/ ?
  1856. " y$ {  D0 q; s1 C  G
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    1 q: E7 q# z( q' l' X$ h
  1858. ; started from specified string. The default "" means no restriction
    . v) C1 M# q+ `6 m/ ^5 i/ s
  1859. ;opcache.restrict_api=' }' j: h0 q  w1 O" o- O7 s8 L
  1860. ( o1 w6 H/ U' k* i! H
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    9 u9 X8 h6 H0 R5 b& v0 b9 g# D
  1862. ; processes have to map shared memory into the same address space. This4 _6 L5 Q2 ]7 }! ?& q$ z) D
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ( x7 e! n1 L6 e& e, t/ D
  1864. ; errors.
    ' d* x. j# V7 \6 l4 |
  1865. ;opcache.mmap_base=: c4 C7 ]3 A4 |9 r* l, A
  1866. / \" }. s% h1 ~' o
  1867. ; Enables and sets the second level cache directory.% s9 C  F6 H7 E: g9 c
  1868. ; It should improve performance when SHM memory is full, at server restart or: H, {. S- m1 x. m1 p* ^
  1869. ; SHM reset. The default "" disables file based caching.& U! m8 t; I" Q
  1870. ;opcache.file_cache=
    " [1 e- |3 I  H5 a) h

  1871. 7 r/ |' O( ?* S+ S
  1872. ; Enables or disables opcode caching in shared memory.
    ! u. T6 `- O# P8 a
  1873. ;opcache.file_cache_only=0. i7 A" t9 ^1 `
  1874. * u! c- d2 q' r$ E+ P0 c# g3 }
  1875. ; Enables or disables checksum validation when script loaded from file cache.  E, }0 r( q) A) ^: [
  1876. ;opcache.file_cache_consistency_checks=13 |9 t  ^9 o: R, N$ Y$ R8 s, h
  1877. # M. w' \9 D4 S: [
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    9 v. @1 H" F) |4 X
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file$ j* k+ w# s0 _" }) u5 k
  1880. ; cache is required./ S7 }5 q8 W8 _0 _) Z6 q
  1881. ;opcache.file_cache_fallback=1, a: M8 r+ M6 H
  1882. 6 U! s9 s0 W( S" ?; w. l
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ) Z$ U! o% o. G( R; i
  1884. ; This should improve performance, but requires appropriate OS configuration." }9 S* A+ U! u  N
  1885. ;opcache.huge_code_pages=15 l) j" w7 r  C& D% X
  1886. # _  F' W7 m) T# o* k! Y* a
  1887. ; Validate cached file permissions.* I! V3 a6 M: w, w6 j8 g
  1888. ; opcache.validate_permission=0
    " a1 x3 T1 y% {3 y) [9 \
  1889. ( N$ @2 [+ ~4 X. T
  1890. ; Prevent name collisions in chroot'ed environment., N- z$ u1 E8 U1 `; D; K+ C) h
  1891. ; opcache.validate_root=0" U& F- ]/ {  M* Z/ Q/ L: e
  1892. 8 Y, i' [/ a4 D: q$ h- x5 L& C
  1893. [curl]. h. U1 }2 I; T. @" X9 i( r) M9 c3 K2 L
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    * G/ h# L, A6 S
  1895. ; absolute path.
    - I/ m; _( |8 a- f' Z( _
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    $ p) W/ u! r6 g) x0 h  w5 G# |
  1897. + r% u5 [4 o2 o8 [/ B7 X
  1898. [openssl]
    , _- s8 f9 m" i0 {- n0 J, Z
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem6 H- ]: E& H3 r% J# t
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should2 F: U# K2 Z5 j2 O' U+ a8 s
  1901. ; not specify a value for this directive as PHP will attempt to use the$ D' W: I0 \2 k6 J& z" P
  1902. ; OS-managed cert stores in its absence. If specified, this value may still) g8 b: @$ V% v
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    4 M; Y) A( C8 i/ t3 l$ C
  1904. ; option.
    - I) M" G# a. `* w4 [
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt  O& a. J- G: Z
  1906. * M9 a, a) ^4 c1 Z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    + J9 |; x3 j+ k: k( I' X" X6 s- Q
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    $ W/ ?" x! K' G$ s  Y* V
  1909. ; certificate. This value must be a correctly hashed certificate directory.4 C: V  J  p+ d  z, ]
  1910. ; Most users should not specify a value for this directive as PHP will
    ) A+ F6 @2 z, |# Q' ]; m/ Z$ a. Z
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,* s$ z/ L9 C$ ?
  1912. ; this value may still be overridden on a per-stream basis via the "capath"4 M+ b, O' R8 _5 z
  1913. ; SSL stream context option.6 U+ `6 H' _8 v/ H% k
  1914. ;openssl.capath=. P/ v+ F! @! g; L3 V: k& N" D
  1915. 8 i- z( R' O6 u3 X2 w6 q- I
  1916. ; Local Variables:$ V  D' w& P% M2 l9 |
  1917. ; tab-width: 4
    . v; z1 w# o" X7 |3 x7 O3 c
  1918. ; End:$ P& p5 C8 P, T% f: A4 H5 }
  1919. 8 S4 q- _1 [8 _  \: J" V, G
  1920. ;eaccelerator3 u( B  v1 f" }" L( R" M" J) P

  1921. # b" L1 N7 e8 J
  1922. ;ionCube' V/ X; x" S0 O7 w% W7 |  X& e

  1923. 8 _0 w- h& D: t/ d6 R
  1924. ;opcache' R, @+ j/ X$ u# c- b% v7 J
  1925. & Z1 h* z* I4 {5 |+ C+ v
  1926. [Zend ZendGuard Loader]1 c! e+ G* N/ d. Z+ I3 E1 `4 x# V- y: E
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.# g% a: D, s7 c. J: v' E
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    5 Z( [3 ~' K/ {- t/ G: N5 Q
  1929. ;zend_loader.enable=1
    ! H3 c0 n& @% Z) w4 ]
  1930. ;zend_loader.disable_licensing=0
    + r3 F; s9 e  r. J( Y- o7 n  t
  1931. ;zend_loader.obfuscation_level_support=3
    ' Z# C4 k2 ?- [" t5 @' {8 ?* N
  1932. ;zend_loader.license_path=
    . o- q' ?8 o# _; E
  1933. 4 }, U# M# o' \7 S2 i$ Z
  1934. ;xcache
    : k; t9 W* P- |- n) V; l) r1 G) R

  1935. , z5 D2 e& M, |7 D$ }( q8 t
复制代码
  {% L( @4 `9 {0 g. c
, m: x$ H# d( K6 B2 K
$ r5 V' Y4 b, L- j/ ^5 m# o
3 S7 x1 f8 k" S9 U0 x4 T* E

6 E: O2 d$ T( ^8 c0 \8 s5 F% j  J* r: V% f' P3 b7 a" V

4 R. Y2 z. X& Z0 HPHP5.6版本原始设置
) U8 g$ d- j# G8 W2 [* @8 F# @- E' w/ c& G
  1. [PHP]. a! L$ x6 S* `# p% X

  2. , g( A* T2 Y* t5 r5 [; l  f# Z
  3. ;;;;;;;;;;;;;;;;;;;
    6 G+ Z1 X8 N( f+ f) `7 P" o+ g- M) M! H
  4. ; About php.ini   ;! f' A8 _2 R1 }2 g; j2 ?2 _
  5. ;;;;;;;;;;;;;;;;;;;
    9 i/ N0 T4 Z9 [4 D# B; P
  6. ; PHP's initialization file, generally called php.ini, is responsible for" G) i- J* G' H4 J
  7. ; configuring many of the aspects of PHP's behavior.
    ' e! ~% o2 I- g" o/ d$ A& U

  8. ( [  E6 k3 M0 v) x
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % T6 f  E# b% o2 e2 y2 M: @
  10. ; The following is a summary of its search order:
    7 W: B4 w# I0 I6 C0 Q
  11. ; 1. SAPI module specific location.# f' j! U5 ]9 M4 i
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)% g7 ^$ k8 H& S* I. \' _" ]
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    0 D, s& v& |% {$ D* {5 n& w) d0 A( M! Q
  14. ; 4. Current working directory (except CLI)5 I# \, A: H& S6 {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    9 x7 i& ^: {$ m% d
  16. ; (otherwise in Windows)) D: T7 V# o; [7 O
  17. ; 6. The directory from the --with-config-file-path compile time option, or the2 G0 X4 @2 H7 d2 }# G2 G6 W. s
  18. ; Windows directory (C:\windows or C:\winnt)
    3 p+ g$ z7 U+ p$ S- x$ K, c  D
  19. ; See the PHP docs for more specific information.) b3 J2 F, R  U& n- G; b
  20. ; http://php.net/configuration.file( O1 D- ~( A+ U

  21. ; W$ k/ x3 m2 W8 z, o5 z5 _! i
  22. ; The syntax of the file is extremely simple.  Whitespace and lines& b; r( g0 n& Q/ O7 g. o
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    . S4 a! {! _& J3 r, k0 D
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      M3 r4 n. _3 Y  `
  25. ; they might mean something in the future.) B1 D0 e9 U" A+ c

  26. 3 t# Z9 _5 h1 }  a. z) G8 |
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # A, O6 n& o: E' i7 }) F! p! |
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    2 U& e, o) t5 z2 |) D, p1 x) A/ `
  29. ; following the section heading [HOST=www.example.com] only apply to
    5 w/ C" k! o0 @$ t1 y9 U& c
  30. ; PHP files served from www.example.com.  Directives set in these! S& b: r: U7 N8 b' r; N
  31. ; special sections cannot be overridden by user-defined INI files or
    / [' k% K: ~: d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " A2 [# b! Z& i4 J3 t; B
  33. ; CGI/FastCGI.: q: L" \, V" L' w% U
  34. ; http://php.net/ini.sections0 I0 I$ ^0 T9 X' p
  35. / b: l, K7 y% i
  36. ; Directives are specified using the following syntax:
    ; w% y' B- }& n
  37. ; directive = value/ o/ Y! M: T1 n0 y/ a  ?
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 h" [2 y+ G/ ?" W* `
  39. ; Directives are variables used to configure PHP or PHP extensions.
    % }. ]; |3 m8 |' l
  40. ; There is no name validation.  If PHP can't find an expected3 M6 ^( M9 a- F$ f7 E
  41. ; directive because it is not set or is mistyped, a default value will be used.* k9 \/ X, R2 p1 T
  42. 6 {6 w( K0 l7 s' n3 E# h# {1 h9 R
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one$ r/ Z( H9 b" a7 s# y' o8 R5 M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    5 `% F! }) R1 a: X" o9 a7 w) r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a% N4 r/ U- A$ J7 ]- f9 t( E* P
  46. ; previously set variable or directive (e.g. ${foo})/ h! \( S& {/ P+ z4 P# M* x
  47. : F  v: ~! K# }* T$ I, X
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:( v2 c, w" c: ], i$ r# x& v
  49. ; |  bitwise OR! j# {$ a" G' C& |) ]
  50. ; ^  bitwise XOR! z; v0 s4 ~  `
  51. ; &  bitwise AND& z: }7 v) n& }6 {, K. o" s
  52. ; ~  bitwise NOT" D: V% Z8 K6 R- L
  53. ; !  boolean NOT7 a: L# Q  D4 C- M1 G
  54. ( l4 |' N0 H$ W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    5 F& Y! P6 g6 a
  56. ; They can be turned off using the values 0, Off, False or No.$ F+ @) E) I* |: T& U% w7 l  ~
  57. - u9 B5 r. f2 I
  58. ; An empty string can be denoted by simply not writing anything after the equal. m+ m4 _, _" B' ?; R/ S
  59. ; sign, or by using the None keyword:
    % {- j- \2 y7 C/ z3 I. D

  60. % Q# F+ g% D! y, y
  61. ;  foo =         ; sets foo to an empty string# }( \. P! B) e' G" y* K+ k& n
  62. ;  foo = None    ; sets foo to an empty string+ @8 {# L( g1 o3 ]$ t! X4 h2 @
  63. ;  foo = "None"  ; sets foo to the string 'None'
    $ }5 S/ W- M& H' O6 O( H

  64. 6 H! }% L" ]9 y: w4 ]; _3 y
  65. ; If you use constants in your value, and these constants belong to a
    , y% N3 Q0 O* P
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 n( \+ }( w5 c
  67. ; you may only use these constants *after* the line that loads the extension.3 |2 p2 `4 }, y- P7 \: @. x8 h' j

  68. , h8 W. [* A2 y. [& K
  69. ;;;;;;;;;;;;;;;;;;;6 C+ C. x' A, D) b6 M
  70. ; About this file ;
    3 m7 _- U' [  }
  71. ;;;;;;;;;;;;;;;;;;;* n3 N6 j1 ~9 V0 |
  72. ; PHP comes packaged with two INI files. One that is recommended to be used0 K  U0 y+ R1 ~2 ]8 U
  73. ; in production environments and one that is recommended to be used in
      ?" R/ Z! O8 ?: |; h3 e
  74. ; development environments.* t$ T9 I+ z2 c% W5 \

  75. ; w& P3 a8 S+ _  U6 z. h! @( p
  76. ; php.ini-production contains settings which hold security, performance and5 ]3 Y4 C+ z9 ^6 C8 c' q2 W' H8 c
  77. ; best practices at its core. But please be aware, these settings may break4 l/ E- D) q+ d( F" l: D' K$ K$ J
  78. ; compatibility with older or less security conscience applications. We% D( h) y8 A' z* z" N4 y: N/ P
  79. ; recommending using the production ini in production and testing environments.
    1 l1 S; Z- a, f6 \" B) `7 S

  80. 9 |$ r1 }6 Z6 `% g4 r9 @8 y
  81. ; php.ini-development is very similar to its production variant, except it is
    6 c* \' K8 q3 @8 t
  82. ; much more verbose when it comes to errors. We recommend using the
    . p* o3 j; Z7 `2 r
  83. ; development version only in development environments, as errors shown to: W! a2 n! J5 [8 D, B
  84. ; application users can inadvertently leak otherwise secure information.
    3 D! k  }5 b. O
  85. ) e3 W6 \/ K& E) G# a9 C. M9 P- Z
  86. ; This is php.ini-production INI file.
    ! c0 |) M2 ]' G0 e: Q0 ~  G
  87. ( ?" M/ d: r4 }" f/ C  E( D0 ]
  88. ;;;;;;;;;;;;;;;;;;;
    ) L$ U7 @$ k8 @; D7 u1 a
  89. ; Quick Reference ;6 D; r) l/ {8 V& F9 ~
  90. ;;;;;;;;;;;;;;;;;;;
    9 `( O- n) b! n) W9 t
  91. ; The following are all the settings which are different in either the production2 Z$ w9 M0 j8 C( X' Y  }7 K/ d
  92. ; or development versions of the INIs with respect to PHP's default behavior." n" a7 X' Z; A; ?5 U7 C
  93. ; Please see the actual settings later in the document for more details as to why
    / E+ i6 R1 u4 E: S
  94. ; we recommend these changes in PHP's behavior.
    , r* H) }: Q( q# F

  95. % Y0 |& S8 j5 P6 Z
  96. ; display_errors
    2 h7 k. u/ |: ^2 I# K
  97. ;   Default Value: On' O. c8 q8 H3 B# Q
  98. ;   Development Value: On
    1 M1 `7 j( x- |2 l% J* `5 t
  99. ;   Production Value: Off* W5 s& |3 e( N2 ~
  100. ! Q3 O8 U( {: y+ v8 Y. u! d7 J
  101. ; display_startup_errors
    - c7 o$ @5 P- ?! V$ F& c0 `; J
  102. ;   Default Value: Off
    - @: t# t4 X3 |- Q, _1 M( x
  103. ;   Development Value: On: j) L9 I) @9 |1 k
  104. ;   Production Value: Off  D( ^$ ?& o" L

  105. 7 M; i, r: U$ P
  106. ; error_reporting, |: G: j& \' J' k
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 k) R, J- d/ x4 e
  108. ;   Development Value: E_ALL0 I6 |2 P2 a7 W6 Z8 V7 g
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( ~  F5 c" }( ?; y. _/ n2 ?- a
  110. . o3 {0 V+ y+ u: o9 c" ~  `% \
  111. ; html_errors& Z* k9 {. S* }7 T
  112. ;   Default Value: On
    % i# Y4 E+ E7 w
  113. ;   Development Value: On9 }8 a: _/ M0 u: D! e$ B
  114. ;   Production value: On
    $ |4 F# a( R; I) o4 a
  115. / o% @% P- w1 B5 o  z' i. I0 W
  116. ; log_errors9 P" c. l  \( k
  117. ;   Default Value: Off, n  Y2 O: w& n
  118. ;   Development Value: On7 ^2 e. A. U% w" r
  119. ;   Production Value: On
    ' H; K5 S6 n/ {. s( ~

  120.   ^- c3 U' ?/ R
  121. ; max_input_time9 ?5 ?1 x$ c, a) A" v0 P9 [4 k
  122. ;   Default Value: -1 (Unlimited)% X9 d: H9 f1 i( r) _
  123. ;   Development Value: 60 (60 seconds); r# l2 h- m3 g) I- D4 N
  124. ;   Production Value: 60 (60 seconds)
    4 I" I4 v- F$ l* W& S$ u2 }6 ^

  125. . ?# j& _! k/ Z/ g
  126. ; output_buffering/ |% @/ a# ]+ r+ ]2 B0 W3 S+ J: c7 A
  127. ;   Default Value: Off/ _* D, y& M7 f5 \/ i+ Q+ `, k
  128. ;   Development Value: 4096$ L  t- }- r7 H& R2 V' b* r
  129. ;   Production Value: 4096
    # h% K4 _4 O) i; c
  130. 9 Z2 F) e. A" K; f
  131. ; register_argc_argv4 u' q' u- \: O4 L& C- e# H; }
  132. ;   Default Value: On
    / X+ d! f, u9 X# r$ J
  133. ;   Development Value: Off1 q& F( l4 w. y5 I- @
  134. ;   Production Value: Off: `9 a8 _/ {9 Q  e1 C, D# |$ j, s

  135. 7 r$ f$ h. L, _9 p& _: {5 H# I
  136. ; request_order8 s. S  x+ V7 U7 U
  137. ;   Default Value: None
      S+ z% T; j5 w$ K4 T$ Z) \8 A1 @
  138. ;   Development Value: "GP"& `+ q3 ^: M. }+ W8 m( r# t' A% A
  139. ;   Production Value: "GP"
    9 k+ D" w& h  n5 |. v; |
  140. " w" x, y9 c' R* y& J6 X4 |% l
  141. ; session.gc_divisor
    & ]2 E7 h  P* z$ m/ ?0 P, I5 ?
  142. ;   Default Value: 100
    7 d' I% R+ M  R, {1 B! I
  143. ;   Development Value: 1000
    & y) M0 I1 m7 w; z, ?
  144. ;   Production Value: 1000* H3 |) A" g) F8 \0 l
  145. . H& J5 D3 D* ]
  146. ; session.hash_bits_per_character" ^" T& S, H$ q) Y6 w) M( j  Z% _1 P
  147. ;   Default Value: 43 D) H4 m1 I9 r% a! X
  148. ;   Development Value: 56 G0 P& ~  C3 q* O4 @- G6 w
  149. ;   Production Value: 5
    . R% m! c$ u/ w* m: P
  150. / |5 c6 P( u& H9 e; p# v, P1 W7 W
  151. ; short_open_tag0 i. U/ n1 u5 |7 J6 a7 ~7 d/ x
  152. ;   Default Value: On! e3 T6 W2 ]- `6 z7 e6 S
  153. ;   Development Value: Off
    % _+ S4 l- K, d6 \; N
  154. ;   Production Value: Off/ w/ u5 b% c- I0 [# B6 ?

  155. 7 e1 n; Y0 y2 I0 r
  156. ; track_errors) V2 W# F6 l! `5 [- d6 I
  157. ;   Default Value: Off' G; e' E4 U; I5 \7 L. D
  158. ;   Development Value: On# T4 `! x+ D8 S' Q0 O, H, p5 |; M9 A
  159. ;   Production Value: Off
    ! m; p& j# [/ A1 f% w8 l

  160. . D2 B+ O5 F2 j$ l/ P2 s' F0 d
  161. ; url_rewriter.tags" |4 z6 ?1 f2 O) N! @
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="# V' s" V* r, u. o* K0 y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + M! F, @: Y% s& o  N8 _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# s! L% Q, M" d
  165. . u4 m+ i. z8 k- X( G
  166. ; variables_order
    7 A/ |3 t; A; w1 K' l. H
  167. ;   Default Value: "EGPCS"
    2 q+ q/ M/ m! n& P0 q( y
  168. ;   Development Value: "GPCS"9 v) ], @* h7 K/ T: ]$ R! S- U
  169. ;   Production Value: "GPCS"# ^0 c/ e) Z; o" T: b  O5 d& t: f; ?7 D
  170. 5 x" u6 k) j! e& O1 q
  171. ;;;;;;;;;;;;;;;;;;;;& ?0 i" P; D1 e2 k5 T7 z
  172. ; php.ini Options  ;
    6 ^' L8 x; W; D' z0 `5 i
  173. ;;;;;;;;;;;;;;;;;;;;8 A; n5 g5 P0 `) H) J
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - j$ D1 E. o# `: i2 G# Z7 T
  175. ;user_ini.filename = ".user.ini"
    $ R8 y. f. n+ E( r8 A

  176.   b/ G& u, k* a
  177. ; To disable this feature set this option to empty value- y/ r" k3 h1 m' J8 b; n" n9 u! z
  178. ;user_ini.filename =+ z. Y1 n1 g% K6 r
  179. , n) J. |6 n) W& N$ C0 }" l9 V2 w. }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 T/ g9 r1 u. n9 l
  181. ;user_ini.cache_ttl = 300
    + i" j" @% z* A: w& ~3 m! I! A

  182. 8 C, }% r' v5 B% n1 h! O- ~
  183. ;;;;;;;;;;;;;;;;;;;;
    * B4 h# Z  ~2 i
  184. ; Language Options ;
    ( o$ b4 ~9 t0 F9 P' o, V' T& c* D
  185. ;;;;;;;;;;;;;;;;;;;;
    2 ?8 s3 Z) M% t, H7 S/ b8 t8 @" B

  186. % N( J8 D& K& G/ F: L; W( }
  187. ; Enable the PHP scripting language engine under Apache.
    * P1 h' `9 Z9 z& u6 Y
  188. ; http://php.net/engine" q, h  W3 b* J: b0 V
  189. engine = On  C0 X, O2 W4 N/ R

  190. " y! J! e- Z, p% Z
  191. ; This directive determines whether or not PHP will recognize code between
    7 M6 e% ^# S# e# F5 h
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* e% ^0 K7 l$ h+ C; @
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & T6 ~* K4 C1 {- X/ F
  194. ; should be disabled, as enabling it may result in issues when generating XML0 r, ?. ~6 n/ d5 F
  195. ; documents, however this remains supported for backward compatibility reasons.8 H# u7 B# G2 Y6 |
  196. ; Note that this directive does not control the <?= shorthand tag, which can be& V- f$ `3 y& Y; f, W' s
  197. ; used regardless of this directive.
    + F7 T4 G# |! h$ t
  198. ; Default Value: On
    - r6 \- U$ X: U: N8 ?$ A
  199. ; Development Value: Off
    6 Z7 R9 d+ A' E/ b0 l5 c' k9 q
  200. ; Production Value: Off
    * f  W0 h* F! o6 s8 W. y! S
  201. ; http://php.net/short-open-tag
    ) {& v( ?  p1 ]  G: o9 t8 E4 k; m
  202. short_open_tag = On
    . W- t2 x( e, E+ r

  203. 6 m( D4 r. l$ P0 W9 ^0 S0 g4 u1 ~
  204. ; Allow ASP-style <% %> tags./ P0 j! N3 V" q: Y
  205. ; http://php.net/asp-tags6 Q) d1 \& v5 G5 ^8 p& P
  206. asp_tags = Off
    2 i8 M: E. {  G7 d4 O( ^' Z

  207. ( N" J# t) b' s) I! |
  208. ; The number of significant digits displayed in floating point numbers.9 k) L- Q' e- Q7 t! X% \6 ]9 j
  209. ; http://php.net/precision
      x( k& A: Z/ t6 e7 K
  210. precision = 14" P  C% H: M$ i* {6 {4 L" ~) |( ?
  211. ) K) {  x4 e' y) S
  212. ; Output buffering is a mechanism for controlling how much output data  u8 j4 @6 n2 F- `* s& v# l# I
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 d" Z+ g; P* b) d! M' c7 F
  214. ; data to the client. If your application's output exceeds this setting, PHP
    + x- c+ e( z( ?& W
  215. ; will send that data in chunks of roughly the size you specify.. P# l2 }0 Q' d( \, T9 n
  216. ; Turning on this setting and managing its maximum buffer size can yield some# W' G: @. [* M5 l- g# l" W
  217. ; interesting side-effects depending on your application and web server.
    4 w& y& v' j5 ~
  218. ; You may be able to send headers and cookies after you've already sent output
    $ o! E* j0 G% _
  219. ; through print or echo. You also may see performance benefits if your server is
    0 g) A# C4 o& V
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    " D* Z4 `2 q4 k/ M3 R# G' {$ [' E
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 C. v9 F0 Z0 l- h- ]( @$ g7 ]
  222. ; reasons.
    ! r( ?3 ]0 U* z* A
  223. ; Note: Output buffering can also be controlled via Output Buffering Control+ b: {5 F1 G$ ?8 ^, I, O
  224. ;   functions.# ^4 m% f$ v4 G3 W. |" h
  225. ; Possible Values:1 Q( G. x* C; b
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
      q  L. e; z$ P% n# w
  227. ;   Off = Disabled
    5 M) M5 m* S3 B- U7 z' K
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.+ P8 c8 @% L- u2 x6 b! Q: X; D$ K
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; a% ]% E0 D% s5 {  C) r/ A
  230. ; Default Value: Off
    ! B% n  w; ^/ T9 O' Z6 j
  231. ; Development Value: 4096/ }& \, b5 p0 |+ ~1 |  Y, \$ @
  232. ; Production Value: 4096  @1 F4 s, ?  r$ W% \
  233. ; http://php.net/output-buffering1 W$ r, o$ c: N: e/ [( x
  234. output_buffering = 40961 Q, T9 ~  F. z$ h: s

  235. ! v- A# Y8 E0 |  s  o: ^. a4 |
  236. ; You can redirect all of the output of your scripts to a function.  For9 G: L; z( d) `" J
  237. ; example, if you set output_handler to "mb_output_handler", character
    2 U$ Q( y% L$ F) |7 i# s: e2 h
  238. ; encoding will be transparently converted to the specified encoding.  j1 r; q8 D$ h
  239. ; Setting any output handler automatically turns on output buffering.
    1 N6 N" ]2 M% _4 _: I
  240. ; Note: People who wrote portable scripts should not depend on this ini* l1 C4 O$ ?2 e1 T9 k7 ]" c+ Z
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ( a3 z+ _* ]. r/ M4 R
  242. ;   Using this ini directive may cause problems unless you know what script% e6 M- r2 r% Z8 v" t
  243. ;   is doing.
    ' q& I2 I  g, y
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ) |  a- o* |6 r) g/ t" }
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".) z0 Z- N, K5 t' }9 ~- Q  d
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( J$ P/ @: |: G& O
  247. ;   Instead you must use zlib.output_handler.! d9 Z9 k( i* x) n% y& \4 C9 G2 p
  248. ; http://php.net/output-handler
    / C/ f& u/ M) F% U% Y
  249. ;output_handler =# \7 [0 `" T: t# l# b
  250. - ?! K; P4 ~- ~% `; G
  251. ; Transparent output compression using the zlib library  J0 k/ @- z+ X) J* s
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ' m: I6 E7 {2 e$ }/ l
  253. ; to be used for compression (default is 4KB)
    ) e+ k4 J  x6 q! b2 t+ ~
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ a1 ], M) W- B
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    % M+ G- F9 m5 d0 q* K$ U
  256. ;   compression. If you prefer a larger chunk size for better
    " q0 R# w. \' n  v- G" }
  257. ;   performance, enable output_buffering in addition.3 u) x8 }5 r$ W4 b
  258. ; Note: You need to use zlib.output_handler instead of the standard
      ?- P: a+ Q# Q. r) X
  259. ;   output_handler, or otherwise the output will be corrupted.
      j8 P$ z& f7 U+ g
  260. ; http://php.net/zlib.output-compression
    & i# x1 D6 f8 F9 a
  261. zlib.output_compression = Off
      {$ G4 {. N3 `, x5 k6 _

  262. ' }7 b, ~( S- D3 r) Y+ v: h1 s
  263. ; http://php.net/zlib.output-compression-level  F& i+ ?2 @" X! M2 A! s; D
  264. ;zlib.output_compression_level = -16 X, P1 M- \5 }; m# L

  265. 4 T" I" @2 Q. h& N" C
  266. ; You cannot specify additional output handlers if zlib.output_compression
    - p: ]4 J* b5 U  v
  267. ; is activated here. This setting does the same as output_handler but in
    & \' M! I5 H: C( P) Q
  268. ; a different order.6 R3 R# y, W& ~
  269. ; http://php.net/zlib.output-handler
    $ |5 r' S4 H9 }3 M4 B% v
  270. ;zlib.output_handler =# k  ]6 f, s& e# S7 Q

  271. 7 s5 I  w- |$ w, [: `
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    % w- f' O* F  v! l6 O  Z
  273. ; automatically after every output block.  This is equivalent to calling the5 W( J; [5 I# ~/ D- z( g) I, Q
  274. ; PHP function flush() after each and every call to print() or echo() and each3 D* P5 @: S: L0 A2 c+ K# u
  275. ; and every HTML block.  Turning this option on has serious performance7 ~& U6 d8 q6 v
  276. ; implications and is generally recommended for debugging purposes only.
    * A! H" d$ ?$ N. z
  277. ; http://php.net/implicit-flush0 r* L3 N$ N+ O; g8 j3 F
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( P4 a1 m# A2 `, }0 [
  279. implicit_flush = Off
    ( ~; a' w9 J! ~$ U) [* Q

  280. 8 ^8 E- B% F' ~- Z
  281. ; The unserialize callback function will be called (with the undefined class'4 u, R5 g# r! r8 y5 Z6 P
  282. ; name as parameter), if the unserializer finds an undefined class7 ~: u; e6 g6 f- p& M
  283. ; which should be instantiated. A warning appears if the specified function is' j! U/ W- q- z" n( f
  284. ; not defined, or if the function doesn't include/implement the missing class.8 Z- y* K4 k% h. W. _$ U/ ^: b
  285. ; So only set this entry, if you really want to implement such a
    1 X1 P3 A* |7 E+ G7 y& o; J; E
  286. ; callback-function.
    ( M6 L5 a; G  J# Q  d4 y9 h- ]. Q
  287. unserialize_callback_func =
    * e0 @7 w# l  C$ E* u& F
  288. 0 ?: }+ Z, m* k+ ?6 q* \# l
  289. ; When floats & doubles are serialized store serialize_precision significant
    ( b* Y1 N7 @6 z) }6 @3 G
  290. ; digits after the floating point. The default value ensures that when floats1 m6 B* ^3 x4 t/ y: y
  291. ; are decoded with unserialize, the data will remain the same.4 C( o+ r. A: A5 z% W2 J- R
  292. serialize_precision = 172 E; C. r+ {) [" O+ M6 b% s  D# r
  293. 8 z: o) G$ C9 G: P1 O
  294. ; open_basedir, if set, limits all file operations to the defined directory4 L# R& X6 Q% J8 m' E* F' I
  295. ; and below.  This directive makes most sense if used in a per-directory
    # N' l3 P# }, L: p3 s
  296. ; or per-virtualhost web server configuration file.
    2 H1 E  g6 V9 ]) |3 f0 h6 V
  297. ; http://php.net/open-basedir4 j) F1 P. a/ E/ ?3 }6 D: E) l) A6 @
  298. ;open_basedir =
    8 C3 v* f8 Z& u- N0 q# q' f% V# O! V

  299. * x& ^* M& R( i; X* I8 x0 q4 S- F
  300. ; This directive allows you to disable certain functions for security reasons.
    % ^  L6 e$ m7 M! x7 Z& Y, H
  301. ; It receives a comma-delimited list of function names.% G. t- U* P: V0 ]
  302. ; http://php.net/disable-functions$ O( x" U: g4 D8 e# D
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    % t1 _+ _) O& R3 I, b. i

  304. - ^( j/ r. ~3 F. q
  305. ; This directive allows you to disable certain classes for security reasons.' [* f3 R  C  n: H
  306. ; It receives a comma-delimited list of class names.- w, S0 g" a( {8 Z: q/ m3 s
  307. ; http://php.net/disable-classes
    ! P3 S) ~5 [( j  a3 k5 M& h
  308. disable_classes =
    9 b) i& m2 U" Z- b4 |/ y
  309. # I- P; c6 _0 t/ n
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 C4 I1 K2 d& h/ b
  311. ; <span style="color: ???????"> would work.
    & R4 U3 w" e' T% @( N5 |
  312. ; http://php.net/syntax-highlighting; q0 l3 E/ @& U2 N: C( P; C! d
  313. ;highlight.string  = #DD0000
    2 {, l& q4 z$ _- v# B- D3 X, J! |$ a
  314. ;highlight.comment = #FF9900: v- T0 c- |% N8 u5 X  d
  315. ;highlight.keyword = #007700
    , q7 d- _$ L' @" `0 M( T
  316. ;highlight.default = #0000BB
    7 _, C# \, \# ^% `4 M+ V0 u3 F( D5 t
  317. ;highlight.html    = #0000006 P2 e8 N5 W) P: {# n9 O; s
  318. % W* m3 c9 g+ @3 [* w/ Y
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    6 f5 y9 F/ g! @  ^" Y4 q! q
  320. ; the request. Consider enabling it if executing long requests, which may end up1 g$ _. a# ?" U1 e2 O
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ) e* q8 ^  W! C" {/ _
  322. ; is to disable this feature." V  ]  b8 n" J( k
  323. ; http://php.net/ignore-user-abort* a8 |1 ^6 ]/ I! q' g
  324. ;ignore_user_abort = On
    5 c" w# Z8 q3 C

  325. 6 i+ d7 H: ^. N" L7 j6 n
  326. ; Determines the size of the realpath cache to be used by PHP. This value should0 s7 E  N2 @0 e- V; R
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    * ^( k6 V4 q- `4 v
  328. ; the file operations performed.
    4 k6 t: B" M9 G4 ^3 N+ S
  329. ; http://php.net/realpath-cache-size: @9 w1 f1 Q! V, z1 X, v. p" z
  330. ;realpath_cache_size = 16k
    2 v. l) ], p3 C6 Y6 g4 P6 @8 g
  331. 0 R# P. m) r; q% c" c* e" t- _3 e
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    4 ~4 N( L! M, {2 k/ \6 [( x" S
  333. ; file or directory. For systems with rarely changing files, consider increasing this" N9 c. _3 Y) F6 o  k
  334. ; value.
    ; k' x' ^8 \" @: t( s1 U0 P
  335. ; http://php.net/realpath-cache-ttl
    ( P3 j9 u' u; f) k
  336. ;realpath_cache_ttl = 120
    ; r! V" R" h0 K5 U# {
  337. 2 K* l0 n, p" v) [- x8 j- D
  338. ; Enables or disables the circular reference collector.
    # a! C% A0 {7 d7 x! e. p
  339. ; http://php.net/zend.enable-gc
    $ s- I, Q$ g) j
  340. zend.enable_gc = On
    ! k4 D% y) h' ^' n, ~

  341. 3 W2 @( Y! I9 x& h7 g/ d
  342. ; If enabled, scripts may be written in encodings that are incompatible with- a8 f/ c7 q" A6 h  T# U8 f: I
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& @* V, a- t7 f) E8 {
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    + ]! [2 O/ M  O
  345. ; Default: Off
    + T2 ~0 `7 u- f" [/ t, b5 X3 F
  346. ;zend.multibyte = Off
    " t3 l2 v4 f8 l2 ?5 e

  347. + z4 s( W7 j! V$ T
  348. ; Allows to set the default encoding for the scripts.  This value will be used/ G) F. b3 u) N: W' N/ w' k4 A5 L
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.  ~. F0 ^" ?5 C9 N1 |
  350. ; Only affects if zend.multibyte is set.
    - e. {& k+ g: S% y" g
  351. ; Default: ""
    4 {. U3 F+ i( [( `3 d# t# Z
  352. ;zend.script_encoding =, H/ e7 x" H: v6 e/ M9 Q6 G

  353. / U' ]7 i3 O8 G/ l% l
  354. ;;;;;;;;;;;;;;;;;" J' {2 b( ]: Z: P) z5 ]# h
  355. ; Miscellaneous ;
    - J( P" F0 ^5 o. Y
  356. ;;;;;;;;;;;;;;;;;$ r7 ]7 r# s, _9 W: {+ W. C
  357.   N& Q- h1 R# b. e/ I4 W6 O2 R0 d
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    , s; J; m& S# J. W7 n
  359. ; (e.g. by adding its signature to the Web server header).  It is no security. l' P* N4 o3 G5 p4 _
  360. ; threat in any way, but it makes it possible to determine whether you use PHP3 Q$ o) e, L% X2 I6 w1 O
  361. ; on your server or not.2 ]- V: x' R" p
  362. ; http://php.net/expose-php
    # D& i% e9 Y! s9 k; ?, Q- K4 Q& X
  363. expose_php = On
    0 K" Q4 C/ _, r5 O
  364. & I- E. k* \* {( M
  365. ;;;;;;;;;;;;;;;;;;;8 @; Y) M/ X2 Q8 V  o$ S% h
  366. ; Resource Limits ;, X) Z1 M  T3 `$ c1 W
  367. ;;;;;;;;;;;;;;;;;;;
    2 s5 k) }9 Q1 i1 x: v  h
  368. : A3 a) C9 Y+ M' I7 s' \6 S2 R2 b6 r
  369. ; Maximum execution time of each script, in seconds
    1 A/ U5 ]3 Z# m
  370. ; http://php.net/max-execution-time
    * y) E4 M5 n2 K- ~! A
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    9 _  W( o) L/ y9 P1 G, w6 J: q% D
  372. max_execution_time = 300) E- n9 R4 r/ ^

  373. 1 z. q* V+ x  Z; [
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
      `6 Q. n) W' p  u# O
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ s6 e% ?3 }% c/ I3 I1 O) R
  376. ; long running scripts.
    " ^7 Q: K$ ?7 l
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    & w/ [9 E: i1 {$ Z; U1 ]
  378. ; Default Value: -1 (Unlimited)
    2 o; Y% s. c% b" \1 G! ~$ m
  379. ; Development Value: 60 (60 seconds)* `1 T! _" T' Y) I5 N
  380. ; Production Value: 60 (60 seconds)7 d/ n7 j: a# F# B" u
  381. ; http://php.net/max-input-time$ i8 a# D8 f& P8 S5 B2 a
  382. max_input_time = 60
    $ u9 T& b) ^" h. T$ f

  383. ' Q) G" i3 W4 w8 |* S! I
  384. ; Maximum input variable nesting level
    " Y3 t! L! o2 X* `2 Z
  385. ; http://php.net/max-input-nesting-level$ H; m) p! `, l3 `; N$ B/ L" c& T4 G
  386. ;max_input_nesting_level = 64
    ( X$ r/ R# p9 a* m  P7 Q7 C6 i
  387. ; |/ ?4 A2 W; x& ^
  388. ; How many GET/POST/COOKIE input variables may be accepted
    " k& Y6 u' G. k8 Q* }: P+ v
  389. ; max_input_vars = 1000% i+ y7 S' i1 k1 F
  390. ! S: q( d  L  ]$ k% H3 n# Y1 b
  391. ; Maximum amount of memory a script may consume (128MB)
    - X7 ~$ r7 y3 c3 `' S. `3 M
  392. ; http://php.net/memory-limit- ^4 W8 H) D" c' T+ i
  393. memory_limit = 128M- t& P$ _) E# d1 a4 F

  394.   w  V3 |; F+ p- c3 Y
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; A! J$ |/ ~2 |$ l
  396. ; Error handling and logging ;
      e8 X- @$ {8 D( d' Q. A
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ M9 W* T( h+ ]' t. N0 S
  398. 8 r1 y& c5 z. j* Q- Z4 A& ?
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    # I7 ?7 w; {+ A( j+ h0 w
  400. ; it to take action for. The recommended way of setting values for this# |7 _7 k* u- c# Q. A0 c
  401. ; directive is through the use of the error level constants and bitwise, c' B$ j5 h) ?* y( a
  402. ; operators. The error level constants are below here for convenience as well as6 N/ E+ p- \* K6 [2 _% h  Q# e
  403. ; some common settings and their meanings.
    ( F3 e6 L9 Q0 C% x; ?8 W. X* f) [
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT) p6 H8 ?, H' P. d8 M* K" H1 G! p
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ) C6 h8 r; P8 `5 _, x
  406. ; recommended coding standards in PHP. For performance reasons, this is the4 w& P: g- O! V5 Z
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    * e6 u: T  X, }) f
  408. ; resources complaining about best practices and coding standards. That's what
    $ q* U! T/ h6 D. R2 j% u
  409. ; development servers and development settings are for.# I5 u' z: K, c/ `5 j" K
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 I* B1 C' F! p! p* F9 U
  411. ; means it pretty much reports everything which is exactly what you want during
    2 c2 X; B: l' W5 h" Y9 [  E. f
  412. ; development and early testing.
    ' \4 ]0 |- n- E* I; `- I  b
  413. ;! O2 |) p1 M3 |6 H
  414. ; Error Level Constants:
    7 F7 `. a& S$ k0 e* T" p
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    : r5 _# g# E4 n- ]3 ~! @
  416. ; E_ERROR           - fatal run-time errors/ s; X$ f) ~, F, r0 c5 x! Z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 }" u  E: Y4 ?. G% e; z/ _
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    & Z- v+ z0 z; _6 l4 s! v
  419. ; E_PARSE           - compile-time parse errors
    5 r% u% m+ ^6 W1 {, ~7 b& l
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    . K4 f- B1 t# v( {. e
  421. ;                     from a bug in your code, but it's possible that it was) s% n3 y, ?9 I% H* Y& D) S
  422. ;                     intentional (e.g., using an uninitialized variable and  _& e) j5 z& `; I$ k* w
  423. ;                     relying on the fact it is automatically initialized to an
      G( E  M* x' j# _  u* n
  424. ;                     empty string)
    5 {8 e/ N$ I* r# m; O" `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 a1 {) ~0 \  g5 x+ r2 z& Y: ~+ u0 J
  426. ;                     to your code which will ensure the best interoperability
    % U( D& R; B; _
  427. ;                     and forward compatibility of your code
    ( x" ~7 r( s* u7 J% R9 W
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    9 n- i! D: h( ]
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's4 C5 a' h1 J9 F- `! D% [5 l! d2 U
  430. ;                     initial startup
    7 ~- U8 j  b5 u1 k, K8 c6 G8 a( d8 L' E
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    % g: E+ h* Z$ k  d  b
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 s: G+ Z9 n: B" l4 f0 C
  433. ; E_USER_ERROR      - user-generated error message
    , K) G  W) X' X' p1 s: g
  434. ; E_USER_WARNING    - user-generated warning message. \- h3 ]% ?% O% t' k
  435. ; E_USER_NOTICE     - user-generated notice message
    ' H* x; P4 v( j* d: ^% r3 W8 m8 T
  436. ; E_DEPRECATED      - warn about code that will not work in future versions, z& b* ]8 N8 \+ `
  437. ;                     of PHP
    8 k* T0 T1 `" u1 B0 L  z
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings: [; z/ R) e3 k# h- ^5 B' B
  439. ;* n9 U- n8 ^5 U9 q
  440. ; Common Values:
    ( W/ V9 [9 U% v1 R
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)1 b5 N8 w+ w+ u; k
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    / x. E- d3 w& F% w
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# g. u3 {7 |+ j
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)) _$ O# c& t2 ]0 B
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 {" \" j: o1 ?9 i1 X: a
  446. ; Development Value: E_ALL, V; W' ]2 O6 A) W, w; j+ S9 @4 ?
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! T# h" F( P) k+ @! I  e9 T0 y, v
  448. ; http://php.net/error-reporting
    - H7 m/ f0 n* w/ u
  449. error_reporting = E_ALL & ~E_NOTICE" _" ^' Q5 ]3 `6 k* d

  450. 9 U& u& ^  S' j6 W
  451. ; This directive controls whether or not and where PHP will output errors,
    1 v: D  [" {: L* [7 f
  452. ; notices and warnings too. Error output is very useful during development, but- C& B3 T* s& M) A5 N
  453. ; it could be very dangerous in production environments. Depending on the code! Q" |, p5 c* {$ f, u! G
  454. ; which is triggering the error, sensitive information could potentially leak6 c, z# t$ @. ~
  455. ; out of your application such as database usernames and passwords or worse.
    + r5 w9 D. e0 p+ x6 g, R" i
  456. ; For production environments, we recommend logging errors rather than
    7 m8 ]3 b2 q) _) N
  457. ; sending them to STDOUT., T! D2 T! P% A; \: t8 G; U
  458. ; Possible Values:
    ; |% a- K1 h! T5 m5 ]- `
  459. ;   Off = Do not display any errors
    5 t0 F, j" Q" f  I5 @4 J
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) @& ?5 Y1 w4 x, ^8 O- H# X  P
  461. ;   On or stdout = Display errors to STDOUT+ Q7 R- I" b& P& V/ v& r3 H
  462. ; Default Value: On
    # i5 E$ v' `1 q* p  A! f' x3 ?
  463. ; Development Value: On& W, g9 @- w$ ~' a' z* {. D" M
  464. ; Production Value: Off; I0 ~% w; ~) Z5 I& _7 O- K/ g) l" t( S
  465. ; http://php.net/display-errors
    ) A5 E: c2 [! ~' O
  466. display_errors = On7 n4 f# P+ p( o1 g+ I7 c
  467. ; k$ L% u" _" l& J
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ( C# G( B) T  o  P% x+ J5 K% {0 Q
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    7 k8 A( y3 e% e, G$ y8 Z1 B5 O
  470. ; errors from clients. Turning the display of startup errors on can be useful in' E% M  {* b& G2 o; y: l
  471. ; debugging configuration problems. We strongly recommend you
    ( J% v/ N& n8 H6 D3 m" N. d
  472. ; set this to 'off' for production servers.4 N7 N. F+ ?6 S! |/ H& y( W4 q
  473. ; Default Value: Off
    ; i/ m/ g1 f" i4 p; d- Z& p
  474. ; Development Value: On( I7 O3 y# l$ J, c9 {# A
  475. ; Production Value: Off# S4 t) `! t% G0 H+ j
  476. ; http://php.net/display-startup-errors' `) y0 V& U8 l; u) N
  477. display_startup_errors = Off) Q4 F+ L$ P( L/ o$ i2 M

  478.   D$ W* k: s  c* d+ m1 m; A) ~1 Z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a+ O" q9 r# S* I' \" s" w( {
  480. ; server-specific log, STDERR, or a location specified by the error_log( ]  |5 @$ M* o7 N
  481. ; directive found below. While errors should not be displayed on productions/ f( g( V& {8 q8 |( @
  482. ; servers they should still be monitored and logging is a great way to do that.* D' H+ L. x' u0 j5 ?) u) Y, [% k
  483. ; Default Value: Off
    , A8 l9 w+ ?: q, X* r* C3 p2 t' z" G& q
  484. ; Development Value: On6 |/ x: X" Q; l4 L% ^3 Y
  485. ; Production Value: On
    - J1 W' e3 e8 r# R% B/ `9 V0 y
  486. ; http://php.net/log-errors
    * r+ j1 H5 t  n/ c0 L3 t" [; d% |
  487. log_errors = On  u, @5 t( G8 C0 E) h  U9 {
  488. 5 M" C7 X( I* h! {
  489. ; Set maximum length of log_errors. In error_log information about the source is
      w3 S1 }, f: `6 w5 g6 M7 j2 X4 \
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    * v. ]& F( e0 ^& d/ I: q! i, ?7 Y
  491. ; http://php.net/log-errors-max-len. s# A" b3 L8 N) r5 W) p, t
  492. log_errors_max_len = 1024
    9 t8 D5 P$ o8 A

  493. 6 C1 Q$ e# w% N1 \5 m
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ! i! p- k) g$ Q% k  G
  495. ; line unless ignore_repeated_source is set true.
    1 ?$ c9 b$ D2 y0 @  V
  496. ; http://php.net/ignore-repeated-errors
    ( `9 L+ E- l$ ^# v# x: C6 x
  497. ignore_repeated_errors = Off
    , F7 q! R( x& F4 Y

  498. - V; h9 \+ @5 w" a  L; ?# _
  499. ; Ignore source of message when ignoring repeated messages. When this setting% @: k% i) q' a
  500. ; is On you will not log errors with repeated messages from different files or* j* q7 U  l% B8 B
  501. ; source lines.* n, I$ s* _) i* I
  502. ; http://php.net/ignore-repeated-source2 y( P1 \# O) v0 Q- u$ e5 e: U
  503. ignore_repeated_source = Off: F4 J/ H; G% q% O' a( ~$ z( X1 ?3 {

  504. ' f8 L/ J+ k% Q% e# `
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    5 R4 n! q5 X- u, Y& [
  506. ; stdout or in the log). This has only effect in a debug compile, and if$ }$ R3 l* b6 _
  507. ; error reporting includes E_WARNING in the allowed list2 u/ q' y! K6 u7 U$ W0 F
  508. ; http://php.net/report-memleaks
    7 N0 [0 e/ ~6 h) d' K
  509. report_memleaks = On- i! n  M5 R) Z2 `0 b/ @

  510. 9 R2 X6 r1 L; P0 k
  511. ; This setting is on by default./ g8 |( H7 N' i# B
  512. ;report_zend_debug = 0: _: b2 ]" I+ j* j
  513.   y7 M# t* w7 F. D1 ~
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. v" @) e( c7 d- e" G  I3 c) ~( z
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    % ]8 z  r! E! @2 x4 u$ C  [
  516. ; however be disabled on production servers.$ u% I$ t6 L8 C. k1 o
  517. ; Default Value: Off. i' y4 N$ O/ v+ y
  518. ; Development Value: On
    ; C) y; [; A% F; ~4 u7 J7 |1 s
  519. ; Production Value: Off/ R4 v5 b+ \2 e/ }3 @9 v# S" Q1 H% ]
  520. ; http://php.net/track-errors
    ; R" f. O, `; o/ c
  521. track_errors = Off
    $ {7 ^: ~8 F4 y
  522. ; K! _( ~2 S. Z6 N1 ?: x: m/ u; i
  523. ; Turn off normal error reporting and emit XML-RPC error XML4 l0 ?, L! t8 y. L
  524. ; http://php.net/xmlrpc-errors
    1 n) O, s8 ]% o' _
  525. ;xmlrpc_errors = 0
    : S( T& C$ \. x# r' h9 T$ j

  526. " Z9 f; `# G# Y0 H4 y8 A: I. P
  527. ; An XML-RPC faultCode
    , Y+ o: i) G1 Z0 R
  528. ;xmlrpc_error_number = 0
    : o# r3 N; `2 Y: o4 R: r$ e5 z
  529. 7 n+ r6 L1 K/ k
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    7 P* U  u' u+ ~
  531. ; error message as HTML for easier reading. This directive controls whether
    ' G- i3 g" o& |1 R$ U
  532. ; the error message is formatted as HTML or not.- V" v3 @2 K0 F& o" a6 u5 l3 b
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI1 A0 o, U( R& {: v( [, d: m' i  I, `: _
  534. ; Default Value: On
    5 }* ]9 C" h( L! V
  535. ; Development Value: On
    ; O" i  U$ H9 E$ M7 A# ~
  536. ; Production value: On! r8 t8 ?7 e. c* {% p$ Y
  537. ; http://php.net/html-errors
    % f) @3 k; K) ?* [' u3 J' v3 {
  538. html_errors = On$ b0 w% _1 O& ^

  539. 5 L6 d& h  _" o" z/ P" {9 l. ^
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP/ o0 G  ~( V# u7 m% J5 S# `
  541. ; produces clickable error messages that direct to a page describing the error
    - b$ k+ c9 U, g  Z6 G
  542. ; or function causing the error in detail.
      \/ G1 N& v$ z/ l0 M7 D& S# x
  543. ; You can download a copy of the PHP manual from http://php.net/docs, _8 D" a3 r8 [0 a" p6 s) h
  544. ; and change docref_root to the base URL of your local copy including the; j: m1 @" o0 T% V3 v. I
  545. ; leading '/'. You must also specify the file extension being used including
    8 T7 H! i1 U+ V5 Y& z- s
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    8 d( n* c9 }; E6 V% A9 g* y% S- P
  547. ; case no links to documentation are generated.9 I  s; y; d. {7 \$ m
  548. ; Note: Never use this feature for production boxes.
    % c- s3 ?2 S* G. s- O# z0 F" m4 v
  549. ; http://php.net/docref-root
    ! y2 l8 c/ H3 W, J1 b  ^8 t4 S
  550. ; Examples
    0 d  Q1 @2 ~" E
  551. ;docref_root = "/phpmanual/"
    3 r9 \6 I. U, |: G" |. U

  552. # Q# K6 r8 C0 L; i* B
  553. ; http://php.net/docref-ext* b4 V$ _. M  @- d% Z. v6 r. E
  554. ;docref_ext = .html% D+ D/ Z. f. c; ?4 R( O0 ?$ ?& J

  555. ' h/ c4 p; A2 u8 [
  556. ; String to output before an error message. PHP's default behavior is to leave; k% ?7 Z' M4 z4 i% j& O
  557. ; this setting blank.5 W7 B- p, @9 c) k
  558. ; http://php.net/error-prepend-string
    * d. ^3 a- O! z' [8 w: R/ X
  559. ; Example:; C: j: P7 G8 h2 A
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    # k3 v- Z& a7 s2 y( k; |
  561. 1 G3 k5 h' h/ D) f1 H/ p0 _
  562. ; String to output after an error message. PHP's default behavior is to leave+ I" u1 Y: C# \5 I* c* B
  563. ; this setting blank.
    ; O- d: p" g2 w  y. c6 e
  564. ; http://php.net/error-append-string& g7 J' f( t. a5 {6 c& \
  565. ; Example:# `) N, r7 p" X  W5 g
  566. ;error_append_string = "</span>"; ]" I+ y* o5 F5 p! F, e9 A: U4 _2 r
  567. 2 J4 z9 J/ J  m! S
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ' m4 Y2 K. h2 I! Y, ]: ~, ~2 \& w- ]
  569. ; empty." b( \9 i) V" r( F+ V  ^9 G
  570. ; http://php.net/error-log
      A/ V6 h9 B8 F4 a4 r
  571. ; Example:
    : l2 e! y$ ?* b; a5 y
  572. ;error_log = php_errors.log
    0 K" q7 F7 A( T0 ?9 p6 E! v$ K+ z
  573. ; Log errors to syslog (Event Log on Windows).
    # I) q$ v) N5 d+ G3 Y
  574. ;error_log = syslog
    - E) k# c7 L% _% i  m
  575. 1 |5 B7 N+ {& I8 I% d
  576. ;windows.show_crt_warning
    ' D0 A/ e0 P/ K
  577. ; Default value: 0. L0 I% {" m" h: ^( J1 o
  578. ; Development value: 0
    ' ~2 y1 ?$ e+ Z5 `( ~
  579. ; Production value: 0
    7 ^9 t( O# T) f7 s) G% x- I: L; ~6 v

  580. - r. E- S& [  l# P  h+ [
  581. ;;;;;;;;;;;;;;;;;
    # d" g' L8 S" T5 b& f& t
  582. ; Data Handling ;
    % c% h  l; C& C/ S, k5 o
  583. ;;;;;;;;;;;;;;;;;
    1 Y& [3 L  s# q! ?. M* z- m* R: e

  584. / \+ g3 E" U, n
  585. ; The separator used in PHP generated URLs to separate arguments.( c9 x3 R( w% |$ `- _" T
  586. ; PHP's default setting is "&".7 n+ m3 K) e1 A$ L6 d9 |( ]
  587. ; http://php.net/arg-separator.output6 r* V0 V/ g/ U  T2 n9 A& }
  588. ; Example:+ T, h, S- }: w- J' G
  589. ;arg_separator.output = "&amp;"3 i2 J/ M( d( |/ k- R
  590. & h9 V; ]; I- X
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    # q4 ~2 z" w2 Z6 K1 `- N
  592. ; PHP's default setting is "&".
    + v' C6 I1 v, T% Q
  593. ; NOTE: Every character in this directive is considered as separator!
    $ W8 w9 [; x4 m) {5 j/ [3 {
  594. ; http://php.net/arg-separator.input
    - c2 A) ^5 b( V) `. f$ q
  595. ; Example:
    2 {$ i5 x7 q1 o, C/ ]
  596. ;arg_separator.input = ";&"
    1 ]5 h9 q' V4 C

  597. ! N  m9 \$ z! {7 d9 I+ Z
  598. ; This directive determines which super global arrays are registered when PHP
    9 }# W' y, _8 H8 m
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super* b" y3 S1 k* N! w" ^/ j: I
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & h. ~- N, Y6 M7 [% `( Z
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    7 w7 d+ S( u2 ~% X
  602. ; used as the others, ENV is not recommended on productions servers. You' C/ M2 s- q( l  @! ]2 Z
  603. ; can still get access to the environment variables through getenv() should you) `: P* C/ \2 H! h- R4 H3 \0 F% y
  604. ; need to.
    $ Z4 Y7 h5 S+ G4 i- h, ]
  605. ; Default Value: "EGPCS"2 B" n. \" @! ~7 D8 P. M6 o
  606. ; Development Value: "GPCS"8 o& S( h( B, E' a8 V
  607. ; Production Value: "GPCS";
    , }5 S% e% o0 L
  608. ; http://php.net/variables-order
    0 \, |& A5 K0 F0 m
  609. variables_order = "GPCS"7 x' I1 @: q1 B; B6 f
  610. 3 C( d1 T  O5 F( U
  611. ; This directive determines which super global data (G,P & C) should be
    , n( h3 Y9 D+ x3 ~3 ]
  612. ; registered into the super global array REQUEST. If so, it also determines6 ^3 f- U/ W: _( m4 V+ }
  613. ; the order in which that data is registered. The values for this directive* @6 `5 X) L6 y2 R
  614. ; are specified in the same manner as the variables_order directive,
    $ M% a, y' X$ q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ L% [4 n$ Z4 i
  616. ; in the variables_order directive. It does not mean it will leave the super
    2 G9 v0 x+ S# O1 ?. E
  617. ; globals array REQUEST empty.+ b1 X/ O. |; o  B# D$ F
  618. ; Default Value: None; O! N$ \& `* l0 Q
  619. ; Development Value: "GP"
    7 [  U8 ]7 s# J9 }8 \( B7 ?
  620. ; Production Value: "GP"
    & g" @) p1 M8 j2 c
  621. ; http://php.net/request-order
    6 J* |1 z8 Q( f
  622. request_order = "GP"# [+ d2 g% e2 Z4 Y- c# Y7 Y6 \  n

  623. 1 ^5 d+ Y( x, ?2 N# }+ j9 Z
  624. ; This directive determines whether PHP registers $argv & $argc each time it; W# c0 j8 M) l# Y6 _0 U8 J
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! M  M3 q* L$ a+ Z' p- d# s
  626. ; is invoked. $argc contains an integer representing the number of arguments
    # }0 s: {5 h" r' x- l  Y) d7 w9 q
  627. ; that were passed when the script was invoked. These arrays are extremely1 {# M% H2 _' Z
  628. ; useful when running scripts from the command line. When this directive is
    8 S  V! J: L* s! M, n
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 y" S* D* V5 h1 ^4 S2 D, E
  630. ; a script is executed. For performance reasons, this feature should be disabled
    & y/ L9 _6 Z# z# {1 n/ P; z
  631. ; on production servers.9 y; D$ E& ~1 o4 L3 V/ u' ~
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; i4 m7 @: r7 g6 p: F+ A
  633. ; Default Value: On# h/ Y: }6 r& x/ C+ f' j
  634. ; Development Value: Off
    9 E) R3 X/ s# f5 F& @. n4 F5 H
  635. ; Production Value: Off* F) w5 z) V; M: {' L9 C% Y  c& p
  636. ; http://php.net/register-argc-argv# e& X' @  c8 q2 G# k! k
  637. register_argc_argv = Off
    4 \! s9 s; R! ^$ z

  638. . K. `/ x7 d# v" A3 a: q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      K" L( E4 @3 K% M0 F
  640. ; first used (Just In Time) instead of when the script starts. If these
    3 x9 i: p+ O8 ~
  641. ; variables are not used within a script, having this directive on will result
    " O& X7 f1 `8 }& u& v
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ! x2 u5 @  d3 b0 H
  643. ; for this directive to have any affect.
    " H/ i2 h2 L) V) O4 |+ H& d
  644. ; http://php.net/auto-globals-jit
    * |5 m/ X# b8 A8 V$ Z/ J
  645. auto_globals_jit = On
    8 R' R* N! d3 `& q' I5 p( U( Q4 P
  646. ' z# }, s5 y7 I6 ?) A3 E
  647. ; Whether PHP will read the POST data.
    + \9 K$ i2 v" @4 H
  648. ; This option is enabled by default.9 S& i9 M1 E2 `
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    7 X- n4 R6 h, G3 w; H9 E
  650. ; and $_FILES to always be empty; the only way you will be able to read the3 [* l0 y& a. ]" H8 v# r
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    7 N# \' E: P( R) d9 N
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.( Z: B4 K4 A/ M1 n
  653. ; http://php.net/enable-post-data-reading
    $ P* p- {( X) v& k
  654. ;enable_post_data_reading = Off
      l- b# T  T9 b# _
  655. 8 y1 w" E1 J' d& H
  656. ; Maximum size of POST data that PHP will accept.
    1 f. P- Y" `; [# d  ^
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading& V$ T3 i' I+ b, o
  658. ; is disabled through enable_post_data_reading.! y& O% K/ C, A: @/ Z0 I3 @
  659. ; http://php.net/post-max-size* Y/ R1 x1 w3 R0 ~
  660. post_max_size = 50M
    . G. c2 ~# k6 b
  661. & ~' A/ [: X0 v. F6 _
  662. ; Automatically add files before PHP document.
    5 J1 L5 t, _0 m9 ?) p6 Z
  663. ; http://php.net/auto-prepend-file" q7 t5 q+ X3 P
  664. auto_prepend_file =. P8 R) ~7 ^" ]8 v. y" h
  665. 3 h# }0 P/ d7 ?8 o) B& a. B
  666. ; Automatically add files after PHP document.
    , [# }) s4 O7 L% P2 o" t/ c# K
  667. ; http://php.net/auto-append-file! M4 u$ O( t9 b1 J7 B7 a( s' U0 t
  668. auto_append_file =
    ( i8 c9 `" a1 g7 c  X
  669. ; N. B9 \- ~5 z
  670. ; By default, PHP will output a media type using the Content-Type header. To, r5 ?9 d5 F: w8 |2 S
  671. ; disable this, simply set it to be empty.* c/ r0 a4 X0 b+ f6 ~3 N9 H; {2 s6 c
  672. ;* Y- x! [4 a; t: t2 u. O4 }8 g
  673. ; PHP's built-in default media type is set to text/html.1 i' q( [' h. l; ^2 Q5 R" D
  674. ; http://php.net/default-mimetype
    / I1 i* u" V5 J, O' v! f: I
  675. default_mimetype = "text/html"
    ( }( Z  ^/ [8 V1 ^, ~6 `9 V8 N  P8 W

  676.   ^. Y0 O7 i0 s* H4 V
  677. ; PHP's default character set is set to UTF-8.
    ! `8 D  Y9 I. }* e  f
  678. ; http://php.net/default-charset
    8 x) x- U* q. z& g3 C( Z4 p
  679. default_charset = "UTF-8"% ?+ u& U( Q, r/ C! S- e

  680. ! l4 B( r$ y3 y5 \" K8 {, p$ @
  681. ; PHP internal character encoding is set to empty.
    - z- Z3 u+ p. p9 k7 {9 q* ^! i
  682. ; If empty, default_charset is used.
    3 g: F+ j1 G+ y8 M* M8 S  R
  683. ; http://php.net/internal-encoding* i* r/ V" J8 A% t0 V! }
  684. ;internal_encoding =
    ) m3 z6 Y! J, W5 L% {2 w3 k, U
  685. 0 H- F' ~! \  ^( r$ r. n) `' \
  686. ; PHP input character encoding is set to empty.  H  z8 f' K# x/ X
  687. ; If empty, default_charset is used.3 e' ?0 c3 {5 v) g8 U+ C% {
  688. ; http://php.net/input-encoding6 `; z* f; f! Z  o
  689. ;input_encoding =
    5 f2 J6 z% u. P, f5 ?

  690. 9 \( u9 V3 v/ D7 N6 b; y4 y+ B
  691. ; PHP output character encoding is set to empty.
    - B, ^+ T; n& J" a5 t3 s& P
  692. ; If empty, default_charset is used.
    8 R& T6 q3 J( Z( g0 \* _( v: ~
  693. ; See also output_buffer.1 e" o) i- k( g' j9 z8 s* v5 V3 a
  694. ; http://php.net/output-encoding
    & q/ T: P* g  \$ d2 r$ W
  695. ;output_encoding =
    8 a" T' o& M% B" L$ L4 e
  696. . Z) X1 Q/ H  a$ a  H4 U( [" [
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is" x7 S# h& l* M% J
  698. ; to disable this feature and it will be removed in a future version.
    % f3 C1 F# R4 ]* Z, s+ l
  699. ; If post reading is disabled through enable_post_data_reading,
    , a0 h5 L$ |! \5 c: z' h3 w
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.& E! c# R/ C' h  G8 S7 E" A
  701. ; http://php.net/always-populate-raw-post-data5 ~' Z' ^+ [* d1 P& T# a7 L' A9 X( Y: O
  702. ;always_populate_raw_post_data = -1
    8 d: @3 J  X; u

  703.   O  {* {/ R% u3 v2 W
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;5 f; O6 i3 n1 u
  705. ; Paths and Directories ;# J( a: z" r! b# p  K; \8 e
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;- L; w8 p9 n2 a+ t" a9 r

  707. ; A/ ?3 o  V4 V  @2 a7 F1 T
  708. ; UNIX: "/path1:/path2"
    6 s4 j, ^  N5 R3 A/ U5 l
  709. ;include_path = ".:/php/includes"
    ( h9 D; R& p% C$ m( s7 p! v" ~! ^8 H
  710. ;
    ' I! j5 c% R( f2 y+ s
  711. ; Windows: "\path1;\path2"
    % k( F! G+ U$ p& u9 n9 U
  712. ;include_path = ".;c:\php\includes"  F2 h& R+ i2 c. y
  713. ;
    - d0 S8 u! m! r8 O
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    . I( J* \# W: l$ K2 c. t( T7 f
  715. ; http://php.net/include-path/ z2 x+ E' B& L: [6 s/ P

  716. # t5 M2 }) n( `: a
  717. ; The root of the PHP pages, used only if nonempty.& i$ a+ Z8 p+ u: ~; B
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' e* s( o5 c8 T0 ^. W% Q
  719. ; if you are running php as a CGI under any web server (other than IIS)' q% D) W" Y, k6 S* A! Q6 ~
  720. ; see documentation for security issues.  The alternate is to use the
    5 Z/ j1 ]3 g; z) H
  721. ; cgi.force_redirect configuration below
    9 E8 ?' @: b( d7 C6 Z
  722. ; http://php.net/doc-root
    ) A  @5 E( e. j) E
  723. doc_root =
    # e' M3 d9 ?  ]: S5 @
  724. ' w9 ~6 I  K! E# `( |7 W$ J3 I  S, g
  725. ; The directory under which PHP opens the script using /~username used only
    # n; b; _0 i' L( k8 n, V! D8 \3 s
  726. ; if nonempty.
    3 v" R& K- G9 ?, M
  727. ; http://php.net/user-dir
    5 U3 T. Z0 l, Q: T
  728. user_dir =  L" A9 |/ O$ n8 J

  729.   _% R; |, m. y( s& q, J- W; g
  730. ; Directory in which the loadable extensions (modules) reside.
    ; L: @5 n. q1 S3 X1 T5 o3 D2 \5 D3 q
  731. ; http://php.net/extension-dir
    % J0 q5 c6 b. |& D0 ]& X0 j1 D
  732. ; extension_dir = "./"
    0 Y7 H- [+ k6 T( s9 U
  733. ; On windows:$ q3 G8 ^4 T9 C  a' g+ z1 X* i
  734. ; extension_dir = "ext"0 E( B( y* ^$ l8 p" b" i' ]
  735. ! N* Y7 k4 r" Q3 |0 z
  736. ; Directory where the temporary files should be placed.2 n* T# V: k! |5 N1 o; g% \( }
  737. ; Defaults to the system default (see sys_get_temp_dir)
    & t" x. v6 q2 `
  738. ; sys_temp_dir = "/tmp"
    " |* g: `8 m" N% \- }: H5 a
  739. 6 n% _+ v$ m& [. b  |
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work7 n& ~6 o! p$ v8 f& X$ T8 l) a. T
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    3 f$ Z- h( O! b* \
  742. ; disabled on them.* w9 R, `4 E% c+ C+ m1 x+ R
  743. ; http://php.net/enable-dl
    : b: G2 `+ l3 V, T; P
  744. enable_dl = Off  T% ~, o' _' t0 l8 p# L! D, K

  745. # O4 L5 V# P7 J
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ( J! W8 {1 ]& q! v* G+ a; C
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , k( ?9 K9 M8 x$ A
  748. ; turn it off here AT YOUR OWN RISK
    ! R% P; @+ v1 O& m# a# |
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 s+ \- `( \( r8 n( ?! R
  750. ; http://php.net/cgi.force-redirect
    # N/ v4 h7 x+ a/ a# W3 Y: z; S- e
  751. ;cgi.force_redirect = 1. o( B: T% ]+ P

  752. 8 H$ F) W9 E# R! X
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& E8 ?% V/ ]: Y* y9 q3 p
  754. ; every request. PHP's default behavior is to disable this feature.1 K8 L( y. ?. J9 \
  755. ;cgi.nph = 1' e/ K. l+ F) U/ N; q

  756. ; Z, T  j- x) F8 t  S9 a" g( k" X
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 z: j! N# ~1 S' a0 j* ]
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    0 A( q0 K- w, j! G; W5 Y4 p3 a
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY: g4 J& X9 ~+ d+ }: y
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    3 ]( d3 Q0 A4 K6 K. G4 A
  761. ; http://php.net/cgi.redirect-status-env
    & b$ r# z1 e$ m+ `
  762. ;cgi.redirect_status_env =6 ~9 p0 ~) V: R0 Y4 I3 K+ l

  763. ) q+ j# D8 @; {) h& L9 @
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's- X! |) N' x* G5 \& b" ?6 P, O5 Z
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok3 Y( _/ N2 [7 f/ T
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting# Q+ C+ R7 N0 U1 B$ n
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " V5 q- o1 x; ?9 P6 b2 w! \* L
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / B1 [! O0 o3 j" }1 K  x; Y6 L. ?
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    . w; z& G! [! I: u& U
  770. ; http://php.net/cgi.fix-pathinfo' r7 R" v# @: o/ C
  771. cgi.fix_pathinfo=1
    * G7 x4 B% s) M# \
  772. 2 D- m" c& _6 K) t- f: l- f
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    * p1 H# p' c3 U
  774. ; of the web tree and people will not be able to circumvent .htaccess security., K- C0 ]6 u6 j8 h0 x! \8 T& g
  775. ; http://php.net/cgi.dicard-path4 |  y. h6 V9 |$ y
  776. ;cgi.discard_path=16 b* x: c$ Y0 ?5 B& L( `

  777. / e$ ^3 @  A/ E" b) L5 b# Y# f$ {
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    7 b8 H7 V5 X: _& E( d
  779. ; security tokens of the calling client.  This allows IIS to define the
      ]) U- u  x. K& q( H3 P' K
  780. ; security context that the request runs under.  mod_fastcgi under Apache$ N: J& _+ \7 V  u5 O  M
  781. ; does not currently support this feature (03/17/2002)
    2 W; G& T5 A4 f8 D4 d+ Y3 o1 V
  782. ; Set to 1 if running under IIS.  Default is zero.
      X( t& i5 ~, ], @& e9 m
  783. ; http://php.net/fastcgi.impersonate6 x. T9 v1 }( j0 Q! }. R
  784. ;fastcgi.impersonate = 10 D& n+ G; D# p* r
  785. $ D. Y; i2 h6 c% ~$ _2 E
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" Y, @/ ~' l- s7 u; k. j: V/ U' T* ]0 h# t3 B
  787. ; this feature./ G6 J# h. o( }) |; r" `' b
  788. ;fastcgi.logging = 0
    8 A) u% Z+ c; ~: o
  789. / `" _' x: F* A8 r
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. g' U& a$ R, @
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ( Z& ~4 X# v( j" ?) _; X2 I1 o
  792. ; is supported by Apache. When this option is set to 1, PHP will send, Z( f! u2 g2 T: W+ [( l+ a
  793. ; RFC2616 compliant header.2 i5 ~' H# I, a9 Z* f
  794. ; Default is zero.
    ( s6 F9 g3 z: q4 u9 r! {6 ]# q
  795. ; http://php.net/cgi.rfc2616-headers1 _. m& `: T3 a) k6 a" _$ i
  796. ;cgi.rfc2616_headers = 0
    : V# J) l, {# G/ ]+ s

  797. ; j5 C8 P. N% C
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!# g4 T9 Y( V7 [  F
  799. ; (shebang) at the top of the running script. This line might be needed if the
    % ^% l7 R3 d- t. j, a
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 c: M2 Z# e' F3 y
  801. ; mode skips this line and ignores its content if this directive is turned on.' H. H( n* u9 c7 {, _
  802. ; http://php.net/cgi.check-shebang-line
    5 w( w, H9 Z) K! t- C
  803. ;cgi.check_shebang_line=1' h! k) n5 H2 d& T, f
  804. ) _+ R4 B) \. g* s  e# t9 w
  805. ;;;;;;;;;;;;;;;;
    / _# P% ?9 {7 u; E/ \$ K( Y
  806. ; File Uploads ;
    * x: t! }9 c9 z# F* }4 r6 c5 }) i
  807. ;;;;;;;;;;;;;;;;
    & ?" n2 Y' e+ |0 B

  808. ( {9 R5 D7 r  _2 f- [
  809. ; Whether to allow HTTP file uploads.3 i8 d6 X6 Q/ g7 f6 K
  810. ; http://php.net/file-uploads3 t" V! a  `# j5 e2 `9 h' x" }: k
  811. file_uploads = On
    1 Q( V5 k+ J% Y+ h3 Y% J: M6 s# e
  812. ' x# e9 |1 M4 b4 x  E
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    / o9 W$ f% E+ j& s
  814. ; specified).: D9 C8 X2 _% e& A6 _$ `* m
  815. ; http://php.net/upload-tmp-dir
    ( }* X3 d7 j$ R7 y5 B
  816. ;upload_tmp_dir =
    " s- p# B. K- {$ q! [

  817. & ^( ]$ I) @/ g1 T) [/ b% A- B# _" Q4 J
  818. ; Maximum allowed size for uploaded files.
    ( V) ^, f  @# i2 ^; a
  819. ; http://php.net/upload-max-filesize
    " j/ ?/ {' X. N8 c
  820. upload_max_filesize = 50M/ o5 R! z9 n; |! Z

  821. 0 a/ ^2 S/ W" v( W- M
  822. ; Maximum number of files that can be uploaded via a single request% l! {4 Q: z7 ?4 `% l! h
  823. max_file_uploads = 20
    ; X- N( R* u/ R$ R: D
  824. ! G7 t  V+ R; w$ `3 G0 u
  825. ;;;;;;;;;;;;;;;;;;
    : B# R9 [' s, R7 f, ^1 O9 y6 p
  826. ; Fopen wrappers ;/ X0 E" x  {6 f/ }3 ?5 e: C
  827. ;;;;;;;;;;;;;;;;;;
    ! D: x# u' j! k, y) m- U/ l8 b$ Q
  828. ( h# Q* v6 |* B$ Y9 g1 l
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; i1 Q! Z- }6 W- l
  830. ; http://php.net/allow-url-fopen  ^6 z8 D5 f7 x( O5 [  Z) z6 ?
  831. allow_url_fopen = On3 T( N: H3 |" p0 M

  832. 7 r4 @0 S$ z% i4 b/ m1 r# u- D
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    5 U' C7 F: B" L5 r8 M/ A
  834. ; http://php.net/allow-url-include9 J2 T) o7 i) P/ V4 q, s
  835. allow_url_include = Off2 W/ ?8 E' I0 b, J7 s9 D/ D

  836. ; ]! u0 j3 S9 s) l) U
  837. ; Define the anonymous ftp password (your email address). PHP's default setting4 S0 i/ l6 i; I) N+ W7 Z
  838. ; for this is empty.8 s+ T$ T2 t" x3 Z" W
  839. ; http://php.net/from& x( k/ |, w  k8 j' u6 k
  840. ;from="john@doe.com"4 v$ I% h" D. t6 F4 {4 v

  841. 4 d8 g2 `! c- T* c- N$ b, p+ n
  842. ; Define the User-Agent string. PHP's default setting for this is empty.' ]9 ~  W- A  l; G: {3 ^9 Q
  843. ; http://php.net/user-agent
    + n4 Z6 O: ]' F, J6 x# ]
  844. ;user_agent="PHP"
    * @6 F& T" c( b: R& d0 v. ~  b+ D( ]; F

  845. : _" {* {, Y( Q* s
  846. ; Default timeout for socket based streams (seconds)
    ( o& F4 R8 M% b3 @8 p: t1 x: r
  847. ; http://php.net/default-socket-timeout
    % i7 t! ^  @) ~  o
  848. default_socket_timeout = 601 Z$ u5 p8 Z" V9 [7 [% K
  849. ' Y; J7 E, T- A& a) l8 d2 k
  850. ; If your scripts have to deal with files from Macintosh systems,
      g$ n- @5 Q- v7 F9 h# L, L
  851. ; or you are running on a Mac and need to deal with files from' C; Z) s7 q! z; r' @8 h$ v5 v
  852. ; unix or win32 systems, setting this flag will cause PHP to
      @1 J- w% p1 e  r! D
  853. ; automatically detect the EOL character in those files so that
    9 L; p8 E7 b- {9 g7 j( w
  854. ; fgets() and file() will work regardless of the source of the file.
    6 l4 ~8 `& x. D& W
  855. ; http://php.net/auto-detect-line-endings0 k( A( O0 }7 z
  856. ;auto_detect_line_endings = Off7 w( W2 S+ Z6 K2 o! J  h0 d
  857. * Q7 ]' t+ [: b" X/ x+ o6 u5 `
  858. ;;;;;;;;;;;;;;;;;;;;;;4 L  y6 i1 k, R+ C8 y8 r
  859. ; Dynamic Extensions ;
    : u- F$ ?+ O1 O- v  w
  860. ;;;;;;;;;;;;;;;;;;;;;;
    0 u7 w9 K: a" z9 q& m

  861. : U  D, ~8 D4 u
  862. ; If you wish to have an extension loaded automatically, use the following+ N' C7 z! W% {5 \! k
  863. ; syntax:
    % @' p# r* J% \7 ^
  864. ;
    2 [; j5 \! h* V2 x: r+ E
  865. ;   extension=modulename.extension
    9 P# s' f/ @# Q) F& V
  866. ;
    7 l% V" x- ?; k( \
  867. ; For example, on Windows:5 D; w  h* s  n* e1 |4 K& l
  868. ;4 W8 Z; P. X1 J; S; b  L* h
  869. ;   extension=msql.dll
    ' E7 q; x1 q4 O
  870. ;
    $ Q8 m) o- I3 I+ \  y% Z( \
  871. ; ... or under UNIX:
    ' e' q% K0 [" x
  872. ;: w0 v4 K$ `7 U
  873. ;   extension=msql.so, X/ ~" W4 v+ |( ]. w  c' h3 K
  874. ;
    ; W+ K$ N! L5 O
  875. ; ... or with a path:
    # U3 e7 M+ `. E9 I
  876. ;
    % ^( b2 o' c1 K- r
  877. ;   extension=/path/to/extension/msql.so2 \7 J) Q2 a+ [( z+ H
  878. ;* W# E0 O4 L* F6 p
  879. ; If you only provide the name of the extension, PHP will look for it in its, t4 A4 h% I' c
  880. ; default extension directory.# u, s; t: D$ e
  881. ;
    * g2 z; }- n# |4 g
  882. ; Windows Extensions2 G5 N# S5 y& t2 |4 i
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    * b( O1 C2 P, N9 N- k# M. A# ]  K
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5), C! Z+ D+ ]8 i+ a) S9 |
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    8 T, t" Y9 X- n5 `; i* ], k, p- Y
  886. ; Be sure to appropriately set the extension_dir directive.
    , D# s# ?/ x0 [8 l7 N
  887. ;! ]+ [$ s7 \1 |3 V6 }% `
  888. ;extension=php_bz2.dll# K$ ?- C! s5 [/ `; H
  889. ;extension=php_curl.dll
    ) Q$ S6 B8 n3 J7 ?
  890. ;extension=php_fileinfo.dll5 q8 n+ Y" A6 E* y& g% |' J
  891. ;extension=php_gd2.dll
    6 W1 u# B, W- q8 x- Y% A0 O* \
  892. ;extension=php_gettext.dll' X: O+ E1 D0 B' y8 y, }% ^
  893. ;extension=php_gmp.dll
    * M6 ]2 x9 \* s" ~; C
  894. ;extension=php_intl.dll; D- Z, \  x# S) b8 ^7 _
  895. ;extension=php_imap.dll; K4 x$ q7 F' P: c  Y' ^
  896. ;extension=php_interbase.dll$ ^2 f; x5 o0 G* h+ S* o  a
  897. ;extension=php_ldap.dll, d8 @5 |. D- h5 \
  898. ;extension=php_mbstring.dll
    0 j  ?5 d* {5 j1 Y
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 R# A$ }2 o' {( q
  900. ;extension=php_mysql.dll* a/ C8 v6 A+ x
  901. ;extension=php_mysqli.dll9 |) R" z2 p' P' L. j8 ?
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    + Q& T* d9 V8 B( P
  903. ;extension=php_openssl.dll
    1 C0 Y2 C) q) m* ~
  904. ;extension=php_pdo_firebird.dll) h, p! V8 b5 d; ~
  905. ;extension=php_pdo_mysql.dll" a- \& [  Y  _+ S' i0 G
  906. ;extension=php_pdo_oci.dll
      V: Y3 g, H% O3 _5 W% H8 f5 D# ]  {
  907. ;extension=php_pdo_odbc.dll, r4 \# S' H: T$ r
  908. ;extension=php_pdo_pgsql.dll
    7 r- I+ Z# J' w; l. F# a
  909. ;extension=php_pdo_sqlite.dll* a: b, r. T- O3 G- A2 K/ n, f! a
  910. ;extension=php_pgsql.dll9 N  y! @/ U! c8 J
  911. ;extension=php_shmop.dll( x% Z4 C9 B1 s( ^6 d2 V

  912. / a6 U1 D+ F2 {8 U7 w9 r: U
  913. ; The MIBS data available in the PHP distribution must be installed. ( I* F, T$ m9 V2 h
  914. ; See http://www.php.net/manual/en/snmp.installation.php
      }1 T; f6 F# T
  915. ;extension=php_snmp.dll
    . g- @  u. r  i/ N: @6 x) s
  916. 4 a' i) c* h" t) }
  917. ;extension=php_soap.dll" b8 |$ ~8 `" B9 E4 f3 y9 }; o
  918. ;extension=php_sockets.dll. F8 c5 E4 N( c) R6 o
  919. ;extension=php_sqlite3.dll
    : d6 I: i8 J3 Y. k) v
  920. ;extension=php_sybase_ct.dll7 S* K+ A( |3 \6 Y
  921. ;extension=php_tidy.dll" k+ E0 v6 k% t3 u& |' e8 l8 N; t
  922. ;extension=php_xmlrpc.dll
    , @3 f+ }  [' i
  923. ;extension=php_xsl.dll" E9 w2 u: K6 A% p9 N7 F

  924. ( M) U) ]: y# Q% \
  925. ;;;;;;;;;;;;;;;;;;;
    9 R  Q: z+ j. T- w- H$ {
  926. ; Module Settings ;- l! s5 K% K+ a* k
  927. ;;;;;;;;;;;;;;;;;;;1 G  K, d9 f9 O2 s( a* h
  928. # J2 F( ]. ~& ^
  929. [CLI Server]; U& k9 _9 J/ g. f! O) b
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 F& P8 Q) v% @0 W0 u7 f
  931. cli_server.color = On, F2 [8 k' D+ Y3 g: W- p& }% b3 a

  932. 0 Z) y; c; v* \! M  [
  933. [Date]
    7 v# D1 o0 p! t3 J
  934. ; Defines the default timezone used by the date functions* I; t- \+ p9 ~5 d4 r, W& W
  935. ; http://php.net/date.timezone: \- k9 o) r; d0 s& W; B& y
  936. date.timezone = PRC, g1 V2 |, S/ l+ v

  937. - K  k% e' E# X' |' X1 T0 k& A
  938. ; http://php.net/date.default-latitude
    6 T& P, I0 T& }7 ~& V
  939. ;date.default_latitude = 31.7667/ z  M& ~( Y# }

  940. # V+ B9 J1 K( ]2 m7 @$ M0 |
  941. ; http://php.net/date.default-longitude0 x8 ?7 B1 y9 d! `. v5 q# y5 ~
  942. ;date.default_longitude = 35.23333 \* v# K2 F. B6 d+ Y
  943. 8 W( D0 O. Q, G- `
  944. ; http://php.net/date.sunrise-zenith2 d9 ~2 K, b9 S/ c: \- d, z
  945. ;date.sunrise_zenith = 90.583333/ y# v9 P" J, D! g2 z
  946. % V$ I3 ], L! [/ t. F# `
  947. ; http://php.net/date.sunset-zenith
      h: @9 k( c: U5 w+ [
  948. ;date.sunset_zenith = 90.5833337 h& _; s" I9 _( J- Q0 A# m& |, P. f

  949. 4 {, N7 t% l& N+ a1 l& W% w# }
  950. [filter]
    . `' s' T* M; u: E4 N- r
  951. ; http://php.net/filter.default) e2 L8 u+ l; }
  952. ;filter.default = unsafe_raw
    # k) ?" X( L$ L8 o

  953. $ m* T, ~. v) X( f
  954. ; http://php.net/filter.default-flags
    / ?. y0 _/ w$ W! L: K
  955. ;filter.default_flags =2 Q4 e$ L( a7 _* O! h1 e

  956. ( i5 c# T, n1 B( |) {9 j( u' g
  957. [iconv]; X& Q* d; a5 [; H- W: m, u0 h
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 d! b7 A! }3 L2 f+ m: Z8 l
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used./ s+ L6 M& L! I
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    5 o7 X/ N) |! j9 F& t" F4 f
  961. ;iconv.input_encoding =- a+ y9 U8 f8 V8 t- \" j

  962. : r: D8 ~6 H2 ]
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 i& |, Z6 m# c
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: x( J* p, L9 v, J8 B% J% }' v. Y
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : _& ?' X- K: i" q9 _# ~
  966. ;iconv.internal_encoding =! h" N4 l) `0 Y1 {
  967. # v$ {' d: d$ S
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.4 Y4 t" Q8 r7 s3 g& {6 s
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ O/ j- l" B1 }# x
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 r8 ?' V# a2 Q  M6 E) s% d
  971. ; To use an output encoding conversion, iconv's output handler must be set. X$ m* t8 A8 A9 D
  972. ; otherwise output encoding conversion cannot be performed.2 z  J6 }0 U* U. H+ @4 ~, ]6 l
  973. ;iconv.output_encoding =
    & e0 P8 O* p# i. L4 r) S

  974. 3 r  W( `" \/ O+ |& J/ }% y
  975. [intl]
    & f) |1 E; m* W( G' T7 M% k
  976. ;intl.default_locale =% u' X# ?0 {5 X4 K  b6 S
  977. ; This directive allows you to produce PHP errors when some error
    . W+ H! \, R2 o( ?( @1 _
  978. ; happens within intl functions. The value is the level of the error produced.
    - U2 A& w6 S+ I: h# N
  979. ; Default is 0, which does not produce any errors.
    3 H- n# l: E7 T2 T
  980. ;intl.error_level = E_WARNING$ H3 d  d! L  B
  981. ;intl.use_exceptions = 0
    % b. {6 b$ ~% x! V% q8 r3 }
  982. . E4 i5 U0 D- L2 }+ L/ x
  983. [sqlite3]; l+ }, o/ f8 S* W) P1 \' H
  984. ;sqlite3.extension_dir =
    ( U! Z& g. U% X2 u5 X7 G! b% B4 A

  985. * I. s( w7 w  \( s' r1 M
  986. [Pcre]
    , H5 M+ H; A9 W+ ^) |% T: _
  987. ;PCRE library backtracking limit.
    5 e6 J, I) x5 h9 \% |: }" C( B' [
  988. ; http://php.net/pcre.backtrack-limit
    * \: o' \& n. A  e
  989. ;pcre.backtrack_limit=100000/ J  E8 w1 s  [

  990. ; j( ]; d8 ~  ?( R- v
  991. ;PCRE library recursion limit.# t9 z, l- G0 X6 e, P
  992. ;Please note that if you set this value to a high number you may consume all' m5 t5 @5 w/ r( V
  993. ;the available process stack and eventually crash PHP (due to reaching the1 ]/ u& u# n/ e* E. Y6 q4 N
  994. ;stack size limit imposed by the Operating System).
    % J; k2 d! D* y: f; T, E8 A
  995. ; http://php.net/pcre.recursion-limit
    : M, [0 v! {! h
  996. ;pcre.recursion_limit=100000
    ! d0 W) Q& N! ^% I2 J3 H8 M
  997. & ~, c3 E3 E/ U" S
  998. [Pdo]
    / R  N1 @3 }* _
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    + N0 w' G# K$ p
  1000. ; http://php.net/pdo-odbc.connection-pooling/ t" G) p* A7 j' ^1 J, x' ~
  1001. ;pdo_odbc.connection_pooling=strict- a& x: |  @) n  j( s" z/ r  d* B

  1002. 3 r& N3 \# y7 m! |- U0 y
  1003. ;pdo_odbc.db2_instance_name
    $ O, s6 Q  C6 s- R; s0 j1 A

  1004. : d; g7 B7 A3 L9 N) p" s8 G
  1005. [Pdo_mysql]
    : _3 s6 q3 ~  ?0 y
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 a/ a; @! X. o) g' o5 |
  1007. ; http://php.net/pdo_mysql.cache_size& _6 u# [& @* M2 v1 @
  1008. pdo_mysql.cache_size = 2000: v/ Z- k8 w3 Q! G/ f

  1009. 4 g# T) ^# `$ ]! ?0 D
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 D+ O! M. {/ ~# s, n4 G
  1011. ; MySQL defaults.
    3 x1 N! z, C; w9 P: t1 n8 d
  1012. ; http://php.net/pdo_mysql.default-socket
    ' f0 l9 ^, r2 z( ]  a( b/ q5 y
  1013. pdo_mysql.default_socket=
    : `6 l* o- z8 ^# e/ Y) T

  1014. 0 Q7 Q. `2 Z5 g- D( y
  1015. [Phar]/ d% P) n! e& e  C* c( }
  1016. ; http://php.net/phar.readonly
    4 C- A9 i4 z2 J4 `1 o: Q, k
  1017. ;phar.readonly = On! B/ N" e( @5 u) l9 ~) O

  1018. : }* H6 J7 F" K7 n
  1019. ; http://php.net/phar.require-hash* N7 ]7 l/ f2 ]; e1 x# a
  1020. ;phar.require_hash = On
    5 ]6 z; \  K! \' S

  1021. 4 X: I- U0 J9 m- n' z$ h/ G
  1022. ;phar.cache_list =
    ! E) W  ?# U4 E* x5 g8 W

  1023. 6 ]" A. G5 d1 H- b5 F+ B
  1024. [mail function]4 `( O% E" x; a+ {: F
  1025. ; For Win32 only.  `1 M# f4 @& C! B$ h- ?; u7 ~
  1026. ; http://php.net/smtp; Y7 s  q0 Q3 N5 i
  1027. SMTP = localhost
    . b; O$ {+ Y+ l7 j
  1028. ; http://php.net/smtp-port0 C, C, o" k/ ]# Y; m: \  o9 [
  1029. smtp_port = 25
    . w' F' }- u. n( c& H) t9 C
  1030. 0 a) F3 i& A2 f2 e5 V
  1031. ; For Win32 only.
    ) z- t" L1 {/ S
  1032. ; http://php.net/sendmail-from; k$ [* Z2 s4 w4 T+ r+ f7 G# `
  1033. ;sendmail_from = me@example.com; Q4 y5 x. K* t! {9 W6 z; Y
  1034. 3 X+ S4 C4 B- V' R6 _) x
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& w' _0 U% n0 _' `3 H  ^
  1036. ; http://php.net/sendmail-path. Y' y* E! f- q% Z/ g% B1 C9 V
  1037. sendmail_path = /usr/sbin/sendmail -t -i' F) ~9 F3 h7 A0 y
  1038. 0 M3 p. i* W; @- m3 m8 O; C( k* L
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    2 K1 O. [: L# @/ Q8 ]& e
  1040. ; to the sendmail binary. These parameters will always replace the value of8 _& X3 k8 F4 T" K: m+ Y
  1041. ; the 5th parameter to mail().
    9 H' j1 {3 y# U1 S. h" L: A
  1042. ;mail.force_extra_parameters =+ \! x. f1 c! C, b: H. O7 E

  1043. & O) z, C# u  ?) `9 Z& [2 a7 s
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% K& S- T- D7 q) v+ E6 @  E! D4 D& i5 k: e
  1045. mail.add_x_header = On; w9 k; ]+ B  L# y2 R* ~
  1046. 1 l9 e% m3 x3 M( k/ @$ i  W
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    8 [8 F7 \% m$ k& R  P$ V
  1048. ; the full path of the script, line number, To address and headers.' V& z( U- Y, H7 T
  1049. ;mail.log =
    2 G' W) `% s4 {, e. [
  1050. ; Log mail to syslog (Event Log on Windows).& A1 x! K- n. @# O3 G- H
  1051. ;mail.log = syslog9 l4 t4 Y1 P2 d3 r* i

  1052. . c$ w% ~/ a) Y
  1053. [SQL]
    - J+ w' _1 S. ^4 P# r
  1054. ; http://php.net/sql.safe-mode: C" i' x0 d% Q. \" C0 L9 Q
  1055. sql.safe_mode = Off# S9 g* G+ h/ F. _$ H% l1 d5 ]
  1056.   L6 ^2 L$ Z. u' n8 X- L7 \" h4 N
  1057. [ODBC]
    9 L& Y, N& U  C5 C9 ~" {
  1058. ; http://php.net/odbc.default-db$ b% z3 ~1 K$ q: Z& Z
  1059. ;odbc.default_db    =  Not yet implemented/ r! ^. Z! [2 ^6 Q+ h9 R2 u

  1060. ' v/ |5 [- D+ J/ [' [) @2 C
  1061. ; http://php.net/odbc.default-user
    4 O% b5 q/ a2 k) m
  1062. ;odbc.default_user  =  Not yet implemented; Z& Y3 O& J4 O
  1063. 9 i" R0 ^* X: @! K
  1064. ; http://php.net/odbc.default-pw
    9 E( b$ e, [# Y' d
  1065. ;odbc.default_pw    =  Not yet implemented
    . t& e3 U: Y/ y& E( i

  1066. % S1 O& I  j' q
  1067. ; Controls the ODBC cursor model.
    8 Y/ U4 i) v/ N" V' H& H: {& O* d
  1068. ; Default: SQL_CURSOR_STATIC (default).
    , H4 u6 J7 r) r" Y8 E4 t( f. I1 O- o
  1069. ;odbc.default_cursortype2 Q) r3 [8 m1 E0 |, z
  1070. * ^; ]' _" F. Y& x4 B
  1071. ; Allow or prevent persistent links.
    7 L/ n/ j( E$ T: E8 V
  1072. ; http://php.net/odbc.allow-persistent
    7 m* ~, x& K9 E  A3 k! n
  1073. odbc.allow_persistent = On9 G+ ?5 C' b! N7 [( P9 ]4 m, H
  1074. : j% c4 C. y: H2 w  p5 ?
  1075. ; Check that a connection is still valid before reuse.# _2 H7 Y$ ~$ s8 I9 N
  1076. ; http://php.net/odbc.check-persistent$ G3 R1 w! {5 y( K2 e8 ?# e
  1077. odbc.check_persistent = On/ J/ b! h' y! r$ R

  1078. 5 t* s4 \* ?+ @3 z
  1079. ; Maximum number of persistent links.  -1 means no limit.& y" o1 v# r1 C
  1080. ; http://php.net/odbc.max-persistent! G+ h: q) ^" S- F2 G  l
  1081. odbc.max_persistent = -1
    + T' h' x7 v% o0 j- r) \* B
  1082. $ D2 l% ?( Z. R5 D  }7 z" j4 V& m
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% P4 c, T7 j( b/ E) u( F2 G
  1084. ; http://php.net/odbc.max-links
    ' T: Z/ g0 T  B2 B, C# i+ ^3 Z
  1085. odbc.max_links = -1
    ! a6 M" f% _$ z

  1086. # p; Y4 b7 p' R* m, U  V( e
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ! K+ R" \* ?- C1 a$ n
  1088. ; passthru.! S, k' ]) k4 O+ k4 v+ |4 w2 ^
  1089. ; http://php.net/odbc.defaultlrl7 Z) ?5 H' K$ A% @# _
  1090. odbc.defaultlrl = 4096
    , G3 G0 W& n; [" \7 t5 l3 b, K( l
  1091. $ R; H  T" Z) \
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' X% X. y% {8 Y# z/ ]) R0 k3 E+ i9 U
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation; R9 x$ D' l/ H9 ^/ E. f. b2 `7 `
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    : E8 e: J0 Z4 G  s$ p
  1095. ; http://php.net/odbc.defaultbinmode. q! f4 B0 k8 \( b- h, W
  1096. odbc.defaultbinmode = 1
    6 i1 O0 W- k# S3 ~. B9 }

  1097. % X6 X% M, d! o# Y2 N
  1098. ;birdstep.max_links = -1. p" Z. M/ |/ P5 J6 }8 v' P
  1099. 4 X3 Y. r! @, j
  1100. [Interbase]
    3 N0 n0 P' z% h( h4 |4 A4 K
  1101. ; Allow or prevent persistent links.
    2 j1 P- w7 }  h' z# n, a
  1102. ibase.allow_persistent = 18 J7 ^5 f9 ?' S3 \5 N

  1103. $ }) e/ K- Z* p/ ~: @) A% ~
  1104. ; Maximum number of persistent links.  -1 means no limit.2 S$ O: Q) @# m1 B) |- O7 }
  1105. ibase.max_persistent = -1: b) Y, h. o1 E7 c/ }

  1106. & x+ g% f  }+ ]1 W
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; o. Y( v. k* Q4 @! h2 K+ g
  1108. ibase.max_links = -1
    2 U0 S; y% D6 {6 @1 Q1 y& J7 f, v) C
  1109.   r8 y' e  ?2 E4 p+ n2 _5 c  J
  1110. ; Default database name for ibase_connect().: Z3 J/ h. b. {0 o. U, ~7 G
  1111. ;ibase.default_db =. x) d$ _$ s4 L- D! F! i0 o1 P* S4 e

  1112. 5 B$ u" X8 X+ }! Z% d3 f( N2 X
  1113. ; Default username for ibase_connect().3 h6 ]+ x0 z& O; c& j2 i
  1114. ;ibase.default_user =4 b& @4 @6 y, A) j

  1115. 8 {2 w5 k. D- o0 J+ U; a* A8 r  o
  1116. ; Default password for ibase_connect().
    7 X' t! i: P8 ?2 I* i4 q
  1117. ;ibase.default_password =0 u& _6 u( Y; \* t2 k6 u0 w+ f
  1118. 4 B* |! @- r2 W7 e: c( m  q
  1119. ; Default charset for ibase_connect().1 [0 @5 g% `2 m! J0 V1 L1 |
  1120. ;ibase.default_charset =
    / E3 u1 }& r* L3 U
  1121. 1 |) l# x- M3 b6 N$ i
  1122. ; Default timestamp format.
    ( i% D8 n) c/ q  i; z
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    6 r: m: N$ ?; b. Z8 N7 o4 ]+ f

  1124. ( P* L" Y& V- \: R) O. }
  1125. ; Default date format.& [( q: Z1 ^! k4 M
  1126. ibase.dateformat = "%Y-%m-%d"6 [, [7 |/ a2 E. [( v- n( X+ @2 h  f

  1127. % w! ^+ v6 G# c
  1128. ; Default time format.
    " ?/ z" G7 V' L! F. j
  1129. ibase.timeformat = "%H:%M:%S"
    8 C( \9 V$ e  T/ E9 `$ u
  1130. ( M, c/ o" z$ Q3 \2 A7 d# s3 s8 {
  1131. [MySQL]
    7 Q" C4 C) [& _& r7 m6 O2 V) j
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 _( p8 {5 x5 s: I! r/ j  d7 E
  1133. ; http://php.net/mysql.allow_local_infile
    " {+ s* O" t3 v) Y
  1134. mysql.allow_local_infile = On3 H% i3 j  n2 }" y" G. [5 x
  1135. ! j, n" N, M8 `" i* `
  1136. ; Allow or prevent persistent links.
    : }1 F2 i" l. i3 r; b- G+ K
  1137. ; http://php.net/mysql.allow-persistent! @& f1 `# a. n% L
  1138. mysql.allow_persistent = On( w: `0 ^; O+ {5 |

  1139. & w8 q& w9 O+ i/ j
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ m- J, t  r0 N5 M. M; g
  1141. ; http://php.net/mysql.cache_size
    $ W: v% Q# |( W: c4 K6 f4 Z
  1142. mysql.cache_size = 2000  l* h- q! y( y* E$ g' b5 G
  1143. 2 j4 n  {- H: }& x- u
  1144. ; Maximum number of persistent links.  -1 means no limit.
    , v' _# B# a4 i: y
  1145. ; http://php.net/mysql.max-persistent
    ; R; {" P9 P3 }
  1146. mysql.max_persistent = -1
      D0 _3 V: d/ P4 S# d* k4 |

  1147. 4 I4 j* b$ f) S& W% `
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., q( B  t2 j% W) t/ ?
  1149. ; http://php.net/mysql.max-links/ @5 v% S' X! O- N. K1 c' `
  1150. mysql.max_links = -1
    & N  T6 Q6 w- r
  1151. ( _: t7 r' R1 g% j
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
      ^, B# v7 m" T4 [
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; }6 U) A2 t3 h1 E+ ~' h1 V- i
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % Q5 @% U- m& S
  1155. ; at MYSQL_PORT.6 b, {! i: f, X6 }# P$ t, E/ G  w
  1156. ; http://php.net/mysql.default-port
    8 L( U) }1 V: c9 _/ }! D9 i2 B0 L
  1157. mysql.default_port =' V3 M9 q- w+ a

  1158. 7 a( F8 p8 x% l% s$ s* \) X* [+ f
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 `2 o  J* ]1 ?% \; u
  1160. ; MySQL defaults.
    ; `' r/ e" L1 q& H6 i) u! g
  1161. ; http://php.net/mysql.default-socket
    5 Y5 Q5 k$ X' d* Z; J2 N
  1162. mysql.default_socket =
      H( u* g5 q5 ~/ h

  1163. % b# d4 [5 {, a' s8 J# C, F& p
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).; o  ~* e( [; Z
  1165. ; http://php.net/mysql.default-host  G, e" v0 r2 D3 g. U
  1166. mysql.default_host =
    + V4 u1 v" n* x( X
  1167. $ @# P* `+ [3 r! Z
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).4 p- A5 Q# b- p1 l/ U- C/ w
  1169. ; http://php.net/mysql.default-user
    . u" P& A- i2 E: U9 Z- M/ Z
  1170. mysql.default_user =
    # i3 g9 D! q5 |0 \; ?2 @3 O, c
  1171. # H4 m/ S- h( Z% [
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    & j4 Y9 @  D! n! h+ k) a: B
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 `3 u6 ^4 w. v$ J9 e  r( b
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")8 a5 l: H' G' o9 D$ k8 @+ F, V
  1175. ; and reveal this password!  And of course, any users with read access to this2 T- o5 T) R; a( K9 X+ @
  1176. ; file will be able to reveal the password as well.$ O2 E8 ]. i3 r! [4 d7 v
  1177. ; http://php.net/mysql.default-password# [% r' P& @" S0 y
  1178. mysql.default_password =
    - L" E1 ?' g2 h' W# v

  1179. ) Z1 _0 h* X* p- H
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit) i( V# k* R. i# s8 v7 P" F( M
  1181. ; http://php.net/mysql.connect-timeout8 N8 u6 q: \' [  p+ ]& x
  1182. mysql.connect_timeout = 60
    " I! i. X5 S3 F* [" b

  1183. / ?1 Q' ^% N7 E3 C
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    + ]& u, w- i  v  N9 l7 ~
  1185. ; SQL-Errors will be displayed.
    . k  H, E4 g5 A8 x4 [
  1186. ; http://php.net/mysql.trace-mode1 ?' x; S! W# ?& h
  1187. mysql.trace_mode = Off
    9 k. r# S# {( E2 Z% U2 w

  1188. ! e6 d; H7 }& Q) j0 Z% I( L' z( u
  1189. [MySQLi]
    % I5 i& ?2 Z7 e9 @3 c; b1 Y

  1190. $ W( _2 L5 g6 p( J0 l$ g8 K
  1191. ; Maximum number of persistent links.  -1 means no limit.* ?  G% J/ D1 f5 S( W3 v9 J3 t8 ]
  1192. ; http://php.net/mysqli.max-persistent
    7 d/ g, n9 A/ f; d: n
  1193. mysqli.max_persistent = -1( _8 x; R4 X# H4 y7 l3 z  k" e

  1194. 0 o" }6 O0 b( d5 j( z( |, I! ?, o
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 C1 c6 K+ G- W/ L: G  C2 X
  1196. ; http://php.net/mysqli.allow_local_infile
    0 N1 q" R7 ~- G3 V, g( l& V: F4 u: j
  1197. ;mysqli.allow_local_infile = On. B5 R1 A9 O3 c; _1 Z7 p, ~6 K

  1198. ' W9 t0 L- z6 G
  1199. ; Allow or prevent persistent links./ x$ p5 Z* [8 F) Y# y% Z) X( A
  1200. ; http://php.net/mysqli.allow-persistent
    6 u" Q& ^: I; g3 `8 |( A$ U5 s8 ~. B
  1201. mysqli.allow_persistent = On
    2 ^% f6 y) i% n3 t. m# b
  1202. 6 p5 z, T" X8 F+ x
  1203. ; Maximum number of links.  -1 means no limit.: n9 b" R( N" M$ ~3 v
  1204. ; http://php.net/mysqli.max-links8 V  u! H6 U0 L3 n5 E( @: @5 l# x
  1205. mysqli.max_links = -11 x! s/ V  E* T# {
  1206. & j4 Y5 o, z0 r
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache  N0 B1 G0 S8 ^+ g6 C, G1 o
  1208. ; http://php.net/mysqli.cache_size- a7 s6 H# U; b, W7 ^8 ]  ?! j
  1209. mysqli.cache_size = 2000
    % M- d, T) W" Z, L% C
  1210. # Y3 t% N$ `# x
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use, L6 }7 j- r0 k5 w
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the& D2 d; R; P! x& S! ~  a+ q" F4 g
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. Z( k/ W& \+ x3 @) A8 K3 n7 R$ P
  1214. ; at MYSQL_PORT., A6 H2 g) F3 R2 ^$ h
  1215. ; http://php.net/mysqli.default-port
    ' m& k( P1 y8 n3 j9 N7 j; B
  1216. mysqli.default_port = 33063 n; l! i4 ^8 F. Y' G# v

  1217. 6 f- T/ C' c' I
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( _. N* z, Y9 ?
  1219. ; MySQL defaults.; j# S/ ]  l- {; C" v3 d
  1220. ; http://php.net/mysqli.default-socket! {% Q8 U1 H7 B
  1221. mysqli.default_socket =. V* j$ j( S" T0 m* ^- \# K
  1222. ) c. i: P- U7 d" g! B0 K, e
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 D. M, Y& v* m
  1224. ; http://php.net/mysqli.default-host& J$ r' w* o/ ^
  1225. mysqli.default_host =) b( ^: w) J$ z0 A% ]

  1226. 6 c5 ~5 N  k* R. z6 j# e" \9 M
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).. O8 P5 e$ [" o7 k* f; f& V  Y
  1228. ; http://php.net/mysqli.default-user
    ; A0 d/ ]* p. p& P5 b
  1229. mysqli.default_user =1 P# N4 q) p, ]1 W1 S8 q

  1230. 2 s9 d! h6 m" }( u! m2 d& Q$ h
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).9 C* k6 Y* ?. ~4 ]" N3 _
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.8 P$ M* S/ H) Z  [% q
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & a4 Y9 y: [$ v7 @
  1234. ; and reveal this password!  And of course, any users with read access to this
    9 `1 i; L5 ~* v9 _8 R
  1235. ; file will be able to reveal the password as well.3 d, g, c5 y! e
  1236. ; http://php.net/mysqli.default-pw
    ( Q6 \+ C3 k. E: C. u) V  |. g
  1237. mysqli.default_pw =' H6 ~6 q5 h# ]5 {! o! ^
  1238. & d0 r" e" ~, x: B0 g
  1239. ; Allow or prevent reconnect3 o  K+ b- ]- f1 Y6 s# H8 Z
  1240. mysqli.reconnect = Off
    0 ^* }8 p9 L) z* a1 x& j& v' \9 |
  1241. & u9 |: u- _. z0 q
  1242. [mysqlnd]: v$ p- V/ l0 ]  L
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    4 |, S1 ]# s( T1 E; f- ?
  1244. ; used to tune and monitor MySQL operations.
    5 n0 r' z4 d! H. a
  1245. ; http://php.net/mysqlnd.collect_statistics
    3 e1 L2 g+ Q8 v1 H8 Y
  1246. mysqlnd.collect_statistics = On
    1 R" y: n( R9 D" n2 Q" \2 L

  1247. 1 y7 Y+ W5 Y5 t. D0 [
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    + t# d; g/ U  [( ^0 Z
  1249. ; used to tune and monitor MySQL operations.
    ) R) ?+ T7 Q) S7 {
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ' d* [1 [$ k; w' }
  1251. mysqlnd.collect_memory_statistics = Off) F  Q/ w2 g# h6 n

  1252. $ R& {, z; _/ K: p
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    5 g. J$ _" V5 c8 d5 N; Y9 I( l
  1254. ; file.- h- G) w! z: o1 [
  1255. ; http://php.net/mysqlnd.debug
    / b) d1 m7 O- v) Q, ]8 M- |) \
  1256. ;mysqlnd.debug =
    ) c5 H: N* l2 w5 q+ J

  1257. . ^9 |- e9 E$ r( a! l  K% _9 J
  1258. ; Defines which queries will be logged., V& [9 B$ j- l1 u+ k# s+ g( A! G% |
  1259. ; http://php.net/mysqlnd.log_mask
    2 a) M4 P  b0 K1 d  ]" k. t0 z
  1260. ;mysqlnd.log_mask = 0
    2 X2 x: @! o- a

  1261. : u9 v. S2 o, K: c3 s+ o! P
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ X8 I; }1 w# k* H
  1263. ; http://php.net/mysqlnd.mempool_default_size, P& y5 x6 S* a, t* J6 p) f
  1264. ;mysqlnd.mempool_default_size = 16000
    ! T1 w$ l1 o) k% T

  1265. 6 i& J$ Z- `* c$ ?
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    : l1 f9 q, y; l& q9 V
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    5 S2 t; F7 v" K( [% M0 Q/ `  I
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    9 E* h+ ^( R; _2 K) b" N

  1269. $ r7 F: N: h- m# s$ r
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" Y, F2 @0 z' R- N9 l& [$ C
  1271. ; bytes.! G& Z. P7 \7 s
  1272. ; http://php.net/mysqlnd.net_read_buffer_size2 A# S- s$ e5 j" P' U
  1273. ;mysqlnd.net_read_buffer_size = 32768* `) n, ?8 \2 o7 ?( A8 U1 u

  1274. 0 y) F, J7 ?! n7 G
  1275. ; Timeout for network requests in seconds.
    7 }* R7 x" }5 Z4 i# @; I
  1276. ; http://php.net/mysqlnd.net_read_timeout, _# V3 z$ U* V8 g) @! |
  1277. ;mysqlnd.net_read_timeout = 31536000
    ' G0 e2 N/ ~3 Z1 Y2 ^
  1278. 1 x- E( O: h+ ]5 Q! u
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 K; }1 \+ X$ H4 C% `) ]
  1280. ; key.6 w  a7 p4 z" ]4 L( n1 i* P$ `! ~6 E
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    4 p- c) h' w% z1 N" B* O
  1282. ;mysqlnd.sha256_server_public_key =
    0 c7 y2 E. s' a8 {

  1283. - q# ?, {  Q3 H1 x1 v
  1284. [OCI8]# Q7 G% M3 i3 x) o5 I' o" ?
  1285. ! |9 E* x9 q0 n+ z! z7 l
  1286. ; Connection: Enables privileged connections using external
    , `3 }! o4 ]# Y) z
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
      M4 X" M/ v5 x5 r* g/ M
  1288. ; http://php.net/oci8.privileged-connect
    8 o+ U$ y: s4 a- k+ ~/ t. ~
  1289. ;oci8.privileged_connect = Off5 y4 ?# `5 I/ {% M* v

  1290.   {' s8 ?/ O3 v4 G- Y
  1291. ; Connection: The maximum number of persistent OCI8 connections per7 B3 K7 b  x' p$ U( D! _8 M1 p
  1292. ; process. Using -1 means no limit.) U  F" {8 U. v% Z6 _  b
  1293. ; http://php.net/oci8.max-persistent! d7 h( B- c% U2 V8 D
  1294. ;oci8.max_persistent = -15 f: ?5 Y& R) c
  1295. ' p- N) v0 I! C' g) B
  1296. ; Connection: The maximum number of seconds a process is allowed to
    : t" L- b  I- X2 ~
  1297. ; maintain an idle persistent connection. Using -1 means idle* F; L# N6 s! b! V
  1298. ; persistent connections will be maintained forever.* {% _* u2 i  E. d
  1299. ; http://php.net/oci8.persistent-timeout4 \' g6 D4 {" g
  1300. ;oci8.persistent_timeout = -1
    ! L, j' u; y' |8 }7 X2 E- ^7 k
  1301. + F  ]$ t' A4 ~; Q( w6 _& n
  1302. ; Connection: The number of seconds that must pass before issuing a  f9 i* k% ^' A% N
  1303. ; ping during oci_pconnect() to check the connection validity. When
    : B3 f0 l( p/ l
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ! r% A3 m% a. J/ k5 H- R6 Q
  1305. ; pings completely.
    ) g- M% D  K% n0 `
  1306. ; http://php.net/oci8.ping-interval
    ' R! w  }6 i6 F; H! x4 h
  1307. ;oci8.ping_interval = 60
      [4 Z/ O8 {0 S+ J0 a5 {
  1308. ; [- o3 L1 z" @4 k% R
  1309. ; Connection: Set this to a user chosen connection class to be used
    : l  b8 x% ^" w0 W% w+ P
  1310. ; for all pooled server requests with Oracle 11g Database Resident/ X  [& m  [( b" p5 n( [0 J" U- ^
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    9 I/ a7 W+ a4 X/ v. u4 E+ n2 h
  1312. ; the same string for all web servers running the same application,5 i2 t$ q* T1 J" J/ |* @
  1313. ; the database pool must be configured, and the connection string must
    # o9 P9 I0 t2 O
  1314. ; specify to use a pooled server.5 G7 d) f, I, ~0 }; z) I
  1315. ;oci8.connection_class =, ~! C) s5 ~3 v
  1316. : f: [# h5 X% B6 n
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ; D1 D! e3 y) k. t6 o7 C
  1318. ; Notification (FAN) events generated when a database node fails. The) u& {0 e6 T( h8 n% \8 {8 T* H, f
  1319. ; database must also be configured to post FAN events.% C; m5 I+ x3 _# M3 r# Z
  1320. ;oci8.events = Off
    " d; n6 Y. U/ w; ]' N# ]
  1321. " |5 S3 b$ B+ a. b
  1322. ; Tuning: This option enables statement caching, and specifies how  M4 u; V: ^3 M! Z# L8 q; j
  1323. ; many statements to cache. Using 0 disables statement caching.: _: Z0 j' w9 L- \6 a# }; V
  1324. ; http://php.net/oci8.statement-cache-size; G- Y; b# l5 k
  1325. ;oci8.statement_cache_size = 20" d9 b0 g% W5 o  g

  1326. ' X; I# Q* j5 P
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    - {6 e- X0 z/ i# ]0 u- R
  1328. ; rows that will be fetched automatically after statement execution.- Y4 x' Q6 N! n) P
  1329. ; http://php.net/oci8.default-prefetch0 P; m" e; C, t
  1330. ;oci8.default_prefetch = 100  k7 `) s" @8 n1 v7 H9 B, I

  1331. ! @& F' R2 K3 L! ~4 O) v
  1332. ; Compatibility. Using On means oci_close() will not close
    $ U% q1 I- r7 j
  1333. ; oci_connect() and oci_new_connect() connections.
      i3 }! B3 R0 n3 j2 q7 c
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ; X3 c" }& G, ?8 ?0 c8 Z% [
  1335. ;oci8.old_oci_close_semantics = Off
    . B; z/ t! F: i- [6 u" l

  1336. & m0 ^* g- C; @0 L/ x$ t1 ?' i4 l
  1337. [PostgreSQL]& R  N& B9 l# \3 E& q* n  `- h
  1338. ; Allow or prevent persistent links.8 s  }6 L& l% Z) L4 L2 m% W, ]  ~% O, N( b
  1339. ; http://php.net/pgsql.allow-persistent. i1 u+ r& I% C% n4 k
  1340. pgsql.allow_persistent = On
    . v0 N2 w& }# f  p5 a5 ]
  1341. , Y$ d% Y, }! _0 E0 i6 O& I
  1342. ; Detect broken persistent links always with pg_pconnect().1 U" I7 e: n2 u4 k
  1343. ; Auto reset feature requires a little overheads.+ r. Z$ d! d  U4 V. h& |( ]
  1344. ; http://php.net/pgsql.auto-reset-persistent
    5 L* Y# ?  E8 S6 P. }
  1345. pgsql.auto_reset_persistent = Off4 D4 ^1 j% J6 U" U' b3 R' o# s& \9 h; }

  1346. + s+ E4 L, ^) a) g6 i! s4 t4 y
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ( s' m+ J- n5 K1 s/ F/ K* A9 d
  1348. ; http://php.net/pgsql.max-persistent# L0 N/ Y, {* q) M+ G0 w
  1349. pgsql.max_persistent = -1; D9 \7 k: @. Z1 A$ J) |3 |& h
  1350. 9 {9 z( N& g  ]9 y( Y, }
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.8 P, }4 L, w0 L. T
  1352. ; http://php.net/pgsql.max-links
    , X8 T2 T( W, k2 j6 e
  1353. pgsql.max_links = -1
    + x/ Y1 v8 k- U  t

  1354. 3 }9 M7 l5 |% |$ a6 H' h0 W
  1355. ; Ignore PostgreSQL backends Notice message or not.5 \0 Y% J& r! Q8 V
  1356. ; Notice message logging require a little overheads.0 `6 W- m% [, Z9 C+ \) E
  1357. ; http://php.net/pgsql.ignore-notice, C- J; F+ m# _0 d& D6 o+ \% J
  1358. pgsql.ignore_notice = 0
    % Y2 w+ y% j( R7 [+ O+ Q# z
  1359. / D8 {$ p; b3 C& K/ S+ n: q. m5 ~
  1360. ; Log PostgreSQL backends Notice message or not.; [5 o. w! P) B+ W
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % O# s" @; e+ g* [3 a% S; v4 n8 D
  1362. ; http://php.net/pgsql.log-notice! N* {' x% ]! }; J' a. |
  1363. pgsql.log_notice = 0
    6 E; S7 b/ X9 \9 K
  1364. 1 K6 X" T: U" r; t; N' U/ W" [
  1365. [Sybase-CT]
    1 T  s, _) W4 m( S+ V. Q' h% Y
  1366. ; Allow or prevent persistent links.
    ) Z- x* I' P. r9 \8 q
  1367. ; http://php.net/sybct.allow-persistent
    + }  O- z" U4 t& {3 U
  1368. sybct.allow_persistent = On
    " _2 e% N% c2 b! x( w$ C

  1369. 6 y0 G1 H, [# u9 I0 c
  1370. ; Maximum number of persistent links.  -1 means no limit.
    - d6 b' H- k0 }
  1371. ; http://php.net/sybct.max-persistent6 K6 v* I8 y% `
  1372. sybct.max_persistent = -1/ o1 M# T" B! @! Z$ c! T

  1373. 5 c# m' U, F6 A2 f1 F) y  u. Q$ f
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., w) b; b& q' v) o- M9 H
  1375. ; http://php.net/sybct.max-links+ J0 f9 _! V2 C" h9 n
  1376. sybct.max_links = -1, x4 L3 ]% L- K3 l# B+ R

  1377. . I1 z% Q( a- I2 T2 T) m
  1378. ; Minimum server message severity to display.( ~: M  d$ h! F8 |( E% @
  1379. ; http://php.net/sybct.min-server-severity1 q: ?# z+ z  B: G. |& M' S
  1380. sybct.min_server_severity = 100 b: ^. Y& v6 W+ i3 R
  1381. 6 g+ b" w5 t$ Z
  1382. ; Minimum client message severity to display.; F4 `; |) `2 A1 j
  1383. ; http://php.net/sybct.min-client-severity+ }3 m; h  y+ A7 i( z
  1384. sybct.min_client_severity = 103 {- u- r3 x1 [/ U2 X  ^
  1385. ) I2 g  G( M" X8 n7 w' m
  1386. ; Set per-context timeout$ _8 h. D, {7 o+ w: o4 t! ^& Z
  1387. ; http://php.net/sybct.timeout/ h' O( _. r" D! Q$ w
  1388. ;sybct.timeout=0 C. k; z( N2 Q* _/ n3 J/ y

  1389. ( u2 k' z  G' x2 }! h" M& [5 I
  1390. ;sybct.packet_size  s! ]% b1 }  a  i  `
  1391. ' s: S+ f) [5 h
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.3 d5 G" H- x; D5 w
  1393. ; Default: one minute' p: S- ?! _, N* l* t
  1394. ;sybct.login_timeout=
    ' |8 T( g% U; m9 |  H1 g
  1395. 8 n& i% t* m: E) B  Q8 u
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.- |1 h( z" H" A$ C  B" q
  1397. ; Default: none- q6 Q1 ~! }* y8 M. Y) o( V# {
  1398. ;sybct.hostname=
    . e+ b  q) h4 b& L, d8 M* c9 a

  1399. ) F. z  Z1 b0 i2 b9 g
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".! K+ d% \( M, B+ }0 i4 [( l( K! C1 [
  1401. ; Default: 06 z+ ^6 m6 K  ^1 V$ h4 c  i" F
  1402. ;sybct.deadlock_retry_count=
    3 x/ ]& H  O0 c# i4 s: T5 b2 O/ O8 {# q+ f% E

  1403. ! a! r( P9 ~- v0 I" Z) @
  1404. [bcmath]5 j" |; B. q5 a# {: }  f( s8 n% e  Q
  1405. ; Number of decimal digits for all bcmath functions.6 R, V; R8 l# G& l$ U
  1406. ; http://php.net/bcmath.scale
    0 d6 g# i$ i2 W# ?, O* V
  1407. bcmath.scale = 0
    7 X9 U& r7 L" E1 y1 K# I
  1408. ( s/ x$ e2 G. G3 a& f+ T1 j
  1409. [browscap]0 z, Z4 v7 g5 s
  1410. ; http://php.net/browscap) U# F$ r$ {# t: i$ X/ h  d. L
  1411. ;browscap = extra/browscap.ini6 z3 ]+ J$ {5 O3 W4 q% L  R3 X
  1412. 1 b, Y) ]! x; h/ q; Z4 F$ ^
  1413. [Session]4 ?! C0 I  Y) f0 D4 u# t! c. n
  1414. ; Handler used to store/retrieve data.
    2 R1 m9 r# }! L, S! L
  1415. ; http://php.net/session.save-handler2 y6 _9 T. c+ k
  1416. session.save_handler = files' C& x! P: [( z# |5 Q* [. L( m. E+ T. @

  1417. , q1 j6 `- p, d4 B- r) p
  1418. ; Argument passed to save_handler.  In the case of files, this is the path& N' d' V6 a" ?8 T6 M
  1419. ; where data files are stored. Note: Windows users have to change this/ R9 q' p* l: o
  1420. ; variable in order to use PHP's session functions.
    % p( ^" Y$ X+ k& \$ c4 G
  1421. ;
    . n5 n- ^3 O* K$ O9 j
  1422. ; The path can be defined as:1 V/ v% K  K  K5 A7 ?6 W, k+ {* f" I
  1423. ;
    9 y7 x5 c1 ~+ T! w& B* w+ p
  1424. ;     session.save_path = "N;/path"& s1 I9 ^' x4 `5 z: T* J
  1425. ;5 S2 E6 A  u( v( _9 x
  1426. ; where N is an integer.  Instead of storing all the session files in
    3 _: H4 A8 J, ?9 y9 k. R0 r3 r
  1427. ; /path, what this will do is use subdirectories N-levels deep, and# x+ n% l4 Y! [: `
  1428. ; store the session data in those directories.  This is useful if
    ( B+ L( V8 m4 ]: P5 H7 U. }
  1429. ; your OS has problems with many files in one directory, and is
    ) F, J# n+ Y, h
  1430. ; a more efficient layout for servers that handle many sessions.3 H! B8 C% O0 `6 b+ T
  1431. ;
    5 I9 u, T# b( ~6 Q
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    & F8 Z1 P' m+ X7 j# r
  1433. ;         You can use the script in the ext/session dir for that purpose.4 N- Z9 D( a# p% M  E4 Q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to% c' @2 ~# @; H. `) ~
  1435. ;         use subdirectories for session storage5 x2 D5 `4 r* @, C
  1436. ;- K  C: Z( G' w3 ]  R' }
  1437. ; The file storage module creates files using mode 600 by default.
    4 D$ a4 [. \- a% G
  1438. ; You can change that by using9 b/ t# \2 U7 Y! L( a. d( d9 W
  1439. ;
    6 u& a0 g) r, \( M/ f3 I" V8 I
  1440. ;     session.save_path = "N;MODE;/path"
    : C# ~6 ]9 G' o4 a) w' t! \
  1441. ;
    5 {  k' t- z8 v7 T1 J7 F/ }
  1442. ; where MODE is the octal representation of the mode. Note that this5 M( a+ W1 ]8 P! h+ G3 r
  1443. ; does not overwrite the process's umask.
    8 L; X5 g8 [- z/ B
  1444. ; http://php.net/session.save-path0 w% }0 C" N. Q
  1445. ;session.save_path = "/tmp"8 P" Y0 q+ D9 f- X7 E
  1446. 6 C: n5 L: o: n2 K2 n
  1447. ; Whether to use strict session mode.! c  y+ K+ u/ {9 g/ |
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate" t5 g/ f- U0 Y" }
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    6 V/ I8 v& y: \( A
  1450. ; applications from session fixation via session adoption vulnerability. It is
    1 y; V+ G! ]- ?. Q7 y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    . g9 }. C4 @) t" M6 w* ]2 X0 {
  1452. ; https://wiki.php.net/rfc/strict_sessions( h' p/ I* P2 f' Y; N' j
  1453. session.use_strict_mode = 0
    ; z) o4 |  b! G1 B
  1454. " L0 f$ r- q" c( t9 D, W
  1455. ; Whether to use cookies.. M$ l7 z4 a8 V  @" C" B
  1456. ; http://php.net/session.use-cookies
      j8 l! I0 U# m! N/ P  m5 T# C* `
  1457. session.use_cookies = 1
    5 X: l' H  _1 y. T4 S7 D! `
  1458. & E& x5 v2 G8 T5 r& M) H& B
  1459. ; http://php.net/session.cookie-secure9 n/ }1 y. x; p
  1460. ;session.cookie_secure =
    / t4 o6 i3 L# V  e. H+ m2 H

  1461. / C; R; Y: V8 A' u! H6 U1 O8 b
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % S' R: b" ~3 K8 I* W  E' K
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    " T! R1 S1 L5 {- ^8 b' R3 e% t
  1464. ; session hijacking when not specifying and managing your own session id. It is
    2 Q; `9 g4 S' `& m& T+ l4 G$ u* i
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.) N% @  _9 e- e$ z% U1 g+ f/ {/ K" Q
  1466. ; http://php.net/session.use-only-cookies
    ( @* S4 J9 T4 [7 r2 O  R
  1467. session.use_only_cookies = 1' A% M( l% L, F( |0 q( n

  1468. 2 N. ]( T9 G/ w
  1469. ; Name of the session (used as cookie name).
    8 Z& E- u( D+ W
  1470. ; http://php.net/session.name. O( q; m6 L, w& v( n: ?
  1471. session.name = PHPSESSID2 Z) e! S1 B( @7 y1 l5 G

  1472. 9 O' W2 Z" q1 k! `
  1473. ; Initialize session on request startup.  ^3 H- C* u2 w  S3 W" s$ Y
  1474. ; http://php.net/session.auto-start# U1 w: R/ d1 }. E  t
  1475. session.auto_start = 0
    2 {2 t5 S9 j5 A5 ]- Y+ ]' U* p
  1476. " q8 o/ B! G* G* M# O
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 D9 g: R6 D6 @7 C8 a. R" @$ {
  1478. ; http://php.net/session.cookie-lifetime2 E( `! x% |% c* F, l7 U: f
  1479. session.cookie_lifetime = 0
    , p0 l1 [4 ^9 Q
  1480. 5 ]; v0 V- I' j0 E5 w
  1481. ; The path for which the cookie is valid.
    3 y1 h& E  o' O
  1482. ; http://php.net/session.cookie-path- ?8 |7 p) G8 U) v. N
  1483. session.cookie_path = /
      D! u) ^8 k" @: X, E3 I, k

  1484.   [; g3 y3 d- b. f8 H# X  [; s) H
  1485. ; The domain for which the cookie is valid.5 I5 g% z' H8 T. F+ d
  1486. ; http://php.net/session.cookie-domain8 k9 i8 E4 n& A4 _7 R# h
  1487. session.cookie_domain =
    ( U  O4 v4 ^' c% K1 U/ c

  1488. 4 \1 e" _6 o( ]6 n8 V+ I0 w' r
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.6 D0 Q8 x) N# g4 e) V
  1490. ; http://php.net/session.cookie-httponly6 J+ g: [8 S. n  y6 o
  1491. session.cookie_httponly =# e7 t$ e8 Y9 t* b1 m0 L' \
  1492. 8 K( O3 n9 S9 g; i
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.% S  i' Y: u8 q4 x3 F6 H
  1494. ; http://php.net/session.serialize-handler
    3 ^1 c; ]# h- k1 s4 S
  1495. session.serialize_handler = php! c* k/ R. S0 X5 y# H! J+ H

  1496. ) Z8 z& R+ q! n; H) g
  1497. ; Defines the probability that the 'garbage collection' process is started
    1 N0 q# F8 K: h9 ~* Q
  1498. ; on every session initialization. The probability is calculated by using
    6 T/ M6 b& B. I9 w, q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ R1 {, N  r$ l1 H
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * ~; W5 b" L" V$ i* G( {
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* R  X4 K" I9 \6 M$ H
  1502. ; the gc will run on any give request.
    / P9 P) Q$ y6 E3 }3 w- y6 K$ }
  1503. ; Default Value: 1; ^$ W# k# \+ P+ Q
  1504. ; Development Value: 1
    " x$ C/ p! n  W* x
  1505. ; Production Value: 1
    : W# T! @$ F  m5 d) F4 O9 a
  1506. ; http://php.net/session.gc-probability
    ) Z% y4 Y; R7 X$ w* M6 G: V+ d
  1507. session.gc_probability = 1
    ( l% h$ l0 y3 t+ V* P7 Z3 X
  1508. 8 J' G* r7 F# k* T' R, Z0 }; ^
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    # |- _' ^! D) I$ h
  1510. ; session initialization. The probability is calculated by using the following equation:  V2 X2 h" ^& ?* g9 T2 u7 n6 q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and  q5 @, C" q1 p) f* Q
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 S4 f3 o) y* f
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ! r7 M' T% y3 g3 x- k+ |; A
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you" _0 i3 |+ a" u! n) w
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,) T7 t% Y1 }) {* G0 O* ]1 a
  1516. ; this is a more efficient approach.9 J1 [& d4 Q2 S! i2 ^% v
  1517. ; Default Value: 100
    9 Z6 b; I, C8 B, `2 F: U
  1518. ; Development Value: 1000
    ( c9 S" {0 L/ u* V8 O
  1519. ; Production Value: 10002 Y& N! _  b2 P% e& J9 |) B7 _
  1520. ; http://php.net/session.gc-divisor
    ( f0 m- ^" I( `
  1521. session.gc_divisor = 1000
    7 }  z6 G7 h7 |  |" @, H, _+ x
  1522. : T  I0 l- R  |& J  P5 P
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    3 M+ ^4 e. j7 P
  1524. ; cleaned up by the garbage collection process.8 h# l8 A8 z$ m* }* a7 w: z" M
  1525. ; http://php.net/session.gc-maxlifetime1 B" e) X$ B0 z" J2 S: ^
  1526. session.gc_maxlifetime = 1440/ ?+ I- V0 L# F; [2 F7 A( ~
  1527. 5 L: D# u9 A8 @
  1528. ; NOTE: If you are using the subdirectory option for storing session files
      x, ]$ O7 c8 l/ @2 k; y  S
  1529. ;       (see session.save_path above), then garbage collection does *not*
    * F4 |& |3 B2 s+ C
  1530. ;       happen automatically.  You will need to do your own garbage3 L! T, x3 S* C+ F" r
  1531. ;       collection through a shell script, cron entry, or some other method.
    5 `. e7 W* t2 C+ J) X
  1532. ;       For example, the following script would is the equivalent of
    , P6 q" N" `8 H0 o, F1 W7 V) [/ @
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    7 `1 z. C  Z& l
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    % J0 B9 X5 {3 Z  [; p
  1535. $ v- Y+ V! k* R5 ?: O
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + Y( q% s" k% V# `
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    & r0 @9 v% p6 q9 d, j/ W5 L
  1538. ; considered as valid.
    " `& |. P' u" M' ^/ p
  1539. ; http://php.net/session.referer-check, _6 A  Q2 a# M# P# w
  1540. session.referer_check =% ^7 R: I! x2 \* q& [3 }- @0 ?

  1541. + _/ A( @. c2 S+ s" k( p5 d/ S
  1542. ; How many bytes to read from the file.
    0 U/ I* |# c; p+ j2 h
  1543. ; http://php.net/session.entropy-length" h' {# D( F& P, b! @' k# a
  1544. ;session.entropy_length = 32
    % o5 u1 G: v( U- q" D

  1545. 9 b$ \# L- X# h/ @) u- P: ?
  1546. ; Specified here to create the session id.3 y' o( W$ `9 F* o9 G
  1547. ; http://php.net/session.entropy-file
    & N9 v7 f  e* s4 S7 Z( u6 S
  1548. ; Defaults to /dev/urandom
    % _! z7 s6 M4 R+ _3 }- b
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom2 r+ T! u- c# I4 Q* F  m
  1550. ; If neither are found at compile time, the default is no entropy file.- i* X0 ^( R6 Z; B. S
  1551. ; On windows, setting the entropy_length setting will activate the
    , o& G5 N5 Q/ `
  1552. ; Windows random source (using the CryptoAPI)" _7 ~% T# z. ]% {
  1553. ;session.entropy_file = /dev/urandom1 H8 ~# N( Z! i% c5 Q% s# h

  1554. . v5 T: j0 u8 V! ?! F4 B0 i
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects) {6 Y4 N2 ~" c' c  E5 y/ ?$ Q
  1556. ; or leave this empty to avoid sending anti-caching headers.% s5 D+ C5 I" C+ a/ t: e
  1557. ; http://php.net/session.cache-limiter
    $ @% j$ o  o; Q$ A% f& N
  1558. session.cache_limiter = nocache& p2 i! L; n6 H% s. d7 |

  1559. * Y- E+ P) x' ~
  1560. ; Document expires after n minutes.
    4 H7 _7 j2 A& ?& y1 @1 ]+ o. h
  1561. ; http://php.net/session.cache-expire7 f/ z/ p7 ~0 r/ A6 s- K
  1562. session.cache_expire = 1808 b( s0 T7 W7 ]' G# `

  1563. ; h" s- a9 V5 f# a6 a2 Y
  1564. ; trans sid support is disabled by default.: c/ N$ K- Y1 G
  1565. ; Use of trans sid may risk your users' security.
    7 P9 {7 U5 O4 @# M5 \# A9 `
  1566. ; Use this option with caution.: f6 J8 q+ L/ m9 Z: N- P, G
  1567. ; - User may send URL contains active session ID
    ' H, A9 V' r+ V
  1568. ;   to other person via. email/irc/etc.
    8 o0 W) k: A8 w
  1569. ; - URL that contains active session ID may be stored
      b4 B* u, Q; \3 I
  1570. ;   in publicly accessible computer.+ @1 a3 |+ h) |
  1571. ; - User may access your site with the same session ID
    ) }) C# B) `- U+ v& P
  1572. ;   always using URL stored in browser's history or bookmarks.
    9 ]8 J! a7 i  M6 A+ F$ M
  1573. ; http://php.net/session.use-trans-sid
    , m4 D8 F9 J0 d& c
  1574. session.use_trans_sid = 0
    ! P' Q/ U% h, R
  1575. , X5 `# b; p" L+ X% W
  1576. ; Select a hash function for use in generating session ids.
    ) T" A) G) Y+ g
  1577. ; Possible Values6 G  r- G! [+ l* Z& V
  1578. ;   0  (MD5 128 bits)
    & w) k2 |0 R6 C
  1579. ;   1  (SHA-1 160 bits)
    * X: ]6 l: l* S1 j
  1580. ; This option may also be set to the name of any hash function supported by
    + X! t) `7 y: l5 E( a
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    7 A# V( V. l2 d7 x7 L
  1582. ; function.
    8 T2 y: ]1 T$ r/ G4 P( Y: ?* Q
  1583. ; http://php.net/session.hash-function5 D' Z3 i  _  v* _
  1584. session.hash_function = 0+ a: j# [8 b1 y' |
  1585. 0 U, p7 V' m# Q% Q' @* Q3 b
  1586. ; Define how many bits are stored in each character when converting
    , l8 ^4 b/ g% p8 _' K
  1587. ; the binary hash data to something readable., G8 Y, Z) O; a) V7 E' V
  1588. ; Possible values:. Q: G* d2 u7 A+ E
  1589. ;   4  (4 bits: 0-9, a-f)
    - i, }+ X' s" o7 H$ ^+ q, A
  1590. ;   5  (5 bits: 0-9, a-v)
    + d7 S! n: M3 o# ]2 R* }9 h
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ! h: U% g/ x! ]; ]
  1592. ; Default Value: 4
    2 X) r' p8 `( {, h* E3 g
  1593. ; Development Value: 5
    ' {+ O5 |: D, n9 c- E* S% F
  1594. ; Production Value: 5# j# l5 s& |0 x) h
  1595. ; http://php.net/session.hash-bits-per-character0 W% A' c  X0 [% Z5 g( q6 O
  1596. session.hash_bits_per_character = 5
      Q6 p* j6 Q2 `; z/ U- C
  1597. " U0 z+ [* @$ ^5 j
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.7 F2 D6 O* M+ C
  1599. ; form/fieldset are special; if you include them here, the rewriter will' f3 m" b* g1 D# F: [0 i( Z! y: u
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ; g- f# `! ^$ C
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.& T4 {! ?5 _8 y8 V9 n4 A, h
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ' d- R9 H: k: D1 @2 O+ H
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " H( T; W' i) b3 P
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! [& G# y6 n# R: D
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 z8 a& W5 J7 J  v& Z
  1606. ; http://php.net/url-rewriter.tags: r" u1 L5 E; v) ?
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 r1 l# Q$ R; h1 F. }
  1608. 8 j( W& k1 y) y1 a6 I' {  D' P
  1609. ; Enable upload progress tracking in $_SESSION
    . d3 C) i: N+ s& m0 K, G
  1610. ; Default Value: On) }& k; @. b3 i5 h( [
  1611. ; Development Value: On
    ; E4 V" L/ K- L& u6 l
  1612. ; Production Value: On
    : s; N- ~2 h7 \% X" W
  1613. ; http://php.net/session.upload-progress.enabled* ~9 |% F3 v1 `3 b3 y2 L# S7 i
  1614. ;session.upload_progress.enabled = On. u, K3 p1 G8 Z5 V0 L

  1615. 9 k, W5 M  U( ^
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ' g. j% U) Y# w: Q0 p
  1617. ; (i.e. upload completed).
    # R' g! Z0 d" E) y8 Y9 R1 w7 P
  1618. ; Default Value: On
    & S9 a' Y- l4 H6 w
  1619. ; Development Value: On; Z. _0 t' }* ^( l! l$ M
  1620. ; Production Value: On4 [$ \0 F5 W1 W; x, @  t: g* r
  1621. ; http://php.net/session.upload-progress.cleanup
    9 n+ F; h1 v9 b# M. e# |
  1622. ;session.upload_progress.cleanup = On
    4 `" I4 J+ Y' p
  1623. 2 p8 O" z# G1 T+ x
  1624. ; A prefix used for the upload progress key in $_SESSION; j; n) l" @3 M
  1625. ; Default Value: "upload_progress_"# h, w& x7 L, D0 t; u
  1626. ; Development Value: "upload_progress_"
      u. g) W. j2 k8 j# D# y) G
  1627. ; Production Value: "upload_progress_"! }( X% _5 s0 y7 d8 }/ p" f4 o6 y
  1628. ; http://php.net/session.upload-progress.prefix
    & [9 ]0 }3 C4 u; D) ~; B  E- F1 ~
  1629. ;session.upload_progress.prefix = "upload_progress_") b. }# R* h+ m
  1630. + g. X; r; N/ k
  1631. ; The index name (concatenated with the prefix) in $_SESSION, N+ h! a* o: G9 W: D3 [# R
  1632. ; containing the upload progress information
    : ~, H8 y! D9 S+ J( ~8 q" l
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 m" J* G6 q  ^8 t6 b. Y. k. F6 n, O
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . k, E3 M8 A. b( Y
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS") h2 ]. e+ J8 b$ o
  1636. ; http://php.net/session.upload-progress.name
    " R( D1 ~$ D+ V6 d5 k
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ; b% Q' W# D0 S5 l1 c

  1638. / O3 x4 `1 {" t+ Q
  1639. ; How frequently the upload progress should be updated.3 A3 d. p1 r# t  n5 c; {) ]
  1640. ; Given either in percentages (per-file), or in bytes8 m% O- J1 W3 r( ~; A) u; u
  1641. ; Default Value: "1%"8 G7 s0 I+ @0 m3 L) }9 m
  1642. ; Development Value: "1%"
    0 A1 e7 I" }( A, }. `9 ]+ b' L
  1643. ; Production Value: "1%"- X; j9 p* Z! o' S3 e
  1644. ; http://php.net/session.upload-progress.freq- ?; j! o8 m$ I2 g, I6 J6 _# ]
  1645. ;session.upload_progress.freq =  "1%"
    0 `( Q! t$ ?1 C  B$ I, l( Q. C
  1646. + }% r+ M: t+ A7 e3 F
  1647. ; The minimum delay between updates, in seconds
    " t$ d" q9 {% m8 F; t; @0 }/ c4 L
  1648. ; Default Value: 1' j8 g6 D6 [+ {5 i- }" J8 a8 d. p
  1649. ; Development Value: 1* ^4 N5 y- x3 h2 M" k7 _2 B) @0 Q
  1650. ; Production Value: 1" W, x8 p  P) o5 c' v
  1651. ; http://php.net/session.upload-progress.min-freq
    , m% _, M4 n8 o7 A& k: h% r
  1652. ;session.upload_progress.min_freq = "1"! o, l) U, N0 F0 B9 F8 j: U! D% @9 _
  1653. . r) V/ X$ G0 M2 ?( K
  1654. [MSSQL]# D9 X/ E7 e1 C! K, y% J9 J( A) G
  1655. ; Allow or prevent persistent links., S: F. h7 `, X' [5 C
  1656. mssql.allow_persistent = On# A7 E5 e( I% M0 r9 S8 R

  1657. # X  j8 E/ j6 ^; T- S
  1658. ; Maximum number of persistent links.  -1 means no limit.4 t" U$ S5 B' T$ i' y
  1659. mssql.max_persistent = -1
    9 O# J& P. S! @# K& Z- J

  1660. 7 C# F' N8 j) v4 n( ~; w
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit./ ]; d' D9 D0 B- e
  1662. mssql.max_links = -1
    & e! P4 X& e; ^5 O
  1663. ) K/ K& V* x  b& A/ B) N, @
  1664. ; Minimum error severity to display.
    : c/ P$ }; D2 |) a: Q, P
  1665. mssql.min_error_severity = 10  u; E* X' K6 L" V# M. X$ Y7 [

  1666. - `+ H. m/ K4 ]3 I
  1667. ; Minimum message severity to display.% k# ^! J- T' n2 [% r" G5 N3 }
  1668. mssql.min_message_severity = 10
    3 U4 b8 i4 G. ?6 R1 y
  1669. 6 E. [" f3 N" Y) A0 O+ N5 @, p
  1670. ; Compatibility mode with old versions of PHP 3.0.5 N* M5 ?& }- ~
  1671. mssql.compatibility_mode = Off
    ' ^4 x1 Z1 @& t' I+ m, a6 c
  1672. 9 v4 Z7 ]+ y+ {
  1673. ; Connect timeout
    6 r/ T1 R+ K/ O7 [: S8 h5 k
  1674. ;mssql.connect_timeout = 5% b" S! s- Q6 R% L5 k

  1675. ; A, E5 b6 t" S; N9 U
  1676. ; Query timeout
    0 O- e; l' K$ r( q8 N
  1677. ;mssql.timeout = 600 w. c5 p7 I+ D/ s4 V1 ~
  1678. 0 R7 X/ l% T! M
  1679. ; Valid range 0 - 2147483647.  Default = 4096.) e% d4 D! c0 H' x3 G$ W
  1680. ;mssql.textlimit = 40968 E5 f" H2 x9 F2 m

  1681. ( g2 X! l! Y& V  \# `
  1682. ; Valid range 0 - 2147483647.  Default = 4096.0 J6 r5 g6 [  }1 Y. h( B. E
  1683. ;mssql.textsize = 4096
    ; W# L5 d1 ]& a; \" _

  1684. 9 n5 @6 p; R& V$ m$ B
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.& _6 _; Q1 q  Z2 w: X
  1686. ;mssql.batchsize = 00 c: U' |$ V7 v- H. v3 U3 j. @: ?
  1687. & j# S/ O- F+ p1 X: W) n7 M9 `) |
  1688. ; Specify how datetime and datetim4 columns are returned2 v5 l7 S2 H2 e5 p! q; Y
  1689. ; On => Returns data converted to SQL server settings' P2 t2 C1 _: @( `7 o* Y0 M1 w
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    % H$ h4 Z6 E$ d
  1691. ;mssql.datetimeconvert = On2 A0 e2 n6 J/ i7 q1 a
  1692. ( Q; F5 D. {4 \$ ?) A
  1693. ; Use NT authentication when connecting to the server
    6 R4 t" w4 i9 C  {% F# I
  1694. mssql.secure_connection = Off
    : o/ s: I# c, [9 l! b
  1695. 7 b0 _+ J) {/ G3 X$ e7 D( d
  1696. ; Specify max number of processes. -1 = library default
    , A$ [! ]7 ]  Z: O: X% V
  1697. ; msdlib defaults to 259 R; o4 M/ P( g2 n: n; N
  1698. ; FreeTDS defaults to 4096
    / D+ n; ?3 z# T9 K$ l- \: t
  1699. ;mssql.max_procs = -15 l: w2 _: t  B
  1700. . a/ I1 T, [. u
  1701. ; Specify client character set.+ @" `0 S7 f' S5 A0 B' |
  1702. ; If empty or not set the client charset from freetds.conf is used
    " n1 l3 f; r% k1 f( S/ a4 O' U
  1703. ; This is only used when compiled with FreeTDS
      F; K: `0 ?" ^- i. v, p0 q
  1704. ;mssql.charset = "ISO-8859-1"
    ; \* j! S" e: {
  1705. - \0 v& X: v6 Z- P1 e
  1706. [Assertion]
    1 k4 t9 G% S2 H0 g+ g
  1707. ; Assert(expr); active by default.
    3 o" \0 a4 |) h) ?
  1708. ; http://php.net/assert.active
    9 ~6 v# H$ R+ R, ~% _& X1 N" ?
  1709. ;assert.active = On3 T  X! h/ W9 ?! }5 f. u
  1710. " r/ }0 e& u( S; A- ~
  1711. ; Issue a PHP warning for each failed assertion.1 L, C3 Z9 b- L  a7 t) M. M
  1712. ; http://php.net/assert.warning( z* S5 E! c9 m1 _" z  W  e- Z
  1713. ;assert.warning = On
    * w8 H8 o5 ]" m
  1714. % f7 h) O! c7 [. S* p
  1715. ; Don't bail out by default.
    7 H6 V6 l% Z: `6 a: L& v+ i3 _% W
  1716. ; http://php.net/assert.bail, U: i) h: d8 A7 N! T. r
  1717. ;assert.bail = Off
    8 F( g+ n+ I/ s4 H$ b( N

  1718. 3 f- @" k& i+ X* u3 X. \5 o
  1719. ; User-function to be called if an assertion fails., _- }. ~" y" n4 w  y
  1720. ; http://php.net/assert.callback
    * s5 _6 ?# S, U
  1721. ;assert.callback = 0+ U6 I7 Q) H# Y1 N' f& h

  1722. 9 z( M7 B/ y' \
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    8 b8 f% J0 F; G% k& U8 |3 t
  1724. ; error_reporting(0) around the eval().( ~+ F$ E. c6 r7 e2 N6 K
  1725. ; http://php.net/assert.quiet-eval5 J9 n+ l4 G$ w  r9 J: y2 `
  1726. ;assert.quiet_eval = 0  ^2 Q" K) y( B& {. t4 K
  1727.   F+ h# m/ k( S9 B  s# u
  1728. [COM]" d0 N# P( w: N# q9 P/ O5 ?9 T
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs6 S# p1 G- y, p8 v& b
  1730. ; http://php.net/com.typelib-file
    5 d2 f1 b" y/ e) @
  1731. ;com.typelib_file =) I. Q1 B. I3 S4 k$ ?

  1732. 7 ~# l4 H! @- n* W' W; u9 a
  1733. ; allow Distributed-COM calls
    $ Q* W$ w$ k6 A: k7 m
  1734. ; http://php.net/com.allow-dcom
    1 a8 `# ~, S  S& c" P5 v
  1735. ;com.allow_dcom = true
    1 H$ h- @/ t. W- X0 e$ x

  1736. , V& }' p4 }- _
  1737. ; autoregister constants of a components typlib on com_load()
    3 l6 l2 \. X3 I- |5 p1 r
  1738. ; http://php.net/com.autoregister-typelib# n6 M  G. h  n; T0 q
  1739. ;com.autoregister_typelib = true6 y$ T* t' i# Z. L7 J" {. g
  1740. 1 s$ F3 S+ r- o) p
  1741. ; register constants casesensitive
    : v- F/ j$ M& _- ?0 ^' M) u" @
  1742. ; http://php.net/com.autoregister-casesensitive
    8 E! Z4 b2 e) `' z& ^
  1743. ;com.autoregister_casesensitive = false9 I: y; X" u  L- @$ }

  1744. : x" u* W% `4 T! w- U9 l
  1745. ; show warnings on duplicate constant registrations
    * r- ~: c6 _& H) k  Q
  1746. ; http://php.net/com.autoregister-verbose
    : w& ]- W( T( x- @% A
  1747. ;com.autoregister_verbose = true
      i) P: W. r6 u
  1748. ! u9 |. X: {  b- {9 b! k$ ?1 {
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    9 n  ^3 ^% x0 Y# _* x4 \& s
  1750. ; Default: system ANSI code page8 J1 ?& N2 }* c
  1751. ;com.code_page=
    / c" t$ A. b8 P3 N9 A, i( n
  1752. 5 l" d7 G# C; F/ H) A! J- ^) X7 F0 C
  1753. [mbstring]! I2 T& Y/ H6 y, P* W9 X  _
  1754. ; language for internal character representation.
    . V/ b8 r0 f5 B: f4 i, G
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.  d9 |, z* f+ k: W2 \8 C: V* P1 C7 z+ B
  1756. ; http://php.net/mbstring.language4 Z+ Y/ d" S: A2 B! N2 j
  1757. ;mbstring.language = Japanese
    ! C$ R8 K# t  }) I0 T4 h2 ?

  1758. ; ?/ Z2 r! Q- d, q4 G3 G; Q3 g
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.2 z3 u# L1 B  O) [
  1760. ; internal/script encoding.& e, j/ x" r" O2 g1 K* w( P2 ^6 R6 F
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)8 W& U" L& ~2 C9 x; |" ]  j9 @9 ~
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 b! w6 f$ r1 }- z) T* Z: e
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, F! A1 F8 M8 w- y
  1764. ;mbstring.internal_encoding =5 O( U& e& m5 w4 ^0 |
  1765. & F  E9 p7 L) R' u
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( y1 I$ j, `7 l! J: i
  1767. ; http input encoding.
    " T+ D' A0 _/ ~1 n/ \, c
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ) y- S9 ~7 e+ `: F8 I( @- A
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    2 K' l& K! o! I# ]
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% c# F# r! b7 K. N
  1771. ; http://php.net/mbstring.http-input
      ^# t; j& F( Q: U. F
  1772. ;mbstring.http_input =
    8 }$ S0 J4 p" L) X# \5 V7 l+ i. y; R
  1773. " O" r+ a& q, x! n8 w
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.1 ^. W# c! N; }6 k) V
  1775. ; http output encoding.7 B+ o$ q1 O& ]6 _) w. v- g/ n
  1776. ; mb_output_handler must be registered as output buffer to function.- b* R% o- n/ U/ m) a5 t
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( V9 }# J& }+ _' G: f
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    : i5 I; ~( V+ |: P0 a& t
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    . o% f; I. f0 ^; u
  1780. ; otherwise output encoding conversion cannot be performed.
    5 C! m! E/ @# y4 ~
  1781. ; http://php.net/mbstring.http-output3 S- U! m" ?6 a, C0 O) B2 n
  1782. ;mbstring.http_output =3 U6 W! W9 ?0 w- b7 w% a* Y0 Y
  1783. 3 ^7 j0 i/ ~+ A& |. |; I  _
  1784. ; enable automatic encoding translation according to5 Q( e7 z7 t% J7 M8 u/ l
  1785. ; mbstring.internal_encoding setting. Input chars are' z& z& z4 b* P7 ?1 S
  1786. ; converted to internal encoding by setting this to On.% q$ b$ o0 X$ o* o1 b
  1787. ; Note: Do _not_ use automatic encoding translation for+ I# D2 y: C9 u- d7 f1 L
  1788. ;       portable libs/applications.* H7 D6 ^8 c0 e* \9 d  d
  1789. ; http://php.net/mbstring.encoding-translation
    : D5 \7 m7 o% E+ @& m
  1790. ;mbstring.encoding_translation = Off: C1 F- D" ?3 |. X
  1791. 3 H& h0 @4 X2 c9 u" u+ x/ t
  1792. ; automatic encoding detection order.) M4 l0 P) }; R7 L3 H' w, a
  1793. ; "auto" detect order is changed according to mbstring.language
    4 e* O7 _8 z  b7 o3 W1 p
  1794. ; http://php.net/mbstring.detect-order
    % ^3 @* a1 J5 _: {5 y4 Z
  1795. ;mbstring.detect_order = auto2 _7 M9 m2 z( ^

  1796. ; l+ i! Z' `+ ^* N* W1 @" ]
  1797. ; substitute_character used when character cannot be converted( T% H* F3 }' Y' O, t: _8 d
  1798. ; one from another4 F, r9 t2 s* w8 V  P' d
  1799. ; http://php.net/mbstring.substitute-character9 c8 a' t8 e7 t+ f: s) Z( E4 u
  1800. ;mbstring.substitute_character = none9 R0 J9 m* E" L, C7 L

  1801. + e: K. Z) n+ v6 v$ Y& K
  1802. ; overload(replace) single byte functions by mbstring functions.1 k" v, i* C3 z2 i; h" S* t( B
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    3 g$ w. H" J% L
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ' y0 x7 h4 C- U' ^1 Q( [
  1805. ; For example, 7 for overload everything.1 u) z: E  }7 s- F( e
  1806. ; 0: No overload& z3 X( W- v4 g1 u. y
  1807. ; 1: Overload mail() function
    6 C0 y2 x0 [# l; H" D, N# W% Z
  1808. ; 2: Overload str*() functions
    / D* @$ e* b# S$ M) }/ ~  A% a) @
  1809. ; 4: Overload ereg*() functions
    6 Y" K' s  R- ]' P- j7 B# j0 _
  1810. ; http://php.net/mbstring.func-overload4 [" q3 L1 P1 ?) {& X! Z5 p- j
  1811. ;mbstring.func_overload = 0
    7 }# V( c, z  \7 L8 V4 \: u

  1812. 5 S, |! y. c* P; C* i* m* R9 K; ~
  1813. ; enable strict encoding detection.2 J& K- H0 ~% z! n# X) w. [
  1814. ; Default: Off3 f4 ?6 {3 i+ K1 n6 M
  1815. ;mbstring.strict_detection = On) {" C1 J/ G" R* j
  1816. 1 B4 v9 R8 x. r6 a7 Y
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()/ U  J9 g. h& G4 c4 `* {
  1818. ; is activated.
    " ^- U; F( J6 z. `3 d- q
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 N' }* x' h- k) A1 |; n# l
  1820. ;mbstring.http_output_conv_mimetype=
    5 g% f  ]$ L0 x& }# ?3 K

  1821.   P6 f2 |$ S( v/ f6 ~: ?1 J0 \: m0 k
  1822. [gd]; a; G3 L2 [. M0 p* D2 B
  1823. ; Tell the jpeg decode to ignore warnings and try to create  A2 v6 A0 J+ q; [; f( K7 d3 Z& s, x( o
  1824. ; a gd image. The warning will then be displayed as notices
      n* w- S" [0 _0 B" }2 X! `
  1825. ; disabled by default" i3 `7 n/ g/ N
  1826. ; http://php.net/gd.jpeg-ignore-warning& F/ u, Q- M" d- [6 b+ m* v: \
  1827. ;gd.jpeg_ignore_warning = 0
    / ~* Q9 @# v2 W  |3 b! N+ y9 ]

  1828.   m+ i1 @3 A' o: A( Q( O
  1829. [exif]
    ; P4 o- P4 E8 t/ o- F- F
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.) D" D; D+ z7 ^
  1831. ; With mbstring support this will automatically be converted into the encoding5 n8 ?( O$ q8 Y6 l) Y2 D; [' F
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 W: o# o5 V1 Y: j  e/ f! h- M
  1833. ; is used. For the decode settings you can distinguish between motorola and
      z7 L+ H# m, Y+ b
  1834. ; intel byte order. A decode setting cannot be empty.( s5 |% A1 M" X- T1 q( ?
  1835. ; http://php.net/exif.encode-unicode1 [/ p# u' Z& y( s2 ?: f
  1836. ;exif.encode_unicode = ISO-8859-156 a" h  N2 V# s

  1837. - R3 e5 E* Z) a/ S( ?0 v
  1838. ; http://php.net/exif.decode-unicode-motorola3 p; i8 a8 X  s
  1839. ;exif.decode_unicode_motorola = UCS-2BE: ^1 m2 d9 W3 @6 P; `

  1840. & A) q) Y' I9 m; Y6 b- c6 R
  1841. ; http://php.net/exif.decode-unicode-intel
    2 W2 y4 n5 U3 f: E- M
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    , @5 O, S  [- P2 r$ T2 t  B7 N
  1843. 7 i( M6 \7 ]) o0 o: }% z
  1844. ; http://php.net/exif.encode-jis
    * G4 V- h, P0 F9 q7 @7 v( z2 L2 j
  1845. ;exif.encode_jis =! x, t. U' o7 K: i
  1846. 1 x$ P; Y  U: c2 W% ?, C
  1847. ; http://php.net/exif.decode-jis-motorola
    8 W2 g: r8 k0 }0 T, F
  1848. ;exif.decode_jis_motorola = JIS' u. F3 f' Y8 v% W3 A3 d+ b
  1849. / w6 V/ j% G4 H5 {  K
  1850. ; http://php.net/exif.decode-jis-intel4 s8 v  O$ `+ {* d
  1851. ;exif.decode_jis_intel    = JIS- ]' O; F$ p# m: J+ m. i

  1852. - g% I0 `* j( m6 A1 j% b- x+ R2 j6 V
  1853. [Tidy]
    7 M& I. c7 Y0 W+ ~
  1854. ; The path to a default tidy configuration file to use when using tidy/ W+ n" c+ k* i/ m! [5 h+ H9 R
  1855. ; http://php.net/tidy.default-config
    3 y0 l% F6 K; O0 c# k7 \
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg2 s  d+ _8 \; ~$ G3 w" a

  1857. - q, W+ S$ K; K7 s) x# {" @) t1 J( a! x6 p
  1858. ; Should tidy clean and repair output automatically?
    1 s9 I$ H4 Q+ }! a6 \
  1859. ; WARNING: Do not use this option if you are generating non-html content+ r2 w$ q, e6 J/ U) P4 I, D( x3 p
  1860. ; such as dynamic images6 g. D+ M$ m; Q0 A! {. y
  1861. ; http://php.net/tidy.clean-output* z2 e' S3 A) H
  1862. tidy.clean_output = Off0 w# X; v3 [- _
  1863. * Q- u& S. H( O0 m
  1864. [soap]# J" L' }+ v; m  S
  1865. ; Enables or disables WSDL caching feature.2 t; F( E5 K; i; c
  1866. ; http://php.net/soap.wsdl-cache-enabled' n5 h) k/ m$ ~+ W! ?, J& n
  1867. soap.wsdl_cache_enabled=1
    ) I) h) j& q% R; h  y& e$ ]# |
  1868. 6 s, X6 g! X2 {
  1869. ; Sets the directory name where SOAP extension will put cache files.
    . Q' ]* g$ U2 @0 q# X
  1870. ; http://php.net/soap.wsdl-cache-dir9 ~8 |- @0 w( m% v/ t# ]6 W6 _) l
  1871. soap.wsdl_cache_dir="/tmp"; g, \$ c& q5 Q- s5 X2 P
  1872. 4 {7 s0 l* D* }) C/ t
  1873. ; (time to live) Sets the number of second while cached file will be used
    8 M& {# P) ]0 u, o: @
  1874. ; instead of original one." J' o/ I: d( b+ C1 e7 h1 ?3 l
  1875. ; http://php.net/soap.wsdl-cache-ttl
    - T8 c4 `6 R; K* L; W
  1876. soap.wsdl_cache_ttl=86400# t& b5 l1 r% U1 b0 B; x

  1877.   y+ @' F5 E% S
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)4 X$ L# p9 `* x/ ^9 I( J
  1879. soap.wsdl_cache_limit = 5$ N0 ]' B. Q' H7 u  e

  1880. ' z; L3 S  s6 T) h
  1881. [sysvshm]. k4 ]0 S' t$ m* Q6 i
  1882. ; A default size of the shared memory segment3 p4 k+ a/ Z/ g% i/ }7 O
  1883. ;sysvshm.init_mem = 10000( o3 \6 L* e% {3 ]4 F8 x

  1884. 2 r" W, D% J0 g8 \& z. C) L8 n
  1885. [ldap]
    , S  X; N1 l) \5 F$ R$ a7 r
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    / S+ i; _2 M  K8 n% F7 b2 V
  1887. ldap.max_links = -1
    * @+ B+ M$ T" k9 q( }

  1888. / I; p8 l* V8 `: h! h
  1889. [mcrypt]
    1 c# h( m) E5 N) u, N* c: y) M
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( H6 ]/ c' N. R8 i9 X+ s

  1891. " ?$ `. y0 \, E, \
  1892. ; Directory where to load mcrypt algorithms
    ) V1 l) A$ i. u3 C8 w) k7 F# Y* b
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): K8 d& E9 ]6 ~3 d- [" |0 T4 S
  1894. ;mcrypt.algorithms_dir=) s9 R5 L$ L9 ^0 r+ h( z* d: @% T' h
  1895. ) M( G+ ^4 T1 y( w) j
  1896. ; Directory where to load mcrypt modes
    * H$ g; D4 ?; l, {: s
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - d: C( _! I5 G7 r9 v7 n
  1898. ;mcrypt.modes_dir=4 T1 {' g" }+ [( z- G
  1899. ! D# W! z6 f9 R' U4 I
  1900. [dba]( M2 N0 t/ I/ Q, ?+ w
  1901. ;dba.default_handler=
    & W% y  \' J* ]$ |4 g
  1902. 9 E4 t5 z1 g( Y1 T
  1903. [opcache]
    % b- e8 c1 M8 n) o, b; ~+ X
  1904. ; Determines if Zend OPCache is enabled8 J- x( s6 z$ D  ^# E$ @
  1905. ;opcache.enable=0! a, u' s6 n" }

  1906. 7 \; z  f* H; {  l; Y) R& N  w
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . F; ~' p, W5 C' t
  1908. ;opcache.enable_cli=0
      w! g6 z1 t$ X/ f
  1909. & j; i$ y7 F% i. q# W
  1910. ; The OPcache shared memory storage size.6 U4 Q: p1 o8 s
  1911. ;opcache.memory_consumption=64
    # {7 f+ w' C( N; d$ p9 k$ l. @9 N
  1912. , Y7 y& z( _- N
  1913. ; The amount of memory for interned strings in Mbytes.
    , Z: U) i6 W# W" e& }- Y
  1914. ;opcache.interned_strings_buffer=4
    % E0 m* e0 S1 ]! y

  1915. , J) j* {( `% i! l/ N8 I5 o
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.  }  C+ J) F/ _% x0 }! q% ~
  1917. ; Only numbers between 200 and 100000 are allowed.' Z/ j0 \$ t+ N1 o. \% {( I. o
  1918. ;opcache.max_accelerated_files=2000
    + ~) T+ q; L: Z2 C. h  |9 l

  1919. , K& n8 b6 K  r  e1 d- P
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    . E0 X5 ~' m3 i0 a2 M% {
  1921. ;opcache.max_wasted_percentage=5
    : w3 s' m$ q- Z$ I, j. X. e
  1922. , h# {) L' P3 g# C* G, {+ A+ x
  1923. ; When this directive is enabled, the OPcache appends the current working
    3 o, O" Z$ F: y. W1 W' O% B
  1924. ; directory to the script key, thus eliminating possible collisions between
    : w2 h+ Y" I% t4 I8 \! F4 ^
  1925. ; files with the same name (basename). Disabling the directive improves
    ( P. c8 D& B7 d; E/ y: S2 H
  1926. ; performance, but may break existing applications./ q1 K5 m% [. z# e
  1927. ;opcache.use_cwd=1
    & g4 l4 ^- h/ F# x  _
  1928. : O" t* p0 O) d  s* i/ L
  1929. ; When disabled, you must reset the OPcache manually or restart the
    % Z' T; {4 p) f, P
  1930. ; webserver for changes to the filesystem to take effect.
    + G, T0 g( V; n1 R2 _: O
  1931. ;opcache.validate_timestamps=1' @: ]* \0 g4 R  C$ c5 ~* X

  1932. 9 w# z' \0 g$ A/ Q+ V; a$ ^. N
  1933. ; How often (in seconds) to check file timestamps for changes to the shared& A& M: N2 u% o% ?; U1 H( @$ J: T
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    " Q$ w( X) G5 S# z
  1935. ; once per request. "0" means always validate), `( A5 E  z& @/ u. g: T+ a2 q
  1936. ;opcache.revalidate_freq=21 w8 W' i2 g1 _4 W5 W, S8 K1 M

  1937. + y* h# s% t8 T$ r
  1938. ; Enables or disables file search in include_path optimization
    1 a. p+ U+ z; b
  1939. ;opcache.revalidate_path=04 h  Y% h) K: y# q" n4 _2 z! @

  1940. ) b" {0 L" c3 Q, i3 F0 e: o
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    % P) t/ v; a6 L7 Y  ?4 a8 H
  1942. ; size of the optimized code.
    # {8 d. _( p6 Y! _! e3 q
  1943. ;opcache.save_comments=1
    ( Z* B. M6 a$ W. u& m
  1944. 0 i# q+ G! i$ o2 Z9 q
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"- }- B6 p; n/ ~* ~$ m
  1946. ; may be always stored (save_comments=1), but not loaded by applications! q3 l4 h& R0 h9 L$ z6 e
  1947. ; that don't need them anyway.
    . v7 A8 U! W$ {: E/ P' U
  1948. ;opcache.load_comments=1( V. a9 _7 x* G, h

  1949. / E3 N5 q- j6 L" L4 r. x+ B3 {
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code  _, B) d2 L% V8 A: a$ u( P
  1951. ;opcache.fast_shutdown=0" R" t* L4 m" v4 s0 V7 ?
  1952. $ P+ ]3 C5 ?0 T! L: R% @% n
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    # X9 F" w5 k2 L3 t
  1954. ;opcache.enable_file_override=0
    ) K" t* r1 P& X+ C- B7 w# L( `
  1955. ( x( L7 L5 Q1 F
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    $ X0 I  R7 ]) @5 b; f; ^7 ^/ R
  1957. ; passes5 s: P% g8 G9 d  ^* y% C
  1958. ;opcache.optimization_level=0xffffffff
    6 X( n3 y$ c, e

  1959. $ `" x9 U& c! l9 E
  1960. ;opcache.inherited_hack=1
    9 n; y( V0 ]5 K% N
  1961. ;opcache.dups_fix=02 r4 ]4 `4 F/ ?2 G

  1962. ' _8 `# n6 k' u" z3 I) e
  1963. ; The location of the OPcache blacklist file (wildcards allowed)." \! M, g1 }3 B0 R0 T3 G% Y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ! N1 r* d# d/ L3 A
  1965. ; that should not be accelerated. The file format is to add each filename
    : r8 H5 Y6 M5 ]& {' N
  1966. ; to a new line. The filename may be a full path or just a file prefix) C- g4 N' X7 R# W/ q5 z# i; G# Z
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# h3 ?) S8 S( K- Q+ {# T$ A- A8 B
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    % _# l% {% p7 Z* q7 r& D
  1969. ;opcache.blacklist_filename=
    - T1 T& ~! f" ~, X5 `3 u1 Z

  1970. 3 E( ]7 B% k: X8 _1 |9 n
  1971. ; Allows exclusion of large files from being cached. By default all files
    + a" \1 M- O' |& v7 o
  1972. ; are cached.
    5 P( M; a) I+ |9 Y& |3 y0 E
  1973. ;opcache.max_file_size=0$ T7 E: N0 x6 w7 g4 X# u
  1974. . e7 f- U4 |# s: R8 i4 _1 W) p
  1975. ; Check the cache checksum each N requests.
    3 ]( V0 M8 M  o* x6 E# X& j
  1976. ; The default value of "0" means that the checks are disabled.2 O. i. v6 U. r  I! H, b
  1977. ;opcache.consistency_checks=0: ~# `" B) E5 e5 E( E+ q' T3 J0 ]' E

  1978. / A/ W( g% I1 q( U% Y
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache% d# w, X4 ~) o1 @4 D
  1980. ; is not being accessed.  `9 O, Y! |9 E+ t
  1981. ;opcache.force_restart_timeout=1802 b. D( d! u" L% R4 K

  1982. 1 i, _$ H0 u( f% F) p
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    6 r0 [0 \* i7 R8 T4 Z+ P( G# ]
  1984. ;opcache.error_log=# B; K7 i2 f. C
  1985. ( S, c; ]& Y: T+ y
  1986. ; All OPcache errors go to the Web server log., T4 n: X) ]- L7 ^. N* U
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* u# E0 |- D% b) Q2 r
  1988. ; You can also enable warnings (level 2), info messages (level 3) or% E4 m* w1 e5 ~& C) E8 ~* T
  1989. ; debug messages (level 4).0 H  z0 i: B" n7 F6 @/ G. b4 ~" ?
  1990. ;opcache.log_verbosity_level=1& f' c" m5 o; D; N

  1991. 2 R9 T1 ]5 Z. K8 S
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    , U9 u1 q7 V9 C
  1993. ;opcache.preferred_memory_model=
    & B' @3 ]) S# `: M, t# }

  1994. ! U3 Q8 l3 ]. t0 K! E/ P6 g
  1995. ; Protect the shared memory from unexpected writing during script execution.. }+ n& C$ x, F# h2 c# d4 l) k2 {
  1996. ; Useful for internal debugging only.' d- R; m( K4 Q- F, }2 y6 }
  1997. ;opcache.protect_memory=01 m- x" J' l0 x. E0 {/ i; g. o
  1998. - }- n! ]* C' [& G" K6 Q) X
  1999. ; Validate cached file permissions.
    & Q. t9 m# ?/ ~2 L, E7 O
  2000. ; opcache.validate_permission=0
    2 x* G2 Y$ N. ?0 z( F" m+ J
  2001. " _7 ~. }6 G6 k/ {. w( |& A! }5 Z' U
  2002. ; Prevent name collisions in chroot'ed environment.
    - s* a' D6 R' P) V8 W8 a
  2003. ; opcache.validate_root=0& R) i& l5 {( B7 R6 a
  2004. 8 x* \% Y% t) i: {5 t' A$ G
  2005. [curl]/ w4 q+ ?% Y, r7 v
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    0 O/ L, L; U% b
  2007. ; absolute path.# U; t1 C$ _9 X* Y. e3 `% t# n
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt$ f) ]  _# P) e

  2009. ( L4 {5 d; w( \4 h/ ]! V
  2010. [openssl]
    5 c4 G2 c% `9 W- P5 o
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    1 v: u4 h8 O) H+ ^. P/ I! n5 }
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should7 q; ~2 O' r% |4 L0 u
  2013. ; not specify a value for this directive as PHP will attempt to use the/ Q# x. H0 T/ D* R# n
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ( k; ?8 l% A# Z/ ~: p$ {" X
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context( G8 V8 @8 l( C" ?- p
  2016. ; option.9 J  y- J& }( Q6 q% X+ h' C
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 F; S4 f4 p: u; L, t) B7 N

  2018. ' q& f) Z8 l/ P- Y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the* L6 U( O7 I8 K8 ~4 l# l' q6 W  O
  2020. ; directory pointed to by openssl.capath is searched for a suitable# B% T* O0 _* @4 R/ h) F7 i9 r
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    # E" v5 f# Q: [% d
  2022. ; Most users should not specify a value for this directive as PHP will! \2 [3 p% ^  r& [" X8 m7 P
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    . e/ o  Z+ L( u0 \5 r) l8 |0 C/ s
  2024. ; this value may still be overridden on a per-stream basis via the "capath"  O" N. m. q; _
  2025. ; SSL stream context option.4 h+ B& [' d5 o5 Z- x8 }3 j; \
  2026. ;openssl.capath=$ V/ m: O* S9 L  n) h% ]) F! @
  2027. 3 G# s! E0 c1 H+ j: x3 j, S* D
  2028. ; Local Variables:
    1 {2 y+ d) s! y6 p
  2029. ; tab-width: 4
    # z8 d0 c- N( N, B# r, C9 s$ v
  2030. ; End:
    / V7 B- f; z2 r% H  K4 Y4 Z

  2031. * C. P4 d. _$ [8 P
  2032. ;eaccelerator
    9 l8 F9 S0 V* k# `

  2033. , H% Y3 {. D7 {$ r: z
  2034. ;ionCube
    5 t, f! ~7 Q* ^+ n
  2035. 2 U4 N$ L( `4 b  ~1 [9 R1 y" f8 y
  2036. ;opcache
    7 X: P0 H4 F/ R. r$ \% I
  2037. / s3 [$ w) w7 [/ f, J; w9 @% k
  2038. [Zend ZendGuard Loader]; Z% W8 i& j% ^; h+ ^3 L* F% \
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so  O4 \3 _" C; C9 y3 I, j/ z
  2040. zend_loader.enable=1
    + z8 Z, s/ G% \( p; h/ U  M# D( t! ^. i
  2041. zend_loader.disable_licensing=0; R) q, q% i6 e" h6 a
  2042. zend_loader.obfuscation_level_support=3
    $ }+ ~: p. o6 }% w3 m/ m, x
  2043. zend_loader.license_path=
    * V2 ?- h6 N, v' J  h+ Z

  2044. 2 @: C& D, c$ [" t) U$ K/ N& S, v
  2045. ;xcache1 Q2 Q* {1 f" q

  2046. ; m9 h% t+ T8 i  e) I4 B. F3 R
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692$ R' i# h, o/ ^+ h
# b! ^8 r- W4 X$ m

( V5 ]) W/ s- n4 w# FDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
2 i) x* M* {( D8 i) V0 y/ i9 f- y" W" y) v3 _( I7 I
Discuz!程序版本选择:
/ ?* @( r3 A- q& f站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
/ I4 O; C. L, ]6 l) V* `不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:9 [& D# ]/ g; a2 J
Discuz!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。* T% L$ s) U/ C, U

3 }/ {* X# \( |( m# z8 O# a( b& H) J" xDiscuz!插件模板版本选择:
' |: g& q" }& i; v1 F/ N很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,2 j/ p8 Q8 Y2 G  H+ ^! T! @
针对这个问题做个统一的普及:
0 J; F/ P# m- e5 ?/ KX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。' o3 V0 w0 j1 {3 D  |
" L9 }5 C# a- p
所以6 a- d2 ?0 i' h$ R  Y1 z& H
适合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的二级域名。
  z  H6 p9 p/ X打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。2 i# c% z( w$ |$ [
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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