分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
! ^& j/ H3 N+ W) `2 m( a: P$ s5 |5 V, ]: K& d& F4 e
  1. [PHP]8 @. f4 B; Y  V9 }( B1 _
  2. . {- E9 k- C; y. H
  3. ;;;;;;;;;;;;;;;;;;;( F* _- |& m& w7 K! U- p4 e/ E
  4. ; About php.ini   ;: S4 |2 A3 \4 q: H
  5. ;;;;;;;;;;;;;;;;;;;; B+ M# x! J, @+ q6 ^( t# {
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    * ~; ?3 w& r& C, M
  7. ; configuring many of the aspects of PHP's behavior.
    4 T# I0 @2 i* L* M  k
  8. 7 h& s, z, F& N& Q
  9. ; PHP attempts to find and load this configuration from a number of locations.) ?, g; C0 H; N5 M" K- Y4 n
  10. ; The following is a summary of its search order:  s3 u& U8 v" D3 M
  11. ; 1. SAPI module specific location.
    + H% r4 ]+ A- h  [( k
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)1 J/ Z% u1 F# H
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0); N/ c' @* w+ R9 `$ s( b* U; [5 z8 V
  14. ; 4. Current working directory (except CLI)
    & F+ T5 z- j* k4 A9 J1 j+ m% a7 V
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ( N5 l: O& G3 f( {
  16. ; (otherwise in Windows)
    5 t! \' w+ b" f0 ^, [
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- p6 A& d7 i$ V8 u
  18. ; Windows directory (C:\windows or C:\winnt)8 e$ b0 t  x) Z; \2 o" l3 ~
  19. ; See the PHP docs for more specific information.
    5 w7 P' L4 d. V1 Q; U" D" _
  20. ; http://php.net/configuration.file% U! a, @1 l* D, n' c6 N7 G
  21. & p6 @! D( A( ]( V6 m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' S9 ^5 V2 j+ `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., M# R% A# Z( z6 H* p) D0 x
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    . A/ K! `" I. w5 u% r1 u
  25. ; they might mean something in the future.' Q4 {! I1 j3 ^
  26. 8 M5 f2 q  W+ ]( R
  27. ; Directives following the section heading [PATH=/www/mysite] only
    - O& r; |4 _3 k1 j8 U
  28. ; apply to PHP files in the /www/mysite directory.  Directives2 Z& g/ F' C+ Q& `9 O
  29. ; following the section heading [HOST=www.example.com] only apply to7 ^: G; P4 q7 s& d/ W
  30. ; PHP files served from www.example.com.  Directives set in these- L1 k' D+ }6 w
  31. ; special sections cannot be overridden by user-defined INI files or, N3 }3 m) d4 q4 d0 d4 k
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / K  W6 a3 B& R( P3 z4 h' H
  33. ; CGI/FastCGI.4 j& k1 A  `0 |# x  V9 `6 Y
  34. ; http://php.net/ini.sections) z6 G. B" t& j( k9 D5 R1 H

  35. ; y5 f8 H; C" U/ o  F$ V$ O0 C
  36. ; Directives are specified using the following syntax:
    7 t* T  G% j8 p9 X. G6 ~
  37. ; directive = value' C% T% y1 W/ z' m6 `, r# X4 _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.' K& @4 F  v: t! G
  39. ; Directives are variables used to configure PHP or PHP extensions.9 M& v% S* d; _0 p; }! E3 l4 V
  40. ; There is no name validation.  If PHP can't find an expected7 Z" T! C* k, h' W: J
  41. ; directive because it is not set or is mistyped, a default value will be used.: m1 |' n" m6 y3 r+ f- T

  42. ( A2 M2 r8 x" V+ x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    + I: W' w) F/ G& H3 Q6 B$ l/ @
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression8 _  h0 b6 Q5 I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 G$ P/ [* _) |4 M
  46. ; previously set variable or directive (e.g. ${foo})
    5 U" ?  L2 T  ^0 F1 t* D
  47. ! a* N1 K( H' D7 v% `
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    , Y% @" I* _4 L! U
  49. ; |  bitwise OR, W1 L- c8 p4 P7 q9 u( K( C
  50. ; ^  bitwise XOR
    9 G% W2 x( v' I# m$ G
  51. ; &  bitwise AND0 z: O6 \8 u& X* w
  52. ; ~  bitwise NOT
    $ Q0 _  J8 G, Y( ?9 L7 `; x( h
  53. ; !  boolean NOT1 y, m& y: ?$ Z* S% X
  54. # N5 J. [; G8 _
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    : T  g) j8 U. L: L" `( V. s% l
  56. ; They can be turned off using the values 0, Off, False or No.0 I- ]7 A$ t3 t( \6 K
  57. ( w' a$ h4 u: F
  58. ; An empty string can be denoted by simply not writing anything after the equal/ w3 b$ Q7 N" Q% w9 C) e% G
  59. ; sign, or by using the None keyword:+ L9 ^# t! f0 Y9 i# H' }
  60. 5 z* i3 `$ p2 O6 v, M) f# q. J
  61. ;  foo =         ; sets foo to an empty string
    5 Q: H& s: H8 ?! K
  62. ;  foo = None    ; sets foo to an empty string
    , ^: J6 ~! ?- m, G- D
  63. ;  foo = "None"  ; sets foo to the string 'None'
    + A' g4 C% r# n- N# M$ g4 E
  64. 2 i( b+ z( a, h, k' E7 y3 ?7 @. Y
  65. ; If you use constants in your value, and these constants belong to a
    4 u6 R, A( [- B' q& s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& K! M, E' Z, x  |2 W0 |4 z
  67. ; you may only use these constants *after* the line that loads the extension.5 s) ^* ]) E3 J' F" p5 V% {1 L' g
  68. 7 S5 A7 H/ i" {0 D- {7 P/ f2 a! a
  69. ;;;;;;;;;;;;;;;;;;;5 O6 R8 [2 W0 i6 J# D( J
  70. ; About this file ;; s& E9 Z$ }9 U% _% k) V+ J
  71. ;;;;;;;;;;;;;;;;;;;6 f1 B+ `! y- `
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ) N: \( y% |; F6 H
  73. ; in production environments and one that is recommended to be used in
    ) d. ^+ n* d& G0 N- X' i
  74. ; development environments.+ ?0 K" R2 d* t1 R
  75. ; D" R2 e  L! b( b. h& V. i
  76. ; php.ini-production contains settings which hold security, performance and
    8 Q6 X4 }+ R8 d
  77. ; best practices at its core. But please be aware, these settings may break
    ; O) l; e( V& G9 a4 b- n- [
  78. ; compatibility with older or less security conscience applications. We
    & {9 v% D$ Z$ i- Q7 h9 ?; _
  79. ; recommending using the production ini in production and testing environments.
    ) K  n  {5 F% `5 x4 B
  80. ) k7 R! P7 w! `& N
  81. ; php.ini-development is very similar to its production variant, except it is4 |0 J# J$ A+ D9 p) \' Q2 L
  82. ; much more verbose when it comes to errors. We recommend using the; O' q, ~/ f! E* Y2 V7 g
  83. ; development version only in development environments, as errors shown to0 X, R/ {2 q/ J
  84. ; application users can inadvertently leak otherwise secure information.  m% t0 u, d$ C

  85. # A) L3 y$ Y1 V; ~
  86. ; This is php.ini-production INI file.5 t; m" |8 n) K+ U9 D- K$ z

  87. 7 p  x, N9 `/ W& i* \
  88. ;;;;;;;;;;;;;;;;;;;
    ; J( ~9 k/ |) c# e0 q& K$ e, S
  89. ; Quick Reference ;
    $ [/ z# f$ l0 t- u
  90. ;;;;;;;;;;;;;;;;;;;
    3 O6 E' ~9 i5 w) B9 O7 ~
  91. ; The following are all the settings which are different in either the production* J1 Q3 L8 F- K
  92. ; or development versions of the INIs with respect to PHP's default behavior.- J# P# o% B# C. R" {
  93. ; Please see the actual settings later in the document for more details as to why
    1 i5 x6 W5 I' s7 Y
  94. ; we recommend these changes in PHP's behavior." D: W6 S- T: n- I9 v* r- F

  95. 7 t& K0 ~2 p# u' d2 I- S9 V: Q
  96. ; display_errors8 A1 \" K8 }* ~: k
  97. ;   Default Value: On
    1 Q9 b7 Z) `% L5 ^+ @1 h
  98. ;   Development Value: On
    ( c0 h( b9 m/ O0 }
  99. ;   Production Value: Off
    # H& l) O  |0 e" n; ?

  100. 6 f3 L* `) d0 U+ e' w5 j
  101. ; display_startup_errors
    1 a4 \( p: q- I+ t+ }
  102. ;   Default Value: Off
    ) {+ j" e3 T# W! H5 L
  103. ;   Development Value: On& q/ x- q( j/ O5 y( ]' _8 v. s! y
  104. ;   Production Value: Off
    + o$ }7 t8 P, A8 h+ ~

  105. & `+ b* u0 z, y; b' A) t" v% H
  106. ; error_reporting+ K- ^) I6 ?# q* j% Q
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 j! f, E* K! ~! q" r8 g1 Z
  108. ;   Development Value: E_ALL
    ' u+ T/ v. Z$ @
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( ~; a. r6 p+ t8 N

  110. & a# N; v  X4 `1 d0 l$ R
  111. ; html_errors" a, H9 A  E$ B8 s  |
  112. ;   Default Value: On; v5 P' z4 t; p3 C, N1 `& _: L
  113. ;   Development Value: On, ]1 }+ I. v+ S
  114. ;   Production value: On) t& b3 j3 M5 v& d2 W. D6 c

  115. 4 i* C8 J0 B" ~/ j, V$ R5 n' F5 \
  116. ; log_errors; P. G0 u  O% l: s7 p5 r/ O7 a
  117. ;   Default Value: Off
    3 k5 a1 I& r% D3 V1 p
  118. ;   Development Value: On* ~6 m8 Z% C: _/ ]
  119. ;   Production Value: On7 W6 W$ F3 i& ?7 Q- u* L6 l

  120. ) K6 Z. v2 |+ z) _2 w" ], S# ?
  121. ; max_input_time! ]- p! A7 F' w: Y& y: J
  122. ;   Default Value: -1 (Unlimited)7 d  F. j0 E& ~* t' x2 m" X
  123. ;   Development Value: 60 (60 seconds)
    6 R5 Y7 h% P7 m) j
  124. ;   Production Value: 60 (60 seconds); b0 m$ v& N  D
  125. 4 Y: j9 N( G) p2 P* P
  126. ; output_buffering
      b4 A3 n: Z5 r6 J" d8 }- f' Z( L
  127. ;   Default Value: Off3 M3 t. J* i$ l: W0 p% ]4 E
  128. ;   Development Value: 4096. N' t, b# ^; [. X3 B  R
  129. ;   Production Value: 40960 j( i$ v* W& M. Y% N2 l

  130. ) \1 y; D  {5 T0 y0 Z
  131. ; register_argc_argv
    ( h1 M4 o* G$ z6 j, A: q
  132. ;   Default Value: On
    6 X6 Z9 c' Z( q1 q3 t
  133. ;   Development Value: Off( H. e! q/ J! N- s! B* s6 p
  134. ;   Production Value: Off
    + B5 w9 h8 @) q' ?5 t8 O$ X( C  ^
  135. , x! t4 n  G- u1 r& h* `# d
  136. ; request_order
    , S" h' U$ W- o. }& e4 M( x- w
  137. ;   Default Value: None
    / ~  [  N3 v7 ^6 Q: j
  138. ;   Development Value: "GP"
    : x- F4 N  P7 i4 m6 a+ G/ ~
  139. ;   Production Value: "GP"/ K9 m4 l3 E7 M' }' R! B

  140. 0 Q4 y+ r0 I' V5 _0 C  V' C' o1 r6 H
  141. ; session.gc_divisor2 L& {4 @+ f+ ?/ @8 x+ f) Z% W
  142. ;   Default Value: 100
    . v% @; ?6 H* M! g: w
  143. ;   Development Value: 10002 z% ~- C, v: H+ ~0 s& {& n
  144. ;   Production Value: 1000
    - p; u6 P" e3 @% _8 u- A4 t. |
  145. 7 I& V8 `( h( k, E! S: c
  146. ; session.hash_bits_per_character
    - b+ p+ A% K3 w* m
  147. ;   Default Value: 4+ k- W5 @" v5 @& l8 Y3 F
  148. ;   Development Value: 51 H' R: d) c, C3 E: J+ p
  149. ;   Production Value: 5
    * ]2 g$ @7 d, U& ~( z  u  D

  150. 2 V) i8 `  z- b! d+ c7 j( v
  151. ; short_open_tag& p- O6 c2 l( x/ l1 w% h" i. S
  152. ;   Default Value: On
    0 @6 q1 r, u" S# b. q/ l: k* [. I+ c: ?
  153. ;   Development Value: Off
    ! u9 B  i* Z% H! f: U7 C- R
  154. ;   Production Value: Off6 ?0 {; T# C$ I% a4 O# l

  155. 1 }& S$ a" ^7 X' u! ?4 V
  156. ; track_errors
    0 @- o+ _& ]0 P9 u# e, p" ]& ?' ?+ l
  157. ;   Default Value: Off6 C( ]" g, E& @( Z# Z. _3 N
  158. ;   Development Value: On) M9 X: ^8 M/ ]3 }
  159. ;   Production Value: Off. k2 @& A' N& n3 S* ~
  160. 7 n( g  Y% l3 I# I5 k1 {
  161. ; url_rewriter.tags* V1 L* v3 P8 `9 |/ B( G; ]
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="& y7 \- d1 N% y# y! h
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ X: I6 N" o: n! b: H+ [- V
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & L" }: c: n1 o4 g2 S7 w

  165. ) N/ O  ^5 u3 ~: H: X/ c) G
  166. ; variables_order
    $ l$ z4 h  B6 a7 S$ k$ k
  167. ;   Default Value: "EGPCS"0 L% A! p" z  B9 Y1 r
  168. ;   Development Value: "GPCS"
    " x( e8 O2 i9 Q5 |9 H- }
  169. ;   Production Value: "GPCS"
    6 @( p% M. r- ?, ?' m: @2 b
  170. 3 a4 m9 |# y1 p
  171. ;;;;;;;;;;;;;;;;;;;;
    7 Y/ j9 `4 g* D! u/ u# ^
  172. ; php.ini Options  ;& Y; a4 U: [9 A+ A; w
  173. ;;;;;;;;;;;;;;;;;;;;
    & Y" ]  L; T0 F, P7 y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"( R# p5 \$ i( W1 V! p$ a
  175. ;user_ini.filename = ".user.ini"
    9 X4 R5 \1 }* S9 l5 }* j

  176. 4 v' D, m  P% ^
  177. ; To disable this feature set this option to empty value
    / j: V; [/ `9 e) u
  178. ;user_ini.filename =
    . J0 J) }7 x0 \2 z& ~
  179. % L1 u/ G; _& Y% S% l, g8 @1 d6 i
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)) x- V/ ?8 p* X1 T- W; h; y
  181. ;user_ini.cache_ttl = 300
    , Y. @# K! H6 s$ f& @2 O
  182. ( c# y9 G6 C0 N: k6 r6 q4 U
  183. ;;;;;;;;;;;;;;;;;;;;2 B4 }1 x4 H' E* z
  184. ; Language Options ;* a) _. f' J& c. g( ?
  185. ;;;;;;;;;;;;;;;;;;;;
    : W: B* o# h; g! z

  186. 5 ?! R' J% u0 C" U/ d* r8 X4 w( a
  187. ; Enable the PHP scripting language engine under Apache.( F' ^  c7 |; p$ n" X, F5 c
  188. ; http://php.net/engine
    ' ?* g  z9 @2 W: O
  189. engine = On1 Y4 V; \2 H% r* P
  190. * z3 d9 R, o1 r+ k
  191. ; This directive determines whether or not PHP will recognize code between  K$ ^1 ]: E3 G+ Z3 ^& H: `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& L/ v# e0 q$ u" f, t
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 Y1 F# ]. @7 c8 l2 G0 r1 y9 Z/ G
  194. ; should be disabled, as enabling it may result in issues when generating XML( P: O/ Y4 q' w, z2 D& [
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! d; W- ~/ ]: k% g, k
  196. ; Note that this directive does not control the <?= shorthand tag, which can be* I/ D- j6 X% W( j
  197. ; used regardless of this directive.
    ; a0 J3 y) J& |
  198. ; Default Value: On0 l* }) M" }$ G
  199. ; Development Value: Off' u! X7 N- z3 F5 J
  200. ; Production Value: Off
    6 R6 |! K- ]+ W- X9 \$ ~* h- s5 ?4 h
  201. ; http://php.net/short-open-tag# G$ m9 y9 s5 r+ [& l' Y
  202. short_open_tag = On) n, S) X4 a6 q0 `# Z1 N& F' m* B# q

  203. * g( E: o9 Q; H
  204. ; The number of significant digits displayed in floating point numbers.
    " B0 F9 M$ x( ]2 }) S
  205. ; http://php.net/precision7 E* ~5 o/ F, v9 x# d% n
  206. precision = 14  T- ?# d2 x: \
  207. . a5 r4 m# G; I1 K3 v! s
  208. ; Output buffering is a mechanism for controlling how much output data& n% J, l: N% Y. p' Q* i0 K0 M$ \
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    / \% d7 `: T! l% ]0 _
  210. ; data to the client. If your application's output exceeds this setting, PHP& I; c+ ^* t1 ~1 {5 b8 K, a
  211. ; will send that data in chunks of roughly the size you specify.
      R9 |; F) {* w( ]  g& V
  212. ; Turning on this setting and managing its maximum buffer size can yield some# n2 U1 O& Z/ y- R0 d9 F0 m, ?
  213. ; interesting side-effects depending on your application and web server.% S+ ~( [$ \( v4 Z# c3 j7 s! ^
  214. ; You may be able to send headers and cookies after you've already sent output7 c5 D5 k7 O. |/ p
  215. ; through print or echo. You also may see performance benefits if your server is7 N& S2 ~2 B$ Q2 T) Q, q) f8 D
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    " E" g9 L( N; q) P# Z1 O
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , U0 c5 @3 i. u! l( y
  218. ; reasons.
    / V& B0 o* I* C$ Q5 _2 t. s( }! n
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' s& F/ x. P2 C2 Z! Q9 `
  220. ;   functions.
    * A3 a& ]+ F0 ?9 @- |
  221. ; Possible Values:
    ; T& W7 U: C* ]- n$ e
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    9 \; y- o" r* G- \, m1 Q' i/ _
  223. ;   Off = Disabled6 Q2 Z8 Q9 X# N  s; v
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.: G$ m: T6 s& C& i0 ?: X
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , E$ k3 a0 @1 S5 C
  226. ; Default Value: Off' v9 z' ]/ E0 J% E1 ]5 e
  227. ; Development Value: 4096
    * a+ \4 O! ?# h* g6 W- v8 [# K' g
  228. ; Production Value: 40967 ]: [5 }+ ?; ?6 N9 p  c+ g- o! e
  229. ; http://php.net/output-buffering2 l1 n8 z! w; d2 d% ]$ ?% P. a
  230. output_buffering = 4096
    0 M' _. x/ ~. f" T1 H( e$ l) o

  231. . F! D1 A: ^$ ?8 \
  232. ; You can redirect all of the output of your scripts to a function.  For5 _; p$ h' p* S" p. ]
  233. ; example, if you set output_handler to "mb_output_handler", character8 r9 P  L$ D$ F
  234. ; encoding will be transparently converted to the specified encoding.
    # T. F) o5 n# F& n4 J
  235. ; Setting any output handler automatically turns on output buffering.
    8 s1 P9 n8 ^  D5 x
  236. ; Note: People who wrote portable scripts should not depend on this ini
    7 t' C6 P3 |# A. Q; b
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    # U2 r1 N% \) |2 Q: A' Q3 j
  238. ;   Using this ini directive may cause problems unless you know what script
      F% M% h6 e. G/ z; d6 Z
  239. ;   is doing.
    ! g) X  h/ C( B  U; ^* \0 J* W$ m
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ ^7 z# a* M( j+ w# W
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".; ~" m0 l3 x4 F. T+ V- v
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ; T! u, i  [; \0 B7 v
  243. ;   Instead you must use zlib.output_handler.
    2 a- p0 H4 I( d( q
  244. ; http://php.net/output-handler# ^, I8 l0 @% z
  245. ;output_handler =" Q4 _& H* [9 e5 h6 w
  246. : d( k: n5 u5 t' E% z+ R3 A
  247. ; Transparent output compression using the zlib library
    0 ^" t( X7 S) z; y- a: l5 K7 r# `
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size8 Z! u' j/ D# `
  249. ; to be used for compression (default is 4KB)
    7 ^5 \9 S' R1 w4 P. H
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    * ]8 }# S9 p- R$ z
  251. ;   outputs chunks that are few hundreds bytes each as a result of6 z" e5 r1 I; b& k* J; {4 O
  252. ;   compression. If you prefer a larger chunk size for better, d2 s3 f* m/ m, |1 H
  253. ;   performance, enable output_buffering in addition., `2 F0 q6 d: _. p2 o% ~7 B
  254. ; Note: You need to use zlib.output_handler instead of the standard
    * [: x# Y5 L) h  j
  255. ;   output_handler, or otherwise the output will be corrupted.
    & b3 e4 b- y' @3 _; x! o
  256. ; http://php.net/zlib.output-compression* q, w% Z( z& G0 n7 u3 V6 w5 s
  257. zlib.output_compression = Off7 y; P" e2 e: [" Z" ?

  258. ( u! w& S8 r- j4 G1 P
  259. ; http://php.net/zlib.output-compression-level. v) ~+ m- o2 L
  260. ;zlib.output_compression_level = -14 m) Y9 e( A6 ?) n3 H
  261. 2 X& h6 t' @0 ~" t9 p
  262. ; You cannot specify additional output handlers if zlib.output_compression
    : N& W7 M8 l1 ~/ ?
  263. ; is activated here. This setting does the same as output_handler but in4 @2 Q2 Q6 P4 t
  264. ; a different order.* J0 Y0 R# }- O. D. k' S: Q
  265. ; http://php.net/zlib.output-handler
    ; Z$ D* Q& v* g7 _! y: q
  266. ;zlib.output_handler =5 m1 \" B' s7 \" H1 g

  267. 7 u# M. h2 |" H0 f2 k+ x
  268. ; Implicit flush tells PHP to tell the output layer to flush itself* X8 }+ R$ u0 ~4 u% V6 {5 _
  269. ; automatically after every output block.  This is equivalent to calling the' ~$ a) o; {2 }, ?
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ( X+ f/ K5 q3 J; t2 v
  271. ; and every HTML block.  Turning this option on has serious performance
    / V! z4 {, D% v0 J2 b
  272. ; implications and is generally recommended for debugging purposes only.: h$ K4 _# r3 O6 u
  273. ; http://php.net/implicit-flush
    3 i6 e! i5 `1 {3 b8 W" y% e
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
      K" c5 |9 D$ A3 `. p" f  P
  275. implicit_flush = Off
    0 m% D: l2 O% x) p7 Z

  276. 2 e) W: M7 ~  [
  277. ; The unserialize callback function will be called (with the undefined class'
    7 A! ?! Y. A/ g) ]  |$ C4 y6 w, T) Z
  278. ; name as parameter), if the unserializer finds an undefined class
    7 b( X) g3 g; R$ N
  279. ; which should be instantiated. A warning appears if the specified function is/ x* P) B' j( R9 [. f
  280. ; not defined, or if the function doesn't include/implement the missing class.
    # x+ O. A: i: x" D" V  k
  281. ; So only set this entry, if you really want to implement such a9 y, v1 s6 |. d+ @
  282. ; callback-function.9 `) Z& D* N: I8 Z% E7 m9 ~$ x
  283. unserialize_callback_func =
    & `3 ]+ q* R- i/ T
  284. ; R/ z  e2 u0 @7 b2 B
  285. ; When floats & doubles are serialized store serialize_precision significant
    ! K/ e! t. Q/ A* Y- V
  286. ; digits after the floating point. The default value ensures that when floats
    7 d; l0 p4 Z6 v
  287. ; are decoded with unserialize, the data will remain the same.
    ) _& n! o" e' G% H0 q
  288. serialize_precision = 17
    , {# t. ^, B! {: ]  U

  289. 5 C8 A5 ~- Q, d  N' Q4 \8 p! U. {
  290. ; open_basedir, if set, limits all file operations to the defined directory
    * [5 g" w9 I; p/ d
  291. ; and below.  This directive makes most sense if used in a per-directory
    ( F) j# |4 e0 |5 V* _
  292. ; or per-virtualhost web server configuration file.
    9 t6 g8 G, v: H; `6 i) V& g
  293. ; http://php.net/open-basedir0 ]) ^9 P9 p, L. Y& {
  294. ;open_basedir =8 n6 M6 |( ^* [5 W# k+ e

  295. 7 n3 ?- R  S* h. O/ h( A
  296. ; This directive allows you to disable certain functions for security reasons.
    1 l0 |4 F) w- @) k. [3 I
  297. ; It receives a comma-delimited list of function names.3 \0 ^# B; p* }
  298. ; http://php.net/disable-functions! Z5 a2 M- k: v, n3 I9 n6 r5 O
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! q* f! x/ F) z

  300. 2 a, w5 s9 y6 O
  301. ; This directive allows you to disable certain classes for security reasons.
    + ~4 C/ y7 ^/ [  f+ w' U3 |
  302. ; It receives a comma-delimited list of class names.
    3 G: p5 w) Q  ?. }9 `
  303. ; http://php.net/disable-classes. G) q7 f6 x, J; |
  304. disable_classes =
    1 K4 [( r8 J" I* g
  305. & o9 {; ]2 v3 b0 ^( c
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % B) Y5 s3 W- o/ Y# L) z
  307. ; <span style="color: ???????"> would work.
    0 y, I8 s) L2 f2 |
  308. ; http://php.net/syntax-highlighting
    0 J( q2 k& ~  T2 Z
  309. ;highlight.string  = #DD00008 e' B( `: I; B7 I6 Q
  310. ;highlight.comment = #FF99007 E: i5 B0 A7 }4 l7 T% c
  311. ;highlight.keyword = #007700
    ) p$ [: K; F/ d! E* H/ O
  312. ;highlight.default = #0000BB
    0 Z: Q& h* G8 j* \
  313. ;highlight.html    = #000000( a% [: v1 [) h4 _3 U7 Y, {. @

  314. 8 P9 z* u1 N7 [4 f
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    3 y6 c/ I6 g- w/ y
  316. ; the request. Consider enabling it if executing long requests, which may end up
    # S, X! _( m3 |) g2 g- X
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    . z- w0 Y/ Y6 }
  318. ; is to disable this feature.
    % ?' k  d; O9 C2 E9 l: d8 u
  319. ; http://php.net/ignore-user-abort
    7 Q, i6 E8 U5 w3 {9 s9 J! m3 h
  320. ;ignore_user_abort = On( U" s' Z3 d0 J5 X0 {

  321. " O4 ~0 I' h" O# t, L3 K! C: R2 L
  322. ; Determines the size of the realpath cache to be used by PHP. This value should: d* D" [  L, P' T
  323. ; be increased on systems where PHP opens many files to reflect the quantity of! |7 i! H7 q( f1 n! p
  324. ; the file operations performed.) \8 K7 W, k: Z8 Z8 v& @8 d+ [
  325. ; http://php.net/realpath-cache-size
    $ B2 ~8 U3 j6 w9 [. R
  326. ;realpath_cache_size = 4096k1 u8 g. M$ d0 ~' |$ F' |- ?( p

  327. - `% @  K6 p' l4 Q
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    5 B( F2 S: f2 G$ a9 n  I
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    : x5 H% J8 T0 Z! Z( t. v
  330. ; value.
    0 N  D% c, t# [5 X8 ^( O6 b" C$ Z
  331. ; http://php.net/realpath-cache-ttl
    $ I3 R8 j/ ^! |* Y/ k, `3 D
  332. ;realpath_cache_ttl = 120
    + E: U% _* H% `( S; P9 }6 t5 y

  333. / [" y2 b% h/ i0 O- L. y5 w
  334. ; Enables or disables the circular reference collector.  `! C& L: k. a2 _: N' m% O. A$ r
  335. ; http://php.net/zend.enable-gc
    . e9 s! G, l2 A& y5 R( u
  336. zend.enable_gc = On9 I8 B/ `- l, P% l) o8 ^

  337. 0 X+ u# ^; _8 B/ @4 Y
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ( X- N4 x$ d% ?8 U6 O
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, G8 }4 g1 B/ p  r
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    5 Z7 n1 Y  n# r& x$ Z
  341. ; Default: Off
    * @0 w7 N6 ]2 L% @; k
  342. ;zend.multibyte = Off. K: m: D- o& R; Y2 j

  343. 8 c% X/ E5 L# l4 ]- Z  N
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    8 f# J, s' c' B( N* [, W8 Y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    4 l( @/ u+ i8 c5 E* ^, w0 v2 Z
  346. ; Only affects if zend.multibyte is set.
    - f, @0 Y! @9 p& y' y
  347. ; Default: ""( D" e& |7 f- r5 V
  348. ;zend.script_encoding =
    # R# y  x2 x+ Z+ o. F; i( H
  349. 4 J! ?, ^2 B' f' t) k& |2 ~
  350. ;;;;;;;;;;;;;;;;;* X/ O5 t3 u  H/ O
  351. ; Miscellaneous ;
    5 l$ X7 Z4 T' S) R) o
  352. ;;;;;;;;;;;;;;;;;
    / ]; C! Y. G, B. i, R* M9 e9 s
  353. 3 e/ N* R' \/ @4 e: R6 v* i" N
  354. ; Decides whether PHP may expose the fact that it is installed on the server! N' o, `; Z- x6 |
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 q* C6 |% c. L( k7 l$ \9 k
  356. ; threat in any way, but it makes it possible to determine whether you use PHP1 w: |- S9 ^2 g) g- G' b2 \
  357. ; on your server or not.  j$ E9 u' A0 k' o( t
  358. ; http://php.net/expose-php  X0 p) I. X* Q  Z1 Y
  359. expose_php = On
    3 W8 Q0 ?  {2 v* t" S5 N* a
  360. $ ^' g2 F7 y; A7 f* ^4 b2 P* S
  361. ;;;;;;;;;;;;;;;;;;;3 S# x+ l/ |. A8 ^* z. D- n
  362. ; Resource Limits ;" p: K; o' T% n. o" I/ b# o8 v( e
  363. ;;;;;;;;;;;;;;;;;;;" h- c8 F5 C1 A& p! q6 ?
  364. & A: }( V7 w3 i+ \
  365. ; Maximum execution time of each script, in seconds5 H3 D# _! Q" Z1 |1 ~4 v: S6 l
  366. ; http://php.net/max-execution-time
    / ^$ k) ^5 C! B6 b1 }
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ; z8 s/ `0 ^- c% Y) T. X' j
  368. max_execution_time = 3006 _' `( T% W1 N) y

  369. 5 D9 P! J* a! o) [* D6 u4 U' Y
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    + I% J' Y! z) ?) Y
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / i) L' m2 W2 f. u8 G
  372. ; long running scripts.  V/ x) ?+ W  B0 {
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      |0 r: e- z( W
  374. ; Default Value: -1 (Unlimited)
    ; D4 U# r2 l2 |
  375. ; Development Value: 60 (60 seconds)
    6 `: [7 k) g) T4 `4 o
  376. ; Production Value: 60 (60 seconds)
    5 ?* o# `! e+ E2 x4 ?* [
  377. ; http://php.net/max-input-time
    5 O1 E+ N1 I3 d8 ~+ R" b6 |+ I
  378. max_input_time = 60
    $ G) Y, E; F. Y
  379. 1 F/ J/ ^) h: ~
  380. ; Maximum input variable nesting level
    5 T# ~% s3 d9 G. G
  381. ; http://php.net/max-input-nesting-level
      K$ M) R9 y! u% \% J& D
  382. ;max_input_nesting_level = 64! [9 H8 U7 k; P8 R2 r7 c0 Y" L, ]
  383. , {0 }; v8 [0 ]* l1 A0 t1 ~' A
  384. ; How many GET/POST/COOKIE input variables may be accepted
    " }9 p! ?; x4 ], Q/ T
  385. ; max_input_vars = 1000
    1 ~% }0 z( K$ m  M

  386. 2 T# {( K6 X* y0 z% V/ V/ v
  387. ; Maximum amount of memory a script may consume (128MB)5 r6 g* \1 q/ d- _
  388. ; http://php.net/memory-limit6 M0 T' v1 ?. m5 l- t
  389. memory_limit = 128M( q9 G+ s; e( ?( y6 p
  390. - n  i# \  Y% }% N1 d; g
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 \/ O, Q/ d$ n8 G$ e
  392. ; Error handling and logging ;
    - G' ^7 Z( J3 M8 ^
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 o+ V+ Z+ z( O' s1 O
  394. " C8 c: n$ ]2 Y' o( q
  395. ; This directive informs PHP of which errors, warnings and notices you would like1 [% l# T6 x% X" M( W3 b3 V
  396. ; it to take action for. The recommended way of setting values for this# v* r1 R8 L7 U" J( @( ]1 o4 T
  397. ; directive is through the use of the error level constants and bitwise
    : c* i8 z7 N! e6 V
  398. ; operators. The error level constants are below here for convenience as well as
    7 S; t" x- b/ }! E/ }$ j3 G6 M
  399. ; some common settings and their meanings.0 }0 ~  |& w4 z0 f- u- F; n
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    8 V: U6 S0 L' u/ V; Q
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    $ t1 l7 f7 N, V: ?
  402. ; recommended coding standards in PHP. For performance reasons, this is the* i. _9 y% F; f* L4 }; y% ~
  403. ; recommend error reporting setting. Your production server shouldn't be wasting9 ~& H! M0 O9 @: b; b# ?# x) B! r5 {# ^
  404. ; resources complaining about best practices and coding standards. That's what
    * j- [8 T; ?( h
  405. ; development servers and development settings are for./ c) e1 p" n2 ]8 b1 j) m, V" o. M
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    * P; _( |4 m3 L" E/ {2 U  }3 \
  407. ; means it pretty much reports everything which is exactly what you want during: |% S; A& i( ]9 q& Y/ c" X
  408. ; development and early testing.2 u" H6 m, p# V2 F! ~
  409. ;3 \; f5 i4 C: f$ G# s
  410. ; Error Level Constants:" q1 S% V$ T8 }7 U/ C0 H
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    * d! N' N% v4 T
  412. ; E_ERROR           - fatal run-time errors
      m+ f1 r0 Z7 g; T* P6 I
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 u- E! _6 ~9 I9 |( w) D
  414. ; E_WARNING         - run-time warnings (non-fatal errors)1 C# o5 j5 [' z7 t; ^9 }
  415. ; E_PARSE           - compile-time parse errors* b% x! E$ }/ F: k
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    " L  _: q# t1 Z2 N1 L  y4 a: w: q
  417. ;                     from a bug in your code, but it's possible that it was
    $ D, a( f6 Y( t0 n: s+ l
  418. ;                     intentional (e.g., using an uninitialized variable and
    % [* j  `6 c4 K# a# j& g
  419. ;                     relying on the fact it is automatically initialized to an
    : ]5 z2 N/ k4 U8 S7 n1 @
  420. ;                     empty string)
    0 T% C6 l- b  ?
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ; T1 ]# D8 |$ U( `
  422. ;                     to your code which will ensure the best interoperability, K) |. r4 ?" a5 b- F
  423. ;                     and forward compatibility of your code
    . e% v! _) b0 x
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ! V0 d+ X6 [) m) j' A2 H0 \/ ]* {
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ! V+ [- v! e9 U- a9 B
  426. ;                     initial startup
    & V; K# F9 O, U" u* P% _. w1 p, b
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    9 g& W2 r- B% x; @
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 @, m8 J/ l8 `6 u: n
  429. ; E_USER_ERROR      - user-generated error message. d% t. z! u5 t' l
  430. ; E_USER_WARNING    - user-generated warning message
    : y+ h1 e$ o' J. [6 ~( U2 z
  431. ; E_USER_NOTICE     - user-generated notice message( D2 ^" w8 X. b# i9 |1 Q; s/ e1 K; T( P
  432. ; E_DEPRECATED      - warn about code that will not work in future versions) |* `3 V% s; a0 `
  433. ;                     of PHP
    4 u" C1 O! F& _3 v: O! H5 ]& V
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings% a+ u; K/ n* I! S
  435. ;
    2 U! T0 }0 H( r2 M" z2 R
  436. ; Common Values:; u+ s; ]) m1 h* d6 [) v: n
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.), T: K) j- B! J, E
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)3 I6 K7 G. \  X1 I
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) O- {4 b$ g( g6 d8 q5 n
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " }" h  S+ I- ~, g* E
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " y  S# }/ F- }+ X
  442. ; Development Value: E_ALL
    8 F6 \- s3 r9 ?" m& z) ]1 E
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + T9 g0 @8 |% ]$ V# a0 f
  444. ; http://php.net/error-reporting% H! e: x2 C4 i, A
  445. error_reporting = E_ALL & ~E_NOTICE1 U' b- V4 K0 r+ @3 i

  446. & l& v1 x7 A0 o. c7 ?" a; m: `7 ~
  447. ; This directive controls whether or not and where PHP will output errors,
    3 v  C; v  J" g2 Z
  448. ; notices and warnings too. Error output is very useful during development, but
    ! I6 O. r# v$ j  R, B5 n% L! C+ e
  449. ; it could be very dangerous in production environments. Depending on the code7 |$ ?9 n+ K9 M% n+ W% B
  450. ; which is triggering the error, sensitive information could potentially leak
    - N' j9 A6 Y& o( R, g3 J% x+ T
  451. ; out of your application such as database usernames and passwords or worse.) a3 k/ f" E; Q9 M9 T, I
  452. ; For production environments, we recommend logging errors rather than
    8 v1 \$ H7 R- X0 p3 [: o: K8 L/ Q
  453. ; sending them to STDOUT./ e( w& E3 D' E
  454. ; Possible Values:( [% |6 C2 z1 p8 t+ J# M
  455. ;   Off = Do not display any errors
    . @% [4 J  T: @6 d( H- T  R5 e9 H
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) y' r4 \3 k* G1 _" ?, _3 o
  457. ;   On or stdout = Display errors to STDOUT
    ( e$ Q$ [# l, k# U& u
  458. ; Default Value: On, h/ Y/ n1 _6 M( {/ l
  459. ; Development Value: On( J- A7 V4 e. M: q* X7 P# D! ]: B8 W
  460. ; Production Value: Off
    # d1 l& \# S2 T. e- o  b
  461. ; http://php.net/display-errors
      G. c$ ~$ L" F; |* h; |
  462. display_errors = On& y; @; S+ b- E% @

  463. 5 K8 o5 i7 U2 e. e2 F5 ]/ [
  464. ; The display of errors which occur during PHP's startup sequence are handled$ d% F. F: f8 T9 x. x- x+ t
  465. ; separately from display_errors. PHP's default behavior is to suppress those) z1 j, j( ]7 e' {, ]1 m& j" w
  466. ; errors from clients. Turning the display of startup errors on can be useful in  w. `6 L7 L5 @: a2 M, J+ ?
  467. ; debugging configuration problems. We strongly recommend you, g% p* a" [7 z. {% o
  468. ; set this to 'off' for production servers.! a- n( |- `9 L5 u0 a3 O
  469. ; Default Value: Off7 N* f9 ?1 A0 l5 a# i: \
  470. ; Development Value: On+ f$ Z3 \7 j2 R  Z6 L  {
  471. ; Production Value: Off1 C/ q# z1 X4 _: M( Y" G
  472. ; http://php.net/display-startup-errors
    8 W/ k# w2 f" L  |2 ?% u& k/ O
  473. display_startup_errors = Off
    8 R1 I  J1 [) j/ R7 o% V) y: E- ]

  474. + g1 d; z& x' n# H- S
  475. ; Besides displaying errors, PHP can also log errors to locations such as a$ H' m4 ^- D0 ?& Z
  476. ; server-specific log, STDERR, or a location specified by the error_log
    * B; x6 P4 x* P: O3 ?2 u& Z  w
  477. ; directive found below. While errors should not be displayed on productions
    8 ^+ m. U! R8 O1 y
  478. ; servers they should still be monitored and logging is a great way to do that.: x3 R% E/ p: d; z$ Q+ q2 D
  479. ; Default Value: Off
    - z$ k( _0 ~% }5 `" W* O
  480. ; Development Value: On+ |8 U# L: n: B$ v9 O
  481. ; Production Value: On! v; {9 r3 {; m% r  N. U
  482. ; http://php.net/log-errors
    3 X' A/ I( ^* s
  483. log_errors = On% ~: N8 r6 H* s! U1 J! M

  484. # O: i4 @  n# X* q9 q- H
  485. ; Set maximum length of log_errors. In error_log information about the source is$ f3 t+ `7 w) h' X+ M
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    8 ~6 w, _/ M9 `# u) }8 c' n! f
  487. ; http://php.net/log-errors-max-len5 x7 d( P& `2 k. z
  488. log_errors_max_len = 1024
    , \" W& t: C6 E0 T" Y2 k# y) F
  489. ; E# I4 w- c, u: P" ], e5 |7 B7 i! i
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 T) q3 J1 c; R: ?9 }& S
  491. ; line unless ignore_repeated_source is set true.
    7 {- f% Z+ d" V
  492. ; http://php.net/ignore-repeated-errors
    ! @+ G/ R& `7 K* S
  493. ignore_repeated_errors = Off- ]  ?3 K9 O% X% n& c
  494. ! }/ E6 m- |9 N! T1 H1 R( `) o
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    8 |$ h7 w, U/ K' G
  496. ; is On you will not log errors with repeated messages from different files or7 c& \0 G# R& v1 U
  497. ; source lines.
    ' y- w3 {$ s( f5 c/ e
  498. ; http://php.net/ignore-repeated-source1 m1 {- o2 D0 ]8 p) |; {8 A1 @
  499. ignore_repeated_source = Off4 R, X3 X" B, S! P; ~2 L, z

  500.   f0 M8 I9 g' g$ ~7 {
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on0 j; x) F# L+ ]+ }: O
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    9 N( q' x4 W$ [, u4 m% H
  503. ; error reporting includes E_WARNING in the allowed list+ m, `! y2 L; ^5 j( X
  504. ; http://php.net/report-memleaks
    % }) Z5 [1 y. F  g8 B
  505. report_memleaks = On
    4 f" u; X& Q$ R( v. E

  506. * f' D2 E8 ?4 j5 P8 l; c+ r
  507. ; This setting is on by default., i; g% Y% W/ M( r
  508. ;report_zend_debug = 08 X; V) ]2 y) v* _9 W( u6 n

  509. * l( ^7 l  Q7 B5 j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    # Q1 d5 N7 w  C9 F
  511. ; to On can assist in debugging and is appropriate for development servers. It should4 ]  ?: S  M+ ?) `& I
  512. ; however be disabled on production servers.* N) m" x0 n) |( }8 A
  513. ; Default Value: Off
    - y; \4 j9 _$ m$ g
  514. ; Development Value: On
    4 `6 @4 g- a& w8 O' s
  515. ; Production Value: Off' _9 f" J, L* a. a- Z5 ?/ g) }4 `3 A
  516. ; http://php.net/track-errors+ b3 x9 |# f  Y6 ~' Q9 B
  517. track_errors = Off: W& i% a' |- X+ ]4 P0 j$ ^
  518.   ?' O7 q* \3 O$ Z3 F$ O! Y' ~
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    4 m1 j+ Q5 Y3 A9 w! }7 i
  520. ; http://php.net/xmlrpc-errors
    0 a9 s# r+ Z1 _
  521. ;xmlrpc_errors = 0
    " O7 r) ?1 f% ~9 {

  522. 9 p, H" O) i( z2 y1 Z
  523. ; An XML-RPC faultCode
    " K. p# z  e: R8 c5 Q
  524. ;xmlrpc_error_number = 0
    - J: w- I5 a+ ^3 ?/ E
  525. + }5 Z# U  I& x2 E' m' H* ]
  526. ; When PHP displays or logs an error, it has the capability of formatting the$ w! p1 M& U0 @1 G
  527. ; error message as HTML for easier reading. This directive controls whether8 j8 }" t! e) s5 d, M9 k/ f
  528. ; the error message is formatted as HTML or not.
    , E, }/ _: U0 L- g, O
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI* T, C. ^3 }# f# p9 ^/ |$ x
  530. ; Default Value: On; W6 N% h! u% J$ h* p$ u$ {& l
  531. ; Development Value: On2 |5 t; ^5 Y' I( a* A, |
  532. ; Production value: On  E! [& V( p( j3 x, S* L. J
  533. ; http://php.net/html-errors2 I% i) u8 J; X% l( w# j
  534. html_errors = On# H7 [  v. h& \7 K( m6 }
  535. ) l4 O6 m  m- h- l# Q7 m2 A
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    + R1 b) L, u+ Z) n+ f+ [
  537. ; produces clickable error messages that direct to a page describing the error
    & P% X, _3 F  j0 N' f
  538. ; or function causing the error in detail.
    ! B8 h/ d4 c! J2 ?: j
  539. ; You can download a copy of the PHP manual from http://php.net/docs# a' Y) A$ n, |5 t2 J# z, F6 `
  540. ; and change docref_root to the base URL of your local copy including the+ p2 S* l% H; O1 G/ U
  541. ; leading '/'. You must also specify the file extension being used including
    9 R$ Q# }1 }3 |% x
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which3 {# u) s6 \( q1 _6 p5 I9 n
  543. ; case no links to documentation are generated.
    + k% ^2 P  T9 {; P0 h5 j9 H
  544. ; Note: Never use this feature for production boxes.
    ( \% T* v& I3 s& k. {
  545. ; http://php.net/docref-root- E6 p! V% A2 y$ F% X
  546. ; Examples
    2 e+ e' k9 I" ]4 ?. O
  547. ;docref_root = "/phpmanual/"
    1 h* n: b9 p# c% v
  548. ! I% D6 x3 g' y, n# a% E
  549. ; http://php.net/docref-ext
    ( ?9 E: ?8 W; @) G: M  m
  550. ;docref_ext = .html
    4 }; F8 S5 M( \
  551. , o% |7 u, K! J0 Z6 }
  552. ; String to output before an error message. PHP's default behavior is to leave) Y( W% a. K; N
  553. ; this setting blank.
    1 _- ]$ d9 m3 c
  554. ; http://php.net/error-prepend-string
    7 `2 D. F1 U; ?3 s  I  |
  555. ; Example:
    2 Q4 w" p. I8 y) g: G* k
  556. ;error_prepend_string = "<span style='color: #ff0000'>". z' s# v1 w- e/ M8 x* C( o3 m2 D
  557. . G  i. i. ~8 W* s$ ?
  558. ; String to output after an error message. PHP's default behavior is to leave
    : [/ q0 ^2 a8 P+ Q% ?
  559. ; this setting blank.
      l6 R0 ?4 s4 c( P. l" Q) t( G
  560. ; http://php.net/error-append-string
    5 U3 M+ f: n8 t- v
  561. ; Example:# ~+ {) G/ |2 n" i2 r+ B
  562. ;error_append_string = "</span>"
    ( g, c5 N7 \' F2 Y! p! ^
  563. ; ?$ @  H& [1 U% \. j& i
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ! {! T2 W5 h; q, o" D3 q6 M) E
  565. ; empty.
    * J1 A# o+ m% v% z3 N1 i
  566. ; http://php.net/error-log9 ^' a8 l) X- i/ f
  567. ; Example:% N; a8 r; y" a7 q4 P: n4 Z
  568. ;error_log = php_errors.log# D5 R. S( s( a/ h; o  C1 v6 Y
  569. ; Log errors to syslog (Event Log on Windows).  c# s" }0 R( }2 g
  570. ;error_log = syslog
    & \/ d) [5 X$ |$ x% U6 z$ z3 g9 x% C

  571. - ^: U$ j9 [' i5 z  D
  572. ;windows.show_crt_warning
    , C$ Y# A2 l+ H" d
  573. ; Default value: 05 g- o( E) H1 C* H% q0 j) w
  574. ; Development value: 0
    0 M; U) R; a7 E; O2 y  K% ?
  575. ; Production value: 00 h3 S6 N  v8 ^. f( F+ u6 Y

  576. + M8 t" y5 `( w- k1 }
  577. ;;;;;;;;;;;;;;;;;
    3 W3 ]! x+ v' K  @5 {/ C7 E
  578. ; Data Handling ;+ B' d: [) ~3 u" q
  579. ;;;;;;;;;;;;;;;;;* C5 P6 m9 z9 d8 K( P0 T6 R

  580. + P+ b& b" Z" y% j' O
  581. ; The separator used in PHP generated URLs to separate arguments.
    / h% T* q( |. j4 f' Z2 f) p
  582. ; PHP's default setting is "&".- q* q5 C* W5 f( B/ B6 C$ d' V
  583. ; http://php.net/arg-separator.output! l5 d6 a  W& c
  584. ; Example:
    0 o$ C5 _' p! K  V
  585. ;arg_separator.output = "&"
    : V8 i6 F6 T" o8 I6 D+ T+ A6 S
  586. " M! {# a3 |9 _& B
  587. ; List of separator(s) used by PHP to parse input URLs into variables.) k+ ?' z& W8 F
  588. ; PHP's default setting is "&".
    + q  m' R! A- Y6 I, q$ W5 k; x3 {
  589. ; NOTE: Every character in this directive is considered as separator!
    , {( ?) z2 e/ {! h
  590. ; http://php.net/arg-separator.input' A& c, Q3 W* Y1 l. N
  591. ; Example:# L; T6 b/ Q$ p# I8 ?$ m
  592. ;arg_separator.input = ";&"3 D3 `1 i3 f7 h

  593. % y6 _4 b% I( s7 D) D
  594. ; This directive determines which super global arrays are registered when PHP
    - g7 }3 [6 F% M. R# l2 [
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    * r  y& `! n5 m' W
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty  m: {4 [& N7 |4 S. x% |
  597. ; paid for the registration of these arrays and because ENV is not as commonly" \" |. D$ Z) p. w" \* S5 l7 A$ j5 G7 Z
  598. ; used as the others, ENV is not recommended on productions servers. You
    & v* \0 g4 R2 t2 x2 g0 e- c+ E+ W
  599. ; can still get access to the environment variables through getenv() should you- x1 p0 j+ l. I- b
  600. ; need to.
    : y! z# m8 E$ D3 L" v* N/ O' X& b
  601. ; Default Value: "EGPCS"/ @% @# X+ f) c, {0 I6 F/ Y
  602. ; Development Value: "GPCS"
    ! d4 D$ l& n6 ?/ Z  p2 W1 n5 I; c, W
  603. ; Production Value: "GPCS";: e$ h' w- ^' ?8 J! |5 q0 h3 k
  604. ; http://php.net/variables-order* ~. t- \5 v$ Q  q/ F
  605. variables_order = "GPCS"! b+ r) U- h  T% u1 T7 m0 o4 A

  606. 6 C! ^7 O/ d9 U% R+ T: d
  607. ; This directive determines which super global data (G,P & C) should be
    . M" Z( D) @6 m  ~
  608. ; registered into the super global array REQUEST. If so, it also determines
    % \6 ^& X: M; W# l. O$ _
  609. ; the order in which that data is registered. The values for this directive
    ; N8 N2 j% f# y5 d& S5 Q. Z
  610. ; are specified in the same manner as the variables_order directive,
    , |. q+ i1 Y; C; v5 @
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    . W) [6 l8 M* \2 z3 G- R2 d( y
  612. ; in the variables_order directive. It does not mean it will leave the super
    : b2 _- |( I, u( p. k& W/ y
  613. ; globals array REQUEST empty.
    0 }' f' Y, A: w& g4 w2 X/ ~7 q
  614. ; Default Value: None
    & F* s3 \( f6 L& ]' E$ ^; F7 P
  615. ; Development Value: "GP"
      w: W6 P9 G9 ?
  616. ; Production Value: "GP"
    0 ]9 A+ j6 F2 |  F
  617. ; http://php.net/request-order3 P  R: p3 j3 r/ d) _
  618. request_order = "GP"
    5 X  }! k6 G: B# s* f
  619. # B( k/ _7 I% }
  620. ; This directive determines whether PHP registers $argv & $argc each time it% M+ a) U3 C& `4 S2 X- w2 o
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script3 F% x1 q' A- s2 D  d0 j" r! a) R6 A- }8 w
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ) ~. g/ e) l3 x
  623. ; that were passed when the script was invoked. These arrays are extremely
    , }* M* ]+ k$ V: D, [( P5 g
  624. ; useful when running scripts from the command line. When this directive is
    2 e" @8 N0 i/ m' y
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 H! m3 }$ ^8 _+ }% @; Y' P& o
  626. ; a script is executed. For performance reasons, this feature should be disabled) N2 U' _1 d; j1 ^$ L
  627. ; on production servers.+ q# I- n+ {( [
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    - b7 ]; o9 o# q% g* o
  629. ; Default Value: On/ F$ [' ?: ^& t
  630. ; Development Value: Off
      A( X( L4 _6 z
  631. ; Production Value: Off
    ; i5 x9 Y) Z+ `& [& i4 b# k) @
  632. ; http://php.net/register-argc-argv! v; C( f. u2 {% n$ G
  633. register_argc_argv = Off
    , Q3 w* J6 m9 t5 }' \
  634. : m" a1 E$ E! L% n" s1 j& ]
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're( V. E" J% E+ w
  636. ; first used (Just In Time) instead of when the script starts. If these
    1 _' P0 E! L, M; q, W4 m
  637. ; variables are not used within a script, having this directive on will result) G) H. Q  I8 J( o
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # c3 K6 Z8 c5 w' v# d
  639. ; for this directive to have any affect.
    3 ~2 y' ?9 B* y. ^) i
  640. ; http://php.net/auto-globals-jit
    5 F/ N1 b  N2 N# _$ w8 d  A
  641. auto_globals_jit = On) V3 Q2 \( H* }; \1 z- g

  642. 6 t; e6 J1 P/ R, T
  643. ; Whether PHP will read the POST data.
    # p0 J7 v2 B5 `* q3 u
  644. ; This option is enabled by default.- d" U- V  ^" w& i: W
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      X. k, K" m8 l: \! {) V& T4 v3 [
  646. ; and $_FILES to always be empty; the only way you will be able to read the; k4 J' D. e* @* N+ j# e
  647. ; POST data will be through the php://input stream wrapper. This can be useful( p: d% W% N: W
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.8 J9 ?# @9 O% M* @) W7 X
  649. ; http://php.net/enable-post-data-reading
    0 r( ^; W: t, s5 c8 B$ `
  650. ;enable_post_data_reading = Off
    $ R8 ?4 w$ m4 f$ R/ m1 r
  651. ! M' h* e5 V; }: x. q# K# ]$ Z
  652. ; Maximum size of POST data that PHP will accept.
    8 K) L% h) h% @
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading" l& p3 r; D0 {3 E
  654. ; is disabled through enable_post_data_reading.0 z5 h3 ]" H; _. X( B' @; N
  655. ; http://php.net/post-max-size
    ; L) i5 {# c4 @
  656. post_max_size = 50M1 j2 p7 F. Q; |% ]* C" Y, y+ W
  657. 0 x. S7 h: e% K2 _; e
  658. ; Automatically add files before PHP document.
    ( I% _8 A, x  H: z& v
  659. ; http://php.net/auto-prepend-file
    ( H! P# i( O) i0 b
  660. auto_prepend_file =" m. {9 Z; I6 k6 W( ~! q
  661. " v- J6 T" r/ V
  662. ; Automatically add files after PHP document.
    ) W5 G3 L- g, h: H5 r
  663. ; http://php.net/auto-append-file: n0 o" r# Q: |# J  D+ a
  664. auto_append_file =  `- |/ b0 ~) D( G

  665. % d6 n. c5 S/ }% ^2 v, N$ U
  666. ; By default, PHP will output a media type using the Content-Type header. To; ]! \" v# j! I5 \# o$ T. O  H
  667. ; disable this, simply set it to be empty." u6 x, G( \& a
  668. ;
    " e) h/ q! ]3 C+ a+ ]  q0 J
  669. ; PHP's built-in default media type is set to text/html.
    4 V  `2 E- W" O) j- ]; l1 ~
  670. ; http://php.net/default-mimetype6 z3 z* T9 T8 E/ d. C! Y) W
  671. default_mimetype = "text/html"' r, P% K2 K6 Q+ U+ I) v. A

  672. * H  x8 L* N6 d: c
  673. ; PHP's default character set is set to UTF-8.
    & W. d5 p1 N" K+ v
  674. ; http://php.net/default-charset
    $ G  S' }% w! N7 t" x* }
  675. default_charset = "UTF-8"
    1 G3 x  T: ]8 f. Q

  676. + W# k" P0 y/ `9 R1 }
  677. ; PHP internal character encoding is set to empty./ f1 N4 [' [) g) `! v8 n8 h* A# O
  678. ; If empty, default_charset is used.
    ; ?3 A6 k9 y0 e
  679. ; http://php.net/internal-encoding
    , |( a4 D, f! c3 I
  680. ;internal_encoding =  t" W( J( T4 i

  681. - \- K5 D, C6 A& l
  682. ; PHP input character encoding is set to empty.
    & A4 K6 h: M+ l4 L5 \' R4 J% E
  683. ; If empty, default_charset is used." W9 y: S$ u5 E: _. C) i& P% M
  684. ; http://php.net/input-encoding
    . |% [3 x( a) |0 W& D) R
  685. ;input_encoding =/ r. z% ^# R* ]; f' q1 q3 x
  686. : C! x8 N$ d4 a: F) V
  687. ; PHP output character encoding is set to empty.
    . B1 P/ j* @, B2 E' k& u7 p
  688. ; If empty, default_charset is used.
    ' X. f7 g: l: L2 M$ z
  689. ; See also output_buffer.
    ) R8 t  F7 f% J- H. p% \
  690. ; http://php.net/output-encoding
    3 ]% I! l% j; ]( K
  691. ;output_encoding =
    ' J: |7 Y- ~, \9 b+ L) u

  692. 3 h! a5 r* p1 }! }- e
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;- U7 x: u, H3 O9 b
  694. ; Paths and Directories ;5 a4 Q* B7 N9 D4 C( c
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! x# S7 Q( z- c5 J$ ^+ F
  696. ; ?( j+ F' J; A0 T# G
  697. ; UNIX: "/path1:/path2") N8 G4 R  I7 {+ h4 ?  Y
  698. ;include_path = ".:/php/includes"
    " _( K: B) b! w
  699. ;
    : N! H1 [9 d9 j9 n- S7 q3 x
  700. ; Windows: "\path1;\path2"
    5 y& D) P- U: R. Q: A* p, G3 |
  701. ;include_path = ".;c:\php\includes"1 w. X4 w' j9 j) ^  b) f
  702. ;* a* T9 [' f$ z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
      X! P, ?5 }& k9 h' a: H9 x; M
  704. ; http://php.net/include-path
    6 ?- \( _  u8 a/ F# g

  705. - \4 i; ^( d% \1 D8 {
  706. ; The root of the PHP pages, used only if nonempty.  [" p1 W( \0 R
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
      s6 `0 {9 Z* w, F
  708. ; if you are running php as a CGI under any web server (other than IIS)
    + N5 H6 [/ e" W7 x- m( \) i
  709. ; see documentation for security issues.  The alternate is to use the
    ) j0 P2 ?( [6 I2 T
  710. ; cgi.force_redirect configuration below
    ! u( [7 q( R7 v; n3 R
  711. ; http://php.net/doc-root
    5 a* y- f9 I( H& J
  712. doc_root =% V% ]: m4 H2 q5 T9 i

  713. # v- J2 C1 Z2 J& K9 ?4 p- ?. k, `
  714. ; The directory under which PHP opens the script using /~username used only
    5 x" Y! C) l/ O  n2 S2 d& k8 f/ Z
  715. ; if nonempty.  H& j; D5 }' ?6 e. p5 S
  716. ; http://php.net/user-dir
    ( d8 u9 B& c% E0 O3 p
  717. user_dir =
    - S8 }- H% z0 `
  718. , Z" s" }" u5 N
  719. ; Directory in which the loadable extensions (modules) reside.
    & u+ A$ V) u# a# P
  720. ; http://php.net/extension-dir
    - J* R3 o: }% R" y6 |$ ?
  721. ; extension_dir = "./"3 X% n( G2 \0 Z+ c5 J
  722. ; On windows:9 a) t4 U# N7 A
  723. ; extension_dir = "ext"/ c: Y# h2 G3 }
  724. ( e* K/ C8 k# b* C
  725. ; Directory where the temporary files should be placed.
      L8 j' o9 w0 I2 x" k! K$ X
  726. ; Defaults to the system default (see sys_get_temp_dir)' S5 v$ X& q, h: R
  727. ; sys_temp_dir = "/tmp". d9 v" W0 O* y

  728. 9 V# ]$ R/ u. y6 O1 U8 r
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    * V  p* k/ e# i; {1 M6 t/ i
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & b% ], Q( C1 ^3 {5 C
  731. ; disabled on them.% X8 e0 j( C" w* w9 l2 h
  732. ; http://php.net/enable-dl6 I9 h5 g* h$ b2 S0 p* H
  733. enable_dl = Off$ t" k) d7 z$ J& k

  734. 9 ]$ {6 i  l. L
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 ~: v" ~* C" n' F2 d
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ! r4 b: d$ p, Q! I. z
  737. ; turn it off here AT YOUR OWN RISK  I! t: O% M4 Q; \7 s3 t6 U( E7 q  _
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 n* c. n/ E( Y
  739. ; http://php.net/cgi.force-redirect" `( \9 |( O3 L2 d4 R
  740. ;cgi.force_redirect = 1
    4 N9 U6 n: R9 r; T
  741. " @0 a' f6 F* n; R
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    4 t  O  M3 h& Q* M- Q6 e
  743. ; every request. PHP's default behavior is to disable this feature./ w' I) t/ {- _+ z$ v$ g
  744. ;cgi.nph = 1
    7 @0 s0 f& d4 P1 x- z) O

  745. # J$ O0 d+ x0 {0 B; a
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ' {: [4 t+ |% t% J3 v
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    3 ~3 z7 ~, z! i
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY- M- q, e0 f3 T: c
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& e9 q' W, \8 Y; Y0 q2 u" r
  750. ; http://php.net/cgi.redirect-status-env
    ( l1 E# T4 m% }1 @& b
  751. ;cgi.redirect_status_env =! U7 s& n; Z, [) v  |& e! m

  752. 9 V6 y% r& g9 `# G. m9 j
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's0 ]* k0 l" l9 I% ]
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ! \& Y! L4 k9 O, c" G
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / H! n2 Y+ Y3 n% e
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting. j5 _7 {$ f% e/ D) D9 c3 w5 G
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    $ J' J  D8 T" _
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & T! T# Z) q7 t, k( q9 g
  759. ; http://php.net/cgi.fix-pathinfo
    ; y; j1 {: |8 k% _4 x
  760. cgi.fix_pathinfo=1
    1 f# O. ?6 _' ^: F0 T

  761. : O: [9 C$ E4 [2 C: f0 j
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    9 h8 f& W& Q4 b/ m1 j- r# _' P
  763. ; of the web tree and people will not be able to circumvent .htaccess security.7 @, {" @( V- r% ?) H4 D
  764. ; http://php.net/cgi.dicard-path- [% y5 x! K/ Q/ o2 h  y9 Q
  765. ;cgi.discard_path=1, m% X# C3 C/ O# D0 [

  766. ) ?. L  o3 R+ S- f2 P7 N% W, r
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    + L+ [, N; @2 j2 Z
  768. ; security tokens of the calling client.  This allows IIS to define the
    - w. S% c4 F7 P/ l
  769. ; security context that the request runs under.  mod_fastcgi under Apache9 [) U+ K1 z0 [: Q% M; j7 k
  770. ; does not currently support this feature (03/17/2002)8 y2 ]7 \9 A+ A/ y. A
  771. ; Set to 1 if running under IIS.  Default is zero.( J- v8 l! y5 ~4 v- M
  772. ; http://php.net/fastcgi.impersonate
    , P& Z8 X9 y7 p
  773. ;fastcgi.impersonate = 1- K5 h" [  X9 h# `) e# v% r; E

  774. 8 U3 Y" _+ P- O& q) Q
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / P+ r( s7 L) e! O) W5 O$ `4 A+ r  ?
  776. ; this feature." p: [( h& ]; W! L
  777. ;fastcgi.logging = 0# I$ J" O0 }& t- I) u" G

  778. + p: L2 @) P9 V2 L& u; q
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    6 h$ S/ K. J  e
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 U9 s% a2 u+ m" f8 L# L# L# V' Z
  781. ; is supported by Apache. When this option is set to 1, PHP will send6 l4 M: F$ P( k+ j
  782. ; RFC2616 compliant header.6 k3 C7 A5 X/ Y: Z0 y" c8 S
  783. ; Default is zero.5 O: j' d  a  w, ~# C9 C9 y9 Q
  784. ; http://php.net/cgi.rfc2616-headers
    , `7 q& a" p# ?( n, t) T
  785. ;cgi.rfc2616_headers = 0) n8 L+ v6 n" `# J5 C1 `
  786. ! z" X% I% E8 q0 v* D
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : Z. b4 z: l6 a" r& {3 v9 E
  788. ; (shebang) at the top of the running script. This line might be needed if the
    0 ?- J, g1 ]( i2 V6 y% Z
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ; i: i# {& z" g( s
  790. ; mode skips this line and ignores its content if this directive is turned on.# w1 P8 F  s4 r8 o; N
  791. ; http://php.net/cgi.check-shebang-line
    ( Y3 j; w4 f- ~5 E
  792. ;cgi.check_shebang_line=1
    / N2 R& _& G/ m, P7 s: }& \

  793. - b1 L3 ^1 S+ M8 q' x4 R! x$ G2 p, N
  794. ;;;;;;;;;;;;;;;;
    2 L( ]6 J4 u, Q7 i
  795. ; File Uploads ;# l  |+ t- f) w: q& m  H
  796. ;;;;;;;;;;;;;;;;/ F- T5 j+ X7 _  b& l* U
  797. 7 E. @1 J/ G* D  w. g$ M
  798. ; Whether to allow HTTP file uploads.$ B2 f; d- A5 {3 E# a
  799. ; http://php.net/file-uploads
    $ M2 E' k" }- b; J. P, }" r9 d# C, c
  800. file_uploads = On
    + z- M9 `" d" }& O/ w/ z

  801. - }6 k) X5 y0 r* v+ ?" p
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    / S  C! X: s/ o5 l+ A4 `, z& G
  803. ; specified).
    ; n1 W* M) Y; K$ y( N5 T9 |# S
  804. ; http://php.net/upload-tmp-dir. o5 Z; T; l$ Z) Y
  805. ;upload_tmp_dir =" @# ?: t# ^7 V% Q: ]
  806. ( E& D1 p( W1 c1 m; B
  807. ; Maximum allowed size for uploaded files.4 @6 e# ]  A7 b3 i4 t9 l4 ~
  808. ; http://php.net/upload-max-filesize9 B( r) v. T2 F) d# ^3 v
  809. upload_max_filesize = 50M
    & {% n& u$ a: D9 [

  810. / Y. z+ m  y& [) I; ]
  811. ; Maximum number of files that can be uploaded via a single request
    ( U* D6 }( m  c* J
  812. max_file_uploads = 20) J( c& p& ^! x' ]2 k
  813. & v: L7 w4 n$ }7 k: s+ ]
  814. ;;;;;;;;;;;;;;;;;;
    3 ~' t. [3 S0 P0 Z- z
  815. ; Fopen wrappers ;! @, E1 P# b; Q- W& k
  816. ;;;;;;;;;;;;;;;;;;5 f2 j& g. O2 _0 ^: l9 l2 v' m

  817. 9 _3 R/ {+ n) K: z! D
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    " s8 [# e- K, f+ R2 C
  819. ; http://php.net/allow-url-fopen- t" X0 q; V8 Q& g
  820. allow_url_fopen = On3 C/ w/ F7 X( x& V
  821. : U0 }  O+ u+ n* W7 v, c' F6 ]
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.. f5 f/ j. ]0 K
  823. ; http://php.net/allow-url-include
    / z2 X/ G& v% l9 h
  824. allow_url_include = Off
    9 ^6 t- d8 H5 I# J7 |& I7 \
  825. 1 _6 v& D6 J! a) X; s
  826. ; Define the anonymous ftp password (your email address). PHP's default setting1 g5 y3 @  Y8 D7 _6 K) W
  827. ; for this is empty.7 X  I9 C& Z% n  g& H
  828. ; http://php.net/from
    ' ^4 g3 V* b/ r" t2 V/ H6 {( U0 k+ h
  829. ;from="john@doe.com", m$ N* F2 F, b7 F5 u/ V
  830. 2 e9 n  u3 ~5 _; y9 r
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    + E- R$ x8 v7 A# R  q4 Y" x% N) t
  832. ; http://php.net/user-agent
    * ~# e; d% {# N
  833. ;user_agent="PHP"
    ' P; O. s% F* ?1 A
  834. 7 H) g; v, g9 \7 _: i
  835. ; Default timeout for socket based streams (seconds)" Q, Q3 W' m& t
  836. ; http://php.net/default-socket-timeout9 m) H! U, N2 o
  837. default_socket_timeout = 60
    ( R& s: D" E7 c. U7 }+ P4 e+ X
  838. $ ]& V! X; z0 I5 j" W' a( z; W5 y  q
  839. ; If your scripts have to deal with files from Macintosh systems,8 ~/ m8 X0 b  y  P% W2 U3 p! c2 R
  840. ; or you are running on a Mac and need to deal with files from9 O% j4 O( G, B" y0 I' R  O" b# U
  841. ; unix or win32 systems, setting this flag will cause PHP to) w- l2 q; y+ e3 U6 z
  842. ; automatically detect the EOL character in those files so that- X! T+ I0 O1 i1 V$ |' S
  843. ; fgets() and file() will work regardless of the source of the file.
    % M9 A3 T  e  |. _5 ~' ^
  844. ; http://php.net/auto-detect-line-endings0 C- l6 W7 g1 {$ B' n
  845. ;auto_detect_line_endings = Off7 x( R( v, `$ ?% J- a9 r  m
  846. , A( G4 }. V; c) n
  847. ;;;;;;;;;;;;;;;;;;;;;;
    % {: N' X6 P6 v
  848. ; Dynamic Extensions ;
    0 P3 }) }+ ~3 T/ i! o9 U6 [
  849. ;;;;;;;;;;;;;;;;;;;;;;0 z. B3 h% \# `
  850. 4 c* |8 ^( p. d  j; W' p3 o* c  l
  851. ; If you wish to have an extension loaded automatically, use the following
    8 p6 i( [0 i& Z9 J4 n* z! |
  852. ; syntax:: q4 p. z' A0 V! P( b
  853. ;
    5 a9 Y! t# S# G( k
  854. ;   extension=modulename.extension5 [8 ~4 l, Z  I+ M( R% F! k/ J
  855. ;
    4 L; {& u, [' j4 C+ F+ B% u
  856. ; For example, on Windows:4 j1 T* b0 u5 M4 @+ @
  857. ;
    ( k* e: N+ }. R$ \" X) O
  858. ;   extension=msql.dll
    5 U, y9 C: Q& J* ~6 n; u
  859. ;
    - v: y+ \* ]+ K* J
  860. ; ... or under UNIX:
    , R  l3 d% [+ y  m# ^6 N
  861. ;
    + m1 P4 o6 E- f0 H
  862. ;   extension=msql.so" a/ O( \( ^: _0 ]- a5 z9 F
  863. ;
      i# X# i* J1 r' f
  864. ; ... or with a path:! Y+ K% u- l. o$ z3 |
  865. ;
    0 `; _) \' z0 j$ a9 s% G5 y+ b
  866. ;   extension=/path/to/extension/msql.so
    / N( u7 v$ G* _3 Y$ ^/ O2 f
  867. ;
    $ h8 Y4 o4 D7 z7 X: L4 w
  868. ; If you only provide the name of the extension, PHP will look for it in its
    / k, o' T4 ?6 Y  Q
  869. ; default extension directory.: a, F/ {! g' M6 e4 D. B
  870. ;
    ; I9 Z/ N& C$ _3 Q1 c
  871. ; Windows Extensions: P3 Z( n( g( |# p( l5 Z. E
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    4 A9 w; a7 O" {/ `" t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ) t# L) W- i( K4 f+ p
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).3 X4 j% V8 @- c
  875. ; Be sure to appropriately set the extension_dir directive." m0 D8 [# w# F# d7 {4 |
  876. ;& Y& F3 R# B( Q
  877. ;extension=php_bz2.dll
    6 Z5 b. m. i& s1 y* z
  878. ;extension=php_curl.dll' y! V7 m1 @6 v$ S9 c( [
  879. ;extension=php_fileinfo.dll, d# C# B* e. l1 V. f  }: }% N: u
  880. ;extension=php_ftp.dll
    ; _$ b9 m' E# R9 f4 c0 i  [. _/ z. ?
  881. ;extension=php_gd2.dll
    . Z9 ~7 N% q; z% S4 V9 H# P) C3 G
  882. ;extension=php_gettext.dll3 \5 d2 k- B* h& w- S( v
  883. ;extension=php_gmp.dll
    $ q9 w# g+ [: ~
  884. ;extension=php_intl.dll
    . H8 L0 w2 E+ ~" I. d
  885. ;extension=php_imap.dll( R) {' W0 b* I) q
  886. ;extension=php_interbase.dll
    ( T! ]# @' o. t3 M% H' q$ _
  887. ;extension=php_ldap.dll: J7 z; L! D5 f" m& d
  888. ;extension=php_mbstring.dll: t6 b/ G3 n& ]$ T& S; y% P
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
      a' }+ z( ^' d2 _" R% A
  890. ;extension=php_mysqli.dll' o  m1 ^+ w9 G1 P5 r
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: Z* D) R2 R$ v3 c* o5 D& ^
  892. ;extension=php_openssl.dll
    & O& N5 O( \+ h  ^( J/ U' Q
  893. ;extension=php_pdo_firebird.dll
    ; m. K$ e2 m/ J: A
  894. ;extension=php_pdo_mysql.dll
    " q, p' Y0 x; N& T( r0 t
  895. ;extension=php_pdo_oci.dll
    0 f% j# _# {& V8 q6 J; e/ [, C
  896. ;extension=php_pdo_odbc.dll
    5 s4 D) A1 R& q$ ?( a8 ^3 {8 E
  897. ;extension=php_pdo_pgsql.dll
    6 A, \+ Y! }' b6 M* F6 r
  898. ;extension=php_pdo_sqlite.dll( j$ ?2 `8 g8 y' x& N
  899. ;extension=php_pgsql.dll
    $ C9 U, n3 }" X- ~: h& E, B% B
  900. ;extension=php_shmop.dll( o1 k2 x0 R1 p* y2 I9 c3 L

  901. 5 P0 |8 P6 g0 w9 W
  902. ; The MIBS data available in the PHP distribution must be installed.# b8 @7 Y/ j& |  e
  903. ; See http://www.php.net/manual/en/snmp.installation.php6 r& ]& D+ h6 K- B
  904. ;extension=php_snmp.dll) L* R/ _% F1 i3 _: g

  905. & J* `% v( U9 H! ^2 E
  906. ;extension=php_soap.dll1 l: W) w! N% k; W) F0 i$ y
  907. ;extension=php_sockets.dll# P% ]' t% s; W6 U4 i6 K, y7 N9 E
  908. ;extension=php_sqlite3.dll
    & V8 y6 G  v# ]9 d  R
  909. ;extension=php_tidy.dll3 _) n7 Q# u8 V; s
  910. ;extension=php_xmlrpc.dll" `( c: R( J) U* G$ O( V
  911. ;extension=php_xsl.dll9 h7 ~6 h' J- W, d6 I& {
  912. 0 h* H( J2 \: p% G
  913. ;;;;;;;;;;;;;;;;;;;
    9 B; T2 p0 y$ M! T3 p2 ]0 y
  914. ; Module Settings ;
    " {  ]( g7 E& @% k* @  }% U
  915. ;;;;;;;;;;;;;;;;;;;% }- v: v, J% W5 ]+ z( @0 H

  916. ! Y' I+ }9 F7 v4 n: c
  917. [CLI Server]
    1 g* H. X* N" E8 O% i4 Q4 x
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    6 O$ O% q0 d0 F, ]. D1 Y9 h
  919. cli_server.color = On8 J, r0 o7 u( H0 r% m" {4 R! g# t

  920. ' ]6 H% [6 N! P& u0 m* l5 I
  921. [Date]
    " _/ c3 P1 N9 L( ^. l
  922. ; Defines the default timezone used by the date functions
    ( j3 V) e  |( Q8 Z0 G$ s5 k& g
  923. ; http://php.net/date.timezone
    ! {2 u* `( R" |/ h1 I9 l0 y  b
  924. date.timezone = PRC, g# n. ?' G0 }. w3 ~9 d
  925. ! J# b+ U' E! Z) ^  `- ]
  926. ; http://php.net/date.default-latitude- @7 I  }; ]+ a$ Y6 C" {/ l
  927. ;date.default_latitude = 31.7667. P! Y3 o/ A5 Y5 z8 w0 P

  928. 9 x! F# T/ f0 s# l0 x+ A
  929. ; http://php.net/date.default-longitude7 z4 u  s4 r- r6 V- Z' x- G$ K" b. \7 Z! n
  930. ;date.default_longitude = 35.23339 @! S* E/ Z: _, n+ |! P1 u4 L' X

  931. 4 O9 e, F. a3 j, E  P3 v) ?
  932. ; http://php.net/date.sunrise-zenith5 j2 L2 m, S5 E
  933. ;date.sunrise_zenith = 90.583333
    . ~# Z1 k/ q2 M# t

  934. 8 @  q5 p7 z, u- f
  935. ; http://php.net/date.sunset-zenith' m: Q% D  O- z; o1 s& N2 k" f
  936. ;date.sunset_zenith = 90.583333' p/ F" Y+ q0 h+ K& k! ?: ]$ I# k

  937. / b0 B& N8 Y5 _2 X' ]
  938. [filter]
    & t# Q' H! K4 z0 E$ i5 Q" q
  939. ; http://php.net/filter.default: S: T: p' q- k4 |( M+ }* }: q3 C
  940. ;filter.default = unsafe_raw
    8 E* b" v1 Y7 ^1 p  O* P
  941. 0 I1 _' n7 J2 U5 q! A8 N9 K
  942. ; http://php.net/filter.default-flags
    : w9 f5 F( N/ r1 V3 L  X. u
  943. ;filter.default_flags =
    , H2 Z( j8 z& R& @9 I; a+ f
  944. 3 M3 s0 v9 L8 K; l3 V7 f
  945. [iconv]
    * f& [, }! o5 c  i( i0 Y
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.5 m  E: ^! N) t3 ^* h" ^
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 _- O0 L9 B) D2 D  _! x
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # R" z  p  W8 B# H
  949. ;iconv.input_encoding =  I8 D+ Z5 ]$ W0 Y5 y+ C! K- a9 N

  950. 9 E4 O6 J8 q7 R" _7 J( A/ L- c
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead./ f0 c9 E" _' x1 I. C6 f
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - }$ y8 a( h( S# V+ K+ B3 E& v
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 x7 \, D( [" p  g9 h+ C& a
  954. ;iconv.internal_encoding =
    5 e6 _5 K" e; ^4 G+ E* T

  955. , l* z( j; S/ Z" q( u; B0 ?
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.9 g+ A# t, I) a$ n" v! W
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    % M% O% K: x4 k3 d* M
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # x" W1 V# z2 k( R' k
  959. ; To use an output encoding conversion, iconv's output handler must be set1 u4 {" C) x' P8 i# o
  960. ; otherwise output encoding conversion cannot be performed.! T$ \% _" b2 K" i
  961. ;iconv.output_encoding =, ~9 _8 H' G: B/ [" l5 p9 I
  962. * s) T  t' W  P+ u7 \( v" b
  963. [intl]
    # z: e& |- n# s1 Y* h, v
  964. ;intl.default_locale =' a4 }! S3 Y  \% h. R* ~/ h) C2 v% j/ ^
  965. ; This directive allows you to produce PHP errors when some error$ S% N% m& y+ l$ S
  966. ; happens within intl functions. The value is the level of the error produced., {# n! l! J: m6 Y3 ?6 j
  967. ; Default is 0, which does not produce any errors." O8 R/ V" I+ K( p, n+ b* O) z& R
  968. ;intl.error_level = E_WARNING
    3 k" F8 I  _9 T  U. B' X# u# c7 E
  969. ;intl.use_exceptions = 07 p6 ~% \) C9 V2 N3 r, f

  970. " p* L; M/ c! ?) I& S& }* J( {
  971. [sqlite3]  B4 B1 W9 N) I2 g) _6 [# [
  972. ;sqlite3.extension_dir =) W& j6 `; O; q1 s3 `

  973. * G2 r$ }/ u3 u' Y, P9 N" ~  T
  974. [Pcre]
    - U. O/ G4 s0 h, V( y
  975. ;PCRE library backtracking limit.
    ; }* _3 ~5 s% |0 L  Y
  976. ; http://php.net/pcre.backtrack-limit
    ; \. D$ r; Y& O) |7 ?0 z% i3 i
  977. ;pcre.backtrack_limit=100000/ C, S4 g5 b6 J& S0 L2 y
  978. 9 `9 S6 U: |) p; x
  979. ;PCRE library recursion limit.# h* s8 e4 q  t! X! Z4 Z/ H8 K
  980. ;Please note that if you set this value to a high number you may consume all$ P  h1 I4 i( H( }) U$ _
  981. ;the available process stack and eventually crash PHP (due to reaching the+ A% O1 t' ?1 r& l: l; a4 ^
  982. ;stack size limit imposed by the Operating System)./ z. v! @  l5 ~  W
  983. ; http://php.net/pcre.recursion-limit; R, x$ }. ]7 \% |
  984. ;pcre.recursion_limit=100000
    , b5 \/ a5 P' p% V

  985. ! ^. U7 P; w5 ^6 T: T! F
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    4 A# n9 `$ }: r, b! I
  987. ;library to be compiled with JIT support.
    5 P. s! v$ v# U* G
  988. ;pcre.jit=1
    ! ~0 v) p2 G# I, t+ [: X3 \

  989. 7 Z# {9 _# h- L6 P, l# U) N
  990. [Pdo]
    , M6 ?# s3 {/ I( `2 ?- _. E4 C2 k
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    - b' p) t+ N4 z/ @
  992. ; http://php.net/pdo-odbc.connection-pooling
    - T) x# f9 H1 E+ w1 Q6 u) [
  993. ;pdo_odbc.connection_pooling=strict
    / V* ]0 K# `. j: E
  994. 3 Q" S. ^" {9 ~* z/ X
  995. ;pdo_odbc.db2_instance_name2 ?" X% y1 T9 v) J- W& l: L

  996. , y2 g% ]4 S' X; O+ L
  997. [Pdo_mysql]
    7 G5 P  b- Y! J2 `
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 q- N7 @# M% Q
  999. ; http://php.net/pdo_mysql.cache_size
    , Y+ J1 N/ X2 b: n( `: |- x- M
  1000. pdo_mysql.cache_size = 20006 T, x: O# Y' M' {, ^- A8 h

  1001. ! i; d/ g3 G& H+ l8 y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 T$ Q* H- ]0 x1 R1 j. s; M
  1003. ; MySQL defaults.
    # F& x2 p+ j( A9 S' D
  1004. ; http://php.net/pdo_mysql.default-socket& V# l$ n- I  Y% Y) M( J$ q& d
  1005. pdo_mysql.default_socket=* n: `" w9 D8 y. Z4 {1 s

  1006. . B6 I; O! f3 c' N, G# D' h7 D
  1007. [Phar]
    4 F& h" g  @$ p& L) A" u% t) l  o
  1008. ; http://php.net/phar.readonly
    + S6 P! R) h/ j  V* |
  1009. ;phar.readonly = On
    8 W) c7 K* w9 N5 W, c/ A& ]4 ]

  1010. " K! S4 Q, G+ @, @- a
  1011. ; http://php.net/phar.require-hash
    . U  Y7 ?3 l- [4 @5 x, W! p/ h7 O
  1012. ;phar.require_hash = On
    ) [$ g6 Y0 ^  F  n" l- g
  1013. 0 Z8 i& @: w6 J7 z
  1014. ;phar.cache_list =
    ' r( l; l% s, u5 e! T8 @( m: E

  1015. , }. M8 c* v& p  U& L2 m
  1016. [mail function]2 a0 M8 Z# q# G
  1017. ; For Win32 only.
    , v& T# r4 I" m5 I% m
  1018. ; http://php.net/smtp
    ; b$ {0 K2 ?4 }2 P2 ~) [
  1019. SMTP = localhost
    ; E# K$ }3 V, X4 c( ?
  1020. ; http://php.net/smtp-port
    / {6 z& Z6 F2 ?% e; g
  1021. smtp_port = 25
    3 U9 S3 Q7 j) J6 B8 F7 v

  1022. ! N: b& ~& U' P( P* |
  1023. ; For Win32 only.
    : ^" ?3 H/ e* K- ]5 B. x' h' ^; |
  1024. ; http://php.net/sendmail-from8 s, y" b0 u$ A5 n
  1025. ;sendmail_from = me@example.com3 v: ~/ V" A0 W0 ~4 p: \  O2 o
  1026. ' Q3 p* e/ y' Q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 Y8 L. a7 _! M' K6 S8 Y
  1028. ; http://php.net/sendmail-path
    5 F# R6 B* l" B! ]
  1029. sendmail_path = /usr/sbin/sendmail -t -i4 ?2 c3 \2 R7 b( ~
  1030. 5 ^4 z  B2 M/ Z5 X0 U. X
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    + Y+ {: q3 P1 b/ K6 R
  1032. ; to the sendmail binary. These parameters will always replace the value of
    4 P! M2 C' r. l, a- x9 P1 E
  1033. ; the 5th parameter to mail().
    7 G& f1 ^8 g9 C; R- w
  1034. ;mail.force_extra_parameters =' h0 ^, P7 i/ g

  1035. ! L  _) k* D6 U2 H8 y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    & c. n% e; Q* |
  1037. mail.add_x_header = On; O7 i5 k. [8 y3 u* E3 H2 _
  1038. , S- X8 q# O, d$ E2 V5 F
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ) u4 u7 T3 ]( t9 T3 ?6 k
  1040. ; the full path of the script, line number, To address and headers.
    $ y9 @3 V; |4 `2 O' t0 F
  1041. ;mail.log =
    + U) H5 s1 G  X' U( g
  1042. ; Log mail to syslog (Event Log on Windows).( B* s* ^# F) L! `; i3 o. l8 i! S& p/ |
  1043. ;mail.log = syslog
    5 \, D/ z6 I4 D9 @2 Q4 @
  1044. 0 g; {4 h1 K1 }8 d( J
  1045. [SQL]( @! L; b) p# z) Z. i7 X
  1046. ; http://php.net/sql.safe-mode
    1 c0 {* [8 m1 ~- y
  1047. sql.safe_mode = Off: L, g! q, ~# f
  1048. : ?6 u8 |+ Y& V
  1049. [ODBC]
    $ W4 G; l: r; @* @3 O* e0 J& O# i
  1050. ; http://php.net/odbc.default-db/ u+ |8 k' s. V  f9 q2 {" I/ Z; `+ o
  1051. ;odbc.default_db    =  Not yet implemented. M2 F9 M% _, O

  1052.   I8 F/ V& D; `. x
  1053. ; http://php.net/odbc.default-user% a: [- s+ I9 D; d8 T
  1054. ;odbc.default_user  =  Not yet implemented
    + \) J! [1 m9 }9 R3 v  A
  1055. ; Z& c8 U) K# j/ i7 h5 O
  1056. ; http://php.net/odbc.default-pw
    6 X: v. G+ P0 X
  1057. ;odbc.default_pw    =  Not yet implemented
    ! {2 n' E" F: x: \) |) P, n
  1058. 7 [9 N+ p7 i$ d9 W2 E. {7 _5 l0 |
  1059. ; Controls the ODBC cursor model.
    " ]0 \/ f( j$ o/ s/ ]3 Y; b$ K
  1060. ; Default: SQL_CURSOR_STATIC (default).
    6 }' C2 O9 ^% s
  1061. ;odbc.default_cursortype* o+ h5 ^) q1 y. E3 d: I2 q) }

  1062. 4 W( y4 |; s" s. J
  1063. ; Allow or prevent persistent links.& {8 I. M- H8 ]% [$ k
  1064. ; http://php.net/odbc.allow-persistent
      H1 J/ `- A4 e& ?/ H
  1065. odbc.allow_persistent = On
    ; S2 y4 W; s3 P; t8 n
  1066. , {4 F0 K# k6 l0 u; H& \2 m. c
  1067. ; Check that a connection is still valid before reuse.
    % P1 \/ }9 v1 {: `. y/ e
  1068. ; http://php.net/odbc.check-persistent& @4 x# v$ ^, k" p( Y5 z+ v
  1069. odbc.check_persistent = On$ p* n8 e0 k9 O, H7 W& l/ ^. p

  1070. & \3 N; N& y+ [( N# I
  1071. ; Maximum number of persistent links.  -1 means no limit.2 u# B6 {" q7 q/ }% B9 K
  1072. ; http://php.net/odbc.max-persistent
    / d, b/ t' J: K1 Q, q1 [
  1073. odbc.max_persistent = -14 k4 H: k! z0 j( p% }
  1074. # _" A) B  U" J6 \& ^
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." l0 K. F* }& V
  1076. ; http://php.net/odbc.max-links
    4 A1 l2 Y' W( z3 O& b. A
  1077. odbc.max_links = -1( \" v7 `, e/ O6 ^5 I7 r4 L9 {/ s

  1078. 8 n* f, {  ?2 \2 g: j1 q  P
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 L* S& N- k$ P& q3 M+ |5 z3 K" @+ I
  1080. ; passthru.
    ( L  V, W; x; o. V3 E0 f: Y
  1081. ; http://php.net/odbc.defaultlrl' ^6 W* N0 S, o! ^+ \2 N
  1082. odbc.defaultlrl = 4096' E! i0 _; \# |9 P" ^
  1083. ; k1 t$ e. f7 }6 L$ K  H' K
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    8 j5 c1 F5 ]% k
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 f' H& _* J2 x& O
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 p  \% T9 w+ U( {& \# b
  1087. ; http://php.net/odbc.defaultbinmode
    0 ]7 Z8 G. B+ w4 M
  1088. odbc.defaultbinmode = 1% T. P( v# b) {# G5 E& \
  1089. 3 @- I; k7 e: \  |
  1090. ;birdstep.max_links = -16 J: B' N- x' O' M9 o' h- u0 t1 h; h

  1091. 1 }  H4 f; I# q; G* S! J" T3 J
  1092. [Interbase]7 v/ f& K: c  a! U
  1093. ; Allow or prevent persistent links.
    + D; _8 y6 n% r
  1094. ibase.allow_persistent = 13 }* d5 X: R- {: u  M# x( {8 W
  1095. $ S% [$ l) Q3 `5 y4 h  R: |
  1096. ; Maximum number of persistent links.  -1 means no limit.7 H) m; [7 D# y& O2 u$ g* i
  1097. ibase.max_persistent = -1* i2 Q9 o, r- Y: b; t( B1 t
  1098. , z9 E& y+ D, F6 D& m: y( |. v
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * q: x* g. h$ h, Z6 M
  1100. ibase.max_links = -1
    % c" J2 l/ w9 ?( E" @6 E/ U
  1101. " f1 G% z/ [; W! Z1 N0 Q+ Z
  1102. ; Default database name for ibase_connect().7 F$ Y! x2 C/ I$ p1 p5 T+ t/ \
  1103. ;ibase.default_db =' r, U3 y% K7 p7 l3 D2 z

  1104. 0 }& J! O" f& ]- T4 d+ P7 M2 ]" L
  1105. ; Default username for ibase_connect().
    - C( v4 x' c5 W. @* q
  1106. ;ibase.default_user =
    ' c% N1 Q, h) k
  1107. # K5 Z" i5 `( E
  1108. ; Default password for ibase_connect()./ \) o! h) j0 S6 i# Y4 e5 c. s0 \
  1109. ;ibase.default_password =1 D: L/ v. B) h# K) f7 i% M

  1110. : c& a8 z( Y# m9 E8 u7 Y( B
  1111. ; Default charset for ibase_connect().  Z0 d' c( v* q$ V. g
  1112. ;ibase.default_charset =1 R2 S8 {6 X( V
  1113. 1 S  z# U# B3 `3 N; |5 N
  1114. ; Default timestamp format.
    3 D7 c# _+ B1 d# h7 F# M6 e
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ O% m  f1 E8 k. v
  1116. ; I6 q7 H" g& X; S8 M7 R
  1117. ; Default date format.8 ~: m) G& y# U+ \5 e+ W8 z
  1118. ibase.dateformat = "%Y-%m-%d"
    ! _8 `$ e' v% w6 z, r& L0 s( J1 u4 ]
  1119. 6 E" H& L" G$ n! B
  1120. ; Default time format.8 d4 h4 K' |/ D$ B" d5 l" N5 b  L8 Q
  1121. ibase.timeformat = "%H:%M:%S"
    ; E9 }% c% E! Z0 Z# k
  1122. 4 f$ a( X' n% N( s2 Z7 q7 X1 F! R2 `
  1123. [MySQLi]" P6 G; g. b6 k

  1124. 5 t/ k8 @/ A8 c+ O+ b
  1125. ; Maximum number of persistent links.  -1 means no limit., O- I$ b8 s. \- e9 z
  1126. ; http://php.net/mysqli.max-persistent  ~: U8 f  A. v# }" {0 R
  1127. mysqli.max_persistent = -1
    9 j& B  d: q2 k9 K( l; a% D+ Z

  1128. ; y& {5 D0 d: W: y% I, ?+ W
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / H6 D/ H9 X: B- B+ }/ X% Y
  1130. ; http://php.net/mysqli.allow_local_infile6 H5 r6 g9 @& q' a- Q. a
  1131. ;mysqli.allow_local_infile = On/ \6 ?; q" E( a2 ]$ _# J
  1132. 9 S; w- n6 c  Z# y/ z1 Z" A  w
  1133. ; Allow or prevent persistent links.9 e8 ~0 p* A! N; |, R4 Q( u7 L+ g
  1134. ; http://php.net/mysqli.allow-persistent
    / h3 K. H- Y3 r. T  g. V$ Q' w
  1135. mysqli.allow_persistent = On  x+ |  X! s; H; @+ Y7 ~& H! H7 U

  1136. 4 `& u) ^2 d7 J4 V: L0 a
  1137. ; Maximum number of links.  -1 means no limit.
    5 \0 h) |; n0 p9 d" B, [  U
  1138. ; http://php.net/mysqli.max-links
    2 H2 p! P* m- o$ }5 j
  1139. mysqli.max_links = -1
    , A+ e' I. z  f

  1140. / c" [7 ?6 ^9 k5 J7 {
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 ^' @' F  M7 t: A  G" `8 m
  1142. ; http://php.net/mysqli.cache_size! O  E! T* V+ T: s3 h3 T. L
  1143. mysqli.cache_size = 2000- l( y& C/ E8 k" _. s* n2 L
  1144. ; J' H+ _3 p3 B" r& B
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    2 J+ ^1 |% B  |* O; W8 J
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  j$ G' \7 Q9 A3 m
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & W0 Q0 A, @: B& A6 Q% O. k
  1148. ; at MYSQL_PORT.
    7 l& r/ U2 L3 Y  g9 f
  1149. ; http://php.net/mysqli.default-port
    ( c( q$ `& z( p3 g9 \. z
  1150. mysqli.default_port = 3306
    & G8 `8 w3 h  k' t: [: j

  1151. ' Y8 s# B  t) G; O2 Z
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ f% ^, q4 M5 W( U8 Y% S* ?! t: _
  1153. ; MySQL defaults.+ J9 u- `' G/ V0 k) n* V) |
  1154. ; http://php.net/mysqli.default-socket5 @* P+ K, K+ M5 ~4 ]+ a" A
  1155. mysqli.default_socket =3 \  p( r) f: p( w

  1156. ' a1 H) m1 V# p% Q+ _0 Q; o
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).  F( O/ I4 Y0 R6 A( o- V' F+ ?
  1158. ; http://php.net/mysqli.default-host' s& i, @" @8 E( y& q
  1159. mysqli.default_host =( E, B/ I; A$ k4 b* T' O- m

  1160. 1 O4 [4 d" \! b
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 p. o* a: ^3 x. F/ r" B/ c
  1162. ; http://php.net/mysqli.default-user' [% g+ c+ |" n- J
  1163. mysqli.default_user =
    6 M% X5 O% C* A, m0 S
  1164. 5 M) a" \$ A0 \8 v) o- E. v
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. I, j/ T. c# x& ?! r
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.: i$ l& v, Y: t" A7 n4 ?6 W
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    9 `- P! P4 l' |/ i& R6 Y) w0 Y
  1168. ; and reveal this password!  And of course, any users with read access to this
    ( @# I  m  z8 u6 z
  1169. ; file will be able to reveal the password as well.+ S6 l' w! A5 U: N
  1170. ; http://php.net/mysqli.default-pw3 a; R* V& {" U- d/ L6 \$ ^2 x
  1171. mysqli.default_pw =
    " S- s/ y5 a0 w- ^

  1172. / L$ E  f( E% I2 l
  1173. ; Allow or prevent reconnect
    & L6 l  ?9 O/ S; _1 Y
  1174. mysqli.reconnect = Off
    ; V7 Y0 G6 a) p5 P4 i4 i0 E
  1175. 4 T) j. f8 G, e/ m6 P
  1176. [mysqlnd]
    5 ~8 E& q8 l) C2 h; n* Z  |% B
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be4 S8 S  }0 `. ~# U' I
  1178. ; used to tune and monitor MySQL operations.
    8 u3 I2 g6 O! _8 G6 }
  1179. ; http://php.net/mysqlnd.collect_statistics; o- N8 Z$ ]3 L' l: S1 ]
  1180. mysqlnd.collect_statistics = On
    # V# \$ C9 i+ H! ?. F
  1181. 7 y$ W; L( \) j& q7 p* ^
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be  e$ e0 ]; z5 `1 z* Z. a
  1183. ; used to tune and monitor MySQL operations.
    ( y4 `3 \4 D3 H& l! Y: W
  1184. ; http://php.net/mysqlnd.collect_memory_statistics9 E! L8 N; M4 @7 G
  1185. mysqlnd.collect_memory_statistics = Off( \) W1 N. v' K7 S/ ]- `9 b, F1 o) G6 o& b

  1186. , M6 V3 S/ S4 L0 g+ E/ A
  1187. ; Records communication from all extensions using mysqlnd to the specified log) v0 C5 q2 t7 o8 P8 e
  1188. ; file.* z' y3 k3 Y* R+ e8 P$ k
  1189. ; http://php.net/mysqlnd.debug
      E) }) U3 m9 q# c. B( `( E
  1190. ;mysqlnd.debug =
    . U/ N, ~+ }/ f( v( }
  1191. 7 r4 w: \8 f; X6 |- P
  1192. ; Defines which queries will be logged.
    6 f- {, t) D" |4 u1 ?# a" |
  1193. ; http://php.net/mysqlnd.log_mask
    ( _) q; L2 d9 y' f2 B, D4 q5 ^
  1194. ;mysqlnd.log_mask = 0
      R9 M4 ^, ?; `: ~
  1195. 8 `) x; a2 U- Q/ h4 Q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.9 a* Y9 C* }8 d% A9 }( B
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ; T4 \( A7 E9 ^9 N) A! b* F
  1198. ;mysqlnd.mempool_default_size = 16000
    8 x3 n- V7 p+ r  a0 f
  1199. ! |6 M& n" K- ^, I
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.' |& i& B: V9 Z4 I# m' t( w
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size( H% l; f* h  p4 Q5 J' ?
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    0 a# S' }( Y: x

  1203. " c7 u9 l3 w% ]/ e: K
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    4 V8 O7 p: H( h
  1205. ; bytes.
    ( Z2 f2 e% |& N5 L/ W
  1206. ; http://php.net/mysqlnd.net_read_buffer_size. C$ o+ x% w) X  O0 n( Z& g
  1207. ;mysqlnd.net_read_buffer_size = 327685 y) ^' [* A, z/ S/ a
  1208. / O7 L8 M# v+ N1 T8 N4 o4 X& ?
  1209. ; Timeout for network requests in seconds.
    $ ~/ z. I' n, R9 `: n
  1210. ; http://php.net/mysqlnd.net_read_timeout
    5 I: Y0 K- x$ |5 O  f
  1211. ;mysqlnd.net_read_timeout = 31536000
    $ w6 g" m* d$ O% [/ N9 ?
  1212. ! F3 U) o0 ^0 P# \+ w
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA2 g5 n; D9 ^7 x7 d7 z' _
  1214. ; key.6 M3 p2 L; \# H+ v+ y3 c
  1215. ; http://php.net/mysqlnd.sha256_server_public_key* P! S- c8 ]5 e, u
  1216. ;mysqlnd.sha256_server_public_key =; c7 _3 T8 M. D; s% v; K+ }
  1217. 7 C) z( }. P$ `' q+ g0 e% \
  1218. [OCI8]( I  W" p+ f8 k" X, b3 v
  1219. 1 W- ~+ K: D- i& ]" V
  1220. ; Connection: Enables privileged connections using external
    ; f9 L1 |; n" J( Y$ w' t
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    + A0 \" v; |. h2 L0 b
  1222. ; http://php.net/oci8.privileged-connect
    & A) h& l$ D" t. l, x$ x
  1223. ;oci8.privileged_connect = Off9 v+ j% n2 a  L0 Y$ F

  1224. 1 q1 u0 k4 J+ m& p* q! V0 @7 B
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    8 @/ v( Y+ \% M: x6 ?" U
  1226. ; process. Using -1 means no limit.! b9 c$ X  f4 X& q. h+ u, a
  1227. ; http://php.net/oci8.max-persistent/ G0 V+ Z7 L+ }. s3 ^9 L
  1228. ;oci8.max_persistent = -1* r  |7 B% P4 s0 t* P% M; t/ |

  1229. $ x! C2 I! n) H# O! n# f
  1230. ; Connection: The maximum number of seconds a process is allowed to2 I3 J. s& q; l5 @
  1231. ; maintain an idle persistent connection. Using -1 means idle
    + c% g* U3 L; g( d( B1 w) i6 u
  1232. ; persistent connections will be maintained forever.
    3 N: {0 r; H% M& m
  1233. ; http://php.net/oci8.persistent-timeout. c* B0 @! y7 }" }
  1234. ;oci8.persistent_timeout = -11 P* K- h7 E8 V/ x4 k
  1235. 6 X2 a4 p) [% u3 \
  1236. ; Connection: The number of seconds that must pass before issuing a
    ) u$ D9 k7 X) ^
  1237. ; ping during oci_pconnect() to check the connection validity. When+ p) u* E/ A4 u2 ~4 b8 h7 _
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, v0 l- U# S( G6 T" `9 N
  1239. ; pings completely.. ]1 F6 k1 Z8 l, f2 ~9 O4 e' n
  1240. ; http://php.net/oci8.ping-interval
    ) f; S! j( ~, K( g  q  [6 R
  1241. ;oci8.ping_interval = 602 r9 ~/ v: J; e
  1242. . q0 {  f2 S& X+ u2 ~
  1243. ; Connection: Set this to a user chosen connection class to be used. a; o5 q/ b7 C; |+ c5 l  t
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    " ]/ i) I* _) A  a5 T9 d
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to* d+ d) w! ^1 W4 Q  c9 z5 r3 L( h# p9 ?4 F
  1246. ; the same string for all web servers running the same application,$ Z. w$ t7 _( [3 ~
  1247. ; the database pool must be configured, and the connection string must4 n- `6 }; A  Q! x4 [8 N- J
  1248. ; specify to use a pooled server.# V  G0 W- a4 G, E
  1249. ;oci8.connection_class =
    4 U7 H0 q% W/ h5 o+ V
  1250. 0 V- J! E8 P& v8 Z. b
  1251. ; High Availability: Using On lets PHP receive Fast Application, f2 X3 C) p$ p! `3 z& @2 M1 s
  1252. ; Notification (FAN) events generated when a database node fails. The  J# L4 G- x. `2 S# Q
  1253. ; database must also be configured to post FAN events.* W: D! O1 R/ F* O( X# A) [% T% |
  1254. ;oci8.events = Off6 Q$ g) G8 o& K/ j& A
  1255. 8 Z4 B# x) M+ ?; C) t8 {
  1256. ; Tuning: This option enables statement caching, and specifies how
    % a- D2 V7 ^" ?7 L" l) @& |6 d
  1257. ; many statements to cache. Using 0 disables statement caching.2 b' D0 g" @; A3 U
  1258. ; http://php.net/oci8.statement-cache-size3 Z+ F1 j: r5 W5 I1 _. B
  1259. ;oci8.statement_cache_size = 20
    * L6 Y1 @1 q: |# f7 K) g

  1260. 9 B8 `" J- b7 b* \+ @: U. ?
  1261. ; Tuning: Enables statement prefetching and sets the default number of- v" m$ T& g! h- I
  1262. ; rows that will be fetched automatically after statement execution.
    - R" z* M0 j% h! @; n. C0 ?
  1263. ; http://php.net/oci8.default-prefetch% Y5 ]0 Y! c! U' ?0 G- z
  1264. ;oci8.default_prefetch = 100
    5 L  N5 C% K2 U
  1265. ; |' I* a% z. P6 z) k
  1266. ; Compatibility. Using On means oci_close() will not close
    9 m+ \' c8 S; O+ o! Y: `
  1267. ; oci_connect() and oci_new_connect() connections.& V8 M6 u5 E! e5 B5 h' k
  1268. ; http://php.net/oci8.old-oci-close-semantics& e; d) F, h. ^, W7 ^9 r
  1269. ;oci8.old_oci_close_semantics = Off% K2 e  W% F# L7 M1 b
  1270. 4 _& k' h3 {% f9 [- c5 i, m
  1271. [PostgreSQL]; N2 ?  m9 [- v. l
  1272. ; Allow or prevent persistent links.1 D' n- l2 c6 E$ L$ D
  1273. ; http://php.net/pgsql.allow-persistent! Z8 ]* l. V# B+ V  I* A; n! r
  1274. pgsql.allow_persistent = On
    ! b2 `% e$ u# h4 H3 }2 A

  1275. - }; s  r9 c8 _. P
  1276. ; Detect broken persistent links always with pg_pconnect().
    , T* i" T5 E+ [  ]
  1277. ; Auto reset feature requires a little overheads.- b; P! N+ E* ~. ]! D1 F
  1278. ; http://php.net/pgsql.auto-reset-persistent- F. {$ x( b9 H9 {( @
  1279. pgsql.auto_reset_persistent = Off: _) k& j! r% ]$ E; \, L6 j
  1280. ( s8 x( _( H5 M: K# v4 n/ N
  1281. ; Maximum number of persistent links.  -1 means no limit.
    9 n9 E, J. H/ q0 z& O4 U
  1282. ; http://php.net/pgsql.max-persistent# T( Z, V1 g6 \) M6 e3 ]( R
  1283. pgsql.max_persistent = -1$ T" q; _6 C' l9 N5 L

  1284. 1 o3 e3 y) d4 d/ V- X
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ ~! x+ Z# J8 T
  1286. ; http://php.net/pgsql.max-links
    7 ~! r! o, L4 W* y2 }- g
  1287. pgsql.max_links = -1
    7 n) {7 r6 g# H0 j$ S) m
  1288. 3 d2 y* T4 u9 ?3 C, I
  1289. ; Ignore PostgreSQL backends Notice message or not.* l% i$ P4 Q: ~* _. n% t: Y
  1290. ; Notice message logging require a little overheads.1 g" e  ]7 X& V
  1291. ; http://php.net/pgsql.ignore-notice" g, ]( [$ H  O9 T2 D
  1292. pgsql.ignore_notice = 0
    ( c$ i% ]) a. q- y  G9 y5 S5 c

  1293. 4 a6 Q- @) b7 f5 b3 A* }1 z
  1294. ; Log PostgreSQL backends Notice message or not.! F2 c2 i& b& r3 P
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    9 S1 q# y4 r+ V: U+ S
  1296. ; http://php.net/pgsql.log-notice
    ) h# E) _! x  l$ l) c
  1297. pgsql.log_notice = 0& Q. W' b. i) |+ w: s
  1298.   x' b: g- v4 v& U, @0 W- v
  1299. [bcmath]
    9 q. W; ^' a! U1 I
  1300. ; Number of decimal digits for all bcmath functions.' E! L" z( `- l8 E6 Q6 T3 J
  1301. ; http://php.net/bcmath.scale
    - z6 F+ f6 r' s6 v& W+ ^9 h
  1302. bcmath.scale = 0% s1 o7 [5 }8 Q0 X7 r8 [6 V6 H
  1303. + G% o0 m$ a+ m+ P
  1304. [browscap]
    7 x+ e, J2 x4 M% ?9 Z
  1305. ; http://php.net/browscap
    * v' H" R0 \7 {" n6 ^7 p/ u
  1306. ;browscap = extra/browscap.ini
    + g3 d3 r& j8 o. D3 \
  1307. ' X9 k% m0 u& f3 C. V' b
  1308. [Session]
    * i" P- p/ H' t# d5 u
  1309. ; Handler used to store/retrieve data.
    : |7 z4 o  O, i
  1310. ; http://php.net/session.save-handler2 O9 v& s! V/ Z1 V; i
  1311. session.save_handler = files
    : Q  q9 P7 \9 w; i: [) y

  1312. 5 f& N2 I) \& F
  1313. ; Argument passed to save_handler.  In the case of files, this is the path1 n+ O  A' _, c2 W3 ?3 E
  1314. ; where data files are stored. Note: Windows users have to change this
    + l0 m4 P9 C4 q( \! V0 [: ?, ]! J
  1315. ; variable in order to use PHP's session functions.
    9 ^0 B" a1 q0 y8 O& E
  1316. ;4 {) R& O9 j2 ~0 s8 u& [+ t
  1317. ; The path can be defined as:
    , F; n% _5 Q2 e3 O9 K
  1318. ;" p6 _8 x/ m2 ^
  1319. ;     session.save_path = "N;/path"' f5 U+ x6 F* a3 f
  1320. ;
    4 T, y$ e) M- G. S( K6 m! u" @. H% r
  1321. ; where N is an integer.  Instead of storing all the session files in0 _& x2 k! O) ]  c. [- y2 [
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    6 _: J' ?3 A6 T0 ]+ s
  1323. ; store the session data in those directories.  This is useful if
    # J9 ]2 V- t: q' Y8 ^. ^
  1324. ; your OS has problems with many files in one directory, and is
    : m1 s; q) f" G* q. T; \. e' _6 X7 A
  1325. ; a more efficient layout for servers that handle many sessions.
    2 N+ e0 ?2 K$ g- n4 v
  1326. ;
    7 o, U( A; ^5 H- W8 ~: |/ q
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    * T& b6 @+ n; c0 m* M& z
  1328. ;         You can use the script in the ext/session dir for that purpose.& u9 s% `* B6 s2 a
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    , O7 r* j' c( V/ o' e
  1330. ;         use subdirectories for session storage0 p# y. y. y4 d8 c
  1331. ;
    : H& m( F& A4 Y) z  ?: w+ s
  1332. ; The file storage module creates files using mode 600 by default.
    1 x; _7 @- J! U) z; s7 v
  1333. ; You can change that by using8 |9 t, q! X8 D0 N
  1334. ;; a7 o5 c$ D# a; h. {8 ^
  1335. ;     session.save_path = "N;MODE;/path"4 M8 s$ p0 L3 I' C; X- M4 m( I( r! P6 F# ~
  1336. ;
    6 f) ?' t7 N; d: w! {8 \7 g
  1337. ; where MODE is the octal representation of the mode. Note that this  f2 F7 L8 G2 y; x, g) J9 q
  1338. ; does not overwrite the process's umask.6 O$ E, F. b7 u5 A
  1339. ; http://php.net/session.save-path
    & ]. N4 e4 z! u
  1340. ;session.save_path = "/tmp"* V! v/ g4 j4 a9 i3 E
  1341. ; t( n# m# b2 z  f' e
  1342. ; Whether to use strict session mode.
    8 {* h: B% i# }6 m8 X# d
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 b7 n7 X' n8 ^' X2 O
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    + f- H% ~$ d- M5 a
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ' j; b' u! S* t" e
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.3 C. O: E+ ?$ I8 D9 w
  1347. ; https://wiki.php.net/rfc/strict_sessions
      g7 [1 k9 F# x! o" C; s3 q7 {
  1348. session.use_strict_mode = 0% q5 I/ m8 r2 t  i+ M- N

  1349. 6 F" r9 M  n# R  B
  1350. ; Whether to use cookies.$ j" a7 C7 ]: Q+ {3 b# s! b- H2 [5 R9 `
  1351. ; http://php.net/session.use-cookies
    / J9 F& r) J0 v+ I; w! F# m$ R
  1352. session.use_cookies = 1
    " D; `, `1 M/ V; H3 A* g8 Q

  1353. ) ~( X: b" K2 ^
  1354. ; http://php.net/session.cookie-secure
    3 S( ~* `3 M- ]
  1355. ;session.cookie_secure =
    4 i- w9 q2 D& X$ Q6 a
  1356. $ a" O+ q4 _1 L' S
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    + Z# O1 j: E+ g: u+ ~3 n
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    - t8 `7 K$ D  ^9 K1 ^+ O/ V6 B
  1359. ; session hijacking when not specifying and managing your own session id. It is3 _7 t: n5 {& \3 k
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.: }& R* j8 W) ~  o3 ]
  1361. ; http://php.net/session.use-only-cookies+ U- r% v( I8 T9 R& R7 j
  1362. session.use_only_cookies = 1
    ! R6 U4 F) {, f

  1363. 4 n; b; ?) r" P+ F. v* ]
  1364. ; Name of the session (used as cookie name)., W0 x3 ~' k, _* n
  1365. ; http://php.net/session.name
    - {( W) ?- P. O3 h" A
  1366. session.name = PHPSESSID
    " [! q$ r& ]; |  k. _  ]0 i3 _: W9 F

  1367. 1 f/ s, a1 Y9 p0 A. P% |: Y) T8 o7 Q% y
  1368. ; Initialize session on request startup.5 P9 f* F, {. p0 I  O: o
  1369. ; http://php.net/session.auto-start
    0 s2 F; V2 G& m+ l6 k$ Z
  1370. session.auto_start = 0
    $ s  b# W" {; _+ H& U3 X

  1371. " n! E$ y3 t  o. y& q
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    " ~" |/ }# y1 }' Y% r, h2 S
  1373. ; http://php.net/session.cookie-lifetime
    9 ]. j9 m4 u" D1 U( f' M" Z
  1374. session.cookie_lifetime = 0; Z; O% `7 w+ z

  1375. 4 y: ?# t% l0 @9 v" |9 @6 D
  1376. ; The path for which the cookie is valid.* d8 l' [! l7 p' N% {: D
  1377. ; http://php.net/session.cookie-path" {# `7 S! ]8 B1 ]) H
  1378. session.cookie_path = /
    ( q) Y# K+ l0 W6 C

  1379. + P/ l  Y5 a, d( b% k! a' Z+ _
  1380. ; The domain for which the cookie is valid.
    $ u8 ~5 o  b7 q9 h
  1381. ; http://php.net/session.cookie-domain
    9 Z- B2 @5 K5 R6 y( K
  1382. session.cookie_domain =6 B. A* v3 B* d1 a+ P
  1383. $ E+ e2 C0 j- m* S" a
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    + U4 K0 C8 B5 s( }& [
  1385. ; http://php.net/session.cookie-httponly
    % p) F5 s9 o6 f- f' g/ g
  1386. session.cookie_httponly =6 K& P% @( ]9 z0 p$ n) E

  1387. , l( N9 H6 u  {8 \* x" U
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.# f+ c3 |9 ]# {& C5 C6 V
  1389. ; http://php.net/session.serialize-handler  B# U8 G7 K) O) T6 e, I
  1390. session.serialize_handler = php
    5 l" M8 {  P3 ^, i9 l8 U1 d

  1391. ; i0 m8 |2 K# J  C5 j
  1392. ; Defines the probability that the 'garbage collection' process is started
    & o  L8 n2 |) [9 G
  1393. ; on every session initialization. The probability is calculated by using% t2 M8 P# \  O
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator' P% H# x* V" F' L5 q
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    , d: M8 o, k8 F* L. K& ^, `; Y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) [4 C: N$ }7 g( ^
  1397. ; the gc will run on any give request.1 n* K' l1 P! F
  1398. ; Default Value: 1* u, b, f! N* }# Z8 b2 ^! V/ e
  1399. ; Development Value: 10 j. @. z$ X# E( G& F! _2 Q# I; J
  1400. ; Production Value: 1
    6 e  j6 K+ w0 V: f/ r
  1401. ; http://php.net/session.gc-probability
    9 A( a& R" I  y
  1402. session.gc_probability = 12 P# I% I: |, u" \4 f# d0 Z
  1403. $ v/ q4 Q9 ]) \5 {" z/ N1 E
  1404. ; Defines the probability that the 'garbage collection' process is started on every1 L; Z+ d: \0 T. \9 \) b/ u; m
  1405. ; session initialization. The probability is calculated by using the following equation:
    9 a7 p* @4 E- ~% u3 L
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - M. @! ]; K7 s/ C9 h
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    3 x5 f- }$ k/ O5 E
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( t% A, |  m2 D& u' a
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # r9 ~! N0 _$ c) f) [! z) h
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,$ a( c# O# A1 S- F0 `
  1411. ; this is a more efficient approach.! x' \  r, T$ `4 J
  1412. ; Default Value: 100
    ' F! J* f, u/ P1 R
  1413. ; Development Value: 1000
    # w/ p( m' E6 \
  1414. ; Production Value: 1000
    " m; E; `0 h3 O0 W, R2 a
  1415. ; http://php.net/session.gc-divisor" z5 x- g0 Q7 E# x% `- K* F% a
  1416. session.gc_divisor = 1000
    & l  N0 i: @* N+ q) q' M: F& z

  1417. + E) R  o! j& I( \" r
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ( o# d- u% D7 _" n5 {4 }
  1419. ; cleaned up by the garbage collection process.7 O. a' z2 ~5 p3 R- D* t3 H
  1420. ; http://php.net/session.gc-maxlifetime, G/ U( n) L: @7 |
  1421. session.gc_maxlifetime = 1440
    ! t3 ~# s8 _9 r0 y$ a

  1422. 6 X2 D& u6 u7 h6 [. @
  1423. ; NOTE: If you are using the subdirectory option for storing session files, t, Q6 l, G+ b, I$ H6 v, p
  1424. ;       (see session.save_path above), then garbage collection does *not*
    4 Y5 O& a5 }2 |: N4 n
  1425. ;       happen automatically.  You will need to do your own garbage9 Z: }8 I) v  O  ?7 E/ A; ~8 V/ Y
  1426. ;       collection through a shell script, cron entry, or some other method.. ?( y8 A- q3 q+ s( X
  1427. ;       For example, the following script would is the equivalent of
    5 Q. ]" B& R0 ^( S
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):0 H. g5 {' A4 o& T7 F& {
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / p5 s" a. S/ \
  1430. + Q0 [( M2 S7 D8 y; }
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; g- Z: Z, t( h2 x! [8 v
  1432. ; HTTP_REFERER has to contain this substring for the session to be5 f$ N& A( P* E+ [- [' R5 p
  1433. ; considered as valid.
      \- f$ x# s1 k0 L2 l3 F' _
  1434. ; http://php.net/session.referer-check% y  w4 k+ ^; F1 e2 D
  1435. session.referer_check =
    2 h% [5 u( R: d+ b( B4 o# j
  1436.   A6 L* Q" n% v
  1437. ; How many bytes to read from the file.# C# K8 r: g  F0 `& Y; x6 W# i. p
  1438. ; http://php.net/session.entropy-length
    0 |; p1 p6 E( c( }
  1439. ;session.entropy_length = 32/ u7 f. r& w# s4 T5 p: C% Q

  1440. 9 r+ D' u& \5 Z  ^. n3 _
  1441. ; Specified here to create the session id.
    + w8 K/ R) x- `3 |4 ?) j
  1442. ; http://php.net/session.entropy-file
    # F0 L! f2 F! M7 u: ?
  1443. ; Defaults to /dev/urandom- _$ ]% Z* R+ P& U- T7 D
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 q# l8 D% f& ]- ?! A3 g8 {! p$ e
  1445. ; If neither are found at compile time, the default is no entropy file.( o3 Z$ T. V. y. ?
  1446. ; On windows, setting the entropy_length setting will activate the
    , Q" u4 P( y5 C
  1447. ; Windows random source (using the CryptoAPI)$ J( z( v; Y6 W. F8 A5 l9 [3 k
  1448. ;session.entropy_file = /dev/urandom" S! e* R7 _3 [" L

  1449. * A+ L, m2 @. u
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects; Z' Y) g' q- F* |
  1451. ; or leave this empty to avoid sending anti-caching headers.. [- S9 e% b4 ]4 P; }, C0 m2 S* m1 Q
  1452. ; http://php.net/session.cache-limiter
    $ m% B/ W. l" C. C4 Y  O5 c
  1453. session.cache_limiter = nocache+ A" n" x; i; B+ ?% [7 d

  1454. 1 a7 y, H+ Q1 T
  1455. ; Document expires after n minutes.
    7 |* |) _' s8 Q" J, r$ H' m% \
  1456. ; http://php.net/session.cache-expire
    ) [! k0 g* k1 A% T  T
  1457. session.cache_expire = 180
    , z0 h9 J6 V1 V$ @5 n: l5 Q4 e

  1458. ; V: Z. {% J5 r2 I/ G
  1459. ; trans sid support is disabled by default.
    : j# c2 g/ R; e1 P3 L, m
  1460. ; Use of trans sid may risk your users' security.
    * G4 ?5 @. I7 G: F
  1461. ; Use this option with caution.
    ' Y( a' ]4 F; o$ v( ]% e  B) G$ [8 W, S
  1462. ; - User may send URL contains active session ID" W. X9 ^+ F7 G7 C4 m
  1463. ;   to other person via. email/irc/etc.3 S2 {. \3 O1 S7 {# y
  1464. ; - URL that contains active session ID may be stored. h; L6 y/ i/ C' p5 P# g
  1465. ;   in publicly accessible computer.
    9 v5 x' d$ A4 e1 x
  1466. ; - User may access your site with the same session ID& j( K5 r* q2 x: W( r% |
  1467. ;   always using URL stored in browser's history or bookmarks.4 v  A/ K8 m3 N( k: o; h
  1468. ; http://php.net/session.use-trans-sid% i* \  e, X( i/ E: y  Q; _' K' J
  1469. session.use_trans_sid = 0
    6 D8 j7 R) R  @+ }& S- ^/ p' T1 B

  1470. 4 X" b9 Y* L6 }3 P6 Y
  1471. ; Select a hash function for use in generating session ids.  K* L& D7 G+ D- ^
  1472. ; Possible Values
    # E0 |9 i) `' Q+ R6 F! Y# \- g( T" G  F
  1473. ;   0  (MD5 128 bits)
    ; N( P1 K" q. E( f# ?/ u% g
  1474. ;   1  (SHA-1 160 bits)$ i2 M5 n9 w! F6 \4 s! w
  1475. ; This option may also be set to the name of any hash function supported by
    ! e) A* y; x2 M& @# {) V5 k
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()  k. Z( b& W; P) r
  1477. ; function./ N+ M* d5 K  z
  1478. ; http://php.net/session.hash-function1 m$ w9 ]7 T" `% O" M1 R' a
  1479. session.hash_function = 0
      N2 o! d! n* E0 E. T6 N
  1480. : O7 Q" }( W! z% {2 ?
  1481. ; Define how many bits are stored in each character when converting& q# B3 R% \) r& ]# c- ]( {
  1482. ; the binary hash data to something readable.
    " q8 }, S+ Z6 h2 w8 T
  1483. ; Possible values:6 p4 X. ^. U- e8 C" F. c8 P
  1484. ;   4  (4 bits: 0-9, a-f)" S! p( w7 G$ T
  1485. ;   5  (5 bits: 0-9, a-v)
    3 P: [; Z6 Q& u; E
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","), F1 J6 k  V% K+ p# l. ~7 {* |, G
  1487. ; Default Value: 4
    & H2 g1 z1 Y2 o! t. Y: B3 Z
  1488. ; Development Value: 5
    1 d8 o' ?2 Z9 L  r( h+ j
  1489. ; Production Value: 5, f$ p6 K: z3 I" J! \5 _
  1490. ; http://php.net/session.hash-bits-per-character* ]7 h% I' \, @7 k( K
  1491. session.hash_bits_per_character = 59 }: d: T8 K, Q, g1 @

  1492. 9 H( E0 i% z) E+ x5 X! k& r
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! J, S% Z# q/ Y
  1494. ; form/fieldset are special; if you include them here, the rewriter will9 F5 |/ @4 g+ C% P; t# q
  1495. ; add a hidden <input> field with the info which is otherwise appended
    # z: [" v0 ^$ K4 T5 |
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.* L; U4 D: _. F+ `. }2 \: H4 D* }
  1497. ; Note that all valid entries require a "=", even if no value follows.
    8 A/ O1 c7 k1 K  @( g  c& Y7 E
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="+ P' k& ^2 ~9 w# V3 M
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% e# {3 i7 f( g, W# b* Q
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) p' `' x* ~0 I! o4 ~
  1501. ; http://php.net/url-rewriter.tags
      J5 ]) a1 u0 z1 X
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"# J  B5 n* ?3 g  |  O5 a# J. v- n
  1503. " y# r' M- J6 z
  1504. ; Enable upload progress tracking in $_SESSION
    . e' \! C- @, u& y
  1505. ; Default Value: On# Q" E5 }1 J9 T: E
  1506. ; Development Value: On
    & ~+ T& C# L7 q8 _8 \
  1507. ; Production Value: On
    % F9 t$ i5 w" x# G4 Y8 ?" t
  1508. ; http://php.net/session.upload-progress.enabled+ X+ y' J( W( x1 t
  1509. ;session.upload_progress.enabled = On0 ^2 P) R0 O% z$ D. w, C$ `

  1510. , |: Y0 c  ]4 _9 x0 I% y. E, x# j
  1511. ; Cleanup the progress information as soon as all POST data has been read7 X8 ?" F% E( B# G" n# n/ b) J8 l
  1512. ; (i.e. upload completed).
    1 s5 G: w. F" c, ?1 m
  1513. ; Default Value: On
    + @* v3 e5 `, G/ w! E. _/ F
  1514. ; Development Value: On
    & V' z6 ~9 I& m/ l1 j
  1515. ; Production Value: On
    5 O5 ?1 ]- {: c1 t
  1516. ; http://php.net/session.upload-progress.cleanup, U: C0 K2 s' T- _1 a9 {
  1517. ;session.upload_progress.cleanup = On& {  E8 d: {9 j+ N. o6 Q
  1518. ; l+ g0 u. T0 p  u+ c
  1519. ; A prefix used for the upload progress key in $_SESSION8 G; O. o! y6 Y, D4 M1 s# \  i
  1520. ; Default Value: "upload_progress_"2 ^, c: \& h/ j4 p
  1521. ; Development Value: "upload_progress_"7 G6 h/ q- m0 q1 t6 I' A
  1522. ; Production Value: "upload_progress_"
    $ }8 S' f8 i: T5 z9 g2 a
  1523. ; http://php.net/session.upload-progress.prefix
    $ L# J6 l1 L  g+ |
  1524. ;session.upload_progress.prefix = "upload_progress_") f. z* w$ x! q$ E

  1525. 9 [* {0 L. a" P2 b" X# T# {7 ~
  1526. ; The index name (concatenated with the prefix) in $_SESSION) C" Z, x, Z( A; U# M% |6 m
  1527. ; containing the upload progress information+ u7 r) X* U* b
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . M0 |. n0 M" a0 _% u: {, }/ Z* x
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % Q+ D, I4 C7 T6 \0 ~
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # i4 b  {, S4 O: \. A. N8 Z, G4 y
  1531. ; http://php.net/session.upload-progress.name
    9 r4 m# K# B* R( T* N! G# {- ?4 O
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"8 W+ E+ W' K2 T# M, G

  1533. - G, S9 C+ r! |" R2 m- a* |
  1534. ; How frequently the upload progress should be updated.3 }6 V1 i7 Y: m; m7 o
  1535. ; Given either in percentages (per-file), or in bytes
    . f7 p' v4 ]4 m. K' X
  1536. ; Default Value: "1%"
    3 R8 X' U, C8 w1 [, h1 G
  1537. ; Development Value: "1%"6 _& l6 K: Y3 D7 y, a, |$ x
  1538. ; Production Value: "1%"! G, v" i  e7 P4 d% n: w2 D+ |
  1539. ; http://php.net/session.upload-progress.freq
    4 H! @" i3 d1 v' \
  1540. ;session.upload_progress.freq =  "1%"
    $ d! h7 y9 j7 Q$ Z* y
  1541. 6 n! O; ]( O- {6 ]6 V) u
  1542. ; The minimum delay between updates, in seconds0 V/ Z9 n: R# G: Y( F5 P+ R# K
  1543. ; Default Value: 1
    ( k. g2 X6 X/ l! x( p/ g/ Y
  1544. ; Development Value: 1; D3 X) P. Z% x) x% ~
  1545. ; Production Value: 1# I+ H0 E. y/ s6 b
  1546. ; http://php.net/session.upload-progress.min-freq
    ! P  V$ }) C6 p
  1547. ;session.upload_progress.min_freq = "1"- U  I3 _" L, p; {$ E  j

  1548. . n7 i; o' j) N- T* _
  1549. ; Only write session data when session data is changed. Enabled by default.3 R# {  j: e# L9 i1 o4 h# c+ J) d
  1550. ; http://php.net/session.lazy-write! A! J  X" B) M6 e1 G4 U
  1551. ;session.lazy_write = On
    2 @5 m; G0 c. }; x% s) ]3 l

  1552. $ H- Z/ Q- \& R: H+ R" i
  1553. [Assertion]1 h6 m$ p9 U! Q/ N$ H8 O
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time): Q; ]& h0 C" w3 u* D  v
  1555. ; -1: Do not compile at all& n  m" e. H6 S6 [' k
  1556. ;  0: Jump over assertion at run-time3 O/ Q2 x! |, m% W! S* [
  1557. ;  1: Execute assertions$ X  ]% b# g0 _0 Q7 y, t1 I
  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)! t, X' v4 u0 ?4 X9 ^
  1559. ; Default Value: 13 ?& M+ k# s( E7 E1 U- ]& z, V
  1560. ; Development Value: 16 P: M$ L5 L: K/ x
  1561. ; Production Value: -1
    / }. _4 a7 S# u+ g% u
  1562. ; http://php.net/zend.assertions
    % E- v, c: i" j9 G/ K
  1563. zend.assertions = -1" Q' A, H3 S9 c6 P" u. G/ \
  1564. . b0 o, N- L' \. c7 Q) F
  1565. ; Assert(expr); active by default.9 p/ C2 v+ h* e- D: G
  1566. ; http://php.net/assert.active
    - F- }" d) @6 H
  1567. ;assert.active = On
    6 G7 S$ i7 W% \5 ~" A5 \: t

  1568. 7 L+ Y; p6 D0 K" z
  1569. ; Throw an AssertationException on failed assertions! i% r' [, [/ _# @5 ?
  1570. ; http://php.net/assert.exception$ M3 Z/ S- }  ?& t& h
  1571. ;assert.exception = On; c5 q0 K+ k, m2 m. F- R- p( v
  1572. ; B' y9 h; Z' t8 \  [& f  j
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    , @: x0 r* b. A3 p
  1574. ; http://php.net/assert.warning
    $ u- C) s+ O& @  X# _: W5 G+ z
  1575. ;assert.warning = On
    7 j- x" y+ O& w% n+ ~  ?
  1576. 5 t& H: R9 H8 D3 h$ V  t4 o4 r
  1577. ; Don't bail out by default.
    . g( K; A8 P# E' \' Y6 `$ _" I
  1578. ; http://php.net/assert.bail
    ! X' y. K4 d$ ~, k2 x$ L
  1579. ;assert.bail = Off: f1 z% `* j& P7 a
  1580. 8 i# E* z3 w2 @: l2 \; z. ?
  1581. ; User-function to be called if an assertion fails.
    * v: l) U7 `& R* N
  1582. ; http://php.net/assert.callback8 h1 l# p1 v2 z7 v7 E; K9 W' w7 t
  1583. ;assert.callback = 0/ j; p' Y6 D3 y: M5 `6 O' V4 p" C
  1584. ' {6 w/ Z6 B7 Q+ D! B9 `* X
  1585. ; Eval the expression with current error_reporting().  Set to true if you want5 o5 z# Q* [( I; Q. [& M; ]* f
  1586. ; error_reporting(0) around the eval().
    7 T6 V! N. P% G  S) D1 b/ u% g, E
  1587. ; http://php.net/assert.quiet-eval* o1 G3 n4 x0 X
  1588. ;assert.quiet_eval = 0
    . C( c. D+ _' |  k1 a, Z3 ~( h0 q" N
  1589. 6 g. Y% K* g/ |, k
  1590. [COM]9 A% N* b% l9 x6 r
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
      O; U% u2 i& \& s' o* ?$ ]
  1592. ; http://php.net/com.typelib-file% m4 y% _0 k6 e  Z& A3 V
  1593. ;com.typelib_file =
    * [9 u# o3 r& N8 X4 R# u1 A) u9 E
  1594. # R2 b' p/ v9 t; h4 x
  1595. ; allow Distributed-COM calls) P4 r8 N# X; s# F0 ]
  1596. ; http://php.net/com.allow-dcom
    & v# D  j# ?1 l6 Z( U* Z
  1597. ;com.allow_dcom = true
    $ g/ m. q, N3 @" V( T

  1598. % K: T4 O7 Y/ P  V! q. o, z
  1599. ; autoregister constants of a components typlib on com_load(), l8 L) G9 k+ Q6 e5 a
  1600. ; http://php.net/com.autoregister-typelib7 o! c) x1 o& y
  1601. ;com.autoregister_typelib = true
    3 R9 F  U/ u9 B

  1602. ; Q; Y* [  y* }) {3 _1 b$ g, Z  ^: L
  1603. ; register constants casesensitive' W+ K! X* R' u
  1604. ; http://php.net/com.autoregister-casesensitive- w: N* q; B2 p! g2 W
  1605. ;com.autoregister_casesensitive = false5 k3 N) G3 ?6 x6 R# a

  1606. - u+ e; ~" _# g, j% Z7 ]( Y: v- H
  1607. ; show warnings on duplicate constant registrations4 `4 `; i. i$ K9 @
  1608. ; http://php.net/com.autoregister-verbose0 Z6 ^& {; B& P6 i% S. h
  1609. ;com.autoregister_verbose = true. f) o, E9 `$ n2 g) B5 H* s

  1610. ) T3 y! ?4 s4 P, v! z7 k
  1611. ; The default character set code-page to use when passing strings to and from COM objects.* @1 n7 y. Q* [
  1612. ; Default: system ANSI code page6 U3 y6 @$ ]5 p% B3 H- C& y
  1613. ;com.code_page=% j1 m) t7 }! l: N- y3 |
  1614. ) I7 z* Z7 K5 z0 i$ e- ?7 c6 c
  1615. [mbstring]
    ) ^7 |/ Q1 w8 D
  1616. ; language for internal character representation.
    6 O" T" f) Q. S; I3 b2 x
  1617. ; This affects mb_send_mail() and mbstring.detect_order.* G& W! C% ^2 h+ z
  1618. ; http://php.net/mbstring.language3 Z$ i" o* G5 {& ]" @# I# Q) A) t/ E
  1619. ;mbstring.language = Japanese- F7 q  z, u" m2 I( Z$ |
  1620. ) |  V3 }; [' e  k8 w
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' W9 E) \9 D8 m1 J
  1622. ; internal/script encoding.
    $ s3 y; P; i; f* c
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)  X! m) I! Z: {$ o  R' r/ h% ^" y9 l3 r
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - Z9 D; {) W% K# x* X- l3 W! P
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, F; e7 i+ z& }8 U% X) A
  1626. ;mbstring.internal_encoding =! @  ?& {- H5 v2 y

  1627. & F% r! Y- y2 z8 q
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.0 W7 i+ k0 Q, ]5 z8 v- ~; p: b0 u
  1629. ; http input encoding.
    # x0 S" M% Y( j5 C) b  e6 t
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    - I6 |! d5 V. P+ _5 g" z
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.# K; @( z& c' {2 V3 U
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input; e+ J) J' M$ B7 n) F% Q0 \3 x7 I' \
  1633. ; http://php.net/mbstring.http-input$ h/ ]3 |& b: _; R* l
  1634. ;mbstring.http_input =
    , b2 U& |6 C6 w  [' J' K9 g- s

  1635. ! h0 }* e4 m5 u  Z2 `' @
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 N" `& z9 m+ `* l- W( {0 l
  1637. ; http output encoding.( L: z. P+ o9 B% x
  1638. ; mb_output_handler must be registered as output buffer to function.6 y! o! Q  |3 Y7 J
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    2 U7 r- q9 S8 L4 U' h6 S' ]
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    " C1 X+ N- r. r( ]# |2 ^
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    $ O0 X$ u! A7 X7 H, S( g
  1642. ; otherwise output encoding conversion cannot be performed.* F2 X) X: t/ ]
  1643. ; http://php.net/mbstring.http-output
    & u* a' Z9 y/ R" w) Q; T
  1644. ;mbstring.http_output =6 ]$ k) ~. R( F2 ~4 j

  1645. " [0 J4 W4 m' \. C5 C( h* c
  1646. ; enable automatic encoding translation according to& `- I8 A0 m8 W$ f6 z
  1647. ; mbstring.internal_encoding setting. Input chars are
    1 f5 i6 R: e) E: y
  1648. ; converted to internal encoding by setting this to On.3 I' h2 F  E6 K8 Y
  1649. ; Note: Do _not_ use automatic encoding translation for
    , R: [  e6 T1 d- ~: B
  1650. ;       portable libs/applications.1 B8 X: @& N( v
  1651. ; http://php.net/mbstring.encoding-translation, z2 g. B! h/ x) z
  1652. ;mbstring.encoding_translation = Off
    / l  b- Q1 U$ _

  1653. ' V: z0 Y5 N* T7 G3 W
  1654. ; automatic encoding detection order.- }8 u. q+ O+ `9 ?" C. Y
  1655. ; "auto" detect order is changed according to mbstring.language
    ; u5 {8 Y: O& M, M% e1 N+ R
  1656. ; http://php.net/mbstring.detect-order& D; W  j+ N9 l
  1657. ;mbstring.detect_order = auto! Z# t: a2 P3 J: ]5 M" s
  1658. : Z& W4 v- f( L, s' y; A
  1659. ; substitute_character used when character cannot be converted
    - D) N3 o8 N# t8 g2 I( ^3 L/ s
  1660. ; one from another
    " n6 \0 i' q( h% M+ [2 c0 s
  1661. ; http://php.net/mbstring.substitute-character3 b" t0 u+ z7 @# J: @* |7 F
  1662. ;mbstring.substitute_character = none
    - q5 l3 `  B0 E8 i  l' }; K" E. ^
  1663. * J0 |  W( W: q& L
  1664. ; overload(replace) single byte functions by mbstring functions.
    ( T% {% j8 p& U& _9 ~" g
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    8 [0 O& q) {" t6 H0 Q! ]4 {, s
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.+ u6 J# h% v! n9 S0 P0 l+ c/ v7 w/ W
  1667. ; For example, 7 for overload everything., n: j+ X9 n4 S9 V$ g. e
  1668. ; 0: No overload
      Y* M4 @& a* i+ s/ }
  1669. ; 1: Overload mail() function
    8 H4 w, Y2 w& b! t
  1670. ; 2: Overload str*() functions2 ]6 N/ A: B$ e# n0 _+ ]2 J
  1671. ; 4: Overload ereg*() functions+ b" k" S% d" I- S
  1672. ; http://php.net/mbstring.func-overload7 S; H5 D. }8 |7 _) Y9 {
  1673. ;mbstring.func_overload = 0
    , u; S1 o  \; \) W+ S1 ~
  1674. $ z8 f! F0 w( Y4 [! k9 Y0 E
  1675. ; enable strict encoding detection.& e9 F* X, L4 M# ~$ A  d1 x
  1676. ; Default: Off
    ; u) k2 i6 F  v: W' x
  1677. ;mbstring.strict_detection = On& r" M7 E( i" R3 ^
  1678. 5 L* H0 d3 P) K6 M# b+ ?/ ?
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(), H* |  Q3 y* D( s5 t4 g. {
  1680. ; is activated.0 i; p" ?  `7 t' v: Y, Q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! l! ~8 \7 H+ a0 ~
  1682. ;mbstring.http_output_conv_mimetype=
    0 }) n& t. @2 v0 `  \
  1683. 2 C% z0 p+ q7 L$ \% t
  1684. [gd]
    ; N* p+ k" |  {$ `5 Z1 V/ n. X
  1685. ; Tell the jpeg decode to ignore warnings and try to create
      j& V3 k" G0 h4 Y' N, ^2 g
  1686. ; a gd image. The warning will then be displayed as notices3 F- w* n  N( E% g. |/ G
  1687. ; disabled by default
    8 l) [  {0 H& R) o4 w
  1688. ; http://php.net/gd.jpeg-ignore-warning# X4 E. I& f4 L
  1689. ;gd.jpeg_ignore_warning = 09 ]  L. d8 d. W0 M# e8 V6 W9 v' C' j

  1690. 9 I% `  L6 u( Q# U: o# X4 U* r
  1691. [exif]
    ( D; D9 ?, Y# ?7 B/ S! m
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.  R: |8 a4 Z) V6 P. y, P2 z; n
  1693. ; With mbstring support this will automatically be converted into the encoding
    1 [5 @# C# o# \# V) F* a7 I% f
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding, Z' x' e& `& l* y1 R
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ! n  Q+ _2 p  C2 c% F& [) J! s
  1696. ; intel byte order. A decode setting cannot be empty.5 A; c. ~' m+ j+ J- ~& k
  1697. ; http://php.net/exif.encode-unicode+ w" D" i6 |" p- g9 z: `+ C
  1698. ;exif.encode_unicode = ISO-8859-15
    3 `; L* Q# r& E, M8 N

  1699. + x' Z# H- J+ Q5 Y
  1700. ; http://php.net/exif.decode-unicode-motorola
    ' t' V, B/ a2 q2 c; }- p
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    % }, X: i  \5 i

  1702. 9 O2 B$ J& I( u7 n1 r+ v
  1703. ; http://php.net/exif.decode-unicode-intel$ ~$ x4 \! l4 O3 h. X: b
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    / m9 o7 O+ N0 t! k5 @" j

  1705. 1 I: l2 B& U& L3 t# ]! @( x
  1706. ; http://php.net/exif.encode-jis
    4 N7 P$ o8 K9 X" X2 `
  1707. ;exif.encode_jis =
    % l; f+ X5 o1 `# ?- m' J" ~
  1708. * m7 w# Z0 D2 M: i) k; @
  1709. ; http://php.net/exif.decode-jis-motorola, @( @) I) D" s5 n- X
  1710. ;exif.decode_jis_motorola = JIS: d1 G. D# _& t/ ~5 l7 Y) T

  1711. , j: f6 G2 f2 L& N- A( b
  1712. ; http://php.net/exif.decode-jis-intel- A/ n( ^5 u7 Y) X
  1713. ;exif.decode_jis_intel    = JIS
    9 m1 Y6 @% j: t6 v& d

  1714. $ N( ~0 W. w4 m$ g- r0 Z# e
  1715. [Tidy]# M# o: r. ]1 d( C* M2 T/ k. K
  1716. ; The path to a default tidy configuration file to use when using tidy
    / o9 i$ q$ I5 c( x- P
  1717. ; http://php.net/tidy.default-config3 u5 p' E, A% k4 d0 Z+ b, ]
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    . ^7 D- Y' b# w

  1719. ) `. n, d( y, i: C  Y
  1720. ; Should tidy clean and repair output automatically?
    . D* t: [+ M; Y5 K/ W
  1721. ; WARNING: Do not use this option if you are generating non-html content  H" k' d6 ?% c( }, _% U) t
  1722. ; such as dynamic images- |  e6 F$ l; L1 ?# g+ [! j
  1723. ; http://php.net/tidy.clean-output
    & J* ?3 u8 U* x3 a& W. E1 P" m+ ?) U% B7 |
  1724. tidy.clean_output = Off# M  l) o  _& o9 y( v) {

  1725. 7 T7 u& |5 P0 v# d
  1726. [soap]
    ; s6 {2 E' l- F
  1727. ; Enables or disables WSDL caching feature.
    2 u4 T$ l4 [( _5 G; P
  1728. ; http://php.net/soap.wsdl-cache-enabled6 I6 o: @  A* C# s2 j6 w
  1729. soap.wsdl_cache_enabled=1; v) N' `0 \. i' S1 K: {

  1730. * A. y4 l3 P# f0 I, n/ O' U9 G
  1731. ; Sets the directory name where SOAP extension will put cache files.0 a" T8 n. s8 U) r$ C3 x7 v
  1732. ; http://php.net/soap.wsdl-cache-dir
    ; O$ o6 g& s4 A6 b
  1733. soap.wsdl_cache_dir="/tmp"
    + ]0 i" S2 K  v9 N0 e; k6 \0 _5 O" b

  1734. 7 ^+ {( b9 h6 A& J" Z2 N5 d& x8 e
  1735. ; (time to live) Sets the number of second while cached file will be used7 |5 a& o$ a% a. x
  1736. ; instead of original one.
    ! z- T6 A% x- ], @0 G, u
  1737. ; http://php.net/soap.wsdl-cache-ttl
    $ n6 A; L) n& B  o, K
  1738. soap.wsdl_cache_ttl=86400
    9 W, |+ @. K" G9 {: B
  1739. ' g5 ~# c: g# A6 p' v7 i
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    0 ?2 \& d6 {' u; z& X) Z, \6 u
  1741. soap.wsdl_cache_limit = 5/ ~: x6 }' r; t! N, m# ~+ l
  1742. " H! S; O8 b; t+ r) x
  1743. [sysvshm]: ^5 A) ]/ t4 B' j! M
  1744. ; A default size of the shared memory segment; |9 j6 W7 P* f. `' X
  1745. ;sysvshm.init_mem = 10000% `1 A- [$ s' g" z1 i7 X

  1746. 5 M  ], C; ~6 _5 K8 P3 F
  1747. [ldap]  d4 H: i. K) W. B" ^" r. t9 [
  1748. ; Sets the maximum number of open links or -1 for unlimited.( V* R* s" y' i! c
  1749. ldap.max_links = -1
    ( g) X$ Z, n7 d; _; O

  1750. 8 B; S9 J0 W8 ?, D7 l9 x
  1751. [mcrypt]
    5 S% H  I/ Q0 b9 G+ @- d  p
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
      j0 E- n5 B! @! j; A

  1753. 7 N( O5 ?, h. m% ~% s( r5 e1 n
  1754. ; Directory where to load mcrypt algorithms
    3 I: C$ e* k& i4 J; t
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); j- _: O, W3 H4 Y/ V' r6 p
  1756. ;mcrypt.algorithms_dir=# A$ t# o( S# `, }, L

  1757. 1 c" _; y- k. F, z
  1758. ; Directory where to load mcrypt modes
    0 j' j# Y9 w! I9 m/ ^; F, z. ]
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 K" R! j$ L) v% D
  1760. ;mcrypt.modes_dir=
    8 }. Y1 ]9 A6 J' E+ V( L

  1761. ! z8 o4 B6 N2 }  _* y
  1762. [dba]" m% F' @! v% _& Z/ Z$ ?
  1763. ;dba.default_handler=' G. o. r. i$ T6 ?

  1764. # H3 g8 W: C$ J+ A7 m- w1 @
  1765. [opcache]
    9 a$ O2 F$ t: C6 u
  1766. ; Determines if Zend OPCache is enabled
    # x$ c* W3 P) {0 P' F
  1767. ;opcache.enable=0
    & T4 X5 C5 t, h4 s
  1768. : G' d; s! B! f7 ~! i1 i' a
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; |$ E+ t" S& K: \* A; a; c
  1770. ;opcache.enable_cli=0- y3 b& y/ T6 f9 X0 Y3 _3 q& x0 f
  1771. 8 g( A  z) E# L
  1772. ; The OPcache shared memory storage size.
    ' ]1 q, c0 [, H. @* M. c. Q
  1773. ;opcache.memory_consumption=64' y  i* s! q% L( @  Y' U7 r

  1774. % M; y: C9 J  k5 j, a6 Z
  1775. ; The amount of memory for interned strings in Mbytes.: o% Y7 D& s4 `; r
  1776. ;opcache.interned_strings_buffer=41 o- |$ @3 Q5 S

  1777. 1 G! ~: d( [/ s% q
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.9 j! N  l! l. P5 N0 J
  1779. ; Only numbers between 200 and 1000000 are allowed.
    : d& k) Q$ t9 W; I
  1780. ;opcache.max_accelerated_files=20004 e5 d. c1 D' @: w1 B4 e9 v9 V
  1781. 2 ]0 B) E: @9 A  M0 U
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 t2 d6 S: ~  n+ G7 Z4 E
  1783. ;opcache.max_wasted_percentage=5
    0 m' `% b3 B. E; {
  1784. $ O- y5 v& Z/ {, W
  1785. ; When this directive is enabled, the OPcache appends the current working4 o) F7 d$ H; }6 A8 p
  1786. ; directory to the script key, thus eliminating possible collisions between
    % E! s; \) `* c# @1 H. r1 ]$ e
  1787. ; files with the same name (basename). Disabling the directive improves
    ( C/ E: d1 w1 t
  1788. ; performance, but may break existing applications.8 X" v# H3 d$ @2 ~, Q4 R4 }
  1789. ;opcache.use_cwd=1
    0 @% n; }# z; Q2 F: ^

  1790. , P0 K. i) B: U- [$ B
  1791. ; When disabled, you must reset the OPcache manually or restart the, W6 [) ~# P3 X: h8 P
  1792. ; webserver for changes to the filesystem to take effect.. g& q! K+ N# X4 i8 }( U8 D
  1793. ;opcache.validate_timestamps=19 s, U9 x+ Z% s
  1794.   t( C$ x+ |: @4 w& ^' ?
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    8 t$ A! n& F8 j
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ! ~/ \. ?0 Y( z% t3 H
  1797. ; once per request. "0" means always validate)
    4 J7 s0 G# ]! ~5 u
  1798. ;opcache.revalidate_freq=2
    4 N# v7 A8 d' E6 k. Y

  1799. 4 l0 p8 H0 b2 l/ o4 E1 R8 k
  1800. ; Enables or disables file search in include_path optimization
    ; x9 S3 d3 _, G# u, N: X0 m, L
  1801. ;opcache.revalidate_path=0
    0 a; h5 ~8 ]  [. x$ Y( e6 h/ {

  1802. 4 N: N$ D7 X  S4 V# J( R% h  P" [
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) k! v* F) c5 O) j
  1804. ; size of the optimized code.
      R: ~% A5 ~; b# G) v  I9 c9 O
  1805. ;opcache.save_comments=1% w/ v# D! H2 Y' a

  1806. & F5 G+ N( d) i( q* X0 Q8 s
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    % f" K( b+ Q! f; ~$ g
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    & ^7 c7 T: ]+ @& |9 h
  1809. ;opcache.fast_shutdown=0% U  ]) y( h' Q) f% |
  1810. 4 B. k/ G% B4 I0 K% A: X
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    8 {/ H, R; n& d. ~
  1812. ;opcache.enable_file_override=03 h, V# q; \& R! v8 L- L7 X7 E

  1813. # U% q7 c$ k6 R! x- U' b5 D& _  E
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache1 }5 U/ i( Z3 T( T4 A: ?) J/ x
  1815. ; passes
    4 r' r6 c3 o7 N$ y" h4 t
  1816. ;opcache.optimization_level=0xffffffff0 c4 v" D' b+ T( n: N
  1817. ( z; l3 _2 C7 k' \7 o$ F0 ^1 Y5 @" m
  1818. ;opcache.inherited_hack=1& a* g$ |0 s9 q/ v/ S5 O; k- ?  b
  1819. ;opcache.dups_fix=0
    / T4 f& v: k" Y/ B5 f
  1820. % [$ E2 t! G2 K* W# s2 i2 d
  1821. ; The location of the OPcache blacklist file (wildcards allowed).  T- j  \7 L5 h% B6 J
  1822. ; Each OPcache blacklist file is a text file that holds the names of files) Y) `/ `; Q4 |9 W
  1823. ; that should not be accelerated. The file format is to add each filename+ `# L% I& _5 a4 D6 p9 c; B1 }5 r
  1824. ; to a new line. The filename may be a full path or just a file prefix
    . ^: P( U/ m8 J0 s# _) K: ]6 z
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    0 L! m6 R1 P! C' h5 h$ ^+ j; B
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    5 ?1 Q0 I. H) O6 Z
  1827. ;opcache.blacklist_filename=8 a: j$ @3 M' Q# |2 R+ `6 w

  1828. % i* ]5 A" Z: ?# v% F5 N. A
  1829. ; Allows exclusion of large files from being cached. By default all files9 ?  Y. ]" ~/ w$ ~$ R6 |4 u! ?
  1830. ; are cached.
    4 l3 O: j% H  A& z1 I- J. Q2 R
  1831. ;opcache.max_file_size=0
    , j* S/ z5 [0 \% |% G
  1832. # v$ ], y( q7 a) J% ~
  1833. ; Check the cache checksum each N requests.
    6 i" y1 Z. N/ ~2 V! G
  1834. ; The default value of "0" means that the checks are disabled.! a$ U0 ]/ a% f2 T( c' S
  1835. ;opcache.consistency_checks=0
    ( E7 R; _' ~$ s
  1836. , Q) x. Y- B% s6 O& f
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" u( b* j! t; j  A" I# n7 d
  1838. ; is not being accessed.
    ( j. G; J+ C- J( Q  e8 d
  1839. ;opcache.force_restart_timeout=180
    - E7 S# a/ I, |9 }/ g% G
  1840. ' t) `* R# }3 @  {* x
  1841. ; OPcache error_log file name. Empty string assumes "stderr".' k2 @) c& n2 b/ C/ X0 i+ L/ \6 V
  1842. ;opcache.error_log=+ A3 O1 Q( w! |+ z+ V) n

  1843. , d8 x( }/ h- B* h2 p. A' a
  1844. ; All OPcache errors go to the Web server log.9 r% E  t: x; ^8 ?* `1 {7 L
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    & Q4 l: P. I) z$ ~( K
  1846. ; You can also enable warnings (level 2), info messages (level 3) or! J3 Y- P+ @8 n* e; D8 g6 m6 r
  1847. ; debug messages (level 4).: R5 N& s. D9 a  }) ^9 R2 E
  1848. ;opcache.log_verbosity_level=1
    4 w' u( z0 N6 n

  1849. ( t% C3 Y- k' Z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.0 [/ N9 W7 Y& V* Q- t% t
  1851. ;opcache.preferred_memory_model=
    4 X5 Q+ I8 o* ]  t$ p
  1852. * k9 M! w; ?/ A; u3 s5 z
  1853. ; Protect the shared memory from unexpected writing during script execution.
    & w7 ~6 S& L# H% s
  1854. ; Useful for internal debugging only.
    1 N' ^% j0 J3 n" Z8 Y. A+ |3 t
  1855. ;opcache.protect_memory=0- d5 Y* E$ d( {# @' V: B
  1856. 0 ^' U  f* N2 s4 N
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is- m) s  J7 x2 l" L& D% }
  1858. ; started from specified string. The default "" means no restriction
    * p- V( Y. |1 ?; c& z
  1859. ;opcache.restrict_api=, U( H6 Y. e4 h; N

  1860. 8 z3 c3 {: G. q9 ]! S  i
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    * l  X  T8 A$ \. P" _5 F
  1862. ; processes have to map shared memory into the same address space. This: z% g- E& j: d. l1 H
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    & @: x. g6 a- |9 D5 j) l8 b* S
  1864. ; errors.+ x0 ]) B+ a2 @$ C! u
  1865. ;opcache.mmap_base=' S1 \9 C. O* f0 g0 }  E; X

  1866. 6 K, n* a0 g/ W
  1867. ; Enables and sets the second level cache directory.
    . z" V% {, Q: l0 m! u
  1868. ; It should improve performance when SHM memory is full, at server restart or
    # f' e* W0 |! u6 q# R, q+ m
  1869. ; SHM reset. The default "" disables file based caching.! L( H, w. e- S# ~. w% W1 _
  1870. ;opcache.file_cache=
      t  n& o( c- \. H3 e9 o# e8 ^% s3 Q
  1871. / g. h. N- w. V
  1872. ; Enables or disables opcode caching in shared memory.' v7 F" O& H5 t; U8 `7 ^
  1873. ;opcache.file_cache_only=0
    # ]1 u1 o1 |' |9 P2 a* i- q

  1874. 4 P2 a) [/ [4 Q0 M( F
  1875. ; Enables or disables checksum validation when script loaded from file cache.- f+ M# j. `1 C1 C! a
  1876. ;opcache.file_cache_consistency_checks=1) a3 J9 ~0 Z3 E, B! @- g

  1877. & v, m, K5 \1 d6 E
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to4 N. |$ \8 T2 \. ]
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file$ ^. F- E9 f1 W$ n4 ~
  1880. ; cache is required.) T* H- m- B6 C4 l0 }% X# q! H
  1881. ;opcache.file_cache_fallback=1
    # \9 [  z/ Q; h9 b: Q: B  B
  1882. ( x6 |$ @( d2 B7 S
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    - v5 o! b# ~9 F/ w
  1884. ; This should improve performance, but requires appropriate OS configuration.
    3 q, D' z5 r" ?! p  n
  1885. ;opcache.huge_code_pages=1
    5 H& D$ H9 J) u) Z8 i" k; z
  1886. - O" Y  z+ g& L) g" b
  1887. ; Validate cached file permissions.* g( {' ^1 r3 z' W4 C# ~
  1888. ; opcache.validate_permission=04 y* Q; L8 G$ r% @
  1889. : \5 E9 }7 A1 f, z
  1890. ; Prevent name collisions in chroot'ed environment.
    9 _, S4 h  s- ^5 Z1 s0 T/ F
  1891. ; opcache.validate_root=0
    6 Z, r" J' \% O8 r; ?% w

  1892. : }0 ^. i- N# r  g
  1893. [curl]/ P" z1 M9 {' s3 T/ N
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    : K1 {4 E  E4 b! V6 c$ G5 x6 C( q5 Y
  1895. ; absolute path.
    * T- l% |# w, `: A7 v7 W3 q* r
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! `# M$ K' H# i! P) p( c

  1897. 6 F% j) s( P/ z8 _* j3 g: k6 _: y
  1898. [openssl]
    / ~* P- b% O% n6 I' o
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem6 \" Z' E6 [: @) g9 Z
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should1 m+ E% y5 S1 Q! I
  1901. ; not specify a value for this directive as PHP will attempt to use the* _0 _7 @: i% H" i2 F) s. k; g
  1902. ; OS-managed cert stores in its absence. If specified, this value may still) k8 O& ^2 U* \) K2 j, D# F
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ; `2 y7 W7 `: O) _# o* X* f2 P
  1904. ; option.. J( t) P; F4 }
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    , R) m6 D6 `6 ^4 |/ d% ^
  1906. 9 N# E3 g5 P+ @, z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the2 O6 J% m5 a' l  E, X# M! g3 q
  1908. ; directory pointed to by openssl.capath is searched for a suitable% O5 g# T" w' ?
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    $ a' T1 W) o9 y7 E
  1910. ; Most users should not specify a value for this directive as PHP will
    8 Z7 s1 Y, j8 ^$ d1 V% e0 o
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,6 u5 f1 h, M$ u/ _3 W0 o1 q$ [
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    0 d: O# ?& Z% d2 b# z5 G7 b
  1913. ; SSL stream context option.
      u" S4 l  i7 |" ^
  1914. ;openssl.capath=
    7 f. x; P/ v. g! l/ Q0 ]

  1915. . A: e% o/ H5 ]: y( S$ G, G
  1916. ; Local Variables:2 v8 T0 h/ g$ I6 [0 r
  1917. ; tab-width: 4- x! C8 C9 G8 X
  1918. ; End:/ s4 X/ w4 x  ^8 W5 Z9 @

  1919. + \7 C5 z2 J; z* Z
  1920. ;eaccelerator
    , a1 r8 ]! |# v0 s# f
  1921. . {7 z' X' {# q% N4 Y# E
  1922. ;ionCube5 p+ e3 z9 p7 `. s

  1923. ( d# ^/ |5 O) p& K# {) R5 U) A8 G
  1924. ;opcache
    ( V  C4 G2 B; q1 a7 j2 H

  1925. 3 c6 c1 C" m8 }; o3 |
  1926. [Zend ZendGuard Loader]
      j+ T3 `* O0 Y$ J7 z  |8 K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.( L3 V) o& ^4 o9 C$ U: s$ Z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so' S* N  C7 R; s9 C* e" \2 K' a& c
  1929. ;zend_loader.enable=1
    , t& R4 M; t  Z4 w
  1930. ;zend_loader.disable_licensing=02 v7 k- |2 }6 X7 b3 r+ l% V
  1931. ;zend_loader.obfuscation_level_support=3
    9 S$ V! u# a; E! B1 |; B9 K2 Q
  1932. ;zend_loader.license_path=; ?7 b$ w; U+ T& j: C; K" f2 F
  1933. " p; E" O( n9 O2 s4 |
  1934. ;xcache
    - ^% D2 V$ p5 @5 ~4 Z7 I3 z9 t" [

  1935. 1 X+ ?5 C9 w8 l, Q0 t
复制代码

+ d! @# {+ ?* F8 N% c0 d4 g5 G6 T- [
' M! Y4 e5 K) @3 n1 L% D( R$ ]3 ?( E3 u) {! D- T
2 z# _" B5 T" e- Z: g0 d

9 {: G) ?& U0 [# x+ K+ U
" Q8 [7 [2 i3 X, \( I  R9 x8 t' x6 [5 j( ]& y* b9 K
PHP5.6版本原始设置
: T$ E& y/ x5 w% y" C" J0 e; t, f7 Q- [9 |; x# s  e4 `
  1. [PHP]7 l+ N! u" N# w: U7 Z* A
  2. . t. P) t( i0 o' G  Y' e
  3. ;;;;;;;;;;;;;;;;;;;) ]& J4 {6 w/ }" \6 |* V6 ]2 _
  4. ; About php.ini   ;+ Q$ ~7 O% A" N6 C3 E# Z
  5. ;;;;;;;;;;;;;;;;;;;0 l8 O8 ?* }" `/ s3 e
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 }- u8 ^' `, @7 A) R
  7. ; configuring many of the aspects of PHP's behavior., R5 I1 u7 h& z: U1 q6 i* B

  8. 7 e" O8 o0 V1 @* Y# K4 {" s
  9. ; PHP attempts to find and load this configuration from a number of locations.8 ]5 ?9 ?* L5 ^6 S6 |- S# e& y! V
  10. ; The following is a summary of its search order:
    1 R; L0 H9 _) q: l. c, i/ E/ J
  11. ; 1. SAPI module specific location.- U* f* J! V% X
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)( A) }: }4 c: X! X( `$ X
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    # `) q+ j" \1 |1 i4 |# x8 q
  14. ; 4. Current working directory (except CLI)
    . U0 T4 K6 U! H; N2 c- N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    : R- [3 m9 k" B2 k0 E
  16. ; (otherwise in Windows). K( ^% P" a' W- l! W4 x* n
  17. ; 6. The directory from the --with-config-file-path compile time option, or the; r! i" c9 Z7 Q6 M
  18. ; Windows directory (C:\windows or C:\winnt)! k% @3 ^" V# }+ k& T
  19. ; See the PHP docs for more specific information.
    3 A5 O8 w2 [) T
  20. ; http://php.net/configuration.file
    & A5 ~5 q+ z( l% G( Y3 s: A. h
  21. 2 _# V' m# \& n& O+ |: Z; \4 g+ w, Z+ ?
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 r1 r5 U0 f, O7 s/ ]
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    8 v' l1 I; _9 v$ Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 C7 L! M! r4 a3 F
  25. ; they might mean something in the future.) u! b9 e# r6 V, s4 t: I4 g2 h

  26. + @) o( j+ Y3 _( p+ P- l* a$ d3 Q
  27. ; Directives following the section heading [PATH=/www/mysite] only/ }  q+ D8 D* ]1 Z/ K1 G$ I
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 G% Y+ H/ i& @4 R8 w
  29. ; following the section heading [HOST=www.example.com] only apply to7 E& R6 W- p# l( p
  30. ; PHP files served from www.example.com.  Directives set in these
    / U. r- z$ J8 \  I' J
  31. ; special sections cannot be overridden by user-defined INI files or" \0 F8 K! {/ [( o
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    7 T3 M0 v( q, k+ t3 e5 H; ^( J/ h. w
  33. ; CGI/FastCGI.
    + S4 E( G( n) }& A  i9 L) V
  34. ; http://php.net/ini.sections) \* t4 B4 L2 b& U
  35. " f+ ^$ X4 |4 U5 m1 w6 J- r1 f
  36. ; Directives are specified using the following syntax:- t: r1 d3 [$ M1 L
  37. ; directive = value
    ) i% n9 R5 ^( N1 D' o
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    , E4 ~+ u2 N. S) |$ ~! d
  39. ; Directives are variables used to configure PHP or PHP extensions.6 T2 [6 l3 B% _( q1 G5 W$ w
  40. ; There is no name validation.  If PHP can't find an expected
    " g6 \8 T$ F" n& H  ]8 G4 ]
  41. ; directive because it is not set or is mistyped, a default value will be used.+ e) c% E0 i0 |4 Q4 Z) E. u/ O' \; g
  42. 8 @8 }; n+ p3 C3 @& w6 t
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 Z4 z; w) Q6 ^; q8 F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression/ h( i0 U6 w& a. L0 v
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ( W5 }/ Y% u) O: I( J- y
  46. ; previously set variable or directive (e.g. ${foo})6 i; G) h! @6 w. |) m# b7 `* f

  47. 7 a$ O% H/ a+ W# _: x6 d; Y* m
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 M  x' _7 R8 s& S8 \$ }
  49. ; |  bitwise OR
    ' ~3 f# M1 b. n& L7 ^( d9 R
  50. ; ^  bitwise XOR, ?. ^+ d1 h5 L/ \+ O  E2 H
  51. ; &  bitwise AND
    * D7 z; z1 @: T! B/ H: e0 L, v+ f
  52. ; ~  bitwise NOT
    0 a. c* ~- ^$ e) i& W
  53. ; !  boolean NOT# Q9 F4 Q9 ^) ^) t

  54. , l& R/ N; ?0 I2 [9 C
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 U4 ]7 i: N6 C% x. a/ K
  56. ; They can be turned off using the values 0, Off, False or No.
    . L# Z( S6 R1 X. r, g2 ^& b* U
  57. ) u1 U+ y( j2 i: a
  58. ; An empty string can be denoted by simply not writing anything after the equal9 N% L: R3 A- `/ o# v0 E2 T
  59. ; sign, or by using the None keyword:
    - s( |+ G/ v5 i( p& I, x

  60. 2 U1 h- f5 L1 A( U# ~. d. D
  61. ;  foo =         ; sets foo to an empty string/ T+ y/ O: O4 c) L3 k( b7 Z3 l
  62. ;  foo = None    ; sets foo to an empty string
    1 L' ~5 J# y7 @7 S0 ?8 m; W
  63. ;  foo = "None"  ; sets foo to the string 'None'( b& D9 P. o% a% H9 K
  64. - ~4 Q4 |/ w2 W6 _
  65. ; If you use constants in your value, and these constants belong to a
    $ l( ?% I" Q: ~& C( |
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),5 V0 e  {4 V9 ], G* i
  67. ; you may only use these constants *after* the line that loads the extension.6 l2 Z; {! t. H# U  o, y- I
  68. , @, q+ [4 ~; e! w
  69. ;;;;;;;;;;;;;;;;;;;+ L2 x! Z: O" {) S: @: \* h
  70. ; About this file ;, U: c, s1 E, |6 Z. p
  71. ;;;;;;;;;;;;;;;;;;;
    1 F. j" W! c  r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used6 H* W! M1 h: W# z+ n( W
  73. ; in production environments and one that is recommended to be used in
    ( r! D! {3 d; s5 h1 \' I
  74. ; development environments.7 q3 a4 L% F( E, B+ s
  75. " A& T* {8 l, C0 }4 v( D/ }
  76. ; php.ini-production contains settings which hold security, performance and
    ! }9 z1 ?/ U& {6 M+ b5 e2 S  s
  77. ; best practices at its core. But please be aware, these settings may break
    $ |# Z, H6 y( p! e& J  x
  78. ; compatibility with older or less security conscience applications. We. v: r& Y6 N$ l1 ^+ n& ^/ k  w
  79. ; recommending using the production ini in production and testing environments.
    + F3 W; T$ a: X" M" W& G" y  i
  80. * Z  _/ }4 q, g: B  l. z' J
  81. ; php.ini-development is very similar to its production variant, except it is
    ; U: L! v5 V# K- ?3 T7 f# S8 h
  82. ; much more verbose when it comes to errors. We recommend using the
    , h5 S' M% U* h) T' e4 X
  83. ; development version only in development environments, as errors shown to
    / X+ {0 z4 e& L" z% g
  84. ; application users can inadvertently leak otherwise secure information.7 s6 D2 x' y. J
  85. / G7 z& C0 J* }. K' w/ ^
  86. ; This is php.ini-production INI file.( g3 G' e3 N: _

  87. 1 u( K3 r0 s2 \. v6 @
  88. ;;;;;;;;;;;;;;;;;;;
    9 b0 [  f0 c! W' r7 S
  89. ; Quick Reference ;8 I& J; {6 b  I6 n* S
  90. ;;;;;;;;;;;;;;;;;;;
    7 q5 G9 V3 |% l; s& e  ]4 I
  91. ; The following are all the settings which are different in either the production8 d9 B/ v( O- x! G6 ?+ T% j  n8 u
  92. ; or development versions of the INIs with respect to PHP's default behavior.- `2 a& `# S9 R# V" h* t
  93. ; Please see the actual settings later in the document for more details as to why
    ' N0 P4 v2 J# \/ w  f9 p
  94. ; we recommend these changes in PHP's behavior., ~2 g- K- @) t$ @
  95. ! I& W" D! n; [' b$ ~% v) i; {
  96. ; display_errors1 @& u2 r8 L# U( G3 x8 f1 g2 H  B
  97. ;   Default Value: On5 z/ h4 Z! E( e# _& N
  98. ;   Development Value: On3 U3 n1 e. S6 h- W% [5 N4 R/ F
  99. ;   Production Value: Off3 H! X' G$ d! }& u4 U4 p$ T
  100. 4 X3 O6 O9 t0 t( R9 {# d
  101. ; display_startup_errors
    3 t( o  A& T7 Q/ v% @. X
  102. ;   Default Value: Off
    $ y6 Q- x0 S( n' ^, }; A
  103. ;   Development Value: On
    + i5 j+ W  y- R9 O/ M
  104. ;   Production Value: Off
    6 i' _. ^% ]2 x7 k

  105. 8 t: Y/ O8 z, o
  106. ; error_reporting
    0 L- }+ ~- V4 a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- k& N- Y/ S0 w. |
  108. ;   Development Value: E_ALL
    $ t1 z$ @  d: G. m1 t$ D2 _" O$ `. {
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" E* I0 U7 z5 u8 o9 U

  110. # d0 \) @5 V7 T
  111. ; html_errors
    / z" W" K6 q7 [6 D! N
  112. ;   Default Value: On. ?* n: t) C/ S: p8 u
  113. ;   Development Value: On
    ( x  T- y! W% F
  114. ;   Production value: On
    8 H8 R( a( C3 t9 s7 h
  115. ! M% c3 z0 F! ], H; s* z/ T% d& P' g
  116. ; log_errors' \  ^- ^' p8 X" U0 v. k. f) C
  117. ;   Default Value: Off* p. _: h' n' m; o
  118. ;   Development Value: On0 `: `7 y  k! {2 h4 S
  119. ;   Production Value: On
    4 j( b  ], z7 X! P1 o
  120. 6 e/ N, a; G" |
  121. ; max_input_time
    3 C+ i$ Y% d3 [
  122. ;   Default Value: -1 (Unlimited)
    ) t7 Q& S2 C9 M5 \2 k
  123. ;   Development Value: 60 (60 seconds)
    5 U- f' D4 v+ \8 }9 J. i
  124. ;   Production Value: 60 (60 seconds)) l4 m2 a" o" U
  125. / ^: h! A" D0 X9 _
  126. ; output_buffering' z8 h* t, i# d
  127. ;   Default Value: Off
    , H/ f/ y# J; o8 |! \
  128. ;   Development Value: 4096
      Q) K- d. @) v
  129. ;   Production Value: 4096
    1 h' s2 \& z$ r- h. D* E
  130. ! t( J+ R# C0 d. q0 N
  131. ; register_argc_argv* t3 j  @& k" L$ U7 [
  132. ;   Default Value: On
    6 {# q) t6 N& R8 }0 U$ e- U6 A% ~
  133. ;   Development Value: Off
    / E: r2 K$ L& ^& z2 I2 N/ z/ l
  134. ;   Production Value: Off# o$ {" |8 d7 u2 R  ~! E

  135. - X: w5 V- @9 W4 n, Z& _" ?
  136. ; request_order
    5 _- O* |5 N: p( q) T" `
  137. ;   Default Value: None
    " _- w$ n, Y* V
  138. ;   Development Value: "GP"
    - S! C% X# R4 X: G. A) B$ q* J- Y
  139. ;   Production Value: "GP"0 B  m, k! K+ z$ n

  140. 5 _" ~$ E* E+ P9 S8 K% _
  141. ; session.gc_divisor" h4 r3 x2 L2 P4 Q. H; r7 R
  142. ;   Default Value: 100: G% Z9 ^3 G3 g3 W2 s* h" K
  143. ;   Development Value: 1000
    0 s! o+ q5 o7 a  S( G
  144. ;   Production Value: 10002 I! @1 d2 g: O7 y) c5 F

  145. & R1 ]; t  K! b
  146. ; session.hash_bits_per_character: v+ r, O' V( d
  147. ;   Default Value: 4: ]$ c) h1 Y3 Z- Y6 z! F9 N
  148. ;   Development Value: 5
    + w) m% _1 f' j
  149. ;   Production Value: 54 F) q7 [  E7 y
  150. . M- n% T9 e' j3 G3 ?
  151. ; short_open_tag
    9 E$ T+ q# c+ _( L8 P5 b
  152. ;   Default Value: On! b3 S! ^* Z& ~. f5 d
  153. ;   Development Value: Off$ A0 h- _" \- G/ w$ [
  154. ;   Production Value: Off5 e. T' ~2 i/ |
  155. # m/ }$ S8 k. L
  156. ; track_errors0 [' w9 o1 L6 L8 f, z7 }
  157. ;   Default Value: Off
    % p) i$ L1 T, V! B& e% z
  158. ;   Development Value: On
    + |7 l& T+ X' i8 k5 X/ [
  159. ;   Production Value: Off
    ; q+ y) R( G( d
  160. , J. h' A: [% |* h, ]
  161. ; url_rewriter.tags
    3 m+ {7 J" y2 C( v3 L
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  u$ m6 x& s2 T+ X; x0 b
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": k2 j9 C( |, _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 ^. S, s! Z3 W$ Y' z$ j. S
  165. 1 p8 k$ f& @" [; @. t6 l1 T3 ?
  166. ; variables_order9 x  E3 J2 d2 F7 c  ~% d6 v
  167. ;   Default Value: "EGPCS"
    ! f6 B, n1 J+ a1 _. e) v# o3 t
  168. ;   Development Value: "GPCS"
    2 F4 t4 W% G' i% \( W
  169. ;   Production Value: "GPCS"4 x6 N& f3 e  k, T
  170. 3 n( K* p9 @6 u/ {; j" ?% Z
  171. ;;;;;;;;;;;;;;;;;;;;
      i% Y; p" r# c- E
  172. ; php.ini Options  ;
    " t( p* E# K) g# K9 W) \( H
  173. ;;;;;;;;;;;;;;;;;;;;% o1 y$ j/ n- E+ E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ' E/ {  l2 ?4 h6 ~1 B
  175. ;user_ini.filename = ".user.ini"% Y5 D+ O1 p4 m3 G- Q* e. P

  176. 5 d# Y6 z0 X& V0 Q6 c! q
  177. ; To disable this feature set this option to empty value
    / F0 }, T. u  ]
  178. ;user_ini.filename =1 N' `$ H7 q; b  S+ m/ |( f
  179. 9 ?+ X0 R2 {' }: h3 h# ^
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)- W/ a+ x3 n' C) ~& ?5 @
  181. ;user_ini.cache_ttl = 300
    2 r0 v6 B- f* M+ J5 ^1 F
  182. / F+ [+ _+ a( a  L
  183. ;;;;;;;;;;;;;;;;;;;;
    ! m1 Z2 B. L! R0 n; @
  184. ; Language Options ;
    ( q, \. K" m0 K
  185. ;;;;;;;;;;;;;;;;;;;;
    " p0 j8 p  z. l- S3 d

  186. # v/ f+ n6 Q$ t5 ?- d* A0 S
  187. ; Enable the PHP scripting language engine under Apache.3 J; k; S  f: {/ j. l! w/ t
  188. ; http://php.net/engine5 ^3 {' R0 w. I4 k& y
  189. engine = On
    6 ]. o$ H7 q! T/ r/ _+ B. u
  190. 7 o+ g0 W% _/ d) m+ o
  191. ; This directive determines whether or not PHP will recognize code between5 s  W$ u4 z2 T! A
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, E! p$ W4 M# I5 G
  193. ; generally recommended that <?php and ?> should be used and that this feature  |- [$ @- Z' }; P. d% s- p* i" L
  194. ; should be disabled, as enabling it may result in issues when generating XML
    6 E# c6 e- s' T
  195. ; documents, however this remains supported for backward compatibility reasons., |9 |6 u1 s9 Y3 C$ D1 B$ x
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ; |+ k* x: O6 y2 U' W! H+ w' k
  197. ; used regardless of this directive.
    / D% i. Q) Y+ [9 X
  198. ; Default Value: On" v- D* ]: }/ v
  199. ; Development Value: Off
    6 b- a& |4 S3 m
  200. ; Production Value: Off6 U/ K8 R1 K8 Q  u9 y0 D
  201. ; http://php.net/short-open-tag
    ) q$ _( O9 k6 s* \8 |. N9 \" H/ P
  202. short_open_tag = On6 c1 ]0 U5 p" [- P+ A7 x( P% I
  203. ) p8 T; h& b/ K
  204. ; Allow ASP-style <% %> tags.) Z. f% G% M$ T8 {' f* ?
  205. ; http://php.net/asp-tags
    2 Y% F( E9 L, V3 o* s9 s; L% ?
  206. asp_tags = Off- Y$ n' P# }* k; O5 M7 {

  207. # c/ _9 }* @. S/ g& U- D
  208. ; The number of significant digits displayed in floating point numbers.
    9 t4 t. p) x9 }0 D
  209. ; http://php.net/precision% @4 W. J* U7 s% m8 y# D& C& m2 w
  210. precision = 140 ?  s( [& t! @% ]& S$ T
  211. - r6 y# P% _, `* K3 n
  212. ; Output buffering is a mechanism for controlling how much output data
    0 I2 q  w( x2 B; S
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' }7 e$ w% w* D: H) e
  214. ; data to the client. If your application's output exceeds this setting, PHP
      }4 a# r* M7 W) o" _/ B7 `
  215. ; will send that data in chunks of roughly the size you specify.
    + W* C2 ?1 W" ~
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    - I0 ^; f' p+ O) r
  217. ; interesting side-effects depending on your application and web server.
    % Y) l* l5 ~6 `* P* @$ J6 j
  218. ; You may be able to send headers and cookies after you've already sent output
    ; U, }0 B. x' V5 p
  219. ; through print or echo. You also may see performance benefits if your server is
    2 J+ B, R8 T+ ?9 a: K* y
  220. ; emitting less packets due to buffered output versus PHP streaming the output; g7 A1 m, W+ N. J
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 u5 ?6 d, f  r- n4 r! J8 H8 y
  222. ; reasons.' o7 w/ ^  c' `8 X% A
  223. ; Note: Output buffering can also be controlled via Output Buffering Control, \( n! z; b# _# p$ C
  224. ;   functions.
    & \% O  L0 U+ a. Q
  225. ; Possible Values:
    3 I& c# y7 `9 _# R& k# J8 A
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)  q( A9 s$ a& l2 k
  227. ;   Off = Disabled
    # R( Q7 M1 `. d* t# P
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ! k0 L6 K% \" G( k1 o6 j$ }
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI( }! K* b( E2 |2 m
  230. ; Default Value: Off1 ^/ I; ~% Y( G- m2 T
  231. ; Development Value: 4096
    4 |: Y8 K8 Z& s. F- }; v
  232. ; Production Value: 4096
    ! c; g3 A4 ]/ o
  233. ; http://php.net/output-buffering
    " l# p8 ]) d- ]! B$ s# u
  234. output_buffering = 40962 ~: ]8 W1 k) k- v# B- J* F
  235. , D6 t! F6 n6 q  }% t
  236. ; You can redirect all of the output of your scripts to a function.  For
    / l$ ?5 c1 V; o: @% @, Z8 p, X
  237. ; example, if you set output_handler to "mb_output_handler", character
    6 }% `% M! I2 b3 v
  238. ; encoding will be transparently converted to the specified encoding.
    ; U7 h% ~6 M1 \4 t( P/ \* B
  239. ; Setting any output handler automatically turns on output buffering.
    3 S: Q$ V' c4 O0 M" S. k- P; {
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ! I# \7 A8 l. I9 ^1 ?
  241. ;   directive. Instead, explicitly set the output handler using ob_start().+ R4 ~' p" @' p
  242. ;   Using this ini directive may cause problems unless you know what script
    , [+ |+ \5 U( I
  243. ;   is doing.
    : X3 I2 h! g' Y3 q' f1 j  D
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; h* u# k3 q3 `. `3 N  }, s9 g
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# q; t. H9 K& @( `9 ~- F) A9 `
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 m2 P* A& ~* v: C
  247. ;   Instead you must use zlib.output_handler.
    $ O& V, B3 \  Q3 g! G; o1 d: c) _6 _
  248. ; http://php.net/output-handler5 m4 Q9 J3 w$ e6 A4 j) n
  249. ;output_handler =
    7 q2 m* C3 A6 Y, V2 Y% P# B! I' Q
  250. 2 J. l3 q6 n% _4 e' D
  251. ; Transparent output compression using the zlib library0 I( I# i/ s3 t5 |7 M  q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size: A. C% o: h6 F! b1 m5 b  t
  253. ; to be used for compression (default is 4KB)
      x6 L/ R) B5 b' c: e/ [5 H; F5 P0 s
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP  d1 Z# e. g& c  N/ |
  255. ;   outputs chunks that are few hundreds bytes each as a result of! k7 B, \% S6 [6 u/ ^! q
  256. ;   compression. If you prefer a larger chunk size for better. r& Z# [( q1 ]
  257. ;   performance, enable output_buffering in addition.+ }  ~0 }$ B# `% k: H
  258. ; Note: You need to use zlib.output_handler instead of the standard" S* J  N0 N3 o4 j8 Z
  259. ;   output_handler, or otherwise the output will be corrupted.
    - N) T2 l; c( P& v0 j
  260. ; http://php.net/zlib.output-compression
    ' z  M3 S% E! t9 K8 V
  261. zlib.output_compression = Off, `8 l, y  @2 i/ U  t; P& |) S& A
  262. ( {/ X( Z3 E: ^0 z# V9 r
  263. ; http://php.net/zlib.output-compression-level
    7 b7 x, @$ Z6 K" S& e2 p. ~2 r+ E" w
  264. ;zlib.output_compression_level = -1
    7 _, r  M# n9 p. Q: |

  265. " O! i1 ~% h6 g; [# {
  266. ; You cannot specify additional output handlers if zlib.output_compression
    8 d) W" S3 p  ^$ H/ v
  267. ; is activated here. This setting does the same as output_handler but in6 y1 F' [/ y9 N: U& P7 Y
  268. ; a different order.
    6 L; Q" i$ l! D. L7 o8 g5 d
  269. ; http://php.net/zlib.output-handler
    ( U! \# Q6 b' S# y9 _
  270. ;zlib.output_handler =1 `: b1 D, [7 a9 K. o

  271. " s; G6 [* j" ]8 I: L* C
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    # l* {! q; G$ i" L, n" j
  273. ; automatically after every output block.  This is equivalent to calling the
      c' a2 A  m2 t
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ! ]; B' a! {5 y% F3 t8 Q/ v# o
  275. ; and every HTML block.  Turning this option on has serious performance0 u) e1 P2 C9 w# S
  276. ; implications and is generally recommended for debugging purposes only.
    5 o: J6 U: x7 L) C
  277. ; http://php.net/implicit-flush9 W( c) j# L: C# l
  278. ; Note: This directive is hardcoded to On for the CLI SAPI5 ^5 D- [% i! I* e" j& @( P
  279. implicit_flush = Off
    & a! w% D3 R0 I9 N
  280. 2 L* x9 |+ r2 K6 F9 b0 ]
  281. ; The unserialize callback function will be called (with the undefined class'2 g! A, Q' s3 R" u  k5 I+ V& N
  282. ; name as parameter), if the unserializer finds an undefined class" Z) i- Z! G4 q& k' v0 T, f. }5 E( ]
  283. ; which should be instantiated. A warning appears if the specified function is
    8 ?7 a' ^4 g  ?# B$ R+ M
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ' d9 S; Z" |, R1 h. B
  285. ; So only set this entry, if you really want to implement such a3 W1 p# F0 B8 l9 M
  286. ; callback-function.
    9 A2 j, K$ i+ K4 L
  287. unserialize_callback_func =. ]; V# c# {% X4 A: r. r9 u
  288. 2 Q  h8 Q: k6 A$ Q" _6 d
  289. ; When floats & doubles are serialized store serialize_precision significant6 }/ \) P7 W2 _
  290. ; digits after the floating point. The default value ensures that when floats2 `6 @2 V# P- [+ ?8 g1 c
  291. ; are decoded with unserialize, the data will remain the same.
    - ~+ c/ P" v2 \# S* e
  292. serialize_precision = 173 S, n+ {9 A4 T7 N+ C$ g# z3 ?& X

  293. + ?- S7 v7 a3 O* E' _' b  O& u4 W/ K
  294. ; open_basedir, if set, limits all file operations to the defined directory1 Y& T2 R1 V/ A6 r/ l
  295. ; and below.  This directive makes most sense if used in a per-directory
    - k" h8 L  d$ R3 E
  296. ; or per-virtualhost web server configuration file.
    , t* v4 I$ w5 Q
  297. ; http://php.net/open-basedir4 g* L* Y0 d! }2 G, j
  298. ;open_basedir =. t3 j* f" u* ^( z' l
  299. 1 |* T1 T' S; w& P
  300. ; This directive allows you to disable certain functions for security reasons.
    , p; Q- A1 \! V" O2 E3 v3 b, W
  301. ; It receives a comma-delimited list of function names.
    ' q& g( W! M! C/ p* v, ^
  302. ; http://php.net/disable-functions
    ; V: o5 ~) P' ~' D$ X. G
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    + q  c, x: y: z: V9 K% b" ?# S
  304. ( f0 F! Y9 r( _9 }5 A  ]: s- o
  305. ; This directive allows you to disable certain classes for security reasons.4 x( A% I6 d- N3 k4 Z% [
  306. ; It receives a comma-delimited list of class names.
    0 C7 }8 U2 v1 e5 K% P# Y* w" t9 K
  307. ; http://php.net/disable-classes
    - p$ j. O6 `7 H9 D0 }) e2 W/ z
  308. disable_classes =* @' o7 N& }1 Z0 H1 x& v

  309. 0 ?3 N- }6 S! i! z! e
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 F: L# ^6 q. \; p4 ]( ?
  311. ; <span style="color: ???????"> would work.
    % @  I4 Q7 t# L5 j
  312. ; http://php.net/syntax-highlighting, w4 ?$ o3 J) H" |
  313. ;highlight.string  = #DD0000+ a) H( C5 T' L1 y. E7 p
  314. ;highlight.comment = #FF9900
    5 P9 P7 M9 j& A
  315. ;highlight.keyword = #007700
    3 E  {) z1 r4 |; K) L; E. I
  316. ;highlight.default = #0000BB( d2 _/ l# m, B" c$ {+ A* l) |
  317. ;highlight.html    = #000000
    2 Y/ N, X$ w# Y9 ]' |" g
  318. 8 a1 l2 L# H: V( j, \" E
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    1 q' i! c( i. p  y' J7 K
  320. ; the request. Consider enabling it if executing long requests, which may end up4 R9 Z# i0 o* F: \3 w: Y, J+ {
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior- H3 Z& o1 u+ P/ J2 }7 m
  322. ; is to disable this feature.. s) _1 i+ u$ N) `' B9 d2 }
  323. ; http://php.net/ignore-user-abort2 G' l1 a& G8 z8 R4 y
  324. ;ignore_user_abort = On
    # ^9 Q8 R6 F# ?0 l3 k
  325. 5 p7 N( F7 p: g5 R
  326. ; Determines the size of the realpath cache to be used by PHP. This value should/ F1 X5 H( D! }
  327. ; be increased on systems where PHP opens many files to reflect the quantity of$ F. ~$ n  S. r# ^! ]4 Z
  328. ; the file operations performed.
    0 F7 a) `% J' J: D' Y3 O' ^4 R
  329. ; http://php.net/realpath-cache-size/ H  d7 ?$ _# b+ w  f8 C! b
  330. ;realpath_cache_size = 16k
    2 v' W0 x/ ]) e- K" M
  331. - ]9 d+ a& U; D* J: D
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ) i9 N6 W1 w: A3 }; {
  333. ; file or directory. For systems with rarely changing files, consider increasing this% R% e' y8 {9 A) H$ d/ ?
  334. ; value.5 i0 `" d7 `1 R7 K# ]( O8 L
  335. ; http://php.net/realpath-cache-ttl
      n2 m5 k: ~9 @5 ~3 X. [5 g3 ]
  336. ;realpath_cache_ttl = 1203 \8 x9 \8 W2 u3 t( e0 s* x

  337. ' @  @7 O+ j1 H6 W1 @: \' H
  338. ; Enables or disables the circular reference collector." W$ S% p( f0 V- Z
  339. ; http://php.net/zend.enable-gc
    / o) B+ T) I8 G1 X+ c
  340. zend.enable_gc = On
    " L" v( j* c6 Y( R3 |
  341. , c, X" l3 T4 h# s
  342. ; If enabled, scripts may be written in encodings that are incompatible with/ @8 {5 L4 b& |( h: X5 U
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such  r( {3 N  d9 `2 c& H( h' w
  344. ; encodings.  To use this feature, mbstring extension must be enabled.( w% W7 [9 ^1 ~& b  ^) i, c
  345. ; Default: Off7 C+ S( d: w  w3 H5 V8 @
  346. ;zend.multibyte = Off
    % b9 E9 j# H5 r6 J# ?; R: y/ c# s
  347. ; M; e6 f+ [6 _! I% E
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    % U1 d8 b" N4 F3 P% y/ b/ g$ R! I
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.3 d6 W9 M; k3 u1 B8 Z5 H+ E* p
  350. ; Only affects if zend.multibyte is set.
    # b9 Y9 Z6 A  Q7 Z7 b% p: J" j
  351. ; Default: ""
    2 ^0 R1 [7 l4 P2 D1 ?  g9 `6 f  V
  352. ;zend.script_encoding =, U: Y4 y0 T: q7 _) Y$ A& U, Z
  353. . K2 I  @+ m+ ?/ N1 b
  354. ;;;;;;;;;;;;;;;;;* z1 V4 s5 R# W* b/ \8 h# |7 m
  355. ; Miscellaneous ;
    $ d6 l9 ?/ g# ^7 a- ~! }3 Q/ }8 [
  356. ;;;;;;;;;;;;;;;;;
    9 I' {# V& @. B! C: B1 @7 k5 ?  |
  357. % ]" C! X+ {% b! @2 Z" }
  358. ; Decides whether PHP may expose the fact that it is installed on the server" s5 {( R$ L# R  S
  359. ; (e.g. by adding its signature to the Web server header).  It is no security  P7 Q% o! g9 T# ?  k
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    5 i- T* F) H4 C1 p" ]
  361. ; on your server or not.
    ! o% I' z" a  K% [) M" K
  362. ; http://php.net/expose-php2 I* V2 W3 f. c4 q/ X, F. o" J
  363. expose_php = On% \, j4 [' E' U0 O: n5 n
  364. / \; P; L# o8 t6 [- z( z: N5 J
  365. ;;;;;;;;;;;;;;;;;;;
    & ^, T7 D6 Q6 ^: W, P8 d" D0 ^
  366. ; Resource Limits ;
      [! E) r- Z. Y# O. n- P
  367. ;;;;;;;;;;;;;;;;;;;
    0 D6 J2 h1 _5 i- R) n+ J2 O8 m

  368. 6 h* I( _9 l  S: M8 q1 k( o7 F
  369. ; Maximum execution time of each script, in seconds
    & X3 \# Q% O6 u3 E9 h5 t
  370. ; http://php.net/max-execution-time
    / O5 U$ u. x  M2 k) R: g
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 c, {" p/ O1 k9 p. b
  372. max_execution_time = 3008 d3 u& k7 Q1 z4 X2 V: }/ X

  373. 5 E( M* Y; m4 F& u' A% s4 s
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    , Y# Z" X0 X: k7 u7 N
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    # E. q# K) i3 O2 _2 o
  376. ; long running scripts.. V/ G; z  O1 j4 ?
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # s- B+ \0 |8 D# M
  378. ; Default Value: -1 (Unlimited)$ S- g1 ]- G# o. t  C
  379. ; Development Value: 60 (60 seconds)
    0 o) @5 G* a' [* T
  380. ; Production Value: 60 (60 seconds)
    4 f! V( C1 U' j4 K5 W
  381. ; http://php.net/max-input-time: Z' K# e5 K; d  k+ ~: {# l  K
  382. max_input_time = 60
    ! N6 I, I3 D) L
  383. 2 b4 t$ f% |5 h; {- v
  384. ; Maximum input variable nesting level
    ( R! {& S9 z; A1 q! u& V
  385. ; http://php.net/max-input-nesting-level
    * a" X6 A3 C. q' y; I) a) Q
  386. ;max_input_nesting_level = 64, E9 v5 F* U/ N$ c" m/ c; H

  387. / n( T/ c1 ?* {& V1 ~0 z
  388. ; How many GET/POST/COOKIE input variables may be accepted
    # M5 d# \: _) c% C& J8 ?5 k
  389. ; max_input_vars = 10005 x: V$ m/ i7 F6 l) e7 ~

  390. ; d/ v; {3 z4 V* |4 P! C' f) T3 Q
  391. ; Maximum amount of memory a script may consume (128MB)" h0 {, e* H; \( m, y2 K* w5 |, c
  392. ; http://php.net/memory-limit
    / S+ C' Z9 i& Y% F* k3 D9 ]6 p' L# t
  393. memory_limit = 128M! U. R' I! g5 j$ Y( o1 g4 E' h$ r

  394. % ^. V. f$ e" h$ F$ G5 y
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- {1 Y' I. J3 ~7 F9 {" K
  396. ; Error handling and logging ;
    ; H. c7 X2 ^8 X
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - O$ c. @" r, o

  398. 2 w0 L: E. w: N$ W0 B
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    . \- `4 Y+ K$ `8 E( m8 ^
  400. ; it to take action for. The recommended way of setting values for this
    7 D+ l% L1 n2 K" d' i# X
  401. ; directive is through the use of the error level constants and bitwise
    1 a4 v9 ^% e% P/ f& H
  402. ; operators. The error level constants are below here for convenience as well as
    $ ?  ~. h  {2 j6 f
  403. ; some common settings and their meanings.- z. D* b' y, N. r2 s6 S) R2 z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , b: w& y! _" T9 ~% n- G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ! [8 i' F- n$ R  {' ~
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    % d8 \0 v3 D% f8 N+ h# _
  407. ; recommend error reporting setting. Your production server shouldn't be wasting' R0 Y, ?# O% @: M
  408. ; resources complaining about best practices and coding standards. That's what3 H/ r1 z) j3 h4 T
  409. ; development servers and development settings are for.
    & o* X- V! L. ~6 f
  410. ; Note: The php.ini-development file has this setting as E_ALL. This- }' W, ]( s9 w. u& q$ |! E4 K3 N4 b
  411. ; means it pretty much reports everything which is exactly what you want during9 Y) Z$ V! f+ X5 H/ d. Z
  412. ; development and early testing.& Z7 y) Q3 I+ k. J
  413. ;8 ?9 A# u+ C+ n' {
  414. ; Error Level Constants:1 T( M, F, M  |
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)9 a  l) [" s& _( K
  416. ; E_ERROR           - fatal run-time errors7 ~( h! t" V; A" T
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 k! J, w7 w3 P( H3 N: X( b2 c$ \
  418. ; E_WARNING         - run-time warnings (non-fatal errors)) z! x( K* J7 g
  419. ; E_PARSE           - compile-time parse errors
    8 f' a( |4 d7 V2 J
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ( n' H$ b3 _! ], b% @, Q. ]
  421. ;                     from a bug in your code, but it's possible that it was
    / U: Z5 q8 A) V1 N& ]6 k% ~# N; _
  422. ;                     intentional (e.g., using an uninitialized variable and) K0 |3 i2 O5 v$ ]. y
  423. ;                     relying on the fact it is automatically initialized to an& h7 v# T/ H; ?, C$ T
  424. ;                     empty string)( ^# ?1 z& o5 E# S& u5 w
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 O2 h( p, v0 t$ X: E
  426. ;                     to your code which will ensure the best interoperability
    2 d5 W' q5 z+ I! B
  427. ;                     and forward compatibility of your code
    % K* r) Y' `' h% O4 U
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ [  F% Z- P0 J4 S9 g1 n
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 n9 f7 D( o$ F) t, |, n% R
  430. ;                     initial startup( {) `5 {% Q, |& i& |6 d5 k
  431. ; E_COMPILE_ERROR   - fatal compile-time errors" Q; q/ I9 z9 }3 a0 u1 v9 M2 C6 E
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " C9 i; _; M/ B3 {* d
  433. ; E_USER_ERROR      - user-generated error message
    ( a- }6 ^0 U2 e! L) l) u& R
  434. ; E_USER_WARNING    - user-generated warning message
      t2 z) u$ P+ i  P, [* X
  435. ; E_USER_NOTICE     - user-generated notice message8 t3 k# t# U' f* ?% N
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ; g! Z( p1 z* J: d% Y
  437. ;                     of PHP
    : v+ S1 L) ?( @7 J# F9 ]( Q
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
      w0 Y3 d4 h7 K' K
  439. ;) {) D* f( x& L" E
  440. ; Common Values:
    : b  |/ a% q) F" x4 \, i) L
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)6 M; R5 h, a, u( ]/ [7 m
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices), L  d0 f/ H' j/ R/ Y8 r; j- F+ _% c
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    3 O" [3 b% @) a; e- g9 c5 T
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    / G/ E; h" ]) n7 X4 N' W- q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % H+ d: A! ^+ t& i0 i
  446. ; Development Value: E_ALL
    , A( }; t( ^! p4 @% ^5 l
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % S& V. l" c7 U  e- g. r
  448. ; http://php.net/error-reporting
    + {. c# S# T( i" g6 m4 b" }7 r
  449. error_reporting = E_ALL & ~E_NOTICE2 D* O# F/ `1 `/ Z" N  }$ {

  450. + n( W0 q- E" i' X8 J' }' Z. o) b
  451. ; This directive controls whether or not and where PHP will output errors,
    $ g; ]& w7 _7 b3 j3 F) g
  452. ; notices and warnings too. Error output is very useful during development, but  A" W4 o7 h+ @, N5 G7 L2 O
  453. ; it could be very dangerous in production environments. Depending on the code
    + v% ?' ?1 ]% N8 v
  454. ; which is triggering the error, sensitive information could potentially leak
    # P6 H3 H* v' D! \# A5 b5 I' w
  455. ; out of your application such as database usernames and passwords or worse.
      T( ~8 R8 P! s6 V
  456. ; For production environments, we recommend logging errors rather than" O+ U- G5 A7 ^1 Y+ s9 |
  457. ; sending them to STDOUT.' g4 r4 K" W5 J8 O
  458. ; Possible Values:
    . W: a) z/ e1 A* y3 m
  459. ;   Off = Do not display any errors
    + c8 c5 a2 q0 g% S6 O: w- k: y
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)# h/ K' h+ H2 I% ~& D$ W1 U$ O7 {) @
  461. ;   On or stdout = Display errors to STDOUT
    4 X2 h1 f& P: F
  462. ; Default Value: On
    , ?5 d$ {+ |1 c1 G* [$ Z7 f7 _! G
  463. ; Development Value: On
    " W4 w  `( Y' Y0 |7 _4 f
  464. ; Production Value: Off* U' n  X% i( I3 u9 i$ {+ [# {/ q% C1 |: o
  465. ; http://php.net/display-errors6 U6 O. S8 d2 @/ @1 v) B
  466. display_errors = On
    - {$ j* f6 W& B
  467. 6 `6 j) O4 A- @- u
  468. ; The display of errors which occur during PHP's startup sequence are handled
    % v. V( x4 A1 \* J% E
  469. ; separately from display_errors. PHP's default behavior is to suppress those) @, N/ W6 }5 J2 ~# o
  470. ; errors from clients. Turning the display of startup errors on can be useful in8 p0 G7 W6 L. @, m/ z8 M& |
  471. ; debugging configuration problems. We strongly recommend you$ p9 G- |7 S' Q0 y. D
  472. ; set this to 'off' for production servers.
    0 F% N3 i* B0 o
  473. ; Default Value: Off8 |. ~) s/ C" E$ b
  474. ; Development Value: On
    ' n! h# D! w, e" ^2 \5 ^. J
  475. ; Production Value: Off) I0 E6 h" q3 f/ Y  C7 s: ?: k
  476. ; http://php.net/display-startup-errors
    & s. ?& B% x' [# Z* e$ ]
  477. display_startup_errors = Off
    + v/ o* |3 q) Q# {

  478. + R# ^7 h: W1 z/ h! f& [! Y' B0 g
  479. ; Besides displaying errors, PHP can also log errors to locations such as a4 |$ }0 i. c4 e  L
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ' |3 k$ G  o0 x' E- }
  481. ; directive found below. While errors should not be displayed on productions
    . W" A+ ]3 b; O- v2 M9 U
  482. ; servers they should still be monitored and logging is a great way to do that.0 w4 e7 p7 k6 {/ p
  483. ; Default Value: Off: M( G6 k2 ?1 k  V5 S) r2 M
  484. ; Development Value: On* j* M) B9 Q; V( W9 V1 [4 v
  485. ; Production Value: On
    * s, [  n! ~2 y
  486. ; http://php.net/log-errors
    $ ?0 N. l2 t2 Q+ Y/ y
  487. log_errors = On
    - [$ {% w. V$ B7 r

  488. ) X9 s/ X% V! z1 w$ s" Y
  489. ; Set maximum length of log_errors. In error_log information about the source is* ?0 Q3 D; A3 u3 X
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      d8 \: f- ^, I( N2 O: w# I, R
  491. ; http://php.net/log-errors-max-len
    9 h7 j( Y9 \$ }, q
  492. log_errors_max_len = 1024
    % s5 F/ i" |. }1 S
  493. ( S+ K7 V. G* o2 K* h7 j; M9 n
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same; Q7 ^# t0 a* h/ e2 s) H1 S
  495. ; line unless ignore_repeated_source is set true.4 I( I, i6 ~- z2 _( w
  496. ; http://php.net/ignore-repeated-errors% v5 L+ F! Y2 b- U7 N7 H
  497. ignore_repeated_errors = Off$ M) J7 ]! O* i# c! S/ Q+ |

  498. 1 A" a- v0 g) g* j
  499. ; Ignore source of message when ignoring repeated messages. When this setting1 l& g. K* ?* c+ Q/ u5 j
  500. ; is On you will not log errors with repeated messages from different files or
    5 ?: c+ c. z* J1 }1 O* p
  501. ; source lines.0 X) P: }- y) ?
  502. ; http://php.net/ignore-repeated-source
    ) N7 z. ^" i# L( b( i% X
  503. ignore_repeated_source = Off
    % |/ H0 o# p( j& I+ g5 T  D5 }

  504. / x4 h# C% p# W( k
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " ^& c! v2 d% W
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    9 ^, ~2 U$ W6 ^! S
  507. ; error reporting includes E_WARNING in the allowed list
    ) V. C9 \; J' S6 S/ Z
  508. ; http://php.net/report-memleaks
    & ^. f3 q! T1 P7 d. q
  509. report_memleaks = On  |0 }2 e# I7 _1 ?. D, [9 p
  510. ' Y: I3 ~1 T  L
  511. ; This setting is on by default.
    9 e) d5 ^& _/ x' K% x2 p+ B
  512. ;report_zend_debug = 0. S9 C" w' ?& l4 q, c8 W

  513. ' h* X4 ^- n- N" Q; v& V
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. m( I% F" W$ m, E$ u/ P
  515. ; to On can assist in debugging and is appropriate for development servers. It should* P8 _% U1 m1 L- S8 g
  516. ; however be disabled on production servers.! y# ^. E$ R/ H  Y
  517. ; Default Value: Off, }! j6 v7 @  M& c  }
  518. ; Development Value: On3 H- ?- o3 m% r, x. o, H+ Z! R2 B
  519. ; Production Value: Off, l+ y, }( s( N- N0 A9 b
  520. ; http://php.net/track-errors, Q: w% }" [4 r4 A
  521. track_errors = Off. M+ H% ^% [0 j9 J6 O
  522. & ?& s0 B+ P* y% b- u0 ~& a
  523. ; Turn off normal error reporting and emit XML-RPC error XML. g& {/ D6 Z1 A  x8 w9 N
  524. ; http://php.net/xmlrpc-errors" T3 E% r9 Y; }, x
  525. ;xmlrpc_errors = 09 r( P# q% Q9 S6 n4 {: d5 M
  526. , A# O# V/ D, v* {9 t
  527. ; An XML-RPC faultCode
    * k9 C0 a( z( _! e/ j; Z/ O+ K
  528. ;xmlrpc_error_number = 0
    ( K  ?5 d1 x, |9 L* \

  529. 4 K5 N+ `. h$ n* y
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    5 H: n* [) W2 K3 |3 f# k+ M+ x
  531. ; error message as HTML for easier reading. This directive controls whether% A7 }2 L% c4 f: O; }
  532. ; the error message is formatted as HTML or not.+ I" W8 v3 w7 [8 x% {# |% l0 F
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , v" M; e4 A2 I& n/ n; O/ b* I/ s
  534. ; Default Value: On& t+ ]3 ?3 _" c2 Q6 C9 R
  535. ; Development Value: On
    * z3 O! m2 Q) B, n7 R1 A* p
  536. ; Production value: On
    # \6 f3 O; t3 v
  537. ; http://php.net/html-errors
    & M& Q( n, D( Q0 ?9 y- z& M
  538. html_errors = On/ S6 F- ]' a) G
  539. 4 F1 @# z  C8 ], }1 T! I3 Y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ' r8 y# Y$ M) V% G* m% u& Y9 U8 P6 |) K
  541. ; produces clickable error messages that direct to a page describing the error
    0 m" j% z4 z( }; J0 g! _
  542. ; or function causing the error in detail.- K: A/ ^5 l, ^+ z! v) X5 h
  543. ; You can download a copy of the PHP manual from http://php.net/docs9 n- n2 E. w: {
  544. ; and change docref_root to the base URL of your local copy including the
    . p2 @  q) D- V, M2 ~+ l; ?
  545. ; leading '/'. You must also specify the file extension being used including3 `. V( E7 M* p9 L7 @  ~9 m7 I4 t
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 O$ ~1 U) d4 h/ Z
  547. ; case no links to documentation are generated.. R. I7 `8 J- P( ?8 R9 B
  548. ; Note: Never use this feature for production boxes.
    & d; n4 U3 b, F0 v
  549. ; http://php.net/docref-root7 m/ ?6 q  x. T. r
  550. ; Examples. |# |% e; H3 Y$ {0 q6 S
  551. ;docref_root = "/phpmanual/"% a8 e! k/ s' z" F

  552. 7 L; H* s$ j2 A! }4 g' n
  553. ; http://php.net/docref-ext
    8 O8 x# n8 i( o( q) g6 P6 W
  554. ;docref_ext = .html  Q& Q& H* \, C. |+ M
  555. $ O- v" z5 [  d) Y
  556. ; String to output before an error message. PHP's default behavior is to leave
    + D+ w7 L2 b1 r! O! D0 V
  557. ; this setting blank.
    ) S' G; i$ O* Q8 p9 P7 e) b& Q- x
  558. ; http://php.net/error-prepend-string
    5 L7 J  ~: }: t/ A+ F
  559. ; Example:
    * Y- C1 i: I0 `( J7 y+ W
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    3 O) T) v5 J7 }

  561. 7 r! Q/ u4 p. \9 N$ M" X
  562. ; String to output after an error message. PHP's default behavior is to leave
    7 B  x& p: w- N  Z9 S
  563. ; this setting blank.3 f5 i' B4 I% A1 N. _; M& {
  564. ; http://php.net/error-append-string" S$ V2 `$ u. i/ O( q6 E
  565. ; Example:
    " S/ P; k# H: [+ v8 x& x7 R. z8 v$ Z
  566. ;error_append_string = "</span>"
    # p2 {6 n8 Y; s
  567. 3 v# H  P7 C' K( L9 J
  568. ; Log errors to specified file. PHP's default behavior is to leave this value& O8 e1 j! l. h% K( N
  569. ; empty.
    4 v2 [7 \' j! s4 K
  570. ; http://php.net/error-log# o1 H$ s: |& {! [
  571. ; Example:
    , S4 J- K* M% Z6 `
  572. ;error_log = php_errors.log
    $ N7 h* Y; z* o) a2 \
  573. ; Log errors to syslog (Event Log on Windows).
    ( r: e; O% ?3 ^+ h0 i' K* ^, ]
  574. ;error_log = syslog
    5 T" O8 \) N$ ]) M5 g; g" n+ F( s# i

  575. ; O: }3 S2 c9 _# S* _
  576. ;windows.show_crt_warning* F" W  A5 O# n  I. s
  577. ; Default value: 0
    5 y* o% a* |& u  @" j
  578. ; Development value: 0
    " C! J5 n+ X8 e! q
  579. ; Production value: 0, o" n3 E8 U( s3 x6 [5 q
  580. 1 ^. y  j2 J+ T% B, D1 W" t
  581. ;;;;;;;;;;;;;;;;;
    ! w8 ?# E# n5 ^: F
  582. ; Data Handling ;, [( x3 d1 j) a3 e: s
  583. ;;;;;;;;;;;;;;;;;% m3 T! S7 I2 t; I& B
  584. - m6 M8 x4 y4 O3 _
  585. ; The separator used in PHP generated URLs to separate arguments.% N( R) ~  j+ i9 x
  586. ; PHP's default setting is "&".
    ( t* F/ e  O/ h1 k- i- h# ]9 n# ~
  587. ; http://php.net/arg-separator.output
    9 X% x9 {+ K9 e( Y" q# e# `# l
  588. ; Example:
    9 p( v+ D+ j! ?0 Z( V, k' C
  589. ;arg_separator.output = "&amp;"2 \* b9 d' v* N  x$ X- g' X! s9 _
  590. / b# F2 P5 e, I
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ! a! @. n. O$ K/ G2 q' L
  592. ; PHP's default setting is "&"." G5 Z3 G: o- B* T' `5 @
  593. ; NOTE: Every character in this directive is considered as separator!
    5 v* t+ j  ?) k- Z6 p0 S6 Y( t
  594. ; http://php.net/arg-separator.input
    - w3 S" Q9 K3 U! h, @( N4 v
  595. ; Example:
    2 c, T& B- \9 q! p
  596. ;arg_separator.input = ";&"4 Y. u9 J/ R& K; s' K- |6 L

  597. ( ]+ A( E: b! Q' J. v7 I+ [
  598. ; This directive determines which super global arrays are registered when PHP; m2 h2 X3 R7 g: Z- s
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super) b- o9 O) `1 K$ Y
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    5 l0 M/ H8 V: [8 s" |% ?6 G! J2 W
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    4 p2 U5 b; Y3 D' S& e: f
  602. ; used as the others, ENV is not recommended on productions servers. You" p; D+ T6 ]9 p* y- I/ F9 d- _
  603. ; can still get access to the environment variables through getenv() should you
    " C; w/ m3 d; N" F$ ~0 w& i
  604. ; need to./ T9 [! Y7 B' |/ T
  605. ; Default Value: "EGPCS"
    ' Y8 ]  S; F$ j$ C9 V9 O
  606. ; Development Value: "GPCS"
    # g: e! ^+ d/ A  U" p4 U
  607. ; Production Value: "GPCS";( a- j, T0 Y- v" q* o
  608. ; http://php.net/variables-order0 q/ J! U! ]4 t, J
  609. variables_order = "GPCS"/ |4 I  T0 g3 F1 W$ H

  610. " |8 k0 J+ P2 c0 e' u/ s% ^
  611. ; This directive determines which super global data (G,P & C) should be; X' i1 @, ^6 j3 G4 m  A4 B
  612. ; registered into the super global array REQUEST. If so, it also determines
    2 _) R8 ^, {% M/ ^
  613. ; the order in which that data is registered. The values for this directive
    ' I6 P7 n! B" u$ r9 E
  614. ; are specified in the same manner as the variables_order directive,
      [5 r4 D- l. Q/ f
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set: C  l8 U" \$ s' Q3 N$ {( @, v, T
  616. ; in the variables_order directive. It does not mean it will leave the super
    / T. R# i) Q- r+ ~) U3 {, \
  617. ; globals array REQUEST empty.0 z1 u$ F; }* B7 b  M. l" U
  618. ; Default Value: None
    ' k9 g, j/ y6 ]( h( T
  619. ; Development Value: "GP"
    3 M6 i1 H. b; C% j
  620. ; Production Value: "GP"
    * F3 t$ A3 r5 m* ]# i
  621. ; http://php.net/request-order
    , |* [& R. h: `( K# Y  h: t4 P
  622. request_order = "GP"( h0 v1 J! \% z" O# ~$ t# M
  623. 9 w+ g' [- R9 |' h3 i' j% L
  624. ; This directive determines whether PHP registers $argv & $argc each time it1 q2 c  t5 w7 t; F4 e0 {
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script( F" p9 U9 K* c- Y, J* u
  626. ; is invoked. $argc contains an integer representing the number of arguments
    % S# R& M  G0 {8 N' K- P0 c
  627. ; that were passed when the script was invoked. These arrays are extremely2 [! c, t' x# X" j
  628. ; useful when running scripts from the command line. When this directive is* b( Y7 O  q* g8 {
  629. ; enabled, registering these variables consumes CPU cycles and memory each time% N4 M6 c& b5 U! r* X
  630. ; a script is executed. For performance reasons, this feature should be disabled& k9 }' }, W7 R3 C# d9 _7 \, @
  631. ; on production servers.
    1 y3 [! H$ c. [  Y( o( b
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! A  d# y( ~1 u0 Z5 N& S$ |
  633. ; Default Value: On
      z/ w4 T7 H) h6 g3 p" Q5 e% M
  634. ; Development Value: Off
    0 I) e: e$ W: Y$ `7 @
  635. ; Production Value: Off) N) z6 d/ ]) q, m$ v; N
  636. ; http://php.net/register-argc-argv3 {3 |  X/ I* b8 i$ a. p
  637. register_argc_argv = Off
    3 L, f0 v6 f+ W' j

  638.   H, H3 V( G. [6 z# v. O, t
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    2 J8 C# p" S4 P4 V! ]$ C
  640. ; first used (Just In Time) instead of when the script starts. If these: P9 Q- l# Y+ p4 s3 L: T: W" G$ E
  641. ; variables are not used within a script, having this directive on will result# u$ I4 P7 x3 g  U
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled. S* ^/ C* ]# b, }7 p" W9 G
  643. ; for this directive to have any affect.' R/ N6 D0 z) x
  644. ; http://php.net/auto-globals-jit9 Q+ i4 S1 C+ R9 Z
  645. auto_globals_jit = On
    3 ?; {' W3 c! n

  646. 8 X* P+ ]! V/ Y9 Z
  647. ; Whether PHP will read the POST data." n: q" u" C  U: E; f
  648. ; This option is enabled by default.- H& O+ N; y4 }+ V; ^0 P# Q4 I
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    # W% u" t4 h. t9 s' K! G3 E
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    " M* }! k. Z8 k' O
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    7 ]" ?- u$ ^: z# V
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! K8 K8 b" E# w: w$ A
  653. ; http://php.net/enable-post-data-reading
    4 q6 g' U! C. R: l& ~+ K) N
  654. ;enable_post_data_reading = Off4 Q' G+ H6 ?2 V/ |# k, _, m0 |

  655. ' L$ F: {7 o0 \
  656. ; Maximum size of POST data that PHP will accept., B* h4 t' D9 }( P( D0 Q& [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading- X: H# L; j' E( `$ z4 U# s/ c3 s! {
  658. ; is disabled through enable_post_data_reading.$ D9 D1 j6 S: k/ ]( n+ z( L
  659. ; http://php.net/post-max-size$ S# P0 l4 Z8 Q- A) {# @% m$ S8 B
  660. post_max_size = 50M* {( E6 x6 R2 y5 x4 `$ Y
  661. + Y, c+ R6 m( D$ L
  662. ; Automatically add files before PHP document.
    ; \: e# P; o1 `
  663. ; http://php.net/auto-prepend-file' A: [# G, g2 K
  664. auto_prepend_file =9 J. B) N4 w! Z$ V9 N

  665. ! A/ j7 C7 Y: p. @, M. o% J4 ^
  666. ; Automatically add files after PHP document.4 D$ S4 h$ c, L1 x# a# C
  667. ; http://php.net/auto-append-file; e) N9 o4 N/ s3 g( c. z3 K% M( _
  668. auto_append_file =
    1 f2 q# n' E9 M: c* X

  669. 1 e1 z- F  q+ \/ x! T( {
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ( Y) R1 m$ B. z2 v( q
  671. ; disable this, simply set it to be empty.
    9 Q0 U- j4 C' K- H
  672. ;8 q/ H& r& Q  N& s
  673. ; PHP's built-in default media type is set to text/html.; v, B$ r8 B' \6 O( k( z
  674. ; http://php.net/default-mimetype. m& r( k# d$ I- g/ |
  675. default_mimetype = "text/html"1 f4 U+ y( A" ?) S! l

  676. . l2 I  a9 k  Y7 M9 w4 |: P  i
  677. ; PHP's default character set is set to UTF-8.
    8 t. ~* V% |8 F  z
  678. ; http://php.net/default-charset6 J- W; E+ P7 D/ p0 A
  679. default_charset = "UTF-8"4 }3 W# D7 _) i. Y4 J8 Q

  680. 3 w* v0 z  n, ~* U* B/ }) |5 \
  681. ; PHP internal character encoding is set to empty.
    ; v. d" g6 [! X% E  A, j
  682. ; If empty, default_charset is used.
    . c/ p" E' K, ~! D1 a' b
  683. ; http://php.net/internal-encoding
    - W$ i; p2 x3 x9 i
  684. ;internal_encoding =
    + d2 p' u0 m: M) B9 }# V& i+ ^
  685.   w/ q, w9 {$ I4 k& [' y3 A
  686. ; PHP input character encoding is set to empty.8 j  T* H/ a- C+ Y4 i! P. }
  687. ; If empty, default_charset is used.
    $ D9 @0 k: O7 t
  688. ; http://php.net/input-encoding, @; y- |* k% p/ @- D; t# R: r& H
  689. ;input_encoding =- A6 q' _* O# }9 j0 u

  690. ( l% A1 B; l* r. c2 h
  691. ; PHP output character encoding is set to empty.2 P9 q2 d# e  E4 T) f  Y2 ]  g
  692. ; If empty, default_charset is used.
    ! t( b: n2 G, {8 X% z
  693. ; See also output_buffer.
    + X3 b3 ?9 n7 M. L" b8 ~* L7 g. @
  694. ; http://php.net/output-encoding/ o2 @& [: d$ Z1 Q0 O, I7 K
  695. ;output_encoding =) U9 f! O0 R3 ?  e, S5 ^  G0 I

  696. 3 X4 W8 ~' n" u  C  Y6 G# O$ C; k
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is1 [7 J0 q# R0 @) |( }
  698. ; to disable this feature and it will be removed in a future version.# W7 a! D6 f7 ?& D' G1 h4 [
  699. ; If post reading is disabled through enable_post_data_reading,
    ' ?, p+ H" T4 O
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ) W. r9 M3 l* r7 s2 Z
  701. ; http://php.net/always-populate-raw-post-data
    2 M9 V+ N% o) }# S4 `
  702. ;always_populate_raw_post_data = -1, h; x2 e" A# k& `! k" l# W2 }8 F
  703. 6 Z0 a1 I: Y* \  y: f& ]
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;" S, C* w$ X6 K' M6 I4 h
  705. ; Paths and Directories ;
    , I0 Y) S6 O- S
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;) i; ?) {/ l3 Y6 U* p( U

  707. % }1 a. A9 ~; X% E( O
  708. ; UNIX: "/path1:/path2"
    ! |6 l6 ~# A) Q
  709. ;include_path = ".:/php/includes"
    $ V% b: h9 u( S$ O  s; V7 T
  710. ;6 F. ], h0 }3 Z- d. o
  711. ; Windows: "\path1;\path2"
    4 H- ]. L2 D0 b5 q' o3 F5 D* p
  712. ;include_path = ".;c:\php\includes"- R7 H$ @) w! j7 [; T
  713. ;5 Q* C' v1 R3 p% }1 _2 t
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! V; K9 n- z8 O1 d$ E
  715. ; http://php.net/include-path' d7 I$ r- H9 l0 h3 Z4 X

  716. 7 q8 l$ V! T" {. c/ Y2 C
  717. ; The root of the PHP pages, used only if nonempty.1 p# v( Z9 H+ L/ ]" v  _' a) l
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    8 o$ I5 x, a) }: q( [, \
  719. ; if you are running php as a CGI under any web server (other than IIS)
    * ?' L1 W  e' D* l
  720. ; see documentation for security issues.  The alternate is to use the6 ?" N. }; m+ s9 W/ Z" h. H# [- j0 Y
  721. ; cgi.force_redirect configuration below
      C6 y3 N# v: y) n
  722. ; http://php.net/doc-root
    $ r+ N2 G4 b( [& h7 ~! z
  723. doc_root =
    $ v0 j3 H& k( ?8 Z9 y
  724. , n; g1 }% m8 v6 L% c- ~4 s% v/ K
  725. ; The directory under which PHP opens the script using /~username used only- i6 d7 ]5 |$ @/ o7 A8 d& v# F
  726. ; if nonempty.
    7 C6 X7 F/ V' Z1 e8 S
  727. ; http://php.net/user-dir
    + S8 {5 P3 w* t& n8 \( l
  728. user_dir =
    9 C+ `5 a" B+ |4 b( [: ]

  729. 6 C. d6 |8 r( b$ r9 c1 S
  730. ; Directory in which the loadable extensions (modules) reside.9 j+ P2 j6 W! A
  731. ; http://php.net/extension-dir) k" L+ T- X! P) O
  732. ; extension_dir = "./"
    ; U) E' y& Z9 m; k
  733. ; On windows:. n0 G* t* z$ f3 H! W2 H
  734. ; extension_dir = "ext"$ ]( @3 @- l, \) S& p$ a7 m
  735. % H4 D3 j, Q& Y* E
  736. ; Directory where the temporary files should be placed.
      K4 r2 V" x* s9 N" Z* \8 j
  737. ; Defaults to the system default (see sys_get_temp_dir)& e# g- F$ O! |$ t. ?& `$ l
  738. ; sys_temp_dir = "/tmp"( _, s& i6 N9 S: k& {
  739. , X& d3 v) J: Z; _  k/ `( u6 O, g
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    5 e2 H  q9 V+ ?* ]
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically; Y; E1 L! N! f
  742. ; disabled on them.
    ' B% A' X$ {2 p$ q# u  D, h
  743. ; http://php.net/enable-dl0 \1 ~  k5 m0 j6 |7 e
  744. enable_dl = Off
    7 W" E' K' Q+ g% \
  745. 9 c4 d* A5 ~( R1 E
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under, V9 O! t2 x- \
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    - \" s2 X7 i" x8 G4 Q
  748. ; turn it off here AT YOUR OWN RISK
    5 p, p4 g9 ]9 n" Z! b9 e
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    2 D' u- l; X  Z( q, k- A5 g  D
  750. ; http://php.net/cgi.force-redirect
    8 [8 D1 ^- z' O" \7 \3 [' u
  751. ;cgi.force_redirect = 1" H6 o% h# j  w. }

  752. * a1 w  N) F: ?* J/ ?
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 \: T( f+ j4 P; Q
  754. ; every request. PHP's default behavior is to disable this feature." Z; u! S' o( J# j9 ~+ R% ]. J3 W
  755. ;cgi.nph = 1
    . Z# ]5 A6 \9 N3 o( n$ g- x: K

  756. & n! t, P  c4 o5 f3 a5 t
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    5 s' w7 j1 Z  {$ C, Z; i
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP' V; K' t/ |# {" \
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ! I) y, q% K  k- a) D( R- D
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.' P' o* {5 I/ L( [' N! A  S
  761. ; http://php.net/cgi.redirect-status-env$ v$ A" [$ F: a( S1 i) Q! y+ M4 D
  762. ;cgi.redirect_status_env =
    . K& m) ?9 p$ K1 ]; K
  763. 8 R' P; S% t" S" R3 o+ p) w
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , U( i6 B. f# d9 |  ?
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok! M9 f: f1 U' n( [
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" [5 [6 f! z. R* ?: n
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    1 n3 \( H8 ]- p7 n* J
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# Q% E% l; G9 G; ?! P; `$ J2 h: x
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.' L' z# r0 e' K6 b& o
  770. ; http://php.net/cgi.fix-pathinfo0 o1 B7 N# t$ J  S
  771. cgi.fix_pathinfo=1
      {- \: M; e$ x* v' C! h3 m
  772. ; j2 \3 |' D( c# t0 M0 B' g
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside. G5 J0 R8 L6 i  H
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    * R2 f+ h, y. e
  775. ; http://php.net/cgi.dicard-path
    , \5 x* D4 V- v: q8 ]9 P
  776. ;cgi.discard_path=1: S% n7 ^4 b9 F( q

  777.   Q3 b0 s2 g3 y9 r: \
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate3 ~9 f. \  Y' v  M# A3 X+ T4 P
  779. ; security tokens of the calling client.  This allows IIS to define the2 m0 o5 s; g" w; H  g6 r# G0 @& X
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    4 V  f+ |* T) c" c! Q; Z
  781. ; does not currently support this feature (03/17/2002)
    - b+ v. v' I' @
  782. ; Set to 1 if running under IIS.  Default is zero.& c  \0 c! I4 l" M
  783. ; http://php.net/fastcgi.impersonate! l% s5 ^% g5 M- ~8 L
  784. ;fastcgi.impersonate = 1
    $ G% P* j1 P6 y5 }  X8 F

  785. 1 f5 i5 ]' H) K  b
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    4 b! Y9 c( q/ o; ]) e  G8 _
  787. ; this feature.0 B; E' u. l0 ~
  788. ;fastcgi.logging = 0
    % b% f4 J' @+ E/ O7 F

  789. ! r/ H- _( ^2 M- m/ P" S! {$ R
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: e- g; S' C5 K3 ]9 _5 X
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that& F6 D; W" s4 W5 X) W4 H
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ! [+ j9 ]9 D+ J
  793. ; RFC2616 compliant header.
    , J1 e6 K$ w5 A
  794. ; Default is zero.
    0 V- F4 z' H; Z
  795. ; http://php.net/cgi.rfc2616-headers% K3 y: F- H1 m( _9 s
  796. ;cgi.rfc2616_headers = 0
    3 C5 d; q$ `  x. ]; `

  797. # A) w+ W7 A6 R8 G" b
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * X$ O+ ^$ L" W' e0 l. ?  W7 o
  799. ; (shebang) at the top of the running script. This line might be needed if the! G; U+ }- K' d  y# t1 z
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . \1 F0 R" T! U. P8 C% H
  801. ; mode skips this line and ignores its content if this directive is turned on.
    . C5 H% I. [2 q/ i; L* X) G
  802. ; http://php.net/cgi.check-shebang-line
    5 x, p$ g4 e, P
  803. ;cgi.check_shebang_line=1
      y7 x" c2 O( p% _' N( j: V, n
  804. # w4 V( g5 B/ v
  805. ;;;;;;;;;;;;;;;;
    ) i0 w2 v" Y3 g. R
  806. ; File Uploads ;3 _5 k+ s8 Q6 p7 i" U
  807. ;;;;;;;;;;;;;;;;, ?7 U! h$ W* m" e% j
  808. / p3 \0 O; S- [* U: d! @4 Y
  809. ; Whether to allow HTTP file uploads.
    / \) i7 t8 Z* @; K8 }% y- ~
  810. ; http://php.net/file-uploads
    # e3 i0 K# U' s( X
  811. file_uploads = On+ O! Y1 N* J: [, \$ \

  812. 0 y! h! V  W' U. P
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- a- j% i* E3 d: m1 Y3 D8 |
  814. ; specified).3 B4 E$ X0 c5 S" E
  815. ; http://php.net/upload-tmp-dir
    ( {! l% A% o* ^  q" k* u
  816. ;upload_tmp_dir =
      _& c1 I1 z3 [; S6 I

  817. - {% {8 b  Y2 u2 C, j+ o
  818. ; Maximum allowed size for uploaded files.+ _: F$ c: }7 ]. w2 k$ v+ w
  819. ; http://php.net/upload-max-filesize
    ) r" t9 u" ~3 V. {4 ]
  820. upload_max_filesize = 50M
    0 Z8 @) A% \+ N) ]5 J! V/ Y5 h, p
  821. " ?' k" y; Z* X0 ^
  822. ; Maximum number of files that can be uploaded via a single request( U& S) S3 _! Z% `: V
  823. max_file_uploads = 20
    7 P* Y4 W5 {+ D* ^! T1 g& e5 [2 u
  824. ; p- C6 v1 B; W) r
  825. ;;;;;;;;;;;;;;;;;;0 I. l& M4 `5 o; I: J$ ~) v* A
  826. ; Fopen wrappers ;$ B1 C) Q% E. l$ U% e  l2 g8 {* w  X
  827. ;;;;;;;;;;;;;;;;;;: X; X, q7 ^' l$ w. u- l
  828. ! v. X0 _3 r( i) S/ q- L
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ( }, H. ]7 e( R
  830. ; http://php.net/allow-url-fopen+ p& R2 {; O& ^# W
  831. allow_url_fopen = On4 E* q3 R: B& A  y% q
  832. & J6 i1 P3 m( u2 I- ?3 Y- _: @( {
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." b/ ?! q, J/ H# T. Y5 b! B' G  W
  834. ; http://php.net/allow-url-include5 T  d* N' X4 ]# K# L
  835. allow_url_include = Off
    1 A3 \$ ^+ n- `8 m- s

  836.   Y  }9 s& h: |9 A# n
  837. ; Define the anonymous ftp password (your email address). PHP's default setting9 Z4 Q, z4 l' h0 {' m7 |  T! O. \4 O
  838. ; for this is empty.! R, E4 b# R% B- O! U) S% k
  839. ; http://php.net/from
    + T; O5 L6 U! }! H
  840. ;from="john@doe.com"
    ; Y' m( ~5 u" o  N; Y* ?

  841. + F# u( U- F  q3 u2 @% B
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    8 H! y* n% ~  K, S
  843. ; http://php.net/user-agent9 S1 f6 V  L& H- [+ o) `6 T
  844. ;user_agent="PHP"; r- K) ]& I4 ^3 O
  845. , @8 u5 o  c8 \+ w9 P; g
  846. ; Default timeout for socket based streams (seconds)& Q" ^) O5 T4 q& B/ L( O% O
  847. ; http://php.net/default-socket-timeout: N2 h/ u! K. y) ~9 `" s/ P- a
  848. default_socket_timeout = 60
    ( e5 U( K1 V+ m5 G( }8 E

  849. ! W, _/ f& M- p3 t/ ~6 E! y  {0 |) N0 |& Y
  850. ; If your scripts have to deal with files from Macintosh systems,
    ( W0 Z; v3 r6 O; E  {0 ^2 z
  851. ; or you are running on a Mac and need to deal with files from
    8 }! L4 I( S' @/ L% b' T
  852. ; unix or win32 systems, setting this flag will cause PHP to
    5 @; W) s% x4 {/ E# v& E2 K1 u
  853. ; automatically detect the EOL character in those files so that* z0 J4 ]1 P" ?' i' n
  854. ; fgets() and file() will work regardless of the source of the file.
    1 A, u2 i& y- p( I$ x9 Q" m
  855. ; http://php.net/auto-detect-line-endings
    + K( t! Q6 A! M/ E3 q
  856. ;auto_detect_line_endings = Off3 ?( |% m0 V% v' A0 |: M
  857. # p# p% ?8 y/ X: i
  858. ;;;;;;;;;;;;;;;;;;;;;;: ?4 c" o  V5 S7 V* k8 V
  859. ; Dynamic Extensions ;
    " c9 B( p# `5 N5 x4 ]
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ) K+ H5 l3 Z% Q0 H' U

  861. & _/ J' B+ G% p; |$ o- A
  862. ; If you wish to have an extension loaded automatically, use the following) I6 {$ z  z  Y3 A; w( |
  863. ; syntax:8 x& ], ]# u) M) e
  864. ;* h4 I' H; S+ D" b7 h
  865. ;   extension=modulename.extension3 a" S5 p) X  ~1 f+ w* P
  866. ;1 J% z# O9 m: Q4 Y5 r% n
  867. ; For example, on Windows:
    / V3 i4 \& h$ b" o: k. g: r2 g
  868. ;1 A5 b1 l3 @- r: V* k' P& a
  869. ;   extension=msql.dll
    / l. t0 I) }  t4 \: b0 A$ i5 B. d
  870. ;
    0 o0 C3 w* O( y& T; X* G
  871. ; ... or under UNIX:4 s9 q+ c! M! L, ^$ u
  872. ;
    $ W, v. w; u. i# T" J) h
  873. ;   extension=msql.so3 v, I! m( P" u& |
  874. ;, l8 b% z2 V, u4 J0 d+ Q
  875. ; ... or with a path:8 y4 X, a6 @9 o" z9 i
  876. ;
    * J4 W9 O8 `% {! ]" M9 L# d
  877. ;   extension=/path/to/extension/msql.so
    0 R8 R) }5 P" v! @5 a" u
  878. ;
    * Q- t: ?- c) d
  879. ; If you only provide the name of the extension, PHP will look for it in its
    + l  i: W% {7 @7 L2 o$ I
  880. ; default extension directory.
    2 U, Y5 M+ h8 U$ @# {: c' q) V0 ?
  881. ;
    7 S2 j1 b3 @$ d$ ~% _/ O3 v5 c
  882. ; Windows Extensions4 C1 S' G7 I; R* r8 A5 z: k( V
  883. ; Note that ODBC support is built in, so no dll is needed for it.9 m/ H0 Q0 v' c5 G# N
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    8 Q+ L/ e7 Z: T. }3 W6 h
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).: e* m! X( t( K7 v% [2 B( |
  886. ; Be sure to appropriately set the extension_dir directive.
    7 ?0 Y  |8 A8 u2 V0 \
  887. ;
    7 Y) Z" W7 B, c! a. m5 @+ V" ?# k. L
  888. ;extension=php_bz2.dll. P9 T$ V9 J' L& j/ c3 }) Z
  889. ;extension=php_curl.dll& d. W( U' n& W! e! z3 r# O
  890. ;extension=php_fileinfo.dll% v- m8 z" r7 V/ u2 e1 n' z* p- A
  891. ;extension=php_gd2.dll
    1 I9 r* `* B: I, n9 g9 t
  892. ;extension=php_gettext.dll% v8 X  y( J) F! G* n
  893. ;extension=php_gmp.dll
    - p& ^1 H& p3 r# m9 {, ]
  894. ;extension=php_intl.dll1 Y5 u# }& k# C1 f3 [
  895. ;extension=php_imap.dll# X3 k2 ^2 l; W9 m- b7 a7 x
  896. ;extension=php_interbase.dll- G6 I% K9 u3 N9 f9 h2 \4 g
  897. ;extension=php_ldap.dll
    7 ?3 s' x: d$ Z: L5 @3 y" X# ~0 m- Z
  898. ;extension=php_mbstring.dll
    * b; |2 k- h2 Q: _, O6 c
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    3 U7 H. q  k( U0 a& H* J4 n0 b! A
  900. ;extension=php_mysql.dll
    & L6 s. o5 B! p$ A! t
  901. ;extension=php_mysqli.dll
    6 T0 Q" J1 x7 X; o
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    - h% K+ B. ~$ u5 T% \
  903. ;extension=php_openssl.dll
    ) Q; {: o$ a" X) s/ ]
  904. ;extension=php_pdo_firebird.dll
    ! d7 v3 W( c& [1 k4 r7 m! i  ~  t: H" G
  905. ;extension=php_pdo_mysql.dll
    . m" V5 G" |. f3 ]& Y& W0 a7 }
  906. ;extension=php_pdo_oci.dll% D: K9 ]7 |, w$ ?$ n/ _7 }
  907. ;extension=php_pdo_odbc.dll) e1 |9 N* m5 P9 ^
  908. ;extension=php_pdo_pgsql.dll' V4 O+ D( v  A* C7 n/ L% {. _
  909. ;extension=php_pdo_sqlite.dll
    4 f; x3 G" u2 V3 n3 y. x
  910. ;extension=php_pgsql.dll# ^7 A; z# k4 H  M0 g: n" D% H& T6 Z/ H
  911. ;extension=php_shmop.dll' _+ d5 J% G) J" U5 }8 g

  912. : G; q* Y3 x- [1 @
  913. ; The MIBS data available in the PHP distribution must be installed.
    1 Z2 o- y. y8 w5 B
  914. ; See http://www.php.net/manual/en/snmp.installation.php " |" v; ~  \1 v8 @8 m. S
  915. ;extension=php_snmp.dll+ `- [. X1 P+ {2 F

  916. ! f* K6 Y0 n) S
  917. ;extension=php_soap.dll
    ; Y+ H  \; N- k  [- `, t# h* W
  918. ;extension=php_sockets.dll
    * R* L/ p; [: j
  919. ;extension=php_sqlite3.dll
    ( b) p- N/ M$ ]( k8 k8 s
  920. ;extension=php_sybase_ct.dll) Q. W3 x" `+ A8 f7 e3 ?
  921. ;extension=php_tidy.dll7 j4 j  \9 l, r  }0 C0 e# m  |8 J
  922. ;extension=php_xmlrpc.dll& t, |2 a5 S1 k5 G8 {
  923. ;extension=php_xsl.dll0 U  g4 W2 e# O4 v$ w; d
  924. ; I% S5 I8 q2 P3 R$ z/ p
  925. ;;;;;;;;;;;;;;;;;;;7 p# ^. M$ B* I2 @/ c
  926. ; Module Settings ;
    . V  z6 O0 b2 t- l7 Q
  927. ;;;;;;;;;;;;;;;;;;;# P+ D- j6 w1 s+ Q2 S. I
  928. + R% i; n. A# q0 B' o
  929. [CLI Server]
    ! m" w3 H, {1 r5 ]8 g; G$ K
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.# S. u/ H: H6 H4 M
  931. cli_server.color = On) R$ z8 v& J3 w& i. L) ^( R

  932. ( B& C: e( a  c- j" M
  933. [Date]
    " }3 D+ W, C. O  v) [
  934. ; Defines the default timezone used by the date functions8 q3 H( |: Y5 w+ {
  935. ; http://php.net/date.timezone
    # B, G- X" J9 i% X3 m7 o! L, h
  936. date.timezone = PRC
    - n& {- e: G3 W# v6 [( o

  937. ; |- t) s2 T! d
  938. ; http://php.net/date.default-latitude
    9 m( J: D: W& k7 ]& B( z
  939. ;date.default_latitude = 31.7667
    % T( [6 p% M' Q/ P
  940. 1 B- M' ~0 c$ R. a# v2 }' P* F$ w
  941. ; http://php.net/date.default-longitude
    - ?6 M) ?( m$ f* g7 U
  942. ;date.default_longitude = 35.2333
    , U0 m2 |: p& s9 }2 |: o

  943. 9 h: [) E  q, a" \
  944. ; http://php.net/date.sunrise-zenith
    ( C: S9 Y4 p6 ~& _
  945. ;date.sunrise_zenith = 90.583333: Y" V7 g5 p# T- @4 G
  946. 2 m5 S" ^) v) d1 s! F& M3 U
  947. ; http://php.net/date.sunset-zenith, j) L: p; `! ~# z) b! w6 B) ^' I
  948. ;date.sunset_zenith = 90.583333
    - ?$ ^5 a- }- x- f

  949. 3 f2 v. G* ]6 E+ O
  950. [filter]
    : t* g0 N$ ~/ g: a; a  w
  951. ; http://php.net/filter.default2 k- M( u/ h5 q/ @
  952. ;filter.default = unsafe_raw
    & `: \. v+ w. v8 _  g; W
  953. , E# ^/ O% z6 P3 I, u  ]2 m+ ]
  954. ; http://php.net/filter.default-flags+ V1 D% h4 b- [. ~" E6 {9 ^
  955. ;filter.default_flags =
    . h/ ~3 `: T' @) @( |5 s) o" F! l
  956. / a/ I4 i8 {% Y
  957. [iconv]
    , q' ?* g+ w+ A2 P- w
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 r( p0 r; {+ }
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; C3 `, g* K8 P" P8 \6 |
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding" \: V$ V+ I! T1 M$ i4 h2 o1 R; l( A
  961. ;iconv.input_encoding =2 W1 f! h* |0 @. _$ ?1 L2 ~3 b
  962. 1 n3 ^3 `. Z3 b, R1 e6 p0 x
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.: b, S. b' P4 M( ]2 n/ M9 {
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  z3 p! f' Z0 J0 m+ C
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % ]7 z3 h* `; p) R% v
  966. ;iconv.internal_encoding =0 o1 w9 o: A1 f6 C$ G  _/ P7 k7 m. i

  967. 4 w3 W$ y1 ~  Q% w3 ?; k
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.# s* s6 `  \  ]/ W5 i' |
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 F; S+ A' G6 r; C- D2 P
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    : Q1 X- T9 H) L: g4 a! b' z1 [
  971. ; To use an output encoding conversion, iconv's output handler must be set! \; C9 ]+ @+ n8 Z# s' m0 y
  972. ; otherwise output encoding conversion cannot be performed.4 M3 d1 j1 c& v; a1 j2 p' X
  973. ;iconv.output_encoding =, S$ i, S5 i) H" [4 G( s

  974. 7 X" `& D) n7 T& x& u  \
  975. [intl]
    6 r1 @. K' k  y5 v+ v
  976. ;intl.default_locale =/ S( b6 t$ a1 [
  977. ; This directive allows you to produce PHP errors when some error' K- v" m" h  p
  978. ; happens within intl functions. The value is the level of the error produced.
    8 D* }" u* p" [1 s  j
  979. ; Default is 0, which does not produce any errors.
    2 l4 X" a) y' p" ?7 H1 F4 |
  980. ;intl.error_level = E_WARNING
    ) |* h* r: _5 c5 T" y' l
  981. ;intl.use_exceptions = 0
    3 D8 c. P2 i$ J
  982. ' c. [2 ^3 v6 t: G  S$ g3 u# ]
  983. [sqlite3]
    4 ~6 G, z9 x4 B  e( H* f
  984. ;sqlite3.extension_dir =
      s& Q' g( X: q5 A. k

  985. 1 _! E1 \' `8 h' _# c5 ?
  986. [Pcre]
    8 F  S; |, ^! u9 t6 a( j
  987. ;PCRE library backtracking limit.! Q1 _! S$ P) r/ W: c- H8 ]6 c3 [3 K
  988. ; http://php.net/pcre.backtrack-limit4 e' q; }, }+ j. R
  989. ;pcre.backtrack_limit=100000( g4 f# ~! `) s5 t  T* D% ~
  990. " @( ?7 r' E# r7 ^0 Z1 |
  991. ;PCRE library recursion limit.$ k# b5 s5 N: w" K
  992. ;Please note that if you set this value to a high number you may consume all
    8 ^/ d- N5 H1 B) j9 o* m
  993. ;the available process stack and eventually crash PHP (due to reaching the# e- w# |, a8 [  M2 T& k. D; h
  994. ;stack size limit imposed by the Operating System).: g, X  H: |7 t9 \9 A6 C# s
  995. ; http://php.net/pcre.recursion-limit
    5 _3 P4 `3 g" G. e0 w  I, p0 t
  996. ;pcre.recursion_limit=100000
    9 ^. d$ J* e! H. V# {

  997. - g3 q6 W: q( N
  998. [Pdo]; e* _, V. d" I7 ~, S5 G& e; F
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ( P/ ~/ b" a* a$ b
  1000. ; http://php.net/pdo-odbc.connection-pooling3 w" ]& t1 ], _; x7 l! J& b, o
  1001. ;pdo_odbc.connection_pooling=strict! x/ P' G! w8 D- E' m

  1002. % i+ \! l5 o4 O$ o0 A$ L" }, ~
  1003. ;pdo_odbc.db2_instance_name' A! p  I5 D: w/ [
  1004. . D0 {2 D) a9 z) t, s1 e' l
  1005. [Pdo_mysql]
    0 b1 Y4 a4 W- v) _
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 D6 N9 M# J0 D3 j1 I$ W
  1007. ; http://php.net/pdo_mysql.cache_size
    $ i) p+ |9 K; ?/ G+ N
  1008. pdo_mysql.cache_size = 2000
    ! N  C# C0 F# m6 ^  }# B# {8 _

  1009. 4 @7 _9 Q) T( L5 v( [
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' Z; b2 ~. ?5 a8 Z7 k$ e0 Z- q
  1011. ; MySQL defaults.
    6 }4 R; w. `; H6 P# {
  1012. ; http://php.net/pdo_mysql.default-socket
    5 k: g" g% \; \% `/ m: _8 R$ p
  1013. pdo_mysql.default_socket=
    " ?7 y( R, y& z( v% H

  1014. & P' U+ p! n4 T0 c& r: e! i
  1015. [Phar]
    8 q( |6 c7 m5 V* ~
  1016. ; http://php.net/phar.readonly' ?8 Q3 @/ _% v1 t$ U% E
  1017. ;phar.readonly = On8 b% \4 E' v- s2 \

  1018. 8 A6 k3 m* w& d+ y
  1019. ; http://php.net/phar.require-hash
    ! ?& p! J) V5 P- s" e. h) h* }: v- u
  1020. ;phar.require_hash = On. H% q" U! V+ V2 W4 D
  1021. ; w" m7 g! @) j# z) Q' z
  1022. ;phar.cache_list =  k. _3 i" i/ t8 H4 p* O4 A& M& [
  1023. 6 p2 s& h8 b; R8 _0 `8 B4 G
  1024. [mail function]
    ( b. H* `$ I; W: u5 z
  1025. ; For Win32 only.
    $ `; L4 H7 n$ c2 \' ^" c
  1026. ; http://php.net/smtp! p. N9 S3 x/ l% _3 j2 l# R
  1027. SMTP = localhost
    , O4 t, }+ z+ e) Q( T  t2 x6 J1 s
  1028. ; http://php.net/smtp-port
    , @& \+ h" W& }( {  m0 A0 l+ z
  1029. smtp_port = 25
    ; Y) D3 L7 }. n/ u: P2 N

  1030. : U- }5 B3 Y! s7 W
  1031. ; For Win32 only.: S" g3 c  d  ^6 K  F
  1032. ; http://php.net/sendmail-from- v" g7 i+ _( H/ R
  1033. ;sendmail_from = me@example.com! O. e2 h" T( D. v! c

  1034. 5 `0 a. i; ^" O6 W9 L" a
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")." z1 P# Y3 H/ K+ n7 |; ~, I4 Z
  1036. ; http://php.net/sendmail-path, y0 n* {4 r6 R& z$ n" ~$ u( t
  1037. sendmail_path = /usr/sbin/sendmail -t -i$ }. E6 U6 L# r- w$ m

  1038. 7 P* w4 [2 H3 t* T- \" ?% j2 x2 c
  1039. ; Force the addition of the specified parameters to be passed as extra parameters  i- \7 j; x/ ^! T& o: n' ~) ?
  1040. ; to the sendmail binary. These parameters will always replace the value of
      ~5 X; A* [( f
  1041. ; the 5th parameter to mail().
    1 i- s) ?" X# d) A
  1042. ;mail.force_extra_parameters =1 `; x8 X$ }8 U9 ?3 {/ g

  1043. 6 Y& Z7 k% Z) G
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    2 G$ w3 y5 D& `
  1045. mail.add_x_header = On
    / P! {  c* o1 ~- b; W

  1046. ! v+ h4 M5 {% i5 P- I; ~+ I
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    2 _9 j1 k, e3 \) z1 I
  1048. ; the full path of the script, line number, To address and headers.
    " Q  C2 }* P% `  K! J( Q
  1049. ;mail.log =
    7 ?' u8 r' E5 B$ k. a
  1050. ; Log mail to syslog (Event Log on Windows).
    / M+ @' L8 ^& K( N5 p' o
  1051. ;mail.log = syslog! F/ J& l1 D8 z; q: }) }
  1052. $ J, s: H/ m+ `2 q5 M  J( A4 [# R
  1053. [SQL]
    & \; z0 q0 ?' H5 f( Q
  1054. ; http://php.net/sql.safe-mode
    ! u$ l1 v$ d: K9 @0 {9 q4 x
  1055. sql.safe_mode = Off
    0 H/ W# r7 A6 N* P( u* K; ~6 X. D. q$ Y+ ]

  1056. 1 ]( h& @7 r6 ]6 \- I/ A
  1057. [ODBC]
    - [% A$ i: K4 M5 D& r9 c1 y: A$ A
  1058. ; http://php.net/odbc.default-db8 v- J# V4 q# U/ I
  1059. ;odbc.default_db    =  Not yet implemented
    $ a- w+ C1 y2 \2 }5 G
  1060. 8 E9 u. F0 s2 I
  1061. ; http://php.net/odbc.default-user
    & A4 U1 _7 U1 F$ ?9 ]- p. c
  1062. ;odbc.default_user  =  Not yet implemented! |5 H; T0 \" m  B: ?3 c) U
  1063. 7 I3 w, b( K6 T* T4 s% L- P
  1064. ; http://php.net/odbc.default-pw' n  k$ s7 B: z( V0 O
  1065. ;odbc.default_pw    =  Not yet implemented4 x7 a8 p: t0 O6 k! _! A$ s

  1066. + n+ G7 |0 g) z, T1 b, Q* o. ]  N
  1067. ; Controls the ODBC cursor model.& I- |+ ?" P& Y: w( j
  1068. ; Default: SQL_CURSOR_STATIC (default).
    8 _1 ^$ q/ k7 v% f* B5 _
  1069. ;odbc.default_cursortype
    0 ]1 C. [8 j% k( w6 h* t1 f! }

  1070. , t8 q6 W$ g% e
  1071. ; Allow or prevent persistent links.
    . P$ M- ~9 j# t7 y' z; P1 V
  1072. ; http://php.net/odbc.allow-persistent  O, D9 l) W/ M
  1073. odbc.allow_persistent = On  U! D9 m. `# h

  1074. . r, p" V: h+ S: Y; S
  1075. ; Check that a connection is still valid before reuse.+ F+ i7 `6 L" A. y) @+ I* d$ i
  1076. ; http://php.net/odbc.check-persistent$ ]( q3 [3 }' X) U& y3 p
  1077. odbc.check_persistent = On
    % M) ~. S* n# O

  1078. 7 l2 \8 e6 v8 L$ [5 L
  1079. ; Maximum number of persistent links.  -1 means no limit.& A1 w8 n- k& {9 }: Z
  1080. ; http://php.net/odbc.max-persistent) X8 M" T4 O/ q* H) |2 E. o8 r8 \4 ~
  1081. odbc.max_persistent = -1
    3 _6 m% {; u# M, e

  1082. + h; U. q9 u7 `/ ~+ L2 q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 }0 T+ `9 c# X/ W4 C. X' V& `( A
  1084. ; http://php.net/odbc.max-links/ k$ ~. v' v" W, U) ~  Z* {
  1085. odbc.max_links = -1
    ) \3 k: G* e) ^; \4 t; V- R

  1086.   }2 W3 ?2 {- Z- ~* z5 w, ]/ f- X
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ e1 G6 c4 H* h5 k. u3 m8 K# C
  1088. ; passthru.; R( B2 H+ J) L
  1089. ; http://php.net/odbc.defaultlrl0 O+ C: N+ F% b$ W* k6 B
  1090. odbc.defaultlrl = 4096
    & y  i( i9 b8 t& e5 w
  1091. 2 c% m, N5 y% I
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.) M. {, V3 X5 W: S2 |
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation* O/ B; W0 b) }/ I1 q( O7 N' t+ Q
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode9 A2 `  B4 X- N% z: d1 Q
  1095. ; http://php.net/odbc.defaultbinmode
    0 F0 r4 I6 y# b8 I$ M
  1096. odbc.defaultbinmode = 1( V. C9 Z/ P$ _* |
  1097. 7 ]- u0 m& Z; q/ }! e5 T
  1098. ;birdstep.max_links = -1
    ) g( F8 @9 ^7 g# ~3 p( T+ B/ V% i
  1099. $ U8 U2 M- l( U& n" t
  1100. [Interbase]) x" t7 ^5 p: U( V! K
  1101. ; Allow or prevent persistent links.
    ( R( j, U- Q! d. P' Q
  1102. ibase.allow_persistent = 1+ ?1 \0 K8 k+ s

  1103. - p5 Z* A+ {$ H. v* m
  1104. ; Maximum number of persistent links.  -1 means no limit.
    * C% C7 F; n# p
  1105. ibase.max_persistent = -1% z. O9 D6 Z' q' c4 E$ r

  1106. ! a6 Q& q, x3 x! A" B! n* Y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 i1 i& x8 t4 J$ o1 w2 M! b
  1108. ibase.max_links = -19 T- C' g, E6 P5 b

  1109. . _$ H% A# M: y) j) o
  1110. ; Default database name for ibase_connect().) V9 ?) A( K6 p! }9 J  S
  1111. ;ibase.default_db =8 Q% s$ T3 p* ]9 j- ~( s

  1112. " o* ~2 c, p, ?, P: R
  1113. ; Default username for ibase_connect().
    + r5 h% @# `; Q; |& c' n& S
  1114. ;ibase.default_user =. ~7 F" s" P+ a+ K9 x& L
  1115. + ]: \% Z' l& q- a
  1116. ; Default password for ibase_connect().
    : w( d# R6 l  J
  1117. ;ibase.default_password =
    0 a( g( V4 g  K. ~- Q, n' ]

  1118. ! j: @+ d8 J6 C6 O3 y* D0 V& h
  1119. ; Default charset for ibase_connect().! s: F" t& r7 [; \+ x9 l
  1120. ;ibase.default_charset =
    , y1 M9 Q, ]% ?" Z7 |! f

  1121. * ]' N; s4 `$ N$ ?; M) n) J, M
  1122. ; Default timestamp format.
    7 X) ]" E0 T: S0 O/ u: @  M
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ; I( n6 `  v' ]( U7 j( {5 M5 p1 T

  1124. 4 a9 v. V4 ?- C# ?: l
  1125. ; Default date format.
    2 B/ r' c" z9 M3 ]1 |' H0 j3 m
  1126. ibase.dateformat = "%Y-%m-%d"- h2 e" y$ S" W, {" R: ~* b$ T
  1127. - K9 O+ L4 _' U7 \4 n6 a' I
  1128. ; Default time format.- v; m% \% u# k
  1129. ibase.timeformat = "%H:%M:%S"
      [) I% C8 W# s6 E

  1130. + \2 A) v/ h4 J3 q' G. a
  1131. [MySQL]# |( P8 V, V+ v; @$ o
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 D0 E8 n( `: Z" A* k( U* H8 `
  1133. ; http://php.net/mysql.allow_local_infile
    % R' C4 q; ^2 ?+ [. X
  1134. mysql.allow_local_infile = On$ p# r  f6 M# g: Z4 {9 w

  1135. 1 C8 X; }0 g  P, ^( P
  1136. ; Allow or prevent persistent links.4 j  D/ |9 E. r$ n8 m! V
  1137. ; http://php.net/mysql.allow-persistent
    , e' V. u7 r& f* ?
  1138. mysql.allow_persistent = On4 W/ |. [) g5 U# e- n* K
  1139. 6 ~- H+ r, ^, M& Y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 X! ?. i8 v& s
  1141. ; http://php.net/mysql.cache_size; q7 K% \8 a; B
  1142. mysql.cache_size = 20003 A( G4 N; ^8 G0 f$ _

  1143. 5 D! g% }; @$ i' B9 t8 ]
  1144. ; Maximum number of persistent links.  -1 means no limit.
    : a! f  e5 q& \* ?3 E# z
  1145. ; http://php.net/mysql.max-persistent: y9 o2 W6 @8 y2 l
  1146. mysql.max_persistent = -1
    ) R2 ?6 ^2 N8 o) A0 ~- L& |, V

  1147. & `, @4 j4 f8 `1 c' _
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; F  v* a$ F: s$ @% }. U* d; u
  1149. ; http://php.net/mysql.max-links
    $ `0 _$ p% i2 f$ V
  1150. mysql.max_links = -1
    . y2 v; O! B7 U# P) d0 e
  1151.   O" i7 ^. U) M! g3 [1 ^
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    5 [, e$ s4 O0 N8 i- ~8 ]
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" Y( \0 L2 T. J& ~; p
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    3 o: Q+ X! l: V6 Q3 Q7 K- c2 \7 K
  1155. ; at MYSQL_PORT.
    . U! o4 p& H) M
  1156. ; http://php.net/mysql.default-port- G8 w7 A- P" T
  1157. mysql.default_port =
    3 q# `( F9 G. v  s) C1 |* W

  1158. . K! l0 W8 V! C, U
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      O- b' [* g' `: a" |8 V0 G
  1160. ; MySQL defaults.0 h; j% m" V, H6 j! i& x1 a' Y
  1161. ; http://php.net/mysql.default-socket/ [6 W7 E9 I/ e4 ^6 S" w+ F% F8 }
  1162. mysql.default_socket =: R; J, ]4 T; J( h! l3 X5 q

  1163. 9 A) E3 K+ f5 @7 F$ I9 b' h
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).8 a$ W; b; b0 q) [* w: ~
  1165. ; http://php.net/mysql.default-host
    2 r6 p* Q" `' Y% Y
  1166. mysql.default_host =6 f: ~( ^& x. B8 `% ]* _
  1167. " H! a) a6 ~6 s3 D* W3 D$ }
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & \  d3 t8 P5 K
  1169. ; http://php.net/mysql.default-user* O% h- Y) _! p
  1170. mysql.default_user =: A& Z  \' X' G7 r* \8 z+ m
  1171. * `8 }) s( D2 [! |
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).4 R" k2 j+ f$ v4 X& f+ V/ W
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.3 p$ D' ?& D* \" j9 b. M% x
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"); f- J/ ]1 @1 D- n$ [" y1 U# G- c" |
  1175. ; and reveal this password!  And of course, any users with read access to this
    : m1 ?0 d: M; l9 q' H3 P
  1176. ; file will be able to reveal the password as well.
    " r8 d! a7 y( B/ g! u$ B& p! {
  1177. ; http://php.net/mysql.default-password
    : ~) _/ d( N6 Z9 q4 Q
  1178. mysql.default_password =# {) r: r) O2 x; T

  1179. / M* F: b: S& i
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    : J: G# u! ?% t- B
  1181. ; http://php.net/mysql.connect-timeout
    ' T' P" _4 d& o9 t& a; B7 c5 R
  1182. mysql.connect_timeout = 60& r& g& w2 p: G  B! S

  1183. $ Z6 M/ m% o8 ?" z4 y
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and7 h! `( u6 a& I* E
  1185. ; SQL-Errors will be displayed.5 ]' c$ s( t2 Z$ L
  1186. ; http://php.net/mysql.trace-mode$ U9 `, F) v$ T0 |9 S
  1187. mysql.trace_mode = Off
      a3 V) B+ ^/ t9 J. W

  1188. ' @* H2 }) W7 m4 }
  1189. [MySQLi]
    ; [" k4 @) C# C) k1 C* v6 ?+ U

  1190. ) N) _( u! R, l: B" ~6 M
  1191. ; Maximum number of persistent links.  -1 means no limit.  r8 V8 w" C) c; M
  1192. ; http://php.net/mysqli.max-persistent
    . b! d  Q* }& U% o$ C
  1193. mysqli.max_persistent = -1/ R0 M# b5 ]# B; i: ~8 l
  1194. 2 c$ c' O/ {, w$ E/ ?9 Z1 t% j0 e
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements2 Y  m+ m0 V4 ~1 r
  1196. ; http://php.net/mysqli.allow_local_infile; P: Q/ e- W+ R0 Y- g
  1197. ;mysqli.allow_local_infile = On
    ' `: P2 D  i+ m$ h) O0 A
  1198. ! Z2 l( R0 y% W- O
  1199. ; Allow or prevent persistent links.
    ( f, x% T1 ?5 m3 B3 D+ T- d
  1200. ; http://php.net/mysqli.allow-persistent
    & Z9 M- Z1 a( ~. B$ e* O
  1201. mysqli.allow_persistent = On
    . X* v6 Y5 d; F+ q0 i4 J
  1202. 1 j% R7 w% y) B3 ?% B, x9 y
  1203. ; Maximum number of links.  -1 means no limit.* F/ E. e6 l, i2 k, |' ^
  1204. ; http://php.net/mysqli.max-links! V( i( U/ n5 L0 o' D$ k0 k. K
  1205. mysqli.max_links = -1
    + ~$ z; F4 ~5 R; M! R. x

  1206. 0 S/ }2 a9 B; ^9 K
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 S; h7 x* Q  x  P0 g- x8 \
  1208. ; http://php.net/mysqli.cache_size
    # r0 E; j" e( F" b5 C+ |
  1209. mysqli.cache_size = 2000
    4 ~3 _6 I9 Q: R0 m9 f
  1210. / w7 p9 ~# B$ r. v  f
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use/ ^# S8 z2 o' |: U0 J& p" N3 [" _
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 m% X# q  W! `! D& p
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. Y' n% T& J2 [9 G
  1214. ; at MYSQL_PORT.$ a/ A# |. s2 `  J; r2 t' T
  1215. ; http://php.net/mysqli.default-port
    ) \" M6 ], Z. |7 R/ d( G0 A$ K) s/ k
  1216. mysqli.default_port = 3306; d9 d' y- Y5 i! R/ e

  1217. 5 D! h* G  L. N9 C7 r
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in& L/ x( ~2 Y5 K0 {" R  u
  1219. ; MySQL defaults.; d2 H* x5 p2 O: e6 E" ^/ n
  1220. ; http://php.net/mysqli.default-socket
    ; ~+ y2 x3 k8 [: {6 F
  1221. mysqli.default_socket =+ q9 D2 g5 w0 h4 A

  1222. : k. g  a$ y$ {, ?& C: _  R6 j+ d
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    5 }' r6 I# m6 p. l. k/ a& r; }
  1224. ; http://php.net/mysqli.default-host
    * T0 U  C8 G3 d# p" z3 P0 P1 `
  1225. mysqli.default_host =7 T. a$ l. }; O' ~6 K

  1226. ) f6 t% m" ]0 Z: Q5 ?
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).( n( s) J% `& h% ?' i1 I) l
  1228. ; http://php.net/mysqli.default-user
    1 o. b& v0 u! J( E/ _
  1229. mysqli.default_user =
    : V2 n. N$ q0 `( a. r
  1230. & ^$ m3 G; g' m" `6 ~
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).- C- h% X$ Y- \. n8 I" ]
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.% N7 H: ~* K3 g4 S/ y$ f
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    2 H4 y( e6 }% l, S
  1234. ; and reveal this password!  And of course, any users with read access to this' L8 h3 M5 z/ x
  1235. ; file will be able to reveal the password as well.
    9 N8 n8 c, e, @. c1 r$ M
  1236. ; http://php.net/mysqli.default-pw
    # Q0 S) ^; u6 ]% w
  1237. mysqli.default_pw =
    2 a* w; R0 j" a# Y* Y  y, r0 Q7 Q

  1238. . r5 P$ s  l/ y
  1239. ; Allow or prevent reconnect
    + S8 `0 i* ]8 ~2 n# ?. E
  1240. mysqli.reconnect = Off, q! Z% T' N, y# {. b/ d2 r
  1241.   O2 z/ x2 D5 f" w: @- C: z0 h
  1242. [mysqlnd]) k7 s8 \( j  I& c) B9 r
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ' Q/ H) O4 v' T1 o) A
  1244. ; used to tune and monitor MySQL operations.9 e& S6 i2 E2 e/ \4 R, p0 \
  1245. ; http://php.net/mysqlnd.collect_statistics- p# o3 |8 h; y3 b
  1246. mysqlnd.collect_statistics = On
    + R4 @- A- ^& K6 ~) F- v
  1247.   F# a' w: L$ L8 v' O
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be7 o& M2 M: S3 k' d0 A( L8 f0 T
  1249. ; used to tune and monitor MySQL operations.9 O, F9 @4 O/ _. j# c7 s
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    * F: c: R; g7 J. |# U* G: A, G
  1251. mysqlnd.collect_memory_statistics = Off
    0 K5 J/ T  |- |$ m  S' @; z
  1252. / ^8 N" X. R" H6 @
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    6 T8 }  Y& I7 o  d0 H0 j- z$ y* l
  1254. ; file.
      H  r- w3 S5 z9 i" u" L
  1255. ; http://php.net/mysqlnd.debug
    ) e' \/ f3 B5 D, k$ D( H& W
  1256. ;mysqlnd.debug =2 y/ L9 d9 N/ _. _

  1257. 3 [: R( z2 f+ G: Q* n  B) Z
  1258. ; Defines which queries will be logged.% u5 x4 S1 R, v' L1 N/ U
  1259. ; http://php.net/mysqlnd.log_mask: t4 Y, T! T9 |
  1260. ;mysqlnd.log_mask = 0
    ; a1 g& E0 d7 o+ U

  1261. ; v6 l! G4 x9 z
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
      c% z9 n# L7 B6 O9 L
  1263. ; http://php.net/mysqlnd.mempool_default_size
    $ t- R+ ~! \  ]- |; M4 `2 V
  1264. ;mysqlnd.mempool_default_size = 16000% i& K0 x1 |# H  O* o+ M2 {
  1265. 1 V* H, m; A! Y/ b' O# w* V
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      a6 a3 X5 @  A/ I- `8 o- H; s
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size$ p0 {2 [% \! `9 ^( a# ?
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    2 a2 H4 Z0 F* p6 }8 T) y( B/ q, I9 M
  1269. 1 I: X) S. \0 C# H
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" @; `# x, ~+ J8 h5 {. m. M+ e7 V
  1271. ; bytes.9 R* C  G5 p! t
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' W. @  ?+ ]) I7 F0 f9 I2 P" K
  1273. ;mysqlnd.net_read_buffer_size = 32768
    * [% Z: [' s; U  b

  1274. 9 Z$ ~7 r6 t+ h
  1275. ; Timeout for network requests in seconds.5 N, F- t- _1 U6 N& O  B
  1276. ; http://php.net/mysqlnd.net_read_timeout
    2 V) `) B- f; ^! ]& H
  1277. ;mysqlnd.net_read_timeout = 31536000( B2 O  Y7 @4 O

  1278. ) J) ?0 ?  X4 K6 E
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA/ v' d& N" X( p! q) \. ?$ Q
  1280. ; key.
    9 l% M2 N% j) g; [7 G
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ; w4 Z# g4 n0 E: g3 F% ~( W& t
  1282. ;mysqlnd.sha256_server_public_key =
    : K3 Z% R* o' y/ ~; a/ a- R8 g5 |
  1283. 5 m. }$ B) b& F9 Z
  1284. [OCI8]
    - C' D; \$ q: I8 R4 D

  1285. ; Q  y! g, ~! ?: b, U) Y
  1286. ; Connection: Enables privileged connections using external! C3 ]/ Y/ n1 N7 e
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 Y! d( r( V  Z- ^% h/ `
  1288. ; http://php.net/oci8.privileged-connect  @, D3 ?) E% y0 `, w3 T: N
  1289. ;oci8.privileged_connect = Off: f8 b& S4 S1 O

  1290. 7 p7 [) H7 h3 j/ ^9 C5 v
  1291. ; Connection: The maximum number of persistent OCI8 connections per( w* k6 g" i) l$ }5 {9 j9 ?( W
  1292. ; process. Using -1 means no limit.
    6 g$ L+ W; j4 H( R
  1293. ; http://php.net/oci8.max-persistent  f* c- _) F; `1 S1 I2 e' a% F
  1294. ;oci8.max_persistent = -1
    ) J% L3 }' q4 i
  1295. ) ]: f' |+ i9 M$ a4 s) M9 J. k
  1296. ; Connection: The maximum number of seconds a process is allowed to$ ^$ h& G0 f8 e2 k+ f
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ( q3 a% h1 {, K, ?1 I! S2 m
  1298. ; persistent connections will be maintained forever.* Z" G* X- \5 `2 j; v' Y4 }; f
  1299. ; http://php.net/oci8.persistent-timeout
    5 u' N- w/ }  V" @; b8 d
  1300. ;oci8.persistent_timeout = -1
    6 q* L2 m9 O' H

  1301. 7 d: ^2 U& A' i  D" v& Z
  1302. ; Connection: The number of seconds that must pass before issuing a: u; z8 [3 G. T
  1303. ; ping during oci_pconnect() to check the connection validity. When3 s, b! T3 h" i* D
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    , F4 r+ x6 S  Q4 Q+ U& V# G: [0 a; c
  1305. ; pings completely.
    : l  z9 g' _+ W. X
  1306. ; http://php.net/oci8.ping-interval: b. ^% c. E# d6 h
  1307. ;oci8.ping_interval = 60
    9 z$ Y# ^: m2 C' c; b
  1308. % U, B* t) E+ \3 t5 {5 n
  1309. ; Connection: Set this to a user chosen connection class to be used
    3 u8 x# l. z) d9 c1 o
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ; }! A3 B8 }6 f% x( {8 ~
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    9 ?& Q# d0 R* Y5 C  d
  1312. ; the same string for all web servers running the same application,  U$ X  c) u! k; s, B
  1313. ; the database pool must be configured, and the connection string must
    9 O/ h! [: Q7 ]! y3 s6 M
  1314. ; specify to use a pooled server.
    . D4 k: N/ K: {
  1315. ;oci8.connection_class =) K1 j6 d2 d, q+ y. t4 ^8 ^

  1316. " a9 m4 V' {) `& F
  1317. ; High Availability: Using On lets PHP receive Fast Application
    3 @! Q( s! e  g. E' M
  1318. ; Notification (FAN) events generated when a database node fails. The
    $ b$ p( P  M9 M
  1319. ; database must also be configured to post FAN events.
    6 Y: Q* L7 w# D1 c3 c6 x7 G
  1320. ;oci8.events = Off
    8 ~4 R: L$ K) B8 s; E3 t

  1321. ( }& n- W9 e4 L7 I5 E1 I
  1322. ; Tuning: This option enables statement caching, and specifies how
    & s3 X9 n% g5 e( n2 ?* b
  1323. ; many statements to cache. Using 0 disables statement caching.+ w' _0 l  s% ^- w4 h
  1324. ; http://php.net/oci8.statement-cache-size& x! L' {9 d* w% b
  1325. ;oci8.statement_cache_size = 20" q# W9 Y' |$ t+ G+ \9 Y

  1326.   a4 m. q& D* H9 }
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    6 W& P- `2 ^, J1 `9 W% X
  1328. ; rows that will be fetched automatically after statement execution./ H8 P6 @( g0 |% R" a% [
  1329. ; http://php.net/oci8.default-prefetch1 ~- M3 x$ g! p* z8 h3 P) C' w
  1330. ;oci8.default_prefetch = 100- ~' e; g, Y9 n! {! M! u0 E, B

  1331. ; ]( e8 P  a8 K( t
  1332. ; Compatibility. Using On means oci_close() will not close
    1 c$ E- h2 y% z! w& C  w; W
  1333. ; oci_connect() and oci_new_connect() connections.) P3 C) X3 N# e& T
  1334. ; http://php.net/oci8.old-oci-close-semantics; p$ [4 R% B. p. i% k5 f/ q
  1335. ;oci8.old_oci_close_semantics = Off
    ( p: I  g7 l, Y2 F! w

  1336. / q' ?6 L; V, Z
  1337. [PostgreSQL]
    ' [) F9 T$ d! O/ g$ }0 f8 L
  1338. ; Allow or prevent persistent links.
    9 ^4 z0 u; T+ ^
  1339. ; http://php.net/pgsql.allow-persistent2 P% L( w# n4 n, S: k1 Q5 m
  1340. pgsql.allow_persistent = On& b" Q% m2 r' P) h
  1341. ! A: ~! x( g' |+ J& E
  1342. ; Detect broken persistent links always with pg_pconnect().
    - \3 X. ]9 e  I; j3 m. F5 I6 H5 G
  1343. ; Auto reset feature requires a little overheads.
    3 t0 Y7 |& s* f
  1344. ; http://php.net/pgsql.auto-reset-persistent/ I1 }, J& C3 i# l1 E* Y" Y
  1345. pgsql.auto_reset_persistent = Off
    , x2 U- q+ t/ M4 y( p
  1346. " N6 L8 J  N' o& v2 r2 [
  1347. ; Maximum number of persistent links.  -1 means no limit." y& x% K/ y! u" s7 Y0 c* @
  1348. ; http://php.net/pgsql.max-persistent
    ) l: V6 U0 N9 m- V
  1349. pgsql.max_persistent = -1
    , g! I! r# N. A4 s0 @
  1350. * C& c2 B! _/ K% R" Q
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: H! A6 T# I! d5 v+ b& a4 u
  1352. ; http://php.net/pgsql.max-links
    * v$ X3 m% e* g" l' C
  1353. pgsql.max_links = -19 c5 q1 N0 S/ j( M
  1354. 9 W& T3 X$ L+ N6 }
  1355. ; Ignore PostgreSQL backends Notice message or not.# M0 o/ X( l% a; }7 D
  1356. ; Notice message logging require a little overheads.# G) S  _8 L* T0 @) |' `5 X# Z% R
  1357. ; http://php.net/pgsql.ignore-notice
    4 _/ {3 \: R+ W
  1358. pgsql.ignore_notice = 0! O( r5 [! T8 \/ C

  1359. - ]+ T% p8 U  ^$ @' m$ ]) v/ Q9 r
  1360. ; Log PostgreSQL backends Notice message or not.  }5 O7 v* {( h  ^  z3 S8 U
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.: k" R. r, g: ]: q' b8 q
  1362. ; http://php.net/pgsql.log-notice- [" w7 }0 e$ N' I( G, F' p
  1363. pgsql.log_notice = 0, {1 O% a6 h0 ^" c# `
  1364. 0 c6 a) [9 p3 |
  1365. [Sybase-CT]
    6 {2 [: ?; {) \
  1366. ; Allow or prevent persistent links.
    4 d. T6 }3 a$ }; T
  1367. ; http://php.net/sybct.allow-persistent4 Z, |+ e1 _4 B
  1368. sybct.allow_persistent = On
    $ y0 e) \( g2 [
  1369. 5 f/ B, P5 I- u+ U
  1370. ; Maximum number of persistent links.  -1 means no limit.$ D  X% e" B6 d
  1371. ; http://php.net/sybct.max-persistent. h9 a+ t# e" F+ `- e
  1372. sybct.max_persistent = -1
    ( N) p# p( G/ a
  1373. 2 E, l( R# f9 d( z) G9 S
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# \* r* l3 [+ R# ^) n) o, o
  1375. ; http://php.net/sybct.max-links
    ( d$ d  d8 U+ O3 [6 u$ D
  1376. sybct.max_links = -11 r& f" X! N/ X# b: y+ \4 d
  1377. ( j: q8 W$ Q# _3 z& Z, E
  1378. ; Minimum server message severity to display.
    0 s: }8 I) o0 n; E0 B2 c
  1379. ; http://php.net/sybct.min-server-severity3 s( _4 M9 P. a7 @3 b* {
  1380. sybct.min_server_severity = 10
    1 c9 R% s* g5 f5 b% \0 M% k8 ?
  1381. ' p5 V8 H3 u% ^" d
  1382. ; Minimum client message severity to display.3 B5 q$ U/ U, q* Q& L
  1383. ; http://php.net/sybct.min-client-severity. S. e: F: m, R3 V3 y7 D& ]) s
  1384. sybct.min_client_severity = 10
    & K! P: g- f$ g  I. |

  1385. ) U1 ]/ B8 w* p% _6 n% o
  1386. ; Set per-context timeout
    7 R: ~( V" j7 z+ |
  1387. ; http://php.net/sybct.timeout( m6 @9 _# x" m9 }" S
  1388. ;sybct.timeout=' o" \/ _8 {2 M4 a
  1389. 2 ~# S  G# h: Y
  1390. ;sybct.packet_size. U- c0 L% H- _7 w" e6 O- p2 l

  1391. 5 {6 ?$ \9 J; F
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    8 P+ q# i: J9 d; f3 n, u2 s5 \
  1393. ; Default: one minute
      T7 k0 T( u* h' g7 u6 X! e* w' h4 ~
  1394. ;sybct.login_timeout=
    9 b/ l  g2 v9 `5 E- u$ B

  1395. ( I1 F9 {! M0 L
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.  |" i1 n' [, \/ K* R( x
  1397. ; Default: none
    ' c. ^  k3 W2 g! P1 J* r8 r! ^
  1398. ;sybct.hostname=
    9 i* I# a% s) k6 i

  1399. ) z$ F: e, v' t3 j6 f( G
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".  d" J" _  C# z! }
  1401. ; Default: 05 e% |  J+ N5 Z/ I) j
  1402. ;sybct.deadlock_retry_count=* A( Q% v1 l. b7 L/ T- I
  1403. / b. D5 V0 k+ j% R6 `
  1404. [bcmath]
    ; ]) H6 |/ z" e) w* C1 E
  1405. ; Number of decimal digits for all bcmath functions.
      Z# n  O8 b  z5 @0 F
  1406. ; http://php.net/bcmath.scale1 P6 s9 x" ?; ^! Q3 }6 ]' |
  1407. bcmath.scale = 0
    / e! e9 O! H" ?5 {! L

  1408. - Q7 v" h: e5 H, H" m1 u+ \
  1409. [browscap]" j2 H1 _! m) n3 U" e/ ?9 S- s
  1410. ; http://php.net/browscap4 I1 L# K: ?4 W% |
  1411. ;browscap = extra/browscap.ini
    " K: K& e- X9 d7 j0 V. a, R/ M

  1412. 9 l' z( @0 k/ Q! j+ K" d) s
  1413. [Session]* Q. a+ o5 }8 m& H- l! l% }8 X4 K
  1414. ; Handler used to store/retrieve data.6 F5 C  j4 O! x) G: G
  1415. ; http://php.net/session.save-handler
    8 U, i5 E; x# U/ \' G( U# W4 w
  1416. session.save_handler = files0 \$ ]. L4 |/ a  G4 M* F
  1417. # t7 x2 W. ?% D9 n" j. g5 w. T' p
  1418. ; Argument passed to save_handler.  In the case of files, this is the path' V0 @, m- l8 s" F
  1419. ; where data files are stored. Note: Windows users have to change this/ A3 t1 q% V$ E( W+ ~
  1420. ; variable in order to use PHP's session functions.
    5 J% \% v! a9 y8 c1 W/ W5 `# p* H7 h
  1421. ;
    : |* z8 V# P# ~8 F4 K# q$ l9 W
  1422. ; The path can be defined as:
    5 A2 N8 u$ w! V* v
  1423. ;
    ; x) ~  Q3 a* m; u
  1424. ;     session.save_path = "N;/path"1 V7 _( o0 D) n6 ^: P4 Z6 }" m0 j
  1425. ;
    / c# M$ I' {) |5 |( v; h( {
  1426. ; where N is an integer.  Instead of storing all the session files in
    & Q" H2 N$ D5 s' U& y
  1427. ; /path, what this will do is use subdirectories N-levels deep, and7 {2 H$ P) s( S8 v* Y' d( ?' }: F
  1428. ; store the session data in those directories.  This is useful if
    ' B7 Q: n- z. i. m, I7 e
  1429. ; your OS has problems with many files in one directory, and is
    3 q% U; w8 R/ l6 a( |/ }2 b8 q. m! Q
  1430. ; a more efficient layout for servers that handle many sessions.* E7 G+ D8 G! ]
  1431. ;
    / u' b) R* e) B1 A' ?1 @! t
  1432. ; NOTE 1: PHP will not create this directory structure automatically./ \, r: [/ g' w
  1433. ;         You can use the script in the ext/session dir for that purpose.3 s7 o4 d" ~. ^) Q. m" r' m
  1434. ; NOTE 2: See the section on garbage collection below if you choose to3 i. c5 S+ M' {/ }
  1435. ;         use subdirectories for session storage' w7 f! z; G( }5 h# f
  1436. ;
    ( k# m4 R; {% ?& s
  1437. ; The file storage module creates files using mode 600 by default.; W* Z! i; T3 T4 k" K2 m: Z
  1438. ; You can change that by using* ]* `; T4 `' \8 ?+ \' O4 a
  1439. ;& w' ~2 f/ S, ]( G4 m2 g
  1440. ;     session.save_path = "N;MODE;/path"
    ( X' J. y; p6 Z' Z2 X# f% O
  1441. ;
    ( g7 d, B4 O2 K; ~) N
  1442. ; where MODE is the octal representation of the mode. Note that this
    ) A$ K) c/ f- z9 Q' `9 l
  1443. ; does not overwrite the process's umask.
    4 U3 E% @- M) N7 K& D2 f/ H( N1 F
  1444. ; http://php.net/session.save-path& w0 T/ P- Q% g6 S' \2 V' H
  1445. ;session.save_path = "/tmp"& g* [9 A. [7 U" m4 }! U% Z
  1446. " i, V. \+ e0 o3 \) Z8 b% A
  1447. ; Whether to use strict session mode.% r* n7 D, t$ ?% w/ u; {" b
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate  n! O2 x2 P6 E- X, ?
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects/ J0 v! i# S7 w. g% c$ g
  1450. ; applications from session fixation via session adoption vulnerability. It is
    1 g" y2 g: g" b" U
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.  \8 h( T2 s$ l' T; x) S7 t* X" Q$ L
  1452. ; https://wiki.php.net/rfc/strict_sessions9 e6 }5 [1 @' L6 q1 `; h& F
  1453. session.use_strict_mode = 0
    + U3 Q; ^8 L& [4 ]
  1454. ; `. f' o1 z$ n# B
  1455. ; Whether to use cookies.# q$ ~1 M7 R6 x; x* h
  1456. ; http://php.net/session.use-cookies0 n% O; R0 ]( @3 d9 R- `' n
  1457. session.use_cookies = 16 d4 e3 l6 e5 l) {4 S

  1458. + W1 g6 p4 ?1 t, h! h
  1459. ; http://php.net/session.cookie-secure
    " t; U. T& i. S# \
  1460. ;session.cookie_secure =
    / k4 F, M$ A  m( F: E4 d
  1461. ) v7 N5 w5 G3 S8 d, s' d; H7 x5 o
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining5 Z" a" D6 y$ z( \1 A
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    " x) y' U# R. k( H4 U( J
  1464. ; session hijacking when not specifying and managing your own session id. It is" {7 b" M, X7 L2 w0 [+ z0 {
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start./ `+ m  p/ W3 i3 ?2 g
  1466. ; http://php.net/session.use-only-cookies
    ; g3 Q5 ~2 }' U( V' i5 u
  1467. session.use_only_cookies = 1
    ( T* N8 m8 P. h- ~7 ?

  1468. & F! y5 o' ~5 O8 K: J& C  e
  1469. ; Name of the session (used as cookie name).  |" ?* i* o/ y/ e" _2 ?
  1470. ; http://php.net/session.name
    3 f6 L" P/ ]' x
  1471. session.name = PHPSESSID
    ( h0 W& a. `4 L; u( b: ]
  1472. ! f5 N% b; X* T' p+ s0 l0 {
  1473. ; Initialize session on request startup.6 q. G) o8 t6 F
  1474. ; http://php.net/session.auto-start8 F  b2 S5 |9 g6 D. z8 z% |
  1475. session.auto_start = 0, L6 ?1 F# i5 w1 }/ }/ U

  1476. , [7 W  ?1 |- f  G( N0 I
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 C/ K. o& I$ [/ F$ \1 @* D
  1478. ; http://php.net/session.cookie-lifetime" X/ d" {; }' W
  1479. session.cookie_lifetime = 0
    / N1 P+ Y% W* A& j: ?3 Y
  1480. 9 Q6 ]- L9 a4 Z% M- V* S- K
  1481. ; The path for which the cookie is valid.
    $ w8 [; Y3 b1 a! C. e2 b
  1482. ; http://php.net/session.cookie-path2 O0 ]2 m' y  H3 L; ~, M1 t8 U
  1483. session.cookie_path = /! w! q% N) a! j- s
  1484. : d/ O0 r& W) X; q' T4 E6 R
  1485. ; The domain for which the cookie is valid.
    ! ]7 ?9 t( J- v
  1486. ; http://php.net/session.cookie-domain# }! h+ s$ j4 x1 v% Y
  1487. session.cookie_domain =
    7 x; `* O7 e' \- Z; F: T

  1488. ; s6 m( _  M5 [
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.  D; \% s- d/ p+ t8 {+ _
  1490. ; http://php.net/session.cookie-httponly
    - g. ~: D7 I/ y, e, `5 g. G
  1491. session.cookie_httponly =2 M( @2 a6 b$ S6 s
  1492. 8 c7 i" q, q+ b; r1 A
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . \/ K1 ]: v0 Q% U, c: i1 [( q
  1494. ; http://php.net/session.serialize-handler7 Z* @+ u, u4 y! [  H' l
  1495. session.serialize_handler = php$ N) {4 d( o) n3 L% P9 G. w

  1496. & s* B" A, w$ ^; [0 O& C, j
  1497. ; Defines the probability that the 'garbage collection' process is started
    7 t8 d" m( u- I7 ?
  1498. ; on every session initialization. The probability is calculated by using
    1 S& }! {! b) q9 m/ {
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , n' j. b. X) j* ^1 w2 z
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1) @! A" b" R5 ?. g* d; @
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( h' k6 v" G8 u
  1502. ; the gc will run on any give request.
    . E3 l/ w; e( k1 Y7 [
  1503. ; Default Value: 1
    9 a# l' g, Z# M+ H
  1504. ; Development Value: 1& g& ~) @. e6 u, E6 L4 T+ Q2 Q
  1505. ; Production Value: 1- A" b  _5 A: q
  1506. ; http://php.net/session.gc-probability, {5 h# J0 n! e
  1507. session.gc_probability = 1' V5 G/ @/ M) m$ z" V% o

  1508. ' Q, Z/ w% Y8 ?" ?* W2 F6 S1 x- H; y% z
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    0 q) {4 d1 R# d* v% {6 s
  1510. ; session initialization. The probability is calculated by using the following equation:  f3 m: R$ v; b: Q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    * L( @! t( U" B6 ~) F' J, w) F+ g
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& x6 f9 ~9 p3 X: B! `# a+ s' E# E
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ @3 x) {& y: ]
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you5 V4 F. B7 [* s+ W% k0 j
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,* j0 x: u  b# v; i% f; |
  1516. ; this is a more efficient approach.
    ! O. K! @; [! ^# H0 K: B, o2 D
  1517. ; Default Value: 100" |; }0 T- ]9 \' ]
  1518. ; Development Value: 1000
    : U* P/ ]+ \' o, R% q
  1519. ; Production Value: 1000
    : N9 {# I3 l$ B0 @
  1520. ; http://php.net/session.gc-divisor- ]% [4 o6 w" t. [
  1521. session.gc_divisor = 1000
    - u% N* u; b( t$ I8 S8 V
  1522. ! t$ d1 I$ }, t" D
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and. Q6 _- B7 U& e3 O$ T
  1524. ; cleaned up by the garbage collection process.
    3 b' D2 G3 N3 Z" B. e
  1525. ; http://php.net/session.gc-maxlifetime: J( a+ U( U- C  T0 V$ t5 f
  1526. session.gc_maxlifetime = 14406 q# E) N2 r1 q) J  w8 h# P

  1527. ' a/ y: s- P! L+ E9 D
  1528. ; NOTE: If you are using the subdirectory option for storing session files# a( U( ]( J, e/ q) M
  1529. ;       (see session.save_path above), then garbage collection does *not*& x$ ]) C" l6 |& i9 ^6 g
  1530. ;       happen automatically.  You will need to do your own garbage9 H# u2 ?% j- Y. n- }
  1531. ;       collection through a shell script, cron entry, or some other method.* h. f+ G" ~- t$ j0 I0 F, F! ]
  1532. ;       For example, the following script would is the equivalent of
    * J& p( z- W, K6 ^3 W3 [% `
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):) B) [8 P4 ^; C4 H% m
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ; Z' M" A- k  w2 a

  1535. 5 G7 [# g' Z, |, |/ d" |2 n5 K# H/ R
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 Y! [, t+ k$ T( l
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    * d1 @7 j" T6 I7 e+ X: B. x8 x
  1538. ; considered as valid.& y( }! q. X2 V3 ?  W$ k" ?7 A
  1539. ; http://php.net/session.referer-check. [; i1 l! z; S
  1540. session.referer_check =
    0 s& Y- ?' F6 c' t& |
  1541. ! P6 k* T) `# o9 ^4 D1 `
  1542. ; How many bytes to read from the file.
    - M2 x- m! N6 A2 V3 l  X
  1543. ; http://php.net/session.entropy-length
    6 U& A& E/ J/ y0 P4 ]
  1544. ;session.entropy_length = 32
    , s% |: w- N# `5 c% s3 |6 F1 T

  1545. 6 o# O6 `' r  g1 ~$ u6 y
  1546. ; Specified here to create the session id.
    + b2 M  r! e/ ?+ B
  1547. ; http://php.net/session.entropy-file
    * E4 P: K' f/ p1 T
  1548. ; Defaults to /dev/urandom8 m- X; }- x, q# q9 o8 }1 F
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom) t: s- S# [6 y. l9 k* [0 ?
  1550. ; If neither are found at compile time, the default is no entropy file.
    - T. w" {$ n' F' q" G3 ~
  1551. ; On windows, setting the entropy_length setting will activate the) H5 {, f- `. N- s+ ^
  1552. ; Windows random source (using the CryptoAPI)3 s+ s6 h/ `: m. B0 G
  1553. ;session.entropy_file = /dev/urandom, m7 {$ ]: B" y1 h/ ~
  1554. % b7 u, ?3 Q) ]0 w* h
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ t6 O3 R/ T& b" s* l2 v
  1556. ; or leave this empty to avoid sending anti-caching headers.& Y1 Z, S" C8 h' Z% |
  1557. ; http://php.net/session.cache-limiter
    ; D* _* F# v9 V3 |. V- A
  1558. session.cache_limiter = nocache
    , l# x4 d! @0 o  H& B9 u  h! D
  1559. ' |9 P) d' o  ?1 R2 a
  1560. ; Document expires after n minutes.
    9 b2 x: p3 ?6 V
  1561. ; http://php.net/session.cache-expire1 C5 @) ?# d- u9 ^, y5 A5 s3 D
  1562. session.cache_expire = 180; O* v* E% U: U* Z% Y
  1563. $ l% ~* ?# v" u+ G9 H, _+ e
  1564. ; trans sid support is disabled by default.' s, p9 ^; v& h' @* S7 e5 E: N
  1565. ; Use of trans sid may risk your users' security.
    ! E9 m1 w9 I# S
  1566. ; Use this option with caution.
    & g* w" h. m* O. g
  1567. ; - User may send URL contains active session ID+ j6 k$ D3 q# d" l) v  S
  1568. ;   to other person via. email/irc/etc.. M% P9 O9 K- E; l  j9 a
  1569. ; - URL that contains active session ID may be stored! h: t9 C; R7 Q3 R5 z5 x
  1570. ;   in publicly accessible computer.- o2 T7 [8 o1 j$ w, u
  1571. ; - User may access your site with the same session ID2 _% r- e# I, G. A) {9 q0 @
  1572. ;   always using URL stored in browser's history or bookmarks.1 g. {: T+ J7 S
  1573. ; http://php.net/session.use-trans-sid
    0 e/ X7 h- M. L5 Z  d
  1574. session.use_trans_sid = 0( @3 l5 o/ Z0 Z! ]5 p% t
  1575. 5 i* j( x4 ]; D9 _5 L" [* R
  1576. ; Select a hash function for use in generating session ids.6 ]+ E5 v% |8 T# L' q
  1577. ; Possible Values# ]6 J% }" n3 i+ ^! N' h
  1578. ;   0  (MD5 128 bits)
    . j3 C; A* |$ s' b) Z: ~
  1579. ;   1  (SHA-1 160 bits)
    ) U# e% i/ l9 ^) ^, D
  1580. ; This option may also be set to the name of any hash function supported by' s0 ?1 J6 P" @3 I! E$ P
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()9 o  t6 w5 {) N8 ^, M- Y! H
  1582. ; function.
    & E/ Q% H8 W2 f' a4 J/ C. v
  1583. ; http://php.net/session.hash-function
    % H4 p* m& u1 q6 l
  1584. session.hash_function = 03 {* C) h" H+ h, v9 |
  1585. 6 e' f8 v; P/ I; ]/ _
  1586. ; Define how many bits are stored in each character when converting7 S/ N0 Q# L2 i. K& n
  1587. ; the binary hash data to something readable.
    0 G5 F8 W/ K8 x/ E$ s) q7 o+ f
  1588. ; Possible values:
    6 |# D8 D) a7 U, e) q/ n
  1589. ;   4  (4 bits: 0-9, a-f)
    6 q" G$ }4 H) _) u- Q9 c3 _
  1590. ;   5  (5 bits: 0-9, a-v)
    " `2 _6 o4 f! L1 S' }
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    & M# S3 B, V/ P' Q" V/ L8 Q' s
  1592. ; Default Value: 4  r" @5 k; N/ t- f  U
  1593. ; Development Value: 5
    5 N1 `- D, b2 e" a, U: k+ I
  1594. ; Production Value: 55 F3 G9 @, ?" a  i$ b: T, y
  1595. ; http://php.net/session.hash-bits-per-character: s$ J. f7 p. \, B+ B
  1596. session.hash_bits_per_character = 5, _3 B' ^, u! r1 _* Y; H5 u
  1597. . O5 P, E' A6 c$ T' ?
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    , |8 a0 G, z4 a" l+ H! D) `, I
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ( c+ l/ R; ?1 H7 `1 f
  1600. ; add a hidden <input> field with the info which is otherwise appended  k; |+ [- `0 G: A1 [
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.# d4 y+ `) c& f
  1602. ; Note that all valid entries require a "=", even if no value follows.
    2 i) r; `+ s" @+ D2 Y; R
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + u. T" n( {1 o4 O4 p
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ R+ M2 Z4 Z9 |3 e
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; }; }+ h: e; ^6 n9 U# q3 s( d' x; [
  1606. ; http://php.net/url-rewriter.tags+ j0 S! j  L1 Z+ N7 K
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* E# O1 Z" m- k8 ?3 ]$ [2 A
  1608. 6 o/ V  A2 Z0 z# Z& s  q0 f3 ?+ W- G
  1609. ; Enable upload progress tracking in $_SESSION/ _3 X* O, o7 Z% [& S# I
  1610. ; Default Value: On
    . _$ U$ f% Z2 w% k
  1611. ; Development Value: On
    6 @7 m, P) Y5 I/ O1 b# a+ Z, Z% O
  1612. ; Production Value: On
    + S  ^$ t0 \4 |# Y" D' G) f
  1613. ; http://php.net/session.upload-progress.enabled
    $ W  \6 ]% }4 T2 l9 R
  1614. ;session.upload_progress.enabled = On
    - N8 X. A  f: L' V+ o
  1615. 4 |/ E4 a6 V! i7 ^. J
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ( S' q1 `: [* O% x  f
  1617. ; (i.e. upload completed).
    # n  F6 o. `* s& F- @8 A5 h4 J( K
  1618. ; Default Value: On5 Z" R8 ]- C9 {; C! Y) A
  1619. ; Development Value: On
    8 f( T: W3 K# j: @% T1 m" A
  1620. ; Production Value: On% X6 w6 |& o8 H* a
  1621. ; http://php.net/session.upload-progress.cleanup# e3 ]% ?+ U( Z3 t  g! \
  1622. ;session.upload_progress.cleanup = On* J) F! K) _" V9 S7 O3 g
  1623. : D' ~1 C# Y0 w7 J; S! Q& w2 l
  1624. ; A prefix used for the upload progress key in $_SESSION
    5 N4 \7 a& {/ f9 |+ a. ~( ^
  1625. ; Default Value: "upload_progress_"
    1 d! r9 z8 ~9 K  Q  t
  1626. ; Development Value: "upload_progress_"/ z0 W" i& I7 h$ m0 ]! O2 t' E+ C
  1627. ; Production Value: "upload_progress_"3 {5 |3 u9 B0 {( c; p
  1628. ; http://php.net/session.upload-progress.prefix
    $ h7 \9 u+ [) [5 V2 C, W
  1629. ;session.upload_progress.prefix = "upload_progress_"
    2 ?' j5 J8 D' g/ ]+ x9 t: p9 f' A. @

  1630. 2 T8 G) t. j8 w
  1631. ; The index name (concatenated with the prefix) in $_SESSION( k' C9 P, e3 X' u. R+ Z
  1632. ; containing the upload progress information/ s9 w( T  d3 C8 H3 Q
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"7 H, }1 `" g$ D) W
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 G0 V  _  b  V" U% m
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"* M4 G+ W! e/ R0 x: B" r  P
  1636. ; http://php.net/session.upload-progress.name
      ^- [0 e2 R/ H2 P7 }+ d$ I- t% `
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"$ P- {! ]! q" H  l) J9 {5 S1 z
  1638. 6 n* g& k3 |9 _2 o7 x6 b+ H* P
  1639. ; How frequently the upload progress should be updated.$ @7 v! l; d* ]9 b; s3 v
  1640. ; Given either in percentages (per-file), or in bytes
    # q# p  S- P$ ^2 R% G( P' p' M
  1641. ; Default Value: "1%"" C5 |/ ]7 j! s1 b8 Q8 s# @
  1642. ; Development Value: "1%"
    $ x/ j; \; K* I! @$ W, |6 f, f6 w
  1643. ; Production Value: "1%"" d; O) v0 n  ^, t+ Q  P) I+ }) Y
  1644. ; http://php.net/session.upload-progress.freq
    # @/ s. t* f; P1 D
  1645. ;session.upload_progress.freq =  "1%"0 d+ @5 y) J0 C/ ~' Z+ t
  1646. 3 Q  N: _1 e; H
  1647. ; The minimum delay between updates, in seconds3 l5 Y3 S* T( l
  1648. ; Default Value: 1
    . _) E; t6 D9 x8 A" h
  1649. ; Development Value: 18 |$ ^4 S' K5 f9 [  n
  1650. ; Production Value: 1
    , d: V2 G& R; [1 a0 ^
  1651. ; http://php.net/session.upload-progress.min-freq/ `# A0 `( I: [
  1652. ;session.upload_progress.min_freq = "1"
    & R. p( j5 I# Q! B
  1653. . D: _9 B/ O) ?; N0 Z
  1654. [MSSQL]
    : u' L- g! m! d- B. K" `
  1655. ; Allow or prevent persistent links.
    # |/ T7 I, `$ ]: a- V$ }9 k& C
  1656. mssql.allow_persistent = On
    ' H! m3 y" j) L( a1 Y

  1657. 4 ~9 B: ~9 S; _1 C* K' M
  1658. ; Maximum number of persistent links.  -1 means no limit.' `/ l7 S8 E1 I) z. E
  1659. mssql.max_persistent = -11 R7 s6 F. y) g4 K" ?
  1660. / @, q+ b! @1 ^
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- V* o4 \. {; L* H6 A5 U
  1662. mssql.max_links = -10 ~7 H2 L  ^% ^# L- k( p) p7 t
  1663. / N! j2 J- G' J  \" F
  1664. ; Minimum error severity to display.2 P6 ]( d2 S  F9 Q/ t
  1665. mssql.min_error_severity = 10( R$ D! x4 M) Z4 e- c# [2 e' V
  1666. % F$ Q: @. ~$ Y) I6 i' L
  1667. ; Minimum message severity to display." U7 P& O, ?/ e. p8 x, o
  1668. mssql.min_message_severity = 10
    # Q( u+ y4 M' Q
  1669. + L( N' r. P! k& Z7 {6 ]5 j% K
  1670. ; Compatibility mode with old versions of PHP 3.0.2 `9 j9 ~$ g" x8 o6 Q! y& D
  1671. mssql.compatibility_mode = Off5 _- ], s$ q5 G% A

  1672. 2 ^( K4 {2 h; m2 @7 I& L& c
  1673. ; Connect timeout, S: M$ U& v: x& j5 p
  1674. ;mssql.connect_timeout = 5
    ( Y% t  q$ J/ m) M( m
  1675. 4 X! e  u5 M- N; w1 {# ?5 M4 u
  1676. ; Query timeout
    1 s9 c! w" X6 t
  1677. ;mssql.timeout = 60( _/ P2 P& I  u# k! u

  1678. ' [- v0 r) y& _! ?7 [6 U  {
  1679. ; Valid range 0 - 2147483647.  Default = 4096.  `5 H: |. j1 c
  1680. ;mssql.textlimit = 4096! [& l% _% C% F' t; i
  1681. * K0 d0 e' R( c- \7 L
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- D: |: g" |7 x: P5 P- n
  1683. ;mssql.textsize = 4096
    $ H1 R3 N  {" o1 y- a9 n$ v" S0 G

  1684. 2 Z5 P; Q% E: P- [# D: ^$ |% ~
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    + I$ r& T. ]% h
  1686. ;mssql.batchsize = 0
    ; H+ ?  c, T( |3 q# g4 t! i

  1687. ! d. r. o, b6 q$ a/ F% i
  1688. ; Specify how datetime and datetim4 columns are returned
    1 o0 e( m8 u; f$ {$ V. Y! [# d
  1689. ; On => Returns data converted to SQL server settings2 U0 Z% }: O7 x! h5 W, Q
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    0 f$ _3 Z( C% R* F
  1691. ;mssql.datetimeconvert = On
    , X0 Z- U3 v( }/ H, r1 d
  1692. 9 e7 u( x# i) j, I
  1693. ; Use NT authentication when connecting to the server9 j3 |  W; ]; c
  1694. mssql.secure_connection = Off
    4 S: `) W6 b) u! |: V' e1 G

  1695. 1 S  f8 J* o2 n: W" L0 E6 h
  1696. ; Specify max number of processes. -1 = library default4 c5 d! q5 v. U; z
  1697. ; msdlib defaults to 254 W8 a, b. Z" K8 p7 o# U: h
  1698. ; FreeTDS defaults to 4096
    9 F5 R8 l' g0 L+ `; Z0 C
  1699. ;mssql.max_procs = -1
    4 o7 Y! `# J" \0 k4 m

  1700. ; |/ a! b& A! [0 [0 X8 L' x3 Z
  1701. ; Specify client character set.
    6 i2 J- g6 j8 F0 r9 ~: g) ]- s! u
  1702. ; If empty or not set the client charset from freetds.conf is used
    , x6 s7 r% ~; B
  1703. ; This is only used when compiled with FreeTDS
    1 O4 n  j$ f! W% a+ {# i
  1704. ;mssql.charset = "ISO-8859-1"
    2 h+ W' x3 E  H3 ^4 W

  1705. 6 |* {) N! X. o  O0 M
  1706. [Assertion]8 y. c7 w! k( }5 a2 v7 ?& O
  1707. ; Assert(expr); active by default.$ a" \2 p9 v' _' N( Z% M
  1708. ; http://php.net/assert.active6 Z- c* q: x2 w
  1709. ;assert.active = On
    8 Z1 r) @# ], Q5 _

  1710. 8 [. [0 s2 A( K. b. G9 n
  1711. ; Issue a PHP warning for each failed assertion.
    ' n, g) }! N7 U, j. i# {( A, O
  1712. ; http://php.net/assert.warning" v6 G' h- v6 M, h+ q3 a2 y
  1713. ;assert.warning = On) g! g' C* e% }
  1714. 5 z# O8 J% D/ T
  1715. ; Don't bail out by default.# x  H3 q+ l& ]" V9 T, ^, }  H8 N
  1716. ; http://php.net/assert.bail
    5 B0 l4 [& |. _5 V& a7 K6 ~; U
  1717. ;assert.bail = Off
    2 Y+ f$ S; }) B: h! V# O

  1718. ) R/ ^- l4 s9 L5 b! Y& g2 v: e
  1719. ; User-function to be called if an assertion fails.# p* `7 e% `- |/ O: u
  1720. ; http://php.net/assert.callback3 F& X' t$ G+ Q  ~
  1721. ;assert.callback = 0
    ; t/ n" s7 h2 n: p, z

  1722. 0 P* ^1 L* e0 \  G
  1723. ; Eval the expression with current error_reporting().  Set to true if you want! T* J4 w5 w! ^8 l4 p8 y# p- z
  1724. ; error_reporting(0) around the eval().
    5 @5 O, [) [2 ~- b- O' F$ W5 w2 y0 j
  1725. ; http://php.net/assert.quiet-eval$ y5 `' T! J; x$ q
  1726. ;assert.quiet_eval = 03 |% D6 y* `5 f' h. d

  1727. 6 Z6 G5 M0 A! J; u) [
  1728. [COM], Y2 {" R2 S! C+ j3 w/ W5 d
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: x' @, Y% m" J3 w
  1730. ; http://php.net/com.typelib-file) n% O, \3 l; d5 ^
  1731. ;com.typelib_file =2 z3 N: T1 [6 i. k* v
  1732. * C$ J1 ?7 s: c: F
  1733. ; allow Distributed-COM calls3 }8 _3 P+ A0 \! G+ k8 ]
  1734. ; http://php.net/com.allow-dcom1 Y% g7 F& h. G# l0 b
  1735. ;com.allow_dcom = true9 T  y  e9 t% y/ ~

  1736. # F# ~% E7 L! O/ X' B% V4 S- P& D
  1737. ; autoregister constants of a components typlib on com_load()9 w+ }' D% T9 A: `% M$ h  ^
  1738. ; http://php.net/com.autoregister-typelib1 c; n9 @5 z  [/ v; y3 Z
  1739. ;com.autoregister_typelib = true
    # e0 q- N3 Q  K$ n8 ~

  1740. + s* |, A3 s2 X2 n
  1741. ; register constants casesensitive
    / g- B/ \" N" Q  Q" V
  1742. ; http://php.net/com.autoregister-casesensitive  {2 S/ `' _, s6 i7 @* O- U
  1743. ;com.autoregister_casesensitive = false, n) N* E7 i/ i' e1 u+ M/ w4 Z
  1744.   w9 k$ ?- T: D+ ~3 u
  1745. ; show warnings on duplicate constant registrations9 g& j( v; s9 }6 P* }3 i
  1746. ; http://php.net/com.autoregister-verbose
    ! D! P9 S, T' D1 [4 U1 K
  1747. ;com.autoregister_verbose = true
    ( g$ w/ y; L4 p/ |& v

  1748.   w. K, Y; ~. j; X; |
  1749. ; The default character set code-page to use when passing strings to and from COM objects.7 L' L: c+ f7 @* `6 i0 P5 o
  1750. ; Default: system ANSI code page
    " T, j# r1 K" u$ i) g
  1751. ;com.code_page=4 C; m& l* h0 l$ z6 v

  1752.   o3 F7 I0 K2 T$ o# U
  1753. [mbstring]9 I! k0 I- l+ _! w
  1754. ; language for internal character representation.
    ( H, k) Z8 @* @0 [3 @0 C# d
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    : V1 ^2 @4 A8 L/ g9 Q5 k: j
  1756. ; http://php.net/mbstring.language
    # o9 j( n- V) g* y: I& P7 a
  1757. ;mbstring.language = Japanese$ ^6 p3 q( W/ N
  1758. $ ]1 o8 X2 I# W, N- x- o+ z
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 _& T8 p" A$ c3 Y  }+ b
  1760. ; internal/script encoding.2 O- n& E4 U+ k8 `1 R1 @% I2 }2 R
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)/ U$ G* ^: Y. A  K' T
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ K6 \9 w! L$ K2 x0 {2 K3 e" S
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( u, }7 j  K5 n
  1764. ;mbstring.internal_encoding =4 t" B) I, s& @3 d# m
  1765. 3 ?1 u) n7 P$ w8 o: ?
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead., H8 v" ^* l# G& U
  1767. ; http input encoding.. w5 T. j4 u! R' f& ?
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.- C6 W7 o. ]& g$ m, R
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.- x; ]' W. w/ \: _, g6 u$ J
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input# K4 _0 @( \: k
  1771. ; http://php.net/mbstring.http-input
    . c  g% z, x4 }! {- l
  1772. ;mbstring.http_input =
    % ?: H/ E6 y8 M9 G( Z
  1773. ' \- c* x* H" X5 c/ \
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 \/ ?  v/ H' `( p
  1775. ; http output encoding.6 |8 I8 P9 @( m0 Y: E
  1776. ; mb_output_handler must be registered as output buffer to function.
    % R3 x4 M& U. r3 Z8 G$ u
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used." S- Z; J- q/ E% b: B8 n1 E0 f- ]
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output: g: P6 ?; o, p" C3 s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    # T5 {0 a5 Q8 ^7 d; Q
  1780. ; otherwise output encoding conversion cannot be performed.  U; N- x/ C7 J6 \$ v
  1781. ; http://php.net/mbstring.http-output3 ]2 m: z  q: J- _
  1782. ;mbstring.http_output =, u: B! `8 }2 h! _6 l3 l

  1783. 8 v2 m' J( r# b
  1784. ; enable automatic encoding translation according to
    : C# v, q! z* Y2 K  N: Z" @. ]
  1785. ; mbstring.internal_encoding setting. Input chars are
      @  ^' h: [) ]' L6 G/ C$ @; c
  1786. ; converted to internal encoding by setting this to On.
    7 }! B: d: @9 w) g) u
  1787. ; Note: Do _not_ use automatic encoding translation for! Y7 V: Y; D! a
  1788. ;       portable libs/applications.
    4 p$ T2 x2 J" @
  1789. ; http://php.net/mbstring.encoding-translation5 P' k6 i8 p, a8 U: g
  1790. ;mbstring.encoding_translation = Off
    - c! R9 _6 F, k7 e/ Z

  1791. 1 _' X4 L4 H/ [$ \( g
  1792. ; automatic encoding detection order.9 E; W# n. q/ P3 C
  1793. ; "auto" detect order is changed according to mbstring.language+ }: C) Z) V  K. s6 o' d
  1794. ; http://php.net/mbstring.detect-order
      k. z* Y0 g' N' p! g
  1795. ;mbstring.detect_order = auto* u8 K4 U$ o( a* p

  1796. ( F+ t% ~) v( }, q0 q
  1797. ; substitute_character used when character cannot be converted; S7 }* t! B; X  {
  1798. ; one from another! r( I7 |2 r4 b4 `
  1799. ; http://php.net/mbstring.substitute-character
    % f5 j, z: E, o4 i9 A, h. g& L
  1800. ;mbstring.substitute_character = none
    $ e" g" T$ ^: M, E, a# x- V- a

  1801. , R( P% p1 r6 Y: a" J
  1802. ; overload(replace) single byte functions by mbstring functions.
    3 a2 [0 q$ l. N3 a
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),) \7 I0 ]9 q! b! l, i
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    " X0 T( e7 O' O7 K
  1805. ; For example, 7 for overload everything.% \; k% j9 W8 H. t2 h
  1806. ; 0: No overload
    8 v9 Z1 G0 x: s8 B2 i' @! N
  1807. ; 1: Overload mail() function
    1 S8 P+ e- x; R, T
  1808. ; 2: Overload str*() functions! K! V- e2 b4 @$ K9 v
  1809. ; 4: Overload ereg*() functions1 b8 s& h2 R! N- W1 e
  1810. ; http://php.net/mbstring.func-overload  q* _( h, |; C5 N5 V4 O
  1811. ;mbstring.func_overload = 0" l) I. v  f) U3 \/ @  \
  1812. & P+ f# F1 \+ A
  1813. ; enable strict encoding detection.- U+ a. _+ y- {* W0 X
  1814. ; Default: Off
    , Y! m0 L% Z  P2 A) {( o) h
  1815. ;mbstring.strict_detection = On
    1 K! a1 w6 D& u
  1816. : y" u8 R' M: R
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # p6 }. S# k1 Z% Z; w
  1818. ; is activated.
    ' G8 p9 e8 N. C" f) l) t
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* I8 I" t0 O6 C0 x
  1820. ;mbstring.http_output_conv_mimetype=" G4 _/ h" c, G

  1821. - ?$ E0 B8 {9 r
  1822. [gd]
    $ S: e& q+ y' h- [5 z, `& S
  1823. ; Tell the jpeg decode to ignore warnings and try to create/ D2 |1 I3 x% x
  1824. ; a gd image. The warning will then be displayed as notices, S* l! d; _) E; T, x
  1825. ; disabled by default$ l: U2 j/ c. H0 D! h" s7 M
  1826. ; http://php.net/gd.jpeg-ignore-warning. f2 N4 Q. W1 ^4 E8 Q; e
  1827. ;gd.jpeg_ignore_warning = 0
    6 S8 W/ h7 G" p9 t& u9 q
  1828. & j8 N+ F- P5 X( l; k, j/ D
  1829. [exif]2 [' A/ k5 ^" h2 C) S. p$ i
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.6 o) A- h4 J5 U
  1831. ; With mbstring support this will automatically be converted into the encoding
    " Z( H( M, w/ p, s
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; W; e  v: u' W2 J4 K
  1833. ; is used. For the decode settings you can distinguish between motorola and6 o/ V0 e) w- l' Y0 q0 B) w
  1834. ; intel byte order. A decode setting cannot be empty.
    : ~' U! f0 X- w2 R% g. j
  1835. ; http://php.net/exif.encode-unicode
    + d% t- ~- w: W. K
  1836. ;exif.encode_unicode = ISO-8859-15
    4 A' g$ u( B" ?1 ~1 a" P

  1837. 9 z# s0 Z& j! S0 s
  1838. ; http://php.net/exif.decode-unicode-motorola2 d: {1 r1 y5 J
  1839. ;exif.decode_unicode_motorola = UCS-2BE( h8 E; ~8 l6 D+ Z+ I* k5 h
  1840. , L1 T' W* @7 t9 f3 J# a, t3 Z# x
  1841. ; http://php.net/exif.decode-unicode-intel- U7 f. G5 H: Z% W' M' ?
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    6 g) @6 s/ p" R* q7 ]
  1843. $ q7 v2 g; L4 K( u9 F) x  [
  1844. ; http://php.net/exif.encode-jis
    ( t, S5 u) z8 T8 B+ A0 b0 P
  1845. ;exif.encode_jis =
    & Y- k9 p" u- v- G; g+ D
  1846.   {2 b( V6 Y3 g
  1847. ; http://php.net/exif.decode-jis-motorola& r0 ^9 Z+ W0 w/ P& p/ c4 p' o1 q' v
  1848. ;exif.decode_jis_motorola = JIS0 x& [2 {! p4 |* o; F2 o' K
  1849. 3 F6 Y+ c8 j/ q: C2 K. F9 W
  1850. ; http://php.net/exif.decode-jis-intel6 y9 t' V; M* k' \% b
  1851. ;exif.decode_jis_intel    = JIS
    2 E/ Q4 I: S* s+ I# Y4 Z, x6 ?

  1852. & {8 R' l6 T, m; w1 k# j
  1853. [Tidy]$ O, B# v# @2 z! y$ a# c
  1854. ; The path to a default tidy configuration file to use when using tidy
    : a: `( o7 m# A  O3 a" D
  1855. ; http://php.net/tidy.default-config
    $ V6 {! {* ^9 ~
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    / B+ N4 E5 R* Z* d9 ?
  1857. 5 K( P8 @6 N( c/ [/ T, R) r9 y
  1858. ; Should tidy clean and repair output automatically?5 Y1 a, [3 ?1 W6 H7 p  d$ z, x
  1859. ; WARNING: Do not use this option if you are generating non-html content( K/ H! @# w9 `/ t
  1860. ; such as dynamic images4 e. j: G; o) a! L8 g
  1861. ; http://php.net/tidy.clean-output9 k  L* A: `3 k9 |1 S" k0 p
  1862. tidy.clean_output = Off- }' b% w( F7 L3 x

  1863. : v- A: z3 w; e
  1864. [soap]0 [" y: k6 N5 j1 x* a7 t% n
  1865. ; Enables or disables WSDL caching feature." P: O; s' b5 Q0 M) @
  1866. ; http://php.net/soap.wsdl-cache-enabled
    3 R: \2 T9 d6 f. D
  1867. soap.wsdl_cache_enabled=11 p9 r# d4 e5 e" u# ?4 h. Y
  1868. * _1 g0 ^. Z- x" D3 b5 D" U
  1869. ; Sets the directory name where SOAP extension will put cache files.7 c' r$ ?4 G. m$ |1 M; ?; N
  1870. ; http://php.net/soap.wsdl-cache-dir7 K. N: _4 y3 I. Y4 D* h
  1871. soap.wsdl_cache_dir="/tmp"
    / I  n* W* G. k/ a$ R' M9 i, r, l
  1872. ) R8 ~& `( F) R) _
  1873. ; (time to live) Sets the number of second while cached file will be used# T4 N. b3 x# F5 T$ H1 m4 ~8 s
  1874. ; instead of original one.
    ' f) k2 `9 _% c' f. f
  1875. ; http://php.net/soap.wsdl-cache-ttl7 y& s9 `- X0 [6 A8 H, X$ o& A
  1876. soap.wsdl_cache_ttl=86400
    . b1 P/ p/ q; z- U3 C$ g2 `
  1877. , ?7 O! T' P3 {0 a- E" c
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)* W% t: e6 N/ n* }# N4 S3 g2 z
  1879. soap.wsdl_cache_limit = 5
    1 s2 C: G% D# \2 s( p: f

  1880. + O' L. r* W, T" [' l8 s
  1881. [sysvshm]
    5 i2 H4 Z$ P. o* A9 ]9 y. [! H
  1882. ; A default size of the shared memory segment
      q, c& [- @) o% s5 K% {# H
  1883. ;sysvshm.init_mem = 10000; z! T7 \/ l: @* L' m
  1884. ' J( f% F8 f3 d4 F
  1885. [ldap]1 \6 h3 h' ]1 _- q$ w6 V2 O
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    9 Q& m: W9 X% x9 Q% ?+ P- V. M
  1887. ldap.max_links = -1
    1 A9 G8 A" N# m$ t1 `

  1888. 8 m4 g/ a# z0 X" H' B+ n" ]. M% y" W
  1889. [mcrypt]
    1 t- P- ?0 i! F+ Q/ U
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 O7 U: M" q2 Y. f4 k, D; ?
  1891. " N5 ^% Z9 H7 R- P9 [+ J" U
  1892. ; Directory where to load mcrypt algorithms- |2 Q- T, O, D* ^) T: I) r, r  H/ j0 N$ b
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 ]- Z, Y6 q. R
  1894. ;mcrypt.algorithms_dir=
    7 o4 o( n7 I6 h( ^4 c

  1895. - Z4 i% a$ Z9 V  Q0 a- J) T' z
  1896. ; Directory where to load mcrypt modes
    * t: [/ \: q! y) |$ T7 f, u
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 ?; b$ ?$ v7 R( ~7 a+ ]* o
  1898. ;mcrypt.modes_dir=
    & c3 j( X7 |7 m; F) ^
  1899. $ A, [. F" Q, g" u, E% }- B
  1900. [dba]
    4 i3 ]- j8 i+ Q& R3 X
  1901. ;dba.default_handler=
    . d0 s5 I* E- b) S. p8 \/ g- U7 o

  1902. 1 ^, n( e& L' G- M" p" C: e: ?
  1903. [opcache]
    & C5 I% ?1 s1 e% Y! q  Q9 R* \
  1904. ; Determines if Zend OPCache is enabled9 i" S* s1 x9 P( N
  1905. ;opcache.enable=08 ~8 r/ l+ v2 j0 y3 T' n* ^
  1906. ( R0 n+ W6 S; I% E
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP  U. s' U( z% k$ G3 u% l' t3 j
  1908. ;opcache.enable_cli=07 R0 ]9 D+ O) m3 ^+ f$ F
  1909. ) c$ M7 \& {& ?+ B$ u
  1910. ; The OPcache shared memory storage size.
    9 R" l( P$ z* C+ `
  1911. ;opcache.memory_consumption=64! o1 b% R0 E' p7 k- C" D

  1912. 7 @" f/ \6 o; u7 `: ]( u
  1913. ; The amount of memory for interned strings in Mbytes./ d3 r6 U5 i* @( B5 ]) B. v/ V
  1914. ;opcache.interned_strings_buffer=4
    ! {# \7 q' p* h2 v

  1915. 7 t' W7 u" y2 I# I: w% T; L& h
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    2 \, F$ P+ j# I; [
  1917. ; Only numbers between 200 and 100000 are allowed.1 q" K% ~  Y$ [% p
  1918. ;opcache.max_accelerated_files=2000* ]! F1 h9 j% s2 w! I- v

  1919. % t9 u( x, n8 O' I
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.$ \% n' O/ X/ Z" X% c# K" ?4 ]" a
  1921. ;opcache.max_wasted_percentage=5
    + F- s  H  F8 O2 [: l

  1922. # \3 ?( i; z4 o) F
  1923. ; When this directive is enabled, the OPcache appends the current working# y0 w+ Z3 U6 P2 ?, O) g% M. {
  1924. ; directory to the script key, thus eliminating possible collisions between
    7 ]3 g3 ^- @# Y  E( U9 l
  1925. ; files with the same name (basename). Disabling the directive improves) U: m' P) C2 L/ M. I
  1926. ; performance, but may break existing applications.3 {- K. T+ [/ o) i0 q: C/ K
  1927. ;opcache.use_cwd=1
    : e  \+ X5 @& t' t" c1 k3 J/ v
  1928. ( p9 d0 ^2 @8 e" l, g6 W
  1929. ; When disabled, you must reset the OPcache manually or restart the/ L( Z* }  g, @% o& n* U  f7 B0 e
  1930. ; webserver for changes to the filesystem to take effect.
    , ~* [  Y' N6 P
  1931. ;opcache.validate_timestamps=13 z; U- ^8 j7 ]3 ?% |0 x, N0 `9 ^! s4 A

  1932. 0 Z" F2 q& S9 X0 u- M
  1933. ; How often (in seconds) to check file timestamps for changes to the shared( P% `+ c4 {, C1 |
  1934. ; memory storage allocation. ("1" means validate once per second, but only0 |2 p8 R8 m; A, w1 G, U6 W0 s
  1935. ; once per request. "0" means always validate)
    1 t0 Z& \# u' U" x* l) _
  1936. ;opcache.revalidate_freq=29 |0 ?9 Z4 C3 _

  1937. 6 k' u+ G0 v9 i/ |  u
  1938. ; Enables or disables file search in include_path optimization
    & F3 C- V9 W* {1 f: W
  1939. ;opcache.revalidate_path=0/ T/ J7 w% j8 }' Y

  1940. 3 e6 ]  G. M  n; Q& Y# x
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the0 `# U. }) T' S; t8 U; g" O
  1942. ; size of the optimized code.+ E  |7 ^3 t2 m6 A, U' [: e% J; i( E
  1943. ;opcache.save_comments=1+ Y9 w; z! X4 j, r' [

  1944. 7 a: }3 d- n3 }  t$ f0 b
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    6 [6 `0 k7 w" B2 c( G5 {/ z
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ; s1 U* |# N. u$ a: H$ M; L
  1947. ; that don't need them anyway.
    $ z; d. C3 G; z
  1948. ;opcache.load_comments=1: v7 Y7 h  _+ Q' P

  1949. ! S: s* w2 A% B' ]* M
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code2 P8 j! |( N1 j" i" t8 X& T. {- D
  1951. ;opcache.fast_shutdown=0
    # i5 V' k2 ~  x  w" w; N: t
  1952. ! T9 `0 v# e4 R( j) Q7 @" q/ k
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ( @4 O9 [+ ~* U" ^' q: g% D
  1954. ;opcache.enable_file_override=03 D; Q  F8 R! m. p! Y4 v1 Q
  1955. ! ]' h1 k6 W3 Z# |" s1 f
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    & v2 p; O" B/ C+ a' z9 H9 j
  1957. ; passes! r) J; i' T- a4 A' C1 Y8 V  y8 |
  1958. ;opcache.optimization_level=0xffffffff8 x/ X2 p/ Y3 @1 b2 k, ?$ ?& ?

  1959. " l! s# W: n! ?$ a8 s
  1960. ;opcache.inherited_hack=1
    $ A" o8 x6 d* Q+ u  X- h2 k: w
  1961. ;opcache.dups_fix=0: r+ @, d+ q5 E  \0 G* L& |

  1962. ( a) m4 J/ F: x4 e, O3 T7 D
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ; X7 f7 x$ G) _4 _9 p
  1964. ; Each OPcache blacklist file is a text file that holds the names of files2 O) J8 Y% Q) Z% o
  1965. ; that should not be accelerated. The file format is to add each filename+ n1 j, V$ J1 r1 N7 @& |1 l" O
  1966. ; to a new line. The filename may be a full path or just a file prefix$ B, a7 p9 O! U
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    0 E  r7 f* `9 z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)., ?. H+ @6 @& O
  1969. ;opcache.blacklist_filename=
    / X9 l% g6 k8 s& Y5 [" w+ J6 w

  1970. % m- b' K; n" B7 U. |' T
  1971. ; Allows exclusion of large files from being cached. By default all files
    & _, E7 _# D' q, t5 o
  1972. ; are cached.* x0 i/ L- ~& w) g/ }
  1973. ;opcache.max_file_size=06 t2 s! S& [) }# N: U( w9 W1 i- E0 A, s+ j
  1974. 1 c3 p  o: p/ H# W3 g6 v1 x
  1975. ; Check the cache checksum each N requests.
    ( v( z) s) _% O7 w7 e3 u
  1976. ; The default value of "0" means that the checks are disabled.( C3 s6 P, u" C. b/ ?, L
  1977. ;opcache.consistency_checks=0
    2 {; E  v$ L$ H; `

  1978. 4 v4 K) Z% T+ A$ T% m, r) l8 k
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 f# E8 N' |; \' U2 O9 x) x
  1980. ; is not being accessed.2 l. K0 _- Q% _, x
  1981. ;opcache.force_restart_timeout=180" }7 Z* }& H$ `( y! _, ?
  1982. ! U2 z" ~! u8 h, B" x4 z
  1983. ; OPcache error_log file name. Empty string assumes "stderr".4 f" a% ^1 c4 k* X, q) v
  1984. ;opcache.error_log=& R% j' z& b( P6 O, d- ^6 V

  1985. 7 T$ ?2 z0 c* w# M) T* o# Z4 N4 ?
  1986. ; All OPcache errors go to the Web server log.4 v- t' `" {) \
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    # }" I+ V( G# [, a. v% m
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ; h. U6 s4 V2 I: I& h5 Y4 A$ V3 e0 V
  1989. ; debug messages (level 4).  _5 \) Z8 @( `- H
  1990. ;opcache.log_verbosity_level=1
    6 Y: M, A2 e6 J% ], j
  1991. # I: A$ {; ?1 S, l8 Z' U1 h& l7 \
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 V% d: N$ }+ w$ G* U
  1993. ;opcache.preferred_memory_model=
      f( a: N  _) o, j; |4 ]9 Z
  1994. " V$ v; |4 s7 G) Q6 v- a& [
  1995. ; Protect the shared memory from unexpected writing during script execution.4 e; W3 A( _) g+ _& W
  1996. ; Useful for internal debugging only.9 p. v& J5 [8 [0 Z5 `! }
  1997. ;opcache.protect_memory=0, H7 G, N7 B- J( h

  1998. ( d- l9 M/ i# z! H9 E8 C  H& r$ h
  1999. ; Validate cached file permissions.
    . p9 q1 }% K$ \# Z9 n0 u
  2000. ; opcache.validate_permission=0
    6 O+ v* v0 Q5 L2 ]0 w4 N& i# M9 B

  2001. 7 ?5 b' P- \( u. C6 g
  2002. ; Prevent name collisions in chroot'ed environment.% @$ Z5 ?' }) e( Z" w
  2003. ; opcache.validate_root=0* B, K, h% ]$ H8 p0 S* D
  2004. & L; z# _: O- \- e2 D: E6 |
  2005. [curl]4 J! T" L1 l; p
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an  e, p) j& ?# G
  2007. ; absolute path.# I+ [( L# z' v' s4 ~
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt! ?' f/ e; g1 f- |* Y+ r# u

  2009. ! t: P$ C: }/ A. }# w7 _
  2010. [openssl]2 I0 C! O) t/ L/ I
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    7 V2 ]' d7 h4 [0 e0 K0 B
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & v2 a# e  K7 k+ k, g# b
  2013. ; not specify a value for this directive as PHP will attempt to use the
    1 }: k. v5 e* X) Z
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ! _9 V! t. C% W$ \+ B3 D% G& j
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    - D  N$ I) h4 r, F5 n" E
  2016. ; option.
    $ A0 N: _* E; E) s7 r  ~4 Q
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, |# @6 V- n% L& {
  2018. 1 n0 y4 I$ I! g  f( s! E9 b
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    8 K3 `6 K- _, I
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ' H; i# \; O7 u; r
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    , I$ L1 U0 |5 m  e  Z
  2022. ; Most users should not specify a value for this directive as PHP will
    0 y( s3 Q1 o/ [
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # ~. L: s; I! ?1 `( p2 j5 t
  2024. ; this value may still be overridden on a per-stream basis via the "capath"2 o/ ]$ I  j% f! o/ p9 F
  2025. ; SSL stream context option.6 B1 }6 Z5 V% R6 L/ p6 j) f
  2026. ;openssl.capath=. {. v" V, S4 R

  2027. / R: @- V1 N+ R1 X, \* P( v
  2028. ; Local Variables:
    0 _4 `* K# k; H1 ~0 x# S9 A. j' y
  2029. ; tab-width: 45 T! `" A. O' c2 c( ?
  2030. ; End:: {0 K: D$ p# H

  2031. ( h2 Z1 a1 |% ?6 ^
  2032. ;eaccelerator
    4 |) b1 N% f0 Q/ z9 n3 a
  2033. ! M  W1 w1 F8 {
  2034. ;ionCube
    : n) P; l# }: Q! L1 x  |5 m4 S( u
  2035. ' M; p/ n7 v1 e2 J
  2036. ;opcache) X1 u# _, @/ J( G9 }+ K

  2037. " L7 M) a3 o. K; i' O/ _# F, n
  2038. [Zend ZendGuard Loader]. v7 R7 U9 p' x" ]
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ( N0 G5 p1 n, P
  2040. zend_loader.enable=1
    ; M8 G0 u& d2 P" @
  2041. zend_loader.disable_licensing=02 c' d& V1 f3 y! V
  2042. zend_loader.obfuscation_level_support=32 o: e, \* @: r0 N
  2043. zend_loader.license_path=+ \8 n/ [0 I; X0 N5 G

  2044. 0 W, j8 a- w, }# R  |$ M- |
  2045. ;xcache1 B; ~2 [4 m$ O0 A
  2046. ! f8 L5 j+ n% y( o& e- J2 A6 @
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692: ~, c9 l1 d/ l  c, o

: F+ s/ J& F) G' u3 l
8 W% \/ {0 k- E2 HDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
2 P  r9 i* e: V! B7 d. ^+ C2 b) U! v# e& l
Discuz!程序版本选择:! w) R. t# f# W. x0 `! o- |
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
, G* }# ^3 \1 Q不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:, w: J# N' k# J! i
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。
' Z' ]" v, D, s" j: A& O. T8 m& S. S& B
Discuz!插件模板版本选择:/ O* s. T7 V; \' y8 L$ a
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
  [! G) C8 B" K$ o5 J2 D* K针对这个问题做个统一的普及:
- T6 s& K4 R7 u' jX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
+ A. `3 }& e5 U' r& i' t: {  ]0 M4 Q" W
所以8 t; S) A9 t- [) z& R5 C
适合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的二级域名。# Y, l& w6 o' D' u' L: F5 ?
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。0 Z9 g) \, K+ b9 c5 f, E& w- Q
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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