分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
$ ~6 r; o7 Y& x% a  q+ V( s) _7 B) o
  1. [PHP]
    $ L$ x( z2 c/ |" [. H  X
  2. : z; [3 W5 ?1 T3 @5 H% J, O5 S4 w
  3. ;;;;;;;;;;;;;;;;;;;
    . q1 D4 }0 G1 }5 z. Y) U: |- k
  4. ; About php.ini   ;
      v9 ]' b: t0 T% ^
  5. ;;;;;;;;;;;;;;;;;;;! q( y' @' R7 U
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 y5 m/ s' J8 f: K0 N. A( ^& Z, k
  7. ; configuring many of the aspects of PHP's behavior.5 u! q- Y. F0 K4 s3 c
  8. , Q" z2 _0 E) _1 I" w' X  X+ F
  9. ; PHP attempts to find and load this configuration from a number of locations.5 o/ L5 J: q7 `. P4 D9 E
  10. ; The following is a summary of its search order:
    7 }  C& ~1 [) e* |
  11. ; 1. SAPI module specific location." l; ]( x( i2 Q" F: J
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" S. v3 c1 T8 T% C/ X" M
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ! \! g3 a2 N; ?6 [# E
  14. ; 4. Current working directory (except CLI)
    3 ~; B7 U  _" W) s9 ]8 W, W5 N  B2 ~
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) S; ~; s9 t% J( _7 S( h& c
  16. ; (otherwise in Windows)
    0 v" e$ ]) c( V! h* T
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) t+ D/ Z. k1 r: q3 p/ a% N: G
  18. ; Windows directory (C:\windows or C:\winnt)2 S: @3 Z0 `  G
  19. ; See the PHP docs for more specific information.3 }" X; s  V/ M/ P( s) X
  20. ; http://php.net/configuration.file  v& a9 P. ?. u. }
  21. : C# W2 }$ X9 X, J! C
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 n' G/ j7 u) e, v% J5 d( I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 P* i; P3 n0 ?. S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though& W+ [7 }0 f1 V; M7 \6 K; r1 H
  25. ; they might mean something in the future.
    5 v8 L2 i6 P* S& h3 E! I
  26. 4 k$ i3 U! g8 K
  27. ; Directives following the section heading [PATH=/www/mysite] only4 O1 ]# C- |9 U9 E
  28. ; apply to PHP files in the /www/mysite directory.  Directives. H" c& U1 `& E& p- ]$ [
  29. ; following the section heading [HOST=www.example.com] only apply to
    # J! ~4 F5 z. T1 P9 c2 F
  30. ; PHP files served from www.example.com.  Directives set in these" H5 V3 l' T3 O2 g; [
  31. ; special sections cannot be overridden by user-defined INI files or7 \3 {" T2 j- \9 s% o# c( J3 o
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under4 n) C# Z- B- c8 _
  33. ; CGI/FastCGI.* X  Y1 l1 s* J9 H4 n6 B& |+ ~, r
  34. ; http://php.net/ini.sections
    ! ?/ ~. x" x, C$ B% _( Q, B; t6 F
  35. ( |' G, T) c8 X% s
  36. ; Directives are specified using the following syntax:/ h, [; z6 y. m/ o3 s. J6 z
  37. ; directive = value
    6 ?9 _# s4 q3 h; }) Q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 w$ x0 q- [  V' v: P, T$ w6 B
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : \7 V  B& m  N* f& I
  40. ; There is no name validation.  If PHP can't find an expected
    ! s2 B' j* z# ~7 O: L7 r9 a
  41. ; directive because it is not set or is mistyped, a default value will be used., p8 c; V1 q7 n2 d$ w/ O: m! o. T3 V7 \& g
  42. 8 \! J+ f- n# x; }3 q# D2 ^
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one+ m2 {* I5 y6 }: U: o# L
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    . [/ |8 }! b# K8 B# G& w  y7 u1 o+ \
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a; A; j2 c7 L9 w! _2 }9 [! f) s
  46. ; previously set variable or directive (e.g. ${foo})& \8 s: u$ @# {6 d7 c; N# j  Z
  47. * G5 a5 z, m& D9 F; t
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:! d/ [7 v) H! w$ h4 Q. M
  49. ; |  bitwise OR, I4 H  U2 q& x  A; ~  _
  50. ; ^  bitwise XOR2 g) A1 S8 x/ E
  51. ; &  bitwise AND
    1 g: Q/ N- q. j/ `! Q
  52. ; ~  bitwise NOT8 Y' V5 P3 [* g7 n7 L3 a
  53. ; !  boolean NOT
    & G4 l- n0 Q4 W( q
  54. ' t2 i  [* E) ?6 L" K
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    + @2 V+ c" i1 D2 u" d, H
  56. ; They can be turned off using the values 0, Off, False or No.1 Z8 L- d0 W8 c; v
  57.   }4 D8 x6 l: [% u6 H! z- F
  58. ; An empty string can be denoted by simply not writing anything after the equal$ `0 i7 d- h- }  s( B
  59. ; sign, or by using the None keyword:
    ) ]6 T, O: @: m, x- P
  60. 0 `/ _5 ^  h, P! k
  61. ;  foo =         ; sets foo to an empty string; w# X9 ?, ^( e; i
  62. ;  foo = None    ; sets foo to an empty string4 @3 b9 u$ I% w% J! [8 L# Y
  63. ;  foo = "None"  ; sets foo to the string 'None') d9 c% \: t9 Y- K: L7 a5 ?) a" Q% n

  64. & q1 O% M0 E9 f& ~- r% |+ h
  65. ; If you use constants in your value, and these constants belong to a6 q  y9 j5 v- s  y2 s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 q; [: z4 f" u5 y0 h
  67. ; you may only use these constants *after* the line that loads the extension.
    ) Y0 X/ x% s% H5 G! ~
  68. ; d: _- t: b, Y
  69. ;;;;;;;;;;;;;;;;;;;) h" R4 `* W8 N' t, N' \/ S
  70. ; About this file ;5 N' s0 m' P* h( J
  71. ;;;;;;;;;;;;;;;;;;;
    " i/ D: p1 B4 p7 v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    , r9 S- z9 ?7 ^* D& k& n; k$ @
  73. ; in production environments and one that is recommended to be used in6 g  X2 e) R# s+ h, ]- a( K$ k, m
  74. ; development environments.* |) `8 @2 K" ]) D
  75. ! m$ F6 W' X! w- f3 L1 f2 C
  76. ; php.ini-production contains settings which hold security, performance and3 Y  [% X. C/ t9 L  o5 u
  77. ; best practices at its core. But please be aware, these settings may break
    : Z+ U% w) g' E, @# l
  78. ; compatibility with older or less security conscience applications. We7 F3 m4 U5 }) n8 r
  79. ; recommending using the production ini in production and testing environments.
    8 t6 M% g! F" ~8 m0 ?& }+ b

  80. ( m6 }3 P4 v: {1 e
  81. ; php.ini-development is very similar to its production variant, except it is
    ! k- x# Z* A$ s
  82. ; much more verbose when it comes to errors. We recommend using the
    ; u5 x. O3 K6 F# l6 }( {) K' K( x
  83. ; development version only in development environments, as errors shown to
      e6 _4 C' k& Y
  84. ; application users can inadvertently leak otherwise secure information.% l7 a# T6 K( B. j% I: ]

  85. + G7 |. L; ~8 C9 D* E/ n- m# m2 S- \3 o
  86. ; This is php.ini-production INI file.2 y( g- Q6 f; C

  87. 8 H# M7 g' H* o8 [& _5 p  \
  88. ;;;;;;;;;;;;;;;;;;;
    : @& e6 w$ C4 F" ?- T6 r# Z8 o
  89. ; Quick Reference ;
    , [* q0 Z, j$ V$ Z0 u0 D
  90. ;;;;;;;;;;;;;;;;;;;
    3 A/ P! s7 @$ h4 `
  91. ; The following are all the settings which are different in either the production
    . q2 g$ b* k/ u% _- b  i+ ~
  92. ; or development versions of the INIs with respect to PHP's default behavior.) O; r( V- e7 s
  93. ; Please see the actual settings later in the document for more details as to why8 w' y9 I$ z2 t6 d/ W5 }
  94. ; we recommend these changes in PHP's behavior.# X, h& ^( C) s9 o+ p4 l' N- S: d
  95. ; R5 K3 ]1 d0 I0 W/ `- O
  96. ; display_errors
    . }5 [: C  m( U' l) G; f
  97. ;   Default Value: On
    & v3 M# y2 v9 l, S: L
  98. ;   Development Value: On+ |8 n  ?; g: |6 I' C
  99. ;   Production Value: Off
    + _8 ?6 S- _: Y
  100. * h5 w; C4 q7 j8 w4 S" T8 H+ B
  101. ; display_startup_errors
    5 o9 S& {1 W, a& c$ D2 X! G1 L) p
  102. ;   Default Value: Off( ~9 |; A9 N3 Q9 x5 {' g1 \
  103. ;   Development Value: On6 l+ [9 Y4 w& X  o
  104. ;   Production Value: Off1 Y/ ^) }* [5 r' H0 t) N8 g' W4 ]
  105. , P2 C4 `: a2 E: k
  106. ; error_reporting
    7 S: C6 v4 h7 [, X. T6 F/ W7 ~
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ G2 p, p8 M8 ]( i+ m# U- K
  108. ;   Development Value: E_ALL
    + n/ K( m2 m/ J4 U4 \8 j- ^+ `9 ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 l2 x, p. ]- I5 V7 X6 o2 W

  110. . ~; f: Y" r' N$ f$ q( H
  111. ; html_errors0 N% Z6 i. d+ Z4 R
  112. ;   Default Value: On
    ! q; j( x2 y' w5 s: x2 |1 c
  113. ;   Development Value: On
    0 V, [4 q( y' x
  114. ;   Production value: On
    ! y! x) b: ], n3 y
  115. + J* l" x* I0 A# l9 H8 N* O
  116. ; log_errors
    ' |; S$ ~2 w6 d2 S5 H2 z
  117. ;   Default Value: Off
    4 U  G/ K: e% |, E3 ]5 R6 f/ l7 N
  118. ;   Development Value: On
    1 v+ ~9 r: x6 q  A; g1 `* X8 `
  119. ;   Production Value: On
    7 X( g; G6 Z# k( B% c

  120. , M: O$ Z$ ]1 u% i. [* h" x1 H
  121. ; max_input_time
    ; a$ ^; f9 @8 ?* l+ |" Q9 k
  122. ;   Default Value: -1 (Unlimited)
      |3 m6 M, W/ A( D
  123. ;   Development Value: 60 (60 seconds)
    ' ]& H: u0 y; v5 M
  124. ;   Production Value: 60 (60 seconds)
    1 @/ M  z5 i; ^1 n* Q* B0 w& L- j' J2 E
  125. " J0 M" z$ Z! e5 E
  126. ; output_buffering' u  ]5 c) n0 ?5 V; W1 w
  127. ;   Default Value: Off
    8 i! a( C' z) v
  128. ;   Development Value: 4096
    9 ~. @: X6 l7 J5 k3 T7 O& J9 H
  129. ;   Production Value: 4096
    * ?2 j6 L2 F3 i6 J0 U% |' F- q2 n. R
  130. 8 _) |2 o: q0 ~) c
  131. ; register_argc_argv: F, ^2 B; e' ~' I
  132. ;   Default Value: On
    ! @& g# l0 f1 P; N/ W4 k
  133. ;   Development Value: Off
    ! }4 c, P/ z0 N' P
  134. ;   Production Value: Off9 b2 a( O9 U) \/ y

  135. $ B* I) M( W0 m# R; \" c6 A8 {" l* E
  136. ; request_order: o( ^  O7 x3 t" k$ W  o4 `8 Z- u
  137. ;   Default Value: None
    4 h9 @9 D! j5 Y9 s9 o
  138. ;   Development Value: "GP"+ z- `; w9 n/ u2 H* j
  139. ;   Production Value: "GP"5 s4 D5 }* L! b; {2 u* G0 {1 p

  140. 6 L2 u% g. H' ^6 v
  141. ; session.gc_divisor) H- g( M5 c' z6 m+ i5 e7 I
  142. ;   Default Value: 100- G+ t0 T6 B+ I, P4 ~# k
  143. ;   Development Value: 1000
    3 {' k$ S" B% z7 {' J6 {* k: p
  144. ;   Production Value: 1000
    & U% k( Q# z1 L- \9 I$ K
  145. $ w: s+ B2 B% _/ \4 i) F
  146. ; session.hash_bits_per_character
    * |% r' {7 e" p/ U9 w. u! w
  147. ;   Default Value: 4
    4 z2 X6 X+ b. o
  148. ;   Development Value: 52 n9 [2 y) \. G
  149. ;   Production Value: 5) L- p  \. w# `. X" f6 C/ T

  150. & c% t7 K5 g: K0 u% Q; _: [
  151. ; short_open_tag7 j% {1 r" y+ J) j, L/ ]+ c0 m
  152. ;   Default Value: On
    , D* l4 H7 N9 W$ [% u2 R
  153. ;   Development Value: Off
    7 T$ z: ~4 G  P+ [8 q0 @) s3 x
  154. ;   Production Value: Off' ?* u$ K$ D* }

  155. , K3 s6 a9 F  y" T5 R& z. P, @+ E
  156. ; track_errors4 |  n5 u/ L) h* R& w
  157. ;   Default Value: Off3 }4 R, B+ z5 G$ a+ _6 I5 ^/ q  C1 {
  158. ;   Development Value: On3 m& s- n5 ]  e* D) r
  159. ;   Production Value: Off/ Z, b+ @0 ^  C* C6 e% |7 @" N+ e
  160. + o7 t  D' @# D- N/ E
  161. ; url_rewriter.tags
    - V' f( g/ X. g! M! P# o8 K
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( S! B% \' j! F* f
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 }8 f+ e! T6 |8 G  U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% C% r; l( o' q8 u

  165. 8 ]! k8 a0 H6 K) l
  166. ; variables_order) W4 U; o: Q2 Q) a  F
  167. ;   Default Value: "EGPCS"* g6 T* \$ j; N) I+ P. W0 S0 [: x, r4 |
  168. ;   Development Value: "GPCS"# P0 b3 L* N! G$ U* z$ D
  169. ;   Production Value: "GPCS"
    + X, v9 D% R" [" f- s

  170. $ M6 @6 g' M& K1 [% I
  171. ;;;;;;;;;;;;;;;;;;;;
    4 @2 @4 G5 N: e) F
  172. ; php.ini Options  ;
    ! R7 f; {0 J3 O
  173. ;;;;;;;;;;;;;;;;;;;;
    4 j- C6 I& _" {  \
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 `- j5 k) }# t8 K0 ~$ A8 b2 H
  175. ;user_ini.filename = ".user.ini"
    : ]5 u- o; [: o1 e8 z: o0 \. c
  176. / E/ B% G8 E8 |- k
  177. ; To disable this feature set this option to empty value, d0 }# M5 R0 }8 d" d8 M
  178. ;user_ini.filename =& d) \& ~9 S3 k0 }
  179. 9 r8 ]$ Y9 o7 C: X
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    9 e- N; S; c! B4 \/ H& M) F
  181. ;user_ini.cache_ttl = 300
    / B  t6 N8 z& Q; i; `, t5 Y

  182. 5 H7 D8 o" Q' q* x. w
  183. ;;;;;;;;;;;;;;;;;;;;; b+ h" q: k; ^! d$ j
  184. ; Language Options ;( O% m' [5 L+ N$ p4 U
  185. ;;;;;;;;;;;;;;;;;;;;
    ) S: K4 ], b8 O7 f1 b) E2 F

  186. * u) ~; e4 `# L& ^9 N
  187. ; Enable the PHP scripting language engine under Apache.
    1 q' `5 M' Y/ T; U3 `% D: L' c
  188. ; http://php.net/engine
    / x3 \* f  d; z7 C/ V. {
  189. engine = On
    4 m: Z* _. D3 [2 C; ^5 V! d) @0 h
  190. - H3 M7 f/ a' i* D/ Y: n+ n
  191. ; This directive determines whether or not PHP will recognize code between, n) n5 f  S- [# \( M7 j
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    6 f9 r8 b; q* B1 o7 |
  193. ; generally recommended that <?php and ?> should be used and that this feature, L3 I9 a( X, h% f- r7 B% P
  194. ; should be disabled, as enabling it may result in issues when generating XML
    + i3 R7 p" N* C1 H% ^
  195. ; documents, however this remains supported for backward compatibility reasons.7 U. B  `7 f+ Z. \, I/ `( J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 q) Q0 V* G' w; r5 E; G/ z
  197. ; used regardless of this directive.0 E" d9 w/ q% H* a
  198. ; Default Value: On
    - j" `, s7 }7 }' a1 K- `! K  G/ n
  199. ; Development Value: Off' p/ J! L3 |$ r; G  i! G7 _4 x
  200. ; Production Value: Off
    $ \1 i) I' E2 y# S6 ^" K) \1 e
  201. ; http://php.net/short-open-tag+ h; L. D' z6 L: B! l( ^# S, x
  202. short_open_tag = On" ^/ H" `: e5 d( n: ]3 d6 s

  203. : T% W1 S, p- b
  204. ; The number of significant digits displayed in floating point numbers.2 D' R. o, W8 @2 q' S  `
  205. ; http://php.net/precision
    - B* e$ F+ X9 F$ I: n% j
  206. precision = 14
    5 n' j4 O# [8 P* k  c+ T/ ]) P

  207. & [. N, Y- k7 E5 ]0 m0 V' }
  208. ; Output buffering is a mechanism for controlling how much output data: w- B% N# x0 U' M$ O- M- X8 w; f
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that0 _7 x, r. k$ k
  210. ; data to the client. If your application's output exceeds this setting, PHP
    * O7 ^2 f8 r' f/ j% t. D
  211. ; will send that data in chunks of roughly the size you specify.
    , J4 T, m' a* Z* H
  212. ; Turning on this setting and managing its maximum buffer size can yield some
      q6 L2 W' ~+ z  j# O: _0 H
  213. ; interesting side-effects depending on your application and web server.- ?$ O1 U6 R3 P  L6 x
  214. ; You may be able to send headers and cookies after you've already sent output9 z6 v7 d+ X$ V* `3 T( n
  215. ; through print or echo. You also may see performance benefits if your server is
    8 e7 Z! o5 u/ w, P* [5 ~# ?% P
  216. ; emitting less packets due to buffered output versus PHP streaming the output$ c% R' r9 Y2 X- W
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    . a' |7 {( I9 R0 Q
  218. ; reasons.% i9 v* C: X1 Z& E
  219. ; Note: Output buffering can also be controlled via Output Buffering Control' I" b% p, _$ ]7 q
  220. ;   functions.
    / W7 z) C9 ^: {% A) L
  221. ; Possible Values:# \/ T/ d. f* Z7 ]# d5 d
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 g9 e: J# _) m; C' L# \& v
  223. ;   Off = Disabled& S) @# O  V* n
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # \% L8 k1 L, d6 I; L0 i) [% k
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 z8 U+ Q, u: X) v
  226. ; Default Value: Off8 A3 l, c* D3 X9 J* Q
  227. ; Development Value: 4096
    9 V5 g2 k* m$ Y3 P9 ^: c; G
  228. ; Production Value: 40969 B9 l6 a, b" u, B6 Z
  229. ; http://php.net/output-buffering6 b# [- E- B; ~0 u4 j: H
  230. output_buffering = 40969 d. y: y2 q% n# {8 `

  231. , I. k8 c# g+ \  g' o; y
  232. ; You can redirect all of the output of your scripts to a function.  For) v+ l" r) f& f
  233. ; example, if you set output_handler to "mb_output_handler", character
    . S! ]) C. {  Q" g' Q
  234. ; encoding will be transparently converted to the specified encoding.2 ^! n, O8 l+ z
  235. ; Setting any output handler automatically turns on output buffering.
    * {- y' s. A% u7 P7 m1 T& ~: F/ h2 e, F* _
  236. ; Note: People who wrote portable scripts should not depend on this ini7 N$ y% |0 o7 }) c( w
  237. ;   directive. Instead, explicitly set the output handler using ob_start().4 t; }$ Z; L2 n/ {) G4 V% S  N3 a
  238. ;   Using this ini directive may cause problems unless you know what script
    & k; M, w" G+ Z$ k
  239. ;   is doing.
      x) Y9 p: P3 F; A* O
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 b5 X/ R5 Z) X8 Q( G# j
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".6 m$ X1 P, G, Y& e
  242. ; Note: output_handler must be empty if this is set 'On' !!!!5 D2 V5 `" f/ T4 X8 S# n% |+ {
  243. ;   Instead you must use zlib.output_handler.
    1 \# d" _: A4 i- a4 I7 q
  244. ; http://php.net/output-handler# L& k; h  X9 P1 T# F  B
  245. ;output_handler =2 t- ~2 e  d! T) i0 U8 b. j6 y
  246. 6 n% p3 ^8 Q, v. Z  X% O$ s. w0 v' Z
  247. ; Transparent output compression using the zlib library- s! s+ K. z& ?9 ]0 I4 s; `
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size/ G* h; h* X2 N
  249. ; to be used for compression (default is 4KB)
    , L  \9 Y0 y. K
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP0 j0 \" J7 _/ p# k! v, k* @- }8 {
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    0 U0 |2 K. ^/ @# j( D
  252. ;   compression. If you prefer a larger chunk size for better
    5 E' F. M# o' B! z
  253. ;   performance, enable output_buffering in addition.5 g2 a/ T$ z0 ~  `- p
  254. ; Note: You need to use zlib.output_handler instead of the standard, J& A& s! |  ]) l  q
  255. ;   output_handler, or otherwise the output will be corrupted.$ \; J0 F/ K2 O4 ]$ O! P3 V
  256. ; http://php.net/zlib.output-compression. _* k: C+ Y& o1 ^4 `8 l
  257. zlib.output_compression = Off
    2 u1 o5 K2 h4 j) k8 w( s. ?8 P" h

  258. 7 [& V- ]% {8 w
  259. ; http://php.net/zlib.output-compression-level/ J0 f3 c9 x6 h
  260. ;zlib.output_compression_level = -1
    $ U6 D- r6 w2 R
  261. ' k" F3 d; `6 O4 x6 c
  262. ; You cannot specify additional output handlers if zlib.output_compression8 \  A  F+ A( e( Y$ _- l; W
  263. ; is activated here. This setting does the same as output_handler but in
    . w6 t# H8 ?  v8 X$ g5 h
  264. ; a different order.
    9 b3 X# ~4 _* m/ G# }: y
  265. ; http://php.net/zlib.output-handler
    3 |# L8 z6 U) t* X; a
  266. ;zlib.output_handler =
    5 @' \* J- _  B& j$ a6 r6 l7 }
  267. + a- V- @0 @# J( B
  268. ; Implicit flush tells PHP to tell the output layer to flush itself8 {$ ^% y5 C3 g: {2 d
  269. ; automatically after every output block.  This is equivalent to calling the1 T* m# j% w5 k( d6 [9 v
  270. ; PHP function flush() after each and every call to print() or echo() and each
    . r0 I- [8 T' W1 T. Z
  271. ; and every HTML block.  Turning this option on has serious performance
    . z/ @' B6 i* p! Z
  272. ; implications and is generally recommended for debugging purposes only.; y! }) o$ n% a: s
  273. ; http://php.net/implicit-flush1 K& g2 k( ~( k+ h3 Y8 ~5 O: X
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 Z' ~; P: ?) j: P. F
  275. implicit_flush = Off
    0 e( H- T: C( N

  276. 3 R4 T( |) ~. t2 F7 U8 t* D7 U
  277. ; The unserialize callback function will be called (with the undefined class'
    # |0 i# j0 A; }( e+ d% s
  278. ; name as parameter), if the unserializer finds an undefined class
    : R5 ]1 F! z2 O+ `+ u4 L
  279. ; which should be instantiated. A warning appears if the specified function is
    # c: w5 m& @8 \, L4 C0 ?
  280. ; not defined, or if the function doesn't include/implement the missing class.% @' \3 \3 {1 e
  281. ; So only set this entry, if you really want to implement such a
    . {  J/ y8 y& Q
  282. ; callback-function.3 b& W8 O, R/ s8 N! u* |- U- n* |
  283. unserialize_callback_func =& P& ~+ F; f* P

  284. . n2 r1 L. y# ~4 J) I- l; N3 y! u
  285. ; When floats & doubles are serialized store serialize_precision significant0 \5 I4 F7 j* N/ G$ ^3 s# M
  286. ; digits after the floating point. The default value ensures that when floats
    + L3 N' n% _. J' B: ~
  287. ; are decoded with unserialize, the data will remain the same.
    5 Q- {9 w1 R0 s( x
  288. serialize_precision = 178 k* T  [( ?6 V, l
  289. * p  _8 z4 q0 E; f2 N3 o! T2 ]
  290. ; open_basedir, if set, limits all file operations to the defined directory
    : T' R. q# U$ s9 m; ]0 z# C/ l* t+ `
  291. ; and below.  This directive makes most sense if used in a per-directory; {5 Y# ~" r# {+ e4 f5 f9 e- {+ ~
  292. ; or per-virtualhost web server configuration file.
    " f8 [$ L0 r+ ^
  293. ; http://php.net/open-basedir
    . N& s! N( w1 u/ K% f
  294. ;open_basedir =
    + y9 T8 I7 x' A2 m4 Z- P

  295. 8 f, s1 K& H4 U; T
  296. ; This directive allows you to disable certain functions for security reasons.+ H* y% F! K6 s
  297. ; It receives a comma-delimited list of function names.
    6 Y2 F0 d" q, ]2 b' L2 U$ U2 {
  298. ; http://php.net/disable-functions
    ; d4 H( n8 F! [( Z# b  z3 u9 V
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! W. i. D. s! ]- z! u6 Q' |
  300. . S( t/ Y% |/ Z& J
  301. ; This directive allows you to disable certain classes for security reasons.% \8 S0 ?" s8 S2 k
  302. ; It receives a comma-delimited list of class names.  H) h! @  w/ _9 ^
  303. ; http://php.net/disable-classes6 Y3 D0 G& ~* k( E) I! D
  304. disable_classes =
    9 }  y  _* z3 Q- l2 [# r5 C

  305. 8 _8 c) S3 R6 ]9 A4 Q
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ) l8 n+ Z7 O$ s
  307. ; <span style="color: ???????"> would work.( U, R6 |' \* h9 T/ S/ G' {
  308. ; http://php.net/syntax-highlighting
    + q# k& @/ N, i) U3 Z/ p9 o# n8 q
  309. ;highlight.string  = #DD00002 _+ i% S- G- z
  310. ;highlight.comment = #FF9900
    : N' l4 I! _, @- `" _6 Q
  311. ;highlight.keyword = #007700
    8 x0 I3 V1 I2 F! Y3 X5 K0 _! q0 a4 f) [
  312. ;highlight.default = #0000BB9 @5 d- J, {1 \. \8 n/ h
  313. ;highlight.html    = #000000
    & ^  F0 }. p, L' N

  314. ) u- v& u  W/ |
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    2 p6 S/ f7 J& J- O. R- E# c* \" l
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ( p; G: s, F& D
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior* |. Q; E( p, l, C. |# W' R
  318. ; is to disable this feature.
    % x! S5 I; S" r! B" ~5 q
  319. ; http://php.net/ignore-user-abort
    . k7 K% u  d5 h
  320. ;ignore_user_abort = On% u0 o# _2 `" E$ C6 s
  321. % q5 y! }' V* A: b: \) C1 c
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    / w  J% n4 L9 S; c: G
  323. ; be increased on systems where PHP opens many files to reflect the quantity of9 [9 r* w5 l+ X& \4 R$ H7 S# W; l
  324. ; the file operations performed.
    " b  S3 w/ n4 Z
  325. ; http://php.net/realpath-cache-size
    ) \9 R) o+ B" a% _; b$ i8 N  c
  326. ;realpath_cache_size = 4096k
    9 @; U& f( E1 P9 w

  327. $ ^: Z. T+ w8 E+ t) v! s7 V( A
  328. ; Duration of time, in seconds for which to cache realpath information for a given9 M; j9 e. i8 x3 K  D
  329. ; file or directory. For systems with rarely changing files, consider increasing this  B: d$ |- w7 a! ^4 h% i2 O2 B
  330. ; value.5 ?- O0 i$ Q0 r( H5 b6 x9 l( b
  331. ; http://php.net/realpath-cache-ttl, E: Q0 u6 j8 S
  332. ;realpath_cache_ttl = 120
    + G$ |" f2 }9 ]+ v" b

  333. ! h4 q6 H) M! ~: t, \+ x2 _, @
  334. ; Enables or disables the circular reference collector.- p7 N5 G- u! t9 [
  335. ; http://php.net/zend.enable-gc- z' i" S, H/ v) D) |/ i
  336. zend.enable_gc = On
    ' `" W6 |8 |% g: ]9 u
  337. # l& W1 v6 V1 z0 h: n) Z
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ) Z3 C5 K; S0 c1 r
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    4 l2 s+ d: d5 s- R  x
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    * X) H: \" M7 Z9 c
  341. ; Default: Off, ]: {+ M( i( R8 I+ U1 p
  342. ;zend.multibyte = Off8 ]- B, [0 f& W

  343. - t6 \4 L' `) O; c
  344. ; Allows to set the default encoding for the scripts.  This value will be used4 m+ q4 I5 V6 \# G
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
      ?' o7 P" `7 m# q& {$ H. B
  346. ; Only affects if zend.multibyte is set.
    3 B  u* G: o. I7 }. L
  347. ; Default: ""4 \' t* w% J8 P% A8 y5 V8 [( J
  348. ;zend.script_encoding =
    ! z- j3 [( ^, W4 L- o0 A  @
  349. 6 ?6 c1 Y$ o5 [/ X2 H
  350. ;;;;;;;;;;;;;;;;;0 W, S9 R3 m! F2 H& ^
  351. ; Miscellaneous ;/ r/ j* r6 `/ x& ]
  352. ;;;;;;;;;;;;;;;;;0 o  j2 ~% o9 L0 {* b
  353. : A4 i8 C, B$ {5 y+ N4 ~/ Y
  354. ; Decides whether PHP may expose the fact that it is installed on the server. O2 C- |7 }) o+ Q/ Z0 H
  355. ; (e.g. by adding its signature to the Web server header).  It is no security- H( ]1 O/ x$ l7 a) J: r; r7 @! n% Z! k
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    7 y) |  {8 Y1 }- }+ Y$ l
  357. ; on your server or not.  i' H! W& \6 H
  358. ; http://php.net/expose-php# k# A. f. M7 ?6 L0 ^6 T% l' L
  359. expose_php = On
    1 q5 y% k% t% F1 y% y

  360. ! @' h9 [2 ~3 _# B; U2 c3 x4 D/ L
  361. ;;;;;;;;;;;;;;;;;;;, u* j  l5 o4 [" W9 o. u$ u
  362. ; Resource Limits ;& {: W6 l9 ]4 t
  363. ;;;;;;;;;;;;;;;;;;;
    ' c' |* n7 r  x, r! l
  364. & h+ T& u; N/ y5 A. S
  365. ; Maximum execution time of each script, in seconds
    & Y+ O7 f: Z- ?: h& g- \6 E# d( K
  366. ; http://php.net/max-execution-time+ J- y  e" ^9 \: w
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    2 F; U7 R1 C. L- Y
  368. max_execution_time = 300
    ) S- [, H" y% Z; B! X8 @

  369. ) m/ f, _: F0 @- E& k$ N8 J
  370. ; Maximum amount of time each script may spend parsing request data. It's a good9 C' M: \( M# z( w9 \! b' ?
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , @6 O/ i8 d- f0 w" W% R/ [
  372. ; long running scripts.
    6 u1 c5 _8 K6 m/ f5 t' E4 |4 n
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI! s5 X& l2 H( R. D# E) ]: \  r
  374. ; Default Value: -1 (Unlimited)
    2 I# K/ `9 @/ ]7 u/ R: ]3 a
  375. ; Development Value: 60 (60 seconds)9 L6 j3 V2 T0 _) ]# y
  376. ; Production Value: 60 (60 seconds)
    ; [" g" [% W7 N/ @
  377. ; http://php.net/max-input-time6 G! k6 I1 u& g* n) X% y" \' o! |; j
  378. max_input_time = 606 ]! F; ~* [; k( x& K# M% P6 G

  379. 7 [/ B, M. [6 t9 p' p* W3 K3 t
  380. ; Maximum input variable nesting level
    / w% P- P1 h# ?. ~- M, l
  381. ; http://php.net/max-input-nesting-level
    , z4 ~5 X6 W# }& B6 c5 o
  382. ;max_input_nesting_level = 64$ c% D3 U9 [0 `$ `% a8 M

  383. 5 D  V: d! }) }
  384. ; How many GET/POST/COOKIE input variables may be accepted% L2 `6 T! w- [7 j4 X! \2 i
  385. ; max_input_vars = 10009 A. b+ f0 k  x$ R5 v9 p- u
  386. 3 E9 L% M' s5 g3 z/ I- w
  387. ; Maximum amount of memory a script may consume (128MB)1 W, [3 W; q( ~- y) k+ ?+ K
  388. ; http://php.net/memory-limit
    * W% b% A4 g' [* w; o2 K
  389. memory_limit = 128M0 B: i! o, ?$ C) b% d# l8 F
  390. + w0 w8 ~; l1 W% ^5 N
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ r0 v6 e7 j+ C
  392. ; Error handling and logging ;
    9 s3 v& c* `$ q- J! X0 R+ k# K
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + n0 l: u* D' e; n9 q
  394. % u7 H. h; X  C$ h$ K2 I
  395. ; This directive informs PHP of which errors, warnings and notices you would like) M, Z  C7 }2 a% W
  396. ; it to take action for. The recommended way of setting values for this
    1 x* f! k: ~1 j- P* S" b4 H
  397. ; directive is through the use of the error level constants and bitwise
    $ W  b* s8 ]2 n' X% H7 o
  398. ; operators. The error level constants are below here for convenience as well as
    / u4 J$ _% \+ x' H5 x
  399. ; some common settings and their meanings.
    ) c' C8 d8 G8 N+ Z5 Z
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    / j* [$ J0 X' Y/ Q6 Y, x6 h- X
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    % ^2 c9 O& _* m) H4 ~
  402. ; recommended coding standards in PHP. For performance reasons, this is the& T* V) }0 i7 A( ?5 `0 O# S
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    1 f' K( ~, X: a* u7 O6 J
  404. ; resources complaining about best practices and coding standards. That's what
    . v: R+ k# J3 Q+ a  }* c) N
  405. ; development servers and development settings are for.. R  A8 }1 E* m+ |1 y
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    # V( g2 L$ I# ?: u$ q
  407. ; means it pretty much reports everything which is exactly what you want during
    & G& E. p2 Q; a# R0 S
  408. ; development and early testing.
    9 I- X- E8 z0 S+ |. w
  409. ;
    % c! A: N' @6 \9 U
  410. ; Error Level Constants:3 a  w! B/ p5 s1 ^4 J/ |. L
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    3 K1 p/ }5 K/ Q* G
  412. ; E_ERROR           - fatal run-time errors' B' c6 D' Z7 l# I
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    9 h* n  B6 W7 q  W2 I: [' c% @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)* O- L# p1 _9 l7 ?' o0 t; M8 z& }
  415. ; E_PARSE           - compile-time parse errors- {* z8 r) g7 u6 M' K  e2 V
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    % X+ n  g' j! D; q3 }  `2 `
  417. ;                     from a bug in your code, but it's possible that it was5 l3 }4 @& @9 f! w4 G: k$ b, I
  418. ;                     intentional (e.g., using an uninitialized variable and
    7 ~" ?) y8 D' B  ~- w
  419. ;                     relying on the fact it is automatically initialized to an5 o3 n' I7 G3 U+ E# J! s
  420. ;                     empty string)& B# e+ A. T) T$ M
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes5 Y0 p% Z0 k6 l0 H! L% Y
  422. ;                     to your code which will ensure the best interoperability( v9 E  R" d! K! y
  423. ;                     and forward compatibility of your code
    % c* C) x9 m4 {5 _; X' W
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. U: @# z) H: r( V, G0 S
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    3 ], H% d( v& v0 [5 A6 T: \
  426. ;                     initial startup% C) O# I3 a1 A$ {0 x& i  l
  427. ; E_COMPILE_ERROR   - fatal compile-time errors; m. |$ S$ E/ D& Y
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      `- r1 s+ c* \, O. {
  429. ; E_USER_ERROR      - user-generated error message% w3 r- b: m9 r7 t
  430. ; E_USER_WARNING    - user-generated warning message9 Q2 _( a" p% r, R7 t% l" W* s
  431. ; E_USER_NOTICE     - user-generated notice message7 H. Z4 w. c+ U* v8 B
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    . d* l+ s. K+ h6 p! P
  433. ;                     of PHP  v. a* Q  w9 J- k& {- E) y$ i
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings0 L7 H8 m/ B* t7 h) P  @
  435. ;5 v! ~1 O; S3 H
  436. ; Common Values:. p( Q$ h; u4 j5 F9 Y: z+ I
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)- a! y# \: K& @, p; `: g
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . W8 v2 F& y0 `% b0 W
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    3 m) D# T# O5 ]8 C+ a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)4 w1 M; q! b' R3 b, k+ B# X
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / L& t: h" O& \4 \+ `; o3 ]1 z
  442. ; Development Value: E_ALL' C, |" h2 r! y% ]& {7 n
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % e0 F3 L& J2 ?% ]+ V' C; z
  444. ; http://php.net/error-reporting/ ]8 O% B; X7 Y
  445. error_reporting = E_ALL & ~E_NOTICE3 P; U1 _! a4 v! e" ]' L6 Q: y: h

  446. / [  f/ M7 J. c. t
  447. ; This directive controls whether or not and where PHP will output errors,: q" \6 A; A9 y! d
  448. ; notices and warnings too. Error output is very useful during development, but6 J2 R  f$ N; w1 y
  449. ; it could be very dangerous in production environments. Depending on the code
    ( x- a8 l) Q9 q; ]( K9 Q8 p
  450. ; which is triggering the error, sensitive information could potentially leak
    # d) m; \1 T/ ]/ S7 T* |
  451. ; out of your application such as database usernames and passwords or worse.
    $ ^+ `2 i) J! V6 C2 \6 C( K9 X0 B
  452. ; For production environments, we recommend logging errors rather than
    , f& f3 v+ U6 t
  453. ; sending them to STDOUT.
    3 C! i6 w$ G0 p8 g% f
  454. ; Possible Values:4 J+ x# e1 V3 \# `6 r( Z+ r
  455. ;   Off = Do not display any errors' g8 f. B& h; T' W2 w
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    " m' l. X: \0 d+ T7 h$ i
  457. ;   On or stdout = Display errors to STDOUT  p% l0 b* T3 S; d* n4 ~
  458. ; Default Value: On
    9 S& w9 s* I& O7 |+ M6 D$ C
  459. ; Development Value: On* V' y% \, \- X% r0 O6 X8 V6 f
  460. ; Production Value: Off. u. @& K! U9 ^( U3 `
  461. ; http://php.net/display-errors5 w2 h) r# f2 ~3 I/ @' y2 Z  u5 o
  462. display_errors = On
    : e) d; T' W7 s( d7 l
  463. 6 S8 o) `) @, r& f
  464. ; The display of errors which occur during PHP's startup sequence are handled# X9 x+ K  `* p/ ]4 o
  465. ; separately from display_errors. PHP's default behavior is to suppress those) x# P% j8 p/ Q3 C
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    7 Y& C, S6 Y% Q/ z
  467. ; debugging configuration problems. We strongly recommend you" ?3 J  b) J0 t. Y
  468. ; set this to 'off' for production servers.) w) c* R5 W! B8 U! o
  469. ; Default Value: Off. W8 ]: S- z2 q, g. W  r+ y
  470. ; Development Value: On* X$ K0 O6 [/ j; |. d
  471. ; Production Value: Off# \6 L+ {; n! o( w7 Y- ~9 l: ]
  472. ; http://php.net/display-startup-errors
    # Y7 D5 G8 J. E- X: I
  473. display_startup_errors = Off  k" U' u5 G0 E# E9 U
  474. 3 B+ X) r$ Z5 v
  475. ; Besides displaying errors, PHP can also log errors to locations such as a  l1 p, ^2 l4 U( t6 k- i' T2 B
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ \5 V3 \, ^7 q7 f& _
  477. ; directive found below. While errors should not be displayed on productions
    ) E% h! D7 m4 f* h$ j! @& m7 y
  478. ; servers they should still be monitored and logging is a great way to do that.
    ' [3 W1 Q* V/ W9 j$ a0 k
  479. ; Default Value: Off# S; B, B; u% o6 B! x' v
  480. ; Development Value: On
    7 C1 O5 {; `2 R, n
  481. ; Production Value: On5 B& I% \! {5 L2 f9 {
  482. ; http://php.net/log-errors
    % t7 h8 D; @8 M! \
  483. log_errors = On. ~& ?& j& [0 F/ {0 I) H7 D

  484. * L) o3 g5 z* ^  K
  485. ; Set maximum length of log_errors. In error_log information about the source is+ g, c- M1 b4 h+ W! k$ C- O
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ; L" t3 }# _: r; F
  487. ; http://php.net/log-errors-max-len7 x+ J3 G; Y) W! u
  488. log_errors_max_len = 1024
    % f- D" ~8 `% f6 x; u8 ^

  489. 8 W9 q" i& y; V- x
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same* ]1 u# F3 R5 o, ?/ M) g+ b# Z
  491. ; line unless ignore_repeated_source is set true.
      n! K% i+ o# l( w
  492. ; http://php.net/ignore-repeated-errors9 m5 [0 H& z1 y
  493. ignore_repeated_errors = Off
    - S# I" V' L; a( l

  494. ! N, U4 A  y; s  W8 W% [
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    2 m5 u2 M. h( z, U7 C6 ?/ ~
  496. ; is On you will not log errors with repeated messages from different files or
    3 d* T4 e4 `/ Q
  497. ; source lines.- J! r# m) W' |* G) t4 c3 v/ d
  498. ; http://php.net/ignore-repeated-source
    , n3 v( D  M5 O5 z6 a" B
  499. ignore_repeated_source = Off) B1 z" g. v, B: `
  500. 1 r1 A. N* d5 Y, F' A" v" }9 }3 G
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on. F/ T2 V/ z/ h5 Q" S
  502. ; stdout or in the log). This has only effect in a debug compile, and if) p3 b$ o; X* ~; V# l" o/ K
  503. ; error reporting includes E_WARNING in the allowed list
    3 o: i' @0 L4 r' P0 z* t1 ?7 ~
  504. ; http://php.net/report-memleaks
    # y; N  h6 U. E" ?* I7 H2 d* Y% c5 ~' t
  505. report_memleaks = On
    . Y7 g! G6 q" ~4 x" v

  506. * T. @" j; D3 H4 [
  507. ; This setting is on by default.6 s5 h& v. w( ^5 ]% a2 z( T
  508. ;report_zend_debug = 0
    5 q0 l) e( V% J- t- R

  509. 4 T( ]: L9 G* h' \) Y+ d- [
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    % a8 e/ X" ]- G5 h4 m4 D  ]
  511. ; to On can assist in debugging and is appropriate for development servers. It should2 i  ]1 E3 \6 R9 j
  512. ; however be disabled on production servers.
    5 L& }3 v% O+ r1 A8 f. ?
  513. ; Default Value: Off
    , G5 \. ?: b2 m
  514. ; Development Value: On
    2 J; V$ Z: m! X+ w( z( E
  515. ; Production Value: Off
    4 q8 k9 `" t- c, V' p9 F
  516. ; http://php.net/track-errors" p: V  [* O; ~( a! ~) s6 y$ Q
  517. track_errors = Off3 |, s. U$ a1 T0 J. a
  518. 7 x+ x9 }+ ]3 H1 b" ~
  519. ; Turn off normal error reporting and emit XML-RPC error XML' s9 ]# t9 J/ u5 y
  520. ; http://php.net/xmlrpc-errors
      q% |0 _" G0 v5 B! s) b
  521. ;xmlrpc_errors = 0
    ' E: c6 Q! z- k' f  X& v0 P# @. O3 c  [5 p

  522. 2 c$ f4 [- |1 i
  523. ; An XML-RPC faultCode
    $ s& \. G9 K9 w6 |( j# g
  524. ;xmlrpc_error_number = 0
    7 M' ~& o" S/ P: [" u9 [( E0 I
  525. 6 J( \) Z. i/ \' l2 N6 F# d" _. u
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    9 K5 W% P2 d7 _4 f% }
  527. ; error message as HTML for easier reading. This directive controls whether0 }6 b: G& ^) O! D+ b
  528. ; the error message is formatted as HTML or not.
    ( ]9 F8 ~2 ]  K, ^) \. K
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI' N$ K/ ]7 W3 `' b0 j* g, X% i# ?; V9 w
  530. ; Default Value: On
    : I. s) h4 M, B& S7 Z, |% E
  531. ; Development Value: On8 ^& j3 `# y: N3 @$ \; E! t
  532. ; Production value: On  P! y" e. d6 G7 ~0 E# j! W% C: w
  533. ; http://php.net/html-errors
    ! j8 N" D. D* n8 A1 r
  534. html_errors = On, m4 a; f) x4 U
  535. : F9 |; P6 K# E6 W1 `
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP6 V& ]  G6 z" u# k- J, p
  537. ; produces clickable error messages that direct to a page describing the error- |3 d0 Y/ x- V$ a
  538. ; or function causing the error in detail." N3 {3 y  E( N- L5 r) u, l% I6 F- M9 [( n
  539. ; You can download a copy of the PHP manual from http://php.net/docs- X; Q" V' D4 Y
  540. ; and change docref_root to the base URL of your local copy including the( ~: ^5 {9 b9 O/ `6 d$ A
  541. ; leading '/'. You must also specify the file extension being used including
    . _/ }7 [7 B9 Q: ^
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ( C. W. T4 j* d5 p8 o' j% J
  543. ; case no links to documentation are generated.
    8 r& L, t; f, W5 O/ W
  544. ; Note: Never use this feature for production boxes.8 _3 q7 G; E# `8 `! q$ G
  545. ; http://php.net/docref-root9 D9 t3 V3 P9 E
  546. ; Examples
    + g; w) I+ J2 [- E' x" a4 ^& i+ r+ s
  547. ;docref_root = "/phpmanual/"4 D8 e! E9 h4 a% t
  548. 9 B. ~( b8 a4 X/ R9 F
  549. ; http://php.net/docref-ext
    % |/ Z- Q. n% G" U# a
  550. ;docref_ext = .html
    9 }! A; g- \7 D9 L  s5 T% T: k) o

  551. 3 G, U' h$ K9 h+ s/ M0 W
  552. ; String to output before an error message. PHP's default behavior is to leave
    " ]0 F5 `% X" F% X4 L1 B+ c
  553. ; this setting blank.
    6 J, D2 s' J9 K: R$ [+ f) n' d
  554. ; http://php.net/error-prepend-string" y/ b( k9 p$ I4 R- |5 G! R
  555. ; Example:4 P6 [9 U1 H+ V/ d% s" H- H
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    . H: f: X: P& p1 K# @! z

  557. . U% F% i# J' t8 u* }* D& O
  558. ; String to output after an error message. PHP's default behavior is to leave
      G$ [; o9 f6 x" k
  559. ; this setting blank./ g5 J0 e9 y: \$ _
  560. ; http://php.net/error-append-string
    " l8 z4 C  d; o' W1 w& ]' e9 ^+ L
  561. ; Example:; {  J4 j, m9 o- o( ]" u
  562. ;error_append_string = "</span>"
    # q. `$ ?/ M7 C. r# Q* Q: f

  563. ' L3 E) B' p9 W: V, ~* n
  564. ; Log errors to specified file. PHP's default behavior is to leave this value( o& q0 V2 Z3 n" d8 N
  565. ; empty.
    $ L* e  V, a: J$ S1 d- g$ e
  566. ; http://php.net/error-log
    % V) G0 l5 ]7 P6 Z
  567. ; Example:
      h8 T/ D& u5 X2 L; {
  568. ;error_log = php_errors.log# x2 s6 E) F4 t6 z
  569. ; Log errors to syslog (Event Log on Windows).9 @5 ]$ O+ S# Z8 W& ~
  570. ;error_log = syslog
    & g( }8 I, L+ Z$ L5 D0 D& I% g) }1 F

  571. 6 D, u5 p; \0 l
  572. ;windows.show_crt_warning$ Y- t! p  a& ]1 d8 x! K# i
  573. ; Default value: 0: N; y( j8 A' m4 H# E3 M. T- q
  574. ; Development value: 0# v7 a& ]; n* L: X0 M* r) X- O8 o
  575. ; Production value: 0
    ' V9 s' Y9 I$ A$ c" {" P5 p

  576. ! l8 N- n/ Z) N- q3 d
  577. ;;;;;;;;;;;;;;;;;
    ! i% P' p! }2 X+ O
  578. ; Data Handling ;2 e$ L  {2 Y4 X- p
  579. ;;;;;;;;;;;;;;;;;
    : J$ G8 U+ h  R# `5 h) L
  580. , K" |* j7 K1 p& `: q
  581. ; The separator used in PHP generated URLs to separate arguments." _2 E6 ~) j' Y
  582. ; PHP's default setting is "&".
    6 E% }7 U2 S6 ?6 _$ s: q( u
  583. ; http://php.net/arg-separator.output
    3 x9 {: Q1 ^4 Q9 t' ]' V8 y) {
  584. ; Example:
    5 O0 }* Y7 m. b# V! m
  585. ;arg_separator.output = "&"
    - h% x# Z/ S" X/ n+ Z0 A- x9 \' Y' O6 Q5 t
  586. & L% W2 `; ^) X
  587. ; List of separator(s) used by PHP to parse input URLs into variables.4 a8 Z! h$ l  \
  588. ; PHP's default setting is "&".
    $ u, O) A6 F& J1 W" r8 u
  589. ; NOTE: Every character in this directive is considered as separator!
    . p6 C, s# y; c# `; ^5 Q+ P0 {
  590. ; http://php.net/arg-separator.input
    : c: U; H/ ]" g: k/ u) ]( [" u5 V( J
  591. ; Example:' f8 k- W+ m' f2 v
  592. ;arg_separator.input = ";&"
    % V7 v0 x; Q6 q9 F/ Y
  593. - Z' b: [$ ]8 M; v9 a
  594. ; This directive determines which super global arrays are registered when PHP& q( f$ O* V# V- P7 |
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super- N9 T' `) ?& ]
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    % v7 V( v: R8 ~6 d2 S9 {
  597. ; paid for the registration of these arrays and because ENV is not as commonly
      d7 E8 V$ F' U, T6 ^
  598. ; used as the others, ENV is not recommended on productions servers. You
    ) H" N; v7 S5 H6 k% n8 ]
  599. ; can still get access to the environment variables through getenv() should you
    ' H$ t" `8 k0 [* S9 N9 {  d8 ]; u
  600. ; need to.
    8 R# O9 E5 C$ Q3 B7 f" O  }
  601. ; Default Value: "EGPCS"
    5 x5 T0 r+ Q( ?8 a/ W
  602. ; Development Value: "GPCS"
    8 A* z, H; Q, b7 N5 Y
  603. ; Production Value: "GPCS";
    ' T; {) ^& `" V2 W
  604. ; http://php.net/variables-order
    6 k- U- @* L: ?7 B, h6 \
  605. variables_order = "GPCS"
    1 X& o2 Q7 |. a4 V) j5 V) T; A( F
  606. / H+ N( E' l! m7 J" h
  607. ; This directive determines which super global data (G,P & C) should be
    6 `9 K8 c5 v; V
  608. ; registered into the super global array REQUEST. If so, it also determines
    0 x2 }0 k2 y: _5 a( S) Z3 G  W
  609. ; the order in which that data is registered. The values for this directive. j; U) o: t. v# X( Z
  610. ; are specified in the same manner as the variables_order directive,
    # H' l5 o5 ]. p1 {; x
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    3 p( _) o# q+ B4 k% K+ {
  612. ; in the variables_order directive. It does not mean it will leave the super" g% ~$ y2 D. m# z0 Y! e
  613. ; globals array REQUEST empty.$ }4 r: k) G1 ^+ C. D' T
  614. ; Default Value: None
    ( Z1 K# G7 @( W3 P: D4 b3 p
  615. ; Development Value: "GP"& j6 ~. D. F3 n& d2 u
  616. ; Production Value: "GP"
    5 F) r9 c3 }2 F
  617. ; http://php.net/request-order) \- w" M& u/ u" J+ J
  618. request_order = "GP"
    , H6 S6 w3 E" c
  619. $ R+ e) {5 S! C" f0 F
  620. ; This directive determines whether PHP registers $argv & $argc each time it7 s8 a  b4 L% y" f
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    $ o. o4 g( J! k) F7 a3 a
  622. ; is invoked. $argc contains an integer representing the number of arguments5 M: t) ?' Z( D  ]2 s0 s
  623. ; that were passed when the script was invoked. These arrays are extremely, [; I# J4 ]$ {2 f
  624. ; useful when running scripts from the command line. When this directive is
    & o( Y1 B+ Z. n0 I. o
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ) n1 f: b6 |6 K" D. D
  626. ; a script is executed. For performance reasons, this feature should be disabled
    2 c5 Z  Z* }1 Y0 @  S, ^
  627. ; on production servers.: Z7 r4 _0 l- X, I& S: ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    , \! q* N/ k! P' T+ A, Y/ c
  629. ; Default Value: On/ |; m* m* A: A
  630. ; Development Value: Off: m9 W, W/ m' ]- R" p
  631. ; Production Value: Off
    # W1 \" a# Q4 Z2 F! {
  632. ; http://php.net/register-argc-argv
    " b" [* p) s1 Q# A7 }+ y4 q. S5 j
  633. register_argc_argv = Off
    3 R' x6 o! x6 o; ?- ~. w
  634. 0 p; M* @# b! n3 g
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're* b$ K! M6 t$ d
  636. ; first used (Just In Time) instead of when the script starts. If these
    0 L% ]5 R" m+ u( f, d' n) N* t
  637. ; variables are not used within a script, having this directive on will result2 q1 ~% F6 s% {% p* H* e7 y
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled0 ^9 _# Y  B& O/ @  u
  639. ; for this directive to have any affect.
    * c6 y4 s8 r: k; s
  640. ; http://php.net/auto-globals-jit& G8 w* E8 {5 d0 O& _% \
  641. auto_globals_jit = On% O* W& G6 ^2 X) [1 o  I5 h/ b

  642. $ ~0 B; o5 ~6 h6 B, h; B2 D$ @2 D  G
  643. ; Whether PHP will read the POST data.
    ) b( \) J% S0 f6 o2 P( B( D
  644. ; This option is enabled by default.
    + J. u( P7 \" a6 k+ }3 H  D
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      f1 J2 \! |0 H3 `( R
  646. ; and $_FILES to always be empty; the only way you will be able to read the& |; c) u! f+ ]; s
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ' m. O) E4 o( m; i1 M/ r0 g: H/ E
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.! Q! J( f+ W( {3 p# o8 o" w
  649. ; http://php.net/enable-post-data-reading
    0 U# T6 ?: R& k7 n5 {; ]
  650. ;enable_post_data_reading = Off: v& R' o' q, ]( n9 q# N/ ~$ }

  651. # X& x/ \& M6 i/ G
  652. ; Maximum size of POST data that PHP will accept." n0 ~0 b" E0 M) _8 y
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% v0 s( G# o% L
  654. ; is disabled through enable_post_data_reading.
    8 e/ Z1 v6 k5 Z( ?% B+ l
  655. ; http://php.net/post-max-size
    : g* ^/ v: l6 f! e6 l5 _% d! b
  656. post_max_size = 50M
    - u2 d0 M* ~8 c# m" M
  657. " \/ |1 e# w2 G
  658. ; Automatically add files before PHP document.
    ! z0 E0 i) `0 i- F
  659. ; http://php.net/auto-prepend-file
    6 s) }/ a$ f% h; @! [  E9 t" G5 j
  660. auto_prepend_file =
    $ H! W: \6 A; S8 ^  c" O/ v
  661. 8 P$ ?& L/ n# f+ P& k; \+ v
  662. ; Automatically add files after PHP document.
    / F. o7 F) q& A6 t8 L
  663. ; http://php.net/auto-append-file, K4 Y! o0 ^' T3 T/ k
  664. auto_append_file =! g) P$ u7 ?" @- g* y! g) C

  665. 4 J  T* _7 ^' W. n3 b
  666. ; By default, PHP will output a media type using the Content-Type header. To6 f; L* Y3 l- X3 x
  667. ; disable this, simply set it to be empty.
    ' {. T: R$ w! j% W6 a
  668. ;5 ?& p: f* n: a- b+ `
  669. ; PHP's built-in default media type is set to text/html.
    % G0 _; u$ v: w3 F  O
  670. ; http://php.net/default-mimetype
    % \, @7 {  }- z4 a& q
  671. default_mimetype = "text/html"# Z7 p' e: P* Z2 c
  672. " a+ c  A7 }+ {0 `5 O, e
  673. ; PHP's default character set is set to UTF-8.7 v: q9 _! F9 w% K/ }6 l
  674. ; http://php.net/default-charset1 ~( @& e9 L  F  S
  675. default_charset = "UTF-8"* a. Y& \2 s2 n  s* ]7 q

  676. 8 w- a( n$ t# l$ R$ ~
  677. ; PHP internal character encoding is set to empty.$ G( e* {. R( C$ M0 \! D
  678. ; If empty, default_charset is used.
    $ Q! P+ E1 }# L) s: b% r
  679. ; http://php.net/internal-encoding
    1 I' a& L; ^- G2 }
  680. ;internal_encoding =
    . ^# }( z2 P# q. r8 T6 l2 @! W
  681. 1 {5 p7 r: b/ V9 x8 D
  682. ; PHP input character encoding is set to empty.
    , b: i; f2 P$ J$ @  X( f. P( V+ o
  683. ; If empty, default_charset is used.
    % ^. I' y6 ]6 J- L
  684. ; http://php.net/input-encoding9 b; V$ c* d" N/ I: D- D
  685. ;input_encoding =5 h1 |* Z' K) H: V
  686. % Q5 n- w: V& U! e: |
  687. ; PHP output character encoding is set to empty.
    & \" K! @. L& K( Y, t) W
  688. ; If empty, default_charset is used.
    # Z* k! a7 {4 c2 O! v- B7 h
  689. ; See also output_buffer.2 a: c- m" V# [, f& c
  690. ; http://php.net/output-encoding: l+ j( C+ A! r: G2 ^; F' n
  691. ;output_encoding =
    + e  C% B0 [* [5 v# d

  692. 3 R+ n' q7 G$ l* r
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;6 i3 [, e/ w" k1 E8 i( x
  694. ; Paths and Directories ;
    3 B% T* ~( t2 U1 `+ }( q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 @4 l: o2 }4 m4 Z4 a& u7 f- l% p2 z

  696. + s4 d0 H9 G8 f
  697. ; UNIX: "/path1:/path2"; p3 ~$ m9 @* `. ^* l* Q
  698. ;include_path = ".:/php/includes"7 p4 C+ S. I+ ~9 Q
  699. ;
    . r8 b7 c! H8 p  X) p
  700. ; Windows: "\path1;\path2"9 H* s$ s9 R& S
  701. ;include_path = ".;c:\php\includes", b  d/ W! j* L* I4 V2 @* d
  702. ;
    ) F8 a- ]7 q0 |2 }6 V$ P' @
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"9 W/ f3 k! }+ a' h5 y5 \3 n" J
  704. ; http://php.net/include-path
    4 j# @& {1 k+ i/ ?8 [
  705. 8 ~; @% z4 W5 F
  706. ; The root of the PHP pages, used only if nonempty.% X; i* ^# u  s; a
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    $ @- v/ [4 N" C' E
  708. ; if you are running php as a CGI under any web server (other than IIS)/ I3 H/ A0 I5 |+ ?! Y4 o
  709. ; see documentation for security issues.  The alternate is to use the* y( l* w. ?8 D9 a: G/ X
  710. ; cgi.force_redirect configuration below) z, i$ x+ z1 _9 O$ c4 V
  711. ; http://php.net/doc-root
    1 {# R+ k8 f" v. p4 T5 K
  712. doc_root =* m" f8 |, L5 {; K+ _

  713. 5 h- n& g9 @  Y# ?& L
  714. ; The directory under which PHP opens the script using /~username used only
    $ s0 F& n# q$ Q, D: |/ \: z& d
  715. ; if nonempty.9 w. [# j* @5 @/ i( F/ |- R
  716. ; http://php.net/user-dir
      P5 b# F4 ~+ @( i
  717. user_dir =4 q# H9 H. Q1 W8 D, @. z
  718. . L4 I  ]$ W( A. t6 ]
  719. ; Directory in which the loadable extensions (modules) reside.
    $ _3 L! ~6 I% Q  I; ?$ x$ V3 I
  720. ; http://php.net/extension-dir
    7 ]! Q. }# |- j5 o, g4 k0 n
  721. ; extension_dir = "./"- c$ X4 w6 X9 t" i/ e0 b7 ?6 N, M
  722. ; On windows:8 C: C, ~) J; k8 b5 L1 S
  723. ; extension_dir = "ext"" C: t) L8 I$ _7 b6 M; }5 ]% q& M
  724. ; m% ~2 Z  `; o) {! s
  725. ; Directory where the temporary files should be placed.4 u0 b7 j  F! [. ]8 ~4 q* b: o
  726. ; Defaults to the system default (see sys_get_temp_dir)
    7 k2 J0 b. O+ K2 ]$ ?
  727. ; sys_temp_dir = "/tmp"" `, E2 X( \- {1 G2 I* t! l0 q

  728. & L% e: s$ N1 N* h2 m7 d
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work0 H, v4 x. z! ]
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    6 d* r! J9 x# l( E9 O
  731. ; disabled on them.  O- O/ n  N0 A
  732. ; http://php.net/enable-dl
    & s5 R, N/ e: @. w' n( w
  733. enable_dl = Off/ r5 b/ e0 K* }
  734. + `" F9 ~0 i, ^0 O) V
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    , L" z8 `( ]# X- e) r) L
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 J4 \" @  q' P6 W
  737. ; turn it off here AT YOUR OWN RISK( `. Z% a, x) d$ u
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    4 [. }0 C" D9 A1 v
  739. ; http://php.net/cgi.force-redirect0 k; s- s" u8 ?
  740. ;cgi.force_redirect = 1" k; N2 P* r8 `) f6 Q
  741. ; Z0 K! c- Z  }" J: v
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& H! u6 U3 t) f) z1 p
  743. ; every request. PHP's default behavior is to disable this feature.
    2 e" Y' g9 g* |+ \1 P* N5 t
  744. ;cgi.nph = 1. o+ p2 v6 w5 q6 J

  745. 9 g# X5 n' b5 J( C. _
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape5 ^/ i6 F, W& }+ m0 t5 m2 n
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    6 A( v; c9 T/ A, g- l4 I
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) A: m4 q9 A; N' K
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST., J2 j' y/ a( x8 z7 M
  750. ; http://php.net/cgi.redirect-status-env
    : A' M/ z/ t4 F0 `0 U) @1 n' _
  751. ;cgi.redirect_status_env =: ~, S) w$ v8 `

  752. 8 D0 F2 c6 d# ]% V
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's( P! @* [7 ?$ p% ~1 C- N6 }/ [9 c
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    9 ~2 O! ~& }9 \& ^# m8 @+ B/ \
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting; v! ^& g+ V3 X5 s) o. D- ~" u. r
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 Z. v( I/ V+ f* X  P7 D. `
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts( O# d! G9 t) E. d) q4 ^" Z1 K- _  f+ G- k
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    9 R" a& v6 z- V6 e: J! [6 X7 z- V, K
  759. ; http://php.net/cgi.fix-pathinfo
    & m! l" w: _/ n# ]! u5 d; F
  760. cgi.fix_pathinfo=1  A$ A; L/ c7 Q0 @0 ?7 H

  761. ( ], c# [# }2 R5 S) ]$ ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ ~2 B* C! Z* ^4 s: K8 R; \
  763. ; of the web tree and people will not be able to circumvent .htaccess security.6 C% X& o/ x2 _7 ]( i% V
  764. ; http://php.net/cgi.dicard-path
    ' V3 z% u' [5 u0 e& u
  765. ;cgi.discard_path=15 Y9 T& N( N0 T

  766. 5 J* ]; u: g/ w' l: h5 p+ n
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    + h3 r5 _. K* K4 ]( Q- B
  768. ; security tokens of the calling client.  This allows IIS to define the% d6 n6 M% Q5 s: m  s
  769. ; security context that the request runs under.  mod_fastcgi under Apache, t0 v+ u# L# N: b5 U, h
  770. ; does not currently support this feature (03/17/2002)
    0 e: A7 }) P6 L# O. Y
  771. ; Set to 1 if running under IIS.  Default is zero.
    % Z0 i9 `' U" h3 L4 ]7 M
  772. ; http://php.net/fastcgi.impersonate9 K& l0 d2 A/ i2 s
  773. ;fastcgi.impersonate = 19 n8 t" J; k/ Y! {+ Q
  774. ' }8 E' ~  m( X
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable  `- C1 `3 C+ F8 s% m
  776. ; this feature.0 C( V/ G" l# T# v4 d" F
  777. ;fastcgi.logging = 02 J; V) y3 z$ m9 I) I, q' q, @4 H5 j

  778.   V$ N8 e1 c$ c8 }* c& d4 k
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 n, v7 j' _7 e' X% `
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    8 }; T# [/ X8 U+ o' W7 L
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    " t$ i. q  Y- J5 p
  782. ; RFC2616 compliant header.
    4 P2 p2 R' z, N2 c8 [
  783. ; Default is zero.
    # U) f, L0 C$ h  w" z- f
  784. ; http://php.net/cgi.rfc2616-headers. k) z" c- S+ G$ i! K% W
  785. ;cgi.rfc2616_headers = 0
    ( X9 e0 k% @7 ?! H
  786. ! k, K* M+ q; Q4 X3 k# n" r
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!! k( j" |/ I8 `) E# ?. g8 }' o  @. J
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ |$ l- E% g* v0 }8 o  E; S2 [7 e
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ u! s) Q$ |9 D. b! Y
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ( s: V' r. }' d; q5 p! a( I* |
  791. ; http://php.net/cgi.check-shebang-line2 T" A3 E! e8 T6 \& ^# J" V' ?
  792. ;cgi.check_shebang_line=1, d( c9 I* {- U2 i3 M! N1 Q. T5 f

  793. : ~, K0 G& R% ~0 l
  794. ;;;;;;;;;;;;;;;;! Y4 g  |7 M1 L# t( f  K- {
  795. ; File Uploads ;; K! g  {3 T& p% G1 }
  796. ;;;;;;;;;;;;;;;;/ N7 G0 A* x, }8 |
  797. $ a( y! r0 h2 R7 [" g
  798. ; Whether to allow HTTP file uploads.
    9 A8 A4 x% y8 v, C) [+ d
  799. ; http://php.net/file-uploads% Z: H) s* u2 w+ R6 W% g. o
  800. file_uploads = On5 Z+ w  `3 D) j! P7 I
  801. 2 y/ R; j5 t3 S' Z1 J. ?, u# y
  802. ; Temporary directory for HTTP uploaded files (will use system default if not' [) U+ s  ?% T* C; @
  803. ; specified).2 K8 |5 N) Q; K
  804. ; http://php.net/upload-tmp-dir
    1 _% P' u% D% {: [; j" L1 x7 E3 Q
  805. ;upload_tmp_dir =
    ) m- l: ~4 U# {' i
  806. + ~  ^  \3 Z. b9 V# s2 J3 l% h7 @
  807. ; Maximum allowed size for uploaded files.
    . Q6 U. O9 y" {% w0 Y6 X# K/ x+ u
  808. ; http://php.net/upload-max-filesize
    # I) A  I8 g$ P0 O9 z8 Z
  809. upload_max_filesize = 50M
    . [) X- P- I) o# A( ~5 a. L2 i
  810. 8 `9 i$ l5 Q( G6 F, ~* E, q2 n: r
  811. ; Maximum number of files that can be uploaded via a single request( j3 y1 a3 S9 k, h8 v- q
  812. max_file_uploads = 20! C8 s2 I7 h5 U# b$ [5 l

  813. , W) i' K- \7 p+ O" y  z
  814. ;;;;;;;;;;;;;;;;;;
    ' f; i" U( t. H+ P& b" l5 L
  815. ; Fopen wrappers ;
    ! I1 N5 S+ ~8 k/ C8 [8 `2 k
  816. ;;;;;;;;;;;;;;;;;;
    ) E8 W' p( Z# k* ~3 i! }, j' q3 |
  817. % T, H' d; `4 Y$ G9 l+ }6 ^, H7 ~
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    6 `. `0 ?- N& P  }4 s; [
  819. ; http://php.net/allow-url-fopen+ z- w/ q) f8 p' v' h6 \3 A$ B2 i
  820. allow_url_fopen = On" S! ^0 [4 T0 w

  821. ! Y$ Q) F3 H: h
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      l& y5 ?, e0 s2 ]! j
  823. ; http://php.net/allow-url-include
    9 w5 M- t4 {2 x3 C+ v
  824. allow_url_include = Off
    ( [  I/ x1 i0 N  U

  825. - M9 N- S) F7 w" h- p5 o. m
  826. ; Define the anonymous ftp password (your email address). PHP's default setting; U8 [5 {# ?% p1 r
  827. ; for this is empty./ V# i6 ^# L% u! w. |6 B# G
  828. ; http://php.net/from2 r+ i7 P6 |7 y/ D& I. a+ Z9 T
  829. ;from="john@doe.com"
    4 y& u# r+ C, z- c/ |. h6 {/ Z

  830. 3 j; |7 z& w! E1 |: {
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    % Y* F9 D) q! f+ I2 s
  832. ; http://php.net/user-agent
    & \5 z  G# U; E0 H/ l
  833. ;user_agent="PHP"
      ?0 U4 \' o- V$ u/ Q4 I) D6 Y" G& C2 Y
  834. 7 k" p, E& o2 o: H" I& s: ]; |& q' e, r
  835. ; Default timeout for socket based streams (seconds)
    7 y, H* N) L, A) z+ o7 h
  836. ; http://php.net/default-socket-timeout/ \% Q( L( @0 A5 ], _' L
  837. default_socket_timeout = 60
      y# }9 i1 x1 x- `* M% b: x
  838. 4 o' E" J8 u1 T$ L: A. ]& R8 U; d
  839. ; If your scripts have to deal with files from Macintosh systems,
    ) L, X- Z3 b. {% _) j. T
  840. ; or you are running on a Mac and need to deal with files from
    8 R# o" E; r# z) f
  841. ; unix or win32 systems, setting this flag will cause PHP to( F1 V5 c5 C# K% W' h! T
  842. ; automatically detect the EOL character in those files so that1 p' J$ H8 `" c- U0 F7 j
  843. ; fgets() and file() will work regardless of the source of the file.
    3 W) a: d$ _! Z& S: ~
  844. ; http://php.net/auto-detect-line-endings) h# \( O4 ?% N( [) n) a0 I
  845. ;auto_detect_line_endings = Off) U7 P* a9 R( I; \7 e  s

  846. / z  ^) A% \0 T1 w$ c% L3 c3 q
  847. ;;;;;;;;;;;;;;;;;;;;;;! x0 u( _& a5 d! U! `
  848. ; Dynamic Extensions ;
    . ^- L) }# ]2 C1 w# u
  849. ;;;;;;;;;;;;;;;;;;;;;;; @9 D/ M- b- [3 H9 I
  850. : B8 t' Y2 o& [, Q% A+ g% J
  851. ; If you wish to have an extension loaded automatically, use the following
    : [$ ~, f$ X- B
  852. ; syntax:
    & F* |# U" e& O4 K
  853. ;
    * e/ ?$ S% O3 |' O# t
  854. ;   extension=modulename.extension
      Q% S! ~$ Q6 z6 S, t0 i. l
  855. ;
    ( K* C* c6 @0 [. h' V7 j
  856. ; For example, on Windows:
    1 U9 ]: x; Y  i- s+ Q& [
  857. ;: x& t* O1 g, E7 }3 }; S$ Z
  858. ;   extension=msql.dll
    , c0 C) x9 U7 o8 X) V' n
  859. ;- @  h: G% F7 {# R
  860. ; ... or under UNIX:
    & f2 T2 @( }5 E& S( H% S, r
  861. ;6 S/ ?7 a4 \/ o' n, N3 f
  862. ;   extension=msql.so# q$ p9 N! E7 M
  863. ;
      B& m) |7 ~! W; J1 R+ r
  864. ; ... or with a path:& G6 R$ w: d! F
  865. ;' i  A2 O. R9 V1 N$ ~! s
  866. ;   extension=/path/to/extension/msql.so0 A0 r- r' i3 ]+ [3 i. x
  867. ;
    8 ?9 ?+ J" d4 a; \  `, {
  868. ; If you only provide the name of the extension, PHP will look for it in its/ K" v6 H. P1 A, q
  869. ; default extension directory.
    & t# }5 g/ Y$ x/ S( n' U- D1 P
  870. ;: Z- R6 I7 [  A+ f/ Q
  871. ; Windows Extensions2 M/ {: X2 O0 P5 J
  872. ; Note that ODBC support is built in, so no dll is needed for it.: T+ ^/ a+ y* R! {5 m. S5 C
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    % s6 c( c0 W6 R. Y6 \! {
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).- {4 j- \/ ]& A- m9 G! P
  875. ; Be sure to appropriately set the extension_dir directive.
    . f. H, r; B/ Q5 r
  876. ;
    4 C* F) S6 i' }7 d8 h; A
  877. ;extension=php_bz2.dll
    : o# M4 V! F  h* a% A0 K- [/ D3 x
  878. ;extension=php_curl.dll
    . [) n; o2 N6 P8 w0 @  e* i) a
  879. ;extension=php_fileinfo.dll
    & Q- v' e/ T. `* c7 l
  880. ;extension=php_ftp.dll
    ; R) O7 |  x* D8 m
  881. ;extension=php_gd2.dll$ ?% s) k9 B1 J  d- ?$ @( R& d) R
  882. ;extension=php_gettext.dll
    & U5 F8 Z* D* u& V" O# z
  883. ;extension=php_gmp.dll
      f' ?0 @7 Y4 W0 h
  884. ;extension=php_intl.dll
    7 o6 r' U( X- }0 D
  885. ;extension=php_imap.dll( h. O7 f- U: o1 T; N1 `
  886. ;extension=php_interbase.dll, z( z. m1 C( d/ g# a1 D- u9 p' X
  887. ;extension=php_ldap.dll% r* [( T0 g  u) W, W  _
  888. ;extension=php_mbstring.dll
    ; I0 C0 M+ J; w, i* M6 P6 P
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - z- p1 h; H+ r9 Y3 h
  890. ;extension=php_mysqli.dll
    # [' x' b4 d4 G' t! p* m' H; Y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    5 X- o7 p9 O8 W: o; n! U
  892. ;extension=php_openssl.dll
    / _" m5 p, g2 ]2 s+ K
  893. ;extension=php_pdo_firebird.dll
    4 E' l$ o, f& D* v3 F
  894. ;extension=php_pdo_mysql.dll
    1 E4 \+ U) B3 U% x  J7 k! G9 C: Z
  895. ;extension=php_pdo_oci.dll
    ) u2 Y. P9 E; s" e8 s1 D: O
  896. ;extension=php_pdo_odbc.dll0 W6 h0 w6 V2 Q4 T
  897. ;extension=php_pdo_pgsql.dll. x: U6 }/ C9 [: c8 z& u
  898. ;extension=php_pdo_sqlite.dll0 H; u7 e# m# B; ?( V
  899. ;extension=php_pgsql.dll
    ! o' U* A4 N+ q) q5 t; t# n
  900. ;extension=php_shmop.dll% G7 w- \; {" V( ]. `+ q1 z" I( u

  901. ) O. b7 q2 K9 w2 n; _1 E; n& x% y- R
  902. ; The MIBS data available in the PHP distribution must be installed.
    9 `* ?; n/ H  Q* j
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    4 ?- a( @; _& d9 x  ?2 n7 s5 M
  904. ;extension=php_snmp.dll1 j, p9 ]& H, Z, d7 D

  905. - C& A: y- v8 f' `4 V
  906. ;extension=php_soap.dll6 O/ Q; i# r( h: r* m
  907. ;extension=php_sockets.dll
    % I# h( _1 }$ L! X1 J6 g
  908. ;extension=php_sqlite3.dll& e0 t/ c- K' m* r$ j
  909. ;extension=php_tidy.dll. s8 p( ]8 k; ]' {2 B9 i
  910. ;extension=php_xmlrpc.dll9 Y# I7 ^$ o$ o6 e
  911. ;extension=php_xsl.dll6 v. s# S0 k) W' ]" z" j
  912. 0 D  s' O2 s/ v$ _
  913. ;;;;;;;;;;;;;;;;;;;7 H' i% h$ X6 X+ H8 g
  914. ; Module Settings ;1 L, _6 V/ [+ W' g+ B
  915. ;;;;;;;;;;;;;;;;;;;
    4 L8 O3 G4 c/ G  \+ M
  916. 8 T3 E2 C5 y' o
  917. [CLI Server]
    3 p/ `- p  K; n( {0 a5 O
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ' F, O$ o, Y5 W& \. r( r; q  E
  919. cli_server.color = On
    * U+ A& i+ I! S8 i* |

  920. % e' i/ q+ F0 I) m5 a" W6 T
  921. [Date]
    7 _$ \2 L9 ]7 I
  922. ; Defines the default timezone used by the date functions
    0 A. Y( o' D- w3 u
  923. ; http://php.net/date.timezone
    # w4 I8 Z* i; b# L9 k: D9 ~1 ^; x
  924. date.timezone = PRC
    3 l# D( X( n* z% [9 G7 I; R8 {

  925. / t7 Z( H" l8 d* y/ }/ g! ?" c
  926. ; http://php.net/date.default-latitude' R8 O4 J/ z) c7 Z
  927. ;date.default_latitude = 31.76674 Z1 a; q5 J9 R

  928. 9 l8 ~) u  {+ r3 k2 P9 K% w6 x" \
  929. ; http://php.net/date.default-longitude
    / {. a, z( e. F
  930. ;date.default_longitude = 35.2333( j) Y4 l. X- `8 N  M) z( L1 X6 {

  931. . j! C1 q( w. S+ J# f$ x# g
  932. ; http://php.net/date.sunrise-zenith" e5 \! J' `0 A; |
  933. ;date.sunrise_zenith = 90.5833339 h5 `" ^9 c8 R7 h0 p  P

  934. & j% ?* Z1 X$ Z; z0 l9 W' ~
  935. ; http://php.net/date.sunset-zenith
    0 T8 A: N, L* ]! T. k8 w% M* [
  936. ;date.sunset_zenith = 90.583333' D1 j7 W4 f" s, {. a. U& V
  937. 7 {! Y; `9 j$ T. f6 |) y
  938. [filter]
    / ]' d- @# }( A
  939. ; http://php.net/filter.default
    " r5 ^! u  A# ?0 v  p# b2 A6 m
  940. ;filter.default = unsafe_raw
    2 S( L. m+ H9 U2 f
  941. . X6 m) f$ `4 i
  942. ; http://php.net/filter.default-flags1 U8 {- ^+ {9 M1 }
  943. ;filter.default_flags =# v/ C; @( R0 B1 F& G

  944. 1 D  p( P& i7 `4 L. f
  945. [iconv]. V7 j0 J/ |! o3 }9 V( J6 H
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % a2 T4 R( L2 [/ P# w5 q
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.( V$ z+ j, ?& }+ p% [
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # l! s% O3 f# F/ M
  949. ;iconv.input_encoding =
    % G0 o5 }' C4 M- `9 P2 }

  950. * h' _/ L  R2 d* s
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 q, ?0 `, A9 Y4 ~/ n* ]3 T9 @( E
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) {# a- `" ~2 j* O
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * t9 R, {+ Q  Y. h+ O% ]; D
  954. ;iconv.internal_encoding =
    1 w$ d/ E. C" |0 y

  955. 0 {9 M) l  `- I0 _
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.( c1 X; {" W8 t! {6 T$ w3 W
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    1 I  J' N* F3 C9 X. P5 q! ]
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    2 H( x2 s2 u+ |# j2 V5 Z
  959. ; To use an output encoding conversion, iconv's output handler must be set+ H* p- b8 @* z, Q0 X5 [8 z
  960. ; otherwise output encoding conversion cannot be performed.1 I6 a  ?$ @1 n
  961. ;iconv.output_encoding =+ m6 R( p" f' U9 `4 R( F

  962. : B5 c. j& i( B" J
  963. [intl]
    " B& \# Y9 `. f
  964. ;intl.default_locale =
    5 @# `! e6 Y( |+ B; q" m
  965. ; This directive allows you to produce PHP errors when some error
    ) ^2 S0 U: O5 j* D  r9 V
  966. ; happens within intl functions. The value is the level of the error produced.
    2 B  L8 z) c; ], ?+ F
  967. ; Default is 0, which does not produce any errors.3 B2 w- ^4 k9 g* |
  968. ;intl.error_level = E_WARNING
    * s5 j8 h" K8 x+ S; y* F9 I
  969. ;intl.use_exceptions = 0$ J! L' D# b! Y3 q! v
  970. 5 V) a9 K7 ?0 x/ U
  971. [sqlite3]) C( ^! k: \( E/ V  ^; q# [
  972. ;sqlite3.extension_dir =
    ; N! K2 r7 I) u

  973. % R/ M+ z! M4 S: P0 M
  974. [Pcre]
    " {) f( I6 {5 x. D
  975. ;PCRE library backtracking limit.
    ! ]4 ~# b0 `+ P) a% a8 N
  976. ; http://php.net/pcre.backtrack-limit5 @; E' O. L6 z
  977. ;pcre.backtrack_limit=100000
    " U* \/ Z$ Z0 y0 R
  978. : ~0 I' g% F9 O  |1 ]8 t
  979. ;PCRE library recursion limit.% g( x* C* }* ^6 I1 y' m4 Q- N+ A
  980. ;Please note that if you set this value to a high number you may consume all
    - U7 O/ z! ~! a9 a1 N
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ( U" ?: R" u, l+ M" Q9 p5 w, j* T. N
  982. ;stack size limit imposed by the Operating System).
    0 P5 k/ B/ A8 X3 r7 i, E" B8 [
  983. ; http://php.net/pcre.recursion-limit
    ( `- P& V1 ^; b5 }
  984. ;pcre.recursion_limit=100000
    ) c& A* J: m7 k$ W# A0 [1 L: K1 p% Y
  985. 0 t* f& \1 e, {0 P, o
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    3 i3 _3 m6 \! s/ a; `
  987. ;library to be compiled with JIT support.$ K6 S9 C+ e! _% D. H
  988. ;pcre.jit=1) q# c2 d+ o/ d! `& g6 i6 [

  989. 2 x( \7 F2 V* B
  990. [Pdo]
    % {% h1 O6 Y+ ]) M
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"- C4 o- D- H8 O7 @/ N$ E  c( w6 X' h+ ]
  992. ; http://php.net/pdo-odbc.connection-pooling
    ' Q- q* x" G5 O( Q
  993. ;pdo_odbc.connection_pooling=strict+ Z* S: V' V% d- e8 u

  994. 9 V. o! p4 s3 i: l8 p
  995. ;pdo_odbc.db2_instance_name
    . R6 y( w" [  h$ w. {( u
  996. - h5 K" ~8 N/ u( @' ]5 n3 F: \7 N) {
  997. [Pdo_mysql]
    ) k; o* F/ f) v
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , C2 @/ j  n* c: N# [' H
  999. ; http://php.net/pdo_mysql.cache_size5 E0 a) t+ l1 A; |3 @3 k6 x# @
  1000. pdo_mysql.cache_size = 2000
    + i. n0 l2 p8 x5 U

  1001. 6 X6 ?2 ?$ ^, L7 `
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 v  a+ r, @+ X  Q3 O
  1003. ; MySQL defaults.: n. p$ C, ?$ w# l# x" O# \5 \
  1004. ; http://php.net/pdo_mysql.default-socket
    6 }/ g, w: {' L9 U: n
  1005. pdo_mysql.default_socket=; c, Z" ^/ h5 F% d. w

  1006. 6 G; S: _/ \! |/ \/ ]7 U
  1007. [Phar]
    0 g" i/ M9 Y- G
  1008. ; http://php.net/phar.readonly
    5 T2 Y% }- K- Z3 R
  1009. ;phar.readonly = On$ H. f& U4 S# ?  t0 \7 y; d

  1010. ) Y1 Q9 E5 o" X& s& f$ a: ?) Y, j$ j
  1011. ; http://php.net/phar.require-hash
    * d/ W( i9 ~! ~
  1012. ;phar.require_hash = On
    2 k% e0 b7 r: h( p2 `4 g7 k
  1013. 7 L2 i. t6 ~, r- F, L& E0 j
  1014. ;phar.cache_list =
    2 ~$ q' M+ c& t% x5 K$ S- Y

  1015. 2 }7 t  }# u& X. L0 G" U
  1016. [mail function]: I4 M; o# t. r
  1017. ; For Win32 only.
    $ M$ P. j0 K9 c
  1018. ; http://php.net/smtp
    ! g% ]. a8 Z- G( u6 P8 n0 w: {
  1019. SMTP = localhost9 y, o: F* B( H; Q
  1020. ; http://php.net/smtp-port& b& `" H: t. r+ Y. f6 u
  1021. smtp_port = 25
    & {2 d! ]' ]& Q* a6 f
  1022. ' @9 r8 H! h7 u5 w8 G
  1023. ; For Win32 only.
    2 W8 S' u, h% s3 C9 P: u# s
  1024. ; http://php.net/sendmail-from
    ) p0 I  W# e  D6 I, f/ c7 D
  1025. ;sendmail_from = me@example.com
    4 G8 v1 ?; b; P- I8 S

  1026. # \: a8 H. `# g9 X
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . d* C7 n- E; R' w9 z
  1028. ; http://php.net/sendmail-path
    1 e# O9 U7 T7 h9 Y4 y0 b: e, O. C; O
  1029. sendmail_path = /usr/sbin/sendmail -t -i* h, r" _* r/ v6 R+ f' H' k

  1030. ' Z7 r' ~! o: r2 p& R
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    , U: {+ R5 Z' X' b
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ; t2 q1 ~# ^# Y* F
  1033. ; the 5th parameter to mail().% y' a6 t( n% l5 o- |  a
  1034. ;mail.force_extra_parameters =4 m% q7 k4 i2 ^$ E! [+ D! E

  1035. 6 w7 u  A( W/ a/ k) l2 A" ~5 |0 t
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ e/ g( h, O1 i# a
  1037. mail.add_x_header = On
    + X* V2 l6 g% k

  1038. 0 T8 \5 p/ p. \: T) _9 D* ^" }3 U1 }
  1039. ; The path to a log file that will log all mail() calls. Log entries include7 N/ \' y- P( v7 ^0 R
  1040. ; the full path of the script, line number, To address and headers.
      ~" y8 O! V3 E$ N
  1041. ;mail.log =
    2 v/ ~; M9 S. @  z9 C6 ?
  1042. ; Log mail to syslog (Event Log on Windows).
    - M. z* u' l$ j7 Z# H: |& K. k+ [
  1043. ;mail.log = syslog1 P) c* `( S% ^2 K4 |7 U( J- V

  1044. 0 _  `  ?# L) h& f) {" o; ~( G
  1045. [SQL]
    5 e; P' q! K- v$ c6 B8 f
  1046. ; http://php.net/sql.safe-mode
    - j$ {- y- _) X7 T9 o1 t* p) e
  1047. sql.safe_mode = Off
    3 b4 }  u  _; z, W4 I
  1048. ( b9 w5 Y- S) T- x$ i
  1049. [ODBC]
    ! b  N0 @8 L" j+ M! n9 W
  1050. ; http://php.net/odbc.default-db( _+ O8 {3 J, E/ |$ y
  1051. ;odbc.default_db    =  Not yet implemented
    ) l. ?# H! p0 F
  1052. " K" t/ j& _. ?" |7 @
  1053. ; http://php.net/odbc.default-user) r+ \4 S" v6 E8 y( o
  1054. ;odbc.default_user  =  Not yet implemented6 A, ?# r. c8 O) I6 `- z

  1055. , l" v) P. I2 q3 f8 a7 M  V1 u* ?
  1056. ; http://php.net/odbc.default-pw
    * y' k6 m' c# U
  1057. ;odbc.default_pw    =  Not yet implemented+ u7 I' n( g2 @* |

  1058. , d. k; X+ s' o3 \
  1059. ; Controls the ODBC cursor model.* r! e+ g& M6 Z
  1060. ; Default: SQL_CURSOR_STATIC (default).- a& K, Z$ A5 w7 K- D% }- d
  1061. ;odbc.default_cursortype+ G# }1 Q6 f' R; a
  1062. 9 q: K; e2 _9 e) i! u4 V
  1063. ; Allow or prevent persistent links.* [4 r* ?9 K3 O  F7 H: v
  1064. ; http://php.net/odbc.allow-persistent
    0 E1 P) [, j- q' @7 k9 K4 O& G
  1065. odbc.allow_persistent = On$ s2 i  q3 Y! C. b: `: W8 N
  1066. 6 A" i( |$ y2 i- m" {' I  W
  1067. ; Check that a connection is still valid before reuse.+ I2 }" R2 S! l! p# k3 a  Q0 H
  1068. ; http://php.net/odbc.check-persistent& i7 l! u7 P9 i
  1069. odbc.check_persistent = On/ B) V; ^/ w  N' I% r  C
  1070. & U9 @( {9 r% A2 C
  1071. ; Maximum number of persistent links.  -1 means no limit.
    - d- a$ g( \! m3 f- T& G: y" D
  1072. ; http://php.net/odbc.max-persistent
    ( A/ P, S  {1 M5 B: K4 Z3 ?8 h2 f
  1073. odbc.max_persistent = -1  V( q, v& a; j; ]

  1074. & j: G! l( u$ L- H- ~$ c7 J3 G2 j
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 {  n; K2 Q9 F3 i8 y  x/ J
  1076. ; http://php.net/odbc.max-links
    % q' V0 |* D+ B& X, `
  1077. odbc.max_links = -1
    ) I& l- x6 n* a% n

  1078. 3 p- |+ p3 f3 P. d" w6 _
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means; D' a& \, N* _2 m: y2 p
  1080. ; passthru.3 j, `; I) J: A+ k3 a3 l
  1081. ; http://php.net/odbc.defaultlrl
    ' V6 \, ]+ I! z3 D
  1082. odbc.defaultlrl = 40960 I9 m# o+ g. ]+ ]5 E" D2 D
  1083. ' H: g7 a- M( n
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.. Z) J" _+ U; a/ s" N5 t
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 u0 v& ~  e# M7 e
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode- p0 \; \8 b& |) |' h( H
  1087. ; http://php.net/odbc.defaultbinmode+ @  S( G( J0 a$ ^) d5 D
  1088. odbc.defaultbinmode = 12 y9 W/ k9 K: M+ A

  1089. $ C: @  F& `0 p* e
  1090. ;birdstep.max_links = -1( _0 O1 M4 V$ ]; d3 O" G8 l
  1091. + H7 t( o+ e% ?; h; N7 N2 [+ v  {1 I
  1092. [Interbase]
    3 N& R) V5 x4 f1 t4 M7 q9 G2 R) `3 ?3 c4 U
  1093. ; Allow or prevent persistent links.. p+ ]+ E5 Y# F. x
  1094. ibase.allow_persistent = 1" `, X  ?9 K! F" }# |' {3 z

  1095. & \: l' p3 E; y4 [
  1096. ; Maximum number of persistent links.  -1 means no limit.0 l# X; E0 M' o9 b; B
  1097. ibase.max_persistent = -1
    9 v9 }& \- `* w3 x
  1098. 4 `7 \; p. V- D
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / J9 v# D- w6 `" ~3 z, _- C! j7 |+ o
  1100. ibase.max_links = -1
      n: m6 r+ S0 i# V# ]/ G. ?$ K9 W& L

  1101. 3 ]1 |; P/ c# `) E
  1102. ; Default database name for ibase_connect().
    : C- Y' _' L9 `
  1103. ;ibase.default_db =
    * \/ ^  }6 t+ W
  1104. 3 m! o$ t% v+ e. v* e/ j
  1105. ; Default username for ibase_connect().' m/ X+ d; W% e
  1106. ;ibase.default_user =' q0 [1 E' l* E$ W$ q% k7 r0 h

  1107. - c& j# {' M% s6 v& x# w5 n2 E
  1108. ; Default password for ibase_connect().( ~7 S% z' Y- G# D7 w
  1109. ;ibase.default_password =+ j  h& s, N1 E2 ]# _; C
  1110. 2 x" r" e4 C' ^" s9 n
  1111. ; Default charset for ibase_connect().; e% p+ q, k6 a+ [5 `7 H
  1112. ;ibase.default_charset =- A6 [5 [- N5 X1 q+ M
  1113. # |; O" ?& a% R1 u1 N
  1114. ; Default timestamp format.
    " L3 M: H1 W) ^: P
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : V5 ^* q/ J$ ^3 O% C. ~9 C
  1116. 4 r; l# @3 w# |9 B% K* b
  1117. ; Default date format.  V. Y1 \1 `4 o# P5 j' L
  1118. ibase.dateformat = "%Y-%m-%d"7 Z  R2 h5 q5 N6 D* h: W
  1119. ' v. F' B* K! j
  1120. ; Default time format.
    2 t# e1 u" G- A
  1121. ibase.timeformat = "%H:%M:%S"* k2 v" s  l" h0 B& g
  1122. 9 K0 |% l4 b" P/ E0 a
  1123. [MySQLi]! A( Q$ i5 Q$ u8 y
  1124. & G$ H' Q; {7 N0 r- Y
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ( _. y; J$ B+ A- t8 e- |
  1126. ; http://php.net/mysqli.max-persistent+ S5 u# d' s1 x# x( L
  1127. mysqli.max_persistent = -1
    : }, I; U4 X' C$ s4 @
  1128. : Y9 ~9 \: J4 h+ T, K7 o6 A
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ! r9 x3 J3 b: p
  1130. ; http://php.net/mysqli.allow_local_infile
    9 n1 N- [: V, h( A5 \7 d
  1131. ;mysqli.allow_local_infile = On
    3 ~# r: z8 Y) O1 V# Y1 ^

  1132. 4 T: Z, _1 O& c* F
  1133. ; Allow or prevent persistent links.
    $ Y% u! Y# k4 X6 T+ i$ P" \
  1134. ; http://php.net/mysqli.allow-persistent
    # D9 }6 ?6 h. C% m
  1135. mysqli.allow_persistent = On5 H, w& j2 s+ A0 X- H+ [5 G

  1136. , c* S2 p: ?4 U6 W- F
  1137. ; Maximum number of links.  -1 means no limit.% O# ~: e' v* \- w5 Z  D" Q
  1138. ; http://php.net/mysqli.max-links. m5 K% _4 S9 C5 @* Q* K! d
  1139. mysqli.max_links = -1
    1 q# R9 y1 j5 A) S
  1140. % n8 X' ?  c1 g3 T- c: A
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' q5 q1 z3 A) b( M) N
  1142. ; http://php.net/mysqli.cache_size
    . X2 c! e( n$ Q2 d8 v
  1143. mysqli.cache_size = 20001 @# w0 [1 M+ M4 [8 K6 w$ x/ u. u
  1144. . s4 G/ f( S0 T! c
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ' F2 y; A2 d9 r# U9 s/ J3 X9 V7 o
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! S: {6 s( _" Z- u6 ]$ z  {) X' D3 e3 O
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , s& B4 c/ G4 D9 \% T
  1148. ; at MYSQL_PORT.
    / }7 v$ S' J/ h& {- q5 i
  1149. ; http://php.net/mysqli.default-port" W. {. a- l& b* l7 C- }) O0 s
  1150. mysqli.default_port = 33061 R* ^$ E! j9 J' \$ j5 r
  1151. ) B, E5 d2 |6 N- o, o
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in; J4 k3 T8 M/ z# W6 O8 [+ l& d* M
  1153. ; MySQL defaults.
    $ ]! O# r. C7 P" |+ h6 L
  1154. ; http://php.net/mysqli.default-socket7 L  M% ^4 Q: g# r
  1155. mysqli.default_socket =
    , T' A" U; y) f- A3 m

  1156. . ^+ c. S* _4 w. S, S
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).8 p7 Y% E4 W$ L
  1158. ; http://php.net/mysqli.default-host: J! f2 B4 z; p8 n2 A
  1159. mysqli.default_host =
    , y* i0 t$ Q9 k* {' L3 |, j3 Z

  1160. - ?8 n. `$ x  B) q/ ^& [  s
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 ]; H$ g2 l, `6 K/ J) W" Z& l% f
  1162. ; http://php.net/mysqli.default-user* ]9 u+ c2 ~+ ^. o) ]
  1163. mysqli.default_user =; O' C# H' n8 Z7 ]9 u  ^$ m) s

  1164. 7 c7 g0 p* D  l0 a
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).4 `1 x/ M8 M. U
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    8 M$ z. W# C0 l+ u
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    3 L7 C6 d+ m; q4 ^" ^
  1168. ; and reveal this password!  And of course, any users with read access to this- Z/ i+ K/ ^/ t0 u5 V. R) n% c
  1169. ; file will be able to reveal the password as well.
    . R/ }+ V# K. Z, m
  1170. ; http://php.net/mysqli.default-pw7 I- M+ }% C- @* {# M. G
  1171. mysqli.default_pw =" D3 M/ ^' L) ?$ ~% b$ ]
  1172. - J: R+ l% g& K: N# D. c
  1173. ; Allow or prevent reconnect
    9 k! t9 [) p2 j0 ~" j$ _- K
  1174. mysqli.reconnect = Off
    * e5 V1 A+ q! b4 `9 y! b
  1175. % n$ P" J* ~' N+ s' `9 \
  1176. [mysqlnd]5 R. G# T$ d6 G6 y, D* w
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be. L0 G, I" P0 \/ |% S/ W4 c. O; h
  1178. ; used to tune and monitor MySQL operations.
    % n) |  X1 M# B. A  X& N
  1179. ; http://php.net/mysqlnd.collect_statistics
    * i0 X1 Y2 K0 Q& I, s8 v
  1180. mysqlnd.collect_statistics = On! B2 |) b9 \- J
  1181. ' m0 C2 Q5 H$ ^3 k( x4 b
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 Z5 Z1 [/ }; }* x5 B) f
  1183. ; used to tune and monitor MySQL operations.- O% S( ^; L; W+ K
  1184. ; http://php.net/mysqlnd.collect_memory_statistics$ H" S- G1 U& r/ @4 T
  1185. mysqlnd.collect_memory_statistics = Off
    0 {- W7 k7 \* e6 V1 `0 L8 I
  1186. ! h: G% g6 ?4 D( q+ l
  1187. ; Records communication from all extensions using mysqlnd to the specified log- s. S! M1 T! J1 k' L& v1 c6 m: p- M
  1188. ; file.
    1 @! e9 b# i% ]
  1189. ; http://php.net/mysqlnd.debug
    5 `2 d1 F/ y. u- H5 U3 j
  1190. ;mysqlnd.debug =
    4 S& T1 i+ G: O# O, N$ K# U
  1191. 1 K" P" Z; Q1 h6 {
  1192. ; Defines which queries will be logged.2 d5 R- [' K" Q. Z7 J  T/ M: M! Y& A: H
  1193. ; http://php.net/mysqlnd.log_mask
    4 I+ j( Q: p5 T8 Y$ R  N
  1194. ;mysqlnd.log_mask = 01 Y8 F; F5 V% j" E+ b

  1195. ' z' v8 w( o: @% ?) U: z1 M% s' v
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.1 T. d0 Z& }& W3 R7 W2 R
  1197. ; http://php.net/mysqlnd.mempool_default_size
    5 Y% B9 i- x: F" C4 \% y; {
  1198. ;mysqlnd.mempool_default_size = 16000
      {* y1 M# J9 L( Q1 z

  1199. . R$ J5 |2 f2 A  [3 d$ T$ W
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.! Q6 z/ t: ^0 m! O1 y
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size! A% H; h8 N4 W) w% j0 i  c
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    $ u- c' P3 R- P: o' d# B8 v
  1203. 7 n2 ?: b/ D2 N+ J3 k& _: I
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in5 d2 x/ m& \7 ~/ q! r6 ^
  1205. ; bytes.
    5 \. M: o" g) h& k
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    * ]8 ]0 i$ v2 O9 I$ p
  1207. ;mysqlnd.net_read_buffer_size = 32768
    2 @: {+ E1 B- c- _! f" W
  1208. 5 w! M+ d% ~4 C& n- n/ {
  1209. ; Timeout for network requests in seconds.8 O/ M' G# W4 q' a/ d: ?! Y3 U
  1210. ; http://php.net/mysqlnd.net_read_timeout6 Z5 J2 F. P/ m5 d* `
  1211. ;mysqlnd.net_read_timeout = 315360002 u$ @( Z4 R9 i: `

  1212.   M: p2 V# Q& [+ l; p: p
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, S) ~  u6 q! {0 O, G1 P- c; [
  1214. ; key.( Z4 D8 y6 ]- }8 ?+ A0 r  \
  1215. ; http://php.net/mysqlnd.sha256_server_public_key" Y* ^2 m, b) I# F% c$ J; |
  1216. ;mysqlnd.sha256_server_public_key =
    - j( {/ r/ {5 D) A5 b4 T* _+ W
  1217. " d& P" h  N  y
  1218. [OCI8]  D  t1 V+ P# _# y
  1219.   V" `2 A9 H2 m" t, L
  1220. ; Connection: Enables privileged connections using external
    7 f3 w7 W1 r8 m2 y( C3 R
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)7 U6 o4 G- J. S+ p
  1222. ; http://php.net/oci8.privileged-connect
    ; _* m6 z. Z+ k. s# T( Y
  1223. ;oci8.privileged_connect = Off; p; A4 ~4 w$ Y% n' t
  1224. % k+ p& R1 M8 b. R; `9 F! ^
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    2 X% x+ s8 W' N
  1226. ; process. Using -1 means no limit.: b; s4 \& F1 S# O
  1227. ; http://php.net/oci8.max-persistent" q; c8 E9 m" F, N# a8 C
  1228. ;oci8.max_persistent = -1
    2 U  W' E( X" c: K6 a

  1229. 7 }* a. S9 h+ T+ N" q% V* n4 C
  1230. ; Connection: The maximum number of seconds a process is allowed to# i2 h6 l* U1 w' D0 _+ `
  1231. ; maintain an idle persistent connection. Using -1 means idle  U6 M; d% y+ S( _
  1232. ; persistent connections will be maintained forever.2 |/ ~; _5 F; a( G- j- a1 i
  1233. ; http://php.net/oci8.persistent-timeout0 \  [8 b! h" e3 a3 {& d1 t
  1234. ;oci8.persistent_timeout = -1
    : e; N' a0 ?% l) O  e3 C0 m

  1235. 3 L, n, h& n8 M
  1236. ; Connection: The number of seconds that must pass before issuing a
    ; b% b$ X% B' i6 w0 O7 _( E; n
  1237. ; ping during oci_pconnect() to check the connection validity. When4 \  p" v3 ]* X
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables- x: ]  r" x" M
  1239. ; pings completely.* n0 D9 C. I$ v6 o) g9 G; D  r
  1240. ; http://php.net/oci8.ping-interval  a, N2 ~% Y2 U0 w
  1241. ;oci8.ping_interval = 607 ^- e! D8 k/ B/ H
  1242. 2 a/ V9 o; c9 m9 B" w0 A5 b
  1243. ; Connection: Set this to a user chosen connection class to be used
    $ ~1 V( \! P" l8 g- e% O
  1244. ; for all pooled server requests with Oracle 11g Database Resident: B) W$ M9 R2 z' F5 U! U1 O& t0 n$ T
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    3 w  L% x1 j1 C3 `3 B& ?& l
  1246. ; the same string for all web servers running the same application,; \! u4 F6 ^! t) ]6 Y! o
  1247. ; the database pool must be configured, and the connection string must
    4 z) T9 W+ H2 m- a7 w
  1248. ; specify to use a pooled server.+ g( |) `4 a- `
  1249. ;oci8.connection_class =) e; ]9 Y6 _1 n& D- q; Z+ F
  1250.   ^" v3 }/ c6 w' q3 [" j
  1251. ; High Availability: Using On lets PHP receive Fast Application) _2 {' U& o2 u2 E: C; G
  1252. ; Notification (FAN) events generated when a database node fails. The" R5 ~" a1 ^4 J1 b1 J) F
  1253. ; database must also be configured to post FAN events.; ?/ q* x4 z5 Y  [- s) ]
  1254. ;oci8.events = Off
    2 E8 `3 N' U* H% S$ W: T: l* e) l( |6 s
  1255. 1 D$ C! [8 @; d  o4 I& L
  1256. ; Tuning: This option enables statement caching, and specifies how
    & W' {' r6 E3 ~$ j" b' Q0 ~
  1257. ; many statements to cache. Using 0 disables statement caching.
    ! z' W4 o* [: P; J
  1258. ; http://php.net/oci8.statement-cache-size( a9 A) E" g" a) B& m
  1259. ;oci8.statement_cache_size = 20
    4 h( L* i2 L: g( `8 ~6 w- @& g
  1260. 8 x; Y# t0 \' G) [8 [) N9 f0 b6 |
  1261. ; Tuning: Enables statement prefetching and sets the default number of, K) f2 h0 y4 {3 }9 ~. L/ n- }
  1262. ; rows that will be fetched automatically after statement execution./ n3 Q# t4 r/ E' l3 I8 T
  1263. ; http://php.net/oci8.default-prefetch
    + J) }3 X; v1 r+ w7 M+ _5 X2 X
  1264. ;oci8.default_prefetch = 100+ d) H* g% ~8 Y, N0 _2 x" O

  1265. , H. o) p- q& j7 y# l
  1266. ; Compatibility. Using On means oci_close() will not close
    5 ?+ E$ L3 c' `( S$ o
  1267. ; oci_connect() and oci_new_connect() connections.! M, M  t2 j0 n. T& f7 P
  1268. ; http://php.net/oci8.old-oci-close-semantics
    + P  u, r7 |0 S( b
  1269. ;oci8.old_oci_close_semantics = Off
    2 v/ s' |& j6 d/ W" X1 S2 g
  1270. 7 j3 q8 a5 y* r. {
  1271. [PostgreSQL]
    + [( J4 b8 {% c2 E/ R) m& o& C
  1272. ; Allow or prevent persistent links.1 ~8 N1 C: ]9 ^) E# ~: c6 W
  1273. ; http://php.net/pgsql.allow-persistent
    ( m' h0 G. h+ C8 {. k
  1274. pgsql.allow_persistent = On
    ' c( L* Y  G  y+ F3 G% F9 l
  1275. 7 |, F8 F1 _% ]
  1276. ; Detect broken persistent links always with pg_pconnect().
    ( M* B& H8 x, {, n9 g
  1277. ; Auto reset feature requires a little overheads.
    ' s+ Q, z  y/ z/ @
  1278. ; http://php.net/pgsql.auto-reset-persistent8 m1 o5 O3 _% E. I8 P# H
  1279. pgsql.auto_reset_persistent = Off" L( R# R! R3 U8 a9 j
  1280. , _' j' m- p- n  k
  1281. ; Maximum number of persistent links.  -1 means no limit." F( a& z* }3 H4 w& w. o8 Q5 g# W6 C' v
  1282. ; http://php.net/pgsql.max-persistent. E9 }7 A% c- {1 f
  1283. pgsql.max_persistent = -13 L0 W1 _) x( H( q8 c0 h
  1284. 8 a  o9 D( O4 [0 T" g" N# p
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % f3 r. b3 L& ~4 Y
  1286. ; http://php.net/pgsql.max-links
    : C1 k& `# E2 m" v' ^5 h! k
  1287. pgsql.max_links = -11 r3 i4 o- N) P' o7 {
  1288. 0 \1 ?7 K8 d, C' V. E9 }
  1289. ; Ignore PostgreSQL backends Notice message or not.
    - n6 R! N( h7 N, o: ^, Y
  1290. ; Notice message logging require a little overheads.
    * t% j' l( p, c0 o; V7 i
  1291. ; http://php.net/pgsql.ignore-notice
    ' m  e. J" U! b2 [( b) `
  1292. pgsql.ignore_notice = 0' c' W  ?0 Z* j5 D5 j# i3 ?
  1293. $ o* Q$ h4 _- n! j3 p! [4 f
  1294. ; Log PostgreSQL backends Notice message or not.
    & W+ m% h5 E% d8 w9 W& W4 Z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ( J- P; N- \$ ~+ O/ }
  1296. ; http://php.net/pgsql.log-notice
    ; Q/ K1 S# C0 E4 x) v8 O
  1297. pgsql.log_notice = 0
      W( F) K9 |+ }3 l. b( |4 r5 {' ]8 o

  1298. ! o) V4 f0 @* I( U( {% a
  1299. [bcmath]9 X4 E7 |: f& {. I
  1300. ; Number of decimal digits for all bcmath functions.
      \! i7 c/ D7 G1 ~$ c4 U
  1301. ; http://php.net/bcmath.scale* k8 A7 B* F5 R$ p, L& M4 X
  1302. bcmath.scale = 0
    ' J' j: M1 z) t
  1303. ; f! |$ o: c* v( {( i0 ^
  1304. [browscap]0 }% P9 ]# u7 {+ }5 ^/ Z0 Q
  1305. ; http://php.net/browscap
    / q+ r+ V8 ]: a/ @  \
  1306. ;browscap = extra/browscap.ini; q( d) ~- }: Y0 F) c. i

  1307. 4 m$ B. A5 y7 a- u3 n: n# C3 n
  1308. [Session]
    4 G8 o- [2 |& l
  1309. ; Handler used to store/retrieve data.
    . }: d# l$ I4 R% }$ ]9 n) \% M4 X8 M
  1310. ; http://php.net/session.save-handler
    - q' X/ L( E- m9 F' g- l4 {
  1311. session.save_handler = files
    7 r7 T  r  X% |) A# p& b6 Y& M
  1312. 9 f$ U2 B6 v9 E9 b5 B
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    0 K/ A+ h$ n, Q) @) l. y- H  m9 _
  1314. ; where data files are stored. Note: Windows users have to change this
    ) r* z/ L. E  r) z& N& e, E- B
  1315. ; variable in order to use PHP's session functions.
    5 ]6 O$ |0 R1 R( ?: V* s
  1316. ;4 l2 n' V3 P. }! k. z1 g; a  m
  1317. ; The path can be defined as:0 u$ E' Q8 r" Z' C
  1318. ;
    * e7 `5 N3 x  D
  1319. ;     session.save_path = "N;/path"
    6 i! `' j$ l  ]1 v0 R" A
  1320. ;
    + ?# M% r* i, I% Q
  1321. ; where N is an integer.  Instead of storing all the session files in
    8 M  G) s- p8 c
  1322. ; /path, what this will do is use subdirectories N-levels deep, and1 h2 @/ {) I% W' A
  1323. ; store the session data in those directories.  This is useful if2 m) g4 {! @6 j0 U# _# }" L
  1324. ; your OS has problems with many files in one directory, and is" p& O6 z0 M% a6 V( U/ f) N% t
  1325. ; a more efficient layout for servers that handle many sessions.
    9 B5 @6 c- Q4 w; m# o4 M
  1326. ;# j) c1 `0 }2 a1 k
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    2 o6 }9 N! N5 I+ g- g1 X$ M1 m& K
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ; F4 w. M0 D9 {' ?& p9 z3 ]
  1329. ; NOTE 2: See the section on garbage collection below if you choose to% X  |! k% \2 |* r& {  o
  1330. ;         use subdirectories for session storage+ m/ Z4 K: T/ z! K! N& ^
  1331. ;
    / J9 u7 |/ Y' {. J+ p
  1332. ; The file storage module creates files using mode 600 by default.
    1 p- f' s- d( s" \( e3 i; E
  1333. ; You can change that by using/ }2 q  z7 M' C& j1 f& i; y/ r+ i6 p
  1334. ;9 y% ]4 P  X: A5 x! `% ?
  1335. ;     session.save_path = "N;MODE;/path"
    # P. h" [6 U' x  t& t4 n
  1336. ;2 o- W" [$ T  R% s
  1337. ; where MODE is the octal representation of the mode. Note that this# r' T: q+ ]( K. p
  1338. ; does not overwrite the process's umask.! Q! }+ ^: t4 S* a2 S. x
  1339. ; http://php.net/session.save-path
    7 T; i/ S% r# C" D  S% P
  1340. ;session.save_path = "/tmp"
    , `) h8 S2 c4 C5 r  l8 B7 f

  1341. 2 E3 V' }( N1 A
  1342. ; Whether to use strict session mode.
    ( Z. {8 T  }2 O1 k
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    , ~5 p; ]& z; c0 A2 m  n' l% N
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    / P: z# T3 D; U% e- d7 O
  1345. ; applications from session fixation via session adoption vulnerability. It is
    , p2 f- x# O5 e& _6 A* q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged." {9 B$ F: D# j4 d- R
  1347. ; https://wiki.php.net/rfc/strict_sessions: ^7 o/ k- T! |
  1348. session.use_strict_mode = 0
    $ N/ @, Z4 ?8 t' H
  1349. $ ]+ O- w/ b8 V; C: Q5 ~
  1350. ; Whether to use cookies.( H+ ?4 B, a3 j* A
  1351. ; http://php.net/session.use-cookies
    1 Q3 w; A  O7 b) B5 n) u  u0 w
  1352. session.use_cookies = 1
    $ N& e; k& u' J" @' e

  1353. - ^7 @2 x6 p, D- e
  1354. ; http://php.net/session.cookie-secure
    2 v& p" [/ w2 t3 N% v  i# j0 h
  1355. ;session.cookie_secure =
    % S" W% W& x! T2 {2 v0 x
  1356. " i' @8 |& j: k& f# c/ P
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ) p/ ^1 F. W- ^3 E! Y0 \
  1358. ; the session id. We encourage this operation as it's very helpful in combating. ^5 N% t) ]" k
  1359. ; session hijacking when not specifying and managing your own session id. It is' b) D4 }# E7 a: v1 z
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 h7 N9 a+ }: R2 n; O6 I
  1361. ; http://php.net/session.use-only-cookies
    , U9 h" x# _! _+ [" i
  1362. session.use_only_cookies = 1' z* N5 {+ i/ \0 a" V1 Q' t

  1363. : s  N% J) r4 P' i: f0 D; E$ ^7 o) ^
  1364. ; Name of the session (used as cookie name).
    $ P; o- [+ Z4 Q& x/ Y1 H: }. G
  1365. ; http://php.net/session.name
    5 N' n6 T* W% j5 g% a) i4 K
  1366. session.name = PHPSESSID
    & R+ v9 u# j' i. V. V; p" d( ]
  1367. 0 q8 L! a" f0 H" u
  1368. ; Initialize session on request startup.
    * L2 R$ e! B7 ], F$ ?, H
  1369. ; http://php.net/session.auto-start) m& F; y: x; ~. i) A
  1370. session.auto_start = 0+ d" r: k! m4 {* S" ?6 @) t
  1371. , u. D( q6 |& P3 t5 e
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( M( {5 a, T$ O; o8 [9 r& g
  1373. ; http://php.net/session.cookie-lifetime% r& W6 Q) c2 X) L
  1374. session.cookie_lifetime = 0
    * I9 f  b4 ^. Y" g& |- E; y- F: ?

  1375. ( U: c; a6 w4 `0 `) @6 F
  1376. ; The path for which the cookie is valid.# u+ M6 b: B# X
  1377. ; http://php.net/session.cookie-path
    3 C' f: ^- o( I) [) f
  1378. session.cookie_path = /+ z  P6 ~6 _& E' J$ V

  1379. 8 h' h4 V$ D0 T( q
  1380. ; The domain for which the cookie is valid.4 q$ [6 V2 F, Z; p; f1 c: ]3 x
  1381. ; http://php.net/session.cookie-domain
    6 w* |( p6 X7 v
  1382. session.cookie_domain =
    7 N! [9 f! J) u3 z) ~3 o* {

  1383. . N5 b2 k& A6 c9 V
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ; t6 ~7 h. h0 p) R6 M
  1385. ; http://php.net/session.cookie-httponly5 m( {9 N  z4 s+ l: D$ j
  1386. session.cookie_httponly =2 @0 W% T% d) t  L# F
  1387. ) d" b2 Q, L2 n4 Y0 N2 x
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP./ e" R  B$ [. s& M
  1389. ; http://php.net/session.serialize-handler
    , K' b3 ^0 \# Q2 }- G+ k
  1390. session.serialize_handler = php
    - ^/ C9 N1 |1 ?" ^9 K

  1391. ) ^  n' n; ]( W0 J* V+ P5 ^+ l
  1392. ; Defines the probability that the 'garbage collection' process is started
    & O/ F; e: l$ s+ ]+ k
  1393. ; on every session initialization. The probability is calculated by using+ R$ F$ a8 S6 B' d/ A4 j
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    6 T# @/ ?! Q; i$ N
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 14 [3 k3 S9 X1 d( l
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / f7 C' N2 [0 A  y" x
  1397. ; the gc will run on any give request.
    7 ~  H: z% M' h6 a( h- s' Y
  1398. ; Default Value: 1* x7 s, ~7 M8 v
  1399. ; Development Value: 1
    " J+ y, x8 J' _) A. y" ^2 [
  1400. ; Production Value: 1
    9 z- R/ i$ W% F. s; j4 S
  1401. ; http://php.net/session.gc-probability
    : P, B% b2 J) }" r. _
  1402. session.gc_probability = 1
    * G5 c3 F& H8 b# ]

  1403. ( j, Z6 Y5 m2 B, w" ?, I  v; z
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    : e. Z# T7 x0 `/ {# ?9 z! o
  1405. ; session initialization. The probability is calculated by using the following equation:+ o3 ~) N# _4 z1 b3 }, k- `
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    . C+ o$ g6 N2 @& C. z6 V9 \5 C" D
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; |9 }$ R2 W/ N$ C( z
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 [" P" D5 _# ]* n- ^- H5 }
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / \# g- }! m+ m2 Z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,- X2 }3 K, j9 E& q3 O7 N2 W- q
  1411. ; this is a more efficient approach.
    : y7 ^" b7 b- I! a6 w/ S4 J
  1412. ; Default Value: 100
    % f; a  E6 I9 \3 O
  1413. ; Development Value: 1000
    2 ^, d7 P! `3 o& A6 d6 v  q
  1414. ; Production Value: 1000
    ' J1 ^5 o4 i, I+ f$ H- a$ }
  1415. ; http://php.net/session.gc-divisor
    # [% _! N/ ]7 |% V. U! D
  1416. session.gc_divisor = 10003 j: O# U. U3 Z: k
  1417. - L3 x) H, k1 Q* S
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    2 \$ J5 B) E) `# t) }4 t2 @
  1419. ; cleaned up by the garbage collection process.
    2 q( p5 [/ L6 p7 k# Y, S0 @: t1 |0 n
  1420. ; http://php.net/session.gc-maxlifetime' |% N; R( ]7 D8 F$ K4 w
  1421. session.gc_maxlifetime = 1440, L2 O( N9 B+ |/ S4 l3 I7 q

  1422. $ e- K5 |; s5 t8 I* i" s* ~
  1423. ; NOTE: If you are using the subdirectory option for storing session files/ i9 g# a' E* N; _$ `8 V
  1424. ;       (see session.save_path above), then garbage collection does *not*
    * M1 ~" q0 }: j/ t. e: l; m
  1425. ;       happen automatically.  You will need to do your own garbage; {; q8 T, I4 @  Z8 z% A" v
  1426. ;       collection through a shell script, cron entry, or some other method.
    ; t  X7 L: B0 }) H3 h: u
  1427. ;       For example, the following script would is the equivalent of
    ; @+ B9 ?5 L' i) n7 Q0 H( \
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    2 ~- z. p* C" }" F% B/ [) @$ R6 C& X( b
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm* _; j' t, ?, r

  1430. / l- e7 A6 ~3 l8 E
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & q5 p9 X1 P; o- W( S
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ( h- c6 c% Z6 V) U" h* a  y" S% g. }
  1433. ; considered as valid.$ I% G" ~6 ~: X& y! Y% ~
  1434. ; http://php.net/session.referer-check2 G: c! \5 X+ M# F* H9 p7 f" M0 k
  1435. session.referer_check =6 f+ A- N7 @( O- ~
  1436. 9 Q7 n+ a) v9 I2 T: d3 t* s
  1437. ; How many bytes to read from the file.4 d( a6 j* c2 W6 A8 K: a1 Y% J
  1438. ; http://php.net/session.entropy-length
    ! ~1 s# K. X1 ~* w
  1439. ;session.entropy_length = 322 M' r0 r7 {" t
  1440. 3 |" C' l2 ^7 M. `; x8 \
  1441. ; Specified here to create the session id.
    * S6 S# Q  r$ U' W& U
  1442. ; http://php.net/session.entropy-file
    . k  {2 O0 ^8 D# ]# S4 a
  1443. ; Defaults to /dev/urandom" P) s* `3 ?4 Z, ?2 A
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom) y$ c+ q+ w$ l% D' |' s, j# X6 c
  1445. ; If neither are found at compile time, the default is no entropy file.1 p% M* P! e2 k3 D# f7 n8 @
  1446. ; On windows, setting the entropy_length setting will activate the
    % t+ y( }. p2 B! N+ S; ?% x
  1447. ; Windows random source (using the CryptoAPI)6 g. f. F, `4 p! g# w: f
  1448. ;session.entropy_file = /dev/urandom
    : u+ n7 ]" T3 m, F2 H% I  C

  1449. ! q" R6 R7 n/ b" \% J+ A
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects' k: F' S2 ]/ ^6 K9 t2 D
  1451. ; or leave this empty to avoid sending anti-caching headers.
    + z: S3 A' Y1 @, e
  1452. ; http://php.net/session.cache-limiter* z+ T4 b  U- u$ B0 d' w/ H
  1453. session.cache_limiter = nocache! l7 i0 G0 G8 @$ Z

  1454. 9 v/ @1 u0 Q% n! y# D6 n8 S' r; q
  1455. ; Document expires after n minutes.
    1 _! `! L4 |0 i1 a
  1456. ; http://php.net/session.cache-expire
      t4 C1 M9 d$ n, E- X
  1457. session.cache_expire = 180
    ( m; j7 n. \) `; D+ c3 y5 ?9 a

  1458. * b; ~$ @, y8 m7 |( E3 w& Z2 ]
  1459. ; trans sid support is disabled by default., ^: l; R: @' }! h+ a8 F4 y
  1460. ; Use of trans sid may risk your users' security.1 h9 o# h* u' g. t( c& N3 @0 x5 w1 A
  1461. ; Use this option with caution.2 A9 J5 |9 U2 b7 L6 m% f- i2 p1 z
  1462. ; - User may send URL contains active session ID
    8 D8 o' p. n& k% A7 H" ^" [8 w
  1463. ;   to other person via. email/irc/etc.3 B( s8 C6 O4 p  t2 W' |
  1464. ; - URL that contains active session ID may be stored
    - t  s4 a# c5 b1 [( H
  1465. ;   in publicly accessible computer.3 g6 x( ^5 H0 T
  1466. ; - User may access your site with the same session ID( x+ ?+ `1 C: ]+ p1 V3 \# U' K
  1467. ;   always using URL stored in browser's history or bookmarks., {2 h! ?4 T1 J" `6 H1 X
  1468. ; http://php.net/session.use-trans-sid
    0 P7 Y( C; Z1 R2 r3 E9 W
  1469. session.use_trans_sid = 0. s9 h; q2 }! V4 N9 [- s
  1470. . d# F. D% r$ y9 S; a/ M
  1471. ; Select a hash function for use in generating session ids.. h/ P' W+ Z: I4 i
  1472. ; Possible Values( N# B1 v2 N9 {6 x$ i) p
  1473. ;   0  (MD5 128 bits)8 x7 D) t' C" i* f/ H# J6 U
  1474. ;   1  (SHA-1 160 bits)& X, T6 C6 z5 K9 O) R. B. K
  1475. ; This option may also be set to the name of any hash function supported by
    # q4 ^4 V" W" f$ J7 w) E7 e
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    % H( @! k8 z3 T, ?- y7 `& U9 p8 }5 i
  1477. ; function.
    6 f2 f$ d7 b+ d; r
  1478. ; http://php.net/session.hash-function9 ^- i: N8 T0 R$ Y; T) \# s
  1479. session.hash_function = 03 j% N3 M% U! f/ f( ]$ M

  1480. ) V; v4 ], d% I' O: ^4 m
  1481. ; Define how many bits are stored in each character when converting
    / p5 I2 `2 ~" X9 _
  1482. ; the binary hash data to something readable.
    . F" }2 N/ u4 R( ?* \
  1483. ; Possible values:
    , |. U8 X4 E) M! d* w
  1484. ;   4  (4 bits: 0-9, a-f)" |' v. g, d. M. j
  1485. ;   5  (5 bits: 0-9, a-v)
    4 c9 P/ j0 k; R# m+ I* M; p5 E
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")" ~3 X# ~3 c/ L' q" E4 C# g
  1487. ; Default Value: 4: M1 M5 J) U0 o" M9 p0 r. S0 x
  1488. ; Development Value: 53 }' h+ [) i) F  m, q* `9 p
  1489. ; Production Value: 5
    $ O3 O; W. o4 p- H/ o2 d
  1490. ; http://php.net/session.hash-bits-per-character
    9 b2 Q& Q2 ?7 a' n  i& r9 j
  1491. session.hash_bits_per_character = 5' D+ n/ K; `5 F: D
  1492. 9 o1 Y; S" F) K
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    . ]/ p3 h0 ]% g
  1494. ; form/fieldset are special; if you include them here, the rewriter will4 G+ \7 Z4 H1 H4 F" [. _
  1495. ; add a hidden <input> field with the info which is otherwise appended
    : b4 Y3 g" Q8 C9 `
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry./ V2 E) `+ g: `/ ?2 @) h5 X" }
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ; |4 |3 o) l; r! i+ W6 s
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    8 e6 g4 }+ g* \2 D. Y  q6 ^" v
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 X: t. t& I) d) `  B% H
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  L! m  z& E2 b8 M2 @2 a  ]( w( U4 V! u2 }
  1501. ; http://php.net/url-rewriter.tags
    8 h! P' F3 `* }" N! s8 w) k
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 I( n' \; w, v
  1503. 2 e/ z  ?6 |+ x- x/ ]7 r) {
  1504. ; Enable upload progress tracking in $_SESSION: ]( u+ ?% c3 p9 o- a: N
  1505. ; Default Value: On* B- B' n; D  \6 }1 i$ ~- E
  1506. ; Development Value: On
    ' z# X9 R* [7 `, z& z( Q" W, t
  1507. ; Production Value: On$ i2 a4 p/ `- K7 `, {9 V% U
  1508. ; http://php.net/session.upload-progress.enabled8 H' j, i4 c+ |! g2 U
  1509. ;session.upload_progress.enabled = On
    ' P! D& ~% x5 P: d5 S) d

  1510. , e7 B4 u) _5 f1 l- X" F/ `$ H
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ; i* S9 T: ]7 j9 x6 z3 N
  1512. ; (i.e. upload completed).
    5 z% a6 n. r- g4 J. E( {
  1513. ; Default Value: On# v  o1 g0 b2 c2 ]4 O
  1514. ; Development Value: On
    2 w5 U' P! s* a! i
  1515. ; Production Value: On  ^( o$ O' l. `6 M
  1516. ; http://php.net/session.upload-progress.cleanup
    / H4 I9 h. s  J% C5 a2 f: d& R  l
  1517. ;session.upload_progress.cleanup = On4 q+ g( W2 ^$ d3 H

  1518. 5 c9 ^& W5 i- D% c. V
  1519. ; A prefix used for the upload progress key in $_SESSION3 A0 K$ ]* I  ]
  1520. ; Default Value: "upload_progress_"
    0 i% b/ W2 \+ s% W; T
  1521. ; Development Value: "upload_progress_"% K2 j  W+ f: C* T1 S/ R6 ^
  1522. ; Production Value: "upload_progress_"7 @7 ~  T# @7 F' z8 D1 b2 R
  1523. ; http://php.net/session.upload-progress.prefix+ X! B8 K; B% C
  1524. ;session.upload_progress.prefix = "upload_progress_"
    3 T4 v; j- t2 i( n* Z8 M& E
  1525. , m, g6 x2 d" O1 Z/ C; M: @
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ; U3 w3 d2 k1 Z
  1527. ; containing the upload progress information
    7 L1 k% d( T4 |" A2 j6 c" F
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"& U/ r+ Y7 y: X2 Q' ], k
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"9 s* o0 m! U) O
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 o# `% c+ Y# U) C/ J# o
  1531. ; http://php.net/session.upload-progress.name8 t+ A# |* Q& y; x( {1 t3 o
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % d5 \/ r2 l+ U- e

  1533. + Z4 W$ Q& n; B/ ~  N: g8 G4 Q
  1534. ; How frequently the upload progress should be updated.8 h% x' u6 b0 ~
  1535. ; Given either in percentages (per-file), or in bytes% Z1 h1 X* B+ r/ Z: u7 s1 l
  1536. ; Default Value: "1%"
    / m* P# K$ U/ I9 \
  1537. ; Development Value: "1%"& j9 h" ^: g/ H6 v1 J/ I
  1538. ; Production Value: "1%"
    . `/ S, q) p8 u% B
  1539. ; http://php.net/session.upload-progress.freq% v4 T1 h2 D# J6 n$ w( i5 B- d9 q
  1540. ;session.upload_progress.freq =  "1%"
    & h7 G& t! ^" L2 I
  1541. ) Q) g/ r7 j/ x' F! r
  1542. ; The minimum delay between updates, in seconds
    0 U8 q3 d# d5 `/ q2 m: ~3 Y4 l
  1543. ; Default Value: 16 g& y! O. N' B/ X; J$ q
  1544. ; Development Value: 1
    5 P7 q0 }5 q: N, A8 G
  1545. ; Production Value: 1
    3 D! a0 l" K. k4 l
  1546. ; http://php.net/session.upload-progress.min-freq
    - n2 i. g! a2 a7 A6 J0 m; P( r
  1547. ;session.upload_progress.min_freq = "1"
    6 ?: r) d! d2 F- c! m5 v- `% M" b: F/ l
  1548. $ E4 i# U; S, s4 D: J% l
  1549. ; Only write session data when session data is changed. Enabled by default.. j  y6 Z1 T/ T9 z2 q0 _
  1550. ; http://php.net/session.lazy-write
    0 ^; v5 _5 i& g7 \# n. L- }1 }
  1551. ;session.lazy_write = On  q7 o6 g( t0 Z0 q- R

  1552. # o5 W" ^8 Q5 U2 d( L4 R( }& v
  1553. [Assertion]$ f/ r3 T, `/ U( m
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)% r0 S8 [7 W3 v* }
  1555. ; -1: Do not compile at all3 Z$ }' \, n* y# L4 v4 j
  1556. ;  0: Jump over assertion at run-time
    # P; }5 \5 F, i$ [
  1557. ;  1: Execute assertions
      y+ a0 B) e7 U' G! t
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    - @  [9 P0 `6 Y9 H4 ~/ w
  1559. ; Default Value: 1# w2 a1 D: I8 C) D, ]. S4 _# W. Y
  1560. ; Development Value: 11 X. a$ \, N0 X9 W( h+ A- q
  1561. ; Production Value: -1
    ; ]+ U- ~) ?" F  u9 l. g, p& Y% j
  1562. ; http://php.net/zend.assertions
    1 l( _4 Q$ l( `  p' u+ r$ S; ~
  1563. zend.assertions = -1
    ) l# u4 h$ N4 G; h( ^% m- d  z9 q
  1564. 0 D4 X8 W2 G9 f6 N% r" Z
  1565. ; Assert(expr); active by default.2 P5 Z' A5 }* B2 q" @! s. u- F5 _
  1566. ; http://php.net/assert.active- X  t% U) D/ ^
  1567. ;assert.active = On
    & s2 L) ~" G; M6 M2 E: }1 Z' e, w

  1568. % O+ n  a; u: I. U; E
  1569. ; Throw an AssertationException on failed assertions
    , ^9 |- Q5 R% D
  1570. ; http://php.net/assert.exception% S  O5 B1 V& j7 R7 j- \
  1571. ;assert.exception = On, c* v+ d0 T0 N  u8 p4 B
  1572. 8 C" K: I& x, o2 Z+ q* J
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)# B8 s, Q! V( x3 d% k
  1574. ; http://php.net/assert.warning
    / u5 D8 I# |2 b- `! j9 |% T
  1575. ;assert.warning = On: S, f' r5 P. y  }8 y8 j: w

  1576. * }5 P& g9 }) [; b. V5 x  p
  1577. ; Don't bail out by default.1 @$ m3 a. u" E6 k  g/ d8 z5 C  d
  1578. ; http://php.net/assert.bail
    0 ?) n+ b1 @) D! r
  1579. ;assert.bail = Off
    8 {8 v! r" b0 q% o2 q0 e
  1580. & z7 j4 \8 p4 [; k9 x# Z; `
  1581. ; User-function to be called if an assertion fails.
    7 X' c) Z: H3 p9 a# `4 O
  1582. ; http://php.net/assert.callback
    / U. L* S+ S) g7 a* V$ S
  1583. ;assert.callback = 0% O, g  S* S+ ?" H/ x; c
  1584. ) a% V9 T( h) C
  1585. ; Eval the expression with current error_reporting().  Set to true if you want! \4 c- @: X) I) I; x
  1586. ; error_reporting(0) around the eval().
    2 b3 P( E# P% `+ Y4 V( }, w8 `
  1587. ; http://php.net/assert.quiet-eval7 C; i& m1 W: _
  1588. ;assert.quiet_eval = 0
    0 P. \0 V. H0 v6 j9 t& A$ t

  1589. 8 U8 @) W: q, T  w" w6 z# _
  1590. [COM]: C$ W( g+ y3 w' z# C0 [8 r3 F
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    + ?  y4 K4 G. b( k1 h* N, |! k. d
  1592. ; http://php.net/com.typelib-file
    ( `" {9 v  M$ \' P, |% X
  1593. ;com.typelib_file =# O, F) M  i$ {7 J

  1594. , N, Q( Q" j, ~( b+ Z9 M
  1595. ; allow Distributed-COM calls
    ; H# t; r9 F! b. {' s6 ^$ Y5 F
  1596. ; http://php.net/com.allow-dcom7 `% ?) i& j3 v  Q, E5 h6 J8 A
  1597. ;com.allow_dcom = true
    ( e2 }. j# ^9 l7 {

  1598. * H  {, a/ \& M! r) @* r* ^  x8 }
  1599. ; autoregister constants of a components typlib on com_load()( j$ I6 s5 M" J" i; |  l1 W5 `; y
  1600. ; http://php.net/com.autoregister-typelib
    3 r6 I3 J7 p: `# n
  1601. ;com.autoregister_typelib = true1 ]8 o; t- {% Z: s  r9 l: S: h7 i

  1602. " a# @2 `+ V1 n* X9 D: f* ?. {
  1603. ; register constants casesensitive
    ; E4 G" ~: N! T2 p! r5 V8 \
  1604. ; http://php.net/com.autoregister-casesensitive
    ' k1 }$ K, q6 o# _& F
  1605. ;com.autoregister_casesensitive = false- \% K$ I( B6 M

  1606. 8 T4 `" J* w- _$ l
  1607. ; show warnings on duplicate constant registrations* @5 X. d& e3 P
  1608. ; http://php.net/com.autoregister-verbose7 V. S' n3 z& y' Y
  1609. ;com.autoregister_verbose = true! u$ }$ {& y; r
  1610. ( w* E: W1 _) y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    5 O* @4 ]/ I5 D. Y) B) j
  1612. ; Default: system ANSI code page( `3 v0 |( X: H8 F2 S( [
  1613. ;com.code_page=
    " W/ Q+ F4 `% q- ~( y. \

  1614. 0 O0 d# y/ k5 _
  1615. [mbstring]
    , |: u9 e! Y' [7 @3 l
  1616. ; language for internal character representation.& b* M, X, a, m2 l6 A, P  i
  1617. ; This affects mb_send_mail() and mbstring.detect_order.1 Y) S" k: c1 _* z
  1618. ; http://php.net/mbstring.language
    " T# d( L+ y1 A1 q1 {
  1619. ;mbstring.language = Japanese
    . K: N* n/ D; b( q

  1620. 2 n. Y) ?  Q5 b. X- J; v6 p- {
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 y4 |, v4 F& v
  1622. ; internal/script encoding.
    7 E3 c1 }  y1 T- y2 I* Y  q4 o
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)6 K* |$ `2 |) }+ Y1 t" {
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. ^- n1 @2 ^- ~+ O4 D
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 l# b4 a8 J' D# p" y" ]0 n
  1626. ;mbstring.internal_encoding =
    ) g* j- W  Q( _: I
  1627. # p- y% ?# L$ P( a/ t( h% d
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) g* j; Q/ }  l6 Y. {
  1629. ; http input encoding.
    / V4 n$ x. e  d# I# h2 G( @
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' K6 z) u, e$ g; o* J9 n
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.  [2 m( ~) \  z1 r6 y. O
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input6 j/ l* j# P) y
  1633. ; http://php.net/mbstring.http-input) ^$ \; ~: c) p' c8 i* F
  1634. ;mbstring.http_input =
    ! F6 E& o, ~' b. C3 G% z4 F
  1635. - h; K# L0 l2 l5 x
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.7 P) B. o# i/ o7 H6 a1 n& s' L4 V
  1637. ; http output encoding.3 u9 j2 [2 m  I) h) n
  1638. ; mb_output_handler must be registered as output buffer to function." ]! T2 w( u- c2 J) P% v
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    / Y7 a/ z* I3 j- n; t
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ l" d6 \/ P- L$ f+ S. `  r( c! t
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    3 {* y+ ]: N3 T* _; T4 k) x
  1642. ; otherwise output encoding conversion cannot be performed.
    9 L5 x% u, r: h8 |0 b. n
  1643. ; http://php.net/mbstring.http-output& y8 f! v# J2 I' A0 b
  1644. ;mbstring.http_output =
    6 U5 w: T+ B$ J& ~9 X6 J0 V

  1645. 6 J  B% j* C- ~& }6 Z5 [
  1646. ; enable automatic encoding translation according to
    , l/ K/ ?2 F: S
  1647. ; mbstring.internal_encoding setting. Input chars are( j& N/ M+ x- U2 c: r' e
  1648. ; converted to internal encoding by setting this to On.
    1 f8 @1 l% N2 A* S: m
  1649. ; Note: Do _not_ use automatic encoding translation for
    : J7 N/ t4 Y  v# A
  1650. ;       portable libs/applications./ h4 B/ H- K4 ~4 b" e
  1651. ; http://php.net/mbstring.encoding-translation
    + D" |$ D& M- N' Z# G
  1652. ;mbstring.encoding_translation = Off, `) C5 f* W" v) S4 G/ ]

  1653. + T0 u+ {7 f5 q1 e7 }4 S
  1654. ; automatic encoding detection order., w$ A- a0 p9 b5 B# x' H
  1655. ; "auto" detect order is changed according to mbstring.language6 w! b" Y5 S" n% }2 Z3 j
  1656. ; http://php.net/mbstring.detect-order
    4 Q8 l9 f4 ?( Y% q, V
  1657. ;mbstring.detect_order = auto
    - M$ m: e( x9 F
  1658. / Y. C3 y4 X$ J6 U& [1 v8 ~/ G. A
  1659. ; substitute_character used when character cannot be converted6 O1 z, @! b- c/ |' z, h
  1660. ; one from another
    5 u; B/ H; o5 R' s
  1661. ; http://php.net/mbstring.substitute-character6 k5 c/ r5 i) h3 m2 |
  1662. ;mbstring.substitute_character = none, v' Q; r# J! d' |
  1663. 2 }9 i/ k: [- `  e5 n6 B  H2 y2 R
  1664. ; overload(replace) single byte functions by mbstring functions.
    ! [2 `/ L/ v  f# b+ m
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 I0 S: k7 H- x! k( V( ~
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.& z& [8 T% c/ n6 U1 Q: |
  1667. ; For example, 7 for overload everything.
    " l2 L7 E" b, L" w$ d8 X3 R, ]
  1668. ; 0: No overload
    + U# R" w& H: h; t  [
  1669. ; 1: Overload mail() function- b% i% U- ?9 O6 |$ n: m0 Q  T
  1670. ; 2: Overload str*() functions
    0 |6 s# z+ R1 L  t
  1671. ; 4: Overload ereg*() functions
    5 i! [  z. F. I- p
  1672. ; http://php.net/mbstring.func-overload( T5 X4 h& t% c) E. o- ^
  1673. ;mbstring.func_overload = 0  u" ], ^: F0 s( L" g

  1674. : @; {$ e# ?" q9 x( I' _1 p
  1675. ; enable strict encoding detection.
    " t3 I4 \7 g- u  M/ u: b
  1676. ; Default: Off
    , g1 q8 R5 P1 H
  1677. ;mbstring.strict_detection = On2 N* O1 o' W$ ^/ A8 H/ p# I
  1678. / P9 x7 G' K' X2 P0 G/ Y
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    " ?9 {4 _' ]* B, c. S5 ^
  1680. ; is activated.$ X* o& c+ K) f7 Q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ; \  P( A, J3 U  e7 g, b3 w1 }
  1682. ;mbstring.http_output_conv_mimetype=: ~9 n% U( ]% O4 B4 z$ E+ I
  1683. * K( b# d' m  i" D8 F/ R5 T
  1684. [gd]
    ' h1 N3 N& I, a1 h
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ( {" J" Y) C: b$ e6 t
  1686. ; a gd image. The warning will then be displayed as notices
    + k' J5 o8 A+ d+ X( V$ N- y
  1687. ; disabled by default9 B! P! I2 N" V# L7 Z5 ^
  1688. ; http://php.net/gd.jpeg-ignore-warning" Y7 j6 X3 Z- V. X: r  ?* I
  1689. ;gd.jpeg_ignore_warning = 0
    + Q) Y/ V! s9 f% e
  1690. - n8 m& u8 ?- n! d0 \  K
  1691. [exif]
    2 }! a6 p: I" p% r( m
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.2 y8 `# |! V. x' Y8 R) R
  1693. ; With mbstring support this will automatically be converted into the encoding
    : b+ `. S( B' k7 K* n
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; n# }* i  `6 H% W# \" M
  1695. ; is used. For the decode settings you can distinguish between motorola and
    1 Z1 l; m) v& z
  1696. ; intel byte order. A decode setting cannot be empty.4 p# X1 n( R8 u; B) u# p
  1697. ; http://php.net/exif.encode-unicode
    + q' \2 z( q$ I3 k" L) I
  1698. ;exif.encode_unicode = ISO-8859-15
    7 e( G8 e7 B$ g4 k+ w! G; o

  1699. & J! e7 ]  \. w$ L
  1700. ; http://php.net/exif.decode-unicode-motorola
    . x' S, I3 E# M1 s! }4 y
  1701. ;exif.decode_unicode_motorola = UCS-2BE4 ]( ?+ |1 F( L/ _4 T6 l
  1702. ; E& C$ {* T, l
  1703. ; http://php.net/exif.decode-unicode-intel
    . p5 ~0 l2 g- j4 W1 N; C6 ?
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    9 H* P/ {4 R" Q: @

  1705. : Y' O5 q( q# s! P+ P* ?- ]
  1706. ; http://php.net/exif.encode-jis  B6 H: i1 i- O/ ]+ ^) c5 d
  1707. ;exif.encode_jis =( b1 e# @5 t) }1 c, z# N# l
  1708. ; ^% h3 P: B0 h
  1709. ; http://php.net/exif.decode-jis-motorola6 r, A! A7 x# N) D$ g/ W$ H4 ^2 |
  1710. ;exif.decode_jis_motorola = JIS6 \7 q' y$ D# X) k# @! b; m. O
  1711. / ^% v: L4 O- r
  1712. ; http://php.net/exif.decode-jis-intel
    5 p# o/ ?3 I6 Y8 N  v' G
  1713. ;exif.decode_jis_intel    = JIS# K. ^; z. w, ~: h8 ]+ a- Z
  1714. 6 V4 H$ R8 y2 Z" A4 G/ m! v+ N8 b
  1715. [Tidy]7 f; s" E/ d7 y; q: Y/ P
  1716. ; The path to a default tidy configuration file to use when using tidy
    & Z6 \: \+ A6 h9 z& M5 y
  1717. ; http://php.net/tidy.default-config
    - c5 M$ \+ y2 r# w  G) T" t0 C5 s
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 ]: s) l- m0 c4 K  |
  1719. 7 m$ d2 k  V7 G  \0 S$ ~
  1720. ; Should tidy clean and repair output automatically?4 v. T# X, ]1 Z% H3 b
  1721. ; WARNING: Do not use this option if you are generating non-html content; a! Y- l3 {+ h- H, O
  1722. ; such as dynamic images
    2 p  [5 _4 h, h! z# ^% H+ q: j1 e
  1723. ; http://php.net/tidy.clean-output
    5 ]- G2 h  N. P: m
  1724. tidy.clean_output = Off
      H2 v# O- @  T; G, {! ?

  1725. 3 ~: i( u! }3 k: e1 G
  1726. [soap]
    6 U' M# b5 I/ F4 g. ?4 g/ R7 a
  1727. ; Enables or disables WSDL caching feature.
    4 e- |9 y5 M8 F4 J5 C
  1728. ; http://php.net/soap.wsdl-cache-enabled: G+ q* @- e* e: J0 _6 n
  1729. soap.wsdl_cache_enabled=1. ~0 H3 m8 {3 N. s/ `0 j4 u

  1730. ; U5 C8 c- U2 H, g
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ( H% ~9 J' v7 r' m( e' R
  1732. ; http://php.net/soap.wsdl-cache-dir7 u) D& S, Y2 P6 M& P+ b
  1733. soap.wsdl_cache_dir="/tmp"
    8 w8 C5 J; H! _

  1734. 7 q5 t2 l9 e4 B# M/ w# T  X9 k
  1735. ; (time to live) Sets the number of second while cached file will be used* r- o/ r/ h9 O% J. {
  1736. ; instead of original one.2 T- M5 R& |9 f
  1737. ; http://php.net/soap.wsdl-cache-ttl% f- g& |( J# O0 M" f9 I
  1738. soap.wsdl_cache_ttl=86400/ b" ^) s* R( _9 C1 a6 h9 c- I( ]
  1739. 9 [* {7 V- K0 d$ A# H4 B
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    9 W: V  F5 j# \5 b( f
  1741. soap.wsdl_cache_limit = 50 {; a9 y! _+ \% v; q& X+ `6 ~. o
  1742. % Y* U  W$ k. I7 ~- v9 Z
  1743. [sysvshm]0 A3 l7 x! [2 w. V& `7 f
  1744. ; A default size of the shared memory segment
    4 D6 y% O+ a: V, `  j4 X/ W
  1745. ;sysvshm.init_mem = 10000
    : g: _3 t1 A2 w" K% Z
  1746. ; P/ T7 O4 k+ c* W2 X
  1747. [ldap]
    ; }' @9 `, U! \4 a! F
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    & b; ]6 K* Z5 l' N; U4 D  Y# G  h  _+ |
  1749. ldap.max_links = -1( G. _1 E" G7 W% ?' L9 ^$ r
  1750. + u0 h; n6 i* R7 ^8 ?
  1751. [mcrypt]/ Q7 y- i! c8 p/ K2 @9 p
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open: \0 _- V- J. n4 f6 I$ V

  1753. 7 N- S0 V. W1 [( W5 A
  1754. ; Directory where to load mcrypt algorithms
    ' b1 r3 n% \( Z1 Z) Y: z# {
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 ]; i- H- O$ ]) v. Q8 h8 w
  1756. ;mcrypt.algorithms_dir=( R; ?1 G9 ?+ g4 ]5 k8 I( H  e0 t% C
  1757. 0 P2 c9 n, \$ O" A3 x
  1758. ; Directory where to load mcrypt modes
    * ?) J! X" U* q1 Y, F3 W. j
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + d; `9 `& l8 m+ S! K
  1760. ;mcrypt.modes_dir=
    ! ^: o: g0 g% d! r
  1761. 2 D/ @* p' j! X1 _( H
  1762. [dba]. u" q8 G, Y' d6 E
  1763. ;dba.default_handler=
    - u  A# I$ X  Z( o8 L7 k5 {  k
  1764. + @: c3 x  q- o% `+ f* x
  1765. [opcache]
    ' R. J9 a1 z# ^& w% o) E
  1766. ; Determines if Zend OPCache is enabled
    5 M7 u; p7 }  I7 F+ D: Y
  1767. ;opcache.enable=0
    / ?% G2 I; Z2 z3 k, s& J
  1768. 5 ?* f: e; l, f# j& |0 f/ ~
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP4 p0 K% X5 P( L* w+ i
  1770. ;opcache.enable_cli=05 |- W8 f1 U- Z; p% ^: {; m- ~2 J

  1771. * v4 [. m" q: N: i* t  K
  1772. ; The OPcache shared memory storage size.( S1 g1 y0 V6 I* ]+ z. J  y  H* a$ w
  1773. ;opcache.memory_consumption=64: z& l3 O% h5 k  e( W5 p3 Z, ^

  1774. 7 F" M8 j% y* t& A
  1775. ; The amount of memory for interned strings in Mbytes.
    4 S9 O) a1 O  H4 o3 s
  1776. ;opcache.interned_strings_buffer=4
    - C- y: Z) ~* A. t' n) a' _; M

  1777. 1 f5 d( `% j, W) q$ [
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    9 [, [' O$ w0 I: L* [" ~
  1779. ; Only numbers between 200 and 1000000 are allowed.
    * @3 v% s, d6 E* b: L
  1780. ;opcache.max_accelerated_files=2000
    ! S% e( R/ v2 i8 F/ i

  1781. - w* z7 U+ s# W0 j5 a- D5 t
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    , u5 J- N. n. [1 Y7 g# o: p
  1783. ;opcache.max_wasted_percentage=5
    , O' T0 b! H9 [: X8 K5 t$ G
  1784. 3 {; D) `8 R1 Z" j! `( X
  1785. ; When this directive is enabled, the OPcache appends the current working
    4 y2 t, Q0 Y" \0 Z  r. @3 q! `" j# q
  1786. ; directory to the script key, thus eliminating possible collisions between% M3 `0 @3 v, o2 c/ D
  1787. ; files with the same name (basename). Disabling the directive improves
    6 [. c$ T" j/ S. l. r# w! O
  1788. ; performance, but may break existing applications.
    4 I$ K3 i# ^5 K: R! v
  1789. ;opcache.use_cwd=1
    $ b* R; N0 r; }9 ~
  1790. ( f4 O+ \: E5 j, T
  1791. ; When disabled, you must reset the OPcache manually or restart the" I# N9 y% P7 l5 e% f
  1792. ; webserver for changes to the filesystem to take effect.$ ^4 g. S0 K+ y, R2 V; @+ z
  1793. ;opcache.validate_timestamps=1
    5 D+ r$ A) i; D0 A

  1794. ( L4 b1 x1 b8 x$ r
  1795. ; How often (in seconds) to check file timestamps for changes to the shared$ p: G: v' q  a* I$ V" R3 E
  1796. ; memory storage allocation. ("1" means validate once per second, but only. [3 G- j! V  j6 W& w3 m2 P
  1797. ; once per request. "0" means always validate)
    $ F6 N6 Y4 u; u- e" g7 {+ N: {& |& m
  1798. ;opcache.revalidate_freq=2
    ! I8 N  S. c' p7 D
  1799. * u. |' Z+ A' Z8 ?
  1800. ; Enables or disables file search in include_path optimization& t) F% B/ i1 D: {5 f. s
  1801. ;opcache.revalidate_path=0" L! q7 [) V- G

  1802. : G9 ?& h3 J0 |/ q7 F' s/ c6 `; p& h
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the, H9 R& \) `1 [; ?# ~9 e& T
  1804. ; size of the optimized code.
    + c( Q# g1 P5 ~, |$ M
  1805. ;opcache.save_comments=19 o. j. F3 r3 \5 O6 @( V' Y# u
  1806. ! V) _; h' s* A# J8 N9 `+ k7 j
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code2 ]* b! z6 q  s. c
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.  ^: x; J) ]- _
  1809. ;opcache.fast_shutdown=0
    1 [' p  a7 O5 [" H! ?1 a
  1810. + }* S0 R  n. L6 |
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    5 P4 x+ z3 C; R9 a
  1812. ;opcache.enable_file_override=0
    5 w* p" d5 s; P0 Q$ X, r& R: W8 N
  1813. ; K8 B, w3 I2 B, Q. Z( I/ d) M
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
      y+ S7 Q2 G, b6 m4 c) m
  1815. ; passes
    6 @/ r' }% \' z) D. i5 E3 P
  1816. ;opcache.optimization_level=0xffffffff( j" o* r+ x7 v& G4 f
  1817. / a: ]: U+ f- M4 U3 W" j
  1818. ;opcache.inherited_hack=1
    : c: ?3 d: V1 U7 Q
  1819. ;opcache.dups_fix=0
    / `& f. U$ Y# D( X8 y
  1820. & q8 d9 I; N# ~/ g7 r- ^% R! A
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    7 G4 y* C7 R5 H+ n8 U
  1822. ; Each OPcache blacklist file is a text file that holds the names of files; G' k% @/ q5 ]3 ^% B
  1823. ; that should not be accelerated. The file format is to add each filename0 }4 `6 [. ^# |0 ~# e
  1824. ; to a new line. The filename may be a full path or just a file prefix
    6 r' k- Q% G0 w! t6 U4 Q) C( U
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , y# j! n8 Q- w' @
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # P! n- Z2 |  M# u
  1827. ;opcache.blacklist_filename=
    4 l3 H1 y) v( q( M4 X5 S: m+ Y

  1828. 0 P- w& j; N$ A- R1 Y% ]
  1829. ; Allows exclusion of large files from being cached. By default all files
    3 m6 h' @4 s# C1 A% n* U
  1830. ; are cached.
    4 O5 h/ ?8 F! A) T& n/ R- n
  1831. ;opcache.max_file_size=0! s: v0 D' a. c# v8 P

  1832. - D) m+ o" ~7 v! o0 C
  1833. ; Check the cache checksum each N requests.
    ) w6 q( j( L! Q. k- ~" j4 _2 t& l: v
  1834. ; The default value of "0" means that the checks are disabled.
    5 S) |" |2 \1 y+ Q
  1835. ;opcache.consistency_checks=0
    2 a4 M& `; _' ~* ]" c7 F1 p9 G
  1836.   S2 J* N$ E' Y' L  `& m
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache* c2 {9 Z, l" R" `0 `! q8 F
  1838. ; is not being accessed.1 J. O: l: u# Q' I
  1839. ;opcache.force_restart_timeout=180" j, E1 Z! C2 ~7 |1 e2 z  v
  1840. , T& S, {+ o  d- U3 E
  1841. ; OPcache error_log file name. Empty string assumes "stderr".  S. U5 j: Q5 h& D
  1842. ;opcache.error_log=
    " a5 w: |/ y) J& e% a( P
  1843. - Z, ~/ t. [( w: w9 D% Q! r
  1844. ; All OPcache errors go to the Web server log.; K0 [, ^" I" C  Y9 ^
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    * T# P. I0 t% S9 C  H% g
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    9 K2 k6 T  B7 q* p/ G
  1847. ; debug messages (level 4).  P, r/ ~7 y8 C1 t
  1848. ;opcache.log_verbosity_level=1* {" e( T' m9 X+ b* X8 ]

  1849. ) |4 I) g; `. _/ v5 r4 S' z7 E
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: e, i9 X: i6 c, Z  J8 h
  1851. ;opcache.preferred_memory_model=
    / J4 a7 @; m8 ]! E) e

  1852. ! X2 {) f. D" n0 x7 M* i1 }
  1853. ; Protect the shared memory from unexpected writing during script execution.
    " Z+ I+ d& P4 V0 A' k# Y9 ]6 V
  1854. ; Useful for internal debugging only.
    ( \0 r  @; [* r
  1855. ;opcache.protect_memory=0
    ) B  C' c* m" E

  1856. ' G- Z/ d# W1 R$ d& @
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is$ Y2 |( r$ g6 ]' w% {3 W# n
  1858. ; started from specified string. The default "" means no restriction
    7 K' Z) C, g  [2 c
  1859. ;opcache.restrict_api=. H" V" [% l3 G
  1860. 8 K& z# C2 ~: p4 v0 B% u6 n" r4 h
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP2 i) t1 |) d# S/ W7 @8 Y- l7 @2 z
  1862. ; processes have to map shared memory into the same address space. This
    : f8 D  K. B. @( b
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    , h  X9 X" a" d: S( j
  1864. ; errors.0 ^9 f- T: }( n% d0 P2 m
  1865. ;opcache.mmap_base=
    4 w& p* P3 f  X
  1866. 6 x: t! ^8 g' |" \  @; I
  1867. ; Enables and sets the second level cache directory.
    $ E. ^1 u, L; s2 S$ v
  1868. ; It should improve performance when SHM memory is full, at server restart or
    0 E8 j% ?5 \; j6 m/ n& Q% c
  1869. ; SHM reset. The default "" disables file based caching.
    " }! S& Y: e6 b3 H8 o
  1870. ;opcache.file_cache=/ u6 }& i6 ~0 i( D! m
  1871. 5 L1 S% O0 P* d% I0 Y$ h9 p% a! z4 L( @( e
  1872. ; Enables or disables opcode caching in shared memory.4 [( P" F5 C/ q! J' ~/ e5 W+ J
  1873. ;opcache.file_cache_only=0
    : o! O5 R7 I. B) f
  1874. . o1 t4 |! K$ P- C* M% s
  1875. ; Enables or disables checksum validation when script loaded from file cache., @8 S( B- r0 k+ W1 B. p* s
  1876. ;opcache.file_cache_consistency_checks=1( {' B, `$ ~/ W7 t

  1877. , x" i  o3 d1 g# q  q
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to: ~& {; ~" T* ]  I5 P
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    & N- t/ N/ R$ T- h' G
  1880. ; cache is required.
    : a4 l8 c7 M7 E2 f
  1881. ;opcache.file_cache_fallback=1
    % ]4 @  P# |/ J, r

  1882. 2 S: V2 j4 }% K# }9 e
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    : @: g; w# x. |: k
  1884. ; This should improve performance, but requires appropriate OS configuration.
    6 _7 [+ N8 c3 h; V8 `
  1885. ;opcache.huge_code_pages=1
    # |, f" U7 p, L
  1886. 2 t# R# `0 `7 j+ I0 `9 M
  1887. ; Validate cached file permissions.% j/ D6 W/ b9 H
  1888. ; opcache.validate_permission=08 q8 p( i8 h3 r( H) |1 b6 a
  1889. 6 ~9 H% \. Q  l5 g/ V+ ^
  1890. ; Prevent name collisions in chroot'ed environment.8 K# ]# h  N8 I! b; A4 f* i
  1891. ; opcache.validate_root=0. p2 z( Y! X$ A3 a/ h2 U
  1892. . r" p1 ?$ J! _4 B$ [
  1893. [curl]$ ?$ G0 h: x9 x$ q% X: |# l6 t. K
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    3 W& w% [% t5 y9 k
  1895. ; absolute path.
    * G# p& N* ?* h% H7 z, S' f+ C7 _
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 D5 \- ^# q& B+ o& S! b
  1897. ' ?5 n1 `  G) @+ {7 ]5 ?/ J
  1898. [openssl]
    7 b& N' c' E, _7 ~" }: g
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem2 l9 F2 v( M1 O
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % h! _5 Q  ~( z0 l
  1901. ; not specify a value for this directive as PHP will attempt to use the
    0 u/ Y2 d# `9 Y2 p7 J
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    2 y2 T  B; N6 ]$ z) y3 e9 u
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 d( Q3 @! K  P& p1 K& V
  1904. ; option.* i( h: c1 i. n  z* s& N7 q' G
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    7 o) P$ n" O; W& \; m6 Y7 ^

  1906. 2 P% A; Z. A9 E9 h  ?* t( `: I: I7 L
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the8 S& v$ \  z7 Y  l% `1 r* `4 g
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    % J4 r5 Q2 A& y3 {
  1909. ; certificate. This value must be a correctly hashed certificate directory.4 v+ `& ^. `- t6 l3 o1 Z' H: H# P
  1910. ; Most users should not specify a value for this directive as PHP will
    : U/ W# M7 h4 l+ o/ ?9 F
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    9 Z0 G: D4 [! u- @
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ! V; o: z7 v3 z& \1 P4 E" Y
  1913. ; SSL stream context option.  X8 ?* E% J0 M3 ]. @
  1914. ;openssl.capath=
    0 `0 Q/ o+ J: U0 V' I
  1915. 2 Z6 d$ K' Z' }4 o0 y% S
  1916. ; Local Variables:* T$ {8 y# S9 c% I
  1917. ; tab-width: 4) s1 _$ W& \5 p# G1 f
  1918. ; End:
    8 Y9 g+ f: I6 k& W! F2 z; F
  1919. ' w% X: z# j  V: b* Z; [
  1920. ;eaccelerator
    * L8 D3 w* n# e6 N5 E' B
  1921. , y6 c% |) n( i
  1922. ;ionCube4 B( L- u  D6 O; P7 O4 F" x$ B
  1923. 5 `+ C5 l7 ?# L6 g" `# n
  1924. ;opcache! x+ V7 h) ]! l3 j6 B0 T, K# v' c  E
  1925. ) x. f/ D+ K8 u3 Y
  1926. [Zend ZendGuard Loader]6 y2 R; X; Q- x& u1 ?- o
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    $ T: h4 Q) B4 v* g' a2 x
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so8 O8 k7 r! [( g$ t$ ~: ^% b
  1929. ;zend_loader.enable=1
    ) _  l1 M" X5 e, ?& T
  1930. ;zend_loader.disable_licensing=0
    % F' _  V/ g7 x1 x% W
  1931. ;zend_loader.obfuscation_level_support=3
    1 j, z7 W8 k/ ~- s2 Z' f
  1932. ;zend_loader.license_path=  J' d: F( a( f. R" a

  1933. ) f% e1 ?7 W! ~0 a3 X
  1934. ;xcache8 n2 i3 _" s/ P4 g8 J& `

  1935. ! c/ V: ?8 U' G! w: ^, s8 d
复制代码

4 y! H( D2 Q9 q' m# \( m( }0 T% _2 h, e8 N1 s  a
" m) e# g3 I. B! Q

, F; G6 v3 U2 r7 t% _  O: Y" M8 w
" V# _% B# X4 \$ T0 d3 f* s& A4 C# ]2 y, p$ B! i/ Q% ]
9 y$ h. u; o" T; T
PHP5.6版本原始设置( M, y# g' Q! e: L: K- d

9 ]- D' Y1 m  Q
  1. [PHP]
    ) j6 |& F. E& v( ]

  2. ( X# M, r. c- y. k# [
  3. ;;;;;;;;;;;;;;;;;;;
    3 f. @6 W- T( R% w( n8 ?; u) I
  4. ; About php.ini   ;) B2 D! M4 z( ?2 T, p/ f# Y9 n
  5. ;;;;;;;;;;;;;;;;;;;
    1 A  d! T0 z5 s2 w. P
  6. ; PHP's initialization file, generally called php.ini, is responsible for1 N8 [- [$ j6 D2 s4 L# n
  7. ; configuring many of the aspects of PHP's behavior.
    9 j, D3 i  \1 W
  8. : k  z+ I* i$ N3 R" h( g$ b$ _
  9. ; PHP attempts to find and load this configuration from a number of locations.2 e( w, d2 w3 I9 O5 x1 ~
  10. ; The following is a summary of its search order:
    : [$ F3 p7 f4 ~) |7 q, J
  11. ; 1. SAPI module specific location.
    0 E) S' E1 s; i5 ?! M& z9 p8 B! n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
      w7 q/ T! m' u" [0 p1 j
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + E' W3 ]! S& e! D1 r3 y' a
  14. ; 4. Current working directory (except CLI)
    ; w# W8 S) f% H1 f6 j% i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP2 J; B! b( O- H! K
  16. ; (otherwise in Windows)  P8 B- g& u: s7 n" L( D( P
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : A4 j  t7 j6 e3 F! |4 d$ j) b
  18. ; Windows directory (C:\windows or C:\winnt)$ o  k" O" C8 F, O( \0 L
  19. ; See the PHP docs for more specific information.
    6 K6 r' r* ~' |$ g& G8 o
  20. ; http://php.net/configuration.file' c0 u6 j& m& U6 k2 N4 h
  21. ' ]9 e! g: M; o0 O7 |  o
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, d- H. T  w7 N( z8 w
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    0 X. L: S, Q1 e  `8 [5 x% O
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though% f# A: k2 r/ F  \% B
  25. ; they might mean something in the future.& d$ ~; {' P' r% P* A: I. d
  26. 4 \4 J6 l; [- P9 c6 B
  27. ; Directives following the section heading [PATH=/www/mysite] only& p5 ?. f$ G3 d7 T2 z  P. P1 m) O
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    1 k) U+ T. u% [4 p; ?& p! c3 y
  29. ; following the section heading [HOST=www.example.com] only apply to( `, Z  |3 n4 O  E( F  K4 x& r
  30. ; PHP files served from www.example.com.  Directives set in these: I5 I+ Y) B% _$ E
  31. ; special sections cannot be overridden by user-defined INI files or8 G. t+ Q/ x3 q0 K9 _
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 h; @1 q3 Q# P' r: Y0 w
  33. ; CGI/FastCGI.
    4 f& l4 ]; V' N' |" f# J
  34. ; http://php.net/ini.sections
    % r) @+ Z2 y/ d3 H. R

  35. " C# J  K+ g) l( {* i
  36. ; Directives are specified using the following syntax:
    ) H: |5 N2 R- l5 o9 [$ d2 ~8 Q
  37. ; directive = value
    + b6 y4 o5 L+ X1 m
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    - k1 U% U- e" f% Z
  39. ; Directives are variables used to configure PHP or PHP extensions.
    - m% C+ q7 d1 _1 @7 L% e3 a
  40. ; There is no name validation.  If PHP can't find an expected* l! o9 y# J" H: @5 ?- R
  41. ; directive because it is not set or is mistyped, a default value will be used.5 P8 o" ]- d# r* M

  42. # e( f6 }' e8 P9 `3 k5 `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    1 _- N3 \( k# z/ q+ U! f
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression& r8 c8 ~* l( K$ _$ t
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a7 q4 {0 I. v6 P1 w. A4 _+ @+ _' w
  46. ; previously set variable or directive (e.g. ${foo})
    ( r7 h  t7 |2 k" [) [
  47. ! j% r8 U: D; h* `# I0 f: l4 E
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:+ j7 V$ C/ X' t: f
  49. ; |  bitwise OR1 U. r0 o7 A  C9 a
  50. ; ^  bitwise XOR+ M9 @; Z) Z% z& S0 L
  51. ; &  bitwise AND
    4 t) o1 h8 j7 L7 z7 R0 E- p* m
  52. ; ~  bitwise NOT5 m* `) m6 k! q2 i# l$ }$ t0 s
  53. ; !  boolean NOT
    & v" O& `! W8 W/ L( Y1 i5 U
  54. / Z- W2 Q5 ]0 \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    & [3 r" }1 h% A. F
  56. ; They can be turned off using the values 0, Off, False or No.2 I9 _2 q  W, I$ f6 v. \9 c

  57. 9 O; [9 z% L2 u9 O5 s3 O
  58. ; An empty string can be denoted by simply not writing anything after the equal6 Q( N9 y6 a8 k; d. q7 b
  59. ; sign, or by using the None keyword:
    ; S6 J) N. P/ N

  60. ) O- _( p, ]2 g# N1 C. `; @
  61. ;  foo =         ; sets foo to an empty string
    ' g1 X3 v& y2 e% u! p; B+ i
  62. ;  foo = None    ; sets foo to an empty string
    2 F- h) T0 c! L$ s/ {
  63. ;  foo = "None"  ; sets foo to the string 'None'& r# I. ^& v4 Q% m/ P) ~
  64. - C0 f. j+ N& {, H, Z- e1 X
  65. ; If you use constants in your value, and these constants belong to a# c/ ?* _. S+ q+ E4 X9 z
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & @" W) e! Z2 }3 D! }9 M, `
  67. ; you may only use these constants *after* the line that loads the extension.
    % d1 R; n% \/ n+ L' T

  68. 1 r% Z/ m/ r1 `1 m6 A/ S1 D
  69. ;;;;;;;;;;;;;;;;;;;
    " \2 Q& k3 D( @& V% E$ Y
  70. ; About this file ;& Z7 m  c$ a6 ~0 t3 Q& [  N
  71. ;;;;;;;;;;;;;;;;;;;$ i- _8 L/ y$ U  C9 ^) l2 r4 S  a# Q0 A
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    0 A  c3 V3 i& f; h& Q
  73. ; in production environments and one that is recommended to be used in
    % z! t! \: ?( R$ G7 t4 o1 J
  74. ; development environments.
    & x# _' B) C  u  e2 T$ @

  75. ; W$ Z5 ^# f9 u
  76. ; php.ini-production contains settings which hold security, performance and
    / _; Q  S; ]1 N7 i" [5 P* S
  77. ; best practices at its core. But please be aware, these settings may break
    3 Y" d4 |& G+ a/ \
  78. ; compatibility with older or less security conscience applications. We
    9 p7 l6 E! L2 f7 R2 Y8 k) ]3 J* b
  79. ; recommending using the production ini in production and testing environments., H2 ^: n0 e" C7 n

  80. ! |& u  S  H% }2 p! M5 p
  81. ; php.ini-development is very similar to its production variant, except it is9 @$ J% T3 H& ^+ t7 W+ h
  82. ; much more verbose when it comes to errors. We recommend using the" Q% i9 \- K" I
  83. ; development version only in development environments, as errors shown to4 c6 C: l# w$ |. e" o% P" h
  84. ; application users can inadvertently leak otherwise secure information.
    ' R' S; \) G6 \+ H; T6 W0 u3 ?
  85. . \% ]; a. O0 W4 J4 ~4 S
  86. ; This is php.ini-production INI file.4 ]9 d! D' D% I  L' R
  87. 5 w/ \7 M( P, A# W$ J- H( Z3 _
  88. ;;;;;;;;;;;;;;;;;;;
    % w  _& H- D$ K' E3 {8 `' G
  89. ; Quick Reference ;
      H" m: c  t9 b8 F' K
  90. ;;;;;;;;;;;;;;;;;;;
    & [) C5 U  K0 n+ L. T
  91. ; The following are all the settings which are different in either the production
    + e/ S8 ]1 Q# h0 W; b7 X
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 h3 x8 O: e. J4 M  n
  93. ; Please see the actual settings later in the document for more details as to why
    4 H4 q6 {* P2 V% c1 g& T" }6 Y
  94. ; we recommend these changes in PHP's behavior.
    1 I, ?3 J/ y% C( o- ~4 z! C

  95. : [0 |- [4 W$ G- r
  96. ; display_errors
    " _: y) C: f; [. v& Z$ r
  97. ;   Default Value: On
    5 q$ _1 L% _6 s' a% y1 z9 ~
  98. ;   Development Value: On" y: \+ t( |& J6 I, [: L4 r
  99. ;   Production Value: Off
    $ Q, u! g  S5 w
  100. ' O& Z. Q- Y& r+ q$ E2 e/ E
  101. ; display_startup_errors6 |- Y, L4 U& B8 R8 I/ m, J4 \
  102. ;   Default Value: Off
    ) s! V! Q% _* X  C* g# ]1 _2 g
  103. ;   Development Value: On
      m/ t; O- h/ O* V3 g& r
  104. ;   Production Value: Off
    / i2 Q9 T. |% }9 x2 C

  105. 5 i! n0 K9 m: _" m' _
  106. ; error_reporting6 |! h! ]- A, I# s8 x
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' o  o: ~& r$ y: V+ |
  108. ;   Development Value: E_ALL0 p0 t+ Z0 g( L: B, O- G# D4 {
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / p% b- J% g1 u6 Y$ H/ L

  110. 1 ?7 W, i8 V8 n8 J- J
  111. ; html_errors4 `5 ?* a' z. }0 r9 t8 `
  112. ;   Default Value: On
    ' i1 u4 B7 ]$ u' W6 g
  113. ;   Development Value: On
    5 t4 `6 L( T( M, T& i
  114. ;   Production value: On
    " Q! C8 C4 ?2 y6 H6 @( k9 h
  115. 5 B4 v7 n" u* i& h( b
  116. ; log_errors0 O7 H0 k; a5 t5 l# S
  117. ;   Default Value: Off( L2 d' ^+ W  l" V2 d* q+ @- O
  118. ;   Development Value: On1 i, |# a4 \& J, H4 C+ ?& c
  119. ;   Production Value: On, T' ^  Q) c9 S

  120. 4 u2 J8 a7 \; @8 f
  121. ; max_input_time
    5 X8 p* v" D' g# j, [# B
  122. ;   Default Value: -1 (Unlimited)4 m# C; C% _3 n4 b+ V
  123. ;   Development Value: 60 (60 seconds)
    * }2 W( m$ ?' P
  124. ;   Production Value: 60 (60 seconds)
    # x( V( P. S( [

  125. # x+ A) Q  y( R! I9 ^" z
  126. ; output_buffering
    6 H$ `& ~9 i2 ~9 \3 v  N+ w
  127. ;   Default Value: Off
    % }/ n1 I8 c; Q* X: `
  128. ;   Development Value: 4096
    9 p1 ?) G9 Y+ d! Q, t; K3 q/ l; T- S
  129. ;   Production Value: 40962 v7 ~, V# \- h& Z& B) a& d

  130. 6 ^# Q, `9 j! j% ~0 d
  131. ; register_argc_argv- y  K( q8 v) ~0 g2 F4 Q7 ]$ D
  132. ;   Default Value: On8 w/ y* L/ l; T$ t" a! p1 e
  133. ;   Development Value: Off4 x6 E% E/ ^9 o
  134. ;   Production Value: Off
    0 U8 E3 K- I, e$ X8 L9 O' k) J( @% [
  135. 6 @+ W: n$ {" x4 T
  136. ; request_order0 s$ C# ?% u: a, c
  137. ;   Default Value: None. r( V$ |. C$ X  I6 p9 T3 P2 t" N
  138. ;   Development Value: "GP"
    % A% |3 V( F$ D7 A( }4 @/ j; g: g9 c
  139. ;   Production Value: "GP"
    7 G8 }' [* ]0 j
  140. 1 G: V- A1 t4 q5 n) n5 R& B
  141. ; session.gc_divisor$ z+ C  r6 i9 X( J9 m+ F; S' x
  142. ;   Default Value: 100* ^0 h3 {& B0 X
  143. ;   Development Value: 1000
    7 v7 t7 Y: p, N
  144. ;   Production Value: 1000
    - ]' R) g. `" S$ M! \
  145. # f1 X) S7 J* a9 T
  146. ; session.hash_bits_per_character
    / a2 p8 U7 q/ u6 P
  147. ;   Default Value: 4. s( @( }1 h5 A( s! h
  148. ;   Development Value: 5
      f/ _2 R0 G0 A  C6 M% y
  149. ;   Production Value: 5
    1 Z: C6 N3 `6 d  N7 l3 J4 |
  150. ( e; S) ^- k6 F  Q8 h
  151. ; short_open_tag
    # g9 V/ b1 ~) m! a' l) z( Y0 v0 [
  152. ;   Default Value: On
    # s# g9 B1 S/ U5 P  i0 J
  153. ;   Development Value: Off
    ' y* M- @" B; h5 c' Q/ b! D
  154. ;   Production Value: Off
    ' ^# r' y2 a- ^
  155. : o; O" z( X0 Z( g. b" U: p
  156. ; track_errors" D4 a% O+ T8 q5 f4 x3 M9 D
  157. ;   Default Value: Off
    6 p" \% P/ h- I  {" i" e$ a
  158. ;   Development Value: On
    - ^2 P9 \  o4 Q
  159. ;   Production Value: Off
    4 ^9 k6 {3 a  a4 T. }2 p3 @' k
  160. 5 L, n1 {4 ]" U2 R
  161. ; url_rewriter.tags; Y% N) W2 g( D, t: z6 G
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="8 G& \( Z" D8 t& \
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 E! H# o+ A- V; n. h
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ @) o) A. J1 \, y: K

  165. ) r0 L) N, b" D9 S
  166. ; variables_order
    3 e' X& y+ u1 P! V" S8 I: d
  167. ;   Default Value: "EGPCS": g" E! K2 A0 h: G! A' @
  168. ;   Development Value: "GPCS"6 S$ l- H% Y& ~8 J+ T2 _
  169. ;   Production Value: "GPCS"
    3 t- c/ d( k: o' ]8 n
  170. + E- \$ y/ w* d
  171. ;;;;;;;;;;;;;;;;;;;;
    + E: y& \. P1 U( g/ L
  172. ; php.ini Options  ;/ v, \* d  I1 J( b* i
  173. ;;;;;;;;;;;;;;;;;;;;0 u  h. b8 ?( M" B! \
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"0 a4 m+ E3 u( ]( h  ~# i
  175. ;user_ini.filename = ".user.ini"# J  @( j. C, j4 X& o1 Q

  176. 9 Q* ~/ R- v* W* I
  177. ; To disable this feature set this option to empty value
    2 z& [3 J- S0 b% \, V) J  e' m4 ?
  178. ;user_ini.filename =# w2 y0 W! T; K' M% B
  179. 1 v* |9 Z4 P0 q  O
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); T6 w6 m  c. v
  181. ;user_ini.cache_ttl = 300) {: W: P5 f+ g! Z. D# _
  182. + ]0 Z. u# p9 v- G$ p: {  t2 A5 t
  183. ;;;;;;;;;;;;;;;;;;;;0 Y  {9 v1 {+ d! M
  184. ; Language Options ;' l; G% h) e  x0 z
  185. ;;;;;;;;;;;;;;;;;;;;
    5 \5 m3 a1 _* p3 F* E) a( O% Q; {

  186. % T# \1 y4 l* W& b: |
  187. ; Enable the PHP scripting language engine under Apache.
    4 d9 O% G8 n2 H( M3 d* R9 n. w
  188. ; http://php.net/engine+ M0 h& m' z) @( p- F2 Q5 R
  189. engine = On
    " ^" `9 G2 c( H! o
  190. : e) ^9 q( X# ~2 n8 [" l
  191. ; This directive determines whether or not PHP will recognize code between
    2 W8 F. {5 T3 q: T0 C7 f+ d8 X, f
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; o2 D* n9 o" E  ~/ G) p( @9 O- b' H2 P
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 F9 w: l+ F$ f6 ], y
  194. ; should be disabled, as enabling it may result in issues when generating XML. ~7 U8 z: l4 _0 _  e; t5 l6 O
  195. ; documents, however this remains supported for backward compatibility reasons.5 }  z( T# m( F
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ( z. `+ g, {1 Y* E7 [6 a
  197. ; used regardless of this directive.; B" H: |! i' d& i' {$ Y
  198. ; Default Value: On* v; A) O5 ^# B9 I5 v1 C3 Q) Q1 c
  199. ; Development Value: Off. S$ }# k, p+ v/ ]) L! `. W% l
  200. ; Production Value: Off) b* m8 F4 v+ ?0 W; l/ @& `( c* l; T
  201. ; http://php.net/short-open-tag
    1 O, `% j9 w1 O
  202. short_open_tag = On( I/ d! o, n& c7 g

  203. / ~7 Y, ?7 {# _0 b/ f% E4 p
  204. ; Allow ASP-style <% %> tags.
    % O) o' O9 b6 q2 ?. H, A
  205. ; http://php.net/asp-tags7 l9 T& ~8 p4 V5 f' r8 Z
  206. asp_tags = Off1 n& ?1 G# V! H" L* c0 v- v

  207. / _3 c% r, O2 p% O- q. P- }$ y. J0 Q
  208. ; The number of significant digits displayed in floating point numbers.4 }  H" N: Y' Z1 S4 i) a
  209. ; http://php.net/precision$ a! A! z* W* l1 v/ H+ f) x
  210. precision = 14
    4 j( I% F) r7 A
  211. 1 O& X6 Q6 ?. ?4 w+ `) ^. E
  212. ; Output buffering is a mechanism for controlling how much output data5 ~7 z! J1 Y6 @0 U) w
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 q; G. ^) `: f
  214. ; data to the client. If your application's output exceeds this setting, PHP
    4 s& x0 }, m  [' ]
  215. ; will send that data in chunks of roughly the size you specify.2 }# q$ \0 r# Q
  216. ; Turning on this setting and managing its maximum buffer size can yield some- m( A# J' o" P' [# M9 b$ W
  217. ; interesting side-effects depending on your application and web server.
    & b  s" e" t8 |' @5 f9 f$ p4 ^
  218. ; You may be able to send headers and cookies after you've already sent output1 ?& t2 |# P8 t- a3 N0 o. s/ |
  219. ; through print or echo. You also may see performance benefits if your server is$ h. d) H4 a8 \
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    , n/ S1 T9 {5 F% u
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 d8 i( W) ^3 X- k7 I
  222. ; reasons.7 ?" [- f! F5 e
  223. ; Note: Output buffering can also be controlled via Output Buffering Control, i* g, o9 b5 q: U' m3 y
  224. ;   functions.
    3 ~7 A/ c$ Q8 E% Q! N
  225. ; Possible Values:
    9 u# u3 U+ i9 I2 c: W
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + N, J9 |( X( n1 ~6 ^  E
  227. ;   Off = Disabled2 L% P: X6 F& n6 t$ P! n
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * a. J0 m. d. \1 y9 [8 Z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + u% H+ ?- a8 d# l2 t% D; }
  230. ; Default Value: Off
    - @1 K' \& {- W1 b! h+ \
  231. ; Development Value: 4096
    3 r# P, C7 D' M% x
  232. ; Production Value: 4096# c# T6 M6 z' j; B# j2 f
  233. ; http://php.net/output-buffering
    * g8 y3 e  @, G, R
  234. output_buffering = 4096
    : v" W. r! L$ E5 {+ |
  235. 6 [  j+ _1 M& t$ b% L  w  r# o; ~
  236. ; You can redirect all of the output of your scripts to a function.  For: i' u! M: T1 ^! O# b# e6 O
  237. ; example, if you set output_handler to "mb_output_handler", character
    5 X8 V( [8 z- U
  238. ; encoding will be transparently converted to the specified encoding.* z9 A& {' t1 y: f
  239. ; Setting any output handler automatically turns on output buffering.* h/ a" s+ K& E. t5 r# W
  240. ; Note: People who wrote portable scripts should not depend on this ini
    / }0 W* r: Z$ G
  241. ;   directive. Instead, explicitly set the output handler using ob_start().# Y& `% T5 [. K% {9 n) U* {
  242. ;   Using this ini directive may cause problems unless you know what script( w. x* F7 X+ x& b& C
  243. ;   is doing.0 x, H- V. A8 ^7 I
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"# T. i1 Q  X2 p
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 L& O; f# z  F' {: p
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    # Q# Q, i) f4 f1 r7 E7 z
  247. ;   Instead you must use zlib.output_handler.3 s& O! |: g: ~( i
  248. ; http://php.net/output-handler
    * h. t% M8 k* }+ v7 Z" h' }
  249. ;output_handler =1 P+ z; S0 k) q6 Z) Y5 \; c

  250. 4 G& T, G9 W; T$ J7 Q: V2 J
  251. ; Transparent output compression using the zlib library
    7 V# i6 P. w, D7 y" R' I4 ^
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size4 I7 a  [6 C( W3 T$ |: R- q+ m
  253. ; to be used for compression (default is 4KB)6 y3 Y' q4 U2 t% }0 s
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    5 x9 M9 l3 |6 ?! h
  255. ;   outputs chunks that are few hundreds bytes each as a result of! x  U: _  E+ G
  256. ;   compression. If you prefer a larger chunk size for better# |6 Q1 s7 P5 d$ _
  257. ;   performance, enable output_buffering in addition.* W7 F3 q* f( o+ C1 h
  258. ; Note: You need to use zlib.output_handler instead of the standard: |! K. o8 g0 B$ f, a0 v, R
  259. ;   output_handler, or otherwise the output will be corrupted.
    / m5 [, d2 H% |8 t
  260. ; http://php.net/zlib.output-compression  u9 f' B, Q, O  {. L, X9 ?" j
  261. zlib.output_compression = Off
    . |- @# G" L2 J

  262. + j( a: {/ h* C& o, A+ ?
  263. ; http://php.net/zlib.output-compression-level+ t. F2 [  [; R* F+ ^  `/ o4 k
  264. ;zlib.output_compression_level = -1
    % Y4 i0 t3 G' M' Z+ c- a: S

  265. ; p- u7 S  b  D9 w4 U/ ?4 Y
  266. ; You cannot specify additional output handlers if zlib.output_compression
    4 j+ S3 ], R3 v
  267. ; is activated here. This setting does the same as output_handler but in. ]: l: Z* k6 B" l
  268. ; a different order.
      q$ l) l7 s  u/ S
  269. ; http://php.net/zlib.output-handler
    ( `! I( L, p# p3 R% D
  270. ;zlib.output_handler =" w: b1 F; s0 e" a3 {; _

  271. * B, N8 x7 q3 N, |; b. ]
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    : B1 h3 F9 m! k( L
  273. ; automatically after every output block.  This is equivalent to calling the
    1 E; }8 |3 ^  f2 u- |
  274. ; PHP function flush() after each and every call to print() or echo() and each
    2 n0 s7 ^% Y8 n$ U
  275. ; and every HTML block.  Turning this option on has serious performance
    + [8 G, \' }' H7 R
  276. ; implications and is generally recommended for debugging purposes only.2 V5 {) b4 N/ y8 ]1 |
  277. ; http://php.net/implicit-flush
    1 S, [6 P. @: A4 w" _( Z) k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI, C) L/ [* D2 N  m
  279. implicit_flush = Off' U9 y: ]4 p# l" ~( M' h
  280. 1 M: q3 I1 L7 E8 Z
  281. ; The unserialize callback function will be called (with the undefined class'- V* j4 l/ H/ X9 C# Z' ~
  282. ; name as parameter), if the unserializer finds an undefined class9 l! y4 X# P# Y( m
  283. ; which should be instantiated. A warning appears if the specified function is0 X0 m. @2 y% m: G3 {6 M
  284. ; not defined, or if the function doesn't include/implement the missing class.$ Z/ r; c& w: c! H8 E, p! k( i
  285. ; So only set this entry, if you really want to implement such a* u: b* q9 g2 o
  286. ; callback-function.4 w' |; E$ M+ X  @+ x- L
  287. unserialize_callback_func =. I9 t+ o  N9 i
  288. ) ]* p  h* j2 J
  289. ; When floats & doubles are serialized store serialize_precision significant
    / u  ^. v5 [- V0 D5 A+ Z5 A
  290. ; digits after the floating point. The default value ensures that when floats; C* i/ q2 [0 Q, ^0 A- T2 C
  291. ; are decoded with unserialize, the data will remain the same.. \  M% @1 \8 \& H# c
  292. serialize_precision = 17
    # o; H5 E/ L  r: q5 `

  293.   C  b- r8 w- R9 z, A* p
  294. ; open_basedir, if set, limits all file operations to the defined directory' r, a$ y/ K8 B8 v* n' N3 W( X
  295. ; and below.  This directive makes most sense if used in a per-directory
    , Z8 W9 `# t% j
  296. ; or per-virtualhost web server configuration file.6 j* P3 H2 ~4 {( m- z
  297. ; http://php.net/open-basedir6 M( z* c; m- B) ~% W/ {
  298. ;open_basedir =" L. [7 |8 P% K2 L

  299. / N+ g% H3 s$ N2 |& k! Y4 Z4 N- v
  300. ; This directive allows you to disable certain functions for security reasons.
    % F* z4 s  w& Z. c
  301. ; It receives a comma-delimited list of function names.) m, q& f- C# N9 W# f
  302. ; http://php.net/disable-functions9 G  f4 s( R3 q& R. U  e* U5 D
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    . @; M/ V$ q" A

  304. , ?* [4 U% v8 ~
  305. ; This directive allows you to disable certain classes for security reasons.
    & k2 M$ _- H6 S# ^% A& F
  306. ; It receives a comma-delimited list of class names.! S/ F5 }$ @4 ?( `
  307. ; http://php.net/disable-classes6 h1 s9 ]2 |' v/ v
  308. disable_classes =
    4 t1 v7 Z/ d* D% p  _
  309. ! E; q+ U3 M& A! G" O; e7 `8 M
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in# K: ^3 v& T) j. Q! n+ ?# X
  311. ; <span style="color: ???????"> would work.
    , ^. x8 ~8 Z& h/ f3 @" A6 q1 l8 q
  312. ; http://php.net/syntax-highlighting6 X8 w& h& a+ T( c% {
  313. ;highlight.string  = #DD00006 T  w  U8 }4 A$ A# n6 m8 S; C
  314. ;highlight.comment = #FF9900
    9 f) B4 w: [% E; H
  315. ;highlight.keyword = #007700; E) @* X  U" e% G
  316. ;highlight.default = #0000BB
    ( [9 f* O; e, y2 H
  317. ;highlight.html    = #000000- b6 E8 c- h" a
  318. * e( o0 c+ k7 _# E- F1 B2 F3 A6 Q$ B  P
  319. ; If enabled, the request will be allowed to complete even if the user aborts2 l5 Y/ _. u1 [: v4 G
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - u, C% o' L/ {  F, P) n" F+ C
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
      t) A! h1 P9 g9 y3 F
  322. ; is to disable this feature.
    3 @: \+ W: M3 G
  323. ; http://php.net/ignore-user-abort
    " C+ `' _9 x( g; A% Q
  324. ;ignore_user_abort = On+ a3 ^+ e" F% V% i+ f: Q) `

  325. + S! j& I8 D0 r2 F
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* N+ e7 g: C8 P/ e' N  T0 L
  327. ; be increased on systems where PHP opens many files to reflect the quantity of" f6 k$ l' f9 W3 F
  328. ; the file operations performed.
    ) L& I" L  p/ j2 h8 O8 U% f% `
  329. ; http://php.net/realpath-cache-size
    : ^# q, K, Q5 K- B" e) W; [: Z, c
  330. ;realpath_cache_size = 16k
    . y0 f" o9 c# j* Q& n6 J: |) ?
  331. / c) n0 P- H, T
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    5 P, r. w+ R; y$ K' K( k# s+ t
  333. ; file or directory. For systems with rarely changing files, consider increasing this* S  Y# x7 J7 ^0 Z' f9 v: `
  334. ; value./ q8 U) y( s( b5 C  I" y+ ?$ p9 Q' L
  335. ; http://php.net/realpath-cache-ttl4 ^" i  U  G3 Y6 L$ `" H
  336. ;realpath_cache_ttl = 1203 r) i0 h! R/ A: w  S
  337. ' c2 b; [4 U+ W: x' d& [
  338. ; Enables or disables the circular reference collector.
    & q8 \+ a7 s- |& M$ s; k
  339. ; http://php.net/zend.enable-gc/ Y" @  B* Q6 Z' K# F
  340. zend.enable_gc = On7 z  V+ J. p: A1 p3 O) P

  341. $ A* u! m5 R4 j3 ]/ {4 P
  342. ; If enabled, scripts may be written in encodings that are incompatible with! c  F7 O  u1 |0 m* `: X
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such! M0 ^2 J  N% t  U$ g0 d5 h3 G
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( @0 S: d% e3 ~  J+ {
  345. ; Default: Off
    : ]( F% x' Z! @1 Y1 }0 a
  346. ;zend.multibyte = Off
    7 y# ~+ i, }$ e5 Q/ r& s2 U" a- U
  347. ( @8 K; P% ^+ e6 N3 h
  348. ; Allows to set the default encoding for the scripts.  This value will be used; O) V6 r8 M+ X& t- f
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    $ V" j! w! `' g  O" n
  350. ; Only affects if zend.multibyte is set.6 R3 ~$ P( G1 L" R) d
  351. ; Default: ""
    ) U6 c# Y+ Z( N0 i1 U6 w8 x) \- J9 b8 j
  352. ;zend.script_encoding =
    ) ^  B- @% I0 c9 H
  353. ( @1 b# D3 Y4 f% D* W9 l
  354. ;;;;;;;;;;;;;;;;;1 s' s& E' [0 W6 V1 U2 k
  355. ; Miscellaneous ;
    + m) N8 f" q8 F
  356. ;;;;;;;;;;;;;;;;;9 ?6 n+ k. t& W  A. N

  357. . R3 s; g, {: H7 [
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    0 d2 W1 m) t/ v9 G& b0 o
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    * w) X- C5 u! @  G
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    5 i9 k; h" g; n& C. i: {1 K
  361. ; on your server or not.( o/ y4 c" z1 C9 ^1 Y% {0 M
  362. ; http://php.net/expose-php
    6 A* {' `! w/ N$ A- Q1 N2 |
  363. expose_php = On: v: [) t# N9 W, r

  364. $ F; O; Q# P* n8 Y7 s, a5 n2 ?
  365. ;;;;;;;;;;;;;;;;;;;1 q! m7 ?3 B8 z( |+ \
  366. ; Resource Limits ;1 p& T6 R2 j5 l" O" o
  367. ;;;;;;;;;;;;;;;;;;;. z" A& e: i5 V, s1 Y+ E6 A/ i
  368. 3 N) }1 `' k2 ]% @6 c
  369. ; Maximum execution time of each script, in seconds6 f2 f4 T* S0 l
  370. ; http://php.net/max-execution-time1 _$ j( u# N7 U+ A6 L! T
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI6 C9 L- C6 Q  J: V$ P5 R
  372. max_execution_time = 3008 N  z" d/ v5 ~$ m& C
  373. 0 G/ N4 c0 n- `5 ~6 u6 v
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    % X/ b  S" o9 x$ q& I5 u7 b
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly( C) b  r) M$ [( x2 W
  376. ; long running scripts.3 d9 r/ A2 ^/ }' s. E* n7 c
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI/ o2 k' w5 B" F4 D# J7 t
  378. ; Default Value: -1 (Unlimited)
    , y9 V2 D6 _: I3 d* c+ c8 \! W
  379. ; Development Value: 60 (60 seconds)
    ! o& t( v! q3 K$ b; V
  380. ; Production Value: 60 (60 seconds)
    - \" P! k! C) a8 j" Q% D6 d- U
  381. ; http://php.net/max-input-time' r" w6 w# E" y& G. V6 f4 f; \
  382. max_input_time = 60
    7 g% G: q4 ^7 q" l9 ^( }

  383. ; L6 z! I+ K' V$ X! v/ ^0 y1 q
  384. ; Maximum input variable nesting level
    8 T9 M" q6 Z$ A6 L# A0 j2 }% A
  385. ; http://php.net/max-input-nesting-level& ?3 R  w' S, W% `/ s
  386. ;max_input_nesting_level = 64
    4 f" D' X! W- b. _3 L% {
  387. ' v2 c" Z8 R* W2 n
  388. ; How many GET/POST/COOKIE input variables may be accepted% m0 S: C0 u, {/ V! H
  389. ; max_input_vars = 1000# a% a, U7 l7 I! w5 o# K0 {5 G7 v

  390. ' Q, o* ]5 U6 B" F# m
  391. ; Maximum amount of memory a script may consume (128MB)
    7 B; Y, F- I) h# L+ X1 {
  392. ; http://php.net/memory-limit
    / h8 Q, J3 w9 |* A$ U/ Q
  393. memory_limit = 128M
    4 B1 S1 C4 I4 Z0 r6 l- J8 P3 Z0 F! c
  394. 1 s  P2 s& M% R/ n, L8 P/ y
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/ w! D$ V1 z2 l. o+ e$ u+ e
  396. ; Error handling and logging ;; P1 {; f: i2 C0 r# ?/ ^
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : r) D. f- a5 n0 }# f9 I# P/ V

  398. , m' ?. \4 X9 [
  399. ; This directive informs PHP of which errors, warnings and notices you would like1 [  \% o& {  R  x0 s+ ^! n' J$ G
  400. ; it to take action for. The recommended way of setting values for this1 A6 f5 ~5 W  T% c8 I; i! b
  401. ; directive is through the use of the error level constants and bitwise0 u7 h: l* _/ R% Y+ t
  402. ; operators. The error level constants are below here for convenience as well as
    / k! I! N/ m. ~6 {
  403. ; some common settings and their meanings.
    $ S& s6 v, b) C* ~
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT) n3 ^8 M- }6 @" ]6 [2 K
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and* }: |& y; h$ }& x4 o
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    / Q" X! i" I1 d# E
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    8 L9 B) `5 S$ {) X& a
  408. ; resources complaining about best practices and coding standards. That's what, k, |+ F. L! C
  409. ; development servers and development settings are for.$ G9 `7 U% G) T& E8 ?. `
  410. ; Note: The php.ini-development file has this setting as E_ALL. This6 U) p9 z; Y% f; H+ a8 c% j- A
  411. ; means it pretty much reports everything which is exactly what you want during
    + D( ~$ O1 i, y  |; c, i8 u% q, q
  412. ; development and early testing.
    " A% u, A2 O  w2 q) A* j
  413. ;
    4 I) c( i& n/ R  ~
  414. ; Error Level Constants:" ~) |0 r) Y0 }; x. R  }
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 ?# t* V( d" X4 F* n! @
  416. ; E_ERROR           - fatal run-time errors
    4 b. g! B, X4 g/ q) c. y
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 `# A0 P4 B' r
  418. ; E_WARNING         - run-time warnings (non-fatal errors)$ x) I& ]+ H' F
  419. ; E_PARSE           - compile-time parse errors# x7 ^) h) B3 F& O; L  X
  420. ; E_NOTICE          - run-time notices (these are warnings which often result) I8 M: W, \: |# T( v
  421. ;                     from a bug in your code, but it's possible that it was
    5 B  K. y5 d4 R3 h" Q+ p
  422. ;                     intentional (e.g., using an uninitialized variable and% Q1 a  T2 `5 b
  423. ;                     relying on the fact it is automatically initialized to an8 |. j' t3 j* J8 R' O
  424. ;                     empty string)
    + g. u! a+ F; r- ?  n9 U" g- ^
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 `6 @) ^$ H3 Y% I% ?" f0 r
  426. ;                     to your code which will ensure the best interoperability2 F5 C$ g5 h/ W- S, |, j2 f' ]
  427. ;                     and forward compatibility of your code* i) K+ E2 C4 s/ D0 Q
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup/ o4 U: t1 v) {
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    8 i+ F6 @5 I( x
  430. ;                     initial startup" p1 ~* R) g  T) i
  431. ; E_COMPILE_ERROR   - fatal compile-time errors# ]0 r' p. E( f
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * A* R& v( ^" L$ K, |5 j& ?1 A
  433. ; E_USER_ERROR      - user-generated error message
    - V( N: F/ K: ^0 `
  434. ; E_USER_WARNING    - user-generated warning message. R; `1 n& D; W. ?0 u7 x
  435. ; E_USER_NOTICE     - user-generated notice message7 M6 @& k! P6 f  a: L
  436. ; E_DEPRECATED      - warn about code that will not work in future versions& v( f) }% |4 P( @8 ~" B
  437. ;                     of PHP0 h* F9 N; ^, e$ l/ D2 [
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ! T! U+ {, ]. J! f! R/ y6 p1 [
  439. ;
    3 q0 {* k9 g0 E0 ^; ?
  440. ; Common Values:% g0 k, Z3 O8 ^+ T2 l# u9 f
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)/ V, Q0 Q) Q# x3 m5 H  \+ P& N4 A
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    , g+ d$ ~  F6 M; e3 J# O3 L9 {  B8 U
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)3 W9 y, J8 q. J, m; q2 X% ]
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " [4 z9 B& j7 f% I  _8 d
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * q: X  _- f# f7 p/ p$ b
  446. ; Development Value: E_ALL& ^( g, H9 i6 H! v
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( A8 [2 G2 ?8 d9 A
  448. ; http://php.net/error-reporting
      q. u/ D2 s) g& q7 P6 {
  449. error_reporting = E_ALL & ~E_NOTICE
    " R3 n5 Z  I; K/ ]8 [, G
  450. ) {9 a+ B) V3 S( t% i1 t: ?" z
  451. ; This directive controls whether or not and where PHP will output errors,
    & d! `, q% [) g* h! D. o$ Z
  452. ; notices and warnings too. Error output is very useful during development, but
    ) C, I. n1 m: C+ p4 A
  453. ; it could be very dangerous in production environments. Depending on the code
    " v! W( X; @# r/ |8 s
  454. ; which is triggering the error, sensitive information could potentially leak. H; ^' e3 c9 b+ n: I  P
  455. ; out of your application such as database usernames and passwords or worse.) G& z1 ]. J$ d; x6 u9 Z7 w
  456. ; For production environments, we recommend logging errors rather than
    $ E; ~3 L  T4 z9 L# }6 w
  457. ; sending them to STDOUT.* T0 w+ n- X, b2 |
  458. ; Possible Values:: e4 {0 U/ ]( {! P9 r' n
  459. ;   Off = Do not display any errors& S8 c! u/ }* p# i  O( U, O
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % ^; H  F) L* l6 E* O
  461. ;   On or stdout = Display errors to STDOUT
    2 B+ K5 N5 |0 Y4 Z: H: ~
  462. ; Default Value: On
    ; G6 c5 p1 V& r" t6 {7 b9 C9 _9 O  }
  463. ; Development Value: On
    * U+ t$ t8 o+ V' o5 ^0 |! C8 z
  464. ; Production Value: Off
    6 d, a  e4 f8 Y9 _- c
  465. ; http://php.net/display-errors
    - {# k9 E: Y: I! W0 U
  466. display_errors = On
    # t# i4 G% Q9 f& z5 A

  467. ' N# _5 R2 k. u% p: ^
  468. ; The display of errors which occur during PHP's startup sequence are handled# t1 p/ X/ N8 b: n( }! S
  469. ; separately from display_errors. PHP's default behavior is to suppress those- b; S3 c' W7 ?
  470. ; errors from clients. Turning the display of startup errors on can be useful in/ s4 l1 M3 b' O! _* ?: b
  471. ; debugging configuration problems. We strongly recommend you
    $ h5 A) [5 T% ^" u
  472. ; set this to 'off' for production servers.# y1 H! \+ c5 l+ b5 P
  473. ; Default Value: Off3 E# L% c2 A5 l
  474. ; Development Value: On; _+ N* A4 L, _. A
  475. ; Production Value: Off% V2 V7 N; N6 j# d
  476. ; http://php.net/display-startup-errors
    ! t- x9 G, ?1 T( c$ t8 K' Q+ y
  477. display_startup_errors = Off. @2 i) L9 z7 ?
  478. 4 F9 @  [1 }. r% M/ H
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ; r' O3 G8 h  _
  480. ; server-specific log, STDERR, or a location specified by the error_log  g( X% g& u& R% j% N3 {% ?
  481. ; directive found below. While errors should not be displayed on productions
    4 R- u& h( G+ R# C" X" j8 E( W6 W8 ~: r
  482. ; servers they should still be monitored and logging is a great way to do that.7 }% E9 Z( Q8 v9 k
  483. ; Default Value: Off/ j1 j" Z! O5 l0 I- \
  484. ; Development Value: On
    , e6 r. a" X8 P% U/ m: P! m
  485. ; Production Value: On6 x* ~* r! w4 H0 F
  486. ; http://php.net/log-errors& o2 b/ H" ]1 d+ a
  487. log_errors = On
    . q4 z1 h) N7 ?2 Y* q

  488. ( v' D; ~2 h( Y$ C/ z: b  e) m9 [
  489. ; Set maximum length of log_errors. In error_log information about the source is, E6 n) z( l9 z, m9 ?, D) `
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) h- X; s$ p9 A
  491. ; http://php.net/log-errors-max-len- S& S( [, @1 `* Q5 H
  492. log_errors_max_len = 1024
    ' y* ]- R6 i' ~& `) Q+ D% @

  493. " m/ C* z; ?" k% ^- O& K
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same: w+ l0 o& g, g( ]+ _! c4 B
  495. ; line unless ignore_repeated_source is set true.
    - A  b4 ?, F& D6 F$ e7 G5 T* B
  496. ; http://php.net/ignore-repeated-errors( p; m; B# Z3 `3 d3 B
  497. ignore_repeated_errors = Off# W; G0 K- u/ T3 C$ n
  498. 7 J' I- U) o8 x# p# Z8 m; }
  499. ; Ignore source of message when ignoring repeated messages. When this setting7 U: R8 Y$ Y* V1 ]0 n& Y2 N
  500. ; is On you will not log errors with repeated messages from different files or
    9 g5 @, k+ R/ o4 j, A( U4 ^3 u
  501. ; source lines.
    1 X/ u1 O  l4 r- w
  502. ; http://php.net/ignore-repeated-source9 G; I, h8 u/ @9 ?7 U; x) i$ }' z$ M- V; v
  503. ignore_repeated_source = Off9 Z" _8 q5 t# L& D9 q

  504. . y" E% P+ {% D3 J9 R  a
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 H5 R8 M- R3 r' y1 x. Y6 X( a% F
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    2 K& B& r  p4 I5 r
  507. ; error reporting includes E_WARNING in the allowed list
    3 @2 m+ {; W! c, o
  508. ; http://php.net/report-memleaks
    ! {' \# [* b( E, a8 F
  509. report_memleaks = On, ?, e) F' T' W/ H7 [& i" ~

  510. % W. {# u1 L8 x$ }
  511. ; This setting is on by default.
    . Y" _1 O4 B3 W6 N0 R
  512. ;report_zend_debug = 0) A# \9 @; H: I5 N  K6 F$ Q

  513. ; r/ R! J0 e% I
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 P  W, F4 p5 D$ j' D- m
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    " e, }9 V/ f; Z1 C2 E
  516. ; however be disabled on production servers.
    9 `6 a/ w; o' J  I% x9 c, P3 W
  517. ; Default Value: Off
    * `: `- ~$ u1 }( t7 j% T: Z/ r
  518. ; Development Value: On; z+ E& p8 y2 u! |) y0 H" b$ I
  519. ; Production Value: Off
    : a/ T/ z/ ?& {/ E% u
  520. ; http://php.net/track-errors
    9 C- ?0 [: z; N  W/ x# R& l! S& I5 Q  n9 j
  521. track_errors = Off! u* O, ^$ a" V
  522. 0 y$ O( H- v- a0 V" U) K  Y
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    7 w' [  |% Q3 c- O/ g
  524. ; http://php.net/xmlrpc-errors
    - Z& u( u6 S4 L8 {$ w4 X* |) F
  525. ;xmlrpc_errors = 0' J# C1 Y" O/ q* R
  526. & k0 y) B( d/ J( z1 d
  527. ; An XML-RPC faultCode  w+ K/ ?  x/ L/ C
  528. ;xmlrpc_error_number = 0
    ! K4 }' h! r. N; i" L9 w4 x

  529. : ~6 n, t' }' q' g$ u
  530. ; When PHP displays or logs an error, it has the capability of formatting the+ P, d; f9 _* A; G( K  G+ w. \" I
  531. ; error message as HTML for easier reading. This directive controls whether
    * t# t  s8 B' O( [+ B
  532. ; the error message is formatted as HTML or not.: n5 v  a5 h& k5 v  |$ g
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; t& k  f. H# P% O
  534. ; Default Value: On
    3 W+ V4 ~, B$ a  g' F
  535. ; Development Value: On
    - N, o) w) G5 X/ S: Z$ p
  536. ; Production value: On2 e: g) R; X$ Z- E" b
  537. ; http://php.net/html-errors/ _5 B+ s# G4 L( F0 o0 C; Q* G# f
  538. html_errors = On1 ?+ n( g% d5 R& ?+ M

  539. * o* J7 ^6 [& z* R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP  W! y& [6 s# M0 J! Z& o  s( ^1 s& U
  541. ; produces clickable error messages that direct to a page describing the error
    : a4 ?# f& S% `; N! s4 g& E
  542. ; or function causing the error in detail.
    0 K3 f% h0 J( l2 C3 ?
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ; A8 ?' U3 E; t( ~0 A7 p- @
  544. ; and change docref_root to the base URL of your local copy including the
    1 _# l$ a: v$ R5 E
  545. ; leading '/'. You must also specify the file extension being used including8 S8 g4 G0 J4 q' b, J6 z7 B
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 l4 `3 G  b9 x: T) q
  547. ; case no links to documentation are generated.
    , p- l) g; e/ }  G, c4 i* Z5 k! ]! w
  548. ; Note: Never use this feature for production boxes.+ T( }, z5 B7 [7 C) M5 Q/ P3 i
  549. ; http://php.net/docref-root$ g; F( v+ D5 x2 \% ^3 P
  550. ; Examples4 |$ H' O2 N( P" T/ E
  551. ;docref_root = "/phpmanual/"$ A* @  P# E+ u3 N% o

  552. , [/ b' b, ^' Z$ {" k+ B
  553. ; http://php.net/docref-ext
    - ]6 t. y& e- ~" o
  554. ;docref_ext = .html
    8 {: C1 r1 D2 @. o% Y
  555.   w2 p* i2 r+ e4 i
  556. ; String to output before an error message. PHP's default behavior is to leave  U0 c$ J5 {* |: ^1 l
  557. ; this setting blank.
    " \. C' n( s+ [. \  P# M
  558. ; http://php.net/error-prepend-string
    4 R9 \, O7 F- a- U) ^8 _5 W3 Y4 G& C
  559. ; Example:
    : r' v% X0 q' H6 P. J/ b
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    + v4 j# {7 h/ P* ?9 u( [

  561. 4 I' G  {3 {; s
  562. ; String to output after an error message. PHP's default behavior is to leave4 c6 ^  R! _* d, E; i
  563. ; this setting blank.8 b" h/ d" r- H/ D
  564. ; http://php.net/error-append-string) P" c5 F+ y! \) m0 f8 g  b
  565. ; Example:: }7 k* |; b+ W
  566. ;error_append_string = "</span>"# M% p' J& t. p9 y

  567. / G" I1 w. U; }. w
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    + G2 U8 R, Y3 D: o9 G
  569. ; empty.& @: _; F% u: ~( u0 H+ t1 H
  570. ; http://php.net/error-log
    - U9 A+ S7 i2 R+ O; C+ t
  571. ; Example:  {; F( [  [# |
  572. ;error_log = php_errors.log  `4 L. T: R8 Q. P" \; {
  573. ; Log errors to syslog (Event Log on Windows).
    ( F; F+ J8 O& k7 W* n( d8 v
  574. ;error_log = syslog
    3 H# g* v7 W* @" x% m! J

  575. + k5 n6 [8 K! [, R
  576. ;windows.show_crt_warning4 A3 i% s( R! @, Q- b
  577. ; Default value: 0
    9 a3 K3 Q9 w4 N, V, ~& S  [2 w
  578. ; Development value: 0
    ) O& d' m) q1 {, ~% F2 M
  579. ; Production value: 08 m! O* N* l+ ~$ Z4 [& ]
  580. , i2 i; v( |/ G- f7 ~) s' T" n8 A5 t
  581. ;;;;;;;;;;;;;;;;;% e6 d- W2 M/ X$ r
  582. ; Data Handling ;1 a: P9 s, w1 H- `
  583. ;;;;;;;;;;;;;;;;;3 p  Q  t6 C. V. ~4 L6 M: w- w
  584. ! c0 ~) t, Q" i/ c$ `, o1 K3 E
  585. ; The separator used in PHP generated URLs to separate arguments.' L' s0 h- A/ r7 o) Z
  586. ; PHP's default setting is "&".
    1 d) Y" W8 F9 d3 ~$ q2 N1 g
  587. ; http://php.net/arg-separator.output
    3 P, V/ S& A* V' Y2 s6 f
  588. ; Example:3 B+ H# d1 t" F5 ]3 U  H
  589. ;arg_separator.output = "&amp;"
    * Q" ^  e3 j0 ]2 h8 H3 W* l
  590. ; @  U9 [& I: \( D7 q. L) D
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    8 x6 }8 z7 E1 b. p8 Q! p% `
  592. ; PHP's default setting is "&".
    $ h% r5 u" y/ t+ ?6 Q6 q0 d* C
  593. ; NOTE: Every character in this directive is considered as separator!$ z, z% H5 o% [; T
  594. ; http://php.net/arg-separator.input1 I/ T, ~5 p: ?0 N
  595. ; Example:5 |8 P2 P( F! E2 P: d: @3 m
  596. ;arg_separator.input = ";&"- t3 [2 l: B. }) {

  597. 4 M3 v: T2 |8 J' m
  598. ; This directive determines which super global arrays are registered when PHP' \, U! x6 u) N4 s3 ~) \. i
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super: e# v0 p8 X! h( C# M& f6 z5 l; r
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 H* q0 a9 o# Z
  601. ; paid for the registration of these arrays and because ENV is not as commonly
      D6 ~6 D/ S  j) T; k
  602. ; used as the others, ENV is not recommended on productions servers. You
    # m4 w' Q( l% q
  603. ; can still get access to the environment variables through getenv() should you  u3 u0 m5 ]5 m5 Y& {8 b% h3 r
  604. ; need to.
    3 x3 S% R4 Q. p0 ^6 S
  605. ; Default Value: "EGPCS"% d% q* o6 o5 R5 k' c. a
  606. ; Development Value: "GPCS"" T- Z& i+ W" {& t$ O% P5 J0 ?9 q; v
  607. ; Production Value: "GPCS";
    , o2 Y. Z4 L9 `# S: ?$ U' _$ }1 _
  608. ; http://php.net/variables-order
    " {5 j- P! m  ?3 G6 E, C' l
  609. variables_order = "GPCS"5 v. J% x8 {% b9 B& K

  610. : X- |% G7 k7 z; W
  611. ; This directive determines which super global data (G,P & C) should be7 l7 e( c2 `6 h. m/ i
  612. ; registered into the super global array REQUEST. If so, it also determines
    4 M* c3 \; E( t- S
  613. ; the order in which that data is registered. The values for this directive5 u1 s( Y$ {. p0 G3 s9 X
  614. ; are specified in the same manner as the variables_order directive,$ g- w9 b) r3 Z1 n" J/ _
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set1 w: D' ^% ^* u3 Q' m
  616. ; in the variables_order directive. It does not mean it will leave the super) e7 T  `4 l' t4 k, F' _( s
  617. ; globals array REQUEST empty.' `' J) p( }- ]% N" F, e
  618. ; Default Value: None
    - C: F/ `: x8 @' U3 n
  619. ; Development Value: "GP"0 S. G; g; m# e: Z$ N, Q9 z
  620. ; Production Value: "GP"$ k' x# }" P, Z% x) e  |9 ^7 E' ]
  621. ; http://php.net/request-order9 X4 A4 O" e2 w% P
  622. request_order = "GP"9 d( ]3 O7 Q' z' p  L
  623. 2 S% D- H8 m" c# j7 f) q
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    & ^. r, g8 [5 `5 g
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script0 c% t1 Z4 n7 V3 p9 H+ ~. E& S" s
  626. ; is invoked. $argc contains an integer representing the number of arguments2 s1 O1 |* S' B$ _
  627. ; that were passed when the script was invoked. These arrays are extremely  M! c: a5 b  U, |( {
  628. ; useful when running scripts from the command line. When this directive is7 `- A' O( D- G/ q& m& p$ A
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    " G! g: ?. ?) p% V: e
  630. ; a script is executed. For performance reasons, this feature should be disabled1 {% G/ E2 i. {7 H- U: U' y: ]' t
  631. ; on production servers.
    + T3 c5 H9 Y8 _( g
  632. ; Note: This directive is hardcoded to On for the CLI SAPI3 [9 V  G7 v# S: L+ ?" `. x$ ?
  633. ; Default Value: On
    , }( D+ T& G% B4 g! ^% ^" G
  634. ; Development Value: Off
    0 @, X6 j: a% p  K0 E4 t; P
  635. ; Production Value: Off+ _& F: p+ t, k
  636. ; http://php.net/register-argc-argv
    # r0 T- C1 ?5 B; K& a
  637. register_argc_argv = Off7 g8 O- K0 s' k# W

  638. ) `  @# R5 j9 o; x
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 T. r: J. z9 w: ~: j# k+ U$ S  Y+ ]
  640. ; first used (Just In Time) instead of when the script starts. If these5 a) w* L8 Z% X  ~( ^8 b
  641. ; variables are not used within a script, having this directive on will result
    2 T$ j$ N  t, x1 c3 E
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    4 @9 A4 ?1 I8 d9 ~( Y5 z2 `
  643. ; for this directive to have any affect.# H' M7 z0 s, ~/ f9 z7 u* I1 n% T
  644. ; http://php.net/auto-globals-jit
    : k+ u0 A! p: g3 U/ `2 H# K8 O
  645. auto_globals_jit = On0 ^9 \# E9 f" L1 D+ u$ F
  646. ; o* j$ v4 ^! _- V$ z* Q
  647. ; Whether PHP will read the POST data.
    ' R2 h; I" W0 ^4 x
  648. ; This option is enabled by default.& y4 z2 B. y, S  X9 d
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    " s  m7 I* b; _0 W7 O) S1 c
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    8 l" f" Q8 R' m5 b. D: E
  651. ; POST data will be through the php://input stream wrapper. This can be useful; {7 H5 C$ ^% E# M( z3 H
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.' `5 u: o  k* T$ L1 a& R
  653. ; http://php.net/enable-post-data-reading. `2 B! c2 {' ]& S( `6 p9 n6 z
  654. ;enable_post_data_reading = Off
    $ ^% ^$ X' C& c* u# g6 ~
  655. 8 T! z0 K0 y. a# h/ Q* c
  656. ; Maximum size of POST data that PHP will accept.! w: S+ X: J) ~- V
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# T* b3 j9 t1 Z; T
  658. ; is disabled through enable_post_data_reading.
    / d8 i- I/ p) E8 J% s3 R2 X7 G
  659. ; http://php.net/post-max-size' r( j/ {4 S8 o( n$ [; b
  660. post_max_size = 50M
    1 m" n: A# }' X6 E

  661. 7 Z6 e& g$ K' }+ e$ k  G
  662. ; Automatically add files before PHP document.
    * v% C# a! i& l! F
  663. ; http://php.net/auto-prepend-file- ]; P% p. D, \+ ~# N8 _
  664. auto_prepend_file =
    ) T. @( m0 ?: L

  665. 6 R% n2 Q, W* Z9 ?+ L
  666. ; Automatically add files after PHP document.) h) B1 i3 }5 W/ Q1 C! P! P7 ~/ h
  667. ; http://php.net/auto-append-file, y9 r. K. w3 W+ W0 p5 u
  668. auto_append_file =
    7 z) C1 p0 [* n4 `1 |2 Z
  669. , v* Z3 D3 \" P( |0 z
  670. ; By default, PHP will output a media type using the Content-Type header. To
    & I9 r  _' Z1 T0 c4 z6 H2 m
  671. ; disable this, simply set it to be empty.% B0 j- e9 K9 j% C: B- k: o2 i
  672. ;
    ) v5 ?* [# x3 v9 x6 N& A8 e9 W' ^" `
  673. ; PHP's built-in default media type is set to text/html.  I" R! L0 G" T9 g2 v, W& W% q
  674. ; http://php.net/default-mimetype
    7 i: p' z& h- x5 V  A
  675. default_mimetype = "text/html"; T, Q3 U) s" V
  676. ( l6 p9 j8 z# o5 c* |" j) ~/ ~
  677. ; PHP's default character set is set to UTF-8.
    9 r* |: `, h  f9 {
  678. ; http://php.net/default-charset
    5 L9 A1 T4 X/ k" G# f' @8 u7 E
  679. default_charset = "UTF-8", I# s* U/ D' O& O, A+ v8 W( r* ~% R
  680.   _  [9 s5 h0 R; c) K( n  G7 p
  681. ; PHP internal character encoding is set to empty.9 V6 o9 h- @) o& B
  682. ; If empty, default_charset is used.
    % l5 W3 E9 d0 H% B
  683. ; http://php.net/internal-encoding0 w+ G; m- i$ U% [' N* \$ G  E
  684. ;internal_encoding =
    % _  Z) l( t& \4 @' Q" `- ^% W

  685. - E2 {! `/ i  M; W/ c
  686. ; PHP input character encoding is set to empty.
    - U! B  A, i' W9 b9 J8 g
  687. ; If empty, default_charset is used.' i- j$ }! @6 ^% i7 K3 g
  688. ; http://php.net/input-encoding2 n8 F  m! l( G
  689. ;input_encoding =5 ]$ G( \: t4 P0 G/ u7 h+ q! N' q- Z, @
  690. + K8 @) k" J- w' D, Z; B' f
  691. ; PHP output character encoding is set to empty.
    0 w! ^6 x0 `- |+ G+ q/ h; {- U
  692. ; If empty, default_charset is used.$ o) D0 |0 s" w9 j% X& h9 @1 f
  693. ; See also output_buffer./ T0 N, \  N3 r/ p
  694. ; http://php.net/output-encoding
      |( {7 T5 ?% ?( x$ d$ C! U2 H
  695. ;output_encoding =  t# M* [8 X2 y) Q

  696. 9 Y# b: z! V0 ?& ]6 S
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ( g1 \0 P0 A) y, b# R
  698. ; to disable this feature and it will be removed in a future version./ Q, D. ]) w8 c5 b% I
  699. ; If post reading is disabled through enable_post_data_reading,3 o! O/ O5 |& ]- r
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    - j4 h% F3 ^- ^- U: I: j
  701. ; http://php.net/always-populate-raw-post-data
    3 v! C$ s2 }2 W) J1 v  T
  702. ;always_populate_raw_post_data = -1
    # s4 p! \0 x! G+ J3 i
  703. 0 E% y5 g! G. f, R3 P5 ]7 ]
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 m# B5 v/ \! c% D1 V! ?2 E. r
  705. ; Paths and Directories ;
    5 p/ ~4 {+ p$ X; E! T
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;4 |& [5 A9 M$ S
  707. 0 ]( t# H6 p( w, }7 O1 k7 \4 y: }! {
  708. ; UNIX: "/path1:/path2"7 b, }- I0 L9 f7 h4 w: t% T
  709. ;include_path = ".:/php/includes"4 H" c! k9 ~. C$ r3 \0 c' |; a; Q
  710. ;
    ) N/ v. x( e! d1 I
  711. ; Windows: "\path1;\path2"! h; L8 t( f) v1 A
  712. ;include_path = ".;c:\php\includes"" g5 r& J& l4 x- w! j, H
  713. ;
    # J3 I5 [) u* w8 _
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"! R/ h7 _$ ^; T: j6 x
  715. ; http://php.net/include-path
    5 U- h4 E8 |* o' W

  716. % c7 C4 M7 S0 W( n
  717. ; The root of the PHP pages, used only if nonempty.
    ( f8 `, w+ z' D9 u- J1 s  @
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ' V7 o  T$ G6 ?9 t+ [
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ' Z# C. c% S. X% ?
  720. ; see documentation for security issues.  The alternate is to use the
    ' C) @) y0 n$ d/ q$ r
  721. ; cgi.force_redirect configuration below$ N6 J& l' ]. S! H# z9 u
  722. ; http://php.net/doc-root8 F+ H5 z& y5 n* q; U; p
  723. doc_root =
    + `, I& D6 S& G, E% L+ |

  724. 1 m" e* Y' |6 r& x
  725. ; The directory under which PHP opens the script using /~username used only
    ! ?+ R& k0 L. ], u
  726. ; if nonempty.
    + X0 \" t3 C0 u% w; h
  727. ; http://php.net/user-dir
    0 s/ ~/ v0 t$ M  x3 X
  728. user_dir =6 W8 u" H5 x5 R. W$ _. t
  729. , b! M- E6 G5 U7 W! C
  730. ; Directory in which the loadable extensions (modules) reside.# k5 E# H. n, w' ^( e  y
  731. ; http://php.net/extension-dir
    ' M; _" [7 f3 w  f9 A
  732. ; extension_dir = "./"
    * y1 m. M  y/ n, M% H
  733. ; On windows:+ H% n& C& o, |2 L
  734. ; extension_dir = "ext"
    * J9 q5 J" ~- \
  735. 8 @+ `9 w8 _0 V: ~) }1 A' V: `
  736. ; Directory where the temporary files should be placed.
    7 m% m) M* b; `7 a0 [* f, h$ o/ [
  737. ; Defaults to the system default (see sys_get_temp_dir)( f* `- R$ ]$ h6 t7 P4 d
  738. ; sys_temp_dir = "/tmp"! O- [, O0 u( d2 r; p) x# q

  739. : @& j1 K3 K6 j1 N6 ?
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work2 I7 B4 P$ r3 D7 |
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    : \( F, |) ^. Z. q" i+ E! j: T7 V
  742. ; disabled on them." C* i5 [2 ]& a9 ~1 ~0 I9 n3 `/ k  Q
  743. ; http://php.net/enable-dl& l' s  A1 G/ J. e' H
  744. enable_dl = Off
    , c) B7 t9 Z5 ]6 r' K" I

  745. 4 M. @$ N! Z% S2 `% B- d
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " ^6 y5 ^7 \% i$ k
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
      _' C* B! K9 T& L
  748. ; turn it off here AT YOUR OWN RISK
    . ]' T3 l( l& x) k2 s& A0 N. j
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ y; i* Z9 ?) C4 u& o5 I
  750. ; http://php.net/cgi.force-redirect
    0 `, O' K. v6 Y6 ]' z
  751. ;cgi.force_redirect = 10 H7 k4 j4 }' j% K6 Z5 \
  752. 6 D4 n5 j2 c1 {6 Y' c* C( Z* B, z
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with1 _  M' c8 m5 ^% h5 ~: c( n
  754. ; every request. PHP's default behavior is to disable this feature.( t( t; }3 r1 M/ R
  755. ;cgi.nph = 14 o, D/ a! {0 H* V
  756. . ?# @4 k) _: ]+ f
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape; q& y, m% a% c# D, \
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    & ~( ^" Q$ Q% \7 Z
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; v# ^, Y9 p7 V" t
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.# R2 O! P) p; R) g
  761. ; http://php.net/cgi.redirect-status-env; x* }" U+ J5 L% N5 p( r
  762. ;cgi.redirect_status_env =( f6 ~6 D7 `* F
  763. ( a* Z4 L: |. O$ x+ M
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    * A! ^" ~+ Z7 j3 u9 R  m
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    8 e) L4 T! A& T8 H4 B
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting8 L/ T+ C: a( v& B. A2 m4 G7 D
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 T4 m9 `, X, a7 d# B8 ]9 a
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 \% p6 d8 f: o! [# g5 d0 f: q; K
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.# [2 }* b# N- t* @- q, p
  770. ; http://php.net/cgi.fix-pathinfo
    6 A/ @$ I1 T& q9 i# V2 [
  771. cgi.fix_pathinfo=1
    ! m* |( I( K, b( ]

  772.   i5 I+ Z+ i2 o. S+ F  l" d
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    + \" U9 o, Z9 f; F
  774. ; of the web tree and people will not be able to circumvent .htaccess security.5 t% {; S- J1 K( O5 N, P. Q
  775. ; http://php.net/cgi.dicard-path
    6 \. \4 X1 a2 w
  776. ;cgi.discard_path=1
    - R7 g4 d- v$ t1 ^* |, g! d
  777. & H- I% _6 q# s( [$ b
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ( E: N& V" T. V; R! [
  779. ; security tokens of the calling client.  This allows IIS to define the
    / v) k* H8 m! K: r7 [: q
  780. ; security context that the request runs under.  mod_fastcgi under Apache5 j+ g+ G6 Z+ h
  781. ; does not currently support this feature (03/17/2002)
      @" n1 Q( c% I, E( i
  782. ; Set to 1 if running under IIS.  Default is zero.
    + O% w" j5 I$ u& D3 T. n! E
  783. ; http://php.net/fastcgi.impersonate
    9 A7 R8 P7 P# Q& d% D
  784. ;fastcgi.impersonate = 1& u' V  Z6 S3 X7 l/ {0 ~' s" c
  785. + x9 ~1 a+ U) e% S' S
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    + v) |/ P4 ^8 m6 `
  787. ; this feature.: v. N) m6 W$ V& n8 j/ z( a
  788. ;fastcgi.logging = 0( s" }2 o9 G0 R7 n9 h; U

  789. 0 R( k- ]$ Z, E) V
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to* S" _# C9 {$ E: C4 T' d8 L9 h
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    1 V: Q5 H/ i1 E* t
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    - J9 o* _/ R% e
  793. ; RFC2616 compliant header.( y$ ?( d3 g! d  N, c  [; B7 M( J
  794. ; Default is zero.
      e1 ]8 T7 I& [0 Q
  795. ; http://php.net/cgi.rfc2616-headers0 h2 u6 Q  D: ^
  796. ;cgi.rfc2616_headers = 02 ?6 P4 P4 t0 q/ K& e# r/ U

  797. 7 q7 c; C' v) W. Y* i  Q4 }! I6 P6 @
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ) _3 n4 Z4 P% z% ~0 P. v) d
  799. ; (shebang) at the top of the running script. This line might be needed if the: K7 }, k( |) o
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' m( _- B7 s5 Q( `) A: |4 _  n$ z0 a
  801. ; mode skips this line and ignores its content if this directive is turned on.
    : T) p9 {2 P" s5 b7 X: ]
  802. ; http://php.net/cgi.check-shebang-line
    $ d) G6 {3 s2 D" F2 J
  803. ;cgi.check_shebang_line=1
    : o8 P" o5 G7 C. r8 l

  804. 7 X- D3 l4 p" D" i) j
  805. ;;;;;;;;;;;;;;;;9 D- i+ R) h) G; @* K+ F9 K
  806. ; File Uploads ;
    0 j- z7 Y' {0 ~3 c$ G' V
  807. ;;;;;;;;;;;;;;;;  l" i1 S4 {7 p7 L/ K2 e

  808. 4 X& {6 R/ @/ Q0 P  i6 M5 r
  809. ; Whether to allow HTTP file uploads./ g) |  G  ^8 F6 E( i) Y
  810. ; http://php.net/file-uploads' C7 i( G" ?+ T  _" {$ C7 S' V  |
  811. file_uploads = On( X+ i" z/ p1 W6 N* g

  812. 4 y5 |' d% i. o3 k" k& o0 p4 {' R* K
  813. ; Temporary directory for HTTP uploaded files (will use system default if not! K3 `5 W. J: R2 J& k( X
  814. ; specified).$ p) t. K7 t" ?7 h7 K0 z
  815. ; http://php.net/upload-tmp-dir
    ' X" c5 u& H% j
  816. ;upload_tmp_dir =9 w% N$ v& P- q& E) s- g

  817. 8 f; v' u! i7 o& G$ ~/ G
  818. ; Maximum allowed size for uploaded files.$ N. S* {' T9 ?3 c" c
  819. ; http://php.net/upload-max-filesize
    1 Q1 e" U2 ?! K  r( W5 p3 t( N
  820. upload_max_filesize = 50M& D+ X' P( n# K( Y' u
  821. 1 q1 a6 B0 z/ p$ b( p5 _
  822. ; Maximum number of files that can be uploaded via a single request
    9 o# B. r# W9 b# d, k7 O) S6 ^
  823. max_file_uploads = 20: p1 V- M1 N/ x3 O
  824. 3 @" G7 u; P( x& y( }! \
  825. ;;;;;;;;;;;;;;;;;;
    % S# N9 d2 y% c8 i  I
  826. ; Fopen wrappers ;/ R. `4 s% M% V
  827. ;;;;;;;;;;;;;;;;;;
    ) q/ z( Z' \; x# k
  828. 4 r6 x2 P: d4 ?# }2 y2 a
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.: j% D) Q' O1 m$ \5 L& `2 u
  830. ; http://php.net/allow-url-fopen5 q0 K  Z# ~3 m  d/ R
  831. allow_url_fopen = On
    9 W, N6 ~/ k0 O  `
  832. 3 T. I: P& `$ i# `9 C
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.7 T7 h  I/ G9 P& L; Y
  834. ; http://php.net/allow-url-include: H7 l/ [1 J9 |3 ]0 t9 a
  835. allow_url_include = Off
    3 `, X2 \/ o& z

  836. 1 ^3 k2 ~4 K0 T, g
  837. ; Define the anonymous ftp password (your email address). PHP's default setting: G3 F$ O- A+ H% V9 t9 {
  838. ; for this is empty.
    6 J' e% c6 |" f3 m$ U) b) m
  839. ; http://php.net/from
    " W) {7 r8 `  n% s
  840. ;from="john@doe.com"
    # E5 _- _5 X. Q" a
  841. 6 @1 e5 u' V  I6 Z3 Y- ]
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ( c6 v6 B% g6 h3 k% ~$ @
  843. ; http://php.net/user-agent/ M# K, G# f0 B  G( X/ x# E$ J* Q
  844. ;user_agent="PHP", M9 ?( ^) Y" }5 i/ h
  845. 9 B6 |2 ?; j& }+ F' h
  846. ; Default timeout for socket based streams (seconds)8 k* C" P) U1 i
  847. ; http://php.net/default-socket-timeout, H5 ^, ]+ {4 T4 o% B
  848. default_socket_timeout = 60
    , ^1 R  Z' ?: E- d  Y1 w1 D; C- G0 K2 X

  849.   Z$ `2 M6 v9 v* m7 I& b
  850. ; If your scripts have to deal with files from Macintosh systems,
    + |/ }' K! S+ _0 R7 E
  851. ; or you are running on a Mac and need to deal with files from
    - D8 _4 I* k; k, Q' @
  852. ; unix or win32 systems, setting this flag will cause PHP to% b$ R: o6 r  Z" ]
  853. ; automatically detect the EOL character in those files so that3 Y3 d; P% H. y0 `8 `
  854. ; fgets() and file() will work regardless of the source of the file.% R- ]( b, E* O2 s
  855. ; http://php.net/auto-detect-line-endings2 @2 [, v6 ?/ [. W# U; A
  856. ;auto_detect_line_endings = Off
    : f' r* X! w2 t. T+ F

  857. ; }, I% G% e/ ], k# }# S5 A
  858. ;;;;;;;;;;;;;;;;;;;;;;
    " o5 u2 m/ W5 `) P( Q
  859. ; Dynamic Extensions ;+ w% K! |0 e$ ~( S. {& B+ {
  860. ;;;;;;;;;;;;;;;;;;;;;;
    % |. l5 I( s  t4 |; e: B
  861. ' h$ J* K; v, j
  862. ; If you wish to have an extension loaded automatically, use the following9 _( s+ o+ |( ~9 v! D7 o, }- M
  863. ; syntax:
    3 D" @& N6 i7 _3 S0 J0 Y  P
  864. ;
    5 h* O: B7 z6 E) z# V& r# }
  865. ;   extension=modulename.extension, X- O( E/ Q( Y3 j
  866. ;7 {$ t6 v8 g& ^% i+ H4 l4 C
  867. ; For example, on Windows:
    7 L! {* c8 h. `( o1 J% @  h* C
  868. ;
    . J: V' i0 Q2 a0 I1 U9 O8 _
  869. ;   extension=msql.dll4 s1 r& e/ Z6 p
  870. ;
    ) g" `  r+ f/ j; h/ P
  871. ; ... or under UNIX:
    ) h7 I9 M8 H: g, X/ `1 w
  872. ;
    1 p6 `/ D$ d& h2 g- T
  873. ;   extension=msql.so" l- C9 P2 Z! H  g
  874. ;" }5 _" @) q. _: Y2 O* {
  875. ; ... or with a path:
    & h. M/ L0 |: g3 N* c
  876. ;6 ]+ J. {  b/ K
  877. ;   extension=/path/to/extension/msql.so+ o: V9 D  i$ O  _" J
  878. ;
    0 X: K0 G. t2 {7 _! m# m
  879. ; If you only provide the name of the extension, PHP will look for it in its
    / {. s" j6 q4 M4 m
  880. ; default extension directory.
    " Z9 I; |  D8 U$ j- M
  881. ;
    " I) @( X, B* H
  882. ; Windows Extensions
    . Y: n, X3 U5 e1 w) W/ s8 s" J
  883. ; Note that ODBC support is built in, so no dll is needed for it.: w* t8 T  {7 d6 r0 T+ D( X
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    # b- F$ H( a* E2 V, l( m
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
      O% j# Y/ j; _
  886. ; Be sure to appropriately set the extension_dir directive., j+ T2 i' \8 Y7 i! V, z  S
  887. ;
    ( j/ L  M, j9 \1 q) U8 Q
  888. ;extension=php_bz2.dll$ y3 {& R- K4 Z+ ?
  889. ;extension=php_curl.dll
    4 U3 D* D) s5 P" B2 n! Y& U
  890. ;extension=php_fileinfo.dll3 v1 u$ s& c7 k- c9 }1 \+ @
  891. ;extension=php_gd2.dll4 O/ e9 e+ M1 ^4 _  e. d
  892. ;extension=php_gettext.dll
    % v1 G; Y) }  ?5 O( q. g$ B) V
  893. ;extension=php_gmp.dll
    8 O/ Q& d3 i; Q" d/ ?
  894. ;extension=php_intl.dll: W2 m* f5 H* r  L- W3 B9 J
  895. ;extension=php_imap.dll
    ( T6 Z' U# w( _5 o& D4 t
  896. ;extension=php_interbase.dll
    ; B# v% n. w8 l4 N- l% ^& [
  897. ;extension=php_ldap.dll8 w$ c; m5 j; M, W  g
  898. ;extension=php_mbstring.dll) A1 ~$ U" d" J, C# L
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ' b  @1 v  K! {  o# A8 z
  900. ;extension=php_mysql.dll% `/ p0 c: M% r5 k# I0 j
  901. ;extension=php_mysqli.dll3 q) H3 b- {0 \0 x' }4 s
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client6 r- r) W% a2 {& Y3 Y( l
  903. ;extension=php_openssl.dll
    4 Y6 `. N1 o! \" P) ]
  904. ;extension=php_pdo_firebird.dll5 P5 E0 Z$ D8 x( r
  905. ;extension=php_pdo_mysql.dll
    # K2 q1 }5 ~. E' q  k
  906. ;extension=php_pdo_oci.dll% q' b( d7 X% Y
  907. ;extension=php_pdo_odbc.dll
    - v8 u+ T% x! a- m3 Z" l
  908. ;extension=php_pdo_pgsql.dll
    ( L: \) B( U, s% K. g' T) l
  909. ;extension=php_pdo_sqlite.dll/ \0 t: W, O/ p* Z! {
  910. ;extension=php_pgsql.dll
    0 G. C  \  a9 ]4 J7 W* E6 [! D
  911. ;extension=php_shmop.dll
    % ]0 u" X4 ?8 b  E

  912. ; s$ }# s& A- k% J  ]
  913. ; The MIBS data available in the PHP distribution must be installed.
    9 D  U# C7 J& D
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    & K  d: Z+ F5 B
  915. ;extension=php_snmp.dll0 h3 Y( O7 \3 R# x, e( m* h

  916. ; t+ i& Z" Z! V, @6 `! H7 v
  917. ;extension=php_soap.dll
    ' K/ @4 t! J2 r# q. k/ t
  918. ;extension=php_sockets.dll
    3 N$ A/ C4 t8 w& V) Z" U
  919. ;extension=php_sqlite3.dll
    4 t8 X% `' Z5 A; `, _
  920. ;extension=php_sybase_ct.dll% g+ r) D% T3 \4 a) I
  921. ;extension=php_tidy.dll
    3 D3 X0 K# r$ {
  922. ;extension=php_xmlrpc.dll
    # V2 R' \3 z. U/ C7 X5 [; u- F
  923. ;extension=php_xsl.dll
    ! P  L) ?' _, T1 r* `1 y
  924. % b' C' p; L/ C  P
  925. ;;;;;;;;;;;;;;;;;;;
    # u* ?. L8 K( }; o) M
  926. ; Module Settings ;* B; g; X  V" m1 c( f$ O
  927. ;;;;;;;;;;;;;;;;;;;
    - P6 q* j' M4 X. C+ d( t( _  |1 z  D, Q4 l

  928. % V4 L  Y; k& n! {" O
  929. [CLI Server]9 x( \7 \' y$ B' ]* U
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.: c3 \; _, S# K  Q
  931. cli_server.color = On! f+ b0 V. p$ k8 L7 K' N- ~) \

  932. & \  y* K; B4 ?3 C2 n' h3 Z. N
  933. [Date]
    * o7 M/ F7 g. A% W: e1 D5 b9 ~6 c
  934. ; Defines the default timezone used by the date functions+ k* _. U: Z- W/ M% I
  935. ; http://php.net/date.timezone
    9 M- V" c! s7 \& w1 {1 n8 s- H
  936. date.timezone = PRC' C; E& B/ \/ o+ Q% l% m# ]" V

  937. # D+ ~( e3 k6 S4 f8 w
  938. ; http://php.net/date.default-latitude- X8 s0 B/ r* A: s6 X. b- ~( G
  939. ;date.default_latitude = 31.7667
    0 Z6 L& Y: n$ ?# E% V

  940. 1 {1 r8 i: I& y
  941. ; http://php.net/date.default-longitude8 K2 A1 B+ Z2 }# L
  942. ;date.default_longitude = 35.2333/ p3 G6 q6 W' z0 K: y
  943. ! \( s3 b9 \& v) i. G! `, A
  944. ; http://php.net/date.sunrise-zenith1 Z8 Z( B0 p1 ^" g2 |
  945. ;date.sunrise_zenith = 90.583333
    0 \4 e- p4 R! U0 P( z
  946. $ C' v" x- n/ _* e+ z7 _, i) J5 J
  947. ; http://php.net/date.sunset-zenith  M7 @6 ~( K$ v7 K
  948. ;date.sunset_zenith = 90.583333! z9 A- z6 K/ B  B) G
  949. 4 `* C. w& s' y* s9 p% n4 S
  950. [filter]
    2 h. n! s3 x' D# |. |/ l& q: V1 J
  951. ; http://php.net/filter.default
    - M8 R& z  ^0 `  j. j
  952. ;filter.default = unsafe_raw$ }4 x8 D5 T4 y* C. D* Y
  953. / d8 h  U3 F- x
  954. ; http://php.net/filter.default-flags# H3 V# t5 m. k9 y  C' e! f
  955. ;filter.default_flags =! J5 M  d: k0 W  |
  956. $ S  K* ?$ l% ]0 u" w
  957. [iconv]1 x, E' c' w, {* w+ C! l
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.% u) i5 Y: x- e# p6 H5 O9 }" D
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / g" j4 n& P! f4 x9 D
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    , a. [# n$ A2 j$ w& L
  961. ;iconv.input_encoding =
    & z2 a( b* X* {6 C9 [/ s" `
  962. * c9 o8 r/ f& \3 \7 K8 J) a# L
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + v! L* k0 i7 H; `) b( O! s( l) A
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 x/ Z) x) e% q% ~! M8 t
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ w& A# q5 S" z& p1 P) {5 X, S
  966. ;iconv.internal_encoding =6 N" S8 [  b1 h. M  W
  967. 2 Z& U8 i+ a# b' e1 ^( H
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.. Z) {& k- A! l; d8 _3 S4 G* b
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.% V: C6 ~5 j  Q& R  |1 U
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ; A7 y* P# r) h* @5 R
  971. ; To use an output encoding conversion, iconv's output handler must be set) N# ?/ h0 r9 Q5 e/ R; h2 Y
  972. ; otherwise output encoding conversion cannot be performed.3 E' L  j: i) x% w6 W* E4 J  m
  973. ;iconv.output_encoding =
    ) E9 r1 k2 I& u, o7 ]- b

  974. ' l- ^( L; V) O( x3 ?7 R% p
  975. [intl]( d1 r5 n; R  N0 x5 C8 b+ `( I
  976. ;intl.default_locale =" Z  M* v. ?% w1 {0 _
  977. ; This directive allows you to produce PHP errors when some error
    2 d# K. S. G; U8 d
  978. ; happens within intl functions. The value is the level of the error produced.3 o/ G6 T/ f* q, m0 R( L. [
  979. ; Default is 0, which does not produce any errors.+ Z* s( v0 K- M. i' \+ u/ J' m
  980. ;intl.error_level = E_WARNING( q3 M7 l1 s+ N. ^$ o+ c" r
  981. ;intl.use_exceptions = 0# v+ _4 Q4 c4 [0 r
  982. 8 b/ K* A4 o6 n, m# Q8 Z
  983. [sqlite3]
    * t) O; T; k; j4 h  f
  984. ;sqlite3.extension_dir =
    2 l7 M; A. N. G: T

  985. 2 T9 R8 {( x: v2 J
  986. [Pcre]
    $ I7 K! m, m% p( h7 ~" P
  987. ;PCRE library backtracking limit.: y8 J. C  W1 Y2 y8 ^" K  L5 T
  988. ; http://php.net/pcre.backtrack-limit1 M" R* n9 q. _" H' E
  989. ;pcre.backtrack_limit=100000
    , n7 ~4 Y. q, y* l# s4 s/ j
  990. # a* |+ \2 D0 c; R0 j/ u' c8 u: h
  991. ;PCRE library recursion limit.
    ! h1 ^. T1 t% d
  992. ;Please note that if you set this value to a high number you may consume all. r4 w, G! ^8 l' Z& f$ ~
  993. ;the available process stack and eventually crash PHP (due to reaching the
    , X1 v$ L8 n) u9 ]# a
  994. ;stack size limit imposed by the Operating System).
    5 J' [  q8 `# M1 B& \
  995. ; http://php.net/pcre.recursion-limit
    , D8 ?, a* p: ?& o8 T, M) A6 j
  996. ;pcre.recursion_limit=100000& n9 L* b8 z& u* [- p

  997. , A4 `: U  J$ h% {/ h! f, j
  998. [Pdo]
    ( G4 J! h7 V9 |; |6 Q; _: h
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : x5 x% n, u# d4 D5 k/ x+ J" K4 R" w0 x
  1000. ; http://php.net/pdo-odbc.connection-pooling
    - U+ h- m0 b) n
  1001. ;pdo_odbc.connection_pooling=strict
    ) M  y. {& t3 E! F  ?: P* P

  1002. 9 x. f  W# m4 h8 z/ V4 G
  1003. ;pdo_odbc.db2_instance_name
    ; o, R6 f- \8 e# u  _0 d
  1004. " l! u; A" A; K6 @: U
  1005. [Pdo_mysql]) Z, d& L* k- o8 Z( F. u6 F7 w% o3 R9 Y
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 e9 Q# n- J3 K9 E& p: k* u
  1007. ; http://php.net/pdo_mysql.cache_size
    , q3 C5 K$ f# B: N# d4 D
  1008. pdo_mysql.cache_size = 2000; l3 s4 T/ y$ J& A

  1009. 1 @2 ^9 s9 w: y0 i
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in# S; s2 V" ~2 F3 r( P
  1011. ; MySQL defaults.( `; f3 [4 u% C# F! H2 z/ |) R; G
  1012. ; http://php.net/pdo_mysql.default-socket2 A" q. f& ~  K5 u- x7 f, `2 K8 ?
  1013. pdo_mysql.default_socket=
    $ G1 s$ g. @. k# ?7 d) m% R

  1014. 1 J* t  Y' [8 S. D* `6 W
  1015. [Phar]' D+ p2 [6 v$ a( N% W5 A: r3 K! A/ L
  1016. ; http://php.net/phar.readonly0 E1 t( o3 W3 B9 q6 p3 y
  1017. ;phar.readonly = On
    3 V% V  Q% }' j! m- U5 y( }) S
  1018. : H& c1 }- U! k# D7 t7 y9 O
  1019. ; http://php.net/phar.require-hash6 B0 k; \6 C  U& {
  1020. ;phar.require_hash = On
    $ N8 _2 V1 ^  B2 a4 b
  1021. 8 ?5 m. B. N; ?( H6 \
  1022. ;phar.cache_list =
    7 F8 j5 G3 G+ P$ O7 t7 E9 S1 w3 ^+ r
  1023. 0 e! O5 M+ y9 r# a2 d
  1024. [mail function]6 z; a: n" L& l; q
  1025. ; For Win32 only.+ u) e% U: C; u% g2 i& f, w
  1026. ; http://php.net/smtp/ i9 {+ \/ J" L2 ?9 ?6 I, m
  1027. SMTP = localhost+ |6 r6 D2 q( C+ l% N* M" L; v) S  R- v
  1028. ; http://php.net/smtp-port9 _4 p% }# M/ v5 y& r1 H
  1029. smtp_port = 25% Q# x5 ]* c  O" f# \, a2 L
  1030. " ], l% U; A3 u5 J
  1031. ; For Win32 only.$ Y7 ]5 ^, p. L. j2 B
  1032. ; http://php.net/sendmail-from
    ) V7 h( f/ K: q1 |" O: i
  1033. ;sendmail_from = me@example.com* X2 n. m1 u# f: s

  1034. 1 `1 ]! `9 w9 V3 B4 F- ?3 \& i
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    7 u4 a" M/ f4 y: Q+ X# Z& D
  1036. ; http://php.net/sendmail-path6 d9 H, c4 F' s" u7 ]
  1037. sendmail_path = /usr/sbin/sendmail -t -i. l8 i3 u/ s! g9 [

  1038. 8 k  J& I3 A" Q) O4 `/ c2 z6 s2 b
  1039. ; Force the addition of the specified parameters to be passed as extra parameters9 N/ S$ R$ ~6 C$ J( j6 b
  1040. ; to the sendmail binary. These parameters will always replace the value of
    # u8 ]& a+ l7 g, z8 A
  1041. ; the 5th parameter to mail().4 h! X* u% W* V. w
  1042. ;mail.force_extra_parameters =- J; ]' M! @% A7 o# @0 s
  1043. ! U& L( Y4 G1 r
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 V5 p( {  J. @5 r1 f0 _1 E
  1045. mail.add_x_header = On
    ) E: O% k8 ~1 Y1 G, |  ^
  1046. : e1 ~$ S8 i5 U& o
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    5 {3 \; [9 }! P  m3 h( O4 O
  1048. ; the full path of the script, line number, To address and headers.
    " p& q. @* S0 ]6 w) Z  o) R% @1 \
  1049. ;mail.log =5 m8 X! \% X$ n! N) x
  1050. ; Log mail to syslog (Event Log on Windows).
    - K7 [( O/ h1 R% U( m; l% s9 U
  1051. ;mail.log = syslog
    ( y& C' n' ?" T7 {; R+ R1 `" F" O
  1052. 0 u* z/ H7 S: v. V) W* F0 R0 c
  1053. [SQL]/ n6 r  ?; `' _, G; U" Z) [  i9 L
  1054. ; http://php.net/sql.safe-mode
    % S# S8 Q9 p( R* O
  1055. sql.safe_mode = Off* c! ]4 r; j6 y2 f: A: S& G

  1056.   Y, u! U' D7 x- b
  1057. [ODBC]
    ( l$ S/ v3 y: @/ T' p  U
  1058. ; http://php.net/odbc.default-db
    % ~& ]/ M. Y7 O4 B2 B/ R
  1059. ;odbc.default_db    =  Not yet implemented6 ^. \& B/ g- e1 ^' V. k
  1060. $ W" P+ m) k# R  D+ k
  1061. ; http://php.net/odbc.default-user
    0 ^1 i& Z* n2 g2 Q- L4 H( N# t7 m
  1062. ;odbc.default_user  =  Not yet implemented
      a" Q! |# R1 x/ x5 |

  1063. % ?2 C6 \) o( P' `2 O" k; O0 @
  1064. ; http://php.net/odbc.default-pw8 Z" c( W: H7 z) s2 g: D4 r
  1065. ;odbc.default_pw    =  Not yet implemented% }- a' a: E( R2 x' F6 Q
  1066. ; ~0 p. U, G3 v  K4 j
  1067. ; Controls the ODBC cursor model.: \( Q7 ~3 C# t2 v$ m3 M
  1068. ; Default: SQL_CURSOR_STATIC (default).% |, N; K4 {  n' F* n- I) Z
  1069. ;odbc.default_cursortype
    " {" ~1 L/ _5 o# F  @% H! d

  1070. 8 }. k& b8 Z( u9 B2 o* H
  1071. ; Allow or prevent persistent links.
    " w& H) G8 p+ \1 i" j( E
  1072. ; http://php.net/odbc.allow-persistent
    5 a5 D  c: S9 z0 E
  1073. odbc.allow_persistent = On
    $ b$ _+ O  j' Q+ ?& F2 n
  1074. : e, M& h$ r8 _. E% Y
  1075. ; Check that a connection is still valid before reuse.  m0 ~. Y1 ]. s5 p' \- I4 R
  1076. ; http://php.net/odbc.check-persistent
    5 N& k% a( L, a" }( t
  1077. odbc.check_persistent = On! X& ?' k# t- Z9 R  L

  1078. , o$ `3 L9 i5 Z6 I4 m( m: G
  1079. ; Maximum number of persistent links.  -1 means no limit.4 H, N+ P% S4 S# y' U/ `; i7 A# p  `+ w
  1080. ; http://php.net/odbc.max-persistent
    % t) `' |) G4 l2 Q
  1081. odbc.max_persistent = -10 X0 Y) M2 t, D

  1082. 1 x( Y" @! |* v: v  X% W- S
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * Z' C/ ?0 Y& Z4 f1 n0 o- ?8 Q
  1084. ; http://php.net/odbc.max-links% b3 y. Y+ e3 g: a7 u# q5 \" A5 y8 E: }
  1085. odbc.max_links = -1; d2 i5 y6 L- }% _

  1086. ! `3 G/ O, F4 y+ t) V
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' D' T. E  @1 T: b" h" M! U
  1088. ; passthru.# V4 q- W' `/ a
  1089. ; http://php.net/odbc.defaultlrl+ o$ j; g5 ?6 [1 S
  1090. odbc.defaultlrl = 4096
    7 c6 k! g' _- ~. X/ U* `
  1091. ' c' v8 S+ ]0 C" l  h# q: p8 A
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    : d# d# A) t& o. g2 n2 I
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 q0 }! |. u+ H# ~% _/ ~1 p
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    / \3 |1 Q% k1 Z& [1 j2 w: e
  1095. ; http://php.net/odbc.defaultbinmode
    . [- [' j8 ^4 T2 q# }
  1096. odbc.defaultbinmode = 1
    4 h* A! p3 F/ M1 R, s+ w  A4 E0 z
  1097. * c) }) E. Z' l% f% ]
  1098. ;birdstep.max_links = -10 K  [% {! s7 q5 E( D+ g

  1099.   G% a, m' Y+ O3 t' _) j% Y/ A
  1100. [Interbase]; R  W! K- b4 H( N; p2 t7 U) C
  1101. ; Allow or prevent persistent links.
    / Q2 P+ g0 J! n) U/ _) K( l8 g
  1102. ibase.allow_persistent = 1
    1 q9 L2 b* F; C- k) Q

  1103. $ ]" l3 Y# C+ S) B& ]
  1104. ; Maximum number of persistent links.  -1 means no limit.% ?% I! L5 O: {1 l0 w
  1105. ibase.max_persistent = -1
    9 J5 n& A5 ^8 q7 Y# @
  1106.   x8 ]8 Q, g  q, k3 d& h2 U/ p" u
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' J& W: ?5 o7 |# u& y5 Y
  1108. ibase.max_links = -1
    7 k# O% v& Y& }8 w

  1109. 9 U# q( f2 Y) v6 W+ G' B
  1110. ; Default database name for ibase_connect().
    7 N- P; G/ H8 `) ^' e; V
  1111. ;ibase.default_db =
    : P5 s" Q' a& h$ \7 B
  1112. ' z; K* \& v9 |8 e/ K5 x% e
  1113. ; Default username for ibase_connect().& V" \% ~3 z3 }" \/ w( A# R& \  p1 {
  1114. ;ibase.default_user =5 w) C, q) o- Q5 x
  1115. ! x  Z9 _* U+ z) V( O
  1116. ; Default password for ibase_connect().' Z% i8 ~& Y  W9 P$ A) b1 `+ R  m
  1117. ;ibase.default_password =& J  T; c- \" n* f" r9 p' r0 z

  1118. ; [$ |8 L8 q6 p  [" Y7 r
  1119. ; Default charset for ibase_connect().) P, a+ h+ w8 t; v4 p
  1120. ;ibase.default_charset =
    0 S+ w7 ^" D9 f* o5 E6 N9 `( J
  1121. # m& u5 b7 m. C; R
  1122. ; Default timestamp format.
    9 L; z  u6 A! v
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"' Q1 _' ]+ Y0 w) T
  1124. * w2 w. z" q" A. D: ]
  1125. ; Default date format.1 T. L5 h. a) F( x
  1126. ibase.dateformat = "%Y-%m-%d"
    6 {+ I0 g( |( ], L* H& U
  1127. 1 j# _+ X  B; g1 t
  1128. ; Default time format.
    9 g5 R) f1 d5 ]. a6 e* n
  1129. ibase.timeformat = "%H:%M:%S"* x& Q; Q' G2 M9 U

  1130. 0 ^0 V3 n, _* ~6 M5 ?3 `
  1131. [MySQL]. G2 r1 q) Z4 }  M+ j4 T% {
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 b* L, F" B( ]- q
  1133. ; http://php.net/mysql.allow_local_infile; M# j4 |3 Q# {/ T4 [# D
  1134. mysql.allow_local_infile = On  O( G$ p& e3 f8 i

  1135. ' `1 N: q6 p" R3 i( @  w- Q) D2 m
  1136. ; Allow or prevent persistent links.$ J8 O* X0 N& I- i8 k
  1137. ; http://php.net/mysql.allow-persistent3 l( A- U5 V8 Q1 m6 B3 ?
  1138. mysql.allow_persistent = On
      u& N3 d6 i5 u- N1 c( ~& o
  1139. # w1 Q% N- T5 ^/ W+ x
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / ?% B: {- C0 Y7 ], L6 U3 E% j
  1141. ; http://php.net/mysql.cache_size
    * ]( c/ t0 z, M. s
  1142. mysql.cache_size = 2000; E6 \( J6 d' V2 B+ a6 n
  1143. $ Y/ X- l7 y$ O2 }" P! h
  1144. ; Maximum number of persistent links.  -1 means no limit.% |: e( T$ q$ V, P' E
  1145. ; http://php.net/mysql.max-persistent$ v5 N% ~2 a+ w& A
  1146. mysql.max_persistent = -1
    0 J4 M# p" [% t
  1147. " Y+ G6 d; B$ c/ z2 T2 t
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( t- i  y7 o3 {* H! v
  1149. ; http://php.net/mysql.max-links
    5 M; ?! E# W9 r
  1150. mysql.max_links = -15 P" F( O/ h# ^$ _
  1151. : c4 Y# v: m# k5 y  H+ m: ^  e
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use( }+ Z8 H4 F: i# I: u+ d
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; _# i( Y% {* q4 }$ i) r6 a
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look* ]3 t; V/ E6 x8 ~8 B: ~
  1155. ; at MYSQL_PORT.
    $ ^- I! a) V& w6 U6 l
  1156. ; http://php.net/mysql.default-port7 g- X( ^7 a8 ]
  1157. mysql.default_port =
    1 S8 q. x# P+ z2 f
  1158. , P) Q% V% ]* n& a' \0 t
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in# h9 j6 r7 w4 x: T- g* @6 q5 ^6 K& g
  1160. ; MySQL defaults.* H6 I1 @' H) _1 i3 w  e) V+ `" n
  1161. ; http://php.net/mysql.default-socket
      w  s! O1 A8 L$ L
  1162. mysql.default_socket =
    + S) t0 d9 I9 a8 G/ e4 I
  1163. 0 ^) U' H- Y+ D5 y) c
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ) f! L5 I+ w9 l& V$ w6 U/ F
  1165. ; http://php.net/mysql.default-host  V( P0 B, O3 g* |2 \- E' s
  1166. mysql.default_host =4 L% {0 v2 g3 a- k
  1167. & c" V* g! g0 o6 g4 b+ \& T
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    7 I. `+ o$ `8 h/ v) ]/ j" r
  1169. ; http://php.net/mysql.default-user
    + c& r. T1 f# S: K( x
  1170. mysql.default_user =8 A0 R- a1 _- a8 c4 E. L

  1171. , C4 C% ^- U/ _  q. Z5 d# A& X
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).1 D& _; m1 D0 ^$ c: W
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 Y, }8 A, }1 A! o- h+ s* {$ r
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")2 ]: ^6 C( W6 B
  1175. ; and reveal this password!  And of course, any users with read access to this$ x/ G5 g) H/ O5 _9 k
  1176. ; file will be able to reveal the password as well.! s2 R1 I5 ]1 W$ Q- B+ j- l
  1177. ; http://php.net/mysql.default-password
    , {! @+ {0 q, v
  1178. mysql.default_password =
    / ?; J/ X( D# d# a% u5 i) i
  1179. ' e% F* L0 y5 Q0 A7 H
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    & t# n% b* x( ]# c3 t5 t$ W
  1181. ; http://php.net/mysql.connect-timeout1 l. o# q, f: \* K" n. r
  1182. mysql.connect_timeout = 60
    1 S% z" r6 H  h
  1183. + L2 c6 ~9 }* S  e
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    0 C0 [+ z$ z; J
  1185. ; SQL-Errors will be displayed.: D4 ]* S# C' ?! g6 u+ z
  1186. ; http://php.net/mysql.trace-mode0 N( k$ _& V0 o$ a
  1187. mysql.trace_mode = Off
    ' `, V4 t  s+ G3 B0 T! [& l

  1188. 5 }7 J! V% _( H' l8 P
  1189. [MySQLi]2 a! k7 a5 @* g& n' |. ?0 B  @
  1190.   i: f7 u7 {. [6 I5 N
  1191. ; Maximum number of persistent links.  -1 means no limit.
    " B6 E8 r" E6 b/ H& h3 F1 r
  1192. ; http://php.net/mysqli.max-persistent$ I; ~# o. Q& y, ~( R3 l
  1193. mysqli.max_persistent = -1# d; ]: s( J- w# p5 A
  1194. , \: J/ G2 Z! q! `, P% g$ d9 B5 F
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& O) B& q0 ~9 N, E
  1196. ; http://php.net/mysqli.allow_local_infile
    0 W. _2 B/ M- F
  1197. ;mysqli.allow_local_infile = On% a0 m& ~' Z- }& T

  1198. 0 X! l; v- ?% C4 j, B
  1199. ; Allow or prevent persistent links.& @( i3 \: H3 D7 g
  1200. ; http://php.net/mysqli.allow-persistent# G) N5 M! e. _# k9 R1 T3 |
  1201. mysqli.allow_persistent = On6 q1 O. B/ _2 S! g
  1202. ( J! w, D& ]; g3 ?* R. |, X
  1203. ; Maximum number of links.  -1 means no limit.
    $ v2 k2 a9 Z! Y4 {& P: z5 ^  s
  1204. ; http://php.net/mysqli.max-links# E. ]: F! V9 Z* S: ~
  1205. mysqli.max_links = -1# q5 ^- _! J; ^' F: h7 n6 x

  1206. ! e' }7 Y9 I2 i1 U) {: G$ _
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! a+ ~6 I' c# \
  1208. ; http://php.net/mysqli.cache_size8 g; |! j, L$ g' {+ L: R% H
  1209. mysqli.cache_size = 20002 u/ o$ w' l5 @# S  A7 n8 S
  1210. 6 g1 a( b8 A% I- `' v6 v6 f
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! [$ t0 y* R9 z9 U4 r" b/ t
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 z) t+ {3 g; m. g4 K. m8 P) R& t
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , J8 h% C4 L) u) d; k
  1214. ; at MYSQL_PORT.6 _  G) `  C" I& ~2 _6 u& i# s
  1215. ; http://php.net/mysqli.default-port
    8 l: [+ ?/ f, u, V# ?; F1 U
  1216. mysqli.default_port = 3306
    4 W+ G6 v1 T" z+ F, U
  1217. + `, E* m+ @( V! B% @% `% \
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 L, w. ]& b5 m) x  ?
  1219. ; MySQL defaults.
    1 k: i: z" ~5 {8 ?6 h
  1220. ; http://php.net/mysqli.default-socket  ]; p" \8 O; H1 k2 \
  1221. mysqli.default_socket =8 J. A7 t8 f: q  D
  1222. ( \( o, U1 h* u, [  }
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( S0 e0 M2 j% ^) i5 G8 Q, A
  1224. ; http://php.net/mysqli.default-host
    + l. n  Y# Y7 ~6 ?
  1225. mysqli.default_host =; c: B4 t3 U1 ], d% I- `! A
  1226. 6 E! A: K( U  t. R5 p+ k. y1 C+ l
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).( ]& T! j2 y" Q/ k" t
  1228. ; http://php.net/mysqli.default-user
    $ X& `/ q9 m/ D9 b& S. R
  1229. mysqli.default_user =
    ( u4 K; u1 |; c+ |2 M9 g
  1230. ; |. n- P; c2 D1 w( C: k& T( C
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    9 N. N6 _, O5 ~4 r6 h7 v
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    / T  D* O" L: R
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ' t! b# G$ V/ G, S# ?) @/ ^) i( [
  1234. ; and reveal this password!  And of course, any users with read access to this* q& @2 u/ h( _, f. \, z3 A" b/ _8 d
  1235. ; file will be able to reveal the password as well.; V. e& `, k! Z1 {3 Y/ B* [
  1236. ; http://php.net/mysqli.default-pw! H. w4 B* S4 u
  1237. mysqli.default_pw =
    ' v% Y% _+ X9 |
  1238. 4 d7 ]0 L, ]( C0 v3 d
  1239. ; Allow or prevent reconnect7 F4 t9 j  F" ]( I
  1240. mysqli.reconnect = Off
    5 h, _8 A! F& L, ?2 |
  1241. * Q3 u, i# w4 h% k/ j
  1242. [mysqlnd]
    4 ?4 z% ^5 r' s$ ]- R* b. N
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be% |9 A0 v+ m, a" \  C# N2 Q
  1244. ; used to tune and monitor MySQL operations.
    5 T9 k# Q. T  c* S3 V
  1245. ; http://php.net/mysqlnd.collect_statistics
    ! A& L+ j. l0 N5 L# j& p* Q
  1246. mysqlnd.collect_statistics = On+ D" f9 @' |5 h; w7 R" @& U( @, [

  1247. : ?  [+ `9 b: ]0 {' T
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- W3 Q( P' _4 u
  1249. ; used to tune and monitor MySQL operations.2 \/ V5 L# c$ c1 A& L$ j
  1250. ; http://php.net/mysqlnd.collect_memory_statistics  M! m7 ^) D5 M
  1251. mysqlnd.collect_memory_statistics = Off
    2 Y: s5 q. }' R! M6 w, F1 R( U, `
  1252.   s" _: J' X( r. v% ]
  1253. ; Records communication from all extensions using mysqlnd to the specified log6 C2 {7 Z. n& k* {0 z
  1254. ; file.
    2 G  J! b8 P& v' s3 [9 e
  1255. ; http://php.net/mysqlnd.debug( C9 N/ Z& `0 I; G6 n2 g2 U
  1256. ;mysqlnd.debug =
    , q" o  p3 F3 v8 l$ L

  1257. . B1 a! l+ q6 X! |$ E: d& ^
  1258. ; Defines which queries will be logged.9 w; r! R1 y7 {9 B2 U0 v
  1259. ; http://php.net/mysqlnd.log_mask
    0 V* t6 m% ]; i0 r3 A
  1260. ;mysqlnd.log_mask = 0, B, k8 O& }$ H( e0 o
  1261. 7 L& ?& r' D5 K% v; B1 `& |1 @, W, G
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    . |$ K2 I2 m! S2 V4 J
  1263. ; http://php.net/mysqlnd.mempool_default_size/ v6 B7 h9 T, X1 S( u2 c% [
  1264. ;mysqlnd.mempool_default_size = 16000
    1 z* `) E; [# Y  T7 W

  1265. 3 M" L6 E- C& u9 G. t
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.0 |4 _0 D. a$ W/ a5 ]$ s. A
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size8 m! O1 g% ]9 z$ b9 R/ S" V
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    + E: u) H0 B. _9 [& `
  1269. 2 k5 p. A% `2 U' a% I. u
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    6 `' J  R+ h9 `
  1271. ; bytes.
      I* \3 B0 W9 `4 c
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    0 r4 g# s5 {0 N5 B" y# y
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ( ~) [# @* b4 n( H3 h
  1274. 2 ]5 L$ ]7 f& {( o; S
  1275. ; Timeout for network requests in seconds.
      e" F3 ?- P! |4 X5 ]9 q
  1276. ; http://php.net/mysqlnd.net_read_timeout
      M6 C! q3 |6 C5 t* h8 ~6 o
  1277. ;mysqlnd.net_read_timeout = 31536000' _& J+ ^* ]  y7 @: I8 P  W3 Z: r8 O
  1278. 4 p' U. v- _% g0 G! ^( O
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    6 x7 m. a1 _; P" U$ x0 s- j
  1280. ; key.
    5 T! {2 y8 Q- s+ c% w" a, g/ }
  1281. ; http://php.net/mysqlnd.sha256_server_public_key. n/ d# p4 E0 C( S, ^8 F; H
  1282. ;mysqlnd.sha256_server_public_key =- N6 ^% n/ N+ Z, T$ }) J
  1283. / [* E, x% \5 t, c8 m! \7 D
  1284. [OCI8]& \3 H4 N3 v- J) ~6 P

  1285.   g6 q; l7 J- U& p" R! \3 A
  1286. ; Connection: Enables privileged connections using external: E! q8 I0 ~8 Y' v
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( }% _9 ?8 E# u  C9 [% W. J
  1288. ; http://php.net/oci8.privileged-connect  f# J( W+ j$ _, o( H
  1289. ;oci8.privileged_connect = Off8 G) @  l0 V9 {. E# z$ l' S

  1290. 6 C0 ~) q! ]/ d2 R
  1291. ; Connection: The maximum number of persistent OCI8 connections per: G, J3 L, E9 f9 _- L
  1292. ; process. Using -1 means no limit.
    0 W, ]3 s* y7 w- m3 j
  1293. ; http://php.net/oci8.max-persistent% y; E, q6 B; m& }
  1294. ;oci8.max_persistent = -16 d2 ]2 E! X& L. M2 c0 J+ V5 I. q
  1295.   h, \) E5 H) \$ q) b, o/ e0 d
  1296. ; Connection: The maximum number of seconds a process is allowed to9 V$ s6 H2 x+ E: q" D1 K  {, g) x
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ' L8 _3 C5 s6 N0 b+ i
  1298. ; persistent connections will be maintained forever.( H5 a; P8 l; H0 T1 L
  1299. ; http://php.net/oci8.persistent-timeout/ |" k, H$ Y, K4 x) s( e
  1300. ;oci8.persistent_timeout = -1
    0 ]1 V6 c0 M% F3 Q! x/ D5 w+ [

  1301. ) r# t: M8 ^, S% }+ U; g
  1302. ; Connection: The number of seconds that must pass before issuing a
    * R: ~7 B8 L) D4 B4 ^% A+ s
  1303. ; ping during oci_pconnect() to check the connection validity. When
    9 M2 Z* G( T9 N
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables* m5 V- X$ @( W" ?) H
  1305. ; pings completely.8 g- L2 ]7 c, `0 Z9 c
  1306. ; http://php.net/oci8.ping-interval
    % i% a; W4 H# E4 A1 u
  1307. ;oci8.ping_interval = 60; j9 M9 N* H; w* H! v

  1308. 4 ]; g3 \6 S1 p  M* T8 z! e
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 P- c0 X$ U+ o) \7 ]% W4 Q( n
  1310. ; for all pooled server requests with Oracle 11g Database Resident% q) V0 O% R/ V6 O5 [
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    1 H8 B8 j; y; s. B+ O3 Q
  1312. ; the same string for all web servers running the same application,, c3 d3 c9 U+ _" p" ~) W
  1313. ; the database pool must be configured, and the connection string must7 z0 x6 L# ^7 S5 x+ s
  1314. ; specify to use a pooled server.% \* a& j: {& V4 E2 B
  1315. ;oci8.connection_class =; S$ G8 z  N& y3 z) ]
  1316. " E2 u  h1 h0 l# M, G
  1317. ; High Availability: Using On lets PHP receive Fast Application
    * S" l2 n! O! U8 _7 s$ V4 p: p, _
  1318. ; Notification (FAN) events generated when a database node fails. The& Z% ^8 S! O- x: W( P
  1319. ; database must also be configured to post FAN events.$ e9 `, p( F1 k
  1320. ;oci8.events = Off
    3 M: s2 e! a7 |0 |/ b
  1321. & d( W1 r  o  _1 j; C4 [
  1322. ; Tuning: This option enables statement caching, and specifies how8 W! E! e$ u* M: T' f" g8 T4 P
  1323. ; many statements to cache. Using 0 disables statement caching.
    7 v, F) G7 H3 C" _3 B
  1324. ; http://php.net/oci8.statement-cache-size
    , }0 w9 e2 V. r% c( ?
  1325. ;oci8.statement_cache_size = 20
    ( G8 q7 K+ R' U* c
  1326. % A. W* v" i; C% _6 t
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    0 i8 @1 ?  @" R* B" P8 Z
  1328. ; rows that will be fetched automatically after statement execution.
    " {( E0 ]; {# b6 p5 w$ e4 V6 v
  1329. ; http://php.net/oci8.default-prefetch8 [+ p0 E& p7 ]% `2 t
  1330. ;oci8.default_prefetch = 100
    , D1 E# M* T) z. D& s- j& T
  1331. # d9 L4 ?+ {& S$ ^! Q. J
  1332. ; Compatibility. Using On means oci_close() will not close4 v1 q: ?( Z7 c
  1333. ; oci_connect() and oci_new_connect() connections.& c* m! M( G3 |* P( F
  1334. ; http://php.net/oci8.old-oci-close-semantics
    7 r5 z$ R. |- J1 \& U/ \% Y# r4 j
  1335. ;oci8.old_oci_close_semantics = Off7 R* |, i* J. f8 h2 @: S: T# g
  1336. # L7 G' t0 X9 p) H! C& E
  1337. [PostgreSQL]$ C' K5 C: k  Q$ w1 E/ Q6 F
  1338. ; Allow or prevent persistent links.
    ! c0 }. I( C+ k* \
  1339. ; http://php.net/pgsql.allow-persistent5 X% f% p( h0 i4 s  _$ J9 {
  1340. pgsql.allow_persistent = On
    " F4 e2 f! q4 a3 K

  1341. ( v( ~- e) M( b/ \
  1342. ; Detect broken persistent links always with pg_pconnect().# P* X$ D# E. r9 B/ ]
  1343. ; Auto reset feature requires a little overheads.& z7 |5 L  e' U& Y
  1344. ; http://php.net/pgsql.auto-reset-persistent
    & p8 ^; x" f" k1 b$ }
  1345. pgsql.auto_reset_persistent = Off) }; r( ?8 z& I' k
  1346. 1 Z4 k9 {2 b6 X4 \0 w
  1347. ; Maximum number of persistent links.  -1 means no limit.4 A  D9 b" \: G
  1348. ; http://php.net/pgsql.max-persistent( C  r3 H8 K, p" B
  1349. pgsql.max_persistent = -16 X) J( n( f; ]  U5 C; B8 x
  1350. 5 w7 f% B4 x/ p2 r5 {! e, j! A, X
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    . L4 \0 [/ A0 S3 D* }
  1352. ; http://php.net/pgsql.max-links( V" _2 i4 m0 J3 `3 F" A# P
  1353. pgsql.max_links = -1& g; K4 |! W- X- e8 p9 N1 O5 Z( ?
  1354. ) s- D# v5 ^3 y3 f  ?% L% r* H1 `
  1355. ; Ignore PostgreSQL backends Notice message or not.
    & V4 U3 f& h, e1 P; O( e
  1356. ; Notice message logging require a little overheads.( C( t# G1 |$ c, d1 I3 y% N1 }
  1357. ; http://php.net/pgsql.ignore-notice
    ) [4 L0 ]4 d# g
  1358. pgsql.ignore_notice = 00 \1 q4 ~: m+ [" d

  1359. + y. U, U! j' @; @( m+ A& \3 r9 h
  1360. ; Log PostgreSQL backends Notice message or not.
    ! I* x5 A9 i  q2 K9 T. l0 t, I6 N
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % D/ M5 g. Z. E
  1362. ; http://php.net/pgsql.log-notice
    ( Z, n  f  p" p. J/ [
  1363. pgsql.log_notice = 0
    1 |8 E- |. y% _! S8 K. D1 Q6 `
  1364. * c  |0 ^9 F5 [6 ?; D9 S
  1365. [Sybase-CT]
    9 Q" [, W& l" Z; q
  1366. ; Allow or prevent persistent links.! W. J1 s/ e9 B4 L4 Z" h7 B
  1367. ; http://php.net/sybct.allow-persistent
    7 L, _2 b, {% S' _' H+ t  U
  1368. sybct.allow_persistent = On
    ' K: m5 C2 W% O
  1369. 2 w( k% O8 W5 \% d; h) C7 m6 |( M6 T
  1370. ; Maximum number of persistent links.  -1 means no limit.
    7 S8 o% S. Q- e0 G) [. X8 H
  1371. ; http://php.net/sybct.max-persistent
    0 }. h6 c& a  V- F
  1372. sybct.max_persistent = -1
    + d0 d4 u+ l. t% A  e
  1373. 6 B: b# g$ I& {( w( J: g9 y
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # Y7 N1 ]5 Q0 m+ h& q) T
  1375. ; http://php.net/sybct.max-links. c) d+ M! z; h* K- d, V3 A
  1376. sybct.max_links = -1# u; t" [2 d: W0 s$ h% X
  1377. 4 G- E& J! k7 b. G. a5 p5 g
  1378. ; Minimum server message severity to display.+ A- C, Z" k- V
  1379. ; http://php.net/sybct.min-server-severity, R2 p% t, n8 |- L- @$ j
  1380. sybct.min_server_severity = 10
    . v0 A! `# T4 i( }
  1381. + g* W$ w- n- E6 G% ?
  1382. ; Minimum client message severity to display.: t  u* `5 @2 P8 \) m3 Q& I
  1383. ; http://php.net/sybct.min-client-severity5 T$ m6 I& V: P  d/ V
  1384. sybct.min_client_severity = 106 t" k/ s3 K! \8 h. `9 D
  1385. + P& z6 J' N; Y) u8 S  m! c" P
  1386. ; Set per-context timeout, _4 f, ^& O6 G4 \: X  a
  1387. ; http://php.net/sybct.timeout
    6 R4 u) g+ q: I0 ?6 Q6 w$ k. q: i
  1388. ;sybct.timeout=
    8 A9 @- u' Q: _- S+ J

  1389. " c, m7 T9 q# C
  1390. ;sybct.packet_size' x; S  R3 p# \
  1391. 0 ~6 @) F4 c8 u. h9 d
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.: N, \' N; E, c" ]& }9 b
  1393. ; Default: one minute
    % O6 v- w8 I$ z9 U+ K% R- H
  1394. ;sybct.login_timeout=. c) b$ z9 F$ a$ u& ^2 {0 ?
  1395. 0 H$ I$ T. j! R$ g
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.+ v$ g4 v; V# o
  1397. ; Default: none9 X4 l* Q. O  A: }4 |5 v: s
  1398. ;sybct.hostname=
    9 W' H  {7 J4 `* R, r
  1399.   w7 Y% X/ c, U* k0 p' n* ]
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    $ y& W$ n1 z4 L$ |  j5 t2 `
  1401. ; Default: 0
    ! }. X$ K0 k6 A' b
  1402. ;sybct.deadlock_retry_count=
    * X& v1 P5 ~! T& c! {3 Z
  1403. + \5 A: E  e7 A$ I
  1404. [bcmath]
    / b' V7 n4 d; A$ J% V
  1405. ; Number of decimal digits for all bcmath functions.9 {* \( c6 }" O  K: D
  1406. ; http://php.net/bcmath.scale
    5 T5 |/ ^& x5 d2 D* |' l$ G- X  T
  1407. bcmath.scale = 0
    ( C# i6 q* a/ [5 N) n$ Y

  1408. 0 V* {- n7 k- Q. N% Z9 k5 `, r
  1409. [browscap]- {6 d3 e* W) P
  1410. ; http://php.net/browscap4 m, I. ~( F& L% C) N
  1411. ;browscap = extra/browscap.ini1 u# J; T0 h0 s6 n

  1412. - D$ I8 b  g! J/ @
  1413. [Session]
    8 q* F) l. a+ e7 N) X& [2 V
  1414. ; Handler used to store/retrieve data.- r4 R/ r5 m1 \5 O9 [; K
  1415. ; http://php.net/session.save-handler% H# @/ a2 K2 Y  ]; k, E
  1416. session.save_handler = files
    0 @* r( z5 w$ L6 f+ K9 M
  1417.   Z" X/ o8 z' s  W* F* Y  s) x
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ) z# V" O# E" v8 ^* ?# R& I
  1419. ; where data files are stored. Note: Windows users have to change this
    - _. D2 w: \4 X9 h3 k/ X: Y1 ?
  1420. ; variable in order to use PHP's session functions.) j; o$ d. y5 `/ h3 A. F' K0 f# q  |: I
  1421. ;
    $ p4 e0 y( h# [
  1422. ; The path can be defined as:
    : O  R8 H4 I# A1 H
  1423. ;
    * j  }" n# @1 F. |9 s
  1424. ;     session.save_path = "N;/path"
    # Y3 W7 b% m; Q
  1425. ;
    ) s2 n* q( ], w4 s* J+ m
  1426. ; where N is an integer.  Instead of storing all the session files in- P0 k) C# t! Q2 u( v/ n
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    1 {) h8 X& a( |# }9 Y" X* K' g
  1428. ; store the session data in those directories.  This is useful if: G9 m1 A  q. t0 y$ ^9 f) T9 d0 B
  1429. ; your OS has problems with many files in one directory, and is$ R# b3 g/ y2 D1 A0 j7 Z- g
  1430. ; a more efficient layout for servers that handle many sessions.) P$ s5 T0 k* [7 d; I( `
  1431. ;. G7 r* X1 @0 F& s- y0 z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ! h" ~. d% w7 U  |* J
  1433. ;         You can use the script in the ext/session dir for that purpose.
    : h4 C* {: u$ b2 ?+ p2 E% n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to: z' E/ M$ @+ r7 _% U
  1435. ;         use subdirectories for session storage2 i" W7 i4 G0 L1 j4 ^
  1436. ;
    " D* ?: j, J: @  w2 ?. h- C
  1437. ; The file storage module creates files using mode 600 by default.7 J+ y1 D7 E) U+ C, G
  1438. ; You can change that by using
    2 e0 I7 ~7 z- F) N
  1439. ;
    3 G1 G  [! B* [% C+ r) n
  1440. ;     session.save_path = "N;MODE;/path"4 M/ A' K6 t- O. `+ _, m! `
  1441. ;4 u& ^7 n; f/ n' W7 R: p7 G3 v
  1442. ; where MODE is the octal representation of the mode. Note that this
    $ a, h6 Z6 o& B  k
  1443. ; does not overwrite the process's umask.7 I9 Z" b( ^: p. ^  R4 E
  1444. ; http://php.net/session.save-path3 d" _* R/ \6 \0 P1 ~3 ?) O" K1 j
  1445. ;session.save_path = "/tmp"
    % U7 p: P4 p& A" k6 V) P

  1446. 5 [* A3 R% i. Q0 `! c0 ~# n' _
  1447. ; Whether to use strict session mode.3 p' V$ b0 ?6 k$ @# {5 h, \+ a
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate4 Y. s' D- N2 w. B( u- \2 x  ?
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects* t7 z% L6 y* t* f( R+ d
  1450. ; applications from session fixation via session adoption vulnerability. It is
    3 C# }3 j4 n) o# _4 G; r
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " j( w& `! [7 E
  1452. ; https://wiki.php.net/rfc/strict_sessions7 Z3 E) c; [) d* ]0 X3 J+ {; U# o
  1453. session.use_strict_mode = 04 L& x$ Z. g. p

  1454. . K2 d/ L! K8 n; \! z7 \! [& |
  1455. ; Whether to use cookies.8 G+ a* ]$ D9 ~. h3 d/ @
  1456. ; http://php.net/session.use-cookies
    / L: S( m, Q4 A1 |7 t
  1457. session.use_cookies = 1
    # m0 ?9 a* u: z" }" c% R0 g7 h
  1458. ! h3 l2 M) V+ W! Q4 k- d! e- h
  1459. ; http://php.net/session.cookie-secure
      Y, {8 M- l8 c' g7 I
  1460. ;session.cookie_secure =
    0 d: s, l/ {) U- `; i, I0 U

  1461. " s& y- B# p, k  i
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining3 G  W& x, l' P: A1 g8 l
  1463. ; the session id. We encourage this operation as it's very helpful in combating% W/ ]0 l5 p& y
  1464. ; session hijacking when not specifying and managing your own session id. It is
    1 x  m% ?) ~8 Q  Q
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    6 ]9 Q  E0 w4 X# H! p/ ~8 b8 p
  1466. ; http://php.net/session.use-only-cookies4 U  I- R/ P0 X; p2 z7 l) F+ U: j
  1467. session.use_only_cookies = 1
    + V2 f6 f9 d0 i+ D+ q: ~" ]

  1468. " g1 }% L& {1 {4 z( i, Y7 Z4 [
  1469. ; Name of the session (used as cookie name).
    # C/ ~, b+ T1 i, A3 H6 t
  1470. ; http://php.net/session.name
    + \- Y' ^$ |7 F  K" j
  1471. session.name = PHPSESSID- W7 M6 F2 G8 ?0 a4 ~; A7 K- q
  1472. 4 |. W- L4 z! b& s5 E( }8 L2 R
  1473. ; Initialize session on request startup.
    # z* z- w! A2 z  l. U
  1474. ; http://php.net/session.auto-start
    # p5 m/ A7 E  S& ]  p9 u
  1475. session.auto_start = 0
    $ G# R5 U. B, ~( F8 P: I  m, m* J

  1476. $ |+ ~; \9 P2 R
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    1 _3 s+ G+ s+ N. r5 j# S) d$ a
  1478. ; http://php.net/session.cookie-lifetime
    # s+ [' g+ ^; C8 i
  1479. session.cookie_lifetime = 0
    0 o4 Q# S4 b/ i! `( ^2 {5 u" T1 @

  1480. . h  A# o' a2 @$ a: z  o6 C1 \
  1481. ; The path for which the cookie is valid.- Z. M0 p) g, q- b
  1482. ; http://php.net/session.cookie-path' p* x- J. y0 E) ~
  1483. session.cookie_path = /4 @. Y6 {3 \# d& X0 M- I- w

  1484. ; F8 s1 W8 J' \" I  l
  1485. ; The domain for which the cookie is valid., D3 s$ J8 D" A. w. Z! L  n2 `! A! }2 `
  1486. ; http://php.net/session.cookie-domain
    1 H5 R8 |7 s% m+ w" v# @/ e  H1 q
  1487. session.cookie_domain =+ q, z# n* e# u- e

  1488. $ H% Y2 H: C; z- P
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ) D6 O* O/ U- I) M! F5 A7 N7 Y
  1490. ; http://php.net/session.cookie-httponly1 R) I- z: A) q3 \* g
  1491. session.cookie_httponly =# y' j/ ~" s( d0 z% k" R7 S

  1492. * b( K0 }0 P. q  R
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.2 v- o2 q# @8 s4 u" ~
  1494. ; http://php.net/session.serialize-handler
    . t" x- n& _% v% q
  1495. session.serialize_handler = php. r+ y) u) k$ J
  1496. 7 {; @6 \" J, N- ^
  1497. ; Defines the probability that the 'garbage collection' process is started
    * P# \# I2 c& ~% p4 L
  1498. ; on every session initialization. The probability is calculated by using* l" c* n/ ~/ O& \/ Q1 t5 l/ h
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator* i, A3 g* X. ?' f# r
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) o0 _' ]) c6 l* X
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; r1 M6 |. F4 C. Q
  1502. ; the gc will run on any give request., V! ]8 T- }1 q, V( V9 B
  1503. ; Default Value: 13 `6 |+ l" J9 }$ r2 f  i4 Z# X0 ?
  1504. ; Development Value: 1
    ) n# t: P8 E+ ]1 a5 [
  1505. ; Production Value: 1
    % V0 G. o, c5 Z
  1506. ; http://php.net/session.gc-probability  q( i" n# r" T  f( {
  1507. session.gc_probability = 1
    ! m5 }& \: O' _% {' [4 s. `" ~

  1508. - O7 G; y  o! G7 [2 i5 e5 `$ e; c4 H: G
  1509. ; Defines the probability that the 'garbage collection' process is started on every$ q* d+ `+ {, a$ t
  1510. ; session initialization. The probability is calculated by using the following equation:
    ) Y$ r+ b* |/ R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and1 F' o; t  H6 C
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1: i, E/ x4 p9 c- w
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: M( @4 c8 p' N. [4 O& `
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 w, \/ i/ b3 M
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,4 L( V; n( x4 F& H0 s# H$ Y* P
  1516. ; this is a more efficient approach.
    9 j6 X; l$ `$ D' B
  1517. ; Default Value: 100
    2 Q6 Y6 G! e3 e  @# k
  1518. ; Development Value: 10002 t' Q0 [" G6 A1 A5 a; q- X
  1519. ; Production Value: 1000; |7 f3 j4 F1 m
  1520. ; http://php.net/session.gc-divisor
    8 \+ |" ~/ O) Y5 s1 x$ R& u" w
  1521. session.gc_divisor = 1000
    8 C8 b1 X% h1 C* C

  1522. # C8 v* D8 i# A$ r2 n! h
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and8 ]! i) L" |* A% }; K; R1 [
  1524. ; cleaned up by the garbage collection process.* m3 @5 e, L- G
  1525. ; http://php.net/session.gc-maxlifetime& Q3 k+ r/ k6 Y. x/ Z$ J+ S
  1526. session.gc_maxlifetime = 1440
    * S) a% a- G& Q
  1527. # r9 U( U+ z+ u! l
  1528. ; NOTE: If you are using the subdirectory option for storing session files6 j; N4 o! Z, |' s. t
  1529. ;       (see session.save_path above), then garbage collection does *not*
      E2 [9 {& C$ ]' H" V8 l8 p
  1530. ;       happen automatically.  You will need to do your own garbage0 |+ u* C& d  `4 J9 b
  1531. ;       collection through a shell script, cron entry, or some other method., z- V/ I+ a- ]# G3 s. I) n% R
  1532. ;       For example, the following script would is the equivalent of8 K& T1 A8 k9 ?' A5 h& H( Y
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' W+ b8 q9 k2 i2 l  ]0 n+ j/ P. I
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    1 L1 i7 O3 [2 A. I! J. U2 d) e

  1535. 9 _% |4 v7 H. [+ ~0 [9 }
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.9 S* @4 p' y% m8 S6 J
  1537. ; HTTP_REFERER has to contain this substring for the session to be& `. [' R* ^+ _7 o: x/ W5 o9 ]
  1538. ; considered as valid.$ N/ e+ w* M. s0 f% D
  1539. ; http://php.net/session.referer-check/ W8 S! [! |! U# C5 g( x; n
  1540. session.referer_check =
    : {* M$ w" Y. E% Y7 g5 F' s
  1541. ! t8 r& M8 J% o7 I& P! e+ d
  1542. ; How many bytes to read from the file.
    % t7 q; O0 [2 H* y' I/ |
  1543. ; http://php.net/session.entropy-length
    ' G3 _# k! e+ j2 d, [# z
  1544. ;session.entropy_length = 32
    7 G  D* `$ y: T

  1545. 9 u" L. ^3 E' T2 o" R  I9 d
  1546. ; Specified here to create the session id.
    % g! K) ?% r( Q
  1547. ; http://php.net/session.entropy-file; K0 }0 F: X3 G0 l6 }
  1548. ; Defaults to /dev/urandom8 ~' F7 P9 ]. |3 Y* {( Q" K7 |
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom' B& o6 n- S6 w. U
  1550. ; If neither are found at compile time, the default is no entropy file.: ]0 }* _' {1 Z4 l
  1551. ; On windows, setting the entropy_length setting will activate the
    5 `9 O1 b4 u( V0 u* Y6 g9 f
  1552. ; Windows random source (using the CryptoAPI)
    8 S' e' p- M' _' P# v3 O2 t
  1553. ;session.entropy_file = /dev/urandom  H) \0 w+ ~+ U1 d) X/ f' I

  1554. 2 X0 H4 K  V& m, v/ U  Y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects& n8 ^8 o$ s( `% Q7 V) x% b& R" o
  1556. ; or leave this empty to avoid sending anti-caching headers.5 D9 W/ ~6 {# P! Y3 w7 k2 V' G
  1557. ; http://php.net/session.cache-limiter
    6 b; S$ z& q3 h6 G# ]: K& }5 r
  1558. session.cache_limiter = nocache
    " k3 t5 }% [6 ~4 I4 M

  1559. : ^: M3 z! b* x" G$ f; z
  1560. ; Document expires after n minutes.$ a& [- H2 N7 ~3 n: ~
  1561. ; http://php.net/session.cache-expire; B1 K0 h/ H* R
  1562. session.cache_expire = 180
    7 P' }, t& j$ ?0 c$ C* Q/ ]

  1563. " g4 G7 f* D8 v, |4 s' @
  1564. ; trans sid support is disabled by default.
    1 Q. p  c+ `2 H7 c& Z' M
  1565. ; Use of trans sid may risk your users' security./ Q0 ]+ Z1 w- [$ Q' H" Y0 E1 H
  1566. ; Use this option with caution.. N: F, w5 H; g& n* y- z
  1567. ; - User may send URL contains active session ID
    ( A. p4 E" }3 w2 l7 C
  1568. ;   to other person via. email/irc/etc.
    & g0 @6 f0 }8 V) R
  1569. ; - URL that contains active session ID may be stored
    , c$ X! [0 L1 x" h7 }4 K6 {* E: Z
  1570. ;   in publicly accessible computer.
    * [; U. @2 }% V# b, J. w
  1571. ; - User may access your site with the same session ID2 A& h& I; k7 p1 {& _7 G; B) c3 M
  1572. ;   always using URL stored in browser's history or bookmarks.8 w6 P& z3 ~" i" l
  1573. ; http://php.net/session.use-trans-sid
    # V) l+ _8 [, G4 G% W  p) r$ X
  1574. session.use_trans_sid = 0
    " {& s; g) K) A* ?9 L- G

  1575. 0 B7 |8 l# w4 t9 q. ]2 b
  1576. ; Select a hash function for use in generating session ids.( B8 {8 k1 c% D  i0 e/ T% x: U
  1577. ; Possible Values( G" M: y) u% \* O2 s) m% ]
  1578. ;   0  (MD5 128 bits): K  B" ?+ P5 k" A6 t9 A5 E
  1579. ;   1  (SHA-1 160 bits)
    ) e, n+ x$ z- @$ R& \/ X% |, H7 h  S
  1580. ; This option may also be set to the name of any hash function supported by
    6 T0 E* a* Q8 F* i0 T0 M- v, G6 r1 V
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    , ]- A5 g* g: _2 Q6 i$ u" N. _
  1582. ; function.
    ; W& c) s: _8 h* e# J2 @/ v# G( o
  1583. ; http://php.net/session.hash-function
    6 n2 o1 ?1 }. _0 K0 C
  1584. session.hash_function = 0
      {1 D. K  W+ X8 K$ q. S

  1585. , l5 U0 I" t6 W
  1586. ; Define how many bits are stored in each character when converting
    7 ~0 f8 y3 o- N: C' c
  1587. ; the binary hash data to something readable.3 V& M' Y% ?+ R2 z. U
  1588. ; Possible values:
    5 _& A' j; q, \0 n2 F
  1589. ;   4  (4 bits: 0-9, a-f)
    - s. \3 y% Z: Z9 W0 D% E; b
  1590. ;   5  (5 bits: 0-9, a-v)
    $ ^% G+ g. H: r) _3 B: V9 ~+ O7 o$ N
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    1 I0 @* l2 D2 d: Q. U2 Y9 Z( P
  1592. ; Default Value: 4) z: P0 w( |( H" Z
  1593. ; Development Value: 5
    5 x+ h7 u$ d) U2 U4 C
  1594. ; Production Value: 57 R/ Z9 g7 k7 v
  1595. ; http://php.net/session.hash-bits-per-character
    * P  y0 d1 y; U2 p, U. |$ y: k2 {8 X. ]
  1596. session.hash_bits_per_character = 5
    % B6 x2 C9 K( Z% d% V' m: F. X% R

  1597.   \3 J+ `( r) a) m. @( i
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    5 T8 e* _' O! p& X2 b* X4 G4 x
  1599. ; form/fieldset are special; if you include them here, the rewriter will0 e/ X" b$ q' r! ]) d
  1600. ; add a hidden <input> field with the info which is otherwise appended: m$ _. J5 _7 q/ m
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.. q3 u0 c7 {! l/ d, d9 j
  1602. ; Note that all valid entries require a "=", even if no value follows.0 h: Q0 S  J, h# c( P4 n
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! |& R( x5 P2 e  M( a) J
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 }0 Q' L' K, [" r
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 T5 l. _$ [, k6 H6 U
  1606. ; http://php.net/url-rewriter.tags/ ^$ [3 L9 s2 N  j: g+ W$ M
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 A. k3 E9 [4 u& ?) l

  1608. 3 x& S3 G( M! P
  1609. ; Enable upload progress tracking in $_SESSION  m* H5 w# N5 T& U1 l4 L8 R
  1610. ; Default Value: On
    - y! [2 G( N8 Y& @7 `% ?5 l! b
  1611. ; Development Value: On3 L. u1 K  Z  E) p1 x' Z9 J
  1612. ; Production Value: On# S3 G$ u2 O% a3 ]" m5 R) y
  1613. ; http://php.net/session.upload-progress.enabled
    , m% w+ d1 j! O) J& g6 R
  1614. ;session.upload_progress.enabled = On) u4 w0 V( s; X

  1615. ; m& p* ^, Q* q1 F
  1616. ; Cleanup the progress information as soon as all POST data has been read2 G7 @& i9 Z' X& Q
  1617. ; (i.e. upload completed).
    # j/ J2 C" Q7 e- N% H
  1618. ; Default Value: On  m7 i! Z0 z& l- l9 }0 y0 P& }( x
  1619. ; Development Value: On
    $ i) j, ~9 R/ w4 v) M. x
  1620. ; Production Value: On
    0 s$ A  t; E% Q3 k$ O6 M
  1621. ; http://php.net/session.upload-progress.cleanup
    - B8 E+ R/ J, w5 Y
  1622. ;session.upload_progress.cleanup = On' r4 e; M& L6 ]' l5 D

  1623. ' e' q9 M5 I$ E1 P5 u9 I2 V
  1624. ; A prefix used for the upload progress key in $_SESSION9 [/ K0 k* K. m/ S- ?; E) q
  1625. ; Default Value: "upload_progress_"
    2 |* C& F) g* P( l: ~' }$ U
  1626. ; Development Value: "upload_progress_"
    3 l& w, @7 d& l( k8 j2 Z0 o9 x
  1627. ; Production Value: "upload_progress_"" `/ t  u( H+ c+ L5 b  U
  1628. ; http://php.net/session.upload-progress.prefix
    . u( e! v  x) h1 @' G8 Q) u
  1629. ;session.upload_progress.prefix = "upload_progress_"+ x1 ^# e6 q. O# h

  1630. 1 ?3 R! l6 O3 X0 d; |$ Y- Y5 X
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ) V5 l6 s( P2 B
  1632. ; containing the upload progress information9 K& G/ [  C  O! h. q1 g/ @( J
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ n) [# x$ Y- }4 K, @7 q
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 `/ O. P4 l* G; {2 U* Z# z
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"7 F% X* X& Z" g. Q  t
  1636. ; http://php.net/session.upload-progress.name" F6 @+ E) V0 Z. ?# S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    5 }9 X9 z: I! t# d6 d4 r! K! q3 ~
  1638.   u0 i: d$ {# }9 ?8 g- z0 ~3 A
  1639. ; How frequently the upload progress should be updated.
      L4 e. E5 A1 f, G3 d
  1640. ; Given either in percentages (per-file), or in bytes
    " z% S5 \. z/ P# V
  1641. ; Default Value: "1%"
    ; P1 ]4 w- W. U  @5 U0 e' I/ v( _. K
  1642. ; Development Value: "1%"
    7 x  a: Q. j7 @* H& w5 Q
  1643. ; Production Value: "1%"  b; Z0 J; h% \+ n
  1644. ; http://php.net/session.upload-progress.freq
    9 |/ t& v, p0 b
  1645. ;session.upload_progress.freq =  "1%"8 S; `- h6 V, A) E
  1646.   ], ]5 e% B, ^8 ]) _
  1647. ; The minimum delay between updates, in seconds
    0 Z0 [* U1 m* @( o: M6 n
  1648. ; Default Value: 1. _, `2 }, {* S3 @0 {
  1649. ; Development Value: 1* R# k% B6 U0 I: ?# f
  1650. ; Production Value: 1: Y# D5 R; o* b# R) F1 P
  1651. ; http://php.net/session.upload-progress.min-freq  V% J: i% w0 z2 v7 \- h' v
  1652. ;session.upload_progress.min_freq = "1"* Y8 ~, x' w- z
  1653. , h+ f' J$ X! b/ i" h% n
  1654. [MSSQL]
    1 W) z5 c; A5 {( U9 M) d3 L
  1655. ; Allow or prevent persistent links.
    + a: G9 H) N) ^* t4 C) L, G
  1656. mssql.allow_persistent = On
    4 E+ @' _5 F8 |; x

  1657. : w1 M, R7 c* q! A! s/ M2 k
  1658. ; Maximum number of persistent links.  -1 means no limit.( B2 R: F! A, ]: C* X+ N
  1659. mssql.max_persistent = -1
    1 p* z, N4 W! S# s  x4 U" O1 z9 r

  1660. " \( m+ _% F5 e6 {
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& O( e5 @4 Q! M) @- K
  1662. mssql.max_links = -1
    5 O5 q& v/ H4 K3 Z& {6 z
  1663. , U4 Q$ Z6 r" S1 K1 L
  1664. ; Minimum error severity to display.& i/ s( n, H  f1 v' f) g
  1665. mssql.min_error_severity = 103 N% H8 P: l) l( f) }3 N

  1666. 3 i  f( R: @0 m# y) k
  1667. ; Minimum message severity to display.: ^8 _" v  e+ [6 Y% d9 r% g
  1668. mssql.min_message_severity = 10
    / e6 r! k4 o( c. @6 s1 j

  1669. / ]' E5 l& [# a* U) H
  1670. ; Compatibility mode with old versions of PHP 3.0.  ~" ~# Q7 s( ]! I
  1671. mssql.compatibility_mode = Off
    7 }4 F2 @  g' U, q
  1672. ( a: s6 ^+ ^3 _0 e3 I7 S
  1673. ; Connect timeout
    2 c; D* R, p. A+ W# [' ~
  1674. ;mssql.connect_timeout = 5) S$ F; p2 F3 |3 R3 V
  1675. # H) R# s2 O* r* h* l) Z
  1676. ; Query timeout9 _3 ?. [4 `: t/ S7 U
  1677. ;mssql.timeout = 60
    0 E: o9 L/ E! t# B1 O: {
  1678. , ?9 Q* Y4 u. c6 K2 H
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    $ j8 z6 [+ d8 ?& {
  1680. ;mssql.textlimit = 4096
    $ ~1 U+ p% ]8 r
  1681. 4 l4 h: Z% A4 Q7 J) {9 s
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    5 O+ O  o7 B$ R* ]# Y( k$ l
  1683. ;mssql.textsize = 4096( Z( d0 y/ S7 y# d
  1684. . S* f. {- Z( n- O! D" e
  1685. ; Limits the number of records in each batch.  0 = all records in one batch., P9 o6 E5 G$ ~2 c8 I
  1686. ;mssql.batchsize = 0
    / [# X5 n; m5 k' \
  1687. 9 h9 k, B6 N; W2 A
  1688. ; Specify how datetime and datetim4 columns are returned
    ( z5 w1 O+ W3 d7 E2 e
  1689. ; On => Returns data converted to SQL server settings
    ! Y9 e5 K+ N3 B
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    0 C( o- h$ j. W2 s: s, c
  1691. ;mssql.datetimeconvert = On. w" k: Y. F, U. C1 R
  1692. ; [6 M: u" a6 N  F3 d  [6 o# T& ]; l
  1693. ; Use NT authentication when connecting to the server
    5 a# \$ z" y6 e7 ?4 V; Y+ q4 x( n0 H( M
  1694. mssql.secure_connection = Off( J, t2 Q% z9 x6 m  g+ E1 c
  1695. & i! I  i& V: Q& |
  1696. ; Specify max number of processes. -1 = library default/ q, d5 q% t/ n9 K* F2 C( V& `9 W
  1697. ; msdlib defaults to 252 v8 j9 A, a+ `! P5 o/ `5 W, T: T- f0 X
  1698. ; FreeTDS defaults to 4096# y! n9 X' \" E
  1699. ;mssql.max_procs = -1
    : z3 F$ q  ^2 {' Z8 a$ \. v) m
  1700. . g3 ^. ]/ ^) E* u4 Z# l
  1701. ; Specify client character set.+ K6 U3 }3 k& \: v. E
  1702. ; If empty or not set the client charset from freetds.conf is used  C0 V& v, f: z+ N. I
  1703. ; This is only used when compiled with FreeTDS
    ; `2 U: B0 S1 K; N" c* V8 E/ c* C
  1704. ;mssql.charset = "ISO-8859-1"0 j7 I. n& ~0 X% Z0 I  j: V

  1705. 9 L3 y+ z- A0 b. }* q7 `
  1706. [Assertion]4 F$ t+ T% c5 a' u0 p
  1707. ; Assert(expr); active by default.
    & C5 i( N- B( p, m/ D7 ?
  1708. ; http://php.net/assert.active* E7 ?7 l+ @2 O, {5 b
  1709. ;assert.active = On
    % c$ ]# ]- i  ?0 o! A  G! g$ Z) K

  1710. 5 S% K* t% z' a
  1711. ; Issue a PHP warning for each failed assertion.; `' r* v* o6 i2 z! E
  1712. ; http://php.net/assert.warning9 |5 U8 K1 V9 c5 v6 `5 Z
  1713. ;assert.warning = On
    - I) e9 u5 f( C. h
  1714. ; d) M! a3 g6 g" k3 [( o( I2 q
  1715. ; Don't bail out by default.) p1 B; b4 z1 Q# R6 y3 e
  1716. ; http://php.net/assert.bail
    + ?! b, P7 O) h' P- t8 b
  1717. ;assert.bail = Off+ i" o* d2 s+ i) v1 Y' I7 N- J

  1718. - ~! l5 _+ A- @6 _% ~; i
  1719. ; User-function to be called if an assertion fails.( S5 ~( ^( B/ B7 e2 R5 _9 @& C9 W
  1720. ; http://php.net/assert.callback
    7 r9 ^# Z) y; E7 O% f5 K7 K
  1721. ;assert.callback = 0- |; g) \( s+ k$ \6 \

  1722. ! r" m% `5 W, Q5 b
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    5 K0 M# Y8 q7 X' q  C3 ]
  1724. ; error_reporting(0) around the eval().
    - b! a' B8 [* C$ W- ~: l2 |$ r4 f
  1725. ; http://php.net/assert.quiet-eval" w8 X8 S7 @9 E; w, S: b
  1726. ;assert.quiet_eval = 0
    $ W0 D6 y4 |/ l% I
  1727. ) z$ c# G- x! z6 D' j4 x7 j
  1728. [COM]( B: z# B- k) f( Q
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    + P$ Z  q- Y9 t+ t2 H6 |; O
  1730. ; http://php.net/com.typelib-file) i' h! {2 }) J& Q& w9 q8 q( h0 |  s
  1731. ;com.typelib_file =, {9 W, n5 S% n3 x. S7 f

  1732. 4 f$ X( I6 P- C4 W* w& ^
  1733. ; allow Distributed-COM calls2 |3 b% t/ C) F! P
  1734. ; http://php.net/com.allow-dcom. x) \' t$ M1 i6 J
  1735. ;com.allow_dcom = true# g: Z) ?5 e& s! }4 t4 U1 r
  1736. & ?0 t/ z1 X( j
  1737. ; autoregister constants of a components typlib on com_load(), d! e. q- U* D0 R9 g# q, w
  1738. ; http://php.net/com.autoregister-typelib) N* ^$ |7 V- @( `  ^  P! J
  1739. ;com.autoregister_typelib = true2 X0 i4 R3 C7 }

  1740. ( P( E% s' `) M$ V; _* _
  1741. ; register constants casesensitive
    0 g; T, W) {; Y: x  [  H' Q( L
  1742. ; http://php.net/com.autoregister-casesensitive
      G$ ^4 Z2 G" Z' x4 Z# `* u2 O
  1743. ;com.autoregister_casesensitive = false& k, |2 r9 W) F( h$ L
  1744. 8 m9 @. k* u" |4 ~% N- [$ }
  1745. ; show warnings on duplicate constant registrations
    * p3 v8 [: `2 m* c/ Q) O; \* |
  1746. ; http://php.net/com.autoregister-verbose8 f& a4 f8 w& p1 }. _& p$ N7 D
  1747. ;com.autoregister_verbose = true" S, L8 m0 d* K$ i' b, g7 A# A
  1748.   a( o& @; b+ K' k- T
  1749. ; The default character set code-page to use when passing strings to and from COM objects., Z# d1 R" L; ?, p8 k
  1750. ; Default: system ANSI code page
    1 W6 M! l6 z, N1 ^# ^, f3 k
  1751. ;com.code_page=
    9 w% g2 V; E" q# i9 `9 b' @

  1752. 2 ^- J. Q7 d. r2 D# K
  1753. [mbstring]; [$ k9 t# a3 S! d- a
  1754. ; language for internal character representation.
    1 q7 d- a. @8 o6 }. c/ y; ~- A
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.! u, i1 Z! O2 o/ {# b* F
  1756. ; http://php.net/mbstring.language
    9 u- X5 U3 p3 @) k
  1757. ;mbstring.language = Japanese
    6 w. d) T% G2 t3 _) H
  1758. ( e. @1 x7 h0 j, ]4 N9 S
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 W) B! O( k* P7 e, F# \8 K
  1760. ; internal/script encoding.; i3 I& m3 k/ D0 y
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) u# |( i# b; c& [- l
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / x, O; J* v) Q3 C
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , u: c' `  c0 r; D: z
  1764. ;mbstring.internal_encoding =* v8 U( R, T$ L% J- ~
  1765. 2 |& X+ h* u+ n: |2 d/ v
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.& h9 j+ A, H' d+ v1 t& T
  1767. ; http input encoding.
    ' m: P# [: T/ J
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    9 |. l* L3 \* n  D" ^0 A
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    5 |4 R0 m3 _3 H! [. Y0 J
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    # V% i. P- C4 E: K; J* G5 |& \8 ?
  1771. ; http://php.net/mbstring.http-input
    ; ~# z) R% U7 b3 r+ s  |+ y2 i
  1772. ;mbstring.http_input =6 I* m$ y- L5 u% r) F

  1773. 9 {, R4 T/ H: N5 V5 @
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 k. ]8 j$ m; I- w& V( {
  1775. ; http output encoding.
    6 y5 W, h. q6 t# ?2 a/ b
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 ?) V9 O' N( ~6 w
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! U" J2 i9 q0 W
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output6 v- a# F; ~$ e. v
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    6 J  _1 Q# Q" E  D$ I3 l( N) E
  1780. ; otherwise output encoding conversion cannot be performed.7 i' v9 Q8 s0 H( U+ A1 J
  1781. ; http://php.net/mbstring.http-output
    $ ?- h1 K) x% x- b& m- N7 H
  1782. ;mbstring.http_output =
    % {* Y4 ?/ }1 u: L9 A8 O' y$ r
  1783. ; Q) |! J) L* t8 N, j
  1784. ; enable automatic encoding translation according to) A( m5 O7 I# v+ b
  1785. ; mbstring.internal_encoding setting. Input chars are
    1 Y& p; |, d/ f0 ~5 u1 k
  1786. ; converted to internal encoding by setting this to On.
    % ?4 m( v- ?. g# }* F
  1787. ; Note: Do _not_ use automatic encoding translation for: h- m$ m0 H  i0 [. v; _9 X
  1788. ;       portable libs/applications.
    ( M4 S! v9 Y, b3 V! I
  1789. ; http://php.net/mbstring.encoding-translation
    6 C- I4 f( T* Y) K
  1790. ;mbstring.encoding_translation = Off
    " b- o# n+ ?" T; E2 `1 K
  1791. 5 P; H9 S9 t0 t& v& t# e
  1792. ; automatic encoding detection order.4 C; M* b. G7 T) O8 P+ D: ?0 `
  1793. ; "auto" detect order is changed according to mbstring.language
    3 K& g& n4 C- m* s8 A
  1794. ; http://php.net/mbstring.detect-order! y0 e4 k0 D; P- o4 K
  1795. ;mbstring.detect_order = auto3 ~3 K+ G4 J, H& h
  1796. % L! L: W4 G; c
  1797. ; substitute_character used when character cannot be converted
    . B6 q/ H9 P, D0 |, u1 U
  1798. ; one from another
    : m- w- I) m7 \) Q! Y
  1799. ; http://php.net/mbstring.substitute-character
    / n/ ?$ m2 ]7 O1 |
  1800. ;mbstring.substitute_character = none7 O) M7 W& I  _: K- N
  1801. - @" j, l( C8 K; L$ |. z, b" |
  1802. ; overload(replace) single byte functions by mbstring functions.
    ' p9 y  v& A$ a  c
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 }" p9 r& K5 J6 w& u" F' G+ b
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    # r# O$ ?3 F9 r0 Z; s% m
  1805. ; For example, 7 for overload everything.8 Y9 V# E2 |1 X1 s
  1806. ; 0: No overload" e& j- }, U+ y0 M4 O: L. @+ ^
  1807. ; 1: Overload mail() function6 M) P+ J& f, c! u' X( Q! W9 u) }
  1808. ; 2: Overload str*() functions" c  l2 p  ^9 h& C8 C" l; X
  1809. ; 4: Overload ereg*() functions! u4 r( n$ ~0 K; u9 }$ q) p
  1810. ; http://php.net/mbstring.func-overload
    8 X6 ~9 x& T2 v3 L% E! q' ^
  1811. ;mbstring.func_overload = 0
    7 N; b  O0 q+ y/ `

  1812. 4 _& \* U: V% T$ v6 \! Z
  1813. ; enable strict encoding detection.
    & Q  I/ L  t- o/ |7 [
  1814. ; Default: Off7 g& f8 J" J  ?; \+ y7 \# i
  1815. ;mbstring.strict_detection = On4 W; o/ @3 r/ D& ]+ P; U" V- n

  1816. / d6 g' J0 T* C. }% C+ _
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()2 L5 P: N6 H; }+ j3 k1 y
  1818. ; is activated.
    7 c0 n' h( i' p$ L
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)- P7 X3 K6 j- L- v
  1820. ;mbstring.http_output_conv_mimetype=
    # k. O7 t& Q- F7 v

  1821. # q+ m. ?% B% ^: {: \$ H1 l4 o" A
  1822. [gd]: x) ]! z2 ]* u5 A& }
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ) {" d6 a7 Z" U" U
  1824. ; a gd image. The warning will then be displayed as notices* f, N# C4 H; a3 ^3 N0 \& W
  1825. ; disabled by default
    3 V9 q8 g0 S. o4 J" ~, C3 c- v! e0 x
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ; q8 I$ B  g' l: |4 ?5 v
  1827. ;gd.jpeg_ignore_warning = 0# x! Y* }% |! n5 ~7 \
  1828. 1 D" o4 p* A% b% `
  1829. [exif]
    % V. r1 F2 \* H7 u! H/ j
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' q, e/ [4 x# E* X* M
  1831. ; With mbstring support this will automatically be converted into the encoding
    , j6 U% S4 S- C# S- T; e
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " {5 E; e6 S; u! v% E
  1833. ; is used. For the decode settings you can distinguish between motorola and
    $ j6 D2 B, s4 Z8 u( a6 o
  1834. ; intel byte order. A decode setting cannot be empty.' H6 Y1 @3 j! r) c+ T
  1835. ; http://php.net/exif.encode-unicode! R% q' E/ e$ ~9 O* u  w
  1836. ;exif.encode_unicode = ISO-8859-15
    * f2 c# f: {5 i' |5 R" O- R
  1837. ) j8 o" r$ C1 s& {6 o! K
  1838. ; http://php.net/exif.decode-unicode-motorola
    + i' L6 @$ C. M# i
  1839. ;exif.decode_unicode_motorola = UCS-2BE& Y4 T/ q) m2 A( V2 \/ V
  1840. & k0 W( ^/ J( {
  1841. ; http://php.net/exif.decode-unicode-intel4 Y* q( ~( ~: {9 `/ n4 l
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ' j% U% |+ D) d" \# J5 y. ?
  1843. ! Z4 D) R9 E' r7 `
  1844. ; http://php.net/exif.encode-jis
    $ |% O* g# Z" Z- Z- |/ R
  1845. ;exif.encode_jis =
    " Z$ m2 V! \' g) X
  1846. 6 d0 x" j8 Q4 P7 \; I
  1847. ; http://php.net/exif.decode-jis-motorola
    8 C: ?+ O4 Y) G7 G5 n. O
  1848. ;exif.decode_jis_motorola = JIS
    , X+ w/ |) V! Q1 I* O
  1849. % o. A9 v! }' a4 n
  1850. ; http://php.net/exif.decode-jis-intel
    ! j5 ]" [, i0 T" K$ `
  1851. ;exif.decode_jis_intel    = JIS. W% G% A9 Z1 V  s0 X
  1852. ( p. D8 F; I- q' d7 z
  1853. [Tidy]  W& p! O" O0 w% w* d
  1854. ; The path to a default tidy configuration file to use when using tidy
    . l, {1 {) [/ w6 p3 `. ^- V
  1855. ; http://php.net/tidy.default-config
    " m+ a6 @, u  k% ^9 _' `
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg+ t  D0 _5 j8 K. L  }4 a5 _: M2 H9 B

  1857. 3 u3 }" u; g4 x8 p
  1858. ; Should tidy clean and repair output automatically?
    7 ]- u8 b# c, U+ J
  1859. ; WARNING: Do not use this option if you are generating non-html content" z8 }2 P+ b5 n
  1860. ; such as dynamic images% B+ I. [/ |4 R
  1861. ; http://php.net/tidy.clean-output
    & [* |4 C8 N6 }" G2 w
  1862. tidy.clean_output = Off
    ' i4 S1 F6 {  F% J9 V) ]

  1863. : N. M, Z& b# a' D. {
  1864. [soap]# _/ z) {8 Z: s8 a0 N) m! m0 e+ K
  1865. ; Enables or disables WSDL caching feature.
    9 F) ]) x% D. w% r
  1866. ; http://php.net/soap.wsdl-cache-enabled& A( z" \& M  n
  1867. soap.wsdl_cache_enabled=1/ `4 A$ `, V7 l8 _' N1 N
  1868. , j7 Y, y6 ~8 u7 q$ t5 @
  1869. ; Sets the directory name where SOAP extension will put cache files.9 `% S  O7 I* g8 Y6 ?
  1870. ; http://php.net/soap.wsdl-cache-dir
    $ e* j9 i) U2 c
  1871. soap.wsdl_cache_dir="/tmp"" S7 T% g1 ~, \# Y9 M/ u) |
  1872. 6 @8 S# E/ r: u) @& J- J7 ]- j5 ~
  1873. ; (time to live) Sets the number of second while cached file will be used5 P3 G& u# F8 Y9 c* ~% B& _
  1874. ; instead of original one.
    # m2 I! Z% H0 G* ~" [$ S# m  }
  1875. ; http://php.net/soap.wsdl-cache-ttl" I( U: h; I2 ?2 T# A
  1876. soap.wsdl_cache_ttl=86400' v+ W8 r0 K- H4 |9 U% c- p

  1877. $ W/ H1 d$ W5 b
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    $ o  C# u1 N3 ~2 R
  1879. soap.wsdl_cache_limit = 57 |( o8 M9 w& Y  J7 i/ T

  1880. & x" X. s# {+ o
  1881. [sysvshm]6 n9 ~: U/ ^/ |/ d% P( z: I
  1882. ; A default size of the shared memory segment0 L9 |- C/ E' q3 p
  1883. ;sysvshm.init_mem = 10000
    ( @+ q. {3 B( `# t4 |& M
  1884. ' k9 ?% s& s3 Y) ]- M3 x
  1885. [ldap]
    & e  C1 j' c3 k
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    4 a$ Z; V+ x- v5 X, s
  1887. ldap.max_links = -1# w5 J( _$ d2 ^' r6 P/ P/ \3 X- B

  1888. " t0 J5 c4 H* g6 z
  1889. [mcrypt]' d/ u1 p4 l& o+ E7 p8 Q' Y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open8 y5 c8 q8 P& W. s( `

  1891. + a' |* X" }# h( h, }: f8 X& \2 U& H% v
  1892. ; Directory where to load mcrypt algorithms
    ! h" o, }( I/ ?1 @' f$ u
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 i+ F( i3 j3 V- {& T+ b" f
  1894. ;mcrypt.algorithms_dir=
    ! _  {6 u5 d# F1 y
  1895. # {, M( M+ P/ z9 ]$ V
  1896. ; Directory where to load mcrypt modes
    * s5 ]9 E" J) ]4 o2 b0 I( y
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 \( N# H# u4 k& D
  1898. ;mcrypt.modes_dir=0 x( B+ t+ k3 L% u& @7 }6 g& s
  1899. . ^0 z8 V0 L$ Q4 B2 ^
  1900. [dba]. ^- y8 v! S' U% ~6 ]% _
  1901. ;dba.default_handler=- a9 @7 V+ ?9 s/ {8 ?
  1902. . H$ |) W3 ?  O# M! ]
  1903. [opcache]  q) [, M& D/ e
  1904. ; Determines if Zend OPCache is enabled: w" `7 K2 a7 j, C
  1905. ;opcache.enable=08 Z8 j, \3 A0 P! U6 g6 V
  1906. ! }: _# }9 {# ]  ~
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , M) q" r6 R. a9 b4 O& s0 ^, b
  1908. ;opcache.enable_cli=0) L6 a( P( M  D

  1909. ; u& h& A# Z% r; |: r; C- u3 U
  1910. ; The OPcache shared memory storage size.
    9 a1 r/ |9 Q& T5 h
  1911. ;opcache.memory_consumption=64
    + Q- F. D2 H6 p, N" D
  1912. , V+ d/ O7 e8 ]$ M& R, Z& L
  1913. ; The amount of memory for interned strings in Mbytes.
    4 G6 ?( u; ?, b4 E/ V! n/ ?
  1914. ;opcache.interned_strings_buffer=4- B# a# l$ g6 b" i8 v
  1915. * {5 Q4 s+ E6 {0 W' |
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    % v$ N+ ^5 u4 x8 y! O" [+ |
  1917. ; Only numbers between 200 and 100000 are allowed.8 F3 E, V1 e' O, b; u6 K& `
  1918. ;opcache.max_accelerated_files=20008 W7 Z6 Y6 ]' _: t% P

  1919.   E% L1 v* e  p$ Z/ `! H, Q9 ?- {
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.' x& n+ s; ~4 F! m% j
  1921. ;opcache.max_wasted_percentage=55 [9 B) H& A' {$ S

  1922. , i# x4 ?1 i$ b
  1923. ; When this directive is enabled, the OPcache appends the current working4 v; G* c2 B' i# d5 |
  1924. ; directory to the script key, thus eliminating possible collisions between
    $ T9 ~, J  C6 a) a$ I, P  ?, ]
  1925. ; files with the same name (basename). Disabling the directive improves
    + P$ d' [& C. B4 S
  1926. ; performance, but may break existing applications.% \: _$ @/ @- z# ]# Z9 d
  1927. ;opcache.use_cwd=1
    & G7 e, Q9 |3 a; f  Z2 I

  1928. 7 r4 D3 H! w( C
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ' t5 u: ^" j4 }" W, K1 ~! `
  1930. ; webserver for changes to the filesystem to take effect./ q- T; J8 s! H! E0 r" f2 i
  1931. ;opcache.validate_timestamps=1
    4 e2 L/ y' D  r) [% u( ]0 j

  1932. / X8 N2 W3 q6 Y, c* k
  1933. ; How often (in seconds) to check file timestamps for changes to the shared) N0 j0 z0 _" v. S. G( L( _; T" v
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 |- J; o7 e- d3 d
  1935. ; once per request. "0" means always validate)
    & H' w- z% z5 E
  1936. ;opcache.revalidate_freq=27 Q, Q, r& _: }7 q; d6 t6 H5 J
  1937. & v' v" V- e# l* ~
  1938. ; Enables or disables file search in include_path optimization& z( Q* y7 I4 y/ V. l8 Y
  1939. ;opcache.revalidate_path=0* m/ Q9 C" f6 [/ O$ K, h4 ^
  1940. ; L" w' U9 e2 O$ v" V& _( h( [
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the9 V, u0 g1 o. C- o. G  B" D' e$ R
  1942. ; size of the optimized code.
    , ~1 t' E7 I  @+ o( h5 `1 U
  1943. ;opcache.save_comments=1
    $ Z- u, K9 y8 N, x, O5 l! h* P

  1944. - l3 O5 H. L9 p( p4 B% r& {
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ' E! ~  I8 J4 H3 v* l% f
  1946. ; may be always stored (save_comments=1), but not loaded by applications) s. r, X* k, `4 @) |, N& I
  1947. ; that don't need them anyway.  @! R# H8 {/ |
  1948. ;opcache.load_comments=1
    - z2 E# p9 B8 z9 I* N
  1949. ! i# z% o3 |" b5 M- l" \$ ~! F
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ) r, [9 b  P( [$ h- L' ^4 u* [/ T
  1951. ;opcache.fast_shutdown=0% V2 M) C$ \) O$ Q$ ?7 C7 i8 A

  1952. 1 j! z- y$ y- Q1 S. n$ U7 _
  1953. ; Allow file existence override (file_exists, etc.) performance feature.5 n7 p9 ^: K* `4 [" r) I* X
  1954. ;opcache.enable_file_override=0! L* Y/ O1 i- Y  ^: K9 H
  1955. ( P  M+ E8 N0 E, \9 h7 w5 |, w9 l
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ) ]% s5 s- K$ z; \
  1957. ; passes. n! k& V) Z3 Q
  1958. ;opcache.optimization_level=0xffffffff3 f- O5 U$ h1 u/ W3 c
  1959. 6 S& _+ p3 z/ a" z
  1960. ;opcache.inherited_hack=1
    & v  e; L& V, r# _$ P
  1961. ;opcache.dups_fix=0
    % r) u' S' g# a; Y. G) s

  1962. # O$ H6 A# R! W4 ^+ X( l0 `
  1963. ; The location of the OPcache blacklist file (wildcards allowed).4 d- u4 K8 V( K& M
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    * d( Q7 a* t' I4 X; h, n, N
  1965. ; that should not be accelerated. The file format is to add each filename# D' Y5 L' A3 e) \8 S' Y) H, t+ f
  1966. ; to a new line. The filename may be a full path or just a file prefix
    5 a" q. z: u) \  u
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www+ d" {% v; ?5 }/ ]: k
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).  Z' n5 b! T, c& S- _* S; f8 A+ a% ~
  1969. ;opcache.blacklist_filename=
    % t7 J' C! ]4 c2 Y  O# ]4 r
  1970. ! A0 d( K1 B0 v8 H9 Q3 ~
  1971. ; Allows exclusion of large files from being cached. By default all files
    & x1 S- [; j6 s1 g$ {
  1972. ; are cached.* z+ x/ B! T# R+ v( ^# o- U
  1973. ;opcache.max_file_size=0
    " j5 m6 h6 w8 e% n( E2 _* _
  1974. , ]* z2 ?6 i$ m) k, X* q
  1975. ; Check the cache checksum each N requests.4 U0 X" s& b/ i$ T
  1976. ; The default value of "0" means that the checks are disabled.
    5 j; J2 r; p# K0 J8 ~# [
  1977. ;opcache.consistency_checks=0
    7 B9 g' v) a& i
  1978. 9 H; z' R, y$ j- j* n# ?
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    / }% P: ]2 C) @/ m# M: d9 t" U& }# h. q5 S3 X
  1980. ; is not being accessed.
    * v# [4 P" a0 x8 j7 t
  1981. ;opcache.force_restart_timeout=180
    * D, {$ J8 i, f# y9 C: y( F! p
  1982. 9 V! }4 U8 E" s9 @0 G) J$ V, z5 C
  1983. ; OPcache error_log file name. Empty string assumes "stderr".1 A0 ]0 @- L. E& P; `4 B  Z6 H
  1984. ;opcache.error_log=
    + `. }$ M8 Y" e2 L5 X

  1985. ' p' P2 L3 L6 A+ G8 r
  1986. ; All OPcache errors go to the Web server log.
    4 t* g* e* G/ p8 g0 }9 R3 l
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.- u" v# f; K* B# Q7 s
  1988. ; You can also enable warnings (level 2), info messages (level 3) or2 k, Q# S; P; f6 s, [9 e) D0 ]
  1989. ; debug messages (level 4)." l6 }) K3 E8 x* x) p6 ~* D$ u
  1990. ;opcache.log_verbosity_level=1  B1 b, v# D: S/ }/ P/ H7 q/ W  S; L: O
  1991. ( a" ~: [+ i+ L# X% f6 \( g
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.6 }1 ?1 g6 s8 [; P) u! e
  1993. ;opcache.preferred_memory_model=
    3 x, ~( g# `% A4 I& |

  1994. 0 L$ j6 A" m+ w5 d' a5 c( s/ ~
  1995. ; Protect the shared memory from unexpected writing during script execution.
    , I1 `1 G) `1 ^& q
  1996. ; Useful for internal debugging only.
    6 u' C' W. A4 K6 B5 w
  1997. ;opcache.protect_memory=0
    + r7 v+ l1 m7 o) [3 F3 E; _
  1998. 8 E6 K8 V2 B3 j. G$ ^" V
  1999. ; Validate cached file permissions.) ]) a$ X5 A* `& {* M
  2000. ; opcache.validate_permission=0
    8 H3 m; M8 J) n8 ~
  2001. % ~. c& U5 [! A
  2002. ; Prevent name collisions in chroot'ed environment.; {% O! V! j! ^' r1 h
  2003. ; opcache.validate_root=0
    0 Z0 W9 z7 H$ A6 i% R% U

  2004. ( X0 y; u* c, O, F' @
  2005. [curl]) r& O# V# @1 B% T0 W/ |
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    , `: t9 J6 i7 |8 F: r9 U" J
  2007. ; absolute path.1 |8 n9 }; a& S6 j4 `' s5 D* S
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 ]; `( a: Y3 ~9 I# C0 P; |

  2009. . M3 r6 v1 G) G
  2010. [openssl]8 D+ `& `6 J6 ]2 W' ]
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ) H  ?, y- N$ _3 O" L; y' f( r
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should% f1 N( U" m7 _' a5 Z% R* ]: Q
  2013. ; not specify a value for this directive as PHP will attempt to use the
    / P& _9 x' o8 H/ Y, S2 S; X
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    6 z" d( d/ Y: `- J6 c1 g- C
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 m1 l& D+ d* k0 l
  2016. ; option.% p. \7 b+ h# Q: Z, n0 R1 w
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    % |3 h# b9 v% X
  2018. ; Z- ~. \3 E9 A& N' J/ J1 l' C
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the! `& q; W9 W, S+ J+ u5 o; u# y0 j
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ) c1 f/ ?' y. `" n
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    9 Y0 k1 l& o9 K  U2 f% `
  2022. ; Most users should not specify a value for this directive as PHP will# {. o# D: y3 H& D4 m7 e# C5 X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    9 z: Q2 H7 D/ z7 T
  2024. ; this value may still be overridden on a per-stream basis via the "capath": _3 f) R( Z6 `; {' @9 M
  2025. ; SSL stream context option.+ q9 X8 i# r. C5 S6 v$ W. j
  2026. ;openssl.capath=
    1 @3 R* J/ q8 C4 T: b# o
  2027. % R, g4 z2 {: F" K# p& V9 C
  2028. ; Local Variables:
    1 o' K# g; D/ Z
  2029. ; tab-width: 4
    9 b! B8 G  K# \! g& u4 |# v0 t' P
  2030. ; End:
    4 v2 O0 S/ z. `4 b
  2031. 1 d. O! d4 R7 v, W1 U
  2032. ;eaccelerator
    5 |6 @. v9 d9 z$ n

  2033.   [1 N0 ]* ]* g' G7 P2 T
  2034. ;ionCube) l( \+ ]7 Q5 r0 a6 |9 ^

  2035. ! \$ i7 {/ w6 R4 f/ m+ ?' a( S0 y
  2036. ;opcache: J! C0 {: U/ z2 T. S9 k

  2037. - }4 ?( a" P* U" G
  2038. [Zend ZendGuard Loader]
    % q) k# N& K5 a* t$ p
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . @, J  H8 A% x) s
  2040. zend_loader.enable=1
    . ~6 j# y, E4 ?  |5 ~' h
  2041. zend_loader.disable_licensing=0& }: {/ ]  a* n- \3 c
  2042. zend_loader.obfuscation_level_support=3
    $ U, a: b0 _, _  ]  L+ a
  2043. zend_loader.license_path=
    ! T4 i( {. v, R2 v, k. Y) O  ?' r5 D

  2044. . p$ m5 R! J% V( K' j/ t
  2045. ;xcache' [( Q* L* F. l5 q: i! `, \
  2046. 4 O% }4 m0 t0 R" [8 v8 E/ p$ z
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
: }, e( a5 n* ~. ^  u/ |. e# ^" W  Z/ L  X$ [8 @; U
0 b- F" i* W8 ^5 Z
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,* H, K8 v- G) v8 a" x% s$ D

1 h" I4 e* a) f2 P! PDiscuz!程序版本选择:
; B+ C- I5 S; u. o# l5 v6 i站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
; V; {/ }  ?/ _/ U8 i; I不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:/ D. \; ~0 B/ ^
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。. \) p+ ^' h; M7 V8 F5 A9 T% _

0 d! L1 W3 f3 w% B5 c# bDiscuz!插件模板版本选择:5 }; c9 B9 T2 E- r9 t
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
0 t9 r4 q* U( e. m5 ]针对这个问题做个统一的普及:( ?7 y: f6 f  i. W  o( T
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
% _* O( m& B3 w: B4 a
5 h8 t: u" ~) {$ n. a9 Z所以; F% ?8 ?6 z& a8 L
适合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的二级域名。5 m# R1 C* q: w7 \4 I' ?
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
! {$ f6 H& z- n# @# J7 H8 [# u, P注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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