分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
7 C; i, v6 ]/ B# `9 p5 Q& X# N
1 }# o" ^' g6 u: x. H! E
  1. [PHP]" [; T' O' m) ~8 p8 e

  2. 2 I( b# h9 i* @, r( r3 U4 }) w& d
  3. ;;;;;;;;;;;;;;;;;;;; Y+ e" M5 j0 t* c3 Z4 y# O- S
  4. ; About php.ini   ;( i- R% k) e9 O8 Y3 S+ X% e
  5. ;;;;;;;;;;;;;;;;;;;3 d( l7 d- Z+ X
  6. ; PHP's initialization file, generally called php.ini, is responsible for; f. ^, g1 i* `, i; D
  7. ; configuring many of the aspects of PHP's behavior.# B. G) J) R8 u* e' V

  8. 4 R7 c- y2 l; G: {4 f( {! L+ r
  9. ; PHP attempts to find and load this configuration from a number of locations.: j: A8 y) i3 k  j: Z  X  D
  10. ; The following is a summary of its search order:
    , T8 C8 |9 z/ O7 g" i, s
  11. ; 1. SAPI module specific location.
    : L5 @0 g0 {/ c2 V- Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    7 X& G; }* w' z' k9 I9 a7 p2 @; ^
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) G. v/ N$ ]6 s4 G1 E2 V! J
  14. ; 4. Current working directory (except CLI)0 i: k' |% U) m- f
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( n4 W6 n; i6 T) x
  16. ; (otherwise in Windows)
    * A! A" m4 E: X7 K
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    8 O0 g5 F- o( _, r) f  F0 _
  18. ; Windows directory (C:\windows or C:\winnt): h7 f; }1 H; r. \1 y& x8 }
  19. ; See the PHP docs for more specific information.
    , T6 X3 [) f) d7 o+ n
  20. ; http://php.net/configuration.file
    - }, i' T, i4 h8 o- J  o' Q, ?

  21. " {! l1 i6 z6 G/ E. l) a
  22. ; The syntax of the file is extremely simple.  Whitespace and lines7 ]& L2 J8 o( _3 C+ O3 t
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
      C" Y( x5 @8 g. d; Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    # k( A' m5 N- c& o
  25. ; they might mean something in the future." F9 A" Q& i7 K) D7 c5 y

  26. ! ^, b1 W2 s$ \/ Z0 o# z
  27. ; Directives following the section heading [PATH=/www/mysite] only- {1 v. {, D; n$ f
  28. ; apply to PHP files in the /www/mysite directory.  Directives, A  f" r8 U& {  c
  29. ; following the section heading [HOST=www.example.com] only apply to
    4 b* N# z9 ^4 j. t
  30. ; PHP files served from www.example.com.  Directives set in these
    ' A* e6 k' A# h- q/ o2 x3 W5 b" |
  31. ; special sections cannot be overridden by user-defined INI files or1 B; S4 \& D, O4 m) i
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under5 E% {* ^+ n0 X
  33. ; CGI/FastCGI.
    5 B$ b6 Z9 y- r
  34. ; http://php.net/ini.sections
    0 J5 I* E/ {# h
  35. ! z! C/ K/ L0 d; i# N% W! v
  36. ; Directives are specified using the following syntax:
    & T5 k9 L3 U2 E5 v# i( ]: s. b
  37. ; directive = value( I; n3 {$ e) ^7 [: ?( E
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.- O& G5 M4 z; c8 b; l
  39. ; Directives are variables used to configure PHP or PHP extensions.
    + [* L' t; z+ j4 j0 n
  40. ; There is no name validation.  If PHP can't find an expected9 b4 _0 x$ l# a- O4 p
  41. ; directive because it is not set or is mistyped, a default value will be used.  @. Z: {" W# r$ ?, ^) M5 S: Z9 x2 D

  42. ( W3 S- ~/ N1 ?8 G5 b; _! n6 N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one! l  Z$ u8 P1 y+ p. H" n
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    5 i9 {6 j  E# f* S4 ^; r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ) M* l8 }/ Y; S
  46. ; previously set variable or directive (e.g. ${foo})9 W: I" a+ U& E3 x$ a5 H* n  S1 s

  47. " Y& w1 [' J. R4 N' ?. c
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:4 u, _  Y/ L5 f
  49. ; |  bitwise OR
    * m' y  h1 n4 s& N
  50. ; ^  bitwise XOR
    " ?8 T3 H. a$ g7 s
  51. ; &  bitwise AND; U! M9 ]1 j: ^, _+ e: b% U0 T
  52. ; ~  bitwise NOT
    2 Y* L6 K8 N* c+ Y8 Z
  53. ; !  boolean NOT
    4 A0 @0 [( w4 E+ H( n4 v
  54. " U) J, l# F& G$ B9 P, M' v1 P- N. ~
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.$ K% }/ E8 ^% u* K' _1 I5 g
  56. ; They can be turned off using the values 0, Off, False or No.
    7 }/ b( h/ G3 U2 D5 X
  57. / D4 o1 c5 D" @8 l  X/ m
  58. ; An empty string can be denoted by simply not writing anything after the equal
    1 h; \5 \; E1 J# I7 j4 k
  59. ; sign, or by using the None keyword:9 ^, `8 y( N# ~! L2 d
  60. ! e! P3 ?2 O$ y8 R# R) V
  61. ;  foo =         ; sets foo to an empty string8 D% J1 c  v7 Y7 c* B
  62. ;  foo = None    ; sets foo to an empty string1 e& N1 u, W. r& Q
  63. ;  foo = "None"  ; sets foo to the string 'None'( v# N# z" {5 {% K! `& X
  64. # A! k+ s& H7 j
  65. ; If you use constants in your value, and these constants belong to a
    9 Q% a. t4 x8 ]0 ^2 L/ H
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),; r# ]2 I: J, P! s  b/ M1 V* S
  67. ; you may only use these constants *after* the line that loads the extension.
    8 z* L) M' z* U3 N( v

  68. # k3 N7 o. U# F: ?
  69. ;;;;;;;;;;;;;;;;;;;" ^# S! ~( A  f, c2 H
  70. ; About this file ;
    2 C  c# ]) C0 {9 n+ H9 R$ a
  71. ;;;;;;;;;;;;;;;;;;;( n- O# y0 ?5 M" ~6 A# H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . Z, f2 m, y& V
  73. ; in production environments and one that is recommended to be used in
    - S, w+ {! l1 e0 I- o' e+ ]5 C& z( g
  74. ; development environments.
    5 s# O2 }0 @$ h- {5 ^6 L- g

  75. - u( l4 ^' {1 {% a& d
  76. ; php.ini-production contains settings which hold security, performance and; n9 d( Y/ @" l8 A8 n  B
  77. ; best practices at its core. But please be aware, these settings may break" f2 m* s; J5 D9 a; ]$ M6 V
  78. ; compatibility with older or less security conscience applications. We/ w7 y) I. N$ G- |% @9 j3 r
  79. ; recommending using the production ini in production and testing environments.  y7 A  ^5 d! x8 s
  80. , W$ j% t' I. N6 v% A
  81. ; php.ini-development is very similar to its production variant, except it is
    ' n# _6 }8 i$ O
  82. ; much more verbose when it comes to errors. We recommend using the$ u, T: _7 @  r# B
  83. ; development version only in development environments, as errors shown to7 ?) v% Q% y' i  k4 f$ m
  84. ; application users can inadvertently leak otherwise secure information.
    $ |+ s# N2 @8 ~7 Q. I. _* f

  85. " ?; L( g8 }  p9 ^- e4 e' p1 p
  86. ; This is php.ini-production INI file.2 I  Z0 l! ~+ o: r- G9 k

  87. ' }0 |5 U. ^3 L& N4 B% z
  88. ;;;;;;;;;;;;;;;;;;;
    7 H; d- N& i- V
  89. ; Quick Reference ;
    - ?7 S# S. b5 A, a; [  E. m
  90. ;;;;;;;;;;;;;;;;;;;9 y) c# ^8 d" Y& q" V
  91. ; The following are all the settings which are different in either the production1 o. p4 O9 {8 \" ?
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - s) J  y" _" W2 `
  93. ; Please see the actual settings later in the document for more details as to why
    - v  v0 E- P- |- _5 z
  94. ; we recommend these changes in PHP's behavior.5 @  h' C3 Y4 U) H! ^4 N2 r) C8 d/ }& Z

  95. 1 W2 L0 m3 I6 Y/ W6 _
  96. ; display_errors
    1 `+ g& w2 ]7 h# j/ \  ]
  97. ;   Default Value: On
    7 a; S8 V( M5 q( J& f% `* l  W. `  v; O, T
  98. ;   Development Value: On2 [) E7 \/ o) _- c; |, J' y1 L
  99. ;   Production Value: Off
    " C# v8 `' t  Y

  100. 7 [' I) _2 g. M& N
  101. ; display_startup_errors
    6 E4 R: t7 ^) P1 Y
  102. ;   Default Value: Off+ w3 x/ @1 v2 s
  103. ;   Development Value: On
    3 U1 H) m6 T  s- X. F- c
  104. ;   Production Value: Off
    7 D+ s% i: i) U  p7 N& o1 p/ ?5 ^

  105. 6 [1 i$ d* w- O5 v7 i0 v4 M
  106. ; error_reporting
    ; b' f7 @+ m; }7 q1 Q* A
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. o3 U0 m; k3 k' O0 [. l
  108. ;   Development Value: E_ALL9 Q$ e3 D" T$ i& l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 F1 p$ i& T& A
  110. . a% x* w  r. m) n0 E4 ~9 v
  111. ; html_errors- y4 C$ J8 v8 v& g8 I
  112. ;   Default Value: On
    : l, b7 b7 V: }. }/ y! h$ n
  113. ;   Development Value: On2 C+ B! _; `# @
  114. ;   Production value: On
    5 u* V1 ^( i& b

  115. % h* X; t5 C# h5 k6 p" `% l' [! R
  116. ; log_errors# P1 P# G- g  _8 g: q
  117. ;   Default Value: Off
    7 {" _# E) I/ V& V) a5 ~5 ^
  118. ;   Development Value: On
    6 P' _, K9 ~# e% [8 H# k% H
  119. ;   Production Value: On
    2 G& r7 g5 r( {
  120. # K8 p* a6 U$ R! n) _, E
  121. ; max_input_time6 \: w+ P' c! v: o" I/ O" @& V
  122. ;   Default Value: -1 (Unlimited)7 M" k4 n5 ^/ B4 ^9 E
  123. ;   Development Value: 60 (60 seconds)$ y5 m' @( O/ b: A) X( r# Q4 p
  124. ;   Production Value: 60 (60 seconds)  {1 N" t/ D  u* F- k; d: v
  125. + S; P2 A0 Y  j: h6 b
  126. ; output_buffering* S1 O2 ?" w+ p5 F, X* ?9 z# v, Q
  127. ;   Default Value: Off, y+ _, q/ s1 m  m( t
  128. ;   Development Value: 4096, e6 b- [2 h$ A. `, u
  129. ;   Production Value: 4096
    ' s$ R5 K- a, d
  130. 9 y) C" X' _& a# z, Q- R3 ?; {
  131. ; register_argc_argv4 R5 H6 m% n* v5 y! R6 e
  132. ;   Default Value: On
    9 Y: k1 z! P* z+ F
  133. ;   Development Value: Off
    0 H) F+ b4 s" D  S5 S6 i
  134. ;   Production Value: Off( v9 n2 U3 D: ?# K# p9 P! o
  135. . `7 u& D# V  X% e
  136. ; request_order
    ; ^* K; s  P' A) l! a0 Y3 Z5 N* G
  137. ;   Default Value: None8 F+ B  E0 S. ^
  138. ;   Development Value: "GP"/ t" t* y# x/ t  E/ v% i7 C
  139. ;   Production Value: "GP"
    ; `9 {! t: s# D5 Q: q8 G) w

  140. # f6 t: h& T$ y3 G* t$ N8 d
  141. ; session.gc_divisor' b6 H# ~8 O- D, L
  142. ;   Default Value: 100
    * b* f: e: [1 ~! }% R0 K" ~0 E$ l
  143. ;   Development Value: 1000* a# g/ x0 V7 n! I. _  m7 G
  144. ;   Production Value: 1000  @  i( z; G1 _4 V5 ^" |

  145. 9 G) B5 Z& C. H, j0 x  v+ q- b
  146. ; session.hash_bits_per_character9 m7 W" X+ D/ B2 I# A
  147. ;   Default Value: 44 u1 s, u2 @. @  r, b( W- ?* _' {0 w5 q
  148. ;   Development Value: 5
    3 w& i& O" A" W: ^; r
  149. ;   Production Value: 5
    5 j- \7 ^. N7 C9 n
  150. % x, j/ |1 x; \, H: S2 b' j* |
  151. ; short_open_tag9 t: y$ Q. s' I" P
  152. ;   Default Value: On
    & T  W# Z: f1 X4 g, `6 o9 N/ s& O
  153. ;   Development Value: Off# T* Y4 r3 p# ~) j7 O
  154. ;   Production Value: Off
    6 ]$ ~" w$ I1 @, q+ ]) w4 c1 T) e9 P# }

  155. . \+ C0 ]( j" n& k9 }& V, g6 s
  156. ; track_errors4 c# N/ N. m8 `
  157. ;   Default Value: Off! j) b2 U+ a3 P' z7 ?- j
  158. ;   Development Value: On
    % K& `& k! _/ j
  159. ;   Production Value: Off
    ) S5 ]/ E! [9 H) }; f
  160. + r1 e% z/ }8 b7 p' n6 w: T
  161. ; url_rewriter.tags+ Z& q4 `/ f& \. E% g- Z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! J- n" R. F! s4 v) P$ `
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % }6 Y" Y* k6 p' l( a
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 v& o3 F& o/ q) a0 i% Z! L

  165. % V- E8 \7 r. C: A7 K/ p7 C3 y
  166. ; variables_order
    ) h; d0 i3 l$ L% t) {  [
  167. ;   Default Value: "EGPCS"
    : y& x- J% i1 {5 O: d. e
  168. ;   Development Value: "GPCS"
    / |' o! f9 J" f. r, D& o5 G
  169. ;   Production Value: "GPCS"9 s8 S4 X" q3 B* S4 q
  170. ; D% D& q% e2 W9 |
  171. ;;;;;;;;;;;;;;;;;;;;7 K- Q2 d  Y2 ^% E$ |/ k
  172. ; php.ini Options  ;& k1 G, Z) a3 h
  173. ;;;;;;;;;;;;;;;;;;;;, K1 k- `" ~; Y- C) b
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"' v3 N4 b/ I# q0 a& a; i' q6 h
  175. ;user_ini.filename = ".user.ini"
    ; l: r! q/ r4 {5 g

  176. % k, X/ t- M5 l  j% n) X
  177. ; To disable this feature set this option to empty value
    . D& I' _0 d- R: u( I1 k" ?
  178. ;user_ini.filename =
    3 N. E. n! R- H2 ~& Q" H! n
  179. % K' j, j; K- c" q( R
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    4 b7 g) f1 ?& Q6 g; d# J$ Y2 J
  181. ;user_ini.cache_ttl = 300
    . G( E! c1 J# P7 w

  182. ; D& B1 n5 }4 t4 p  o( _
  183. ;;;;;;;;;;;;;;;;;;;;
    3 E( ?) B! N/ C$ S, d  e0 @
  184. ; Language Options ;8 c0 ?5 C9 A( r9 y2 T6 g* p
  185. ;;;;;;;;;;;;;;;;;;;;
    9 l- X9 c$ `8 m9 F* w

  186. % _1 [) k- e' P
  187. ; Enable the PHP scripting language engine under Apache.
    : }* M+ H4 t9 a. ^; i
  188. ; http://php.net/engine
    ; C0 G' C5 x4 ~
  189. engine = On
    3 l4 U; Z( n+ r

  190. ! V0 f) B1 o+ w0 [# \
  191. ; This directive determines whether or not PHP will recognize code between
    0 P) p- L7 p6 ~; O
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + O* }8 J- C8 `/ ?+ Q$ h) u! b( M
  193. ; generally recommended that <?php and ?> should be used and that this feature
    * ]- s3 D/ r0 {! V+ _7 x
  194. ; should be disabled, as enabling it may result in issues when generating XML
    3 E- m' Q: w. ?; @- `" r* ?
  195. ; documents, however this remains supported for backward compatibility reasons.
    ) s* Z' C1 |8 Z: J8 D; j
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ' F! y. `: X; I% ~
  197. ; used regardless of this directive.( o3 r: J$ O9 Q9 O. ~/ j
  198. ; Default Value: On) j; w& F. n& c( l$ R3 f2 T; H
  199. ; Development Value: Off
    # B) ?& v8 j( ~$ W
  200. ; Production Value: Off; N" U/ F$ C/ w( m, g" D6 Q6 z
  201. ; http://php.net/short-open-tag9 O5 W( c: V: q$ x! |! M" b
  202. short_open_tag = On
    # Z/ g( x9 e1 u

  203. 1 M4 w! V. ~2 s
  204. ; The number of significant digits displayed in floating point numbers.6 Q" q$ }; i, s& h% {, s0 L
  205. ; http://php.net/precision2 J- C+ t6 Z( r0 m9 J4 `
  206. precision = 14+ o) G, R8 Y& l% i1 J" ?8 m8 B

  207. + M/ r5 L2 b" w3 ?: X  \
  208. ; Output buffering is a mechanism for controlling how much output data/ O) r/ P" Y" c: a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that0 M$ v5 I' w0 H
  210. ; data to the client. If your application's output exceeds this setting, PHP
    8 Q% F2 d. p+ ~" p* x4 I; O
  211. ; will send that data in chunks of roughly the size you specify.+ I3 W+ O9 a( v1 z" |2 F& k
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    2 |" w  G8 D, F+ B
  213. ; interesting side-effects depending on your application and web server.
    # t4 v% F( F/ f4 r8 r% X; M% }
  214. ; You may be able to send headers and cookies after you've already sent output2 }- b7 w4 y. ^" J- N/ s  o4 @
  215. ; through print or echo. You also may see performance benefits if your server is- |% w. }( f& L# c( ]; y
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    - b2 s& R$ a* }+ r  f6 `
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ P6 w" X* R. {& R
  218. ; reasons.
    0 B5 k4 _5 N+ _: c" z, t
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( V) ^: X* a' o$ X- P, @7 Q& x
  220. ;   functions.
    + d+ i& J8 U4 V0 A6 W
  221. ; Possible Values:  B5 H% m/ l$ V
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)7 S) f* q6 B1 H+ |& J, I3 y
  223. ;   Off = Disabled
    0 M1 b9 `# P% M7 o
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , d8 l. S+ s" o
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 a6 u% Y5 `- v0 p. @
  226. ; Default Value: Off  a3 J* J) ?1 V0 {2 c$ i" }
  227. ; Development Value: 40966 }7 w% i7 c5 r5 G; T, m
  228. ; Production Value: 4096
    # a: p- H: E) ]4 y
  229. ; http://php.net/output-buffering% N9 t+ M8 P$ e. g, m0 e, _
  230. output_buffering = 40965 S, @0 _3 Y. g8 E) f

  231. : e7 ~3 Q# c# {" X+ [* p0 c& F
  232. ; You can redirect all of the output of your scripts to a function.  For6 M" y$ \/ T  o. E3 T- b
  233. ; example, if you set output_handler to "mb_output_handler", character4 b; x" e+ r4 n5 f
  234. ; encoding will be transparently converted to the specified encoding.
    3 d& Q" V# a) U, M6 l! y7 f
  235. ; Setting any output handler automatically turns on output buffering.
      S# J4 z3 \- V7 K, @- u3 O5 \) n
  236. ; Note: People who wrote portable scripts should not depend on this ini
    & [% ^- P7 @( ]: Z6 U, |9 P
  237. ;   directive. Instead, explicitly set the output handler using ob_start().. n( i" C% S' O0 M& |% o; M* n8 K$ y, y
  238. ;   Using this ini directive may cause problems unless you know what script( f+ t' w3 I+ o& L
  239. ;   is doing.0 l3 a& x% R8 T. d" l' M
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    4 @, p; f  c- G2 U) D) i
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + ?1 `% D5 k: K
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    7 y  E4 B% P1 z) @
  243. ;   Instead you must use zlib.output_handler.
    , R% U& ?1 \; D3 w; E. _
  244. ; http://php.net/output-handler0 r. X; h1 z* m# q. n6 K7 S
  245. ;output_handler =
    * U3 D7 l' h; z: i+ V2 R5 ~

  246. + B" c% \$ v& ?: u+ B0 Y) B
  247. ; Transparent output compression using the zlib library
    * W& h( h$ j( d$ {5 Z! M
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size# C: _2 Y" R, z9 h3 ]; K
  249. ; to be used for compression (default is 4KB)
    ) z8 L9 b% ]3 X1 Q. o7 i4 W  z) l+ k0 b2 N
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    - G- F* }9 _" V7 o% K
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    $ l% q0 J* ]+ K3 r& P
  252. ;   compression. If you prefer a larger chunk size for better6 c6 L7 V" e5 j; Q2 f7 H- y' U6 }( S
  253. ;   performance, enable output_buffering in addition.
    & R0 w! N6 O! p
  254. ; Note: You need to use zlib.output_handler instead of the standard$ Y/ z' i/ k7 [! m+ L: d: n+ A
  255. ;   output_handler, or otherwise the output will be corrupted.% Q2 D; }1 ?- J! N6 n: X  ~9 l
  256. ; http://php.net/zlib.output-compression* k9 l& x4 T; W9 `
  257. zlib.output_compression = Off: \- U2 b5 H! C: m

  258. 5 k* ?* g  F" N, w" J2 C
  259. ; http://php.net/zlib.output-compression-level
    , A. `7 C0 N" {! ?8 Q
  260. ;zlib.output_compression_level = -1! P; H4 n$ ?) u. \5 r
  261. - h, X1 ~) a. R# q, R
  262. ; You cannot specify additional output handlers if zlib.output_compression8 U  J1 E% s  y  d; P- @3 \% q3 I# t
  263. ; is activated here. This setting does the same as output_handler but in
    ' W/ J+ `5 A8 a+ T) U" f% S% t6 n
  264. ; a different order.
    ' _5 E5 A8 |7 ~3 \/ i& X
  265. ; http://php.net/zlib.output-handler3 m2 ]: p: ^' G* b/ d
  266. ;zlib.output_handler =
    / q5 k; {6 x1 B) v
  267. & F" `& J2 D- ~" q- ^* r
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    5 Q# w7 s. u8 t# ?# G
  269. ; automatically after every output block.  This is equivalent to calling the+ ~' c2 G1 |1 V% b5 Q7 |% h
  270. ; PHP function flush() after each and every call to print() or echo() and each
    * X+ j+ {  @4 r3 U! M5 G: r
  271. ; and every HTML block.  Turning this option on has serious performance) @6 K8 ~5 C" q2 J9 u2 x9 e" O
  272. ; implications and is generally recommended for debugging purposes only.
    2 a9 S" l! g& ]
  273. ; http://php.net/implicit-flush
    7 l7 ]: K4 L" ]4 O9 y" Z
  274. ; Note: This directive is hardcoded to On for the CLI SAPI( i4 G+ T" K, ~6 u& T
  275. implicit_flush = Off( C' {. |4 ^9 g3 ^, I* x
  276. 6 q2 A7 g/ C& ~9 [
  277. ; The unserialize callback function will be called (with the undefined class'3 W8 u$ [' F- ?& h
  278. ; name as parameter), if the unserializer finds an undefined class
    % v, g# N' _. w# F
  279. ; which should be instantiated. A warning appears if the specified function is9 i: o5 R) y. g. M" v/ b7 |
  280. ; not defined, or if the function doesn't include/implement the missing class.
    * f. Y4 P0 p: g( ~  c9 N
  281. ; So only set this entry, if you really want to implement such a
    * j0 N1 X% r, O5 |
  282. ; callback-function.
    : I6 X) V3 c+ f- o4 T1 v0 J7 P
  283. unserialize_callback_func =
    , q. z% J$ s9 |9 h7 O

  284. , }+ c  }( F- D
  285. ; When floats & doubles are serialized store serialize_precision significant- S3 W! q9 q' C( f8 {! [! @
  286. ; digits after the floating point. The default value ensures that when floats2 N9 A5 \& L  f: Z1 ^& x" B; s
  287. ; are decoded with unserialize, the data will remain the same.. v& ]" L) V2 Y9 h, D1 p5 M
  288. serialize_precision = 17
    , Z+ ]6 q( @6 M) T3 L$ F/ y+ r

  289. - S$ ^0 q1 p3 {
  290. ; open_basedir, if set, limits all file operations to the defined directory
    6 k. ~2 @' q4 b  \) V. D
  291. ; and below.  This directive makes most sense if used in a per-directory& t* D8 t$ G8 M: {
  292. ; or per-virtualhost web server configuration file.& W$ G4 _8 o; s
  293. ; http://php.net/open-basedir. z; [+ }7 t) d/ }% e6 _/ J
  294. ;open_basedir =, x/ L$ l5 n1 e( v4 ~: p

  295. * B4 A# U9 O, U( R
  296. ; This directive allows you to disable certain functions for security reasons.
    6 C( o7 `, V: m# p
  297. ; It receives a comma-delimited list of function names.2 ^2 a4 C# Y3 Z$ @+ T) e3 `( t( ]
  298. ; http://php.net/disable-functions
    # z1 v4 A* J  t: r
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru; S" w/ Z% A+ ~9 u2 y2 R& I' |

  300. & X  `& ?5 z  x2 l# W3 c
  301. ; This directive allows you to disable certain classes for security reasons.1 A2 V% x" D5 v  e
  302. ; It receives a comma-delimited list of class names.+ j8 H, _  j$ Y! C1 D+ j! M
  303. ; http://php.net/disable-classes, ~; ]6 ]$ |6 |0 @7 Y# |& }
  304. disable_classes =
    * H( C/ {" l# l) D9 g

  305. + s8 a5 ]( i8 ]4 j5 x5 X! z7 O! s
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in- P+ d) M$ K' m( E
  307. ; <span style="color: ???????"> would work.
    ; Q+ F7 t0 `8 m8 k$ |( f5 G# O$ ~3 d
  308. ; http://php.net/syntax-highlighting
    1 v# Y, j4 y% m7 r1 ]- F
  309. ;highlight.string  = #DD0000. @7 k% O$ o; A
  310. ;highlight.comment = #FF99007 R8 `5 t6 I2 w8 e$ H' r
  311. ;highlight.keyword = #007700
    6 M0 ^# \7 u& q" A) K
  312. ;highlight.default = #0000BB
    ) c0 T* i2 l- B3 J
  313. ;highlight.html    = #000000& q# f1 d. d- G" v3 _8 c; }

  314. * ^$ F3 e( I& X5 Z, e7 _
  315. ; If enabled, the request will be allowed to complete even if the user aborts( t5 g) {8 u( r% F) |
  316. ; the request. Consider enabling it if executing long requests, which may end up5 s) X7 R* S1 r$ ]7 o. ^
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 b. e* z' ^: N0 f8 m
  318. ; is to disable this feature.7 D9 z  u2 o- Q  N
  319. ; http://php.net/ignore-user-abort
    9 p4 E7 I& g$ f  m  B$ S3 I
  320. ;ignore_user_abort = On" l: N5 E+ _0 O
  321. ( x! i) _% Q# m/ t# G
  322. ; Determines the size of the realpath cache to be used by PHP. This value should# F  s2 {5 }% t, O$ X/ m6 _6 u. X
  323. ; be increased on systems where PHP opens many files to reflect the quantity of8 ?; M& l- a9 \! m
  324. ; the file operations performed.1 A9 X5 O6 y1 J, g! f5 b! c( Y
  325. ; http://php.net/realpath-cache-size
    7 c& `( E* f+ l8 e
  326. ;realpath_cache_size = 4096k  S% h3 |) P3 H* s
  327. 2 A# d, J+ k+ m1 w- A. Z
  328. ; Duration of time, in seconds for which to cache realpath information for a given& [+ }. s$ S' N2 ^) e. ~
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    / }( _. @. |; z+ V  m
  330. ; value.+ h% L5 Q! B8 c- {# F# F+ P; Y
  331. ; http://php.net/realpath-cache-ttl
    % [1 w: r' D4 a  p
  332. ;realpath_cache_ttl = 120
    ! e" e1 Q' }7 `* ~- x% x' b

  333. 9 A% V( R' W, a. {5 B& I
  334. ; Enables or disables the circular reference collector.
    $ z' X6 i% e# q! b$ u# ^
  335. ; http://php.net/zend.enable-gc2 t) ]( f- s$ Y# e) u3 o( y, R. c
  336. zend.enable_gc = On
    # w* l3 K1 b9 k: H
  337. / Q" h) Z6 a) O6 s5 X
  338. ; If enabled, scripts may be written in encodings that are incompatible with. ]! e: V- a& {1 F6 Z! s
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such( i* N( [7 z/ r( Q2 s
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 P; K* O8 _% c& y$ u
  341. ; Default: Off1 `: ?8 J" J7 [! t% n
  342. ;zend.multibyte = Off
    * Y5 k. m' k, o

  343. : q. n; _2 y8 K: j3 Y' R* k
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    - m  F! I- s3 b, P
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.7 t+ T3 b9 l# }" f& i; P' Y
  346. ; Only affects if zend.multibyte is set.5 t& a/ M. m' i  s, c5 S
  347. ; Default: ""
    1 U1 y* q* U) P4 Q2 ^! U
  348. ;zend.script_encoding =
    , C6 B0 I* V8 A9 a  v: g

  349. 4 J6 G7 j6 j  `
  350. ;;;;;;;;;;;;;;;;;
    7 z1 K7 L' n* U; `" s9 d# I
  351. ; Miscellaneous ;0 c0 t/ A8 {. R
  352. ;;;;;;;;;;;;;;;;;
    ! z$ p  z+ _4 \7 t

  353. / n- h4 c+ }, }
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    + A( v4 i) |( u: m) V
  355. ; (e.g. by adding its signature to the Web server header).  It is no security6 |$ a, z3 W" j( U4 @8 a# ?+ K6 S
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    7 x% v$ D+ {; K; T) H* g8 h3 S$ h
  357. ; on your server or not.
    & d6 {9 v* w' a1 {. L; \
  358. ; http://php.net/expose-php/ Q7 a" U' X/ p* M+ Y
  359. expose_php = On  U- o  _7 M& B, {$ w) W

  360. 4 J% O; s5 z$ o
  361. ;;;;;;;;;;;;;;;;;;;7 N, o+ }/ [  F7 j4 Q& b! _  ]: {. |
  362. ; Resource Limits ;2 B+ c0 E% f; ?  E
  363. ;;;;;;;;;;;;;;;;;;;9 T1 S( |, A& l
  364. 1 U/ C( ?- j3 X/ h1 s
  365. ; Maximum execution time of each script, in seconds, D# O8 V1 }" B' [" p$ ]3 v3 \8 `. m& i
  366. ; http://php.net/max-execution-time* K1 O5 _) _9 T
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ [" @  c* O5 X3 Z
  368. max_execution_time = 300
    : e% S& W( `1 ]. J- P8 p/ h
  369. " x; g& P+ g  R4 H% `+ v9 j: t
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 M0 K  m: R* {3 N
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    # B. ~0 u. {# y* Y9 u) s% u6 T
  372. ; long running scripts.( t% ]' z4 N+ T3 U; d" @
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 ?6 K* G. F- [' `, E
  374. ; Default Value: -1 (Unlimited)% I9 w$ ?: K' t$ q7 G0 T
  375. ; Development Value: 60 (60 seconds)
    / f, J. `- _% c( X0 z2 e- R
  376. ; Production Value: 60 (60 seconds); W/ q/ G7 ^/ V7 O* I7 @# Z
  377. ; http://php.net/max-input-time; V# R# c" K5 N/ F
  378. max_input_time = 60
    - ^$ x; J% q5 x
  379. 0 {$ |2 u! v; Y6 Y( V; @
  380. ; Maximum input variable nesting level
    , g6 B- ?0 D# P* o/ w
  381. ; http://php.net/max-input-nesting-level
    7 ~8 Z! U- b( m
  382. ;max_input_nesting_level = 64* b) U4 D% Q7 L/ j% Q0 _

  383. : R2 x! k+ S% K9 a: e5 K5 z# c
  384. ; How many GET/POST/COOKIE input variables may be accepted
    , v* O* V& }, b( B5 X
  385. ; max_input_vars = 1000
    ( X; U# z* \& s* r
  386. / g/ U- ]: ~& Z- K9 _( J# w
  387. ; Maximum amount of memory a script may consume (128MB)8 S* Q. u4 H, ^; B
  388. ; http://php.net/memory-limit8 g" H- X1 b2 {
  389. memory_limit = 128M
    1 u* [1 a+ }) Q" F
  390. : U% W3 j8 s* A! s3 V+ ^$ e$ C
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 X7 F9 m2 |. H
  392. ; Error handling and logging ;; F6 u2 G4 h( s" \
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 z4 t& o$ R, K$ @0 }# A3 o5 a

  394. ) |' [- Z) M* O7 s/ d
  395. ; This directive informs PHP of which errors, warnings and notices you would like, r0 C" r1 T/ p( J
  396. ; it to take action for. The recommended way of setting values for this3 Z; }3 o; W: R+ n. {
  397. ; directive is through the use of the error level constants and bitwise
    2 Q; ^. P6 g3 t# ]' g
  398. ; operators. The error level constants are below here for convenience as well as2 }: \/ g+ _+ E: x/ n% M) `
  399. ; some common settings and their meanings.
    - W! r4 j% a5 s" t, i
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% k, g) g& W' E* U7 }' m1 Q
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    4 a9 r! N2 F5 m% o( {- t! Q1 H! i
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    $ j# B- m. @' d9 i3 O
  403. ; recommend error reporting setting. Your production server shouldn't be wasting$ ?# _0 J* ^9 [
  404. ; resources complaining about best practices and coding standards. That's what) D, D/ [! ]. n
  405. ; development servers and development settings are for.
    , J+ d; Y; I' E' q' Q. v5 x
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ' \0 F8 \' W' v1 S! c
  407. ; means it pretty much reports everything which is exactly what you want during
      Q1 a- o8 q3 j# U- I- v3 H$ B/ p
  408. ; development and early testing.
    , [/ Q+ {. w4 ]+ @3 ~2 \
  409. ;. x5 z% [: ]! @1 |5 v2 ]
  410. ; Error Level Constants:, b* [7 v" ^9 H" e7 O) K
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)2 [- c$ t6 L5 h, W1 `
  412. ; E_ERROR           - fatal run-time errors
    5 v6 f) D! a1 E& C* t
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors; v/ n3 N9 X' J6 H1 h9 b
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    8 m( `- a, K9 @4 i, x+ Q$ Q* q
  415. ; E_PARSE           - compile-time parse errors2 x) n: |: m$ h, x) H9 _& V0 W
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    , Y: g% b( u5 v4 ^& s
  417. ;                     from a bug in your code, but it's possible that it was
    1 @1 g% N" L9 f0 z* P8 C
  418. ;                     intentional (e.g., using an uninitialized variable and# [+ m  T$ b7 v1 z( m
  419. ;                     relying on the fact it is automatically initialized to an
    ) r) |& j; t9 m3 `5 D1 v
  420. ;                     empty string)
    + @) A) Q$ ~1 v+ N# Q4 [7 Z
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: q7 Y4 c( A* |- }# {
  422. ;                     to your code which will ensure the best interoperability
    " u' F* G0 j; l) S$ w, p5 ~
  423. ;                     and forward compatibility of your code
      h- C4 J6 f& h# t8 ~& J/ S, z- z
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup; D! M. [! Z6 m% _
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's- _* T7 \( j+ [, K' C; @
  426. ;                     initial startup
    0 v, z8 S( r  H4 z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
      K7 p7 v& R+ A: t; ^
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  z$ p9 l, l& B: K; u% _, b5 {4 B; e
  429. ; E_USER_ERROR      - user-generated error message; t/ W! Y* v% c' Q9 r) C
  430. ; E_USER_WARNING    - user-generated warning message
    4 P4 W$ h! c6 M; k
  431. ; E_USER_NOTICE     - user-generated notice message
    & {" T" p2 X8 m% M( i% A4 I
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    : K0 Z  q, S$ e1 F+ x0 }# f* u6 ]
  433. ;                     of PHP
    0 E" k6 Q* V$ K- }# t0 y
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 W) c3 [9 F; B8 F- s
  435. ;
    : p- j: K4 E! q
  436. ; Common Values:
    4 A. h7 {7 c; h
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    5 T/ e7 |7 g& @+ [8 s4 E1 ~
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
      o! V2 _6 L4 D
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ! V& T+ o0 v. N0 }
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)1 }! y) s4 \( g
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , O, }- U7 s5 Y
  442. ; Development Value: E_ALL* y9 |3 M$ O" E, P" _
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' H- G. v6 M0 Q! o, }
  444. ; http://php.net/error-reporting
    . |3 C+ L+ ]2 p* V# E
  445. error_reporting = E_ALL & ~E_NOTICE' s# R# e) _- ]9 D6 X
  446. 3 I2 b( |& r/ r4 |; j  h. ]' q
  447. ; This directive controls whether or not and where PHP will output errors,
    + L) T  S% Q0 k
  448. ; notices and warnings too. Error output is very useful during development, but6 t& j" C7 w- X, l$ I
  449. ; it could be very dangerous in production environments. Depending on the code
    ' r: T9 O  _+ o
  450. ; which is triggering the error, sensitive information could potentially leak
      u% n7 @7 |( m
  451. ; out of your application such as database usernames and passwords or worse.
    8 P! M  A9 h2 ^2 @, l9 P4 x0 m
  452. ; For production environments, we recommend logging errors rather than
    0 i6 N8 g0 L, q/ w
  453. ; sending them to STDOUT.
    5 `6 o) m' O/ E
  454. ; Possible Values:
    0 a# A8 m8 s# ~+ }
  455. ;   Off = Do not display any errors* P4 k" G3 E6 T+ v4 P
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    7 F+ m* g, @' L- N/ J
  457. ;   On or stdout = Display errors to STDOUT
    8 j0 |' L- G6 ]5 U/ j: c
  458. ; Default Value: On/ \6 M8 G" u+ D" Y
  459. ; Development Value: On# ~. J2 ]! ^/ {( e2 e. N
  460. ; Production Value: Off" z% M) l$ }' h$ l/ C% S4 K
  461. ; http://php.net/display-errors
    # J- X% L  A8 G) W. V
  462. display_errors = On
    2 M" r/ U9 ]$ ?2 U5 f
  463. 6 N& i+ f: c! @) R9 g1 a$ a
  464. ; The display of errors which occur during PHP's startup sequence are handled0 k* ]: c1 O, q* i
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    6 ^+ q5 G9 K# y+ q% ~  G
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    & _/ B3 \  F. X$ Z( [
  467. ; debugging configuration problems. We strongly recommend you; d) s: s( M8 g3 Y
  468. ; set this to 'off' for production servers.
    # r. K8 @( J* W0 Z! [! b7 Y; ]6 |
  469. ; Default Value: Off3 N4 y& w: a& ^& _$ z2 K$ L8 b4 b
  470. ; Development Value: On
    , l5 M/ _! |6 s
  471. ; Production Value: Off2 m; E  S& E, l* D# ^! `
  472. ; http://php.net/display-startup-errors, s& y8 o( N6 E' A
  473. display_startup_errors = Off
    4 d! v( |" h4 f* e& s) a* A
  474. ) H3 Z( `; U) [0 ]0 c" ]% R' l' S
  475. ; Besides displaying errors, PHP can also log errors to locations such as a+ e  z: ?' D4 W; R5 [6 t
  476. ; server-specific log, STDERR, or a location specified by the error_log
    + R: A/ r) A' f; }7 H1 n5 ]
  477. ; directive found below. While errors should not be displayed on productions
    * V$ ^) y- M6 w' {% X
  478. ; servers they should still be monitored and logging is a great way to do that.
    , R  O8 V7 x0 G' h- T
  479. ; Default Value: Off7 c: z9 e# I0 Z: \3 ~& A
  480. ; Development Value: On; C7 \+ k% d# K. J; s; B
  481. ; Production Value: On) U6 V! [4 R1 L9 W% n& ?5 g
  482. ; http://php.net/log-errors
    8 a% l! l8 ^! l% W3 b
  483. log_errors = On
    # f9 B! p( z: B4 Z
  484. & B7 _* Q1 X) j! H7 J
  485. ; Set maximum length of log_errors. In error_log information about the source is' s* K3 c: H. l
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.. R3 W4 A9 w/ }+ `. W8 g0 U, V
  487. ; http://php.net/log-errors-max-len: K3 y& a/ p8 @/ U2 N4 Q
  488. log_errors_max_len = 1024' o4 i) W  C) H, ?) ]3 G
  489. . c9 K8 _# p" r  o! Q" k1 ^4 G! t' \
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same" f6 ?& B+ A3 {
  491. ; line unless ignore_repeated_source is set true.' q( y2 g2 u- W, r) o
  492. ; http://php.net/ignore-repeated-errors* k6 s% r: Y+ N, c
  493. ignore_repeated_errors = Off
    6 H% _1 G! f! f. w1 v  u
  494. * m$ H/ M1 u: c/ f8 a
  495. ; Ignore source of message when ignoring repeated messages. When this setting8 k. _, j8 p- e- n$ {6 y
  496. ; is On you will not log errors with repeated messages from different files or
    ! R& @( Y% p8 M6 W, C! @& q8 D2 ~
  497. ; source lines./ {$ p2 x* B, N1 N* e5 R2 }
  498. ; http://php.net/ignore-repeated-source! G6 r7 m0 v8 s- C
  499. ignore_repeated_source = Off
    ( {5 m# p4 q( W' ?+ p4 W
  500. " ?6 X! C1 G% g7 a  G* g) m) P! |
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on& c% k+ i: O* i
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    6 P/ i/ O3 U. C3 g+ [6 \( P7 g1 c
  503. ; error reporting includes E_WARNING in the allowed list
    ; q) i0 r2 X' n0 Q, f9 t+ s
  504. ; http://php.net/report-memleaks
    6 E' M. ~2 p. B3 Z' b$ Z
  505. report_memleaks = On' \! P; p% u* a! T) Q
  506. 5 d- T9 ?% m( \$ `" \
  507. ; This setting is on by default.
    4 R5 d+ q( }" u8 A
  508. ;report_zend_debug = 05 N7 R. e" z! S" `) B7 I$ y
  509. 7 D, G  T- b5 @' S
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value, a& O: B5 h! m' S. x
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    0 [" w9 W, A2 Y" X# m
  512. ; however be disabled on production servers.
    % J. e. d+ c$ e6 P2 N; `
  513. ; Default Value: Off
    3 K5 i4 c' I/ M  E- @
  514. ; Development Value: On1 O3 y7 n  g( Y% J
  515. ; Production Value: Off
    ) C  Q/ h4 y/ D8 q6 X
  516. ; http://php.net/track-errors& c% X( e' C' d* o5 D- x3 N
  517. track_errors = Off6 J. o* r" Z7 L  D& o
  518. * ~0 z5 c2 Y. b
  519. ; Turn off normal error reporting and emit XML-RPC error XML) d4 f; M3 Y0 j6 E. I6 i
  520. ; http://php.net/xmlrpc-errors
    ( e, o* L* f  n5 m% |
  521. ;xmlrpc_errors = 0
    & m0 O  k" @/ S( W

  522. * x' k( t  t, C
  523. ; An XML-RPC faultCode2 w1 b. x8 m1 s3 p! m7 v
  524. ;xmlrpc_error_number = 0
    9 a$ U- i0 T( ?

  525. 7 B1 v$ ~: F4 Z( g# K5 W- p- n
  526. ; When PHP displays or logs an error, it has the capability of formatting the3 i, i' ^* G4 ^  @9 b. b
  527. ; error message as HTML for easier reading. This directive controls whether
    ; h) R4 F$ f1 _" \7 I+ S2 |. {0 B
  528. ; the error message is formatted as HTML or not.
    ) x$ {  \) `1 v5 L0 @
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI3 h8 N5 }* n0 A( B
  530. ; Default Value: On
    1 g5 O1 w! Z6 Y' s+ ?: e
  531. ; Development Value: On% p5 X1 [: t3 C" U$ `7 ^# W
  532. ; Production value: On; C) l0 N" x& Q* E% L
  533. ; http://php.net/html-errors
    0 o4 B; b: A# o% l, s! X
  534. html_errors = On* m; v( O  h: C2 j
  535.   `- L; [& n& u8 I2 Q% `9 y
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      h7 r5 I; E) c
  537. ; produces clickable error messages that direct to a page describing the error
    + G* P! D( I! [8 i3 v
  538. ; or function causing the error in detail./ O: J. [. p& P  {  {# c
  539. ; You can download a copy of the PHP manual from http://php.net/docs; n% h! {8 T0 H6 r
  540. ; and change docref_root to the base URL of your local copy including the
    . P) }  e) ]9 x2 M
  541. ; leading '/'. You must also specify the file extension being used including
    ( n+ ]* U7 G9 R0 X" T
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which( J3 p0 {. d( ?# n# z
  543. ; case no links to documentation are generated.
    ( [# @$ ~3 q4 G: m8 E
  544. ; Note: Never use this feature for production boxes.
    $ I  k9 T; x! Q& V8 W
  545. ; http://php.net/docref-root/ M% J6 ~# a, p  p3 f% c
  546. ; Examples" I$ v3 A+ {. p5 I, L
  547. ;docref_root = "/phpmanual/"
    0 h$ A% ~1 l  n  D7 a, ^; G! ~1 h
  548. ; E0 }1 L2 ^" O# Z
  549. ; http://php.net/docref-ext! C- v+ I' }8 c! s
  550. ;docref_ext = .html# c3 x- Z5 }/ _- E0 c. \
  551. & I' Q4 u! R8 m+ B+ l* U& v
  552. ; String to output before an error message. PHP's default behavior is to leave
    + o( V: P6 s6 D+ u2 }' y" a, a* Z
  553. ; this setting blank.
    - i6 X5 a7 \2 A7 p, }2 ?
  554. ; http://php.net/error-prepend-string
    # ?) y0 u: C& ^0 ?
  555. ; Example:
    . X6 @9 |3 Z. r1 P3 _: [
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    : J" L6 q3 `+ G0 @
  557. # C5 O1 U% C. I# B- r; f6 z+ L
  558. ; String to output after an error message. PHP's default behavior is to leave
    5 p9 T7 o: {, G+ \$ W7 g
  559. ; this setting blank.4 \. \& \0 P! f" ?5 V- N
  560. ; http://php.net/error-append-string
    2 `8 {/ w2 g1 O
  561. ; Example:
    7 g5 G" @4 @9 C" y
  562. ;error_append_string = "</span>"
    ; y! q( G+ Y. x  p" N. v  _9 t3 I: y/ u
  563. - ^' Z7 M/ e% L
  564. ; Log errors to specified file. PHP's default behavior is to leave this value& G) {, n; i' t8 l- C
  565. ; empty.& v3 j6 Q" _8 r0 _' y6 U2 w
  566. ; http://php.net/error-log
    , r2 `7 b6 s0 q) g& x5 H5 Y/ u
  567. ; Example:7 z. u* o3 b: f6 I, a0 d
  568. ;error_log = php_errors.log
    4 h" I6 S6 Y) \& F
  569. ; Log errors to syslog (Event Log on Windows).% `' n- l* P% j% Z% b3 H) }; E4 \
  570. ;error_log = syslog9 g+ G2 j" F* K
  571. - v* O2 R6 `9 L. ?
  572. ;windows.show_crt_warning
    ! @) Y' ?; [6 U- S9 L, R% p% h
  573. ; Default value: 0
    . e8 ~) k+ i) ^: r( {. Q
  574. ; Development value: 00 \* e; Q$ b- s% J5 Y. f; f
  575. ; Production value: 01 A9 v' h8 s& g' [1 I3 U
  576. + |4 r, _( ^$ B& T9 X# @* }! j
  577. ;;;;;;;;;;;;;;;;;
    1 T$ l+ M# {0 \4 C; I+ ?" R9 `! K
  578. ; Data Handling ;
    . Y; {: e# C+ U6 g  f/ a
  579. ;;;;;;;;;;;;;;;;;
    8 r0 e& B3 u+ x4 e( ]3 E. s9 H+ m
  580. ' q; {; Y8 A6 A; r9 C
  581. ; The separator used in PHP generated URLs to separate arguments.# Z( y! ~; B* @2 b
  582. ; PHP's default setting is "&".+ c0 w: y, i! m8 L- a
  583. ; http://php.net/arg-separator.output3 N2 m2 H4 M+ k5 d9 H) ~; I; N  W
  584. ; Example:1 Z- c( S' L  k& A
  585. ;arg_separator.output = "&"5 Z% U6 ~' p# y  _
  586. * v6 }; k4 c: w
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    - V  {) t3 x& T; n# D+ h
  588. ; PHP's default setting is "&".
    ! j6 x4 q: Y. d1 D7 T
  589. ; NOTE: Every character in this directive is considered as separator!
    3 X. }- t# m. d9 Y
  590. ; http://php.net/arg-separator.input. A1 s) [; m( _- A1 x; J% [: c4 Q; U
  591. ; Example:. c% N; g) W; A8 y* Z
  592. ;arg_separator.input = ";&"
    8 n4 K% Q( Y# A/ p, N

  593. 1 i3 n" }/ k% M3 h9 L
  594. ; This directive determines which super global arrays are registered when PHP
    1 O) G- @; t4 R6 {$ ^* R; U6 a5 l0 H$ l
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    $ }+ @5 u. `% {- N+ ~! u9 m* R  l
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    : s( V$ k8 s' x* t3 n, s$ d# {
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    $ U9 D. ^1 v4 `4 ]- e1 _
  598. ; used as the others, ENV is not recommended on productions servers. You0 _( B; o2 c5 C  M& Y
  599. ; can still get access to the environment variables through getenv() should you
    + E& f4 Q' N$ F: J3 C
  600. ; need to.
    9 c; n; Q' \  Z8 Q' E
  601. ; Default Value: "EGPCS"# V9 o% x5 B) {$ x
  602. ; Development Value: "GPCS"& ]  b; K5 E- g3 r8 ^; d6 g
  603. ; Production Value: "GPCS";
    : O$ u3 p  a1 W. I
  604. ; http://php.net/variables-order5 `/ s9 |5 k3 l$ ~% u
  605. variables_order = "GPCS"! i1 R8 v% T0 X: B, t7 ]1 K( r% _
  606. : S$ B+ F/ S7 p
  607. ; This directive determines which super global data (G,P & C) should be2 A7 r/ h" A3 N  h& C, o( v+ j
  608. ; registered into the super global array REQUEST. If so, it also determines. X* V; ^3 L% o' E
  609. ; the order in which that data is registered. The values for this directive
    . L+ j- ], O/ b4 ~1 B. O2 R
  610. ; are specified in the same manner as the variables_order directive,
    * C4 z4 A7 r9 h
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 Z1 ^9 X1 w- H4 {) `( t
  612. ; in the variables_order directive. It does not mean it will leave the super/ X8 V" @. M- w& s  r7 {
  613. ; globals array REQUEST empty.5 }3 P: O6 ~+ ?2 Z) ~2 J5 F
  614. ; Default Value: None
    + W8 @1 c5 L  M4 b: _
  615. ; Development Value: "GP"
    6 r6 y5 S. ~/ f! X) y5 C
  616. ; Production Value: "GP"
    " g# m- R/ m- P0 v) K! a
  617. ; http://php.net/request-order+ A) D$ d) `9 o/ p
  618. request_order = "GP"
    # B6 H7 e2 ~$ I4 l( W1 y+ x
  619. 8 o9 O0 a6 a; F) g4 U
  620. ; This directive determines whether PHP registers $argv & $argc each time it  o. D( Y0 @3 m' {$ F, U! c2 s
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    $ H6 h% Q# j4 b% b" a6 C
  622. ; is invoked. $argc contains an integer representing the number of arguments
    + V3 S5 n. I$ n6 {, {
  623. ; that were passed when the script was invoked. These arrays are extremely( F8 i/ y! K* H: A+ L& e
  624. ; useful when running scripts from the command line. When this directive is
    3 ~  H3 E/ d& l: t3 p. w8 l
  625. ; enabled, registering these variables consumes CPU cycles and memory each time1 W9 P1 N: P$ I- g7 `, w. S
  626. ; a script is executed. For performance reasons, this feature should be disabled6 {7 m* w+ l- i8 L
  627. ; on production servers.3 o8 ]* g. q1 k. I' |
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' ?3 Y! A# a& t- `" k
  629. ; Default Value: On! B+ d: h+ E  G8 n4 t. V
  630. ; Development Value: Off
    ; j9 ~1 k: H5 T3 ~
  631. ; Production Value: Off
    ! J( Z- M5 ^0 H& Z
  632. ; http://php.net/register-argc-argv  P9 c/ C* {, ~, r) r9 I. d
  633. register_argc_argv = Off
    : U" ~" q( b8 J# z  P/ z( ~6 _: i

  634. : K1 b) e" _7 ~$ \& c# W
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    6 U) {9 H, Q$ N! w" ?8 Q$ ?
  636. ; first used (Just In Time) instead of when the script starts. If these
    4 n) V: _9 f7 o2 V) W6 S
  637. ; variables are not used within a script, having this directive on will result
    3 `! d5 @" c7 d# w. K, P
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled: _3 R( W+ f& ^. W
  639. ; for this directive to have any affect./ J4 ~3 e5 o4 w( q: q2 c
  640. ; http://php.net/auto-globals-jit$ }! M7 S3 Q$ e" }: }
  641. auto_globals_jit = On
    2 S  B* y. _: H: J

  642. ' L6 c1 W3 v5 `8 P3 b' y$ h9 x
  643. ; Whether PHP will read the POST data.
      f% E: P5 q' l: U
  644. ; This option is enabled by default./ S. r/ ]7 E; V
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST2 B$ B- i1 [* K5 M, O# @) C
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ; J  u: u) Z* i6 i4 n% x6 e+ y
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    # S3 N/ [& S3 W1 ~2 [* N
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.. @+ G9 c  @  u* u
  649. ; http://php.net/enable-post-data-reading
    7 _& u. v5 J0 J# o9 P# n; _
  650. ;enable_post_data_reading = Off" m8 a. S6 K7 d3 _& s1 C
  651. ( S* X0 Y5 @( c" C& g
  652. ; Maximum size of POST data that PHP will accept.
    / N$ c. R- W  X* @) y
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% `) C0 D& H' f+ \, S5 z6 v9 I, I
  654. ; is disabled through enable_post_data_reading.
    ! M- w$ a/ L- M( U* G8 X
  655. ; http://php.net/post-max-size
    & Y9 k8 k9 @& H* R" k  x# I
  656. post_max_size = 50M. M( i4 E" o6 E1 q. g* }
  657. " ]2 H, @9 @5 Y6 _  ^
  658. ; Automatically add files before PHP document.% R7 E8 R* a# p& X7 ?
  659. ; http://php.net/auto-prepend-file: [8 q  e$ K/ G  u7 z. }3 h' n3 p
  660. auto_prepend_file =
    : G6 V3 j7 _. m5 o/ E6 q/ X

  661. ; R) B# I  B! y: n# T* x( t' S
  662. ; Automatically add files after PHP document.
    ; A2 g* k* J: A
  663. ; http://php.net/auto-append-file
    " z  a8 [8 D4 F& G
  664. auto_append_file =
    ) U/ p/ i8 z3 Y6 M) Y6 Z

  665. % t1 w7 [" a/ k  Z
  666. ; By default, PHP will output a media type using the Content-Type header. To% T; g1 R  c/ K. ?3 a: Z  |! l
  667. ; disable this, simply set it to be empty.
      ^5 i# M' k" `* _  z* g
  668. ;
    ; v5 D. |. d! {$ X6 G6 w2 {) ^% X
  669. ; PHP's built-in default media type is set to text/html., k" P* f6 [9 x7 Y; T( a3 `& j7 o
  670. ; http://php.net/default-mimetype% {" F) H4 [+ m3 x
  671. default_mimetype = "text/html"
    3 U8 |" i: z  d

  672. ! P1 N% l. I( t% G: A7 l
  673. ; PHP's default character set is set to UTF-8.- G7 n& {; Q$ t3 ~3 O* S" j
  674. ; http://php.net/default-charset- X+ F1 y- z7 T2 f  ~
  675. default_charset = "UTF-8"5 Q% u% |0 G0 l) \

  676. 1 R& V1 b1 r2 X9 [7 v, B( h% t
  677. ; PHP internal character encoding is set to empty.
    4 {7 k. j4 }% D0 p: y- v, h
  678. ; If empty, default_charset is used.
    7 d/ [1 r- {! r4 j
  679. ; http://php.net/internal-encoding; V2 n* I" m; ^7 \
  680. ;internal_encoding =* o) v( w1 X7 {  m2 D
  681. 4 I$ b! I: Z. w2 q
  682. ; PHP input character encoding is set to empty.
    ' q2 \! m+ s. K; f& V6 K: `! R
  683. ; If empty, default_charset is used.
    2 V( s* h0 b, h7 Y) _9 X
  684. ; http://php.net/input-encoding
    ( a2 x4 R- ?3 ?* \
  685. ;input_encoding =
    7 J% h3 o  H( c, X6 B. V' C

  686. 5 R- U5 j- b3 }' t6 ~( y) ]# I
  687. ; PHP output character encoding is set to empty.' g! Y  X& K; A( z1 g
  688. ; If empty, default_charset is used.
    # y& W. V. ^! ?
  689. ; See also output_buffer.
    + p) y" ^3 x7 m, s+ y- X" s1 g
  690. ; http://php.net/output-encoding
    % |# l: |1 v2 r9 X
  691. ;output_encoding =
    $ h$ |: s/ L8 ]* H

  692. ) z" R3 I3 T1 [
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " X0 L  K: G# O" [7 d4 E9 r
  694. ; Paths and Directories ;
    ; \) j8 r* F0 x( _* z1 R
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 z) s' K7 O8 i+ E" K0 _
  696. & G% o3 h" _6 I. m2 X% C
  697. ; UNIX: "/path1:/path2"
    " Q" t: U- H' G0 ?; ?8 B- Z
  698. ;include_path = ".:/php/includes"
    % p5 r/ h3 `5 `8 s5 R
  699. ;
    % x* f$ g% E# T. l
  700. ; Windows: "\path1;\path2"- _' @; j( r' O" d: h- h
  701. ;include_path = ".;c:\php\includes"2 K' l3 J0 f! @- M7 k
  702. ;' L! u0 L  u- _! }! z$ V
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    / {" @2 S! O- ]6 Q" x
  704. ; http://php.net/include-path
    8 s1 h  o0 A% q0 l; A' q
  705. 7 {" c6 z# B4 m: d5 j0 P
  706. ; The root of the PHP pages, used only if nonempty.8 ?0 \8 P2 B# l+ z# F: T* l: [
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    . k* V! H7 K& p3 Q& D6 _" d: ~9 }
  708. ; if you are running php as a CGI under any web server (other than IIS)
    6 J2 ^9 Q; H- e: x
  709. ; see documentation for security issues.  The alternate is to use the" ?# \1 x2 F: T  g. m
  710. ; cgi.force_redirect configuration below
    ( {  l: j8 b- a- D& D0 q
  711. ; http://php.net/doc-root# i" S  i. Q; M
  712. doc_root =; d  }3 S- T  p, I

  713. ( k' L3 s- W. Z
  714. ; The directory under which PHP opens the script using /~username used only6 T0 H7 I) s/ R
  715. ; if nonempty.
    5 B( l. ]; H! [9 {5 {! Y
  716. ; http://php.net/user-dir0 m, l! L7 Q+ ^7 W( T$ @( d* a6 _
  717. user_dir =
    7 ^- c2 ]2 G$ R4 t4 x& m3 ~0 N

  718. # g8 S) D4 U- B: R! {- n
  719. ; Directory in which the loadable extensions (modules) reside.
    - `. [' `3 R" f) M4 S3 M0 M1 \
  720. ; http://php.net/extension-dir
    3 P/ [: Y, p9 Y5 }
  721. ; extension_dir = "./"& U$ |! r  ]: \3 a; ?, M* C
  722. ; On windows:! {4 L7 c' q/ {( |2 [- P
  723. ; extension_dir = "ext"
    ! y: V3 t& ^! h
  724. + k' n8 B' H) W8 P0 e
  725. ; Directory where the temporary files should be placed.
    # p" k4 }; j  b! I! J, S/ B* g
  726. ; Defaults to the system default (see sys_get_temp_dir)6 H2 z( G& H: i6 B, {
  727. ; sys_temp_dir = "/tmp") p. \; g( m1 l/ f
  728. 5 E/ n3 \' `# D9 W/ D8 m' H# s/ p
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , `# N( T$ T4 @, m
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: f: O% z6 [, c
  731. ; disabled on them.
    ; ]* v- Q1 _+ x* V3 W% C
  732. ; http://php.net/enable-dl( L. U$ ], }, `7 Q  D% J! I
  733. enable_dl = Off' V0 k4 P( e& S& p, d4 N. X; I

  734. * q' [" i8 m/ }. Y
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; Z: r3 b8 u& a5 n8 [
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can- F% ]) {, \$ F! \# G+ f: g
  737. ; turn it off here AT YOUR OWN RISK
    ) j0 b& @& @/ s6 y
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ W+ Y6 Z$ C9 ?1 m3 F2 Y4 P
  739. ; http://php.net/cgi.force-redirect
    $ {: [. d2 e! \8 h5 a+ |
  740. ;cgi.force_redirect = 1
    ; S' ~2 M5 {9 e0 ^

  741.   S0 m4 q( g* C% m3 ^
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; U8 U# Q( @! q: g* o
  743. ; every request. PHP's default behavior is to disable this feature.0 o9 e( G( B! i8 A) q
  744. ;cgi.nph = 1) j( s- ~; W  w& |* \( O0 W
  745. 9 \' z8 s1 a4 `4 U4 Q  u/ z2 [
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : T" s: A2 C; b* c9 f8 d  K, F
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ) M2 Q. j3 N2 U5 ^% p' [" c+ ?$ L
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY: s, p) B" f' z. |( p; p1 |. p: u# W
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 L) _' N, ?) U) \, X
  750. ; http://php.net/cgi.redirect-status-env
    6 {: {, x. R1 b# ]" Y1 V' R1 x" n
  751. ;cgi.redirect_status_env =
    / h- F5 S) r' t: @
  752. . a/ Y# l% ]) l+ A
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , S3 C3 {3 N' R, V/ M
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 @$ C( O2 |% ^# z; L" h# m1 E
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / h7 H) i7 E( x4 ?' {$ x$ S7 i
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    - I# q% h: ~1 o3 D( a6 P* P/ L
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts+ e% I) @7 b' o( q
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ' D; l1 W+ L; Q; M% j
  759. ; http://php.net/cgi.fix-pathinfo, V6 O. S- W, O3 H; u% r
  760. cgi.fix_pathinfo=1
    " M( S! U& g9 `  H" M( R9 P
  761. + D" r' x4 B0 @
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& x- q/ _1 n0 ?5 A# P% _6 w5 R
  763. ; of the web tree and people will not be able to circumvent .htaccess security.) ~7 u4 `4 u* q1 e0 J
  764. ; http://php.net/cgi.dicard-path
    0 b, l# E; c1 e) s" Q: h
  765. ;cgi.discard_path=1
    ) @+ J; B* B4 @. m% x

  766. 3 a; Q8 _  A" N% j' o7 D# M9 F
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    1 C% A, A0 a' `/ v3 l
  768. ; security tokens of the calling client.  This allows IIS to define the, r* v) U$ d. r; I
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    % {, m. K6 p: B5 T: n1 j* e  _
  770. ; does not currently support this feature (03/17/2002)) z# u. H6 W% Y& k) @
  771. ; Set to 1 if running under IIS.  Default is zero.1 _" I, p3 D0 v) G  k; e4 x2 y
  772. ; http://php.net/fastcgi.impersonate
    ' S; i' Q% O* @2 i* X
  773. ;fastcgi.impersonate = 1
    - ?7 v) [8 t& y3 T4 o. Q
  774. 0 r+ K  _+ S( f
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable& R) Z. E' c8 v$ l1 N" K1 h' N
  776. ; this feature.+ W) y4 ?; h- p
  777. ;fastcgi.logging = 08 l7 M! k* a% S+ A/ D; C" A
  778. 0 c- y" l( V+ g
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    # z; D8 ]) `# W# J4 d9 V4 ~9 {
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that0 u+ Y" u7 s" t6 v9 c, ?2 x  \
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ( U5 c* _6 X0 T5 K
  782. ; RFC2616 compliant header.
    ( X4 k6 K' D3 D
  783. ; Default is zero.
    " [0 P( w. A- Z# a: C
  784. ; http://php.net/cgi.rfc2616-headers
    # ^7 _! I1 \; i  j  h' T
  785. ;cgi.rfc2616_headers = 0) D+ C0 F$ I# r

  786. % P  g1 n( ]7 v
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ( e! Y+ [8 f$ P* G* C: l8 x
  788. ; (shebang) at the top of the running script. This line might be needed if the: V" A- R5 V( p$ ?
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    9 {5 {: g8 i" `+ T
  790. ; mode skips this line and ignores its content if this directive is turned on.
    / a$ [3 R) i3 X8 D1 H+ J
  791. ; http://php.net/cgi.check-shebang-line; e. `6 j% F8 t8 b0 k  Y5 ^1 Q
  792. ;cgi.check_shebang_line=1! ~" m! L' u: }; Z; _. U9 [- i

  793. " u8 k9 ?8 O, ]& i; i* H, |
  794. ;;;;;;;;;;;;;;;;
    , }9 s3 ~. Q! b  h5 {) v# H  a' Z4 H
  795. ; File Uploads ;
    $ A* i* u7 G( H3 d
  796. ;;;;;;;;;;;;;;;;
    ' E9 P6 d5 \! g# ^$ e+ S8 _
  797. 0 y1 Y! K, d1 b4 R; b9 n
  798. ; Whether to allow HTTP file uploads.; {6 L% a. }' p% d5 K5 Z" V& @
  799. ; http://php.net/file-uploads
    7 ^* s4 G# a! ?6 o: t: w# `+ f2 Q
  800. file_uploads = On- k/ V7 x' z! P5 ^# H) ~
  801. % B3 @% z7 w* A
  802. ; Temporary directory for HTTP uploaded files (will use system default if not* M2 r; A3 y: ]
  803. ; specified)." E% z4 c# E6 ^( C. |2 ?% u
  804. ; http://php.net/upload-tmp-dir! W' o% |/ k& v# ]  R6 \
  805. ;upload_tmp_dir =
    5 W7 k8 d" A: R; {: m' q2 l) j

  806. " S2 ]2 ?1 U# {
  807. ; Maximum allowed size for uploaded files.- @! H, j/ ~4 X& d
  808. ; http://php.net/upload-max-filesize
    * z* p* x( e3 \1 x. r5 B
  809. upload_max_filesize = 50M
    + d$ |1 b7 E% q2 _
  810. 2 [; G. P7 \6 e  p+ g9 {/ I
  811. ; Maximum number of files that can be uploaded via a single request
      {- `" ]& H8 J5 |! n$ h
  812. max_file_uploads = 20
    9 v3 r6 d3 T  C+ |
  813. : R( i2 M" W4 U" T/ f4 O+ U
  814. ;;;;;;;;;;;;;;;;;;5 z3 }+ k1 J% |- A/ H5 l
  815. ; Fopen wrappers ;
    ! r, W5 s  A, ]( N3 g6 |2 f
  816. ;;;;;;;;;;;;;;;;;;' a6 i7 B& [( n0 r0 \
  817. 8 w. V5 o& I0 z
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.8 U2 m# W7 l- G! C
  819. ; http://php.net/allow-url-fopen
    ! T: o' k2 C9 W' n7 K2 Y6 U) f+ ?
  820. allow_url_fopen = On
    1 e: |% X! S* X8 Q+ }& g

  821. 9 o8 w1 [/ H3 v4 a3 @; K2 y
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 N& U$ g+ n, Y" }- a  ?/ B
  823. ; http://php.net/allow-url-include
    . H2 N7 G" ]* {! h# z
  824. allow_url_include = Off, v/ _4 Q& `3 q4 @! S$ S2 d
  825. ) Q" R& u$ |! e: s+ w! B, [
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    7 a7 t3 k0 P9 s8 w& q5 [: E
  827. ; for this is empty.
    ; K) V0 k$ {* w2 @# y3 N
  828. ; http://php.net/from; C& T% `9 ]( m1 v5 c, b
  829. ;from="john@doe.com"
    ( a; e4 K% @! {! Y2 R1 G. M
  830. * z$ }) W- m$ S) U
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    1 {, P4 V6 x. `* }5 e+ @
  832. ; http://php.net/user-agent
    ) S! u: h0 U6 o! M$ D" O! Q
  833. ;user_agent="PHP"
    4 E. P( D3 ~$ u* ]3 X2 j
  834. 8 j) x+ h! q( s5 u! X
  835. ; Default timeout for socket based streams (seconds)
    2 F! E! {) ^1 F! [
  836. ; http://php.net/default-socket-timeout
    ; E2 ^5 M* u5 ~7 w4 n
  837. default_socket_timeout = 605 Y$ Y" e' @( g+ N- l( @
  838. " a3 S/ [+ R; T; U- a. U
  839. ; If your scripts have to deal with files from Macintosh systems,
    ) @3 \9 P  p5 x
  840. ; or you are running on a Mac and need to deal with files from
    $ ^/ d5 ]' }2 r) b9 D9 ]
  841. ; unix or win32 systems, setting this flag will cause PHP to
    : d7 F4 X, R; u9 s
  842. ; automatically detect the EOL character in those files so that1 a# }4 y  _9 ~! p
  843. ; fgets() and file() will work regardless of the source of the file.' w* a* Q  D8 ]* ^; @8 W
  844. ; http://php.net/auto-detect-line-endings$ o8 g5 S# }6 A2 R4 B# I) Z
  845. ;auto_detect_line_endings = Off
    6 g; e* ~# Z- O/ y& H8 p, t

  846. 2 E& A. u  a9 d- V
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ; k  B9 x) C, N# ]5 Q4 T
  848. ; Dynamic Extensions ;
    * j) H2 j) C/ d) J: I
  849. ;;;;;;;;;;;;;;;;;;;;;;6 m$ C: m7 c, L2 W+ l8 V
  850. 4 z; R: Y7 o; [9 [
  851. ; If you wish to have an extension loaded automatically, use the following" S& a0 q/ c- |  Z
  852. ; syntax:
    ; G5 P% }. j9 M% P
  853. ;
    ! ~: u! F. G2 ]1 p* z8 G/ O9 w2 \/ z
  854. ;   extension=modulename.extension. ]& \1 v# e2 p
  855. ;
    ! [7 w% ?# m% w( v
  856. ; For example, on Windows:& x& t5 M8 p" s3 _
  857. ;
    + G% Z7 A# }0 ?6 V$ Q; z3 J
  858. ;   extension=msql.dll
    * s& ?4 j6 s, ~# F. C
  859. ;( m+ M* v6 Z2 O. R8 q
  860. ; ... or under UNIX:
    & M+ B, p  Y0 i) ]) F
  861. ;
    6 I2 z2 s4 _2 u3 o2 y' Q% U  Y4 D+ h
  862. ;   extension=msql.so
    ( ^- ?% m- ^5 f5 Q3 F
  863. ;
    1 X  T6 E" Z( h/ e" L) `0 E7 W8 t
  864. ; ... or with a path:
    # L. x& Z$ q1 v
  865. ;
    , M% A& J$ {) F0 p8 o! I  A9 ?5 l
  866. ;   extension=/path/to/extension/msql.so
    " @* v4 V8 c  R! t
  867. ;
    / O9 s# p' H9 j+ _; D/ W9 Z& O
  868. ; If you only provide the name of the extension, PHP will look for it in its
    6 F: Z2 _% M. [0 h8 r
  869. ; default extension directory.9 j  R# x) @+ D! b$ e* }
  870. ;
    9 ?+ b! i+ [, h. u) ]) I9 o  d  l. o
  871. ; Windows Extensions
    9 |7 x4 l* e: c3 c/ @5 s, P
  872. ; Note that ODBC support is built in, so no dll is needed for it.4 H" y- Y5 }; {: {3 l& E
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)5 v* b% W, T* B  X
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    " ^- q! o$ L. @" m) n+ v$ c' V
  875. ; Be sure to appropriately set the extension_dir directive.
    ; h: Q' N" S+ M( B$ W+ Q
  876. ;
    / g* O4 z" o7 q, C& G: z
  877. ;extension=php_bz2.dll0 g: W7 s7 `7 ^$ Z0 [# y
  878. ;extension=php_curl.dll/ M9 K; a- l4 `! [' n  I3 w; q' `
  879. ;extension=php_fileinfo.dll
    % u" x6 P8 w9 m. _% k7 T
  880. ;extension=php_ftp.dll  h5 _9 t. ?  N) m( X* i
  881. ;extension=php_gd2.dll
    " E) g6 O7 }& O$ _) i
  882. ;extension=php_gettext.dll
    0 c% d  i4 M( M% n$ i
  883. ;extension=php_gmp.dll, ?; l( t8 F5 g' c
  884. ;extension=php_intl.dll
    1 A1 o6 e7 o1 T2 q( ?4 v; K
  885. ;extension=php_imap.dll
    0 f3 H7 Z( o: e
  886. ;extension=php_interbase.dll0 T9 j% P5 S4 A: E
  887. ;extension=php_ldap.dll$ k7 ~1 I) T, J% `' e
  888. ;extension=php_mbstring.dll
    , X% V% z+ X: ~& U5 K8 b
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it- H: [+ L0 o$ x$ }. y- p& W
  890. ;extension=php_mysqli.dll2 [6 ]; ]7 a: j: d. P; p9 J
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client! h% i+ }' |! n9 J0 i0 F% D) e
  892. ;extension=php_openssl.dll3 x7 p; w8 N# q$ O" A8 i, ?
  893. ;extension=php_pdo_firebird.dll
    ! d7 G' }4 ^( f! o& W0 Y
  894. ;extension=php_pdo_mysql.dll
    4 s! z+ d6 e6 @/ k9 J
  895. ;extension=php_pdo_oci.dll
    4 c$ @. F9 h1 D% @% r3 K
  896. ;extension=php_pdo_odbc.dll
    8 c& `( u7 E7 [4 e+ d% I% u; F
  897. ;extension=php_pdo_pgsql.dll
    5 Z, R5 g6 G0 w/ g% W$ y0 j
  898. ;extension=php_pdo_sqlite.dll
    ( U! x* k9 K, S8 o8 d5 t
  899. ;extension=php_pgsql.dll
    5 e- ]. s' @0 V+ `0 o; d- b
  900. ;extension=php_shmop.dll
    - i! Y* \. L  C9 G* v1 p4 n
  901. # b0 h  o. i. s6 J' O9 Y: d# i9 m
  902. ; The MIBS data available in the PHP distribution must be installed.! N  Z  K- ^* k/ G' A6 Z2 s
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    0 S  ~" i3 y6 ?- b6 _, d
  904. ;extension=php_snmp.dll
    , a! ?& }% _% Q3 L
  905. : b+ C; {1 w$ j( y& \$ R
  906. ;extension=php_soap.dll( W6 z+ w) M: u' ^9 X
  907. ;extension=php_sockets.dll8 ?$ I4 ^( m" w
  908. ;extension=php_sqlite3.dll
    : }+ {$ j) A. t6 o# `
  909. ;extension=php_tidy.dll4 w. i& ~3 h8 w2 I) K9 k  `' V* D. P
  910. ;extension=php_xmlrpc.dll0 Y$ w. |. \5 w( M$ F& @5 D
  911. ;extension=php_xsl.dll
    2 J- L  C, ~1 g5 [

  912. 3 K, e7 i1 k) a2 ]" H% P% W
  913. ;;;;;;;;;;;;;;;;;;;1 c* v3 a! O5 O! S0 B
  914. ; Module Settings ;! b! y$ K$ B. j% ^) {
  915. ;;;;;;;;;;;;;;;;;;;$ E4 s' C* X6 D& J

  916. + C% c' T5 i) L
  917. [CLI Server]
    1 j3 O  f/ g0 M9 w! }5 u- U
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 N5 p, x- x  u5 U% g# `4 [* W
  919. cli_server.color = On6 S% m5 v. w$ G! I! e

  920. ! I* V/ _6 \4 r( y* \$ |
  921. [Date]& n5 H, U* e( Z* O$ E* [6 u
  922. ; Defines the default timezone used by the date functions: M( E  R: M3 o+ D6 V( Y
  923. ; http://php.net/date.timezone; G/ y$ `5 A: z" I
  924. date.timezone = PRC
    : _5 [; N6 Z! `4 c, ~
  925. 5 f# `/ K# J; W: L' v. C
  926. ; http://php.net/date.default-latitude2 h  @; N3 l& N! [! |6 ~1 ]% \. _
  927. ;date.default_latitude = 31.76672 X4 ~) [0 f. a; p4 H& J

  928. , D' i$ Q7 Z6 R
  929. ; http://php.net/date.default-longitude- ~5 I: Z+ M& e9 z
  930. ;date.default_longitude = 35.23332 S0 ^' J4 ?) c; [; \' L+ |
  931. ) m' D; W8 M$ }  n! E. m3 W
  932. ; http://php.net/date.sunrise-zenith! |6 M7 A7 J5 C9 D3 g
  933. ;date.sunrise_zenith = 90.583333
    7 K( e- x' s: M  x

  934. & L% l9 U8 U7 Z/ V. f  \  ~
  935. ; http://php.net/date.sunset-zenith- ~" ~; N; m  [
  936. ;date.sunset_zenith = 90.583333- m* W7 E' T# r6 M5 \% t0 }
  937. / `+ i: J4 n" z5 ?# i/ {
  938. [filter]# g0 h; M2 k6 m# m/ d4 N. i
  939. ; http://php.net/filter.default4 {, Z% ~, x: q/ Q2 _* n& g
  940. ;filter.default = unsafe_raw9 t  m* P8 K) F

  941. 8 V! T  b3 b: }$ G. v1 |
  942. ; http://php.net/filter.default-flags$ P4 j. K9 Z5 h8 a; u$ B
  943. ;filter.default_flags =
    + f! n% J/ z0 t. N" C% D

  944. , Y; M2 q- Y- ~$ x* L6 z# B
  945. [iconv]
    & E# p$ h: Q! v. S. H. i1 Q
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 M+ q- h8 @0 V$ y3 n( H
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., i) d0 h& u8 c+ ^: ]
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding% ?& K( ~9 |" [
  949. ;iconv.input_encoding =+ v& Q; n7 T6 J. V3 L, s
  950. . p$ B" F; V: H4 S' n! U
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 `4 G: k" Q. n5 X
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " g# D; Y2 F: `8 M; S9 f, @
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* |. H) o3 X' E% e$ t- J) G7 }
  954. ;iconv.internal_encoding =4 C. M% a! Q% ]4 H
  955. & P* T8 Q% u. e5 g3 W9 z
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.9 K, [% W# V5 j* A& j7 ]( v
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    6 E3 R0 A: s; H4 U- _# M+ s& u
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    & y% e. ]' A" A7 p! h' S
  959. ; To use an output encoding conversion, iconv's output handler must be set9 E5 |4 V3 d5 ]! b
  960. ; otherwise output encoding conversion cannot be performed.# a! k3 S# r: I2 ^. |- i
  961. ;iconv.output_encoding =9 x1 E/ d  p0 X% T4 R

  962. & K, i* b) c  F
  963. [intl]
    " V3 i- m2 d( X- P/ o2 H
  964. ;intl.default_locale =; j! |! ^. U. l6 G+ |: c. f
  965. ; This directive allows you to produce PHP errors when some error
    / R0 r: N! G9 p% \
  966. ; happens within intl functions. The value is the level of the error produced.- c+ z* C- A) ~6 E0 D
  967. ; Default is 0, which does not produce any errors." R" q) U2 M0 d1 u: \
  968. ;intl.error_level = E_WARNING
    " `6 v1 j/ g. g. Y+ d% e
  969. ;intl.use_exceptions = 0* i4 j5 r/ [3 f5 V9 v0 T$ Y
  970. . Q3 ]5 C; o# f
  971. [sqlite3]
    $ i2 ^- |4 o' V3 I9 p
  972. ;sqlite3.extension_dir =
    * q( c  \; {, o8 I- S
  973. ( r" B; p8 j5 ?, n- V/ ~" S
  974. [Pcre]
    - o, X0 F% X: V: l2 O
  975. ;PCRE library backtracking limit.5 t: E. Y8 Y2 y0 _( [7 g" X8 w
  976. ; http://php.net/pcre.backtrack-limit3 q2 I8 i9 j- k) }) a; S8 p% [
  977. ;pcre.backtrack_limit=100000
    " K' Z  ~& U% ^$ }: K

  978. 4 K7 o" M8 u; b. Z
  979. ;PCRE library recursion limit./ t) K6 A5 s* p& ]
  980. ;Please note that if you set this value to a high number you may consume all) g8 w6 l5 R4 G
  981. ;the available process stack and eventually crash PHP (due to reaching the
    1 d: p" E  t2 i! i6 I( D
  982. ;stack size limit imposed by the Operating System).
    6 _4 |  B% w, s% G6 N
  983. ; http://php.net/pcre.recursion-limit( W  q. O3 i1 a: N
  984. ;pcre.recursion_limit=100000! x4 h! T* J9 g+ f' ~9 a3 H

  985. ! g3 B9 B% B* [
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    , a, e7 k; N- ~6 r
  987. ;library to be compiled with JIT support.
    3 }8 N6 x" n: f% n  E/ s: J
  988. ;pcre.jit=1
    , Z/ F) C$ R0 {% _, x7 E
  989. ) I5 B# W" c4 ^3 ^( r8 |- v0 m7 `
  990. [Pdo]
    9 X6 j# S+ L5 y6 r
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"5 I9 m" t1 Q: [& l& P5 A# ?) O
  992. ; http://php.net/pdo-odbc.connection-pooling0 {8 I% p5 r+ S5 ?5 T4 j* h5 v2 L) W3 b
  993. ;pdo_odbc.connection_pooling=strict
    # \. U! `1 \4 r

  994. 7 ]* r7 @) B3 Y$ j
  995. ;pdo_odbc.db2_instance_name* `2 j- ?* o1 R3 r4 U6 ]
  996. 5 y: ]3 G. A& Y2 m* }& c, |
  997. [Pdo_mysql]3 x# J, X9 U) H6 f0 p% P4 p! y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 j9 B" b4 R* `9 m" ^+ h8 N
  999. ; http://php.net/pdo_mysql.cache_size
    + {/ l3 l% V$ f7 R) b9 l
  1000. pdo_mysql.cache_size = 2000+ o5 V8 y& j1 r7 B# w2 h5 A
  1001. # M& p3 B, D8 S. S4 t) M
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % ^' R3 b7 y4 Z8 @
  1003. ; MySQL defaults.
    + O7 D3 T$ W6 P: c9 g  ~' D, I! o7 ~/ y
  1004. ; http://php.net/pdo_mysql.default-socket
    . Z4 Z/ L; L* B6 r% Q+ H6 @7 ^
  1005. pdo_mysql.default_socket=* H" t, N- L" N! y
  1006. 3 K5 p, ]; ^0 l$ H( G
  1007. [Phar]) C% f  Y! ~* @9 Y' G5 F  Z
  1008. ; http://php.net/phar.readonly( k+ S( p+ l& j3 H  I: ?, e
  1009. ;phar.readonly = On7 e% H% t0 x& ?' s  ~

  1010. . e3 d3 k1 W5 E; P+ u2 g# S  ?( ?/ Q, z
  1011. ; http://php.net/phar.require-hash
    4 A1 K' g; _( t  ~, c$ X- E1 V
  1012. ;phar.require_hash = On
    7 s' t+ i+ h1 }% R4 T$ K
  1013. - R# ?: Q) E% H
  1014. ;phar.cache_list =" a$ C% v3 N. `/ A9 F+ }

  1015. ; E4 u" K$ L# t/ m! Y6 p
  1016. [mail function]* a3 y3 A/ }, @8 D$ k+ C7 o( R
  1017. ; For Win32 only.5 r& D. O0 {& S1 ]( {
  1018. ; http://php.net/smtp+ u" I+ X  v; `, m
  1019. SMTP = localhost* \* M  b4 x: V  Y: ^
  1020. ; http://php.net/smtp-port5 W/ c6 ]0 _) l5 |) @2 S  R% ]
  1021. smtp_port = 25! ?1 {( P4 O; ]0 J+ i7 |5 D0 ~

  1022. ) b# L+ _( h0 j  @  z3 _
  1023. ; For Win32 only.! O4 \" t) Y* E, u
  1024. ; http://php.net/sendmail-from
    ! n4 o/ C: p0 H6 w. H! T
  1025. ;sendmail_from = me@example.com
    ( u9 C# K7 u6 c; S+ F2 o8 x/ K* W

  1026. 3 W3 D% G, j- P
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 R9 l: I4 R- \8 q6 e) Y: i9 B0 I
  1028. ; http://php.net/sendmail-path( `: n9 \4 j! R8 Q( L* l; q
  1029. sendmail_path = /usr/sbin/sendmail -t -i, Y4 Z, A$ C) P) f, k7 V  m
  1030. " a3 x- h! h& s
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ) R% X; c9 v" Y8 B
  1032. ; to the sendmail binary. These parameters will always replace the value of' |& A% [% |6 T5 |9 u
  1033. ; the 5th parameter to mail().( O6 c: W% k0 [, r  l
  1034. ;mail.force_extra_parameters =
    ; O0 ]. U- ?4 [) w
  1035. & c; k7 u/ I, d
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 a( u  x( z+ D, r, j+ P% |
  1037. mail.add_x_header = On
    7 M9 y8 c9 W9 ^! U

  1038. & _$ b0 Z: z" l
  1039. ; The path to a log file that will log all mail() calls. Log entries include( W2 E9 E: T$ A1 e6 N
  1040. ; the full path of the script, line number, To address and headers.
    1 R7 n: Q9 F  u0 g5 P) p
  1041. ;mail.log =9 ?7 i9 o2 D3 ]% G; v1 Q4 I6 r
  1042. ; Log mail to syslog (Event Log on Windows).
      B" L  {0 I4 R& l( v1 S( j7 K3 r* V
  1043. ;mail.log = syslog
    " v( M1 ]4 m7 [' U

  1044. / K& U* b3 ]( K. j
  1045. [SQL]
    - l7 q8 e) R( s0 D
  1046. ; http://php.net/sql.safe-mode- z. T; I2 B2 c* V2 x- Z
  1047. sql.safe_mode = Off
    - j' `& a( c  H1 O! L, n
  1048.   R( N7 ^8 E2 o
  1049. [ODBC]
    1 T7 r6 a3 [! n1 G/ A0 Q$ |
  1050. ; http://php.net/odbc.default-db) d; w# U; R; g
  1051. ;odbc.default_db    =  Not yet implemented
    - Q) B) u" G  t* U  B2 O* H

  1052.   Q6 C! f9 U2 E2 \; D7 _5 |
  1053. ; http://php.net/odbc.default-user
    - v/ i1 }) @7 b0 K5 t" w% e
  1054. ;odbc.default_user  =  Not yet implemented
    3 A; o$ _1 U9 p: a: \# [. O

  1055. ; z. W6 ^5 d( \5 `6 A5 m
  1056. ; http://php.net/odbc.default-pw
    : f4 O$ Z1 l; X
  1057. ;odbc.default_pw    =  Not yet implemented
    : |9 V0 L$ a3 n' m

  1058. ! x; k5 e% j4 W
  1059. ; Controls the ODBC cursor model.
    * A& X7 P5 M6 C6 |& S# C" y' x2 L
  1060. ; Default: SQL_CURSOR_STATIC (default).
    + H1 y9 f3 u. H& W' k* F0 A
  1061. ;odbc.default_cursortype. J6 h3 m: L: o0 K

  1062. 1 s% v- Y( d; R: u; c2 a9 ?" U
  1063. ; Allow or prevent persistent links.% v! Y' ^( g. D5 g$ Y6 F8 }
  1064. ; http://php.net/odbc.allow-persistent: q, X  h& f' M8 L
  1065. odbc.allow_persistent = On* W7 C! a5 V, E  Q. V
  1066. 0 r! ?, _; V' i0 W. P, w, d) B
  1067. ; Check that a connection is still valid before reuse.
    ( {; w. l% K, L* b6 ~9 i5 J
  1068. ; http://php.net/odbc.check-persistent" C6 m* N: |, y  i# i7 B* r/ w
  1069. odbc.check_persistent = On
    ! I9 G6 i4 q+ i) @: e+ ?
  1070. ; t; u' f6 b- [* Z
  1071. ; Maximum number of persistent links.  -1 means no limit./ u& b2 v4 X* f* o
  1072. ; http://php.net/odbc.max-persistent
    2 O* y! D+ Y; y8 ~8 B% D$ ^! J
  1073. odbc.max_persistent = -1+ J& Q4 g% m  N6 c8 O
  1074. , }9 h$ `' r2 I& N
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 ]2 T9 ]0 N, `1 F3 V
  1076. ; http://php.net/odbc.max-links+ ~" r! {! O+ g- t$ N/ H& c$ {
  1077. odbc.max_links = -1( ~( W) i" a( t

  1078. 2 `- I4 Z3 q' }2 @
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    5 ~- J0 C" w7 _1 [: i. K
  1080. ; passthru.
    " S4 S9 J8 y) M, k
  1081. ; http://php.net/odbc.defaultlrl
    7 F; L( d8 b/ T; L' ]& v; s
  1082. odbc.defaultlrl = 40964 g0 R% |0 g$ q! ~
  1083. & Z! ~) e7 Z* q. [: ~* i/ l
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.7 ^9 w$ q$ j0 l5 _' f( o
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    . o+ }& N/ D7 k6 }7 S* T2 E4 C( T0 F
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode6 ~$ t- G3 n5 Q( a/ t# d
  1087. ; http://php.net/odbc.defaultbinmode' k/ |+ e8 D9 p( M9 v: g6 G
  1088. odbc.defaultbinmode = 1
    5 P2 W2 `2 U5 ]
  1089. . T6 M  D: `8 }1 R* o1 _
  1090. ;birdstep.max_links = -1% @: z& s8 _9 D- V7 f3 b& \
  1091. " d; V8 Y1 y( B; s
  1092. [Interbase]& d% \) F6 n' Z: X* i( j1 W1 B
  1093. ; Allow or prevent persistent links.
    ' w/ f" X# B" D  w
  1094. ibase.allow_persistent = 1
    2 k5 M, X. I- W  F6 ~4 O

  1095. ( N" _8 U) [) j$ S
  1096. ; Maximum number of persistent links.  -1 means no limit.9 x  U- G  @* |' F8 ?5 L2 S" N
  1097. ibase.max_persistent = -1
    ; e  [. V( h) y) [
  1098. ( W) ?8 z+ B. V0 h& r
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! s$ f' C- P  f- x- f* M: Y
  1100. ibase.max_links = -1& n2 j. X) t* ^7 E' M/ U* g5 Q% a
  1101. * V4 X6 g3 F+ G8 X
  1102. ; Default database name for ibase_connect().( q2 i" e8 X- r: y1 }" W5 C
  1103. ;ibase.default_db =
    # e. X; e4 c3 L; q
  1104. 7 ^  S9 M" _9 H6 M2 V
  1105. ; Default username for ibase_connect().
    ) T1 u$ M: q: e( V6 V, l
  1106. ;ibase.default_user =1 R( H% M1 @( Q% m

  1107. 9 I6 B( b$ ~5 R  s& E
  1108. ; Default password for ibase_connect().
    ; w& ^4 e$ ^: l
  1109. ;ibase.default_password =
    + R$ a0 w. ~' m6 @% @& j7 t$ O

  1110. 1 W+ r5 h: Q0 |0 U
  1111. ; Default charset for ibase_connect().1 e' ?1 Q; j) o, ]. D1 D1 @' w2 i
  1112. ;ibase.default_charset =
    4 h9 \, s5 G' X( i1 ~
  1113. 8 J3 v5 q4 @' u# ^. n2 `3 r
  1114. ; Default timestamp format.; b& p9 O# T; B! j" _
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ) y. c! T% f" N, p$ s

  1116. 5 b4 o- G, i) U# M& V8 Y
  1117. ; Default date format.
    4 v4 h1 ^! z: G# Q7 q4 T
  1118. ibase.dateformat = "%Y-%m-%d"' N. W. A9 ^& u+ u8 E$ H. [3 k

  1119. 8 x# v  a/ o8 ~& j$ F( {1 h
  1120. ; Default time format.( }0 u" M" M% r$ R' K: A, D9 J2 @2 F8 r
  1121. ibase.timeformat = "%H:%M:%S"
    7 |8 Z! q5 c4 I% N: y1 `
  1122. ( S/ u; k* _6 |$ T* S
  1123. [MySQLi]& `" L9 Z0 f5 w: W! A& i  I! S
  1124. + W1 l7 }/ Q$ r( U
  1125. ; Maximum number of persistent links.  -1 means no limit.
    4 H# s3 I2 P) i
  1126. ; http://php.net/mysqli.max-persistent! }/ w8 G7 b- l% D
  1127. mysqli.max_persistent = -1
    4 e% D7 j# ~3 b" D7 s  \

  1128. 4 |1 C4 e# T4 Y4 {8 L/ ~7 H
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements7 B/ S0 Z+ F  ?% k  }3 B/ [$ V
  1130. ; http://php.net/mysqli.allow_local_infile  C* h4 l1 B( a& s* f
  1131. ;mysqli.allow_local_infile = On# v5 R* w1 ?# c* L; d

  1132.   I+ ?' T! o: Z0 @/ E
  1133. ; Allow or prevent persistent links.
    : H/ |! h! `7 S: y
  1134. ; http://php.net/mysqli.allow-persistent
    , @6 y0 ?/ ^6 T3 \, ~# Y  E; t
  1135. mysqli.allow_persistent = On* Y; w( @2 o2 f8 }/ V6 b; ?
  1136. ' P6 O+ b2 _: _4 g  s8 L3 K' b
  1137. ; Maximum number of links.  -1 means no limit.7 z" a& @% M' h$ n
  1138. ; http://php.net/mysqli.max-links
    . R% d2 I; C5 Z" ]/ h
  1139. mysqli.max_links = -1
    * D1 A( ^7 u5 G- r7 G" r

  1140. 7 }1 {! t# G4 X+ }# x
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & l0 u1 s( V# t4 T4 `
  1142. ; http://php.net/mysqli.cache_size
    % X4 k+ C$ k. D/ _0 u% j0 `
  1143. mysqli.cache_size = 20007 O7 o8 J2 q5 Y5 W$ P/ ^2 D+ T

  1144. / c% c% H  O6 M+ U- y: Q
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; X- S7 n* H! ?8 D, q
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' ]0 ~! b* D# }/ i0 v- ~
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 v" @  G1 U  y  }( H
  1148. ; at MYSQL_PORT.
    6 o  z( I5 q1 N6 ^: N
  1149. ; http://php.net/mysqli.default-port+ V$ x8 E: R  `
  1150. mysqli.default_port = 3306
    . W2 B" {6 J8 _6 j+ q" m6 R

  1151. 2 u( s, D5 H) F) y! C  N
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 `0 g$ h/ _* y* j3 N6 ~
  1153. ; MySQL defaults.* Q6 T$ N# k2 G( w& G
  1154. ; http://php.net/mysqli.default-socket9 Q" X) D$ q/ _" i7 [; Z! ?
  1155. mysqli.default_socket =8 h( A. j7 ^( W
  1156. " R( q9 s  Z; \- J( j5 p
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).- U0 Q. |2 Z5 c  W3 }* a
  1158. ; http://php.net/mysqli.default-host7 f, r: V7 n, e$ J
  1159. mysqli.default_host =- T2 I$ L$ a, c: n+ K, v& |: ^# C, ]; e
  1160. : ~5 Q5 r, M& M) p) s
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 F9 c- w! }% ^  t
  1162. ; http://php.net/mysqli.default-user
    & Y* Q% v& x/ d: V% |9 C
  1163. mysqli.default_user =
    ; Q4 Q& }8 ?+ v( r- D. y
  1164. * @9 p! q. Q" d3 n( k+ q
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 u# f+ Q2 r" U# B" F
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 a9 w; S* w0 \" n' O
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- ?' e* U  a7 E4 D& W
  1168. ; and reveal this password!  And of course, any users with read access to this: y% G# w6 y1 {8 f& Z6 w
  1169. ; file will be able to reveal the password as well.% B3 v" Y8 F0 d  ~4 L3 `% J) O
  1170. ; http://php.net/mysqli.default-pw, Z. X2 R# g& D$ E
  1171. mysqli.default_pw =9 l6 J7 j4 }. v+ G. @& v- Z3 y
  1172. : H4 W6 E5 w1 _
  1173. ; Allow or prevent reconnect( `1 z3 C1 x: r0 p$ w* ?' V1 @* y
  1174. mysqli.reconnect = Off
    2 V' H5 \$ Y$ C2 A

  1175. ; t- O: \6 |( a, @
  1176. [mysqlnd]
    6 a) _- n7 _5 Y& D# I/ G5 [. Z
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be* q. T/ r6 w, N7 W
  1178. ; used to tune and monitor MySQL operations.
    # k& N$ n- ?1 g
  1179. ; http://php.net/mysqlnd.collect_statistics) ~4 u" X; B# E/ s  t. Z
  1180. mysqlnd.collect_statistics = On
    ' j5 k) N5 Y3 S
  1181. 0 V8 d8 P* C% N5 i- n
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      r9 N1 h" L, }* m, r
  1183. ; used to tune and monitor MySQL operations.
    ( \) r& e: `( O, w: a
  1184. ; http://php.net/mysqlnd.collect_memory_statistics, L9 o% D. V5 H% [" p. _: f
  1185. mysqlnd.collect_memory_statistics = Off, V) L* ^' o' O% J: j: ]6 e

  1186. . \- E* N8 M# R8 k& z, V
  1187. ; Records communication from all extensions using mysqlnd to the specified log4 b4 G8 n1 e' P$ ]4 {
  1188. ; file.
    5 y9 V  K1 r- D' K$ I/ ?
  1189. ; http://php.net/mysqlnd.debug1 v& n! p5 q/ x9 x, k2 O
  1190. ;mysqlnd.debug =1 K0 N4 x% \: f' n: e$ v

  1191. , O# ?0 \3 F* V+ H' }
  1192. ; Defines which queries will be logged.# c( K9 ]. }% e1 L/ F8 }- ]
  1193. ; http://php.net/mysqlnd.log_mask
    ) p2 G& M$ `9 p
  1194. ;mysqlnd.log_mask = 0& x: I0 D2 Z% }2 f/ Y) T. }
  1195. . N$ y$ |+ B7 d/ b: _
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    - U3 _0 ]  B. t; D9 b/ ^  R
  1197. ; http://php.net/mysqlnd.mempool_default_size6 p5 Y' _: H0 F$ I; T
  1198. ;mysqlnd.mempool_default_size = 16000/ g6 H  N  R, ]; I  L, ?
  1199. 7 V# }/ u- w/ k
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    7 f' z. y$ n* O3 n* l
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size; d- \- W" M, T  _. X- W
  1202. ;mysqlnd.net_cmd_buffer_size = 2048" L, g2 `. s0 U' n
  1203. - |# Z9 k' u0 W2 Z4 O, ~- p7 [
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in; ~5 \/ e7 i" C2 E# K1 W1 Q
  1205. ; bytes.+ Y5 ^. m9 ~! j5 w& s
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    - P% b( {+ \; ]1 |
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ( Z: g+ o7 M3 T/ \
  1208. 1 i( L) [  N; J0 p0 p- H- U
  1209. ; Timeout for network requests in seconds.
    % Y! D, V1 }9 m1 d4 K
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ! y1 _5 i/ e, V+ D1 q  K' V! Y7 ^
  1211. ;mysqlnd.net_read_timeout = 31536000
    " f6 n6 i7 n5 G

  1212. 1 o) W9 L$ y* e% [+ m- N  e
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; f- F3 f/ p1 H+ ]6 ]5 h
  1214. ; key.
    ; _) ~5 l0 D# F1 c
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    1 `6 U' R4 @0 \5 ~
  1216. ;mysqlnd.sha256_server_public_key =
    2 K! \  S  M) r4 z8 q2 P; s

  1217. 0 C5 g1 `  h- d3 Z8 l% R0 C& h3 v
  1218. [OCI8]
    $ Q! J+ b; c% F! a# ]2 ~

  1219. " ~- |' x+ |, H- }% k7 [1 L. h$ A
  1220. ; Connection: Enables privileged connections using external
    % }+ |% n9 H# L& e5 K+ T6 e
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    3 ~+ q# \# u$ S$ ^& S; x" t
  1222. ; http://php.net/oci8.privileged-connect
    . M/ [# b. p2 Y: ]" M0 b
  1223. ;oci8.privileged_connect = Off
    6 t5 ?) x# s+ d3 o. ?: B

  1224. + j6 M( R- V0 Q0 B5 N
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    # N) W9 [- c( @' ?
  1226. ; process. Using -1 means no limit.
    ( H; V  G: w% ?# @. `3 Y
  1227. ; http://php.net/oci8.max-persistent! p% a5 |9 R8 l
  1228. ;oci8.max_persistent = -1% [9 U7 a% N) W" c

  1229. # W/ @+ \; y0 l. ~7 G
  1230. ; Connection: The maximum number of seconds a process is allowed to
    5 Z, d$ W# Q% i2 v, I
  1231. ; maintain an idle persistent connection. Using -1 means idle# F- Z2 l, q$ S
  1232. ; persistent connections will be maintained forever.
    " N  w. b1 n9 Z' d; p/ w
  1233. ; http://php.net/oci8.persistent-timeout
    % @9 G9 @6 B0 _8 w: ~. f2 m1 }( ^
  1234. ;oci8.persistent_timeout = -1
    " R, {( C2 w2 W3 u" V

  1235. 2 |& S: s# ]. o) ?0 Q" }( s2 T
  1236. ; Connection: The number of seconds that must pass before issuing a6 L' t, W  m, C' A. @& M  s( |8 h
  1237. ; ping during oci_pconnect() to check the connection validity. When
    " D- f$ U0 E/ E0 F2 W' _* w4 O0 P% p
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables! X7 m! N) S- \* M+ o# I
  1239. ; pings completely.5 [4 v2 M& V  T" v
  1240. ; http://php.net/oci8.ping-interval
    $ v5 G* [# }0 B' Y$ B+ m, ~
  1241. ;oci8.ping_interval = 60
    2 t) B4 a/ }8 x& B# P7 N
  1242. ' f$ t- A4 r3 j' _
  1243. ; Connection: Set this to a user chosen connection class to be used- |4 ^4 ~+ h* H( }
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    8 v- p: Q4 l+ k9 i" h% A* T
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to& j$ E3 f; W5 J1 r6 Z# R
  1246. ; the same string for all web servers running the same application,/ v( s' n0 C" N9 L
  1247. ; the database pool must be configured, and the connection string must
    4 M: f3 C- \/ O+ f) J2 e
  1248. ; specify to use a pooled server.
    6 [$ A5 w3 K+ `
  1249. ;oci8.connection_class =" q$ a  Q; m) |+ K; Q

  1250. 9 {8 p/ b" v& i5 q/ L5 r# y5 F
  1251. ; High Availability: Using On lets PHP receive Fast Application' Q# m( B9 m: P" J, C
  1252. ; Notification (FAN) events generated when a database node fails. The) M% Z* |1 f' N5 l* ^
  1253. ; database must also be configured to post FAN events.
    $ O; z6 Q8 _2 F3 R3 X% H; U
  1254. ;oci8.events = Off& O7 h9 K% m2 k5 N- n* Y

  1255. % D, G; J* ~/ y  a, o. S
  1256. ; Tuning: This option enables statement caching, and specifies how2 |) b" D6 B0 Q+ ~
  1257. ; many statements to cache. Using 0 disables statement caching.
    % R$ w) Z. p# I6 j
  1258. ; http://php.net/oci8.statement-cache-size
    6 Z8 _( v5 R7 k8 n$ f
  1259. ;oci8.statement_cache_size = 20
    " R$ }6 c; l  W$ N, i+ h7 l

  1260. 0 Z/ c  h% Z% p9 z
  1261. ; Tuning: Enables statement prefetching and sets the default number of, _  R& ?5 Y. ^5 j
  1262. ; rows that will be fetched automatically after statement execution.  u$ w: Z' L$ ~9 r; Y. _+ B$ G% Q# @
  1263. ; http://php.net/oci8.default-prefetch, }& {+ X; l, u* z' X
  1264. ;oci8.default_prefetch = 100
    2 i% S; V8 g* x( s+ P

  1265. 1 D3 E# ~; c" S) p
  1266. ; Compatibility. Using On means oci_close() will not close
    6 i$ T% {' t3 g! V1 [9 }
  1267. ; oci_connect() and oci_new_connect() connections.
    0 p0 _( k# z1 N  E; W
  1268. ; http://php.net/oci8.old-oci-close-semantics" g7 d6 _% d* ]6 C! W
  1269. ;oci8.old_oci_close_semantics = Off
    % F9 `8 H' V6 C3 l4 }' i9 I

  1270. ! N* j! O0 @1 O& ?/ Z, ]* o1 |
  1271. [PostgreSQL], E! I6 Z1 s. `$ X6 m1 e
  1272. ; Allow or prevent persistent links.3 F8 i8 B/ _0 S' g" P' @; b% J
  1273. ; http://php.net/pgsql.allow-persistent
    " d( ?5 |  y. v3 c( T/ _
  1274. pgsql.allow_persistent = On
    ( A7 D" Q5 ~1 e% u$ Y2 a0 r4 {2 H

  1275. % G$ z" S2 [; `; W; O/ G7 ]; p3 F
  1276. ; Detect broken persistent links always with pg_pconnect().2 C7 d* `0 C* x. s& K9 u$ g1 c
  1277. ; Auto reset feature requires a little overheads.2 ^, {* l& H2 G6 ]/ ?7 n; s
  1278. ; http://php.net/pgsql.auto-reset-persistent& p$ u* d7 b4 ]* j( r
  1279. pgsql.auto_reset_persistent = Off
    , U7 j1 u' O8 B9 `9 [
  1280. , W$ P2 g# G2 V( ~- s! k, O, _
  1281. ; Maximum number of persistent links.  -1 means no limit.
    % o' Z  T4 ~; Q. O( j1 w! A8 P( ?  \
  1282. ; http://php.net/pgsql.max-persistent1 @2 l& |' j2 b3 G8 @7 D. k% U
  1283. pgsql.max_persistent = -1
    7 Q# R& ?$ B" o, m" y$ c8 D

  1284. 5 {' k; |" m: s2 L1 J6 z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + Q3 A0 `. _, ?3 v+ ~/ U/ |! M7 O
  1286. ; http://php.net/pgsql.max-links% T. Y# s6 U/ l) \
  1287. pgsql.max_links = -1+ |2 d. L$ D" w6 S' G
  1288. ) f1 s; V* g0 A# x, n* a
  1289. ; Ignore PostgreSQL backends Notice message or not.7 r6 C" B% x1 c( T9 u
  1290. ; Notice message logging require a little overheads.6 r3 O% w, V1 X( d1 E& F' q
  1291. ; http://php.net/pgsql.ignore-notice3 Q% U1 J& t( P( H! u  b9 C
  1292. pgsql.ignore_notice = 0) p; m7 i) Z2 w5 [) |1 L

  1293. : K' F& v8 Q: K. v
  1294. ; Log PostgreSQL backends Notice message or not.' _. C6 `$ P3 x: x
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 B8 j2 O. s0 b: ]1 O
  1296. ; http://php.net/pgsql.log-notice/ t$ \. Q: X. T. i
  1297. pgsql.log_notice = 0
    * G( t9 ~9 j$ P# [/ S
  1298. 7 ^& F, G7 p) s5 Q7 u! J/ C
  1299. [bcmath]
    + R7 ?' A! X0 a
  1300. ; Number of decimal digits for all bcmath functions.: e/ \' A% f" E" D+ Y  H
  1301. ; http://php.net/bcmath.scale1 j' D) w8 q: S* {, D1 P
  1302. bcmath.scale = 0, d+ h! K; F4 X5 f
  1303. 2 H  o& {- R2 y0 U. Q
  1304. [browscap]2 J! Q$ `3 M( b6 L0 G: ?
  1305. ; http://php.net/browscap6 W' o) q" I4 V3 t; u. f
  1306. ;browscap = extra/browscap.ini
    4 U3 X! a9 z/ v* A% L: I
  1307. . C/ ]5 E9 b: z0 R+ H6 e
  1308. [Session]: z+ y% t; X! l( O
  1309. ; Handler used to store/retrieve data.
    ( {! q! C! c5 n( [$ p' w; m
  1310. ; http://php.net/session.save-handler6 z9 b: ^4 z& u/ Z5 z
  1311. session.save_handler = files
    2 \2 L. r: V& D* s- [! a. ^9 O

  1312. - U/ d( r  P- S
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    , u& D% C) {+ b$ c  c" u5 y0 G
  1314. ; where data files are stored. Note: Windows users have to change this
    , G% B5 q0 v- v. r2 B& L
  1315. ; variable in order to use PHP's session functions.% U- ?' g$ y+ t; A. C! V/ v# m+ ^& [) V
  1316. ;5 u' C, E: A& [  v
  1317. ; The path can be defined as:+ W6 O! \- e. w' K6 o5 P6 |
  1318. ;4 X- i) J; Z8 m# }8 b) u: a; N
  1319. ;     session.save_path = "N;/path"
    9 V2 A7 ]( q" Y: U. l% `! A8 Q# V
  1320. ;
    8 H( X# T* m: K: l6 P" H; B1 z
  1321. ; where N is an integer.  Instead of storing all the session files in* n/ H; |8 n- x( B
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    * r1 s6 K, m* m4 f) J7 Y
  1323. ; store the session data in those directories.  This is useful if
    $ f$ j2 S6 p. c4 l
  1324. ; your OS has problems with many files in one directory, and is
    . f9 l) _: g, I
  1325. ; a more efficient layout for servers that handle many sessions.; B/ |1 w2 g- `
  1326. ;% {0 {: c1 K8 _  S! D+ U
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    0 u( ?* r, c3 r3 Z1 `& B- w
  1328. ;         You can use the script in the ext/session dir for that purpose.
    5 J) G& }& S, o3 U+ ]4 I: k
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    8 y0 i  s7 _. A
  1330. ;         use subdirectories for session storage. t( T3 c' o2 }0 u2 |
  1331. ;; n. ~! Q/ i  M4 d/ J& v, {
  1332. ; The file storage module creates files using mode 600 by default.
    4 b6 Y& [6 B  B3 ?
  1333. ; You can change that by using9 V* E- M' ~) E% @
  1334. ;
    * q# j9 Z" q& [% z6 H. ~
  1335. ;     session.save_path = "N;MODE;/path"
    - B: G& p; A( Y. J) `, e
  1336. ;! x4 k  N( W8 G2 z0 C8 u
  1337. ; where MODE is the octal representation of the mode. Note that this
    $ u  A+ V" ^( G' r2 \% g$ j
  1338. ; does not overwrite the process's umask.0 ?9 r/ a, g% t' N
  1339. ; http://php.net/session.save-path2 k9 Y  J6 z% q$ ~1 `( ?; s. `: J. r" r1 K4 M
  1340. ;session.save_path = "/tmp"
    ) q5 [- H; [& w8 k
  1341. : ]! a8 s8 \1 A( }8 k2 h! u. F  e
  1342. ; Whether to use strict session mode.
    " K! T+ A9 J! W5 m8 ^7 g
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate! \1 [+ G! v6 x" n, q
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects: D/ q2 E: `8 z1 ^* _: O: x% G
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ! f3 M2 I! v2 l: P
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; q8 n1 _+ R" F( C, c" z* M' s$ M$ t
  1347. ; https://wiki.php.net/rfc/strict_sessions- g$ R( R; M. d
  1348. session.use_strict_mode = 0
    2 L, M, U# R' Y! }7 I

  1349. / j, [2 t, p4 u! ?: z
  1350. ; Whether to use cookies.
    + u5 T+ \0 b0 K! V; Y8 v
  1351. ; http://php.net/session.use-cookies, Q8 M( N. M, J. V
  1352. session.use_cookies = 1: z: ^! ^: G! t  t  t
  1353. & c. z9 ^4 n8 J) K: f
  1354. ; http://php.net/session.cookie-secure- ^* a# I/ ~! i! l; j4 w0 G
  1355. ;session.cookie_secure =
    7 Q- s9 Z6 x! W* z0 T
  1356. ; P6 m  O& o, H+ K: r7 y) x
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining+ o- m+ E8 j! j" L+ M
  1358. ; the session id. We encourage this operation as it's very helpful in combating# t) Q4 B; |8 W* J! I* g! X. e6 S
  1359. ; session hijacking when not specifying and managing your own session id. It is/ ~& R) t0 S+ b' e; w# U4 c
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ; i! T% m, `3 ?5 j$ G' P; m3 Z
  1361. ; http://php.net/session.use-only-cookies
    , g3 O0 n0 a2 h: Q1 h
  1362. session.use_only_cookies = 15 i& D8 z! X0 d6 S

  1363. / p4 p) c0 ?' @' I' F% O/ ]$ O. L
  1364. ; Name of the session (used as cookie name)./ w  f  c; b/ F7 ~. C# {( A
  1365. ; http://php.net/session.name
    % `8 M% s. ?3 l2 K: s6 |/ ]+ Z! \
  1366. session.name = PHPSESSID
    * D5 f1 c! P; {# O

  1367. 4 X6 P  d! N1 R3 Y* a7 w
  1368. ; Initialize session on request startup.
    ( Y$ L6 ]! m2 U6 }# B
  1369. ; http://php.net/session.auto-start
    2 h- c" i& t9 ^4 [1 ^- Y+ q" h
  1370. session.auto_start = 0  M# ?6 o+ W- l% w
  1371. 4 F3 }6 F! Y3 i/ u2 x
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    9 ^% @& }! @7 X% f5 _5 g
  1373. ; http://php.net/session.cookie-lifetime
    9 U8 _6 u3 Z5 x+ R7 Y
  1374. session.cookie_lifetime = 0
    0 X, G" t3 Y4 _1 y: w  p3 Y
  1375. ' r/ O! h/ l0 G; o
  1376. ; The path for which the cookie is valid.
    : @+ u+ j: s% |4 C/ m7 w" l
  1377. ; http://php.net/session.cookie-path
    7 W5 t2 C' G6 b, v1 W
  1378. session.cookie_path = /7 V  i0 `- M8 g) q
  1379. ; b' s- R, x' C" n5 J
  1380. ; The domain for which the cookie is valid.
    0 [( Q6 h2 f; S+ ~
  1381. ; http://php.net/session.cookie-domain
    2 e. i  R5 y% c$ l# O& K6 e
  1382. session.cookie_domain =1 r% i* o8 B, Y; `( y6 o2 s9 @/ H/ G

  1383. 6 C3 E7 T3 Y( {  B, ^9 J
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.0 W2 p4 K2 P0 T! `; G5 e
  1385. ; http://php.net/session.cookie-httponly
    $ o5 a2 K4 I: p% M8 ~: {2 w" s
  1386. session.cookie_httponly =4 b" ~8 d' I& }/ Y# v. ]
  1387. + a6 g) D& C" N1 i( n! [, _# z
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    " e; _0 A/ n6 e9 ~% T
  1389. ; http://php.net/session.serialize-handler
    - j: e; T# v9 z, N/ L0 v' N
  1390. session.serialize_handler = php
    . H. w5 j7 r/ r! A- P0 W5 t
  1391. ! s; f; k  w, F4 d+ N2 I
  1392. ; Defines the probability that the 'garbage collection' process is started
    6 e+ g( m- m. |0 l) \7 B
  1393. ; on every session initialization. The probability is calculated by using
    : K) I/ T4 B9 D7 T3 B0 W
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 k' Y" A+ R* P$ e' e
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    $ A) z% l4 w* d$ z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ t% n+ g, t% B: }/ y6 S6 W
  1397. ; the gc will run on any give request.7 `- j" q' ^: I2 r4 r
  1398. ; Default Value: 1
    5 z+ J5 M* E$ N- A+ z, y1 ~2 }$ u  v
  1399. ; Development Value: 16 M% c2 I" }8 X9 p
  1400. ; Production Value: 1$ v9 ]: z* s- ]: }$ Y$ z
  1401. ; http://php.net/session.gc-probability5 Q4 ~/ w2 y! n+ R8 _) O
  1402. session.gc_probability = 1* `! F3 Z% C: F
  1403. - f- g. w5 W* X, i6 ^" V1 }) f
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    9 N' B- ~8 {* E0 F
  1405. ; session initialization. The probability is calculated by using the following equation:
    7 O2 n  h! {1 i, f) q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and' x, w0 b" X  R1 J) B1 w
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' D* C  w* M2 M4 l/ q- m# n6 v
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ x4 i, p- {' f9 g( {8 A8 e
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ; L) b2 ^. W$ D" B9 m
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 d5 L: t! P6 `( Y: ^5 E
  1411. ; this is a more efficient approach.
    7 J5 |4 J1 p" ]- {' k) {
  1412. ; Default Value: 100+ S' h/ L- q6 j" c" D& X& D
  1413. ; Development Value: 1000
    # @/ b5 D6 \* l" |
  1414. ; Production Value: 1000
    3 S( N, M  c# [. ?* Y1 ~
  1415. ; http://php.net/session.gc-divisor
    + q& L- }7 s  d" ^# F/ b' N
  1416. session.gc_divisor = 10008 ]2 M" k* O' u

  1417. 2 |5 x! k" B2 @5 I9 x8 E
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and( ?4 |# |* R! U3 y8 U7 y9 ?
  1419. ; cleaned up by the garbage collection process.
    / R% j& U0 D5 q1 ]! N& M" v% t/ ?" w
  1420. ; http://php.net/session.gc-maxlifetime
    6 w9 H+ l; p0 }: \/ I, w
  1421. session.gc_maxlifetime = 1440
    5 ?& A9 s% `6 h; S( H

  1422. 5 G4 F  G5 I8 r0 P1 H2 K0 Z5 R
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    3 w  y7 I0 L% ]( J9 W
  1424. ;       (see session.save_path above), then garbage collection does *not*' i1 v$ N0 ?. h* w# ~
  1425. ;       happen automatically.  You will need to do your own garbage) E2 c" x) C' k; d8 Z+ }; |  ?
  1426. ;       collection through a shell script, cron entry, or some other method.; `5 A# ~+ q' m; F% H
  1427. ;       For example, the following script would is the equivalent of; P- u0 c6 ~6 z* \2 B) ^
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % s" f) R+ W+ L; \" n
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    3 d5 Q' W6 Y! l
  1430. ! i3 U9 `, Q3 s7 n8 h2 Z
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.% [4 M0 l  t2 @% a5 I5 K
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    - g8 {7 p6 z2 p6 q- o& x+ I7 C
  1433. ; considered as valid.
    ; r" L; N0 s( Z6 z1 X! v5 s
  1434. ; http://php.net/session.referer-check
    6 F( l# s- v6 ?' V3 Z
  1435. session.referer_check =7 J1 X7 y8 s- k) o

  1436. ' J0 c: l, G7 [0 O, G& F
  1437. ; How many bytes to read from the file.) U: {: i2 L, ^) A! ^, A
  1438. ; http://php.net/session.entropy-length, e! C& C! ?6 ]" Q, b
  1439. ;session.entropy_length = 32$ a1 y+ i+ j9 b; t% ?, s6 F% Z

  1440. / b8 K8 _. [2 z0 k& [0 a, {
  1441. ; Specified here to create the session id.
    ) f* S+ V; i1 ^. Q5 I$ a4 I6 V
  1442. ; http://php.net/session.entropy-file1 d# q; _+ W& ]7 C0 I$ z
  1443. ; Defaults to /dev/urandom9 M7 {) p" S6 e9 _  z
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom- E# d5 X0 m& {9 C; o6 f% z- J' F
  1445. ; If neither are found at compile time, the default is no entropy file.) E5 e! b2 R" w! J0 O6 e
  1446. ; On windows, setting the entropy_length setting will activate the2 q  a! f( T. ]
  1447. ; Windows random source (using the CryptoAPI)
    * W; B, O! \3 O
  1448. ;session.entropy_file = /dev/urandom
    . K) ^" j5 G* O, D
  1449. / j( p) ^0 d% w- ^
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) d2 T* n4 J5 z# H+ v7 |
  1451. ; or leave this empty to avoid sending anti-caching headers., F4 {9 I( a2 M1 H( j
  1452. ; http://php.net/session.cache-limiter
    9 d1 n1 C2 _3 f2 X  u8 d
  1453. session.cache_limiter = nocache- H0 X% f! G9 i4 c" v  [

  1454. ' k3 k1 W* R8 g
  1455. ; Document expires after n minutes.
    6 g# v- X0 ]' G& h+ o
  1456. ; http://php.net/session.cache-expire
    7 ~2 z' S7 V3 c. L9 m$ h
  1457. session.cache_expire = 1802 ~+ e7 O+ O* r9 V8 L5 ?/ t6 P
  1458. ( U, \; }+ s6 R) i
  1459. ; trans sid support is disabled by default.
    2 n9 I4 H9 O2 }( c
  1460. ; Use of trans sid may risk your users' security.
      y/ b+ F; ~# u8 m. ^" Z. _
  1461. ; Use this option with caution.
    . p+ h' x: V: l* h$ X
  1462. ; - User may send URL contains active session ID
    ) M# ^, @- s8 i5 a9 O9 l8 Z% _
  1463. ;   to other person via. email/irc/etc.
    7 B' S/ z5 i+ ~; v
  1464. ; - URL that contains active session ID may be stored; b3 B. p5 z) G( F- X9 K
  1465. ;   in publicly accessible computer.
    " t  [, U3 T2 f8 g& P
  1466. ; - User may access your site with the same session ID
    7 g. s0 j; a' r0 X/ r- r
  1467. ;   always using URL stored in browser's history or bookmarks.
    6 H8 ~3 L& i/ {' I
  1468. ; http://php.net/session.use-trans-sid
    # l6 ?$ Y/ o7 i" A( X/ I4 G
  1469. session.use_trans_sid = 0
    - o9 L: C' x2 j6 f; v" D9 L  y

  1470. 8 n1 |4 h' N% O% q1 i  o
  1471. ; Select a hash function for use in generating session ids.$ y, L0 v1 _- }& f- e+ `
  1472. ; Possible Values9 c8 m: {8 C# d1 o/ E2 P& j$ J
  1473. ;   0  (MD5 128 bits)$ M$ z( L& e) G
  1474. ;   1  (SHA-1 160 bits)- m0 T; b# A8 x0 x$ T
  1475. ; This option may also be set to the name of any hash function supported by
    ' F/ O/ U0 c, Z* B0 {8 e! H
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()& \* \* E8 X$ M* M4 h9 w
  1477. ; function.
    ( g; ^! _7 O7 ^7 D  x7 M
  1478. ; http://php.net/session.hash-function0 J* |' f3 u5 `3 o
  1479. session.hash_function = 0
    6 M2 ]  e' M* q, C/ A
  1480. 9 p+ r. e- u8 o. ?
  1481. ; Define how many bits are stored in each character when converting
    " w3 ^  J# I- U7 n6 Y! ?5 {# i
  1482. ; the binary hash data to something readable.
    % }. c) \6 i0 F" _: r$ C
  1483. ; Possible values:) w+ J8 C. ~1 h' E: d7 Y
  1484. ;   4  (4 bits: 0-9, a-f)# z; i1 R! @' x. D
  1485. ;   5  (5 bits: 0-9, a-v)
    " O0 `- C3 [  S* a2 h
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")1 n8 A1 L9 ?  E4 `$ K- j
  1487. ; Default Value: 4% Q% V: f4 g6 k( e8 A
  1488. ; Development Value: 5% n, c3 k1 L6 [5 Z! C1 x+ l
  1489. ; Production Value: 5
      R% A/ u0 E7 B+ \- ^" |  S
  1490. ; http://php.net/session.hash-bits-per-character2 ]' c% n, w7 t+ i8 ?
  1491. session.hash_bits_per_character = 5% j( `  I  h( Z4 h

  1492.   M1 q& I& b& k" {' x* ?, S% W; f
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags., x5 ^% t. {: I
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    , h( I+ ~2 I; y* r' w. X
  1495. ; add a hidden <input> field with the info which is otherwise appended
    * o/ i) v& G" P- X; R; a* N1 }7 f% G
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    2 ?; n1 g# f3 U. B
  1497. ; Note that all valid entries require a "=", even if no value follows.+ N/ L0 A: C& t" F! A! v
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="+ h: n3 X$ Q# L0 g0 P" X
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# O1 I( G$ ]3 j3 e
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 f, ]1 S2 f" L0 m5 \) X$ n  n4 d
  1501. ; http://php.net/url-rewriter.tags
    4 f6 x+ H+ L4 F0 J, j3 l* k
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 }6 a5 I( a2 w! w/ Y- l
  1503. # d0 t; @4 C* r; Z
  1504. ; Enable upload progress tracking in $_SESSION
    / c) `1 J  z4 Y8 S! v( O. @- g
  1505. ; Default Value: On
    0 L) _- A6 i' b3 p% R1 u  A8 j
  1506. ; Development Value: On3 z) ^, R. i8 d, J0 w) _- K
  1507. ; Production Value: On
    # {0 R( J8 w% S
  1508. ; http://php.net/session.upload-progress.enabled2 ^$ @5 B, c. Y; E, G  g
  1509. ;session.upload_progress.enabled = On
    ' m7 w! K+ [8 R! {$ x  R- @
  1510. ; f( Y7 @5 e# S) T+ z1 u! X
  1511. ; Cleanup the progress information as soon as all POST data has been read/ Z: p8 W9 a: f$ d5 ~: ^* K+ G
  1512. ; (i.e. upload completed)." T7 D& [# N" G% C$ j7 J6 M- U
  1513. ; Default Value: On- v3 }  x# i! U. M- s; C
  1514. ; Development Value: On, Z9 S1 ?+ m/ l* r$ K
  1515. ; Production Value: On
    + y4 x. R" P' D' _3 I# A
  1516. ; http://php.net/session.upload-progress.cleanup' w; a' d: M9 _1 e$ X
  1517. ;session.upload_progress.cleanup = On
    9 x+ t1 L$ S: j5 v3 ^
  1518. + \% j, v# O1 W% b
  1519. ; A prefix used for the upload progress key in $_SESSION
    ) W, Z' t2 Q: ?5 V' z
  1520. ; Default Value: "upload_progress_"
    , [  a% x. Z& y, ~
  1521. ; Development Value: "upload_progress_"
    2 M% `5 F! f4 y' M8 a
  1522. ; Production Value: "upload_progress_"5 A# V1 y/ [' l# B- J
  1523. ; http://php.net/session.upload-progress.prefix% e- [5 H' k# t( s9 ]$ p9 [4 r
  1524. ;session.upload_progress.prefix = "upload_progress_"
    5 l' b9 s. i; F4 K% d6 h
  1525. ( h; j& {9 e& J: j
  1526. ; The index name (concatenated with the prefix) in $_SESSION6 e7 a% v% H  K+ i2 ?
  1527. ; containing the upload progress information
    , J5 k% f1 m. F' {4 |' M1 O. i
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", w% A% ^+ o1 ~) ]9 M( [' h9 B
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# l$ H0 D. Q; U* [2 Y4 G0 G
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"5 r1 ^6 h2 O% S# N+ v: }* a
  1531. ; http://php.net/session.upload-progress.name# s3 Y. L0 q. u$ W6 f- J
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    $ p- f' |# V) T( s; {5 @" Y

  1533. ; t" z  U4 C, I/ n5 w
  1534. ; How frequently the upload progress should be updated.
    + V8 e8 h: Y, R5 V2 R+ {
  1535. ; Given either in percentages (per-file), or in bytes
    - _( P" W5 d" u1 Q5 k$ W6 v6 z+ J
  1536. ; Default Value: "1%"
    & {! Q& k3 [5 A
  1537. ; Development Value: "1%"
    - I/ o$ v' t) m' D1 ~
  1538. ; Production Value: "1%"
    0 \1 X5 ~& M8 o! E
  1539. ; http://php.net/session.upload-progress.freq6 W  s- y: [+ y+ b
  1540. ;session.upload_progress.freq =  "1%"2 v/ C1 X9 n9 }- y7 t) e

  1541. : ~' I5 n0 ?* Y8 P5 a
  1542. ; The minimum delay between updates, in seconds, C: j8 k* F1 k- Y
  1543. ; Default Value: 1
    3 t- g+ g  P( A3 _
  1544. ; Development Value: 1
    5 e- X6 G4 o( _. N; N7 Y
  1545. ; Production Value: 1
    ; m+ V5 m% ?9 c2 w: D9 K0 a+ {- S
  1546. ; http://php.net/session.upload-progress.min-freq
    $ ~8 v! G, L# K* U
  1547. ;session.upload_progress.min_freq = "1"
    - z  t! D+ F2 a+ F

  1548. - u3 W& D- k. W( B
  1549. ; Only write session data when session data is changed. Enabled by default.
    : c' g* F6 |. K7 ^. m/ i
  1550. ; http://php.net/session.lazy-write- _; ?8 p0 q7 p% L& u! V) \
  1551. ;session.lazy_write = On
    & N* H0 z- x4 r4 `

  1552. / z2 L" T* @6 o
  1553. [Assertion]
    " Z, r  M9 D( s  r% o8 r, F. m
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    * d/ U' ?6 w2 H0 T2 T3 b9 r. x! k
  1555. ; -1: Do not compile at all4 K/ @. e3 B1 R7 n
  1556. ;  0: Jump over assertion at run-time$ U* Q3 `- P, U- q( \6 ]9 _
  1557. ;  1: Execute assertions) G6 h) C9 P2 i: W+ L. n3 R
  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)
    ) W5 P$ K/ p  L5 A5 ?. m
  1559. ; Default Value: 1
    * B" L( d& A. r4 |2 z" r
  1560. ; Development Value: 1) I1 A9 R! k: X+ K: W
  1561. ; Production Value: -1
    3 r# [& [  X( K, {6 B+ Y/ E! b
  1562. ; http://php.net/zend.assertions
    3 z  h& j- R& p6 ?1 N
  1563. zend.assertions = -1( [1 I) O4 w  `/ J% L; y1 N

  1564. ' j) @# t4 o9 m1 j
  1565. ; Assert(expr); active by default.
    / g4 T0 b# M0 r. L. F3 U$ l6 F0 D
  1566. ; http://php.net/assert.active& K% c7 V5 a0 B' \% V+ [! S
  1567. ;assert.active = On2 E1 G' D0 y! D; _+ k: ~9 d& N
  1568. 4 i  T5 s+ q! j' w9 _/ Z  _# P
  1569. ; Throw an AssertationException on failed assertions5 q3 ]# w: b1 J4 M# {4 G! P; b
  1570. ; http://php.net/assert.exception
    6 U! D, O/ W4 b4 ]4 d3 A5 _
  1571. ;assert.exception = On
    , `3 w% y6 f& p2 s9 r! B8 p

  1572. 5 r4 e, J, T: f! g9 g- k# j
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    2 d! ^6 s. R$ g9 n& }0 Y% s, E2 d
  1574. ; http://php.net/assert.warning
    4 M/ M0 K8 P8 a& Y* w3 C6 g
  1575. ;assert.warning = On
    5 Y  y/ {6 R8 B2 d8 ^- [
  1576. 3 m# I8 f) ?* G( j8 A2 I
  1577. ; Don't bail out by default.
    $ }% R* J" n. z9 J7 s* o
  1578. ; http://php.net/assert.bail
    6 H0 N$ A9 N. |- p+ ?
  1579. ;assert.bail = Off. J5 K; T7 @, y) O3 }' t% Z3 Y$ P

  1580. 8 N8 z3 \* k0 X( l  r
  1581. ; User-function to be called if an assertion fails.$ G" m: i0 }5 Q4 O0 k/ F* |# J
  1582. ; http://php.net/assert.callback
    - W( N& g4 z% ]; T$ g+ u4 X! }
  1583. ;assert.callback = 0
    / [, _7 A% o5 u

  1584. / B) F) E) M4 @& L3 N% C+ g8 P
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ) a9 U# \6 N- J7 r
  1586. ; error_reporting(0) around the eval().7 g1 Z' O2 q! D, h% J4 I7 G5 N
  1587. ; http://php.net/assert.quiet-eval
    , }" X6 V& L- x6 r
  1588. ;assert.quiet_eval = 0
    ; E- I, s$ I6 L( m
  1589. 7 `. T8 `3 b9 M3 o: B
  1590. [COM]
    ) z# v& K  Q- T$ E
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # T7 T) S9 v- v9 k/ G
  1592. ; http://php.net/com.typelib-file8 q# p. q9 k1 c: {7 p9 q! Z
  1593. ;com.typelib_file =
    " c! a$ B. M- B

  1594. ; D" w1 v+ z: M- c, l
  1595. ; allow Distributed-COM calls, s# _  b- W: m2 l
  1596. ; http://php.net/com.allow-dcom" j" H% D* ]' ~$ M
  1597. ;com.allow_dcom = true, m( Y6 A; F' S( ?- q
  1598. ! y$ ~0 a1 N/ C- Z
  1599. ; autoregister constants of a components typlib on com_load()' E3 m7 r, y* y. ?2 I6 f
  1600. ; http://php.net/com.autoregister-typelib, |8 N( e1 N- |  }0 A7 `5 H+ z$ ?( T
  1601. ;com.autoregister_typelib = true9 o! S! X0 i1 ?- v- I# `" j
  1602. + y; [0 @0 v5 [8 [' [
  1603. ; register constants casesensitive  |/ E3 c. \/ R1 I' @. s2 j& w
  1604. ; http://php.net/com.autoregister-casesensitive
    & M( w/ S5 X/ w1 y4 \
  1605. ;com.autoregister_casesensitive = false
    ) n; O" S; H! y+ ?( i& O, \* U
  1606. . a0 t! ]) i# j. F
  1607. ; show warnings on duplicate constant registrations: ~" q3 N5 Z( \! J, o/ ]1 F$ Z
  1608. ; http://php.net/com.autoregister-verbose
    9 V/ J* d$ ?2 w
  1609. ;com.autoregister_verbose = true# r. Q- ^6 Z* Y
  1610. 9 s3 Y2 G) z7 N5 K+ M
  1611. ; The default character set code-page to use when passing strings to and from COM objects.7 I/ N5 x4 o/ J4 p! D: q
  1612. ; Default: system ANSI code page
    % ~% h6 A: G0 I. G6 s9 w
  1613. ;com.code_page=6 }2 ?7 K. R+ v/ v$ X, u

  1614. # p( M" L5 y5 _- ]0 }) k# Z
  1615. [mbstring]
    ; H* n: q7 t, ?( s4 u5 s0 \
  1616. ; language for internal character representation.) V; ~$ `: D8 s7 ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.! f2 l+ P* |3 m  z6 O
  1618. ; http://php.net/mbstring.language6 Q2 U+ D- C) N
  1619. ;mbstring.language = Japanese
    9 E, H# w( L  e1 g
  1620. ) Y- S. `$ F) [1 d8 s' s
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " H, g0 T6 ~' p7 {, ~
  1622. ; internal/script encoding.. e, `1 U# @9 n, B# k
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- q8 S6 W' V- @( @3 \/ k
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : \4 L4 R8 P- I# a
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 h" r; L9 G8 g1 c6 U3 y9 F! d
  1626. ;mbstring.internal_encoding =  Q: {# u9 Q" s" O/ x' i$ ?

  1627. 1 \! f0 g- B! o+ a  p* I' P  o6 R
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 \, B- W3 r. w, m- G. s
  1629. ; http input encoding.
    % v! Z: a/ H3 [
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.9 u# N3 k9 |8 u! f; ~
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.& F8 G& J6 z$ v, I
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input( i& ]0 @/ r; ^0 g
  1633. ; http://php.net/mbstring.http-input
    ( i7 ], |; K; k% l. ~0 t
  1634. ;mbstring.http_input =
    ! U3 T8 O% C' O- b1 O4 G

  1635. . ?0 I7 w* U* ^
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.# O, Q' f- E* ]' Z8 U
  1637. ; http output encoding.' J6 E, B: J* @) V0 x
  1638. ; mb_output_handler must be registered as output buffer to function.
    * D& m6 m! |$ ^% d8 C
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    0 E3 _7 Z1 y, ]) p+ d
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    3 [* s1 H, H, G2 d( d2 ^- `
  1641. ; To use an output encoding conversion, mbstring's output handler must be set  N! g# U/ M3 ^4 N3 L9 n
  1642. ; otherwise output encoding conversion cannot be performed.
    ! D6 `7 f  G" v5 R
  1643. ; http://php.net/mbstring.http-output. b& {! }, k+ r
  1644. ;mbstring.http_output =
    % ]6 R, |) w4 ^
  1645.   q! M9 t' G+ e! f( p- I
  1646. ; enable automatic encoding translation according to0 o3 o9 P, }5 |, E# V
  1647. ; mbstring.internal_encoding setting. Input chars are3 x' Q, {) N0 Z+ Z: C* I  r
  1648. ; converted to internal encoding by setting this to On.
    & g0 y1 t7 w& Z
  1649. ; Note: Do _not_ use automatic encoding translation for0 `+ {$ h( N7 W3 y6 F. ?. F7 K4 j; O* |
  1650. ;       portable libs/applications.0 y* L4 Q. m, q' n4 H1 p
  1651. ; http://php.net/mbstring.encoding-translation
    1 d: `3 p/ N# G0 c9 `
  1652. ;mbstring.encoding_translation = Off! A/ t3 s$ v; C8 p2 h' z) k- U  p* E
  1653. . h% r1 t- q( v+ V& @
  1654. ; automatic encoding detection order.
    / Q4 c+ L5 o7 |3 p* c7 Q
  1655. ; "auto" detect order is changed according to mbstring.language
    # }0 p! x, j' p! t2 X
  1656. ; http://php.net/mbstring.detect-order# u# f/ x( q' V+ ~# w9 Q: x
  1657. ;mbstring.detect_order = auto
    5 j! o, A( f, C" y, F5 v
  1658. . ]: p8 g- O9 [4 ]9 B" q9 a2 ?
  1659. ; substitute_character used when character cannot be converted% j  s; a/ ?2 J! G6 t8 a
  1660. ; one from another
    ! s; w( B0 e; n
  1661. ; http://php.net/mbstring.substitute-character% M1 }8 @1 L" x; R$ R
  1662. ;mbstring.substitute_character = none* E& P& E# F+ O$ P

  1663. 8 T. f+ s# O7 }) {2 _1 `
  1664. ; overload(replace) single byte functions by mbstring functions.
    6 y. [& A) P7 ^
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 M: ~# O, `7 E# @
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    7 N3 u0 W- T& T7 u! W0 i/ S2 K
  1667. ; For example, 7 for overload everything.- @0 j* S) K8 z
  1668. ; 0: No overload
    " O3 a9 _1 e8 Q6 t) t
  1669. ; 1: Overload mail() function
    ! I# l) V/ n4 f" U( b& N
  1670. ; 2: Overload str*() functions6 E6 f6 M/ f, Z
  1671. ; 4: Overload ereg*() functions
    ) T! N* O( N0 J* x: ?1 A
  1672. ; http://php.net/mbstring.func-overload8 b) z% Z3 I9 x9 M+ M5 M' o
  1673. ;mbstring.func_overload = 0
    ) I/ T# U1 Y4 ]6 P; s

  1674. - W2 z/ M) d( O5 {- s
  1675. ; enable strict encoding detection.
    5 v' ^1 L" g7 [# J/ }  [  J6 Q; p
  1676. ; Default: Off
    - ?7 S% D- e& i, E. L% }6 ^  w
  1677. ;mbstring.strict_detection = On+ B* P2 H- M0 O# H
  1678. & C+ E. ?3 R4 L3 t
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    $ z% M& o8 y* k- v* p5 \" F! D
  1680. ; is activated.
    - y( f; j/ s1 p* }& L
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 N; }, Z0 I; w' e" ?, l
  1682. ;mbstring.http_output_conv_mimetype=. O; G( {; D& C) K0 ?2 Z

  1683.   K, z& p* F& }% W8 J$ j
  1684. [gd]& K; s5 G/ Q: X; W
  1685. ; Tell the jpeg decode to ignore warnings and try to create$ L* b- j% Z, C1 J$ u
  1686. ; a gd image. The warning will then be displayed as notices
    % Z4 S; k) o* i2 Z# ~
  1687. ; disabled by default
    . s3 k8 X5 h8 F. P9 {
  1688. ; http://php.net/gd.jpeg-ignore-warning
    / B: Z$ [# F0 Z& a
  1689. ;gd.jpeg_ignore_warning = 0; J5 Q6 u) @3 V" l. @7 a) ]

  1690. , E4 i. K' g  k, N( K
  1691. [exif]7 b- B5 ~, W3 c+ M9 ?
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % [( `: k) a1 n: A
  1693. ; With mbstring support this will automatically be converted into the encoding9 O9 |; t: \5 _  h$ X6 S0 L
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ) n6 A" Z7 H% K
  1695. ; is used. For the decode settings you can distinguish between motorola and
    : @* Q3 j# x# T8 M+ }
  1696. ; intel byte order. A decode setting cannot be empty.+ m& j- S9 n; S& {; {. `
  1697. ; http://php.net/exif.encode-unicode
    7 F6 g  ~; a# W" @$ V8 H
  1698. ;exif.encode_unicode = ISO-8859-15
    5 T' B3 W/ y5 b' C- q' ~2 `

  1699. % E) S+ D  v) h7 l7 o4 W, U
  1700. ; http://php.net/exif.decode-unicode-motorola
    * `* }$ P2 {6 d7 ]5 `
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    2 X3 Y8 W8 c% r: Y4 [( J
  1702. $ p% E4 [+ l" W
  1703. ; http://php.net/exif.decode-unicode-intel( g8 l0 A& n8 \$ B% v; N. y7 Q5 s
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ; ^" H* u( ~* ?. M

  1705. 3 ]4 Y: L! r" o  x
  1706. ; http://php.net/exif.encode-jis
    1 q4 G/ e. f: n5 E
  1707. ;exif.encode_jis =
    " p1 r3 a; l* i0 O4 L$ q
  1708. 5 x* Z3 f' j9 t& B: }
  1709. ; http://php.net/exif.decode-jis-motorola8 D. G) Y! G2 I6 S1 S; p5 W7 \) ]
  1710. ;exif.decode_jis_motorola = JIS
    4 }8 N* O7 m3 C3 N" d6 ^, W
  1711. ! Z# m8 w/ W: f5 Z3 V( y
  1712. ; http://php.net/exif.decode-jis-intel4 B6 Z! \4 E$ @4 F) y5 \6 f3 Q/ [
  1713. ;exif.decode_jis_intel    = JIS
    . o, k0 W' n( T

  1714. . Y, t! f0 h$ m
  1715. [Tidy]! x3 X& n" E% e5 c! k7 F& y
  1716. ; The path to a default tidy configuration file to use when using tidy
    ( r0 @, {" V) @) O
  1717. ; http://php.net/tidy.default-config
    7 v. G0 I( ?' @5 P; A
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg9 S& Y' r$ Z, V6 v$ _

  1719. . q7 E, ]# T& A  |! D$ d% q2 T
  1720. ; Should tidy clean and repair output automatically?
    * O( [) {: q2 c1 n
  1721. ; WARNING: Do not use this option if you are generating non-html content
    - ~1 f8 {1 S* i: b
  1722. ; such as dynamic images8 ?3 O5 _5 @+ L% f4 I( r
  1723. ; http://php.net/tidy.clean-output+ W( a/ _5 j; p- l/ y/ E" a( w
  1724. tidy.clean_output = Off
    ) }. f# C$ b6 T) g

  1725. $ {: L$ O; N# K, n+ x5 Y& Z( X
  1726. [soap]/ ~8 U2 D7 e/ ]1 n/ |+ C
  1727. ; Enables or disables WSDL caching feature.- U: J+ t- x; s2 |- Y* d  n( _
  1728. ; http://php.net/soap.wsdl-cache-enabled
    / u$ M0 }( R# G+ }- ?* W; B# B
  1729. soap.wsdl_cache_enabled=1
    ( {) a" l6 B) G) \
  1730. 4 c& A: |+ r' W% `& ]' v
  1731. ; Sets the directory name where SOAP extension will put cache files.5 q* Z* b! L1 {4 O% x9 v
  1732. ; http://php.net/soap.wsdl-cache-dir
    6 Q% p% r- d* Y; [) B4 ?7 H
  1733. soap.wsdl_cache_dir="/tmp"
    ) C- C5 J, k- n( G( P7 y0 @8 B

  1734. ! i4 L* k) ]8 y
  1735. ; (time to live) Sets the number of second while cached file will be used3 K; m  e+ \) Z! _- f
  1736. ; instead of original one.
    + f7 P7 }% u& J* Q. l+ y. t
  1737. ; http://php.net/soap.wsdl-cache-ttl
    % L& B7 l  ?9 n. p* f7 `
  1738. soap.wsdl_cache_ttl=86400
    4 V. _! k  ^( I9 k. h& m) `4 S

  1739. - T4 v8 S7 `" d9 q, A
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    9 g: E% v# R* o7 s- ~
  1741. soap.wsdl_cache_limit = 5
    7 S2 k' h1 p$ _2 U+ y4 ]
  1742. ' }! [$ k1 e; y0 A6 g; Q
  1743. [sysvshm]
    0 }, V+ N; P% F) V5 T1 S
  1744. ; A default size of the shared memory segment/ M  I8 ?0 Z. L$ A. E4 R
  1745. ;sysvshm.init_mem = 10000: h8 V6 S9 ^  ^8 a, C6 I
  1746. 3 j; Y" p; C$ g$ [
  1747. [ldap]
    9 E6 |' s/ Z7 R4 R
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    3 S! I8 ^. X3 R" L4 ]+ p1 Q
  1749. ldap.max_links = -1) \' z$ M9 {4 X; e/ W0 A# y; c
  1750. - y5 f5 v6 w0 l/ Q2 |$ h. |4 _: I( X
  1751. [mcrypt]* i2 ^2 z8 d; g3 C0 O6 t
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    5 t  ~, w+ B9 |+ z  {: {; Z
  1753. $ f+ E" i" x$ {! [
  1754. ; Directory where to load mcrypt algorithms
    4 O: i' p1 X+ o/ r
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 N. G+ c% ]" @
  1756. ;mcrypt.algorithms_dir=9 S9 v& H) h, w) f4 m. H3 u: D

  1757. 9 S4 y: ?& B/ N- w
  1758. ; Directory where to load mcrypt modes
    ! @3 r; ~6 ~' Z9 Q. ^, ~+ O
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ M4 l+ w' Q) r% Q
  1760. ;mcrypt.modes_dir=
    1 F$ Y0 L* m: `

  1761. * ^6 g. J( W/ R$ g
  1762. [dba]# ^; x9 Q3 W  \( e" h! O: V
  1763. ;dba.default_handler=
    % ?* `  d7 U4 \, ^; U' P: D& \3 k

  1764. ; h5 M; B4 T% C3 ?" V8 O0 t* f
  1765. [opcache]
    : k6 k7 p" b3 H8 z5 s( S
  1766. ; Determines if Zend OPCache is enabled0 m8 D/ D# L- Z% |0 N2 d' ~  ?) A6 ?
  1767. ;opcache.enable=0
    $ q3 b# T1 G! \( B! V3 e
  1768. 8 l! O, y9 i) ?8 A  Y
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    1 n7 n: H$ J4 U3 U6 }
  1770. ;opcache.enable_cli=0+ c& a7 ~0 e% Q; j

  1771. & B% t" x+ X0 a8 E: ], z0 ~  O
  1772. ; The OPcache shared memory storage size.
    - `6 j  [. R8 G- q; J5 e- Q
  1773. ;opcache.memory_consumption=64
    6 w$ l" o& g2 ~& F4 V3 z+ V* R
  1774. 2 i1 I; t* n" v: y# M
  1775. ; The amount of memory for interned strings in Mbytes.
    4 k8 H; p; F; |0 m2 B) N5 t3 n
  1776. ;opcache.interned_strings_buffer=4
    * w. n4 {6 _* v8 Q% J) q* L
  1777. 2 }/ K$ E+ X7 e! r1 N( J( U4 m
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.6 v2 V( c- D% G( h
  1779. ; Only numbers between 200 and 1000000 are allowed.+ x1 K5 ~8 ]% Q% Q
  1780. ;opcache.max_accelerated_files=2000
    6 P/ o1 ]6 Y* E

  1781. - \1 z! g& T7 W% q+ S
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled." b$ |6 ^9 a9 c5 R4 P5 ^9 b
  1783. ;opcache.max_wasted_percentage=51 @6 ?) S8 W, L+ f

  1784.   {9 H! c4 B5 y; W9 Z# n( G3 ~& c
  1785. ; When this directive is enabled, the OPcache appends the current working
    ; ^: J6 t5 S* D% f, X9 l/ G
  1786. ; directory to the script key, thus eliminating possible collisions between
    - }; `& ~. z1 g
  1787. ; files with the same name (basename). Disabling the directive improves. z/ h& n" H3 r$ k; u
  1788. ; performance, but may break existing applications.- z2 Q5 v% j8 l9 D" j8 P* K
  1789. ;opcache.use_cwd=1
    9 P& e) l  L/ V1 @( a

  1790. % a  c  j! |/ [1 k& b9 k: d% O
  1791. ; When disabled, you must reset the OPcache manually or restart the  ~' N2 b( J5 w
  1792. ; webserver for changes to the filesystem to take effect.
    . a3 D1 y6 L4 x3 i! _) p- Q9 R& w
  1793. ;opcache.validate_timestamps=13 r7 z0 {; [/ N: ~; Q; C- i3 ~
  1794. 4 x: `/ \8 r' z1 ~6 \4 u2 x
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    / E5 D4 p: h8 v9 M5 F8 q
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    $ S% A. G" s4 \
  1797. ; once per request. "0" means always validate)7 ]' z/ O: N* k% {0 [7 w# g' a6 |4 ?3 r
  1798. ;opcache.revalidate_freq=21 j- I: N. R. L' Y, W8 O/ x
  1799. 1 V& u9 g' Y& M4 \3 d, B$ ^' e0 O
  1800. ; Enables or disables file search in include_path optimization! O5 u7 p, Z" l# }* W0 G
  1801. ;opcache.revalidate_path=0
    % {& J7 C2 Z* F8 g7 S4 b

  1802. 7 z3 o2 Q% j6 R+ {
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    4 m; ~: s( D1 W! w& r; _- k6 R) l
  1804. ; size of the optimized code.3 c9 ?5 q. R9 y7 m3 e
  1805. ;opcache.save_comments=1+ c( w4 q: f# V' L# D* t% O

  1806. ' I: [, s/ K; V3 F
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    5 W" t9 F) P& E" [. k5 \. N  Z
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.9 z0 |( k- ], n% g2 @0 p, x4 h, A$ h
  1809. ;opcache.fast_shutdown=0' H. W" i2 v4 l

  1810. 9 b  }$ L' Z  `  x, d
  1811. ; Allow file existence override (file_exists, etc.) performance feature.7 M9 z3 G% Y' X7 l3 S' @
  1812. ;opcache.enable_file_override=0$ S5 z4 f9 M' W: \  R
  1813. 9 u; J; n( ]9 u0 X- B
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 H* r" A6 @% L* V
  1815. ; passes- B  a! n& O- O' ]9 u
  1816. ;opcache.optimization_level=0xffffffff" I. C4 M4 G& k, z% x

  1817. 5 j; @' A5 j7 k# A, h
  1818. ;opcache.inherited_hack=1
    ' |1 k! B, b. R
  1819. ;opcache.dups_fix=0
    & M. [; X6 b9 m$ F/ ]! p
  1820. 6 S% [$ l; p# Q1 M2 Q
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    & J( l! @: F& {- H
  1822. ; Each OPcache blacklist file is a text file that holds the names of files+ ]6 Q0 {/ [& ^2 P8 v! s0 |7 A
  1823. ; that should not be accelerated. The file format is to add each filename/ H  j. k" e( `; A* o- I* M& Y! z
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ( i4 J, D+ O4 M5 I
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    7 m( t* u; O4 T' R
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).2 a8 R7 {$ A. N3 F
  1827. ;opcache.blacklist_filename=6 f0 w9 b/ N/ p- ^
  1828. * J6 _1 {+ |- q3 I
  1829. ; Allows exclusion of large files from being cached. By default all files3 {! @+ L# H' C" \0 ~
  1830. ; are cached.
    2 G  n9 U: ~6 N0 E% |+ ]; k8 B; ]- L
  1831. ;opcache.max_file_size=04 q) e" n' Q  B8 M
  1832. + `- `/ R4 \; W  z0 u
  1833. ; Check the cache checksum each N requests.
    4 \" J5 }# h) h% F9 N
  1834. ; The default value of "0" means that the checks are disabled.
    7 Q4 J# a+ P0 v1 f  R# M0 `
  1835. ;opcache.consistency_checks=0
    . ?4 I2 S- k  e5 S
  1836. ! b) I; L  v5 T* P# q# k
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache5 r  N  V% S$ G4 g: X
  1838. ; is not being accessed.
    ) E) c+ h* F0 ~# z/ B: [
  1839. ;opcache.force_restart_timeout=180
    # Y$ D/ c8 b( Z+ A

  1840. ' F+ ], N- z, q2 @0 T
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
      G0 X, q. g% X! ?
  1842. ;opcache.error_log=% L  Q6 G* M1 ~$ D1 F

  1843. ( N5 V! t8 f; W
  1844. ; All OPcache errors go to the Web server log.
    % P' O* E- C6 y( \
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    0 g" i( D0 E3 d7 u& o
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    * x7 m* w2 O. I3 i4 L; R
  1847. ; debug messages (level 4).
    ) x+ \$ y5 A1 V* }
  1848. ;opcache.log_verbosity_level=1
    " a$ `" m- \. v3 @1 x# G- k

  1849. & Z& F4 ^6 D1 N& M# V' ^
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.' G1 f( P$ z, n8 H9 Q
  1851. ;opcache.preferred_memory_model=/ K# l7 }$ Y$ [: k2 J( ~4 d  j
  1852. % Y  W0 S6 v9 Q7 P9 k0 U! A; d
  1853. ; Protect the shared memory from unexpected writing during script execution.  ~: C4 x' l, J; _& e# R
  1854. ; Useful for internal debugging only.
    8 h: x( v  q; j6 r$ a4 Y6 ~
  1855. ;opcache.protect_memory=0
    , [7 s+ P6 r8 P6 b$ C+ o1 b& M
  1856. " [4 r, b: L) G# {$ f1 |# K' z' Y
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is0 u6 @" G5 O8 j- w. n. N, V
  1858. ; started from specified string. The default "" means no restriction
    # L" K9 s# |4 L+ }7 ~1 m+ @( m! U
  1859. ;opcache.restrict_api=) t7 F" _- V& ^) P

  1860. 7 e- [( A1 k1 A- Y( u0 W3 h
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP2 w# G% X7 [  @% L% |# Q
  1862. ; processes have to map shared memory into the same address space. This
    2 t5 f+ p# ]  G1 Y+ q
  1863. ; directive allows to manually fix the "Unable to reattach to base address"1 k/ u9 K" X7 d* ^7 c$ w
  1864. ; errors.
      ^/ @: A, A0 w+ F6 y. s6 L( ]7 E, @7 Y
  1865. ;opcache.mmap_base=/ `6 W$ e* L6 d6 {: }
  1866. 2 s) T  |1 ^7 p
  1867. ; Enables and sets the second level cache directory.3 J9 a, a; i; x/ F' v7 y
  1868. ; It should improve performance when SHM memory is full, at server restart or1 ~; e6 x- Z+ R3 l4 O( f9 b" h) r6 f
  1869. ; SHM reset. The default "" disables file based caching.
    ! ]( i+ A6 w  ~( {
  1870. ;opcache.file_cache=
    5 p: h1 J" X. x/ z+ D8 Y" N

  1871. 1 o, K0 X# s2 C; d' ~9 X/ g
  1872. ; Enables or disables opcode caching in shared memory.
    7 E% u  y; p- ^3 A# U- K  x4 ~; h
  1873. ;opcache.file_cache_only=0" p, _/ ?# d* S, B  P1 W7 X
  1874.   T* z- I7 O$ [2 T8 U7 g
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ) o! d6 u2 P+ ^. X4 S6 p0 Q
  1876. ;opcache.file_cache_consistency_checks=1. m5 _; ^! a2 p( M9 S

  1877. # Y4 C1 t$ z( ?2 Y5 [2 c4 B& ?
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to" _  P( k( i3 R4 a
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    & S: W3 ~' H0 ^, r7 K; i
  1880. ; cache is required.
    8 K1 F* q$ ]( o0 p% j- {! {
  1881. ;opcache.file_cache_fallback=1' E/ I# S  V% D) X" T( \6 C+ ?$ w, K

  1882. 4 A" |( ]+ ~8 C7 C  J  O( f" W
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.. B6 F/ F7 V% P: {0 B% w4 Y
  1884. ; This should improve performance, but requires appropriate OS configuration.1 x& Y# v- ?3 I( D* y* ]" p
  1885. ;opcache.huge_code_pages=16 Z1 C# i0 B: h  e6 f

  1886. 1 E: \' K2 {) d" Q
  1887. ; Validate cached file permissions.) a! U# O# h' m+ J5 o; K
  1888. ; opcache.validate_permission=0# A& g. s8 I# ?0 M  o! @
  1889. ( s& e, c+ ~9 c5 o' d# e5 Y
  1890. ; Prevent name collisions in chroot'ed environment.
    " A6 l7 s/ c0 u9 `/ M/ @
  1891. ; opcache.validate_root=0' I4 T. [4 u8 r8 Y- E; a( B. q

  1892. 6 b$ M) I! j) J2 B0 F) A
  1893. [curl]
    $ G' `9 }2 U$ |4 e0 `
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an( o" A7 q( t- e! ?
  1895. ; absolute path.0 z6 F5 L9 d# k3 `+ Y' p/ |
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt# g7 ?6 c# G5 }( U  h, Q2 k

  1897. ' ^) ^- D! k* N7 M& {
  1898. [openssl]% n4 o8 o" i8 s4 |
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem7 Z2 ?6 e7 T# p0 c
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 M9 A3 ^/ O3 p" F
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ; S7 n5 f: @8 \
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    1 ^8 X7 p( B( W; j' f5 q/ V- v
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context. X; N( X$ Z4 v" u
  1904. ; option.* y" O: ?0 G8 z6 c
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt) h8 p1 Y. U5 `3 X4 p, z

  1906. , p4 F! `* j6 z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    , u  ~: T) q- G4 |
  1908. ; directory pointed to by openssl.capath is searched for a suitable% C  Y# O( b* H3 V$ `1 @, Y8 ^! G
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    1 Y2 ^" b9 J7 [) V1 C# u3 A
  1910. ; Most users should not specify a value for this directive as PHP will
    & q, |  ]1 {2 G0 j
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 @: x0 E- D1 G. ~' D
  1912. ; this value may still be overridden on a per-stream basis via the "capath"5 O$ M) d* ^) M5 J$ B" _
  1913. ; SSL stream context option.3 e: ~7 q# h. {) ^
  1914. ;openssl.capath=
    . B! k: }' K4 W1 t7 S: U
  1915. ) a& h/ Y; }' x! ]$ A7 i$ h
  1916. ; Local Variables:
      z- n5 G9 [. F* u
  1917. ; tab-width: 4+ a9 l" U( A+ R( _+ I7 q  ^4 [
  1918. ; End:' [; M% g0 p3 q& `. m& {) [

  1919. / c& X+ w$ M) a
  1920. ;eaccelerator4 P6 S& M1 b6 P& P

  1921. 5 z4 D1 h  v5 l
  1922. ;ionCube4 q' Z2 k6 B. D0 q  o% ^3 e
  1923. 9 H; I) u+ C! X9 q
  1924. ;opcache
    5 b0 E" n% p* f1 D/ J2 x2 X" i# I
  1925. 9 B8 U* h2 l$ v# T0 U* A; d. L
  1926. [Zend ZendGuard Loader]
    3 E0 f! [; Y+ [# Q
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    * C0 y  H8 U* C6 D$ j# U# Z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    # q! b, G8 K  X3 h
  1929. ;zend_loader.enable=1
    7 T* Y4 `: k6 X% W: c) }& C
  1930. ;zend_loader.disable_licensing=0
    / [! d# y! V2 C) d6 x
  1931. ;zend_loader.obfuscation_level_support=3
    % |# b& Z: I: R
  1932. ;zend_loader.license_path=% x# F5 h8 k4 Y9 R# w7 M: g, x
  1933. ( x, w3 P- x8 ^7 \' G- O  t9 g( r/ \
  1934. ;xcache$ s" L% z$ B- ^1 ~+ i

  1935. % J. ~% k; B# b# |; U/ j  H
复制代码
$ V' W' @, }0 ^0 M
, F$ ?  _4 c; e' S+ `
/ Z; G* E: z. P% g* u6 p% d
* d7 k! a/ ]0 B& }* H% Z
) e2 Y# H3 Z' a8 k* }$ i4 ]
* L6 j2 N# o) s) H3 z% X2 X3 Y

$ K# u' A! {: B* NPHP5.6版本原始设置
. M& ^2 G$ d8 q& S8 p$ o" x# y7 Z* R, X) \5 Y
  1. [PHP]( J0 _, z8 v& K6 l8 z* }

  2. 0 V! Z  u/ s/ p9 l
  3. ;;;;;;;;;;;;;;;;;;;0 r, i$ |; E9 i
  4. ; About php.ini   ;
    ) z# H" Z) j% g. F- }& u; Q$ g
  5. ;;;;;;;;;;;;;;;;;;;
    - P( D! E( S( N% m2 D( ~! k
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    1 @. O, \# l; @0 k- }3 o) O
  7. ; configuring many of the aspects of PHP's behavior.; o+ }1 j5 e0 N% v, ]" }( C8 e- ^+ w: X

  8. 9 q) Y: C% u% K0 H2 w) N) }
  9. ; PHP attempts to find and load this configuration from a number of locations.! `$ C7 G. _3 V/ \7 K* W/ M2 J
  10. ; The following is a summary of its search order:
    6 n# ?/ u$ n- I, {
  11. ; 1. SAPI module specific location.
    # T/ u; a% @7 R; n; Y2 y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)' k6 x6 m. w3 |! \% a( g
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)4 q8 d0 V: r' {8 d9 \" M" q$ g) j
  14. ; 4. Current working directory (except CLI)
    ' B: k. n8 `3 ]6 A, I" j- c
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP# G7 [' i2 c: ^* ^% g1 c- t2 o9 Z
  16. ; (otherwise in Windows)
    ! Z+ D2 [/ t& \2 x
  17. ; 6. The directory from the --with-config-file-path compile time option, or the% h2 a# K# y4 O7 \5 r- D
  18. ; Windows directory (C:\windows or C:\winnt)
    % Z2 E  _1 ]" G$ R6 l7 n; S
  19. ; See the PHP docs for more specific information.
    " s5 j4 }+ m5 n' e) h- a
  20. ; http://php.net/configuration.file; c1 ?+ y0 \! h3 o  D6 w5 b- j+ l
  21. 2 Z1 a" k0 Z2 X6 `
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, }4 F+ J9 P# b7 O: a9 N
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 I3 W) g9 z1 Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( F1 s2 b- \; H( Y* b) Z9 A& ?/ Z
  25. ; they might mean something in the future.
    6 c" b9 L0 [; o( X; L  c0 m

  26. - R/ a$ C$ W) f5 Z2 v
  27. ; Directives following the section heading [PATH=/www/mysite] only! R4 {3 I8 j0 h- o. d1 n6 Q  D( k
  28. ; apply to PHP files in the /www/mysite directory.  Directives# R/ ]8 }  W0 V! L- `
  29. ; following the section heading [HOST=www.example.com] only apply to
    3 t" z( J7 F! M) Q4 i
  30. ; PHP files served from www.example.com.  Directives set in these
    / p, o. }8 N  b0 q
  31. ; special sections cannot be overridden by user-defined INI files or* U* i5 ~& I2 M& k5 s$ c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under$ g, {9 p  d; A- z: P
  33. ; CGI/FastCGI.
    - ~: i6 P. ~7 ~0 u- d
  34. ; http://php.net/ini.sections
    % \: B, f' M3 g

  35. ) B( c; Z& U6 ~+ l
  36. ; Directives are specified using the following syntax:+ h1 s  @0 n: b* b
  37. ; directive = value
    - s' m0 I1 t) m; E6 o
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . }8 Q/ i9 _7 t8 p) j$ ]% A
  39. ; Directives are variables used to configure PHP or PHP extensions.
    9 V& t: V+ V9 ~! F, j
  40. ; There is no name validation.  If PHP can't find an expected
    ; e# x7 D9 j( `4 ?0 B( _; t
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # j! x+ t" l- E6 J+ `8 R
  42. 9 t$ \3 `3 F  n# ?3 `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one7 Y' k) ~* Z1 Y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression: E1 C: v$ {. F# E5 f
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! [# Z; p$ ^8 U# M* s
  46. ; previously set variable or directive (e.g. ${foo})) t5 ~9 ]* J/ t

  47. 8 Q" X: p& H& e- r! P. w
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    6 y1 d* v- }0 e7 C
  49. ; |  bitwise OR% H4 b" L4 z  K& k" A: _
  50. ; ^  bitwise XOR* S7 j8 S8 Z; o" f, a5 @
  51. ; &  bitwise AND5 |8 K/ ?' K. x9 K9 \9 \! s/ M
  52. ; ~  bitwise NOT5 ?' @# O; B; M; h# z
  53. ; !  boolean NOT9 [4 G9 A& Q# ?& w, G( e( m

  54. 3 ]( s7 Q7 _  |  e1 B# z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    0 x2 j, P8 N2 t7 y3 ^
  56. ; They can be turned off using the values 0, Off, False or No.
    0 j, Q" S! {6 u5 b. {& ~, ^4 X9 N

  57.   d9 e$ ~+ H) a" C
  58. ; An empty string can be denoted by simply not writing anything after the equal& F1 K  H4 ^" ]' v
  59. ; sign, or by using the None keyword:* D: l; n' H. F! I- z( X

  60. ( k- ~  I  X& z' X3 N
  61. ;  foo =         ; sets foo to an empty string
    / l# @8 _4 W' G0 d; p+ ?5 w/ u- |" M
  62. ;  foo = None    ; sets foo to an empty string! r) W8 q( Y4 c: _7 }
  63. ;  foo = "None"  ; sets foo to the string 'None'
    - r  E  p2 v' n$ ]) O# Y3 x- A

  64. 7 |$ c+ y* L$ }5 @$ s
  65. ; If you use constants in your value, and these constants belong to a: _: b) b* n6 V# m
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),! [7 \5 F! m8 Q9 R+ |
  67. ; you may only use these constants *after* the line that loads the extension.
    2 v, i$ i- n5 e) r$ N& {9 N7 f% [

  68. ; G, Z5 b$ H0 w+ N. L2 ]
  69. ;;;;;;;;;;;;;;;;;;;
      {+ c" R, Z  @& V) O8 d. \
  70. ; About this file ;/ k# O6 y) v' S
  71. ;;;;;;;;;;;;;;;;;;;# M% s4 _/ A/ b7 z2 J$ f7 G
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : j# i. n5 ^; y3 ?- Z2 F
  73. ; in production environments and one that is recommended to be used in
    0 X: E) u1 h; b! a* [' ?% M
  74. ; development environments.( k2 T. h+ r6 g) ^+ l3 o$ ]  T
  75. & B. x9 G/ z, S, w4 U
  76. ; php.ini-production contains settings which hold security, performance and2 O! N/ ?, A5 v+ s. u+ [- S
  77. ; best practices at its core. But please be aware, these settings may break1 y! @/ k2 l+ ]0 {& B0 m
  78. ; compatibility with older or less security conscience applications. We' ]6 d, F3 R" L: `- W- y
  79. ; recommending using the production ini in production and testing environments.
    7 |* D. S. q( ^1 |

  80. 8 H$ l: s5 X' K3 ?8 b1 e) ~1 r
  81. ; php.ini-development is very similar to its production variant, except it is/ m2 I- f& f" c2 }4 z  ~. f+ i3 u
  82. ; much more verbose when it comes to errors. We recommend using the* I+ s9 W' |8 g  H5 o$ d" V, v9 K
  83. ; development version only in development environments, as errors shown to
    # S% z% H# A& r
  84. ; application users can inadvertently leak otherwise secure information.1 J- P; ^/ N7 n
  85. ' o3 Q9 ^0 s2 Q8 A. x
  86. ; This is php.ini-production INI file.0 g5 i$ q; d7 I, W$ A/ m

  87. . z7 ?3 j: l8 q* v
  88. ;;;;;;;;;;;;;;;;;;;
    / }0 r* v: J/ l
  89. ; Quick Reference ;+ h" o1 n) u( }+ l" E7 j
  90. ;;;;;;;;;;;;;;;;;;;
    / {& f" \* [$ c3 ?6 P3 y
  91. ; The following are all the settings which are different in either the production
    7 d% F1 o+ e% w, V
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    2 ?8 Y/ c' F4 `1 L8 C5 q( A+ }0 g
  93. ; Please see the actual settings later in the document for more details as to why
    + N0 `7 I8 T9 S& m/ L# S2 I
  94. ; we recommend these changes in PHP's behavior.
    8 V- U$ Q8 n9 ^; i9 l5 Q0 H  x- k9 A

  95. & F8 U- [# Q; V9 M0 s
  96. ; display_errors4 s7 F. o+ t0 K  v, x0 g
  97. ;   Default Value: On8 u- V: I) _. z
  98. ;   Development Value: On- Y6 {& v$ i) W9 q) A% k
  99. ;   Production Value: Off
    $ ^" A8 `* l! d1 ]/ `. {0 o- D, a  S. I
  100. , x4 N- J$ }) L# p4 a$ S, R& H4 }
  101. ; display_startup_errors! Y& s% I! E1 v) X( x4 d9 t& D
  102. ;   Default Value: Off
    / ^; d  N& k% ?. D  X
  103. ;   Development Value: On4 I9 O5 ~9 b- p
  104. ;   Production Value: Off
    + D" x$ U2 o2 v  |! c

  105. 9 ^7 @2 R9 A5 t( t
  106. ; error_reporting
    1 M+ j  B5 O: s9 M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 x: s4 |2 W, ?# d3 P" {
  108. ;   Development Value: E_ALL
    3 k2 z* y- f$ F% C+ G/ f' K) e
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' @. h: O3 [2 W( v* T

  110. ! l4 ]) z, n. v! y, Q3 V% p* H, l  ^
  111. ; html_errors3 q* P" P4 V2 V& Y6 n. E* O
  112. ;   Default Value: On& a) S6 K  p- ^* w
  113. ;   Development Value: On
    ! R& f0 c- F# v6 P  M
  114. ;   Production value: On$ A! q- D% z5 N$ |& I# \

  115. ! b. Y3 h1 m, K+ Y2 ?
  116. ; log_errors6 U; r4 n) [) ~0 H# M4 Z9 n( g
  117. ;   Default Value: Off9 [5 R9 q6 z4 |1 ~. m- |7 M7 z
  118. ;   Development Value: On; Q" ~% e* q$ |4 x6 _
  119. ;   Production Value: On) B6 @' ^2 h& h% v
  120. " x1 T' I# j0 E$ z0 n; q
  121. ; max_input_time
    ; d: j- P& w1 X. T
  122. ;   Default Value: -1 (Unlimited)5 p" p  B+ S6 r
  123. ;   Development Value: 60 (60 seconds)
    3 F: q$ a: ?! r) z
  124. ;   Production Value: 60 (60 seconds)
    % T7 X0 U& O% C

  125. 4 B' A8 l2 N0 N2 I6 p. C
  126. ; output_buffering
    + W+ l5 x3 n5 x! a
  127. ;   Default Value: Off
    7 L9 V6 I& z; }% w
  128. ;   Development Value: 4096
    3 \5 o/ v) `5 n! Q% n
  129. ;   Production Value: 4096
    4 K( R- M$ R; ]  ^" m- X! r  c

  130. : e3 a+ o1 @* f* U) V
  131. ; register_argc_argv+ }& O$ W% e( v0 v/ \7 x* j. ~# X
  132. ;   Default Value: On
    ( e$ `: X# i' y3 I0 h; e9 D( I
  133. ;   Development Value: Off6 X$ x5 s: L; i# z5 v
  134. ;   Production Value: Off
    3 @3 _+ y% k  o* c' [# t, e; W

  135. 7 c5 m1 S: ?- h! I: d+ ^
  136. ; request_order5 A! r) b7 Y/ @
  137. ;   Default Value: None
    ' D* I$ Z# N. t3 x9 m/ v$ R
  138. ;   Development Value: "GP"
    3 J2 H& w/ B. V  l! L
  139. ;   Production Value: "GP"
    0 q1 y* [2 c# a* N

  140. : J+ p6 o" c1 L1 s6 P
  141. ; session.gc_divisor5 I5 E! v: l$ e& N! I) J. }" q
  142. ;   Default Value: 100
    7 a7 ~$ L  H  y+ r0 Q; ]. v
  143. ;   Development Value: 1000
    2 V! C7 F8 U6 R/ @: u
  144. ;   Production Value: 10003 x; v  N, {/ {2 N1 z3 l. y! }2 T
  145.   b6 [4 b( y! Z- Y3 C9 e7 d
  146. ; session.hash_bits_per_character3 t5 `3 a' i1 i) ?# X0 ~7 o% }
  147. ;   Default Value: 4
    ' c- ?. q" H4 _! P
  148. ;   Development Value: 5
    / J! h. b' w3 W  E
  149. ;   Production Value: 5
    ; s  W5 O3 q- ^$ x4 l

  150. . g" r8 N: y$ a% h! b  G# p7 {
  151. ; short_open_tag
    & }' i3 A( N0 I8 p( L3 {
  152. ;   Default Value: On( v+ g8 @+ c" u# R# \8 D8 n
  153. ;   Development Value: Off
    ) k' S& r" ?. r6 P2 n1 ]
  154. ;   Production Value: Off
    2 E! ?! H  f$ s! F; ]7 F

  155. " F6 ]* `8 p0 {+ K
  156. ; track_errors) P* Z: q3 I% H* W% e
  157. ;   Default Value: Off
    : {) X4 a) b! v, I$ f) I0 `  t
  158. ;   Development Value: On$ z% \9 ~9 O4 Z2 @
  159. ;   Production Value: Off; X7 [1 {* S8 L
  160. : Z# a" w2 |1 [! M6 z
  161. ; url_rewriter.tags8 }/ t8 G2 k9 X; N
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . z4 [% R. L" f% x! J3 w
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ J$ {$ T8 _# ?6 {- ]' R' j  T
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 m2 Y$ z/ Y# q2 w; O  e

  165. 4 b: f( h: }% y8 O3 z6 J
  166. ; variables_order
    8 m( f: Q7 \9 `  J8 `
  167. ;   Default Value: "EGPCS"3 m4 r! T) J1 w) J& y
  168. ;   Development Value: "GPCS"5 e5 q9 g- y' |4 @! w
  169. ;   Production Value: "GPCS"  u4 b# W! O, o+ C

  170. 6 D1 ^# l5 t, D0 m2 O
  171. ;;;;;;;;;;;;;;;;;;;;
    1 j4 O; y% h" m/ V, B/ C- G
  172. ; php.ini Options  ;
    3 N4 l& r3 R# D
  173. ;;;;;;;;;;;;;;;;;;;;$ X1 R5 L8 e: l1 F5 i
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    / s- x/ s3 M$ W6 N/ Q+ U) O: V7 M
  175. ;user_ini.filename = ".user.ini"
    ' v3 G) C$ r2 p  H

  176. + ~2 T' C+ M" H
  177. ; To disable this feature set this option to empty value1 M$ L  U/ d* C/ F  u
  178. ;user_ini.filename =+ ]" u6 D2 M+ U  k
  179. 9 g" I5 \# A: A& o
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)8 s: T+ j4 F7 q1 z- s& F
  181. ;user_ini.cache_ttl = 300
    * ]! d9 @! I5 E1 S' `
  182.   G. X5 l: O4 A5 i% t& N, c& @
  183. ;;;;;;;;;;;;;;;;;;;;; `0 S$ X! Y- E) m; o: C4 `9 K
  184. ; Language Options ;
    ( P% q2 f( J  \5 |2 _& b' |
  185. ;;;;;;;;;;;;;;;;;;;;
    - C( s, l5 ~6 {5 F" B2 Y4 C3 ~: {& I2 u

  186. , n& t$ I6 @0 |/ D) e; |) x! s
  187. ; Enable the PHP scripting language engine under Apache.
    ) F5 t2 z, G0 U7 V
  188. ; http://php.net/engine
    % R7 J) C/ l& z8 I8 y- g7 _+ E
  189. engine = On4 q; m3 y$ g( Q' o; g
  190. ' ]- g( e) c+ I7 K' f4 e$ g
  191. ; This directive determines whether or not PHP will recognize code between
    : a1 Y9 D* g- ~. F
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' l0 O! s% w/ w' W0 ]( j& u6 H
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) @& i% U$ t- F9 N
  194. ; should be disabled, as enabling it may result in issues when generating XML  f8 D6 X; E) |3 R3 |3 @6 u) |7 s
  195. ; documents, however this remains supported for backward compatibility reasons.
    - x& @2 X3 a1 r! F# t2 U9 g& D$ g" c
  196. ; Note that this directive does not control the <?= shorthand tag, which can be0 m  b: e- |/ f! I" e* d$ J/ E- C
  197. ; used regardless of this directive.
    1 r) a2 O* H" D
  198. ; Default Value: On
    , N. i2 N6 h# m* }
  199. ; Development Value: Off
    8 e8 W: F4 u. }3 U5 {& N0 @
  200. ; Production Value: Off
    5 l+ Y! d/ ]# D6 P9 c
  201. ; http://php.net/short-open-tag
    ) x5 Z0 h5 g( Z4 G$ K' A
  202. short_open_tag = On: Y0 {! z( v3 a0 M
  203. * {4 {* M* E% y% L/ \2 D
  204. ; Allow ASP-style <% %> tags./ |' R% P- w2 I: y1 h( O" z" G' _# ~
  205. ; http://php.net/asp-tags( i) t- I0 v7 Z( s) q
  206. asp_tags = Off7 S5 T9 M5 S9 x6 j+ f

  207. # c4 x3 c8 ], c2 n
  208. ; The number of significant digits displayed in floating point numbers.. C( P8 R* @$ s6 m! \8 Y
  209. ; http://php.net/precision! o6 y  ]. b0 E1 b0 ^1 M
  210. precision = 145 X; i. z7 c8 N1 K% L
  211. 6 P, r" @; w1 V; P7 l1 ]- X
  212. ; Output buffering is a mechanism for controlling how much output data
    , U/ ^) w4 L) V4 T( c0 R$ z2 p' T
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that+ R+ D% M* w; h
  214. ; data to the client. If your application's output exceeds this setting, PHP8 ]! ?0 w  z9 W. D
  215. ; will send that data in chunks of roughly the size you specify.
      l6 {" R6 j4 @' C1 z; F3 O+ w4 q
  216. ; Turning on this setting and managing its maximum buffer size can yield some( \: K8 w! I' I. {+ j
  217. ; interesting side-effects depending on your application and web server.
    : e& w0 F; z) L. V, k% ^
  218. ; You may be able to send headers and cookies after you've already sent output
    ; Q! |5 r# }1 H  d0 f
  219. ; through print or echo. You also may see performance benefits if your server is
    6 a# g* V4 h6 Q+ o0 }+ P
  220. ; emitting less packets due to buffered output versus PHP streaming the output& k9 L4 D2 P+ L  f1 S4 E, ?" M
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    . u2 m2 n& Q! N! x8 X& O
  222. ; reasons.
    3 q( F$ Z$ e6 V
  223. ; Note: Output buffering can also be controlled via Output Buffering Control4 S. l4 Z9 U1 d, {6 k: b/ I/ b7 E( t
  224. ;   functions.( Z( G/ M+ J/ o* J( X
  225. ; Possible Values:8 D6 f. E+ n1 k1 i' U4 x
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( R  U" ~, o5 H* n
  227. ;   Off = Disabled
    ; V7 W6 l4 y% Q3 `9 ~+ t
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    2 A, S; m" O: }" P0 x. ^
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ I6 {: U! F0 V/ q  ~0 N
  230. ; Default Value: Off
    / e8 k! q! L7 Q8 B; {3 Q
  231. ; Development Value: 40964 Z- C) i8 E5 L' Y
  232. ; Production Value: 40961 n# \5 ^3 P7 e! f
  233. ; http://php.net/output-buffering; p) d, K& g( q
  234. output_buffering = 4096; {# E: j6 u. l1 v+ y
  235. " _9 W/ o  d( N% y5 D4 W. J
  236. ; You can redirect all of the output of your scripts to a function.  For2 Z& H1 b  }* j- g, a; Y
  237. ; example, if you set output_handler to "mb_output_handler", character" c; L. S6 p$ R6 h" k
  238. ; encoding will be transparently converted to the specified encoding.1 C5 `/ @; J! N1 N. P/ T% k$ l: N. H* h
  239. ; Setting any output handler automatically turns on output buffering.
    0 j* Q3 v+ l5 w* B0 w
  240. ; Note: People who wrote portable scripts should not depend on this ini/ r* i& B& ?. q. [3 e
  241. ;   directive. Instead, explicitly set the output handler using ob_start().7 y. h8 ]+ ]  q
  242. ;   Using this ini directive may cause problems unless you know what script" _/ Y: }" i6 \2 @
  243. ;   is doing.
    : W! @# j$ B; N* g$ P% f/ k3 K9 s% V
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; q" G7 A6 E, @
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".1 m" z6 q& ?: T( P
  246. ; Note: output_handler must be empty if this is set 'On' !!!!8 q* \$ P! R- c
  247. ;   Instead you must use zlib.output_handler.
    9 A3 D7 s8 M9 L2 y% x4 {
  248. ; http://php.net/output-handler
    ) o1 }: e8 D8 M! d
  249. ;output_handler =
    2 f) J7 F# l  u% Y$ U! p
  250. ' `1 M) U' T8 c6 U
  251. ; Transparent output compression using the zlib library
    + L: A7 d& p3 ~3 V% l7 f
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- i5 w! K1 C! s# Y  Y0 l
  253. ; to be used for compression (default is 4KB)& M: s5 V7 {' h" b; a/ K$ j
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP: G) C/ C( Y# S5 s8 {& Y
  255. ;   outputs chunks that are few hundreds bytes each as a result of' R9 M; y, C6 s9 M  c! D6 E, g
  256. ;   compression. If you prefer a larger chunk size for better
    5 l. h9 U& u3 x/ A/ z
  257. ;   performance, enable output_buffering in addition.
    % p* k! i" i/ |
  258. ; Note: You need to use zlib.output_handler instead of the standard
    : o4 ?+ R3 ]" ^4 r8 E
  259. ;   output_handler, or otherwise the output will be corrupted.& F2 }! p2 ~; Y
  260. ; http://php.net/zlib.output-compression" k# L: ]# j' p6 `
  261. zlib.output_compression = Off6 u6 ~+ w5 d" t4 L, p

  262. - A6 i  F! l! r2 S' I1 J' r
  263. ; http://php.net/zlib.output-compression-level
    2 p$ k- K6 \) N1 C9 S
  264. ;zlib.output_compression_level = -1  }( `6 Z# }" q6 p
  265. # i8 I6 e* T7 `
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ! B) l; o6 |) T5 q- v
  267. ; is activated here. This setting does the same as output_handler but in, z7 z9 W, Z: @" a& h
  268. ; a different order.6 P7 u  f4 z* T9 p/ B: t$ v( V
  269. ; http://php.net/zlib.output-handler9 B* e1 V/ L+ d( {9 G' d9 I% K
  270. ;zlib.output_handler =
    4 c* q& {7 S. P& J# n1 P6 j
  271. 6 e  |& C1 v/ N, x* S
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    - y5 M! Y0 b! T/ B" z1 K/ A( f( H9 I
  273. ; automatically after every output block.  This is equivalent to calling the
    0 D3 P. n. {9 N4 B$ ~/ P/ p
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : p5 k# W5 G$ T- m. W/ e
  275. ; and every HTML block.  Turning this option on has serious performance
    ! B  R+ B5 L2 l+ }6 D8 j6 q
  276. ; implications and is generally recommended for debugging purposes only.9 N' E9 |+ A! F
  277. ; http://php.net/implicit-flush4 H& u- J. o& A+ e7 W
  278. ; Note: This directive is hardcoded to On for the CLI SAPI. l' H0 c+ n" d7 q' h: |/ U
  279. implicit_flush = Off9 y( i$ ?: C) O! d6 C1 F" {* `
  280. / [1 a+ V4 P; ~3 Z7 [5 y! N
  281. ; The unserialize callback function will be called (with the undefined class'! `$ Q0 E, B8 ~" x5 O: t7 _! w! F
  282. ; name as parameter), if the unserializer finds an undefined class
    # Z7 w: w* c3 E; {% l
  283. ; which should be instantiated. A warning appears if the specified function is
    ; R9 u: ?" q- D- z- p- H
  284. ; not defined, or if the function doesn't include/implement the missing class.) @0 e3 K6 c9 O. h& I" l1 y7 f
  285. ; So only set this entry, if you really want to implement such a
    3 Q8 {6 A; Z/ g. \" P
  286. ; callback-function.8 K2 |0 v# K5 ]6 Q% t
  287. unserialize_callback_func =
    & ]( V. w& e: Q: ~( J

  288. , U" ]! ^1 r$ _5 z* ?7 v/ m$ z
  289. ; When floats & doubles are serialized store serialize_precision significant
    2 R% {+ }! E- B. X; s0 z% E
  290. ; digits after the floating point. The default value ensures that when floats0 w$ `) |4 b$ Z( I% l- M2 d$ w
  291. ; are decoded with unserialize, the data will remain the same.4 a% r. B3 O  |
  292. serialize_precision = 17
    3 z! ]( Z. n! D+ M% ~

  293. ' r" A3 n; n0 e3 A
  294. ; open_basedir, if set, limits all file operations to the defined directory4 [, Q, R. u( |. n7 H
  295. ; and below.  This directive makes most sense if used in a per-directory
    : V( B& u$ b5 b3 W
  296. ; or per-virtualhost web server configuration file.& R" \/ R, B% V+ V. b: G/ c
  297. ; http://php.net/open-basedir) z- v9 {9 ]& i5 S! M* ]* U8 D
  298. ;open_basedir =( }# c& g- H1 C

  299. : T& @$ G7 M! v% ?+ a+ a$ w$ `
  300. ; This directive allows you to disable certain functions for security reasons.: X8 E& @  E1 w( ~2 u- ]
  301. ; It receives a comma-delimited list of function names.$ f4 _5 t) K) }9 M6 u# T
  302. ; http://php.net/disable-functions8 D, w# c, ^- _1 h
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru5 k' q, t1 y8 I- L' {) f

  304. " z2 X: f; j: x2 x8 M1 V& {" A  e
  305. ; This directive allows you to disable certain classes for security reasons.
    * H- w* e1 l' \, H8 z
  306. ; It receives a comma-delimited list of class names.
    2 B9 N  q9 B4 E8 X  Z
  307. ; http://php.net/disable-classes/ V' p4 E6 a0 a- e4 X
  308. disable_classes =. p5 z, `" K& A) m: \' N: h: W* r

  309. 7 ]3 a  v5 z  S( C% S
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    , [: W# Y2 H! k' r
  311. ; <span style="color: ???????"> would work.
    - d" A4 S; V+ Y: e
  312. ; http://php.net/syntax-highlighting8 q6 I4 y7 z7 E# d+ W
  313. ;highlight.string  = #DD0000
    ( f( {; \. w  R( X  y# P
  314. ;highlight.comment = #FF9900
    : c  y  ~/ X7 R
  315. ;highlight.keyword = #007700  ?- C2 V( H6 h7 f) A* M6 Y
  316. ;highlight.default = #0000BB2 e- ?* Q2 Y3 x8 u, X% ^8 z
  317. ;highlight.html    = #000000
    6 C3 v% u( q5 e8 X$ W" x

  318. ' R6 j" V* Y1 Q, b
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    : X* V) R" X  D& z
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - Z8 d1 \  R$ v
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 P) ]! f0 r/ a$ H, b1 w
  322. ; is to disable this feature.
    $ K* I( o1 v- g7 \! a1 A
  323. ; http://php.net/ignore-user-abort6 t- z3 v6 D! b% [7 j
  324. ;ignore_user_abort = On( ]- J0 J; @/ |3 e3 z0 `" s

  325. 6 v% D. H# \( N7 E6 C( H/ \7 r0 G
  326. ; Determines the size of the realpath cache to be used by PHP. This value should! `% I! r0 P  G# X; n: J  \
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
      w/ T4 s" ]1 i7 Y! W/ l
  328. ; the file operations performed.
    6 L/ o0 ?: C% d3 w
  329. ; http://php.net/realpath-cache-size* _# b, q8 |' p1 \+ S
  330. ;realpath_cache_size = 16k' a  b# N  k  t2 J" P

  331. " j! r1 Z. S' r! T+ k& v0 V
  332. ; Duration of time, in seconds for which to cache realpath information for a given0 Y/ {; s7 B6 ^9 z
  333. ; file or directory. For systems with rarely changing files, consider increasing this* ]6 R3 f2 T  j2 D$ X1 o
  334. ; value.
    3 r  Y7 m, o7 X: y/ h8 \
  335. ; http://php.net/realpath-cache-ttl4 m, F  n& h; k( s: \1 e6 A
  336. ;realpath_cache_ttl = 120# c7 z0 f  F8 {5 \$ h

  337. 6 }/ W: m8 ]. ?8 [
  338. ; Enables or disables the circular reference collector.
    + W/ u* ]0 o# [7 P* v% Q7 m3 R3 q
  339. ; http://php.net/zend.enable-gc$ [+ N! I8 u; D; r8 A6 ~& y
  340. zend.enable_gc = On
    0 \2 l1 O6 C2 G6 P. u% r$ H+ `

  341. $ V1 e8 R' s3 M. S/ B
  342. ; If enabled, scripts may be written in encodings that are incompatible with2 q2 @* Y! g* c2 W
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % n; U- `" w# Z8 `; C7 \
  344. ; encodings.  To use this feature, mbstring extension must be enabled." Z+ V( T) e7 l% Z) A4 B$ Z
  345. ; Default: Off+ x0 M, L3 h% j9 K% c) y. x; S
  346. ;zend.multibyte = Off
    ) g4 {+ }6 o, o% s& R" {

  347. 5 X' x) d' W/ F
  348. ; Allows to set the default encoding for the scripts.  This value will be used$ O/ e. o1 ^* j/ C0 b' D7 m/ h- q
  349. ; unless "declare(encoding=...)" directive appears at the top of the script., }5 I8 {; b$ V4 k/ I
  350. ; Only affects if zend.multibyte is set." T3 i2 ^  s" h: f: V" G0 `* U5 ^, ?! q1 Y
  351. ; Default: ""/ ~$ E! \* \! ^$ ?, n& r; `
  352. ;zend.script_encoding =3 D6 Y6 s1 X7 y4 ?: I/ U

  353. 5 v$ ^1 S( t% I  M
  354. ;;;;;;;;;;;;;;;;;, F& u  B0 r! `. C; n0 P+ i; f
  355. ; Miscellaneous ;
    7 N) Q5 C! ]. o# M
  356. ;;;;;;;;;;;;;;;;;
    2 ?3 P4 w) b8 H% C
  357. 2 ~: t) e' e$ e: s
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    * G  [% {/ b& ?2 O+ q( ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security4 i0 _/ B4 L7 o: b* r5 ]1 F$ Y
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 Q) ^( K8 S1 i& ?2 r
  361. ; on your server or not.
    7 \5 {2 ?5 Z; R: M$ f
  362. ; http://php.net/expose-php
    * D" W. W" L: S5 c
  363. expose_php = On3 C& B7 V6 ~' D( ?' h

  364. ! R8 y4 E- @9 S$ w
  365. ;;;;;;;;;;;;;;;;;;;( o. a0 B& R3 b- Q- u- c4 \
  366. ; Resource Limits ;7 s5 |6 J; x* G  ?$ Y  F
  367. ;;;;;;;;;;;;;;;;;;;
    ( L7 _1 Z0 [! S' A

  368. 5 z- b% b  D( O# [$ o* N
  369. ; Maximum execution time of each script, in seconds
    , u, T% N- i0 p, O/ D9 ^! j
  370. ; http://php.net/max-execution-time5 p' E, h( W0 m" ~8 e+ r
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI' e; \/ U" v  A; ]9 ]
  372. max_execution_time = 300
    6 q+ e6 p* U8 T/ a$ ~& K
  373. / Y  s- t( I( F7 \( v
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    5 f, q1 N/ l/ n- x) ^; l7 \
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly4 ]; K7 d4 t( W8 X2 o+ z
  376. ; long running scripts.
    7 U+ k- W& J( ~& y' _+ }. z
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI+ s6 B5 w6 o1 Q, e. j8 N
  378. ; Default Value: -1 (Unlimited)
    , W* [+ b0 |& K; d5 p
  379. ; Development Value: 60 (60 seconds)! q5 \; J  f$ V  y9 o
  380. ; Production Value: 60 (60 seconds)& R3 N! x  q! Q. M0 z+ ?
  381. ; http://php.net/max-input-time
    / y9 ?& k: T5 k! j( P* b
  382. max_input_time = 60( P+ L7 x: n" G' E5 [
  383. ) p9 W5 L! R: Q0 U; }( q
  384. ; Maximum input variable nesting level
    9 y6 y  [% G" O; A" [
  385. ; http://php.net/max-input-nesting-level' C6 H  T; V% U
  386. ;max_input_nesting_level = 64
    & O# o" |2 l9 n9 \+ z

  387. / P$ y  e5 e& r% q
  388. ; How many GET/POST/COOKIE input variables may be accepted; t/ X. A: X: W5 {- |
  389. ; max_input_vars = 10000 R+ M* R( O, a

  390. : I) x3 s% Z7 s2 D
  391. ; Maximum amount of memory a script may consume (128MB)- B$ u0 c9 ~3 g9 c& Z2 |0 e
  392. ; http://php.net/memory-limit) z% }8 ]* I, b. t8 i' O2 T: O
  393. memory_limit = 128M3 t4 F( b5 J( }0 j' g. Y

  394. ! A& e; d# R, k9 T6 ?1 J& N
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 J9 c/ B# x+ ]% s* L" q% s8 G
  396. ; Error handling and logging ;
    - H6 ?( _' D# h  W# y0 j
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 W# T6 I: }9 V5 O
  398. ( c( S  B) T1 s
  399. ; This directive informs PHP of which errors, warnings and notices you would like# ?- a) S# z2 K
  400. ; it to take action for. The recommended way of setting values for this* A) ]+ x1 _+ S% U: m# Y
  401. ; directive is through the use of the error level constants and bitwise
    0 q- D% }  E* c" T( ]
  402. ; operators. The error level constants are below here for convenience as well as
    6 Z# x1 S9 V# O" V% i# }
  403. ; some common settings and their meanings.# Q* ]" x& s! }% Z; V
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' ~+ K9 a3 g7 R
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and0 c8 j) n; _* L& |! U5 c
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 b2 f) h0 t3 m' {, k
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    & r- @; i* }9 ~5 \1 d- N+ {
  408. ; resources complaining about best practices and coding standards. That's what
    ; |9 z! V2 p3 d7 l1 Y
  409. ; development servers and development settings are for.! f/ Y5 X  s1 B' U+ C3 s  R7 B, g
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    & B  o+ V, i3 g# \( A6 ~
  411. ; means it pretty much reports everything which is exactly what you want during& E1 x1 J$ q+ X+ z& K$ u2 f
  412. ; development and early testing.4 o# O0 Y/ m2 W8 P9 K
  413. ;" K* {0 _8 A* G# `2 y
  414. ; Error Level Constants:8 q- t" K" W) c
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    5 w4 `' ]3 y" u( J3 u8 n; g
  416. ; E_ERROR           - fatal run-time errors
    5 z: O0 ~" ?% {4 X# \, D& O3 q" @
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    9 F: W8 c# e, n( K0 p
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    * ]: k( ^: n& V6 q3 B
  419. ; E_PARSE           - compile-time parse errors3 o* O; {/ U4 @& R; |& r
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    $ ]$ o8 K5 |* X
  421. ;                     from a bug in your code, but it's possible that it was; {" h8 L5 l6 E% H  `0 F
  422. ;                     intentional (e.g., using an uninitialized variable and
    5 V5 C* c; I4 ?1 S4 J
  423. ;                     relying on the fact it is automatically initialized to an
    ) P( [7 I- s9 [+ l2 u
  424. ;                     empty string)
      x6 W7 r8 q; Z; g4 L1 m) ~. U% ]
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    8 }. B* V2 c# M* }- G
  426. ;                     to your code which will ensure the best interoperability! Q, C2 }/ q# W
  427. ;                     and forward compatibility of your code
    3 S8 h6 q1 @/ [! l
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup* a' f2 t# v% {. h$ p* y
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ! m, j9 H+ l# }0 T2 v! I( N
  430. ;                     initial startup5 B8 `* `( A* ~9 L) P
  431. ; E_COMPILE_ERROR   - fatal compile-time errors' E4 f5 x! I& V' z) @
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)( e6 |: t7 q6 P- y* ~! Y
  433. ; E_USER_ERROR      - user-generated error message
    0 j* s$ L7 j$ d2 o- Y
  434. ; E_USER_WARNING    - user-generated warning message" |5 k  G' ^& @  Y; o
  435. ; E_USER_NOTICE     - user-generated notice message
    7 ^& ]' ]. P3 n9 P
  436. ; E_DEPRECATED      - warn about code that will not work in future versions% {) Z, i3 W/ X. h: \! h1 U
  437. ;                     of PHP0 L$ [( ~6 F8 h6 H$ j
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 U( u6 u! _" `8 L
  439. ;3 z% m6 O) k; ]' d& Q) g  J+ l
  440. ; Common Values:
    4 N' S' p$ G" o+ Q6 B/ D/ b2 |) a! L
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)6 \6 x5 m5 G, O7 S3 @" U& k1 J8 p
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ V# @$ l9 m) K* c
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) F0 [, n. l/ F9 G
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)4 A! T+ e- ~& n- m' B; x
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 z6 K" u( C) U0 a1 f4 X) ~
  446. ; Development Value: E_ALL
    : A7 _/ H; N& u) e/ F
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 f2 f' e% E  z6 n5 S# j5 O7 X
  448. ; http://php.net/error-reporting: m  d1 m) i- B2 k- o
  449. error_reporting = E_ALL & ~E_NOTICE) i8 Y, {0 |" i9 L( v

  450. . }1 E# G4 B+ s/ k( F' c
  451. ; This directive controls whether or not and where PHP will output errors,
    4 c8 }: ]4 R+ B& K/ G
  452. ; notices and warnings too. Error output is very useful during development, but. S* O) r4 r0 b% m* g; h
  453. ; it could be very dangerous in production environments. Depending on the code
    ( w5 m' N! j8 X! ~
  454. ; which is triggering the error, sensitive information could potentially leak# j5 L6 `. i; m* o' C/ z, a% ^3 e
  455. ; out of your application such as database usernames and passwords or worse.
    ' ~6 c2 u6 d. O' G4 r. s4 s
  456. ; For production environments, we recommend logging errors rather than
    # ]4 x7 v; b3 t; j
  457. ; sending them to STDOUT.4 ]- N8 i! _  w
  458. ; Possible Values:
    1 U7 _8 W& Z, j6 x  B
  459. ;   Off = Do not display any errors
    3 E8 q. x7 X$ E; j# f1 \8 K; z* m/ P
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)0 O0 A7 p* T" T3 B: i6 a( e5 U5 q
  461. ;   On or stdout = Display errors to STDOUT
    + `+ O; Q, t, {- Q- p
  462. ; Default Value: On
    8 Q  W% d) X  L$ `" `+ V6 x
  463. ; Development Value: On8 \( t. K7 G2 S
  464. ; Production Value: Off! l% k- S/ U# R( M. ^, B2 b
  465. ; http://php.net/display-errors, [$ |! x  E; W" t  j
  466. display_errors = On
    ' N1 h  l8 e- ?) B

  467. 1 o- G( _# M! H$ Z6 Z; Q. d
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ) c6 c4 u+ v7 z* c' k0 o
  469. ; separately from display_errors. PHP's default behavior is to suppress those) I' D: y" {6 S4 H% @
  470. ; errors from clients. Turning the display of startup errors on can be useful in5 `! v6 Z& }, z) h+ R9 y: Z
  471. ; debugging configuration problems. We strongly recommend you
    * @' @3 h, ]* P
  472. ; set this to 'off' for production servers.
    + ?1 S( Q8 k# z" P5 D& I7 {/ I/ n( Z
  473. ; Default Value: Off
    . U' e7 z1 Y5 [/ [
  474. ; Development Value: On
    : |# i. I0 v9 s1 ~. |& ~& ?$ C, \
  475. ; Production Value: Off; [) I) R; c/ z/ [8 x4 h
  476. ; http://php.net/display-startup-errors
    - m, O% |/ i1 d  Z1 i6 Z5 C
  477. display_startup_errors = Off! o1 O0 @) ^2 c- x' W( \2 g' u
  478. 3 ^0 v- N8 d- P4 A
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    2 X* Q% g2 |: s, F
  480. ; server-specific log, STDERR, or a location specified by the error_log
    : K; [8 b* R1 z2 G+ C0 f
  481. ; directive found below. While errors should not be displayed on productions
    0 K& G) }5 i. ?. s
  482. ; servers they should still be monitored and logging is a great way to do that.
    ; t) g/ Y, i, h/ r8 x' q
  483. ; Default Value: Off
    & A. [) }: q. f' E  m
  484. ; Development Value: On
    - ?0 j/ E# X$ H8 S9 k
  485. ; Production Value: On+ @; ^1 |" y7 }" w' T
  486. ; http://php.net/log-errors: s; I2 Y+ Y/ O; t3 T  u  m
  487. log_errors = On3 [6 d9 [! @7 b* B2 e* x% ?

  488. + V3 y9 ~  Y6 w( b1 c
  489. ; Set maximum length of log_errors. In error_log information about the source is1 b1 R% _" W! b* L
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    # w' U# q/ i* e+ h! ~* u
  491. ; http://php.net/log-errors-max-len
    : O0 T( e6 Q* ~+ a) Q9 D+ _6 N3 H
  492. log_errors_max_len = 1024
    2 q) m  Z; t) v& ^6 I( }% l

  493.   s' f7 R& k' f( @
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same$ O2 F0 d: y3 e( G% K# P
  495. ; line unless ignore_repeated_source is set true.
    5 f% ^& a( `5 F; Q' u
  496. ; http://php.net/ignore-repeated-errors
    - K* E, X' \. f$ r: F8 J0 n
  497. ignore_repeated_errors = Off, o- N1 w2 |% w5 U) B

  498. * b5 P& {! }* G4 K) D' }) Y3 i8 E
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    8 `: i" J; m, B
  500. ; is On you will not log errors with repeated messages from different files or
      c7 v5 I. r  `
  501. ; source lines.* F# t# A/ h  h% z4 S
  502. ; http://php.net/ignore-repeated-source' N8 Y4 i' _7 h2 L& q/ W' K6 z
  503. ignore_repeated_source = Off3 e  r7 |: L3 }2 _7 n. t: s
  504. ! v0 A; O* f! X
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on6 |  E4 C# L: N* \7 t
  506. ; stdout or in the log). This has only effect in a debug compile, and if2 o( _; L+ r; r: e
  507. ; error reporting includes E_WARNING in the allowed list9 L4 |' k8 E( J
  508. ; http://php.net/report-memleaks5 b! b7 ~8 {& c
  509. report_memleaks = On
    ) q2 w5 w" ~# x. p% P/ M2 z& @

  510. ! q  _+ h1 ]0 t$ L+ {
  511. ; This setting is on by default.- K, h" b# \2 O) B. [4 l
  512. ;report_zend_debug = 0
    5 U  [. i) F5 V+ U9 L% o0 J9 w1 @

  513. " Q' t: V6 Q9 o2 G0 U+ i9 ]
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    % B: T7 L- u4 j4 F5 L0 `
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    1 h8 y0 Y$ f: K0 G# d1 X
  516. ; however be disabled on production servers.. }! x! j, e8 _! z& \
  517. ; Default Value: Off) J* g) B1 ~$ k' K, U& _: d. W
  518. ; Development Value: On" D( W, R  g* p" t$ i& D! t7 n  `
  519. ; Production Value: Off# W% y  {! [& a
  520. ; http://php.net/track-errors
    - H( ^" Y, o6 C) y$ T, I
  521. track_errors = Off# v# @" ?# ~. g! V
  522. 2 T/ I) |* L# H8 @
  523. ; Turn off normal error reporting and emit XML-RPC error XML  ^/ y# f1 x6 x( n9 m/ O! H$ u
  524. ; http://php.net/xmlrpc-errors
    1 o$ O  [' K( D9 \) S' F
  525. ;xmlrpc_errors = 0  h2 B+ O- D% V5 ~0 o) ]

  526. 4 @3 T7 k# c+ ^( y/ Z
  527. ; An XML-RPC faultCode1 z' a( `6 u( m- F' A
  528. ;xmlrpc_error_number = 0
    + G4 _- h( u% I& K1 j' R5 ^

  529. * _; f! \. O& h( V
  530. ; When PHP displays or logs an error, it has the capability of formatting the  W5 F$ k# Q+ d- ~9 C, }3 |
  531. ; error message as HTML for easier reading. This directive controls whether
    $ I6 F' p& S  n" t6 Q
  532. ; the error message is formatted as HTML or not.
    0 `9 v  B2 @. n' J. {( Z2 i: X
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
      {$ \# R" Q" F7 J
  534. ; Default Value: On
    . C+ X- g! W3 s2 |. i+ ]* D
  535. ; Development Value: On
    6 l  p0 ]7 f. \; ]7 @( F
  536. ; Production value: On
    6 H5 ^# r+ U, X. U
  537. ; http://php.net/html-errors
    + y$ C) @. f( e& q8 \( }8 u
  538. html_errors = On
    & M7 c' ?( O" z1 T9 |7 j
  539. - W% r8 n: F, {9 H/ ?
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    1 ?! C$ W6 A) H" R
  541. ; produces clickable error messages that direct to a page describing the error$ w% t3 x7 t' H" `, Z4 p
  542. ; or function causing the error in detail.
    9 C0 T4 \: @8 [3 w( t2 g9 O6 q' K
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    $ R: F( ^7 w: l1 f  `$ t  O( I
  544. ; and change docref_root to the base URL of your local copy including the( ^9 K" t, n  P' @2 D6 S- f5 e* t3 _
  545. ; leading '/'. You must also specify the file extension being used including
    , p7 r! E. [! n5 {6 e
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which, l8 l: C3 }) |) a9 k' ]8 C
  547. ; case no links to documentation are generated.
    9 \  j0 p  f6 T) w
  548. ; Note: Never use this feature for production boxes.! F# d( X% @& o! ^, f$ W
  549. ; http://php.net/docref-root3 |: e7 Y" _9 {- p" @
  550. ; Examples# T8 _( M9 [0 I/ j: t
  551. ;docref_root = "/phpmanual/"
    ! r( {+ N& d& [! K/ y+ B& Q

  552. $ y9 ~2 g& ?" O( N0 G; a6 a
  553. ; http://php.net/docref-ext: K. W! K: o. g+ m5 ~
  554. ;docref_ext = .html
      `2 c& l3 W8 E; M! _, Y% Z

  555. - l2 I+ E# o& X  ?
  556. ; String to output before an error message. PHP's default behavior is to leave
    7 w- P0 r; X0 f' u
  557. ; this setting blank.
    % b3 M- y2 P) f  w
  558. ; http://php.net/error-prepend-string$ j% I- D  G$ S3 Y( n, }
  559. ; Example:$ r  n8 i4 `( @( v  N
  560. ;error_prepend_string = "<span style='color: #ff0000'>"1 C: o0 O3 P  E" o# }
  561. 7 j) H1 O4 c0 x$ [5 b
  562. ; String to output after an error message. PHP's default behavior is to leave
    ( {/ b  s/ N% N0 w! P* V1 P* s& X
  563. ; this setting blank.
    2 s7 ]* e  ~! P  Q- Z8 d$ ]! r9 @
  564. ; http://php.net/error-append-string
    + n& c8 P( j/ r; o5 I% ^% Y; q- A% Q
  565. ; Example:
    - I2 `& t1 a( ^; K" X
  566. ;error_append_string = "</span>"
    8 N( w  Y8 }( z! ]

  567. 4 U5 Q7 v! `+ {; S
  568. ; Log errors to specified file. PHP's default behavior is to leave this value! B: y4 z3 o- p1 D
  569. ; empty.0 R2 I& i: D. j) u: t/ j  k
  570. ; http://php.net/error-log0 B1 j. \* Z: L5 \3 x
  571. ; Example:
    6 K0 O9 ?0 S! \7 a' @" x
  572. ;error_log = php_errors.log
    / b- v5 y" Q+ \' V! I
  573. ; Log errors to syslog (Event Log on Windows)." i  x' j& e- o2 T  S$ ^, n
  574. ;error_log = syslog
    5 G) g  S9 t8 W( N- F

  575. & i! d6 O" y7 C& i9 X+ J
  576. ;windows.show_crt_warning- H' }* y6 K+ r! X% k' u
  577. ; Default value: 0
      o/ A1 U; J7 j  U, p
  578. ; Development value: 0
    ) f' w7 T0 h# Y0 [! C/ W  c( r1 [3 B
  579. ; Production value: 0( m3 Y- s3 W* v9 F7 T2 x: {: g
  580. . Z. O- m, ^" g% e
  581. ;;;;;;;;;;;;;;;;;  l6 D/ q( Q1 J+ j1 ^# d# v
  582. ; Data Handling ;
    6 g) }' D1 w" A6 t, E+ Z" v8 @
  583. ;;;;;;;;;;;;;;;;;
    $ h& P% N8 {1 @, p2 }4 R+ C

  584. 6 Y. H3 D9 I' K! [' |2 ~
  585. ; The separator used in PHP generated URLs to separate arguments.
    : U! V  \5 ~  q% T" z" [
  586. ; PHP's default setting is "&".
    $ F) t, [( |: M( N) ]
  587. ; http://php.net/arg-separator.output% o8 i$ |7 S) S5 A9 `
  588. ; Example:
    7 ]# Y0 d: X: E8 I4 j. k
  589. ;arg_separator.output = "&amp;"8 w8 h* k' H; F1 o
  590. " E: I. Y# B' v
  591. ; List of separator(s) used by PHP to parse input URLs into variables.) Y) v4 C9 G4 o  b3 N% N' ]
  592. ; PHP's default setting is "&".
    ' d: a2 Z) i, n4 j$ }, H% h
  593. ; NOTE: Every character in this directive is considered as separator!
    " l* |% G  i+ T' ?
  594. ; http://php.net/arg-separator.input( m3 \* `+ m) E! M, E
  595. ; Example:
    3 @8 b7 @& A3 d* l! ]: ~& F
  596. ;arg_separator.input = ";&"7 ~: `0 H2 `* x

  597.   }9 C/ E: ?# M; j3 J9 q
  598. ; This directive determines which super global arrays are registered when PHP) t" T1 n* D& W/ F% G) `
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    * a6 a( b" P$ S# h
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty" u2 }" m$ N" i0 g) Q3 B
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ( w3 B/ z$ d& H+ Z  ]1 t% N
  602. ; used as the others, ENV is not recommended on productions servers. You( ^; W+ H' U' s7 [- I8 G( ~
  603. ; can still get access to the environment variables through getenv() should you
    * h( @1 b# y) ~& B2 F6 m3 z/ @
  604. ; need to.
    ' L. x% M. o) K5 j
  605. ; Default Value: "EGPCS". j0 N# s% a2 C9 i5 B
  606. ; Development Value: "GPCS"
    2 y0 g) o; Y. w+ e: ?+ q$ t
  607. ; Production Value: "GPCS";
    4 x$ o/ K  r+ c9 _! o7 F
  608. ; http://php.net/variables-order
    % z5 @  Q1 h8 @/ h# ^( E: V
  609. variables_order = "GPCS"  N; m& c$ j; V. i$ s4 ?
  610. 1 c  C1 K2 P& }8 f- Q! y
  611. ; This directive determines which super global data (G,P & C) should be
    5 y. G0 C' S  I/ ?- Z7 }
  612. ; registered into the super global array REQUEST. If so, it also determines! c  @: s( j8 b2 i3 F, T& U: M
  613. ; the order in which that data is registered. The values for this directive
    5 L' }8 M1 Q. g0 B' Q2 E
  614. ; are specified in the same manner as the variables_order directive,
    1 S" j/ `! P: O. h! c
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    2 K7 y$ t5 A5 a; k
  616. ; in the variables_order directive. It does not mean it will leave the super- i7 p. \. u9 J3 C
  617. ; globals array REQUEST empty.9 r( C- `. U9 |) ~* j6 y
  618. ; Default Value: None
    3 B% }- Y4 @+ e/ R- u7 H- N
  619. ; Development Value: "GP"# O. g! h! E, ?& K, H# y
  620. ; Production Value: "GP", _$ a* ]% Q, N5 N$ Z( U1 c6 J
  621. ; http://php.net/request-order) L6 q4 _/ T# J5 [3 @4 S& O
  622. request_order = "GP": |3 n2 b$ Y8 Y$ i7 I  i

  623. / L  `8 i7 _7 d3 |
  624. ; This directive determines whether PHP registers $argv & $argc each time it7 r5 y9 \, {% m
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 x! X) B3 K( p* ]* q! f
  626. ; is invoked. $argc contains an integer representing the number of arguments  s  q, z+ h, b& P
  627. ; that were passed when the script was invoked. These arrays are extremely
    ' i- j8 [! p8 |6 j5 @& h+ d6 H  f9 v
  628. ; useful when running scripts from the command line. When this directive is
    : J0 t  N/ M+ l6 |
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    : C+ B5 P4 l' M9 u# r% V4 h
  630. ; a script is executed. For performance reasons, this feature should be disabled+ _$ v# _( \* X5 K& ~0 n; H
  631. ; on production servers.
    6 x( O! a% ~& }: b5 ?
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' m; q1 z% \6 x7 o5 l7 I
  633. ; Default Value: On
    - C) D9 {% s2 y1 d  ^+ b# B' h
  634. ; Development Value: Off8 s6 ^0 e! J) B: e
  635. ; Production Value: Off  ~! _6 s% q' P7 X
  636. ; http://php.net/register-argc-argv& C1 z2 o) ^( O$ `/ s
  637. register_argc_argv = Off
    " Z  y: P% x" Y# B; O% I

  638. 4 w8 _, o( s+ y
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're: i- y; ]' C1 ]/ F
  640. ; first used (Just In Time) instead of when the script starts. If these
    2 U& u$ }5 G  S0 V, Q
  641. ; variables are not used within a script, having this directive on will result/ ]1 j+ y: B- o$ Q$ t* p
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled* c- I3 \5 T5 @1 z" |% P
  643. ; for this directive to have any affect.
    + J# ?. G. F9 L2 a7 s8 h5 o
  644. ; http://php.net/auto-globals-jit6 X9 U8 J: r1 \* E; g2 f
  645. auto_globals_jit = On; ]7 L- d6 [$ y. v1 c

  646. 2 W" }# x6 n& d8 u- I" L. D% S: u
  647. ; Whether PHP will read the POST data.6 a$ v/ N& r- `0 g
  648. ; This option is enabled by default.
    7 n+ p: \3 y; G" {% I" k5 m
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST: X: D& g: ]2 C9 ]$ x# {4 J$ i8 t
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ) y6 H; \, U+ S5 G0 o9 @" J
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ; m8 h2 L9 W7 H3 K, L
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.4 G6 p/ }4 Y0 r4 M
  653. ; http://php.net/enable-post-data-reading
    % {. U; v- W1 ?% h) Y" g* Y
  654. ;enable_post_data_reading = Off) }) s) {7 j* J
  655. ; ]) d" ]7 ?0 N! V% H6 H
  656. ; Maximum size of POST data that PHP will accept.
    + o3 U0 B6 q, E7 L5 j$ S
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    % y+ M2 \/ [- X8 ?- D
  658. ; is disabled through enable_post_data_reading.
    % |" R0 R& D& s# u+ F0 G
  659. ; http://php.net/post-max-size
    7 ]- }2 z( E2 A, }
  660. post_max_size = 50M
    , _4 j3 I# ]( B+ Q

  661. # A. W0 }  `8 o* h0 H# h3 Q
  662. ; Automatically add files before PHP document.
    * k0 |; a' V7 r/ R; I
  663. ; http://php.net/auto-prepend-file
    ; A) }/ w9 H. i7 S+ |
  664. auto_prepend_file =' W: a$ }* K+ j. o" [3 q" L3 Q0 @

  665. , j# C/ ^4 c1 C  G% J9 O4 ^3 m
  666. ; Automatically add files after PHP document.+ w6 R6 f, d& O: P: \: Z' C: ]7 j
  667. ; http://php.net/auto-append-file! |3 |! y, }* w6 ^( \6 B& P
  668. auto_append_file =  q5 ?: {. S9 Z/ ^4 H

  669. # j, _6 @: \) G
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ' R. F5 E9 o, L6 @0 t
  671. ; disable this, simply set it to be empty.
    $ i7 c1 O9 o6 V. d7 R
  672. ;% i# g) \" s# {, }+ ]& e. j2 ?
  673. ; PHP's built-in default media type is set to text/html.
    : ]4 d1 t# R" @( D
  674. ; http://php.net/default-mimetype
    0 i( ?" Q8 N+ ]/ a9 x
  675. default_mimetype = "text/html"
    2 u' x7 r/ l' @# _" q  I
  676. ( Z2 i: X. f. L, O& W
  677. ; PHP's default character set is set to UTF-8.
    * G. m* a( i0 }3 ]9 B- v5 r
  678. ; http://php.net/default-charset9 Z* _& N; @5 K+ m
  679. default_charset = "UTF-8"
    + v3 i1 @2 P" ?6 L( _3 T

  680. , `% S5 A0 [0 M5 F0 d+ s. l" z- F
  681. ; PHP internal character encoding is set to empty.5 p) h/ D$ N. Z
  682. ; If empty, default_charset is used.' \! F" O  N, p* U, l/ I8 f/ ~
  683. ; http://php.net/internal-encoding0 s9 M: J0 [9 e) w* O) V
  684. ;internal_encoding =
    ( W% k. q0 w8 H2 Q& Z0 G0 e
  685. / v. s1 s6 f, Q
  686. ; PHP input character encoding is set to empty.
    * J& J" O) c) [5 h4 N
  687. ; If empty, default_charset is used.4 x% H6 n' }  Z) C0 M" h# S& ^) N# g
  688. ; http://php.net/input-encoding
    ; P$ P6 F, x& _
  689. ;input_encoding =
    , }% Y8 Y3 P# [7 `% ?# e, a

  690. ! ?0 f% X; T/ |/ X0 K3 i/ }
  691. ; PHP output character encoding is set to empty.
    0 j% i$ Y/ \( R' O' g) L7 m
  692. ; If empty, default_charset is used.# L' a, |3 D# [. V! E
  693. ; See also output_buffer.! O) |2 t/ |8 Q* j1 a# Z1 F& G
  694. ; http://php.net/output-encoding
    5 O2 M0 x. _  ^
  695. ;output_encoding =- U* ~4 i0 @4 M6 F
  696. + j2 F7 T; ~1 N! y0 `; _. M2 ^$ q3 m* u% ~
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is% t& Y1 J7 X: M# y
  698. ; to disable this feature and it will be removed in a future version.
    $ s; I. f% S& }- a, Y7 x
  699. ; If post reading is disabled through enable_post_data_reading,
    1 h2 a; B, C- B1 j; `, o
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    1 g2 ?* V2 p6 Y
  701. ; http://php.net/always-populate-raw-post-data# I% \( s& t, \0 ~' h5 y
  702. ;always_populate_raw_post_data = -19 l. D& D- j: C# u: A$ y
  703. 9 O7 k7 b# V2 [$ `- M
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ x$ C# m4 N# |, M! i; \7 L
  705. ; Paths and Directories ;
    % r; D# m. t5 k* i( z
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 n/ d3 {2 c+ N* ^

  707. & e% @5 f2 p: O) V: Y
  708. ; UNIX: "/path1:/path2"
      n. S9 Y  o5 ^% x& t6 F3 H
  709. ;include_path = ".:/php/includes"
    ; h# q: g7 r4 z# s* e
  710. ;. X5 ~- F- f, J4 e  U7 Y
  711. ; Windows: "\path1;\path2"; G" x. c% q' T8 ]
  712. ;include_path = ".;c:\php\includes"
    5 D0 V0 A9 U2 j6 l0 D1 U! J7 x, Q
  713. ;
    6 z/ q1 K4 \% ~; {$ O6 g; A8 `% Z, U
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : t) A0 b8 s9 e! N
  715. ; http://php.net/include-path
    ! f  y3 e3 [; W* H% A9 a
  716. & I/ u! ^7 R8 U# J4 N; g1 P6 B
  717. ; The root of the PHP pages, used only if nonempty.
    ' _- R, ?+ k- g/ E0 Y, @7 T' a
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ ?& Q' I: a, q* ^7 R8 M
  719. ; if you are running php as a CGI under any web server (other than IIS)) }1 v8 m4 X: g, n
  720. ; see documentation for security issues.  The alternate is to use the4 q! J/ O) n% d1 Z
  721. ; cgi.force_redirect configuration below
    * D, _( W; Y6 ]  d* t8 K
  722. ; http://php.net/doc-root
    ) N  A3 L! P6 p3 L+ H
  723. doc_root =6 p3 Y4 X! `  }7 Q$ n. @. G, Z4 t

  724. ( `6 r0 ?6 x2 w3 z
  725. ; The directory under which PHP opens the script using /~username used only% E4 b3 j  Z% M
  726. ; if nonempty.
    : j7 m, q; L: V- ^' ~2 s
  727. ; http://php.net/user-dir
    2 ]" o/ K0 l3 M6 g. D/ q
  728. user_dir =
    ' a3 K2 z! ^* P" E, ?' q
  729. ! k& v6 `, j* S
  730. ; Directory in which the loadable extensions (modules) reside.
    % C$ Q* w" t: S& m! K5 G
  731. ; http://php.net/extension-dir
    : Z; p% h5 x7 h4 L
  732. ; extension_dir = "./"1 W, Z6 ?+ ?# C
  733. ; On windows:
    ; s. l5 ?6 J9 U+ [
  734. ; extension_dir = "ext"; t2 ?  b/ W1 H  U6 r

  735. 4 P% H! y8 g' r. g
  736. ; Directory where the temporary files should be placed.1 ~9 C: c1 r5 X
  737. ; Defaults to the system default (see sys_get_temp_dir)
    , c$ f' `9 o1 j' M
  738. ; sys_temp_dir = "/tmp"
    2 o5 N5 ^+ h. c1 i
  739. + U5 B. v8 N. G( {7 [, j4 ]4 a
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work" K3 I1 A9 }" L! {# L0 p6 K
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 d5 ]4 N1 J- G2 I( @
  742. ; disabled on them.
    5 K- d* I$ w1 u  z1 N, f) l
  743. ; http://php.net/enable-dl
    ' v9 A7 Q, J3 g! K$ j# I6 p- B6 u
  744. enable_dl = Off+ U9 O" [- B# `; o( ~0 C& g

  745. $ S& \4 E/ u/ @7 t$ h
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under& s3 _" ~9 a0 R. m1 |! v6 }6 O" f% B: e
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / T! Z2 G) f2 v# v: s
  748. ; turn it off here AT YOUR OWN RISK
    1 Q/ k1 y9 T  k& H2 N: F
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - F0 g& I& M# @: ?! o/ l3 ?
  750. ; http://php.net/cgi.force-redirect' [9 _  h3 r1 l
  751. ;cgi.force_redirect = 1$ }2 S/ O1 s1 z7 q" N% L- Y9 R
  752. 4 \: {$ P" W5 {4 J( r
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with3 G% P' v! l+ H5 K% l( c. q
  754. ; every request. PHP's default behavior is to disable this feature.
    ; w! v6 K/ W7 B+ T# ^$ `5 x
  755. ;cgi.nph = 1
    3 e" [5 d- \5 O. [# r/ G
  756. 1 S6 \" X4 j( R: t
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! j" K4 e3 c% g, X$ z/ S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP) W' |  B2 v7 `, s
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY4 |( H# B+ g6 b6 l0 N
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # Y5 A$ T+ J+ K, x. l4 Y
  761. ; http://php.net/cgi.redirect-status-env4 ^8 M8 b& K- a
  762. ;cgi.redirect_status_env =# ^  X$ K6 [2 d8 ]2 k- |

  763. * Y# f: s: r+ m) T) L9 A0 S5 [
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    6 b4 f/ C( L! b" u$ h" Y; _% d
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    * P2 L9 c' F" e7 {1 l) v/ A! F. R
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    3 n0 M9 i6 H5 f/ D* M* a0 D
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    1 P5 g" d1 J- s3 S
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts( V) Y( X. k/ i
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    - A6 Q; B! `$ a; R: O
  770. ; http://php.net/cgi.fix-pathinfo
    . ~" D+ F0 m: B* h
  771. cgi.fix_pathinfo=1/ y( }, D: m" L0 X' e

  772. . x8 K" `8 b6 B
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    8 [5 s8 a$ {- }. F$ {
  774. ; of the web tree and people will not be able to circumvent .htaccess security.( G# `9 R8 p( M
  775. ; http://php.net/cgi.dicard-path5 k" }) \. Q! r1 e. P; f
  776. ;cgi.discard_path=1
    - p8 G# s; O" B; _

  777. 0 ^% `9 s) L( b1 ~# Y3 `
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate5 m5 R: U9 q6 \8 r: n9 y' `
  779. ; security tokens of the calling client.  This allows IIS to define the
    ' o+ c0 ]: c0 u
  780. ; security context that the request runs under.  mod_fastcgi under Apache, ~& L8 D8 [3 J5 H  \* P7 [" x
  781. ; does not currently support this feature (03/17/2002)
    9 z2 m2 S4 p# `
  782. ; Set to 1 if running under IIS.  Default is zero.3 G- ~# d) a$ s! P
  783. ; http://php.net/fastcgi.impersonate2 ?8 F4 z% c( R7 F
  784. ;fastcgi.impersonate = 1
    / s2 s5 Z  U: T$ ~1 V" [: F3 s

  785. 2 B; I; s) J1 H  i9 a, ~' ~
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable7 _! \7 q' p4 |2 w
  787. ; this feature.
    $ y0 z2 M0 b: i) @/ ^
  788. ;fastcgi.logging = 0
    % ?; [: Z$ r( j6 e9 U) n* x

  789. 1 ]; u9 l0 o0 `4 y) w0 B+ O, F% a
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    7 v# j- Q4 S  d5 L2 Z
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that& {$ |& |# c/ S! R: a
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    : L0 d8 G% b" }0 i8 J
  793. ; RFC2616 compliant header.
    $ E0 f. c5 g$ K3 p6 l; r8 }5 I
  794. ; Default is zero.
    9 [2 i! x, H, D- S& q
  795. ; http://php.net/cgi.rfc2616-headers
    4 \& Q7 S- E, A7 h
  796. ;cgi.rfc2616_headers = 0
    & a  F* i% `; `4 A; G
  797. 2 ]8 K: V# V+ l3 x* d! n
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    2 n! G' @0 z7 l( Y& I
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " y6 I& q% w6 [; J& B, O1 M( ~
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ U4 w, s0 y* i6 e
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ' y9 @! L& J; A. ~5 V7 J' r3 O6 @
  802. ; http://php.net/cgi.check-shebang-line. n6 T  M/ P% u1 q/ G: P/ M+ a
  803. ;cgi.check_shebang_line=12 [! e7 L" |& G5 Q- {
  804. / c6 g$ Q1 k& b+ y0 T1 s0 z
  805. ;;;;;;;;;;;;;;;;# E; g  O% Q7 U
  806. ; File Uploads ;
    / k+ n' H* l% `: e
  807. ;;;;;;;;;;;;;;;;
    8 K1 K$ w, |. T( I+ a( P+ T8 u
  808. 1 [( ^; c! a6 }' H1 W: w! x
  809. ; Whether to allow HTTP file uploads.
    , o0 A# e  s/ N6 {0 E; x$ w
  810. ; http://php.net/file-uploads* I9 ^/ N* R) [1 m6 c# R0 o& z% G+ r
  811. file_uploads = On
    ' v& v* k& h; s3 J! V
  812. $ Q" x& R7 F4 w: H7 I' j! ?1 [
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! }: S2 f0 }5 Q( p
  814. ; specified).
    " ?9 H" `" S3 O  a2 @2 F! ~+ E
  815. ; http://php.net/upload-tmp-dir7 W1 Y% G6 T! ~+ n& Y# Q
  816. ;upload_tmp_dir =
    ( R! }! u0 y- a" u0 [; g7 ]  i7 z

  817. ' U8 j2 R5 j1 \
  818. ; Maximum allowed size for uploaded files.
    & o6 k* J% ?" r' j# F. M4 Z
  819. ; http://php.net/upload-max-filesize$ t& O3 I6 ]/ e  y% ?
  820. upload_max_filesize = 50M
    0 U* W' x* {3 Y5 n1 Q$ ?7 U* C0 |

  821. " Z: M/ g: W" F# l2 X3 S; I
  822. ; Maximum number of files that can be uploaded via a single request
    ) w" W& A+ C; }( X! ]
  823. max_file_uploads = 203 G. [1 L& |: w8 I0 o4 c$ o

  824. + x% w# T2 m8 r  ^7 @
  825. ;;;;;;;;;;;;;;;;;;  A& R, ]. Y  e
  826. ; Fopen wrappers ;
    3 L! u1 u/ c8 L/ g$ ?
  827. ;;;;;;;;;;;;;;;;;;/ m- X5 I7 v4 ]

  828. 2 |5 o- g5 ?8 N. E  w2 A4 d
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ( l7 M* v/ l5 x9 Q' _. n7 q
  830. ; http://php.net/allow-url-fopen
    * V+ E+ q7 p8 d9 a9 e. r& i
  831. allow_url_fopen = On
    ) `! n6 i5 n9 j+ `9 |. `

  832. ; ~9 j  F! G. o- b- {9 U1 R$ e
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.) \) f) b; }& {! W( {! n# n
  834. ; http://php.net/allow-url-include# V) B  p9 U$ {4 r0 }
  835. allow_url_include = Off2 R( H; z+ |. A
  836. ( [- @2 t1 _5 F# K/ b5 R9 B
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    # D, g; X" y6 F3 V  L: r
  838. ; for this is empty.* A+ m% S1 u  g' c( l& `' W7 ~: @
  839. ; http://php.net/from
    * `1 S* @# f7 G7 `4 N- v
  840. ;from="john@doe.com"
    ' |6 a$ q# X- |4 X) L; p
  841. + d/ J5 h5 L2 _4 k$ C' I
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    : ~( @2 p* Q2 g
  843. ; http://php.net/user-agent, `6 _0 M1 a9 [1 M
  844. ;user_agent="PHP"3 u, ~$ D) v" _- F0 b' v
  845. : f; C6 E; f, Z, u. a  E3 \6 _7 H
  846. ; Default timeout for socket based streams (seconds)
    8 Y1 u: f9 w- m7 N' V
  847. ; http://php.net/default-socket-timeout, p6 L* d( ?5 A% ]
  848. default_socket_timeout = 605 K- C" z3 e: Z

  849. , y8 u8 A( V1 b* [5 e
  850. ; If your scripts have to deal with files from Macintosh systems,
    5 X$ j7 Z( [! R* g7 J" v- k) d0 r
  851. ; or you are running on a Mac and need to deal with files from9 b8 D& o+ n5 @! F
  852. ; unix or win32 systems, setting this flag will cause PHP to7 V. w5 M0 x& C, o" c# B6 Y* D
  853. ; automatically detect the EOL character in those files so that7 u& \* o% \, _- |+ G. [, d+ n
  854. ; fgets() and file() will work regardless of the source of the file.
    2 V8 t8 u& {# E9 W- `, q- }0 R
  855. ; http://php.net/auto-detect-line-endings! \+ x3 D" w3 x& o* p+ Z
  856. ;auto_detect_line_endings = Off
    ; W- ?4 B% p+ N& ^3 u9 t/ R
  857. 8 {8 `3 u  y3 t) h) {+ I
  858. ;;;;;;;;;;;;;;;;;;;;;;- K; `+ u) {$ s: Z( L% d
  859. ; Dynamic Extensions ;% {$ I: g$ @: a6 l. U- W' v) P" @
  860. ;;;;;;;;;;;;;;;;;;;;;;
    6 ^8 T% c; d/ e3 Q& L$ f
  861. 6 U, y3 F+ F+ s$ c
  862. ; If you wish to have an extension loaded automatically, use the following3 Z' i; d# ?! z. S4 ]% s7 v
  863. ; syntax:
    4 K: y: X& y1 X) s- U; p
  864. ;
    1 I/ L( S8 N8 F& e+ d6 {& H
  865. ;   extension=modulename.extension
    4 c; n! p) N+ V
  866. ;" a! L8 Y: n* X5 \
  867. ; For example, on Windows:3 R5 `2 A- f  {7 m4 T7 q# j9 u+ i
  868. ;
    ' s1 }; R9 n, D) @+ l3 s( ~
  869. ;   extension=msql.dll% B; v. Q3 A& E) Z. Z+ h
  870. ;, _7 M8 `$ k% `3 V0 f3 Y; k& a2 H
  871. ; ... or under UNIX:' ]; ]! d4 O( G  ]4 ^( c# a
  872. ;, z/ N( z7 K: D  P' |5 U- a: A
  873. ;   extension=msql.so; f% W# _0 |) _  {$ K
  874. ;- T, V& `3 p8 y. r0 T# o
  875. ; ... or with a path:& @" W2 c: P( ?+ ~. A0 ~
  876. ;
    / {9 `/ r; G2 u3 K( I
  877. ;   extension=/path/to/extension/msql.so
    , g4 i0 M- W( }, z5 e0 w
  878. ;
    # v. A0 i" W6 r$ K& [" }- E' w
  879. ; If you only provide the name of the extension, PHP will look for it in its
    5 ~" h+ V: A4 M
  880. ; default extension directory.
    9 o( v9 b3 o5 j' v/ N
  881. ;% _& b" }9 t" I; Y) h
  882. ; Windows Extensions
    7 N! Q8 R4 h+ F2 D
  883. ; Note that ODBC support is built in, so no dll is needed for it.9 b5 P9 G- V0 r5 M" I
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ' _3 `/ b. g/ m  ]! i
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    5 }# ^7 ^# _& t! m6 J3 R( ]
  886. ; Be sure to appropriately set the extension_dir directive.7 T3 c* ]# x: j( _1 I8 G
  887. ;
    ) N8 T) N9 {! h
  888. ;extension=php_bz2.dll
    & ?% Y1 U! U) N: Y1 ]- o2 _
  889. ;extension=php_curl.dll
    7 j3 B6 p5 j$ R/ ?4 [  E: h" n
  890. ;extension=php_fileinfo.dll
    5 V( O  n) k$ q/ L5 ?
  891. ;extension=php_gd2.dll- x! k/ A: _9 t- G8 ]
  892. ;extension=php_gettext.dll
    & ]/ y; F' {9 N, o1 D' X+ m; L! H
  893. ;extension=php_gmp.dll
    8 h( s0 p2 ?$ W3 ?! U) K. ?5 R
  894. ;extension=php_intl.dll
    $ U" C/ s% U7 O+ _
  895. ;extension=php_imap.dll) M# A5 m; R+ O& U- H2 {$ a- C
  896. ;extension=php_interbase.dll, W, n! V* C0 o3 q+ @% e$ x; d
  897. ;extension=php_ldap.dll3 J/ p% P4 T' x/ k4 C
  898. ;extension=php_mbstring.dll; B2 s/ a) u  K( r7 p( a) P4 H
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it& _8 a1 S0 M, K  B* v1 D! I. A) @
  900. ;extension=php_mysql.dll
      j" y& A! P& g. m. Q
  901. ;extension=php_mysqli.dll
    * U% ?6 X! B% f: o0 L
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 F5 X5 ?/ y6 x6 O* B
  903. ;extension=php_openssl.dll+ f5 D' ?; w/ A# [( ], F. d
  904. ;extension=php_pdo_firebird.dll" G1 n5 m" S8 i" a: y5 c
  905. ;extension=php_pdo_mysql.dll
    , r9 A& K7 O5 d/ o
  906. ;extension=php_pdo_oci.dll
    1 [! q7 Y# ?5 h
  907. ;extension=php_pdo_odbc.dll
    7 \( F$ c2 k$ u& Q" E
  908. ;extension=php_pdo_pgsql.dll. K( ~" E( _' ^6 p! M, f1 W2 q
  909. ;extension=php_pdo_sqlite.dll0 A0 u; l* v% U$ j- y
  910. ;extension=php_pgsql.dll+ s- S6 Y  U5 [& _* K# V9 o9 O
  911. ;extension=php_shmop.dll
    ; }3 T- m5 H; C1 f' z8 }

  912. ; c8 T5 \9 h. w- o* a
  913. ; The MIBS data available in the PHP distribution must be installed.
    ' l( ]; F: c* T0 \% D
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    $ o7 f& {1 g" d, v- E4 c
  915. ;extension=php_snmp.dll
    & }8 r2 P9 Q: p2 B7 m
  916. $ o0 P( N4 e. S/ Y# x+ t# d
  917. ;extension=php_soap.dll
    - N5 A% J3 n$ _) G5 x! C
  918. ;extension=php_sockets.dll6 _3 ?: k2 E- s: \/ c
  919. ;extension=php_sqlite3.dll
    " Q! N% W3 x2 d: ]/ Q
  920. ;extension=php_sybase_ct.dll/ [3 D$ D; h8 o' y( G
  921. ;extension=php_tidy.dll& E" `2 A5 m: P1 F' [/ R
  922. ;extension=php_xmlrpc.dll" _1 t' P7 w0 A0 E- I
  923. ;extension=php_xsl.dll- V6 y# J4 T6 D( O
  924. 0 c5 O- b9 @/ c, U$ J
  925. ;;;;;;;;;;;;;;;;;;;, r! |$ c! @4 }! g, F
  926. ; Module Settings ;
    9 x6 ~! r) T9 a% e1 ]& M0 N
  927. ;;;;;;;;;;;;;;;;;;;& u0 L6 O; x4 n  K2 [

  928. , E) C5 f& g0 X! C( C  L& X
  929. [CLI Server]
    9 w7 }. }8 b7 p1 h+ P5 H) C& }
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.$ E- k# _" S( M5 T: v
  931. cli_server.color = On
    4 y) X/ B6 H$ B) L2 ?9 v  B6 t- B

  932. . v' Z0 u0 F1 Y- d" W
  933. [Date]/ o$ B  G7 t& k; {
  934. ; Defines the default timezone used by the date functions$ V9 R+ p" z/ _. {) g: |
  935. ; http://php.net/date.timezone
    - c5 W( S! N0 F% a
  936. date.timezone = PRC8 @9 {; l2 N, B# \
  937. ! B1 v9 |# S+ W
  938. ; http://php.net/date.default-latitude9 Z$ [$ x+ j( n5 P$ [' i9 [
  939. ;date.default_latitude = 31.7667
    . k6 c# Y! ^6 ^8 n/ [
  940. 9 v, Z; s+ T* \6 y9 b4 M
  941. ; http://php.net/date.default-longitude, w) y' D3 ~) u
  942. ;date.default_longitude = 35.2333
    5 Y! x2 Q) P2 I$ m8 Y

  943. 1 ^0 k+ C3 r: j- k: W- ?; E3 I! c) p
  944. ; http://php.net/date.sunrise-zenith( Q3 g1 c' G& w  G! s( e4 r9 ^
  945. ;date.sunrise_zenith = 90.583333
    , E; Z- j/ R1 Z& K% ?. R2 _

  946. 4 o" {& X% f% p2 m5 S
  947. ; http://php.net/date.sunset-zenith3 k/ N& l. r2 X. n4 N" v
  948. ;date.sunset_zenith = 90.583333
      H& P4 ~6 }8 B9 V5 U1 J
  949. 9 v$ @1 \5 u( s( V) z  h
  950. [filter]& X4 R# L7 B0 ]
  951. ; http://php.net/filter.default5 W2 B6 R% F) H" H, q5 I3 t
  952. ;filter.default = unsafe_raw
      k7 Z4 D2 l6 A1 k' z4 p

  953. 7 @: u) p4 F3 b2 e( _1 r" M  V, ?
  954. ; http://php.net/filter.default-flags; _  P: x9 }- Y* R
  955. ;filter.default_flags =* r8 f2 F6 A1 a3 ?3 f
  956. 6 N4 N, b6 k$ X1 u
  957. [iconv]/ t+ ~6 K. F  \, `
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.$ j3 w7 z( [5 E
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 e0 I& j5 G+ z
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding; e3 i3 C2 |; |9 J5 Z+ j
  961. ;iconv.input_encoding =5 p% i! D* _7 H

  962. . _3 f. e9 _/ q$ b
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 E, ^$ q5 W/ Y# }
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 y, o- ~3 ^  `5 h3 m$ e
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 N+ N6 Q  S- U2 R' A) Y, [" @
  966. ;iconv.internal_encoding =  ?, K, q; X8 D" ?
  967. ( f& \/ W0 r4 C0 i9 l( V( R
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.5 p% B) Z% a3 X& v. e
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' }0 W: m! F. d0 q1 ^
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' d% |! B7 f( E& L' V: Q
  971. ; To use an output encoding conversion, iconv's output handler must be set  L; K6 A1 p: q- h9 x
  972. ; otherwise output encoding conversion cannot be performed.  u) ^; U" ?* ~6 V: ~8 M
  973. ;iconv.output_encoding =+ z6 }( g6 ~) E2 [+ c4 K
  974. & d$ s5 n7 i( ^, _5 U: T4 g* @; q
  975. [intl]
    7 N) |) i7 ~6 r! V/ ^' ]( n- `6 G
  976. ;intl.default_locale =
    ; O, `+ w% g5 D, ]4 V& c
  977. ; This directive allows you to produce PHP errors when some error3 k! l' ~( X" H
  978. ; happens within intl functions. The value is the level of the error produced.
    5 l/ T' V& r1 h) e
  979. ; Default is 0, which does not produce any errors.) l+ D% x; U/ \, M& ?- W3 f5 }
  980. ;intl.error_level = E_WARNING
    1 _4 M1 p0 h: d) O6 S
  981. ;intl.use_exceptions = 0( i  |4 w$ b2 M4 ]  H' U
  982. 0 E" {0 B  g$ N: a0 W+ V
  983. [sqlite3]% J6 b( u# m- n& g9 p
  984. ;sqlite3.extension_dir =" `/ f0 f/ U, A) x$ e/ s

  985. & V6 n2 h; a% O# Q
  986. [Pcre]
    ! [0 w- d7 M7 m6 H3 l! X
  987. ;PCRE library backtracking limit.
    # W- B) U- r  _/ ^7 M6 z1 }
  988. ; http://php.net/pcre.backtrack-limit
    & D) K& n2 W8 o7 t" s1 p
  989. ;pcre.backtrack_limit=100000
    + q3 B0 d, c0 E8 Y
  990. / f+ V" K0 A6 p1 a
  991. ;PCRE library recursion limit.* w) J% X1 O# F% @2 Q& Y) k+ q
  992. ;Please note that if you set this value to a high number you may consume all' w! o$ C& h/ f% V# f* I6 C- H
  993. ;the available process stack and eventually crash PHP (due to reaching the
    2 d: f4 q1 y7 F6 J
  994. ;stack size limit imposed by the Operating System).
    , g( S4 f4 g' J1 q6 w( l% _& C  k
  995. ; http://php.net/pcre.recursion-limit6 q5 Q' V; c3 j& Z; r
  996. ;pcre.recursion_limit=100000
    7 _8 W1 J  D5 y3 j4 g5 ?: f2 W7 O

  997. . J" K# z% ^- E* p: }* J& Z
  998. [Pdo]
    0 v% ^4 J. a# l2 v$ E* O$ `4 V
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    % L0 \' e$ t' N$ X' u2 V
  1000. ; http://php.net/pdo-odbc.connection-pooling; F3 P0 e, ~9 l; S6 i
  1001. ;pdo_odbc.connection_pooling=strict; N1 Q6 F+ h1 o$ p0 i

  1002. 3 a- h: L# n# |: N4 \
  1003. ;pdo_odbc.db2_instance_name8 A0 X6 m- n' J6 I( ]8 N% g, F

  1004. + s" b  M% W/ j! t& x; T7 i
  1005. [Pdo_mysql]1 {0 j5 i7 S8 [3 H" U: r/ A
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 ^3 l4 x+ Q9 [
  1007. ; http://php.net/pdo_mysql.cache_size
    - L1 e( i+ M( T1 c8 \2 W
  1008. pdo_mysql.cache_size = 20003 q% Y; P) S3 a3 k; w# B
  1009. ' v: }$ Y* V! G1 f6 {( E: L
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in; C. Q/ d+ z# O: K
  1011. ; MySQL defaults." Y$ _4 k- u$ G3 f
  1012. ; http://php.net/pdo_mysql.default-socket
    $ g3 n$ P* o6 ~; j6 R& L2 _6 E
  1013. pdo_mysql.default_socket=
      U/ U% j/ ^' k; E% f1 u2 j
  1014. 5 j' H/ x# c3 F. T+ J
  1015. [Phar]9 c) a9 g$ ^2 U8 o! f* m8 Q
  1016. ; http://php.net/phar.readonly+ ^2 k6 z& M; F* R8 b/ \
  1017. ;phar.readonly = On+ f/ E6 d- L+ G0 J/ {

  1018. ) P. O+ ^8 q) Q
  1019. ; http://php.net/phar.require-hash
    - c- Y7 a4 o6 q5 N4 p
  1020. ;phar.require_hash = On- }6 m/ n+ \! ~, |$ b* P$ l: ^3 K

  1021. 5 }% p3 h; A3 V* A( @6 p/ T: R
  1022. ;phar.cache_list =
    / v5 h" d! p' k. f# a+ W  d
  1023. ( \- d5 h2 s' C  O$ B& j( C
  1024. [mail function]* |3 o9 y5 j; o3 P: O
  1025. ; For Win32 only.
    5 K" d; u1 m$ w5 C
  1026. ; http://php.net/smtp
    - u. K6 B) q6 M& s
  1027. SMTP = localhost4 e, R* W: L5 x! i" s6 ?
  1028. ; http://php.net/smtp-port
    . e7 w2 x5 D7 ?! T0 ?
  1029. smtp_port = 25
    % w& i+ d& s# j$ K6 g
  1030. % ?& S/ S, a7 y
  1031. ; For Win32 only.
    0 `9 _; f/ Y% P) M8 C# u
  1032. ; http://php.net/sendmail-from
    # i$ C7 q1 ^, K" q  L
  1033. ;sendmail_from = me@example.com5 ]  F5 Y& l! c5 M

  1034. ; |( e! c) l' J
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    3 C1 u' W& K) j7 ^5 H" H4 G" {) c
  1036. ; http://php.net/sendmail-path1 `2 g" r. M; A/ _# S$ G3 p' R2 e# K& @
  1037. sendmail_path = /usr/sbin/sendmail -t -i" V8 O3 X3 X* _4 q
  1038. ; @6 [9 B) z2 u0 m. Z6 ]8 P7 j
  1039. ; Force the addition of the specified parameters to be passed as extra parameters1 E- z* \, w3 O. _
  1040. ; to the sendmail binary. These parameters will always replace the value of5 W. @: O  l& o5 ~+ g
  1041. ; the 5th parameter to mail().5 i4 N( z/ Q' i: t6 h6 w
  1042. ;mail.force_extra_parameters =
    2 C; J0 {& F. L9 ^' g
  1043. 7 p4 X7 b0 ?% @% b& r
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 O2 H0 A3 l2 k& U0 ?" L- Q* O
  1045. mail.add_x_header = On
    4 B6 m& V' R2 Q- b' \, d9 q
  1046. : l; I6 E. C4 ]3 g
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    / \6 g5 Y: I1 u* Q) g, d
  1048. ; the full path of the script, line number, To address and headers.
    5 a2 [' I/ P. o: c. [: K
  1049. ;mail.log =, |6 _- Z+ q3 _, t7 o8 q# Y
  1050. ; Log mail to syslog (Event Log on Windows).
    " F. g; ]# T# `7 w+ u7 R- R& f6 R
  1051. ;mail.log = syslog. v9 h7 q  t6 i  p- n  S3 I5 C
  1052. $ _8 _4 O) m* C1 T
  1053. [SQL]* H# I$ K) f8 L5 W8 x
  1054. ; http://php.net/sql.safe-mode$ o$ x, n  v  d5 v
  1055. sql.safe_mode = Off
    * o1 v0 }7 T, p. C/ m. M' s
  1056. : U& `1 Y4 C5 Q! {# v
  1057. [ODBC]
    + ]' @# |6 l& D& l
  1058. ; http://php.net/odbc.default-db) _+ l" v7 Z3 k% X+ ^) U
  1059. ;odbc.default_db    =  Not yet implemented
    - B2 }+ a2 J6 r% t: X. \- h

  1060. : p* J  D7 ^/ J' B
  1061. ; http://php.net/odbc.default-user) j/ \' c2 N' |* v
  1062. ;odbc.default_user  =  Not yet implemented
    ( f( Z+ h$ E$ i9 a/ p

  1063. 7 E& `& x: \9 R; W, P
  1064. ; http://php.net/odbc.default-pw
    5 q# s) ^! S& h5 `& e. E
  1065. ;odbc.default_pw    =  Not yet implemented
    2 A7 s. E1 x6 R% S- E! E
  1066. ! w# ]9 Y9 i& x8 v" D% S9 [5 Q* J$ L" Y
  1067. ; Controls the ODBC cursor model.
    2 A  T/ x# F; N) v
  1068. ; Default: SQL_CURSOR_STATIC (default).
    . l5 x6 ~: ^8 H3 d4 m
  1069. ;odbc.default_cursortype4 ~  q8 v8 D: j, J
  1070. 8 ^6 H. c9 ?0 c6 U. H2 f) R) B) d
  1071. ; Allow or prevent persistent links.
    2 W2 X- K" D7 d; o1 s/ P$ x
  1072. ; http://php.net/odbc.allow-persistent& R- i7 W5 D5 V( O; K
  1073. odbc.allow_persistent = On. I4 Z# x% [" f1 |2 I* U
  1074. ; \" t& m3 [+ }2 u* ?
  1075. ; Check that a connection is still valid before reuse.
    % p1 S9 I; U# _
  1076. ; http://php.net/odbc.check-persistent
    6 p' b9 ?! g4 a" n3 k. }( P9 c
  1077. odbc.check_persistent = On
    : d( a/ c2 p% X6 _: r

  1078. & Y4 Z5 \- w) O: B* @+ a5 u0 n
  1079. ; Maximum number of persistent links.  -1 means no limit.
    / s& V( j7 j4 w- |0 m9 X- N/ e; T
  1080. ; http://php.net/odbc.max-persistent  z2 R# g$ y! O1 b5 S6 g3 k
  1081. odbc.max_persistent = -1
    . U$ J: p1 m! d# K9 U5 _$ R! t
  1082. 4 X; @) j3 N, m7 U0 s
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' ?& U) ~7 R" Z% P; @: {
  1084. ; http://php.net/odbc.max-links/ k6 o& ?; i% l+ N
  1085. odbc.max_links = -1' D( T& P' h  Q, ~3 J- H

  1086. ( q: N: U- P; a8 j2 R
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" e2 [+ l) W/ J# h% V4 s" g
  1088. ; passthru.% _) @4 ^8 G4 W5 X% b6 U9 F
  1089. ; http://php.net/odbc.defaultlrl. H2 F, }5 i2 A8 J$ H# T3 L7 B/ v
  1090. odbc.defaultlrl = 4096% u+ e/ V: A' ~4 @: ~

  1091. * {, c' R& V' K& P4 \
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! F8 ]% @- p4 W
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    & ^* f) B' D4 r! K
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode+ C" m: t; B" i5 j
  1095. ; http://php.net/odbc.defaultbinmode
    , g9 i/ N# @2 P" E  w  h( d
  1096. odbc.defaultbinmode = 1
    % L- y' W! c# g7 S2 o! m- c' M

  1097.   o% ~0 H, s& O0 Q2 f& C
  1098. ;birdstep.max_links = -19 I7 ^1 L" ]* V* [

  1099. 5 F' c' J( I; P- T
  1100. [Interbase]
    " @0 H5 e- o- }6 _/ k
  1101. ; Allow or prevent persistent links.
    ! D! x5 Y3 h% O; l4 V# |
  1102. ibase.allow_persistent = 1
    + K$ V2 i! D6 e$ _$ D
  1103. ! H1 E5 T" P" e2 J
  1104. ; Maximum number of persistent links.  -1 means no limit.0 c3 Z! r' d7 ?
  1105. ibase.max_persistent = -1
    ! D: j+ _/ {: w$ H, D0 s

  1106. 0 l! ]9 B4 ^( S# s
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ d+ ^* H" @! L8 I
  1108. ibase.max_links = -17 y; h. G% r/ \% q4 ~
  1109. 6 n& J2 z, ?$ B( W
  1110. ; Default database name for ibase_connect().( _5 s9 n- b5 j! I& ?3 s# A, m
  1111. ;ibase.default_db =6 w: X' e+ ^( W# n7 E
  1112. 1 F. P$ _5 ]3 [4 d& q
  1113. ; Default username for ibase_connect().6 G1 N- [, D6 f; P9 U7 C: W2 F8 ~
  1114. ;ibase.default_user =( H1 L& F6 A, b. Q* l# e
  1115. ) u0 G! `' s- l8 N
  1116. ; Default password for ibase_connect().
    2 a/ Z! y8 h7 I/ L+ i
  1117. ;ibase.default_password =
    ' L1 d. m5 n6 e: R2 P9 l% q% c0 G6 ]

  1118. ( X1 Q1 s7 a. K1 ~; S5 F
  1119. ; Default charset for ibase_connect().
    0 p, i% P/ F5 f
  1120. ;ibase.default_charset =
    ( ^8 S, M" c% _/ U

  1121. ; R; `5 z% j" B' I, ~
  1122. ; Default timestamp format.
    ( d8 R: }- g# K* O0 t! o
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ! s1 I7 A+ m2 z" w+ W" v8 v

  1124. " r/ {3 U) ^' R. d" B8 r
  1125. ; Default date format.- D; e& s9 [% s' ?% O+ |  [% o  M
  1126. ibase.dateformat = "%Y-%m-%d": v% D5 x/ ^7 u1 }/ j; O
  1127. # j8 q) Y  d+ c/ ?  l
  1128. ; Default time format.! c! C3 v% k6 [% i" j4 B5 e
  1129. ibase.timeformat = "%H:%M:%S"8 V9 a2 b$ I$ Y

  1130. # N9 s+ M/ S. R0 g# [: C
  1131. [MySQL]
    . }6 N; z+ o# A( @
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & M/ E8 ?; R6 r) u, s$ ]% n
  1133. ; http://php.net/mysql.allow_local_infile
    + P# A+ K+ f2 U6 [% o1 H
  1134. mysql.allow_local_infile = On
    / B# i$ E" V$ U: q5 d1 {

  1135. 9 Y: W6 D6 B9 g
  1136. ; Allow or prevent persistent links.9 C. C& @6 p' R  |
  1137. ; http://php.net/mysql.allow-persistent
    % o4 \6 ]! b" F0 E  C. q4 N1 _3 W# u
  1138. mysql.allow_persistent = On
    & {4 [9 G+ z. {2 e, z

  1139. ' A+ X; }% c8 f" i# ~
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache- Z$ M* H/ q; a$ @' U5 u: M
  1141. ; http://php.net/mysql.cache_size
    0 ~  Z0 n! l/ E/ A
  1142. mysql.cache_size = 20009 U$ U  F7 n# _5 V& E' m" }$ Z

  1143. 9 m+ v7 b( K' |3 n( O/ Y
  1144. ; Maximum number of persistent links.  -1 means no limit.$ a. O1 I9 m% ^( c; |# N  v8 C
  1145. ; http://php.net/mysql.max-persistent
    1 p4 e0 O& u- @" j. E- X
  1146. mysql.max_persistent = -1* f3 H' z  X" h; q* p

  1147. % j. l+ [# q$ P) h
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 K  l9 N* H2 p! ~* h6 N! F
  1149. ; http://php.net/mysql.max-links  k0 z2 X) b+ @: F. k
  1150. mysql.max_links = -1
    3 I% o6 D  C+ m8 {; S  c+ d
  1151. 4 X( }" R$ F/ F$ f9 Z2 N# v
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use: Z; Z8 K/ S3 d: U
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* K" j* m+ y+ {
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 k) t) O% n, Q* n/ M7 y7 K
  1155. ; at MYSQL_PORT.. j( j9 C$ b% ~: r9 I2 [
  1156. ; http://php.net/mysql.default-port
    2 O2 w; Q& b7 C# E! y) e! r4 C) j0 h9 M
  1157. mysql.default_port =
    * ~# B) K) p; {4 e& N7 _

  1158. ( x. Y& S. g: I: s. c9 m: n
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % `. O' F3 i( j3 h5 B5 c7 ~, u
  1160. ; MySQL defaults.
    9 T( c3 ]# L: K
  1161. ; http://php.net/mysql.default-socket
    * c1 W3 l# n* W$ [- |8 t
  1162. mysql.default_socket =
    . e8 \' [; E! m. M, @
  1163. ' A( q$ f% X4 A
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).% A  D; }# B4 e4 L5 ?
  1165. ; http://php.net/mysql.default-host' `7 W0 A* [; o/ Z$ s1 }8 ^
  1166. mysql.default_host =1 h) h# K! W) A: V7 y
  1167. 3 c1 c( m  q! k4 O
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    4 D; [9 w8 V# M. p9 Z7 N1 h6 z
  1169. ; http://php.net/mysql.default-user
    / p) D. i4 y+ Y/ _6 [
  1170. mysql.default_user =! ?% g+ s2 ]8 T
  1171. * a" J5 L$ U( G+ W
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    5 \+ L% Y1 G4 R0 O# a$ S
  1173. ; Note that this is generally a *bad* idea to store passwords in this file." G* b- N; B% V5 n2 f: A2 y, h# i
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ! v1 M  ~8 m* k: k( b
  1175. ; and reveal this password!  And of course, any users with read access to this
    $ e/ o  w' r0 ]  @
  1176. ; file will be able to reveal the password as well.( n2 k# q8 m, u$ f5 c2 @8 g2 |& p/ W* {
  1177. ; http://php.net/mysql.default-password
    . ~  a1 k; m' `
  1178. mysql.default_password =/ M+ ^2 K" \  Y( J9 r( S
  1179. / F( e6 S# Y0 d5 b* u
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit+ V% H8 c7 c3 U! u
  1181. ; http://php.net/mysql.connect-timeout
    / v0 O7 g/ ^7 h* _6 S
  1182. mysql.connect_timeout = 60
    , j3 r& @4 q3 S2 s9 N
  1183. & k: L+ V* T# R9 Z9 k
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and6 e, m; {8 d. {$ ]
  1185. ; SQL-Errors will be displayed.) z& r* ?3 r% ?3 _
  1186. ; http://php.net/mysql.trace-mode
    . ^! I2 G, H% d; f' F1 K
  1187. mysql.trace_mode = Off
    4 g: {. q7 k5 O
  1188. 4 t2 c8 ?) R, I3 V1 V
  1189. [MySQLi]% n9 S' E: N8 I+ ~& w8 F8 e

  1190. 6 {( @0 j: q( Q2 A- m; B
  1191. ; Maximum number of persistent links.  -1 means no limit.
    6 ?" r) C7 A. s: I
  1192. ; http://php.net/mysqli.max-persistent
    $ w( b& I1 c$ W3 ~; \% E
  1193. mysqli.max_persistent = -1
    7 ~; ~* o" g! U

  1194. - |- I( G# _* g! ^4 B' h. p* O/ F
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements" E9 w! X0 Q% q" Y
  1196. ; http://php.net/mysqli.allow_local_infile% R' Z& n" B, e" h  D! ^1 v. C2 v
  1197. ;mysqli.allow_local_infile = On
    3 w8 U- N+ @4 h* D- I7 _& Z
  1198. 9 P) G( S5 I5 J, D2 E2 ?8 o
  1199. ; Allow or prevent persistent links.8 R" Q4 \5 K; z3 D# c5 Z
  1200. ; http://php.net/mysqli.allow-persistent
    : [* Z1 T) U* w$ b& T
  1201. mysqli.allow_persistent = On
    0 C# c$ B% i; k0 G  E" h" C
  1202. ! o& e" C: o3 M5 g: h4 V, R
  1203. ; Maximum number of links.  -1 means no limit./ e" }& {3 i# P! a- b
  1204. ; http://php.net/mysqli.max-links
    ; V( C& N" I; Y* L- j
  1205. mysqli.max_links = -1
    * S! I. Q0 Y6 j  }& e

  1206. , t+ R, B' b9 v$ _
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache" f! M# J7 \) f8 R8 b+ M; h4 {
  1208. ; http://php.net/mysqli.cache_size
    / u7 X, P4 S& y. v% g) k7 a
  1209. mysqli.cache_size = 2000
    6 D+ @! \$ L, o- X
  1210. ' f% k8 v8 F; ]  m) J
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use: L3 _0 Q7 h6 E7 e5 S
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 \# Z/ v4 Q* C9 a% Q8 b$ @
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * J) H- t! w# o# \+ X9 {
  1214. ; at MYSQL_PORT.
    & |4 i- B! @4 T  x0 o
  1215. ; http://php.net/mysqli.default-port( D) I# k$ C' q4 x% I- E. W( J
  1216. mysqli.default_port = 3306( |8 e" u! ~1 K) V
  1217. / K) u, Y, T: h7 b
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in# W; x) @  _% H% |: W5 n
  1219. ; MySQL defaults.6 v. d9 Z7 a- ^, r& n7 X1 u/ Z
  1220. ; http://php.net/mysqli.default-socket
    0 F: j, k" K, \- I) t
  1221. mysqli.default_socket =% A& K% E6 _' a  n
  1222. & l* f& E/ h1 F  Q4 T$ U1 N
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).$ j! S% w& h3 S/ p/ B
  1224. ; http://php.net/mysqli.default-host& }& x; g4 j" j  d# r  k9 a
  1225. mysqli.default_host =0 A0 o4 r! B! G6 A" h
  1226. . W. |5 B3 C4 P6 I9 }' p
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ! W: P& h' R, K1 S5 L: w
  1228. ; http://php.net/mysqli.default-user
    + v- C" J) G  b& h: D6 ]4 L* o+ c
  1229. mysqli.default_user =8 ?; }) k( z3 c; l* V* `  d) P6 S
  1230.   \5 d; O  c" ]
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)./ I/ v1 x8 |2 L
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.7 B; d4 O0 |& [1 d/ ?* w1 R  O
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")' U* K' `3 j  F: d7 X9 S& u% F5 E' ^# e
  1234. ; and reveal this password!  And of course, any users with read access to this
    & e( j6 T8 v: o( q8 i
  1235. ; file will be able to reveal the password as well.) W4 M0 k9 D+ m% Z$ d
  1236. ; http://php.net/mysqli.default-pw$ {, G2 y* G% Z2 _$ c
  1237. mysqli.default_pw =4 [% s( A- ^1 V( R* F

  1238. 3 j* K% o1 `; O- J+ U# C7 S
  1239. ; Allow or prevent reconnect6 ]6 D% J5 g# F
  1240. mysqli.reconnect = Off
    5 |' k' `  N4 p- }+ C
  1241. % H4 @1 }, x2 b+ `9 @6 {) e
  1242. [mysqlnd]4 W" h% g2 s: b
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    9 c1 p" j3 I& I- t' I/ X
  1244. ; used to tune and monitor MySQL operations.) a& ^/ \) S$ r# {- G- Z
  1245. ; http://php.net/mysqlnd.collect_statistics
    $ `6 t$ P* \% A+ `; x' |+ {9 X
  1246. mysqlnd.collect_statistics = On
    6 B8 r" l6 |" D; a
  1247. , _  i0 w3 v1 R$ n! o3 m4 b
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 Y9 R3 U( [! n" \: ]
  1249. ; used to tune and monitor MySQL operations.
    6 `2 m0 ^7 ~/ \6 [6 [
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    # @8 K0 P% M+ i% h
  1251. mysqlnd.collect_memory_statistics = Off5 V- U( i2 y7 j6 v7 F- j1 S# b

  1252. ' [6 P1 J1 Q) [/ y/ B
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    6 J9 H# x+ O# ~' B/ |# e0 \3 {
  1254. ; file.
    / Y7 ?+ C0 h. T2 V4 L% E& h4 t  R
  1255. ; http://php.net/mysqlnd.debug
    2 b0 c/ S% |5 w
  1256. ;mysqlnd.debug =( D: _, v$ K+ P+ y

  1257. ( }" h, ]7 t+ x- q! G
  1258. ; Defines which queries will be logged.1 q9 P$ v- r( y) R8 {
  1259. ; http://php.net/mysqlnd.log_mask
    6 m3 h" _  I& q/ I7 f3 s
  1260. ;mysqlnd.log_mask = 0
    & o% [7 ^0 Z* c( w) ?6 q5 i
  1261. " F: q3 Y5 \& ?, H+ E
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.: H( m+ r' x7 M7 I( s- c4 B9 x8 `
  1263. ; http://php.net/mysqlnd.mempool_default_size2 |- g7 A- c9 G8 U$ f6 d5 C! D; N
  1264. ;mysqlnd.mempool_default_size = 16000
    : @* a5 A9 A1 {4 U6 r. y- A: A
  1265. 0 l- `* w3 M4 F# |* }6 w$ z) O
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    # A3 Y8 D% e3 D) _" X  F
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ( A" w9 P! B$ P* X7 v$ f
  1268. ;mysqlnd.net_cmd_buffer_size = 20483 k, e  d# K' y

  1269. 2 G$ i3 l8 j/ }3 U2 I. n3 a
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in1 k: k3 ~# W+ B1 _8 M( T
  1271. ; bytes.- J/ ?. K4 h$ X7 L  ]. b
  1272. ; http://php.net/mysqlnd.net_read_buffer_size& r1 T- o2 X8 K
  1273. ;mysqlnd.net_read_buffer_size = 32768: v1 U2 D! l2 `; S2 R
  1274. : L; a) x8 l: H
  1275. ; Timeout for network requests in seconds.
    " P( C  k# f2 C" F1 L# s7 c
  1276. ; http://php.net/mysqlnd.net_read_timeout
    / F. m% P( T: s5 c2 P0 o# t- @
  1277. ;mysqlnd.net_read_timeout = 31536000& d2 W* c) u/ A' W- s
  1278. ' {' _7 G& e6 r' S# Z/ ?
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; J' ~! X0 t9 Z& e* M
  1280. ; key.
    ' f; a' Q8 Q3 o1 O
  1281. ; http://php.net/mysqlnd.sha256_server_public_key0 s# m5 S3 y$ D) J: r& Y
  1282. ;mysqlnd.sha256_server_public_key =4 y8 E; P; l9 F
  1283. 8 i1 t' b  x+ p. b4 J' P
  1284. [OCI8]. P& Y6 A8 W5 u! y. ~
  1285. * I8 G' F7 B+ m, y$ z
  1286. ; Connection: Enables privileged connections using external
    ! z4 j7 w( A2 e0 d) {
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( Y5 e+ R7 {; B8 k5 m" ^  l4 Z, h
  1288. ; http://php.net/oci8.privileged-connect3 Z$ i& T2 ?% i4 `1 |
  1289. ;oci8.privileged_connect = Off
    6 P6 d9 n4 I( ]& x7 V4 q' t  M/ O" N

  1290. ! V, v6 P% A0 t' [6 P  C; I: _, \5 ?
  1291. ; Connection: The maximum number of persistent OCI8 connections per' J3 q, h$ L# e# E. z% O
  1292. ; process. Using -1 means no limit.' }, b+ l/ Y' w8 z2 ^: P$ R
  1293. ; http://php.net/oci8.max-persistent
      A6 |7 C* G/ H3 R! n4 T9 A
  1294. ;oci8.max_persistent = -1+ m( V* c3 m* y; D

  1295. . A: m, p6 u0 g! @# T: u( @  Q7 n1 `
  1296. ; Connection: The maximum number of seconds a process is allowed to5 D3 y$ h2 h8 W* e* C7 l' `
  1297. ; maintain an idle persistent connection. Using -1 means idle5 B0 l4 m. }, ^) l
  1298. ; persistent connections will be maintained forever.
    , Z8 E, T, }- b+ y$ T. v6 L5 D
  1299. ; http://php.net/oci8.persistent-timeout' [9 Z( ~+ [$ b
  1300. ;oci8.persistent_timeout = -1
    6 X+ O, i* f0 D) N6 }) O* ~

  1301. ; G( g, o/ x; n' g
  1302. ; Connection: The number of seconds that must pass before issuing a/ H7 {  I# o, l3 h6 ]
  1303. ; ping during oci_pconnect() to check the connection validity. When
    0 p. m* Q; i3 i! M5 G
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables$ q+ ^- |- P7 r, d0 S! k$ z
  1305. ; pings completely.% ~' D0 }3 e+ A0 b+ D
  1306. ; http://php.net/oci8.ping-interval+ i! `% @" p" |/ U9 }' W5 t
  1307. ;oci8.ping_interval = 60
    ( q* E% X6 v- [8 N
  1308. ; b( o/ v2 a3 D# [, M" g9 n9 W
  1309. ; Connection: Set this to a user chosen connection class to be used; O1 S( H* E( I1 N1 P+ c
  1310. ; for all pooled server requests with Oracle 11g Database Resident# ^7 o  Q7 j( D% U7 \! D1 N; Y5 H
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to! X& B$ A' q2 T3 e* K
  1312. ; the same string for all web servers running the same application,
    9 ^3 i# Y) B& h7 c* I0 @7 u
  1313. ; the database pool must be configured, and the connection string must+ J0 |9 A% D1 ]' j
  1314. ; specify to use a pooled server.
    / ]3 b7 G% @- {8 @9 n
  1315. ;oci8.connection_class =% Z3 L& ]# `! ]" D8 n; c$ B

  1316.   e- ~% d: ]+ t  P/ c- T
  1317. ; High Availability: Using On lets PHP receive Fast Application6 J# v* ^* \1 i$ Z; d
  1318. ; Notification (FAN) events generated when a database node fails. The* A/ Y  F( r+ p% L) s0 Q& T8 u& J
  1319. ; database must also be configured to post FAN events.
    ) F+ z/ Z% Q  y" h6 F4 X
  1320. ;oci8.events = Off( ^& W0 s7 C7 @( G
  1321. , x. j/ O! ^. N- x. N2 h" G  U- C
  1322. ; Tuning: This option enables statement caching, and specifies how
    7 i- ~% ^1 E* l0 l7 I0 [' s
  1323. ; many statements to cache. Using 0 disables statement caching.$ P" V& f( n; [5 b! e
  1324. ; http://php.net/oci8.statement-cache-size& w+ \. A* ~+ ~0 `( s" O& f+ Z1 u
  1325. ;oci8.statement_cache_size = 203 x1 r1 J* ^: S% L; r

  1326. 5 i( R! v7 L' C1 [4 c! a
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    3 D2 ?) W- ~0 P
  1328. ; rows that will be fetched automatically after statement execution." f2 D. d+ ?, i$ x
  1329. ; http://php.net/oci8.default-prefetch; F; s2 ?; B" ^' P
  1330. ;oci8.default_prefetch = 100! |/ s9 C- l  J, [
  1331. ) ^1 _. N, @- O
  1332. ; Compatibility. Using On means oci_close() will not close: }! i! S3 q( b* M. ]# F9 D
  1333. ; oci_connect() and oci_new_connect() connections.+ C2 S- `8 P/ p# X6 c: s5 F& A
  1334. ; http://php.net/oci8.old-oci-close-semantics
    & e' z9 a, c' J  n- b3 M
  1335. ;oci8.old_oci_close_semantics = Off+ L& {) |, U6 S9 N
  1336. % J! Y% i3 E5 P9 F0 w: ]) F
  1337. [PostgreSQL]3 S! U0 t2 n1 p  }+ K  `
  1338. ; Allow or prevent persistent links.* t3 r" A: E+ q4 g. _0 ]  h( N# h
  1339. ; http://php.net/pgsql.allow-persistent
    $ N5 @2 u* k. Q+ @* b+ a6 T% o
  1340. pgsql.allow_persistent = On/ Y2 B- L1 |+ k6 V& @3 e
  1341. 9 o: H9 N9 L# h) o" S
  1342. ; Detect broken persistent links always with pg_pconnect().2 c9 [7 j" Q* S' R# Q3 M; K
  1343. ; Auto reset feature requires a little overheads.
    - ~" B' C% b  u
  1344. ; http://php.net/pgsql.auto-reset-persistent
    - D1 [6 H4 C+ }# f6 \
  1345. pgsql.auto_reset_persistent = Off
    8 [# L$ G, |  X5 o  z) q- x9 d" s
  1346. 9 x' s3 P$ r$ {. c0 P& D
  1347. ; Maximum number of persistent links.  -1 means no limit.
    1 F: {/ {; O! L5 h# y
  1348. ; http://php.net/pgsql.max-persistent
    ) [* ?# D. V. N# a- k
  1349. pgsql.max_persistent = -1& U) q3 r* F8 e5 N5 D% ^0 S# \

  1350. ) s; O$ W* F: c* w  `
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit., B; M3 k& v- Y/ X; R- [
  1352. ; http://php.net/pgsql.max-links
    4 F4 z, [/ ]4 j& F
  1353. pgsql.max_links = -1
    1 e* D4 {% x+ b& B$ j/ g( \7 r4 {
  1354. 2 ], Q+ _; c* w; h- C
  1355. ; Ignore PostgreSQL backends Notice message or not.
    9 Y2 j6 D) r  H' I" e
  1356. ; Notice message logging require a little overheads.
    6 m  e9 p  a: j  J
  1357. ; http://php.net/pgsql.ignore-notice
    1 h+ K7 }' I" w& R
  1358. pgsql.ignore_notice = 0
    0 E  k* l3 y+ w9 y7 P/ c$ s

  1359. ! j1 R2 {0 L* q: K) F5 C
  1360. ; Log PostgreSQL backends Notice message or not.
    9 w  J* s- J0 I0 I
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - G& d2 Z3 \4 j  ]
  1362. ; http://php.net/pgsql.log-notice
    2 ~: ]! D7 C7 ?( A' A! G! Y
  1363. pgsql.log_notice = 0
    * x0 D9 H+ A+ u5 L' D& ~4 B7 C" l

  1364. 9 b6 ~7 b3 G% W4 v# C
  1365. [Sybase-CT]
    + P6 |; g' z8 O9 F
  1366. ; Allow or prevent persistent links.  M" l+ ^/ ?3 G4 U% g  b
  1367. ; http://php.net/sybct.allow-persistent; }) Y7 t) W  c! E9 {  Y  ^
  1368. sybct.allow_persistent = On& m! ?+ G0 M$ U& Z* a
  1369. / k+ W' E' Z# Q! p5 j; V
  1370. ; Maximum number of persistent links.  -1 means no limit.3 n5 d. U5 T, o
  1371. ; http://php.net/sybct.max-persistent1 }# g2 T7 q, w9 K
  1372. sybct.max_persistent = -1
    , A- U$ Z! \+ W: S
  1373. & Z% Y& M9 B+ U  M8 _1 G
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ g, Z% V$ v8 I8 o% m0 t
  1375. ; http://php.net/sybct.max-links
    ! u. M+ B9 l% Z9 I& _$ Y& T3 @
  1376. sybct.max_links = -1
    9 |7 u' f3 W- n6 a% ~$ R/ F$ X! N
  1377. / d# `" i+ T) U$ o! w8 O  O9 [, l
  1378. ; Minimum server message severity to display.
    + h9 P' h( X1 a1 `8 x% q2 y) z
  1379. ; http://php.net/sybct.min-server-severity
    9 B4 `+ v  G; ^$ }6 B; i5 I
  1380. sybct.min_server_severity = 10
    # T& ?1 n  W2 |& I9 u9 h
  1381. * I; g* R/ }' S! i- [
  1382. ; Minimum client message severity to display.
    ) l7 l0 }. {0 u2 \9 E1 P
  1383. ; http://php.net/sybct.min-client-severity: \* c2 \6 X* L9 w6 {0 q9 R  V  m
  1384. sybct.min_client_severity = 10
    6 a3 P) F/ b) p  a4 s

  1385. 9 D; X" ^  T1 M1 v. Z0 j# _$ F
  1386. ; Set per-context timeout1 t+ ~0 u/ ]2 k3 `* J0 B' f
  1387. ; http://php.net/sybct.timeout
    ! M- E, B4 L. ~7 x
  1388. ;sybct.timeout=9 P5 N: U( F0 v: [4 i& R
  1389. 0 T, \) A* K8 M5 i2 S
  1390. ;sybct.packet_size/ ~6 s1 r' T9 Q5 M1 X3 E; h

  1391. ' R+ p: f: d: F& a  O
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.4 t; i' l' \6 g& {/ o" @9 C+ g
  1393. ; Default: one minute& d5 _& Z& B) L/ a. m3 n' R
  1394. ;sybct.login_timeout=
    / q& |9 h( p$ v3 _+ d' E0 I
  1395. / D9 o0 z7 h* A3 d
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.5 }  p/ d! M- J
  1397. ; Default: none, j! ~6 r* U' F- x' p
  1398. ;sybct.hostname=' q: A5 \: Y: R2 h0 T  q

  1399. 1 e4 K: [/ n4 N& @. R
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    6 g  b: ^" `" G4 W; g8 d. t
  1401. ; Default: 0
    . a( d" x- ], ~
  1402. ;sybct.deadlock_retry_count=
    ! `& G  a+ [: @, F" F+ e
  1403. % n) B. U/ c9 I% c  M0 y7 o
  1404. [bcmath]( J. @! ^& d* H# j
  1405. ; Number of decimal digits for all bcmath functions.
    - b, U/ v' p* Q: I/ a" ?6 w
  1406. ; http://php.net/bcmath.scale
    & s2 X& I! Y# u" q7 M1 h3 x' x
  1407. bcmath.scale = 0
    * a& F+ c1 {9 `" J

  1408. % h# q+ I. n; c, y$ j1 r
  1409. [browscap]3 W/ u/ ^* b- Q2 G
  1410. ; http://php.net/browscap
    . x) E3 D" a- E; z1 n
  1411. ;browscap = extra/browscap.ini$ t8 K' p) a- l* e- x2 W4 ]

  1412. : W* R) D* a) m5 k$ f
  1413. [Session]
    - p% j$ C) v! x+ S" i0 {
  1414. ; Handler used to store/retrieve data.
    , l/ @1 P* M5 C0 {) `
  1415. ; http://php.net/session.save-handler
    + D2 p( c9 a, S* v
  1416. session.save_handler = files
    " [1 y4 E0 k: S7 ~: e0 {5 y
  1417. 5 `6 a; {( C6 l% I
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    1 f* ~+ l9 C& x, h- Y) l
  1419. ; where data files are stored. Note: Windows users have to change this) a) P8 O5 \8 d5 v' Q: ?
  1420. ; variable in order to use PHP's session functions.! c  v- A% B9 G
  1421. ;, F# n& |( J. C, r4 i
  1422. ; The path can be defined as:+ k/ P- k# I$ S8 @$ M& ~
  1423. ;
    5 I8 z7 j# d" N
  1424. ;     session.save_path = "N;/path"+ ~  B- Z* E3 t& n/ N$ x8 h
  1425. ;  }( o$ P( \& p/ u; Q% ]
  1426. ; where N is an integer.  Instead of storing all the session files in
    ( K+ w0 w4 [- g' s( t1 U% m) H
  1427. ; /path, what this will do is use subdirectories N-levels deep, and* p  i% A9 P1 Y5 J, K/ k# }
  1428. ; store the session data in those directories.  This is useful if( d2 i$ W; n1 J9 H4 q8 R
  1429. ; your OS has problems with many files in one directory, and is
    ; J9 m) H* H6 J) ~
  1430. ; a more efficient layout for servers that handle many sessions.
    ) R- w# E+ f5 c9 l1 P- [
  1431. ;
    ' Z2 S8 a2 L0 R6 g
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    * f- o% U9 w$ c4 A
  1433. ;         You can use the script in the ext/session dir for that purpose.* c5 L; T+ M. }6 C, ^, i  h( n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    - U! \4 C: `0 ]* {. z  T$ V
  1435. ;         use subdirectories for session storage4 b9 }% t. L) K" P+ }1 j9 m
  1436. ;
    7 |% H0 b5 L8 C4 G, ]. K2 ?" o
  1437. ; The file storage module creates files using mode 600 by default.
    $ t, f% Q( `" u. `) w5 S
  1438. ; You can change that by using
    * j6 w0 _7 \; D. b6 Q/ e% _% T) X
  1439. ;
    . ^/ n+ g7 t) d2 k' O& A. U. T/ k: \
  1440. ;     session.save_path = "N;MODE;/path"6 a: B% U* T! I5 A& |8 g' V# ~4 v
  1441. ;
    ) q9 Q! f! w( Q' \! k
  1442. ; where MODE is the octal representation of the mode. Note that this
    4 P9 D& A) Y: c0 q. A/ V
  1443. ; does not overwrite the process's umask.
    - g0 j7 R2 G! s9 j  ?( B! X
  1444. ; http://php.net/session.save-path+ `, R- X1 H* L3 z* R7 Q
  1445. ;session.save_path = "/tmp"# n4 |/ m, v6 V2 J0 {

  1446. : R% q9 y  w5 w& `* V! t% `- D
  1447. ; Whether to use strict session mode.
    6 \. U- _4 `& x5 K! _6 t
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate1 {& H; V- f) ?
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
      B2 k0 m8 \! e: k: B
  1450. ; applications from session fixation via session adoption vulnerability. It is, h" a0 P: v, \! U% G' ]) T4 j. E
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.$ i7 S& _+ m4 e1 f0 X6 b/ G2 p
  1452. ; https://wiki.php.net/rfc/strict_sessions
    8 ~! w' e1 O# j1 f! }
  1453. session.use_strict_mode = 0
    $ h! a9 J: x! m$ u3 q5 T$ e

  1454. $ c6 H; e" k9 I3 n
  1455. ; Whether to use cookies.7 g- w' _8 Y* j% m6 P! k3 @
  1456. ; http://php.net/session.use-cookies
    * p- `- G# H- `2 X$ b0 T
  1457. session.use_cookies = 1
    ) [& `7 [6 n3 m6 E1 ?
  1458. 3 R. i$ q/ @6 W
  1459. ; http://php.net/session.cookie-secure
    2 a6 {1 x* I; \2 J. V9 s
  1460. ;session.cookie_secure =  _6 D9 t: L$ s5 d8 H
  1461. 3 b6 q, h" W3 a) U
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining0 u) V9 g7 C: i  A" m. ]- z
  1463. ; the session id. We encourage this operation as it's very helpful in combating- ]" \# m% C% Q
  1464. ; session hijacking when not specifying and managing your own session id. It is6 ^) ?/ @2 \. t- o  |
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 k" x# W: h0 K5 o: M
  1466. ; http://php.net/session.use-only-cookies' ?* G8 A7 `: z
  1467. session.use_only_cookies = 1+ \1 }7 m7 n% `4 t! Z' v
  1468. ' Z: p. H: t5 T' h2 w5 c5 R5 ^3 q
  1469. ; Name of the session (used as cookie name).
      l  a( y" k$ p: ?0 K
  1470. ; http://php.net/session.name
    : Z) j8 e* D& l2 M% e4 Z
  1471. session.name = PHPSESSID
    - T2 T9 t. \* ]

  1472. # t! B$ v  v6 @% F* p
  1473. ; Initialize session on request startup.
    + Y- V) @) |, Z) e
  1474. ; http://php.net/session.auto-start
    ' \& q7 _; N- ?1 j/ P$ o! z
  1475. session.auto_start = 09 @, p1 b9 M; F( ]0 s$ M: n% _
  1476. ' }. i8 I( o) ^: p2 E5 `
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.% d3 J3 ?' E0 [
  1478. ; http://php.net/session.cookie-lifetime* ~/ E( r" C- v  U+ V
  1479. session.cookie_lifetime = 0
    / j+ c& N$ g  A
  1480. 4 Z) f/ r( s) @3 W! C! S" E
  1481. ; The path for which the cookie is valid.
    2 r, C. H2 p; q& O+ v, K1 S  B# S0 H
  1482. ; http://php.net/session.cookie-path
    ' R, c. a. ^7 ]4 A& f0 K" D( v
  1483. session.cookie_path = /
    + ?- Z# ^- i) D1 H
  1484. , j( c8 k+ I1 ~
  1485. ; The domain for which the cookie is valid." s' {4 _8 e/ N3 K& N$ s
  1486. ; http://php.net/session.cookie-domain
    " a+ ]" C& g; ?  P5 X) c1 R' H- p
  1487. session.cookie_domain =) S+ ]) D4 d  v
  1488. : W" H8 G* T' l1 `2 r
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.  W! S) n# ]* B7 V& J: G
  1490. ; http://php.net/session.cookie-httponly2 N  j/ J3 T( C- N$ E* Z
  1491. session.cookie_httponly =
      {+ _+ X  V, v- P. ]# @) F2 V

  1492. 5 u  X5 j1 T/ U% E4 E
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP., R; I1 Z- Y% j
  1494. ; http://php.net/session.serialize-handler. M+ C/ R; o7 _& E1 g# E4 q
  1495. session.serialize_handler = php
    7 e$ n6 s9 D* ^5 S2 ?# P& M* _

  1496. - y. m3 W$ ]+ T& k
  1497. ; Defines the probability that the 'garbage collection' process is started
    " M0 B2 F3 N- y5 ]3 D" F
  1498. ; on every session initialization. The probability is calculated by using
    ' A& }; R% b/ i5 ?
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator; w, Q% q. w: m! I* k
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, b" _( f7 s& Z8 N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, l, y  P; ?( M9 _9 G
  1502. ; the gc will run on any give request.+ |! x3 M, i! |  X4 Z) q0 n' K% U7 f
  1503. ; Default Value: 1- \/ B' {" h+ z
  1504. ; Development Value: 1
    2 ]. X( q+ R/ J
  1505. ; Production Value: 1  v: ~6 Y$ y2 f
  1506. ; http://php.net/session.gc-probability8 C7 }$ T, p1 E6 B4 I
  1507. session.gc_probability = 19 M1 p7 M9 ]4 @

  1508. ) Q! k  @& G( W8 D5 }1 A% c
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    : e3 k9 D. {. D
  1510. ; session initialization. The probability is calculated by using the following equation:
    5 I; g4 a1 p+ D: Z# P: M. O
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 `$ `* c/ H6 A' e$ {
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' n$ p. g6 [" X/ N
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : d/ c/ k9 }  B; O6 L
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you' k  |3 V! L) c2 j9 A0 q+ `) v1 c: R
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,* m( j7 N& S- z6 k+ N
  1516. ; this is a more efficient approach.1 z% Q$ C9 o+ h
  1517. ; Default Value: 100  ^! R1 v' O% H) I# i1 O. [. B
  1518. ; Development Value: 1000
    % r0 L8 S" t( v# |0 Z
  1519. ; Production Value: 1000
    7 L8 Y7 T0 x! x9 R) g
  1520. ; http://php.net/session.gc-divisor) e* o4 z1 u' c# Y9 E
  1521. session.gc_divisor = 1000. ~1 J+ V7 n$ u, [+ n, n

  1522. : \. }5 R+ ]6 B2 j2 U6 r
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and9 o; b' R5 p6 B. i  ~9 [& j4 z* ?
  1524. ; cleaned up by the garbage collection process.
    ; \( Z6 ?* m6 H/ x$ b, W! ?
  1525. ; http://php.net/session.gc-maxlifetime
    - A. b/ n4 Z& ^& y# s( d4 M; d: Q
  1526. session.gc_maxlifetime = 1440
    . m$ c0 E3 b  W& _# J  T7 B

  1527. ; g* y& m3 }, Q
  1528. ; NOTE: If you are using the subdirectory option for storing session files  C/ T. F7 A  W0 n# a
  1529. ;       (see session.save_path above), then garbage collection does *not*
    1 o/ C& l8 R6 F/ }7 K6 J5 n
  1530. ;       happen automatically.  You will need to do your own garbage9 K5 ~4 u0 F. [" Z+ ?, V; w
  1531. ;       collection through a shell script, cron entry, or some other method.0 e$ ~+ V3 _. n( z2 h, d# Z
  1532. ;       For example, the following script would is the equivalent of
    $ `9 g  R" x, {! S
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 z. g/ s  S- c; f
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 @3 g  o5 w& M6 E- v- C1 j
  1535. 8 x0 m) Q; |# P3 k; W! \& m7 c
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.; }7 R( i4 T) n9 `; X) c9 C
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ! r. G# B  x2 i% @# {  x
  1538. ; considered as valid.1 K' K4 W8 D- B/ Z3 G
  1539. ; http://php.net/session.referer-check
    , i% i6 n1 H7 a+ o7 }1 d
  1540. session.referer_check =
    " o# {% J9 k; D8 _( R

  1541. " q5 b' g0 C! Z2 }5 u
  1542. ; How many bytes to read from the file.; b0 S" ~" w9 ]3 J  ]; B
  1543. ; http://php.net/session.entropy-length  I* A: I; D& O
  1544. ;session.entropy_length = 327 D& e$ O( |3 j. s2 a

  1545. , w, D0 v; r  A; ^5 k2 T* |
  1546. ; Specified here to create the session id.
    0 c8 i0 A  I/ G; ?! A" X$ j; P
  1547. ; http://php.net/session.entropy-file
    ) o! D/ ]( w; p. S4 U
  1548. ; Defaults to /dev/urandom
    9 f9 T) o* @( t$ p
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom6 s; M  Q- L3 ~# d# D# \
  1550. ; If neither are found at compile time, the default is no entropy file.
    8 p/ z; ^: V% d8 J6 l: N7 i
  1551. ; On windows, setting the entropy_length setting will activate the
    4 [0 N+ w4 n# V, T% Z4 l( ?+ n3 F0 h
  1552. ; Windows random source (using the CryptoAPI). b+ s) \% k& J/ v9 W+ W2 k
  1553. ;session.entropy_file = /dev/urandom& H' {  {# m; L  F$ Q

  1554. + {% a0 n" t1 z- I0 w/ _% U3 E% I
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , D3 c* x7 ?- o0 ]! w7 u
  1556. ; or leave this empty to avoid sending anti-caching headers.4 Y! b0 R7 D1 k4 u2 V
  1557. ; http://php.net/session.cache-limiter: j5 _# V$ R% l+ [" h0 ~4 V9 n
  1558. session.cache_limiter = nocache
      E: `1 c- N6 H1 c2 N

  1559. ) h- ?; s* |9 n
  1560. ; Document expires after n minutes.
    2 c  G; z3 D* x" m% F
  1561. ; http://php.net/session.cache-expire
    + N& E$ @- U  Y9 `: Q8 y
  1562. session.cache_expire = 1804 \1 {1 s. p  q# R* j3 n$ G  O+ S
  1563. 5 d4 {8 S: T% C5 `
  1564. ; trans sid support is disabled by default.
      l0 e4 ?4 o! [7 W5 S( V/ a9 g* N8 y
  1565. ; Use of trans sid may risk your users' security.
    ! |5 O$ ~' D$ E" k5 n
  1566. ; Use this option with caution.
    $ s% v9 V+ S% a0 p
  1567. ; - User may send URL contains active session ID
    5 l/ l) h  t& ]
  1568. ;   to other person via. email/irc/etc.$ {3 t1 C, s" L5 a. a2 @
  1569. ; - URL that contains active session ID may be stored
    ! L+ M% @4 G( Z5 z  y( B
  1570. ;   in publicly accessible computer.
    9 ]% U9 s6 G1 d7 d
  1571. ; - User may access your site with the same session ID
    $ _+ D/ X  q/ g  ~. f  @8 G7 \7 }
  1572. ;   always using URL stored in browser's history or bookmarks.
    / w% t5 l* X% n- a/ r, @
  1573. ; http://php.net/session.use-trans-sid
    ) ^3 ^/ w$ X  A$ I, s6 h+ t
  1574. session.use_trans_sid = 0" r& `4 v  e( {0 `. r6 Y

  1575. * j- s# ~- R, Q1 d9 P, y
  1576. ; Select a hash function for use in generating session ids.# j  u3 ?# H/ v8 {
  1577. ; Possible Values
    / p9 c! ]% m5 ~2 F! Q
  1578. ;   0  (MD5 128 bits)+ D+ W8 |# D: _# N- h1 s' C# D
  1579. ;   1  (SHA-1 160 bits)
    5 @9 T5 u3 Z% D0 W5 ~* e8 s
  1580. ; This option may also be set to the name of any hash function supported by4 h/ P, K; Q7 Y7 B4 o; v
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    5 t, w6 E* A, y" f& r# z9 P& G! p
  1582. ; function.. c  C8 |7 o) T
  1583. ; http://php.net/session.hash-function* z0 L1 X- R3 L6 e/ Y$ `
  1584. session.hash_function = 05 N+ r7 K! c2 N: \! r, m
  1585. $ Y! Y- _3 ]3 C  w
  1586. ; Define how many bits are stored in each character when converting
    ! g% f$ h4 B- B
  1587. ; the binary hash data to something readable.
    ( [9 r0 W4 M2 ]0 A( S1 M/ r
  1588. ; Possible values:
    , j" N) Q/ |, e8 r( F2 I! I3 M! c
  1589. ;   4  (4 bits: 0-9, a-f)
    . G3 g. w/ R% [5 y$ d
  1590. ;   5  (5 bits: 0-9, a-v)
    4 F9 e8 R: u) a" _; h, s6 ]
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 E( R. x7 K+ W3 l
  1592. ; Default Value: 4
    # O6 Y% A/ h) A
  1593. ; Development Value: 5' |9 r" e- M. s4 o# u
  1594. ; Production Value: 5
    ) Q' \) B1 _% n- G  f2 ^7 g+ W; F- W
  1595. ; http://php.net/session.hash-bits-per-character2 ?9 K# `1 n9 J: Q1 s
  1596. session.hash_bits_per_character = 5
    ! @; T9 m4 ]( `5 M& h
  1597. 7 z9 d( q6 {: L0 z  U! z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    7 |/ Y4 v' d" n( f& q4 E# u" V3 A
  1599. ; form/fieldset are special; if you include them here, the rewriter will- M( Y  d( L1 Z( v5 o; L0 T0 i7 ?- o
  1600. ; add a hidden <input> field with the info which is otherwise appended+ d* k) D' r9 z, R# r4 P
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.) y& x3 D! z+ i
  1602. ; Note that all valid entries require a "=", even if no value follows.1 C; S: f: Q- c
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="; P9 v% _% _9 v, I
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ j& v! O5 m2 P# t- b5 z$ Y
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & a3 r$ I6 U* K6 p! B$ z4 G/ z8 n8 ?
  1606. ; http://php.net/url-rewriter.tags; l) |( j% J3 A2 H, `! X% K: b. ?
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 e& l! a/ r4 C/ a
  1608. 8 D( T" s; R3 ]3 d, n4 f! Z( V
  1609. ; Enable upload progress tracking in $_SESSION# L! H7 B; j2 U' R' y  A+ W
  1610. ; Default Value: On& W$ W# y3 O" I6 `0 y
  1611. ; Development Value: On
    $ e* G. `3 T4 e6 n2 |) {8 [
  1612. ; Production Value: On# t2 _; z- f" ?4 ?9 Y$ J+ B
  1613. ; http://php.net/session.upload-progress.enabled- l3 Y2 B% R; n3 P8 u8 P9 W
  1614. ;session.upload_progress.enabled = On# K$ }% m7 Z  w4 D* w

  1615. : K  e# m8 h, _: `$ P0 C
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ) I. N3 J$ \* R; F: l
  1617. ; (i.e. upload completed).8 j: u) f& Q, N
  1618. ; Default Value: On
    9 M1 r7 t: @, A) v2 F$ t! i
  1619. ; Development Value: On% Y  I, u) d8 @- s4 r
  1620. ; Production Value: On
    + g( v5 V) Y3 V1 A: \7 f. O3 L
  1621. ; http://php.net/session.upload-progress.cleanup
    6 }# w. @& q2 e# o6 _- t
  1622. ;session.upload_progress.cleanup = On3 L+ N4 A2 A' o% n

  1623. 2 k6 Z2 {4 ~$ B) W; x# ?
  1624. ; A prefix used for the upload progress key in $_SESSION. x) \+ \: j$ x  y
  1625. ; Default Value: "upload_progress_"0 S( N& S$ T! B* g7 Y6 I
  1626. ; Development Value: "upload_progress_"
    ; Q1 E, b, G: K2 F: X& L' [; Q6 j
  1627. ; Production Value: "upload_progress_"! f: }( L4 P# `' R% H1 N
  1628. ; http://php.net/session.upload-progress.prefix
    . @& ?: _& Z! r$ y8 z. a
  1629. ;session.upload_progress.prefix = "upload_progress_"* a7 y/ F. Q! {8 x

  1630. % u, C$ b- q3 ]: m% V
  1631. ; The index name (concatenated with the prefix) in $_SESSION( X; X) [% l  y" G! R
  1632. ; containing the upload progress information- r6 ~, N; D3 J; q' d8 f4 W; |
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"0 Y& r9 N# X0 `5 u: T
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * q5 S, p$ I  q+ R5 [- [
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! ?0 K# y* y" d) U( Z
  1636. ; http://php.net/session.upload-progress.name% O) {1 ~3 X. y  g2 o
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    # v* R" S' f% u9 E, u3 w

  1638. & Y! P% s! [" v8 p3 W+ Y1 `
  1639. ; How frequently the upload progress should be updated.4 Y# o  |3 c% R
  1640. ; Given either in percentages (per-file), or in bytes# r' Z- p, I; S: n4 v0 H
  1641. ; Default Value: "1%"
    0 ]9 @+ f- }9 V; S9 g
  1642. ; Development Value: "1%"! s0 M) H9 [# H' p8 J. k: `
  1643. ; Production Value: "1%"$ o0 Q, Y9 [3 A9 x) }5 h
  1644. ; http://php.net/session.upload-progress.freq
    8 |) A; `+ g" I7 z
  1645. ;session.upload_progress.freq =  "1%"
    6 }% ?$ e9 Q, |- }1 y% q. k9 w
  1646. 4 N+ P3 N, t" a2 s, Z$ E$ n
  1647. ; The minimum delay between updates, in seconds
    : G4 g3 l  `. I- b+ b
  1648. ; Default Value: 1
    , o5 b0 e3 q# e2 z- |' F# L9 {& u
  1649. ; Development Value: 18 c1 K5 r( [" C" X
  1650. ; Production Value: 1+ |* [7 U1 f+ n4 R  U
  1651. ; http://php.net/session.upload-progress.min-freq, m4 m, A1 x) \4 K8 i( c
  1652. ;session.upload_progress.min_freq = "1"
    5 ?8 d: W, |# Z; a8 f' u  C$ s

  1653. : n( F9 w" F) U7 Y
  1654. [MSSQL]
      K$ x8 y0 n7 Y1 l+ x: M" E! W
  1655. ; Allow or prevent persistent links.8 i  y$ ^3 z. R& f* x, I' I
  1656. mssql.allow_persistent = On& `3 C7 L7 l8 D4 g
  1657. 9 ^' t5 A" z/ v: w- b! X! g& Q
  1658. ; Maximum number of persistent links.  -1 means no limit.
    7 W  G) V$ M: b
  1659. mssql.max_persistent = -1
    : G; B. R  l+ ^0 v' [

  1660. 5 I' R- O4 N8 o
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " B3 l9 L4 l  z+ `& b+ P7 T4 C
  1662. mssql.max_links = -1; O8 L, C& j& F
  1663. 1 I1 v, Y" h' L+ j
  1664. ; Minimum error severity to display.
    3 ^; X" s9 {+ E6 G- w
  1665. mssql.min_error_severity = 10
    : G6 O8 {0 ~6 N3 b, a$ k5 Y
  1666. 5 H- N  h8 A* H0 q( r
  1667. ; Minimum message severity to display.6 V9 ?" q* M/ r, Q. |4 v8 V
  1668. mssql.min_message_severity = 10
    ) R. S, ?' C0 L+ w, {" w$ n' X" |1 j
  1669. , |% R3 H& X; D& H* p6 l9 `
  1670. ; Compatibility mode with old versions of PHP 3.0.+ L/ p% m, w# X
  1671. mssql.compatibility_mode = Off
      |8 W6 H9 \4 G, ]/ M) f$ M! }

  1672. ! D# @9 e% w! ]6 \7 B' s* K9 s
  1673. ; Connect timeout
    1 S% e5 X% T: c+ J
  1674. ;mssql.connect_timeout = 5' r, L5 ?5 D# W) K* y. r

  1675. ) O" F/ l5 L$ x# |; `
  1676. ; Query timeout4 d! ^! f& J0 m& i6 L3 D, f
  1677. ;mssql.timeout = 60
    " i" w7 u2 }8 ], w2 r6 D) ]% {5 L
  1678. & L3 |1 W( m* B
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    9 B" h1 T; F* T  b: B
  1680. ;mssql.textlimit = 4096
    ) J" E# Z) u, J9 B* x

  1681. ' a, W+ ]# `$ a5 [- y& V4 f1 Y. I2 M
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    9 k, b6 m9 S/ T# _
  1683. ;mssql.textsize = 4096
    9 A; J$ t2 ~, V& y9 g7 F
  1684. $ e. x) I7 T/ Q+ L; g+ F2 M
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.: \/ e- A) n: c3 a6 }
  1686. ;mssql.batchsize = 0
    5 c2 q, u+ m7 l- y

  1687. $ t5 N- W2 C6 \# R( W
  1688. ; Specify how datetime and datetim4 columns are returned; [: U" a; Z' F
  1689. ; On => Returns data converted to SQL server settings6 U3 y# r: d6 O6 h
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    7 G/ H  l; \3 i" E2 _
  1691. ;mssql.datetimeconvert = On2 z9 S* K3 C! _
  1692. " {) V' o* b6 M( W" W* @1 G
  1693. ; Use NT authentication when connecting to the server
    6 ^* U/ `( q' G, o: B3 _
  1694. mssql.secure_connection = Off- D3 X; s: H$ }  {; x5 H

  1695. , [. T% U8 `, f6 Z; t. v( ?* b. C% ~: b
  1696. ; Specify max number of processes. -1 = library default
    # I! `# j. U0 [) Y# Z) n7 P
  1697. ; msdlib defaults to 25: i( b4 Z+ ?4 b+ q- A* y0 O: U
  1698. ; FreeTDS defaults to 4096+ b! R. M( w; v7 L8 |
  1699. ;mssql.max_procs = -1
    6 {4 j: p6 d4 u+ r+ o5 F
  1700. ' |1 q3 G* S, T6 t, D
  1701. ; Specify client character set.
    ! w# J0 h4 k, @& }; d/ D
  1702. ; If empty or not set the client charset from freetds.conf is used9 y& B8 A0 v0 y- s: k  I
  1703. ; This is only used when compiled with FreeTDS
    & S* }# Z1 S  L4 E0 m  N& w5 q
  1704. ;mssql.charset = "ISO-8859-1"
    5 V& U- R+ }4 U# T6 A$ {. q
  1705. ; N; U) t5 j6 Q# ]4 e2 Y" [& O
  1706. [Assertion]/ k: n2 U7 y7 l; ?5 a( u4 q
  1707. ; Assert(expr); active by default.0 I  q8 G. e* |* G2 j  Z
  1708. ; http://php.net/assert.active
      u9 f3 l2 W* D
  1709. ;assert.active = On
    9 E: S8 {9 {4 F6 k! |: M1 T, ^

  1710. ( m0 b0 \3 Y7 F1 R% B) R+ S
  1711. ; Issue a PHP warning for each failed assertion.( N& a* u( m3 ?  H$ m* y
  1712. ; http://php.net/assert.warning
    $ h6 ~( P  q8 j( d2 I1 [% ]$ y; h
  1713. ;assert.warning = On2 V5 B/ D0 J1 \8 E5 E

  1714. 5 G* y: |+ }3 B( \. H: M
  1715. ; Don't bail out by default." B7 b/ K4 T, G3 O, A" m" f  X
  1716. ; http://php.net/assert.bail5 \) M) E% {! M! T8 l2 o, S
  1717. ;assert.bail = Off! u) G7 u9 {4 ^- S+ @
  1718. ' B7 A) O6 }. @2 M' n
  1719. ; User-function to be called if an assertion fails.! e8 N* m  s7 o+ T5 g
  1720. ; http://php.net/assert.callback
    * C+ t9 W' W9 C: x' i$ h1 \5 f1 w
  1721. ;assert.callback = 0
    # {" P' m2 U3 f" p! c: p* `5 Q

  1722. 0 e) j$ E2 m/ ]) {- D2 |9 P
  1723. ; Eval the expression with current error_reporting().  Set to true if you want- d0 P, p* C/ }4 ^* a
  1724. ; error_reporting(0) around the eval().
    / d" a6 d0 _! v# `/ t9 W
  1725. ; http://php.net/assert.quiet-eval5 G" k& Q, I/ B7 ?" X/ X* a1 D
  1726. ;assert.quiet_eval = 05 P7 f- G3 W* z/ L5 r
  1727. % r  \( k+ W1 ]) \
  1728. [COM]
    ( B' Q! m- z7 s/ S7 _0 o5 z  b
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs' `* t8 L3 J( E. k6 P
  1730. ; http://php.net/com.typelib-file5 @: ^/ i# y& ~; J% J
  1731. ;com.typelib_file =
    6 {6 C  ?% H5 R& A. u% I, {+ o

  1732. & D7 m3 h3 e( W$ N4 H. o
  1733. ; allow Distributed-COM calls
    " `, x" p7 A+ {: ~9 v
  1734. ; http://php.net/com.allow-dcom
    1 L8 {6 X: Z* G, e3 y6 \4 f
  1735. ;com.allow_dcom = true
    / H3 r2 j, v% _0 B

  1736. 3 |7 m7 Q, C4 K) ]( z% T
  1737. ; autoregister constants of a components typlib on com_load()3 o) b; ]) V9 y! j. J6 D$ _; l
  1738. ; http://php.net/com.autoregister-typelib7 e' I2 W2 ^- c$ u3 u1 v
  1739. ;com.autoregister_typelib = true
      L! M3 f# P6 e$ J: |- G2 E
  1740. 7 j& }/ A- {' b+ f% c7 [; H
  1741. ; register constants casesensitive/ M! W4 W/ q, `9 x( M! J) `1 K2 K/ a
  1742. ; http://php.net/com.autoregister-casesensitive" u0 E: w1 i, K% y$ s
  1743. ;com.autoregister_casesensitive = false
    * M1 v* [8 G4 ?7 g. H" N

  1744. 2 q/ {+ ?, D# I
  1745. ; show warnings on duplicate constant registrations
    1 ^4 N* r, T" k2 I
  1746. ; http://php.net/com.autoregister-verbose
    # X% P1 p3 |1 a! a) a( P
  1747. ;com.autoregister_verbose = true
    # d# m2 I9 ]. R. V, Y
  1748. - I) c9 l0 P% g* d; y6 [
  1749. ; The default character set code-page to use when passing strings to and from COM objects.2 R2 j5 }( F0 L+ s- {
  1750. ; Default: system ANSI code page+ I/ [  ]8 `, ^! z3 j8 t
  1751. ;com.code_page=# D2 }$ H- O  o8 _) C% {2 C9 \) a

  1752. 3 v) G+ R- [! x+ E; S3 T
  1753. [mbstring]# U0 j/ s" u( @, m* z
  1754. ; language for internal character representation.
    . r/ f/ I9 w( x! @1 S
  1755. ; This affects mb_send_mail() and mbstrig.detect_order./ o8 W6 J; B9 k
  1756. ; http://php.net/mbstring.language. e4 f5 v: h4 Y% r* h
  1757. ;mbstring.language = Japanese: o8 ~* v# W% W/ _$ w

  1758. , y+ _# B6 o- G/ w9 S4 x1 Z4 T4 V
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 h0 w. v1 Y% j  T5 u) I4 a
  1760. ; internal/script encoding.
    5 J' G4 l/ K8 v& C; C( x
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)* P1 y9 Z) t7 x0 Q' m! }+ a! N( z
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 B6 S  p  A, ?5 S, Q* c
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * \, T# a1 v2 a% X: Z
  1764. ;mbstring.internal_encoding =' u! [+ m; F+ L5 u, {& o8 b
  1765. " n7 t9 x; W* A' M6 f; ^9 g" p! C
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # G5 J1 u% ^, X4 U9 A6 B, W; Z9 b3 ?
  1767. ; http input encoding.8 E. A$ P6 e0 l) i8 ]" b
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 q+ ]4 X# O8 i) ^/ ^5 P8 ?. Q
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.' n1 Z- V! N9 g  V% k  g
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input, F& j, _4 N- u$ F) g$ C* n
  1771. ; http://php.net/mbstring.http-input
    9 U" o+ v- n& T7 H$ v- u( Z% m6 d
  1772. ;mbstring.http_input =3 v( j5 g4 {- j; A
  1773. 1 T7 f# X2 f, ~! H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.* o% D' j$ S/ O4 U  K1 Q+ S) _$ G
  1775. ; http output encoding.5 y  ~  t5 ~* l2 F" a
  1776. ; mb_output_handler must be registered as output buffer to function.
    : N; A+ F% b$ |2 b
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.0 B1 d1 \% u  v% _! u- h+ w
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output! V4 ~2 X8 `4 U2 j
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    " p' D) q1 g& i- R1 H, n) o
  1780. ; otherwise output encoding conversion cannot be performed.
    5 L5 b! X+ N% c% t7 x
  1781. ; http://php.net/mbstring.http-output! q! m9 [$ n" l0 Q9 n
  1782. ;mbstring.http_output =
    - u8 b- y  Z" P

  1783. 4 r2 [! S- s  Z& ?9 P
  1784. ; enable automatic encoding translation according to$ s( n" a0 n9 B2 C3 ], @  d
  1785. ; mbstring.internal_encoding setting. Input chars are( j# Y; j) ?' k1 I7 Y) Y8 M
  1786. ; converted to internal encoding by setting this to On.
      _' p! l/ B0 y8 j
  1787. ; Note: Do _not_ use automatic encoding translation for
    - e( X' r& w: l; Q# P
  1788. ;       portable libs/applications.
    # J% B+ M- {9 x+ O* ?! }
  1789. ; http://php.net/mbstring.encoding-translation" Y" i" v" V$ q' c' V3 C3 W" O3 t
  1790. ;mbstring.encoding_translation = Off
    ! @2 U! g0 Y6 m
  1791. 6 Z' t8 Y4 ^7 [" _$ {
  1792. ; automatic encoding detection order.: V! k4 z9 i' n) O  ^9 U! w
  1793. ; "auto" detect order is changed according to mbstring.language
    ! H& K" c2 L& U4 Z- M: t: p
  1794. ; http://php.net/mbstring.detect-order
    + v, a! g3 V# V
  1795. ;mbstring.detect_order = auto
    2 [' d5 H/ ~+ f; c' t3 Q' O6 \  z
  1796. 4 q( o* r& J! w7 E6 W
  1797. ; substitute_character used when character cannot be converted
      E& |+ @$ X/ h9 U7 Y3 c
  1798. ; one from another/ z# ^3 \3 e2 C: {. O
  1799. ; http://php.net/mbstring.substitute-character" I7 f& U+ }1 ?
  1800. ;mbstring.substitute_character = none# r. {$ p+ h) x# @7 p% Y' g

  1801. 2 o) m- f8 M2 r: |
  1802. ; overload(replace) single byte functions by mbstring functions.+ \: G3 D/ O' ]7 a% x' t
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    # r7 L( w- a4 a: n; Y" r! ?$ {4 e
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.. o6 ?) y3 F4 P8 ~3 A2 q
  1805. ; For example, 7 for overload everything.
    * j& d+ O. x5 ?( U
  1806. ; 0: No overload
    + y$ ?) |2 h+ S* T4 F
  1807. ; 1: Overload mail() function: c8 D8 A/ u- _9 Y2 ]0 o/ @
  1808. ; 2: Overload str*() functions' ~$ S1 D8 N8 g+ d! m# J
  1809. ; 4: Overload ereg*() functions6 h4 H/ L, q: i
  1810. ; http://php.net/mbstring.func-overload+ k" v+ ^- Q: [( Q
  1811. ;mbstring.func_overload = 0
    . E1 F5 r4 U3 O" l6 o
  1812.   |! m4 p5 v6 v$ H) ~" l6 q
  1813. ; enable strict encoding detection.2 ]5 O+ L9 P& x6 K: j% j
  1814. ; Default: Off6 q% B) [- y- d* q& m
  1815. ;mbstring.strict_detection = On6 {3 Q$ |, S. {0 j0 _' G) ~( m/ w0 \
  1816. + c# O7 G: D+ U1 w! m7 y( d. R
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    9 F- O( {- c9 n: c- H8 m0 W7 K
  1818. ; is activated.
    - v  m. F8 c, \5 \2 W5 z
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)% G4 O! k( W, R- A  t7 F# |/ d! L+ c
  1820. ;mbstring.http_output_conv_mimetype=4 i% @* C: q- x& b6 U, D
  1821. - {9 q8 a# |7 w' k$ _  c) C( U! g
  1822. [gd]; D& X. v1 j8 g! J* e# ^! x, q
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    0 o$ B" {2 p+ X) {: W  ]0 H1 k
  1824. ; a gd image. The warning will then be displayed as notices
    7 F1 S1 N/ e+ k  Y+ T# W  Y1 D
  1825. ; disabled by default. K; J! }7 @! }9 C' \8 U& n
  1826. ; http://php.net/gd.jpeg-ignore-warning5 _0 y; b7 \8 D" l; K- J" J
  1827. ;gd.jpeg_ignore_warning = 0( v* c& m, s' v

  1828. 7 S% B7 v+ n$ \  v3 y6 ~
  1829. [exif]
    ( x0 o& s3 _% c1 R- W: V
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    # N$ j1 i- i& T. l6 n7 Z. S
  1831. ; With mbstring support this will automatically be converted into the encoding
    5 c: L: h8 m  e7 j
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 f) q4 o) O* T+ y* r& l! J, i& R& h
  1833. ; is used. For the decode settings you can distinguish between motorola and3 y( h- X& G2 _5 R
  1834. ; intel byte order. A decode setting cannot be empty.# d* V! z$ O) g
  1835. ; http://php.net/exif.encode-unicode! z$ I' N1 r1 L0 I
  1836. ;exif.encode_unicode = ISO-8859-15
    ) D+ ?, M; }; P' H6 i$ e9 F# H
  1837. & @8 |- t. [& b  e4 Y: g& \* Q7 ]' ?
  1838. ; http://php.net/exif.decode-unicode-motorola
    7 o) r8 o- }" d# O& G
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ; d  a- g, z# e6 Q" K
  1840. 0 \$ N" J! I6 J
  1841. ; http://php.net/exif.decode-unicode-intel" t+ E, O* D2 D
  1842. ;exif.decode_unicode_intel    = UCS-2LE! M! u' b0 X3 X
  1843. / S4 k' J9 K9 M+ m. l; ~- v
  1844. ; http://php.net/exif.encode-jis# k9 W: |2 @3 ?/ V& W
  1845. ;exif.encode_jis =
    ; _% `+ R+ x9 m+ H
  1846. - a" }+ c+ B. n9 s$ i
  1847. ; http://php.net/exif.decode-jis-motorola5 ^; h: g5 ]5 R2 d) n
  1848. ;exif.decode_jis_motorola = JIS8 N1 O0 d- A% [5 F! ]
  1849. 5 o3 A6 S0 I7 H& N; [
  1850. ; http://php.net/exif.decode-jis-intel
    , p" G" V; U1 i+ b* l5 M- m& r
  1851. ;exif.decode_jis_intel    = JIS% P' W- ^' {) K) ?7 S

  1852. ) y& ~1 g4 o3 @; U
  1853. [Tidy]
    & u6 a: _$ t; _
  1854. ; The path to a default tidy configuration file to use when using tidy2 M! o* `, a3 Q1 w! V; s
  1855. ; http://php.net/tidy.default-config9 G+ v9 h  O* z
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg, P( R! l$ z* T* M

  1857. & @% b) [0 H" m9 C* y3 F" M
  1858. ; Should tidy clean and repair output automatically?& B6 I3 U9 t* G4 C3 }5 G# c7 Z
  1859. ; WARNING: Do not use this option if you are generating non-html content
    & [/ H, b# t, D6 i, ]
  1860. ; such as dynamic images
    / ~! r+ _+ H! z" s" I
  1861. ; http://php.net/tidy.clean-output$ B9 q$ F% m% q$ S, Z3 K
  1862. tidy.clean_output = Off
    ) X5 p! S6 B# i  ]% U5 n
  1863. ( t9 `8 x( y" w0 K
  1864. [soap]3 J' c6 L$ d" a) J$ w* ]' J
  1865. ; Enables or disables WSDL caching feature.* ]$ ?) @: R, m/ x
  1866. ; http://php.net/soap.wsdl-cache-enabled6 y' \6 i' P) E1 N; F
  1867. soap.wsdl_cache_enabled=1
    : G+ Y. M  X) O7 j% A

  1868. * n7 a  l' ~/ T0 A
  1869. ; Sets the directory name where SOAP extension will put cache files.
    . n. _& Z! [+ ]- q0 G" v# k
  1870. ; http://php.net/soap.wsdl-cache-dir# O7 D9 q; Z7 l+ ^
  1871. soap.wsdl_cache_dir="/tmp"( X7 ?# [4 i, Z
  1872. $ j- U- y% G, y6 S
  1873. ; (time to live) Sets the number of second while cached file will be used6 i  t- z  G5 V- z1 }
  1874. ; instead of original one.
    ) J3 f5 `+ |7 u, a2 T  a  ^; W
  1875. ; http://php.net/soap.wsdl-cache-ttl
    2 ~9 W8 \' ^" ~* I( _. {: o
  1876. soap.wsdl_cache_ttl=864004 K7 C8 X2 h/ f5 E" G

  1877. , S# z7 K9 y5 a8 {' V- g. W- g
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)% k' K* W  A( W
  1879. soap.wsdl_cache_limit = 5
    : p0 O' ?- t4 D: o$ S9 Y

  1880. 2 ^5 }6 z2 {' e- n) n8 t" Y- C; s
  1881. [sysvshm]
    / v4 }  ]3 v( Y: U% R
  1882. ; A default size of the shared memory segment1 k  Z9 J( w0 [( N
  1883. ;sysvshm.init_mem = 100003 `( b, C; S$ |: ^8 S
  1884. + P8 Y" x8 Z7 S+ j6 E+ g
  1885. [ldap]
    " a. L: D( g- n9 X6 q8 }
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ; E4 ~0 f& \* f% Y& [) H
  1887. ldap.max_links = -17 _" R" E6 ~$ s0 ~  N
  1888. . c, T) V9 Y) Q. D7 V
  1889. [mcrypt]
    3 B/ m1 V9 c0 X: f
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open! r5 z) n/ k8 r0 d" K% A; j

  1891. 1 M5 C. i" a. n5 M/ g" o! a4 n
  1892. ; Directory where to load mcrypt algorithms% w6 R: H0 \6 R9 `( a
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 d# v/ x* G" D- D8 a
  1894. ;mcrypt.algorithms_dir=2 s) q# C2 R) J& i# ?. d

  1895. ; r7 I6 R9 `0 e1 Q# _: D" l
  1896. ; Directory where to load mcrypt modes
    / p: J- F' V; h  ~
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 C+ P0 C7 x: C4 W1 a+ n: n
  1898. ;mcrypt.modes_dir=
    : c: o  R( p  |- L  d' \8 D& k/ m
  1899. 4 X3 V( [( Z! Y9 x  ?/ k
  1900. [dba]
    % I; z0 @- p, x& Q( a; _) F
  1901. ;dba.default_handler=
    3 \: g9 E2 I% T7 z; ^8 I

  1902. 7 o# T4 ]6 O6 q
  1903. [opcache]
    . D9 ]6 x* d$ @
  1904. ; Determines if Zend OPCache is enabled
    2 Z3 J+ z0 o- P. E) b7 K
  1905. ;opcache.enable=0% Y1 M6 E. `1 r1 E* }- r' n5 N, @9 D3 e

  1906. # z3 f* s! ~3 L5 y5 v7 e
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ' I7 u$ s8 k  ^1 q0 [, ^
  1908. ;opcache.enable_cli=0
    0 w- J) t1 c- |& {9 X

  1909.   s# b1 Z# e) ]. Q4 W
  1910. ; The OPcache shared memory storage size., ^4 m8 }- r9 z
  1911. ;opcache.memory_consumption=64
    + J6 p9 [7 |' ]  |
  1912. ! g6 y& R, C5 {+ X, N. u
  1913. ; The amount of memory for interned strings in Mbytes.
    . D$ s: K; P: o8 E
  1914. ;opcache.interned_strings_buffer=4, w7 F% F" u4 q( N+ |1 G' [

  1915. 1 j/ u! Y( K. j2 _
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    " u! _- u: {  T# {; P* v" A2 X
  1917. ; Only numbers between 200 and 100000 are allowed.
    5 i! [* g3 W9 S& S4 s
  1918. ;opcache.max_accelerated_files=2000
    ) A* I* R2 F; t% i* F
  1919. - H, B& P! h# S0 z; ^3 R
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.6 u+ G% S: x6 |6 I$ y* m3 l5 C/ ?6 M
  1921. ;opcache.max_wasted_percentage=5
    * I( q' L; p9 i! X1 _
  1922. ) ~; q8 W1 h& z" I& q5 D3 y+ X) I0 b9 q
  1923. ; When this directive is enabled, the OPcache appends the current working) g4 l7 ^0 D& E4 |5 k' F( J7 ?
  1924. ; directory to the script key, thus eliminating possible collisions between
    2 z& o) u6 |# U$ n- Y
  1925. ; files with the same name (basename). Disabling the directive improves: S" Z  i" j7 m9 }7 n
  1926. ; performance, but may break existing applications.
    . {. |% f- i, y/ i# }0 }
  1927. ;opcache.use_cwd=1  N0 |1 n4 K. U9 |4 a& j
  1928. 3 r0 I, i! u9 \
  1929. ; When disabled, you must reset the OPcache manually or restart the: I- N) R( J/ L: p/ ]
  1930. ; webserver for changes to the filesystem to take effect.
      f7 r+ n. i  D6 R; Z
  1931. ;opcache.validate_timestamps=1  A$ C: x: J+ H- K* t
  1932. : c& M6 Q0 d: H% o/ @' K2 j
  1933. ; How often (in seconds) to check file timestamps for changes to the shared* u1 z9 q1 T% c- a) x$ U
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    / U( h" R4 K9 a
  1935. ; once per request. "0" means always validate)
    - P/ V$ Y) I1 z8 d2 C
  1936. ;opcache.revalidate_freq=2
    : q5 t+ ~( T5 S
  1937. 6 Q; O2 R, k7 ^5 O# r' ]) N
  1938. ; Enables or disables file search in include_path optimization, A) j0 n+ \/ |- s! ]  [
  1939. ;opcache.revalidate_path=0: \  g! x3 y* y* _* p$ j% h
  1940. 9 U( d$ l" {# F3 _4 Y
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 _4 S3 F3 Q3 Z* z6 s) H9 m
  1942. ; size of the optimized code.
    3 s, @* m! a  f' N
  1943. ;opcache.save_comments=1, R) C* e3 V( Z# `& V

  1944. 2 B6 [" j- i: c2 y" v; w
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    " ?3 y2 Q" s9 j
  1946. ; may be always stored (save_comments=1), but not loaded by applications. B8 @$ c5 D( x4 B
  1947. ; that don't need them anyway.4 _# o- y" A2 @' \! Y! S
  1948. ;opcache.load_comments=1
    / P/ B5 [4 l0 U# g$ T  }* I

  1949. " f2 m2 a# }' p+ k
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code. |3 w* c/ \8 {5 ~0 f8 p0 Y
  1951. ;opcache.fast_shutdown=0
    # T1 x- u3 T( }0 B7 x

  1952. . L  x+ g( j! ?
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    0 A. W) @& Z+ g. D  \5 [
  1954. ;opcache.enable_file_override=0! i: Y8 X1 \4 H  ]3 o
  1955.   X7 Z- V, y' }4 E
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    . y) j1 h/ q9 H5 Z
  1957. ; passes2 l# B& W; U+ S  Z0 _9 ]
  1958. ;opcache.optimization_level=0xffffffff0 T" v7 i2 B+ @8 C' t
  1959. 8 c: A7 D7 V) t! B( r+ l/ }
  1960. ;opcache.inherited_hack=1
    3 {( J' F+ g. ]: h' k# t  }+ W0 B
  1961. ;opcache.dups_fix=0
    * R* Z" M9 J' F- C

  1962. # B! ~  v9 S7 M( W( G* _
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    - r: q" b% o3 L
  1964. ; Each OPcache blacklist file is a text file that holds the names of files# `8 o9 b' i) w& i$ I
  1965. ; that should not be accelerated. The file format is to add each filename' _; S$ b& A8 P
  1966. ; to a new line. The filename may be a full path or just a file prefix
    3 N! s+ e6 r; S& _, X- F
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    2 y4 X1 Y( D+ z; V/ W; v. e
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    " J4 S; o! `1 O
  1969. ;opcache.blacklist_filename=, P& X5 C; y1 G

  1970. * {1 h1 ?* V9 T7 @4 W) A8 f
  1971. ; Allows exclusion of large files from being cached. By default all files0 j) c' x* R  `# T9 d: c$ _
  1972. ; are cached.
    + Q" W5 S, L) |+ W* ]" d$ ^% r
  1973. ;opcache.max_file_size=0
    ) ]; M% w: C$ e' y

  1974. # z8 E) b  d/ m: ?. o
  1975. ; Check the cache checksum each N requests.8 Y4 s* O* C5 G7 p' c
  1976. ; The default value of "0" means that the checks are disabled.
    5 z" t% O# y! e' S" ?
  1977. ;opcache.consistency_checks=0( O6 C5 f1 z5 X* [# A$ w( f

  1978. ( Q5 C+ B4 }% j4 |6 r
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & t/ h4 p8 ~1 }- q9 ^; g
  1980. ; is not being accessed.! F% d5 t. h0 u" A
  1981. ;opcache.force_restart_timeout=180
    $ y" @7 F  {8 b: V9 T8 G7 [
  1982. 2 T' z" X- r6 C
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    + n6 L+ y: W9 t9 ?- s
  1984. ;opcache.error_log=
    ' p+ A5 R) L2 F6 ^5 y% z+ S
  1985. 0 t8 c( i* L* }, M) O: @
  1986. ; All OPcache errors go to the Web server log.
    ; [. T! n* \; }5 ?) ^( J* J
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      S. G7 K) T" k% ~  K0 g
  1988. ; You can also enable warnings (level 2), info messages (level 3) or9 z" y9 S$ s) O% H0 y
  1989. ; debug messages (level 4)., T2 Y: K7 U- @* A( M
  1990. ;opcache.log_verbosity_level=1
    " m# t" ^, g) j2 L. V! k

  1991. 1 D7 ~4 |% @& \. G% {* x6 X
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    & i1 ?; M2 a- K8 u' n0 a2 U
  1993. ;opcache.preferred_memory_model=- ^. ~- N9 \! f% W* r
  1994. ( N" U7 z$ J& V( Z9 O
  1995. ; Protect the shared memory from unexpected writing during script execution.
    * L/ M* E5 \% j9 o- v
  1996. ; Useful for internal debugging only.
    7 |7 w. `# h9 l8 e# p
  1997. ;opcache.protect_memory=0% R/ |! F# i1 u7 P' P* k* h

  1998. ! p& Y% E% \* s1 |, ]! z/ t8 ^
  1999. ; Validate cached file permissions.
    1 s  K* Z" ~' Z( G/ a4 l# s
  2000. ; opcache.validate_permission=0
    ( P5 Y4 v! P, M% S

  2001. 5 Q. K( J1 W) o2 p
  2002. ; Prevent name collisions in chroot'ed environment.9 v" }6 U# E$ ^
  2003. ; opcache.validate_root=0
    3 _6 q7 ^2 y7 H( a' j8 W
  2004. 1 I# [+ Z8 c% ?: \2 f' q' u
  2005. [curl]
    9 `7 V4 c9 b+ A3 a" ?
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ( N+ \) t1 n( \  M1 _) l& i8 x; Z) s
  2007. ; absolute path.
    - B$ [' }5 R  S! h7 `
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt. A8 }7 H/ w- Q1 D& V# d( S
  2009. ; x( R6 l: V* y2 d. f
  2010. [openssl]% S6 b" H' }' k; l0 Q
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem: k6 b' [# x% o+ z) l9 ~2 @3 ~
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    6 Y6 Q2 A9 s# l! Q- F3 l! H8 Z
  2013. ; not specify a value for this directive as PHP will attempt to use the7 F: \4 L7 E4 |  g# U- P; J
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ! X0 G6 k$ N0 Q' c6 Q
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    8 y3 a, k0 m- [
  2016. ; option.3 H/ P" `" d0 u/ D' z
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 C- q% }. S1 b) ]! f4 E/ e" s" b
  2018. * k$ E/ Q1 t9 y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    + y4 b2 [1 t& K' I9 |( H& L$ S
  2020. ; directory pointed to by openssl.capath is searched for a suitable" Z% q  \( t: ^+ Q+ E; @; W7 U0 J# S
  2021. ; certificate. This value must be a correctly hashed certificate directory.2 x7 v* n' w" |! |- }
  2022. ; Most users should not specify a value for this directive as PHP will( R5 u5 g7 v: o+ f) N" V
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,% N! A; u; e6 B
  2024. ; this value may still be overridden on a per-stream basis via the "capath"5 M2 i) `. ?) ?6 N. v3 E
  2025. ; SSL stream context option.
    ; |* [0 \5 O2 D0 O  Z; y/ f) y3 M
  2026. ;openssl.capath=+ J* @& @6 R+ c
  2027. $ H; V5 e" }8 P/ i; W% X
  2028. ; Local Variables:: F% t6 w0 a, ~" U1 ~* g, D
  2029. ; tab-width: 4
    6 W: x! v) n( b& x; ]
  2030. ; End:% @5 `( q* A  @. C3 k6 F
  2031. 4 d3 d) J" t- G* d: R" i
  2032. ;eaccelerator% H* ^( E2 f# r  N$ U1 a& ~7 ?3 j+ N

  2033. 3 ~$ D" `# \) _0 f
  2034. ;ionCube
    # n3 E3 y  t  F+ f

  2035. , K6 p! k* P& ~4 ^: s/ `1 e
  2036. ;opcache% Q5 ?4 m' g0 V( ?2 `) m) N
  2037. ( ]" I, M+ M  O
  2038. [Zend ZendGuard Loader]
    : {4 n2 }8 e1 ?8 @, r! ]9 S7 H# v
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so1 M  c4 l( s  d" k
  2040. zend_loader.enable=1
    ' ?$ o$ Q2 ^# a6 ~2 B2 b- \: e
  2041. zend_loader.disable_licensing=0
    9 f, ]: e9 a, z$ ^
  2042. zend_loader.obfuscation_level_support=3
    2 c' b" D/ u* n6 o7 F
  2043. zend_loader.license_path=
    6 a8 h2 z' _/ e* q5 l

  2044. ( D: m: i* T9 K4 Y
  2045. ;xcache
    # q! h2 \/ d+ Y% Y) N# j* M

  2046. 7 r$ ^* P% D; H' R: F
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
9 P+ S3 N  x* {7 f
, V2 D# o+ Q$ u( t. R/ Q3 D; j
* f% J9 I. K* E0 oDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来," s' J) ]/ h' X( ~8 T5 \2 ]) v

3 z  Z$ O  x6 c, Q1 SDiscuz!程序版本选择:9 z' o) R, X* ]% e* E. X5 t
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,8 O+ F5 |  T/ x7 r! U7 c
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
" T9 L6 ~5 i! s8 BDiscuz!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。& x1 Z+ r9 L, g, B5 B

# y! W. `2 G3 L  kDiscuz!插件模板版本选择:9 `& {' p' c" a. l6 u2 m7 @
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
  e/ X, x! R8 U2 o针对这个问题做个统一的普及:1 c/ ~. F3 s4 W1 _. l. `
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。% s5 O* D% f# q: H+ ~/ U: j

/ o/ u& l7 ?7 ^) t所以7 {! J5 n+ Q1 v$ _+ q
适合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的二级域名。
! v& |& D" U9 _- L打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。7 T8 m: }% c7 t$ d
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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