分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0$ d) }4 `5 [( K! |

9 p4 X2 D* c5 `+ f6 P2 T, D
  1. [PHP]
    9 ~: N6 c5 \" ?! ]+ F

  2. . D) h5 \7 s7 E) @
  3. ;;;;;;;;;;;;;;;;;;;  ~, V' |" g1 ~& C( Y5 x
  4. ; About php.ini   ;' x, A1 T8 n3 K# {0 o! v
  5. ;;;;;;;;;;;;;;;;;;;
    / D1 e- y) ~1 G
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 b+ x+ ~$ C$ y) p) i  A5 W' I
  7. ; configuring many of the aspects of PHP's behavior., u% ?* R! i: A7 g4 P  {6 V# r
  8. $ G* |$ H' Y4 y) _! \5 h: {: R
  9. ; PHP attempts to find and load this configuration from a number of locations.; I& q8 S5 z6 a0 y- p) H. t) h
  10. ; The following is a summary of its search order:. b( A8 v2 ~' W% j. f
  11. ; 1. SAPI module specific location.' c3 N; R+ T- _: l. t, e' o' Z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 s& l6 [/ a) E( q8 m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)" {4 P% |1 U# I" ?# W4 \
  14. ; 4. Current working directory (except CLI)
    ' C, x$ |3 X; y: `8 @$ L6 N2 Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    7 v9 E  J( ?1 B( C9 d- A* \* F6 Z3 Y
  16. ; (otherwise in Windows)1 M! I- A" L! l4 l+ L6 ^6 ^; Y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the# i& J' E2 A  R. b9 K
  18. ; Windows directory (C:\windows or C:\winnt); k  n  Q0 g, h, f! Z; ~
  19. ; See the PHP docs for more specific information.  V$ K. r% E/ F% q
  20. ; http://php.net/configuration.file
    * G6 @! h+ t' Y+ C% f

  21. - c' u% I, }% r! Z: f) Y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 R) z  L; B6 F( V7 M
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' v& E2 T" w& r
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though; V, M* _  F, j
  25. ; they might mean something in the future.
    ; P3 G5 I5 b( X, u0 B" M, w2 O

  26. - A! ?9 o# j5 D8 d
  27. ; Directives following the section heading [PATH=/www/mysite] only; S" C! Y1 h4 u, ?1 _3 H1 v
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 O( l$ r' q; L: _) w9 ~0 O
  29. ; following the section heading [HOST=www.example.com] only apply to
    # \- s1 N3 w* C; [& ~$ z- j2 D. ?
  30. ; PHP files served from www.example.com.  Directives set in these+ n& ?0 }$ M1 p" ?% f& b0 f+ V
  31. ; special sections cannot be overridden by user-defined INI files or) |3 R+ ^6 v. @1 b, w1 n! v
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    . D) I! ^# T: z/ n* H6 t8 a
  33. ; CGI/FastCGI.
    3 y5 s$ }& C; Y: T3 J# z
  34. ; http://php.net/ini.sections
    , @+ g! k( X6 R4 J0 F
  35. 1 x  ^: }2 Q/ j$ Y! N# U0 `
  36. ; Directives are specified using the following syntax:
    $ @% w5 h' \4 N2 @2 @' N. o, j. _2 R
  37. ; directive = value
    ' _( x! @* ?7 y1 w) u* `
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.& q, H  R5 }' F0 u
  39. ; Directives are variables used to configure PHP or PHP extensions.: P4 A8 T3 t* t% a2 P& C9 |, M
  40. ; There is no name validation.  If PHP can't find an expected+ m4 |. s- x8 U
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - Q% N- m, N. y, L. S: |# P

  42. 2 [/ w6 [. B" n# t2 d0 G$ g
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    5 \& H/ U5 y- Y# u  ?  G2 V
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ' u$ }8 A3 z( y7 `5 b3 o* s: c
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a' k' V# v* f" t" M- S: L. a2 \& a
  46. ; previously set variable or directive (e.g. ${foo})
    9 p- j  S; M/ d# Z

  47. & M; ?, q8 k! }1 ?9 b+ G
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    : `9 {& s/ F& K! \( u0 s
  49. ; |  bitwise OR1 [$ w: J! L4 D) a
  50. ; ^  bitwise XOR
    ) W$ d$ a/ o2 R8 |% v9 B& V, P
  51. ; &  bitwise AND
    " C9 W4 \: ~! y, M+ J% Y3 \
  52. ; ~  bitwise NOT
    ; c4 g! _4 j: Z( O
  53. ; !  boolean NOT
    * d# Y" \6 i3 B, i1 a
  54. ) j  L& z, I$ v( ~* A  f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    : C' c9 G/ y, R' g/ B4 d
  56. ; They can be turned off using the values 0, Off, False or No.
    1 H8 q! F: J- _* C4 a9 g, F
  57. ; N* q2 E9 N+ W; y/ g3 z# n, m- e) B
  58. ; An empty string can be denoted by simply not writing anything after the equal4 g" b& R& b! z  H- v
  59. ; sign, or by using the None keyword:( B% b! \7 K% M" J# q  {, p
  60. ( G( r3 Z; N: x! P# T
  61. ;  foo =         ; sets foo to an empty string0 x2 N' ^- x4 f$ v2 l3 o# D
  62. ;  foo = None    ; sets foo to an empty string% G8 k7 C" i: [# D
  63. ;  foo = "None"  ; sets foo to the string 'None'+ S- q7 B$ V% K; W' y

  64. % }, X9 c2 P+ l. K" ?
  65. ; If you use constants in your value, and these constants belong to a  z+ a* \+ w7 y) L7 Y# W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 o- R1 g3 o/ p) i# M
  67. ; you may only use these constants *after* the line that loads the extension.! _% W/ A' y2 {6 m

  68. $ i3 A" j+ N! R; A% `) e7 R: x5 u
  69. ;;;;;;;;;;;;;;;;;;;9 o( P5 T4 M0 m! {9 W  c2 ~
  70. ; About this file ;1 J: O# M* w* E5 o/ Q# u5 f" {" V
  71. ;;;;;;;;;;;;;;;;;;;
    1 w5 K; ~+ \7 m8 s
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . z3 ]! K6 l; k, \7 M
  73. ; in production environments and one that is recommended to be used in
    , y( \4 }4 s# Q' _
  74. ; development environments.
    ; a9 t8 G7 m/ W; t" m/ O+ B
  75. " O6 G5 |+ Z1 b: l
  76. ; php.ini-production contains settings which hold security, performance and9 Z# b! Q1 E; u1 ?! d5 E) b* j1 l
  77. ; best practices at its core. But please be aware, these settings may break
    * n0 o/ o* R% M( g! @) Q, `
  78. ; compatibility with older or less security conscience applications. We$ n2 w  b- _" q5 ^, f
  79. ; recommending using the production ini in production and testing environments.
    " ~7 d$ F- _4 w9 ?5 S7 U

  80. / k/ w$ C, ?! `+ w  X
  81. ; php.ini-development is very similar to its production variant, except it is% {9 \$ Y$ \5 m3 o, l7 ~
  82. ; much more verbose when it comes to errors. We recommend using the
    ; M+ R4 [/ C& Q- E0 ], `) H
  83. ; development version only in development environments, as errors shown to! ]- |$ j4 X! Q6 Z( f0 _0 W& J
  84. ; application users can inadvertently leak otherwise secure information.( [7 q: n9 r+ D" Y& g! }9 v$ z
  85. 8 \8 e! C& x4 d( Y
  86. ; This is php.ini-production INI file.' i9 S; t4 x; z2 P
  87. % j$ F% s" M8 U$ o* G: d9 w
  88. ;;;;;;;;;;;;;;;;;;;
    ) U  G% m- C, T9 q
  89. ; Quick Reference ;
    - a! U) V- H) s( \+ J: k$ J0 T
  90. ;;;;;;;;;;;;;;;;;;;
    % s3 d; q" x6 @/ v
  91. ; The following are all the settings which are different in either the production3 [. h0 y7 z: L5 F# j! x
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - V! R( j! Q, j7 \+ V; T
  93. ; Please see the actual settings later in the document for more details as to why4 t  _5 |/ C2 k6 u2 `+ w$ I
  94. ; we recommend these changes in PHP's behavior.
    9 k$ i0 I' G5 c# O% A

  95.   j/ K) F( a9 W& a( l# O; Z( @4 J
  96. ; display_errors) f& n. O* c, |& Z
  97. ;   Default Value: On
    + }3 e# m; i6 T4 e! w& K% a0 o
  98. ;   Development Value: On
    3 o+ E: _! X0 [1 q4 ?
  99. ;   Production Value: Off. P/ \8 x' Q/ q0 m, v
  100. # q* z4 g# `6 |
  101. ; display_startup_errors( e3 c+ z7 N# R' k6 o
  102. ;   Default Value: Off
    : Z- T1 G4 f; N/ b
  103. ;   Development Value: On
    / O0 n5 h4 g' w. q; V( H) d
  104. ;   Production Value: Off
    % t% b4 Y1 F" @! k/ g; k
  105. ' u: W- T! S1 _5 D- O6 y( H  C
  106. ; error_reporting
    ) C( Z& m0 C( Y+ J# z1 E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " I0 c$ o/ a+ N- I; t
  108. ;   Development Value: E_ALL
    $ B: O; b' V, f4 Q/ P1 _! s
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) I' B: p7 j3 O+ h1 r
  110. " t$ t! f7 g: m; A/ x9 k
  111. ; html_errors
    & {' c/ R: A; \& U
  112. ;   Default Value: On% j7 c% N7 l7 q$ G
  113. ;   Development Value: On7 u2 \/ v2 j  O6 v* k) ]  i
  114. ;   Production value: On
    ' F3 d/ H% A# K+ q' I

  115. 5 R+ V- c4 p# f" Z2 O
  116. ; log_errors: T$ a6 q& V/ p- H9 Y2 s/ X! q- s+ R0 D
  117. ;   Default Value: Off) P5 Y; X; P2 Z/ A. ^" w3 O/ t! H
  118. ;   Development Value: On
      f+ h" E: a/ E7 F; [
  119. ;   Production Value: On8 [' a% W3 u: x& `- t+ K7 {
  120. 5 F9 M# p* @9 m! l; E2 w8 O
  121. ; max_input_time  n( }4 E# }+ `
  122. ;   Default Value: -1 (Unlimited)
    2 E; G, \3 A, Z7 F) G% i9 h4 a
  123. ;   Development Value: 60 (60 seconds)7 w& x7 F- D* Q% _3 _7 v- o3 L; C
  124. ;   Production Value: 60 (60 seconds)' T1 x1 `" o$ @3 _( Z2 P/ f

  125. 6 \2 F" t1 ]: x* D2 B1 \; H4 b
  126. ; output_buffering+ I  T0 [1 x: q, m
  127. ;   Default Value: Off
    , T. y# S* D; e9 n, N# c( S% r
  128. ;   Development Value: 4096* T" p2 m/ V4 I3 ?$ U
  129. ;   Production Value: 4096
    ( E, [4 E, M0 j4 `: x
  130. 3 }1 y! H# u% ^, H
  131. ; register_argc_argv
    0 k+ m6 Y  x) T2 Z5 _3 j
  132. ;   Default Value: On7 r7 l, t) x; t$ J. r# u6 W
  133. ;   Development Value: Off
    , ^! B4 U2 Q) G. w
  134. ;   Production Value: Off4 D9 C* ~1 R8 J7 Z! Q9 h& U' d
  135. " ^8 S' q* l" t& j
  136. ; request_order4 A' g! i5 g# @3 B$ t
  137. ;   Default Value: None' L1 o% J1 Y7 G, g% }" {
  138. ;   Development Value: "GP"
    2 a$ w8 M# Q% T
  139. ;   Production Value: "GP"$ O% m6 |- v4 g5 u( S- q# ~; n, ]

  140. 4 U9 k$ \1 B8 T: V
  141. ; session.gc_divisor. T- ^$ H9 o# f, k0 `  z4 h
  142. ;   Default Value: 100
    0 N& G! u/ }  ^6 G0 M7 f2 h6 ~
  143. ;   Development Value: 1000
    ( H8 X# ]  M' c* a; S* ^
  144. ;   Production Value: 10001 p- o- P  G4 U+ _

  145. % A' Z' y1 Y8 U3 u; l& S; `, K
  146. ; session.hash_bits_per_character6 `- J9 r& U4 z: }! O6 R& d
  147. ;   Default Value: 4! I/ j8 ~% `# \# p( w) {1 b  ?
  148. ;   Development Value: 52 D  q% y$ v/ G; ?" m
  149. ;   Production Value: 5
    - C- `9 R) l1 T7 D
  150. 8 ~/ h( p. w, M, Y. g
  151. ; short_open_tag& m3 l  z. ]. `' O, d2 G
  152. ;   Default Value: On+ Z4 J$ ]3 z- Q# M
  153. ;   Development Value: Off( z" U4 T' X* H4 b, d& y+ ?
  154. ;   Production Value: Off
    " l( D5 m2 ^. d. r( f
  155. ! b) A. f: N. r0 x' B8 z) t
  156. ; track_errors
    4 B0 [3 A" A1 g. k8 s
  157. ;   Default Value: Off* U' m4 B( B# O1 ^' s" {, j0 }2 H
  158. ;   Development Value: On
    ( _6 D+ B! D% V- t% O" l
  159. ;   Production Value: Off8 T- G3 M: ~0 @, V' n6 s. B* i5 v

  160. 8 H3 t: Z( m# Y# L: N
  161. ; url_rewriter.tags
      `+ {6 e( }: L6 |  j2 u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! n# T) {9 b$ ?+ k* i2 ~7 M  K
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 V/ }) V- U9 ~$ M6 k
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " l+ N' k3 [; c6 d

  165.   j, m1 z/ @9 D( _' K" G
  166. ; variables_order
    8 f1 c  d+ w! o6 Z$ ?% K6 u
  167. ;   Default Value: "EGPCS"% Y# `+ v6 h1 ]& C
  168. ;   Development Value: "GPCS"% J% r+ X; a. U- e( a2 s
  169. ;   Production Value: "GPCS"- Q) S7 `: Z" ^; T0 b
  170. & i- g% S) H' G( i8 K% z
  171. ;;;;;;;;;;;;;;;;;;;;
    1 G0 W, ?% H/ h; }) \
  172. ; php.ini Options  ;7 L1 t# L1 D' M/ X
  173. ;;;;;;;;;;;;;;;;;;;;" k9 O9 t7 r% r6 d9 k9 U
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    / t. F0 m, b% p; w3 ^2 j/ Q4 m/ k
  175. ;user_ini.filename = ".user.ini"
    " M1 F- {- k. Z. Z4 X- C2 F: s
  176. 4 a5 K, E* o  `$ s2 X5 {
  177. ; To disable this feature set this option to empty value# Q5 l! h8 {  Z! [- h/ S
  178. ;user_ini.filename =& L1 U2 f4 X  o1 z* J

  179. ) W3 r8 V% x5 }* \0 A
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)* e$ A3 N6 X7 n- z. r9 @) g
  181. ;user_ini.cache_ttl = 300
    3 D, `3 b- C9 h
  182. 6 r  V) N" E1 l. R+ j
  183. ;;;;;;;;;;;;;;;;;;;;
    ; U, X% C+ i8 [
  184. ; Language Options ;# r6 R& m7 n4 ~& z3 p: j( d6 r
  185. ;;;;;;;;;;;;;;;;;;;;
    3 r3 t! n$ h; M& X# E
  186. , S# E- A. c6 f, J: v
  187. ; Enable the PHP scripting language engine under Apache.
    , v4 F; R2 ]& i. l
  188. ; http://php.net/engine
    9 }* S  P3 p3 G6 u1 {- F2 x. z7 i
  189. engine = On
    - T' W2 [" U. n( M
  190. & i. }. @1 P2 r. C, u# N
  191. ; This directive determines whether or not PHP will recognize code between+ L, v, q6 Y* F6 G/ i( B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * V) Y/ L: Z" }. u+ y: I" g
  193. ; generally recommended that <?php and ?> should be used and that this feature
    4 V  y% y. G8 y
  194. ; should be disabled, as enabling it may result in issues when generating XML8 V! y9 B' |3 @4 _& p2 {; U
  195. ; documents, however this remains supported for backward compatibility reasons.
    9 ?( i4 `0 N0 E! Y1 U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be( H$ ~1 M! l! r
  197. ; used regardless of this directive.
    * y* x( D7 r6 \; r
  198. ; Default Value: On
    2 B9 I: ]3 D; q- W! b3 u0 k
  199. ; Development Value: Off  n, D' i5 d$ ]. b4 O6 ?( T
  200. ; Production Value: Off
    " Z% a$ A% Z" b
  201. ; http://php.net/short-open-tag& m$ @2 ]! o" K0 L9 k2 A
  202. short_open_tag = On/ y: E: Y2 T! v& ]) u7 p3 c/ {
  203. . }$ z" s4 o& o; ^8 ?
  204. ; The number of significant digits displayed in floating point numbers., u% C" n- g/ J* i5 S% U6 m; O3 o
  205. ; http://php.net/precision; a$ v" D2 d0 F1 d+ J& n. s
  206. precision = 14
    - A+ X. P0 U  \9 F
  207. ) d! v$ A! }+ K* l9 b; }- z
  208. ; Output buffering is a mechanism for controlling how much output data& g' }/ ]' [* d1 Z3 e  E% m( ~6 L+ k
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that# p# I' D; @% C( l7 @
  210. ; data to the client. If your application's output exceeds this setting, PHP
    8 e, w" ?8 I, o! Q* J7 R# O' D! n
  211. ; will send that data in chunks of roughly the size you specify.
    8 V6 G+ y( X( a7 p! }7 Q7 Q) W+ \6 Z
  212. ; Turning on this setting and managing its maximum buffer size can yield some2 M0 y) z9 o) C0 y9 S
  213. ; interesting side-effects depending on your application and web server.) O4 N! d% Q5 V- j$ d0 i
  214. ; You may be able to send headers and cookies after you've already sent output+ ~& a: Z9 ?  Y0 c3 s3 W& m6 G% k
  215. ; through print or echo. You also may see performance benefits if your server is
    , p0 a4 H- r* _$ i; |3 e
  216. ; emitting less packets due to buffered output versus PHP streaming the output; G+ ]  T4 e' j* d
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance7 v# K3 n' q* S' ?8 B
  218. ; reasons.5 {  B4 Q# w0 h1 w; ?1 L# \
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( ~/ O4 {9 e; D9 s! w3 A
  220. ;   functions.
    0 ]' \2 G3 k% M* D
  221. ; Possible Values:% e9 a& h, l5 l, b$ X6 `1 j7 ~0 l  ?* [
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)5 n7 W  L' B4 m. x- U
  223. ;   Off = Disabled8 \" p2 ^, b" R9 a
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " Z9 q* _1 M% q8 t
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI9 O5 j" f9 @* u  G. w6 d
  226. ; Default Value: Off
    / {) ?0 [$ m* a7 Q0 k
  227. ; Development Value: 4096
    5 k' ^" L* P" p2 ]1 e' ?# S$ F
  228. ; Production Value: 4096
      G, B" a2 u9 c& Q8 @9 A
  229. ; http://php.net/output-buffering
      ?8 x/ {- P) Q8 X. P$ M7 {
  230. output_buffering = 40960 ~5 K8 s5 L5 h  d0 ^7 n% j
  231. + H6 l9 K. B( Z# ^; c5 B, d
  232. ; You can redirect all of the output of your scripts to a function.  For
    # B% l/ r7 [+ N
  233. ; example, if you set output_handler to "mb_output_handler", character
    / g# W9 D2 l' b
  234. ; encoding will be transparently converted to the specified encoding.
    " {% N, b# M8 X$ P
  235. ; Setting any output handler automatically turns on output buffering.
    2 t( A9 J) f7 s# {1 }
  236. ; Note: People who wrote portable scripts should not depend on this ini! c: ~( v) r9 v& E9 A
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    * V# Y3 X* K( y# Z: F
  238. ;   Using this ini directive may cause problems unless you know what script) i/ T: c% A9 r- ^
  239. ;   is doing., w: ~8 p# T  P
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    4 @( n9 W& F# }2 I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".% L8 O. y: u: x6 A5 s0 f* @* ?
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    " X( X1 t& ^1 }
  243. ;   Instead you must use zlib.output_handler.
    $ ]# h/ T& g! \9 v8 s: f9 j8 b
  244. ; http://php.net/output-handler
    $ u! M; Q& v! b  L
  245. ;output_handler =
    ' E' X) t7 A9 c

  246. ) A5 r. u# Q+ g
  247. ; Transparent output compression using the zlib library& x9 e$ D% [; @+ z/ s, Z% |" x# g
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size! S& E& [* a- p2 I
  249. ; to be used for compression (default is 4KB), u# j$ w( k  A$ d3 D" u+ D
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP! n( P5 e0 T2 n" d3 R( h
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ! E+ d; X# y7 [! s2 u8 k: f( x
  252. ;   compression. If you prefer a larger chunk size for better
    1 `3 F3 `) {9 j/ Q) g3 o; D
  253. ;   performance, enable output_buffering in addition." i2 k+ x- g2 p  D9 Y4 b
  254. ; Note: You need to use zlib.output_handler instead of the standard" b+ z: V* C  l$ \' _
  255. ;   output_handler, or otherwise the output will be corrupted.
    , H) X8 T0 f5 v3 n
  256. ; http://php.net/zlib.output-compression
    % g% U0 k& t7 E6 a! B
  257. zlib.output_compression = Off$ n  q* f" A, }: |; T

  258. ! J) a2 W- b+ u" b: p- p  c. W/ P
  259. ; http://php.net/zlib.output-compression-level4 M+ ?& P$ Q& F* X
  260. ;zlib.output_compression_level = -1% l, k4 D; C, g* N
  261. 7 M2 d9 m* _$ z% n
  262. ; You cannot specify additional output handlers if zlib.output_compression# y8 C8 y' |; k
  263. ; is activated here. This setting does the same as output_handler but in
    ; h, F5 N: H$ C7 x4 x7 j; s  I! {% `
  264. ; a different order.4 u8 s+ F0 k1 ?% D( g* {! g3 l
  265. ; http://php.net/zlib.output-handler
    ( a/ ?' E! h5 a& }5 a, J# A
  266. ;zlib.output_handler =
    # f. P; E% ]3 B$ V
  267. * x0 i; P% k  _' Q) [
  268. ; Implicit flush tells PHP to tell the output layer to flush itself3 z3 `& b/ s. n0 i/ U7 l
  269. ; automatically after every output block.  This is equivalent to calling the; y  o6 W0 c* ^$ w
  270. ; PHP function flush() after each and every call to print() or echo() and each
    6 `3 F* S+ i" n+ K/ _) Q
  271. ; and every HTML block.  Turning this option on has serious performance6 G+ ~% }$ G' r& V8 O3 j# h
  272. ; implications and is generally recommended for debugging purposes only.
    * B% }' b6 |) H1 ^. Z
  273. ; http://php.net/implicit-flush
    8 F9 w0 U( k& P; Q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI2 Z1 z  v. W; j1 J
  275. implicit_flush = Off" A7 P( @* z8 Q3 m! g
  276. 3 G3 B  t9 s7 ?$ E
  277. ; The unserialize callback function will be called (with the undefined class'. b% V+ C- _) _7 y) o" g1 l) c5 \
  278. ; name as parameter), if the unserializer finds an undefined class
    3 c2 S+ S, p( c5 p4 E* @  Y
  279. ; which should be instantiated. A warning appears if the specified function is
    . `7 k9 z' Z4 E, i$ S- E: F$ m$ k
  280. ; not defined, or if the function doesn't include/implement the missing class.- ^- N; \# Y' _, U+ Z! i
  281. ; So only set this entry, if you really want to implement such a
    ' U9 D) D7 E6 e) R2 m9 I
  282. ; callback-function., Q% z( e! W5 Q/ D
  283. unserialize_callback_func =
    % S# U' \4 K. a
  284. + @& R4 v# w& g% K9 ~5 I, y
  285. ; When floats & doubles are serialized store serialize_precision significant
    , o# J2 @! L, ?" x" C1 b1 z$ G
  286. ; digits after the floating point. The default value ensures that when floats! o# j9 o6 G8 h- ?: X
  287. ; are decoded with unserialize, the data will remain the same.' \* o$ n' b  p* P/ ~6 `6 w8 u' }
  288. serialize_precision = 177 z$ T# D1 J, u' w5 h3 e. e  E$ A" L# W
  289. : S& T9 C# h) Q
  290. ; open_basedir, if set, limits all file operations to the defined directory
    . b/ z% K/ g9 i; G
  291. ; and below.  This directive makes most sense if used in a per-directory
    & [) z+ L1 h9 Q' e/ ]4 z! j% }! k
  292. ; or per-virtualhost web server configuration file.
    + o8 e2 r! v9 ]# u4 j" a
  293. ; http://php.net/open-basedir
      K% [' c6 }; a' n, q/ _
  294. ;open_basedir =) [1 Q/ o+ E% X
  295. * e$ r9 q' n2 }5 d
  296. ; This directive allows you to disable certain functions for security reasons.0 }) X( L: h" Z' j
  297. ; It receives a comma-delimited list of function names.
    3 l, K8 N# c# L8 `/ {
  298. ; http://php.net/disable-functions
    9 A/ `3 L5 t7 _+ ]. v# h) g
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    5 r7 y5 p7 z5 H7 Y! W* ^

  300. 3 I" }/ d8 S. J- X( `
  301. ; This directive allows you to disable certain classes for security reasons.: ^/ b- B$ T: G8 T) P2 p0 @
  302. ; It receives a comma-delimited list of class names.; @# Q$ g2 {) J- v
  303. ; http://php.net/disable-classes3 I; v- U# o) J% W) r- L2 L3 c
  304. disable_classes =
    8 N7 H3 C3 e. V0 Q2 e8 \

  305. % E) _# v3 z, o1 ?; a
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in# D2 ~# a  N$ K  M  n3 y
  307. ; <span style="color: ???????"> would work.  {" g8 T$ h) s. m; S
  308. ; http://php.net/syntax-highlighting0 z6 m& H$ ?: b) K8 R
  309. ;highlight.string  = #DD0000: p  v# T# ^3 n$ H4 i, v
  310. ;highlight.comment = #FF9900* i6 n" f8 V, c! f% ^1 V6 S/ B( E. Q
  311. ;highlight.keyword = #007700
    * B2 {- j0 y5 ~$ Y$ L- Z" E
  312. ;highlight.default = #0000BB
    ; N, W# G; a  r3 T; `" p" t5 M
  313. ;highlight.html    = #000000
    6 h. \7 T  D) U+ w9 s# c

  314. 9 y4 ~- c9 v5 ^( l* ?2 s
  315. ; If enabled, the request will be allowed to complete even if the user aborts: l, S5 |0 [! [; G' _, S
  316. ; the request. Consider enabling it if executing long requests, which may end up$ T. B, \2 y" I9 W
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior. l, f* W$ Y4 a" I+ K  B) M
  318. ; is to disable this feature.
    ' Y, n6 Z) w/ }
  319. ; http://php.net/ignore-user-abort: P+ W4 O1 K( m( k- ]
  320. ;ignore_user_abort = On/ D: W* Q% k: O+ y! D$ M2 h$ I
  321. - }( [! l* \/ y! e  k+ A
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    : H0 V( w( k0 M6 V( ~" J6 ?/ ]. J
  323. ; be increased on systems where PHP opens many files to reflect the quantity of- L. }  r4 w% b
  324. ; the file operations performed.
      I- F' {0 }+ s( W% G! J' a
  325. ; http://php.net/realpath-cache-size
    . i. [' t0 E, C7 _: }$ j  S3 T
  326. ;realpath_cache_size = 4096k
    0 ^8 \. Y: c% p" k
  327. 7 T, }1 p5 l$ C3 W6 r6 U8 I$ T
  328. ; Duration of time, in seconds for which to cache realpath information for a given& r4 z( t6 J7 \  P) o0 B
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    . s4 h# A) S0 Z
  330. ; value.1 B  x& c; d' F: ]% G' T
  331. ; http://php.net/realpath-cache-ttl
    " F! b* D8 y8 U! s$ ^
  332. ;realpath_cache_ttl = 120
    & V  |, Q$ A* v# s
  333. ) a$ y2 q- A+ \! ~! v0 M2 G
  334. ; Enables or disables the circular reference collector.# j' t, l7 o& s1 R' i* S8 N
  335. ; http://php.net/zend.enable-gc0 U' Q( ?, ]( ~  z
  336. zend.enable_gc = On
    " Q" a3 S; n. \1 M% ?
  337. ; P7 b/ w0 c2 ^& |9 q' {
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ( Q* E3 O; {! t# a. H/ J1 S9 `
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such6 @' T$ H, R) J2 @5 [! w4 q- K
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 ?9 o4 f4 f$ t- ?) q/ w
  341. ; Default: Off
    5 {/ o" r$ F2 {6 u* V: R
  342. ;zend.multibyte = Off
    : }8 S! D+ v" K2 E8 K% s1 f
  343. 9 T- B7 P( v' ]7 _2 V
  344. ; Allows to set the default encoding for the scripts.  This value will be used$ e8 t) n$ B& I0 i# m" f0 a
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / |0 y/ w6 N* @. k5 h
  346. ; Only affects if zend.multibyte is set.
    % f) \. ?; {9 O/ B: W. K
  347. ; Default: ""
    - [) I- C3 Y& t% ^3 f' V2 X" V' f6 f0 [
  348. ;zend.script_encoding =
    / x/ a$ K, y/ m, \/ L7 Y8 m

  349. . p- I% n- i$ p; M4 K
  350. ;;;;;;;;;;;;;;;;;# q7 t& ^4 F) w6 u& y2 C
  351. ; Miscellaneous ;; ], ?* d. Z: o% M) {! w; o, l) G
  352. ;;;;;;;;;;;;;;;;;
    - j/ p# F# `! ]; z6 }, A2 f" R

  353. 7 Q1 R# s0 d" p
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    8 N9 L7 D8 g3 `0 W+ O% V0 E
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    / W2 g) ?* R$ h, \: \
  356. ; threat in any way, but it makes it possible to determine whether you use PHP5 `! |  u# D7 m$ X
  357. ; on your server or not.
    0 S2 P2 z0 C2 q3 D4 _2 F2 n* x
  358. ; http://php.net/expose-php: u6 u. A% A% O) x; [
  359. expose_php = On
    1 j4 B! g+ ~- k' v
  360. - _0 w( S9 _/ g
  361. ;;;;;;;;;;;;;;;;;;;# V$ z2 \, B0 {0 f+ D
  362. ; Resource Limits ;1 G& A) e, T. a, R! j" y/ j3 _
  363. ;;;;;;;;;;;;;;;;;;;1 g& m* D7 H% Q0 m) N* _& ?
  364. 5 e" g+ G+ C7 G; I8 @2 [6 p: ^6 N
  365. ; Maximum execution time of each script, in seconds- J7 b1 \" u; o/ l/ c
  366. ; http://php.net/max-execution-time, O" Z7 y+ u1 T
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 ^1 }2 l1 S+ v) a1 D8 E- V% F
  368. max_execution_time = 300
    & Q( q; Q) i' S% y. l8 }& O

  369. ; [% f7 C2 m! P9 ?' R( u% O
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    1 [! K7 K7 [$ x9 @0 F
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly* I5 ^8 i+ u( _
  372. ; long running scripts.
    8 i+ |* i4 y4 a# P0 D6 K
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # n# R: s) `  b- D7 N% c% J5 {, z
  374. ; Default Value: -1 (Unlimited)
    3 _9 L6 X* w1 V/ I" q& c6 O% J
  375. ; Development Value: 60 (60 seconds)) R; u0 H" b( z3 H6 n- o
  376. ; Production Value: 60 (60 seconds)
    ) Y- C7 _* ~3 I
  377. ; http://php.net/max-input-time7 E) e" t/ |2 |
  378. max_input_time = 60
    - _" |: D" V, h7 d) |& t+ d
  379. ( t) K7 }; C% M' B& \; i" p- h  G1 m
  380. ; Maximum input variable nesting level
    : ^5 J& m$ b0 ~' w: }
  381. ; http://php.net/max-input-nesting-level
    % _4 m. e+ t- L4 U) ~
  382. ;max_input_nesting_level = 64
    , H/ d" p4 a6 V( m! e
  383. ' h/ l: b$ m! E( y
  384. ; How many GET/POST/COOKIE input variables may be accepted7 H, |4 [# Q! o+ w/ B" o
  385. ; max_input_vars = 1000
    4 g5 z- V6 n) z) y- ^4 Q# k
  386. 6 }3 M: A- J( p  ~, K, |* h# s0 ^
  387. ; Maximum amount of memory a script may consume (128MB)0 s- k* K1 k- v! A( M* L
  388. ; http://php.net/memory-limit
    ; I9 C4 d% D+ ~; f5 N
  389. memory_limit = 128M' d9 s! b, p6 n" O+ A
  390. " B; q# u+ c+ c% \
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# M2 Z5 j) O; ^$ E4 x0 |
  392. ; Error handling and logging ;
    . R. ]  c( v8 }4 T
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! G" s' ]  L1 e" v% U8 y& j

  394. 6 x7 T9 E9 |9 w. a) o3 p8 w. F
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    # f% s# i+ c8 L0 p& _1 [
  396. ; it to take action for. The recommended way of setting values for this7 A; {# u& R- d8 Z( W
  397. ; directive is through the use of the error level constants and bitwise
    + v6 W8 z: {1 u9 P9 A8 i! `& s
  398. ; operators. The error level constants are below here for convenience as well as) M+ t* f0 c4 J( M& o: M
  399. ; some common settings and their meanings.2 E8 _6 k# _& A2 R! k* w
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT6 P0 @, t* L4 U- A. e1 o
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    - i$ j3 J. c6 M! m/ X6 T6 R$ g; q
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    : f; f5 z7 {5 u' F
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    5 C, _  d# h0 O- {
  404. ; resources complaining about best practices and coding standards. That's what
    0 w" e5 r6 m+ q7 m" ^
  405. ; development servers and development settings are for.
      s3 I( s& h0 E8 ^$ t4 G& P
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ! {$ C" Y" P. z. ^% B2 d' L# J
  407. ; means it pretty much reports everything which is exactly what you want during
    / o* r' n* s) u' i' }. o4 q$ v4 W
  408. ; development and early testing.
    / u5 b5 q# a( i) ^
  409. ;
    : w9 t2 I7 ]& x. h+ T, S
  410. ; Error Level Constants:( H: X; ?* p6 ]% a1 D5 N9 ]5 ~
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)" B! C# }9 c+ ~
  412. ; E_ERROR           - fatal run-time errors8 a/ i* }% k' E2 o  p1 x5 t# N
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors& o, d/ P4 c+ c- }5 {- r0 Z
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    - D, _& L" R/ A* P: K+ |
  415. ; E_PARSE           - compile-time parse errors
    0 N9 [9 g3 K& f
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    6 v" ?* n# K7 l1 s0 s
  417. ;                     from a bug in your code, but it's possible that it was6 K! X  V' v# e
  418. ;                     intentional (e.g., using an uninitialized variable and# c' w; }# [& z0 e5 J# F- `) o% k
  419. ;                     relying on the fact it is automatically initialized to an% d& G! L0 r% k- q4 K1 W+ Q
  420. ;                     empty string)
    . [/ ~7 U% U( ~9 P" J
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" c3 [, Y6 V1 A. i  ^. O+ A# u
  422. ;                     to your code which will ensure the best interoperability( g7 ~& ]4 }3 s# {' \
  423. ;                     and forward compatibility of your code/ l: L/ `1 c( {% w# T% N7 ]6 E
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    & G5 }  Q' P8 L: q# t+ i. x, `
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' o5 E) i$ I3 x
  426. ;                     initial startup( U+ S, m( z8 F" [3 x1 D
  427. ; E_COMPILE_ERROR   - fatal compile-time errors/ ?0 I% M7 z1 [1 i; l; o% ?9 O
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 m5 D' M# K2 ~$ S8 z0 ?
  429. ; E_USER_ERROR      - user-generated error message
    ; A. g+ s7 d* x& V0 B0 P
  430. ; E_USER_WARNING    - user-generated warning message
    , q; B' N2 F; o6 L0 x
  431. ; E_USER_NOTICE     - user-generated notice message% n; e9 Q0 @( m4 N, y/ y( }7 f; h  b
  432. ; E_DEPRECATED      - warn about code that will not work in future versions: d" i; t1 e# P3 ?0 v3 I
  433. ;                     of PHP& U' _% S) Z' d! I$ U
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 ?# f$ T4 g- z- G( }5 J- m0 z
  435. ;
    5 ?" V* j+ ?+ k4 @2 I
  436. ; Common Values:% A" l' T- c6 o  V4 ]/ I0 U
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . y* t/ L! K7 [5 q# M0 W
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    2 }, C& {7 f" @& C
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)/ F- H( y9 t  t2 ?0 z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : I) y9 Y( U! l  b+ ~% Z# z; f$ H4 u
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 b2 c! q: j( X" r: n) d
  442. ; Development Value: E_ALL
    $ b* t6 O' X' C6 G' O" A
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' E* r% B" S+ c% g
  444. ; http://php.net/error-reporting, [/ D; H9 t# P2 D% O3 ?. K, S7 ^# a
  445. error_reporting = E_ALL & ~E_NOTICE
    ; R2 a( B3 s& ~0 S

  446. & l5 M: _% }9 G: p3 A! t
  447. ; This directive controls whether or not and where PHP will output errors,+ p0 b6 R5 k3 k5 ~
  448. ; notices and warnings too. Error output is very useful during development, but
    ' y5 E6 J$ L3 S4 z# i- i
  449. ; it could be very dangerous in production environments. Depending on the code" w+ s0 J$ c" Q9 u4 t+ e) ?: J
  450. ; which is triggering the error, sensitive information could potentially leak. H4 W9 R" l1 Y: J$ C
  451. ; out of your application such as database usernames and passwords or worse.
    + {, T5 |+ p* Z
  452. ; For production environments, we recommend logging errors rather than6 l" w0 b" o" l  z: M+ }( q! N% T
  453. ; sending them to STDOUT.
    ( }" D, U: c4 i' A
  454. ; Possible Values:$ [6 `5 K$ ?* O6 V% C
  455. ;   Off = Do not display any errors) B% H4 b/ j' d7 b4 S6 u$ c( @* E
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    4 T: Q% {" ]5 G* v- k9 w1 l
  457. ;   On or stdout = Display errors to STDOUT
    ; N- S2 F' V4 `% i; g& v0 Q
  458. ; Default Value: On' `! x: Y# n! E. C
  459. ; Development Value: On9 W% d+ t% }+ ?/ g
  460. ; Production Value: Off
    ! f0 a0 n, }9 i0 \
  461. ; http://php.net/display-errors" o) Q9 ~6 w" m+ \7 i4 u
  462. display_errors = On
    ' ]- a3 U& U! ~" _
  463. : G0 {, D4 T3 u% y% y0 j/ `0 X
  464. ; The display of errors which occur during PHP's startup sequence are handled' S# a; s5 `1 [2 R: C% D5 \, k  f
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    $ e# j. w3 m) Z9 ?" o8 ^* ?
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    % x' @* d5 j! K& z6 ?5 ^
  467. ; debugging configuration problems. We strongly recommend you8 \" h  M# R# I) i( i$ N' D
  468. ; set this to 'off' for production servers.# s& p4 s  Y& ?  }
  469. ; Default Value: Off
    1 `( z# }% F& Z
  470. ; Development Value: On& y, |1 ?' s& B. V" g
  471. ; Production Value: Off
    + a& f, ]6 c: m. |
  472. ; http://php.net/display-startup-errors
    0 D2 ]" C9 H: I& ]$ z
  473. display_startup_errors = Off
    ! |8 ?, w0 G  M- r6 t6 ?
  474. / M4 \( y7 [! v6 \2 f
  475. ; Besides displaying errors, PHP can also log errors to locations such as a1 z+ o) x( j0 b  w$ s- Q. l, |+ a
  476. ; server-specific log, STDERR, or a location specified by the error_log# \" e3 |3 t0 ^0 O8 Q
  477. ; directive found below. While errors should not be displayed on productions
    ! X1 ]( b# C# H& C% G: h
  478. ; servers they should still be monitored and logging is a great way to do that.
    + G' j# ^. a$ H3 T7 D  |
  479. ; Default Value: Off
    9 N) E# V; R& ~, B6 Q) f
  480. ; Development Value: On
    % S, E. L$ K# {7 A) q+ F# Q: h
  481. ; Production Value: On$ j3 P6 y. U$ Y! ~8 j3 D
  482. ; http://php.net/log-errors) ?+ {+ ^4 r: g5 B: s1 z0 S
  483. log_errors = On, c; D" I6 k: L' w2 P) j
  484. ) G$ B% m% W( m! b( t9 V% ^
  485. ; Set maximum length of log_errors. In error_log information about the source is' ?  I: C( [1 N% C  |3 B9 W4 s) J
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." q1 V( O; {. x! N& _* r
  487. ; http://php.net/log-errors-max-len
    ; ]  |) e; K$ L  L& @! J
  488. log_errors_max_len = 1024
    3 Z: w9 a2 t0 c* R; a9 l1 r. {
  489. ) k: y6 A, ?! k6 o& f
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    + a  x: r! j/ H3 w$ c6 ?$ y
  491. ; line unless ignore_repeated_source is set true.( ]4 M" j" w( W% H; j
  492. ; http://php.net/ignore-repeated-errors) U! u/ I2 \2 y
  493. ignore_repeated_errors = Off* u- z* v% B  ?, D* B. L

  494. ) w% E" w% Z6 Y
  495. ; Ignore source of message when ignoring repeated messages. When this setting  m$ R& X0 ]) d3 |- Z
  496. ; is On you will not log errors with repeated messages from different files or: Q- y: l& C4 D3 ^' X: U
  497. ; source lines.
    4 a* J6 y+ d3 F) Z4 z# y* h9 C% B+ ]
  498. ; http://php.net/ignore-repeated-source8 c& _9 D6 j: Q- p1 L! X
  499. ignore_repeated_source = Off8 E+ F- r/ P' W5 F7 ~# e( W
  500. 6 l% m7 D! j6 n: k% I
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    / F9 i' }; w! D# G' V$ M7 r4 R( S$ i
  502. ; stdout or in the log). This has only effect in a debug compile, and if3 t4 W) A7 Z0 I& k2 J: @1 a
  503. ; error reporting includes E_WARNING in the allowed list
    ! C: Z# m# I4 @- Z7 F
  504. ; http://php.net/report-memleaks0 E! a$ }" g% |" [
  505. report_memleaks = On
    6 r/ R9 `7 X! h

  506. # O* v" a/ ]  c
  507. ; This setting is on by default.
    ) g6 z; d, G7 \
  508. ;report_zend_debug = 0. S( L9 h  m2 y+ D7 ~+ P

  509. 8 ?5 n4 R  i/ l( s0 P
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ e! V* A) Y& M8 d# ^# p  n
  511. ; to On can assist in debugging and is appropriate for development servers. It should6 R2 @. c) r$ v0 a% T& R* U) q, s
  512. ; however be disabled on production servers.
    % u! w" U6 _% U- ~# k
  513. ; Default Value: Off
    6 U7 A4 i8 H' H) R" A9 {
  514. ; Development Value: On' j* F. b& f( F( f: c( Y. B3 ?
  515. ; Production Value: Off
    7 e# c" i) L5 K% `1 T7 T- W. G
  516. ; http://php.net/track-errors
    & @' i1 f0 n$ L$ V4 `, C
  517. track_errors = Off3 Z( q$ ]/ ^; `9 C

  518. % u5 H+ U; h# X+ V* D7 l" a; E3 _
  519. ; Turn off normal error reporting and emit XML-RPC error XML2 c4 s& l/ f# \* c, e" ]
  520. ; http://php.net/xmlrpc-errors
    . }& X/ Z1 c# E! b
  521. ;xmlrpc_errors = 0
    - g0 R: a" N$ ~# `  _5 P
  522. # H0 {8 o6 }: Y1 |
  523. ; An XML-RPC faultCode
    : k4 a! e4 t, a
  524. ;xmlrpc_error_number = 01 ?9 d) d* I: b' u$ ~

  525. : e# |/ I- b& F
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    0 }* B- S2 M: e; ?: H- k
  527. ; error message as HTML for easier reading. This directive controls whether
    # E6 l  s$ a+ O; [& F: L$ m
  528. ; the error message is formatted as HTML or not.# K( O) c/ b/ n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - ^8 J1 u! G! y; c; b& W* ]
  530. ; Default Value: On. ]0 W5 O4 d. ~$ N8 y" f$ X/ f
  531. ; Development Value: On: a6 _3 B, g( I* Q
  532. ; Production value: On
    4 F& T  W# x0 q  p9 n; [9 u
  533. ; http://php.net/html-errors
    : J: k# ]$ a) U, q  @
  534. html_errors = On: `( X' q8 l* X+ p6 a% o7 ~
  535. 4 V: l# g& o5 }- @
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) C; R# H5 {! ^% i
  537. ; produces clickable error messages that direct to a page describing the error
    : t1 M7 X1 B7 }, y% B
  538. ; or function causing the error in detail.
    & h4 ^5 j+ f* d/ R5 {
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    * l  N0 j2 f7 W' v: `, H
  540. ; and change docref_root to the base URL of your local copy including the/ g& v& j, `- `" j. v* i, j
  541. ; leading '/'. You must also specify the file extension being used including, f$ J& R- b4 s( s
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ( ~% ^6 d& ?# ~+ u4 g3 p
  543. ; case no links to documentation are generated.
    5 u$ H$ j/ i6 G  Y6 I; t
  544. ; Note: Never use this feature for production boxes.
    : O8 L1 ?+ N2 e
  545. ; http://php.net/docref-root6 v9 P9 J# j; ]9 c0 o
  546. ; Examples# k9 |) x; q- d" `* _3 f& A
  547. ;docref_root = "/phpmanual/"
    5 b. H. _0 N: K$ {( ?
  548. . k) k: M% W5 W( D
  549. ; http://php.net/docref-ext
    9 C/ o; B. E  `. J. L
  550. ;docref_ext = .html0 ~0 z5 D9 a( r" ?

  551. 8 J) G1 \3 S& ^; q# ~' ~
  552. ; String to output before an error message. PHP's default behavior is to leave$ J! @, s6 j9 o) v4 }  J2 b& ~
  553. ; this setting blank.! z+ M! [! m$ p3 v* P5 B  Q2 G. q5 R
  554. ; http://php.net/error-prepend-string
    5 z0 P+ X8 R$ Y
  555. ; Example:
    , }* E& u2 _; X5 X0 d
  556. ;error_prepend_string = "<span style='color: #ff0000'>"8 ]' x  ~9 J" F& s. K2 u
  557. ! u% q9 Y' U8 ?9 X/ g* d
  558. ; String to output after an error message. PHP's default behavior is to leave! `' D( N: ~8 j0 `: o
  559. ; this setting blank.
    1 ~( o/ G# F9 g5 X; _
  560. ; http://php.net/error-append-string) h7 e+ T: {7 l# ^( e$ K. M
  561. ; Example:3 L, i( d# v/ I5 i) G
  562. ;error_append_string = "</span>": |# V  a& i4 X% F% `; y7 j4 c

  563. ! a3 H4 q/ l, m& Q# M$ @/ |$ b
  564. ; Log errors to specified file. PHP's default behavior is to leave this value, ^: b7 g) }+ }/ C
  565. ; empty.9 S1 U, `; z; m, O3 S2 h: ?  e
  566. ; http://php.net/error-log
    5 b  K# g7 b; C, g" S
  567. ; Example:* }+ o' E3 t0 y+ d; |$ R; _& [7 D
  568. ;error_log = php_errors.log) R2 N1 `" `' x) L) t2 a1 a, A9 E
  569. ; Log errors to syslog (Event Log on Windows).4 d5 W, h$ [! B+ x/ j! Z% T7 L- ^2 v
  570. ;error_log = syslog
    6 _+ m& T* U; {0 L; J" p
  571. . N4 M* J# D" c+ x' ?
  572. ;windows.show_crt_warning
    # Y$ U% j2 d5 }" X1 o& d/ m
  573. ; Default value: 0  E, [! V: q" P* g
  574. ; Development value: 0
    ( X% h2 e0 ]4 G% q
  575. ; Production value: 0
    ) e. d* Y. q/ t+ E" W1 E: S

  576. " j0 c/ @: q! ]1 I/ w% _2 M) \
  577. ;;;;;;;;;;;;;;;;;
    / E$ D  Y( O! z2 w
  578. ; Data Handling ;  H; Z7 b" a- I# D
  579. ;;;;;;;;;;;;;;;;;
    : n% Y* d, q: n* L/ D- H1 }
  580. / E& Q+ E$ F" z
  581. ; The separator used in PHP generated URLs to separate arguments.
    6 a0 L4 [5 K6 U* p0 a" m
  582. ; PHP's default setting is "&".( m0 r0 |6 d8 p/ D  @. K
  583. ; http://php.net/arg-separator.output
    5 K, @" j; A( u2 j
  584. ; Example:
    # I! [- b- ~# O" c0 k* u/ h
  585. ;arg_separator.output = "&"7 {0 c6 ]; h* U: r+ V
  586. 2 R/ m. g+ Z5 q0 P4 D( v
  587. ; List of separator(s) used by PHP to parse input URLs into variables.! B5 M( V! O" r% c# l9 Y
  588. ; PHP's default setting is "&".
    8 a4 h3 i" R/ }. E
  589. ; NOTE: Every character in this directive is considered as separator!
    % X( Z7 H, v; Z2 P* b5 d
  590. ; http://php.net/arg-separator.input9 d  |) y/ B* w8 D* D* Z
  591. ; Example:
    * ?7 h7 Y4 d! a
  592. ;arg_separator.input = ";&"
    ' y! O# M1 B' ^
  593. / L' w* }8 Q( |0 W* d1 R) Z' V7 V
  594. ; This directive determines which super global arrays are registered when PHP8 B# q7 ~3 T! y9 D( C4 O6 d
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    / Q. A, [! X  l" `2 `6 y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 P8 N* X9 n  b2 p: P5 v! O
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    + x: ?, j8 u/ Q  p3 C7 Q8 c
  598. ; used as the others, ENV is not recommended on productions servers. You% n. n3 K& c2 k) H+ r; X( z# u
  599. ; can still get access to the environment variables through getenv() should you
    7 x. W: b. J1 Z# y1 I
  600. ; need to.
    4 _6 q4 ~+ L8 @1 H
  601. ; Default Value: "EGPCS"' g# ]- H# J7 @3 c
  602. ; Development Value: "GPCS"
    % Y7 m- e5 z0 b  ^, h4 e: I
  603. ; Production Value: "GPCS";2 P9 r3 W/ ?8 O( a
  604. ; http://php.net/variables-order$ ]* p; ^  N, R" K! _) M
  605. variables_order = "GPCS"
    " t& j" r) W- ~1 n# b
  606. & N! `* `# g7 }3 U
  607. ; This directive determines which super global data (G,P & C) should be; J, I: K- S5 R) ]% g! o
  608. ; registered into the super global array REQUEST. If so, it also determines
    % N3 @) l: A, |" S4 n5 J
  609. ; the order in which that data is registered. The values for this directive7 ]2 F/ V* |2 J- Q. H+ E9 d
  610. ; are specified in the same manner as the variables_order directive,; P' {+ `% b. P5 A3 K
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set, b# w5 k- f$ S
  612. ; in the variables_order directive. It does not mean it will leave the super
    $ i# `) U) _* G$ t
  613. ; globals array REQUEST empty.6 ^# m1 f- }+ q4 Y8 T
  614. ; Default Value: None3 v0 W; `6 S! Y' y7 _$ D
  615. ; Development Value: "GP"
    7 _/ d' I: w* W6 H/ ^
  616. ; Production Value: "GP"; h7 C* M: j# F$ ?: P6 d, N1 M
  617. ; http://php.net/request-order, a2 F- l$ D$ w3 T. E; \
  618. request_order = "GP"
    6 [# G$ d, B9 E; w0 c1 d+ ]
  619. 3 `. k) k; W! Z+ [
  620. ; This directive determines whether PHP registers $argv & $argc each time it, t, q( _$ p3 u+ r9 R: N2 T) V) a- q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
      {) {7 U8 a  m$ q) T, |
  622. ; is invoked. $argc contains an integer representing the number of arguments: }" W* e# U; }! b) e" v  B: Q
  623. ; that were passed when the script was invoked. These arrays are extremely
    " F1 B0 U" M( g6 S, U$ I
  624. ; useful when running scripts from the command line. When this directive is# Q# S4 K+ |: p& T! Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time/ Y; q7 S3 R6 k8 b' z
  626. ; a script is executed. For performance reasons, this feature should be disabled/ [) }0 Y2 e4 a4 a4 N  t2 d7 z% \
  627. ; on production servers.8 M7 n0 w3 y7 L/ ]& n8 T
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 x- ^0 O: W% ^7 ^; S! o* e) s
  629. ; Default Value: On  S: h) R- P5 `/ }! u& {
  630. ; Development Value: Off
    # t5 P( K( O9 ~/ N8 S$ G
  631. ; Production Value: Off6 k( n# N" C) ?: z9 V
  632. ; http://php.net/register-argc-argv/ _: T1 W; h7 f; B- @
  633. register_argc_argv = Off
    . C2 e9 X) d- M& ^0 ~: _% I$ \/ g

  634. ) o0 P& O+ B& N* V$ K3 x
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're1 I# I& I" H! E3 R/ d: Z- T
  636. ; first used (Just In Time) instead of when the script starts. If these
    5 |, r* p9 M' d  E, y+ K; r1 K
  637. ; variables are not used within a script, having this directive on will result8 ~2 ]/ w! J; x4 F
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
      j$ b  g+ V, r1 n2 s
  639. ; for this directive to have any affect.- ^8 U4 w7 ], A4 O, M0 Z
  640. ; http://php.net/auto-globals-jit
    / C2 F9 V+ X5 V" k( d5 q" n  P: u1 |
  641. auto_globals_jit = On- {, c- a6 J2 n( R
  642. 3 y' u4 k7 x+ F% A
  643. ; Whether PHP will read the POST data.! @$ J. ]0 N$ }& s: h4 |& M
  644. ; This option is enabled by default.9 E+ z% g) G/ V6 A% R
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST4 L6 Z$ l) Z: |8 h% c5 g
  646. ; and $_FILES to always be empty; the only way you will be able to read the" c, x* C+ y$ ^
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    8 e; d7 k7 E8 n. Z: k/ {
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    0 A, }3 u+ T7 A0 s& v0 d4 h7 f+ M
  649. ; http://php.net/enable-post-data-reading
    9 C' P5 L% G& L# [4 e( h' t
  650. ;enable_post_data_reading = Off
    ! Z& p* S1 H$ @8 ]/ G" [

  651. ( h3 ?/ J! u4 [, A4 G" S0 J* J0 I
  652. ; Maximum size of POST data that PHP will accept.
    5 D" ~( M, s. S/ i
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% X4 c6 D4 k) ~6 i' f' X
  654. ; is disabled through enable_post_data_reading.
    $ \# _  Y9 g. l- b
  655. ; http://php.net/post-max-size9 u% U$ B& d( r1 x& U# ~2 _
  656. post_max_size = 50M
    9 V/ j& `. N1 z6 l5 o& B
  657. " g" s& M1 v$ V, c) y) H6 L8 S
  658. ; Automatically add files before PHP document.
    7 X  A5 _2 u) Z1 \$ D4 d
  659. ; http://php.net/auto-prepend-file# ^5 ]! p& h/ `: l! V
  660. auto_prepend_file =9 M2 I8 y5 d5 a& E; V( W' [
  661. 0 A- o! x$ b2 w( `2 ]0 y) W
  662. ; Automatically add files after PHP document.3 V) N0 |  A& I, u6 @/ k) X8 \
  663. ; http://php.net/auto-append-file% r# k/ H9 S3 M9 z, _
  664. auto_append_file =4 E" a& e! L! P  G7 _6 W$ @! L

  665. , o, v$ t. R* u/ ~. Z% \7 I; P* l
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ' L) C9 Y. P  \: U  j1 l4 K/ ]( v
  667. ; disable this, simply set it to be empty.  j+ W9 [, Z/ S) B& M7 L+ x
  668. ;! d, s6 F/ h. y/ g# v" e  H
  669. ; PHP's built-in default media type is set to text/html.8 n7 K! P$ X/ p' N6 p3 J7 X% e
  670. ; http://php.net/default-mimetype
    % x# X) P+ Q. P; O) s
  671. default_mimetype = "text/html"4 |4 ?$ ]: z9 K# d: `

  672. 9 ~5 a) i2 a1 Z: \: U$ O
  673. ; PHP's default character set is set to UTF-8.
    # }! ~0 z2 o$ D4 n
  674. ; http://php.net/default-charset/ T0 Q, H- t# s' B
  675. default_charset = "UTF-8"0 j7 N; t0 `  a! u/ b5 d/ Q

  676. ) o; K5 |* v' H$ t0 d
  677. ; PHP internal character encoding is set to empty.& I3 s# u  {5 o) ?6 ?7 C- B
  678. ; If empty, default_charset is used.0 I3 @4 s/ L8 B+ u# Q+ s( h
  679. ; http://php.net/internal-encoding
    ' O% g) }; u) e! M8 e
  680. ;internal_encoding =
    % d0 z  Y7 \* n9 \

  681. " z( p% f6 ~# T, _+ C( x' o
  682. ; PHP input character encoding is set to empty.& W$ `1 o8 x. N5 D
  683. ; If empty, default_charset is used.
    ; i. L4 `3 ?" s' W1 z  h# `
  684. ; http://php.net/input-encoding4 K( U7 E7 b/ V& ^
  685. ;input_encoding =
    7 E4 C. |& D- e

  686. , }  x( g; m0 {# C( ]
  687. ; PHP output character encoding is set to empty.0 Q! l* a) l/ w0 l+ R0 @
  688. ; If empty, default_charset is used.9 v# ?( M4 [) e/ Q7 i% K
  689. ; See also output_buffer., X  I- u/ [7 t6 x- w6 y$ e% B3 d
  690. ; http://php.net/output-encoding9 A; h8 {; u) P- w8 T
  691. ;output_encoding =1 E5 R2 A. M# @" w! q
  692. * }$ \1 U. s* O* s, F
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - M: P8 H/ y; \8 L1 g0 Y. Y9 m
  694. ; Paths and Directories ;
    7 b+ F* i4 v2 v# ]5 G! m' j
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;; `2 D5 L% {+ ?+ h4 w/ q
  696. ! _; I0 g9 A0 |+ M! _' m" f
  697. ; UNIX: "/path1:/path2". H  t- K" x: `% i
  698. ;include_path = ".:/php/includes"
    ; M& p) S, i, \) S$ x* \
  699. ;/ a3 S8 f  a- m' G
  700. ; Windows: "\path1;\path2"3 F& l! e* D1 k2 G6 i3 s* q$ a# v
  701. ;include_path = ".;c:\php\includes"1 {; |7 R( ^; u  q. h2 W
  702. ;
    - D7 I) ]# L& n+ C
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 c3 s8 z9 a( O; M2 t( e; e2 }: l
  704. ; http://php.net/include-path
    : f5 w- q$ C% P( \$ ^) g9 z# v
  705. 5 w5 C6 |7 \* x( j7 j# A
  706. ; The root of the PHP pages, used only if nonempty.
    2 X) z9 J' Z7 Q3 X0 V
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 P. g  l7 q8 |' n/ @1 f2 N8 x) s  d! O
  708. ; if you are running php as a CGI under any web server (other than IIS)
    - N4 \6 N6 W2 a' k  @
  709. ; see documentation for security issues.  The alternate is to use the
    ; C) N7 Q8 `! g$ i
  710. ; cgi.force_redirect configuration below' g. [) i) Q) b: O, u* |
  711. ; http://php.net/doc-root
    ) {5 T7 }, F& u9 U* C0 P& t  R
  712. doc_root =0 a% \* r, S+ f  U, b% g9 ^
  713. 5 l( a+ g7 S+ b! u; v9 r& {7 _
  714. ; The directory under which PHP opens the script using /~username used only
    0 y3 `. @% q# q4 ~* Q& x6 r# Q5 J
  715. ; if nonempty.
    3 f4 Y+ b) E* \# N3 [1 x
  716. ; http://php.net/user-dir. s# e* q. ~4 l0 C
  717. user_dir =
    $ |- W) S, I& r) g
  718. + m& E5 C3 P/ \& X. w3 I
  719. ; Directory in which the loadable extensions (modules) reside.5 H: J8 _, ^. ~
  720. ; http://php.net/extension-dir
    $ o8 a: `! M6 \' t! v: L* S+ y
  721. ; extension_dir = "./"
    1 Y: Y6 p; i, [$ p+ I: A
  722. ; On windows:9 u8 r1 O' D5 }5 m
  723. ; extension_dir = "ext": X% O- s( [; o/ s

  724. ! H- a* y2 ^: s# ]9 N/ n6 I
  725. ; Directory where the temporary files should be placed.; m) r7 C  \3 K& t
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ' C9 E# g7 o. P. [! Y% ~- j* g
  727. ; sys_temp_dir = "/tmp"
    + G1 E" H9 z7 _. c0 {: h$ f7 j; p
  728. 1 Q; D1 b% |$ m
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    # V2 @6 N" ]$ w) x6 O* r
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    . R& Z! y9 ?) [" X
  731. ; disabled on them.
    5 {( t% k0 H2 m1 B. h8 C* ?0 D/ M
  732. ; http://php.net/enable-dl( W9 b6 y- `! c$ U' r" Q. Q
  733. enable_dl = Off
    ; r" R$ t( _& A  ?7 k% P2 p6 U
  734. ) Q/ v. w% L) O. K+ y9 q/ U- r5 Z% y# ]
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under% d, G* U6 c- @% D; M
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! D8 ^0 q0 _& U
  737. ; turn it off here AT YOUR OWN RISK
    : u) b7 N; U( G) H5 G0 k
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- r3 [5 N0 a0 k0 d4 {& L
  739. ; http://php.net/cgi.force-redirect
    2 h* c" h8 y$ k0 H- `. s$ R
  740. ;cgi.force_redirect = 1# @2 `( m7 S4 S2 K* v; o
  741. $ ~2 H5 B( w. O# t& f
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with0 U4 x7 P+ n/ z  ^
  743. ; every request. PHP's default behavior is to disable this feature.
    " N, G" \0 U/ P6 F7 ]
  744. ;cgi.nph = 1
    - c: {0 I7 U3 L, L1 E4 C2 Q2 U, T

  745. , k" u: y3 }1 \1 |; b# n4 l
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    1 w6 q5 w& o1 z, y- T: S
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    5 ^; ~; v# X6 U
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY5 X# ~2 }5 O3 h
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    6 F. p$ p4 n  i' `3 E. H
  750. ; http://php.net/cgi.redirect-status-env
    - \) ~' I- ?/ K- ~. X! m
  751. ;cgi.redirect_status_env =
    . r" u; P" E5 P3 R) p
  752. 7 `- L# Q' v2 A2 V( v4 O! d7 p
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 m) G  t  p0 o, S) x' G+ y3 j
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    0 E2 g3 g0 {% W- k( _3 `! G
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting. @* D6 D; B, Z& X$ C. I1 P7 ~% f
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    4 a  j9 E7 F- `+ _8 s4 O
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    $ ^. ~, ~0 X1 C6 |/ Y/ z
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ b7 @% F4 i' }$ k) O* K3 }1 g
  759. ; http://php.net/cgi.fix-pathinfo
    0 h* j' v7 W9 Y( _0 |4 k) N
  760. cgi.fix_pathinfo=1
    . U9 W9 z3 Q0 F. x
  761. # i) j' l1 B' d! P  ~1 k
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    - C) ]2 B# A" D3 C3 ?( v1 t1 t
  763. ; of the web tree and people will not be able to circumvent .htaccess security.4 X, w# P2 z" ~2 D' h* l8 ?% ~# A# |
  764. ; http://php.net/cgi.dicard-path0 O+ t! M' w! U' ], b3 N& p
  765. ;cgi.discard_path=1
    1 e/ c; Y+ T% A+ c9 X' t6 ?

  766. ( q! z0 S% A: t) W+ q
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    6 s: D. |: X3 H8 ]3 u7 r' O9 o
  768. ; security tokens of the calling client.  This allows IIS to define the
    3 Y2 s2 m  H+ O3 A/ P& L. |
  769. ; security context that the request runs under.  mod_fastcgi under Apache" s( e; R' \% s6 g0 Q
  770. ; does not currently support this feature (03/17/2002)0 b2 l9 f9 i' o( i' w. ?! M
  771. ; Set to 1 if running under IIS.  Default is zero.) m" \3 M' @. z8 ~8 C/ p
  772. ; http://php.net/fastcgi.impersonate& ]6 a3 a% ^& I+ n" S3 |8 l8 H, o
  773. ;fastcgi.impersonate = 15 j, X) K! [) k: O4 A
  774. ' p- E* x5 \4 f$ C: r+ |0 p
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable, Y' E/ k5 K  c( R0 ^1 [
  776. ; this feature.
    ! A/ \7 O1 P6 z/ [9 m  c
  777. ;fastcgi.logging = 0
    1 ~( p7 p& v9 O) M2 u. }
  778.   b: f4 _" B; j/ y2 f+ d2 B$ V+ K
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    : }% V4 m# A. m+ K
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    9 y6 [3 o- R2 C% u1 j) B4 q: u
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / Z9 g/ `. f2 U5 I5 e7 f5 ~# H8 y
  782. ; RFC2616 compliant header.
    , m; m4 d* i" Y7 R# \: |
  783. ; Default is zero.
    1 i" J1 M+ l$ k2 M
  784. ; http://php.net/cgi.rfc2616-headers- z$ n9 i3 S" [
  785. ;cgi.rfc2616_headers = 0, V5 O+ p" d: f

  786. ' i7 l4 s3 j. g% @0 _- ]) `  X! \
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!4 @( }' \' e9 j# R; ?
  788. ; (shebang) at the top of the running script. This line might be needed if the
    7 b( M! Y4 s# t* A: A
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI# t! |4 J* K; a6 z' P
  790. ; mode skips this line and ignores its content if this directive is turned on.
    $ V# j  N6 F8 t4 C0 G) S# }
  791. ; http://php.net/cgi.check-shebang-line
    * d) k1 E. X" w
  792. ;cgi.check_shebang_line=15 Z0 ^+ g. H5 l3 D* p# o1 o0 `0 G

  793. 2 A0 ^; q6 S2 H# r0 F( p
  794. ;;;;;;;;;;;;;;;;
    9 G% {( g, V) F9 ^7 B9 J. n
  795. ; File Uploads ;6 P! M* I9 N2 I* [3 A
  796. ;;;;;;;;;;;;;;;;
    # g6 M6 m# Q2 q% I6 _" P) Z* [' ]
  797. ' D6 E, Y, B9 Y( J% m/ @
  798. ; Whether to allow HTTP file uploads.) d5 Y. L  t1 Q/ X; i4 ^/ L4 w
  799. ; http://php.net/file-uploads
    ; |: y! Z% Y" w  ]
  800. file_uploads = On
    % U5 g& N1 C+ |! N' t9 V; V
  801. ! O* U4 J4 G% G6 t
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    / F4 O/ V' f7 ^8 d6 @' }* }
  803. ; specified).) m; F: M( h1 u5 ?
  804. ; http://php.net/upload-tmp-dir
    * O/ E) j/ z8 n0 U+ E
  805. ;upload_tmp_dir =
    4 q! F1 U* v0 @/ p2 v$ [' U; O+ l. ^
  806. , h% h6 `+ X" V( R
  807. ; Maximum allowed size for uploaded files.
    % p! I) W6 A  |9 ^( V
  808. ; http://php.net/upload-max-filesize# @/ P9 r4 _+ B6 V) ]5 m* m! F
  809. upload_max_filesize = 50M4 b3 b9 G+ Y$ o% e) ^4 n  P

  810. " h8 G0 w# f" g- w, x. U+ E
  811. ; Maximum number of files that can be uploaded via a single request
    2 Y9 H2 j0 q8 I2 b. |& _- O
  812. max_file_uploads = 201 d( V4 [4 B! S/ _" L' J: {0 a4 u

  813. ( k& X& k* D) m1 ^
  814. ;;;;;;;;;;;;;;;;;;
    % s1 W: q! v4 R+ \4 T3 P
  815. ; Fopen wrappers ;7 e! w& Q2 a6 u1 p$ w; y% k6 V( [/ x
  816. ;;;;;;;;;;;;;;;;;;
    : ]1 j5 S! ?0 W

  817. ' G  f! f+ Z  G, @0 C
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 n3 `# X% X/ e" w& x4 F0 }
  819. ; http://php.net/allow-url-fopen# X+ O8 z& X$ R: S
  820. allow_url_fopen = On
    # ]8 V8 B% |4 j+ I6 ^! m0 h

  821. ( a! h( y- a# o5 t+ X+ d8 p
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    + @, x: F* I0 F6 O8 v
  823. ; http://php.net/allow-url-include
    0 C3 p! {( O. t& o, E# z. f9 E
  824. allow_url_include = Off8 |2 K% N! \% ~9 t" {- l

  825. , A( A6 k: p# r) l" f4 |' t8 z4 C
  826. ; Define the anonymous ftp password (your email address). PHP's default setting: M# ]0 b" _$ e- d2 |2 X
  827. ; for this is empty.- N& T2 ^$ Q% y/ Q+ G9 k# b
  828. ; http://php.net/from
    % [1 M1 J& B3 S
  829. ;from="john@doe.com"' }5 d& j+ t2 Z

  830. ) y' K, X/ E  @2 w3 E1 o& S# O
  831. ; Define the User-Agent string. PHP's default setting for this is empty.& c0 k) l5 x5 W" ^* g) S
  832. ; http://php.net/user-agent
    - L, w' R! ?7 p% _1 [& K
  833. ;user_agent="PHP"+ [) O$ a# H' v8 x# H: W! b7 P3 C
  834. ! \/ ]$ g9 K' o! u
  835. ; Default timeout for socket based streams (seconds)
    : M% r2 ~' ]# _! E
  836. ; http://php.net/default-socket-timeout) Y& H* i: e: n
  837. default_socket_timeout = 605 j8 ~8 X7 s: T$ l* P* T6 S% J

  838. ; H3 H9 X. ]+ e- u% T$ ]% p
  839. ; If your scripts have to deal with files from Macintosh systems,5 Y2 b* B- b" f
  840. ; or you are running on a Mac and need to deal with files from
    ' G/ Y8 U4 E1 r2 j* I  p
  841. ; unix or win32 systems, setting this flag will cause PHP to
    * s. N% {+ R& k
  842. ; automatically detect the EOL character in those files so that/ P  P* d6 \: [1 @
  843. ; fgets() and file() will work regardless of the source of the file.% t' U( |4 A" Z* P/ w7 H
  844. ; http://php.net/auto-detect-line-endings
    & Y. q6 y& g% w5 j
  845. ;auto_detect_line_endings = Off
    - K4 @1 C0 g9 e1 k

  846. 6 M2 @: T9 u/ n
  847. ;;;;;;;;;;;;;;;;;;;;;;
    8 F( w% t2 m( E! b" ~( P2 X
  848. ; Dynamic Extensions ;
    ! H" N& O4 q( U2 U$ ^: |
  849. ;;;;;;;;;;;;;;;;;;;;;;- J/ ]7 V0 H7 ~8 y5 n0 @" M
  850. . M" k1 ?* r2 j# D
  851. ; If you wish to have an extension loaded automatically, use the following
    ; [1 Q! N/ ]9 \3 ~- `
  852. ; syntax:! ?# T$ t& O) J2 s$ ?" A
  853. ;
    3 F/ Q+ @$ G8 |) X& u& C
  854. ;   extension=modulename.extension, y& E& @& s4 e( U6 a; s$ K8 P
  855. ;
    1 V% ?/ |; p9 W" E
  856. ; For example, on Windows:
    5 V% _, K2 M8 R: ]* q7 L
  857. ;
    2 j3 h# I+ ], }) m/ A
  858. ;   extension=msql.dll
    , P3 a7 J  q3 e
  859. ;
    3 o$ R! C7 d; v5 I4 m  o- f  L
  860. ; ... or under UNIX:& \2 w$ ~  w" u6 c! W" d& K; `/ U8 l5 A
  861. ;7 T( q7 w: d; ~$ @8 A! |3 O9 K4 @2 X
  862. ;   extension=msql.so
    0 U) r$ D) V: Y3 r6 E( [; n
  863. ;, N# o' \8 c1 S$ G
  864. ; ... or with a path:
    * A% b7 F- j$ F7 q9 i3 @
  865. ;1 l$ ^5 z7 h2 N: D
  866. ;   extension=/path/to/extension/msql.so
    - ?6 F& o& R+ P9 L. [' Z+ ^+ b
  867. ;. v6 |; y+ N: E3 X* X
  868. ; If you only provide the name of the extension, PHP will look for it in its4 s% ^' H/ q: F5 L) r# L' h1 M& j. h
  869. ; default extension directory.
    $ E" g! a4 G) q/ L& N, G
  870. ;2 U5 j4 W$ b0 r! c% j9 f) \
  871. ; Windows Extensions
    " k# K1 q# F' p$ y+ s. {
  872. ; Note that ODBC support is built in, so no dll is needed for it., W' F# T; W& B, h
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    1 \* P6 w/ s7 B9 r$ U6 W
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).) H2 v" l2 \5 b: Q4 D
  875. ; Be sure to appropriately set the extension_dir directive.
    ; }$ V9 s8 {: I. k' k9 n7 ?
  876. ;, C" b, z$ {4 T$ g6 ?( w5 b
  877. ;extension=php_bz2.dll* Q0 b& }8 L) h  g
  878. ;extension=php_curl.dll
    , [& m/ W5 D5 U
  879. ;extension=php_fileinfo.dll* H- [9 X# s  k
  880. ;extension=php_ftp.dll* e; m2 p! N4 K9 b4 W: ]
  881. ;extension=php_gd2.dll
    * @  ]& H9 I, A8 ^  g, x
  882. ;extension=php_gettext.dll5 @) e0 H0 r/ j& ]( T, @# F
  883. ;extension=php_gmp.dll6 G; P6 a; S0 i
  884. ;extension=php_intl.dll
    $ d3 s% h$ s+ H
  885. ;extension=php_imap.dll4 s9 x8 \9 F) g' v/ K
  886. ;extension=php_interbase.dll8 R/ o% N9 |9 X
  887. ;extension=php_ldap.dll
    # k% G; w5 X' E3 |% M+ w4 i! _. a
  888. ;extension=php_mbstring.dll
    9 V/ d; J% j( q) ~, f# j+ d
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    3 V5 X" p' L. H  i( H
  890. ;extension=php_mysqli.dll& a/ v: Z3 Z# D# b* w
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client4 `) Q* N/ X5 V; I% S+ F
  892. ;extension=php_openssl.dll. o9 X" }. a' C; i# W+ x& Z
  893. ;extension=php_pdo_firebird.dll/ q  X5 ^& l0 m% v5 h4 P. o
  894. ;extension=php_pdo_mysql.dll' y, q1 I# H9 M8 o2 \3 ^8 f3 w
  895. ;extension=php_pdo_oci.dll
    7 f# Q4 f% i/ p. {6 {. L( G2 {$ n
  896. ;extension=php_pdo_odbc.dll
    $ L2 k1 h0 ~/ S7 R
  897. ;extension=php_pdo_pgsql.dll8 H' B5 u1 W, b! \
  898. ;extension=php_pdo_sqlite.dll
    - O1 M8 Q0 U3 [$ S0 n
  899. ;extension=php_pgsql.dll; h+ q  h" P. U" o+ O$ Z
  900. ;extension=php_shmop.dll
    & y' S4 n9 h/ E5 o

  901. % p  N, x5 R6 X! D: F
  902. ; The MIBS data available in the PHP distribution must be installed.  y+ z- ?5 b6 I) C* L) Z
  903. ; See http://www.php.net/manual/en/snmp.installation.php* E; k, e% Q5 {' A
  904. ;extension=php_snmp.dll
    ' Q0 k3 a/ r$ o, z1 n; E

  905. % ?: g0 e- _, `- }6 D
  906. ;extension=php_soap.dll( |* {; b$ `4 W; m
  907. ;extension=php_sockets.dll
    6 y) K. }: G7 y0 c" o; `
  908. ;extension=php_sqlite3.dll" [) r7 D: b: e$ C5 G! X1 ~% \
  909. ;extension=php_tidy.dll( L8 A8 j1 o# y
  910. ;extension=php_xmlrpc.dll
    ' ^4 ?( l; r- _' w0 r
  911. ;extension=php_xsl.dll
    ( T7 q% I5 t4 Y+ b3 C+ r" Z$ ]
  912. 8 v+ I. `4 S  ]% Y6 E; y. g
  913. ;;;;;;;;;;;;;;;;;;;7 y1 w, S) L' B# r
  914. ; Module Settings ;" U- K' A9 K# l( W9 E3 ]. r
  915. ;;;;;;;;;;;;;;;;;;;: x9 U0 R1 O" G: N* P
  916. 4 }" W' [7 k6 e' |4 G& `* W
  917. [CLI Server]
    : J$ z, B" i9 [) p
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.& r" c. m3 @: P) Y" w. p. O
  919. cli_server.color = On5 i# }2 \# T( o, a8 A' r
  920. ; y; B$ N1 n3 u2 t+ K2 c! o5 N7 I5 w, T, m5 ^
  921. [Date]
    * `1 j* m4 x" H% p' S8 k
  922. ; Defines the default timezone used by the date functions% E( K6 a' }7 u0 B2 k' ~! @
  923. ; http://php.net/date.timezone
    / S( I. B$ ?8 i
  924. date.timezone = PRC
    $ v" `4 D. r) ]+ F" y2 S6 k+ w
  925. 6 m6 a2 E& P* Y3 P! z) b
  926. ; http://php.net/date.default-latitude
    2 {4 o& D& p4 [1 g7 J) Z" c
  927. ;date.default_latitude = 31.7667. K9 {+ y5 m7 z& s' Q
  928. 5 w  s4 E- h, I) M( B- j0 T
  929. ; http://php.net/date.default-longitude
    ( y6 Q! |7 p; ^  f* ~4 @- n# \
  930. ;date.default_longitude = 35.2333
    0 ?- W% N' X& G- ?4 _
  931. - i& {. W0 w2 a( h1 e
  932. ; http://php.net/date.sunrise-zenith
    6 ^0 C/ Z  J, U8 s
  933. ;date.sunrise_zenith = 90.583333
    5 s0 P4 o( f& [: R  b: w$ X3 P

  934. / P, M7 S, K2 J9 R
  935. ; http://php.net/date.sunset-zenith
    ! G% U) a- t' w0 J) b; _* Q) z- A- Q7 G
  936. ;date.sunset_zenith = 90.583333
    / B3 [5 P/ j8 m* B" a) \

  937. + Y. A1 `7 t2 F* _. A3 ~/ c3 q
  938. [filter]- ]  D4 X8 O0 G7 b  p1 B
  939. ; http://php.net/filter.default
    5 T4 B* c  r# e, {7 c& ^
  940. ;filter.default = unsafe_raw
    " x2 z( M' p8 Z& E" n% |* n$ ~

  941. ) C! k' n# a/ p5 L2 @& a8 U
  942. ; http://php.net/filter.default-flags
    % B6 n  ~, o: n0 x; |, y( @5 X
  943. ;filter.default_flags =, _1 s. B' y4 s3 H0 @, U
  944. ) X9 M) _7 I' x4 S7 ~9 g
  945. [iconv]- c" W' f+ D" m4 I, T( b2 V( M
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.# }. z: M! L) O2 S
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.8 e" C$ A+ G/ N
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ; z  `6 G) z# K
  949. ;iconv.input_encoding =  v5 D% Y8 v% \) d# N% J2 u2 m
  950. 1 V' U0 z1 b* z, T! y0 x
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 Q. Q' Q5 }! Y5 P- G' m$ w
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 _8 U3 }8 g  g/ A0 @5 j: N% g7 [# }
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 R1 l9 P& f9 L2 I7 P8 _
  954. ;iconv.internal_encoding =
    7 Z" c1 q0 C( r' W; h+ Q
  955. 3 r- Z$ p" o2 G: Z$ |6 t3 j
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.8 i* d* K% I& m$ Y- V
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.5 O6 e. T% o5 p% x9 U5 q
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    . c7 Z1 Z8 `9 ?1 G* ]( q
  959. ; To use an output encoding conversion, iconv's output handler must be set
    + z9 V! k& E7 D  S
  960. ; otherwise output encoding conversion cannot be performed.
    7 P3 T1 p* S/ b  e  M) O
  961. ;iconv.output_encoding =
    % ?. ~' i' l- M) o
  962. 8 z* c2 b/ q  F; r  d, [# F; {# l
  963. [intl]
    . K, B" p: j8 ^6 y0 @/ `' m
  964. ;intl.default_locale =
    2 a/ M2 a  c* p+ U$ o. Q
  965. ; This directive allows you to produce PHP errors when some error
    % P, X( F0 B0 Z- o
  966. ; happens within intl functions. The value is the level of the error produced.. E: `/ ^& y& d. d& c0 G
  967. ; Default is 0, which does not produce any errors.+ }$ n# |* ]: [' i8 k
  968. ;intl.error_level = E_WARNING& X$ ~: B$ m0 f2 h4 m; X
  969. ;intl.use_exceptions = 0
    1 \1 L& z, x% e3 C; Z
  970. 1 @7 J6 b# ?% _- j- ^* K; c
  971. [sqlite3]
    ( {/ i% @5 i5 @- f
  972. ;sqlite3.extension_dir =
    * o5 N- F- o1 n

  973. 8 n# N. M7 @$ t% f+ k) V$ a
  974. [Pcre]
    4 n4 }3 J$ J- G, D9 b2 u
  975. ;PCRE library backtracking limit.
    * U' O4 t1 C: T  D
  976. ; http://php.net/pcre.backtrack-limit$ J6 Q# K5 F" ^% h! v) M
  977. ;pcre.backtrack_limit=100000$ t/ R4 Q$ X9 V' I9 l5 ]

  978. # l" x" @/ K4 M' }0 ]
  979. ;PCRE library recursion limit.% K' H: K( i% w- T4 @" F1 U$ x
  980. ;Please note that if you set this value to a high number you may consume all
    2 u  w7 _9 A% b$ i7 ?  A
  981. ;the available process stack and eventually crash PHP (due to reaching the1 q- f; o9 |: a7 n
  982. ;stack size limit imposed by the Operating System).
    7 M' D4 F- k$ q4 W! ^1 [8 M8 r
  983. ; http://php.net/pcre.recursion-limit
    ' }) O! V+ C" X9 K% y3 Q' M# N/ A
  984. ;pcre.recursion_limit=100000
    3 ?6 R* z1 J; W2 d2 o
  985. $ _  n" q2 k$ q3 L, v+ o$ t8 |
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    6 P- e$ ?/ S8 S9 f4 c! U( x3 X
  987. ;library to be compiled with JIT support.
    ( I& X% K/ J8 a) A+ a$ u5 \/ ^* f& ~
  988. ;pcre.jit=18 A2 H" u1 [6 [8 P/ J  r

  989. 5 t" R; ^2 G- G! @. R, @; E. `
  990. [Pdo]4 H9 q0 o/ Q4 |
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    + v* N. G2 A0 c+ a/ z
  992. ; http://php.net/pdo-odbc.connection-pooling% f! [, H; O; ^, t! x5 t
  993. ;pdo_odbc.connection_pooling=strict
    3 ^% F* ?3 s# j2 V( g! F

  994. 3 W$ H, q3 O0 V' n# W2 e
  995. ;pdo_odbc.db2_instance_name
    3 D( l+ ?- _9 _* u5 u+ J5 W
  996. / J- X( Z+ H- @. ?/ W% J" O7 o
  997. [Pdo_mysql], j9 w( W2 p7 N" R, Z* g- V1 g
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 N9 M* h* \6 B4 T/ ~; z
  999. ; http://php.net/pdo_mysql.cache_size
    0 ]1 l6 r! l  ?  d' x4 @
  1000. pdo_mysql.cache_size = 2000! g/ X7 V3 C7 x; M) e/ {/ G
  1001. 7 w4 c% x' a9 G$ l) k$ y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " H6 [, b) k7 @" F
  1003. ; MySQL defaults.8 U2 ^: H: [5 `  ~: b9 @/ ^
  1004. ; http://php.net/pdo_mysql.default-socket: \$ @% I$ i7 C& T! U' s0 d7 s
  1005. pdo_mysql.default_socket=
    . y# A5 j+ u5 ?- ~
  1006. 0 }1 t& D  z" b# _9 v7 m5 i
  1007. [Phar]/ _2 q* g. w3 }$ `' x3 y
  1008. ; http://php.net/phar.readonly
    / o% m! G, u4 I* x' K
  1009. ;phar.readonly = On
    % _# z8 {8 t2 b: L* P# H
  1010. * o6 g' R* f, q2 j) p* s. n/ f
  1011. ; http://php.net/phar.require-hash3 }" Q$ X/ ?3 Y6 G) [4 h; j; ?
  1012. ;phar.require_hash = On
    4 T5 d8 d/ X, ?' a  W! S, \
  1013. 3 Q4 J/ L9 b! ~7 j( `: P
  1014. ;phar.cache_list =
    ) T( b' d1 M2 s4 G( i% n) L0 f

  1015. 2 m( A2 y4 q" }8 ^# g
  1016. [mail function]
    , ]* X+ [5 S1 C
  1017. ; For Win32 only./ k$ }/ H/ y& L, {
  1018. ; http://php.net/smtp5 V5 U! l, `  r* r6 M
  1019. SMTP = localhost: S0 S9 g. n5 l6 o7 }2 m) ]
  1020. ; http://php.net/smtp-port
    # }+ @- y# h5 t: |4 J
  1021. smtp_port = 25
    " {  i2 O5 B6 ^( a3 b% ?4 K
  1022. 4 e( D. e# Y; _, i
  1023. ; For Win32 only.
    ; |2 V5 n  _; I& v# h/ }
  1024. ; http://php.net/sendmail-from
    ! e& o% |) R. W# }
  1025. ;sendmail_from = me@example.com4 E4 r: ]9 H/ S3 i: X* ^" L

  1026. # d8 d3 H) Y5 ^* @# o$ A
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / S  a7 Y' Z7 Y  }3 b1 J8 S/ Q4 |
  1028. ; http://php.net/sendmail-path
    , c: y6 F, [1 u+ S5 V1 x( _
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    3 Y( [" P( @, T( [
  1030. , y" o3 H+ O& ]( V
  1031. ; Force the addition of the specified parameters to be passed as extra parameters/ U8 ]' B7 ?6 Q! h3 R/ A
  1032. ; to the sendmail binary. These parameters will always replace the value of
    3 M0 i2 d/ W7 _5 E2 v4 k8 \% x
  1033. ; the 5th parameter to mail().
    3 R' t: `# k3 E
  1034. ;mail.force_extra_parameters =
    ; @+ I" m8 ]; n" V' _" u3 B/ d

  1035. % y- N9 C! p7 A0 h$ ~, E
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ) [( j1 ]$ r( J7 [" I
  1037. mail.add_x_header = On
    " V% J7 q& l) a, `# i
  1038. 9 n- P$ r3 c  y0 ]' A9 F5 i' h6 ?
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    - R, d# r2 ^* T8 s3 y
  1040. ; the full path of the script, line number, To address and headers.& q0 @& |0 S" z% h1 A
  1041. ;mail.log =4 Q$ }/ T! D7 Q( q$ _' r
  1042. ; Log mail to syslog (Event Log on Windows).
    $ f: q4 j, O, ^' q7 f1 q# y- T" O1 p5 l
  1043. ;mail.log = syslog, N2 _6 d1 {( {( W# n5 }
  1044. - N+ X0 P2 `* t9 M" U
  1045. [SQL]
    & `' U5 n$ {& s6 w2 j0 D* E/ e
  1046. ; http://php.net/sql.safe-mode
    , b, h" l# F% Z7 I% @+ {
  1047. sql.safe_mode = Off
    " n) b+ U  N% f4 f( ]! `9 n: @6 ?- f

  1048. ) f9 G. }- L# L
  1049. [ODBC]8 f9 p% }! Q: d0 R: W+ E4 D
  1050. ; http://php.net/odbc.default-db
    - v3 \% }1 q  u# e
  1051. ;odbc.default_db    =  Not yet implemented
    ; u9 O- Q1 b2 t% q1 W& O) ^8 ~
  1052. ' t! H6 }) ?. X9 N$ F6 ?7 I9 q
  1053. ; http://php.net/odbc.default-user, p1 B* J0 n5 U0 Z  B% \
  1054. ;odbc.default_user  =  Not yet implemented
    * b! C; e. P' h

  1055. 3 ]: c* v$ z2 g- T2 l# m
  1056. ; http://php.net/odbc.default-pw
    6 {9 q" g6 D+ i4 h  [
  1057. ;odbc.default_pw    =  Not yet implemented
    6 T3 t- _+ s' ]

  1058. . l9 d; w6 v8 ?
  1059. ; Controls the ODBC cursor model.4 x, }2 K5 Z( C7 a, l7 Q1 w' t
  1060. ; Default: SQL_CURSOR_STATIC (default).1 P% |! a- k8 M1 [9 N/ Z
  1061. ;odbc.default_cursortype  @! U0 n2 T/ C& f

  1062. . B/ `4 X% ?% K% `8 C
  1063. ; Allow or prevent persistent links.
    + b8 I4 o; [/ ]  c3 [; `; V
  1064. ; http://php.net/odbc.allow-persistent1 _" h! T" G* G
  1065. odbc.allow_persistent = On
    2 P# q  q% @* b: C
  1066. 6 E# B" Y3 v* l7 A
  1067. ; Check that a connection is still valid before reuse.
    1 C8 s& m* g0 Q9 v5 _3 F
  1068. ; http://php.net/odbc.check-persistent8 e) b& x* j$ j' b2 G4 f0 w! G
  1069. odbc.check_persistent = On# S  M, p) ~) ^. A

  1070. ! F7 |# M1 Z4 J6 D& ^
  1071. ; Maximum number of persistent links.  -1 means no limit./ y3 U) ]+ ]( i) o- A
  1072. ; http://php.net/odbc.max-persistent* S- F( ?5 I4 [9 Y: M  _
  1073. odbc.max_persistent = -1
    ( ]( v& [) ^" J" g) S- Z3 s

  1074. - v. r" o2 d# ^* p  ?
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 l$ L1 k$ U) O# B2 t
  1076. ; http://php.net/odbc.max-links% Y0 {4 g+ i; \" m
  1077. odbc.max_links = -14 y7 Z5 |8 D( }- D( Y
  1078. 5 d& ~/ s( {! D# g% B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( c/ Q$ O8 p) P5 x! L' z
  1080. ; passthru.0 B. T" B* Y6 v. s0 v- |, W7 N2 n
  1081. ; http://php.net/odbc.defaultlrl* q! O# O' u. H$ X* ]/ T
  1082. odbc.defaultlrl = 4096, g9 H3 H9 |1 Y+ F. f
  1083. 3 {: u: Q: l$ l0 ]/ r1 C" @7 z& ?
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 I/ a' |3 x8 s2 [, |
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / E3 `8 V$ @: W) k
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 ~6 l2 F5 m$ h1 V
  1087. ; http://php.net/odbc.defaultbinmode
    1 _: s5 Z1 A$ g# n1 A7 p
  1088. odbc.defaultbinmode = 1  Z" ~. z3 t# S

  1089. / e6 R2 Y  A# z/ M  l- o
  1090. ;birdstep.max_links = -19 }: a& Z4 ]2 [4 g+ i, Q

  1091. 3 H+ `# ?" }" p2 s, Q$ f
  1092. [Interbase]
    6 n2 Y: e% S, @) O" D# _! y
  1093. ; Allow or prevent persistent links.
      Y; L$ g& Z" n; S2 b
  1094. ibase.allow_persistent = 1
    ) t# A' `4 `& N+ k. ?: I( p3 T

  1095. : O  r. W3 k0 S
  1096. ; Maximum number of persistent links.  -1 means no limit.
    3 E& x# O/ x7 L9 E- I, x4 A. F
  1097. ibase.max_persistent = -1
    % V' d2 W( A; X7 J

  1098. $ g/ I% X- G1 U2 H- S- [- R) R
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 v$ \( e: k& F$ i* `3 k
  1100. ibase.max_links = -1/ o( s6 ~( v$ D2 R1 v
  1101. 0 p5 o; ]; S; O! P: P7 |+ N; g
  1102. ; Default database name for ibase_connect().; z: L2 P' U) B( P2 u* }8 {( o
  1103. ;ibase.default_db =; ]! o. ^. }! @, r4 M7 o

  1104. ( S  {. {# |. k( M4 J
  1105. ; Default username for ibase_connect().
      N' U' f/ j& Z! @  y% w8 A, @  u& k
  1106. ;ibase.default_user =
    4 z# I3 m6 x/ j3 K2 w0 @
  1107. ; e0 g1 }; I/ I) g8 P0 ?
  1108. ; Default password for ibase_connect().; g$ D. b1 [8 r" c  M8 I! F
  1109. ;ibase.default_password =. T/ g& i6 m' d3 R" A; F
  1110. 7 R5 u; D; P+ |. Y
  1111. ; Default charset for ibase_connect().) P" ?) l! r; S3 \2 v9 y" ~
  1112. ;ibase.default_charset =  c, d3 e& ?6 F* h' v
  1113.   b$ Z( V/ f1 P% @: F% t
  1114. ; Default timestamp format.- e" n4 g& k+ A$ W  t, G
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    3 @1 G9 F) b5 b5 a
  1116. 6 n# d0 L, z) k3 d
  1117. ; Default date format.
    . l3 u* H" V6 V
  1118. ibase.dateformat = "%Y-%m-%d": L0 i& Z1 ~3 ^$ q# |

  1119. 0 ^3 K- Z( I  w4 C' ^# S7 k1 T3 O  z
  1120. ; Default time format.5 E% s% y, ~1 s7 e
  1121. ibase.timeformat = "%H:%M:%S"
    9 N& f8 ?$ e& z/ r- a6 E# e; N7 n
  1122. # B% R% i, E! c8 |6 C) }
  1123. [MySQLi]
    / M/ U0 f- k" V& D0 l. `2 R  W
  1124. 2 C( \0 b% p" A  O/ I" r) U
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ! n4 E$ ?5 i) `$ D1 Y
  1126. ; http://php.net/mysqli.max-persistent8 ~  c1 l) ~4 |) j
  1127. mysqli.max_persistent = -11 d0 k4 U# C2 W; a$ T6 f* a+ f
  1128. ! T; F6 B% h% ~" ~
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! M9 g# X8 J& k& E, C* \: Y
  1130. ; http://php.net/mysqli.allow_local_infile; {, ^- t  f8 _2 K, {
  1131. ;mysqli.allow_local_infile = On
    5 k4 Z" _( S0 G. z! p$ V1 j+ h

  1132. ! v" z8 F" e: `2 M4 T
  1133. ; Allow or prevent persistent links.
    # C% C& A+ O" W7 X, R
  1134. ; http://php.net/mysqli.allow-persistent6 ^& A5 _" N3 u- }
  1135. mysqli.allow_persistent = On/ ^1 p) N5 l9 H9 w& n

  1136. $ u3 U$ }6 a' F. A8 a$ }. z) \% d3 `
  1137. ; Maximum number of links.  -1 means no limit.) q& v, C" Y" p* @9 R
  1138. ; http://php.net/mysqli.max-links/ o2 t+ }. x, c" s
  1139. mysqli.max_links = -14 q: b6 K) a- Q& U+ n! a& w  B) F, j0 U
  1140. 7 D7 i+ \9 U# o: T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 {- ]( ?% f  M  O. t1 M
  1142. ; http://php.net/mysqli.cache_size0 ^8 _) W& d$ }- e( g7 `2 J* t/ ]
  1143. mysqli.cache_size = 2000! K7 B( m' j" U4 D
  1144. & G) U; w4 |9 [* _& v2 w: n1 w7 R$ L5 u
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use! N4 e8 @; O& Q. {) f8 P' e
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 d8 n) a' w) k9 l, x% R
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ c! o6 R3 q! W  p
  1148. ; at MYSQL_PORT.) O. i3 s3 k" F8 m0 A
  1149. ; http://php.net/mysqli.default-port
    * u% k6 `' P/ W) g5 N6 p& Y6 W# f
  1150. mysqli.default_port = 3306
    & H; w) i/ n. ~% Y
  1151. " x6 A7 w5 w+ M, I6 Y, m5 o
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 ]& W& b, Y/ P( ?7 i  m: D+ V! S
  1153. ; MySQL defaults.
    5 ]# I/ H" @4 m, S: l2 ^
  1154. ; http://php.net/mysqli.default-socket
    - J* S7 a/ s+ F! f7 s* ^, T! P
  1155. mysqli.default_socket =% c" W. s8 N0 d
  1156. # x5 N. @) Y9 ~
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).; i% z8 Z9 H5 D( Z. A. s* R+ C; F* V
  1158. ; http://php.net/mysqli.default-host
    / h6 g5 l3 I4 k
  1159. mysqli.default_host =
    . j- x, l0 B7 t6 |7 v* F
  1160. 4 U" L$ A3 _: W" l2 G
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).8 c+ C4 }6 @+ j$ k* D
  1162. ; http://php.net/mysqli.default-user3 `+ x* G) f. q' L# U
  1163. mysqli.default_user =
    # @8 {9 G! m5 I: Y

  1164. * o' }. z; J" Q: ]! E" ~- `
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. f( ?. j0 T+ M+ n# ~
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    # A7 ]6 x# ?- g! r
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")! b& W# l5 Q9 C! F( H
  1168. ; and reveal this password!  And of course, any users with read access to this) `+ Y7 `! m3 Y# `* J5 ~( V
  1169. ; file will be able to reveal the password as well.
    " K9 y3 i- U9 B; x  ^3 D
  1170. ; http://php.net/mysqli.default-pw
    + X7 T& h9 N2 I1 ?# \, R( `4 C
  1171. mysqli.default_pw =
    2 w* a/ b% ?6 ?& B3 }
  1172. : j2 o2 ?5 @$ ?3 A* s" Q( F. J
  1173. ; Allow or prevent reconnect
      {0 {0 W. F( f0 \5 ]
  1174. mysqli.reconnect = Off
      V* I( w3 g3 Y+ Z  u
  1175. 9 X- i9 E) x& c/ ?; {
  1176. [mysqlnd]
    ; h+ x& S- F$ c
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    : G8 t4 `5 t- f. `
  1178. ; used to tune and monitor MySQL operations.* k4 T5 Z3 W4 G, d6 I
  1179. ; http://php.net/mysqlnd.collect_statistics
    2 |$ J7 l: |0 t" e6 ~' y9 t- ^
  1180. mysqlnd.collect_statistics = On
    + V2 F+ W7 e, t0 a8 b. I+ V5 ]! J

  1181. 7 M& [# l: a2 E; t& h! _+ N, v
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 L7 u1 T% m# U1 ~* |, {" B/ C. m9 N
  1183. ; used to tune and monitor MySQL operations.
    + [' K% f4 M4 D  o8 p
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    4 `8 Z: e; q' D/ d& V1 Z
  1185. mysqlnd.collect_memory_statistics = Off5 u/ _. H9 j, w1 M6 g

  1186. 1 z+ C; H: c4 {5 r# i
  1187. ; Records communication from all extensions using mysqlnd to the specified log5 I. k* N* f0 U
  1188. ; file./ K) f! o8 {+ ~2 F
  1189. ; http://php.net/mysqlnd.debug1 z7 H4 c1 D( _7 j- l: i: C& W; K% |
  1190. ;mysqlnd.debug =1 b0 D( r1 R* N2 o( N
  1191. # x7 J: ]6 s$ t, _
  1192. ; Defines which queries will be logged.
    ) \/ z, X. d# m# ?
  1193. ; http://php.net/mysqlnd.log_mask7 ]) {! R% s# X5 D
  1194. ;mysqlnd.log_mask = 0+ O0 Y! i9 {' T) V0 r: K" {7 e
  1195. 5 c) f# _' B% P% N$ n5 Y3 V( r
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    0 r/ X2 j0 v: _, A2 P8 h9 y
  1197. ; http://php.net/mysqlnd.mempool_default_size
    $ E- }1 }9 C" i1 T. n  W& x3 H
  1198. ;mysqlnd.mempool_default_size = 16000
    2 P+ Q5 u4 F, @6 l& ^+ t2 o
  1199. - c! [- b3 z+ q0 L, m+ B. g
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.1 j  m6 s" B+ N% ?/ z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size  o; b5 d/ c( g5 Y
  1202. ;mysqlnd.net_cmd_buffer_size = 2048+ {. \& _; M" l/ N2 X3 {7 V% B

  1203. . Y! ~; f3 G. Y& O' Q5 ^. F
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 `  W* B/ Z0 n" i
  1205. ; bytes.
    / R1 g4 j0 r3 l! ?  s0 [
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ) S* a0 B9 V8 `9 N. [
  1207. ;mysqlnd.net_read_buffer_size = 32768) x2 m" ^6 n7 U4 ?/ K6 H4 m9 b6 F
  1208. 8 `' z! N' P' U3 x! ^+ r
  1209. ; Timeout for network requests in seconds.
    7 h  I6 \( A# L, w- T/ T: Q5 p
  1210. ; http://php.net/mysqlnd.net_read_timeout
    1 u6 ~# F; ?  R$ F
  1211. ;mysqlnd.net_read_timeout = 31536000
    2 o6 H7 l% o) ?! s8 q
  1212. ) I* z3 P( [4 h5 Y9 Y" d4 M0 n6 Y5 F) _8 j
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ s: [' a4 c8 @$ B
  1214. ; key.9 B4 i# n) w! q1 B5 o: A
  1215. ; http://php.net/mysqlnd.sha256_server_public_key. o+ [) s; M5 h- U% H: M
  1216. ;mysqlnd.sha256_server_public_key =
    6 g6 q4 ~! [' F
  1217.   z# p% k+ U) Y
  1218. [OCI8]; ?; z6 O2 D; P  B( W5 g7 D
  1219. 4 t" H, R0 c; V8 P+ N+ [' I
  1220. ; Connection: Enables privileged connections using external+ z* {5 ~- u- s& c
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 C4 t  f1 ~2 n0 R" h4 {7 O
  1222. ; http://php.net/oci8.privileged-connect
    # H* F, @/ Y( P
  1223. ;oci8.privileged_connect = Off
      D+ C4 m$ U% r/ j$ ?/ P

  1224. / M# h( z2 ?; k6 y( r# j
  1225. ; Connection: The maximum number of persistent OCI8 connections per5 }! ]1 ?- E3 i# l
  1226. ; process. Using -1 means no limit.
    - J9 d7 `" Z) j1 L: m
  1227. ; http://php.net/oci8.max-persistent$ C, D- N/ Y' R6 g7 e! R7 H
  1228. ;oci8.max_persistent = -1% a& _0 u+ l/ I9 h. |& A, s7 K

  1229. * E) h+ @$ y* M- }+ a; ^. M
  1230. ; Connection: The maximum number of seconds a process is allowed to
    * t' b: G* Z# o. Z) w# Z
  1231. ; maintain an idle persistent connection. Using -1 means idle, j; y# I: Z# r! y
  1232. ; persistent connections will be maintained forever.7 a# ~3 D4 t4 m7 d. ]9 _" q) e
  1233. ; http://php.net/oci8.persistent-timeout" E( }' i4 y7 W. {
  1234. ;oci8.persistent_timeout = -1
    . I# ^+ F3 g" Z, E

  1235. % I' t/ f' n8 ^* O7 ^' w% B4 C
  1236. ; Connection: The number of seconds that must pass before issuing a
    $ N( {1 x" p& g
  1237. ; ping during oci_pconnect() to check the connection validity. When# w; Q$ d1 X! q" E5 b
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * E# x) S- o4 @; Y$ R6 y' P5 l" _
  1239. ; pings completely.8 u) u, ]  t! {: k( q0 `6 {
  1240. ; http://php.net/oci8.ping-interval
    0 K# t: ], m; D3 o! m* d$ t
  1241. ;oci8.ping_interval = 60( W' h, S8 F# v* R
  1242. ' i0 q+ s; m. f/ Z
  1243. ; Connection: Set this to a user chosen connection class to be used* n# _  z+ h' s  _3 D
  1244. ; for all pooled server requests with Oracle 11g Database Resident+ b) l! p8 @) [
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" L& @0 p' _8 o+ m1 `
  1246. ; the same string for all web servers running the same application,4 [8 H9 R3 N/ B
  1247. ; the database pool must be configured, and the connection string must
    7 C! y! p! K. \# c! r
  1248. ; specify to use a pooled server.6 |( Z: {0 q' r% e4 y6 E: T  p- d
  1249. ;oci8.connection_class =+ |0 K* z! y) @8 b8 F6 Q9 O

  1250. , k/ g% {* R: b
  1251. ; High Availability: Using On lets PHP receive Fast Application) N; [6 b! E' ?4 J- D2 E6 @3 e
  1252. ; Notification (FAN) events generated when a database node fails. The
    ( M5 v2 Q/ b% g: F4 m
  1253. ; database must also be configured to post FAN events.
    5 a) ~. W$ w' ^% c7 q5 i3 }
  1254. ;oci8.events = Off0 M( Z) j) Z0 q. x! l+ A) a0 w" A6 n
  1255. + `( ~& W3 A6 l
  1256. ; Tuning: This option enables statement caching, and specifies how
    % X+ i5 x  G) F" P, G6 `
  1257. ; many statements to cache. Using 0 disables statement caching.
    0 S' t% n2 z" x) B: S
  1258. ; http://php.net/oci8.statement-cache-size+ K$ F" a% @+ V# q. i5 f
  1259. ;oci8.statement_cache_size = 20
    ; H/ p- D9 ]7 u! B! t: g/ e5 D1 j

  1260. ' V4 a$ g- y% J
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 I5 c' l+ w5 J1 }# {: j' |6 @
  1262. ; rows that will be fetched automatically after statement execution.
    , F3 w3 W( w2 Q% u) x
  1263. ; http://php.net/oci8.default-prefetch
    / W% X- s7 M5 F# S" T. l& S
  1264. ;oci8.default_prefetch = 100
    7 h2 ^% [) {! l) L/ m% D4 O

  1265. 8 i6 l6 y$ _6 L0 C0 a/ Z) X5 W
  1266. ; Compatibility. Using On means oci_close() will not close' V3 ?1 w) `3 L- J1 ]( c" o6 p- K
  1267. ; oci_connect() and oci_new_connect() connections.( W( o/ Y' }/ M% J
  1268. ; http://php.net/oci8.old-oci-close-semantics
    4 ~" Q: v$ z" d) P
  1269. ;oci8.old_oci_close_semantics = Off
    ; Z5 o" W8 c7 W7 ~) H" L0 a
  1270. 0 K4 E! e1 L5 Z) P2 F9 Q. M
  1271. [PostgreSQL]; b" ^- K- c# l; |
  1272. ; Allow or prevent persistent links.
    % X1 B  p3 R3 N5 C3 ^- |7 `
  1273. ; http://php.net/pgsql.allow-persistent
    ' w: I7 S3 `* O
  1274. pgsql.allow_persistent = On
    # S# q1 Q8 F! W' D" R7 p
  1275. & S7 o4 o: r: j2 g) H
  1276. ; Detect broken persistent links always with pg_pconnect().& f, D$ k: O4 n0 i/ R
  1277. ; Auto reset feature requires a little overheads.
    4 d6 q' J3 ]. W) x( D/ h
  1278. ; http://php.net/pgsql.auto-reset-persistent
    $ O7 z/ A2 {' y2 I
  1279. pgsql.auto_reset_persistent = Off
    3 S" F3 f+ q' L, i8 F# h# t- r% Q
  1280. : Q8 _. q1 N3 c. _  F% w6 g( O
  1281. ; Maximum number of persistent links.  -1 means no limit.
    4 d" S& s+ J: m# Q
  1282. ; http://php.net/pgsql.max-persistent
    * e, ]% f* x8 Y) Y
  1283. pgsql.max_persistent = -10 q. q7 `' o& `! @8 N" F

  1284. ' W7 b* k) E! Z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' ?0 o" y5 a- B/ S7 A9 C: P
  1286. ; http://php.net/pgsql.max-links
    $ j& U+ o  y$ o3 V. ?/ s
  1287. pgsql.max_links = -1
    0 O4 S" x  n" |$ E& t0 h6 t5 a

  1288. * a, Q/ Q4 o" ~" s& j
  1289. ; Ignore PostgreSQL backends Notice message or not.2 |9 w' z0 u" g/ q# K
  1290. ; Notice message logging require a little overheads.- q# t1 c' j- z
  1291. ; http://php.net/pgsql.ignore-notice
    4 E/ G' X  n: O* u4 Q
  1292. pgsql.ignore_notice = 0
    # g) i1 z" F; ?2 Z
  1293. 4 G3 S5 }" f* ?6 ^. P
  1294. ; Log PostgreSQL backends Notice message or not.
    " F; Z; u( m2 x, K
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    & X8 W$ w1 \! a2 @% ?/ v& G
  1296. ; http://php.net/pgsql.log-notice$ C& @0 T5 }9 n; B0 e* E8 V; G
  1297. pgsql.log_notice = 0
    + u% I" s6 [, V& @

  1298.   i0 }7 b6 D( B7 R8 N
  1299. [bcmath]" n& y4 B* m7 J. Y( r- j
  1300. ; Number of decimal digits for all bcmath functions.! s  e* j9 Q7 v! u, T
  1301. ; http://php.net/bcmath.scale
    1 F3 B9 t0 A; k
  1302. bcmath.scale = 05 p1 j" j/ P9 t9 U4 j8 F+ h  v

  1303. + U2 I1 \( H- l
  1304. [browscap]
    0 M7 P. Q8 E" b- g! {
  1305. ; http://php.net/browscap
    ; _( I# `5 f/ P/ W
  1306. ;browscap = extra/browscap.ini
    " l4 P+ e3 L$ _% b6 k

  1307. $ d! `5 }+ `9 j$ b& C
  1308. [Session]4 l. v7 C9 |0 V1 g
  1309. ; Handler used to store/retrieve data.
    - J3 P- B/ s* l2 F% v: ~
  1310. ; http://php.net/session.save-handler
    ) _- t, M1 J/ j( P# A
  1311. session.save_handler = files
    & U# D" G) C& F0 g
  1312. * n" s' p' Z1 v1 F- G$ \+ Q) I
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    9 L) l" X4 Z/ T7 x" s, h+ B
  1314. ; where data files are stored. Note: Windows users have to change this
    ( J; o" o# i+ G; e
  1315. ; variable in order to use PHP's session functions.! l, f5 C$ z) R3 k/ ]3 T, S
  1316. ;6 c, [/ \( P( [
  1317. ; The path can be defined as:
    8 K; r6 M: C! ^
  1318. ;$ l8 {- g- p( s0 y: q5 O9 E
  1319. ;     session.save_path = "N;/path"8 U; l- {9 s  {. O
  1320. ;
    2 Y# K3 q, b; X. N7 y- R' }
  1321. ; where N is an integer.  Instead of storing all the session files in
    , B5 Z0 F2 ^5 ~8 @! Q: t+ m: q
  1322. ; /path, what this will do is use subdirectories N-levels deep, and! |4 c, K2 |! U+ L7 y; ?
  1323. ; store the session data in those directories.  This is useful if- F* S. q9 Q! X" b* D* D
  1324. ; your OS has problems with many files in one directory, and is
    7 z4 Q# E+ f3 _3 ]0 N1 Q0 c! H0 J- Z# _
  1325. ; a more efficient layout for servers that handle many sessions.
    & R9 k  {4 D0 Y' |5 T# u% Z# P
  1326. ;
    0 M4 U" ]0 c+ o6 O' r
  1327. ; NOTE 1: PHP will not create this directory structure automatically.7 |2 Z: S6 R) V  }/ S
  1328. ;         You can use the script in the ext/session dir for that purpose.! ]) m) G1 L* |
  1329. ; NOTE 2: See the section on garbage collection below if you choose to" H6 D- W" B8 I( c: [& ~; r
  1330. ;         use subdirectories for session storage
    . {7 k: L, }" y. R$ q
  1331. ;7 e3 M/ ~# z+ i% y. e! z/ J4 |
  1332. ; The file storage module creates files using mode 600 by default.
      a2 _" x: }" [, A2 T+ u
  1333. ; You can change that by using
    4 Q- B4 K# M3 F4 v
  1334. ;
    ' ~5 E8 Y9 a! M/ U4 t5 ], s
  1335. ;     session.save_path = "N;MODE;/path"
    9 }4 d8 f5 Q  q
  1336. ;& R1 Z7 G5 W% `; E# p
  1337. ; where MODE is the octal representation of the mode. Note that this+ P/ Y" j! \2 W" F& D6 ?* a2 h
  1338. ; does not overwrite the process's umask.
    + z" O# q; N( T
  1339. ; http://php.net/session.save-path
    9 X/ s0 t$ g0 [( J% G
  1340. ;session.save_path = "/tmp"
    5 K( q2 I* D1 B
  1341. 5 W# w" K/ Q! @0 o8 u
  1342. ; Whether to use strict session mode.% T7 b( L* k& p( K# i! F
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 k# D) M+ j$ B! Y
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    3 f& p( i. J4 T9 k
  1345. ; applications from session fixation via session adoption vulnerability. It is; M. E. o3 x" D: ^, B
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    7 k& b0 h2 W- b. T
  1347. ; https://wiki.php.net/rfc/strict_sessions
    + Z' M3 C& \. F7 I: ~, O
  1348. session.use_strict_mode = 0" q1 J' x  E, X0 V% S: u# E* w# w
  1349. & D- [$ E2 g- z2 P: H6 A3 F% h2 }
  1350. ; Whether to use cookies.8 a0 l4 p6 N" `0 v2 {; F
  1351. ; http://php.net/session.use-cookies
    : ~6 d. I7 s! M# n/ Y6 w( G
  1352. session.use_cookies = 1
    , W: S7 R0 L$ o8 p4 Y
  1353. + n! Y& R; }7 ~$ `' S; Y. u
  1354. ; http://php.net/session.cookie-secure
    1 A6 j6 B% s3 r8 H& M6 v( G% n
  1355. ;session.cookie_secure =# y: e3 {0 b6 _7 d+ r9 F( p

  1356. 0 E( g- s9 U8 I2 r" ^
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining6 U. f. t1 e: \
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    " R: e4 ?6 ]1 d6 o6 z2 c* X/ V
  1359. ; session hijacking when not specifying and managing your own session id. It is
    * i" a* q, D1 g" F7 {. `
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.9 g$ t4 z; j% m+ l! _
  1361. ; http://php.net/session.use-only-cookies
    ' U/ R7 T2 J- N+ A/ \/ |! q
  1362. session.use_only_cookies = 1
    ) ~. A* g3 j+ C" n

  1363. ) H4 ~. C, X3 J
  1364. ; Name of the session (used as cookie name).
    : W1 h3 b" ^' h& b8 o
  1365. ; http://php.net/session.name8 r5 B% X' m; n
  1366. session.name = PHPSESSID
    9 p" |6 Q9 Y$ O+ M( [9 j* ?
  1367. 6 U# P6 }$ b9 F
  1368. ; Initialize session on request startup.+ j7 e5 C  `7 p1 Q
  1369. ; http://php.net/session.auto-start
    8 k* y/ j! C* P5 u  {
  1370. session.auto_start = 0
    ! I# g! O6 l9 m' p+ N: m

  1371. 5 ^/ P- a- \( w* |' B, D- N7 ^
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.$ `, d+ l+ e# _* I
  1373. ; http://php.net/session.cookie-lifetime
    5 s" X8 r  o/ \% R
  1374. session.cookie_lifetime = 0
    ( C. _6 ^5 W( X( S# L& Z: E
  1375. ) k2 [0 u5 q7 H! X& w. `
  1376. ; The path for which the cookie is valid.
    ( p4 H, _/ T: [4 J5 i' O% h& B
  1377. ; http://php.net/session.cookie-path8 b* P' o$ M- S( e
  1378. session.cookie_path = /4 v  w4 ~+ K$ s4 G- i$ w! Z

  1379. 7 x- b' P/ H$ @- ^/ I3 h. N
  1380. ; The domain for which the cookie is valid.
    ; x; s. Y! R' Q3 Q# l6 D2 h. D
  1381. ; http://php.net/session.cookie-domain
    ( f" r  \6 }6 q. K
  1382. session.cookie_domain =( j6 a, W# b, E
  1383. - Z$ T# X8 _. t3 f1 z0 j* O7 t
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! A; K/ n" z# P% g8 _
  1385. ; http://php.net/session.cookie-httponly" A; B! j: v: p* x* F1 n- |- L
  1386. session.cookie_httponly =$ n/ ]% @- @7 E* e
  1387. ( Q; W" C9 B/ F5 ~7 M
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.) G/ Z  a. ^3 {% s- \4 M
  1389. ; http://php.net/session.serialize-handler  d# Z4 p( ?+ e* b$ t
  1390. session.serialize_handler = php# U! C/ G  J1 q

  1391. : G* ]" I$ i# B$ y3 y" F6 V9 m
  1392. ; Defines the probability that the 'garbage collection' process is started8 T! V. k( p0 x5 W
  1393. ; on every session initialization. The probability is calculated by using' v; O. O7 ^+ u0 M
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    " S! w4 b: T6 u
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # M& X. \- I' V& \% L( o4 C0 [- O
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  u# M* i8 I$ p9 N
  1397. ; the gc will run on any give request.* a; U; ^; R6 k# D3 @
  1398. ; Default Value: 1% K$ P& y9 y9 J; n! c
  1399. ; Development Value: 1
    ; {7 g# k+ |. \& X+ J: r1 ^& n2 D
  1400. ; Production Value: 1
    ; `# l& E2 M, W2 f* K6 c
  1401. ; http://php.net/session.gc-probability
    + m! j2 V3 Z0 t, H
  1402. session.gc_probability = 11 g* p6 L; `/ ]  b6 x. Y% V

  1403. 8 r: T, s8 ?$ x9 b2 P" N
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    9 t2 v) ]* x/ M4 Y
  1405. ; session initialization. The probability is calculated by using the following equation:
    ' J, H1 ]% Q* D4 V1 H+ l/ s
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and/ s! `( y# v' @
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1, U. K$ l5 }) w+ m
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) O# R' H2 w8 r: C2 i8 p
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you3 Z# j) p+ B% \1 {0 K
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    & E) s: d' `0 e2 k' Y9 I- J7 [
  1411. ; this is a more efficient approach.* K8 B, a/ J" W1 m; d5 \1 T3 T
  1412. ; Default Value: 100
    ' ]: h' I2 L( g2 B. ^4 s9 x
  1413. ; Development Value: 1000
    ! P- Q( ^" b0 M/ `2 d
  1414. ; Production Value: 10009 M% F- w' a  T4 t8 W* n
  1415. ; http://php.net/session.gc-divisor. k2 d/ d3 q& T  w
  1416. session.gc_divisor = 10003 F# H" ~1 b# @- Z% z% e. c
  1417. 5 d9 T0 P$ H: m8 F: J+ H8 ^: d7 b
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and% p  _  s, v3 [1 r, k6 Q" Q
  1419. ; cleaned up by the garbage collection process./ w* D) L; P3 c" g9 N: Q& y' L
  1420. ; http://php.net/session.gc-maxlifetime2 X7 m- }# U1 |. c; U" v
  1421. session.gc_maxlifetime = 14407 ~5 _# [$ H* _3 q8 i
  1422. 4 X* ?' [, p8 P- C* Z
  1423. ; NOTE: If you are using the subdirectory option for storing session files5 r8 f; S' G% w8 P0 L2 s( N
  1424. ;       (see session.save_path above), then garbage collection does *not*: \% v0 `! W0 w8 q& ^) w
  1425. ;       happen automatically.  You will need to do your own garbage0 x, B3 G, p3 |
  1426. ;       collection through a shell script, cron entry, or some other method.) z  n8 J- x$ w* o8 g+ ?7 R
  1427. ;       For example, the following script would is the equivalent of
    4 t2 G- w; _: q- E4 z. Q9 R9 D/ p
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    7 ^4 Q+ J! X9 S8 B2 A. v. R
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    - ]' e6 ?( r" x7 ?- f+ d. t. K/ T
  1430. ; N. X6 L9 H. [6 v% }4 W
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 F* r! D3 P, r4 B+ g/ T
  1432. ; HTTP_REFERER has to contain this substring for the session to be4 `4 z" T; T9 R( L
  1433. ; considered as valid.3 `$ i% K# f# P; \0 D8 t# D
  1434. ; http://php.net/session.referer-check) b: ~3 X: V' y: e( }2 b
  1435. session.referer_check =8 i9 j& O4 }% t6 ~) u" S& r7 i4 M

  1436. ; U  I' @* O7 S
  1437. ; How many bytes to read from the file.
    4 P* E) O5 T. R& B$ y
  1438. ; http://php.net/session.entropy-length. k. E  m0 \2 |2 W; }8 G
  1439. ;session.entropy_length = 32( F. D: K( ^/ P
  1440. 1 n1 H$ S$ E0 I* U# N, x3 b/ N! I3 H
  1441. ; Specified here to create the session id.
    * I# f2 x7 E  i: R/ a$ E7 t! r
  1442. ; http://php.net/session.entropy-file2 t) t( k, Q0 ]/ g- r8 F
  1443. ; Defaults to /dev/urandom
    3 a- _1 i6 J3 `7 j  s
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    6 F. B, U+ a) j* F* Z( m! T& `% [
  1445. ; If neither are found at compile time, the default is no entropy file.
    . E) d, N7 |! ]+ z
  1446. ; On windows, setting the entropy_length setting will activate the
    % i& ~% n4 g; L4 V3 c
  1447. ; Windows random source (using the CryptoAPI)
      O$ L% o% G# N
  1448. ;session.entropy_file = /dev/urandom# t; W: J; f) D1 K2 w+ T

  1449. & p. X* N4 I4 [
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    % w; q) G+ q' Q" c, j1 w. o( p
  1451. ; or leave this empty to avoid sending anti-caching headers.
    0 ?  C9 i% O4 ]8 X% O9 @' ]0 ]& I, c( h" }
  1452. ; http://php.net/session.cache-limiter
    5 d: i% S% P+ ~7 N( W, n; V
  1453. session.cache_limiter = nocache/ L/ R* w% A  X5 A& a; U

  1454. : Y- y9 k& X* M6 Z! {
  1455. ; Document expires after n minutes.9 P+ @, ^) j8 m7 i/ a
  1456. ; http://php.net/session.cache-expire
    6 ~2 d) |* [) I
  1457. session.cache_expire = 180
    + H- B7 J5 C7 A! \# t
  1458. 7 m7 X) x  T* o9 p
  1459. ; trans sid support is disabled by default.2 B! s9 W2 a* n1 f
  1460. ; Use of trans sid may risk your users' security.4 {9 J9 ]( _) I' a  x0 ?
  1461. ; Use this option with caution.4 T6 k3 ?. f5 e$ k
  1462. ; - User may send URL contains active session ID
    $ \" i) h1 T& [$ h8 r; j, J+ s6 L. ^8 U
  1463. ;   to other person via. email/irc/etc.. t4 U, F3 }% O' }
  1464. ; - URL that contains active session ID may be stored% Z5 k( V  x2 [- n  d/ R
  1465. ;   in publicly accessible computer.
    0 q, E: h9 G. L" G4 X
  1466. ; - User may access your site with the same session ID3 q# ^) M2 ~' x
  1467. ;   always using URL stored in browser's history or bookmarks.
    : S% E; ^1 q5 s6 v4 J* f  f
  1468. ; http://php.net/session.use-trans-sid
    0 d. |8 ~# z/ `- _5 {
  1469. session.use_trans_sid = 0. Y8 }+ x8 G5 l- H

  1470. : ^% f7 B3 Q- h8 @" e8 @
  1471. ; Select a hash function for use in generating session ids.
    6 K) B, i! p3 Z$ @
  1472. ; Possible Values0 S. v  q# |6 t1 {
  1473. ;   0  (MD5 128 bits)* A- w/ W6 ?, d: T6 p
  1474. ;   1  (SHA-1 160 bits)$ l7 o! h6 Q: `- \
  1475. ; This option may also be set to the name of any hash function supported by
    4 ^5 s" m% ]& d+ Y" o
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . }" @4 O- ?" m/ K2 b! {
  1477. ; function.# Y0 b2 ~4 ~: i1 `8 n
  1478. ; http://php.net/session.hash-function' Q8 R: Z8 X8 ~  g. p
  1479. session.hash_function = 0
    $ g- q/ z  `6 H  S, l: W- j& v
  1480. ; M' X( x% O0 S1 _, ?) o
  1481. ; Define how many bits are stored in each character when converting% b0 M" X: ?8 u: g8 w  C- D6 w
  1482. ; the binary hash data to something readable.
    1 C0 M  @0 I, @& d$ q1 M, Z: ?
  1483. ; Possible values:6 }6 ]$ X. W: K1 [+ @; k
  1484. ;   4  (4 bits: 0-9, a-f)2 Q" `1 V' w* {, p$ b
  1485. ;   5  (5 bits: 0-9, a-v)
    : C2 I# _, N  Q/ Z8 x
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    9 ?" m3 f5 h. d' m$ ?: y; h
  1487. ; Default Value: 4
    # A$ N  _/ d( N- B  D: u0 X, _
  1488. ; Development Value: 5
    % f2 M. _! k8 b, Y2 r* I: F
  1489. ; Production Value: 50 k4 y9 M4 W$ m3 u- ]
  1490. ; http://php.net/session.hash-bits-per-character
    * p3 d3 i4 b4 D9 X0 P) ]9 F
  1491. session.hash_bits_per_character = 5
      R" a1 a. X. U, T# ~' B! l
  1492. : r1 h* g! s/ m% \1 o* \$ A
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ ?( x% j6 h2 C
  1494. ; form/fieldset are special; if you include them here, the rewriter will, R; h0 j- w; ^
  1495. ; add a hidden <input> field with the info which is otherwise appended
    # D% c, D3 w; A8 u& L9 q3 D
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.  h; T( y) w6 N& u; F
  1497. ; Note that all valid entries require a "=", even if no value follows.7 c4 f. w% P2 i& y# }6 p2 k
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="7 C5 h6 F6 @& {
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ \2 Q) |" `9 o7 |& I6 a' e, P
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + ~) ^& g0 i  D. N; u2 {- @2 S
  1501. ; http://php.net/url-rewriter.tags. [% s, @. q: F9 s: P+ h; e; i5 a
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"% `* E* r# j9 C) X# \8 s9 s0 _

  1503. / Z# b) D2 V* Z5 p  {. p
  1504. ; Enable upload progress tracking in $_SESSION
    ! e- O) b  v3 o$ O4 W, h
  1505. ; Default Value: On
    : f2 {2 f. M3 @5 ~% U/ [
  1506. ; Development Value: On
    $ f' B* F2 b6 Q- E/ s8 o! |$ T
  1507. ; Production Value: On: a$ o4 A; O# C, T
  1508. ; http://php.net/session.upload-progress.enabled; W& S) R" z+ k2 d/ q2 l
  1509. ;session.upload_progress.enabled = On
    9 b- x3 ~/ u5 z6 T/ `2 W

  1510. - s3 S. w# Y/ i
  1511. ; Cleanup the progress information as soon as all POST data has been read
    # f. v# X/ `8 R. m3 C9 S! g
  1512. ; (i.e. upload completed).& ^$ ~/ |- _! P$ S
  1513. ; Default Value: On
    7 m5 t( F( Q+ r# O; Q& D: b
  1514. ; Development Value: On$ s) y4 j9 l$ Q% [6 J. p* Z
  1515. ; Production Value: On
    ; J5 T$ i; q$ A! _- E% K1 U
  1516. ; http://php.net/session.upload-progress.cleanup5 n# k# ~$ e% l$ I# T* {
  1517. ;session.upload_progress.cleanup = On
    ' {: t$ C; J3 z! T

  1518. . q( i4 D" r( R3 [% v6 c0 W
  1519. ; A prefix used for the upload progress key in $_SESSION6 O4 G& M. `" Y1 {0 t/ U7 K# Z
  1520. ; Default Value: "upload_progress_"
    2 s+ W* o3 @" l, Y0 p
  1521. ; Development Value: "upload_progress_"
    2 G2 p4 j/ M  e# `& l) N( J- Y6 F* u/ x
  1522. ; Production Value: "upload_progress_"8 S- H" T. i( I; {3 z
  1523. ; http://php.net/session.upload-progress.prefix$ q% t/ K/ \" ]& s, \
  1524. ;session.upload_progress.prefix = "upload_progress_"2 n0 N1 A1 I  C4 J6 ]
  1525. % p: |' \  t+ {" r) x4 ]! o! D5 C4 y
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    + V, T5 [' n# k& n( j! C  u
  1527. ; containing the upload progress information
    % R6 z7 ]! m+ f1 q, B3 w& E  q
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , U( ]6 L0 d5 Q% ]+ V7 y& x
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"" g5 I  q' ]1 O! k
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 R# V- G: F- f% N& t- a; P
  1531. ; http://php.net/session.upload-progress.name
    : h  ^+ C5 Z' [* l3 C1 `: y
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    . C3 g: h" S$ E5 {( @" ]
  1533. & f! N; K: {5 s9 Z
  1534. ; How frequently the upload progress should be updated.) s  b/ Y' t& E2 x0 F7 r" [
  1535. ; Given either in percentages (per-file), or in bytes
    0 u( x6 ^- @: _3 \+ [5 D! \2 U
  1536. ; Default Value: "1%"
    ( [% ~! z$ y. ~1 ~. B! V( b( Z% l
  1537. ; Development Value: "1%"
    4 y& b0 h" @4 v7 s, [! `
  1538. ; Production Value: "1%"% H+ s% v& g) o2 ?$ b. x$ I
  1539. ; http://php.net/session.upload-progress.freq8 K0 A: K$ d, R, L" {) y
  1540. ;session.upload_progress.freq =  "1%"% P: L; f" t# \: T0 e" P: ?

  1541. % U& E. C4 E9 _# S; Y7 ]
  1542. ; The minimum delay between updates, in seconds
    $ l' [; F' X/ I0 u5 z
  1543. ; Default Value: 1
    2 ]: l+ o6 V4 V" Y4 V
  1544. ; Development Value: 1
    3 G% V4 C! e! e4 H+ m! L; E" x" v% `
  1545. ; Production Value: 1: X! n% d2 N/ h, [  z3 E/ Z8 O1 e
  1546. ; http://php.net/session.upload-progress.min-freq
    ; j  q) v0 J, t9 k
  1547. ;session.upload_progress.min_freq = "1"
    - P5 t9 d4 J2 j+ J, t, F4 e

  1548. 3 h* [% ~$ J% P" o/ ?: i: B" ^
  1549. ; Only write session data when session data is changed. Enabled by default.
      \% l' h1 M/ p
  1550. ; http://php.net/session.lazy-write- k# O8 F! D9 p) \: J
  1551. ;session.lazy_write = On( ]& X& Z1 b0 _/ f' s" G: @" e) D3 w

  1552. 5 K5 {! X- x* R
  1553. [Assertion], w* P3 m* b; |* x6 I, e. L5 M6 c
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
      a0 d( x0 E2 X( M: @3 y5 Q6 {
  1555. ; -1: Do not compile at all
    & Y4 c+ t7 k6 A8 u9 f
  1556. ;  0: Jump over assertion at run-time
    8 T1 q; i! {/ A7 u" \1 s
  1557. ;  1: Execute assertions
    6 E0 G7 S$ q' y
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)! j& f2 y" Z" \
  1559. ; Default Value: 1% {7 u+ g) Y- H2 O) a0 u
  1560. ; Development Value: 1$ U) q2 w( A! ]& X
  1561. ; Production Value: -1/ A5 Q/ v* y1 z& Y
  1562. ; http://php.net/zend.assertions) P1 `3 j' v) G. @( p
  1563. zend.assertions = -1
    / H0 ^; d* A% ~5 j9 l# u
  1564. + v2 c: N7 ?1 u7 W' z' ~0 d) P
  1565. ; Assert(expr); active by default.7 `3 N& z& a' v% v/ `4 H
  1566. ; http://php.net/assert.active% i: n6 E. g* e4 [: k( j/ i. W
  1567. ;assert.active = On
    # i1 j; ?$ e0 k1 P8 e

  1568. 9 u0 s% B' {# K7 w; t; ?
  1569. ; Throw an AssertationException on failed assertions0 |1 p( P1 n! W( ~; m
  1570. ; http://php.net/assert.exception& m1 o6 |& u' i9 I) D% O* p
  1571. ;assert.exception = On
    $ J( v6 c" M" a5 Y8 k7 _, k

  1572. : {& B7 o9 c* v& g
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ) h( Q- N# c( I, G$ Z4 b
  1574. ; http://php.net/assert.warning
      n" @0 L6 g( P3 [7 t; s& i! \. e
  1575. ;assert.warning = On# V- {$ `$ a( {+ U  I9 M1 w
  1576. # k2 Q- h: \$ }, C1 S
  1577. ; Don't bail out by default.( O. F- R: z7 {* p  P
  1578. ; http://php.net/assert.bail
    ' k! R- b0 B7 t8 S; V; [  A# O! b
  1579. ;assert.bail = Off7 B6 ]- j8 X& P6 Q  w& N: m' ?
  1580. # a0 f: x; C6 l( U" c
  1581. ; User-function to be called if an assertion fails.( j, z- ]% a, o/ j, ^/ w: q1 V
  1582. ; http://php.net/assert.callback. d3 H- Z9 f: t; s" V
  1583. ;assert.callback = 0
    3 a6 N( U7 ], {, W4 L
  1584. $ e6 t8 X' ]. w6 N3 i* k
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    7 y4 o( o& f3 v4 l! G( c" _
  1586. ; error_reporting(0) around the eval().
    7 H% m/ Z$ r8 U3 X' n
  1587. ; http://php.net/assert.quiet-eval7 X6 b' M3 e! x3 r! j
  1588. ;assert.quiet_eval = 0
    $ j8 m1 [9 o/ X

  1589. / h+ `3 q6 x0 L7 k" v
  1590. [COM]2 F/ D- G1 W: h% ~6 K
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    : A$ I; s6 }4 Q) q  [
  1592. ; http://php.net/com.typelib-file
    8 J# ]5 p( K6 Y
  1593. ;com.typelib_file =# r: R7 e/ S# K4 C* L& c5 i+ c# ~1 M
  1594. / l& ]' j; \& R6 x( a
  1595. ; allow Distributed-COM calls$ D& c$ S: ~2 _5 }! k) q2 ^9 [/ q
  1596. ; http://php.net/com.allow-dcom
    9 j5 Q4 t  }6 I' c8 p9 {' d; x
  1597. ;com.allow_dcom = true& W  x( K7 N( i9 d; |
  1598. : P: w& ]0 c! S' `9 d8 |) s
  1599. ; autoregister constants of a components typlib on com_load()
    $ R- c0 a7 X% {0 V  D  A# c
  1600. ; http://php.net/com.autoregister-typelib
    . w: w; a# ?( I) D$ V5 B- r
  1601. ;com.autoregister_typelib = true
    4 R0 W% A! m  m3 |1 w7 S9 M  Z
  1602. 6 p  C8 R7 W7 B
  1603. ; register constants casesensitive
    ) _2 u' {& w! K! `* G' X1 x: n0 H
  1604. ; http://php.net/com.autoregister-casesensitive6 K" b& N0 c/ n0 D$ z
  1605. ;com.autoregister_casesensitive = false
    , I, {) a$ R& ?2 w6 F1 o1 C
  1606. ) L; i, }6 ^1 Z9 R6 H
  1607. ; show warnings on duplicate constant registrations& O+ L$ }- b) @( I& P- U! C
  1608. ; http://php.net/com.autoregister-verbose& q/ x- {& ]4 k* x( c
  1609. ;com.autoregister_verbose = true- x; C* g( C6 ^

  1610. - H9 x% U% J, D% ?5 t, g
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    / a, u" R4 u$ ~- ~" I
  1612. ; Default: system ANSI code page
    - Z) \7 p& f+ i  w7 t
  1613. ;com.code_page=
    8 q, Y. ^; i0 u7 s9 @
  1614. . A2 P2 E( k! K: U  X
  1615. [mbstring]6 V, o- q5 a! N- r
  1616. ; language for internal character representation.
    0 C/ O" c( L6 K7 T
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    . b: G) L" m6 |. ]& `. t1 T
  1618. ; http://php.net/mbstring.language
    9 _" x6 Y- d7 p* C, U
  1619. ;mbstring.language = Japanese
    1 p& l; F* |+ K( s
  1620. ' F' `1 w8 p; r; w/ ~. O# ]2 ^
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 R+ L, k& T/ X3 [2 y  i
  1622. ; internal/script encoding.0 v3 P  I5 O( m" q& ?' s
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 C8 o1 @; C; @1 l& w
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." g" B* z* i% ?6 i
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding4 G2 C* `. g$ ^" e) w1 g
  1626. ;mbstring.internal_encoding =
    & T0 I" j; ^. W9 f6 t% Y
  1627. % X; R5 b3 O8 ~+ P( F. P$ j4 O+ i3 j
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.6 P; F# e; j( f0 s1 v9 s
  1629. ; http input encoding.
    * O1 M3 R: ?  t! D
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ! V0 P* r0 _7 o  [+ K
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.9 h: f7 V. T/ l+ u6 o
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! y  z+ x% H- T8 z& h
  1633. ; http://php.net/mbstring.http-input
    4 ]4 I+ D! B1 i( a
  1634. ;mbstring.http_input =- E# ^5 V; \! V0 P
  1635. & C( v- K  B8 \
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - X( Q* q0 A: `/ A% L, x8 V
  1637. ; http output encoding.
    $ x3 I7 z7 s0 R; y8 l* M* z* L" x
  1638. ; mb_output_handler must be registered as output buffer to function.3 C8 k0 ?, [# G7 c2 q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.* a6 h1 h( p6 }5 y
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    3 M0 _+ }/ J9 w5 y2 v  o" ^& Y# {3 Q& @
  1641. ; To use an output encoding conversion, mbstring's output handler must be set, m: v5 H& K9 S1 J
  1642. ; otherwise output encoding conversion cannot be performed.
    5 m- z9 `3 t4 d8 J
  1643. ; http://php.net/mbstring.http-output
    . f5 j. {9 u# C/ n& b9 x0 ^
  1644. ;mbstring.http_output =
    . g: f) ]" T1 R# c+ D
  1645. ; H% m1 V  P+ ], J4 e6 x
  1646. ; enable automatic encoding translation according to
    & D' G* |# n. a
  1647. ; mbstring.internal_encoding setting. Input chars are; a8 w$ {  U( [2 P; Z
  1648. ; converted to internal encoding by setting this to On.' g1 O, n' k' p" u* w
  1649. ; Note: Do _not_ use automatic encoding translation for
    4 l! }/ C: Z5 L2 Q9 b7 {
  1650. ;       portable libs/applications.
    # y+ g/ f( X) {5 |
  1651. ; http://php.net/mbstring.encoding-translation' Y) x( B, c3 N6 Q, c+ G
  1652. ;mbstring.encoding_translation = Off- ]8 P3 z; p5 V- d

  1653. # w% C  m8 F$ g9 o
  1654. ; automatic encoding detection order.
    7 L6 o3 T9 O6 P# A6 a
  1655. ; "auto" detect order is changed according to mbstring.language, W7 x4 H" a9 Q" L# j
  1656. ; http://php.net/mbstring.detect-order( @/ i8 \6 O, l& [
  1657. ;mbstring.detect_order = auto
      d. l1 q: o# S' F. g1 d, a* G, {
  1658. % v2 c# j. r) i* g6 j" q7 h; `+ b
  1659. ; substitute_character used when character cannot be converted/ k  @( p! s3 B2 N% k2 y8 B
  1660. ; one from another8 ]. z0 e, }1 q5 V
  1661. ; http://php.net/mbstring.substitute-character
    ; q' J" V' S  U
  1662. ;mbstring.substitute_character = none; e7 ?. T! m- G1 G3 a! e

  1663. ) c7 v2 i% T2 O6 v% ?
  1664. ; overload(replace) single byte functions by mbstring functions.8 T4 v9 F8 C# o
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    4 D  j7 R8 p- K& h& p6 ~4 c
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    1 a+ s/ {- P* \5 \5 Y! g$ E* e* M
  1667. ; For example, 7 for overload everything.
    2 T; }% D' E) |7 h7 J6 p- F$ E
  1668. ; 0: No overload6 z7 h( ]5 g4 v; ]
  1669. ; 1: Overload mail() function% H- ]+ G+ w* t2 Z
  1670. ; 2: Overload str*() functions; X6 ]/ b6 G5 R; W$ `6 q$ V/ r
  1671. ; 4: Overload ereg*() functions
    " ^2 ]4 T+ `) M0 z( |. {
  1672. ; http://php.net/mbstring.func-overload( w/ ]  @7 q: J" j
  1673. ;mbstring.func_overload = 0) Z5 W& [- `8 v9 Q" z5 q
  1674. . k* {4 [% S$ f, T
  1675. ; enable strict encoding detection.* d, r& ?# u* J; o1 B; |) s. \" r
  1676. ; Default: Off
    & c( T  y3 m# y% {5 A/ O
  1677. ;mbstring.strict_detection = On
    ' S; n- z8 M( ]0 }9 \8 s" C
  1678. : Y! X8 z1 y( X$ g
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # g" `8 C5 ]. o2 c$ H- T
  1680. ; is activated.
    ; g% w& ?; ^0 H5 Z9 ~4 l
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)( v" s# R# @" j6 Q! O
  1682. ;mbstring.http_output_conv_mimetype=3 ^0 t# N2 d( G: J- |2 j
  1683. - A/ k8 p: |7 i# u* R; T" x
  1684. [gd]
    % g0 l( E/ d- |6 x3 _
  1685. ; Tell the jpeg decode to ignore warnings and try to create
      {' e0 c& |5 ^9 p. P9 l+ R- W
  1686. ; a gd image. The warning will then be displayed as notices
    8 s1 m! j# h# f6 X# w# k4 v( Q
  1687. ; disabled by default: z1 |) z, t- l3 j7 h3 [4 Q0 ~4 ]/ j
  1688. ; http://php.net/gd.jpeg-ignore-warning; |& o: T) L! g
  1689. ;gd.jpeg_ignore_warning = 0
    , H, m; w( z$ U, j

  1690. / ~# W$ T4 k6 T8 D; g
  1691. [exif]9 t7 ~9 Y' ^& F
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    9 W* p" |% \$ |9 F8 N+ Y8 ~
  1693. ; With mbstring support this will automatically be converted into the encoding
      |; D2 R+ D1 y. h
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding' @+ B% G2 b" f
  1695. ; is used. For the decode settings you can distinguish between motorola and
      g* x4 G7 y0 U! E8 s
  1696. ; intel byte order. A decode setting cannot be empty.* A+ k2 O% d% Q" r: Y! Y: B
  1697. ; http://php.net/exif.encode-unicode9 J1 i6 ~2 P  l; T% |  N/ t. o
  1698. ;exif.encode_unicode = ISO-8859-15
    ; }9 ~1 W& e' ~$ t. A" _5 G

  1699. - @/ W$ \. s% X
  1700. ; http://php.net/exif.decode-unicode-motorola: w5 a$ a& N9 ]! G
  1701. ;exif.decode_unicode_motorola = UCS-2BE- a' M  n) w4 \. P2 w

  1702.   J* ]6 B3 l+ Y5 }
  1703. ; http://php.net/exif.decode-unicode-intel
    ; A% a3 `  ]; a% g; y' N  u
  1704. ;exif.decode_unicode_intel    = UCS-2LE* w& j2 P3 Y6 ~# P$ `

  1705. , U- g! j6 Y8 }0 Y
  1706. ; http://php.net/exif.encode-jis4 b$ h7 c- f' H1 o4 A6 c: j3 a6 S
  1707. ;exif.encode_jis =5 w+ W% g1 a5 e' y3 e% M" |0 G+ {

  1708. , V7 ~2 d+ s3 Q" K
  1709. ; http://php.net/exif.decode-jis-motorola4 }9 h$ c' O% U1 V1 q
  1710. ;exif.decode_jis_motorola = JIS
    4 M& w1 e: J" K1 O

  1711. , b# Y  o4 J# C: W% X
  1712. ; http://php.net/exif.decode-jis-intel9 w- }; K$ \, S5 ^
  1713. ;exif.decode_jis_intel    = JIS
    , B+ w: Y$ V! `

  1714. : v: ~$ B+ P, ]9 G+ s' @9 e1 d
  1715. [Tidy]
    ' f8 g9 m# S% D* A+ K& F% G
  1716. ; The path to a default tidy configuration file to use when using tidy
    # C: u! D$ w, s4 T. H9 k) T
  1717. ; http://php.net/tidy.default-config
    4 G; \1 k, \5 C! U8 F$ f9 ?1 B9 x2 [
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg! i) @* M  n) q
  1719. % I7 B$ l3 ]9 g# Y+ k2 [& W8 @
  1720. ; Should tidy clean and repair output automatically?
    % F% |1 \1 [8 s9 R8 W: _; _
  1721. ; WARNING: Do not use this option if you are generating non-html content9 m& ^& N+ W( s/ R
  1722. ; such as dynamic images
    3 O7 K* }+ @& e2 v+ |/ M6 G
  1723. ; http://php.net/tidy.clean-output
    6 Q2 ~( s! k$ @5 ?! t( k. L
  1724. tidy.clean_output = Off# ~7 k4 ~& E0 j8 U1 d  c2 Y
  1725. 5 n0 l* h0 r$ A/ p. r
  1726. [soap]
    & I2 ?8 {' D( p+ W2 r
  1727. ; Enables or disables WSDL caching feature.. N/ c, X2 }  O4 y/ Y
  1728. ; http://php.net/soap.wsdl-cache-enabled( T% {7 Q: K5 g+ S
  1729. soap.wsdl_cache_enabled=1& x: R$ l, G5 p
  1730. 9 `- `$ V+ r8 w9 s9 P
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ) |& V3 y, Y3 P/ x
  1732. ; http://php.net/soap.wsdl-cache-dir- {+ ?$ G  r8 K# j# V1 R2 y
  1733. soap.wsdl_cache_dir="/tmp"  R9 d# b( f, n8 j4 `$ k+ K

  1734.   g8 q* P( ?% Q3 h
  1735. ; (time to live) Sets the number of second while cached file will be used3 F5 v6 \  D; p- h; _1 d% w# a, d6 p) h8 ~
  1736. ; instead of original one.3 H( i) i& I9 [
  1737. ; http://php.net/soap.wsdl-cache-ttl
    9 c. K( r* B" _/ I! z, z
  1738. soap.wsdl_cache_ttl=86400
    7 y- k- w7 t5 @5 J4 `

  1739. ; H/ |6 v1 S+ j- D' z- E& e
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( x" t  K8 ?6 q5 y4 z+ F) t$ H
  1741. soap.wsdl_cache_limit = 5
    % r# k0 E* _. a5 A0 U
  1742. 4 O* U( {4 w4 ]8 ]4 C' Q- k" P9 @8 V
  1743. [sysvshm]/ h  X9 K: i. I
  1744. ; A default size of the shared memory segment
    ( R5 @9 r8 |4 R( U, `5 @
  1745. ;sysvshm.init_mem = 10000
    ; V% `' v. U! \0 R
  1746. / a, X. U5 h/ y; a( j
  1747. [ldap]
    8 u1 j5 S9 l; z; D, G
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    4 D" b$ U* u1 b% a( w* `
  1749. ldap.max_links = -1) \1 l8 k( ]& E3 L
  1750. 8 q; p4 q& R$ h7 B" P) N- B0 n
  1751. [mcrypt]* q! r- r4 p8 i+ M
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open1 H: R, S% m3 a6 v( u. ]
  1753. 2 }" h1 g- T9 W, h  e4 ?0 Y
  1754. ; Directory where to load mcrypt algorithms
    2 H/ A  p; f% A
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % X% N3 K1 |* u  x8 ^7 e" G: `' B
  1756. ;mcrypt.algorithms_dir=
    ) j% f4 U: t0 ?6 J2 T9 D4 \0 L
  1757. 3 `. x5 b% n; @4 ~2 A5 q, [) M
  1758. ; Directory where to load mcrypt modes$ l) R0 M( L2 G$ r
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 _9 w$ a6 m9 m4 A' ^/ K5 R
  1760. ;mcrypt.modes_dir=6 X# q! G2 h0 N% D+ V# ^
  1761. ! C$ L1 P% r- }& L8 `. s5 P
  1762. [dba]
    + W1 ?$ I1 |: i2 ]  s5 ~* S/ Y
  1763. ;dba.default_handler=7 h7 J; e9 e' h" P' f- Z
  1764. 8 ?% R* b8 w3 t3 E+ @3 d
  1765. [opcache]2 p8 N( r; h5 I  K0 F$ s/ G
  1766. ; Determines if Zend OPCache is enabled. S# y" \. d5 a" V5 T- z2 j
  1767. ;opcache.enable=0% O- t: G0 X6 j
  1768. 9 H* e: L  Y9 ]# ~, l# l
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP7 g. J; D! |2 a9 O/ p
  1770. ;opcache.enable_cli=0
    5 T) w: Z5 P7 d* e+ c8 s
  1771. ' ]( h) j8 _, i# k% L! T; G
  1772. ; The OPcache shared memory storage size.& I0 j2 Z# `- G9 E2 a3 q
  1773. ;opcache.memory_consumption=64
    $ d& o% j+ k. K2 i3 |+ G3 U4 C: j

  1774. ( O* s( O; L2 D
  1775. ; The amount of memory for interned strings in Mbytes.
    . J8 w* E, h- G
  1776. ;opcache.interned_strings_buffer=4
    9 p( `+ N1 d: b: _! U

  1777. / _! s" I- b. _; I; Q
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.  u9 u: ^' U, Z
  1779. ; Only numbers between 200 and 1000000 are allowed.0 t7 p5 u. Y- `: `
  1780. ;opcache.max_accelerated_files=2000
    5 J2 ^/ ?* q; U) p* `- h* f* m" b

  1781. - a$ W2 R0 P' G9 P8 L. s
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + p6 e; i; g' y3 r  _! G
  1783. ;opcache.max_wasted_percentage=5
    ( y7 U: X; K7 o. T  L

  1784.   E4 M8 {+ U0 m4 g* F5 [' G! s6 k
  1785. ; When this directive is enabled, the OPcache appends the current working4 {7 b9 |& Z% b# q& V
  1786. ; directory to the script key, thus eliminating possible collisions between% E. [! y. I. M) @  H& \, P
  1787. ; files with the same name (basename). Disabling the directive improves
    ) L4 O( T1 |# j3 x
  1788. ; performance, but may break existing applications.
    / i+ U# X# D* f& P
  1789. ;opcache.use_cwd=1
    % m* \4 p4 S; C) P9 A5 l/ R/ j
  1790. 9 B3 @! A% m" `# w$ I$ G# J- ~
  1791. ; When disabled, you must reset the OPcache manually or restart the! B. J" }0 n8 c5 Q& w: t- [! h
  1792. ; webserver for changes to the filesystem to take effect.9 Z1 z4 n6 R- n. q3 c( w5 m$ B
  1793. ;opcache.validate_timestamps=1
    - w  M* L/ w$ `
  1794. 4 e+ }0 v1 W/ q8 M) C, \+ L+ w: D# h
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    - M5 o, I5 T1 _1 w3 X
  1796. ; memory storage allocation. ("1" means validate once per second, but only4 j# Q0 d; r1 u+ S8 i) W
  1797. ; once per request. "0" means always validate)
    : W. p# I( \2 F- X
  1798. ;opcache.revalidate_freq=27 R8 f: b- e% E2 @

  1799.   f5 n, Y/ s2 \: L6 D- ]: {
  1800. ; Enables or disables file search in include_path optimization( f9 ~3 R5 q8 }- Q
  1801. ;opcache.revalidate_path=0
    ! Q6 U1 f4 {) k# a
  1802. 5 ?4 K3 N/ g3 Y& w
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    . k& _6 H% ?  h6 W, s
  1804. ; size of the optimized code.
    . Y: P) |6 P2 f' x& `) A( ]
  1805. ;opcache.save_comments=1
    $ ?, w, z7 [" z

  1806. * {- l# ?+ T5 q& o. p8 J
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code- A. z( Y! \$ w2 T) J  |
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.# C0 H/ B( v' Y* i; ~# |% Q
  1809. ;opcache.fast_shutdown=0) ^2 G0 r5 w4 l
  1810. " J& Q2 {  P* H& b. r
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    : C0 q' O$ N* }
  1812. ;opcache.enable_file_override=0
    1 P: `, C) ]: l# ?
  1813. & Z. X+ y/ j7 a# K2 T
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache0 f2 a+ z# z0 q  x0 U
  1815. ; passes
    0 A$ `9 @: D. W- B$ ?: q3 h0 R
  1816. ;opcache.optimization_level=0xffffffff
    . d5 b3 J5 \3 [0 b

  1817. , q+ W$ l& ~7 H& x: G  x
  1818. ;opcache.inherited_hack=1
    * p% [$ m# p5 c: e# g- R8 @
  1819. ;opcache.dups_fix=0: J: w; i' a+ P& y
  1820. 1 h4 G9 [0 f7 y8 p  _' z/ O
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    & N. h, n1 j* m5 {$ z
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    # i0 L" B# o/ J5 S2 `
  1823. ; that should not be accelerated. The file format is to add each filename
    1 @# Y9 N1 z$ t: g) D, i4 K
  1824. ; to a new line. The filename may be a full path or just a file prefix' S# u- j  {: e3 M- f3 |0 R
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : J5 l) K' D- l
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! d4 k$ ^. M. c9 \; \/ G1 q1 }
  1827. ;opcache.blacklist_filename=: s* T4 R- U$ E& ^. }* ^0 E9 w

  1828. / r( a7 J0 ?9 G+ J- z3 S
  1829. ; Allows exclusion of large files from being cached. By default all files
    ' F( o4 _9 y1 m) h  F
  1830. ; are cached.
    # n5 e9 ?9 j& F: o" m% j
  1831. ;opcache.max_file_size=0
    " q* A& O2 d# g$ t! u
  1832. + P( ~* E  f7 ~! @! b$ g
  1833. ; Check the cache checksum each N requests.
    3 v. q8 r* i# x% t
  1834. ; The default value of "0" means that the checks are disabled." i( B8 U0 _) ]0 M8 X
  1835. ;opcache.consistency_checks=0
    5 S) e& j. ?+ n9 l1 ]# ?

  1836. " Y* {  l5 F% x/ U  t' g! _3 ]
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ i2 z: K: d0 [- T4 o0 B! U2 M& Q
  1838. ; is not being accessed.
    # {' Z* Z+ y/ D- z
  1839. ;opcache.force_restart_timeout=180
    ; y# F2 l# s2 i9 C" ]. r1 [+ ~

  1840. , \7 b1 E, c+ b. Z& t. ?$ t3 z
  1841. ; OPcache error_log file name. Empty string assumes "stderr"./ W' F/ r/ F& a8 f5 p$ c$ a
  1842. ;opcache.error_log=$ \8 h0 V& }- U4 K' H  y
  1843. : i" R: z3 }- e2 V6 Z) I
  1844. ; All OPcache errors go to the Web server log.( `+ {& |3 r; s: ~# T$ G/ h
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 O$ \1 h5 j9 P
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    4 m8 ?) r$ F' [0 x7 Y. w% W0 U; D
  1847. ; debug messages (level 4).% W  X. p- S4 Z5 p4 N
  1848. ;opcache.log_verbosity_level=1
    1 k) A0 Q6 L6 d+ d, u' I6 a
  1849. , Q9 e; r9 Q  Q
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    / A0 U# j, G1 i9 I8 K5 I/ [
  1851. ;opcache.preferred_memory_model=
    * m( e/ K! j. V. |3 A, b, i) P$ R2 |
  1852. ! N" Q2 H+ p  ]: k& G) x
  1853. ; Protect the shared memory from unexpected writing during script execution.
    $ }6 W3 y& l: M# c& m" R2 I$ u" ^
  1854. ; Useful for internal debugging only.
    / }1 }  G0 }$ _5 ]4 ?! E
  1855. ;opcache.protect_memory=0
    ! z$ w# b9 D/ H
  1856. ) w# B3 H' d' P$ P! J0 j& t# |( _
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    $ p) _6 {8 z6 n, @0 o
  1858. ; started from specified string. The default "" means no restriction
    ) P/ V8 Z! n- I/ v9 i
  1859. ;opcache.restrict_api=
    & K. P  z7 d* t! y5 T; N

  1860. ; j+ p7 b0 v* E$ }/ e
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP- s3 q0 F, J0 {# _! D. }9 f0 V
  1862. ; processes have to map shared memory into the same address space. This
    2 x, F7 ?+ e8 I9 e) o
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    7 r5 x! U4 {5 o: |" A5 h1 x
  1864. ; errors.
    & p! N5 {7 w$ z5 d* C& Z* U$ K
  1865. ;opcache.mmap_base=
    , h# U6 _& R/ C$ p

  1866. 1 A. p$ r$ V1 K6 w* T
  1867. ; Enables and sets the second level cache directory.  t0 e$ j0 W. _* @
  1868. ; It should improve performance when SHM memory is full, at server restart or
    + s0 ~0 ~2 h3 u6 B7 _7 Z
  1869. ; SHM reset. The default "" disables file based caching.- _9 ^/ p: W" `
  1870. ;opcache.file_cache=
    * E- g: `! R  e0 q7 A8 x7 I

  1871. $ ^  \" ^2 u5 f4 G& S" \
  1872. ; Enables or disables opcode caching in shared memory.
    . q; w# Q) Z+ M( x) G7 f, M
  1873. ;opcache.file_cache_only=0, z" a* t: k' `/ b& |

  1874. 2 O7 @4 i( u$ C. L  I7 I
  1875. ; Enables or disables checksum validation when script loaded from file cache.6 D$ z  t. x9 V% f3 ^; |. u
  1876. ;opcache.file_cache_consistency_checks=10 M) b& v1 k4 \, i

  1877. + r* B/ p/ a  ~; Y
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to* E7 U  V  k6 C/ u
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    * C3 z, o% l- a
  1880. ; cache is required.
    3 I; K) V/ L( |3 Q# o
  1881. ;opcache.file_cache_fallback=1, j" G& n3 o0 }5 ~# Z' Y
  1882. / V4 H% }0 C$ b' I7 o
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.& q! x+ Q) _! `* g8 i
  1884. ; This should improve performance, but requires appropriate OS configuration.# D; ~* d- G9 M, H2 a
  1885. ;opcache.huge_code_pages=1
    : d* g- J+ U' ~' k; }
  1886. : ^; a& F4 K9 H: i& r
  1887. ; Validate cached file permissions.
    # V. @8 D* U2 m- ^  [+ S8 y2 q; |
  1888. ; opcache.validate_permission=06 w9 I" w) a0 U$ X' w
  1889. - Z" {$ n: K) \9 H6 W! a
  1890. ; Prevent name collisions in chroot'ed environment., b) B7 I( z4 x2 ~
  1891. ; opcache.validate_root=0
    8 ?% _( ]8 Z/ L+ x( I! W
  1892. 4 E2 L9 P9 @% }" T7 a
  1893. [curl]  Y4 |1 n! b; q, o0 U' l9 z' o6 m. J; I
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
      u/ }& n6 Q' q6 R( g, W
  1895. ; absolute path.
    # t( r/ M0 J4 `9 U  i5 d
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 Z' [& k$ \7 F/ c& M! C

  1897. # l! Z5 T1 V/ D; h4 ~
  1898. [openssl]
    ( \! R0 d! N, J9 u, J
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    * H9 Y! q0 z6 ]6 ]" f6 Z5 f
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should0 l, h% _" t  s0 T. E- H
  1901. ; not specify a value for this directive as PHP will attempt to use the3 \1 |; I# w2 N: }1 X* U, b+ K
  1902. ; OS-managed cert stores in its absence. If specified, this value may still1 t' b9 y; P+ s# o6 F
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    4 t3 m$ a+ Y: q0 s6 c' B3 _
  1904. ; option.2 a( i$ U. N  V
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    & J: _: g( @  w2 M1 O5 G* q

  1906. 4 h1 c, J3 U" e
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' `  S0 o; f/ X8 L
  1908. ; directory pointed to by openssl.capath is searched for a suitable2 v- R8 w' c  U0 \, z/ O
  1909. ; certificate. This value must be a correctly hashed certificate directory.* V7 X/ w- ?$ Q/ V4 r! e1 H) x
  1910. ; Most users should not specify a value for this directive as PHP will5 ~! r& s; g! a) U# a3 Z; ]
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    9 k6 q: B! D, k5 b: X& i7 ?
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    # a7 L# g: A1 i7 x/ ]
  1913. ; SSL stream context option.* L; K" @0 E6 H) Q, r6 ~
  1914. ;openssl.capath=
    9 K8 H0 \8 T4 @9 p6 n+ V+ O

  1915. 7 r# q0 u8 h) d- d+ v; U
  1916. ; Local Variables:
    $ T5 f3 a/ t4 ?; j- c6 X! l
  1917. ; tab-width: 4, |% X- E( u) z
  1918. ; End:9 e+ Y: q+ k, J' Q+ q$ {
  1919. / b, ^+ O3 ]# `3 }  [& u& @6 `% a
  1920. ;eaccelerator' R7 y- i4 K9 ]( R! p& b
  1921. 8 i  V0 T0 c. A6 W
  1922. ;ionCube
    & d0 k8 }( p& t6 o
  1923. : T, a1 i6 r5 u; \' P/ Z0 w. e
  1924. ;opcache
    5 ?% X- ?) i+ v8 k) a$ @; D
  1925. ( J, V! G0 D# z/ X
  1926. [Zend ZendGuard Loader]
    - V9 \; m; j: f# O. g
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    / c' B% {/ B7 `
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ( Z8 X6 T7 ?) W/ w! D% V0 ?3 b
  1929. ;zend_loader.enable=1
    $ [' y1 a8 Z. M, W( O
  1930. ;zend_loader.disable_licensing=0' Y# Z% o1 n2 b; h6 _5 n
  1931. ;zend_loader.obfuscation_level_support=3
    - C' C' a! v- b
  1932. ;zend_loader.license_path=) D" q! a. ~. `$ e

  1933. : N$ f( ?0 m* l( p7 B( x9 d4 i
  1934. ;xcache
    * l2 z( l8 \4 h' ?/ e) Z7 n

  1935. . T6 E, ]& e& S0 T
复制代码
6 I# ?4 n6 b" @3 b
  v3 O& Y2 }, L* V

6 R2 ?/ @$ X( Y/ M$ E# B7 c" S) {* [4 U4 g7 g! \) h

9 n( x' Q4 F# p1 F" l; N
; y7 c0 S7 R0 T/ }
. S7 b& x* t2 QPHP5.6版本原始设置
# T. f# [* ~! A1 O/ X% w! l/ ~" J' [) W8 e" R5 @! B9 ]
  1. [PHP]
    . @& s! ?5 J5 k2 x, d; E) K+ U% S" P

  2. ! k/ R' y; O, v  K0 Z
  3. ;;;;;;;;;;;;;;;;;;;
      e4 J9 z( Q7 j, C
  4. ; About php.ini   ;: L* n# A+ Y. b1 p$ Q9 [$ j
  5. ;;;;;;;;;;;;;;;;;;;" R0 R7 r; P$ T* {; o- B6 D+ z& j
  6. ; PHP's initialization file, generally called php.ini, is responsible for+ y; u' [! s! K+ L
  7. ; configuring many of the aspects of PHP's behavior.+ \5 H3 Q" o& Z
  8. 0 A$ f+ i5 }9 B& G1 Y
  9. ; PHP attempts to find and load this configuration from a number of locations.
    2 I- W5 i: n6 R4 h  _
  10. ; The following is a summary of its search order:7 f: g5 T  T( R% C* Y" Y: a( R8 J
  11. ; 1. SAPI module specific location.2 m+ K% q5 G" Y' ^: G0 S0 {
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! Z5 a: j1 t3 @3 _3 Z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    - B4 U: W  R, ]' l
  14. ; 4. Current working directory (except CLI)
    ' l1 E! z: a1 v: Q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP& a0 Y+ ?( Z  a& u, k+ N- F
  16. ; (otherwise in Windows)
    2 I0 h' Y9 w1 u  ]: }) G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      W- j! C2 J3 M- \" n( s! {7 @! [3 j
  18. ; Windows directory (C:\windows or C:\winnt)* X  {+ i( O3 \. E* f2 z+ @
  19. ; See the PHP docs for more specific information.! `" \" u7 ~( x
  20. ; http://php.net/configuration.file) }  H! {6 l" U! N% t* C! R. I- j
  21. - `) \  U; r# d8 _3 ^9 E% _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    4 _9 @4 Z8 \8 ~+ W7 `# G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).1 T" {' d6 Q1 E5 W; ^% b* R. A4 W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 S' c4 S& h$ s% z  T  i
  25. ; they might mean something in the future.
    2 N3 I( ~$ D1 [2 A% L

  26. 7 m7 b7 T1 L0 E* S: K0 J5 u
  27. ; Directives following the section heading [PATH=/www/mysite] only& F$ M# c+ p& ?+ I7 J9 n: v- [6 K- L
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 J1 q9 N; f$ \9 N1 l( E  c
  29. ; following the section heading [HOST=www.example.com] only apply to; v4 f$ r, C: F* M0 _
  30. ; PHP files served from www.example.com.  Directives set in these
    ! |7 O4 \$ n+ K  @1 \1 H" n1 h
  31. ; special sections cannot be overridden by user-defined INI files or
    : L' d; A8 v& y2 F
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    5 U7 I1 A- z3 B1 g5 `$ l. ?2 v
  33. ; CGI/FastCGI.1 S  b  }# X! E
  34. ; http://php.net/ini.sections' k1 E4 n2 m& U( a7 N9 J
  35. 1 V3 x; m2 N. M( X
  36. ; Directives are specified using the following syntax:: _# X8 V' Q; `. R! B
  37. ; directive = value
    7 W( F2 y2 `" |' W) i- h
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) j) V4 g7 {* q1 Y
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : {5 g4 c- h: w0 P1 f3 W
  40. ; There is no name validation.  If PHP can't find an expected( E$ f$ B% ?1 N: t# |3 r2 ~2 G2 T. s
  41. ; directive because it is not set or is mistyped, a default value will be used.2 F+ x' l% U# S
  42. , `4 P3 X8 c) B& o) ~
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 f0 y! z/ h" e& r7 _( q3 n0 N
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression5 c+ `& {9 ^" W3 r9 X
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a+ W: N: e+ @5 |& K4 z: H5 t( h* Q
  46. ; previously set variable or directive (e.g. ${foo})) v3 X' ]+ w7 h; j5 b

  47. ) f5 k$ ?7 v( `/ o6 q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    3 i: I8 x$ N* ]7 y% S
  49. ; |  bitwise OR' N3 E" `2 Z- i$ q
  50. ; ^  bitwise XOR
    & `# H$ u. x$ d. N# b, R7 Q
  51. ; &  bitwise AND
    . Q' F: ?2 x/ ^3 P9 c& `9 s1 t
  52. ; ~  bitwise NOT
    5 _/ Z! i5 C; f* T  c* L2 P+ v8 ?/ A
  53. ; !  boolean NOT
    7 m7 N6 f+ ~, O. \, t% t7 F
  54. & U& n" G) r' e( z- B( v1 f  D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    6 N! H- J& Y6 K
  56. ; They can be turned off using the values 0, Off, False or No.
    6 Y+ d* A& S1 ?; a/ [
  57. $ Z4 D5 ]; v# ]  V: Y8 W5 j" ~
  58. ; An empty string can be denoted by simply not writing anything after the equal" I1 U  E) r9 H! t
  59. ; sign, or by using the None keyword:
    6 L2 f4 u/ }4 s8 n
  60. ! b* N' R' Y/ L8 X: |
  61. ;  foo =         ; sets foo to an empty string+ g3 `: d. {, ^' A0 U
  62. ;  foo = None    ; sets foo to an empty string4 O2 t$ t: b3 i- n. I
  63. ;  foo = "None"  ; sets foo to the string 'None'" l: @5 D3 n( k' {- O
  64. " s' I+ t0 `9 }, Q
  65. ; If you use constants in your value, and these constants belong to a
    ' z+ I* M- p0 h( S. _6 I0 c" O' q% n
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    " m7 v: b7 k. f0 H% o
  67. ; you may only use these constants *after* the line that loads the extension.& D2 w0 I, z' ^8 ^( }" ^7 C% u

  68. 2 U7 d* E. w- o9 }7 {
  69. ;;;;;;;;;;;;;;;;;;;4 _( L+ i% o8 [" C2 {1 ~* y9 V
  70. ; About this file ;2 _7 R" i, K* Y! p5 M
  71. ;;;;;;;;;;;;;;;;;;;
    & b- N' v1 G" ]% K
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ X+ L- o) u' K9 `5 m
  73. ; in production environments and one that is recommended to be used in
    ; v4 U0 D5 l# |! V. ~
  74. ; development environments.' L4 y' u1 p  R% S3 x. ?# V0 F

  75. ; f, ?, P. f. T. j0 X
  76. ; php.ini-production contains settings which hold security, performance and, }/ {6 g4 V( S3 }4 Z5 _! z; M( r
  77. ; best practices at its core. But please be aware, these settings may break
    $ |1 Z% _3 z5 W; A$ c
  78. ; compatibility with older or less security conscience applications. We
    7 e- l% L6 g6 @3 @: j! G( `/ v
  79. ; recommending using the production ini in production and testing environments.2 `& c- N& s1 c: {- p
  80. $ S/ A3 w: D" @
  81. ; php.ini-development is very similar to its production variant, except it is# p4 _+ a% n) `4 t0 z2 Q/ n
  82. ; much more verbose when it comes to errors. We recommend using the
    / r0 Z( ^1 ~# f' a* Q
  83. ; development version only in development environments, as errors shown to
    $ o! ~% T0 ^& q5 O
  84. ; application users can inadvertently leak otherwise secure information.; T1 r! p& S' V

  85. 2 I) d# a* z% t& s. [3 }
  86. ; This is php.ini-production INI file.5 s8 f3 l/ }3 C

  87.   S3 i4 o7 h. `8 f/ X
  88. ;;;;;;;;;;;;;;;;;;;; Z- B5 N) D- O4 m* x9 g
  89. ; Quick Reference ;
    6 O" W9 Z+ N% Y% p3 C
  90. ;;;;;;;;;;;;;;;;;;;& X) P+ G/ M: Z/ b8 y. k* n
  91. ; The following are all the settings which are different in either the production$ h6 v  P) X) `6 m$ L
  92. ; or development versions of the INIs with respect to PHP's default behavior.. X# r  x# T% u& v/ d" [5 a% g
  93. ; Please see the actual settings later in the document for more details as to why
    " e) ~. X( R+ E6 M# D
  94. ; we recommend these changes in PHP's behavior.
    * r) e+ h8 L5 Q- [  `

  95. * j; ~$ @. Y8 ]$ z) o  u. [
  96. ; display_errors
    , [7 }! p" s" a$ n7 A5 Z
  97. ;   Default Value: On$ t4 _2 M+ m# A- A
  98. ;   Development Value: On
    8 l$ N' B  c, D1 v8 U- D
  99. ;   Production Value: Off* c. @5 b5 \. T5 h0 C# p

  100. 5 f% f( p/ b) I$ e. i; N
  101. ; display_startup_errors" d( M! C# R6 L$ `, e; s  c: u
  102. ;   Default Value: Off& q( a2 u, Q4 C+ S7 C8 V+ |8 b
  103. ;   Development Value: On
    8 N$ v* R) A! d3 j  }
  104. ;   Production Value: Off8 w1 L' v5 |- }6 A' g+ J; P* A% O* ?

  105. ) ^8 h  n' H8 E
  106. ; error_reporting5 M; R4 C0 ~+ P; o: ?# b1 T0 y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . m  k+ l0 ]9 i
  108. ;   Development Value: E_ALL$ D1 U- o, c) t
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, Y6 R# k  U/ l

  110. ! p" S- E- m- k5 N, u' l- O
  111. ; html_errors
    / I& i0 C, _: U3 ]: Q2 O
  112. ;   Default Value: On
    , V/ J% ^8 o4 ], I$ v, _
  113. ;   Development Value: On
    * V: C+ j6 F3 u9 o5 A4 @9 G
  114. ;   Production value: On' R* m7 Q0 ^# H6 U
  115. 1 o  m( B( M- B% F
  116. ; log_errors
    " G' n0 g6 o3 {: H7 l$ y7 q
  117. ;   Default Value: Off
    5 |/ \9 f& b, A7 s
  118. ;   Development Value: On1 T. h: N! p7 B0 e
  119. ;   Production Value: On
    + B: h3 D" v: n# a8 M
  120. , E$ |! O6 I( U' z
  121. ; max_input_time7 P) Q9 c/ f8 N% i7 X& N& l3 b
  122. ;   Default Value: -1 (Unlimited)" `) m+ p. ^% L, V2 |
  123. ;   Development Value: 60 (60 seconds)
    2 B: B& z6 M0 K, u# D
  124. ;   Production Value: 60 (60 seconds)6 c* Z  _: E9 J& z, U8 ^2 z
  125. 6 l# k) s. m4 o' G: V
  126. ; output_buffering  V3 [% u9 |) N2 H8 B
  127. ;   Default Value: Off+ G% Q* ~/ |8 z( \) R' Q8 e8 _
  128. ;   Development Value: 40966 n5 o5 }. U4 C. r) ?) R
  129. ;   Production Value: 4096
    0 ]# N  S2 N' q5 t% U) W, e6 e
  130. ' `* `" f+ R9 u
  131. ; register_argc_argv
    ; K5 q; p' w" s* d$ x* U5 f& `) l% `
  132. ;   Default Value: On0 i8 _9 E. N, c0 l4 `( F, w
  133. ;   Development Value: Off
    9 a4 u& ~  q% O0 V. U
  134. ;   Production Value: Off# u6 F1 I# i+ ?, t; k2 e
  135. 1 G2 U* a9 M2 q( N8 ?8 W+ r
  136. ; request_order
    ( t6 ^2 ~2 ~, `# y. {- N) O
  137. ;   Default Value: None1 X6 Z* R. S4 `6 `' L" Z4 U
  138. ;   Development Value: "GP"
    8 m/ D7 l9 ]% V: C' V( t
  139. ;   Production Value: "GP"  Z: E; E: i, T0 E5 f% |
  140. : q5 R- r, t3 C$ h
  141. ; session.gc_divisor9 @6 b) p$ r+ F7 T+ n; U7 J( m0 l
  142. ;   Default Value: 100; V0 I9 r* j1 K. Z* v
  143. ;   Development Value: 1000( F5 S4 o; @7 n* r) V  C: l
  144. ;   Production Value: 1000) J) h. r# o2 Y

  145. ' I3 ^( D! Y& f8 y5 w* K) u, [
  146. ; session.hash_bits_per_character* I9 ]1 E  t( d; [" P1 x0 c8 Z8 L
  147. ;   Default Value: 43 F" k1 A& ?- R, \
  148. ;   Development Value: 5' w) d! y) D. B0 p
  149. ;   Production Value: 5
    5 Y$ {/ S9 A0 X; x+ L

  150. ! |8 Q# N+ ?; R6 ]( ^4 b/ v
  151. ; short_open_tag3 B( C* p- W" k% e( ~8 F
  152. ;   Default Value: On+ O$ j( C- Q  e3 E* q
  153. ;   Development Value: Off9 U" h) ^/ Y6 I& T" Z# S8 t
  154. ;   Production Value: Off/ \2 m) p; i. Y0 O$ V) H. l& i( b
  155. , d! z  V7 \7 r5 o
  156. ; track_errors
    4 ~" e! O# z0 l  L6 I, k* v
  157. ;   Default Value: Off6 t) C4 L! H) \9 X; x- H0 ^* y% t
  158. ;   Development Value: On
    7 E8 M" ]8 ]0 X2 E
  159. ;   Production Value: Off
    # Y8 ^6 {; R, ^$ i2 z0 l# r
  160. 8 G3 A' i: |  k# D' L3 j/ Z
  161. ; url_rewriter.tags; `7 g# N& M0 w9 }
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 V8 c6 f( d4 E
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 o2 m/ Y+ E4 s. G
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ K4 e! x; G/ e6 E
  165. & R" `, u4 u( u7 i/ ?
  166. ; variables_order
    : J; S  J) G  z) Y1 u; U+ X: Z
  167. ;   Default Value: "EGPCS"
    " T- f6 u0 T$ E5 N/ b
  168. ;   Development Value: "GPCS"
      d% f% _  J6 h, y% W: O
  169. ;   Production Value: "GPCS"
    + W& e$ E8 B0 f9 E# \

  170. 1 l# ~  \$ ?9 N/ t
  171. ;;;;;;;;;;;;;;;;;;;;
    + f/ j3 F$ u* T; z) B; c
  172. ; php.ini Options  ;0 ^1 @( p7 x3 H- G# A1 K" S
  173. ;;;;;;;;;;;;;;;;;;;;
    & |- {! Z* e/ w6 u. _
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"6 ^: }: H- Q5 H3 L* `" e
  175. ;user_ini.filename = ".user.ini"
    7 f" v# @: d* J6 K! X7 u
  176. / j: q$ C  D  B# N
  177. ; To disable this feature set this option to empty value
    & _9 ^9 e2 n  u( J
  178. ;user_ini.filename =/ C. a! Y* \( P3 Z: ~
  179. 4 n7 k% b: x$ U* j# h. m
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)) l4 V( a" k) ?* @6 }5 q
  181. ;user_ini.cache_ttl = 300( B  n2 a' c7 k' l8 u

  182. . J8 |. g7 j, u2 H$ s( I  z* g1 e
  183. ;;;;;;;;;;;;;;;;;;;;
    / f" F% H: O1 L. \' u: e
  184. ; Language Options ;
    # ?5 t: M5 W7 l# b: \6 J, j* Y% o9 l
  185. ;;;;;;;;;;;;;;;;;;;;
    2 X3 l6 x& s9 Y: }0 r# e

  186. * k( a2 {5 k5 S0 a# y9 [- \6 {
  187. ; Enable the PHP scripting language engine under Apache.5 L  q7 c& |  {8 o
  188. ; http://php.net/engine
    . X) b3 E( o& Z: Z1 V
  189. engine = On
    # O0 e. O+ I8 a0 n6 v
  190. 6 v1 E* W& s! N  Q1 ]
  191. ; This directive determines whether or not PHP will recognize code between
    5 K) W  ?: N5 X3 r0 N
  192. ; <? and ?> tags as PHP source which should be processed as such. It is. M8 \8 ^* X; B0 }' N) z9 H$ Q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & g. ~. W" q$ q0 f
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * h: y3 r8 F: D! w+ _5 n2 ~& W' @
  195. ; documents, however this remains supported for backward compatibility reasons.1 q6 a. g6 j# A" I- X5 n3 ]
  196. ; Note that this directive does not control the <?= shorthand tag, which can be1 c2 R# Y( ~2 }0 a" f/ Z
  197. ; used regardless of this directive.
    ' [2 d4 d& b7 l& r% i
  198. ; Default Value: On
    ) e2 b. {! Y% W# k3 p& q/ S  }
  199. ; Development Value: Off
    4 k4 g9 p$ Y6 f4 p) X# s
  200. ; Production Value: Off
    3 q: _) h7 X+ t
  201. ; http://php.net/short-open-tag
    9 x; C! s; L1 l
  202. short_open_tag = On6 j% R8 D/ Z4 V4 F% H) j5 ?

  203. 5 H4 `4 W! z, f
  204. ; Allow ASP-style <% %> tags.( B, \% S) a* N  l9 q
  205. ; http://php.net/asp-tags5 Z1 R5 ~2 Y2 R
  206. asp_tags = Off
    : J1 P: u: e7 k$ F

  207. 7 s& i' M8 C$ K# O% n; b
  208. ; The number of significant digits displayed in floating point numbers.
    : [# l& q4 W" a2 o( Y6 z6 }& Y
  209. ; http://php.net/precision
    ) }5 E+ D7 h8 J: P8 Y# ?% m
  210. precision = 14
    ( @+ c- j! o( I) D6 Y

  211. 5 n/ Q3 `8 l( l! X3 H
  212. ; Output buffering is a mechanism for controlling how much output data
    ! G1 U$ P- Z/ `7 L2 B
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that& h1 {! ?- Q: B. V
  214. ; data to the client. If your application's output exceeds this setting, PHP
    1 A$ O. Q& w# l! {6 P
  215. ; will send that data in chunks of roughly the size you specify.
    2 v- i* F: S7 ^4 m
  216. ; Turning on this setting and managing its maximum buffer size can yield some& `; y  t7 p4 X+ g8 W5 p" O
  217. ; interesting side-effects depending on your application and web server.: w2 s7 B' K0 }/ @/ B* p) l
  218. ; You may be able to send headers and cookies after you've already sent output
    7 t& z0 R* ^8 k3 t
  219. ; through print or echo. You also may see performance benefits if your server is
    2 [4 D2 n' V8 ^8 B% D( {6 \6 @' Q
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    0 W: K  Z7 ^# E, [: |
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance; S. C3 H3 B+ q1 W8 \
  222. ; reasons.
    + f1 V6 r: V& j& x$ w
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    * I5 a1 m& ^0 P5 r. a0 B; {' b
  224. ;   functions.& m& ^. L  l! |* a
  225. ; Possible Values:
    8 }  a7 @! g3 q8 |; l) i! E* }
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    4 ~4 C  l# F: y2 V# n
  227. ;   Off = Disabled
    ' U- s* ~- L% @- u6 M/ A( W0 H
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    $ K, h, k  ?3 V- l% M, \
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI* ]  V) ^& }' ]4 v
  230. ; Default Value: Off
    : |. @; Y* a. K- J7 C3 D& L
  231. ; Development Value: 40964 X. v. P. A6 \/ L
  232. ; Production Value: 4096) q9 n4 n7 K8 z; K4 E
  233. ; http://php.net/output-buffering
      N) H5 Z% i! n) U
  234. output_buffering = 40962 \% ?, ?  v: S* R

  235. $ l6 V+ j" F; Z* G
  236. ; You can redirect all of the output of your scripts to a function.  For
    8 ~! c% J1 y4 S3 c' @8 Z
  237. ; example, if you set output_handler to "mb_output_handler", character6 B2 Z1 o$ o. e
  238. ; encoding will be transparently converted to the specified encoding.2 `$ P! i. E) T8 X6 ?
  239. ; Setting any output handler automatically turns on output buffering.
    0 ~' `1 a5 H3 _
  240. ; Note: People who wrote portable scripts should not depend on this ini
    1 J: ], L& k9 y8 F( ^
  241. ;   directive. Instead, explicitly set the output handler using ob_start().# Y# F) Z1 d; ~" {& V, M
  242. ;   Using this ini directive may cause problems unless you know what script' a! o) `. s# T0 f
  243. ;   is doing.
    7 l3 c/ a9 ]8 l5 g+ b6 Y+ u' F7 M
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"% }  U  P1 S: I- e3 Q8 o
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ( g( {9 p% z  d" E# W1 `5 e0 X
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    * l- c( V1 r' r/ M
  247. ;   Instead you must use zlib.output_handler.9 V( [, E1 w  d$ o( L
  248. ; http://php.net/output-handler
    6 x8 l6 i$ f$ D8 l9 E
  249. ;output_handler =
    ) [: W' F% v6 v" l* u
  250. , c1 Y) j2 a) p8 D6 [6 e
  251. ; Transparent output compression using the zlib library
    0 `5 E, R4 H5 C+ \- s" k& X6 L
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    9 H, f0 }. E# `, T3 U0 P+ z" J
  253. ; to be used for compression (default is 4KB)
    ' Y  o0 Q/ f1 a  W2 x
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    $ f2 ^# v$ d( f2 E
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    8 f" Q  L  h1 r, v
  256. ;   compression. If you prefer a larger chunk size for better% g+ \1 e/ |) W( f: g
  257. ;   performance, enable output_buffering in addition.+ w. ^& ?3 j$ N6 g$ Q+ P7 G
  258. ; Note: You need to use zlib.output_handler instead of the standard4 z1 X7 Z. Q! r( G+ Y8 j, h3 L
  259. ;   output_handler, or otherwise the output will be corrupted.
    5 v; y# Q6 r; s$ C( I7 c
  260. ; http://php.net/zlib.output-compression0 i' [! O! ^9 N
  261. zlib.output_compression = Off( J8 m# M" Y! W5 P. a" s
  262. 4 k& p( X3 k" S# f
  263. ; http://php.net/zlib.output-compression-level
    5 ~. e& J+ i* I+ ]8 |
  264. ;zlib.output_compression_level = -1
    4 U, h: `' q' D5 s5 m
  265. : I3 \5 k% B6 _! g, i
  266. ; You cannot specify additional output handlers if zlib.output_compression9 G: Z9 z9 h$ H: H; s! W1 m, h# |- {
  267. ; is activated here. This setting does the same as output_handler but in
    & N$ Y( g2 V7 _/ Q& \5 @
  268. ; a different order.
    % ?. r1 h; V) c; H) a
  269. ; http://php.net/zlib.output-handler
    . o8 q( {& u8 Q  {$ ]9 M( G7 d. e
  270. ;zlib.output_handler =
    5 b) t7 I) @, R6 y3 d3 ~1 l% j( \
  271. , H  l+ `, R  e7 Y/ j, q
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    , Z6 }1 Y+ R4 ?# S- P9 v
  273. ; automatically after every output block.  This is equivalent to calling the
    " a- w8 f. Y7 q, N2 e  u- }
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) ^. \0 |' R0 A
  275. ; and every HTML block.  Turning this option on has serious performance
    ) B3 l" V5 A' V+ R5 O0 b  A
  276. ; implications and is generally recommended for debugging purposes only.
    ) W; F2 L! y) U3 d* B2 T/ W$ t
  277. ; http://php.net/implicit-flush
    ! w6 a  x) P1 g- M% w/ A
  278. ; Note: This directive is hardcoded to On for the CLI SAPI7 L3 L; P: _9 D. \
  279. implicit_flush = Off
      t2 X  ~3 y4 S$ X

  280. 5 R8 K  u% F# ^- v
  281. ; The unserialize callback function will be called (with the undefined class'
    5 Q" d* L* l- }3 U& @) b
  282. ; name as parameter), if the unserializer finds an undefined class$ |1 Z: e) ?7 ~6 F% J( g( f
  283. ; which should be instantiated. A warning appears if the specified function is
    4 \9 Q: x) Z- {
  284. ; not defined, or if the function doesn't include/implement the missing class.
      U% V: R! W' k! ^2 N# S
  285. ; So only set this entry, if you really want to implement such a5 Z( k) c) F( @" p  P
  286. ; callback-function.6 Y4 O0 X  i* d9 y2 H
  287. unserialize_callback_func =. |2 Q/ c9 `3 ^9 @

  288. 8 q; s% R, Y. |8 g
  289. ; When floats & doubles are serialized store serialize_precision significant$ v' q7 X% Y" N9 h) X. a
  290. ; digits after the floating point. The default value ensures that when floats
    . _8 k% [8 d1 ?
  291. ; are decoded with unserialize, the data will remain the same.
    9 A% m* X3 r/ h# y. f2 y* T6 [
  292. serialize_precision = 17; C% u3 s( q/ p" X: @/ V. f$ K

  293. 8 o- d8 _1 p! |
  294. ; open_basedir, if set, limits all file operations to the defined directory
    0 @5 M; u& E! P+ s
  295. ; and below.  This directive makes most sense if used in a per-directory  H- |1 q1 z& a- D- ^/ P, b
  296. ; or per-virtualhost web server configuration file.
    ; C! |1 I0 ~2 \6 ^+ o& q8 ?
  297. ; http://php.net/open-basedir, X. Y: u+ c' A/ d' m+ I) h/ |
  298. ;open_basedir =! S, X3 m  [8 v0 I% m8 L6 G% M

  299. $ v, `( z( A. x: @
  300. ; This directive allows you to disable certain functions for security reasons.( o* S' W5 W; {9 c
  301. ; It receives a comma-delimited list of function names.* V$ q4 u" x' O. y/ r
  302. ; http://php.net/disable-functions
    9 `5 A& Z" n% X7 U0 a
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ' @0 E+ N8 r% g2 \, B

  304. 9 S6 Y9 ~3 E" ]% ~6 u' e* X
  305. ; This directive allows you to disable certain classes for security reasons.$ C. K$ V2 N7 @( I% G
  306. ; It receives a comma-delimited list of class names.
    1 ?7 N" ~8 t6 W/ t, a) J. U0 Z
  307. ; http://php.net/disable-classes
    1 j" H( g8 Z- G+ n, K. |/ q
  308. disable_classes =5 @4 E% W$ I- e( v( V" A' O+ h

  309. # Y- P9 W2 X) m$ u& I
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    " U7 J- T; ]1 m3 p& F, ^3 S# {  e
  311. ; <span style="color: ???????"> would work.
    6 |3 h* Q5 p# R1 g0 v
  312. ; http://php.net/syntax-highlighting
    + z+ {# f* {1 \' P& O2 \
  313. ;highlight.string  = #DD0000* g/ m- ^% D( r$ `9 s5 V2 b# H
  314. ;highlight.comment = #FF9900, V/ i1 N" ^* T6 T. Z, J
  315. ;highlight.keyword = #007700
    % B$ ~6 c' l) E; V) U0 A6 X; Y
  316. ;highlight.default = #0000BB/ r' B" l4 T# s" G+ w+ J
  317. ;highlight.html    = #000000: V/ F8 y" ^8 W7 d: w1 t
  318. ' p1 R' G5 h0 K2 K2 s8 b8 R
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    . P/ p0 C/ I) }4 v
  320. ; the request. Consider enabling it if executing long requests, which may end up/ ?4 S: f9 o! u
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior- v( \7 z* C0 z% h
  322. ; is to disable this feature.9 t) `4 E; a# R  @7 U
  323. ; http://php.net/ignore-user-abort/ M! j8 r" _; j3 m- r3 a
  324. ;ignore_user_abort = On
    $ j1 ~) ^: ~! \$ i1 f

  325. # O8 @3 ~- k# t, C
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* }% v8 u: v/ D5 N
  327. ; be increased on systems where PHP opens many files to reflect the quantity of4 n3 H+ E# g  R+ `  X
  328. ; the file operations performed.
    1 ]9 Z8 r% e. U
  329. ; http://php.net/realpath-cache-size* H2 [( Y' m* F. P( j" M% \
  330. ;realpath_cache_size = 16k7 S, |5 g2 U+ }0 G# b; ?
  331. 4 f% m! [$ ]1 n) ~$ R  W
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    1 E" g6 n1 h3 I3 g
  333. ; file or directory. For systems with rarely changing files, consider increasing this4 @5 ~3 i% u  `2 i
  334. ; value.: M5 d# Z) h5 l5 K. [
  335. ; http://php.net/realpath-cache-ttl  @3 X4 F! f9 ^* R4 a# u
  336. ;realpath_cache_ttl = 120- S! V4 m7 g5 w
  337. - K8 U& V- Z- @
  338. ; Enables or disables the circular reference collector.
    ! n( P) s3 z* [
  339. ; http://php.net/zend.enable-gc
    4 F' C( S- ]' ~9 e! k$ W
  340. zend.enable_gc = On
    - _3 A2 h. w! i, ~
  341. % L; h5 \4 r0 W9 o. e- q/ r
  342. ; If enabled, scripts may be written in encodings that are incompatible with( T  K+ ^$ |8 }/ K9 K
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    - Z- `5 X5 q# p3 |6 F& p
  344. ; encodings.  To use this feature, mbstring extension must be enabled.1 Q# @: s7 z! L) Q; x
  345. ; Default: Off, y, Y8 w$ _7 D
  346. ;zend.multibyte = Off
    # I8 G" D! e8 V

  347. # t8 F4 A: y7 I
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    9 u4 o) E; j+ m+ O, \9 _2 @4 v
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    & s5 z& B) t* }! D3 d  q3 A
  350. ; Only affects if zend.multibyte is set.
    * d) r9 b$ M. x) s7 [  p
  351. ; Default: ""
    $ p3 I* }* E( P7 p- L& K$ H
  352. ;zend.script_encoding =
    * X. V, q, q/ _; S

  353. , ^1 T3 ]1 y/ n" C2 ^
  354. ;;;;;;;;;;;;;;;;;
    " \# G7 J) ^5 C4 \& }
  355. ; Miscellaneous ;
    . l* @2 f5 f1 V" v
  356. ;;;;;;;;;;;;;;;;;
    3 U2 o( F+ H2 I, }2 Y; I/ l; s. ]

  357. $ v4 `, b2 z, H. X8 S
  358. ; Decides whether PHP may expose the fact that it is installed on the server1 @- b5 I2 t  R" j  y. o2 t( J& @/ W
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    . }: @; x+ |; ~5 d) K- ]
  360. ; threat in any way, but it makes it possible to determine whether you use PHP5 v# Q& y/ ~  l
  361. ; on your server or not.1 [5 e/ ~3 x1 I" m5 u) S
  362. ; http://php.net/expose-php8 l3 d! y3 I1 b, E
  363. expose_php = On
    & r; V0 O) H5 {3 e5 u
  364. * e: X  M, S7 F2 X2 w! k  Z1 F
  365. ;;;;;;;;;;;;;;;;;;;
    2 d) f7 [2 _( F+ N- d6 s# X4 ^
  366. ; Resource Limits ;: @9 G8 H) ~- N3 }/ o, B. N, ~
  367. ;;;;;;;;;;;;;;;;;;;0 }; U6 V2 K# F3 x5 A; p
  368. 5 `5 T* q2 q2 B3 S0 o; W
  369. ; Maximum execution time of each script, in seconds
    2 [2 W' h0 G; @( _
  370. ; http://php.net/max-execution-time: {5 e  }1 T% G$ X* I& e
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
      m3 R$ n& S; v) m, z, d
  372. max_execution_time = 300
      ]- c% c2 A0 d

  373. 9 a( P5 g' ?9 b, h4 L
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    & j4 V! \/ a6 @  `/ g  d! R: v
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly" B- l0 g5 J; G
  376. ; long running scripts.7 o& P7 s" W. i, N1 M' S0 Y
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    2 O& m$ G6 V5 D: ~8 c# p
  378. ; Default Value: -1 (Unlimited)# L: e& Y' o* S$ H# h* V" t
  379. ; Development Value: 60 (60 seconds)
    ' \6 ~3 ?% S0 B6 `% L, t3 |* i
  380. ; Production Value: 60 (60 seconds)% j* O$ F# \$ t- B" J, f  f1 g
  381. ; http://php.net/max-input-time
    : ?2 j8 f2 @+ `' u! `
  382. max_input_time = 60
    7 A* M( `" U4 C1 `7 f1 k' p$ W" g
  383. ) j5 l3 |! @" J' \! E1 E
  384. ; Maximum input variable nesting level
    $ C9 c; G1 c* K1 w, }2 n+ X9 Z
  385. ; http://php.net/max-input-nesting-level
    + }5 U' G% Y# {: x
  386. ;max_input_nesting_level = 648 n+ Q4 p8 o0 H
  387. # S* b* A9 O! `+ |; Z
  388. ; How many GET/POST/COOKIE input variables may be accepted" \" |4 g0 J9 Y+ C# H6 C
  389. ; max_input_vars = 1000
    6 q& _0 f2 L: O* R, z9 F4 i! u) I

  390. " t* Q* \3 Q/ @1 {
  391. ; Maximum amount of memory a script may consume (128MB)
    / C4 A% f* X# M
  392. ; http://php.net/memory-limit5 t5 U; h' O; {- P$ {5 m: t
  393. memory_limit = 128M
    9 l, ]. h, v  V1 }: i4 f
  394. 1 C( Z: i( Q  P. i8 s3 j% r/ W
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( U- S9 s( O6 P
  396. ; Error handling and logging ;
    ; K+ s6 ?; c7 q
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' t* d1 [% L: R) b+ U5 \0 a% R
  398. ; i( ^) i/ S( ~- ^4 H( q- D
  399. ; This directive informs PHP of which errors, warnings and notices you would like- _* c7 q2 \1 q; u6 ?! J
  400. ; it to take action for. The recommended way of setting values for this1 M- _# e( d9 T1 ~5 u
  401. ; directive is through the use of the error level constants and bitwise% e" k& u9 l" z) k
  402. ; operators. The error level constants are below here for convenience as well as0 v" T% R2 ^# w; H
  403. ; some common settings and their meanings.
    - C5 G; q1 q2 J4 S3 ]
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% _% Q( p. h# A2 f
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, s, K7 O6 Z# B7 g. C; {3 ?3 |
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    & [1 ?  g( t% F! x# G* o) P
  407. ; recommend error reporting setting. Your production server shouldn't be wasting% {2 N% |+ S+ l8 u, w
  408. ; resources complaining about best practices and coding standards. That's what
    ( r" \9 g( {6 C6 ?5 G* _
  409. ; development servers and development settings are for.* S) G$ w+ H( Z3 M
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    * n1 ?5 [! {" g& s% ^8 R
  411. ; means it pretty much reports everything which is exactly what you want during8 v9 S1 {; K. T' \6 E9 f
  412. ; development and early testing.: i8 L0 Y3 f6 S# r- z
  413. ;
    & V+ Q/ W- r4 ^/ w; F, ^& r
  414. ; Error Level Constants:  g7 _9 q) x5 m+ N! W
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)9 j- f' A# [9 {1 s
  416. ; E_ERROR           - fatal run-time errors& T6 V! |- b  m1 O
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 p+ B- [# m" ]* A. `* z4 n. y
  418. ; E_WARNING         - run-time warnings (non-fatal errors)' x; t# p+ w: Z9 T1 J3 j" u% t
  419. ; E_PARSE           - compile-time parse errors: Y5 D" y( E9 q+ d! x' Y  N
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    & _. c3 M: w  H- s! ]/ {  O
  421. ;                     from a bug in your code, but it's possible that it was$ V& B8 {7 K# Y
  422. ;                     intentional (e.g., using an uninitialized variable and* T7 V! [; C) z# \" N- j
  423. ;                     relying on the fact it is automatically initialized to an4 Y# |6 c) G) E2 l
  424. ;                     empty string)
    4 c7 d$ h0 F$ |6 b& P
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ( L( f+ F2 c) _6 h. ~" k5 @
  426. ;                     to your code which will ensure the best interoperability
    % ~2 K. C; @' n/ j
  427. ;                     and forward compatibility of your code" y. ?* f  ]  ]% `% b* b
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 G% U! P+ U+ _/ c: C6 V4 i+ q
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ( w8 @+ G0 H: z* @
  430. ;                     initial startup; V4 l3 g6 d) P; _* r
  431. ; E_COMPILE_ERROR   - fatal compile-time errors0 h6 P$ {7 @6 R! B% {2 G$ v" A* F
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * s5 J5 {9 t& c4 j- c  q
  433. ; E_USER_ERROR      - user-generated error message
    1 y. x: d# I+ K' b/ \
  434. ; E_USER_WARNING    - user-generated warning message, w5 s4 J. X! I
  435. ; E_USER_NOTICE     - user-generated notice message6 V) r7 C3 n" P, G
  436. ; E_DEPRECATED      - warn about code that will not work in future versions/ ]" H0 ?1 z& Q, L3 j7 m
  437. ;                     of PHP& f: m, G5 ^' ~* m) W2 Z
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ( i; e% a- E% M" t
  439. ;: i3 n/ w8 g, w7 m4 B0 p
  440. ; Common Values:7 e5 a9 i# d/ Z+ G
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
      x! J  u9 T$ T: ]: d7 R
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    8 W1 ], Z- W% y# `8 [9 t/ V
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)- c$ i5 h7 Z: ^" A4 V& b/ O5 R
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)4 E& h9 \4 w3 j
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 m. L3 E: X0 ~, Q
  446. ; Development Value: E_ALL
    , ~1 v7 j; `9 U3 J% s0 h# y) b
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( E9 R) l6 g6 Z% U3 y
  448. ; http://php.net/error-reporting
    * R" O6 u. E0 U
  449. error_reporting = E_ALL & ~E_NOTICE
    - r* ?2 c0 k7 Z# ?5 Z, G

  450. 5 l) F0 a0 |6 V, J" `5 C4 M2 j$ {
  451. ; This directive controls whether or not and where PHP will output errors,
    + O5 K2 E+ I+ [' u, V
  452. ; notices and warnings too. Error output is very useful during development, but
    + @0 k; {  ~7 ]3 g' ], }0 ?
  453. ; it could be very dangerous in production environments. Depending on the code. u% l  f! l( \
  454. ; which is triggering the error, sensitive information could potentially leak# N; ]; e  I1 G. [# H$ D) [  Z
  455. ; out of your application such as database usernames and passwords or worse.3 o) }! n( K  |4 ~
  456. ; For production environments, we recommend logging errors rather than
    2 o) P( B7 X+ e# R: C) A, r
  457. ; sending them to STDOUT.1 Z) ]! o5 N% `) `" W8 S
  458. ; Possible Values:( [' s7 P( Q; K4 }/ `- e% |
  459. ;   Off = Do not display any errors
    , u" E% e0 T7 r3 T5 u
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 f; @" \- s, S. n6 f7 t9 I
  461. ;   On or stdout = Display errors to STDOUT: `% y1 O! Z* x
  462. ; Default Value: On
    % E$ _, ?3 ^. e/ O5 a& U
  463. ; Development Value: On$ ~* @# H5 P, h" _# ]4 x
  464. ; Production Value: Off/ k2 t5 Z8 J7 g, `- a! \- W$ W" W% x+ z
  465. ; http://php.net/display-errors
    ( D* o7 I/ y2 C0 T+ }- I6 h; N
  466. display_errors = On& K  L$ B7 ~5 l& C' |  L
  467. ' X0 A4 }" l$ Y/ j! W
  468. ; The display of errors which occur during PHP's startup sequence are handled# w, U; Y, y  c6 Q0 `6 \3 x% J
  469. ; separately from display_errors. PHP's default behavior is to suppress those
      d* o3 n: ^* I. ^2 v" c  `& t
  470. ; errors from clients. Turning the display of startup errors on can be useful in, X* R" K7 j# q: p: V: [; n% [+ C
  471. ; debugging configuration problems. We strongly recommend you
    5 Z1 i# D' y& c  R* h. e) O3 n
  472. ; set this to 'off' for production servers.3 R% `' }" k3 R# Z2 j; h- w/ i
  473. ; Default Value: Off8 s1 g9 Q  U' G
  474. ; Development Value: On
    / T! ^6 K( E9 W3 Q& _% k
  475. ; Production Value: Off
    9 b7 i, t+ B8 s7 u) K/ X; ?
  476. ; http://php.net/display-startup-errors$ o* \; x2 e9 V( j0 w8 d* A  G
  477. display_startup_errors = Off- B, D2 v2 x1 J* x
  478. - S' p5 U8 K6 g/ h9 v' ?& _
  479. ; Besides displaying errors, PHP can also log errors to locations such as a2 B+ u7 U' U, r/ T3 i
  480. ; server-specific log, STDERR, or a location specified by the error_log
      z# @% y) J4 @$ i: p
  481. ; directive found below. While errors should not be displayed on productions
    ! {9 H/ \: L9 h
  482. ; servers they should still be monitored and logging is a great way to do that.
    ( G# R' c) {/ `; H
  483. ; Default Value: Off
    6 m% W* B2 O/ L
  484. ; Development Value: On' Y' w" t& o+ a; v% X2 D& V
  485. ; Production Value: On
    6 x. L, j# ^' ?& R
  486. ; http://php.net/log-errors
    ; Y/ W( y3 M; C9 T
  487. log_errors = On
    % s% ^9 s& X3 Q7 M) v! w/ D7 O$ F

  488. $ F0 E# x, D: O2 u  b% X
  489. ; Set maximum length of log_errors. In error_log information about the source is& l/ Q/ z  _. i5 M, x/ _
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    6 G# y9 @2 s: h6 j: U
  491. ; http://php.net/log-errors-max-len3 b% E$ l' A# F) Z6 |' o2 Y2 y
  492. log_errors_max_len = 1024/ O# ~% y7 V5 `+ m

  493. * [0 a$ C3 M9 h4 G8 {5 L
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same. T& X* `# W( y+ U: v- d$ s, _
  495. ; line unless ignore_repeated_source is set true.9 n% N/ j# y" C8 M& v6 V7 d
  496. ; http://php.net/ignore-repeated-errors. X+ K, l. I* O
  497. ignore_repeated_errors = Off
    8 ?; ~& A  n% F/ j5 v/ X5 }9 `) L

  498. 7 b0 b, s: m# ^# i  X1 C9 S0 T7 L: ^
  499. ; Ignore source of message when ignoring repeated messages. When this setting, P" r4 i6 }8 L* z! q
  500. ; is On you will not log errors with repeated messages from different files or
    0 ^$ ^( [" p. D. ~% f/ x
  501. ; source lines.* r9 P9 T% I6 C0 V/ O# u9 q
  502. ; http://php.net/ignore-repeated-source, j  U/ q9 V  `7 j
  503. ignore_repeated_source = Off
    7 k$ {* I* \+ m% |9 h& a/ ^
  504. 5 ?7 A0 P& i2 h/ {* d* r
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    / T0 `" L/ Z% e& X! `
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    4 h- P! t3 I, J( g" o3 z* w
  507. ; error reporting includes E_WARNING in the allowed list
    , C+ B+ Y/ X# l, \
  508. ; http://php.net/report-memleaks
      ~# m2 [6 M7 v7 Q/ q$ W' s
  509. report_memleaks = On3 |  O; f+ c- w# T. ^6 C

  510. . h8 J: k. L! ~( x3 ~
  511. ; This setting is on by default.
    0 e& ^, r3 a4 o: {
  512. ;report_zend_debug = 0; \" T! E9 P- l. W: @& W

  513. 9 K) y  [! Y  Q" U9 n2 b
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ ^7 p1 B7 p) C8 z, {4 [
  515. ; to On can assist in debugging and is appropriate for development servers. It should' X# t: X0 f1 W) z% H. w
  516. ; however be disabled on production servers.
    ( I: V% C% p5 H6 L( F0 L
  517. ; Default Value: Off7 y, u9 `8 M! d; G* N
  518. ; Development Value: On: p5 h3 ~6 O1 j! r3 k
  519. ; Production Value: Off
    , T/ p0 b1 ^  B6 `- `; ]
  520. ; http://php.net/track-errors
    5 t# Y$ K0 i3 z8 }8 r+ p8 V
  521. track_errors = Off
    1 z5 {5 y, V1 Y

  522. , d8 }: X" d" B/ ?$ Q! ~
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    0 s' b  G- r8 ]# v+ u* J
  524. ; http://php.net/xmlrpc-errors
    5 S' [6 G3 [6 k3 L9 R0 w
  525. ;xmlrpc_errors = 0
      P* G/ a  |/ Y3 K$ Y7 X
  526. ( M& a: X$ v8 {. j
  527. ; An XML-RPC faultCode
    3 B7 P4 d8 m. u
  528. ;xmlrpc_error_number = 0
    3 B6 _  a$ R: ~* _0 h
  529. : {$ ?% @6 i$ g- b' g
  530. ; When PHP displays or logs an error, it has the capability of formatting the; |" [" o" f7 `  V' M8 g9 W$ z
  531. ; error message as HTML for easier reading. This directive controls whether; h- W% t2 r% Z2 }9 ^4 p0 }: I" ^
  532. ; the error message is formatted as HTML or not.9 h2 |  t8 Z8 b$ c) @
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI; d0 |' @7 |5 Y9 @4 `- [
  534. ; Default Value: On
    " v3 a& k5 L' W- G9 B8 m
  535. ; Development Value: On
    0 l1 b- Y1 ?  C; H1 {" _
  536. ; Production value: On5 }3 E' w' [7 |5 M7 R; K6 N
  537. ; http://php.net/html-errors. P1 \8 D. S6 U0 C) A- x9 V1 z
  538. html_errors = On
    % a5 n! ?$ f8 |$ S* d6 ]
  539. 5 T0 l  z! K. m6 c4 N
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % d% f" d- L  I4 E1 {# @  ^
  541. ; produces clickable error messages that direct to a page describing the error8 M2 H6 Z3 o( B6 G2 r
  542. ; or function causing the error in detail.1 p* ^! p# v6 s; o: r' E
  543. ; You can download a copy of the PHP manual from http://php.net/docs  f$ \, a# O! e2 ]
  544. ; and change docref_root to the base URL of your local copy including the
    ! K5 j. ?; \( D; k
  545. ; leading '/'. You must also specify the file extension being used including$ f; u  d7 A" Z& c( ~
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which! n- x) D4 z5 b4 H
  547. ; case no links to documentation are generated.
    ( n- p5 ~1 F" R* t
  548. ; Note: Never use this feature for production boxes.
    , V) W' y6 _, S' L, E1 Q
  549. ; http://php.net/docref-root
    6 M3 d1 ^* `3 R3 L  C1 A) p% E, d
  550. ; Examples
    ' ?- {9 W8 o2 b' y8 q
  551. ;docref_root = "/phpmanual/"' A7 Z5 p( a% F3 J, V3 Q& v/ W8 D. H
  552. - U7 E4 }( S# F; l. J
  553. ; http://php.net/docref-ext
    9 N: t: H+ w. F+ c$ z2 R
  554. ;docref_ext = .html/ `9 E4 O, k1 x; |  N' d

  555. & y: w5 n5 b& k& V& g8 w) y. X* C
  556. ; String to output before an error message. PHP's default behavior is to leave
      H/ }% f/ X0 Z
  557. ; this setting blank.
    0 C, x4 I+ ~, _& j) t, ?1 U
  558. ; http://php.net/error-prepend-string
    & X2 O2 _  _7 \) y. y% d$ [2 Y8 v
  559. ; Example:9 ^# ?- q* Z0 R3 n( R6 M- a$ l
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    # J: v( j9 _$ L* D* D

  561. . y* ^2 [# m/ ?, q. N
  562. ; String to output after an error message. PHP's default behavior is to leave( w3 C2 I5 x1 m2 r& z# `
  563. ; this setting blank.: a) G* y2 H2 U0 |' ]
  564. ; http://php.net/error-append-string3 F7 k6 ^. t0 P4 W8 R; d
  565. ; Example:
    * h+ Y2 {6 K0 x0 t1 y4 E
  566. ;error_append_string = "</span>"5 L: x- l1 @: i& f/ N) T# [2 J
  567. / _2 i5 P, k; N% e
  568. ; Log errors to specified file. PHP's default behavior is to leave this value& {. _$ X( x" b7 x! @' f
  569. ; empty.
    0 c/ Z3 [& j7 X" Y/ J
  570. ; http://php.net/error-log
    6 T+ y" C1 o" ~$ W
  571. ; Example:
    " y6 Q1 L% o( ^0 _' U: g
  572. ;error_log = php_errors.log$ w" ^/ Z; `4 P9 \! U' p) ]
  573. ; Log errors to syslog (Event Log on Windows).
    # {5 G" ^4 R$ i# K. q) |" f1 ~
  574. ;error_log = syslog
    " W9 `# j- O- _# d
  575. " |1 i$ Q; u5 d, X% `& t
  576. ;windows.show_crt_warning
    ) \- X; H  I1 K; u
  577. ; Default value: 07 j; Y' I  B3 _3 y/ F
  578. ; Development value: 0
    " I& d) o* W8 m8 {: f7 G/ d& h! N
  579. ; Production value: 0
    $ U% `8 [" G. G
  580. 4 P- ^+ f6 S. O! X7 @7 `
  581. ;;;;;;;;;;;;;;;;;
    , X* n9 H: P* s+ }& Z4 ^7 F
  582. ; Data Handling ;5 u, r, P& @  h. W
  583. ;;;;;;;;;;;;;;;;;
    # y6 f/ t( B/ D9 K' t) U

  584. & T" N2 `% \2 f, n
  585. ; The separator used in PHP generated URLs to separate arguments.
    - `$ L4 S2 G0 x2 G* i" O
  586. ; PHP's default setting is "&".
    6 K) \  Q- C2 S3 J/ ~6 ]2 J
  587. ; http://php.net/arg-separator.output
    1 F8 \. i, s9 w2 u
  588. ; Example:
    9 b: T- g3 e5 q" T  O2 E9 ^
  589. ;arg_separator.output = "&amp;"
    2 |% f9 d% G1 u- z

  590. ! o. w) M" }, e  u: f4 i: K' ~
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    # q! w; V! Z% j! E1 m1 x* ^1 _
  592. ; PHP's default setting is "&".
    & D8 |) B9 u, a. _2 c8 ?
  593. ; NOTE: Every character in this directive is considered as separator!
    9 g1 t/ h7 r" p5 H7 G
  594. ; http://php.net/arg-separator.input
    3 K; I- Y! ^0 s
  595. ; Example:
    : N4 S* J' H0 S* Z/ e* a' G; g+ d: i* M
  596. ;arg_separator.input = ";&"
    6 e, i: E0 s( D4 R( [

  597. 3 R& _# _- S% [- H
  598. ; This directive determines which super global arrays are registered when PHP6 K/ U# @/ F" B
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super" }+ L% W' q7 J
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    $ e5 }2 g( E9 k# N+ S6 z
  601. ; paid for the registration of these arrays and because ENV is not as commonly
      w/ j! U! k! y  D
  602. ; used as the others, ENV is not recommended on productions servers. You
    8 ]: D% E1 ]. c# \( I+ }
  603. ; can still get access to the environment variables through getenv() should you
    ' i- s4 U8 o4 ^' z6 N2 ]
  604. ; need to.) G! i2 }# R6 Z3 W; }
  605. ; Default Value: "EGPCS"2 C8 r1 t$ ^6 _. m( U
  606. ; Development Value: "GPCS"! d3 A" y1 r1 m  S, C. N) w7 q
  607. ; Production Value: "GPCS";
    2 ?* n. Q% U. }9 q0 [
  608. ; http://php.net/variables-order
    ) q  O+ Q# s1 C; I2 i0 m
  609. variables_order = "GPCS"+ p2 I/ V9 W8 q( d" a% c% N1 N

  610. $ |- g' c, W9 |  Q5 O, S# o1 y# H
  611. ; This directive determines which super global data (G,P & C) should be; [9 ^6 G$ q% u" u' ?  N4 P
  612. ; registered into the super global array REQUEST. If so, it also determines
    3 ^. r: q$ m- Y! r
  613. ; the order in which that data is registered. The values for this directive
    & ]& s1 L0 k( w
  614. ; are specified in the same manner as the variables_order directive,
    2 q# u7 y5 K6 S2 E
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    + r& E1 @0 s( ?7 d
  616. ; in the variables_order directive. It does not mean it will leave the super
      ~  U4 ]9 N/ A0 d& I/ j! A! F+ M) }
  617. ; globals array REQUEST empty.
    , p( {' M# x/ N: T+ o/ }0 F1 I
  618. ; Default Value: None7 i) w0 s! U8 K$ `# J& v
  619. ; Development Value: "GP", H' I# }8 k3 K/ J5 d
  620. ; Production Value: "GP"
    . `  L' a: w% f3 N8 ?% j
  621. ; http://php.net/request-order
    $ o5 L0 n) f) J
  622. request_order = "GP"9 Q9 G* h2 L% A8 a* a% Z

  623. ( ?* ~) [1 c) y5 X1 I
  624. ; This directive determines whether PHP registers $argv & $argc each time it6 V' P7 \7 f, C6 i. u
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script. ~# ^3 @" H+ n+ c
  626. ; is invoked. $argc contains an integer representing the number of arguments% N3 f* }1 I8 ]/ S2 W/ ]! F$ e
  627. ; that were passed when the script was invoked. These arrays are extremely$ H, p) k- N4 K
  628. ; useful when running scripts from the command line. When this directive is* r! s7 ]; m. K& v0 r) A! |
  629. ; enabled, registering these variables consumes CPU cycles and memory each time' G3 @7 I9 T( W3 K$ t
  630. ; a script is executed. For performance reasons, this feature should be disabled
    $ a! z! V, o$ ?& x% D8 l% L
  631. ; on production servers.
    3 K' f3 A9 X  Y+ |
  632. ; Note: This directive is hardcoded to On for the CLI SAPI1 O) n1 y' E2 S7 W6 r. S2 A
  633. ; Default Value: On7 x" |3 N4 _; M1 ^1 i1 d: g$ O
  634. ; Development Value: Off
    1 r( l; J5 d& f1 e5 }. u
  635. ; Production Value: Off* B% N- _- A+ p: ?  O6 @6 S6 c
  636. ; http://php.net/register-argc-argv
    . C, K$ I; }. V/ A/ R
  637. register_argc_argv = Off. q+ o9 ^$ \9 O
  638. # [6 V" ]0 }% n: s" n! A
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    9 ?% _- V" Y& L& j+ y) Y$ U( L
  640. ; first used (Just In Time) instead of when the script starts. If these
    : f% o: B5 i5 A* C
  641. ; variables are not used within a script, having this directive on will result2 g8 _# }: ~- f8 \: X
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 E( M8 p, Y& n) r1 w$ w) l
  643. ; for this directive to have any affect.+ t7 d- L8 ~, D7 k& h( P$ L
  644. ; http://php.net/auto-globals-jit
    9 ~# H% W- n' W( T7 f
  645. auto_globals_jit = On
    8 {. c' f, [0 @3 E$ C% Q
  646. 0 f; l" Z* {/ I9 D- ~
  647. ; Whether PHP will read the POST data.
    + [! E2 c+ E) V9 S  p. c# |
  648. ; This option is enabled by default.
    2 S: N% D8 J( s0 o4 E1 \
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST( X5 [' l7 F1 ~4 |
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    / J- D8 N; W& Q1 K
  651. ; POST data will be through the php://input stream wrapper. This can be useful9 d6 h" P9 K6 p& v5 l8 I
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    4 B7 N- }2 |. z7 D0 v: d; Y. ?
  653. ; http://php.net/enable-post-data-reading
    ' e: A; ?' V' s1 _7 f5 B! L
  654. ;enable_post_data_reading = Off
    : l! h. F0 }6 `0 n. R' Z

  655. % ?; s* W& p2 S& \, \
  656. ; Maximum size of POST data that PHP will accept.# U# R; v. _6 z/ M5 U
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      ]2 c8 j, v6 N3 G' {
  658. ; is disabled through enable_post_data_reading.
    1 V, y" A+ w2 y5 I1 ]3 s
  659. ; http://php.net/post-max-size
    8 E" U' X& w0 z1 {# Z0 _; c1 E
  660. post_max_size = 50M2 M# {0 j4 o8 I
  661. . F- ~$ F& e3 t
  662. ; Automatically add files before PHP document.
    % B$ p" j1 l+ H1 r4 J; F5 H
  663. ; http://php.net/auto-prepend-file
    % g  I3 @+ C$ f1 j: y4 @
  664. auto_prepend_file =! U; f1 A  [  B% u/ Q/ U' D
  665. $ i4 P0 `# f6 w5 r- s8 G" h( m
  666. ; Automatically add files after PHP document.
    2 W+ \& G' H0 F0 l, W' g
  667. ; http://php.net/auto-append-file% r# [" ?3 h$ `# h7 J* T: K
  668. auto_append_file =5 I! I$ \7 a6 H, D3 C

  669.   `9 |7 x0 \+ d, `6 m% I3 q
  670. ; By default, PHP will output a media type using the Content-Type header. To& d3 U1 ?% x; _' W, q
  671. ; disable this, simply set it to be empty.- l% w( R# }  c( w  w8 {1 M/ H
  672. ;1 k4 j. H, g1 _9 h" n  {/ Q/ ?/ n
  673. ; PHP's built-in default media type is set to text/html.
    . R9 B: G, _! u; x
  674. ; http://php.net/default-mimetype
    - p  [  `5 R! q
  675. default_mimetype = "text/html"
    / L+ ~0 v* p, s1 K2 q
  676. / R( h- {1 p* A) {" ^: x- }
  677. ; PHP's default character set is set to UTF-8.
    ( c+ R$ C% A' j6 \1 a
  678. ; http://php.net/default-charset+ P! J; E/ g) E% P3 t* T5 v# F2 ^
  679. default_charset = "UTF-8"
    2 D: R1 H% I$ ]' f/ \% K

  680. $ F$ D, n, ~, T( h4 R0 c9 o
  681. ; PHP internal character encoding is set to empty.
    9 H; a$ D) u8 A1 B* l( @
  682. ; If empty, default_charset is used.
    , H( [5 `8 N* f+ V; k9 E. }
  683. ; http://php.net/internal-encoding5 @3 D* B8 P4 g" J4 C. J
  684. ;internal_encoding =. @6 T) H6 V4 [! t$ T* i

  685.   b/ k( @3 k  |/ o
  686. ; PHP input character encoding is set to empty.
    # C. q0 P  K% M4 y& e" q
  687. ; If empty, default_charset is used.1 I: V! I3 `3 F
  688. ; http://php.net/input-encoding
    6 m; a9 @( x$ b4 R( \/ y  A/ F
  689. ;input_encoding =' p1 l3 Z1 j, `+ R8 c9 L
  690. ) O3 L8 a+ j0 k# |( @) A+ z
  691. ; PHP output character encoding is set to empty.
    ( e+ G# Q1 h5 A
  692. ; If empty, default_charset is used.
    ) A4 o* Y2 ~* s* X' w8 [- S/ |& M
  693. ; See also output_buffer.
    9 c5 e: J& O4 e/ J; b
  694. ; http://php.net/output-encoding
    ; I( x1 Q. ~# Q6 r5 \% L$ s
  695. ;output_encoding =" y- r7 D4 V1 r( o) E: Z
  696. 5 ]2 H- V! @3 W, p. L8 s0 p; g. ]9 M
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is4 Y; O0 U% f; ^
  698. ; to disable this feature and it will be removed in a future version.
    9 W5 P5 O! \. z
  699. ; If post reading is disabled through enable_post_data_reading,/ j6 l3 j1 s6 A$ ?+ S
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ( l5 d, V6 ]5 l. C5 U/ l8 W/ M) ~
  701. ; http://php.net/always-populate-raw-post-data
    # v+ k, D9 |  v+ F2 ~& C. K/ J) P
  702. ;always_populate_raw_post_data = -12 k  b: t4 q5 }) N* i* U

  703.   X* a! ?6 Q3 `+ T( J
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 m5 C. {) I( m7 T
  705. ; Paths and Directories ;
    , O0 Y! z; [$ T
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;) I4 a3 j3 ?  g9 S; H0 Q% a+ t

  707. : G+ _8 @4 H. C: U- c4 E* \, I
  708. ; UNIX: "/path1:/path2"
    ( }4 g! o" h) `
  709. ;include_path = ".:/php/includes"
    ' w/ m( j8 M( p9 Y* V; ~; c, j0 H
  710. ;) p, f+ |) q1 ^0 J" U2 d9 O7 \
  711. ; Windows: "\path1;\path2"
    5 S  }8 t9 _% E2 [. }8 A* }0 W
  712. ;include_path = ".;c:\php\includes"
    7 ~. E1 e1 a6 R+ l
  713. ;" q" j9 ~2 c5 t; k/ u  b/ {- o
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
      h7 Q0 T' A- A! K' m
  715. ; http://php.net/include-path
    0 ]( A) s  ]) \

  716. ! ?( e2 D) I8 V6 @7 G
  717. ; The root of the PHP pages, used only if nonempty.
    0 @! Q7 [0 [" ~  V( c; F3 I' H" [
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    " U1 W5 I) F- a7 ?! D/ [
  719. ; if you are running php as a CGI under any web server (other than IIS)) A: u. Z3 y% w9 {
  720. ; see documentation for security issues.  The alternate is to use the
    2 E7 s+ B4 `6 l$ K3 B2 Q: }
  721. ; cgi.force_redirect configuration below
    6 K6 ^. K4 }" {3 ?
  722. ; http://php.net/doc-root, a% b. f0 Y, N3 T, c
  723. doc_root =
    8 o# x5 V# c% x+ w+ G# P

  724. + K$ X+ p. u* ^5 Y+ e& U; {
  725. ; The directory under which PHP opens the script using /~username used only
    8 e% U* T7 D; X
  726. ; if nonempty.: x1 L) c- h" e) ~+ u) Z* N" _
  727. ; http://php.net/user-dir
    ) a) Q* b- m  r. t; w: `
  728. user_dir =
    ) z9 U- U; o1 B: N
  729. 5 }* Z- v% A; [' G! Y
  730. ; Directory in which the loadable extensions (modules) reside.: h" W! l3 k+ N1 R4 k
  731. ; http://php.net/extension-dir
    : k0 f& q2 i! v' H
  732. ; extension_dir = "./"" s+ a6 z% I* D* _
  733. ; On windows:
    ) R' {: u. t% Z! [' h1 k
  734. ; extension_dir = "ext"  O1 K- w4 s8 u9 G
  735. + C* o/ U+ `, h3 b, z9 z/ O; `
  736. ; Directory where the temporary files should be placed.# P( p8 B5 I# Q+ h" J
  737. ; Defaults to the system default (see sys_get_temp_dir)
    * l) z4 P$ ]' Z; r" n+ m
  738. ; sys_temp_dir = "/tmp"+ P, j9 X+ J! g4 T4 b2 c

  739. / Z& o! y. M# g. m' x+ D
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work$ M# T7 C. S$ ]) C+ O! \
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically; i, ?) m( \4 X7 }  \. i' n+ B
  742. ; disabled on them.
    & p9 N: Z+ f1 i9 m' e0 ~
  743. ; http://php.net/enable-dl# k; p7 X) L, {/ P, ?' f+ w. L2 m
  744. enable_dl = Off) T, `9 ]' V3 |" W  p1 K

  745. ( ]. f0 b  x, s9 M4 ^
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    : U  q6 J, ]8 O; f) r# u( z
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can, n% F4 f" W; w/ f2 ]! O' J" e
  748. ; turn it off here AT YOUR OWN RISK
    . @0 m7 S! I2 y; s
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    4 a. i) G$ T5 q. V$ A6 P
  750. ; http://php.net/cgi.force-redirect( t5 D* |! m0 a, v# e
  751. ;cgi.force_redirect = 1) T3 ^$ |6 v- h0 F" |
  752.   z! \7 B' J: @+ v* B
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with0 L6 V& Y* w  h" s7 u3 K
  754. ; every request. PHP's default behavior is to disable this feature.+ ~7 @0 ?8 M! Q; e2 y6 _4 \
  755. ;cgi.nph = 1
    7 `- t' }7 S# C) Q

  756. 8 Z4 F( E5 A* Y! Q# O
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 c# y  y* V# O
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ! I* f" \- h) T" H5 t: ~
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    , n5 [, B/ Z; k! U! S& O- ^  J
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 O* q9 c5 K& Q7 [8 m
  761. ; http://php.net/cgi.redirect-status-env
    + K3 M' C" R7 p; G
  762. ;cgi.redirect_status_env =9 _( y' ~7 U( K' n3 k
  763. ' }: j, c7 h" R" R0 r" v
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's9 i! t; z- v' t1 V& o
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& d* p3 n! z# m
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & Q4 ~4 l9 K$ z1 s) D' }# o; o
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    . L( e7 i  {, }8 M" Y% u
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts; O9 }/ Y4 _9 B1 k  x
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) a5 y+ O. s0 D$ F) x% |: @/ E+ |
  770. ; http://php.net/cgi.fix-pathinfo& T8 w5 J. e6 _$ v( B
  771. cgi.fix_pathinfo=1
    : d0 N# g+ n# G. Y. M
  772. / `6 M) u) X/ L6 w* v0 v3 [
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside' e" M6 W4 A5 v( k  @; ^# a: k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.9 w7 t4 ^: ~! b0 d
  775. ; http://php.net/cgi.dicard-path% t* [4 U! w. {, B1 X6 l
  776. ;cgi.discard_path=1
    4 ^, e8 {  f: y; t8 |
  777. 3 x! B' t/ |( U. c1 Z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate& F, o3 u2 f/ P! b
  779. ; security tokens of the calling client.  This allows IIS to define the
    - w+ k, z, u" G  R5 A4 f
  780. ; security context that the request runs under.  mod_fastcgi under Apache! d# K% D0 ]" q% V/ _  S6 d
  781. ; does not currently support this feature (03/17/2002)  B8 ~/ f/ g$ k
  782. ; Set to 1 if running under IIS.  Default is zero.
    % t2 Q# ~0 G( {+ N' \$ x6 J+ H: D4 s  M
  783. ; http://php.net/fastcgi.impersonate3 F' j$ J2 I; t2 {) m5 f$ {* N
  784. ;fastcgi.impersonate = 13 N0 N( A1 H% g- g5 F
  785. - d, P! r* f4 S0 v  ^4 {
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* r* ?3 y+ \' g8 H- X
  787. ; this feature.+ m8 J# y! V9 a( q$ L1 v8 \
  788. ;fastcgi.logging = 0' w" q2 ?% D" M3 v$ R! q
  789. * J9 h: P' o8 Y- K
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ' [$ H! a0 J# q8 a4 Z5 X
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    $ q% u! K# T$ R* H
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    6 z. Z0 G9 O1 d* c/ J3 Y6 n
  793. ; RFC2616 compliant header.
    + ^5 g. n1 Y; c* _2 Z3 q6 E
  794. ; Default is zero.8 A# }" Y* [% p1 {7 L
  795. ; http://php.net/cgi.rfc2616-headers
    + Z" k. m6 R8 ~  l# k# Z0 L
  796. ;cgi.rfc2616_headers = 0; ^# s. B& I# h8 Q" o( {1 h7 X" C% I
  797. + g" C. W! `7 E8 F. ^" P1 K3 V
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : p) z) G, g* E' `
  799. ; (shebang) at the top of the running script. This line might be needed if the5 Y- t/ W; G& N( B' P& I
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI. \+ H/ J: y. p* \% j; M( G( Y0 E/ t
  801. ; mode skips this line and ignores its content if this directive is turned on.: U( U$ Q5 I: i+ S9 S) P
  802. ; http://php.net/cgi.check-shebang-line
    / k: e' }' J/ _! I0 M* b
  803. ;cgi.check_shebang_line=18 j5 `  Z6 L, W
  804. # u$ f% l# e7 W3 y5 d
  805. ;;;;;;;;;;;;;;;;+ W! |9 }& N! X) E$ z% F4 {
  806. ; File Uploads ;$ @: \3 P" K/ d4 K' m" y+ J
  807. ;;;;;;;;;;;;;;;;! K, A* o6 ~& a' s9 X+ e
  808. 2 e+ x* [) M# d, y  A$ X8 j
  809. ; Whether to allow HTTP file uploads.
    * }/ N$ L6 @/ |( e
  810. ; http://php.net/file-uploads
    2 a5 X  I, i% t  ]& r# ]& E
  811. file_uploads = On: Q* W% `! T7 h  Q$ x3 Z

  812. ) }5 {( p) J: z# |8 _7 J" n
  813. ; Temporary directory for HTTP uploaded files (will use system default if not  r8 g1 F2 I( }; ?+ `
  814. ; specified).0 ^; ~3 {3 U: `( }# m9 R
  815. ; http://php.net/upload-tmp-dir2 g% `- Q3 J; M+ }0 ?3 r. n5 w
  816. ;upload_tmp_dir =. @% |+ A: n; \0 h% I5 o) Q
  817. ) S* I6 |2 p( Q& t' {2 M
  818. ; Maximum allowed size for uploaded files.
    : B" Y' N* e: Z* j% a6 Q: R/ h+ _
  819. ; http://php.net/upload-max-filesize
    & X( x) u# y$ W$ X
  820. upload_max_filesize = 50M
    + F* A) O6 o8 _' V& j/ F- @
  821. ( ]. D) x$ `+ o5 K7 o
  822. ; Maximum number of files that can be uploaded via a single request
    9 U' q: c) p* U6 f, c
  823. max_file_uploads = 209 _* k9 ]  T: l" B# F& D
  824. . L! ?& M+ B% X+ N, G- v4 x0 M
  825. ;;;;;;;;;;;;;;;;;;* |; {  d* Y% U# s& R0 R: b  _7 H
  826. ; Fopen wrappers ;
      C7 |! n. s4 a: T3 J7 b/ C4 F: I
  827. ;;;;;;;;;;;;;;;;;;% ?* N4 o1 l! l+ [' A0 s# r+ a1 _
  828.   u7 _1 c0 f+ p& o# S
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ! K) C; r* H; t& n
  830. ; http://php.net/allow-url-fopen
    & W/ g# o4 T' B
  831. allow_url_fopen = On9 e7 y' l4 }6 }% f# @" B9 W$ k; ]' ^
  832. % w  [! Z9 N) I$ Y; D. L
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files., c, Y8 A  ?$ O' A! B) E+ T
  834. ; http://php.net/allow-url-include" Y$ t" H9 b8 A8 J
  835. allow_url_include = Off
    4 E1 l4 m# j8 R# f( z2 m0 e
  836. & o; D+ I) I2 V
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 f% s- S$ F) ?# R
  838. ; for this is empty.
    6 J: T0 R2 k7 ]+ \" G5 d6 R
  839. ; http://php.net/from
    " h  w" ]3 x* ?9 w5 i, X1 _$ O: H
  840. ;from="john@doe.com"
    % v. s4 J- W5 P
  841. ' |1 p) f& r' X- Z7 B+ I8 J. T/ ]
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    - e) ?% z% U* ^! s
  843. ; http://php.net/user-agent' A& E% v+ v9 l3 O) W
  844. ;user_agent="PHP"
    ( ]) D, }4 F; p/ |; R
  845. , j# }4 |2 a, X. e% V7 B: z
  846. ; Default timeout for socket based streams (seconds)
    : [( x! P. p2 `9 d1 _% a
  847. ; http://php.net/default-socket-timeout& U! H6 S, ]2 {$ ^: e9 [
  848. default_socket_timeout = 60
    , P0 o- z. s$ J- m% I. t
  849. $ S2 _" T. P. d
  850. ; If your scripts have to deal with files from Macintosh systems,4 E: Y& h* b- s1 b( B- P9 X
  851. ; or you are running on a Mac and need to deal with files from
    " F6 O# ]- r$ d& U1 s
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ) K% f9 H8 n4 ^# s5 G( P% z, L3 `
  853. ; automatically detect the EOL character in those files so that
    & }" m# v* Q: C; a6 b
  854. ; fgets() and file() will work regardless of the source of the file.. X# Q- i/ |7 M/ h4 Z3 [. G9 _8 k, f
  855. ; http://php.net/auto-detect-line-endings& Z% R# L4 ^# H  v" ^
  856. ;auto_detect_line_endings = Off
    0 W  c  N6 S' m, ?
  857. ) y9 p; k" `# K! {- ?7 ]
  858. ;;;;;;;;;;;;;;;;;;;;;;
    2 }$ p3 g' t$ O1 B/ W9 }- q
  859. ; Dynamic Extensions ;
    6 o, R0 h: p( {2 N9 b
  860. ;;;;;;;;;;;;;;;;;;;;;;3 W% q; X3 G5 ~5 u! A

  861. " w! u) ~7 l7 Q
  862. ; If you wish to have an extension loaded automatically, use the following, r& B6 N/ R; Z% H
  863. ; syntax:7 p# V; B; [2 E9 \0 [
  864. ;
    # Z3 _  B) U  }: J$ Z6 m9 o1 S$ e( Q* L
  865. ;   extension=modulename.extension
    ; x" I* {. @( F2 K3 d% d- j
  866. ;$ E. v: d4 X: g+ Q, o1 [
  867. ; For example, on Windows:
    : b3 a3 ]' u2 }
  868. ;
      p: z# o6 V/ u6 ]1 Y- v
  869. ;   extension=msql.dll( o2 o" s, I! T" f
  870. ;
    ) B$ Y; o$ R7 @1 D2 h" J8 s+ Q
  871. ; ... or under UNIX:* v( n) @5 r5 l2 _4 R8 S
  872. ;
    ; F. e. l( E) p* c8 l, t0 |, P
  873. ;   extension=msql.so" H' J: i0 @0 N& R1 V3 u
  874. ;
    8 ?  [! _" h4 n& D' ~2 G) M6 [
  875. ; ... or with a path:
    . Q5 ~# ]; u+ \
  876. ;
    ' m& u9 \- g7 z- G) v* F
  877. ;   extension=/path/to/extension/msql.so
    & S( p: M$ {( u
  878. ;2 J! a# I. p8 C& e- H: m, {0 j6 L
  879. ; If you only provide the name of the extension, PHP will look for it in its
    3 u! g# W9 i8 |" j: _
  880. ; default extension directory.: W& ?6 P1 P! ?) D% M1 O) |
  881. ;: F6 P- d) L4 }% ^( z
  882. ; Windows Extensions( C1 u: M% q9 ^# _
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ( S# I3 \2 ?1 g- _% Z7 |
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)) z+ G- Q7 _1 A1 C& W7 `) ]4 \
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
      o2 Y: b! N3 k$ y+ G
  886. ; Be sure to appropriately set the extension_dir directive.
    ! f& m: j  B2 r# y
  887. ;! U7 M8 A5 x2 p- r4 G* a
  888. ;extension=php_bz2.dll
      I# L4 M( I: p- l
  889. ;extension=php_curl.dll) |7 u# C; ^7 i$ d" Y) I! L4 |& ], j
  890. ;extension=php_fileinfo.dll
    6 e# n$ Q3 h  l5 \. R" A3 m
  891. ;extension=php_gd2.dll
    " M- U* R+ m: q
  892. ;extension=php_gettext.dll
    7 U7 O! C7 O% X( r
  893. ;extension=php_gmp.dll
    1 ^) H; T" ]& Y% C
  894. ;extension=php_intl.dll8 S; N8 P1 h/ D* }, {7 S- L2 ~9 ]2 g+ p
  895. ;extension=php_imap.dll
    7 K$ ^  j% f+ d
  896. ;extension=php_interbase.dll
    ' j3 i& k) M, G+ c; g
  897. ;extension=php_ldap.dll
    5 d+ A6 U" E6 c" F9 h2 R
  898. ;extension=php_mbstring.dll
    ( o5 L7 R% X! K4 ^! a
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    % w, g, F* r$ @2 Z
  900. ;extension=php_mysql.dll9 s4 P) |& }3 y3 @5 h" {$ t
  901. ;extension=php_mysqli.dll7 z4 w* P( ]$ z- q, r
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( j: P* G  T: H: ?3 ]
  903. ;extension=php_openssl.dll
    3 H5 |0 h$ {! v6 o* k% J, i* I6 s
  904. ;extension=php_pdo_firebird.dll
    ) h. h2 ?- y. z8 }
  905. ;extension=php_pdo_mysql.dll
    / M2 g2 m+ a; W1 e: m- p7 b8 U
  906. ;extension=php_pdo_oci.dll
    / h+ B4 Y: p, G- O6 Z8 F
  907. ;extension=php_pdo_odbc.dll
      T! F9 Z0 n, _5 W) I0 g  w% H
  908. ;extension=php_pdo_pgsql.dll
    , C' ?& m% m. o
  909. ;extension=php_pdo_sqlite.dll% [! z0 }5 O/ {. P
  910. ;extension=php_pgsql.dll
    ' c  P5 @7 G, l5 }1 x
  911. ;extension=php_shmop.dll& f& x* |" h. b# S2 q1 `' ?0 }1 w+ ?

  912. . g* y3 T2 _( o! H- ?8 h
  913. ; The MIBS data available in the PHP distribution must be installed.
    6 I4 Q) ]8 ~" f# I
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ) d( l* j9 h3 J- @; d0 A
  915. ;extension=php_snmp.dll7 Q7 @7 [  b# t! o# W  C$ C

  916. ( J) W* Z& K& i' }  G" p2 A
  917. ;extension=php_soap.dll
    6 W: x, |( Z& ]8 }6 ?; l
  918. ;extension=php_sockets.dll
    ! S8 a% l' B$ C6 \
  919. ;extension=php_sqlite3.dll
    ' b5 u3 ?0 z* ^" q( e/ w, M$ m. D7 f
  920. ;extension=php_sybase_ct.dll
    , y' ?# x7 r; Z0 B/ s/ Z
  921. ;extension=php_tidy.dll; O- c' N: \/ N6 i# g
  922. ;extension=php_xmlrpc.dll
    7 _9 N6 H6 U  A, R" b# R
  923. ;extension=php_xsl.dll# O, k* H) W& h* J) f! y3 [5 K. u

  924. 4 H( K. v9 `2 S
  925. ;;;;;;;;;;;;;;;;;;;
    ! Q+ c% P3 ~3 E! q7 J# ^! ?- T
  926. ; Module Settings ;
    5 f& [5 M) l" @  b- T3 s; a% A/ w" h' N( j
  927. ;;;;;;;;;;;;;;;;;;;
    0 u) a0 f2 k0 \( z
  928. ! m! f' s# f- O+ N  y# H& N' d0 v
  929. [CLI Server]
    " ]; ^- f. k: h. i
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , Z7 L( Z* ~! w) s) R7 z
  931. cli_server.color = On6 q  D, i7 l) C
  932. 5 O  h3 b- d; X
  933. [Date]
    7 g# J4 N9 x+ ^* P9 Q. Z+ b% v
  934. ; Defines the default timezone used by the date functions8 Z) T* O* @+ S
  935. ; http://php.net/date.timezone7 k: t2 x6 K1 o& |0 t# ^( S+ G  C
  936. date.timezone = PRC
    8 E: u! T! J. q# q; y& R4 i$ l  j

  937. . Z5 Q; h8 @/ {! A1 x( |
  938. ; http://php.net/date.default-latitude
    & c7 @6 o* N" E+ w
  939. ;date.default_latitude = 31.76672 |$ {0 i. [/ G6 _0 R/ c. ^+ `

  940. ' r( F* n- K. F3 ^( w' X% W1 K* q. M
  941. ; http://php.net/date.default-longitude
      u/ ~. m6 i* [# ~: ?. n- h
  942. ;date.default_longitude = 35.2333
    / [- `% }1 {# K  k
  943. 0 p0 |+ J5 ?2 \$ I/ B
  944. ; http://php.net/date.sunrise-zenith
    # v6 m; N3 y& c) P2 l
  945. ;date.sunrise_zenith = 90.5833332 z9 @: s/ H4 w. k- d
  946. ( w, m* b8 L0 m! U- N
  947. ; http://php.net/date.sunset-zenith. F$ d, X  k3 N& e0 w/ d8 h
  948. ;date.sunset_zenith = 90.583333& U& G; H8 f* Z
  949. 0 s+ T3 `4 ~6 m! q& i. m
  950. [filter]
    3 d6 w3 z1 q7 S. e9 D% P
  951. ; http://php.net/filter.default8 [, {' Z- ^9 J- c. B# s/ j. a; j: \
  952. ;filter.default = unsafe_raw
    ' A2 E2 c5 X7 T6 A5 y* `

  953. 9 b" D) x* x9 h
  954. ; http://php.net/filter.default-flags
    : ~" j- d( T) v9 g0 W9 d/ s/ k
  955. ;filter.default_flags =- T4 L- i* ~8 s2 q
  956. & [  z" ^7 o# D" n) c3 B8 J% c1 C8 {' Z
  957. [iconv]
    & q- Q7 {( P: T
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! b3 }, j3 V6 y- ~3 s
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    8 P1 M7 ]! W. q
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* |) k' m* e. A* d0 ]  M
  961. ;iconv.input_encoding =
    * V' ~4 i5 d0 `: I0 f+ L# X

  962. * Y  V9 ^1 d; [" r# Q- C
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    4 X. {# A1 m. m- Y& `- H& I
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( j5 n' c( D* L+ }( q" z6 m% n
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ L' P" }9 s$ n  _' z
  966. ;iconv.internal_encoding =* T2 Y% ?0 P. e& X( l7 C( t
  967. * }9 J- _$ `: b! l! W
  968. ; Use of this INI entry is deprecated, use global output_encoding instead." e* M  L9 ~( w" l' |5 M
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    % z1 M# X! v9 D4 Q
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    6 S$ y2 Q+ p1 @! P; R9 G; e
  971. ; To use an output encoding conversion, iconv's output handler must be set
    9 C- P8 `% |4 a% Q( a
  972. ; otherwise output encoding conversion cannot be performed.
    7 n# m) S+ Q4 o9 o0 c- ?3 E
  973. ;iconv.output_encoding =
    ) R1 @; u& ?% R. O0 A3 Y0 k5 i2 A

  974.   C" c) \" E# F4 G; Y' V
  975. [intl]
    1 j  ^* d) ?! `' H. A
  976. ;intl.default_locale =: k" \) i& ?: x7 ?6 }, P' R# l2 ^
  977. ; This directive allows you to produce PHP errors when some error: n0 H3 |0 z' U6 Z5 P# w
  978. ; happens within intl functions. The value is the level of the error produced.) k4 ^0 S! E9 b* g: q; B; O$ w8 H
  979. ; Default is 0, which does not produce any errors.
    / i/ Q: c8 f  b4 [
  980. ;intl.error_level = E_WARNING( D/ E# U8 X+ D4 H3 s# M8 Q# C
  981. ;intl.use_exceptions = 0. r" C3 m1 N4 g7 v

  982. ! H6 v( X$ g5 m+ M: W2 _& [# u
  983. [sqlite3]
    3 m6 M; D7 J* [/ i9 f
  984. ;sqlite3.extension_dir =
    1 w9 P- U6 {9 N, B

  985. 5 y1 O5 Q) D7 Z4 \: M
  986. [Pcre]2 f5 c2 A( h6 I7 N- K
  987. ;PCRE library backtracking limit.
    5 r- A. m3 |& o# p- W6 @
  988. ; http://php.net/pcre.backtrack-limit
    8 A: Q, ?1 A3 B3 A- L' Z2 X0 e
  989. ;pcre.backtrack_limit=100000
    1 V7 v# D* _9 S, ?0 o: C& G

  990. / w5 C3 D4 w4 L  {. L! D) `, q- n+ ~. b
  991. ;PCRE library recursion limit.
    / ~: u% @; S/ V3 k+ |# j
  992. ;Please note that if you set this value to a high number you may consume all) Y1 Y/ b5 J- A) |1 T
  993. ;the available process stack and eventually crash PHP (due to reaching the" C2 N: }6 r. a% ]  c5 S6 k) ~
  994. ;stack size limit imposed by the Operating System).
      D7 n/ H# Z7 J1 N) o
  995. ; http://php.net/pcre.recursion-limit, w( m" G8 O1 f( X
  996. ;pcre.recursion_limit=100000' Z+ S: C/ J' J  F& G9 i7 X

  997. 2 \; J6 w; @1 n
  998. [Pdo]  x. {( x- X$ d) a- t, G6 \* H
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : |1 z; p; c- v0 b
  1000. ; http://php.net/pdo-odbc.connection-pooling
    - i$ x% W4 \! M. W4 l. X0 Q
  1001. ;pdo_odbc.connection_pooling=strict
      ?) x; R2 c% z2 j9 z4 F6 e) j' t
  1002. ' W" W+ F/ [; r: a/ L/ B
  1003. ;pdo_odbc.db2_instance_name
    1 n$ ~! u% V5 P, z! w$ f3 _, `

  1004. + d( D0 L  h- d7 r5 Y
  1005. [Pdo_mysql]6 S1 r1 \; K3 R7 K% p0 A" j
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache  j5 Y3 ?( @: U+ t! N( \
  1007. ; http://php.net/pdo_mysql.cache_size
    * L( p0 D* b. a- c
  1008. pdo_mysql.cache_size = 2000
    . O' t* u7 ^# [9 H
  1009. 4 D3 Z  Z% _3 Q$ e9 ]$ n! j
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 D+ R8 N$ ^: @9 j) A
  1011. ; MySQL defaults.' N1 V) l6 L% b/ K3 ^
  1012. ; http://php.net/pdo_mysql.default-socket
    , m6 b# m; `9 S0 P
  1013. pdo_mysql.default_socket=
    ( |# p3 ]7 T  K1 N" E  T+ Y5 w- A

  1014. 2 S# T2 q* V$ T' p3 S3 L5 O( K- V( ?- \4 O
  1015. [Phar]- t8 E1 o7 S# ?# c5 @
  1016. ; http://php.net/phar.readonly
    4 U# B8 `  {+ U& b
  1017. ;phar.readonly = On1 r* r  ^, J7 O, X7 C! p! b1 Z

  1018. ! J4 f4 C5 X" Y0 N: P$ f' |/ p/ s
  1019. ; http://php.net/phar.require-hash: N; D' c) F- w" a
  1020. ;phar.require_hash = On  f& p1 \2 V0 x# P, Y- F

  1021. 9 ?! D% x' d" G2 ^
  1022. ;phar.cache_list =
    3 a. C) ?& g; D
  1023. / P" Z' w8 K* B  R: c8 A2 G
  1024. [mail function]
    4 e/ o2 O/ `( h7 _% d
  1025. ; For Win32 only.
    , f6 ^4 d5 i4 M/ s' w
  1026. ; http://php.net/smtp
    8 _  l) ^! \. t% N2 O) m/ @
  1027. SMTP = localhost
    ) N, F% a( K5 K, l
  1028. ; http://php.net/smtp-port
    & @, j/ l; K. i7 r. h# p" H
  1029. smtp_port = 25% a+ B% {/ S1 b+ }. \/ U

  1030. : G! Y5 \1 t: i2 u
  1031. ; For Win32 only.
    ; b2 Q/ C9 L% p8 b% [3 ^) @
  1032. ; http://php.net/sendmail-from" F  `. C( o* L: P# ^/ m
  1033. ;sendmail_from = me@example.com
    ; B: ?4 b" ], l, V/ A

  1034. 5 s* ?) Y  w6 t
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 j+ q: C) ]2 @7 Y3 Y7 ~1 V
  1036. ; http://php.net/sendmail-path* g+ l1 Y# ^6 z- c. s0 \
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 W  V1 u' p0 p# d/ B8 Y) {

  1038. 4 @5 k+ K- d% r7 ?, n
  1039. ; Force the addition of the specified parameters to be passed as extra parameters/ @, Q' Q* n% R0 _3 t
  1040. ; to the sendmail binary. These parameters will always replace the value of
    . y& R# t) r: @1 w
  1041. ; the 5th parameter to mail().# V: q6 D6 ^7 P, Y. D
  1042. ;mail.force_extra_parameters =
    , ]5 H0 l5 K- q$ R* H2 r+ k
  1043. ! N. K: m9 S. v0 d3 ?
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 m6 @3 Z9 X# X7 }3 x
  1045. mail.add_x_header = On
    1 }* Q2 M  Y' F8 j
  1046. ) a# D6 o# V$ i! N9 T
  1047. ; The path to a log file that will log all mail() calls. Log entries include, y' }0 O7 @; }
  1048. ; the full path of the script, line number, To address and headers.
    ( m1 k, K0 q. ?% y3 O1 @
  1049. ;mail.log =
    * [$ {  A- a7 \* j
  1050. ; Log mail to syslog (Event Log on Windows).0 ^! q& U4 f/ T1 d: P$ u
  1051. ;mail.log = syslog- }% |& Z" Q# ^1 K2 q
  1052. 9 T5 H+ L% T- R1 Q$ Z
  1053. [SQL]
    # W# S! C+ S! \
  1054. ; http://php.net/sql.safe-mode
    9 I7 t7 P6 M1 f7 I/ L: ?6 m3 D( P
  1055. sql.safe_mode = Off# Z: e0 Y; v$ \- B) b) K
  1056. * V9 c$ C+ r; O( \+ f
  1057. [ODBC]! b" c' n9 o9 v. I/ @. u- O
  1058. ; http://php.net/odbc.default-db
    ) u, q' M! d$ s4 w# n3 |* L2 k& p
  1059. ;odbc.default_db    =  Not yet implemented
    - w0 l+ F7 I2 x9 l1 n- ^" R
  1060. 7 d# L9 i7 P1 N. o, M
  1061. ; http://php.net/odbc.default-user
    1 X- m# m' e, z4 @: m
  1062. ;odbc.default_user  =  Not yet implemented
      X1 p2 a, v8 \6 U8 {% q

  1063. ! c, M0 [! o9 w: P
  1064. ; http://php.net/odbc.default-pw
    6 K- x; S4 u0 L8 l: f
  1065. ;odbc.default_pw    =  Not yet implemented8 _( u% b9 N, U& F. o4 Z8 E( b
  1066. 1 Z" _# {# g6 |4 @
  1067. ; Controls the ODBC cursor model.
    . y- @8 c( ]4 ^$ l
  1068. ; Default: SQL_CURSOR_STATIC (default).# N/ `# f+ F3 S0 R9 E& T
  1069. ;odbc.default_cursortype
    ! m+ g4 p$ B* e7 E8 A

  1070. 3 n3 _  F- C' [# f/ _; S
  1071. ; Allow or prevent persistent links.
    3 T4 G$ @# l5 q: f
  1072. ; http://php.net/odbc.allow-persistent
    6 d/ y9 L; N+ R3 }- f7 u# y
  1073. odbc.allow_persistent = On
    : t: q9 i4 ?4 f) o. w& {* d
  1074. 7 \; y* z. C. Q* i( V! T
  1075. ; Check that a connection is still valid before reuse.
    , h$ t5 B5 @- T) d) x+ ~
  1076. ; http://php.net/odbc.check-persistent
    , u4 I/ Q/ T- m. o. M5 G* }
  1077. odbc.check_persistent = On3 ~: Q* P5 z6 J/ t  H: m

  1078. & F( ]4 l0 j& H4 B) e
  1079. ; Maximum number of persistent links.  -1 means no limit.
    / o" y/ W& n& @
  1080. ; http://php.net/odbc.max-persistent) x" Z2 @, k5 \' _) s1 R
  1081. odbc.max_persistent = -16 q# M, ^* f" ^2 C3 _
  1082. ) w6 U/ O. Y- {* m* T
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 b+ t. l3 H7 w6 c. R$ _3 N; ?
  1084. ; http://php.net/odbc.max-links1 W# O- I$ S) s" E
  1085. odbc.max_links = -1
    2 S. {, A3 r) y* Z
  1086. , n: Q: J6 v2 e* Z8 T" S" w
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# K& h2 P. h# Q- V7 m
  1088. ; passthru.
    ' ?' S* U7 i$ V  r  R, `
  1089. ; http://php.net/odbc.defaultlrl
    8 J% `: U) e* e4 o1 u" t6 c
  1090. odbc.defaultlrl = 40960 T3 Q# N. d! k! [5 H4 f

  1091. ) E4 S" q' x5 G4 w& l
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.) I: u- Z$ F" j  k0 n
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: W  G5 \+ s# ^" U* Q9 k
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' ^" f- t% G, ^( g
  1095. ; http://php.net/odbc.defaultbinmode( d; c# t- K+ G) D
  1096. odbc.defaultbinmode = 1
    - H7 L5 \) Z( J# e+ V8 L; t) ^

  1097. 8 H- a9 k: [5 D7 H9 P5 Y
  1098. ;birdstep.max_links = -12 ]! x! V  w" S( T& l

  1099. ! ^6 {/ ^, @: J8 \
  1100. [Interbase]
    : \* H% f! w( `$ d& b1 T
  1101. ; Allow or prevent persistent links.
    , {* }* a: I6 x" [$ e5 }6 K  ?
  1102. ibase.allow_persistent = 16 v& C2 }; x$ I3 ^' Z

  1103. ' p* @1 W4 }# p  q9 I/ u
  1104. ; Maximum number of persistent links.  -1 means no limit.
    7 G: Z% [& x3 ^. h2 V9 v
  1105. ibase.max_persistent = -1
    ; p+ O: l1 x, ^$ `5 q: C3 X: r5 R

  1106. + P$ U. l4 J+ g8 [
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , f+ g( ^/ [1 i( {& F, d- x
  1108. ibase.max_links = -1
    7 j$ M% \8 s! @0 Y
  1109. 7 R- E- R0 W; x, L# N; y" g# ?" B) Z
  1110. ; Default database name for ibase_connect().. I( R  g" |2 J5 ~
  1111. ;ibase.default_db =
    $ O. \" t8 R) W% a: I- {# G

  1112. ) k) y- X8 L# D) b" _" Q& e( U. _
  1113. ; Default username for ibase_connect().
    , l% I/ y) b) `1 @  Y
  1114. ;ibase.default_user =
    # o0 [4 f* @9 y
  1115. 1 X4 d7 {1 E. i  V3 d# k' b3 }( A
  1116. ; Default password for ibase_connect()." S/ L5 S' ?6 p. a7 E
  1117. ;ibase.default_password =& t2 Q0 e0 ~- |; a4 W

  1118.   |1 o/ h# ^, m0 r( I
  1119. ; Default charset for ibase_connect().- d; d% a! A* [4 W6 i
  1120. ;ibase.default_charset =! ~! j) M" r; r* s

  1121. 7 G9 p8 \" Q& n' s' g' K! i
  1122. ; Default timestamp format.- d0 O/ W9 |( `( w  Q
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"% K4 b" l' {; c
  1124. ! j( `+ [$ t# m% [
  1125. ; Default date format.
    7 _  Y$ p; g* e1 v, C" O! u/ D
  1126. ibase.dateformat = "%Y-%m-%d"  y7 L- e2 e0 Q
  1127. . M, a# D, ~5 _
  1128. ; Default time format.
    , x# N! G1 n/ {  C
  1129. ibase.timeformat = "%H:%M:%S"" f1 i/ Y3 j0 P( ^

  1130. 6 h0 i' R3 u' W3 X7 l, `
  1131. [MySQL]8 `# H( p  }' e
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    1 ]* d6 M. }, v2 e1 c
  1133. ; http://php.net/mysql.allow_local_infile
    " s% m% Y+ L# \9 i
  1134. mysql.allow_local_infile = On
    . j- D* S/ k4 h3 t' d' s8 f2 w9 z8 d1 |
  1135. 4 C4 v- v; b& p0 T. x. Y3 L6 h
  1136. ; Allow or prevent persistent links.
    ! a( Z$ X; Y! w" y
  1137. ; http://php.net/mysql.allow-persistent$ ^' u6 n$ V" v0 c/ J6 o
  1138. mysql.allow_persistent = On
    - C: n4 ^% _- {" |# h/ }! v5 w
  1139. ) m, h) m1 @$ I) B
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache# Z4 v. X3 D! `
  1141. ; http://php.net/mysql.cache_size7 r# K( S+ p+ ?
  1142. mysql.cache_size = 20007 r8 X) t* m9 z/ g5 G; ]

  1143.   o5 S# L; ]8 H, o% c" b
  1144. ; Maximum number of persistent links.  -1 means no limit.6 @- N% v* ^# O9 J) M
  1145. ; http://php.net/mysql.max-persistent
    ( F  C  w- V) i4 s4 X
  1146. mysql.max_persistent = -15 l$ x# f) e& u# M0 t5 D7 g
  1147. ( i6 \1 d/ n2 v
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 S- c/ V% P9 E1 N6 N2 }& c
  1149. ; http://php.net/mysql.max-links; N/ f+ m1 P- F7 m8 E- L
  1150. mysql.max_links = -11 k0 A4 |- |3 I" G, q% W+ u5 N
  1151. 7 x$ {: b0 f8 ?) q& H/ a( p; g
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    * I/ G0 k9 H2 D3 p+ c' K- Q, J8 \3 q9 s' a
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, O: u: X4 k  o; C
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 B! T5 O& U, q3 d- g, Y0 s) j$ d6 O
  1155. ; at MYSQL_PORT.# g, ?9 ^1 `% X6 K# q' C% G
  1156. ; http://php.net/mysql.default-port' }: a8 D% A! e2 u4 T$ A! o* b
  1157. mysql.default_port =
    8 a' z+ f9 T& P% n9 D- g# l
  1158. 2 W2 X* ^- @7 ~
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , s6 |& T3 H# Y5 F+ P6 r' x* y
  1160. ; MySQL defaults.
    8 o# S2 I! J. @8 v
  1161. ; http://php.net/mysql.default-socket# U) b6 n  b) Z- [/ r" ~6 ~
  1162. mysql.default_socket =
      f4 j) `$ N& m- M
  1163. 1 v. v( z& ], z& K9 r  X
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , y: ?' P% U! K. v; I( r6 x
  1165. ; http://php.net/mysql.default-host- Q; |, r, A- o, `$ d- ~* z: H
  1166. mysql.default_host =
    ( k# B! w4 L! j& t7 C; _5 ^
  1167. ) J( |+ F2 `, ?$ W  Z6 h
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).  n) p. S6 Z+ A" L
  1169. ; http://php.net/mysql.default-user  i( K  w1 y( h- O5 Y% ^6 @: D0 i
  1170. mysql.default_user =
    8 p" Q& k) ^3 G1 ^6 v

  1171. 5 m* ~8 b7 s: t& ]4 e
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).- |1 H7 f' p, \' |4 ^
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    % D" o: O( Y( ?& m  b# a
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    8 U% V. w" L, a3 j5 ], x; h5 U
  1175. ; and reveal this password!  And of course, any users with read access to this
    ! Q# d- p5 D% H2 X- I
  1176. ; file will be able to reveal the password as well.5 Q/ M1 J9 b2 D
  1177. ; http://php.net/mysql.default-password* P/ c/ n" u4 J& W3 F
  1178. mysql.default_password =- Q. r% Y! D; C1 q6 G& a  l$ q

  1179. 8 d  _& u2 W, j# {* p; x
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit, K- Q, W' E  {& D% A" Y
  1181. ; http://php.net/mysql.connect-timeout- d$ v1 W: P/ \. p
  1182. mysql.connect_timeout = 60
    1 F" _& V' @, U! [+ _% h* U

  1183. " P; s0 |1 a8 G: x
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and3 x! p1 g* H; P$ F. X4 O
  1185. ; SQL-Errors will be displayed.& H" t. t2 X/ @+ y  k( d: z
  1186. ; http://php.net/mysql.trace-mode* `& L  X# Y5 w' L" T  C
  1187. mysql.trace_mode = Off. c" P- m. C" \& i8 Q

  1188. . s% |4 {  Y4 ~. e* D3 Z9 B7 }
  1189. [MySQLi]
    ! L4 ~+ N8 L9 {5 D" R

  1190. 8 ]# f! A8 X5 W
  1191. ; Maximum number of persistent links.  -1 means no limit.+ k( `. b. H1 K& q
  1192. ; http://php.net/mysqli.max-persistent
      p: ^5 A  G5 s
  1193. mysqli.max_persistent = -10 e9 G9 o7 f4 r# C0 C1 s

  1194. 4 j" }: O8 M3 ^. Y. H- [9 q9 B; o
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ f3 N- y* ^, _+ z
  1196. ; http://php.net/mysqli.allow_local_infile
    - o) ]" U* P# E
  1197. ;mysqli.allow_local_infile = On$ S6 n/ H* a8 {" {! r

  1198. " S8 X) u3 {  Q* [" J4 F
  1199. ; Allow or prevent persistent links.1 x$ t! d5 a4 {5 `
  1200. ; http://php.net/mysqli.allow-persistent
    " V! |% [8 a0 X
  1201. mysqli.allow_persistent = On3 t2 J0 Y( q9 A& Z

  1202. * n  b) x* e$ {
  1203. ; Maximum number of links.  -1 means no limit.
    2 m* a! f, q  x, A
  1204. ; http://php.net/mysqli.max-links1 l1 t) ~( K( p# V; @
  1205. mysqli.max_links = -1
    % _- W, V$ U8 A$ O$ X3 q. N

  1206. 1 @) `( f) S" }( |
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache( A6 m$ W5 A' l( h5 k& @
  1208. ; http://php.net/mysqli.cache_size
    6 Q9 v  k/ ?* U) _2 J( }: J
  1209. mysqli.cache_size = 20003 e9 j# j! L8 J2 X
  1210. 5 A7 Y6 \: z/ _4 d0 j" N
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    # _. r* K$ l$ ?' C
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & P0 ~0 ]3 C% |% e* q; w' w
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look5 T% H) v* y) r
  1214. ; at MYSQL_PORT.
    $ c' C0 |3 a# |- O
  1215. ; http://php.net/mysqli.default-port) n( x. {. F$ c5 F% y0 b
  1216. mysqli.default_port = 3306; u% m8 Z0 h! [' s! p2 G) G$ D
  1217. $ M" L% S: T# y  L, l
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 ^5 z( l9 @) ]2 c4 [0 ?. U
  1219. ; MySQL defaults.1 i6 t* a5 [8 Z" r' Y8 B% L* Q
  1220. ; http://php.net/mysqli.default-socket- ?7 G6 E4 [$ O- U7 v! f
  1221. mysqli.default_socket =7 P% S& a4 _. ?! w' z- m

  1222. * }, i6 m6 K2 w  ^
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; B% v+ \3 G. v& w
  1224. ; http://php.net/mysqli.default-host+ ^. [, k3 t' ^& B0 u4 v9 X/ A
  1225. mysqli.default_host =6 T" ]; t9 F9 w' V1 w! |

  1226. . h# B' m8 I% Z# Z
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).  ^  K4 ?5 h" A" Y" A
  1228. ; http://php.net/mysqli.default-user
    3 o" k9 T6 O" y
  1229. mysqli.default_user =
    ; v1 e+ }; H: K7 Z; ~0 I3 ~

  1230.   H" {: Y6 g; N/ u6 R
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    $ ~! f. b, D1 N" l: P
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( C8 y4 G: c/ O9 `
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- h6 q/ F+ {1 m
  1234. ; and reveal this password!  And of course, any users with read access to this5 o1 F: n  C3 k4 D
  1235. ; file will be able to reveal the password as well.
    1 X& n6 E" ]4 Z7 [# q% P
  1236. ; http://php.net/mysqli.default-pw3 b2 V; g/ O9 C& a) o8 a1 P( n
  1237. mysqli.default_pw =
    * _* E" y5 d' S: Q

  1238. # F# r' P, r5 c- A- v
  1239. ; Allow or prevent reconnect
    # M2 ^, \9 {4 x5 X* Y' G
  1240. mysqli.reconnect = Off; u, G: v1 Z' Z8 c" ?4 ~

  1241. $ g7 [) I0 W. P6 }' d/ _3 J1 |
  1242. [mysqlnd]3 d$ ~5 }+ Z: c- p6 [' t+ P
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 h: m; ^% ]! _
  1244. ; used to tune and monitor MySQL operations.
    ) A! u% \% `  `" z
  1245. ; http://php.net/mysqlnd.collect_statistics
    6 M  u4 [% O2 }' v6 i9 b
  1246. mysqlnd.collect_statistics = On; @/ e0 @* H. p4 Z$ c
  1247. : {. I$ b2 {% l* Y8 B
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 K" M4 b2 [: m" I3 P
  1249. ; used to tune and monitor MySQL operations.
    ( e  p& P1 C( `4 _
  1250. ; http://php.net/mysqlnd.collect_memory_statistics4 V5 c/ R1 N6 e) i2 G8 q& ^) B2 C6 q9 s  m
  1251. mysqlnd.collect_memory_statistics = Off
    & I0 \% J3 ?' v0 s7 ]7 f
  1252. ! Y* s) I1 F7 E* W# Q& t2 J
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    0 `" z8 h4 E1 C7 l
  1254. ; file.
    . N6 n' X* E. D# p- V. h9 \& P) }
  1255. ; http://php.net/mysqlnd.debug5 g+ k  ]1 w" f: w/ U, {
  1256. ;mysqlnd.debug =
    & {& y3 E& u2 H% X) u/ h7 k

  1257. 9 E0 r+ S" Z4 L4 y- T
  1258. ; Defines which queries will be logged.9 B$ t* }1 P6 ~; L4 ^
  1259. ; http://php.net/mysqlnd.log_mask% j% Q/ Z4 V/ O" d
  1260. ;mysqlnd.log_mask = 0
    & R; q8 m2 D1 p7 i; ]
  1261. 2 m5 w7 x) x6 L' \2 i9 i2 ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 K$ W4 _$ V/ L, Y  X, S% j
  1263. ; http://php.net/mysqlnd.mempool_default_size5 d: q2 ]+ w4 k4 I- p
  1264. ;mysqlnd.mempool_default_size = 160005 N3 H$ x7 L9 j* Z. S8 D

  1265. 5 |  ]# k0 ^) r5 b7 l
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.. r, r1 J/ C  \' A2 `" G
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " q( B$ |! P( e, M' p7 Y8 S
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    # _6 R- C2 M5 U3 X8 @" q

  1269. * q: T+ w/ |" q& B
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in; M2 D0 L$ @8 J2 y2 x* v& }
  1271. ; bytes.
    # ]& U' }/ P3 f" _% O
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    1 r+ B! z( T4 ?  H' u5 E( O0 m
  1273. ;mysqlnd.net_read_buffer_size = 32768
    + d* p% c4 G2 Z) t- {
  1274. 5 X0 O& v6 O4 N& w5 ?
  1275. ; Timeout for network requests in seconds.
    6 I4 G) O  X1 _* z, o
  1276. ; http://php.net/mysqlnd.net_read_timeout
    % n) n, [6 ], K5 w: B, b+ Q
  1277. ;mysqlnd.net_read_timeout = 315360001 c2 ^) B0 U( ^6 m: d& j/ x! q

  1278. : R# D% W* H8 o+ f7 H  t5 _
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA/ Y: s  b; F3 |5 O$ x; _
  1280. ; key.0 W' Q! s1 `& p1 [: K
  1281. ; http://php.net/mysqlnd.sha256_server_public_key" ?* o6 @2 @0 s( s6 H% ?+ s
  1282. ;mysqlnd.sha256_server_public_key =
    ( B1 |( z  O3 C: C5 s

  1283. * f) R$ S2 O5 x" }9 P# u- X. w
  1284. [OCI8]
    ) V& @- d3 a6 `, v5 _

  1285. ( W: p2 R& m- v& c+ v
  1286. ; Connection: Enables privileged connections using external
    : f  [3 `* }2 y* f5 {" E; Q/ {
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
      L7 ^  }) }6 u- G5 ], d3 U& a
  1288. ; http://php.net/oci8.privileged-connect
    9 K9 e  {/ c3 e, x' Y8 ]0 ?+ Q1 J
  1289. ;oci8.privileged_connect = Off
    0 t, n: E7 Z# d8 v

  1290. " j& [4 ?4 c# h- A& Z1 U, r
  1291. ; Connection: The maximum number of persistent OCI8 connections per8 M9 ]  d8 P) I% \  J, _( I
  1292. ; process. Using -1 means no limit.- I. M$ n( C6 M9 |1 V: w0 R2 r
  1293. ; http://php.net/oci8.max-persistent
      w' A* U& i! K- Q; _  H
  1294. ;oci8.max_persistent = -1) V4 j! R/ B# f! Y& k) K

  1295. & Q, B/ k1 E9 v- K
  1296. ; Connection: The maximum number of seconds a process is allowed to
    4 r( u6 m3 H' X* [9 ^- k' T4 b# u8 f
  1297. ; maintain an idle persistent connection. Using -1 means idle8 g7 {) ?) c7 s& g7 E2 |
  1298. ; persistent connections will be maintained forever.
    $ |: D. y1 b4 r! s) C
  1299. ; http://php.net/oci8.persistent-timeout( n2 \! a( \  S' ]
  1300. ;oci8.persistent_timeout = -1
    4 k2 F1 E# S( o

  1301. : J2 A* L6 w2 e' q2 O
  1302. ; Connection: The number of seconds that must pass before issuing a4 K" {6 k1 X, s7 o$ g
  1303. ; ping during oci_pconnect() to check the connection validity. When
    * A9 |/ Q! n# U( n; F( {- r* y  s8 ~! p
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ! D$ Y/ o& T7 }4 d% R
  1305. ; pings completely.& O5 G) R- f" g1 ?
  1306. ; http://php.net/oci8.ping-interval6 u+ h8 F4 P& _$ X7 }8 I% e1 T8 T" f' d
  1307. ;oci8.ping_interval = 60
    ; }! G" I5 p5 T( P( y* q% n$ e

  1308. 5 v; O8 {9 O9 Q% o4 j
  1309. ; Connection: Set this to a user chosen connection class to be used
    ) T! Z1 G  i* h
  1310. ; for all pooled server requests with Oracle 11g Database Resident  g! e( F/ d& V2 O
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. k$ q5 }: d& W7 y# D7 f% q+ N
  1312. ; the same string for all web servers running the same application,
    3 q7 r% g: n! R- B# S
  1313. ; the database pool must be configured, and the connection string must
    5 ?7 M2 H2 h1 V' ~, N" s
  1314. ; specify to use a pooled server.
    2 d$ [/ [7 W# u. X" A  I
  1315. ;oci8.connection_class =
    3 P9 V' O4 l+ ?* y: J
  1316. 3 X3 E* R! M0 A+ p
  1317. ; High Availability: Using On lets PHP receive Fast Application+ B& `) e9 F$ Y2 B
  1318. ; Notification (FAN) events generated when a database node fails. The0 G* ]% e$ X2 Z7 e& g4 }
  1319. ; database must also be configured to post FAN events.6 E* \. L' B, k4 b
  1320. ;oci8.events = Off
    / }! ]! ]  L/ S5 u

  1321. 0 m* _" ~0 z, Z/ O2 ~( z: ~" }
  1322. ; Tuning: This option enables statement caching, and specifies how+ U! Z! J: x( [' y& }2 }) H$ _
  1323. ; many statements to cache. Using 0 disables statement caching." Y- k$ t0 i% Q4 p! \
  1324. ; http://php.net/oci8.statement-cache-size
    . K$ R$ x1 g$ @8 q
  1325. ;oci8.statement_cache_size = 20$ m" N1 E: b/ ?& j' O, Y( d3 Q7 ?
  1326. 3 n2 [$ L7 g8 X: N4 r2 M2 x7 I
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 n, A: h5 v5 k2 V! U0 {. K4 e7 h
  1328. ; rows that will be fetched automatically after statement execution.
    4 O+ I4 Q( D& [  J5 b
  1329. ; http://php.net/oci8.default-prefetch
    % x* V& ]: s7 ~* o% E. t" l" R
  1330. ;oci8.default_prefetch = 100
    / o# p( i  d/ u* W
  1331. . ^8 V$ P* r2 w# E) H
  1332. ; Compatibility. Using On means oci_close() will not close
    * {0 c8 b- Z9 o" S. v5 p; z
  1333. ; oci_connect() and oci_new_connect() connections.
    3 Y7 s9 B) j6 v1 }$ I- Z
  1334. ; http://php.net/oci8.old-oci-close-semantics4 j% w* p/ p% q2 g+ _9 I* B
  1335. ;oci8.old_oci_close_semantics = Off
    ) P: o3 B1 Y' t7 z1 e' a! g
  1336. $ [/ \8 x+ G+ y! A4 }4 J
  1337. [PostgreSQL]
    3 K3 F; b  J; T9 e
  1338. ; Allow or prevent persistent links./ ]6 w. V' e) N; D0 N, h8 H! D
  1339. ; http://php.net/pgsql.allow-persistent
    ' l8 G7 I" E* }% z+ F1 L3 s
  1340. pgsql.allow_persistent = On2 A& z9 C& e5 u/ S6 R; }
  1341. 2 b4 Z2 V  {9 m' Y$ H
  1342. ; Detect broken persistent links always with pg_pconnect().
    # z+ s& C- V8 S( E+ j
  1343. ; Auto reset feature requires a little overheads.# G) t; \2 s! k0 p' N, m
  1344. ; http://php.net/pgsql.auto-reset-persistent
    9 q) Y, }, A" Q. t
  1345. pgsql.auto_reset_persistent = Off
    " y( j) j( H4 [% \

  1346.   M  z$ [, @) E9 e. I+ O1 U# o, @
  1347. ; Maximum number of persistent links.  -1 means no limit.
    : Q( j5 b$ T& N" _8 J' L
  1348. ; http://php.net/pgsql.max-persistent% _$ w8 s6 n% f
  1349. pgsql.max_persistent = -1  y- E$ `" H6 e+ W

  1350. ' M2 ~2 ?4 ?& {$ K* F
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      N* T& b% g. Q. @2 P4 U7 ^
  1352. ; http://php.net/pgsql.max-links
    8 ]. u+ P* n1 i3 W( o9 P3 A
  1353. pgsql.max_links = -1
    2 n6 L7 `2 [1 |  R

  1354. * i& ?' N* n7 V8 [0 y
  1355. ; Ignore PostgreSQL backends Notice message or not.
    * g7 n6 f& Q- f- [1 a% c
  1356. ; Notice message logging require a little overheads.3 H$ e/ @5 u$ M* y: i
  1357. ; http://php.net/pgsql.ignore-notice8 U& ~4 _6 \6 E: i" W% X' A. _0 L
  1358. pgsql.ignore_notice = 0
    ; h+ T0 L3 H4 N4 K4 r0 b
  1359. . \7 f) B- }) p- t
  1360. ; Log PostgreSQL backends Notice message or not.( [+ H/ p/ R5 U' ~, R; s" n8 s
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 t1 J) g7 v" ?" O$ X% ~  C8 g
  1362. ; http://php.net/pgsql.log-notice
    ) w6 q) t; k% k( H- p
  1363. pgsql.log_notice = 0
    8 u1 m. U* I+ i, q
  1364. & n6 o# y4 Q& Y! B
  1365. [Sybase-CT]/ l2 h, f9 r, o# R' l% p
  1366. ; Allow or prevent persistent links.
    7 ]7 y) r8 T- q  [
  1367. ; http://php.net/sybct.allow-persistent
    & N6 j% p$ t1 A8 e
  1368. sybct.allow_persistent = On4 C& ^. n$ J' R0 W0 }( _

  1369. ; g$ c/ L3 P- }, L2 f) r% ?, b
  1370. ; Maximum number of persistent links.  -1 means no limit.
    5 Y  c6 ?* ?$ A0 @) @4 b9 F
  1371. ; http://php.net/sybct.max-persistent5 [( k% u8 J5 @0 p3 V
  1372. sybct.max_persistent = -1
    " z8 x) e: J# |( |9 D4 ]* M6 O

  1373. 3 Q9 k+ O8 n2 p9 M" s5 d+ \
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' G  ~' A7 h6 K$ c: w* d$ R
  1375. ; http://php.net/sybct.max-links
    : P" I6 v& @- r
  1376. sybct.max_links = -1
    : i% e. s1 `$ R  r+ m; U
  1377. 3 [/ y  f0 ?# d( s6 \5 Q
  1378. ; Minimum server message severity to display./ ], N' m9 h( e
  1379. ; http://php.net/sybct.min-server-severity
    1 b) F. p+ ^9 K  U  l
  1380. sybct.min_server_severity = 100 S) H, m3 G% D7 C5 z

  1381. 3 v* @& v2 S# i1 j: M
  1382. ; Minimum client message severity to display.) B% i) J2 @% }1 ~
  1383. ; http://php.net/sybct.min-client-severity# c% e$ C7 E2 E2 I$ |9 Z8 Z
  1384. sybct.min_client_severity = 10
    + ~0 K$ g7 z- _+ i2 }7 ?; x
  1385. / y& d0 Q- [2 W5 m2 i2 C( ?; x
  1386. ; Set per-context timeout6 c: c9 E5 R: K1 W0 \! A9 |
  1387. ; http://php.net/sybct.timeout% b1 q9 C, S1 p  [; T2 X
  1388. ;sybct.timeout=- @/ ]3 c" ^3 T: }6 h

  1389. ( z( O: X* C# x4 |
  1390. ;sybct.packet_size
    8 Y* Z( y8 d  V
  1391. # d1 p/ L( ^& N" n8 I9 i0 _7 q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    % H9 ?- q( C6 p
  1393. ; Default: one minute! G5 y" e1 s6 H1 k4 z" }; Y
  1394. ;sybct.login_timeout=& a4 Z- [; V( k% E5 i

  1395. ) \2 w6 S" P  `+ Y, C) C
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.% \1 K% _* x( [5 }& J
  1397. ; Default: none
    + k+ I4 l' b( V
  1398. ;sybct.hostname=; b. y! H4 G4 Q( ~. H
  1399. 4 s, u( ^- r+ X/ f
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".0 U% d3 ]  y' [; _: b
  1401. ; Default: 09 j/ m* Q  h# ~" }3 V6 d
  1402. ;sybct.deadlock_retry_count=
    4 S  H+ ^- f! E
  1403. ! R, w- c* ?' U" U! F/ c) ?& ?0 N
  1404. [bcmath]- n6 c1 ^4 x2 w7 `  w
  1405. ; Number of decimal digits for all bcmath functions.
    6 N7 p* E4 M. k& g8 K' u% R
  1406. ; http://php.net/bcmath.scale
    8 C, X, ^- b% O5 X4 Z& |5 r
  1407. bcmath.scale = 0
    3 l) W/ b) Y* j

  1408. $ O. U1 s1 O1 Y5 A/ m
  1409. [browscap]
    ( X8 H- t# U/ A/ J' @! }
  1410. ; http://php.net/browscap/ m, \  o0 |' r( R$ e% e/ b
  1411. ;browscap = extra/browscap.ini
    4 r* |. z8 [0 R4 {( g

  1412. 6 C1 \+ y* l9 u4 Y% K( }6 r
  1413. [Session]! r% B, L0 |# c8 o# r
  1414. ; Handler used to store/retrieve data.+ E$ I0 i7 T- N9 m' W% h3 S5 e
  1415. ; http://php.net/session.save-handler
    * S4 C& ]+ K7 r* W, J" N
  1416. session.save_handler = files
    . r$ q) ~) u9 X/ L- q

  1417. / v% Y: N2 ^# H
  1418. ; Argument passed to save_handler.  In the case of files, this is the path* {! @4 N; A& s) e0 @& e
  1419. ; where data files are stored. Note: Windows users have to change this
    $ c; I7 r1 l* r2 P3 E* Z9 S. @. @
  1420. ; variable in order to use PHP's session functions.! n5 ]) J% K0 @" r! B
  1421. ;
    9 S+ h6 g3 K  ?9 n1 m
  1422. ; The path can be defined as:6 ~' f% ]( A  C4 Y
  1423. ;
    9 R( y- m- A$ g: m
  1424. ;     session.save_path = "N;/path": @, @- g) e" E' ^  M. h5 f( z
  1425. ;
    0 Z& E3 n! }/ q+ s) R' j- b
  1426. ; where N is an integer.  Instead of storing all the session files in
    9 O( m3 f$ R, `$ q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ; L1 [$ o' v/ q, H
  1428. ; store the session data in those directories.  This is useful if
    / Y/ \" l* f7 E- L
  1429. ; your OS has problems with many files in one directory, and is; D. ?. {& I+ F! q
  1430. ; a more efficient layout for servers that handle many sessions.
    / L- {' T/ l# \/ H$ e
  1431. ;
    ' i* n2 u1 Z: w: t
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    2 C+ M% |: u' {5 q) f/ ^7 D
  1433. ;         You can use the script in the ext/session dir for that purpose.% l( n* w* I; A5 d% Y2 t
  1434. ; NOTE 2: See the section on garbage collection below if you choose to! z9 {3 L& N4 {; V! J  Q
  1435. ;         use subdirectories for session storage
    ; v: }2 C9 x: ?+ G2 H
  1436. ;
    - Q) r! N) u& I2 }+ b2 ~0 K
  1437. ; The file storage module creates files using mode 600 by default.
    2 m" p) \' H: c- E* U
  1438. ; You can change that by using6 b8 C# S6 |: }
  1439. ;, N! i5 V5 l( J- [  s
  1440. ;     session.save_path = "N;MODE;/path"
    , G* `- r; ?$ n7 A4 V
  1441. ;
    ! L0 U# E0 C: t4 c1 a, _3 ^
  1442. ; where MODE is the octal representation of the mode. Note that this# N# |: @+ O7 w9 g5 m$ L( _- Y& B& F! R
  1443. ; does not overwrite the process's umask.
    ; l6 d! R5 m' t
  1444. ; http://php.net/session.save-path
    ( K+ Q7 X9 j8 f) O  B
  1445. ;session.save_path = "/tmp"" ]9 z- u* y3 x* p) r

  1446. : |) B4 J" f1 q! p8 T7 C
  1447. ; Whether to use strict session mode.6 W2 K/ z  S( H2 b- _$ k
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate5 M$ B8 e% E7 j: p" G+ w5 }
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects: S) ^9 o: e; V
  1450. ; applications from session fixation via session adoption vulnerability. It is5 k: t- I' }4 D' ~
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    # l1 H. W& K+ _0 a  e: T
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ( N( V+ X  K: M
  1453. session.use_strict_mode = 01 `! x1 X2 n+ |' e& q* l

  1454. ) W2 F  p9 @9 q- F
  1455. ; Whether to use cookies.! r7 u: E, t4 ]2 C
  1456. ; http://php.net/session.use-cookies
    ( k3 M3 j$ @% w4 Y( U, t
  1457. session.use_cookies = 1
    & ~1 r% r" v" {8 _7 a
  1458. # F" d; {$ b4 s3 J( j/ h
  1459. ; http://php.net/session.cookie-secure# {0 _" j  `* t) d1 G: `
  1460. ;session.cookie_secure =
    + P# F4 d6 W9 N  _
  1461. , i9 J: J% e# L. ]. c/ A, i
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % s( s0 W2 j! ]4 p% }3 L
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    6 _. W2 r3 @) c3 B
  1464. ; session hijacking when not specifying and managing your own session id. It is" X, Y8 \- x2 @* E
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.9 S0 A+ ?: B6 {
  1466. ; http://php.net/session.use-only-cookies
    # _+ y$ C: q) U6 j2 G
  1467. session.use_only_cookies = 1
    ! A+ p/ I7 s! N/ l# _; F6 `

  1468. 2 O# B" L( i) a( E8 k0 ?
  1469. ; Name of the session (used as cookie name).8 p$ N( w5 V+ ?) g8 K
  1470. ; http://php.net/session.name
    # V% b+ L5 p# Z9 d) \4 {: U3 d
  1471. session.name = PHPSESSID2 c& [4 P( p5 A3 [5 K1 G) P' t# L

  1472.   I: E( O: A# v0 {
  1473. ; Initialize session on request startup.
    3 k& L6 G' z$ N( q% F
  1474. ; http://php.net/session.auto-start
    ; }: z/ v0 N+ L- G9 B
  1475. session.auto_start = 05 Z! I* z% u0 M# W! l1 q+ Q

  1476. 9 X9 X9 L4 a2 |' `+ w9 V
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 N/ |4 U; }) I" v
  1478. ; http://php.net/session.cookie-lifetime2 a: C. U4 j5 {3 A( ^) E) M' Q5 W
  1479. session.cookie_lifetime = 0! U0 T& `/ t. O. H3 }8 C

  1480. / b* x8 h, d% C7 m. |1 D
  1481. ; The path for which the cookie is valid.
    . g- ?% K" Z/ N; O; U: _
  1482. ; http://php.net/session.cookie-path# R$ b: W" l: E. X5 q
  1483. session.cookie_path = /
    # [( W! h" p2 a( \. E; O

  1484. , N1 _) W/ J% A" T5 S1 n
  1485. ; The domain for which the cookie is valid.
    1 p& }' y! x! i
  1486. ; http://php.net/session.cookie-domain' S. X& m! w  h7 t1 z( G# t
  1487. session.cookie_domain =
    " L( i# c! a0 H+ \
  1488. 4 T+ \) q! j. G. \( |/ d' F1 V* n1 r
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    0 f! V- [  ]# {4 s$ e9 }
  1490. ; http://php.net/session.cookie-httponly3 Y' f) N6 b4 m& O' ~
  1491. session.cookie_httponly =
    0 g5 r2 V* \: o, |- S

  1492. ) S  H5 N9 t" g$ Z6 X: }
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ; d% \9 o! w' i8 @& h
  1494. ; http://php.net/session.serialize-handler
    : T- o1 b; L+ d- h4 i3 o
  1495. session.serialize_handler = php
    1 D" @1 n3 w2 T7 K* O  e

  1496. + f+ ]5 a. e4 z6 j! Y! X
  1497. ; Defines the probability that the 'garbage collection' process is started
    ! i8 k* [$ ~+ }* A7 k
  1498. ; on every session initialization. The probability is calculated by using0 K  Z4 N* A( `! X* E7 K
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    + `; A7 a( a. E
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( s1 a" ~& z. c7 x$ a& H& i
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , S( W0 ?5 u; l$ ]+ a7 n
  1502. ; the gc will run on any give request.
    9 M$ p/ C+ k& ~  e
  1503. ; Default Value: 1
    8 _# m6 |$ p- F" T! f! K
  1504. ; Development Value: 19 a% h& F/ f8 J, T) r
  1505. ; Production Value: 1, O0 i, E0 V" R% t- F& q& G
  1506. ; http://php.net/session.gc-probability/ h. |  h! z6 u$ m) F3 e! V+ D2 y# D
  1507. session.gc_probability = 15 _9 l5 t6 c* K* ~3 E: P

  1508. 2 y0 t1 I" d0 t- T9 y: q( i
  1509. ; Defines the probability that the 'garbage collection' process is started on every8 V4 s9 f6 ^- F9 \, l# u. `* U
  1510. ; session initialization. The probability is calculated by using the following equation:! l* c. L' _& k+ M( O8 O3 a
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    , U2 M1 S, g' G" E2 t0 U% i; G
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    3 T* D* B  Y, S; y4 y8 e) j1 m
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 Z0 O- w1 [+ _5 b2 R( a
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you! j) Y# w0 i) z1 O* a9 z
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    9 f) o3 ]( C' ?: h- w
  1516. ; this is a more efficient approach.
      R  ~* |4 E$ _2 j1 {. I
  1517. ; Default Value: 100
    8 R) R/ U) F9 N( ~4 y! w
  1518. ; Development Value: 1000
    * E6 X6 ]/ ]7 b" f  v4 m
  1519. ; Production Value: 1000
    8 t& N8 V! J0 G4 w
  1520. ; http://php.net/session.gc-divisor
    ) c, z. H+ [6 O/ ~+ A; U2 p
  1521. session.gc_divisor = 1000
    0 d+ Q  Y- K2 s4 l- u2 e: v: V

  1522. - a0 ^0 R5 r  _5 A  I# w5 W( A  F
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
      E& v3 f' n; P& d2 E9 c
  1524. ; cleaned up by the garbage collection process./ W1 x& W4 n. y6 @
  1525. ; http://php.net/session.gc-maxlifetime5 }' }/ U6 X0 E- e
  1526. session.gc_maxlifetime = 1440
    & m2 [% i. g8 j/ J3 H) T* P' o

  1527. + v% t& |# W! K/ \3 I. C
  1528. ; NOTE: If you are using the subdirectory option for storing session files+ G2 h4 u; a/ o: g7 G  b; _
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ; I7 \' z; z7 i) v2 X& I. {9 {) ~
  1530. ;       happen automatically.  You will need to do your own garbage6 _5 n* p( E) U7 N+ d
  1531. ;       collection through a shell script, cron entry, or some other method.
    5 Y" G7 z. i# Q/ u
  1532. ;       For example, the following script would is the equivalent of) L* z, o- j" d$ _% x" `
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    - `3 L, G7 [2 q+ y1 l; j, a
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    $ O' F1 ^7 N& L1 Q3 E& W( S- N( `

  1535. ) G1 G" }; Z3 `7 U4 z' ~
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    7 E3 V, M- S$ K" |% M: b. X
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    9 N' ]0 a- \# R. ^2 {
  1538. ; considered as valid.. O6 V' C6 a5 B: }( U, r
  1539. ; http://php.net/session.referer-check
    # Y& b  H9 |% M8 n8 E- G
  1540. session.referer_check =" D+ X: F& b& Y4 s+ Q$ {- U

  1541. % i1 B6 `/ I4 ?% O/ j8 z3 F
  1542. ; How many bytes to read from the file./ q3 @& b5 U8 }3 K, m$ L
  1543. ; http://php.net/session.entropy-length
    0 F% G$ I" Y8 _2 Q# P, p
  1544. ;session.entropy_length = 32+ n, b4 q% P6 W  ^

  1545. . ~( ]5 g: D7 A) u$ @. i
  1546. ; Specified here to create the session id.8 E- N5 j% f! a* h9 _
  1547. ; http://php.net/session.entropy-file6 w% c9 {9 Q6 p, E4 w6 S" L- y; u
  1548. ; Defaults to /dev/urandom5 |/ c/ ?& J7 S+ ?8 p1 x
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " A. _6 f& P; R
  1550. ; If neither are found at compile time, the default is no entropy file.
    4 b8 [  _: C" f: `- ]3 ~" W/ ^3 _
  1551. ; On windows, setting the entropy_length setting will activate the. O# N3 z, h% o; c4 I
  1552. ; Windows random source (using the CryptoAPI)
    $ }, h4 V! ~& U! W- d; J2 P. k
  1553. ;session.entropy_file = /dev/urandom
    0 o* S' Z1 g! k- o6 E
  1554. $ [  _& [* Y  q3 `8 t
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
      [% l" D/ t( }8 M) _+ ]
  1556. ; or leave this empty to avoid sending anti-caching headers./ t$ g8 S0 F- c0 E  N5 _
  1557. ; http://php.net/session.cache-limiter" J( h7 o% W* K; Y- d5 H
  1558. session.cache_limiter = nocache6 r9 z0 r* ?3 w* a6 B
  1559. 8 o) @/ Z1 `7 |" U# C7 _
  1560. ; Document expires after n minutes.
    % X4 M  f$ A1 `# _2 k: J# V% E
  1561. ; http://php.net/session.cache-expire
    % K1 E) E$ E7 [( h% M2 J1 H
  1562. session.cache_expire = 180
    " O9 A, V! \' W4 `. }

  1563. 5 j7 u" O: X- b/ k
  1564. ; trans sid support is disabled by default.
    ' V/ a* |4 N* |) ~
  1565. ; Use of trans sid may risk your users' security.
    $ C  e/ E- |; c5 o4 }* l( l# m8 H! f
  1566. ; Use this option with caution.1 |% {7 [' A; D3 ]+ y3 q( A! Q' Y
  1567. ; - User may send URL contains active session ID! h& p8 Y7 v. p7 U$ X+ a
  1568. ;   to other person via. email/irc/etc.6 J9 `9 c; e6 d0 ~+ B
  1569. ; - URL that contains active session ID may be stored
    + x: k/ l: j& `% Z- ~, `
  1570. ;   in publicly accessible computer.) g, l$ s' n7 F8 s
  1571. ; - User may access your site with the same session ID8 U4 Y- Q9 E( d* D* n
  1572. ;   always using URL stored in browser's history or bookmarks.1 ^; d. j# ]+ c. n
  1573. ; http://php.net/session.use-trans-sid/ Z) C/ ?8 W* P2 B
  1574. session.use_trans_sid = 0+ ^3 `5 B& w! n) Q: t! N0 D

  1575. * X# P$ c; n1 S% v5 P0 A8 r
  1576. ; Select a hash function for use in generating session ids.
    , a& g  E9 P! j2 ]) v; U( {
  1577. ; Possible Values
    ! @1 M% S0 y3 S% C( W. H* C- O% ]
  1578. ;   0  (MD5 128 bits)% s* f) Y) ]& G! g
  1579. ;   1  (SHA-1 160 bits)
    ) g' \) k8 z+ J6 j& h* Z
  1580. ; This option may also be set to the name of any hash function supported by& C( y# F4 n( ^- O# m. T& L& [% ?
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()/ l0 r" t% e' {4 u4 [, Y
  1582. ; function.
    9 W7 e6 F- `2 \8 E1 }/ g
  1583. ; http://php.net/session.hash-function$ E: j6 W* Q6 B  M3 b* V; Y
  1584. session.hash_function = 0. ]7 _1 {- [" q* M$ T9 k) g: L/ Y% d

  1585. ' S2 ~: n7 ?' [6 v9 s0 y
  1586. ; Define how many bits are stored in each character when converting
    ) b: V: P* s5 Q5 r
  1587. ; the binary hash data to something readable.
    + W8 u) ]$ i- c) A) y' d  E
  1588. ; Possible values:
    + T/ _0 b1 w8 q/ F. U
  1589. ;   4  (4 bits: 0-9, a-f)% p: F* n6 T1 ^2 R- o- u
  1590. ;   5  (5 bits: 0-9, a-v), n$ J% x# c& I7 r% o
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")6 A' S. P1 s5 \& E$ N
  1592. ; Default Value: 4- T8 F0 T8 m: l: r
  1593. ; Development Value: 5/ X5 f, x) u5 E9 V1 o' d1 {# _
  1594. ; Production Value: 5
    9 H( _5 [" h2 R3 B
  1595. ; http://php.net/session.hash-bits-per-character
    8 ?6 O) I2 S& R# d' M
  1596. session.hash_bits_per_character = 5" g& `1 Y: ~, H6 f
  1597. 6 k" N" Z- l2 J4 i
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.3 a8 o0 J) x" U& V- }0 b9 M4 k0 H
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    3 \7 G& r; t* J
  1600. ; add a hidden <input> field with the info which is otherwise appended
    . Q# S; M4 s$ @1 u1 ~& n# N5 n
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 z* g5 i0 z; f4 u6 i+ }- L
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ! m7 Q# r6 e, G! O' T8 ]
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 e5 |' U/ N$ d0 U4 L0 ~6 a8 \
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 B. K* N" H) `( ^* H
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": M- r7 d: i' l7 S
  1606. ; http://php.net/url-rewriter.tags- V6 q, b- F, ~4 _3 m  p
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 U) I. y" z4 U+ u3 p) C

  1608. 8 g/ A) p( Z6 Q1 i, b
  1609. ; Enable upload progress tracking in $_SESSION! ~0 r! j# X* \, k
  1610. ; Default Value: On' m9 w- [& R' }/ `. i1 W1 Q
  1611. ; Development Value: On
    * W8 ~1 o3 b* j& x- J
  1612. ; Production Value: On$ c1 k0 D5 X" W5 F% L
  1613. ; http://php.net/session.upload-progress.enabled
    7 S! v3 h1 o, C" i) [/ C
  1614. ;session.upload_progress.enabled = On
    4 a1 u/ r  L" V5 v# B; w7 M. _; C
  1615. 3 z7 o. w- F# w9 Y
  1616. ; Cleanup the progress information as soon as all POST data has been read6 f1 l2 T6 b3 |9 E
  1617. ; (i.e. upload completed).; r1 Y" k2 X, k9 q: M9 A4 K
  1618. ; Default Value: On
    6 d6 q! I, f0 V; z8 R% k1 |( |
  1619. ; Development Value: On2 Q5 v! o& N# g  b' b* \* k  D
  1620. ; Production Value: On
    9 O$ Q/ I1 S8 Z4 V  v% I
  1621. ; http://php.net/session.upload-progress.cleanup
    $ L+ a+ F* b4 V2 ~# k' V' \; A. d1 V
  1622. ;session.upload_progress.cleanup = On
    * n* N1 P: C$ F+ Y: D

  1623. 3 D2 L3 ?# u2 \6 N: @
  1624. ; A prefix used for the upload progress key in $_SESSION
    6 \) a( t: ?7 H  [9 B; ^: A
  1625. ; Default Value: "upload_progress_"
    ) x$ j' M) N+ m( d
  1626. ; Development Value: "upload_progress_"4 c6 c1 X( V8 @7 q. \3 p) k, ]3 `& ~
  1627. ; Production Value: "upload_progress_"
    + U+ I9 `4 y6 d* I9 @: \+ v
  1628. ; http://php.net/session.upload-progress.prefix8 q7 c5 z4 t3 F- B' W8 O& o6 T& p, @
  1629. ;session.upload_progress.prefix = "upload_progress_"! `9 c& G; ?+ e: [
  1630. + q( @( E3 N6 ]+ B
  1631. ; The index name (concatenated with the prefix) in $_SESSION9 U* ?$ v' S* {2 S4 @; M2 m) D1 l
  1632. ; containing the upload progress information
    . i5 Z) ], z' S6 b, Z8 y
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ j. a( m7 A8 _- v
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS") k3 O' w! S; a9 F# K/ v  R. P
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 a( @* Q4 ]7 G5 H9 k: g
  1636. ; http://php.net/session.upload-progress.name
    8 s' c+ c. g- Q
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    5 O  Z! x: d5 }# U) Z

  1638. 0 Q+ @" `2 i: R) E9 w/ D( Q
  1639. ; How frequently the upload progress should be updated.
    , a+ G4 i8 ^; N9 z3 s+ r" @8 q1 L
  1640. ; Given either in percentages (per-file), or in bytes
    $ p; I/ C8 ?4 i0 {$ y- ~
  1641. ; Default Value: "1%"
    ; r6 {3 m5 i9 q3 _/ d, N6 T4 S
  1642. ; Development Value: "1%"
    . n# g( }5 O; o, H/ O' H0 D5 K
  1643. ; Production Value: "1%"# T) Y7 T8 g* c/ D. s  c* F
  1644. ; http://php.net/session.upload-progress.freq. Z9 u2 j0 [# _2 A0 Y1 V
  1645. ;session.upload_progress.freq =  "1%"
    , ^. r* s5 \! p+ I
  1646. 7 \5 |0 Z; d  G! C" J0 h8 @
  1647. ; The minimum delay between updates, in seconds
    $ I5 [0 X1 U2 |! U0 H
  1648. ; Default Value: 1
    # @; _7 L8 c8 C2 i
  1649. ; Development Value: 1( j# |0 |2 @3 J" s* D* U3 c) p
  1650. ; Production Value: 1( \2 c( @3 v7 S6 h* j
  1651. ; http://php.net/session.upload-progress.min-freq( f2 ^+ U1 a% p; u! k9 \: J; k
  1652. ;session.upload_progress.min_freq = "1"
    ; g+ B) o5 ]) M( m2 L$ B9 X! [4 |5 w

  1653. : {) E! E& x7 H, i$ z* z
  1654. [MSSQL]
    ! C, a+ f# `: k
  1655. ; Allow or prevent persistent links.
    9 h& i0 C5 K# y) |8 U/ a) f0 N
  1656. mssql.allow_persistent = On
    ' b  E+ n( x, n+ R% [

  1657. , [0 e! Q- c  p5 ~  @
  1658. ; Maximum number of persistent links.  -1 means no limit.& O' y% ~0 [, g$ K
  1659. mssql.max_persistent = -1
    : |% B  a" w5 Q& F4 d! A; N
  1660. + H( X7 l& Y; z& S  N
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( i( C+ ?8 _  J+ C+ Z( H* W
  1662. mssql.max_links = -1
    % j5 K% p3 e- O% g

  1663. ) A( A6 M$ y: A% B- e8 u8 ?6 t
  1664. ; Minimum error severity to display.
    , x9 ?# d  t4 e8 g
  1665. mssql.min_error_severity = 105 R( J3 n; o; M0 V
  1666. . f( O! e: o4 s/ o0 g, ?
  1667. ; Minimum message severity to display.( t4 K; U, c7 B9 y& M' y9 |
  1668. mssql.min_message_severity = 10( d  r5 \  ~, g1 B" i3 J( _

  1669. + o* W0 c2 l# ~2 o, h; }: y' Y+ N: P
  1670. ; Compatibility mode with old versions of PHP 3.0.
    8 I6 M& j/ }, p* n
  1671. mssql.compatibility_mode = Off
    - a( ~  f0 B/ A, a8 T

  1672. ) c* J& x& z! ]
  1673. ; Connect timeout
    7 b2 D6 f8 R) u, u8 n* A- k
  1674. ;mssql.connect_timeout = 59 w1 S; r4 I% y) Q) Z
  1675. " `2 S! H6 R- @+ ~
  1676. ; Query timeout
    4 G+ o) c( K* G; m2 }5 V
  1677. ;mssql.timeout = 60: [% u) r9 f* n' p# x# {6 L8 M3 V+ n
  1678. 0 {9 L( P! S2 h
  1679. ; Valid range 0 - 2147483647.  Default = 4096.- b4 S. `4 F# P5 S) n) f  i9 V7 R, ?
  1680. ;mssql.textlimit = 40960 t+ x: {# Y( m8 D

  1681. # b# a7 [7 j) t7 j
  1682. ; Valid range 0 - 2147483647.  Default = 4096./ @0 u+ o7 q( X5 _# o" Y
  1683. ;mssql.textsize = 4096
    - v; |7 e9 @( J: [

  1684. 4 {+ F/ i2 W, a% M/ s6 W  g) g$ N
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.9 f& d  X& D) c7 j) w; B/ C
  1686. ;mssql.batchsize = 08 l5 {0 I3 _* _3 S
  1687. 0 M- ?2 X: ^) U: }
  1688. ; Specify how datetime and datetim4 columns are returned; z: o% z& O$ A0 R
  1689. ; On => Returns data converted to SQL server settings, I/ N+ ]1 d6 A( w  X4 d
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss' q' ], Y5 c' [6 T+ A
  1691. ;mssql.datetimeconvert = On
    1 w& w0 G' p5 ]5 ~: i6 C4 Q

  1692. 2 ]; [/ }, W- ^
  1693. ; Use NT authentication when connecting to the server9 Z2 S, u' t& i# N+ ^8 u, F2 I" t
  1694. mssql.secure_connection = Off) N) S& s7 v. f) c5 p
  1695.   e3 w4 k! i: ]/ ]0 \% H
  1696. ; Specify max number of processes. -1 = library default
    , F% h( P, I2 B- T  x! C
  1697. ; msdlib defaults to 25: N9 N. J) g, W: h
  1698. ; FreeTDS defaults to 4096
    9 H- p  ]9 u7 i) d
  1699. ;mssql.max_procs = -1
    + y, x! q3 P; f) I3 Q; m+ E
  1700. ! M/ D8 D$ ~4 r2 C" |4 Y0 h% t) R
  1701. ; Specify client character set.
      q2 I. q2 Z; C/ r, b
  1702. ; If empty or not set the client charset from freetds.conf is used
    4 d; J) u1 d; X5 E6 _8 {8 H9 j
  1703. ; This is only used when compiled with FreeTDS) j4 J$ i2 Z3 [, F  V8 w& X/ h
  1704. ;mssql.charset = "ISO-8859-1"3 ]- d. a6 c; C' b5 q
  1705. , M2 m: L- x1 F. z
  1706. [Assertion]
    ' Y% A$ g) j+ f2 D# T
  1707. ; Assert(expr); active by default.
    # Z+ g& V6 z3 A+ y
  1708. ; http://php.net/assert.active  {! t7 \; a% w
  1709. ;assert.active = On
    2 N* U, y4 X3 N6 G6 x0 d& l5 u

  1710. : o/ k2 E5 \$ o7 w; S& }: l& F3 b* O
  1711. ; Issue a PHP warning for each failed assertion.* ]; t1 G9 j* _. T$ Q- |& P' y
  1712. ; http://php.net/assert.warning
    : c* d( ?$ z. A- m
  1713. ;assert.warning = On" @0 E" V, o; T6 p" v4 S, h$ X

  1714. 4 l* W  Z/ S: c  S" ^
  1715. ; Don't bail out by default.% \  q: e3 o9 D
  1716. ; http://php.net/assert.bail' C) [( f( A7 |; q, a7 i& s( {
  1717. ;assert.bail = Off
    - N1 M* ?5 H6 t+ Y9 j7 f& j2 ?

  1718. + R) S( a4 I. f2 m
  1719. ; User-function to be called if an assertion fails.
    ) v# t# h: N- }, D$ P! R
  1720. ; http://php.net/assert.callback" N2 A& v& _! |; B" x
  1721. ;assert.callback = 0  N5 i/ K  x! \' W3 P4 q# M

  1722. 3 V, ?7 i2 F  Y1 A8 _
  1723. ; Eval the expression with current error_reporting().  Set to true if you want4 F0 o: K% U, i( u& b& S* R$ b  ?
  1724. ; error_reporting(0) around the eval().% l5 d& i0 }; V# u1 E& D$ o, v
  1725. ; http://php.net/assert.quiet-eval8 D& y8 F$ Z& }
  1726. ;assert.quiet_eval = 00 y# Q6 z4 B- b! `1 b' D& ~

  1727. 8 N* _: W& A" _, j2 T
  1728. [COM]
    3 w5 r  X' d2 @7 @! h* R
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, j" ^4 B9 N# p6 K  h7 U
  1730. ; http://php.net/com.typelib-file
    " x, N, Y. P' p2 z6 M! k  x
  1731. ;com.typelib_file =/ h+ S7 [/ x0 w9 f+ l3 R$ B
  1732. 6 ?- v9 O6 G& C/ l. _5 F- m! r/ h, G
  1733. ; allow Distributed-COM calls! L2 w+ Y6 j1 o' i  A) `' ~+ g% v
  1734. ; http://php.net/com.allow-dcom
    4 T' P" Q1 j- X6 |5 s
  1735. ;com.allow_dcom = true
    - u" g% Z1 n% Y6 u0 b& \# D
  1736. ) K8 S. |' Q1 O' S8 u2 |2 j$ i
  1737. ; autoregister constants of a components typlib on com_load()
    . T8 W) Z' `$ |! k2 S
  1738. ; http://php.net/com.autoregister-typelib
    & y0 B' T+ K/ N# q; Y$ B* X7 Z2 i
  1739. ;com.autoregister_typelib = true
    ( v. N) S* @% Y1 `7 Z9 J
  1740. 7 \% q1 ~- h& b/ u* c4 B
  1741. ; register constants casesensitive
    $ z6 r, `: K' d& e' s; K( \6 D, t/ l
  1742. ; http://php.net/com.autoregister-casesensitive. x8 U6 F. y" R) A: R
  1743. ;com.autoregister_casesensitive = false
    1 z1 Q# O; x' R" f3 \+ \
  1744. ' F/ S( R2 d5 a; T" w# _
  1745. ; show warnings on duplicate constant registrations+ M% T8 S$ D2 \: |, k; @6 N4 J
  1746. ; http://php.net/com.autoregister-verbose
    & Z4 e9 _, q3 \
  1747. ;com.autoregister_verbose = true
    6 v: h" x" g0 {$ g
  1748. - l4 f% ^! A! H1 k7 ^' x
  1749. ; The default character set code-page to use when passing strings to and from COM objects.  V) c9 q" ~. t
  1750. ; Default: system ANSI code page! L  O6 ]: x0 }- P% c2 W+ F3 j
  1751. ;com.code_page=9 q' u0 ]. X2 @
  1752. " a  z, A. c) V; G/ u  F
  1753. [mbstring]2 {3 A6 M4 j+ m0 J* G
  1754. ; language for internal character representation.( L  f& a5 |5 }* H! P- P1 m' R7 j
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.% c! y+ |! c1 Q) L
  1756. ; http://php.net/mbstring.language
    / W4 J" t6 h0 ^" k# G. R
  1757. ;mbstring.language = Japanese
    # b$ H! p6 S. N+ p3 R  N
  1758. * l4 i* z3 F# s& h  k% t" p+ l# B# i
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 U: w: P* U) B6 ^; `
  1760. ; internal/script encoding.
    % ?4 p- v4 K: ]% d& s2 e
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)/ W" l- N! @8 b8 f1 x6 z) R
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# Z- [3 o) w" _3 m- C, a: [
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : \+ t* n$ z2 p3 D% i/ A7 ^& t* k
  1764. ;mbstring.internal_encoding =
    4 x4 k) w& i+ e7 }: A( h* ~; d

  1765. / v5 t6 {8 |/ H4 b) o& f5 J- w
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % ]7 l* g& @1 T& Q. X% A+ v
  1767. ; http input encoding." u" r! T! g$ ^+ L5 K" _# w
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , T& R0 @* J0 }2 x  E
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    % u. N- ]5 {0 T9 g/ u
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 p% v* N- A7 A% }# U/ ]
  1771. ; http://php.net/mbstring.http-input
    ( T) d9 R. d4 D$ }8 u$ c/ M
  1772. ;mbstring.http_input =
    . r$ _/ x% d: L% P. e& j4 z

  1773. ( _5 V0 u9 x$ }+ E% I2 v
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.8 ?- ?( g+ O' |# E* w" ]& x
  1775. ; http output encoding.
    6 Z1 {& C; i. `6 H2 M  R& m
  1776. ; mb_output_handler must be registered as output buffer to function.
    ; L' F- W. M; i1 \0 |/ F
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    9 h2 B; Z* C2 z+ }7 ~
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + H2 Q7 S+ p9 e& `
  1779. ; To use an output encoding conversion, mbstring's output handler must be set- u2 m! q2 q( w7 H- z: |1 E3 i
  1780. ; otherwise output encoding conversion cannot be performed.0 ~8 |3 K% i- n
  1781. ; http://php.net/mbstring.http-output: T2 H; u9 ]" Z7 [- t* W9 e) ~9 ^. i
  1782. ;mbstring.http_output =
    & W/ S& @5 Y  e# {

  1783. 7 v- a8 y& c5 p: N9 v
  1784. ; enable automatic encoding translation according to
    7 U1 B- \- k# L! S2 A7 m% o
  1785. ; mbstring.internal_encoding setting. Input chars are6 t/ o* Y) {& }/ D; c
  1786. ; converted to internal encoding by setting this to On.
    * u1 Z' h  ?8 |0 v1 A! g
  1787. ; Note: Do _not_ use automatic encoding translation for/ ]- ^5 _$ j+ @3 \6 x5 s2 |' K0 Y
  1788. ;       portable libs/applications./ C6 [( x$ L+ J. T, y3 k+ c
  1789. ; http://php.net/mbstring.encoding-translation' F8 p$ h) P3 P5 @' o8 u1 T
  1790. ;mbstring.encoding_translation = Off
    ) b( t4 c# y$ z% _' b% X" A
  1791. 1 w7 i* t: z% K& \9 R( R
  1792. ; automatic encoding detection order.# `5 @" @$ S* T6 f$ N
  1793. ; "auto" detect order is changed according to mbstring.language
    0 U" E, k1 g" G* h9 B
  1794. ; http://php.net/mbstring.detect-order
    - L( Y" p# K5 Y" [- x3 K; r
  1795. ;mbstring.detect_order = auto+ {) j% i. t6 x; R" m: O9 H
  1796. $ i2 S, J# Y8 K  t1 u( Q+ |% [
  1797. ; substitute_character used when character cannot be converted
    ) `7 a, E+ \" r+ D" \
  1798. ; one from another
    6 s; [/ w' o1 ?5 e) z5 C- j% u$ z
  1799. ; http://php.net/mbstring.substitute-character% p) L9 Z5 G) R6 t3 q, C9 X
  1800. ;mbstring.substitute_character = none2 X! Q% P' K! b- J. E& [$ {0 y1 q' e/ `

  1801. 7 P: i/ k, A" p
  1802. ; overload(replace) single byte functions by mbstring functions.
    3 G6 F4 C$ \3 M$ a0 @( @
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),; V, A& |/ [9 S) |& H9 K
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.' G1 P; S8 i  @' g
  1805. ; For example, 7 for overload everything.  [4 I/ Y. q) H
  1806. ; 0: No overload
    0 o3 a; g7 l% W5 t9 ]' F5 n( A
  1807. ; 1: Overload mail() function' _' P) J1 \: ~  ~
  1808. ; 2: Overload str*() functions1 q, o1 G, ^6 B- V; g# v: d7 B& V" N
  1809. ; 4: Overload ereg*() functions
    * x! n/ f% F  F
  1810. ; http://php.net/mbstring.func-overload
    5 L" g' i4 m' w0 d- r
  1811. ;mbstring.func_overload = 0+ V2 R& y! i4 z/ X+ P, ?5 X
  1812. 7 X6 k" K9 [1 }7 g+ d' B
  1813. ; enable strict encoding detection., [1 \- k: F( O, T4 Q8 g+ D
  1814. ; Default: Off" I& u- s$ ?7 C$ H5 u  H
  1815. ;mbstring.strict_detection = On0 b. T. g4 w, p; s) [

  1816. 3 w0 P* D! \( i* h3 V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ! K; D/ B+ f* P$ R. ?+ u- H
  1818. ; is activated.
    : z; O5 V# i2 u1 J2 Y
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 [5 o; W  g) X0 q
  1820. ;mbstring.http_output_conv_mimetype=
    ( j- M5 C: X% q

  1821. + M" K# p2 T/ u. k% q2 a$ p
  1822. [gd]- ?7 e9 }! D% t8 b  B8 v2 B
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    0 N' b. g! z7 I" F5 q+ p
  1824. ; a gd image. The warning will then be displayed as notices( D. K( X2 S* r2 K) N4 N
  1825. ; disabled by default
    / _. e6 k1 N& d" V( G. U" b
  1826. ; http://php.net/gd.jpeg-ignore-warning
    * e0 h8 |/ X8 q" j6 z' d: R
  1827. ;gd.jpeg_ignore_warning = 0: Y2 d! N( |: T3 w# {7 R1 ?5 ?

  1828. 0 K  [$ u+ N. G3 x3 D9 `
  1829. [exif]
    3 d. c/ F9 e$ D% M7 O9 n) l: L- i
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ; A& K4 E; N9 ^; F: i$ l4 q% n
  1831. ; With mbstring support this will automatically be converted into the encoding: K1 [9 C) N# X1 O
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    4 t* a# g# J; J6 R
  1833. ; is used. For the decode settings you can distinguish between motorola and  C. ~+ g6 a, k3 {$ I' n
  1834. ; intel byte order. A decode setting cannot be empty.
    , F! k4 z6 A6 _, D1 |
  1835. ; http://php.net/exif.encode-unicode
    2 [) ]7 L* ^( `8 c* E1 D. |
  1836. ;exif.encode_unicode = ISO-8859-15
    ' N; d; ^. k3 Y2 J3 t9 V/ S1 D

  1837. ( N# W# p1 c; `  D$ z+ h; y0 A
  1838. ; http://php.net/exif.decode-unicode-motorola( Z/ U6 o5 Q% Q# O  j
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    6 D% j) I8 c1 i" U# q8 b+ M  h) E

  1840. ' Z; E* _" }. Z6 F  ?
  1841. ; http://php.net/exif.decode-unicode-intel
    0 p& E' L" h+ F3 N  T3 ^0 v
  1842. ;exif.decode_unicode_intel    = UCS-2LE0 M* H! f( j6 z! B

  1843. / Q: v3 h" {4 x& I
  1844. ; http://php.net/exif.encode-jis6 |' Y; @* f- M, B  G) Q
  1845. ;exif.encode_jis =
    ) [2 Q( P, U4 @! z8 h
  1846. 4 H1 C6 k7 q1 {& ^) C" D& ]
  1847. ; http://php.net/exif.decode-jis-motorola
      I9 X4 m/ n; I; R
  1848. ;exif.decode_jis_motorola = JIS
    7 ]7 Y1 |' q* E1 ]" B
  1849. 1 f) l3 e8 |/ U" m7 S4 P7 P" y
  1850. ; http://php.net/exif.decode-jis-intel1 E6 a1 B6 l( A0 T0 V0 x
  1851. ;exif.decode_jis_intel    = JIS4 {& C7 H7 {" ^, u; X; C* ~6 Y
  1852. 5 b4 d2 `+ S+ M3 J9 f* _
  1853. [Tidy]
    0 }/ y) n5 i. X- h* I$ f0 q5 H
  1854. ; The path to a default tidy configuration file to use when using tidy/ T1 ?. [  m  E  ~0 p
  1855. ; http://php.net/tidy.default-config% F6 [& j) `* n* R
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    . @  w" a) k5 U% y/ M- s+ w

  1857. , G9 W2 U: b, p7 O4 C0 ~
  1858. ; Should tidy clean and repair output automatically?
    $ Z! B1 O9 o0 r4 E9 G# N  R, m0 l
  1859. ; WARNING: Do not use this option if you are generating non-html content
    / |$ w3 i9 j2 K  _5 ?$ }, x
  1860. ; such as dynamic images
    8 e' @4 e" @- c& ]
  1861. ; http://php.net/tidy.clean-output
    6 D3 n) G5 ?, O2 V- T
  1862. tidy.clean_output = Off: {' j7 g6 Y( v# q5 s

  1863. / `( z; t& K: J' e$ X6 m
  1864. [soap]
    ) r& u- J  t* x! X& w; t: \
  1865. ; Enables or disables WSDL caching feature.
    / c4 U  O1 F$ f' A6 q
  1866. ; http://php.net/soap.wsdl-cache-enabled
    - W- i6 K6 b1 o
  1867. soap.wsdl_cache_enabled=1
    2 ?2 u2 x4 F) A- }* |

  1868. 1 x* @! `4 p" P$ }+ `
  1869. ; Sets the directory name where SOAP extension will put cache files.$ I% j$ X, D& B3 }' M
  1870. ; http://php.net/soap.wsdl-cache-dir
    ' e$ H* I0 P0 K4 A( ?/ |# w
  1871. soap.wsdl_cache_dir="/tmp"
    ' u5 I" _) F5 b: m4 v

  1872. 2 Y% c+ k0 Q0 r" |
  1873. ; (time to live) Sets the number of second while cached file will be used' p# S( i& J) y
  1874. ; instead of original one.0 P& k& O7 L1 Z# H4 P2 x' h+ r
  1875. ; http://php.net/soap.wsdl-cache-ttl. s! g  z8 A5 F$ [/ N$ x2 e
  1876. soap.wsdl_cache_ttl=86400
    : Z  Y! j8 j6 V3 y

  1877. 0 w- X- f! c7 f6 i% t+ B  h* ]
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    * O2 C" z# W0 C0 e# b; E! O
  1879. soap.wsdl_cache_limit = 5( ~" M- j# a2 ~' H1 k

  1880. - A3 M. H/ m# {4 F% d; B3 F
  1881. [sysvshm]3 S4 K- J) I4 Q0 Y, }
  1882. ; A default size of the shared memory segment
    2 d9 k0 ]4 |5 x3 c
  1883. ;sysvshm.init_mem = 10000
    , p% U2 v% P/ X* E

  1884. & T6 U) Q) B! \% A9 _* g: c. {4 {* x
  1885. [ldap]' ~; I" q/ \: s% r& e  v
  1886. ; Sets the maximum number of open links or -1 for unlimited.! d! j( x# V  k5 R/ j
  1887. ldap.max_links = -1
    4 x& o. W' V8 D/ w+ m  @
  1888. " R# Y! Q# E# F! z- k( A
  1889. [mcrypt], r  W. @* c; a, g9 v2 ^6 a/ G
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 {  e% V# f: `* `; N, U! e6 |

  1891. 1 H7 c4 H6 y) J
  1892. ; Directory where to load mcrypt algorithms
    ' H4 @& Y! w( Z/ l  F' \
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 S3 U* G0 k9 V8 {2 Q- ~- K  g; O
  1894. ;mcrypt.algorithms_dir=
    ; m; {! ?8 h/ _
  1895. 9 C" I* ~% U: I7 `
  1896. ; Directory where to load mcrypt modes
    & f: Z- ?2 h0 i2 r6 a3 M3 m3 x
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). ]% \# O% S) c4 V2 R% s! J' V1 O
  1898. ;mcrypt.modes_dir=) s/ a& }- S! C" I9 h: E0 c( `

  1899. ; K9 C: P3 H4 j: L4 P
  1900. [dba]& p- D9 Z& a; {4 f% {& S( p; q
  1901. ;dba.default_handler=
    6 G# v1 \; ~* l
  1902. 0 b, f' I9 d4 P( N
  1903. [opcache]
    ) u3 n& p( \7 \2 s; V
  1904. ; Determines if Zend OPCache is enabled8 W0 H  G. Z8 M* K
  1905. ;opcache.enable=0
    3 D: {9 ?( d8 E6 `( i8 P1 Z7 ]
  1906. 8 c) r  m! C# J. v4 j+ U
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP& `, C9 V; A+ J0 b
  1908. ;opcache.enable_cli=0
    8 k- k$ H  Z  D% d
  1909. 4 t7 t6 o/ B) P6 r4 P7 i/ x+ U  y
  1910. ; The OPcache shared memory storage size.
    # w( T9 \  k* Q2 U# k) o
  1911. ;opcache.memory_consumption=64
    / x6 C1 K3 E' l. r& W5 j

  1912. 7 d% \0 ^5 ~' A0 `' X: \0 K1 a+ r
  1913. ; The amount of memory for interned strings in Mbytes.3 K# V! W/ a" p, b
  1914. ;opcache.interned_strings_buffer=4
    6 P1 \1 ]- r7 o4 S8 f
  1915. # S0 L& v+ |4 J6 b0 q% H2 Q3 h
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    7 a) B3 d3 G# r/ `. o7 e) |2 I. u7 |
  1917. ; Only numbers between 200 and 100000 are allowed.
    6 N/ m2 {- l+ S7 M/ y
  1918. ;opcache.max_accelerated_files=20001 I( o8 g& Z1 b
  1919. 1 O4 M! f5 N- w+ S
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    8 X2 g! p! M2 X- k' V
  1921. ;opcache.max_wasted_percentage=5  I3 X" E# X! }$ X+ j8 n: G/ t
  1922. ) A# R: ~  R& [/ b/ a, m. A1 w
  1923. ; When this directive is enabled, the OPcache appends the current working
    % k( Z. V- ^7 ]' X) u
  1924. ; directory to the script key, thus eliminating possible collisions between0 G; O( K! j7 Z
  1925. ; files with the same name (basename). Disabling the directive improves5 f3 Z, g! G7 A' L2 S4 \( e: ]
  1926. ; performance, but may break existing applications.# k! e+ ~* F) a% e! o
  1927. ;opcache.use_cwd=1- Y- O+ {9 w9 A1 c) ^# |2 I5 L

  1928. ' s. c2 P: d$ d5 b& l( y
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ( Z  {. `; B$ O, ?) X0 E, h
  1930. ; webserver for changes to the filesystem to take effect.
    % d& U/ m: F6 L
  1931. ;opcache.validate_timestamps=13 w+ S" L  t* b1 Z: k
  1932. 4 g* S2 P0 V( m0 W8 A9 V) O
  1933. ; How often (in seconds) to check file timestamps for changes to the shared+ I; \. a4 f5 X
  1934. ; memory storage allocation. ("1" means validate once per second, but only* c' D3 b" j% n$ g4 P
  1935. ; once per request. "0" means always validate)! y- B/ V/ W+ {! e0 b4 o
  1936. ;opcache.revalidate_freq=2
    / s9 x, [/ @/ X

  1937. & \2 m0 _4 T$ o/ c! h# E
  1938. ; Enables or disables file search in include_path optimization
    ' e1 F" p' Y- m; n  V) `
  1939. ;opcache.revalidate_path=0
    1 d) u/ o6 v5 z& s0 P% H' ~

  1940.   B' D& F5 h; V: d' s4 F$ a; \% i
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the8 S. i+ D7 V5 q* `
  1942. ; size of the optimized code.
    . ~: t8 E9 D& v( I( r
  1943. ;opcache.save_comments=11 w& [7 z4 V9 d- H1 Z
  1944. - K+ x" t* h$ ~4 e. T/ z# e! Z
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"+ l- z7 _+ n& v& Z7 b9 ~: J
  1946. ; may be always stored (save_comments=1), but not loaded by applications5 @- H6 G, L" _+ O) i  m
  1947. ; that don't need them anyway.3 X! B3 J5 l' ]& ]8 L
  1948. ;opcache.load_comments=1
    , \0 \# O3 H8 U; a  @

  1949. % M! E* Z5 t( _  m9 \$ N+ I  \
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    9 j9 ^) l; e3 t; G& o, z
  1951. ;opcache.fast_shutdown=0
    $ Y' X: F/ _- c6 X" G
  1952. 4 x2 u, l, P; X2 R0 t' O: }1 r$ a# r
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    . o) i/ w+ K$ Y+ R  F* Q) H2 N
  1954. ;opcache.enable_file_override=0  w% X  t4 U' q8 X
  1955. ) L5 ^/ P# F. U2 ?4 f  G9 e
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ( o6 L0 g- V2 n% v, F
  1957. ; passes# i3 E7 ?6 l# O
  1958. ;opcache.optimization_level=0xffffffff. \$ O) N5 \( Q4 n& C1 R/ }
  1959. 4 ~1 W/ k2 f8 X2 X
  1960. ;opcache.inherited_hack=17 x7 f* o' p+ v6 y. u
  1961. ;opcache.dups_fix=06 ~8 O* a1 ^, a8 L/ d- q: C" w! o

  1962. 7 t# ?# M" t! {" I' a+ V' T
  1963. ; The location of the OPcache blacklist file (wildcards allowed)., g& N* J" J! C
  1964. ; Each OPcache blacklist file is a text file that holds the names of files2 `- g+ D7 U0 J9 r: W1 G
  1965. ; that should not be accelerated. The file format is to add each filename
    / C7 L$ s  v- T. ^6 c& F9 p9 E7 z
  1966. ; to a new line. The filename may be a full path or just a file prefix  [" e+ D# y$ B1 K
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www! }! M/ `% Z5 C, [+ }0 ^
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).) }7 b/ }8 `, z
  1969. ;opcache.blacklist_filename=
    2 p$ u1 z) F) ~* u, |4 t6 [/ o) A
  1970. 7 e. S" l2 P+ N* j+ C2 ]1 ^7 N1 l
  1971. ; Allows exclusion of large files from being cached. By default all files1 y: l  h6 Q" _6 p. ]: x; l3 N- F
  1972. ; are cached.% M! V# e2 r* O
  1973. ;opcache.max_file_size=0/ u( q2 W. r+ q" n* H5 h
  1974.   g0 |$ Y$ |& b% Q  F
  1975. ; Check the cache checksum each N requests.
      A- u5 l8 H- X+ `  ]# f" j
  1976. ; The default value of "0" means that the checks are disabled.
    3 X* v9 F* G, J5 h4 }0 s* h
  1977. ;opcache.consistency_checks=0
    ) @7 E" Q8 Q* A

  1978. 6 |! G8 O8 _+ _0 @
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache' f, n6 {, e+ Z7 q0 B% K) n
  1980. ; is not being accessed.2 U0 K, v* T( S8 x5 K8 d8 z: }
  1981. ;opcache.force_restart_timeout=180
    : E6 ~# z3 R) n# T3 L% x* w

  1982. $ h! {( n6 k; M; w( j
  1983. ; OPcache error_log file name. Empty string assumes "stderr"./ R: [/ m8 B3 Q, t: {
  1984. ;opcache.error_log=7 z! \/ d  i7 V+ s0 P; i* |
  1985. " z. m- _3 m7 n: M
  1986. ; All OPcache errors go to the Web server log.- c8 l( l/ v: v" _
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ) L$ Z; l; \: P( l; N$ C6 d) c
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    & F5 I" X$ J; o+ C5 W2 X/ n
  1989. ; debug messages (level 4).' F4 o+ ^! Z$ R
  1990. ;opcache.log_verbosity_level=1
    9 t- a  B" x& o' H
  1991. / ?! o$ j9 w6 d" d: S, w
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.3 J) e8 ^% J# u: f
  1993. ;opcache.preferred_memory_model=' ]% v! ~( N) K2 m8 z' S7 g

  1994. # w8 t2 B0 k9 j' P' y# P
  1995. ; Protect the shared memory from unexpected writing during script execution.0 h9 e+ A- s# n
  1996. ; Useful for internal debugging only.
    , E- `$ P1 R$ Z) V, t. M
  1997. ;opcache.protect_memory=0( I" I' [, p0 m4 k; o: |- x

  1998. ; m4 U1 d, r& Q
  1999. ; Validate cached file permissions.# p) Q$ g! u0 v# o' M6 w( a
  2000. ; opcache.validate_permission=0
    ( M* v0 T* o8 m' P( F1 H

  2001. ; G  P7 P9 K* N1 x7 M; a
  2002. ; Prevent name collisions in chroot'ed environment.) u( B, n- A; ?& B* c0 R
  2003. ; opcache.validate_root=0
    1 X" s6 E  ]1 i4 F8 V. |; t
  2004. ' ^8 A' }$ v4 }6 x, `' N
  2005. [curl]- M7 z0 @- x  g0 ~/ _- _
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an7 r2 i7 I6 c. }) e
  2007. ; absolute path.
    6 `/ u- x' _, Y4 r/ H! |- E7 I! e
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt' V* ?) C  B: }8 N% p
  2009.   ], d4 B& K8 R* W) B( c$ f9 E: \$ a) Q
  2010. [openssl]
    # Y& B6 j5 W) t' y
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    & Q' v2 ~% {' B
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should' d( u6 B4 H# w9 [+ [! J) x2 N( ^
  2013. ; not specify a value for this directive as PHP will attempt to use the0 T' U) n9 \% q2 n( f% X6 j
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    & M3 `% R. U4 q& Y7 z4 N7 O
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 a) F2 G5 C$ C& N
  2016. ; option.
    / i: o$ |; [- B5 q/ Y
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt2 j- ~) U+ u9 [' y: a8 ^* e* p

  2018. : E8 a* y; Y8 D
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    0 G0 k7 R* x. C& r  R- M! F
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    4 R' H( {3 {) b7 R0 `. S
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    $ X4 q; B7 e5 s, a
  2022. ; Most users should not specify a value for this directive as PHP will
    % h& |0 u( G$ E
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,: L$ A! N# l9 P" [: Z+ x! d
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    & a! `# y1 |- L3 A, Y
  2025. ; SSL stream context option.
    9 l& }! q; p" P1 }- R6 a. }
  2026. ;openssl.capath=/ o' C; w; [" t1 _/ B$ a

  2027. ; o+ Q0 q- i3 [3 z2 T
  2028. ; Local Variables:3 \) x: ]1 j  z) d
  2029. ; tab-width: 42 e2 T3 w. Z$ P6 f9 \" S
  2030. ; End:; H' D! Q8 u8 p6 i# o2 a$ `
  2031. ) b0 U  G3 h( G! y, }8 E
  2032. ;eaccelerator# F1 c' E9 P7 E' e1 d3 X8 e/ v

  2033. . \; y& R# L/ l( ^  X  `" T
  2034. ;ionCube& o9 W0 j. V1 f5 K
  2035. 6 Y1 k* _- ^. a" S* P8 e2 J
  2036. ;opcache
    9 w; U" X7 M) c1 b) e# i2 Y
  2037. ! d' Z8 h3 z9 O% V% \! V3 `, r* t6 B
  2038. [Zend ZendGuard Loader]
    % H. u/ s. w1 G6 U8 J, m
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    + o3 d4 y! T9 c+ O+ q1 g
  2040. zend_loader.enable=1) T# e2 x. V  N! i! {! n
  2041. zend_loader.disable_licensing=00 Z* S% D( [2 R7 ?, [
  2042. zend_loader.obfuscation_level_support=3
    3 S4 r% Q5 E# w+ x
  2043. zend_loader.license_path=* ?3 u5 S: @- z7 x
  2044. 0 @7 t7 R2 @  ?
  2045. ;xcache
    " P/ B! x  Z# q

  2046. $ _* d  B" r6 e! v
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692) U* Y" B# a  l  C( ]+ m8 f

2 y& A1 R. h& X/ M
7 Q" \( {: Z4 T! e: P: r7 X' G0 h$ eDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,6 M7 z5 i' P4 x8 m* T+ x) T% {4 q
2 q- ~. w% m6 d: k
Discuz!程序版本选择:8 C/ e+ Z- \9 K0 h; n
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
  l3 c6 Y) j$ d- v4 D不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
+ {6 y9 [3 N: r4 ^* G! R3 I; aDiscuz!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。
* W( Z3 D1 K. I# G: X
) m. T9 O8 e& N: h+ _4 L8 F9 n* sDiscuz!插件模板版本选择:
/ v# m" |! c: l: M! |6 V+ \0 {5 _很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,* ^" n. c( M  ~4 ]/ O- J1 }
针对这个问题做个统一的普及:
3 R. n1 Q! t% E7 A; L& s9 Z0 EX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
7 Q& Z" B: x/ H6 Y" M, n" f& T( Z* j/ G4 v( p: ^3 a* N
所以
6 g$ t6 R. I+ K$ Y! V, f. ~适合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的二级域名。
- t# Z  `; d; V- J( i/ T打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
% e7 Y4 ^" I; L8 D# v; A! A注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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