分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
1 \: C' C) ^1 B2 B+ @% p' {  e# i# y) k+ O3 N7 ~5 h& I* q- o6 b! x
  1. [PHP]
    8 Q( M/ |4 k  Z. l4 ^: H3 W
  2. 8 L% O/ d% E4 w3 N
  3. ;;;;;;;;;;;;;;;;;;;
    / ?+ v! }  l5 `: t
  4. ; About php.ini   ;
    ; [' e: D" ~6 C& @
  5. ;;;;;;;;;;;;;;;;;;;8 _8 j0 A8 Y- O. O5 G  {) z
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ }) \- m/ a5 Y( q9 c- _) Q/ M- v
  7. ; configuring many of the aspects of PHP's behavior.
      s+ m) i9 a: h# M& h1 d' d6 D
  8. 3 e+ z+ O3 O3 e3 K+ w' d3 W
  9. ; PHP attempts to find and load this configuration from a number of locations.' H- E& Y2 B3 ^& E& H) B
  10. ; The following is a summary of its search order:
    ' X) F1 z, C5 u" y) z3 k
  11. ; 1. SAPI module specific location.* c! o) R$ X# \4 q- U
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    5 c' R& f5 b9 C2 x8 t! k
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    $ }/ T! {- |- h
  14. ; 4. Current working directory (except CLI)$ E: ]: y9 T7 u! \$ p' y4 Z7 A
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP1 S8 T' {6 d5 L' w
  16. ; (otherwise in Windows)- T! ?' P! p, z2 t
  17. ; 6. The directory from the --with-config-file-path compile time option, or the$ |& R4 ^7 ~) ?# l& M* Q, y- I2 `+ Q' |
  18. ; Windows directory (C:\windows or C:\winnt). T4 y3 P9 s; B& W8 i$ }/ f
  19. ; See the PHP docs for more specific information., i8 `$ ^0 ?- r- R6 @
  20. ; http://php.net/configuration.file
    8 N& @- O' z+ }

  21. # L1 N4 k: u* t$ ]- Y( {0 W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines" J$ Y0 [6 j& {& H# S% v* N, e9 W
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    $ F/ E. ~; Y/ s1 H! a
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      |: V4 R: I: d2 ?& k
  25. ; they might mean something in the future./ A. o5 O; s4 S, W7 d. ^# D

  26. " y4 h9 ]/ ~5 r- p9 B
  27. ; Directives following the section heading [PATH=/www/mysite] only! q  `, l, {* }. G. N7 B
  28. ; apply to PHP files in the /www/mysite directory.  Directives" i8 [) r$ L: U- x
  29. ; following the section heading [HOST=www.example.com] only apply to
    + e1 y1 H; W1 b- R2 Z
  30. ; PHP files served from www.example.com.  Directives set in these* A' X9 l. r2 L& P0 }
  31. ; special sections cannot be overridden by user-defined INI files or
    . a( S$ x) e: g
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    5 m8 F( ^( V4 x
  33. ; CGI/FastCGI.
      |) i( C9 C& R- U+ g
  34. ; http://php.net/ini.sections
    $ [) j8 P' e1 P& u1 I+ u
  35. 8 Z3 _! V/ n" p8 ^  a" h8 q9 }8 p
  36. ; Directives are specified using the following syntax:
    3 l, W4 B1 y# Y; D
  37. ; directive = value  X0 ]* o: p- O4 Y  [: b1 _2 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 b4 l; o$ h& X, A3 B' F; a( R! l
  39. ; Directives are variables used to configure PHP or PHP extensions.3 n- W: I) Z4 \# f# m
  40. ; There is no name validation.  If PHP can't find an expected% h; T, c* |% c' a
  41. ; directive because it is not set or is mistyped, a default value will be used.
    % a( i; a6 G' l

  42.   G8 ]6 [7 I" Y4 W
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one+ E# l/ y/ ?! }! e9 W8 c% H2 d
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression4 w# I5 C! v; Y9 @# p1 u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 x. B3 R. f' i5 G+ V  C7 p6 l
  46. ; previously set variable or directive (e.g. ${foo})5 T1 V3 G* \+ V# w. p
  47. + f, U7 F+ l4 s7 X4 d5 e
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ' y  b% N) S! H, L/ g
  49. ; |  bitwise OR" ]5 p6 d/ W/ h+ K, E: p
  50. ; ^  bitwise XOR) g. ^+ N$ ], _" F$ {
  51. ; &  bitwise AND1 z% b2 x; |/ C1 Y5 N1 |
  52. ; ~  bitwise NOT6 Z6 l# B" E9 U* M3 R
  53. ; !  boolean NOT* U* r4 B& O3 F/ ^4 E
  54. - L5 r# Y; Y: e, |# ]% I" d- n
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.1 ]% I4 C4 G7 I+ W+ R7 V
  56. ; They can be turned off using the values 0, Off, False or No.
    & i3 i5 d) _- a; a
  57. 0 u7 F' I  C0 a# s- _9 R, y
  58. ; An empty string can be denoted by simply not writing anything after the equal( N0 G% Z" s3 M, g8 C1 O1 S6 m" ^
  59. ; sign, or by using the None keyword:* r1 s, d5 ?- k; o
  60. ) ~+ T/ _; P0 h& ~) z* ]
  61. ;  foo =         ; sets foo to an empty string
    & \" y6 j/ c* C5 @1 S) w
  62. ;  foo = None    ; sets foo to an empty string
    ' ]0 A$ y1 W3 W" m$ q8 _" E  D$ P
  63. ;  foo = "None"  ; sets foo to the string 'None'
    # G8 b1 j$ F$ N' j8 R# v

  64. 0 L& {# z/ w& q
  65. ; If you use constants in your value, and these constants belong to a2 Q. E  X0 C( P6 B( A5 q5 u
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    , k, P  N1 T* v0 ?: l3 o
  67. ; you may only use these constants *after* the line that loads the extension.
    ; h0 _# R: w# o2 q) \0 _

  68. - [! B  X! f  O+ d6 ~7 T# ^- |
  69. ;;;;;;;;;;;;;;;;;;;: i, E4 R3 W0 h* e4 e
  70. ; About this file ;3 Z% J6 D" J) Y. O
  71. ;;;;;;;;;;;;;;;;;;;
    , t2 X. w' O. i% m4 X4 p' Y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! Q) M' ]9 U& u: ]# [& d
  73. ; in production environments and one that is recommended to be used in
    9 k8 M' O' h! A, p: }' g' y+ m) m
  74. ; development environments.( C, m* Q% }( N, k- t+ e! z+ r& u
  75. ' C$ C7 z* i7 [4 {
  76. ; php.ini-production contains settings which hold security, performance and! h/ R7 {% b2 z! j# O
  77. ; best practices at its core. But please be aware, these settings may break% t9 c; K- F1 Q) F# m  v
  78. ; compatibility with older or less security conscience applications. We
    9 V0 _4 Z* [) G5 B; u. K
  79. ; recommending using the production ini in production and testing environments.0 `$ s/ L& I  p9 l/ h$ r/ R- O' j: f) q

  80. 4 W6 J) F7 m6 C2 Y+ T6 W" o2 i+ g
  81. ; php.ini-development is very similar to its production variant, except it is5 B" m; [) U/ I  @! C
  82. ; much more verbose when it comes to errors. We recommend using the
    , _3 E, a) l1 t" |
  83. ; development version only in development environments, as errors shown to$ {6 {, m# g! g/ P
  84. ; application users can inadvertently leak otherwise secure information.' e1 I5 l# l3 U' @/ A
  85.   V  @8 _- Y5 V9 F
  86. ; This is php.ini-production INI file.
    + {7 Z" p+ Z1 F: D" D  F

  87. - Y1 ]7 I& O% S2 f3 |
  88. ;;;;;;;;;;;;;;;;;;;+ g" U. p. n' m& S) @3 A
  89. ; Quick Reference ;" _* h, j4 O4 G$ I' Q1 ~
  90. ;;;;;;;;;;;;;;;;;;;; B$ _1 v6 O* t: H* l4 H. M
  91. ; The following are all the settings which are different in either the production* S$ M( g9 ?, J
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 f+ }  c% k- {. X1 e) }
  93. ; Please see the actual settings later in the document for more details as to why
    4 l; q; O3 Z, R/ U
  94. ; we recommend these changes in PHP's behavior./ ~1 ?+ C$ c+ s$ _; n: z
  95. - q1 M3 F+ h9 c* G! y+ X' B
  96. ; display_errors, @3 c8 A8 @& T, o
  97. ;   Default Value: On1 P1 \3 `) \: l9 P
  98. ;   Development Value: On& S" w3 N/ D2 q5 i7 Q
  99. ;   Production Value: Off
    7 `; i! Z1 |9 c* J0 F: A2 m
  100. ' `9 Z- H8 O4 a: V
  101. ; display_startup_errors4 e% ^& s- i) |, W; J
  102. ;   Default Value: Off
    $ j) r! Z2 C* L' g5 B$ G
  103. ;   Development Value: On: N' R  o  g/ p/ Q2 n6 z; u1 J
  104. ;   Production Value: Off
    . V/ Q$ m" }" k2 `
  105. + f% _7 z8 a6 `. }
  106. ; error_reporting4 j4 I; L% S( p& W' g  D
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 U: t5 ]7 k, F& q
  108. ;   Development Value: E_ALL
    - ^' f" {, J2 g/ f* F. D/ R6 I0 p* h
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! G8 H! d- z) n! s
  110. ; N* P' x9 @& }' f8 g
  111. ; html_errors& f% r  x- z) h1 C
  112. ;   Default Value: On3 Q: v: ~0 c+ m/ D; g
  113. ;   Development Value: On; G4 B9 h8 g4 S, @
  114. ;   Production value: On
    ) K: O8 h$ c2 z, p+ i2 b$ B& F2 p
  115. / {" W1 t2 B+ X8 l, D+ V) S
  116. ; log_errors
    ( A6 E8 L( [% ]- k
  117. ;   Default Value: Off+ j( c+ u2 I5 V, N, K- j
  118. ;   Development Value: On
    # v: K( P$ d: X% s
  119. ;   Production Value: On
    : }( K2 x# V" T# I& S
  120. , @" c( a0 g6 {2 I, T2 G
  121. ; max_input_time
    7 _3 g( `' \1 X4 }  W
  122. ;   Default Value: -1 (Unlimited)- ?! l. J5 ?; b  ~2 A
  123. ;   Development Value: 60 (60 seconds)% X. ?1 y% s, P& W4 r
  124. ;   Production Value: 60 (60 seconds)
    ! [" ^! F, ]0 R) n. A1 C4 Q) J
  125. 1 T/ A4 N0 x# @9 j7 C
  126. ; output_buffering
    $ t) F+ b) I' o+ k; H
  127. ;   Default Value: Off
    . W/ q7 o$ g: G4 X
  128. ;   Development Value: 4096+ u# @. g; o4 N. N6 @: ~2 G
  129. ;   Production Value: 4096
    8 K0 O* ^+ e9 j8 [7 V
  130. / o5 L9 z8 N9 U! i  Y: _3 K" a. B
  131. ; register_argc_argv! B1 w! e# j# t4 r3 Q/ y$ R
  132. ;   Default Value: On
    $ b3 B% U+ A- a: U8 {$ |3 _+ ]6 L6 ?
  133. ;   Development Value: Off% D; P5 }5 l, k( h
  134. ;   Production Value: Off0 x& V% A  q$ k5 ?1 u) H5 ^

  135. ( M0 l! s0 m5 Y: h) c
  136. ; request_order
    8 \' d6 E# M# I- n7 \' i. @  z
  137. ;   Default Value: None7 i7 t% M6 B" J9 \# b; I! C0 O
  138. ;   Development Value: "GP"& `( L# e+ v" U1 [2 n  k
  139. ;   Production Value: "GP": }7 L1 o/ ?- ?0 I5 w  R. h
  140. ) w. A# }+ B+ O. X, P1 w
  141. ; session.gc_divisor( J+ l, O! R& F; z
  142. ;   Default Value: 100
    $ y) ~; D( I' u# a0 J+ c
  143. ;   Development Value: 1000, E# X- ^8 M* M; d
  144. ;   Production Value: 1000! ]9 ^# }3 B7 b) E6 `9 o  ]

  145. 5 S0 W. ~0 S" ]; T8 A" L& o3 t/ R
  146. ; session.hash_bits_per_character
    4 W- o4 g* I) w5 ~  W/ J
  147. ;   Default Value: 4' o& C1 M4 w/ `3 ]* l3 ^! M% C
  148. ;   Development Value: 58 u/ @5 r& V& ^, z8 {, z/ r! {# C! m
  149. ;   Production Value: 53 m3 U! H, O+ U' }7 p5 |

  150. 1 f* I: k# h; ?
  151. ; short_open_tag
    ) N* Z4 L1 g1 u
  152. ;   Default Value: On
    & Z& v8 V* ^, y$ S9 r# I0 i
  153. ;   Development Value: Off  _3 ^. q. A7 i5 ?7 @
  154. ;   Production Value: Off" o9 P6 u# u- @, y

  155. 0 q0 y3 P: K! E3 D" i
  156. ; track_errors! i3 \3 J1 T8 S8 S! v% V; t) H
  157. ;   Default Value: Off
    3 i! x- I' N* j2 ~
  158. ;   Development Value: On$ i1 K/ h( J6 n" f
  159. ;   Production Value: Off0 L2 {" X/ M9 N! a7 x' d0 x' a+ U
  160. 3 ^! `5 t- `3 `2 ?. _$ e1 m6 C# }
  161. ; url_rewriter.tags
    , m0 y2 ?( e2 U8 F, `
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - g9 R- _$ w" k: Y; Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* _, m! z4 Y2 p: m( Z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 q( [* J( h/ j
  165. 4 u2 h. r" K4 O; K0 H3 J
  166. ; variables_order
    / H2 Q& P) p5 N0 |4 o
  167. ;   Default Value: "EGPCS"
    ; k, H/ ?4 p0 W- L5 P7 l( J
  168. ;   Development Value: "GPCS"
    " J" K1 ]4 n, n4 `) c8 Y
  169. ;   Production Value: "GPCS"
    $ h- t1 k* N0 W

  170. ; T7 z) g. l" ~9 _
  171. ;;;;;;;;;;;;;;;;;;;;
    6 G- V$ A6 @& j) M
  172. ; php.ini Options  ;/ n# G+ \- P/ b/ X3 h$ ?' u
  173. ;;;;;;;;;;;;;;;;;;;;
      a" a4 y) D+ M  @/ [; ~: A" Y' m( I" n
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 }9 b4 Z4 h! W) l/ ^) a5 B  |& b8 Q
  175. ;user_ini.filename = ".user.ini"/ Y4 Q0 x% N) M% F

  176. ; g, ]5 I5 p/ Z/ S0 C
  177. ; To disable this feature set this option to empty value' r2 Y% g$ ]! L3 e+ \
  178. ;user_ini.filename =
    3 D: `" o/ H' X+ T3 |
  179. 1 f! i/ D1 k, a- C
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    4 L3 `, j$ N6 w, H& D; q* J& k
  181. ;user_ini.cache_ttl = 300
    . F3 F# C. A* H' U. K- o3 @

  182. 0 x/ y6 R, U* C5 R
  183. ;;;;;;;;;;;;;;;;;;;;
    . S3 O/ g2 Q( z- m' |
  184. ; Language Options ;
    1 Z% [* ^$ p) H+ F3 Y8 P
  185. ;;;;;;;;;;;;;;;;;;;;+ F, Q# @; E3 S
  186. ' J0 ]' t/ d( S1 f& k- t: ?5 v1 [5 S
  187. ; Enable the PHP scripting language engine under Apache.2 I0 h3 I) A1 z! b7 W+ K7 W
  188. ; http://php.net/engine
    # G, j6 R; A6 u4 ~2 P) b
  189. engine = On
    , I% r8 t% O2 h6 f( V/ u
  190. ( k, B' u- I% ]! C; Z6 @$ h, b: f
  191. ; This directive determines whether or not PHP will recognize code between
    " \% R8 g. S  v, d1 x
  192. ; <? and ?> tags as PHP source which should be processed as such. It is4 G1 {% n# M9 I7 Z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    3 y# a) S. C! d! U4 o. J
  194. ; should be disabled, as enabling it may result in issues when generating XML
    " L% {) t" `" y  M% l, v
  195. ; documents, however this remains supported for backward compatibility reasons.
    # h# D. W* f& E
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 \- `7 ]! W3 H$ M/ o4 o& t9 a2 K
  197. ; used regardless of this directive.* f. f1 t# b- A. C
  198. ; Default Value: On$ m. {3 R' _( q: E
  199. ; Development Value: Off
    8 m+ o2 Z5 Y/ @# V5 M4 ]
  200. ; Production Value: Off. ]6 k1 {: v5 A  `% K! m  j& t; Z
  201. ; http://php.net/short-open-tag( j4 W! }) R; B, q8 J. U
  202. short_open_tag = On
    4 S! p; x- A- L7 V9 W# U

  203. * t- \$ ?: L# c
  204. ; The number of significant digits displayed in floating point numbers.
    6 t- Z" V5 a3 Q$ P! ^: R
  205. ; http://php.net/precision
    6 V; @- Q. [4 d2 e
  206. precision = 14+ h) E& r9 K- Y4 \

  207. : @, n0 E4 a( @& }# _5 }
  208. ; Output buffering is a mechanism for controlling how much output data
    * s" _5 X. w2 W
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that0 ]* X% m# f0 m  q( c+ n
  210. ; data to the client. If your application's output exceeds this setting, PHP
    7 `5 U7 @; y/ E
  211. ; will send that data in chunks of roughly the size you specify.3 a* A' |) n$ h- i; O6 E, u' \1 F
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    4 E0 V- v) o, }9 ?: t
  213. ; interesting side-effects depending on your application and web server.
    4 i, z* z3 K2 k- [1 A
  214. ; You may be able to send headers and cookies after you've already sent output4 U2 F* ]# v, |2 B3 x) [0 r
  215. ; through print or echo. You also may see performance benefits if your server is
    8 W) Y' d3 \. p3 p" O- P$ i
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    - }& U# b- m0 l" a5 `6 F
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance0 F1 m  G# I! b. B; h9 M
  218. ; reasons.
    " g" i5 z* |# r6 w# z8 g% f0 ?4 J
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    " L* X2 J+ z. N5 @
  220. ;   functions.
    4 N" w7 ^) s1 ]$ N5 D' T7 C
  221. ; Possible Values:
    " t9 k, s  N3 X$ ]% R9 f4 l, H" S. Q
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    - Y% F9 F: `( O, @9 x
  223. ;   Off = Disabled' Z0 C6 v8 @& T1 M* m
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " K" I! @8 o; ?3 g3 Y( S
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI9 ^" ?% R( f& P
  226. ; Default Value: Off
    % h9 M# d; ]$ t; L4 R% S! f
  227. ; Development Value: 40960 {* q+ B2 i: h" g4 z
  228. ; Production Value: 4096
    ( F4 z! A" x: w! Y* Q1 r2 C2 }
  229. ; http://php.net/output-buffering
    / T5 ?8 T; Y7 k2 o
  230. output_buffering = 4096
    & d0 X" N3 M( Z
  231. : a; b% b. T/ L+ O4 l* @' E
  232. ; You can redirect all of the output of your scripts to a function.  For
    # b& u/ s! n& S6 ~8 }0 E
  233. ; example, if you set output_handler to "mb_output_handler", character% r; J+ e# e5 C8 v& c
  234. ; encoding will be transparently converted to the specified encoding.' r; [7 R6 C& E0 B5 @
  235. ; Setting any output handler automatically turns on output buffering.  t; o' m3 `( Y5 H8 W1 J+ p* C$ w
  236. ; Note: People who wrote portable scripts should not depend on this ini2 J. m7 f: A+ e+ J# E* o( q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) d4 R! |! A: N2 p* s
  238. ;   Using this ini directive may cause problems unless you know what script0 g- F" O" f0 o. Y
  239. ;   is doing.
    8 x, o& R* f1 v
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ C6 Y' j+ S% k# b- b4 X4 A  D& j
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
      h0 a) B' x2 b# O$ @
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    7 y8 M7 g+ F4 J+ Y+ z; A+ W+ J+ O
  243. ;   Instead you must use zlib.output_handler.
    ) m" V, l# q! I# C$ ^
  244. ; http://php.net/output-handler
    ( l3 G8 D- k# q# E1 C
  245. ;output_handler =
    . v7 [+ {! U% O: B

  246. / J8 L; p0 o& r: F! p4 f/ _
  247. ; Transparent output compression using the zlib library- ?0 ^9 a6 A- d5 J
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size3 g' N, D  E0 ?4 p
  249. ; to be used for compression (default is 4KB): p: C  G  C8 G. L4 `8 s; B1 f
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    , g0 ^2 y% u( }% ^. }+ x- L
  251. ;   outputs chunks that are few hundreds bytes each as a result of0 c# i* h' a8 l" B7 N
  252. ;   compression. If you prefer a larger chunk size for better, R8 I# b- Q1 p  e0 D
  253. ;   performance, enable output_buffering in addition.
    3 X: _3 _9 l0 R% \
  254. ; Note: You need to use zlib.output_handler instead of the standard" p1 A6 j8 B1 W5 O8 T
  255. ;   output_handler, or otherwise the output will be corrupted.
    ! j! L. S8 C$ S2 `6 l5 D
  256. ; http://php.net/zlib.output-compression& ]. H6 q+ ?: u. E, l
  257. zlib.output_compression = Off( `' ?/ D3 u2 \* C6 s6 Y: H1 X2 }

  258. 5 j8 h! p# F$ |2 z* U+ X! K
  259. ; http://php.net/zlib.output-compression-level
    " P! C& _" c& r8 c0 @/ ?# B
  260. ;zlib.output_compression_level = -1
    - Q% g6 _! c+ B$ G
  261. 2 S6 g3 x/ {$ X% {" o
  262. ; You cannot specify additional output handlers if zlib.output_compression
    - b5 E! B) i. U' r# a
  263. ; is activated here. This setting does the same as output_handler but in
    ' [  x* m2 U0 d: X, U
  264. ; a different order.
    ) w  h7 }& w7 i
  265. ; http://php.net/zlib.output-handler0 Q" R+ o4 U3 N0 w5 J& b' ^! {
  266. ;zlib.output_handler =" ^" }8 x. _& p( @1 _; X9 O$ ]
  267. ) r: U/ Y; L) x; x
  268. ; Implicit flush tells PHP to tell the output layer to flush itself& |. L/ h: N; y0 f( X
  269. ; automatically after every output block.  This is equivalent to calling the
    ! U, E5 X; p; f
  270. ; PHP function flush() after each and every call to print() or echo() and each" r0 [0 r5 N' u0 k
  271. ; and every HTML block.  Turning this option on has serious performance
    5 V# e: m3 i" D8 h" d
  272. ; implications and is generally recommended for debugging purposes only.' b1 n/ T' u8 w$ E. O
  273. ; http://php.net/implicit-flush
    5 V# F% }( ?* T0 i  h
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    * V; T& H0 D% B0 e6 b1 Y) m( X( A
  275. implicit_flush = Off9 V: w- h) \* s5 S9 X& S

  276. 8 g5 g$ X) E& s  j
  277. ; The unserialize callback function will be called (with the undefined class'
      \8 Z$ V" u, ~2 w; g
  278. ; name as parameter), if the unserializer finds an undefined class
    * q0 t6 _( E1 n+ |: e
  279. ; which should be instantiated. A warning appears if the specified function is: ^& C6 {! I% Q! S2 o1 U
  280. ; not defined, or if the function doesn't include/implement the missing class.. @( d! ~" {$ Z6 L
  281. ; So only set this entry, if you really want to implement such a, L* t: u7 S0 B/ k$ A% \
  282. ; callback-function.
    4 h, A( F- ?1 |3 z
  283. unserialize_callback_func =
    " R0 U- u2 Z; o& g) s. F/ k

  284. / X) V8 I! C2 d. l
  285. ; When floats & doubles are serialized store serialize_precision significant
    " o5 v. R! C" Q5 Y6 S& E% P
  286. ; digits after the floating point. The default value ensures that when floats/ Q" k0 l5 e- z4 K, P5 W% z! G
  287. ; are decoded with unserialize, the data will remain the same.
    8 W( }) O) \. N2 Z& g! u7 }) x2 A) b
  288. serialize_precision = 17
    ; Y" t6 e3 l* {' T

  289. 9 N: D; D% R- b* S: \5 [: `. O
  290. ; open_basedir, if set, limits all file operations to the defined directory
    , }* y7 v  G8 A9 O) l
  291. ; and below.  This directive makes most sense if used in a per-directory% H! S" X# A  @9 c/ B5 O
  292. ; or per-virtualhost web server configuration file.. k' J1 U6 D0 g, ?7 G: s$ t
  293. ; http://php.net/open-basedir
    / y4 ^! b) ?2 w# t" ~! J; D2 Z
  294. ;open_basedir =
    ( a5 q$ D7 m0 V1 f# G" d. \
  295. 3 s1 g0 {; {3 K0 e. |
  296. ; This directive allows you to disable certain functions for security reasons.
    ! u- N" g/ ?1 N' s% S7 W" l6 U
  297. ; It receives a comma-delimited list of function names.& W3 f5 v2 E6 Z$ _
  298. ; http://php.net/disable-functions# ~9 `3 O0 B0 V
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! b: T/ k+ I+ y* t# Q, l6 ^

  300. 9 g% `+ x/ E$ A* y/ M  W6 S8 _
  301. ; This directive allows you to disable certain classes for security reasons.+ v2 P- S2 Z, o$ P  x7 d
  302. ; It receives a comma-delimited list of class names.
    ' A1 e% r4 L, k: \# }2 z
  303. ; http://php.net/disable-classes
    0 D$ F( ?3 h3 M+ T  \+ X( I
  304. disable_classes =
    9 w) K; X. r5 h7 W! p

  305. $ P) l+ M% s% r9 ], M3 k( p) S0 p) F
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" V% n9 d; D3 m% G1 a. j9 T
  307. ; <span style="color: ???????"> would work.
    : |9 W; m& ~5 l. A1 n( Y$ |8 b
  308. ; http://php.net/syntax-highlighting4 j5 o0 s( n; D/ m" o% Y
  309. ;highlight.string  = #DD0000
    % f8 T! B  R+ Y* B& A0 G
  310. ;highlight.comment = #FF9900
    - [" v) }3 _/ q: K( l
  311. ;highlight.keyword = #007700
    ) F9 K) m, q, J1 i: Z
  312. ;highlight.default = #0000BB
    6 [5 S1 @8 X; T$ W/ b7 A
  313. ;highlight.html    = #000000
    $ n% q6 \5 a* x8 H- @
  314. - X* r( ?7 T2 E6 _/ G& V+ k7 q
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    , Q% h+ r2 o1 D- I0 _" [
  316. ; the request. Consider enabling it if executing long requests, which may end up: o6 ^* U3 F/ |5 a
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    5 l% r, g( k; i# S8 d$ d
  318. ; is to disable this feature.1 d  V5 N# s& p$ }
  319. ; http://php.net/ignore-user-abort" O# g8 h. q7 X, b3 G4 M* o  t. i- Q
  320. ;ignore_user_abort = On
    0 b& z, F9 p1 V) F4 v) V
  321. , W+ O' ?& c. Q9 {0 E4 o/ _
  322. ; Determines the size of the realpath cache to be used by PHP. This value should3 D( h( y+ H5 E6 _4 ]
  323. ; be increased on systems where PHP opens many files to reflect the quantity of) U6 I$ f0 c& `  ?
  324. ; the file operations performed.! E0 @+ l, O1 s9 Z) b
  325. ; http://php.net/realpath-cache-size0 ]6 s- C! M; ~; {9 X; u" F
  326. ;realpath_cache_size = 4096k
    5 S# k+ W! L/ l  E4 x0 x. Y

  327. 4 H/ \5 |- f6 l$ [+ V
  328. ; Duration of time, in seconds for which to cache realpath information for a given* a$ A- ?" V2 G6 Z8 y
  329. ; file or directory. For systems with rarely changing files, consider increasing this3 t. a4 Q9 j% y) p2 x% h+ n# }3 E
  330. ; value.: F5 k, d, [. M1 T5 H' Q. a" p7 \% x$ F
  331. ; http://php.net/realpath-cache-ttl5 [/ j" y( u% O$ b' e  i- ~
  332. ;realpath_cache_ttl = 1208 m, h6 y& Y% C; r8 G$ U3 b

  333. : k* j7 |# w4 s. ]. b9 Q
  334. ; Enables or disables the circular reference collector.
    % g& b2 r2 ^- {( k! d. A% ~  y
  335. ; http://php.net/zend.enable-gc
    - @: l2 y, t) \8 `9 R3 q" C) n: J9 x
  336. zend.enable_gc = On* N) a. K% j' v6 Q* S7 ^# z: y# z

  337. ; t/ }. k0 u) |. M. q) @
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ( t9 l) N; ]- N8 n* I% M
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    . S" M9 b( D& ]9 K" l, e3 {
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    4 a5 C4 N# l) k- v
  341. ; Default: Off1 R, G! P: k7 {5 t0 E
  342. ;zend.multibyte = Off, H) g% A2 ^1 u& F# U# c0 @
  343. 5 \" L% y5 I- K
  344. ; Allows to set the default encoding for the scripts.  This value will be used4 ~) Y; V6 c+ ~' Z8 ?6 B* C
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 c  b, o' T6 b( i+ b. q
  346. ; Only affects if zend.multibyte is set.
    2 I, Y' n- V# L
  347. ; Default: ""
    : N2 L. e  J. e/ K  f$ |6 p2 s+ U
  348. ;zend.script_encoding =# g5 J, {/ y+ s6 |

  349. 3 _  \" b- D& V7 }" K
  350. ;;;;;;;;;;;;;;;;;
    3 j3 Y" p; @# }( Z5 }
  351. ; Miscellaneous ;) Q2 {$ }5 b& G! [& `( f, U6 o2 h
  352. ;;;;;;;;;;;;;;;;;: x2 s  X* L$ v) G9 S. F
  353. : e% |7 S0 z! W# V5 `. t% n
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    : w5 G+ H- `5 R: I
  355. ; (e.g. by adding its signature to the Web server header).  It is no security& ~8 [! K) N! p4 u: y& X; I0 J
  356. ; threat in any way, but it makes it possible to determine whether you use PHP+ U2 {, U. q: z1 R
  357. ; on your server or not.
    6 h2 }# R- z5 d, v- ], A
  358. ; http://php.net/expose-php
    # |" j2 ~+ U) _+ M5 ], |6 Y
  359. expose_php = On6 }+ {. K3 A3 d$ Z7 I" p. |# H

  360. " x8 B  N7 d& C" O
  361. ;;;;;;;;;;;;;;;;;;;
      t% Q; y% [5 }, E) E1 d/ F
  362. ; Resource Limits ;
    . p3 {7 S7 Z5 S* |/ t# ~4 @
  363. ;;;;;;;;;;;;;;;;;;;# I% j: r" r+ V" {9 N# Z' Q  e. E

  364. . S' z5 X+ `; k3 _- Y  o# F. b
  365. ; Maximum execution time of each script, in seconds& V9 @- O; n- N/ `' |
  366. ; http://php.net/max-execution-time
    3 J# t" a2 a' Z
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ U* Z) X& ?+ }, Q& ^+ Y, t6 P
  368. max_execution_time = 300
    9 n  T9 z& O8 A( E$ T( R3 e* ?5 c, [3 x

  369. , i3 t) Z; \5 i% D2 V2 U
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' f0 p5 T) Z2 H* Z
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly9 J0 Q1 N& M2 s$ c& T5 V) h
  372. ; long running scripts.* O5 R( \; |# r" }/ u
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI+ ?# A* X9 i1 ^- Z" d; d9 w7 a
  374. ; Default Value: -1 (Unlimited)
    2 s/ j- K  N+ X4 s6 A
  375. ; Development Value: 60 (60 seconds)
    " L: z8 N% S  h6 |
  376. ; Production Value: 60 (60 seconds)8 v" F( G' p) J  Z+ o& {$ v
  377. ; http://php.net/max-input-time
    * x3 i- m  R$ K! e& _# d" V( N
  378. max_input_time = 607 i" t8 X  S" ^7 l

  379.   ?. }4 N: a1 r# z& k3 K
  380. ; Maximum input variable nesting level" A& n  \% @! p
  381. ; http://php.net/max-input-nesting-level
    . C0 ~. u. G( U9 Y4 h% i) O; K; A
  382. ;max_input_nesting_level = 648 Y+ J5 o3 F& A( F# F) N0 w

  383. ! {# W, w- Y+ d1 ^
  384. ; How many GET/POST/COOKIE input variables may be accepted
    $ g' A/ K4 R4 p
  385. ; max_input_vars = 1000. V1 [8 N: `) f. H2 ?4 `# ^

  386. 6 P/ X$ r( K8 A, U, \/ i
  387. ; Maximum amount of memory a script may consume (128MB)2 \/ ]9 J8 [/ j- {1 w
  388. ; http://php.net/memory-limit
    2 n7 L/ y6 r( q& t- q7 {! Z) z& r/ Z
  389. memory_limit = 128M0 y& K1 g' C! P% r6 p
  390. - r7 g3 I, X. L- m. d+ r, s/ j
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 x4 L) T) k4 b& A
  392. ; Error handling and logging ;6 B1 i5 Y( x+ D. q4 |( q/ P
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + n7 r" f7 N- a9 O
  394. ' N' B) \! {! c
  395. ; This directive informs PHP of which errors, warnings and notices you would like
      @3 m1 a; y6 T
  396. ; it to take action for. The recommended way of setting values for this
    ; m7 @/ H$ A7 _+ ~
  397. ; directive is through the use of the error level constants and bitwise
    $ T. e" t9 L8 f- Z# D4 H
  398. ; operators. The error level constants are below here for convenience as well as
    2 U2 s) W8 s2 B* \) `
  399. ; some common settings and their meanings.8 ]+ ~( c% _5 x( y5 b& z  q8 _
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT) b. \1 Y8 T8 X+ A2 _1 [" o3 f% W
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, q9 X# x8 B8 x: H, Y3 U; Q
  402. ; recommended coding standards in PHP. For performance reasons, this is the7 o* l; t* ^3 w* F/ F3 L- D) R
  403. ; recommend error reporting setting. Your production server shouldn't be wasting9 ?7 u8 |5 ]- W, `, G) ?  h# R/ F, k
  404. ; resources complaining about best practices and coding standards. That's what, s$ H2 O2 l1 m$ m) _
  405. ; development servers and development settings are for.
    ; w. I8 @! ]4 C
  406. ; Note: The php.ini-development file has this setting as E_ALL. This8 A6 ~, e: J/ K* I1 B
  407. ; means it pretty much reports everything which is exactly what you want during  Q- @3 k; y. W2 e% E3 }2 O
  408. ; development and early testing.
    . G9 C/ }: t( l% ~# y
  409. ;, L' M9 X- o: t  o, S8 e
  410. ; Error Level Constants:
    / L1 y5 }; C3 N& t. g8 P
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 Y. Y) [: f- G! V& f* F
  412. ; E_ERROR           - fatal run-time errors1 ~* B4 K) g$ Q# b, A
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ' l) |! a. L. J9 q
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    + {8 n5 c" X! `' ~+ P- `8 M4 ]* @
  415. ; E_PARSE           - compile-time parse errors
    2 Q5 ]/ [: |6 N" I- a8 g' D# j
  416. ; E_NOTICE          - run-time notices (these are warnings which often result5 f* w6 z4 L- `6 ]" W
  417. ;                     from a bug in your code, but it's possible that it was- S2 k/ i) l( _! X' P$ j3 H
  418. ;                     intentional (e.g., using an uninitialized variable and( l  e( |9 s( E9 l/ z* B
  419. ;                     relying on the fact it is automatically initialized to an
    . H. B) `* _6 a0 A+ f# t
  420. ;                     empty string)3 s- q- z+ }1 `4 `- m( n( c8 F9 Y" t# O
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  f4 }- Q! H6 i
  422. ;                     to your code which will ensure the best interoperability
    ! D" p, D0 @# _( S
  423. ;                     and forward compatibility of your code, L( m; j5 D" L5 a/ M
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup2 |  g2 p7 E% Q* ]2 m$ B+ T$ g# m
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    - E+ i& z6 p# r& [: |2 Y% F7 G; F- r. f
  426. ;                     initial startup
    5 ?  L$ K8 s2 [! T; H# [0 V
  427. ; E_COMPILE_ERROR   - fatal compile-time errors$ C2 M; A! Y# g2 N% p
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors): {2 K! o: u' `% i! R9 ^
  429. ; E_USER_ERROR      - user-generated error message
    5 J7 w8 i4 z$ I1 O0 h
  430. ; E_USER_WARNING    - user-generated warning message
    3 R" k3 L6 N) J$ k
  431. ; E_USER_NOTICE     - user-generated notice message
    4 a' e9 J  o2 U1 Z: O" k
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    0 c" G* x  O: g6 S* T. n& ]5 k
  433. ;                     of PHP
    . u+ Q4 J+ r: r9 o- k% w' }
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 {- f2 p% V* i* R! d  S
  435. ;1 m8 D  `6 B: n
  436. ; Common Values:
    8 M+ u2 Q& ^, ^6 m  Q% d6 N0 r
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! A# d" \  F5 W- A) T3 U/ w
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): ^% S0 v( X2 V
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    - l) E1 `4 w9 k4 H
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors); g* P0 E$ _& _5 p- V  j
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! {9 U: D; C8 E
  442. ; Development Value: E_ALL( d& V, h) j; g4 q
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( Y7 E( U+ k# @
  444. ; http://php.net/error-reporting$ e6 i6 g9 i& S( r1 D
  445. error_reporting = E_ALL & ~E_NOTICE
    , E' J, e. z5 J+ i

  446. 6 g% Q: [- ]/ ]
  447. ; This directive controls whether or not and where PHP will output errors,
      W  ^4 \: r1 f3 R+ Y6 u) u) s
  448. ; notices and warnings too. Error output is very useful during development, but
    5 q, E& _$ r, r- z+ V
  449. ; it could be very dangerous in production environments. Depending on the code# z5 a: }  \* D; O1 y6 |
  450. ; which is triggering the error, sensitive information could potentially leak
      i9 W" `( F! n) p; @
  451. ; out of your application such as database usernames and passwords or worse.
    ! [8 B" A1 w4 x: H+ _% P
  452. ; For production environments, we recommend logging errors rather than" K( D/ J. L/ z& |+ L! Q2 q
  453. ; sending them to STDOUT.
    5 X" i# ?( H8 r
  454. ; Possible Values:
    ! i9 H' h0 h6 Z6 T" e% o
  455. ;   Off = Do not display any errors
    $ }/ @$ X- k0 K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 e$ V1 S& s' g
  457. ;   On or stdout = Display errors to STDOUT! B% t2 O- }, A1 Q
  458. ; Default Value: On
    ( G7 y) V. B3 ]+ P
  459. ; Development Value: On6 x" D4 D6 T. u
  460. ; Production Value: Off! V: H! [" M$ k/ R% G
  461. ; http://php.net/display-errors# o6 W( _( o& e' L. y0 h2 `, O
  462. display_errors = On3 }. T! @# P' N$ z( G
  463. 1 k, K0 N& J: e* y. O# W
  464. ; The display of errors which occur during PHP's startup sequence are handled& e! C' W1 i2 s8 x
  465. ; separately from display_errors. PHP's default behavior is to suppress those& ^6 c. q( k! K/ ^& R1 c
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ! Z. b0 n7 ?: Z& C1 H
  467. ; debugging configuration problems. We strongly recommend you
    . P# k3 N3 c0 q5 U% _1 V6 ?
  468. ; set this to 'off' for production servers.7 d: r" D3 O! E. o
  469. ; Default Value: Off0 }9 P6 l4 }! m2 V
  470. ; Development Value: On
    . w7 v* X, r1 T$ M2 ^8 t7 d
  471. ; Production Value: Off) m) O8 h& D; Y" N: L
  472. ; http://php.net/display-startup-errors
    $ p7 h) ~5 P8 t' k5 E
  473. display_startup_errors = Off- j& C  S- N6 q$ W2 p6 P

  474. 4 I8 w% Z( z! U9 ]; c
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    8 t/ e) k$ n) k/ |
  476. ; server-specific log, STDERR, or a location specified by the error_log6 [" z- e# g0 s, N1 T
  477. ; directive found below. While errors should not be displayed on productions: @4 }, C! h( w* b2 R9 H
  478. ; servers they should still be monitored and logging is a great way to do that.
    . t$ S( Z2 R. u
  479. ; Default Value: Off1 H$ W3 m' b8 ~" D# t/ _
  480. ; Development Value: On
    5 L2 Z7 c2 ~7 }% k
  481. ; Production Value: On
    4 N5 `3 V. C$ @/ F
  482. ; http://php.net/log-errors
    7 Z: m4 I$ d# ?  ]% \9 K+ D6 j3 f
  483. log_errors = On
    . o3 s$ s4 r& T- X, t. {% ?

  484. 6 x3 g4 O0 b+ B
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ; W4 d6 t3 u6 ?
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 U! H: ?! [5 C+ _- S9 C# b
  487. ; http://php.net/log-errors-max-len
    $ \9 A* y' x7 Z+ [
  488. log_errors_max_len = 1024" s4 q4 b2 C& V* H7 I

  489. 8 r3 y2 ?) X' I' a" V
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same' |# t. c2 {3 V3 R) P% r
  491. ; line unless ignore_repeated_source is set true., n3 q% `! P" F" \' i
  492. ; http://php.net/ignore-repeated-errors+ H6 l& }1 g4 g) w
  493. ignore_repeated_errors = Off
    4 S* d7 t1 @; k! ^8 T0 f
  494. 7 l4 s0 ?( s% d& W
  495. ; Ignore source of message when ignoring repeated messages. When this setting$ c1 W8 {; F! D" ]
  496. ; is On you will not log errors with repeated messages from different files or
    : I" n. Z2 t( C4 V% M& M- p
  497. ; source lines.( w. n  J# i/ r. O' x+ ~
  498. ; http://php.net/ignore-repeated-source
    + q& w) j( u$ y6 Z7 N. j3 B
  499. ignore_repeated_source = Off! F+ f  N. i: n6 ]
  500. $ E: J+ i2 `4 ?
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , |! A# x  j1 M# p. S6 v- X* F' }
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    + y) m" Q$ r- Y+ V3 I! ~) o' b' p
  503. ; error reporting includes E_WARNING in the allowed list
    . U' U1 j0 {4 {+ k+ K6 r
  504. ; http://php.net/report-memleaks( ?( g( M2 @) |6 r9 W
  505. report_memleaks = On
    ; e! _2 v6 T$ e+ q2 }$ {

  506. " ]+ r1 f( \$ A; x$ [: z
  507. ; This setting is on by default.
    5 ]1 ~6 ~1 ?8 A* Z' G7 X2 n
  508. ;report_zend_debug = 0( G6 F9 u1 Z# D4 M# J
  509. . f- k$ R3 C4 A+ M6 l) R
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 ^4 T7 K: W1 b: {. b9 v
  511. ; to On can assist in debugging and is appropriate for development servers. It should' r2 D/ y; S9 [) g) M
  512. ; however be disabled on production servers.
    ) `% m( I8 l7 [6 x7 F$ d: W' E
  513. ; Default Value: Off
    ( K& z/ M9 R% [) u( H
  514. ; Development Value: On0 R* P) E4 \, E
  515. ; Production Value: Off$ g* ?* J$ e- t
  516. ; http://php.net/track-errors/ h) }4 u: g1 {+ s; L4 H  Y
  517. track_errors = Off  o8 @  w8 S( a; [  _
  518. , X# v/ F8 H5 B( a! ^. _! l
  519. ; Turn off normal error reporting and emit XML-RPC error XML9 X1 r9 E2 `& z4 E, B% S6 ^
  520. ; http://php.net/xmlrpc-errors3 f5 I5 `: o9 D" F7 H# o+ c
  521. ;xmlrpc_errors = 07 T$ z3 ]6 Q" h; a0 O: _

  522. * Q4 y! _3 u) C$ l
  523. ; An XML-RPC faultCode
    : _* \" e0 d# u" v  R7 C
  524. ;xmlrpc_error_number = 0
    6 n7 k/ r  N3 ?" `4 Z; M
  525. ! D5 [& ~& A$ u7 L; j, g  ~3 F2 w
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    * v- u3 c  D% x3 j
  527. ; error message as HTML for easier reading. This directive controls whether
    6 P0 x' x# m, b& {$ Z
  528. ; the error message is formatted as HTML or not.7 Q1 y2 C' y8 {/ B; @
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI: ~: U8 {" l- ^% w
  530. ; Default Value: On
    1 r2 f* G; J& h' l" ]# x/ [
  531. ; Development Value: On
    % ]; v9 m9 Z% t7 [
  532. ; Production value: On
    9 x2 @2 W( n) w1 J
  533. ; http://php.net/html-errors
    4 ]$ a6 i9 j2 l/ M, {; r
  534. html_errors = On0 r+ [4 Z$ X* G8 ]4 b

  535. " i4 s; ?3 p6 h% M& x+ u; b' `) \. U% }, H
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP, T! y  W2 j% p
  537. ; produces clickable error messages that direct to a page describing the error
    6 Z$ E% `- m. @4 b' l3 ~
  538. ; or function causing the error in detail.1 P% x8 f- T( H2 B1 n
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    / I, W# I9 Q! v* C- R  w0 c3 U
  540. ; and change docref_root to the base URL of your local copy including the$ `) {) l2 v: Y' |5 i
  541. ; leading '/'. You must also specify the file extension being used including
    , U+ v3 b) m' _# G8 P3 T2 P/ O
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which3 @% p: D0 ~8 U3 a
  543. ; case no links to documentation are generated.
    / B, w3 t' h" c
  544. ; Note: Never use this feature for production boxes.  K, j- U. h" m- U
  545. ; http://php.net/docref-root
    : ]! x! ?- ]! c5 u7 `0 v3 J0 |
  546. ; Examples
    , A1 ]3 z) v% h) h( L  C! u, w
  547. ;docref_root = "/phpmanual/"2 ^2 x, e- C. u# T7 l( N
  548. 3 z/ b2 J' ], k6 h2 B6 o
  549. ; http://php.net/docref-ext( N! A' P9 c8 d
  550. ;docref_ext = .html
    & R; S) n/ x' F7 x9 V! c
  551. ; t9 _3 b! s5 v0 F/ w+ W, K9 y
  552. ; String to output before an error message. PHP's default behavior is to leave3 j# ~- p$ C- f
  553. ; this setting blank.
      [0 \. \/ B/ B% b+ ?2 u; m! i
  554. ; http://php.net/error-prepend-string
    4 G, a7 ]1 K3 Z$ s9 i8 W9 \/ Q- T
  555. ; Example:
    ' w5 F" k/ M  i5 H
  556. ;error_prepend_string = "<span style='color: #ff0000'>") n1 q1 B  v5 W& ~, V  j

  557. % z; W* _4 a" Z# z' b
  558. ; String to output after an error message. PHP's default behavior is to leave7 ~: X5 [/ b0 r" \9 M* v7 G0 D: [
  559. ; this setting blank.
      v9 F. E+ y0 {" T' x& `
  560. ; http://php.net/error-append-string& a4 S' V& W) v7 o& F/ ?. q
  561. ; Example:
    2 {7 ?. p, V/ T# s+ r$ s8 s( N$ T) w
  562. ;error_append_string = "</span>"$ H3 @8 c6 }8 }+ D" o* P
  563. - F1 t" }4 i( }( R( r
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    : C( i3 l" j$ O+ d+ N+ M& r
  565. ; empty.
    " \( d+ l6 E# C5 t& s: I
  566. ; http://php.net/error-log8 A; u/ `' U" c6 u' R9 \- o
  567. ; Example:
    # K% e, }2 M$ x5 y" A
  568. ;error_log = php_errors.log" M; N. ]% j7 g3 j" q& Z
  569. ; Log errors to syslog (Event Log on Windows).. i8 i% P% L: H! Q
  570. ;error_log = syslog
    5 [5 f( v3 f4 f

  571. 3 k+ s) N: D3 Q7 w
  572. ;windows.show_crt_warning7 r# X' s$ Q' F/ p
  573. ; Default value: 0
    ) \; J$ l% J& c% A0 O
  574. ; Development value: 0
    + }* N' b7 _9 y7 t) M6 f5 C
  575. ; Production value: 0, `6 j& ~2 |; A' h
  576. $ ~' z) a6 e1 m+ N5 G6 \" m' J
  577. ;;;;;;;;;;;;;;;;;
    - b! U0 B  N- o. ~
  578. ; Data Handling ;
    ! g" `3 H0 ]/ ?8 E; w' F5 H
  579. ;;;;;;;;;;;;;;;;;6 s! r7 a- ?7 C# H0 d
  580. ; d# O6 W. n+ R" b( _$ A% B
  581. ; The separator used in PHP generated URLs to separate arguments.
    ! d- w- S/ r1 ^8 b
  582. ; PHP's default setting is "&".
    $ g0 M! H5 y. L/ t) _4 V, M
  583. ; http://php.net/arg-separator.output
    4 N; J4 L8 n$ D- L2 N
  584. ; Example:! P5 R* @+ U3 I2 S6 s
  585. ;arg_separator.output = "&"
    4 o2 r9 h) _) p. f) d) ~

  586. # G1 o( E6 [, d$ s9 s4 p4 A; e! u
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ \5 M( J. F% [/ X( I- W+ e8 B
  588. ; PHP's default setting is "&".2 A  B5 |9 D$ E% @7 ?
  589. ; NOTE: Every character in this directive is considered as separator!
    0 b$ x" m$ c( O5 r3 R
  590. ; http://php.net/arg-separator.input
    . J) O/ n8 L8 e' D: v* y) s' L5 ?$ }
  591. ; Example:
    " h9 t; i4 G- |  U' C" Q
  592. ;arg_separator.input = ";&". J% ^9 G  O0 I0 H; p( Y% g0 P$ ?, k* {
  593. 6 J( G& s0 G7 r! K' u8 i- |
  594. ; This directive determines which super global arrays are registered when PHP
    ; @: V7 M5 I2 Z. ]% G
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super3 l& N3 V9 ~4 V, @0 G2 V5 l
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    $ y* y- l& W: M
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ) v! S0 q/ x1 ?. l
  598. ; used as the others, ENV is not recommended on productions servers. You
    . l% ?3 Q& ]: I) ~/ V
  599. ; can still get access to the environment variables through getenv() should you' k, a5 `+ u/ F. b# c" T; ?; a
  600. ; need to./ x! Z! ]6 ?2 G4 T. N+ |3 u
  601. ; Default Value: "EGPCS"
    + v& j" X$ u+ y/ E
  602. ; Development Value: "GPCS"8 ]& T; e6 p* q( b, U5 }- h( T( ~
  603. ; Production Value: "GPCS";! T- f6 ]/ }) p: A0 G' @/ c. P
  604. ; http://php.net/variables-order6 V* }  p4 U: O  `" k
  605. variables_order = "GPCS"7 J8 Z+ L$ e4 v9 O( c* n
  606. , R8 k1 \1 B/ F" X& R. b( Z
  607. ; This directive determines which super global data (G,P & C) should be' ?) O2 \1 U% M( I3 {
  608. ; registered into the super global array REQUEST. If so, it also determines. a! R1 ~9 ]2 ~6 W
  609. ; the order in which that data is registered. The values for this directive( Q( V% b% E4 H/ v7 z$ W9 A! w
  610. ; are specified in the same manner as the variables_order directive,0 |. Q4 G5 `/ K7 Z
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( H( V# r3 {6 B
  612. ; in the variables_order directive. It does not mean it will leave the super" k: ~5 @0 V! v) w
  613. ; globals array REQUEST empty., f6 r. i' j6 N  H# L* z4 Q) g
  614. ; Default Value: None4 k' I1 Y' j6 i2 k" m# e
  615. ; Development Value: "GP": ]4 D6 R/ I: _1 f8 C1 J
  616. ; Production Value: "GP"
    . L" [8 F* H7 n6 g
  617. ; http://php.net/request-order4 z: _# k/ [2 r( a# z+ ~4 u7 F5 z
  618. request_order = "GP"
    & `# `0 w9 {) j8 n" m

  619. ; v. P* K; T$ S- p6 [; Y8 l, x
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    4 i5 }" f0 n8 V$ p
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    5 o. k, ], v- C& u- ^$ V) j
  622. ; is invoked. $argc contains an integer representing the number of arguments. _$ _, n9 o5 O5 t, I
  623. ; that were passed when the script was invoked. These arrays are extremely
    2 r3 `" X  M7 ~0 A5 e! l. c
  624. ; useful when running scripts from the command line. When this directive is
    4 W+ H( Z+ k% n' `# _* o
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    / s- `0 y2 s; i8 v7 F0 D+ C
  626. ; a script is executed. For performance reasons, this feature should be disabled% o/ X+ m& }* M$ @6 h! _
  627. ; on production servers., l3 n( T, |& X- `7 O
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    - ~! U* \3 J+ ]5 C6 F$ q9 i
  629. ; Default Value: On
    / K* H4 Q# `$ [; [6 }, W8 X; ~
  630. ; Development Value: Off
    + `2 @$ |7 i. T$ j
  631. ; Production Value: Off
    2 X( j- h' X, \( G4 V. w
  632. ; http://php.net/register-argc-argv$ }/ Z) Q7 j: d9 E/ G7 @0 s$ c
  633. register_argc_argv = Off2 Y" b4 [* s0 o8 S$ \, @. X: Q& K
  634. / I3 u9 p: [: n% w" ?) s
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're2 s( T3 ~" h) R) m
  636. ; first used (Just In Time) instead of when the script starts. If these9 r, M3 w/ Z9 ~
  637. ; variables are not used within a script, having this directive on will result
    ) s3 L" g' ]8 V, u, Z" S2 Z. o# r
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled9 j5 w- n7 j! i0 ^$ U/ V1 s! S: t
  639. ; for this directive to have any affect.
    - c9 Y, g+ d8 n8 M+ O: N3 G
  640. ; http://php.net/auto-globals-jit, J" f% n" `  x% D
  641. auto_globals_jit = On* ?+ r8 t5 S" K

  642. + p$ l: o' [, G$ s( F" D: d! g
  643. ; Whether PHP will read the POST data.
    $ T( q/ J# {( M  J
  644. ; This option is enabled by default.
    ' k; b! {+ [9 F1 S
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ( B: z& d0 z: z( b/ O( l
  646. ; and $_FILES to always be empty; the only way you will be able to read the: _2 w9 R7 }! w- x. m
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ; }; p, W) L$ Y# z
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    : N; ]2 |9 e, g+ H
  649. ; http://php.net/enable-post-data-reading
    9 d+ G9 P! c0 H. j
  650. ;enable_post_data_reading = Off% }7 J5 o7 p- S" M" ?, X
  651. " i5 u$ {; I) f3 b  H
  652. ; Maximum size of POST data that PHP will accept.% F  X* h7 K& U( c8 b& E. t3 E
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) q- `4 t7 N( D3 \2 ]" T$ ?$ J
  654. ; is disabled through enable_post_data_reading.
    7 P1 d$ T5 `+ O& W6 _  Z
  655. ; http://php.net/post-max-size: m8 R8 v8 J+ T2 T+ O5 a
  656. post_max_size = 50M
    - g9 b  R) s* ]+ E1 O0 Y

  657. # E) m% G& c0 ]7 [% E1 f
  658. ; Automatically add files before PHP document.
    ) X9 l3 U3 g2 M. O; g2 b
  659. ; http://php.net/auto-prepend-file
    8 y* ^  r# ~2 R6 e
  660. auto_prepend_file =* R4 |3 U8 ~# O3 @7 J3 s
  661. & g: Y* x+ }" h9 g
  662. ; Automatically add files after PHP document.# C6 W2 ]( @& ]6 E4 A
  663. ; http://php.net/auto-append-file
    6 a1 P! M- D+ E5 d
  664. auto_append_file =! {, s# N. |5 A9 H  U4 M7 B- Q3 J
  665. 6 R3 U* N3 X# N( G2 R
  666. ; By default, PHP will output a media type using the Content-Type header. To
    5 Q2 v; {2 ?6 P: j
  667. ; disable this, simply set it to be empty.
    2 Q) ]* _6 m# k( G
  668. ;2 F, z/ ], W; d2 [8 @. q7 z9 J! ]
  669. ; PHP's built-in default media type is set to text/html.
    5 L6 T9 {$ o( L) w
  670. ; http://php.net/default-mimetype  ]2 @8 }# s  R
  671. default_mimetype = "text/html"
    4 @& s) d% X3 I( y7 o" z% C2 r
  672. / F. N/ U* [) q$ Q' o6 k
  673. ; PHP's default character set is set to UTF-8.6 ~) q: ~+ g: s$ M# ?& ?
  674. ; http://php.net/default-charset
    # n3 }/ p- e0 [2 M4 s6 a" g4 d% W) h
  675. default_charset = "UTF-8"
    " }- {6 _3 F: d4 h, W. }' b

  676. 1 _0 Y" F( ]* b5 y1 ~4 z
  677. ; PHP internal character encoding is set to empty.
    5 J1 b& f1 |/ X& O) I6 {
  678. ; If empty, default_charset is used.( q) Y* G" \4 Q3 o# R
  679. ; http://php.net/internal-encoding. o5 s2 s1 D, S2 n1 b- n7 H0 w
  680. ;internal_encoding =( g: z" c4 I) `3 u' m3 @

  681. 1 a) @. @9 k4 ]4 T# w
  682. ; PHP input character encoding is set to empty.
    3 S- u1 w- }) B& S' [* B4 j  @" \' s
  683. ; If empty, default_charset is used.
    : z/ K  z1 O* J3 d& `. a
  684. ; http://php.net/input-encoding9 h, [) o. D  u( T) D% m, [
  685. ;input_encoding =
    : |; X( E5 ^3 g& q( c, i2 M+ r

  686. + _7 _8 B* X$ @+ ~% W( m
  687. ; PHP output character encoding is set to empty.* M; s/ {  U$ O2 }
  688. ; If empty, default_charset is used.
    : ]/ ]9 q: q) ~) a  e1 T2 e  D
  689. ; See also output_buffer.
    . n- Z2 ~" [' O, V$ P( ^* ]
  690. ; http://php.net/output-encoding
    ( v9 {9 o% J9 Y
  691. ;output_encoding =
    5 Y0 D1 U0 d9 k
  692. 5 ~6 k  T. o8 l( ]. i: e
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - z- p& I" F0 E* x, i' h# t, Q. h
  694. ; Paths and Directories ;
    ( Q" e/ v  p2 i; p0 ^
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / W, n, S8 n4 f. _, k$ @

  696. ( T9 c+ v' C! R! E/ v' ?$ H
  697. ; UNIX: "/path1:/path2"0 M# D8 h3 I2 ~2 j6 x! N
  698. ;include_path = ".:/php/includes"
    ( z& ?  v4 f( @9 [$ X
  699. ;
    0 K* K; P6 a: u# A3 ^$ q
  700. ; Windows: "\path1;\path2"' n! m0 X: E" O
  701. ;include_path = ".;c:\php\includes"
    2 E. x9 Y8 T& B8 K# N- q# M
  702. ;
    3 k$ N8 A0 `& m. X  [- |+ v8 a$ W; f
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    # u0 v. {; n7 @5 b7 R6 c4 n4 Q
  704. ; http://php.net/include-path% `! j  |- h: r( T4 \$ i
  705. ) X9 a9 A( O, _7 \
  706. ; The root of the PHP pages, used only if nonempty.
    - ?- P7 K, N3 [" M. i$ Z
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ X( V( B" f3 F1 u7 J! r
  708. ; if you are running php as a CGI under any web server (other than IIS)
    . [5 A8 }( P2 }4 s' g
  709. ; see documentation for security issues.  The alternate is to use the
    9 L+ p  i$ `, {/ A( O+ w" q
  710. ; cgi.force_redirect configuration below3 J) ]7 {8 T" \7 v
  711. ; http://php.net/doc-root
    ( |- a. {3 z9 s& \" H2 d% e3 q2 X7 w
  712. doc_root =
    9 T6 l4 a, \4 [, f8 c

  713. ) ]& c7 g( y" g* C0 E  g# e
  714. ; The directory under which PHP opens the script using /~username used only
    0 z7 s1 a8 W3 G9 m* q" ^! N
  715. ; if nonempty.1 \+ @* \& a" j6 ^! m
  716. ; http://php.net/user-dir8 a5 l% Y% M2 F/ |9 h& P
  717. user_dir =2 _/ E$ w' F+ k8 z
  718. - {; |5 O# L6 g& F
  719. ; Directory in which the loadable extensions (modules) reside.
    . @3 m/ J, H, c9 i. Z  N! I( b
  720. ; http://php.net/extension-dir! w: O. L9 D/ X0 a
  721. ; extension_dir = "./"
    # W5 ?8 w: ?  B9 V1 @" t% d; `! R8 N$ `% M
  722. ; On windows:) |6 G$ \( E& b+ a5 Q
  723. ; extension_dir = "ext"
    + t9 O" l0 C% o) P: O$ l) u

  724. + ~7 F2 @  }7 m3 L0 N* ^
  725. ; Directory where the temporary files should be placed.
    $ e1 y3 p$ v/ _5 }* E" R3 f3 o/ K
  726. ; Defaults to the system default (see sys_get_temp_dir)* d# c4 I( G2 V+ Z+ G
  727. ; sys_temp_dir = "/tmp"0 ~% U- m( g- \/ w) }/ W- X0 j
  728. ! f& [6 `& O; x' K' b
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 A' w$ K- ?+ f; P
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 @3 H7 C5 S4 G2 v* }
  731. ; disabled on them.3 Z$ [2 ~" A& K0 X. \
  732. ; http://php.net/enable-dl5 Y: z' g/ T/ p# Y% h& I
  733. enable_dl = Off
    0 A8 L3 q8 L7 j- x

  734. 4 ]2 T8 O' t. R1 ?* A" ~
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under- O5 @/ S! P5 ^+ O; z
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! i, H7 H# x5 N
  737. ; turn it off here AT YOUR OWN RISK
    8 U! t  I* {. c" Y% }
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
      @3 s- _: |* R
  739. ; http://php.net/cgi.force-redirect
    1 Q& R0 o8 p1 }. H% i7 R
  740. ;cgi.force_redirect = 1
    % X* q; z7 v" ^  }4 E1 e

  741.   |; d' c4 Y% f; O) O
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with1 W' u+ P: H+ B$ Q+ G
  743. ; every request. PHP's default behavior is to disable this feature.* i2 M( E- O; p7 t) F
  744. ;cgi.nph = 1
    * T; ?/ t# \' g' a1 o/ S2 P: V
  745. * I; O$ r' ^- J$ m3 m0 `/ u
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    - U" ~% O3 u$ u% a2 n" y
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP( o8 G' w8 `& j' ^* _
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    $ x, w/ k! _! v
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . m2 B5 R: _- G6 ^$ h5 r# f
  750. ; http://php.net/cgi.redirect-status-env+ s# u" y8 D& O: v. |. z' M; S
  751. ;cgi.redirect_status_env =) s7 x. `- ^. c; K6 Q$ O  B7 Y* s/ c

  752. 5 b4 M$ ^* q4 m% T2 E; [# l
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    1 M- ^' G: q& Y0 S' J  A( U
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ! w: R. A& t5 H  [
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" n- D6 I3 ]9 _" p, d  D2 F( I
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting4 B3 Q: W! V) z& Z! X$ E) B
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts6 R$ q. X9 v2 C& E$ Y
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    - T  q+ j, k/ Q. Q/ C
  759. ; http://php.net/cgi.fix-pathinfo
    7 h9 K7 |# W/ X1 [
  760. cgi.fix_pathinfo=1
    7 w; s3 t% ~$ }7 U3 B& `
  761. 3 ?4 p7 ]# [/ T
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
      r# b" c5 e5 W9 L. g
  763. ; of the web tree and people will not be able to circumvent .htaccess security.$ H: T' l, \6 d& A
  764. ; http://php.net/cgi.dicard-path; D! ^: o( q- `) I
  765. ;cgi.discard_path=1
    " X' r+ L" u6 Y5 Q8 F6 ~

  766. ) k, C! Y% r; T0 Q) x: x
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate4 x* e$ a2 h: P
  768. ; security tokens of the calling client.  This allows IIS to define the
    9 |! l- v, A7 m  l" l
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    9 n- V% ]8 c1 f0 }  P) S) ?- Y
  770. ; does not currently support this feature (03/17/2002)
    " I( S( F# R8 v
  771. ; Set to 1 if running under IIS.  Default is zero.
    ) `* l& E. z* g  l, w' o9 a
  772. ; http://php.net/fastcgi.impersonate
    ( Y% l9 \1 O, s1 C0 j
  773. ;fastcgi.impersonate = 1
    9 }2 B$ S; \; F& [/ L: q, r
  774. : b& z8 y; I6 ~0 n5 z9 b4 i
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ X* \% F2 [/ x  ]  w. M
  776. ; this feature.7 l$ v% K0 {7 h' O. F  `1 `
  777. ;fastcgi.logging = 0/ ]+ E; h) Z: e) R$ q* z

  778. + M8 W; s0 D& I& O9 l% g) J
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 v4 |, z& ]% @6 [* z
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    / L$ E* a6 Y! ]
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ) c6 m, @; L* `6 g# W4 X
  782. ; RFC2616 compliant header.
    " H) U: o9 u1 U; T5 s1 z
  783. ; Default is zero.
    3 s* @  a: Y' Q
  784. ; http://php.net/cgi.rfc2616-headers
    # `: r1 T! U8 n. }
  785. ;cgi.rfc2616_headers = 0
    6 d/ X8 x1 X1 b5 D1 n
  786. % h* f9 b' l- B  k
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!+ N; T" ^/ A; H% ~. h/ D. t% Q
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ R+ m' W4 [# H# A% Z( ~+ K
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI0 \$ L. G: Z8 F/ |$ @- G+ n# }: L
  790. ; mode skips this line and ignores its content if this directive is turned on.% b, k) t! w+ A6 l. G% C2 N) ]7 ]3 V
  791. ; http://php.net/cgi.check-shebang-line3 e, s( v  J9 r1 V* L
  792. ;cgi.check_shebang_line=1
      d1 Y7 y/ y$ |; ], Y- |( D

  793. / `  k1 J) p. M" t0 w7 u/ S
  794. ;;;;;;;;;;;;;;;;3 T; m& C+ u$ {# d; Q+ l
  795. ; File Uploads ;+ U# ]1 v1 E) }) d8 a7 L
  796. ;;;;;;;;;;;;;;;;
    4 ^2 G  O7 x, b- p: \  H; k

  797.   t- f# A+ s+ u+ M
  798. ; Whether to allow HTTP file uploads.
    * G; O9 z1 X% L) B4 t
  799. ; http://php.net/file-uploads  M. m0 E. k0 }+ W+ J4 }' c& P/ c
  800. file_uploads = On! I8 w/ C) v( I' e/ N1 I2 Z8 I

  801. 0 m8 e/ D2 n5 @2 |& q- {7 X
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    " q6 P; c" r' ]7 O) P
  803. ; specified).
    ) a  Q1 F; _$ Q, o9 L
  804. ; http://php.net/upload-tmp-dir
    ' [7 z# y" l% N) B2 U; G* Q& n
  805. ;upload_tmp_dir =
    ) ]2 o; y% Q& a4 w* t2 ?, l; c5 t

  806. 7 K5 t9 d6 r$ s: d5 E1 I4 W
  807. ; Maximum allowed size for uploaded files.0 B" H, t' b4 {1 m5 e1 r
  808. ; http://php.net/upload-max-filesize
    - F# s2 W. }$ R7 [2 Z
  809. upload_max_filesize = 50M
    + Z4 g* F" s% c% N2 A! D
  810. ! V# G/ N. G2 g+ Q! i/ N
  811. ; Maximum number of files that can be uploaded via a single request2 }' ~  e* @  N  ^# g) A
  812. max_file_uploads = 204 @( F6 A. ]& m
  813. # l- z/ Q, T2 G
  814. ;;;;;;;;;;;;;;;;;;
    " Y% o9 D! c0 ^4 Z% L, j6 C+ L
  815. ; Fopen wrappers ;
    + P/ p' N: @: J
  816. ;;;;;;;;;;;;;;;;;;2 g' v" Z! x4 E5 ]& C* o

  817. . s7 v! k* F1 p% Q3 y5 K- n
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    4 K0 N* t& n% t9 y6 m* I6 t8 `
  819. ; http://php.net/allow-url-fopen" y8 w' a* A# x7 j8 U
  820. allow_url_fopen = On
    : x' w2 ~- P. u/ g" \; [

  821. * `6 m/ \0 e- m7 o# D% Z2 @
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 [  V" W5 d' P1 |$ ]9 M
  823. ; http://php.net/allow-url-include/ p8 I* L% N1 Z# `7 ^* A
  824. allow_url_include = Off) _1 w* k  Z; x0 V/ M
  825. ( |7 y% N, t* R" [" p$ R2 t% c$ I  }
  826. ; Define the anonymous ftp password (your email address). PHP's default setting6 \* x9 t6 g0 o' p, [( k8 `; F
  827. ; for this is empty.
    % C1 b' Z" l$ N* |9 A- O. b3 {: q6 j
  828. ; http://php.net/from
    8 ~: d1 |6 ]* S" p! t% B
  829. ;from="john@doe.com"# ^5 S+ i4 [* X, H' ]7 l; |

  830. 5 a/ T' t$ T7 E3 ~" g2 i
  831. ; Define the User-Agent string. PHP's default setting for this is empty.# q$ R% \! H: i  W- w' f. K
  832. ; http://php.net/user-agent
    . [+ c! z. @4 l' p( F: C
  833. ;user_agent="PHP"
    * D% A" B' t% \

  834. + ~6 F. ]% d  ~4 M
  835. ; Default timeout for socket based streams (seconds)$ v7 D2 E; l7 H7 n, o
  836. ; http://php.net/default-socket-timeout: N2 P9 a0 X9 }! p  X5 r* }5 N
  837. default_socket_timeout = 60
    * u; g$ w# M1 Y/ @' c
  838. 6 V& U' U/ R6 j& U! [$ [
  839. ; If your scripts have to deal with files from Macintosh systems,
    * t; ^& e0 K6 K+ g2 @+ I) v
  840. ; or you are running on a Mac and need to deal with files from
      Z! I8 W; h' S( e" W- K9 V+ m5 r
  841. ; unix or win32 systems, setting this flag will cause PHP to
    9 P) |  V7 e& ]# y4 G0 }) l
  842. ; automatically detect the EOL character in those files so that5 ~5 Z% O4 X, p$ C: I  [8 X
  843. ; fgets() and file() will work regardless of the source of the file.
    3 s: v& R% ~. b, ?; N# `9 o
  844. ; http://php.net/auto-detect-line-endings
    4 ]! X' h( a9 F' V- u3 n; |9 j7 @% b, ?
  845. ;auto_detect_line_endings = Off5 H% y& F) N3 G+ j

  846. 5 A+ ^& d4 v. ^
  847. ;;;;;;;;;;;;;;;;;;;;;;/ s0 e" R4 m/ F3 H* o8 p: r( C
  848. ; Dynamic Extensions ;
    9 p& G# V& G3 l( m: v
  849. ;;;;;;;;;;;;;;;;;;;;;;
    0 {% C& P) p3 f; ~. G4 N8 k

  850. 0 k+ R- b- D% P/ X
  851. ; If you wish to have an extension loaded automatically, use the following: G3 K7 q: n6 S9 z  C. k
  852. ; syntax:
    $ o. @. Q' g. K5 a
  853. ;% z) D. b6 n9 W' P3 S6 _+ l
  854. ;   extension=modulename.extension3 W. g: ~# [6 }4 a
  855. ;
    ' F4 \6 e1 F4 D# K4 F
  856. ; For example, on Windows:- B8 R; @% m3 F' D2 e4 `$ T& z+ B7 ^
  857. ;
    # Z0 H- g2 R- y. M7 q8 R4 U
  858. ;   extension=msql.dll
    % O/ E1 L9 H  c& b. T6 k0 ]2 T% u3 @
  859. ;- @2 A! U7 i8 d6 ]# i% |/ P, b+ E
  860. ; ... or under UNIX:
    ) l1 v3 M, e& v
  861. ;$ u& X1 p! G6 h
  862. ;   extension=msql.so6 g# n8 `( a6 |6 p$ a( T, A
  863. ;: l% \5 s2 s  A; A+ O' \7 A
  864. ; ... or with a path:
    - e6 Y% A( W) P- t3 H
  865. ;
    ) T$ \- o* p1 N: v7 r& J5 u$ c0 ]
  866. ;   extension=/path/to/extension/msql.so) Z( d6 K) e  B+ L" s0 b
  867. ;
    6 H" H8 y% {" j3 w0 V. b
  868. ; If you only provide the name of the extension, PHP will look for it in its
    - y; O, i" o' K2 }4 ?4 x6 A0 g
  869. ; default extension directory.( V( J- f& v$ ^. g+ ^3 ?, D
  870. ;/ Q0 r* F3 [  Y( q  Z3 y
  871. ; Windows Extensions
    ; U+ ^( v; W* n1 {. H+ K* D( F
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ; }. Q0 e% r+ D0 e
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)/ N  C+ N; h' r- }* e
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).% S$ Z8 h( A" n9 u+ K' O
  875. ; Be sure to appropriately set the extension_dir directive.& q3 G. s& _2 k$ G8 v2 a4 y
  876. ;6 p* c4 m! _% F; B7 n" m* g
  877. ;extension=php_bz2.dll
    $ P& x# D! b. q: w
  878. ;extension=php_curl.dll
    + l. E6 t5 b% s+ n# n0 X
  879. ;extension=php_fileinfo.dll3 I7 M! m7 |# _* W2 o( \
  880. ;extension=php_ftp.dll8 q3 [, {' h. s) A
  881. ;extension=php_gd2.dll5 G2 x" o+ \& F$ ^) K5 d6 t
  882. ;extension=php_gettext.dll
    6 o- Z7 t! y$ p
  883. ;extension=php_gmp.dll
    9 Z; P6 ^9 l: `# p$ k# X
  884. ;extension=php_intl.dll
    8 l! z! C6 V+ Z( }
  885. ;extension=php_imap.dll
    % G$ S# X3 U* T4 q' g9 G. C) D8 a
  886. ;extension=php_interbase.dll% Y0 ^' ~/ n1 H# l( @  b
  887. ;extension=php_ldap.dll0 q2 Q3 v. n- s! A
  888. ;extension=php_mbstring.dll1 T( @4 e3 V" _2 }1 i& E
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it- o% J6 C3 F4 J0 l; z3 r8 Q
  890. ;extension=php_mysqli.dll
    4 j$ `7 P0 y5 K9 W; v" ?4 i
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client$ Q$ t+ U. X) Y  n
  892. ;extension=php_openssl.dll
    : b: F; V, ?8 S5 U
  893. ;extension=php_pdo_firebird.dll7 R. R2 z0 b( u5 H" K
  894. ;extension=php_pdo_mysql.dll& T2 o9 R/ K- @4 m
  895. ;extension=php_pdo_oci.dll1 P, N$ b- x6 L5 h9 d
  896. ;extension=php_pdo_odbc.dll
    * O' f" J4 ?1 Y  q
  897. ;extension=php_pdo_pgsql.dll( l: \4 A9 J. F9 ?9 }+ y- j" H
  898. ;extension=php_pdo_sqlite.dll1 T( l8 u8 D6 B* U; G+ j
  899. ;extension=php_pgsql.dll
    % B/ `" y* J1 q# R
  900. ;extension=php_shmop.dll
    8 m: G* k& r' R( {

  901. 1 S0 s( R) |+ q" e. X7 l1 g4 {) ~
  902. ; The MIBS data available in the PHP distribution must be installed.
    0 V! O8 v0 Y# l% H: @4 c* ~
  903. ; See http://www.php.net/manual/en/snmp.installation.php( j/ B7 s3 F. [* G! y4 _" m
  904. ;extension=php_snmp.dll
    ! s3 B+ |+ n  }

  905. # J" `, p, Q: q- D- z
  906. ;extension=php_soap.dll. Z) q/ e/ Z. X$ I$ L
  907. ;extension=php_sockets.dll2 B1 b6 V7 U& S; Q& [
  908. ;extension=php_sqlite3.dll( [/ l9 m& O1 X
  909. ;extension=php_tidy.dll' k# Y, [6 F" F( O/ _/ k
  910. ;extension=php_xmlrpc.dll
    ( r3 F, C; \* e  p1 i
  911. ;extension=php_xsl.dll; d. v8 X4 s5 j# H* x
  912. 7 }4 W; `3 G" c0 S4 q5 u
  913. ;;;;;;;;;;;;;;;;;;;
    " n& Z' w4 D8 N
  914. ; Module Settings ;  O* e, H" `- |7 V5 Q, ^  F
  915. ;;;;;;;;;;;;;;;;;;;! m& n! C' y2 o% r
  916. , W: ~2 t8 ^9 D+ L+ S! d
  917. [CLI Server]
    - u2 N& A% z' x0 \' K* I% H1 p
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , ]  c  ?# w5 L0 Z: C. h0 M
  919. cli_server.color = On
      M1 @; ^% o! P5 s7 |) s: R
  920. ) K  I, I( [' t7 I# x
  921. [Date]" Z: I1 p. V, ^/ h& E; c! h( [& Q
  922. ; Defines the default timezone used by the date functions
    ! U6 @# q4 `) X/ w; l
  923. ; http://php.net/date.timezone+ t. ^$ Q4 P6 {3 m% u- p, v0 {
  924. date.timezone = PRC
    ' T% x4 E1 y4 a" u: M* k3 S6 I$ ?

  925. . b7 _9 x: d  E2 I$ _. B' @
  926. ; http://php.net/date.default-latitude" B! E6 r7 }4 O0 T' w# `3 }
  927. ;date.default_latitude = 31.7667( @) q4 B: W7 }9 v2 V* G) g# `' W

  928. ; z# U' u2 m  J  q  D: {
  929. ; http://php.net/date.default-longitude$ |0 n  ]. ]& p5 Q
  930. ;date.default_longitude = 35.2333
    7 y" \. R, A$ k' j) F$ e+ m! f
  931. 1 t5 O0 s1 o8 D' H0 d/ F
  932. ; http://php.net/date.sunrise-zenith
    & Z; {- W" |6 B+ N2 q
  933. ;date.sunrise_zenith = 90.583333; v1 k! P; r2 k2 z! @; q  B% f

  934. 6 q* X9 h7 U! O( K$ z7 g
  935. ; http://php.net/date.sunset-zenith
    8 o) s( `7 l) D0 [
  936. ;date.sunset_zenith = 90.583333
    ; \1 w5 }* h: g0 ~

  937. : e( y& }* `% ?8 X$ u
  938. [filter]
    3 w* C( {  A' o, Z; G+ J
  939. ; http://php.net/filter.default
    4 V' W0 k: Y# v; R) L3 q5 X
  940. ;filter.default = unsafe_raw4 z. O- U( `6 [5 V, |: a. x' w
  941. " B5 \( g5 l' V
  942. ; http://php.net/filter.default-flags. C) p0 I( c; ~+ q+ i1 Y3 G5 k' C
  943. ;filter.default_flags =
    3 ]: G7 g% S6 k/ K
  944. ; j% E3 w4 T  P! k% {
  945. [iconv]# S6 q3 K6 Y5 d2 L5 L# u7 l3 j+ w% H
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.9 q' r9 Q1 w/ {6 ?1 [: d
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.+ L' o5 o4 `# z# C# n
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    5 ]) q% S2 x+ C' {6 }
  949. ;iconv.input_encoding =
    $ f1 p) T% K# U! L& s8 O

  950. 1 o/ B  z2 H! c- D1 q
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    4 b" ^% t& Q/ z! ]! c) ?6 V
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / F/ `- D* t# ^- v, I  k  x
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , v) M2 K+ F, M; L5 @
  954. ;iconv.internal_encoding =
    $ j6 w4 l4 Z4 d% f
  955. 2 }# ^5 v6 K7 S- i9 _/ y
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.: ]. k# n" A3 l" q8 [8 R
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 j" h' Q, l" F0 t1 X& ]
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # m! G5 r  l- c! H2 a& Z5 V
  959. ; To use an output encoding conversion, iconv's output handler must be set
    * v% I7 c3 Z$ I, E
  960. ; otherwise output encoding conversion cannot be performed.
    / y. f% f+ z' c0 ]: d: m; U
  961. ;iconv.output_encoding =8 I6 R. P" j# I" J* Q6 y& U" b- Z

  962. - M- P9 b) o! O% e
  963. [intl]
    $ I0 K, ~3 ~, n3 S
  964. ;intl.default_locale =
    ) u3 z, h+ D! X, n% t) j6 u
  965. ; This directive allows you to produce PHP errors when some error5 z- m) `+ u' N
  966. ; happens within intl functions. The value is the level of the error produced.6 V2 _" h$ _( q$ P
  967. ; Default is 0, which does not produce any errors.9 F& }$ y8 j3 O5 D
  968. ;intl.error_level = E_WARNING8 N) ]( U% r: m) [0 _! j7 v, |
  969. ;intl.use_exceptions = 0
    / |8 g, n, J. z# q7 q! C( S! L# A1 v8 V. y

  970. , o% c! v0 x3 g4 h, _3 l
  971. [sqlite3]7 v+ Z! l7 E$ q
  972. ;sqlite3.extension_dir =
    # D! y" L  C, i* N  I! \
  973. ; j7 w- q7 \" O1 m- _
  974. [Pcre]9 X( q* ~3 p' k7 j7 q: f
  975. ;PCRE library backtracking limit.
    . d0 L' j- r" g) s0 C
  976. ; http://php.net/pcre.backtrack-limit7 U6 ], j# ]) |. W
  977. ;pcre.backtrack_limit=100000: i$ P+ B7 x+ [) H  X

  978. 6 b! Z, t* }" Y' O  {
  979. ;PCRE library recursion limit.0 ~3 d! y" ~* f& i# f) N5 Z& C
  980. ;Please note that if you set this value to a high number you may consume all
    8 _+ h+ W2 M  w& o: v
  981. ;the available process stack and eventually crash PHP (due to reaching the
    3 N8 ~  h) n4 N* B% b9 s! o" y
  982. ;stack size limit imposed by the Operating System).
    & m2 o1 A4 X. x7 z1 s
  983. ; http://php.net/pcre.recursion-limit& w9 u& E) [6 q# ~4 D: q
  984. ;pcre.recursion_limit=1000001 f0 s$ ~. p* V0 z
  985. ! o" j: U& m! R
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE; b/ j1 G' ~8 l; T
  987. ;library to be compiled with JIT support.! _& u/ a) l% `$ w% c& y/ y
  988. ;pcre.jit=1/ S$ [( t4 g) W8 A: i
  989. 2 a" I# P0 f. D  o- V
  990. [Pdo]; Q; U% R" k& ~( x
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    * G- @: c, ?5 B
  992. ; http://php.net/pdo-odbc.connection-pooling
    - Q# ^% H. ?0 [3 U- \
  993. ;pdo_odbc.connection_pooling=strict4 J6 p/ |( x2 l, G1 w6 k6 ?5 v

  994. ' S2 J( `) S7 c7 ?
  995. ;pdo_odbc.db2_instance_name0 H) J/ R0 P2 J, B
  996. * ~; R) m5 N# @1 B6 ]2 o
  997. [Pdo_mysql], \% S0 `5 N0 T# p9 \
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache( i% ~( b' w: Y% `% C' }
  999. ; http://php.net/pdo_mysql.cache_size* X) w, _& ~* ~& g* X
  1000. pdo_mysql.cache_size = 2000+ s4 e% \( E- R
  1001. - E) o) Z3 A. y, h2 `
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      Z- S& [1 q1 G0 }5 n9 P+ j
  1003. ; MySQL defaults.
    2 w% S: \6 P$ j
  1004. ; http://php.net/pdo_mysql.default-socket! `( m* t, g- p3 E! o* v0 _" q
  1005. pdo_mysql.default_socket=
    ; p, U  E- M; Y; ]$ T( r

  1006. 4 \. |6 l2 r" p( ?
  1007. [Phar]* u$ w' B0 Z4 a4 R* h$ F1 ?6 x. t
  1008. ; http://php.net/phar.readonly
    5 o* D9 C/ N: P
  1009. ;phar.readonly = On! C& i/ d; N1 R

  1010. % b  H" G; Z5 f, w* s- r
  1011. ; http://php.net/phar.require-hash
    7 w" e% l; W6 U4 X/ E$ W2 e
  1012. ;phar.require_hash = On
    9 h! t% x4 ]+ O& q; c

  1013. % @1 C# y3 N' z/ C* a6 d. W
  1014. ;phar.cache_list =+ @# g! _& V) b/ D4 W
  1015. # J* d1 B* `- v* H* _' y
  1016. [mail function]
    6 l/ \2 i! e# Q8 S) C; ?" _" r
  1017. ; For Win32 only.8 v; E4 q2 U3 |3 x9 X8 K  b
  1018. ; http://php.net/smtp
    ' s3 m" Z4 {+ J+ L7 X; O
  1019. SMTP = localhost/ _! ~( s/ p, a- W8 ?5 ~
  1020. ; http://php.net/smtp-port  s2 S# Q: p8 I! }  R9 `  ?
  1021. smtp_port = 251 g  M! M: W/ r7 O6 ^! ]2 C4 _
  1022. 1 i# |; s4 k( p( ~
  1023. ; For Win32 only./ S- p) O: l: {( z$ v
  1024. ; http://php.net/sendmail-from( m9 z2 n: v5 h$ h
  1025. ;sendmail_from = me@example.com
    / y4 G2 m6 R# u$ C' T, L% b

  1026. * x. F! F3 G7 V+ q. D0 |
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").' K7 E$ ?+ o7 V4 w  T3 I
  1028. ; http://php.net/sendmail-path
      l4 M* R7 f" {. e, ~0 P. H
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    1 D$ ^6 t) T. g& l
  1030. / ?7 d. e2 B( i1 L$ k- t
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
      ?/ q5 y& T5 P4 d. f
  1032. ; to the sendmail binary. These parameters will always replace the value of5 g/ K+ z7 p8 H2 y
  1033. ; the 5th parameter to mail().
    9 {7 u  _) ^* I  M0 y" G3 w
  1034. ;mail.force_extra_parameters =  O- j) @* ?! k

  1035. + C  u6 ?5 u0 }) h; n. t
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    / |) r0 j# B& T
  1037. mail.add_x_header = On: Q  t- `# ]/ g1 q" N% ~3 Y# c

  1038. % J& N" t0 E# s" d
  1039. ; The path to a log file that will log all mail() calls. Log entries include6 U' k, s! b) b9 C$ k; Y' Q
  1040. ; the full path of the script, line number, To address and headers.9 U4 b$ o& X* [
  1041. ;mail.log =
    ; Q( S+ ~5 Z7 h2 G8 x
  1042. ; Log mail to syslog (Event Log on Windows).
    8 t% E, n) P" [$ c6 t
  1043. ;mail.log = syslog" ]4 n8 e( a. k4 t. n: J1 k

  1044. * K* X8 ~3 _$ H) `
  1045. [SQL]. l" I$ R% p# j5 j9 z( U4 G& j- i
  1046. ; http://php.net/sql.safe-mode
    $ |# f  n' @) C/ r) P8 g6 d
  1047. sql.safe_mode = Off
    . J$ C/ K: `* B
  1048. # I0 y) E  s; `3 d, X! P4 a0 M
  1049. [ODBC]0 W4 U% b. v3 v: ^+ U' N  Q
  1050. ; http://php.net/odbc.default-db
    / Z+ ~4 \  X$ _
  1051. ;odbc.default_db    =  Not yet implemented
    4 I  F$ o+ y  Q; @$ }. c9 G" C

  1052. 6 z/ ?9 _! F  C3 \
  1053. ; http://php.net/odbc.default-user& {8 S1 K/ d$ \& |$ u, }
  1054. ;odbc.default_user  =  Not yet implemented6 O) E; G: H0 O; A
  1055. ) ]! H# D, t* O% p$ ^$ @
  1056. ; http://php.net/odbc.default-pw' h7 F) F) x: B$ h, J
  1057. ;odbc.default_pw    =  Not yet implemented% J: N2 w( q6 a9 \7 X* [! s& ?

  1058. . n4 I1 D; l+ E* y# k' W
  1059. ; Controls the ODBC cursor model.
    ; o' d: @  X% _6 i3 U0 |# a" {4 w2 r
  1060. ; Default: SQL_CURSOR_STATIC (default).
    8 D. d! U+ u* K4 h6 _
  1061. ;odbc.default_cursortype
    % ^' D, ~6 e" M$ I- }4 Q0 `4 u/ V
  1062.   |. q/ W) t- D+ a
  1063. ; Allow or prevent persistent links.; ?  J6 N5 N4 q! a
  1064. ; http://php.net/odbc.allow-persistent; M; T. o* a7 D, V0 c3 V; h' N
  1065. odbc.allow_persistent = On. {$ V. v4 C0 q

  1066. 4 N. E* g; t& G6 E: R( R
  1067. ; Check that a connection is still valid before reuse.2 a. P* u# k, O
  1068. ; http://php.net/odbc.check-persistent
    3 q7 N  I3 p- b& ]6 ^% P
  1069. odbc.check_persistent = On
    4 Q( u  c* c" m; F% U
  1070. 7 u+ y, J' V5 i8 O
  1071. ; Maximum number of persistent links.  -1 means no limit.
    + y  G9 U  a) V5 I
  1072. ; http://php.net/odbc.max-persistent. N* l; V/ T( n8 V+ v. X
  1073. odbc.max_persistent = -1
    , U. H- J5 F* {
  1074. 2 E/ F3 a; Y- }+ |8 X
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " M, R8 b: F/ W1 Y$ ^
  1076. ; http://php.net/odbc.max-links
    , l5 [" U$ l- y
  1077. odbc.max_links = -10 z- L; Y6 I  @* q9 E$ ]0 o

  1078. : k7 P1 L& j  z1 y) ^4 y
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , d. l# [' R- m- p5 L
  1080. ; passthru.
    ; A) k& W; A8 @' Q  A
  1081. ; http://php.net/odbc.defaultlrl4 F4 U% H; \& n* \' |
  1082. odbc.defaultlrl = 4096
    + Y. z* q3 u0 t4 ?* z3 i/ [
  1083. ) |7 a7 v+ x1 o9 ]( d
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.# N. I, A3 _. t; {5 v: W
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
      c. Q! Z' c: ^( y0 ]% R4 f. @
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    , y$ \' n8 O" s! R  W
  1087. ; http://php.net/odbc.defaultbinmode; g/ |8 \" u2 C/ m$ Q+ S
  1088. odbc.defaultbinmode = 1
    % w' P+ h2 ?$ S5 g) w
  1089. . o6 L, t4 P: x4 {2 t/ C- r3 t2 E
  1090. ;birdstep.max_links = -1* [7 |3 V4 n2 }% P9 m

  1091. 5 l  \$ @. m, H* n* x0 `) M% G4 j
  1092. [Interbase]
    0 T1 K2 W4 H* I  @; ?  Y8 F- J4 o3 |9 z0 C
  1093. ; Allow or prevent persistent links.
    * ]+ j. X7 R3 ], b5 N7 V
  1094. ibase.allow_persistent = 15 ]+ L8 k( X7 j$ M) c
  1095. 7 e- K1 D  H  o' u+ X
  1096. ; Maximum number of persistent links.  -1 means no limit.+ _! |" |+ ], g/ O& `& g* ?
  1097. ibase.max_persistent = -1
    : C! B, D3 C+ T, a) t8 K
  1098. 6 |  W! ]; h' W( m# Q& O9 q1 o
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* e# l4 r; m7 i6 t# J, ~1 {
  1100. ibase.max_links = -16 _+ @) S! }: l

  1101. / q7 G* b* M# D8 ]& X' G
  1102. ; Default database name for ibase_connect().. C2 O  _0 S2 Q* u8 l4 ?" d: s, z
  1103. ;ibase.default_db =" Y! z/ d8 r5 a$ |5 O
  1104. : f$ D. I* f. ?
  1105. ; Default username for ibase_connect().8 U+ H% _: a2 p
  1106. ;ibase.default_user =7 G( ?7 L$ e4 K5 Y' \+ m  j
  1107. , t; e! K# t4 f3 Q4 |  b7 v7 k
  1108. ; Default password for ibase_connect().! C* G) w& I) r: R' D  Y# M
  1109. ;ibase.default_password =
    " c4 i8 K$ m0 K, }) O/ ^  `

  1110. ' L# f8 i. s1 U
  1111. ; Default charset for ibase_connect().
    9 V3 d" P- u: m5 [8 f, X
  1112. ;ibase.default_charset =
    , M; y# o* [, f' k& f

  1113. % y: I! J3 H. P0 T. M( |- G
  1114. ; Default timestamp format.
    8 O  E; Z9 B- }4 S
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* s8 f3 J9 g! }  _3 o$ C
  1116. + o( n% c. C/ {: t# y$ T3 t
  1117. ; Default date format.: t  O# ?4 \# y5 @, y. Z
  1118. ibase.dateformat = "%Y-%m-%d"" ]! h+ i# i) r. r. N0 Z' }
  1119. . w5 h1 d3 R5 R7 \8 P# b. N
  1120. ; Default time format.
    8 D8 e' a& S& C
  1121. ibase.timeformat = "%H:%M:%S"
    6 ?) n8 F( X; a/ ]5 x, Q; f
  1122. 8 n! U" ^& ~/ y7 H1 N+ E
  1123. [MySQLi]0 w3 q" e4 V. g. W- z
  1124. 9 j) ~2 R6 o" J3 `6 r% l
  1125. ; Maximum number of persistent links.  -1 means no limit.
    0 q, L5 r$ N% p2 \8 W- w* U7 e7 c4 U
  1126. ; http://php.net/mysqli.max-persistent' P! m4 d4 k; t% E" Y: ~5 x
  1127. mysqli.max_persistent = -1
    2 m/ i1 ?- L$ d/ Q% `! H$ R3 X

  1128. + S5 @3 B7 L, {; t
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) n  b# d8 i' s5 a6 f$ v  F7 ^
  1130. ; http://php.net/mysqli.allow_local_infile
    - T6 i4 B9 i5 g% T6 y" i
  1131. ;mysqli.allow_local_infile = On
    : B& l& J$ b5 [7 |

  1132. 2 e0 Q7 w# W- l9 X% G$ n& D1 G2 Y
  1133. ; Allow or prevent persistent links.! n' x* c6 y* n
  1134. ; http://php.net/mysqli.allow-persistent
    9 n& |" W5 U! l- G
  1135. mysqli.allow_persistent = On
    ) _% x6 X4 y2 z% J# A1 }: l
  1136. - t* T' P  O' l
  1137. ; Maximum number of links.  -1 means no limit./ B: i, P# M) K& T
  1138. ; http://php.net/mysqli.max-links, Z, W% a" h, U! Z9 S
  1139. mysqli.max_links = -1& m8 f/ C( C( J7 |
  1140. 9 ]) I1 f# f5 D* Q
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache! S) v5 z, J; r# C' X' r' ~  Y
  1142. ; http://php.net/mysqli.cache_size
    8 k% E! |% \; J; }
  1143. mysqli.cache_size = 20009 C; {, p: X" H4 d
  1144. ! C  F" r7 L$ H/ W* f
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use. w- w* @+ H6 t1 n, s
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % ?/ F1 X% K; N2 f
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 w& y6 z/ x# _: B6 Y. h4 ?6 S
  1148. ; at MYSQL_PORT.! l: P) i- {& g# u- F/ ]" I
  1149. ; http://php.net/mysqli.default-port
    0 i8 ?* ^4 R: l. m& [
  1150. mysqli.default_port = 3306
    " [8 w0 m  h- I+ U' [

  1151. $ ?. O& S, m4 @1 J5 f5 E0 p7 A) q+ f
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / A3 s& e2 {: B( G3 I
  1153. ; MySQL defaults.
    ! N2 J. A% D. b7 y
  1154. ; http://php.net/mysqli.default-socket
    + }) C3 G9 K; T! F3 r4 X
  1155. mysqli.default_socket =
    + ~0 l& l, {8 ?8 M

  1156. . @- U9 `) F8 a6 ^
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    6 i9 {/ z+ p" J) ]; n& ]
  1158. ; http://php.net/mysqli.default-host
    " I' A: R/ g) c% E
  1159. mysqli.default_host =4 y9 S  G4 o* K

  1160. 3 |( w9 C  z: d) `, \
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) v( [. K% d/ r' @5 M
  1162. ; http://php.net/mysqli.default-user7 O( N* J4 \: U: B
  1163. mysqli.default_user =& ?  I6 m" T' {2 f" E$ n
  1164. 9 ^3 a, U7 O# q0 H, @- F
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    + a) i. s7 M* Q
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ! c' I8 j/ _6 K  v, e# K
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    7 ^' D( o  a6 G& E. D
  1168. ; and reveal this password!  And of course, any users with read access to this
    * v5 F$ X* a5 Y! l
  1169. ; file will be able to reveal the password as well.% s: R, X$ M+ I- B  z
  1170. ; http://php.net/mysqli.default-pw
      @1 K4 v# m6 ]1 V1 i2 F& i
  1171. mysqli.default_pw =
    ( w: b9 _- K5 _
  1172. ) j& b6 a' m& U
  1173. ; Allow or prevent reconnect5 o7 I( u7 b3 ^  d, e2 E& S0 H5 R
  1174. mysqli.reconnect = Off
    . E# T! X" `" P, i+ ]. ]" V

  1175. ! X% }" J: q' k1 W8 V
  1176. [mysqlnd]
    ( ?5 k" _! j. v+ F% u. C* j1 q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; c# G4 O9 E# R$ a
  1178. ; used to tune and monitor MySQL operations.2 z4 l$ b; |9 [* ]7 h) u+ V- I
  1179. ; http://php.net/mysqlnd.collect_statistics
    - @2 }/ E: _& G/ u. d9 l
  1180. mysqlnd.collect_statistics = On
    . ?8 {8 q9 r2 s- r
  1181.   l  U0 ^- Z6 r2 C' G3 b
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ C8 k) `1 h- o; Y* z
  1183. ; used to tune and monitor MySQL operations.8 z0 }  u) X9 Z9 ~& O% f% }
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ' g( [+ l$ o/ u* {9 _9 D6 t
  1185. mysqlnd.collect_memory_statistics = Off
      t8 Y. z- C3 u6 V/ T

  1186. 5 O% T) ~% p3 Q( d& \6 C
  1187. ; Records communication from all extensions using mysqlnd to the specified log4 o+ Y* k( ?) \2 e3 f- w
  1188. ; file.9 ^0 L4 S/ `7 n5 g+ g' i% ~
  1189. ; http://php.net/mysqlnd.debug
    2 G  y8 r" _- Q( H# O, g, I
  1190. ;mysqlnd.debug =" D: {3 X% X6 S
  1191. - m/ M( u+ ~0 }. f! r
  1192. ; Defines which queries will be logged.
    . X: W  \0 h; S0 ^) Y0 k4 w7 n; i
  1193. ; http://php.net/mysqlnd.log_mask
    ( D, d% J" j* t+ z. n
  1194. ;mysqlnd.log_mask = 0
    ' z& N* a/ s/ \9 {- {5 ]

  1195. ; ~0 u  P! c% }# q5 Q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.' t- P# t: u3 X5 `$ ~+ w
  1197. ; http://php.net/mysqlnd.mempool_default_size
    " j; e) g# I4 O! a/ T& \
  1198. ;mysqlnd.mempool_default_size = 160007 j% T! t& Z, G
  1199. 6 n$ G- q) i0 j1 q3 @) W
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    $ X3 I8 X$ g+ K( N# b9 [' R& ?2 A* ^7 [
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size9 h  M1 `/ U' i
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    6 b" P7 K5 e* `! ^

  1203. ; s- q" r- W# L: @0 @8 O6 \
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    4 X$ Z: X: E! M9 }8 u+ z* G9 Z
  1205. ; bytes.( S0 U) {4 [) L  f- B, Q
  1206. ; http://php.net/mysqlnd.net_read_buffer_size( N0 M! Y% Y0 W! |& Q5 @$ W
  1207. ;mysqlnd.net_read_buffer_size = 32768
    6 P  O: ^+ K  U7 g
  1208. 1 q9 Z: c$ C$ @) u. L
  1209. ; Timeout for network requests in seconds.* U% z$ {4 V+ H1 E; v. u9 l
  1210. ; http://php.net/mysqlnd.net_read_timeout
    * L! L  U9 U2 q# h' N: u
  1211. ;mysqlnd.net_read_timeout = 315360006 ]; @* N# [, P5 `" ^8 G- z# A

  1212. 4 r# {0 v+ D; m2 }
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA# T5 `% o* ]: w, s
  1214. ; key.
    , \" O# q+ D7 x# k
  1215. ; http://php.net/mysqlnd.sha256_server_public_key$ K9 `* {# s& H! ?' V
  1216. ;mysqlnd.sha256_server_public_key =
    - y8 k  P* R$ x$ h

  1217.   N% }( e- e: O7 z
  1218. [OCI8]
    2 P: F( j7 O. E7 i6 S
  1219. ' J* A4 D* d. P
  1220. ; Connection: Enables privileged connections using external: b8 S3 f* m3 r8 ^
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 r# E" G  M) a- `& M
  1222. ; http://php.net/oci8.privileged-connect
    6 S- ]7 Y4 V; }3 n1 R
  1223. ;oci8.privileged_connect = Off( G" i/ r9 f9 G

  1224. + Z) q) m& u+ G
  1225. ; Connection: The maximum number of persistent OCI8 connections per) `( o: L+ }' B9 R$ b+ n% D
  1226. ; process. Using -1 means no limit.# I7 ]1 _3 v. X- b3 u* D  g6 m
  1227. ; http://php.net/oci8.max-persistent
    / {* `" ^) D0 j- l6 b
  1228. ;oci8.max_persistent = -1$ K0 r0 I' f9 E: ?
  1229. - ^3 P% i& H" K$ I0 M' ?1 x
  1230. ; Connection: The maximum number of seconds a process is allowed to& x6 `' Z! q4 J* G
  1231. ; maintain an idle persistent connection. Using -1 means idle
    + r: V! [8 Y7 b9 y
  1232. ; persistent connections will be maintained forever.
      p; ]- ]& r+ ?$ b% `
  1233. ; http://php.net/oci8.persistent-timeout" e; \5 Q% U% u+ X- X
  1234. ;oci8.persistent_timeout = -1
    6 f/ D8 Y8 N+ [( ~4 v

  1235. $ g" O- v. o, |- [  z( m9 v
  1236. ; Connection: The number of seconds that must pass before issuing a; x: \! D0 ?$ z; H$ J
  1237. ; ping during oci_pconnect() to check the connection validity. When
    . O3 q, g+ \6 ]" G9 |
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, p# [. e* |/ s. o3 x
  1239. ; pings completely./ _6 \- ^) r; E& O, o9 `6 T3 q
  1240. ; http://php.net/oci8.ping-interval8 L8 N- [# S2 ?9 R" D7 p
  1241. ;oci8.ping_interval = 60
    ; w7 j5 r/ B# {$ Z4 y% ^; U$ g" v
  1242. ' m0 g( \" y/ `6 X9 l3 x
  1243. ; Connection: Set this to a user chosen connection class to be used
    6 w3 E& y, p, e! s; a5 o/ S& x
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    1 \9 H, j) [3 u1 A' M
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to3 Y* [0 m; i6 Y: a
  1246. ; the same string for all web servers running the same application,
    ) j1 B* G: q% |% H6 u% s* d
  1247. ; the database pool must be configured, and the connection string must1 s9 e7 h$ H% k2 `6 Z8 v
  1248. ; specify to use a pooled server.
    5 Z$ x1 s' M( F; i% f
  1249. ;oci8.connection_class =, _( p4 j# w0 F% k

  1250. 1 z4 K* E: ]" M/ c" H6 p8 b3 |  p: l
  1251. ; High Availability: Using On lets PHP receive Fast Application2 Y: N6 h4 ^( g, K
  1252. ; Notification (FAN) events generated when a database node fails. The
      w1 B) {: h! p
  1253. ; database must also be configured to post FAN events.
    0 S6 T" O2 f- C) k/ q& R
  1254. ;oci8.events = Off: _) a) G$ ]1 u4 s
  1255. ' a% ^) `# b! ]; v7 X5 t
  1256. ; Tuning: This option enables statement caching, and specifies how9 p6 i, }8 g% k; [
  1257. ; many statements to cache. Using 0 disables statement caching.
    ; a/ `9 N( v1 j  R0 h( _3 @/ U0 O
  1258. ; http://php.net/oci8.statement-cache-size8 t! A, I; j! Q. H! z5 U
  1259. ;oci8.statement_cache_size = 20
    2 Y) v! `/ y* V% \

  1260. 0 D9 ?9 N1 p( l; Y4 u4 ]
  1261. ; Tuning: Enables statement prefetching and sets the default number of4 N3 J: @1 R6 j4 \1 H
  1262. ; rows that will be fetched automatically after statement execution.$ H' \( X2 R0 V7 n
  1263. ; http://php.net/oci8.default-prefetch
    5 i; u# a: W3 R+ m/ }
  1264. ;oci8.default_prefetch = 100
    9 m9 r2 @! l7 z" O7 w* v

  1265.   n. a3 f' \6 P
  1266. ; Compatibility. Using On means oci_close() will not close. o$ {8 K; f: @3 c" l/ q0 T6 Y
  1267. ; oci_connect() and oci_new_connect() connections.5 \9 b1 k6 [+ ?3 t
  1268. ; http://php.net/oci8.old-oci-close-semantics
    * E  G2 r8 f% U, p# O$ `, A
  1269. ;oci8.old_oci_close_semantics = Off
    0 N7 W, k0 s; _
  1270. ( C, S3 c" k- B* x) ?, {- E$ g
  1271. [PostgreSQL]
    3 d1 Y. n1 S( P" a; {9 K
  1272. ; Allow or prevent persistent links.1 T! J1 G+ Y- v
  1273. ; http://php.net/pgsql.allow-persistent/ R: f+ w% g* M1 w9 K: f7 n
  1274. pgsql.allow_persistent = On3 u1 \: |1 z+ k
  1275. - A8 R& q' q  m4 C
  1276. ; Detect broken persistent links always with pg_pconnect().4 k4 i: @5 B/ \% N4 K7 A: @
  1277. ; Auto reset feature requires a little overheads.
    ) ~, ]" Z3 {9 Y
  1278. ; http://php.net/pgsql.auto-reset-persistent4 t# H7 K; e  ?7 m; [; N
  1279. pgsql.auto_reset_persistent = Off
    % a* q8 j1 U) U! {4 d' V$ F! _
  1280. . T/ ?) _( n3 y$ \) D5 y9 d
  1281. ; Maximum number of persistent links.  -1 means no limit.
    3 N& H, X/ P4 f2 e# d7 [* U
  1282. ; http://php.net/pgsql.max-persistent
    # C4 \; Y1 `1 P) _& t; [  R+ g
  1283. pgsql.max_persistent = -1
    $ t: e9 F' m, O( A
  1284. 8 L+ I  ^) v! V! m9 u8 \( B
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.8 i1 q5 q# a% ^+ {6 F. h/ \7 E
  1286. ; http://php.net/pgsql.max-links
    6 V- U' v5 f: N/ s2 J
  1287. pgsql.max_links = -1( R9 o' K  Q% u: D# j5 O4 e/ J

  1288. 1 m. i0 `) q/ f
  1289. ; Ignore PostgreSQL backends Notice message or not.2 T2 H( l7 y* S3 f
  1290. ; Notice message logging require a little overheads.4 C5 u* V1 V0 {) O
  1291. ; http://php.net/pgsql.ignore-notice9 `1 _9 S9 a/ A  `
  1292. pgsql.ignore_notice = 0
    1 y+ O9 r$ N( R. y& ]
  1293. 0 O" {$ D& ^& y3 N9 i
  1294. ; Log PostgreSQL backends Notice message or not.
    , K( E9 v& Y5 o5 J. {! B
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.) t8 i1 f; B, y, a% }
  1296. ; http://php.net/pgsql.log-notice3 q; z  X$ w# L8 }! A# t- p
  1297. pgsql.log_notice = 00 b) G4 j) k8 F
  1298. * O: w- J8 J' j
  1299. [bcmath]
    # R( Q% c6 ?( M0 k
  1300. ; Number of decimal digits for all bcmath functions.
    7 Y* }) N- X1 M. w, g: v4 i" N# o
  1301. ; http://php.net/bcmath.scale! A) X- ~2 l6 N0 J6 _
  1302. bcmath.scale = 0
    8 E) o( q( `0 F/ G, n8 F& ]: \( l

  1303. " H. @% Y: [& {; T
  1304. [browscap]
    8 _1 K6 U* S! Z, w; I
  1305. ; http://php.net/browscap0 h. `. K/ W3 E; Y  W
  1306. ;browscap = extra/browscap.ini
    5 y0 M2 Z: c3 P7 e& H5 ]( m" L  x, V
  1307. # A9 v9 w# [  u: {# ]* m- Q7 z
  1308. [Session]
    & {4 n, j/ ^* f+ [. m  G9 l
  1309. ; Handler used to store/retrieve data.& r; u' G3 W2 p9 R
  1310. ; http://php.net/session.save-handler
    ( D! w- g9 h! S' U$ J$ K
  1311. session.save_handler = files7 Q' N) p! O; D( E3 k

  1312. 5 a8 L" A! |: L) W7 b+ B! i1 s5 ?
  1313. ; Argument passed to save_handler.  In the case of files, this is the path4 W! B' F2 H9 J/ ~" _, W
  1314. ; where data files are stored. Note: Windows users have to change this
    ' G! @8 W1 M( o& p8 Y+ I7 f
  1315. ; variable in order to use PHP's session functions.
    6 _5 V5 |7 J8 k# b
  1316. ;
    7 Z* s+ [9 L7 v. s: b4 I+ ?
  1317. ; The path can be defined as:
    1 q! Q4 ]8 K- {" q
  1318. ;
    + }  x2 C1 r& u1 {3 n5 I, A
  1319. ;     session.save_path = "N;/path", _4 B. v6 |' s( o9 q) N1 A
  1320. ;5 X% r( d) M; B0 ]; d, P9 v& r
  1321. ; where N is an integer.  Instead of storing all the session files in
    " v) V4 ~6 j- @- k
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    : q5 n9 z. l0 z2 H$ \
  1323. ; store the session data in those directories.  This is useful if
    # g$ x4 l  T. d, @$ o( g: h
  1324. ; your OS has problems with many files in one directory, and is6 r" s+ m3 ]+ x0 ~3 f
  1325. ; a more efficient layout for servers that handle many sessions.
    , V* j8 z3 S1 U) i# U8 V2 M0 y
  1326. ;
    ) |! |9 h8 Z% @9 r0 w0 `
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    2 N# a8 u; y/ G7 K5 f3 u1 |& f
  1328. ;         You can use the script in the ext/session dir for that purpose./ M2 m3 L7 P+ o$ n, E/ l5 |& I/ H
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    2 C; J( U2 Y5 @6 u
  1330. ;         use subdirectories for session storage5 v) Q9 ]! R/ Y$ q& n) r
  1331. ;
    5 {2 J0 E: N" |, ^: g  O
  1332. ; The file storage module creates files using mode 600 by default.! O! J+ s1 u% d. c. R
  1333. ; You can change that by using: n' X4 Z+ Q- ^- Y+ }
  1334. ;
    8 T7 b% O! q, O  j2 A% w# X1 C
  1335. ;     session.save_path = "N;MODE;/path"* g1 c2 K0 S$ e. u1 ?9 ]
  1336. ;
    ( S0 o0 I2 m% V1 I5 V
  1337. ; where MODE is the octal representation of the mode. Note that this% V3 \) g8 J6 f1 e% x% B) J
  1338. ; does not overwrite the process's umask.
    % c! S& l' W; C+ a
  1339. ; http://php.net/session.save-path
    4 b  N8 a/ v( d" [) B9 w$ E$ N
  1340. ;session.save_path = "/tmp"
    ) f) y* g4 {7 V- u: n
  1341. 1 ~% L8 M; g! [/ J3 v
  1342. ; Whether to use strict session mode.
    & g0 Y1 P7 ~% P: _
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate# {  U1 m* I; O% p. F
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
      g, \5 r4 v4 K" ^! e' P
  1345. ; applications from session fixation via session adoption vulnerability. It is0 C8 {6 M" l4 Y) Q# o3 O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.& u8 `, g+ U/ G2 L& g8 h+ b
  1347. ; https://wiki.php.net/rfc/strict_sessions
    & I. M- ~" ?) h. L
  1348. session.use_strict_mode = 0' l  T. E  n+ G1 t0 J3 F* H

  1349. 7 P; @5 n/ s6 V6 E7 j( L" ]
  1350. ; Whether to use cookies.
    ! @" g% F9 ~$ `: C9 U4 o
  1351. ; http://php.net/session.use-cookies9 R& K5 u' g- {6 N0 q- k$ Y3 `3 p
  1352. session.use_cookies = 1" h% O$ J3 G9 E3 O& `0 @- j$ D7 G! J  n
  1353. ; ]1 G" T% Z1 b0 Y5 T2 `/ S4 ?# d' m
  1354. ; http://php.net/session.cookie-secure
    ( w. ]3 G; y" G8 m
  1355. ;session.cookie_secure =7 I! C+ t- v! C4 _2 {, ~

  1356. + E( c* k7 {0 d7 M( f5 ~
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining& q- f# h8 n/ j4 ], O
  1358. ; the session id. We encourage this operation as it's very helpful in combating  f; ^" f+ ~8 z7 h+ }
  1359. ; session hijacking when not specifying and managing your own session id. It is
    & A4 k' w2 C- o6 \7 a$ N
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.0 h+ ]5 [% a, ?2 ~! z$ q/ g5 [8 J
  1361. ; http://php.net/session.use-only-cookies
    , {$ z( V5 X4 n' n6 {( e) }
  1362. session.use_only_cookies = 18 Z! i# L, J# ^$ X% u; D  m

  1363. / x! D3 @, B% v6 V+ |; u( z" _9 F
  1364. ; Name of the session (used as cookie name).
    ; I) i% Q6 F" D
  1365. ; http://php.net/session.name
    5 L+ m% i/ ]& N4 g: _: y( X  n" r! X
  1366. session.name = PHPSESSID
    5 b7 g0 Z/ N$ z
  1367. / t7 d( C2 S" W2 N1 }! R
  1368. ; Initialize session on request startup.2 j+ e" b  }* N) {. `. X9 \
  1369. ; http://php.net/session.auto-start
    6 M& K" g! p' g/ [5 c
  1370. session.auto_start = 0$ R+ T: u: z) r: [) a. z7 W
  1371. & S2 e9 S) f8 T! C" L* m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    & t. l4 u' K. b3 `
  1373. ; http://php.net/session.cookie-lifetime9 p) B/ m' \" v/ @2 f3 \& r
  1374. session.cookie_lifetime = 0
    - ?" P4 }9 Z9 H$ a& S

  1375. : I- q) _; ?% L; `
  1376. ; The path for which the cookie is valid.! \; c# G& d" X& s8 T
  1377. ; http://php.net/session.cookie-path
    & b4 h7 B; l' t8 n2 k  o9 g# s% Q
  1378. session.cookie_path = /4 D/ |4 |6 X) D9 a! x) I
  1379. 1 F1 J9 n; D& W! h5 h. u6 a/ r
  1380. ; The domain for which the cookie is valid.
    5 J: s  F5 F3 x' V& y
  1381. ; http://php.net/session.cookie-domain% x9 S$ k- k4 e- W- @' H3 s4 H; e' ^
  1382. session.cookie_domain =" x/ [# ~3 O$ n9 z

  1383. 2 }* b+ ?  L; u  u4 H
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* o3 n+ G" y; T& J9 s- {% K  U8 K
  1385. ; http://php.net/session.cookie-httponly
      Y  A7 ~# @2 J4 h4 ?3 q# u
  1386. session.cookie_httponly =
    9 H* f+ _2 [1 [( r- a1 G0 J
  1387. 9 P8 W5 e6 R: x8 Y1 g: U8 f" x6 }! M+ y
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % |- Z* e. J* S2 x, L# T
  1389. ; http://php.net/session.serialize-handler4 I' G4 |+ T& s  F; n  H0 h$ u0 D
  1390. session.serialize_handler = php
    7 Z: a3 `5 a/ X

  1391. 6 H8 Z) r5 H) M1 O) J9 e' i$ q
  1392. ; Defines the probability that the 'garbage collection' process is started6 C% W7 E7 w% E$ L" s  T/ n
  1393. ; on every session initialization. The probability is calculated by using
    0 w+ ]+ o* D, C9 o" _6 P% L+ b4 o" ~
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator# X- F8 n# X2 J+ K( q5 q4 G
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1, }" o$ _$ K- q& p
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 X2 i" g6 `3 \% p
  1397. ; the gc will run on any give request.6 w& c) e/ i# g: A# i
  1398. ; Default Value: 1* h* X# C* }! ~. s, j+ X
  1399. ; Development Value: 1, B: h/ ]2 q; n0 @
  1400. ; Production Value: 1
    9 z% M6 G( Y' D6 g6 d
  1401. ; http://php.net/session.gc-probability- w; N4 O! q" P/ ^5 {$ f- C
  1402. session.gc_probability = 1
    $ L3 y) \: H9 K" q0 v( A, s% s
  1403. 8 i: a6 w) b/ y  a% _
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    8 R+ G$ a7 C) {3 D' T
  1405. ; session initialization. The probability is calculated by using the following equation:
    2 z! z% ]6 y3 q8 K  z4 _  w
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% z% P- x$ H6 n( c* W9 e5 E  \
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; z0 X7 ~; n* F0 ^" A/ h1 m
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- p/ x! [3 m5 N* G; C- i5 G7 E& g4 r
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    7 C9 ~$ l) l7 L5 J; r+ `
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! U" q3 C+ ^0 O0 P0 k
  1411. ; this is a more efficient approach.
    : N& R# I1 N& n6 h7 _6 v' b, D
  1412. ; Default Value: 100
    : G" w5 T* C5 r2 b4 q+ i; [
  1413. ; Development Value: 1000
    ( M* ]9 [; p' o3 m5 D0 L# J1 \
  1414. ; Production Value: 1000$ N% \4 T& i2 h3 [
  1415. ; http://php.net/session.gc-divisor
    " m1 b8 ~, ?/ P4 k/ z
  1416. session.gc_divisor = 1000
    ! n) B# ~+ M6 a* b1 v

  1417. ) U9 v: E5 W' ~2 X- A& l
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and( _$ c$ P3 e& d" [$ ^
  1419. ; cleaned up by the garbage collection process.
    ) M1 `+ r" h! N" q$ E5 S2 ]
  1420. ; http://php.net/session.gc-maxlifetime9 Y9 T! J  U" b& G' A
  1421. session.gc_maxlifetime = 1440$ W, z; {9 |( [* W5 c

  1422. + V5 |! M. g/ P. [/ E
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ( K% v' r/ p+ x" c# v1 _% S
  1424. ;       (see session.save_path above), then garbage collection does *not*
    9 T' d: ?) R) n
  1425. ;       happen automatically.  You will need to do your own garbage
    ; K6 x- M* v8 K' Y  a
  1426. ;       collection through a shell script, cron entry, or some other method.3 h6 l% ^, l" k6 A4 H7 r
  1427. ;       For example, the following script would is the equivalent of
    ( z" q: Y. N6 [7 y
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, ^+ m; i) ~& b4 g+ a1 n' o/ d
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
      S' a/ v* S0 Q* L( u2 n; C. {

  1430. - x# l+ R8 z0 Q% a4 h: x
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 B+ q" |" A# W" |
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ' y- j2 S& v9 P" O' l: n: R, J
  1433. ; considered as valid.
    ! s  Z' u, X9 t. ]
  1434. ; http://php.net/session.referer-check# B" J& R8 ]( P4 J3 t
  1435. session.referer_check =
    ' q; \8 R# F% z5 K+ A
  1436. . U4 q: g8 @- A* o
  1437. ; How many bytes to read from the file.
    . F, z- P2 `. C' o) u% @$ w4 H
  1438. ; http://php.net/session.entropy-length
    + x0 m. L' U# O3 M- @
  1439. ;session.entropy_length = 32
    9 l$ I9 P* H( D% ?
  1440. 7 _- |! w# c2 {: q; _8 {
  1441. ; Specified here to create the session id.
    0 v3 w7 o* e( W( X) ^7 O  M
  1442. ; http://php.net/session.entropy-file; Y/ L, p2 _/ L+ w+ I# U: t# o7 O
  1443. ; Defaults to /dev/urandom
    ; U3 }6 z3 V! }( v/ P9 M9 @$ x
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 o4 d6 V4 e% M4 w/ Q
  1445. ; If neither are found at compile time, the default is no entropy file.
      e; o0 {0 g1 o* L) U! x% t
  1446. ; On windows, setting the entropy_length setting will activate the5 E& x1 H' S' @+ W+ m
  1447. ; Windows random source (using the CryptoAPI)9 S1 ^8 _/ ~4 e/ ^* e- p' q5 R* z
  1448. ;session.entropy_file = /dev/urandom- K; y8 w; w& |7 H

  1449. 9 b  t  L* E/ m2 W4 \: ?
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects, S2 x3 M! A% I& J; ^
  1451. ; or leave this empty to avoid sending anti-caching headers.
    % _1 A, y- x& M" m
  1452. ; http://php.net/session.cache-limiter
    7 D, U+ H/ q+ w5 R! `& F4 b& G
  1453. session.cache_limiter = nocache
    ' m, r5 a/ F* g; t% o

  1454. # R/ i: O% T* H2 ~& [, C
  1455. ; Document expires after n minutes.: O8 |6 K7 I  ?! @2 p  U3 |; L
  1456. ; http://php.net/session.cache-expire
    6 U# Z7 J8 q" d4 W+ ]3 H- ?
  1457. session.cache_expire = 180- |! g& p6 Y/ @6 l- k' O! a
  1458. ; H! z/ o4 E" _: L! y/ Z9 j( B" p
  1459. ; trans sid support is disabled by default.
    / L7 C7 P3 d7 `; ^' E7 c
  1460. ; Use of trans sid may risk your users' security.. W7 ]# S: F/ v
  1461. ; Use this option with caution.
    ( y& x7 q& F, D1 P# u
  1462. ; - User may send URL contains active session ID  S9 F' \, x7 k. q4 m& W. t5 S
  1463. ;   to other person via. email/irc/etc.
    ! k$ X" f- Y1 R9 h
  1464. ; - URL that contains active session ID may be stored
    % H! n" k( I7 f3 E0 o* E. j# p
  1465. ;   in publicly accessible computer.6 e- H8 O$ ]) M% C& [$ f* [8 \
  1466. ; - User may access your site with the same session ID
    2 P6 O. m6 W' q
  1467. ;   always using URL stored in browser's history or bookmarks.4 g, l1 n+ w' ?' O7 b0 o# f/ Z
  1468. ; http://php.net/session.use-trans-sid( x& y2 Z' X# r/ R5 }% {: c% u
  1469. session.use_trans_sid = 0" G" i9 ~4 e6 l9 g" n' _
  1470. & A2 H% c$ D4 ^8 X
  1471. ; Select a hash function for use in generating session ids.
    - \1 B1 S- D' y6 d$ u/ Z9 S1 V+ I
  1472. ; Possible Values
    7 w$ }0 _6 u  n6 N: P8 m: L0 k
  1473. ;   0  (MD5 128 bits)
    ' Q0 _, r+ x$ D4 f: n8 ^, N, U
  1474. ;   1  (SHA-1 160 bits)
    . J$ l" v+ Q/ T# x
  1475. ; This option may also be set to the name of any hash function supported by0 Z+ @+ {0 Y$ G- C- e5 O6 y. I' V
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    7 e' j7 Z4 x  D; Z( Y* \8 m' s
  1477. ; function." d  \, ~5 Q: F8 k4 `/ s$ Q3 y
  1478. ; http://php.net/session.hash-function% ?) c% h7 Y9 m; w
  1479. session.hash_function = 0$ J* e& r, v8 Q! h9 ?

  1480. $ w. x; m6 N3 T' Y. K
  1481. ; Define how many bits are stored in each character when converting
    7 |) E: M. T& _5 _
  1482. ; the binary hash data to something readable.) l8 \% T' j# t& x2 K1 L* \* w9 q) ^
  1483. ; Possible values:
    ! |# l( \6 ?0 E. {+ v
  1484. ;   4  (4 bits: 0-9, a-f); `5 u% ~- v0 Y/ |2 |7 m- z1 @
  1485. ;   5  (5 bits: 0-9, a-v)
    0 R  n: s0 T- k8 Y6 \
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( y* @5 s) }  f; n
  1487. ; Default Value: 4
    ' h4 e* h; E/ ?, K! j
  1488. ; Development Value: 5
    ( @* @$ p5 H% E
  1489. ; Production Value: 5
    " K/ w9 e6 t: c( g9 K% k
  1490. ; http://php.net/session.hash-bits-per-character
    : I. B0 ?$ v% T$ u$ ^1 V- v
  1491. session.hash_bits_per_character = 5
    , u7 r9 S, J% U* M; o- J
  1492. * V5 ^; q7 j% h  j' O: r
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    2 R5 |: z- m' Q5 f; F2 v0 i
  1494. ; form/fieldset are special; if you include them here, the rewriter will( Y0 P! y% J5 j4 `# d" K+ L3 t
  1495. ; add a hidden <input> field with the info which is otherwise appended
      J, f3 x' m6 Z- i1 Y
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.( N7 w, _0 ?' u7 l* t; u; I4 H6 P
  1497. ; Note that all valid entries require a "=", even if no value follows.6 d1 x6 \8 q" X. l! A
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 X* i  X% b( g2 f+ J
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' h! h$ t% ~: K4 c" F
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 G9 O! s5 {3 D% s) T
  1501. ; http://php.net/url-rewriter.tags/ L; i9 T4 Y. l$ f! L' \- E
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 b% O! `$ ]  |8 Y+ o( r6 ?0 f

  1503. ; J! C2 t8 R# }- s
  1504. ; Enable upload progress tracking in $_SESSION  C# |5 m! m  G% g: F
  1505. ; Default Value: On& s! Y9 z! U* S0 a
  1506. ; Development Value: On
    - H2 |  p# U. x
  1507. ; Production Value: On- s/ i7 i5 Q/ S" w& b4 \# m- S
  1508. ; http://php.net/session.upload-progress.enabled
    & O, ]. l4 f0 \, z  S/ P4 C
  1509. ;session.upload_progress.enabled = On; Y$ K3 o" W, c, E0 `6 D

  1510. 9 ^9 }  @8 {- j6 c- r( E4 ~
  1511. ; Cleanup the progress information as soon as all POST data has been read
    7 j+ S) n4 _! q1 W/ F
  1512. ; (i.e. upload completed).8 R7 m% x( P8 _( _( y
  1513. ; Default Value: On
    7 z+ X' Z3 C6 W" _  m- ^
  1514. ; Development Value: On
    5 [+ a) T: Z+ R- T
  1515. ; Production Value: On; O9 {$ Y. u3 q6 ^
  1516. ; http://php.net/session.upload-progress.cleanup
    ' h! E8 v( F) j; i8 n
  1517. ;session.upload_progress.cleanup = On
    % |' F' m' n4 G$ x6 f/ S8 D

  1518. ; D+ u8 O8 E8 p9 O8 h
  1519. ; A prefix used for the upload progress key in $_SESSION3 e/ i+ @. S1 o) w* W
  1520. ; Default Value: "upload_progress_"
    , ~0 T+ ?, I+ m
  1521. ; Development Value: "upload_progress_"- f3 Q& w' \; m$ K6 p8 A
  1522. ; Production Value: "upload_progress_"( @+ `# s9 ?: y2 y. s5 l+ H. R. g
  1523. ; http://php.net/session.upload-progress.prefix
    " R$ ~3 @4 {5 W8 g
  1524. ;session.upload_progress.prefix = "upload_progress_"# p' k, S( O) O1 t$ B- K3 m
  1525. 4 a; {! H' z; J# y6 K
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ; e; b. L/ }9 W" |( p) _' S' c+ k+ E
  1527. ; containing the upload progress information6 c( S! b" o4 l( B+ L$ T6 [
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * a' k- q' Y3 l% l
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"6 M1 B: M0 y+ V( }8 Y0 e( D2 ^3 m
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"" R) f* V. D+ D4 U! y
  1531. ; http://php.net/session.upload-progress.name5 P; [3 N8 L' l! j
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"/ j' ?0 C+ j  l

  1533. 2 s5 S  [7 c% g. \
  1534. ; How frequently the upload progress should be updated.0 x/ W. |" I' _' f. W
  1535. ; Given either in percentages (per-file), or in bytes
    . @2 H! ?( A; C( W) f3 A0 P7 Y/ S
  1536. ; Default Value: "1%"/ j" s9 v* ?: z0 U8 {4 L; g
  1537. ; Development Value: "1%"
    : A# e( i- j5 B3 _5 E; N9 Q+ z
  1538. ; Production Value: "1%") ?( d' y" Z+ u% L6 ?& S2 c# P
  1539. ; http://php.net/session.upload-progress.freq# ^6 n- K" X8 l5 B2 X7 F- C4 V
  1540. ;session.upload_progress.freq =  "1%"7 e( I6 K% D, I% r5 Z& A- K' L( f
  1541. / k# X" L1 b  g
  1542. ; The minimum delay between updates, in seconds
      y  y* F4 S  ?0 v9 _8 ~5 L& F" ]
  1543. ; Default Value: 1! u2 i# {3 R: j4 A
  1544. ; Development Value: 1- W5 r  N6 {5 N, G6 E" I3 c
  1545. ; Production Value: 1
    % Q( S3 @+ r2 Y7 z( k
  1546. ; http://php.net/session.upload-progress.min-freq; q( z# P  E& a9 }3 W8 H7 Y
  1547. ;session.upload_progress.min_freq = "1"
    5 X: ^3 N( Q6 f( b' o) l
  1548. ( p) u3 P. _+ J" O6 ]3 ?
  1549. ; Only write session data when session data is changed. Enabled by default.
    ( G# c" `: ]4 Z8 V1 R
  1550. ; http://php.net/session.lazy-write
    1 K1 l8 q# i% C( S
  1551. ;session.lazy_write = On
    . D& W0 p8 x# e, `6 `

  1552. 7 j. y5 ?6 E' G5 S- E: O  y
  1553. [Assertion]
    $ k- h9 u/ g* E+ [- X+ X
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time). z) y; L/ E$ M- P/ e/ K
  1555. ; -1: Do not compile at all7 {, g. t3 k8 B! t7 S- V
  1556. ;  0: Jump over assertion at run-time
    7 I! |- W- U: y
  1557. ;  1: Execute assertions# P) I0 r! u3 J# `8 z" d
  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)1 h9 G  Z, w+ v3 k, t3 [0 O
  1559. ; Default Value: 1
    ) B7 A1 ]. l& J$ D1 E
  1560. ; Development Value: 1
    3 z: M' z3 w+ Q& @0 j
  1561. ; Production Value: -1) w% }0 K0 Y* q( H/ a5 n# i0 y
  1562. ; http://php.net/zend.assertions
    & v( a/ k! {/ y4 e, o
  1563. zend.assertions = -1
    / C0 y- H* K  R# J2 ?
  1564. 4 Y  l' ^+ h7 t  e: Q9 {
  1565. ; Assert(expr); active by default.
    . o( T) W$ R0 b  r& ]6 d, U7 S
  1566. ; http://php.net/assert.active
    # o7 S5 ~# z: l
  1567. ;assert.active = On
    ! X$ U4 D0 E1 T* w7 B
  1568. % ~3 Y/ U* [& _) Z/ m( Z& d
  1569. ; Throw an AssertationException on failed assertions
    ) X$ T/ h3 p5 }( F8 t- i5 Q% j1 H
  1570. ; http://php.net/assert.exception
    : ?4 [1 L! h. }
  1571. ;assert.exception = On
    & s- w, ^! g% w0 t

  1572. ( ~$ d7 @& S4 c! a' g: u* W9 S
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
      [" j. }" {8 ~% |3 t6 L1 j
  1574. ; http://php.net/assert.warning
    ( T. g# o% I/ s) T; M
  1575. ;assert.warning = On9 H3 ^  V4 U+ h, ]. L+ b

  1576. - Z0 L' v! h  e3 m" |: P
  1577. ; Don't bail out by default.
    . ~! v0 L' j: r7 m3 c9 _! d2 ^
  1578. ; http://php.net/assert.bail
    4 T$ ]! \" n9 `6 `4 g  D! H8 o1 M5 `
  1579. ;assert.bail = Off, t4 G5 X1 l) D+ A8 w/ M

  1580. 8 ]9 G& N9 S' e1 G* J
  1581. ; User-function to be called if an assertion fails.6 @" c) f2 K6 D/ s) r
  1582. ; http://php.net/assert.callback
    0 {0 d0 Q2 [/ f, m) r7 \
  1583. ;assert.callback = 05 T5 ^* D) {: }& o
  1584. . |& i% M9 o- v# w, ^0 E, n
  1585. ; Eval the expression with current error_reporting().  Set to true if you want7 \' u0 O) X; e" y# g1 w& e
  1586. ; error_reporting(0) around the eval().4 {, B2 {+ E9 P, U8 d+ ~, S- ^
  1587. ; http://php.net/assert.quiet-eval
    % ]7 R! `/ k' ~7 I
  1588. ;assert.quiet_eval = 0
    $ K" H, y) r) M$ n" ^% K; P' J

  1589. " G2 i: X0 K( w0 f1 c( K" g( |
  1590. [COM]: g. a" m3 ~) ^
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# s* f2 U6 f/ A  K! u
  1592. ; http://php.net/com.typelib-file
    5 ?5 C# W9 m; n  T/ c' s
  1593. ;com.typelib_file =* s" v- k* e3 ?
  1594. # Z( F0 |) X$ a) z6 P
  1595. ; allow Distributed-COM calls3 s0 Z1 F; a0 b  z2 ?) |
  1596. ; http://php.net/com.allow-dcom
      D  M; l$ w2 p. Y
  1597. ;com.allow_dcom = true7 j. i; B+ w# e( U

  1598. / _7 ?' w& t, n, w8 ?8 u
  1599. ; autoregister constants of a components typlib on com_load()
    , F) W* C1 _# x/ u
  1600. ; http://php.net/com.autoregister-typelib9 R! F) J4 H( a3 ?: l' O
  1601. ;com.autoregister_typelib = true
    / [9 g1 ^, Y' Z5 Q: s

  1602. 2 m- p2 e' y4 r1 b/ q
  1603. ; register constants casesensitive
    ! ^% g( x1 u5 ?2 {
  1604. ; http://php.net/com.autoregister-casesensitive
    - q: ?, _4 o- o
  1605. ;com.autoregister_casesensitive = false- n# `$ {' `) }% g
  1606. % H/ t! L# b& O9 Q% |% e3 S/ S
  1607. ; show warnings on duplicate constant registrations
    ; P9 \. k$ K/ }' u4 e' i
  1608. ; http://php.net/com.autoregister-verbose
    : M& i) Z# [# G
  1609. ;com.autoregister_verbose = true
    ' n3 Y9 q4 _( r7 V
  1610. 2 J1 j4 q) A& C! L) i
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    0 v$ X6 R0 b. x3 u/ a' ?
  1612. ; Default: system ANSI code page
    $ X% ]4 i6 Q* I# @
  1613. ;com.code_page=
    0 u2 j8 D# Y6 i

  1614. 2 j9 D! d# V1 `
  1615. [mbstring]
    - w" t- C: [8 w+ |8 d
  1616. ; language for internal character representation.( V( l7 R2 \0 \- V$ {) G
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    - b  S: Z7 ]6 H3 F( h* D
  1618. ; http://php.net/mbstring.language
    # ]1 B9 b7 e4 Q4 }" r6 J- u; x! b" N
  1619. ;mbstring.language = Japanese! w( U, M6 o' o, G* E. [
  1620. & s' q1 a& y; d& q. w
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 o+ L5 x. m$ G1 w  \, H
  1622. ; internal/script encoding." ?- B$ z/ V/ L, U/ D
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)! ~3 E, ?9 J! i3 ?: C0 @
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . Y( F7 e# t) ^* w* E
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 N# Q, @/ ^+ {; D2 h$ q
  1626. ;mbstring.internal_encoding =
    $ \) z! N! c4 v

  1627. 8 j5 r& q0 h4 q7 r) K: X7 h6 u: u0 B
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . J4 k8 M0 _$ [# W
  1629. ; http input encoding.
    2 Q1 ^& F! L; e6 i/ R: T9 q6 r: ?
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    , c) R) g9 l7 K/ s. q, |$ e- ^
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used./ y6 j9 m' a  J9 S
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. R# z/ Q. j' ~+ ^6 |7 x
  1633. ; http://php.net/mbstring.http-input
    & V% w+ Y5 R4 P. Y
  1634. ;mbstring.http_input =) P; D6 R2 o" F/ d
  1635. 5 j, v9 d9 G& \- s/ ]$ x+ I1 S
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( ]  X$ m0 g+ |3 @& i' ~
  1637. ; http output encoding.
    * f1 m4 f2 V( _& b! U! ?
  1638. ; mb_output_handler must be registered as output buffer to function.
    . Y' n3 F7 G9 k/ y/ |$ S) V
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.& W! [0 B1 Q' s4 C* l
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output9 N8 K$ V6 _0 Z0 X5 f
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    2 U5 ^, J; S( N7 n# i. Z; C! W1 g
  1642. ; otherwise output encoding conversion cannot be performed.$ e+ e0 `; X+ q* v6 `
  1643. ; http://php.net/mbstring.http-output& U6 Q9 W- Z" c3 r
  1644. ;mbstring.http_output =
    - w/ S" V: n" `- u% t5 V0 y( `- @

  1645. 1 Z! m# w- p0 T/ `/ u( A, K
  1646. ; enable automatic encoding translation according to/ A+ A: y2 X* I5 ~' f. ]
  1647. ; mbstring.internal_encoding setting. Input chars are
    ! S& {& W& s7 r- n0 F) g+ C
  1648. ; converted to internal encoding by setting this to On.8 u9 g: F2 L0 e% k
  1649. ; Note: Do _not_ use automatic encoding translation for7 V, m7 e, J1 F2 u5 x
  1650. ;       portable libs/applications.
    6 }- B2 i! P: m+ n
  1651. ; http://php.net/mbstring.encoding-translation
    ! Q$ f* u; Y% j1 G
  1652. ;mbstring.encoding_translation = Off
    $ Z1 B1 F- V/ j4 _

  1653. 5 r7 x2 L- y; B' b' \; s; n# s2 T7 p
  1654. ; automatic encoding detection order.0 c- S0 A: k+ ^+ r  B0 {
  1655. ; "auto" detect order is changed according to mbstring.language( I$ ^; U# ~8 u, C, g
  1656. ; http://php.net/mbstring.detect-order! l+ n. f( {/ Z& G. i0 X
  1657. ;mbstring.detect_order = auto) ^- z0 T7 C: t" I
  1658. + d- C" ^& p. D- V. Y3 v
  1659. ; substitute_character used when character cannot be converted) x5 h  O* D- L& U' ]& e- l
  1660. ; one from another0 n: ]* p% S3 A2 q
  1661. ; http://php.net/mbstring.substitute-character
    9 a$ o4 }  l: c- ]# ~+ m
  1662. ;mbstring.substitute_character = none! ^) Q6 B- \% D3 Z! @. b

  1663. : J: i0 u- f% Z' J
  1664. ; overload(replace) single byte functions by mbstring functions.7 K# L5 S2 q; |1 f4 C4 Y6 c# f
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    * w2 X; n8 R: ^7 ]  m8 L1 P- x
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.  p+ z5 H5 O: t2 F& E& M
  1667. ; For example, 7 for overload everything.# l4 x9 ]: u6 U- F2 m* \% ?1 ?
  1668. ; 0: No overload6 d3 ]( i' @1 r7 U  R8 G
  1669. ; 1: Overload mail() function) i0 `4 \' I# q+ [( T4 i# H
  1670. ; 2: Overload str*() functions8 e* h8 b5 D3 M5 l/ A3 w
  1671. ; 4: Overload ereg*() functions
    " W" y. e8 [2 E' n- H
  1672. ; http://php.net/mbstring.func-overload
    + }, n$ K, a; Z
  1673. ;mbstring.func_overload = 0
    - T; ~0 o$ {# x8 i
  1674. , T/ i; c7 h+ q  i+ c
  1675. ; enable strict encoding detection.
    , Z7 Q8 y' R+ Y1 s: N/ w: H! D
  1676. ; Default: Off) ^. I& j4 F, n* Q% A/ q
  1677. ;mbstring.strict_detection = On+ y* _, k# Q; p+ x4 o! k
  1678. 4 f7 N; ~( ~/ j  A
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    $ |7 k: j) j4 Z; D6 B
  1680. ; is activated.0 R( D# L7 {: o# y) e" H
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    9 E) w3 a, ?$ K( i" T; [
  1682. ;mbstring.http_output_conv_mimetype=
    2 V3 R4 }5 N+ v% R1 _6 N. s) [$ C

  1683. 3 z- _* n9 g6 f2 D0 G( A
  1684. [gd]" [# N1 z# X% H4 A4 F; l
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    : D1 ]: U" M3 M: Y# J$ q. M/ w
  1686. ; a gd image. The warning will then be displayed as notices" A# m* R- p) z2 r0 w
  1687. ; disabled by default
    ) G4 ~% h  k5 Q" g
  1688. ; http://php.net/gd.jpeg-ignore-warning) l; Q/ A9 v* B5 o& Y2 j
  1689. ;gd.jpeg_ignore_warning = 07 x8 j  M5 m3 b) c' Y8 Q8 ^

  1690. : Z5 o" ]  b/ ^4 [+ Y1 U4 z$ D0 d
  1691. [exif]9 o) X& i' X$ S4 `, H# Y
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 d" c; M% s, e. j: P
  1693. ; With mbstring support this will automatically be converted into the encoding. A8 L) x4 _! `1 R( _
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding" k$ o8 U" P. D7 v' ^
  1695. ; is used. For the decode settings you can distinguish between motorola and% d$ R& l4 t: }- T: P
  1696. ; intel byte order. A decode setting cannot be empty.
    2 L0 o& u' U" h2 R1 X
  1697. ; http://php.net/exif.encode-unicode4 }8 N$ E  W, @# o6 ^- b
  1698. ;exif.encode_unicode = ISO-8859-15
    3 w" x9 D. V9 l4 [' K$ e$ s

  1699. 6 B% L, ^+ E. @0 \2 E
  1700. ; http://php.net/exif.decode-unicode-motorola
    ' r' p6 Y. U. y  G! y6 }, I
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    : j* @- ^) b* s$ _) F# ?6 g$ b

  1702. 6 x3 V7 ~4 n. e' E; t/ V
  1703. ; http://php.net/exif.decode-unicode-intel) a5 j; _9 M" s. m0 \+ c4 t! S
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    4 v" j5 T6 C* ?, }/ d

  1705. 7 P3 U+ T8 B/ Z9 S, f( [
  1706. ; http://php.net/exif.encode-jis
    % T# x$ Q5 {$ u
  1707. ;exif.encode_jis =2 E5 u, B0 w! f. [% Z

  1708. 1 I. L: F' i( s* G% Q/ \9 j
  1709. ; http://php.net/exif.decode-jis-motorola! A! b8 a$ W0 ?. i2 V0 g5 j( B
  1710. ;exif.decode_jis_motorola = JIS
    # M( `& J, ]# K/ u5 q+ U2 ]
  1711. % b7 e( U$ M: D' o5 w, M
  1712. ; http://php.net/exif.decode-jis-intel
    . I! F5 d! a: F/ F6 c; {" h
  1713. ;exif.decode_jis_intel    = JIS
    , f6 F! r1 L! J# R+ G) _+ c

  1714. 6 }' w; N* D- o7 a" Z: p$ n
  1715. [Tidy]! O( I- S! ]5 E' v
  1716. ; The path to a default tidy configuration file to use when using tidy8 N: U% ?& M" G6 {' Q7 l& \4 G8 Y
  1717. ; http://php.net/tidy.default-config5 o0 F3 l3 F6 v9 m9 h% S# L4 R
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg+ {+ H8 j: N. \' V' [

  1719.   Q4 b" o+ b2 A" U# K, x6 N
  1720. ; Should tidy clean and repair output automatically?0 {  H, g7 g2 ]* E( g
  1721. ; WARNING: Do not use this option if you are generating non-html content
    # R9 A; e2 J9 _7 [+ R) e
  1722. ; such as dynamic images/ n% f" C& z4 M* J" U* \
  1723. ; http://php.net/tidy.clean-output0 [9 M" ]# j6 M# O9 r- o
  1724. tidy.clean_output = Off+ |8 s3 [% o1 y8 g8 V+ }8 N, ]
  1725. 0 {" r/ J' A$ m! d3 ^
  1726. [soap]2 f2 g  Y2 ]" j8 b9 I- {9 }
  1727. ; Enables or disables WSDL caching feature.
    : R5 r3 A7 F: r. _8 `( X
  1728. ; http://php.net/soap.wsdl-cache-enabled1 J! d1 N, m- C
  1729. soap.wsdl_cache_enabled=1
    9 b0 @# N+ h8 r# C+ u

  1730. , p9 [4 x2 t8 Q. ]0 d2 j! C& k
  1731. ; Sets the directory name where SOAP extension will put cache files.3 p# D+ D- P, F1 X
  1732. ; http://php.net/soap.wsdl-cache-dir3 u: u8 K' h7 C# _
  1733. soap.wsdl_cache_dir="/tmp", |% b9 a8 ^1 U' k1 u; i

  1734. 3 u) y9 p( K$ t1 M/ x
  1735. ; (time to live) Sets the number of second while cached file will be used
    : `3 N' k" F. o$ V: g9 I
  1736. ; instead of original one.
    / }! R! f# g/ g& \" z, O
  1737. ; http://php.net/soap.wsdl-cache-ttl
    & `8 K$ I) d& p3 R) D* U( u
  1738. soap.wsdl_cache_ttl=86400+ C' l0 ]( G! h' P: F
  1739. + w6 U& u' I' z+ v7 i/ p1 u
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)2 m+ w) M+ ~: K. Q5 w$ k. ?% O, R0 |: j" x
  1741. soap.wsdl_cache_limit = 5+ @( z6 y" P" d7 l7 T

  1742. : t2 s. b, v0 W/ ~( V1 a
  1743. [sysvshm]
    8 w0 M& n. p' x! b
  1744. ; A default size of the shared memory segment2 r, z2 w: C! e# [1 _- N- v
  1745. ;sysvshm.init_mem = 10000) I* p+ Z  h+ b  G
  1746. : K5 b( o, E( P- S9 d$ Z! B
  1747. [ldap]
    ; X- P/ I9 K) f1 }
  1748. ; Sets the maximum number of open links or -1 for unlimited.' C- f; y- ?7 u
  1749. ldap.max_links = -1% H' B) d: \: U. Z
  1750. ) P1 A" R4 Z. D3 ^; ^
  1751. [mcrypt]
    0 C6 v1 A$ C) l$ m
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open; Y0 r# z+ I5 O0 N& O8 i$ Q
  1753. # o2 I7 p! g2 p- ~
  1754. ; Directory where to load mcrypt algorithms
    1 p" d2 `4 Q/ [/ L, h1 |1 o; ]
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 I! L" x  j$ K
  1756. ;mcrypt.algorithms_dir=
    . i' n# Q9 b0 [5 G8 |

  1757. 2 y4 r2 W$ ]# @+ p( m, Y6 y7 t+ u7 W
  1758. ; Directory where to load mcrypt modes
    / V, Q" p2 ~; S( }: l
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 l- `$ a0 n" U
  1760. ;mcrypt.modes_dir=  s# b! A4 G" o! _+ N

  1761. , @: C; r7 o) q$ D
  1762. [dba]
    : a- j  W* |8 O9 b5 O" U9 ~& h% h
  1763. ;dba.default_handler=
    , g: E  h% {) K" m  h
  1764. , }1 b5 k1 x0 v( v+ L+ @; o
  1765. [opcache]
    2 f# N/ K$ |4 D9 q
  1766. ; Determines if Zend OPCache is enabled
    # G& L1 m. N8 r7 ]' Q$ J- P9 @' ?& G
  1767. ;opcache.enable=0* ]. x; j/ ?+ u# `3 e8 a) K

  1768. 6 X5 O& W( t8 r: ^5 a
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP# X) j* f; f$ \% i
  1770. ;opcache.enable_cli=0
    ! [$ r' _3 z# K) Q) F* a

  1771. % E# y0 v  C/ s. {$ D6 i! T
  1772. ; The OPcache shared memory storage size.% w; r3 B' F9 F: q
  1773. ;opcache.memory_consumption=64
    + e( `) T" Z' M5 J& _- Z0 r$ \
  1774. 7 t' C1 J, P+ l4 u: U: X
  1775. ; The amount of memory for interned strings in Mbytes.0 ?/ o+ W( |) k+ t/ }: Z/ J# b
  1776. ;opcache.interned_strings_buffer=4
    4 H( D3 o+ ^' c  y! ^' e* m

  1777. $ Q$ Y& x- N+ N, c- t7 q: H9 @$ t
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.$ Q; r: G2 `2 y. P7 ^7 W
  1779. ; Only numbers between 200 and 1000000 are allowed.! E: ?: F" F  ]
  1780. ;opcache.max_accelerated_files=2000
    3 Q0 a. |# w- f; D9 E! w
  1781. # C% D2 a0 t0 O3 \! W
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.+ X" n9 I9 d8 t, e; S3 n% ^2 B
  1783. ;opcache.max_wasted_percentage=5
    3 D, }5 W. p3 f8 J$ ?- G

  1784. 3 D7 ]- ]$ h. t- |7 ?* t
  1785. ; When this directive is enabled, the OPcache appends the current working0 T, T7 v5 w5 i7 p' w# ?
  1786. ; directory to the script key, thus eliminating possible collisions between
    ( ~- i& n6 H3 F0 M6 s9 X: p$ Z
  1787. ; files with the same name (basename). Disabling the directive improves$ ~- y7 m. l8 K/ r) g
  1788. ; performance, but may break existing applications.; u0 A' K/ w# I  ?3 ?
  1789. ;opcache.use_cwd=1  n  ^0 ]3 e0 c  e0 G5 \. h

  1790. * S, D# E1 Y. ~/ d+ o
  1791. ; When disabled, you must reset the OPcache manually or restart the; z% `$ H7 Y5 k3 g, g) @2 I
  1792. ; webserver for changes to the filesystem to take effect.% d+ H6 \; A) X3 a$ ?) t$ {( D
  1793. ;opcache.validate_timestamps=1
    ! G6 B* r$ @0 L9 t) b
  1794. . M9 j3 h* e5 H. L
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    - a( K6 X- S' j8 |: b6 l
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    : M2 o: |7 r5 B/ j3 q) |
  1797. ; once per request. "0" means always validate)$ v5 p" ^, L8 V& r: A
  1798. ;opcache.revalidate_freq=2" r; W- U% P- F  }% k) N7 S6 E8 Q
  1799. + c' @0 I( U1 S8 i1 ?: _+ S* E
  1800. ; Enables or disables file search in include_path optimization# E1 D3 v, H4 S% _( C4 a# H
  1801. ;opcache.revalidate_path=07 j8 z# ?; A6 i$ y% y3 s# b
  1802. 9 v5 W. ^* ^! Q# L( Y3 T, a
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) T, A. c7 H3 O/ V6 Y$ j
  1804. ; size of the optimized code.
    0 q# n$ \0 g) K* ^; I" }
  1805. ;opcache.save_comments=1
    $ h; ]% G( j! _5 z+ b

  1806. ) {, p% G; R# o+ a' W7 w: @
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code- K4 q/ @* O: v. b
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.' X0 Y) ]0 S0 ]" z: B/ j8 @. e
  1809. ;opcache.fast_shutdown=0
    : u( d$ M: x$ j+ }7 {1 p

  1810. * B/ j3 a, a/ Q; i1 r/ E+ Y: H
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    5 V, Z  g' C8 g! q2 D7 W
  1812. ;opcache.enable_file_override=0
    % Y3 y$ V$ `# o' P$ Q) n1 o
  1813. ; n% `& o) Q4 I4 l4 H' i
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 W7 \# v- T5 b6 \2 Q
  1815. ; passes% N0 Z, T8 F" e6 X6 V0 f3 i2 o5 K
  1816. ;opcache.optimization_level=0xffffffff
    . k" J- q* n$ ~. G0 C* f8 X  D
  1817. & @% S5 N) l1 L$ w) N% h4 b
  1818. ;opcache.inherited_hack=1
    . L! W( I0 O* ~# m- F0 u
  1819. ;opcache.dups_fix=0, M! Z; y7 z& P  S8 y' X
  1820. / l  t& M8 e& V
  1821. ; The location of the OPcache blacklist file (wildcards allowed).- D6 \! V* Y& F# i9 M
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    9 X" _% S$ P& x( W& B( g7 ]
  1823. ; that should not be accelerated. The file format is to add each filename  M" {0 l8 y3 F6 P) y4 K# g; T7 a
  1824. ; to a new line. The filename may be a full path or just a file prefix
    9 I+ q) @$ a. |- D9 z& C' j% ~
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    5 {; j4 w1 N8 X1 }& {7 c3 B
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    + z' G4 r* u7 _0 R: P  _( b" {: r
  1827. ;opcache.blacklist_filename=9 ^9 d- W% d3 r1 C0 Z9 N+ R

  1828. ) h& C% g4 q2 l% c" z0 u, ]  N% I+ p
  1829. ; Allows exclusion of large files from being cached. By default all files
      M% z( H  v! Y, q9 U: w! `5 K
  1830. ; are cached.3 K+ ~. S' l1 S9 `$ j: s) o
  1831. ;opcache.max_file_size=0# ]" n* k3 C6 M/ z9 w

  1832. $ ~2 {8 n5 x; l3 N/ K6 m
  1833. ; Check the cache checksum each N requests.
    8 ^2 `. i% S* ?6 t0 W
  1834. ; The default value of "0" means that the checks are disabled.
    / U7 c1 V) |0 L8 f
  1835. ;opcache.consistency_checks=0' _/ j0 K) E% g2 m" C( ^& |( m

  1836. 4 q1 o2 j0 f( v1 s
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) n1 _$ l! k  F) ]* }7 z
  1838. ; is not being accessed.7 o' A7 a) L( [0 r
  1839. ;opcache.force_restart_timeout=180
    7 _- c: O7 z3 B% F7 Q/ Q8 T
  1840. : a, l: ?6 V  @) f0 f; m+ |& U, z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ' s, d. ^- `0 T0 E
  1842. ;opcache.error_log=" |: s* [  Y' f9 W  k" n" W
  1843. 6 I% C! ]8 Y2 Z  K1 v! Y& Q
  1844. ; All OPcache errors go to the Web server log.
    / K6 U3 U0 r0 v0 Q
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.& J, m6 ?* a  m# i
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    / L3 b$ B" [- S( A  G8 S& p
  1847. ; debug messages (level 4).8 a4 v* n3 D4 l- g, A2 ?1 Q5 s
  1848. ;opcache.log_verbosity_level=1" u$ i1 X' H' B& T

  1849. 8 \1 n* k" i, _& [6 Y- ?9 [2 F
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.6 s: u5 N6 {. S
  1851. ;opcache.preferred_memory_model=& |6 f- @" w' c9 ~# T2 [; I
  1852. * `& |! B) v1 U
  1853. ; Protect the shared memory from unexpected writing during script execution.+ q) \- X. [& E# @
  1854. ; Useful for internal debugging only.
    + @7 [! J" v/ p" _2 H: L' {
  1855. ;opcache.protect_memory=0. \) j7 |6 H& A
  1856. 5 c2 G4 b' k/ u
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is7 j/ |( k; r3 V- {% \* ?# }
  1858. ; started from specified string. The default "" means no restriction, D0 V3 Y% D; G2 y$ a( U
  1859. ;opcache.restrict_api=! e0 }7 g- F1 V8 Z8 w0 U2 ~

  1860. ) D( K, `" M; e2 M0 Z
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ; D3 T) T- w: N" q% m+ ^
  1862. ; processes have to map shared memory into the same address space. This
    9 F' m" Y# K8 |9 S' @+ b' H! c
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    % Y, c4 v  X& Z4 O6 C9 W% @
  1864. ; errors.( n1 C  i. r9 W; y. |
  1865. ;opcache.mmap_base=& l; ^$ n+ D4 [, c6 {! c/ ^
  1866. " [, @& [  [2 ^  u% U
  1867. ; Enables and sets the second level cache directory.
    ( B& r" x6 {/ ~
  1868. ; It should improve performance when SHM memory is full, at server restart or
    9 p4 _; j$ _, R0 _) P
  1869. ; SHM reset. The default "" disables file based caching.5 h* u0 }( ?6 F5 V- ?  f+ |
  1870. ;opcache.file_cache=! q( m' h" _& [- g" C4 N" H8 r2 d( D9 m
  1871. ! \0 @% C0 P" }) m- Y
  1872. ; Enables or disables opcode caching in shared memory.( m+ @6 \! ~- U6 c
  1873. ;opcache.file_cache_only=0
    $ r; k! O0 F2 Y: n& O/ f4 w5 s8 {5 [
  1874. 7 Y  F* Q7 |8 z) A) A) W" j
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ! l! h2 F0 }7 z' t- ]
  1876. ;opcache.file_cache_consistency_checks=17 o0 _* N" t* l6 N2 F- `' x. p
  1877. 8 x  c' G9 u) e4 E7 b8 o: ]
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to6 H$ X) c9 o  ]: z( [
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    5 V& u: ^2 @6 ~0 U- _/ I! h1 E
  1880. ; cache is required.
    ! p- ?' n( w& d: h% Q+ p
  1881. ;opcache.file_cache_fallback=14 U( p; T3 O5 r5 v7 j" n4 }7 v
  1882. 1 p! O8 _1 C& c" I; p9 e
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    9 L" P! N7 ~: ^+ E' I$ G1 V4 q
  1884. ; This should improve performance, but requires appropriate OS configuration.
      p4 X$ Q! |4 ^; B. F9 t
  1885. ;opcache.huge_code_pages=1+ r; \( H, }- m  U
  1886. 7 D6 z) [/ Z$ e
  1887. ; Validate cached file permissions.0 W8 ~  s6 q5 c
  1888. ; opcache.validate_permission=0
    # F0 o- M0 L. y) X3 p8 P) f
  1889. 1 a, c4 a+ N9 u+ [- Z* \" F0 V
  1890. ; Prevent name collisions in chroot'ed environment.) C) f3 l, m# p4 d% Z- C$ q% i2 w
  1891. ; opcache.validate_root=0
    + f( X1 s& \3 b* o: k8 p
  1892. ( o( m! f' L! m* H
  1893. [curl]
      y- U. a* N. S5 n, ?1 M& y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an: s% N  X# X  q% \; T+ [9 g
  1895. ; absolute path.; M9 w- A$ K: b3 b5 `
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt9 V0 q- E4 E- F( n; Z: J
  1897. / v5 q& X7 C3 R( L6 O
  1898. [openssl]0 |" A3 M$ I4 N
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    8 n( z  W2 o1 X3 L, q
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    $ ]  D' w; _0 B# m- q$ T4 o
  1901. ; not specify a value for this directive as PHP will attempt to use the
    $ [0 ?) ]2 H7 d7 P
  1902. ; OS-managed cert stores in its absence. If specified, this value may still+ P6 `2 M9 H  v4 B7 v
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , U& u( C% q$ o2 Z+ z' F+ f' ^, D
  1904. ; option.) D6 M2 l' V8 k( W
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! h" x/ [* {, a

  1906. , i% B8 r- [* [
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the) z# J/ I. E2 c( B* n% H9 ?4 [
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    / G1 H, U# S; h4 g" x
  1909. ; certificate. This value must be a correctly hashed certificate directory.) u- P% Q6 a' @: k  X
  1910. ; Most users should not specify a value for this directive as PHP will
    2 I$ B5 |( @+ q* b4 @# @
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,$ R8 Y; ?- D4 J' V( t
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ' L+ e$ C0 E5 k2 q+ b
  1913. ; SSL stream context option.9 d- ~0 D8 x/ t6 N3 }: C6 o& m
  1914. ;openssl.capath=5 q! U3 f2 Z1 \" }$ g
  1915. ' H' I/ e; s+ m0 S6 T
  1916. ; Local Variables:0 C4 ^- }$ f' |7 M0 m% |: x
  1917. ; tab-width: 41 u) c  n; h; r6 c1 v
  1918. ; End:9 ^1 E3 o8 f: t1 S

  1919. $ S  ]8 L7 l* y5 P7 E
  1920. ;eaccelerator  k3 N! p# S& l8 C7 M( P

  1921. : L7 E7 c) F( S
  1922. ;ionCube) K1 @- B+ r# h' G; f0 B3 Z

  1923. % R3 F6 N$ z# h" z- r+ E$ r
  1924. ;opcache; _$ T6 y( d/ J8 x4 r8 r

  1925. , v9 h/ i4 `( }! H& p, N
  1926. [Zend ZendGuard Loader]/ L4 a, w5 S+ M" X
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.: X# E! W3 `  X6 t! t  |1 ^
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so" _/ O2 H+ t. v0 W
  1929. ;zend_loader.enable=1
    " J2 @0 ]  l* b2 @  L( l
  1930. ;zend_loader.disable_licensing=0
    8 M( W$ D6 r4 O  l$ W7 a5 j
  1931. ;zend_loader.obfuscation_level_support=3& S( x  `) Q9 b% K1 V
  1932. ;zend_loader.license_path=/ [, m" v$ n% D$ O
  1933. 4 _! j8 }7 B, ^* q6 d
  1934. ;xcache
    " _5 z% s1 k- ~# y: s: e8 u3 y

  1935. & W4 T! I! c" X1 ^
复制代码

8 E( L2 ~& \! E: X. }2 i5 i$ ~; ?+ n5 u1 \3 e$ b

3 J( e4 u; o8 P# J  v8 x0 u. z6 J# _) U/ v( d/ G
( e& y- [( y9 G2 L7 L; Y. H* {

% j7 [$ ?4 b# x% e" M5 r7 n, O3 y( H! e# H
PHP5.6版本原始设置4 ~% c9 M( b3 x. u1 u

  G4 S0 [  J2 V" r& K
  1. [PHP]
    : L" ~3 C% s1 @  E' L! u4 w9 {- E) V" \/ U

  2. . `7 e, Q8 E! ^+ |5 q) O% j6 ~
  3. ;;;;;;;;;;;;;;;;;;;, C. I* {3 B$ d7 R' q
  4. ; About php.ini   ;3 S! p% g! o9 C+ ^
  5. ;;;;;;;;;;;;;;;;;;;3 T# J9 S, r$ v+ |6 k  Y# a' L
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ C7 l/ L. @6 G6 O1 H
  7. ; configuring many of the aspects of PHP's behavior.
    ; V3 X4 t1 L# }
  8. 4 t8 @6 C+ K+ c; Y9 G" h, T/ {0 a( j5 K
  9. ; PHP attempts to find and load this configuration from a number of locations.$ \5 n' B" B6 F3 q) N/ U
  10. ; The following is a summary of its search order:
    ) U1 I1 V. M* Z0 i) |+ i
  11. ; 1. SAPI module specific location.. g2 r1 B$ ~7 V! J. S) N# T1 ?
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    & M2 `/ ^: f, p- n  O1 V6 E. @
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 z, I. z  z# q; @$ Y
  14. ; 4. Current working directory (except CLI)" `9 k% O2 U) v3 h) |4 o  i/ E" L
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    $ B8 l5 N2 G0 M! }. w/ W) X# _: a( C
  16. ; (otherwise in Windows)
    0 c' y& U$ b' r( r3 |, b) b
  17. ; 6. The directory from the --with-config-file-path compile time option, or the# R7 V% ^: C  m& p1 o  E3 b% d# s
  18. ; Windows directory (C:\windows or C:\winnt)4 e" i1 x: X, V2 }9 ~
  19. ; See the PHP docs for more specific information.$ u" Q8 E% j* A; k" ^7 c
  20. ; http://php.net/configuration.file
    " i. d; j' ?2 f

  21. 0 V5 {: x/ j" {5 b2 A3 X! h
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 @  `: u5 [5 C+ _$ F" C
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)." c! M' p" A0 d: R
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 s* h. N/ A% K4 x0 L: M
  25. ; they might mean something in the future.
    / f' y  K, @. Z6 O

  26. / y3 \# w2 j* D: r4 Z( y
  27. ; Directives following the section heading [PATH=/www/mysite] only* A# X7 D, z. L
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ! q9 @4 [+ {- s2 A
  29. ; following the section heading [HOST=www.example.com] only apply to. j! R; s, e" v& @( J. A
  30. ; PHP files served from www.example.com.  Directives set in these
    / Y0 D6 u  _- y+ A
  31. ; special sections cannot be overridden by user-defined INI files or
    " j6 Z" f  u& y* Y0 s0 B
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    * p8 A) a+ j+ ~' L- i
  33. ; CGI/FastCGI.* G1 }& \3 ?4 i2 ?& p7 K/ s( o
  34. ; http://php.net/ini.sections) u! a/ M6 r+ H, M6 C$ O

  35. - U7 d' T9 t/ G& `+ O! m
  36. ; Directives are specified using the following syntax:
    4 a3 h' X9 u7 B: Z! L9 W7 l; I  j' w
  37. ; directive = value# M- y( W4 R$ W- h8 i3 f
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.6 z2 s7 u6 d1 f$ F. W$ o! W# D
  39. ; Directives are variables used to configure PHP or PHP extensions.
    - l4 G# q0 u6 D3 p3 K2 I7 y
  40. ; There is no name validation.  If PHP can't find an expected; m3 `/ a, ^) a
  41. ; directive because it is not set or is mistyped, a default value will be used.) Q7 B2 ?2 d* z4 {
  42. 9 _# b; ?" `6 P7 |
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * ?: O0 E" A1 u7 c
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + b; C- J6 b+ e  O5 r1 P0 h% K/ k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ) c/ R" W0 q  |0 D$ I
  46. ; previously set variable or directive (e.g. ${foo})" E4 m2 x. W4 a7 A7 ]1 X
  47. " \% Q7 f. I4 d5 N; H1 Z# i
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:* d. }6 c; a' T$ j
  49. ; |  bitwise OR
    % w3 [) \, g1 \, t
  50. ; ^  bitwise XOR
    ) z& D, k% a8 `* w  V8 y/ N
  51. ; &  bitwise AND
    , p; q/ I  f/ s
  52. ; ~  bitwise NOT
    ; z+ Z  h* o$ ]6 F; c" ?
  53. ; !  boolean NOT2 g" ]/ u; ?+ P0 K  u5 B

  54. , q5 W4 l+ N( e) J) M' s! U! g
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' B) Z+ c* G% `, C
  56. ; They can be turned off using the values 0, Off, False or No.0 z' @! B1 F4 P8 m
  57. , r/ V  i2 _4 F- X! b( y  Z# H
  58. ; An empty string can be denoted by simply not writing anything after the equal. C, [* c" g3 }/ S7 G$ o9 X8 w
  59. ; sign, or by using the None keyword:% a% L! h' L. q7 h7 u7 H; C6 g

  60. : x2 b% s& M: f& Y$ D: E
  61. ;  foo =         ; sets foo to an empty string2 P2 A$ v; x7 m
  62. ;  foo = None    ; sets foo to an empty string7 d" X  X( ?$ E4 y4 Z9 \
  63. ;  foo = "None"  ; sets foo to the string 'None'0 \! R, p) C! A" ^
  64. 9 m  j/ o7 ?4 \4 D) l- L$ E
  65. ; If you use constants in your value, and these constants belong to a+ a8 |1 x3 E8 Y' j+ W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & \$ b: U$ V( W  ]' t0 v( k8 Q
  67. ; you may only use these constants *after* the line that loads the extension.* k7 O8 z9 B- ?0 h/ h+ z- A
  68. $ }0 K3 ?& R3 D  g
  69. ;;;;;;;;;;;;;;;;;;;8 q9 |3 f3 j3 X8 h) ?: I9 J# l
  70. ; About this file ;
    ' y! Q) g$ R- B
  71. ;;;;;;;;;;;;;;;;;;;
    : @& s( n  m, R- X
  72. ; PHP comes packaged with two INI files. One that is recommended to be used- Z9 V1 c: Z$ w% G
  73. ; in production environments and one that is recommended to be used in  Y1 t( L* O6 O& d. N3 g2 Y
  74. ; development environments.
    2 \  `& Y3 r6 X' A' C, f5 d
  75. , t/ c# T4 o! ]: j( o
  76. ; php.ini-production contains settings which hold security, performance and
    7 c8 I+ t/ ~3 h% d/ H: G! d7 [. w
  77. ; best practices at its core. But please be aware, these settings may break4 E6 L9 y8 v/ L& [
  78. ; compatibility with older or less security conscience applications. We
    : @6 q6 f. S3 g  T, A- M! J, @
  79. ; recommending using the production ini in production and testing environments.; C  y/ o1 W% x0 S0 A$ Q3 _4 f4 i! o

  80. - [- Z7 S1 Y1 W7 Z
  81. ; php.ini-development is very similar to its production variant, except it is0 G. q+ k5 p% ?9 _! n9 B
  82. ; much more verbose when it comes to errors. We recommend using the
    ; }* r+ ~, Z6 a; m
  83. ; development version only in development environments, as errors shown to2 ~. O9 J" k" J0 Q1 b8 @) S" ?
  84. ; application users can inadvertently leak otherwise secure information.
    : i" i) E7 @+ Z9 |% S6 `! t
  85. - g" |6 [+ ]3 K, z3 u" g0 s9 y
  86. ; This is php.ini-production INI file.
    ! o- B9 ^3 j2 W0 |" `& S" d3 @

  87. 1 x/ Y6 E1 D( r9 J6 Q
  88. ;;;;;;;;;;;;;;;;;;;. z6 R0 N1 W; [$ Q6 M' }/ u
  89. ; Quick Reference ;
    + A9 n4 `$ d. K- t+ a1 g
  90. ;;;;;;;;;;;;;;;;;;;+ s0 d) o6 ]4 Q7 Q& W
  91. ; The following are all the settings which are different in either the production
    ! R4 Q1 ^  _) N3 t( O) `
  92. ; or development versions of the INIs with respect to PHP's default behavior.* ?& P/ Z3 n( b$ S+ a
  93. ; Please see the actual settings later in the document for more details as to why
    8 k6 i- U: F- t( ~- n
  94. ; we recommend these changes in PHP's behavior.
    $ l2 K: n$ j; v+ j! |' Y
  95. ; n1 c- z; U# i8 l! f, O
  96. ; display_errors; o6 Q+ K* A$ y+ w& X
  97. ;   Default Value: On, q8 l, k- O' d' P+ _( ~6 o9 E# g5 j. S
  98. ;   Development Value: On# z( }. i- m" l
  99. ;   Production Value: Off
    5 x, {( l( k6 G# h6 k

  100. 3 ^+ b1 q( _. V, E- L0 j
  101. ; display_startup_errors) [" I4 f# R  y' p0 b* I
  102. ;   Default Value: Off
    : ^6 W) u$ B0 J* g" d
  103. ;   Development Value: On
    2 h8 i2 S" M2 V9 L/ }6 X
  104. ;   Production Value: Off
    ; P. A# k# \* I0 m+ j; g

  105. ( \0 T/ |+ g4 m9 Q
  106. ; error_reporting
    9 T5 H' v8 o/ {! J/ o
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ X, ]  s6 O2 w
  108. ;   Development Value: E_ALL
    ; g+ j6 W" @: _4 i, L* N( x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT3 t1 X, u! E! n$ ^5 J
  110. 7 u$ Q7 u) J0 k
  111. ; html_errors
      }% T! g$ i: P9 i- n
  112. ;   Default Value: On' h, E: m( Y/ L- ]' i# X" ]
  113. ;   Development Value: On2 a0 k% G* n" J6 u. n
  114. ;   Production value: On
    ; F+ l+ @& R5 Y& `) g
  115. 3 J7 P" B1 W2 X- j
  116. ; log_errors
    3 c! D+ F6 l. }4 a3 G3 s( O
  117. ;   Default Value: Off' H- q) x" [# M/ W
  118. ;   Development Value: On2 _  @+ m5 y. Z8 s) d9 s! z
  119. ;   Production Value: On5 I, n+ m3 [) a# a: p# B

  120. ) S6 w. Q8 }) d. X. l5 T
  121. ; max_input_time9 u* U! z; O. s! V, b: N+ j
  122. ;   Default Value: -1 (Unlimited)2 ^! f' F$ Q' n- L2 P5 Z
  123. ;   Development Value: 60 (60 seconds)+ O5 k( n. A/ E$ P: x, w8 p. s
  124. ;   Production Value: 60 (60 seconds)4 \+ d6 o' F4 @; q, x/ T0 u
  125. / f0 w! E3 K6 Z. C8 F4 [$ Y
  126. ; output_buffering1 k7 t9 v/ ^! {+ u8 h7 P5 |9 A
  127. ;   Default Value: Off
    ; _0 v$ I9 R" d) O) D: @1 _
  128. ;   Development Value: 4096
    % g5 D+ y* X! f8 g2 I
  129. ;   Production Value: 4096
    % j' w) W, q* F( Z3 c
  130. - Y' }" |+ q6 O. ^
  131. ; register_argc_argv  V8 M' C: Q5 b; X; o7 @
  132. ;   Default Value: On7 A1 s- \6 ^# y; _* F* ]
  133. ;   Development Value: Off
    ! \( q* w$ X- c4 G8 r( Z& \
  134. ;   Production Value: Off
    % t. G# ]% C- b* w- K3 ^% F! C
  135. % o5 O0 N/ H' m: j5 i7 m( J
  136. ; request_order
    / T  z& K. I- o' ?2 C+ y0 s& B
  137. ;   Default Value: None- ?* b1 @" R+ `3 N. S
  138. ;   Development Value: "GP"
    ; ?1 B' d3 b# N& R# E
  139. ;   Production Value: "GP"
    4 O4 W( w/ ?: i, K, U& V3 x! Q
  140. : m7 Z  F% v! G  s& A( l/ W: u
  141. ; session.gc_divisor
    * ], V# o' n9 W: Q( d9 W1 Q
  142. ;   Default Value: 100
    $ B1 z* h1 K( i3 W
  143. ;   Development Value: 1000
    & @2 Q/ M: A0 O' ^% X) ?
  144. ;   Production Value: 1000
    5 M( C; w$ L, f/ |
  145. % s; U9 R) q: k
  146. ; session.hash_bits_per_character# p! J+ F/ H4 c
  147. ;   Default Value: 4- i( e* x! y3 z
  148. ;   Development Value: 5& q  F$ B3 j% _9 J1 T2 C; j
  149. ;   Production Value: 55 f9 z) [" m- c/ C+ K3 w

  150. 7 S3 B( u# k8 R6 K" ~% {
  151. ; short_open_tag
    6 @, o/ O: M, a" }2 R& \
  152. ;   Default Value: On9 v0 z" e8 e" x, n2 A
  153. ;   Development Value: Off8 W* {* c; [8 o! y$ D/ T( U: ?# d
  154. ;   Production Value: Off- [) M5 T2 r! h0 C( m+ X7 n
  155. $ F* |9 f- l: F% M; ^, x! b; f' L! D
  156. ; track_errors6 b. o. q4 ]# y4 z
  157. ;   Default Value: Off
    1 b( @9 p) _, U' I5 I
  158. ;   Development Value: On
    ( U  l. \8 Q) a" x* c" e$ k" l
  159. ;   Production Value: Off+ X1 C/ K* {( M. V, f
  160. 4 }1 H1 }; `; _( q; `$ d
  161. ; url_rewriter.tags5 K' Q# K* L6 A  q9 K0 x2 P
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    # K5 D4 o0 I0 ~- N3 O  [1 v$ q1 l0 k) e
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 Z% V6 o8 I$ @2 \/ G
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; m5 j( k" f( Y/ }2 Z3 N) R& @3 q

  165. 8 m4 S. Y/ X; R4 j5 G4 S- r
  166. ; variables_order
    $ i1 r- s7 o- ^, o3 u
  167. ;   Default Value: "EGPCS"
    ; e# n- e2 W0 t) H& ]& g
  168. ;   Development Value: "GPCS"
    ( u9 B' Q' ]' Z6 }+ @" k
  169. ;   Production Value: "GPCS"$ o$ N, M& ~6 U2 w4 ]
  170. & n$ ^, _* o1 T# i& c
  171. ;;;;;;;;;;;;;;;;;;;;8 i, @0 H* ?+ K$ ~
  172. ; php.ini Options  ;
    & O+ H7 M. Z7 h6 [0 H
  173. ;;;;;;;;;;;;;;;;;;;;  [7 n: P9 |" D' c" P: V4 v3 `) f
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& H) Y; A8 q  f$ B6 k4 d" k7 K
  175. ;user_ini.filename = ".user.ini"$ K4 ^' C7 ^  p0 \9 j" l9 o6 D
  176. 0 H0 U- P9 t( S9 k8 B9 a
  177. ; To disable this feature set this option to empty value- u" w2 W0 L7 F5 }
  178. ;user_ini.filename =
    ) r& m. H: s8 B7 x
  179. 6 e0 l/ S, n3 h  P7 W1 Z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ' c' [  K) I1 m9 P6 g+ t( {
  181. ;user_ini.cache_ttl = 300
    $ |0 B* F3 y: j# V1 n. ?
  182. 9 U5 T6 c2 w, X
  183. ;;;;;;;;;;;;;;;;;;;;
    " W' }* R: ^6 j: g4 I1 f
  184. ; Language Options ;
    7 s7 H  i- S+ r; g
  185. ;;;;;;;;;;;;;;;;;;;;
    " N6 V% e$ x( _; e+ p0 _! _7 ?

  186. $ q" z5 n8 W4 P* \9 A
  187. ; Enable the PHP scripting language engine under Apache.9 a- H8 f5 w2 v% ^1 z# F( H
  188. ; http://php.net/engine" T8 s) X' G7 }) ~; P' b) ]( ]
  189. engine = On
    ( `  G  Q1 c& a- I; a. K

  190. 1 c, @- H3 f# u/ N* G
  191. ; This directive determines whether or not PHP will recognize code between. \* X6 i7 N9 M0 Q, ]5 ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ w! e9 x, U) M5 K' D7 [
  193. ; generally recommended that <?php and ?> should be used and that this feature
      R* i$ W" B: ]' Y
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 X- i. V& \8 ]8 F) }0 ]
  195. ; documents, however this remains supported for backward compatibility reasons.9 T: l+ a8 f% z, M
  196. ; Note that this directive does not control the <?= shorthand tag, which can be1 B5 w: r* v6 h$ ]: X
  197. ; used regardless of this directive.  W: F9 T$ @" {2 Y9 s1 A% n& q
  198. ; Default Value: On
    ; e  h! Q- L& \5 }3 {- S, w# w/ c
  199. ; Development Value: Off
    " F6 C; Q3 p4 i" n- a; o
  200. ; Production Value: Off
    0 W/ G8 b. M% O* F
  201. ; http://php.net/short-open-tag% [  Q$ }  a8 C0 a( d4 ~9 ]4 j1 R
  202. short_open_tag = On
    - g+ ^1 x" v% V

  203. 8 p* ?9 Q* i& M& f
  204. ; Allow ASP-style <% %> tags.  w4 |+ ?# ~0 u: Y
  205. ; http://php.net/asp-tags
    - \" g' O7 ~+ ^/ s
  206. asp_tags = Off
    " }& K' y' T  d, M
  207. 7 K, @# c! b* K8 U, p+ U+ \
  208. ; The number of significant digits displayed in floating point numbers.! @4 J- k) T1 A8 N, {
  209. ; http://php.net/precision8 L1 M2 O, s: _
  210. precision = 14" L; E$ D+ f( [* [/ H

  211. % Y2 x9 X3 E: v( T0 P4 S% t2 }9 ~
  212. ; Output buffering is a mechanism for controlling how much output data
    $ P7 T! m% ]0 K
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    # y6 @$ `& _& ^1 \! T
  214. ; data to the client. If your application's output exceeds this setting, PHP# G& k$ w3 u0 \
  215. ; will send that data in chunks of roughly the size you specify.* H% N* m6 O* s
  216. ; Turning on this setting and managing its maximum buffer size can yield some% Y9 Q4 Q( k& u( u* w& }
  217. ; interesting side-effects depending on your application and web server.. }/ D1 w  L/ q; \* ?* {
  218. ; You may be able to send headers and cookies after you've already sent output) ~6 l  M- t; G& o# H2 D6 l
  219. ; through print or echo. You also may see performance benefits if your server is
    - u9 y" C2 M! U" H# j; l. f
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    9 G& ~! h: U$ Z/ u/ l
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    5 \1 H6 {3 P! V# d$ n
  222. ; reasons.. R! S4 @9 N0 B( x8 b
  223. ; Note: Output buffering can also be controlled via Output Buffering Control* o/ p+ S" \, E
  224. ;   functions.; o9 |' |3 N4 }
  225. ; Possible Values:/ |5 Z8 V! \+ s$ m/ W  M
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)5 |7 q, _0 J/ ]& T& M1 B" W7 U
  227. ;   Off = Disabled
    8 x- t* e" h" c& i) N1 ?! n
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.8 [# n! J7 A2 w6 H' e
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI; B: q4 ]3 f- A7 C% F% n3 R
  230. ; Default Value: Off
    0 B5 |# ?" Y$ Q1 l4 B
  231. ; Development Value: 4096
    5 |# z! B  Z5 }8 W
  232. ; Production Value: 4096( n( |6 s9 w2 O! y" g0 y- t
  233. ; http://php.net/output-buffering
    2 |. |, r0 y& t0 M
  234. output_buffering = 4096
    . e+ Q1 b' k2 T3 ^9 n4 e
  235. 3 K: [! b8 e4 J8 v7 e8 h0 ^7 Q9 P/ B
  236. ; You can redirect all of the output of your scripts to a function.  For
    9 ?( c. I% _, G& H7 r+ H% w$ Z6 o
  237. ; example, if you set output_handler to "mb_output_handler", character/ [. H+ p+ S  ^2 ]. A# F6 c+ Z
  238. ; encoding will be transparently converted to the specified encoding.
    8 U' n2 X" C) }
  239. ; Setting any output handler automatically turns on output buffering.
    " b, p  m6 W- Z! ^: O7 G8 T1 r3 |
  240. ; Note: People who wrote portable scripts should not depend on this ini& o. {' U% P% b8 M9 U
  241. ;   directive. Instead, explicitly set the output handler using ob_start().0 F* {1 a2 l& f0 P0 ^( P5 h  a7 d
  242. ;   Using this ini directive may cause problems unless you know what script6 F4 I: m& z8 d( M! x
  243. ;   is doing.
    5 p1 J7 W* B4 r& W8 x
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"- A+ ~0 `, L7 j6 S* q. J
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! `- x0 U$ t! e% o% ^
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    - h% I3 I4 j, P$ \- x
  247. ;   Instead you must use zlib.output_handler.3 z- u) F: Z% v: d" h" P2 m5 T4 t
  248. ; http://php.net/output-handler( L* p7 E+ D! k! m' i6 Q. G5 Y: R
  249. ;output_handler =& a7 p3 ~+ p. s2 N7 C
  250. % g/ T7 U( h0 W1 Q
  251. ; Transparent output compression using the zlib library
    # t& l$ I4 l( v) W5 |5 r
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ `0 S1 y( z9 S
  253. ; to be used for compression (default is 4KB)
    0 p5 q+ c+ I' d8 t$ _
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP4 W: Q0 l9 I6 ]  K% i5 ?: S; n
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    : ]* `2 m+ Z# d* A6 T
  256. ;   compression. If you prefer a larger chunk size for better
    8 K2 o# Z3 y; v; t
  257. ;   performance, enable output_buffering in addition.
    2 j, l/ B! X: p7 c0 r) d# g7 K' U
  258. ; Note: You need to use zlib.output_handler instead of the standard' h0 I% O! n, l, [6 d( v
  259. ;   output_handler, or otherwise the output will be corrupted.5 @5 k2 X+ {4 [0 Q' a# `) m
  260. ; http://php.net/zlib.output-compression
    1 w; a$ F3 v3 e
  261. zlib.output_compression = Off! ], K" b8 F& v5 V' R- h) E
  262. # N7 |7 k, r# b& j" q) D; K
  263. ; http://php.net/zlib.output-compression-level
    + @# J7 B8 j: ]: k
  264. ;zlib.output_compression_level = -1- O1 V4 I8 _3 ^

  265. 2 D. g/ E" V. P$ C8 }0 e) c2 Q
  266. ; You cannot specify additional output handlers if zlib.output_compression& ^+ |2 {8 I8 Y$ N2 l
  267. ; is activated here. This setting does the same as output_handler but in, f+ h, C3 W9 g- ~5 O
  268. ; a different order.
      T! A# T# G) h
  269. ; http://php.net/zlib.output-handler. e9 R0 l+ T  V7 W! f) X, {+ P
  270. ;zlib.output_handler =) g. a% u/ t9 v1 ?
  271. 5 E& K; i3 V1 Q4 N4 K3 V0 F$ a0 z) Z
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ) h6 M9 V  `  V) L: b& Y
  273. ; automatically after every output block.  This is equivalent to calling the5 i7 ]1 a# r# Q' l/ d6 T8 b
  274. ; PHP function flush() after each and every call to print() or echo() and each* k7 l4 g" R8 \# m/ I& o1 Z
  275. ; and every HTML block.  Turning this option on has serious performance
    ' }3 U" I: }  |' E
  276. ; implications and is generally recommended for debugging purposes only.
    6 U$ R! l0 m0 P+ `; y" M
  277. ; http://php.net/implicit-flush, X& g' z  k0 M/ m) [# M4 i
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
      L+ P6 ?+ D6 z/ f* T$ p) D
  279. implicit_flush = Off/ e" t; X, f$ q; l5 \' W
  280. 3 \: O9 d. ^5 y; Z! Y
  281. ; The unserialize callback function will be called (with the undefined class'
    2 F8 E" ~( u! E& j3 V$ l) C4 f
  282. ; name as parameter), if the unserializer finds an undefined class
    7 I6 W) u: Q3 \9 b! r
  283. ; which should be instantiated. A warning appears if the specified function is
    / a3 u6 O. e1 r' W
  284. ; not defined, or if the function doesn't include/implement the missing class.
    , h, B* X% t4 s. I: ?0 e  `! x
  285. ; So only set this entry, if you really want to implement such a
      ^2 E9 o5 s4 W& N
  286. ; callback-function.6 i+ t/ `; T) i- u& c6 J/ d9 b
  287. unserialize_callback_func =
    3 ]  P2 b& Q7 y( s0 p/ `
  288. 8 S# P6 C  v; B6 J& K, f# c
  289. ; When floats & doubles are serialized store serialize_precision significant- [4 p. c! C& |0 m- ~: T. ]
  290. ; digits after the floating point. The default value ensures that when floats
    4 U) |/ Z. g  T
  291. ; are decoded with unserialize, the data will remain the same.
    5 T* k, s! H. u0 I/ D: d$ X
  292. serialize_precision = 17
    5 Y1 ^* R: W. u- Y% W
  293. ! [: K, K, Y/ K2 ?& L( T
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ; w" B/ d1 [( k8 y& O
  295. ; and below.  This directive makes most sense if used in a per-directory
    8 F' Z* b+ W* D8 G
  296. ; or per-virtualhost web server configuration file.
    7 \! I+ e( \, Q& {+ ]$ e& F9 q8 R
  297. ; http://php.net/open-basedir1 R5 h( d2 l5 \6 l. s# A8 k
  298. ;open_basedir =
    9 T: L" d1 i  c) N9 u! x1 `2 w0 ^; o! g
  299. - v# Y/ A. d  c2 Y: |
  300. ; This directive allows you to disable certain functions for security reasons.8 A, |$ P# k# @0 P
  301. ; It receives a comma-delimited list of function names.8 l5 {; e$ b# a; I+ q) {! [5 F
  302. ; http://php.net/disable-functions
    - i# @& N8 n4 k. a+ _! F( B: [8 ?
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " l9 C, ?2 [( l8 B5 R/ i: P
  304. % Z+ I. B8 z- u4 S
  305. ; This directive allows you to disable certain classes for security reasons.
    0 G$ Y$ G+ \3 V4 e/ Z1 Y/ Z$ }
  306. ; It receives a comma-delimited list of class names./ `: L$ y2 t$ z& R! {( [! y
  307. ; http://php.net/disable-classes8 K- ~& E; I5 Z/ p
  308. disable_classes =; ~1 G) ?7 J/ a) `
  309. 9 a" r4 t. S8 J8 `- o
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" }. I+ M; S: J' v3 j
  311. ; <span style="color: ???????"> would work.; x( e5 C/ x% a& A
  312. ; http://php.net/syntax-highlighting8 t$ \. N6 h" x5 Y* `, Y
  313. ;highlight.string  = #DD0000
    1 J* i% p1 F( ?
  314. ;highlight.comment = #FF9900
    ( F) P6 M9 H1 T6 `8 [- }% s6 y: {" j
  315. ;highlight.keyword = #007700
    - z) o2 X9 k6 U4 W" n* e
  316. ;highlight.default = #0000BB
    ) I5 {4 b( @% q" {: Z7 s/ r
  317. ;highlight.html    = #000000( n& J' w0 @' L
  318. % s, P( S, R' c2 o4 v. r0 |2 b
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    4 Y! j4 V! r% `
  320. ; the request. Consider enabling it if executing long requests, which may end up: T+ b( m% N7 B) Z$ X
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    , o! t" J& I1 [, s* [+ K4 h; Q
  322. ; is to disable this feature.) ~0 U" f# `% u
  323. ; http://php.net/ignore-user-abort" a. b" m" B/ R" z# G
  324. ;ignore_user_abort = On7 a2 M  ~" X! G
  325. 5 ~/ r; u3 g& n% U6 ^7 X* N
  326. ; Determines the size of the realpath cache to be used by PHP. This value should' M% G+ d  z0 o# ^5 `7 q* Z- p
  327. ; be increased on systems where PHP opens many files to reflect the quantity of$ G! j& Z% R4 S6 I$ W- \$ b
  328. ; the file operations performed.! U6 B) i) T& _3 A
  329. ; http://php.net/realpath-cache-size9 K/ }4 J. T: z. t7 B( T
  330. ;realpath_cache_size = 16k
    / U( d* \  ^. A2 ~) u

  331. 5 |, o# |6 E1 r* B
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    9 a6 K: P  o) l7 G
  333. ; file or directory. For systems with rarely changing files, consider increasing this* f6 L  E7 v6 B) q1 c; v5 O, S
  334. ; value.
    ; Z3 y! F8 G! D% [( a5 S
  335. ; http://php.net/realpath-cache-ttl
    0 u$ z; Z6 A+ T! X
  336. ;realpath_cache_ttl = 120. [% Z8 P; m- f6 U

  337. ! G) t+ T0 F( }! u7 M" n+ Z3 h+ A
  338. ; Enables or disables the circular reference collector.$ n! x2 ~: C3 V' P
  339. ; http://php.net/zend.enable-gc( ]) n8 ~( x: T
  340. zend.enable_gc = On
    . d- y1 a2 h1 c3 Q

  341. $ r9 s7 R( c7 X, S
  342. ; If enabled, scripts may be written in encodings that are incompatible with. X/ u6 i4 G. I- j
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such) v$ r: V' c1 [7 A: \; f
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( J+ i% h; `* |% @* m  W6 B5 y
  345. ; Default: Off
    9 J8 _) w7 M. u! ], d9 u
  346. ;zend.multibyte = Off
    6 A+ J  F; w+ {# i! A# {
  347. 5 m. C; |* c. G' x
  348. ; Allows to set the default encoding for the scripts.  This value will be used7 D% f' f' m# u8 N
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 t* J7 H0 ]# d* s9 O5 D, o; R9 T
  350. ; Only affects if zend.multibyte is set.
    9 w0 i4 W0 z7 {
  351. ; Default: ""# D6 i8 }6 o. ~5 t
  352. ;zend.script_encoding =
      E7 H5 C4 a- C" K# O  x, |3 {
  353. " s* w" j7 z7 k
  354. ;;;;;;;;;;;;;;;;;
    7 M# S. _0 |( |- m9 J2 y. l6 R
  355. ; Miscellaneous ;
    ) {3 F0 W9 e, \
  356. ;;;;;;;;;;;;;;;;;; Y' G) I& q1 {# D- x( \

  357. $ K6 b) {5 d. x% p
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    0 Z$ ?" b  ]7 j9 G1 l  z& y
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 {, L1 N8 i) x% I) H" b5 R9 ?
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 }+ v) {) J! [0 U" a5 `% c1 K
  361. ; on your server or not.8 ^. _/ r8 s# q0 f7 g9 L: S- p
  362. ; http://php.net/expose-php1 D6 T$ P6 ~) C. n! \
  363. expose_php = On0 t/ @' Y/ I  |; O2 Y. C
  364. 3 U3 f( f2 N1 {7 L! O
  365. ;;;;;;;;;;;;;;;;;;;* n5 z/ y8 i% |3 |) {
  366. ; Resource Limits ;
    : C. H# o# \' B; t7 c+ }: F1 r' H1 Q
  367. ;;;;;;;;;;;;;;;;;;;
    5 K: ]  v) `- D* O/ N8 v
  368. 0 P) H. _9 Z; `7 ?
  369. ; Maximum execution time of each script, in seconds
    7 g: u9 E+ J# K' t/ u% E# q  U
  370. ; http://php.net/max-execution-time
    1 I6 y# S  q& R  s  v- u5 W& K
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI- C) }- }3 M2 |3 Z
  372. max_execution_time = 300
    4 Q& o2 `8 r) H. G5 m
  373. 5 q: V! M, |* W* t; T
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 ]$ F5 }7 }, u) m' \
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly  K1 i0 \2 h/ f! Q- _' d
  376. ; long running scripts.
    - g  _4 c7 r# _( x0 n7 S: J
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ' V7 @- Y- V8 X
  378. ; Default Value: -1 (Unlimited)
    5 z+ q8 h/ p& C& ^9 @7 b
  379. ; Development Value: 60 (60 seconds)
    2 @, S4 F$ g* Y" n  i; U( R
  380. ; Production Value: 60 (60 seconds)
    4 S! ^+ ?" A! n7 r( z. u
  381. ; http://php.net/max-input-time! o/ j; [0 l  {
  382. max_input_time = 60
    , z& x: p9 i; {) F% u6 j7 d

  383. 0 A: I" B* ]( F
  384. ; Maximum input variable nesting level* r0 @5 I, h+ T$ g( y$ u  W
  385. ; http://php.net/max-input-nesting-level
    0 A3 v) j2 L" l; D6 v* x
  386. ;max_input_nesting_level = 64
      Z/ G$ T: [' c( t

  387. 7 S7 R2 ^+ Y' d' p
  388. ; How many GET/POST/COOKIE input variables may be accepted
    " c3 {( q1 R5 T
  389. ; max_input_vars = 1000* y$ R1 {3 `0 S7 Y' F" F/ B, z

  390. . o0 y! r& F. `  [+ e. ^
  391. ; Maximum amount of memory a script may consume (128MB)0 x5 W1 ]1 R  S' Y& Q7 D7 l
  392. ; http://php.net/memory-limit
    & u5 ]$ Z, X: u9 j6 V7 |' O
  393. memory_limit = 128M
    1 [  l: \  L6 N. z. ]. ?) l# V
  394. * F; l$ }) B: U' z7 t
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 ~' ]( Q0 L; d2 z) T, ~' q- q3 z
  396. ; Error handling and logging ;" B; C5 i8 |" X. H6 w
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 J! n1 h, o& F# U7 |# m

  398. * C7 [3 G* E) a" c2 _1 y+ g
  399. ; This directive informs PHP of which errors, warnings and notices you would like  D4 z: j- j" ^8 O2 p- E
  400. ; it to take action for. The recommended way of setting values for this4 a( `7 _6 r6 r4 z+ _
  401. ; directive is through the use of the error level constants and bitwise
    6 p, m- O$ B! c: R: R3 \
  402. ; operators. The error level constants are below here for convenience as well as& x* q9 }, |' E: }# |
  403. ; some common settings and their meanings.! X8 s% j1 k, R5 ]
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 k$ q) x" h! P' |9 y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and# ^/ G- Q, q: E& @
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    $ \7 E, C' d* b& q+ ~4 C2 u* x% ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
      }( y: _4 G9 k  H, _& }
  408. ; resources complaining about best practices and coding standards. That's what) C' z/ a/ `6 ^2 K8 ?  G
  409. ; development servers and development settings are for.* f: A) o+ F! m, Z- X( h2 Z
  410. ; Note: The php.ini-development file has this setting as E_ALL. This. l2 W0 ^( a2 b3 f) _' j
  411. ; means it pretty much reports everything which is exactly what you want during- I+ p# m5 c' R
  412. ; development and early testing.
    8 e4 X' v$ I( c7 T9 |
  413. ;, a7 S( h8 R0 Z
  414. ; Error Level Constants:
    & s0 M* P0 {2 r  ~
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    : c# Z: c- B; F8 P! ?3 F# Z7 \1 ~* J
  416. ; E_ERROR           - fatal run-time errors: {6 f: N2 M& P% x% ~
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ) f& q8 Q! P8 J3 v4 w
  418. ; E_WARNING         - run-time warnings (non-fatal errors)  g% S% p  x. e, @/ }3 S
  419. ; E_PARSE           - compile-time parse errors
    ! F/ N; N& p4 D- ~
  420. ; E_NOTICE          - run-time notices (these are warnings which often result0 g* z. k8 w/ D$ W; m8 D
  421. ;                     from a bug in your code, but it's possible that it was$ ^) |! B! g& G9 Y
  422. ;                     intentional (e.g., using an uninitialized variable and
    8 `& L4 z' p' U% N4 r7 l: R$ P, _
  423. ;                     relying on the fact it is automatically initialized to an+ R9 v  N* \! s& G1 C
  424. ;                     empty string)) a4 ]( k5 M- C. J
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' J9 x$ j2 h+ v) Y
  426. ;                     to your code which will ensure the best interoperability
    4 ^; a( |2 M5 ^
  427. ;                     and forward compatibility of your code
    $ k) Z; N" r9 e* E. U5 n6 m+ u
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 g7 }; L) a, W2 f0 ?& |4 t- `
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's% ?, k" ?# \( A1 q/ c
  430. ;                     initial startup
    . Q+ s1 Y; i* R, p! P2 w7 D
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 o( @3 x! R* [" ^
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ) }; O  ]/ m  s4 P0 U3 C2 F/ E
  433. ; E_USER_ERROR      - user-generated error message7 u' S* Q& ]( E2 ^! }3 W
  434. ; E_USER_WARNING    - user-generated warning message! e2 M# h5 v5 L" _1 p1 @
  435. ; E_USER_NOTICE     - user-generated notice message7 K2 P( u: v% ~9 U( c) [/ h
  436. ; E_DEPRECATED      - warn about code that will not work in future versions, g' N1 b) ?2 B4 h6 J( o+ ^
  437. ;                     of PHP
    % D$ J7 [# o$ C) Y, V  }
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings/ B: g9 X" W8 T0 e% r& {
  439. ;
    ) v( m- o% Z: a! `4 M9 h# d0 F3 ]8 b
  440. ; Common Values:
    5 M9 a/ s% ~% W
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)2 n( i7 L9 n0 x% J8 K
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . f0 h2 {3 Z* ]+ p
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + C4 U/ w4 ~/ ^% H- s% I
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): y0 w5 Y& d3 E$ y/ i+ L# H
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- ~& \  C' P% _4 R$ _3 P2 w
  446. ; Development Value: E_ALL9 ?7 [& D) q1 a0 X2 y
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 g/ J+ U& F; u) G
  448. ; http://php.net/error-reporting3 k" K6 _6 |+ X. O
  449. error_reporting = E_ALL & ~E_NOTICE3 ^' D# r+ \6 I) L, w% B6 C& G9 L+ M

  450. 6 z1 h6 O6 f, h5 j( K1 J4 O% w
  451. ; This directive controls whether or not and where PHP will output errors,' a3 V5 y( K( ?0 q8 Z; t$ j
  452. ; notices and warnings too. Error output is very useful during development, but
    . z+ i- w/ k* T, H
  453. ; it could be very dangerous in production environments. Depending on the code4 _  K' x$ W& I. p% {
  454. ; which is triggering the error, sensitive information could potentially leak
    7 j, F$ P# Z8 e* }, ~# w
  455. ; out of your application such as database usernames and passwords or worse.
    + o- @1 P/ w# d$ X, h7 ?- U3 [
  456. ; For production environments, we recommend logging errors rather than: z4 B3 M  x+ o5 C% ?" p2 s
  457. ; sending them to STDOUT.
    + L+ X3 {/ h" o$ Q& r
  458. ; Possible Values:( Z8 z, {" j+ e; u1 X; @7 R# p' F
  459. ;   Off = Do not display any errors
    " I" c$ L: }- z) y/ S* P
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    7 Q4 ]' v  U5 m, c6 M0 V
  461. ;   On or stdout = Display errors to STDOUT
    " z$ R% H. e4 n0 F
  462. ; Default Value: On' c9 R2 {4 a- k% d* p: \2 S
  463. ; Development Value: On
    . Q/ M1 x( n4 a/ Y5 M4 d, A
  464. ; Production Value: Off/ \9 ]$ q) y; D% Q! y8 H
  465. ; http://php.net/display-errors
    9 \' J4 g* n% G& U8 ^5 h
  466. display_errors = On8 ?4 T1 U2 a! k: H" O4 f  i

  467. ! U" c1 ~' X5 R6 }& U! Q
  468. ; The display of errors which occur during PHP's startup sequence are handled: N% E) Q, Z8 {/ ]; y$ {, ^& J6 f
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    , A9 p/ Q2 X9 L7 n$ Y- g8 X7 `
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 S6 P) M, H! t8 l$ x' U2 `
  471. ; debugging configuration problems. We strongly recommend you
    # m: k" U9 r  V8 i4 p; A
  472. ; set this to 'off' for production servers.
    3 H( X6 G9 c, L) B3 T. |
  473. ; Default Value: Off
    9 ^3 w: g$ u. U( }7 C( i2 d: P
  474. ; Development Value: On% H* l3 C+ Z3 c, @: L/ n; H8 p! r
  475. ; Production Value: Off- A' w; j. \% m, R& T  y. `2 ?
  476. ; http://php.net/display-startup-errors
    $ g0 Z# y9 v% E: `
  477. display_startup_errors = Off; d, y- w! d+ m% t/ s5 k4 u- W
  478. * }1 s" u$ o* j
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    1 S( L" q7 f, p" ^# S
  480. ; server-specific log, STDERR, or a location specified by the error_log- Y6 k" Z" V* P; X7 J2 i; Y
  481. ; directive found below. While errors should not be displayed on productions. }- @# H- M; U  f
  482. ; servers they should still be monitored and logging is a great way to do that.
    2 g3 z3 O1 @6 E1 g# R
  483. ; Default Value: Off% h) @  X; h4 j. x7 d
  484. ; Development Value: On8 N: k+ o, u% G# Y4 \' C
  485. ; Production Value: On2 Q3 s, q5 y, ^
  486. ; http://php.net/log-errors
    9 @' P$ z6 }' ?0 _6 B1 T4 N
  487. log_errors = On/ t; T1 c; f) W3 F% [8 F
  488. 0 h" n  K, `/ [9 ~' A1 F& J- ?
  489. ; Set maximum length of log_errors. In error_log information about the source is
    * T: H: d* r( g+ K8 i+ l$ q1 k1 }
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.# W/ n9 J, a  r; U% p# [/ {
  491. ; http://php.net/log-errors-max-len. p2 M/ I" Q/ e2 k
  492. log_errors_max_len = 1024/ ~4 x0 F- W8 G- a  N( f

  493. 1 B& Q7 o+ u1 R+ W8 U
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same5 l1 [1 ^! i( b- i+ Q8 D# y9 h
  495. ; line unless ignore_repeated_source is set true.0 @/ d& h! o6 M7 A) |0 W
  496. ; http://php.net/ignore-repeated-errors
    " x3 w7 l% J# Z6 b3 c+ O
  497. ignore_repeated_errors = Off; ]5 q7 a; [+ l  c* d4 |, Q

  498. ! q# A/ A; o  L$ I/ A
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    , W: Y7 d6 l" E( p' [% e/ Y
  500. ; is On you will not log errors with repeated messages from different files or( L6 S% M# T6 w, G$ F
  501. ; source lines.
      C0 s8 z. r4 i1 t7 M) z
  502. ; http://php.net/ignore-repeated-source; n0 F$ _( X/ B; o! T3 V
  503. ignore_repeated_source = Off2 B0 w1 J7 u3 ~7 a0 ]% Q

  504. . r( w) N* k( Z; t, {2 n6 x: f
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on" h! N- S& t7 h. v3 f
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    0 g6 ^- \  J5 t8 _; ~
  507. ; error reporting includes E_WARNING in the allowed list+ J, D, s) r6 q  t9 F) B) D
  508. ; http://php.net/report-memleaks9 u; g% T8 I2 G* D, h
  509. report_memleaks = On0 J6 Q- Z$ |$ _  n
  510. 4 H( L  E$ a1 V8 g6 ]1 S
  511. ; This setting is on by default.
    & I, W2 l% {( L/ N' R
  512. ;report_zend_debug = 0- d5 c& E% u; v0 K* c* C  H  V# s

  513. 9 |8 J+ F2 R& f0 e* D
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 p6 P0 r, l8 @" Z. ]
  515. ; to On can assist in debugging and is appropriate for development servers. It should$ k+ {4 R- ~3 }1 m, \: C
  516. ; however be disabled on production servers.
    ' \5 P6 _7 n7 T: r# S
  517. ; Default Value: Off
    / N0 Z" p/ l! L/ d
  518. ; Development Value: On
    % K# }6 o$ H7 q# K
  519. ; Production Value: Off
    $ ?, |2 I" \& R* Y
  520. ; http://php.net/track-errors
    ; Z3 \0 [; A" A
  521. track_errors = Off7 \8 J: Y9 _1 v1 }

  522. ) G+ v+ |9 v2 O) n4 b. f" ]$ V: ]  Q
  523. ; Turn off normal error reporting and emit XML-RPC error XML6 {4 R7 {8 b4 ~6 _4 L
  524. ; http://php.net/xmlrpc-errors
    3 x0 i6 ^" Y$ \# n
  525. ;xmlrpc_errors = 0
    2 x  x$ v, H5 r3 K" o

  526. 1 x, r5 M9 `( i. ?
  527. ; An XML-RPC faultCode
    4 C$ J1 |( O5 W7 l1 o2 s& V
  528. ;xmlrpc_error_number = 01 j/ x  t8 N4 q
  529. - v2 C( {0 h' ^
  530. ; When PHP displays or logs an error, it has the capability of formatting the9 Q- R2 d8 R5 E. A
  531. ; error message as HTML for easier reading. This directive controls whether6 [+ d. k- M1 f+ K7 O8 @: j
  532. ; the error message is formatted as HTML or not.
    ) i2 y  m  \6 W" J; ]$ w% h. L+ j
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : [- l* G! t& j, y
  534. ; Default Value: On- v* D5 ]& |: P5 P3 T
  535. ; Development Value: On
    3 P2 b) W5 G) d
  536. ; Production value: On
    3 ~$ S, q/ y: P; ?! A8 f
  537. ; http://php.net/html-errors2 U1 a8 z* v' ^+ ~6 ]- A
  538. html_errors = On
    4 N$ l- ~9 b7 o2 Q  U) C0 i: p: [) g

  539. 2 d7 I) }1 p& Z, d" `
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! j: P9 u! i# Z
  541. ; produces clickable error messages that direct to a page describing the error
    / B0 ?7 c$ r# ~# D
  542. ; or function causing the error in detail.8 @2 _8 q' Z2 j; B: a, y
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    % ~: ~2 Y9 A3 C
  544. ; and change docref_root to the base URL of your local copy including the
    1 y# b2 s2 r! C: x) `* L
  545. ; leading '/'. You must also specify the file extension being used including& l; f$ u( X- R) w$ f8 c) J
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 ~4 h5 Q7 t/ G9 Z  [7 O
  547. ; case no links to documentation are generated.9 u; X( |6 V* Y- v
  548. ; Note: Never use this feature for production boxes.
    2 e+ Z1 s7 r+ N7 @2 B
  549. ; http://php.net/docref-root1 x& b) ^. a* `! f
  550. ; Examples
    , N3 P, e% u0 ], d
  551. ;docref_root = "/phpmanual/"
    + a0 l, Z5 b6 m7 U
  552. , {: F" ~! }2 _  m' h
  553. ; http://php.net/docref-ext7 I" f; A0 J0 o3 n  `) |
  554. ;docref_ext = .html
    ( ~7 i; ^7 i6 Q/ ^8 e% y" i5 Y
  555. 8 }1 j2 C, i" ~6 t- o; Z+ ?
  556. ; String to output before an error message. PHP's default behavior is to leave
    ' X% N- y% O# V# S- V8 Y
  557. ; this setting blank.# l0 |$ D7 I( E7 m6 L0 g# T% Z
  558. ; http://php.net/error-prepend-string9 @8 `- C" W* a6 v# v+ R" J
  559. ; Example:; L5 K2 `  N0 b( w/ L. t# A
  560. ;error_prepend_string = "<span style='color: #ff0000'>"! J1 ^/ s1 b8 v

  561. ! v. @" S0 s+ a1 R& Y
  562. ; String to output after an error message. PHP's default behavior is to leave& @7 y3 N4 ^6 Y$ K7 A9 p0 Q
  563. ; this setting blank.
    ; u' X) [8 I0 q7 X$ A8 }+ c
  564. ; http://php.net/error-append-string! E1 U* u9 _# O4 m! U% @3 D1 ^
  565. ; Example:/ j; |9 G" I* _/ q2 f; w% D
  566. ;error_append_string = "</span>"- P# t3 A4 I$ ?

  567. ' T! n' [" E1 k6 b2 X
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    - S: d  _! x- T% e4 ?, _
  569. ; empty.
    ( s/ t; D9 ^. x2 B
  570. ; http://php.net/error-log
    + I1 ?+ ~4 p9 L7 |5 y7 I+ L
  571. ; Example:
      `% u' z& ?7 f3 X" Y4 T
  572. ;error_log = php_errors.log
    0 S; z$ n% a. I, ?- v
  573. ; Log errors to syslog (Event Log on Windows).
    : |/ h7 m# [2 i8 z1 h' g
  574. ;error_log = syslog
    . Y: [8 g# t1 r3 k6 V9 z9 v

  575. 5 k. \+ f4 ^$ J7 N  h3 ?# J
  576. ;windows.show_crt_warning
    $ J1 [9 ]% y5 h( H
  577. ; Default value: 02 k6 g  E4 S. N2 [
  578. ; Development value: 01 i4 z* j4 V, b4 b6 }6 I
  579. ; Production value: 06 f2 L5 B( m- h" G- E

  580. 0 V- n! A6 U3 |! P
  581. ;;;;;;;;;;;;;;;;;
    2 Y4 A+ F# v- Z9 ?$ K! K
  582. ; Data Handling ;! ?0 P' J1 ~* Z* W' M/ a, C
  583. ;;;;;;;;;;;;;;;;;; m  S( o7 w+ j1 @( i& m. D5 x
  584. 0 H3 z9 q4 w/ v
  585. ; The separator used in PHP generated URLs to separate arguments.
    " M: p$ O. O! B' I& U( E
  586. ; PHP's default setting is "&"., h/ u0 n# z1 K
  587. ; http://php.net/arg-separator.output" J, l( V2 F1 K
  588. ; Example:9 E* L% n4 V# }! |
  589. ;arg_separator.output = "&amp;"* f: c8 W$ f7 N% J5 S$ H' q
  590. ; [/ q7 o2 g7 v0 j
  591. ; List of separator(s) used by PHP to parse input URLs into variables.! x/ W; {% S  p2 c0 K( S* Q% e
  592. ; PHP's default setting is "&".+ c  r9 R2 x! _2 R0 H! f
  593. ; NOTE: Every character in this directive is considered as separator!
    ! ~, A& h% x/ K* D$ _$ x
  594. ; http://php.net/arg-separator.input5 k2 G  c& u* @6 _& G1 m$ o2 p
  595. ; Example:
    ; H' v; @+ v6 u1 M- K0 B
  596. ;arg_separator.input = ";&"' O8 Z! T4 E/ }7 w
  597. 8 _6 K  h7 h* G/ z- p7 K
  598. ; This directive determines which super global arrays are registered when PHP
    . m0 p/ x4 C4 I6 _( o. `$ U
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    " {9 |  x( ?8 F& I1 b
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 o* E/ ?5 i: F) E% e$ t8 N% C$ t. w
  601. ; paid for the registration of these arrays and because ENV is not as commonly: N" a) G6 R. z, v
  602. ; used as the others, ENV is not recommended on productions servers. You
    7 a: M, M- ^3 ^# E
  603. ; can still get access to the environment variables through getenv() should you* C; ]& f5 r/ ]4 i8 z
  604. ; need to.' t7 m( z' `# v* k6 Y* I7 n+ r
  605. ; Default Value: "EGPCS"
    6 k2 w* F$ z" j1 b3 v
  606. ; Development Value: "GPCS"7 ?3 \+ u9 e( h
  607. ; Production Value: "GPCS";  K" B' {8 D* l3 v
  608. ; http://php.net/variables-order
    - d- l3 G% a4 d2 Y, I4 o  f
  609. variables_order = "GPCS"+ C9 q8 N$ `0 O1 @  s

  610. 4 R3 O% U1 c8 y! J
  611. ; This directive determines which super global data (G,P & C) should be
    & r/ J4 t, n# w" r9 n4 T0 c
  612. ; registered into the super global array REQUEST. If so, it also determines
    & }1 d8 z# p4 a! i2 e( X& C
  613. ; the order in which that data is registered. The values for this directive/ W$ B8 U  L5 C1 L- d5 |
  614. ; are specified in the same manner as the variables_order directive,
    % c* Y( [8 R% U( ^5 L4 o/ J  m
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    4 s! q7 p$ R& G3 o. F
  616. ; in the variables_order directive. It does not mean it will leave the super
    1 k7 y  c6 \% U0 z
  617. ; globals array REQUEST empty.
    ; h4 d; A' [$ P' c  `2 Z2 J" a
  618. ; Default Value: None
    4 S  w- g9 N+ _0 C
  619. ; Development Value: "GP"- v' y; U" h) Z/ r% R- J
  620. ; Production Value: "GP"
    2 o* h  |$ y' }* M8 V1 I) ]" d
  621. ; http://php.net/request-order
    1 N# _1 I$ o* i! ~5 {6 c
  622. request_order = "GP"+ x7 L8 P- c3 C

  623. / m: H3 m7 O7 |+ z0 D
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    5 |4 \. e  c/ w, w- A$ K, d
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script2 a( a+ R0 E3 C3 U6 `
  626. ; is invoked. $argc contains an integer representing the number of arguments: P& \7 C6 r7 W9 ]( f9 c
  627. ; that were passed when the script was invoked. These arrays are extremely: [5 `  s+ B* m
  628. ; useful when running scripts from the command line. When this directive is( P  P5 K. f# Y/ n; ~# G
  629. ; enabled, registering these variables consumes CPU cycles and memory each time8 o  ?4 W) Q1 m: j
  630. ; a script is executed. For performance reasons, this feature should be disabled
    - u2 l9 [0 m  e; E) Q4 c' }
  631. ; on production servers.
    7 C& g/ d' K0 N
  632. ; Note: This directive is hardcoded to On for the CLI SAPI5 e6 i# D5 m# u; J
  633. ; Default Value: On
    + o! R0 E- g7 m* A4 k
  634. ; Development Value: Off
    ' z: t, S2 K6 x  f
  635. ; Production Value: Off$ L& ]: T5 w# r* P
  636. ; http://php.net/register-argc-argv
    $ U% s- V. \. A/ `
  637. register_argc_argv = Off
      G! _9 J. \9 F0 Z6 K9 v$ g
  638. 2 ]: ~' V* |1 U3 g* n# m* y
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    7 w4 [) y0 R  I9 t# ~! }/ t
  640. ; first used (Just In Time) instead of when the script starts. If these3 V* K; w( `" H- R# F
  641. ; variables are not used within a script, having this directive on will result
    ( h( X) |- L8 X; N* j. R3 D9 F
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled% T. X, O- Z# @" N4 a/ n+ W
  643. ; for this directive to have any affect.  N* n7 U! q% c, f; O7 d3 i
  644. ; http://php.net/auto-globals-jit# f. `( d  Z$ a% U# x" c
  645. auto_globals_jit = On3 I; o/ w$ t3 s2 V  ]
  646. - Y- P7 G5 O/ L
  647. ; Whether PHP will read the POST data.
      e, @( Z0 S' a
  648. ; This option is enabled by default.0 V! J7 y8 @' t  I+ |/ `4 G* @
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST5 w' v- A0 E9 L; |4 i. F! B- O
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ; _# J! H, H" y5 n
  651. ; POST data will be through the php://input stream wrapper. This can be useful8 O3 `) S) b# f' @7 L$ b
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 K! c$ c2 B' X
  653. ; http://php.net/enable-post-data-reading
    - T# {1 B% f- J) L( s# U
  654. ;enable_post_data_reading = Off
    / k2 x6 {1 [0 H+ Y: c# M

  655. * ^8 B+ H+ f! i
  656. ; Maximum size of POST data that PHP will accept.9 P! ^0 [4 K1 B) {8 A( I& l
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " _  T, V2 m* G( z/ Y7 H* l
  658. ; is disabled through enable_post_data_reading.
    3 l. h* r, n7 m2 t5 _! N
  659. ; http://php.net/post-max-size8 d7 q( i6 G" V, d7 G8 M3 K, ?
  660. post_max_size = 50M' c- K% `/ r" e2 _/ t3 J. d

  661. ( ]0 e4 q4 G7 w$ P" F7 L" @& x+ y
  662. ; Automatically add files before PHP document.# a0 m, I9 c3 U$ r& e
  663. ; http://php.net/auto-prepend-file$ q3 i7 r; Q: }
  664. auto_prepend_file =
    : A( B' ?$ L2 y# r

  665. 7 \/ e5 i0 z- Q6 w
  666. ; Automatically add files after PHP document.2 R1 P2 R2 b4 w, |* p
  667. ; http://php.net/auto-append-file  `: h0 I8 H7 X/ z: H+ f
  668. auto_append_file =9 {6 V2 V* p. D, I, M  Q- C
  669.   f( |+ Z( M  L4 ^: ?' u
  670. ; By default, PHP will output a media type using the Content-Type header. To+ o$ I% J0 }( i& C
  671. ; disable this, simply set it to be empty.
    ; {1 m+ z7 B- j
  672. ;6 f9 s1 E& K1 u+ c% ?  h- c
  673. ; PHP's built-in default media type is set to text/html.6 \- G6 s' e! H( `
  674. ; http://php.net/default-mimetype
    ; ~) w7 e4 t; }) s, {$ T" a
  675. default_mimetype = "text/html"
    : X7 A! j9 e8 |: g2 u6 _

  676.   h! r7 W* `" [2 ^# y' T
  677. ; PHP's default character set is set to UTF-8.' J2 `  Y( L2 F$ y2 V$ e+ r. k0 o
  678. ; http://php.net/default-charset1 ^  E1 C8 A: U5 e# x( q9 e/ M
  679. default_charset = "UTF-8"9 V& U0 h1 c. @  Q( |9 x

  680. 5 I- J9 p5 W: S* p' N8 ~4 Q
  681. ; PHP internal character encoding is set to empty.) F. G' j2 B  D* ~5 u8 {% Z7 W
  682. ; If empty, default_charset is used.& d* g. c) B3 r* A" L
  683. ; http://php.net/internal-encoding
    3 h0 ?+ U5 V0 R4 Q2 r: V0 i
  684. ;internal_encoding =& X% N6 g) s+ Q4 U: t
  685. 3 E7 a6 P, Z5 c' ?
  686. ; PHP input character encoding is set to empty.
    ! u2 J8 N' P$ w' M* m, L
  687. ; If empty, default_charset is used.1 B) U  v$ D( S6 x% T: Q
  688. ; http://php.net/input-encoding- ^; j2 G7 q, I  r. F
  689. ;input_encoding =$ R* y9 {# {3 T' Q
  690. ' h7 ^( E5 J8 l; F% Z! o5 Y
  691. ; PHP output character encoding is set to empty.% o, N* U" B1 U( J3 a: Y, J, S2 P
  692. ; If empty, default_charset is used., Q+ _1 q# J5 L5 {8 W" n
  693. ; See also output_buffer.
    . I$ z6 n! `, C) J" V3 }1 h
  694. ; http://php.net/output-encoding( f$ d4 G- [, s8 ~2 m1 H
  695. ;output_encoding =
    * {/ p: i6 C5 T* _# P, s4 {8 S
  696. 9 c4 r, A( X0 P# u' a
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    # ^- t% p$ I" X. P; }, V8 d
  698. ; to disable this feature and it will be removed in a future version.
    ) _' @+ X2 `/ p( K- w7 T! ]9 z
  699. ; If post reading is disabled through enable_post_data_reading,
    " ~, j0 ~/ w! W
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    1 }" P$ ?) _3 B* \' S- R5 q
  701. ; http://php.net/always-populate-raw-post-data2 T7 Y: {$ a5 W8 X
  702. ;always_populate_raw_post_data = -1
    - L; j( T- c) H0 X4 y6 m! `

  703. 4 ]3 @" q2 F8 t7 T. ?1 W- d
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;: o0 G. `- p2 Z% N4 }4 s. d$ F9 I
  705. ; Paths and Directories ;
    6 W( G& C5 t6 A) y( O2 q( L
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;' P( q- L- r6 a/ o! |

  707. " y) `5 C; p8 ]- z
  708. ; UNIX: "/path1:/path2"9 H; i+ D0 c+ |, l
  709. ;include_path = ".:/php/includes"
    $ ~7 G& d  x: ?" ~" t
  710. ;
    3 m) S5 v- @6 o6 e; G# ~9 R' R
  711. ; Windows: "\path1;\path2"+ L  Y/ I4 R- g$ L& \, M1 ]' ?
  712. ;include_path = ".;c:\php\includes"
    + Y& w4 V4 U; Q+ W9 i
  713. ;. z1 p0 }' t, {$ e
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    - h! b, W. a' r3 t
  715. ; http://php.net/include-path
    , {# d9 a" P0 c5 j( e! _

  716. - e+ S. z% m- G( P" w
  717. ; The root of the PHP pages, used only if nonempty.; y7 ?! B( T( P& z6 r! d
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + {0 H- _" L/ T1 [+ R
  719. ; if you are running php as a CGI under any web server (other than IIS)2 ?" e8 m- d* u: [
  720. ; see documentation for security issues.  The alternate is to use the$ w# J5 A7 Z( R1 V) N
  721. ; cgi.force_redirect configuration below
    2 I/ ~+ I$ }4 e
  722. ; http://php.net/doc-root
    0 ~0 j8 X: J  s
  723. doc_root =, f9 [& f! j4 x
  724. 0 i4 d9 \1 r: ^( O
  725. ; The directory under which PHP opens the script using /~username used only
    # T! R( [4 L& F7 E& p4 |$ P
  726. ; if nonempty.+ @5 F, u( j$ O/ s: t2 J
  727. ; http://php.net/user-dir, L4 u; v" C2 k. C" \8 U  p* P9 M
  728. user_dir =. ?  z3 P3 Q, M+ L5 q) ]) p' J; u
  729. 5 v1 Q3 K( x. ^7 ~
  730. ; Directory in which the loadable extensions (modules) reside.8 ^7 p! s& v0 Q8 I2 g2 U
  731. ; http://php.net/extension-dir! `. m' f: D+ Y. C8 P* `4 P% X6 Q) q
  732. ; extension_dir = "./"1 f& p" N! ?" Q) Q0 w0 Q: ?4 L
  733. ; On windows:
    - \3 b: G4 A% s% j
  734. ; extension_dir = "ext"
    ( Z4 S8 t. o9 F1 N

  735. 5 h. {9 K0 Q( z" P
  736. ; Directory where the temporary files should be placed.& L4 i% a4 c# w* r; d) v
  737. ; Defaults to the system default (see sys_get_temp_dir)9 T: I# p* y7 ?( k+ L  u+ u2 y+ h
  738. ; sys_temp_dir = "/tmp"8 `! S+ D- D; N
  739. 7 k! \6 {" ^5 p& \
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work) L& l' a- X, l: c
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically, B1 i+ \% b3 R6 |
  742. ; disabled on them.
    3 D/ x( C; x; x! m  Z$ E% y+ z
  743. ; http://php.net/enable-dl2 h  @4 ~: n8 D$ o) T5 w
  744. enable_dl = Off4 {% }2 H, p- m2 [2 f% x+ S& e( X

  745. : i& x0 @) v: E! ^1 o) Y
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under! \6 H' ^- r4 p8 }8 U& A8 E2 w9 w- H
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 A; {: C" ]& ~  z# k
  748. ; turn it off here AT YOUR OWN RISK! e* x' H1 X4 `, m" _( C
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    4 q6 Y5 C. u) E2 k: _
  750. ; http://php.net/cgi.force-redirect
    % g+ a' r2 `9 `6 Q
  751. ;cgi.force_redirect = 14 T* m3 |  P3 l/ y2 j8 r! {3 v
  752. ( W0 O# @" Z6 g/ \% I+ h
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with/ d% j& u6 W0 W6 T' o+ ]  Y  W) J
  754. ; every request. PHP's default behavior is to disable this feature.. i! b! J/ X$ _* M- }  f+ Q
  755. ;cgi.nph = 1
    7 S9 O' q( a# x) b  ?
  756. 0 ^. @5 E! V: Q
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape- B! m& _8 m) R) S1 b& ]# l5 r
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP5 C) p# c# \8 i% V4 q
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 `; f9 p  U3 `
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- A; C- u3 k, N' D; x& @
  761. ; http://php.net/cgi.redirect-status-env* |) I) z: U" O5 F* F
  762. ;cgi.redirect_status_env =9 x0 i# v2 U/ h) j+ W
  763. : q# E& f* h1 f. n2 g" v+ T
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    6 L. h7 ]! J3 ]  j6 U9 j
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. n+ p- O+ ^! d( ^2 d
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting) B9 T: w. I, [3 d. G
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    . E: J, s: R/ g
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts6 [/ \3 o+ {- F7 O2 B, D
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 J+ q, M2 O- J; {; C+ {: ?$ F
  770. ; http://php.net/cgi.fix-pathinfo$ f$ w1 O* g  X2 }7 j4 n/ Z
  771. cgi.fix_pathinfo=1
    ) a4 s0 o7 R7 t- P' g7 M
  772. . x6 i& @& g9 d
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    " A( v* V/ ^( M
  774. ; of the web tree and people will not be able to circumvent .htaccess security.7 Q: y+ X& ]" j1 ~# O
  775. ; http://php.net/cgi.dicard-path
    * R' o! ~0 w2 i& d$ o, [
  776. ;cgi.discard_path=1
    : U$ T& A: Y; X! J8 b

  777. 5 m* }# Y% p6 b
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate6 e# N0 H, d8 n4 b# A1 r
  779. ; security tokens of the calling client.  This allows IIS to define the# [7 B% O& @/ P3 o0 y' O
  780. ; security context that the request runs under.  mod_fastcgi under Apache9 I5 G$ M! c1 r$ S! h5 F5 C$ t
  781. ; does not currently support this feature (03/17/2002)5 o- [- ?( i9 K7 Y$ T
  782. ; Set to 1 if running under IIS.  Default is zero.
    , y  U% `. x9 ~/ O. q1 |$ E7 r
  783. ; http://php.net/fastcgi.impersonate
    / D3 z8 s3 M! A1 {: a
  784. ;fastcgi.impersonate = 1
    - r) i8 T( _& C4 [3 u, i4 ?

  785. % F1 S  ~$ K; I7 O0 j
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable. u4 p. h# s1 ^' Q7 ^3 |
  787. ; this feature.
    8 {# f3 r$ k' T( [5 F2 x7 t
  788. ;fastcgi.logging = 0
    * \9 u7 Z2 u' i7 E6 X( F
  789. ! D' d7 u* C0 K3 r
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to' {8 w- p& A0 X% E" E) ?) L
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: P* J' M! y2 Q$ \- ]4 l% W
  792. ; is supported by Apache. When this option is set to 1, PHP will send; `' p& U7 S; G' L7 ]
  793. ; RFC2616 compliant header.
    - t1 _. x- C7 u8 R$ T( x3 W3 c
  794. ; Default is zero.' @' G- Z* |. m, r- |
  795. ; http://php.net/cgi.rfc2616-headers# s/ T5 i* `- S
  796. ;cgi.rfc2616_headers = 0# Y! D# B2 x$ m
  797. 0 F: f- E  X: [) P- L  R* r9 B
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!2 S7 d9 w" m: X/ R5 P- s
  799. ; (shebang) at the top of the running script. This line might be needed if the
    2 f& P; F# \3 E- ]2 W* X
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" X( w# Y- C- i/ @4 H, \
  801. ; mode skips this line and ignores its content if this directive is turned on.8 x% ?) z7 P, `
  802. ; http://php.net/cgi.check-shebang-line
    - T3 A& Z  J+ ^! t
  803. ;cgi.check_shebang_line=10 c. J; y  g5 e8 d( ]
  804. # N$ R7 o: {1 _5 h8 p
  805. ;;;;;;;;;;;;;;;;
    9 V; s$ g9 P: F3 U% d) H
  806. ; File Uploads ;
    7 r4 Z  R3 O& \1 `3 i
  807. ;;;;;;;;;;;;;;;;, P5 n% Z) O1 e9 g) A

  808. 1 W& Y; S( W; F2 `
  809. ; Whether to allow HTTP file uploads.* u. P  M; d2 c6 u3 B" n. S0 h( L# M
  810. ; http://php.net/file-uploads
    3 f1 ?& [' C2 |8 |0 _" y+ \
  811. file_uploads = On
    6 `9 ^: _: w+ f9 x4 s, `/ I
  812. / [, q  k. u8 r( Z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    5 N' i' p" e9 p. z$ {6 A/ k
  814. ; specified).3 E9 {- n/ r  p" i. l
  815. ; http://php.net/upload-tmp-dir4 @8 m& H! m6 W4 T6 {' m4 l1 w- i
  816. ;upload_tmp_dir =: e# u+ F! J) a% Y

  817. & U8 l' I6 u7 j( @# ^; t+ K+ f
  818. ; Maximum allowed size for uploaded files.6 k# V  d, y, Z. G& Q9 Q
  819. ; http://php.net/upload-max-filesize: [) {! ^% M2 u# @6 F; M
  820. upload_max_filesize = 50M
      M& m" w" M" ?0 e% D- r

  821. % }5 G: b7 x0 P) i# ]" t
  822. ; Maximum number of files that can be uploaded via a single request' W( d+ R; w) K$ ]  X4 R
  823. max_file_uploads = 20
    1 a( y* C3 ~; R

  824. $ z1 `# S6 t3 o/ P: c* u' T
  825. ;;;;;;;;;;;;;;;;;;- \/ a: h, a9 l7 i
  826. ; Fopen wrappers ;2 J3 L* e- ]" N/ }- W$ J' K$ Z# `
  827. ;;;;;;;;;;;;;;;;;;
    6 z9 [( g0 H/ X6 {6 O3 S  Y
  828. + z/ u) v0 R' A' \( z
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files., z6 u/ P* L9 F
  830. ; http://php.net/allow-url-fopen
    , s% e8 Q. f' w0 Z& j0 L: U$ ?
  831. allow_url_fopen = On+ `- t" o9 E0 g/ M4 e7 m: s  G

  832. . W; t0 @2 \# g: z8 C# i  X
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.# _$ `8 b5 O& R8 ~0 o# I
  834. ; http://php.net/allow-url-include
    4 h! A* @- ?) r2 x0 _8 L. _
  835. allow_url_include = Off/ }8 {: o) \* m, H
  836. 1 D4 g, H. A, a5 K( i" A& s+ _
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    , K5 v. J  Z# D' x# w
  838. ; for this is empty.
    % Y* x  w+ _: w) D# _
  839. ; http://php.net/from
    % U* ]( W# C1 C% O8 q/ n  D! I2 X( m
  840. ;from="john@doe.com"
    - E7 g( ^! O% c& p+ @
  841. 8 X$ H) N' O/ ~& b
  842. ; Define the User-Agent string. PHP's default setting for this is empty." O% O' X8 B/ V: P7 n
  843. ; http://php.net/user-agent
    5 X& o4 c1 N+ P5 m: w5 B( o2 T0 z% s
  844. ;user_agent="PHP"
    ; {5 p# l/ m2 u5 H; N
  845. ) t  n7 E2 C4 C! Q. l: v& l- J4 f( v
  846. ; Default timeout for socket based streams (seconds)
    ' O+ g1 k7 [5 k; t( I# K2 p% h, X
  847. ; http://php.net/default-socket-timeout
    + `+ \) U  b7 l6 g6 B
  848. default_socket_timeout = 60
    & f1 k. o# a+ B+ ^1 e

  849. 5 G$ j8 Y- o- _6 i# [  d8 A
  850. ; If your scripts have to deal with files from Macintosh systems,
      }2 g" I) |! z  t) _
  851. ; or you are running on a Mac and need to deal with files from/ y) s; y  R  j
  852. ; unix or win32 systems, setting this flag will cause PHP to
    8 _8 ]3 Y" [  D/ X/ W9 M
  853. ; automatically detect the EOL character in those files so that0 @" [& w1 i8 k2 W$ Q9 p% @
  854. ; fgets() and file() will work regardless of the source of the file.; f# U& q9 u2 z, H/ j; ?. F: N
  855. ; http://php.net/auto-detect-line-endings
    : O% K; R6 E6 K* \/ w" @
  856. ;auto_detect_line_endings = Off
    . b% V6 y( B/ W+ r

  857. $ O- K3 t8 A( j5 l4 w
  858. ;;;;;;;;;;;;;;;;;;;;;;
    - Y4 D* i- v: a* w$ z
  859. ; Dynamic Extensions ;
    ) H' }8 f6 j, |6 J+ ^; |3 s9 i
  860. ;;;;;;;;;;;;;;;;;;;;;;
    2 n! V1 V2 _6 ]3 \
  861.   ^9 b4 r: W' n7 t  Q1 N
  862. ; If you wish to have an extension loaded automatically, use the following7 F, V$ _! j% P9 R
  863. ; syntax:$ w2 X- K) A0 d% Q
  864. ;! Y9 m/ i1 b$ o$ E
  865. ;   extension=modulename.extension6 G  k5 l8 l* L* w
  866. ;
    ) g. R' e1 x6 g" m3 L7 c
  867. ; For example, on Windows:
    ( e) F9 G  `3 H. n# b! Y' r, K0 z
  868. ;4 z; P6 z1 y$ B0 W8 B2 A, _
  869. ;   extension=msql.dll
    0 C) P1 A9 P3 k$ c, ]% B
  870. ;# J! T0 l! G2 C* X! _7 S" F, r
  871. ; ... or under UNIX:4 ?' y+ \; l" Y4 ~$ K
  872. ;
    , V& j5 ~# J0 q# W# r+ H* E1 ^/ [
  873. ;   extension=msql.so
    , v0 J. `" u. p2 L6 _' I+ }
  874. ;
    + B# L$ }( q# {/ h' U4 |5 y$ V/ r% l
  875. ; ... or with a path:9 C- s) u( c1 o7 B- W  C  a8 z! M# V
  876. ;6 L0 s  E% p6 ?2 Y5 S& j
  877. ;   extension=/path/to/extension/msql.so
    5 }: q4 s" g. o% q! l% `
  878. ;
    2 {( _. C1 q6 r; f/ Q% z3 `/ ~
  879. ; If you only provide the name of the extension, PHP will look for it in its
    8 l1 }! x2 z- l; D% w8 W& O
  880. ; default extension directory.
    / g; g  j! c, m" @- v- i4 g
  881. ;5 s) Q' Q9 [$ W# r3 V
  882. ; Windows Extensions
    % {, }+ R% \. [& o
  883. ; Note that ODBC support is built in, so no dll is needed for it.: I( y1 s$ Y) `2 B$ l/ b
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    7 {/ H  g! `( m/ u9 a* `! I6 O) V1 y
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    0 V4 K$ P) j4 X4 M( V6 v3 [) {9 b
  886. ; Be sure to appropriately set the extension_dir directive.: O! {2 e; J- _9 _
  887. ;
    % R1 [- z9 u; R* J' f; B0 q$ [
  888. ;extension=php_bz2.dll+ S' S( j) v/ }/ w3 j
  889. ;extension=php_curl.dll2 T' [; n  b2 y) n/ |2 K( m
  890. ;extension=php_fileinfo.dll
    " y  ?$ {: F" e8 _5 Z' ~% e) t
  891. ;extension=php_gd2.dll( g# s& H5 K0 Z1 s
  892. ;extension=php_gettext.dll
    ( K5 k% X  r  |7 k
  893. ;extension=php_gmp.dll: r7 m% e; E2 K$ F
  894. ;extension=php_intl.dll! t' {2 u% o/ z" C! c
  895. ;extension=php_imap.dll/ R  P' L8 {5 y0 ]! d
  896. ;extension=php_interbase.dll6 O' Q" M, }8 A% M8 ]
  897. ;extension=php_ldap.dll
    + L7 G7 ^4 G1 b+ m
  898. ;extension=php_mbstring.dll# D- t6 z' B; V0 x# D; `. F1 M+ q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it. G0 m& P7 q. Y1 m/ U$ y) t# V
  900. ;extension=php_mysql.dll
    0 M! N; v8 y, u' D5 @
  901. ;extension=php_mysqli.dll/ H. I& R/ Q3 j$ h! ]; p: G
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client+ l8 |* p* f) n: c3 C8 p
  903. ;extension=php_openssl.dll
      g, l8 m+ i. H* J% y0 \
  904. ;extension=php_pdo_firebird.dll
      ?6 T4 E/ k0 ?+ r3 f
  905. ;extension=php_pdo_mysql.dll
    ) y  G, D, E. a. J7 S4 Y6 z
  906. ;extension=php_pdo_oci.dll
    - L) p0 Z5 s1 ^4 @
  907. ;extension=php_pdo_odbc.dll8 N" _3 d3 h+ D+ A
  908. ;extension=php_pdo_pgsql.dll
    9 X( f9 N" ^: M: p9 c2 D
  909. ;extension=php_pdo_sqlite.dll
    7 }; }1 e$ z7 h8 K$ H9 k+ p
  910. ;extension=php_pgsql.dll; w. i7 Q+ c7 h1 x8 {, r
  911. ;extension=php_shmop.dll) w0 N( M" d4 h/ l4 o; b

  912. ) N, ~1 C9 ~  s8 O! D$ {/ K
  913. ; The MIBS data available in the PHP distribution must be installed. 6 G  \# a: ]( [9 h
  914. ; See http://www.php.net/manual/en/snmp.installation.php 9 Z+ k; t$ i- F# k* Q
  915. ;extension=php_snmp.dll
    / a- |3 i8 Q; L  V" o/ U$ |
  916. * V9 Z" k! L& T$ F
  917. ;extension=php_soap.dll6 ?) [& `( A7 `5 S. z0 x
  918. ;extension=php_sockets.dll
    ' p, a$ T, V/ n
  919. ;extension=php_sqlite3.dll! V( l3 A. R8 C% d
  920. ;extension=php_sybase_ct.dll
    0 ~/ H5 P) r8 H
  921. ;extension=php_tidy.dll4 H( \, v- L* M0 a, l1 k
  922. ;extension=php_xmlrpc.dll& c% p7 i: D  D9 k' k6 e( `
  923. ;extension=php_xsl.dll* O! m5 F2 m4 T. O- Q

  924. $ h. q  n0 d& u9 ^/ J
  925. ;;;;;;;;;;;;;;;;;;;: P# K3 j/ m# H/ A
  926. ; Module Settings ;2 P4 x# {3 r7 R, x+ T" _
  927. ;;;;;;;;;;;;;;;;;;;" H5 k7 M% P  r% l9 V

  928. ) `8 g0 G4 Z1 k! i. q* E* r
  929. [CLI Server]
    / o% x& Q5 m  Q5 Q
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.2 o% a1 C' y0 |  P! y; H: Z+ v
  931. cli_server.color = On1 a$ c6 q9 ^! h/ h
  932.   E! E. h$ _: L/ |5 Y
  933. [Date], k, d- d' Q( e) v! o: e
  934. ; Defines the default timezone used by the date functions! u( a3 ]! M" e9 k8 Q
  935. ; http://php.net/date.timezone
    0 W" y% g) H1 ~9 E& {( x. w
  936. date.timezone = PRC- B% N5 {# V' j+ B, }

  937. % J* u* F  r* u$ r2 R9 c7 w
  938. ; http://php.net/date.default-latitude
    % f, N# G  \+ k5 d& _' ^
  939. ;date.default_latitude = 31.7667
    8 S0 y, l9 j7 z/ w. b7 o% O% t
  940. 0 v. I) a2 [% }5 ~2 |% l) k
  941. ; http://php.net/date.default-longitude1 A8 t6 a5 H. }2 B: P
  942. ;date.default_longitude = 35.2333
    # r6 L: Y/ X( K, Q( W
  943. + _1 V# E9 h. v  T5 ?2 b5 Z6 V  z6 T
  944. ; http://php.net/date.sunrise-zenith
    5 y* b$ @2 c, P4 ~8 c) Y! C
  945. ;date.sunrise_zenith = 90.583333- ]+ E. R) t* z" j9 z4 g
  946. 4 J7 f8 x" l/ ^0 a
  947. ; http://php.net/date.sunset-zenith; C: v  r" `& v2 D
  948. ;date.sunset_zenith = 90.583333
    & C" E6 g9 d3 K" g! [- t" F; l: A
  949. # c% E) {% R& f
  950. [filter]
    1 q. A  `0 t2 F. y. p
  951. ; http://php.net/filter.default& ^8 w/ j7 f& Q
  952. ;filter.default = unsafe_raw! _: Y! E. W; ?* V: O8 d6 g; V

  953. ; J7 t' y- i8 v4 s
  954. ; http://php.net/filter.default-flags
    2 Z) D. ^0 G" u4 d8 G0 d
  955. ;filter.default_flags =
    ; J4 `* Q( R" i  Z

  956. : L6 P0 j& Z: e4 G
  957. [iconv], g1 ?7 q' ]% R5 v: B# y  W5 \
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 Q9 h& w( Y( \3 j1 T
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; c2 ]6 S& x8 z% G$ K6 }
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding2 Y* m7 j: C! W( m
  961. ;iconv.input_encoding =6 j# J9 p* T5 _4 B: U1 f9 L
  962. , n3 e* l1 A; f' g. v$ J: R
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead., h5 a- B8 C# X, m& X
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % y/ u. ~4 B- H( {3 ^7 U" s9 V8 }
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 r3 j( E9 t' C/ l* \  N
  966. ;iconv.internal_encoding =3 c+ s& M# }- m4 U& Y

  967. , r' F( D0 d: H" o. t# |8 Y8 S: }
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 |3 i7 r* V- F. O+ F3 L
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) ?6 _4 b7 |! ]6 t% g
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    9 W, }4 j( n# c2 n+ ]% [  P. ?
  971. ; To use an output encoding conversion, iconv's output handler must be set
    4 d  w7 [; y! F
  972. ; otherwise output encoding conversion cannot be performed.  @" }4 x( _( a# H! T5 j7 s
  973. ;iconv.output_encoding =! \3 P4 R* ]0 Z. E- F- c
  974. ! m/ M( A: |$ z+ l
  975. [intl]
    % f6 Y! R0 [- _* W$ j
  976. ;intl.default_locale =+ i+ E/ N$ g' L0 V9 }+ L
  977. ; This directive allows you to produce PHP errors when some error# k, D- w0 ?  v  @
  978. ; happens within intl functions. The value is the level of the error produced.5 @# v& q/ s$ W6 @# G" r, Y- |
  979. ; Default is 0, which does not produce any errors.
    " J  s4 e6 O" i, B
  980. ;intl.error_level = E_WARNING% u" X7 K; u) D/ Y$ H, n2 }8 ^
  981. ;intl.use_exceptions = 0
    / B4 O( ~% y+ Z8 i) ?  W# ]4 ?
  982. 2 I# U. _# h9 V$ g9 U
  983. [sqlite3]
    5 L$ @' S1 J5 A& ^/ f7 }
  984. ;sqlite3.extension_dir =
    . b$ x$ \# {- S9 K9 Z& q
  985. / H* ]0 ^8 {; c- X1 {
  986. [Pcre]# }+ d" r8 U* `# n
  987. ;PCRE library backtracking limit.
    3 ?* l  P0 }* Y- _9 `3 p
  988. ; http://php.net/pcre.backtrack-limit. T% c7 X) Q, |& O6 S. ]6 P
  989. ;pcre.backtrack_limit=100000: U8 T  K" S4 J' I7 _5 W

  990. 0 y9 x& _, v5 g5 W6 i' J, C
  991. ;PCRE library recursion limit.3 R" p% Z% P9 U& V* B- w# ]- d
  992. ;Please note that if you set this value to a high number you may consume all
    9 S+ I& u- Y; Y& ?1 ^1 }
  993. ;the available process stack and eventually crash PHP (due to reaching the, n* e' K9 p+ z1 o3 i' @5 R
  994. ;stack size limit imposed by the Operating System).: M# \" w, m8 ]& Z  j1 n' a
  995. ; http://php.net/pcre.recursion-limit
    : p3 k  O  a  I  V2 r% C; _6 v
  996. ;pcre.recursion_limit=100000
    2 @% ]3 d$ j5 R% N& O
  997. / x& D' ?+ x4 ~
  998. [Pdo]
    " b& R- \8 z3 {( S: G
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / p) n& c8 {% D* D3 I0 I, I
  1000. ; http://php.net/pdo-odbc.connection-pooling
      Y& m; b! e1 y/ r- X$ l
  1001. ;pdo_odbc.connection_pooling=strict0 N' K  @7 Q8 y2 X. W$ W8 F9 D7 Z0 C5 y
  1002. % O- L5 q( O. \
  1003. ;pdo_odbc.db2_instance_name
    + d9 ~. j# H3 T8 j' [) C
  1004. % w& s5 @+ F/ i: g6 U
  1005. [Pdo_mysql]5 W8 l6 T& i, T  |: _8 p
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache( {+ j, v# H$ a9 R8 ]  o5 K5 j
  1007. ; http://php.net/pdo_mysql.cache_size. |" R5 }2 S5 F; y  Y4 C
  1008. pdo_mysql.cache_size = 2000
    ) J' P) K( R. |/ H% M) o5 t

  1009. / L+ F# k) H1 X7 U, ?
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . |: ]$ H5 z/ j' @5 }( m  R- X: O
  1011. ; MySQL defaults.1 K3 R! @$ _/ l8 `' v1 }
  1012. ; http://php.net/pdo_mysql.default-socket' b9 x# n" X6 S
  1013. pdo_mysql.default_socket=1 C( S" u' L2 _& _/ R- h& ^

  1014. ' W! x6 S! E* f& r* v+ P2 t
  1015. [Phar]
    / k6 L4 x' e; s1 h: b" x, Z
  1016. ; http://php.net/phar.readonly
    . z8 i' N( \1 a3 f5 M# Q8 n
  1017. ;phar.readonly = On# ?' g' R1 b6 U( X. ?% C. ]2 Z

  1018. ) K% Y& o- ]+ x1 z
  1019. ; http://php.net/phar.require-hash
    " S4 l8 a0 d( N3 r! y2 ]
  1020. ;phar.require_hash = On
    # K0 D/ f& V7 f( V3 |
  1021. * I$ C/ @: V1 A% g+ U( u* `
  1022. ;phar.cache_list =% k/ i7 {3 F1 w: w# E" i
  1023. 6 g+ T) L6 {7 v" D" `# u) E
  1024. [mail function]
    : E1 `. e% |' E1 w  }% x
  1025. ; For Win32 only.
    $ F4 `% ^0 Z, u7 `7 p+ T
  1026. ; http://php.net/smtp
    ! ~; e" Z6 V0 a0 T, B
  1027. SMTP = localhost
    + C+ O! J4 ]+ ^/ f( U' Q
  1028. ; http://php.net/smtp-port% X8 W$ s9 T0 s: Y
  1029. smtp_port = 258 h7 Y. v/ u  {3 P2 d# H

  1030. 1 O5 @% g, L1 J% H1 s- V
  1031. ; For Win32 only.
    ; B/ [5 S& n0 ]% i8 y
  1032. ; http://php.net/sendmail-from9 y0 Z0 J: e0 p  b; X
  1033. ;sendmail_from = me@example.com
    ! U+ O6 q/ ?+ m5 U/ H

  1034. # \3 ?; X6 p4 t' Y: {! g
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    $ m& u( l* B9 [# ?7 B
  1036. ; http://php.net/sendmail-path( S: I, M) C. j/ ?5 T9 X. x. }
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    . s. d9 |9 c- T/ k# I
  1038. ) m  J7 c! c, f* W
  1039. ; Force the addition of the specified parameters to be passed as extra parameters3 g! ^/ q3 c. [, d6 o. d! q& Q8 X% b
  1040. ; to the sendmail binary. These parameters will always replace the value of
    9 e$ f/ K% b, B1 r% l& T! C" Y
  1041. ; the 5th parameter to mail().
    5 H5 V" u, i/ a' e1 S% U
  1042. ;mail.force_extra_parameters =
    ) F* D; `6 B+ G- z2 I

  1043. & b9 Y: Y' w' Q# T  |
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    : e5 p& z. q) z% u2 `" V
  1045. mail.add_x_header = On
    ' v# }) |* {0 t7 U+ o
  1046. " j0 b( Y% n7 I$ x5 _9 |
  1047. ; The path to a log file that will log all mail() calls. Log entries include; V. W: U5 W2 s1 H
  1048. ; the full path of the script, line number, To address and headers.5 O, W( l& m) j9 @( e% Q& ?
  1049. ;mail.log =
    $ @) s0 i" f+ ^+ M! o
  1050. ; Log mail to syslog (Event Log on Windows).$ L% s5 s' J% [
  1051. ;mail.log = syslog
    7 j* M" m6 f" S8 r0 ^
  1052. ; E# g* f' o4 v+ ]2 l- {. G5 P
  1053. [SQL]: c7 j$ h7 F4 q- A2 D! F6 @7 Y0 f
  1054. ; http://php.net/sql.safe-mode. i9 X8 k$ {6 l- P
  1055. sql.safe_mode = Off
    ) ?) c$ [4 M! F; z
  1056. ( ]! x0 F1 w: d  ]
  1057. [ODBC]
    $ Q- Q. ^% r& w0 y  [4 N0 n
  1058. ; http://php.net/odbc.default-db
    7 K) o, Y/ E- u
  1059. ;odbc.default_db    =  Not yet implemented, ]( p- a6 Q. j& K9 e6 h' K

  1060. 9 I. c* m7 E8 H1 ^5 c# m
  1061. ; http://php.net/odbc.default-user0 K7 w& U- O+ r- W
  1062. ;odbc.default_user  =  Not yet implemented
    9 H0 n1 {7 q+ m. N* [+ R

  1063. ' n7 @: D! i4 [; y' H1 S
  1064. ; http://php.net/odbc.default-pw
    2 f+ a$ k/ r" E2 f
  1065. ;odbc.default_pw    =  Not yet implemented
    * }* ?* S8 a9 \$ S4 c

  1066. . a$ j8 a8 d( f6 _; t4 h
  1067. ; Controls the ODBC cursor model.
    0 E$ `: ~0 |) z( u8 r: w
  1068. ; Default: SQL_CURSOR_STATIC (default).
      E/ ?" I  T/ x) O+ _+ P/ B( I
  1069. ;odbc.default_cursortype
    1 S7 s' {7 m/ O3 C7 N. H
  1070. * _& b0 A: k' G6 b* b" @- j/ x+ {
  1071. ; Allow or prevent persistent links.
    6 ?. d2 n# f- `( a( R* ?! t: J* f
  1072. ; http://php.net/odbc.allow-persistent
    ! x. Z2 e4 X0 q) U
  1073. odbc.allow_persistent = On
    " F' ?" H9 S" W) ~+ ^% d

  1074. . h: I: d5 y% g3 S
  1075. ; Check that a connection is still valid before reuse.( i% {; ]+ b5 e
  1076. ; http://php.net/odbc.check-persistent/ x( G/ Q( a9 r! D% W! E3 }  {
  1077. odbc.check_persistent = On8 c; I7 ~" ~- _( D
  1078. " l+ \2 x2 @( H9 V( a
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # j: W0 m$ [; r% E
  1080. ; http://php.net/odbc.max-persistent
    / \1 E1 `) k4 v" `
  1081. odbc.max_persistent = -1
    3 P; r* E/ @0 b$ \' o2 P
  1082. $ c5 X2 J3 [& r. [( Z
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + y$ m. u0 ]3 m, F% u6 |
  1084. ; http://php.net/odbc.max-links
    % t" j8 ?9 N7 D3 p' ~
  1085. odbc.max_links = -1
    . |* O7 x( s% }  M

  1086. " T. I! i- \6 j1 J
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
      z% {7 A$ x0 H
  1088. ; passthru.
    # D+ r; B6 e0 j( K% n6 l
  1089. ; http://php.net/odbc.defaultlrl. u. _0 X! Y5 W" D' u( Y
  1090. odbc.defaultlrl = 4096) r+ ?( i, O/ m2 m; A! d* B

  1091. / s1 w$ o3 \+ {. Z
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    6 K0 {5 m# }, a- B' K0 _
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    % f+ V: d" K# m# b* g0 C, b1 M
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    : y$ {; G  g3 e0 A7 {
  1095. ; http://php.net/odbc.defaultbinmode. D% k4 [" P5 a0 J. }3 I* s! `
  1096. odbc.defaultbinmode = 1
    / ]& P1 L/ U4 p+ G) W- e
  1097. & k' E5 x/ b! l1 Q
  1098. ;birdstep.max_links = -1- K. }9 T# n$ f" c

  1099. ; A# s( y! P7 `4 f) B+ p/ k- m! k8 s
  1100. [Interbase]
    7 a+ j! i( l% W0 R5 Z
  1101. ; Allow or prevent persistent links.
    6 w. \/ V! O4 Z2 g
  1102. ibase.allow_persistent = 1! F0 c" t$ i; y# L5 f& j
  1103. " X( Q9 }: e' Y1 ~. B! P
  1104. ; Maximum number of persistent links.  -1 means no limit.9 Y$ O- M/ y, g' j- }
  1105. ibase.max_persistent = -1
    5 i+ x$ N' T" o3 @% D
  1106. 6 P* M, P/ v! d5 |3 x0 V+ m# t- N
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % F) q3 ~4 M: z' O: n9 F' \; f+ B3 g
  1108. ibase.max_links = -10 w' h# a1 {; I6 r2 P% M

  1109. * \" T3 `6 c: D
  1110. ; Default database name for ibase_connect().
    % W! E: R- U7 ]: G8 |. m
  1111. ;ibase.default_db =
    / X! S& b/ z9 [7 r" D

  1112. ) v& r2 x1 L7 e7 c. r9 u
  1113. ; Default username for ibase_connect()." l, t: A9 x( }0 g
  1114. ;ibase.default_user =8 |  j2 O4 f: g- W7 a. H% I3 h/ U
  1115. 9 C: m. f$ b5 D1 U, O
  1116. ; Default password for ibase_connect().
    # o2 a7 \( ?* _/ O
  1117. ;ibase.default_password =; r. |+ X0 r/ u* n  z/ z4 K
  1118. 4 N( _1 a% _5 ^
  1119. ; Default charset for ibase_connect().
      V( N' {) L, U& }; L5 W
  1120. ;ibase.default_charset =6 D! l2 e, S. w7 D, R3 V  I
  1121. ; R1 `4 x7 z0 z
  1122. ; Default timestamp format., [1 B( p) s% h5 c, U
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! |7 w9 [8 K/ k- C8 I
  1124. 6 H3 _% e4 M0 t" t0 u$ R  w
  1125. ; Default date format.! t8 y5 h$ g7 ?  s4 y
  1126. ibase.dateformat = "%Y-%m-%d"1 o; W1 B$ L4 ^( x( I& ?4 C  d) n% z
  1127. 1 Y* _5 D) H. W) ?+ R4 G
  1128. ; Default time format.
    0 |/ ^) s. ]$ z; I2 E: i
  1129. ibase.timeformat = "%H:%M:%S"
    % y! g/ D8 x6 O  e# q

  1130. + a# P/ C4 C/ i
  1131. [MySQL]9 O8 W4 k6 \8 s* Y
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& K4 `- ?! B; N: u- G' [
  1133. ; http://php.net/mysql.allow_local_infile
    6 z: v3 N% c/ l  P* ]) g6 F8 D
  1134. mysql.allow_local_infile = On: p4 S1 @# m& V

  1135. $ Z* t3 e  x5 B9 I9 `
  1136. ; Allow or prevent persistent links.
    8 _8 w/ E% J0 F) C- s& J
  1137. ; http://php.net/mysql.allow-persistent
    : P" u% [7 X- k
  1138. mysql.allow_persistent = On' q; E* ^/ d8 v+ ?7 A$ B; q

  1139. ( N) b! n9 m: j# D  }
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 |2 y9 c) }- j2 l
  1141. ; http://php.net/mysql.cache_size$ Q' \" U- T8 H+ Y
  1142. mysql.cache_size = 20006 Z4 z$ |: [2 L$ q" b4 o, l0 K

  1143. / X" D( Q2 Y" e; }* Z
  1144. ; Maximum number of persistent links.  -1 means no limit.
    - M# U" J8 X' }
  1145. ; http://php.net/mysql.max-persistent' k0 R6 G" \' N$ C4 L0 s  d
  1146. mysql.max_persistent = -1; F3 F' O6 F% J" ?; m, S

  1147. 2 f8 \! U* ~: x9 n( U! I  i; N
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 ~, W6 E' F. Q0 U: u
  1149. ; http://php.net/mysql.max-links
    0 X. s8 a$ k1 p
  1150. mysql.max_links = -1
    % ]& Y; L* X0 D" B+ c* k. y4 Z% [
  1151. ( Z: ]0 \% @9 E
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
      `% q  T; Z; e0 \5 t: h5 @
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 a9 K: O5 x- W3 r% r8 _& g: I5 i' R
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 n7 x* s9 X- K. J
  1155. ; at MYSQL_PORT.5 i. H' E3 w, Q' a' n
  1156. ; http://php.net/mysql.default-port
    9 y7 R) ?' V/ y3 G4 n  r1 B% ]
  1157. mysql.default_port =
    : C/ Z; X( }- w* x( K

  1158. : t/ r7 b; ^$ j% r. y! S8 }! m4 c' ?
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % l; _* u) {' @% \! T# Y1 {, c
  1160. ; MySQL defaults.
    / {+ U8 R# v- F  @6 O2 G; ~
  1161. ; http://php.net/mysql.default-socket
    + g" |+ ?: g2 d- S' Q' T$ |  Q
  1162. mysql.default_socket =  g5 _" ~$ E6 Z/ e

  1163. 6 w' w0 A( v' T
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).. O( T0 \( F$ }9 N# N
  1165. ; http://php.net/mysql.default-host2 u9 Z$ i6 @* j7 z/ d
  1166. mysql.default_host =
    % h+ H) }# T1 ]. l5 n  h  k/ ^
  1167. 3 `1 I0 L2 b: v; u
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).: U4 o+ a- f" q: B+ d% w
  1169. ; http://php.net/mysql.default-user" R/ S% k" B5 f7 Y
  1170. mysql.default_user =
    4 r# I! |7 q, j8 ?" N4 k5 Z2 d

  1171. % f3 R- ]: r1 K$ H
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).$ [& Z0 Y9 m7 `- x
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.$ a" W0 ^: W! H& P6 R( |- }
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")0 i& s5 b2 \! F% ~
  1175. ; and reveal this password!  And of course, any users with read access to this
    : Z2 m5 G! D1 R
  1176. ; file will be able to reveal the password as well.
    ) V; F3 p3 E# m% q/ i9 p
  1177. ; http://php.net/mysql.default-password
    " O- [# @% L* ~# V% I+ ?
  1178. mysql.default_password =2 U1 d' y- a6 T+ y
  1179. 1 o, K* ^. O2 Q* _4 K1 o0 d
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit& P7 F4 I5 z; S6 ^1 D
  1181. ; http://php.net/mysql.connect-timeout
    1 C9 Q' b6 E# x! [1 L3 Y
  1182. mysql.connect_timeout = 60
    ( L- S0 K( _' v* m* R* ]

  1183. , Y5 s9 [6 g9 `& t- ~! H( q5 C3 X
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    3 J( D$ x, H' {2 z* G/ r( f8 k6 H
  1185. ; SQL-Errors will be displayed.* v0 K( q+ x- B& U; J$ x+ s
  1186. ; http://php.net/mysql.trace-mode# j% d' n2 ?; w  C
  1187. mysql.trace_mode = Off
    7 @9 ?- R+ A/ d. O& M0 N4 V
  1188. ' u3 V# F- {; b& Z+ s
  1189. [MySQLi]/ C: H! `" s+ ^3 m) B0 \; j( T

  1190. % O# S$ m) K  k& @3 w
  1191. ; Maximum number of persistent links.  -1 means no limit." Q7 e3 _% z/ u7 ~( H
  1192. ; http://php.net/mysqli.max-persistent' I' @9 i7 s3 ?/ H
  1193. mysqli.max_persistent = -17 b" ]; G% |8 o! a/ J

  1194. ; H% s# z' A7 r
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( W5 K9 V9 e" k; d- `* p  h6 |
  1196. ; http://php.net/mysqli.allow_local_infile
    + l$ g  L, F4 d3 n
  1197. ;mysqli.allow_local_infile = On
    5 A3 v- O6 }$ Z2 V# b
  1198. ) D1 U/ c! S' C+ h7 B2 r
  1199. ; Allow or prevent persistent links.. l' j% f% [* _
  1200. ; http://php.net/mysqli.allow-persistent/ _5 ~' n- t, s: C0 h! O' G  q
  1201. mysqli.allow_persistent = On3 e, a& G% O2 j6 p5 F6 N
  1202. % @6 s6 T! v( b4 `
  1203. ; Maximum number of links.  -1 means no limit.1 w  j: y  |5 z; O& f
  1204. ; http://php.net/mysqli.max-links
    * b# R- u& A! q
  1205. mysqli.max_links = -1
    , k% C$ V+ s' G( `! ?7 F9 X

  1206. * _5 z' o2 ^  M" I0 {& h+ o
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 j3 w* I% K( [7 [4 N
  1208. ; http://php.net/mysqli.cache_size8 T1 p. W( Y% S% x. @* B  z
  1209. mysqli.cache_size = 2000
    . T( E5 q. @4 A  G

  1210. 3 A. ?/ Q/ f" b
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    / W& [& N+ y, U* L
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ ^; V5 M# @# s' n& Q* y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    6 o* ]# ^0 J; k) x. \/ _
  1214. ; at MYSQL_PORT.
    - W+ S0 }( |  z! [/ Q3 ~6 c0 D/ I
  1215. ; http://php.net/mysqli.default-port' I# `( w/ U- L( Q$ C
  1216. mysqli.default_port = 3306! }6 `; Q) L5 H4 U

  1217. ! ]  u  |  G- B4 Y5 y1 E% y
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in) R9 D9 F$ T0 h. T- o5 \
  1219. ; MySQL defaults.7 c8 s  g$ i6 w( @  I) H
  1220. ; http://php.net/mysqli.default-socket8 v& Q; `- O" u0 c9 P
  1221. mysqli.default_socket =
    9 q) d% N. K3 o: O* @- U$ F

  1222. ) q$ Z* e: {% l5 V. t$ t
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).! L) L1 f5 G( q9 ^
  1224. ; http://php.net/mysqli.default-host9 E' N7 [8 q7 p% Z6 N  K& N
  1225. mysqli.default_host =0 G3 t2 e% z# g+ a+ l4 i
  1226. , u% M; i0 P$ F  g8 s( s
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ( N3 J7 s( B6 @0 u
  1228. ; http://php.net/mysqli.default-user! u. X; ~1 \/ \7 i
  1229. mysqli.default_user =5 J  c5 D- Q# H+ a$ v4 E
  1230. 3 q9 H3 y7 v: f" o
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)." N) e- N9 I/ ~; p4 X5 l
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 Z( Q; g# r, {, Q: H
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* q& L9 [/ v0 V! H; F/ @0 u
  1234. ; and reveal this password!  And of course, any users with read access to this
    , v2 x+ S; q$ s7 b4 g5 u5 a
  1235. ; file will be able to reveal the password as well.) ]! U8 e, p( u( X0 T2 S5 N
  1236. ; http://php.net/mysqli.default-pw
    , `. n. A+ T$ S1 j& O
  1237. mysqli.default_pw =9 l% J  c, _' \" c+ A
  1238. - w- b% T# k, |( f, p" m* Y
  1239. ; Allow or prevent reconnect
    # v) r& G2 m8 p& Y- L2 v1 i9 r. ^
  1240. mysqli.reconnect = Off
    / n/ j5 [. \8 o- c$ Z
  1241. 9 W9 U' z% W: P# R$ O$ b
  1242. [mysqlnd]8 f4 ?6 Y% g# l4 @9 b3 T
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % E+ T8 p0 N$ [5 j
  1244. ; used to tune and monitor MySQL operations.+ U% W8 F+ D% Y: J$ ?/ d% M7 a
  1245. ; http://php.net/mysqlnd.collect_statistics# I( ~. c9 A, P% R
  1246. mysqlnd.collect_statistics = On! V" M  G' p# q

  1247. - @: b6 M3 u: S  m. O
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . Y/ S/ h' z- z3 r% O
  1249. ; used to tune and monitor MySQL operations.
    0 p9 B* Q+ [+ C( L
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    + f" w+ ?# I: W* n
  1251. mysqlnd.collect_memory_statistics = Off
    9 @& Y& p9 ?8 ~* t

  1252. / Y. m7 f- p6 F& ^! U$ d. @9 k/ i: R
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ! ?0 R7 F6 d. o7 J8 w
  1254. ; file.
    ' F! S- n( D) ^  c  p# p3 q2 Z
  1255. ; http://php.net/mysqlnd.debug4 f- g" D$ E( {
  1256. ;mysqlnd.debug =$ h+ U) ~3 H* j& D* E% x% U

  1257. 2 e- ~- C( a2 B5 Q. w' Q( V" ~
  1258. ; Defines which queries will be logged.
    # [" z) E( p& z: f0 N
  1259. ; http://php.net/mysqlnd.log_mask# g% F# U" k, s$ w4 |8 e% \8 ~
  1260. ;mysqlnd.log_mask = 09 p, r# G) W! ^. R5 [
  1261. $ }1 `0 d/ S, y5 S8 C- |. r
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets./ |: B! a2 U: N; C+ C/ f9 o% k
  1263. ; http://php.net/mysqlnd.mempool_default_size! W- D- n1 {! ~1 }) P! {. s" T! C
  1264. ;mysqlnd.mempool_default_size = 16000
    & `( U9 \  M( ]% m. u
  1265. & ?8 u& t4 P& ?3 A" w+ z8 k* A9 {! f- L
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; v0 y5 b2 L. n6 V8 ~
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size" q( L/ x5 B3 W, m
  1268. ;mysqlnd.net_cmd_buffer_size = 20483 d3 @! U* U% p" z- k9 D) S+ }# @% n2 Z

  1269. 4 M, s( J/ T3 p( Z1 s1 d6 [- `
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; I8 ~$ v+ }$ Z2 ^# z1 z
  1271. ; bytes.0 C! N1 {5 M: T6 ~) ?9 I
  1272. ; http://php.net/mysqlnd.net_read_buffer_size- C- p* W5 d, s  @8 s' [
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ' T$ \: |7 q3 O# r) P! @9 O: q! u

  1274. , e* C& B8 ~; t
  1275. ; Timeout for network requests in seconds./ E* g6 b; ]5 {1 B5 ?
  1276. ; http://php.net/mysqlnd.net_read_timeout$ d8 s/ {4 J: o0 w/ W! l
  1277. ;mysqlnd.net_read_timeout = 31536000
    8 X! V+ X/ a; M6 e; ^+ T, i

  1278. 1 C4 Q$ |% I6 [& z( \9 N: l
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, c- r. M* F5 v' T5 c
  1280. ; key.% z" j, z0 Z0 i
  1281. ; http://php.net/mysqlnd.sha256_server_public_key2 g$ x) ?8 Z1 S- W
  1282. ;mysqlnd.sha256_server_public_key =
    1 ]& ?: l$ `8 S; a& O5 }/ H+ ]

  1283. . ?6 N+ |- H/ t) c6 {, c0 `% k
  1284. [OCI8]
    3 i1 c, ~/ e) D* J- o5 i
  1285. 8 G/ e0 Y7 z' S# T# H& V
  1286. ; Connection: Enables privileged connections using external- u5 Z8 H+ s" t) p' p
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % k, y' u0 S1 f: o- W
  1288. ; http://php.net/oci8.privileged-connect. K% w# Q2 Z. ~% e
  1289. ;oci8.privileged_connect = Off0 Q5 a& m; w( h; s3 g& Z  A
  1290. 5 n( Y7 ^; r* Q4 R
  1291. ; Connection: The maximum number of persistent OCI8 connections per( G% l% W9 e3 J
  1292. ; process. Using -1 means no limit.# F/ N& J4 d& D# Q) U
  1293. ; http://php.net/oci8.max-persistent  X, i" p: \; ~$ |* @2 W: E
  1294. ;oci8.max_persistent = -1* @' o2 g' P8 X" M
  1295. 9 K7 s0 J4 [% e6 Y, I; p' u
  1296. ; Connection: The maximum number of seconds a process is allowed to
    1 V- s; k1 N# A0 ^9 g
  1297. ; maintain an idle persistent connection. Using -1 means idle
    8 p7 Q( i  v. y  J
  1298. ; persistent connections will be maintained forever.
    8 q* ^. {$ }$ L* a  k: H
  1299. ; http://php.net/oci8.persistent-timeout
    2 p7 ^( _# S. S" K3 |' F" `
  1300. ;oci8.persistent_timeout = -1+ q- M+ P* a' T" m0 F2 e7 P& N
  1301. 8 _. n9 ?# D/ U* b. \
  1302. ; Connection: The number of seconds that must pass before issuing a
    5 i+ C6 P& c) x0 @
  1303. ; ping during oci_pconnect() to check the connection validity. When
    " }/ N( l- G/ M/ r
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    , H0 N3 V8 ]9 Y4 W% i' W" P5 {
  1305. ; pings completely.6 U. D9 r) T& ?" R  C& y
  1306. ; http://php.net/oci8.ping-interval$ W: t! D9 w! Z
  1307. ;oci8.ping_interval = 60
    ' }1 c" y" y/ v- i

  1308. 6 s* l3 @& d; }8 c5 a+ q9 Q
  1309. ; Connection: Set this to a user chosen connection class to be used
    ! z3 H9 }. w+ E! c
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    1 b9 w, {9 w) K; g
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    0 f8 q4 H; H- C! j1 B6 C  d
  1312. ; the same string for all web servers running the same application,  e+ B5 q# K3 h5 P
  1313. ; the database pool must be configured, and the connection string must
    6 @, L8 Y+ Y4 j2 X- _
  1314. ; specify to use a pooled server.# _4 g. I, t7 h  Z
  1315. ;oci8.connection_class =
    , ]: N- O0 @, n; U: q7 P6 H& K. v  q
  1316. 8 U% Y, D, X' A0 D0 d' M2 \; V
  1317. ; High Availability: Using On lets PHP receive Fast Application
    * C: s" n4 @# y% w% w
  1318. ; Notification (FAN) events generated when a database node fails. The
    9 m  }, v7 n# ^, u: e
  1319. ; database must also be configured to post FAN events.
    ! P! M3 D$ s4 A0 B; o
  1320. ;oci8.events = Off5 R5 j$ z6 ]) X$ p$ b2 f% W0 a' ]

  1321. ' V2 M0 z9 w2 K; L5 P
  1322. ; Tuning: This option enables statement caching, and specifies how
    + a7 \1 l( E, Z! g) i) j
  1323. ; many statements to cache. Using 0 disables statement caching.
    % O4 k: x  ?5 z- g7 B% Z
  1324. ; http://php.net/oci8.statement-cache-size
    7 S$ U" |6 q7 O& X3 X
  1325. ;oci8.statement_cache_size = 20
    1 I8 l+ }5 s. l$ L& U

  1326. ; ?1 V1 D2 t6 A' N4 I
  1327. ; Tuning: Enables statement prefetching and sets the default number of) K+ j; W0 |: z: J! g/ }
  1328. ; rows that will be fetched automatically after statement execution.3 |' Q" N& t9 a9 j$ X8 A  D
  1329. ; http://php.net/oci8.default-prefetch; u! n: o7 F8 w- o* K: F3 ]
  1330. ;oci8.default_prefetch = 1002 r1 \7 m: K8 ]+ c

  1331. 0 J7 a  T3 j9 i  u2 ~
  1332. ; Compatibility. Using On means oci_close() will not close
    . V' b5 I, S) v  E* s+ ~- Y
  1333. ; oci_connect() and oci_new_connect() connections.
    7 m. }' b5 W5 z' J/ ~; V
  1334. ; http://php.net/oci8.old-oci-close-semantics  d& Z. h1 j+ e4 h) E5 ?
  1335. ;oci8.old_oci_close_semantics = Off
    3 z; b5 `# h1 `. t+ u6 r) r! Q- m
  1336.   a' L. J  z9 Y! o" A6 O  O
  1337. [PostgreSQL]/ X+ X8 T8 @$ p
  1338. ; Allow or prevent persistent links./ @3 I/ D/ t; J+ Y. K! N. w
  1339. ; http://php.net/pgsql.allow-persistent
    2 r" L" T! ]% K4 C
  1340. pgsql.allow_persistent = On
    ) I  H1 Z' F0 F& a: U$ {

  1341. 3 n2 @7 A- N+ g( Z$ T9 d/ W; X
  1342. ; Detect broken persistent links always with pg_pconnect().
    1 H1 G% O. X" j- t% D9 G
  1343. ; Auto reset feature requires a little overheads.
    & P* s9 [/ s5 U* L& f: d) a* ~7 u
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ' W& i4 V, J/ M$ H  G
  1345. pgsql.auto_reset_persistent = Off7 h+ d& v+ Q) r: ~2 L

  1346. $ J  m  Z/ H, w- `
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ; }1 u  H, D  N$ e1 x6 U# z
  1348. ; http://php.net/pgsql.max-persistent3 z; u2 b# K% ]9 C9 ]- p- x
  1349. pgsql.max_persistent = -12 n% v$ ]  n7 t* Y( a  {
  1350. ( ]- D5 b5 E, B! x( ]8 g7 ^
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , b0 ~4 V9 _" V
  1352. ; http://php.net/pgsql.max-links$ m- j9 m4 T) r; S- y: U) b
  1353. pgsql.max_links = -1. t! w( A, h. ?2 v

  1354. $ w( l9 ~- R" ]
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ( p; s# O# @7 W$ G% M
  1356. ; Notice message logging require a little overheads.- R9 s+ D( d7 E# V  C$ J8 F
  1357. ; http://php.net/pgsql.ignore-notice
    ! T% s/ [6 j4 B1 l. h
  1358. pgsql.ignore_notice = 0
    - W: J( _' p7 A3 M. e; w

  1359. ' g3 _2 F6 z, [8 z
  1360. ; Log PostgreSQL backends Notice message or not.5 {  V- r  _$ g9 @+ e  P7 C
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    + ]7 F! ^) K  B+ E. R5 \7 T; s' Z
  1362. ; http://php.net/pgsql.log-notice
    , z# x' f' R7 T5 B, w3 ]3 i
  1363. pgsql.log_notice = 05 l' C. t& b& T/ p

  1364. / `( |6 t, p4 i" C
  1365. [Sybase-CT]
    " v9 ~+ C5 I4 q3 N- s! W
  1366. ; Allow or prevent persistent links.3 @8 o1 k: U, M+ c: A
  1367. ; http://php.net/sybct.allow-persistent. R4 q+ O0 F0 x+ D% K  F
  1368. sybct.allow_persistent = On1 Q. m1 d( a# e! d, V, l

  1369. 8 K! Z8 p/ ?% T, w! ^: `/ `2 Z4 ?
  1370. ; Maximum number of persistent links.  -1 means no limit.+ b" k, K& G% L# V
  1371. ; http://php.net/sybct.max-persistent
    6 Z6 K$ C) Z+ N, P3 l8 ^+ M* k
  1372. sybct.max_persistent = -1# i" ^' ^+ F/ k

  1373. : q3 F9 b4 B6 L; C4 G8 Z7 Q5 r) _( i
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & q2 F4 ^$ J2 B
  1375. ; http://php.net/sybct.max-links. X8 D" q1 [& c% }" t" X
  1376. sybct.max_links = -15 z( z/ p9 F4 U2 N% [" g

  1377. 0 \, O- A" ?7 X0 A0 r0 [) Y+ i
  1378. ; Minimum server message severity to display., c: |* Z$ {, Y2 u1 ?/ o& {
  1379. ; http://php.net/sybct.min-server-severity' ]$ }8 t$ A# g3 x4 F0 u8 k1 L
  1380. sybct.min_server_severity = 10
    8 w2 r# ]1 x: N( {7 a

  1381. # s; Y/ m; d: K+ E
  1382. ; Minimum client message severity to display.3 ]$ H0 u. P: @; ]- I
  1383. ; http://php.net/sybct.min-client-severity
    ) v7 T' c/ y, a" u$ w
  1384. sybct.min_client_severity = 10, J2 V" N* C  c; J3 c

  1385. 2 t$ M7 z4 }/ j
  1386. ; Set per-context timeout
    1 t0 R5 n8 d! f6 ?# [, ]
  1387. ; http://php.net/sybct.timeout
    ; x/ M' s2 F# p# ]
  1388. ;sybct.timeout=- `) }3 b9 Z4 j1 Q
  1389. $ l1 U: ~9 R/ D6 W
  1390. ;sybct.packet_size
    8 g1 i, `7 H; ^7 V5 B: v; f

  1391. + Y& M: O4 X5 e0 Q. `* C) w9 i
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.& F. m; V5 k" M+ d) B
  1393. ; Default: one minute' j. S& g5 ?/ r
  1394. ;sybct.login_timeout=" f5 @9 Q0 W- S% S6 e3 x6 T" {# T  F

  1395. 3 V& e" }4 a# u
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    - e) F) b' v' s2 [5 l
  1397. ; Default: none
    9 e7 f( L, e3 V6 _, D% k
  1398. ;sybct.hostname=0 k1 I! ^: s! a6 j' g% B# k2 `7 z

  1399. 2 c' ?) W7 k1 I0 f9 R9 h) I
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    : l; B3 Q7 ^6 z  K
  1401. ; Default: 0' r1 g3 R$ f( h6 t
  1402. ;sybct.deadlock_retry_count=
    6 i/ c; C, I3 K' z  A4 y( B: d

  1403. 7 @1 o( `7 a) c2 b* W) F
  1404. [bcmath]
    4 d8 i9 i$ Y8 O( C9 _& ^
  1405. ; Number of decimal digits for all bcmath functions., L" {/ s$ c9 P& N1 V) C
  1406. ; http://php.net/bcmath.scale
    " t( K: ?& N+ P8 O' Y1 }; ~% m
  1407. bcmath.scale = 0' K# o9 F) h) i

  1408. 2 ?1 @2 t- f& h8 x7 Q# P! Q
  1409. [browscap]
    7 N) B+ Y3 u4 W' p$ c0 Y( Z
  1410. ; http://php.net/browscap
      g% v2 w( ]- G1 H, b$ }
  1411. ;browscap = extra/browscap.ini
    ! }: y6 ?# \( g2 X5 x
  1412. $ S; w: |" M' b/ ^/ c
  1413. [Session]$ ~" t: ]; i- P2 V- g  M% e
  1414. ; Handler used to store/retrieve data.
    : g- {/ ?4 N4 `7 d
  1415. ; http://php.net/session.save-handler4 d6 L* c  v( ]+ B* V
  1416. session.save_handler = files
    ' n) E5 A( u7 Z# C
  1417. 0 \1 m' m( W: Z6 G/ @
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    1 \6 b: u* p' @. p( T
  1419. ; where data files are stored. Note: Windows users have to change this& Z/ Q& W7 R0 h. |4 g3 ~5 @4 Y
  1420. ; variable in order to use PHP's session functions.6 e1 m$ q7 M& C: I2 @# c
  1421. ;
    : @4 m- {7 }7 I( a+ n
  1422. ; The path can be defined as:
    7 f; X2 X( k# v4 f0 Z" U% R  C
  1423. ;8 X9 k' C! r: S6 ]; `' V
  1424. ;     session.save_path = "N;/path"
    6 }* H0 i( }' Q+ U9 Y9 ~8 \+ x4 d- L7 U: Q
  1425. ;5 O4 `/ h8 C7 I6 u. j% c) F
  1426. ; where N is an integer.  Instead of storing all the session files in
    . h' f9 R2 U$ f* q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and' v" I: c7 q- w3 ?6 q5 b, P
  1428. ; store the session data in those directories.  This is useful if
    # R! B0 i( ?% r+ E1 g) c! [
  1429. ; your OS has problems with many files in one directory, and is9 h% l  {8 _3 Y8 q. t
  1430. ; a more efficient layout for servers that handle many sessions.
    ' ]+ [- |( \1 m; v+ B/ ]8 S
  1431. ;
    0 q  K1 y" f* ~* d7 s( y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    5 M( G5 @. G" D. g, ~! l' E6 b
  1433. ;         You can use the script in the ext/session dir for that purpose.
    , h7 m  ?/ P" u# g; B. [
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    9 ~+ \5 z& [, ~4 s, g& V
  1435. ;         use subdirectories for session storage
    ) m( P: {/ A% w1 d( h- _
  1436. ;8 ~4 C7 H$ n2 B7 d4 Z+ l' p
  1437. ; The file storage module creates files using mode 600 by default.
    7 p. g  g$ ?( n3 }2 R: A9 P* G
  1438. ; You can change that by using
    0 c3 d  \: R' H5 I% P7 f& D3 G/ C2 }3 q
  1439. ;  E5 i0 O1 `8 R7 ^  [
  1440. ;     session.save_path = "N;MODE;/path"
    ' C! m0 H( }( c* g
  1441. ;
    , r3 k7 P- F5 |" a9 b! Q. d
  1442. ; where MODE is the octal representation of the mode. Note that this2 @! n* ^6 K( {8 P
  1443. ; does not overwrite the process's umask.
    ! D/ V& B( N  r8 d7 |! V
  1444. ; http://php.net/session.save-path
    $ p2 _8 k( s1 h8 `! W# w
  1445. ;session.save_path = "/tmp"
    - J9 v& q' D, ^8 {# E
  1446. ) d; C8 j# z1 A! C) Q2 \
  1447. ; Whether to use strict session mode.
    / R5 `* u. d' L" a/ r
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ! f, o& e" k7 x: i9 [& D9 V
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects* |. i& Y& _2 Z% N5 W0 f' B
  1450. ; applications from session fixation via session adoption vulnerability. It is
    : w% b+ r, @2 n9 V- k5 G3 W6 v. e
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 z1 ^2 E: x9 O" o
  1452. ; https://wiki.php.net/rfc/strict_sessions! W8 B7 e$ b2 k' M
  1453. session.use_strict_mode = 02 t2 u% H/ N: s$ f) L2 D, X
  1454. + z  p* c: o# c8 h6 N
  1455. ; Whether to use cookies.
    6 S" n; F% X( v! w7 G) y# h
  1456. ; http://php.net/session.use-cookies$ @4 k% s8 [2 n) [/ h
  1457. session.use_cookies = 1
    ' @. S5 u. x( J
  1458. ; d# W( p# a! ?" a3 R0 ?
  1459. ; http://php.net/session.cookie-secure4 q% J8 Y- [% j  Y
  1460. ;session.cookie_secure =
    6 G+ H% G3 y  S# X! z6 I
  1461. " s- ^: g' M+ u, ~
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; Q- K% d5 a3 L# o* F  d
  1463. ; the session id. We encourage this operation as it's very helpful in combating& [9 O0 O( r& B0 m, O% X
  1464. ; session hijacking when not specifying and managing your own session id. It is* c" \% ~8 n% J1 \& \
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.- O% J/ U$ w6 l, O6 ~7 r1 V
  1466. ; http://php.net/session.use-only-cookies
    # m4 l1 f: x+ {. W/ u8 F
  1467. session.use_only_cookies = 1  _3 O% G, j, Y! _7 s) ~
  1468. 2 r5 f5 @: ^& B% \- N$ @
  1469. ; Name of the session (used as cookie name).$ H/ @2 \3 }1 g& g" G
  1470. ; http://php.net/session.name
    . Q. K  m: j0 i2 d4 G! t
  1471. session.name = PHPSESSID
    # C9 L. k6 [8 J  B* u, Z

  1472. + t: G* l' ~5 P+ D, n, {8 D: F4 L3 Z
  1473. ; Initialize session on request startup.
    - f1 K! }  E1 N, b
  1474. ; http://php.net/session.auto-start
    5 R4 H- y$ [4 I5 T
  1475. session.auto_start = 0
      h0 k2 P/ ]2 D& T: e+ B% [$ {9 _
  1476. ! t: c# u  Y, r* T0 ?
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.$ a$ {/ P8 p9 k/ T2 q' \
  1478. ; http://php.net/session.cookie-lifetime
    ; S9 ~5 I$ ?: f2 s5 V
  1479. session.cookie_lifetime = 0. L" y: I, x5 C4 w- i: b# s: V. S
  1480. " e2 ?4 Y4 X. j9 y5 L! e9 ]
  1481. ; The path for which the cookie is valid.& D% i; a6 p  s6 G( t+ y) E0 a
  1482. ; http://php.net/session.cookie-path% U/ _# P; c! X$ O. a) R
  1483. session.cookie_path = /- y6 e0 q- `, ?0 s7 {# u3 R' ?

  1484. . ]$ E/ S$ r! ]& i; Y9 z# C
  1485. ; The domain for which the cookie is valid.. \2 c9 z4 h% \9 ~( D: {7 F
  1486. ; http://php.net/session.cookie-domain
    2 A& I0 F% o# }6 r6 r
  1487. session.cookie_domain =
    ) k% Y" f% `+ _$ Z2 k: g

  1488. $ `' E. C6 A3 E6 N& V
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript." p1 J4 ~& q9 [: ^( ^
  1490. ; http://php.net/session.cookie-httponly% K& b; A4 q$ F9 z+ O) m- F
  1491. session.cookie_httponly =
    ) M  N) N* \$ e  y

  1492. 7 j. v% x, t! L; c) j! J6 |% e0 R  ^" ~
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 C0 E8 g; ]& {
  1494. ; http://php.net/session.serialize-handler5 a1 z4 d/ c: H" _! H6 u& P
  1495. session.serialize_handler = php
    ' m3 ~( ]2 E" }/ n

  1496. 7 O4 ~, g; N$ [4 }: j
  1497. ; Defines the probability that the 'garbage collection' process is started
    : l* {+ k! T' i
  1498. ; on every session initialization. The probability is calculated by using) ?! D8 ?. Y7 [4 I! {# P9 A) `
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! G& L3 F$ m5 \' b& m( E6 K3 E
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1  Q: p# V+ h- R# Y% F: O
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! T- M$ Y& y4 c, ?' I0 `
  1502. ; the gc will run on any give request.
    " a$ A5 e4 M4 J5 {( Q! h9 K2 c
  1503. ; Default Value: 1
    + A" u1 c2 T. Y" T3 h
  1504. ; Development Value: 1' C; h1 @8 b3 S. g" S$ v
  1505. ; Production Value: 1+ ?! b  I' i+ D- V. E( ~5 P+ u
  1506. ; http://php.net/session.gc-probability
    : E. B4 b. H+ k
  1507. session.gc_probability = 1
      @/ Y& i# z3 v, A8 ?8 S

  1508. 7 F9 \: t+ H" |- L
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ' ]1 l  X) w; [1 V. t+ Z
  1510. ; session initialization. The probability is calculated by using the following equation:0 A3 z# Y& W7 Y9 m9 D' ?, ~
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % d* m' |& f- Y( {( V  `7 X
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    3 i) ?/ b1 `" r2 ~
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: p9 O& C! D' K( R% S: i0 w
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
      A9 ~7 @9 G/ C+ V9 U& T" T+ W
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,- j+ [$ a1 |* p5 Y
  1516. ; this is a more efficient approach.
    ; n' _# E# v2 m4 Z' `, s3 x( m
  1517. ; Default Value: 100
    6 v: L& u3 _, o" b1 U
  1518. ; Development Value: 10006 C" e( x" i1 a2 c  x
  1519. ; Production Value: 1000
    % E1 N( V' m# N. C1 e
  1520. ; http://php.net/session.gc-divisor
    2 _# g( i7 B  R6 T- @8 q
  1521. session.gc_divisor = 1000
    3 U- ?/ }8 ~4 M* c, h! A2 ?- J
  1522. * i# v0 G" j5 T
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and. `: y3 l, M+ b
  1524. ; cleaned up by the garbage collection process.: a0 |4 T  l9 a& O$ S" Y  [
  1525. ; http://php.net/session.gc-maxlifetime; v3 ^! W3 j' w5 y5 t6 x% i; `
  1526. session.gc_maxlifetime = 14404 ?' _. c, ~& j9 k
  1527. 6 E( E$ G; R* @$ V5 R+ r
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    # K' r: G6 H+ E
  1529. ;       (see session.save_path above), then garbage collection does *not*6 ]/ B1 E" q3 t
  1530. ;       happen automatically.  You will need to do your own garbage
    3 t! x3 A( s: w5 m: K" f" M0 Z
  1531. ;       collection through a shell script, cron entry, or some other method.  D9 ^* O/ H, f8 I1 ^! V3 @+ t4 |
  1532. ;       For example, the following script would is the equivalent of
    2 T5 d& `4 D: w# ]+ n6 n" F5 Y
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):  {9 j) Y9 |' w1 Q, \/ z- ?9 T
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / X* w! s  [; I; D6 x
  1535. 7 K- _$ p7 ^& i7 ?% s) ]$ |
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.. y% I8 b) {) I& ?: f3 p
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    5 K3 |: k4 r1 D- ~( l: w
  1538. ; considered as valid., x2 Y4 Z! U# i. U9 I% d
  1539. ; http://php.net/session.referer-check
    8 q) ?! t" B* }1 h$ N0 F
  1540. session.referer_check =
    1 f5 {! o: Q- x' w& O

  1541. 3 e2 r, f( m1 F) J& ]4 l8 X
  1542. ; How many bytes to read from the file.
    & Y& y; r* U, m/ [9 q# f7 u
  1543. ; http://php.net/session.entropy-length+ r2 f% M- x1 c4 m5 Z
  1544. ;session.entropy_length = 32
    # l; Q2 }; |7 l8 U
  1545. + t  g6 f8 T/ U" F0 Y. Q1 e  l
  1546. ; Specified here to create the session id.
    + D. Q9 i% z! W
  1547. ; http://php.net/session.entropy-file
    2 W+ ?, f. _; r; h7 [
  1548. ; Defaults to /dev/urandom. Z1 [; t) b" U# f7 }3 c! {1 X, ^* ]
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    * F0 n" D8 `2 o/ n& L
  1550. ; If neither are found at compile time, the default is no entropy file./ q4 l" i: u4 q, [9 J" ^  o
  1551. ; On windows, setting the entropy_length setting will activate the
    . x6 _6 N5 W5 W! c$ W
  1552. ; Windows random source (using the CryptoAPI)
    8 K0 M" a- o8 P
  1553. ;session.entropy_file = /dev/urandom
    - @. H6 o! P: ]  |8 x( x7 B

  1554. & d: @9 q/ Q; E# k& Q/ M% D
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * H5 n( ?' O2 Z  c
  1556. ; or leave this empty to avoid sending anti-caching headers.
    9 g; b7 }$ O9 q( F7 M
  1557. ; http://php.net/session.cache-limiter  H! L" }8 e, P8 v; ~
  1558. session.cache_limiter = nocache
    , C3 u& Q( _$ Q4 _, r# E

  1559. ( E- p- W" R$ s; q
  1560. ; Document expires after n minutes.
    % o5 O; E' g  I. V  S, _* P
  1561. ; http://php.net/session.cache-expire6 N1 w) E" M1 O2 L3 [# C
  1562. session.cache_expire = 180# ]( n# e7 Q' _  D( a
  1563. & P; p: g  o9 n9 B% ]4 s
  1564. ; trans sid support is disabled by default.
    " e% h! C" `! t
  1565. ; Use of trans sid may risk your users' security.) v% U& \1 i  M2 x$ C
  1566. ; Use this option with caution.  V# s2 p! V' J/ j4 i
  1567. ; - User may send URL contains active session ID
    % ?8 `( [# E* I! ?
  1568. ;   to other person via. email/irc/etc.
    5 R- m: M" g4 M/ G% ^7 u4 N
  1569. ; - URL that contains active session ID may be stored/ y- \$ `. v) m& \# T* B
  1570. ;   in publicly accessible computer.4 A( ~1 i4 }1 V- y- F% v  ^
  1571. ; - User may access your site with the same session ID5 l2 Z5 b6 v. |8 A3 a& w5 E
  1572. ;   always using URL stored in browser's history or bookmarks.; k; @+ j: k  q5 [9 L2 D2 }
  1573. ; http://php.net/session.use-trans-sid
    " m. I0 ~2 H/ |# C
  1574. session.use_trans_sid = 0
    9 F% _* z) b2 K8 P# D; L' [
  1575. . h: k' \2 t( E0 `
  1576. ; Select a hash function for use in generating session ids.
    , ?/ }  q; d! w
  1577. ; Possible Values
    ; K$ i& E( l, p2 I# n3 g( W$ n
  1578. ;   0  (MD5 128 bits)
    & v' d# V, P3 d6 |! D& \6 N2 o
  1579. ;   1  (SHA-1 160 bits)
    5 H$ y4 C9 J& o" A
  1580. ; This option may also be set to the name of any hash function supported by
      I. M0 L' ]0 a( R& `5 {! N5 J
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(). S, @8 v! t: I8 \9 a& Y
  1582. ; function.# a5 W9 U* G5 l+ v+ z
  1583. ; http://php.net/session.hash-function/ s9 Z( z3 ~1 Y; y
  1584. session.hash_function = 03 T+ Z4 V, G) n: |/ r

  1585. 2 r; U2 p  |7 N: o
  1586. ; Define how many bits are stored in each character when converting
    ; \0 a" S) ^& L/ U3 u9 n) R
  1587. ; the binary hash data to something readable.. r+ y2 J7 y- V9 w1 w. g
  1588. ; Possible values:
    6 _% O+ R* \8 ], E  h; W. V2 Y
  1589. ;   4  (4 bits: 0-9, a-f)1 s( [0 [! l0 D5 g5 {
  1590. ;   5  (5 bits: 0-9, a-v)
    4 v1 o" z1 e0 m
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    9 A9 T# P" U  d- l% b. c  D
  1592. ; Default Value: 4
    * u: a1 i( U6 ]6 j, I
  1593. ; Development Value: 51 J6 K' f/ O9 ]5 c* d8 [
  1594. ; Production Value: 5
    / L1 J. X1 ?1 S+ e& V$ W
  1595. ; http://php.net/session.hash-bits-per-character
    9 e" K1 L8 B$ O6 G  m* J
  1596. session.hash_bits_per_character = 5
    ' v; \) Y7 M, [; }/ M' Y2 |- S
  1597. " O( N; O: f" ~9 ^$ L6 n& i
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.1 x, Z2 X% o3 M% Q. b  A1 A
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    $ E9 b! i! a( I* f. G% I6 W
  1600. ; add a hidden <input> field with the info which is otherwise appended
    % C+ e' n. q, F' C  ~- }
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ' R2 t( Q- u6 M" x
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ! q# U- j& G: N; f6 ]
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
      _! ?% S* y4 d4 P. F8 C, M
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 e. `, [  k+ k# l6 ]
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : l# p' A; z$ O1 e+ c2 ^
  1606. ; http://php.net/url-rewriter.tags# W4 E, O; h5 F+ k# c3 B; `/ b0 N
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    - G0 `, d  v& S( i" V2 W/ e$ k+ z( }

  1608. ; c: Q/ F: |' \! g8 J8 X' y
  1609. ; Enable upload progress tracking in $_SESSION
    ) D" }$ J% n! @+ c  g
  1610. ; Default Value: On5 z/ J6 J' W$ J- e- _
  1611. ; Development Value: On* w! I" K7 a' V) h9 x: G
  1612. ; Production Value: On1 t2 v  [# U8 s# b! D
  1613. ; http://php.net/session.upload-progress.enabled
    8 I2 X4 e% z, _! W& f
  1614. ;session.upload_progress.enabled = On
    : l$ `( y: Z9 k

  1615. + w' d& }1 o6 ]* Q6 w
  1616. ; Cleanup the progress information as soon as all POST data has been read, l* [$ J9 C0 K5 A# w; z; }, }
  1617. ; (i.e. upload completed)./ r1 U  w1 C/ o
  1618. ; Default Value: On
    3 z3 F$ H! \: K7 L
  1619. ; Development Value: On
    3 x9 o8 ^" r: F7 f: Y. v# [5 D
  1620. ; Production Value: On
    + D/ L8 c9 p5 x7 _5 b
  1621. ; http://php.net/session.upload-progress.cleanup1 i( S( t5 _; ^; l
  1622. ;session.upload_progress.cleanup = On
    # m5 Y3 K& U. G7 {
  1623. . l& J& `1 Y( Y1 D3 ~: H
  1624. ; A prefix used for the upload progress key in $_SESSION7 ?; q/ x# R% V1 F
  1625. ; Default Value: "upload_progress_"
    & Y+ @! H7 o8 O( i
  1626. ; Development Value: "upload_progress_"
    # s" j: T$ D2 M% P! ~5 G2 k. M% k; P, z
  1627. ; Production Value: "upload_progress_"9 r6 c9 S7 C5 k7 w5 g0 }# q' b  k% r1 [
  1628. ; http://php.net/session.upload-progress.prefix- i/ V' n& i1 q/ H+ k
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ! a/ S+ G9 Z' f  T% ^* k$ ~4 b
  1630. 4 \1 o( ]9 @) Y6 c, c
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ; W% e  `' C" G  j. r, e( J/ o; c
  1632. ; containing the upload progress information
    % l( B; o/ m3 n! p/ O9 z2 T
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! ?1 Q9 i" `8 d3 \% J, @1 s8 ]
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"9 J; S% [3 R$ V( C8 S% S
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"; b, a! X3 w, C! q7 n
  1636. ; http://php.net/session.upload-progress.name
    ' `7 b3 I# C" @2 T
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 H$ U* r/ s0 C- W) _! x( }

  1638. ) O% c  r& K8 y; Q8 z
  1639. ; How frequently the upload progress should be updated.
    " V, w1 o# f$ s* v1 i, {
  1640. ; Given either in percentages (per-file), or in bytes
    8 l" _* e& b; E  _) A
  1641. ; Default Value: "1%"
    & z& l+ N' u0 \2 O8 K8 a
  1642. ; Development Value: "1%"
      a- K5 t; _* Y$ ^7 B( p# Q
  1643. ; Production Value: "1%"7 `8 l6 g+ L+ p7 o# {/ t0 \3 N
  1644. ; http://php.net/session.upload-progress.freq0 q3 [4 E* V  s: `
  1645. ;session.upload_progress.freq =  "1%"3 j6 u. L' B& B7 m# ~8 n6 f. r/ I! ]

  1646. ! Z! H" B# W( q- M  _7 p
  1647. ; The minimum delay between updates, in seconds8 L* H2 Z3 N; ~8 f: K  P
  1648. ; Default Value: 1
    % k- T9 Z- }3 O: D! S( u" w
  1649. ; Development Value: 12 Z9 W% U. J% |. {! i9 u
  1650. ; Production Value: 1
    - }6 j( x: T% p! m9 {+ F
  1651. ; http://php.net/session.upload-progress.min-freq
    2 S9 Z% @, O3 S
  1652. ;session.upload_progress.min_freq = "1"
    " f! k+ F8 \" D( Q

  1653. 5 H) @, V+ W& w2 b, F3 ~
  1654. [MSSQL]
    - h! V9 Z$ N* c3 N; i$ ^2 x+ W
  1655. ; Allow or prevent persistent links.
    ; q$ Q" U& a. j$ C4 M( r
  1656. mssql.allow_persistent = On/ |( p+ ~2 Y6 r7 q% k4 P
  1657. 1 n* q& v2 u$ o( z+ z) W9 V
  1658. ; Maximum number of persistent links.  -1 means no limit.# |8 j1 V/ D' ?$ V) W
  1659. mssql.max_persistent = -1* `3 I* s; u2 O# N

  1660. 8 ~& X8 w- R+ f0 M6 ~1 q1 B9 i5 S
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' I( }- N! R1 h. ^% Z! v. _' B" h
  1662. mssql.max_links = -1
    ; b, V% t7 Y7 T8 L* ]
  1663. ) \4 ^% _: U; ^5 ~. f1 D( s
  1664. ; Minimum error severity to display.5 M4 V2 e5 q) I
  1665. mssql.min_error_severity = 10
    % y, c7 |* T: U8 i( ~( n

  1666. 1 z! a0 g& x3 m8 z8 |
  1667. ; Minimum message severity to display.2 p' x9 |3 e9 Y% Z$ R
  1668. mssql.min_message_severity = 104 f: H+ {/ {. G8 F; ?+ v& T$ J( s
  1669. 1 i' L( x7 U. c
  1670. ; Compatibility mode with old versions of PHP 3.0.
    & N& x# S6 G) a* c
  1671. mssql.compatibility_mode = Off' U8 Z9 [" C4 B% W
  1672. 4 @4 R9 h" b- e) {* G) M% ]
  1673. ; Connect timeout
    6 Y" B. V. [! @. z
  1674. ;mssql.connect_timeout = 5
    0 W$ Q* V# c- s2 ?
  1675. 2 B0 N9 j8 A5 S! O8 Q/ X9 H
  1676. ; Query timeout6 m' c" h6 [" q1 t- r
  1677. ;mssql.timeout = 60
    " n' z( X5 e$ C- \- U' k
  1678. # D5 U. K9 P. }4 g
  1679. ; Valid range 0 - 2147483647.  Default = 4096.0 o3 \( M" P( r5 [
  1680. ;mssql.textlimit = 4096
    " s1 I% N3 U8 L, @' Y9 k* }; o; U& I

  1681. 6 H& r/ t; C% G( n
  1682. ; Valid range 0 - 2147483647.  Default = 4096.4 S* f8 e( f: N5 u& V) t( t
  1683. ;mssql.textsize = 4096# V( q. S, e5 k

  1684. : ~) O$ t2 @9 ]* g
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    # U3 z& B1 [7 X- K& h8 D7 T4 d# y
  1686. ;mssql.batchsize = 0
    ; f/ T% V# Z) f: f! }

  1687. - u7 h3 i+ V: J8 L/ B! i3 X
  1688. ; Specify how datetime and datetim4 columns are returned
    4 K& ^: T6 E0 A- W0 M
  1689. ; On => Returns data converted to SQL server settings8 h2 U5 V- _! W0 B
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    2 E' N5 Q$ q7 W: N' D& W0 l: h
  1691. ;mssql.datetimeconvert = On
    * C7 [5 z9 @, |# h6 p, z

  1692. $ X& Q* Z: c! F2 e; R  l# o
  1693. ; Use NT authentication when connecting to the server3 F1 y9 U/ {+ M' [; s1 v
  1694. mssql.secure_connection = Off: ^5 J/ G) r/ o8 b( o2 l
  1695. , A+ C# _- G& P2 M' I
  1696. ; Specify max number of processes. -1 = library default
    % `! S* I; [& u
  1697. ; msdlib defaults to 256 W3 ~. E4 P  [0 A6 e* e' `
  1698. ; FreeTDS defaults to 40963 p: f3 x8 _1 j; ~  M
  1699. ;mssql.max_procs = -1' b; I  G8 V4 s2 K
  1700. 3 [3 H/ S, Y. _, s! q& Z5 s
  1701. ; Specify client character set.
    9 T: m' A; N" C: |
  1702. ; If empty or not set the client charset from freetds.conf is used: _  o) U( X) X, I) T, B" h% H
  1703. ; This is only used when compiled with FreeTDS
    $ T2 d4 G/ a, F) ^" \
  1704. ;mssql.charset = "ISO-8859-1"" `! e1 X8 n* ?/ T: t7 D
  1705. * b' H3 @+ T* l* j! N
  1706. [Assertion]+ b* m, O1 G0 s- v: C9 g
  1707. ; Assert(expr); active by default.+ v/ b! i7 I# \6 x4 P
  1708. ; http://php.net/assert.active
    . Y, b  J. C. d4 L6 N
  1709. ;assert.active = On2 K5 k( s4 T5 ?! M
  1710. 5 `5 M- ~' m" j, j! U, ]6 U* w
  1711. ; Issue a PHP warning for each failed assertion.
    / F8 y8 i) Q) W8 c/ C( Q7 B% H
  1712. ; http://php.net/assert.warning
    # o1 s; V) ]" j+ S4 U
  1713. ;assert.warning = On9 m( V9 v# Q2 x% z4 c
  1714. ( ^% y- `6 R5 v
  1715. ; Don't bail out by default./ A5 T; u/ k+ f! X
  1716. ; http://php.net/assert.bail
    / m& S6 V6 W8 D) @# J
  1717. ;assert.bail = Off
    - b) n: A3 b5 A: e0 M/ ]
  1718. : l" Y+ J, p3 r- Q
  1719. ; User-function to be called if an assertion fails.2 v/ j, r2 S$ K. ^( }
  1720. ; http://php.net/assert.callback( ]  G: B  r& S# ~
  1721. ;assert.callback = 0: [; y( X' s# k9 Q1 ?; c7 G
  1722. ; k* {8 _- m- R& N
  1723. ; Eval the expression with current error_reporting().  Set to true if you want& d! p( {4 x0 {+ p/ q" x8 C0 D
  1724. ; error_reporting(0) around the eval().2 O( Z: u+ D2 a7 a
  1725. ; http://php.net/assert.quiet-eval6 |+ S1 \) ^: j( |; H) f8 J
  1726. ;assert.quiet_eval = 02 X4 z$ b" e8 a6 ?. l- \( R

  1727. 8 `, Y& h( ^9 x0 O- A) |  N
  1728. [COM]. P( p% G& i5 Y
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs& v' ^6 o2 I) a8 Z+ n( c
  1730. ; http://php.net/com.typelib-file) C7 P/ Y) C$ {* \, L, y
  1731. ;com.typelib_file =
    3 O( }, w$ B, ^) Z6 |
  1732. 4 ~- H" w8 v5 @  J. g6 v6 F
  1733. ; allow Distributed-COM calls
    1 c- {3 b6 G9 L4 ^
  1734. ; http://php.net/com.allow-dcom
    6 }# S5 h* l1 ]
  1735. ;com.allow_dcom = true
    1 f/ Y, |, {8 @9 y/ M
  1736. - a+ D2 V- y9 s& o: k: U
  1737. ; autoregister constants of a components typlib on com_load()
    3 j* ^5 S' X' ]9 l" ~' P
  1738. ; http://php.net/com.autoregister-typelib7 t0 ^) ?0 i6 z/ Z
  1739. ;com.autoregister_typelib = true
    " w2 Q$ {! n2 p4 I

  1740. " P  l! q  q5 t, t
  1741. ; register constants casesensitive! _" y% D" g& T" z$ j
  1742. ; http://php.net/com.autoregister-casesensitive2 p8 Z' }3 g. l
  1743. ;com.autoregister_casesensitive = false* W* x  V( a' }1 g
  1744. 6 H. P% \9 z' b
  1745. ; show warnings on duplicate constant registrations5 k( @+ t' n% V7 m8 @
  1746. ; http://php.net/com.autoregister-verbose
    ( y2 V9 r" h1 h: h- x) ], [
  1747. ;com.autoregister_verbose = true# z1 P! B* k; y$ r+ t
  1748. " I( P) D. o5 ?9 ?0 U, M  j1 U
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    0 C8 [; l4 K  m8 b) c; S
  1750. ; Default: system ANSI code page. C- l( A- j8 c1 B
  1751. ;com.code_page=% L' X: h3 B0 I3 @; ~% h9 G. f

  1752. 7 _( [  \" n8 C6 f( N) M
  1753. [mbstring]
    4 b" V* ^7 R) @- K
  1754. ; language for internal character representation., B1 L  F( x  @. l, @  }
  1755. ; This affects mb_send_mail() and mbstrig.detect_order." l3 c2 k* y& j# }
  1756. ; http://php.net/mbstring.language
    1 G' N4 l* T4 u& {& B8 c2 i
  1757. ;mbstring.language = Japanese) }0 H. h+ }8 K

  1758. ) ~3 u. e$ N, B) k+ l
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 \: E0 _( L, T5 X" T
  1760. ; internal/script encoding.: m0 o  a$ O$ N, Z/ o
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    1 T, C8 y7 ]9 j- `8 O. I
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* {, r$ k- C% S$ f
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  @& k" J. z  y: v3 \5 w' r% l
  1764. ;mbstring.internal_encoding =
    4 o& i! D3 B; ^5 a& w$ a( I
  1765. ) T$ [3 \% Z$ l- d( B
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead., g+ K" ^- U( d& ^
  1767. ; http input encoding.
    8 o3 `' k$ q$ k: r
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.4 z8 i& L: i; ^2 ^* g& t$ l9 o  v
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.' x8 D9 h$ k8 B( y6 N$ X
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    + Q4 L# e( u1 K" _5 G5 o' V5 ~5 y
  1771. ; http://php.net/mbstring.http-input/ G( a) W% A* F2 n+ c
  1772. ;mbstring.http_input =/ \7 D3 {6 q/ W% J7 v4 _
  1773. . z/ P' a/ D( M  X$ B7 |
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
      g% `$ V& F  n7 g) P: m: v
  1775. ; http output encoding.
    1 K- X1 P0 g7 `8 y$ y+ c% c4 T% h
  1776. ; mb_output_handler must be registered as output buffer to function.; M. O  v1 G  o8 \) ~- J  d5 a1 V1 t# _
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    % c. A' `" ?- Q' v9 c
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    5 K0 _3 t+ h9 f8 K
  1779. ; To use an output encoding conversion, mbstring's output handler must be set& s' h: T" q2 a0 a! w
  1780. ; otherwise output encoding conversion cannot be performed.
    - k9 M" |! Q% c8 c/ d
  1781. ; http://php.net/mbstring.http-output
    2 R, s. f- u, |/ z. |4 `1 u
  1782. ;mbstring.http_output =5 z( @* t6 Z3 B/ F
  1783. + s6 e6 n1 N$ Q
  1784. ; enable automatic encoding translation according to; }" r; s; e2 @5 L! C( ~1 U" _3 \% H" v' b
  1785. ; mbstring.internal_encoding setting. Input chars are( L+ D) p( e) k' I1 r* u
  1786. ; converted to internal encoding by setting this to On.
    ; c& I3 z" ^4 z% D+ @1 {, \
  1787. ; Note: Do _not_ use automatic encoding translation for( R5 E( i. h( [6 @2 ~0 r
  1788. ;       portable libs/applications." E; U8 k3 t7 E) D3 d; {9 d
  1789. ; http://php.net/mbstring.encoding-translation
    " w2 v8 W+ t2 U
  1790. ;mbstring.encoding_translation = Off2 X9 a. K: v9 p- M, Z

  1791. # T* z% ^! n. w5 q3 Y8 V) U
  1792. ; automatic encoding detection order.
    4 B/ y2 U$ }9 u3 y7 g2 t0 u
  1793. ; "auto" detect order is changed according to mbstring.language
    9 _' Q& h9 P3 v+ s) i
  1794. ; http://php.net/mbstring.detect-order8 z& X$ }6 L2 f7 V1 j
  1795. ;mbstring.detect_order = auto$ @, F" l) @/ e1 i( i' s* G

  1796. ! w  }& S& N6 ^- |( E
  1797. ; substitute_character used when character cannot be converted( e2 s5 H6 z' W& w9 p) R5 g
  1798. ; one from another& F/ G4 m' z8 _
  1799. ; http://php.net/mbstring.substitute-character' M) i) r: f& e9 B6 v! ~( F
  1800. ;mbstring.substitute_character = none
    9 e- W, ]) z' H4 K
  1801. , q3 q: |3 ~' O9 l/ p' H( F
  1802. ; overload(replace) single byte functions by mbstring functions.
    / {1 r* }+ [# c1 |0 \' G! e
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % [" |: M5 c, ]* p9 l. G
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.9 i0 Y- \4 A2 r( ^; Z3 M
  1805. ; For example, 7 for overload everything.
    3 Z* B) @6 Y/ Z4 V+ u
  1806. ; 0: No overload
    6 T) d, q: {9 a9 k) c% X, u8 D
  1807. ; 1: Overload mail() function
    ; y0 T4 s% R6 w8 g- z
  1808. ; 2: Overload str*() functions0 P% r5 w% H: q/ Y$ j
  1809. ; 4: Overload ereg*() functions
    + P% J$ B# {5 V
  1810. ; http://php.net/mbstring.func-overload6 C) k) \' v  D) O' ~, {2 g
  1811. ;mbstring.func_overload = 0
    ' O$ T3 Q) [; K. ^
  1812. & v6 d3 C1 v/ ~) _# W
  1813. ; enable strict encoding detection.0 r! |- n8 X, J" t, w5 K2 J. U1 H
  1814. ; Default: Off
    * A, y' A* V$ u( [) l; z3 B
  1815. ;mbstring.strict_detection = On% V2 {* h  N$ `: \+ r$ y

  1816. ! |( a9 H' L$ m" R: O
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()) t$ f" q+ `% w1 A* Z) {
  1818. ; is activated.8 a! w5 {1 J2 `! ?8 U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( R; U* y' k0 ~0 L* H4 _. Q
  1820. ;mbstring.http_output_conv_mimetype=# G2 ?! ^; S! M/ t1 j, x
  1821. 4 G. N5 I! N! N/ k- |* c
  1822. [gd]+ n& V9 a6 T& r
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    3 e) Z* U; p- h2 C: S0 z9 u
  1824. ; a gd image. The warning will then be displayed as notices& T* ^; E, A2 I, Z6 J  I
  1825. ; disabled by default: l4 _/ b; [4 d* W6 D3 _
  1826. ; http://php.net/gd.jpeg-ignore-warning
    0 L4 B* W- _, B
  1827. ;gd.jpeg_ignore_warning = 0
    + ?' [6 ?+ n6 ^( G9 L

  1828. ! ~# G# E0 F3 W2 \+ T1 L
  1829. [exif]6 v% C2 O5 A0 f0 v
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    " |4 k& y& K  O( N7 n& o
  1831. ; With mbstring support this will automatically be converted into the encoding- k: m. }+ r4 E. d
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    0 R; ~! S/ a. P8 R# c9 t# r
  1833. ; is used. For the decode settings you can distinguish between motorola and
    & S. m2 O# i. z' X2 J: w4 G% l9 |$ b
  1834. ; intel byte order. A decode setting cannot be empty.
    : g! |  k9 k; l5 Y3 x6 Y& s1 l
  1835. ; http://php.net/exif.encode-unicode
    : l; D* s2 i7 D5 Y! Y$ ^
  1836. ;exif.encode_unicode = ISO-8859-15% c6 `2 ]! r# z

  1837. 5 |" E  y9 @3 z* Q0 T! C$ N, E
  1838. ; http://php.net/exif.decode-unicode-motorola
    7 n  F( H8 V+ M& U$ R; ?% `
  1839. ;exif.decode_unicode_motorola = UCS-2BE0 K* _; P. |' Y. _

  1840. # ^; A1 T7 }& p- I
  1841. ; http://php.net/exif.decode-unicode-intel
    0 T0 F/ I4 v3 k: e2 D6 k4 }
  1842. ;exif.decode_unicode_intel    = UCS-2LE0 r  F9 P: G, \) X: @9 }1 U# Y' V
  1843. & K! F- T6 i0 O
  1844. ; http://php.net/exif.encode-jis* M5 K4 J  l" X2 m. M
  1845. ;exif.encode_jis =% O9 d' c( ?, E
  1846.   y8 \  g8 \$ O9 L2 x
  1847. ; http://php.net/exif.decode-jis-motorola2 ^& }0 d9 H7 W6 W' c" y* j
  1848. ;exif.decode_jis_motorola = JIS- z% ^# W* H. [& ]: Q% Z
  1849. + s) I9 n5 p( ^, J5 K  `3 s
  1850. ; http://php.net/exif.decode-jis-intel
    9 I. |6 ^- s" y/ L" ?+ j) I
  1851. ;exif.decode_jis_intel    = JIS
    / J& e# B) ~; f; S8 O% N

  1852. 1 k# {9 r2 r$ u2 x" s, ~
  1853. [Tidy]  l$ S* @6 m9 \& K% I# e; p. D/ e
  1854. ; The path to a default tidy configuration file to use when using tidy0 X) e+ f' O- P
  1855. ; http://php.net/tidy.default-config3 c, L. c" V$ G
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg, ?* S. y6 `4 ~# @$ M5 a& D
  1857. ( Q/ r, B, |3 V, r9 t
  1858. ; Should tidy clean and repair output automatically?# [9 y4 t* P7 Y0 ?5 s2 k/ E
  1859. ; WARNING: Do not use this option if you are generating non-html content
    , {) H3 m' R  b1 F
  1860. ; such as dynamic images
    6 X6 U4 F0 Q9 C$ ^9 q) L* j% _
  1861. ; http://php.net/tidy.clean-output
    $ V, `1 @( L% [# f- [% h
  1862. tidy.clean_output = Off
    1 n/ r; B( y- f, ?# E9 s

  1863. ! _- f0 ^4 f, Q
  1864. [soap]2 D/ d# Q7 `, ?! p
  1865. ; Enables or disables WSDL caching feature.! K# b8 G7 [% L  V3 d; R
  1866. ; http://php.net/soap.wsdl-cache-enabled5 c* ]# d: F% E; n
  1867. soap.wsdl_cache_enabled=1. x0 j1 U0 s" Y. [6 F

  1868. ! m# ^' X$ y( Y# M8 S3 S" B
  1869. ; Sets the directory name where SOAP extension will put cache files.
    0 j. C: A6 z5 o! S: \
  1870. ; http://php.net/soap.wsdl-cache-dir/ v8 ^3 V+ K3 a* e7 C' l* Z
  1871. soap.wsdl_cache_dir="/tmp"
    6 m# k: {. G7 O( ^! l/ Z

  1872. 6 H# P$ Q9 n- i$ W5 {$ O
  1873. ; (time to live) Sets the number of second while cached file will be used/ I6 R; u+ @8 c: Q8 f. e. Y! c: G
  1874. ; instead of original one.; w. K& U2 g+ |' v3 j" c' O9 U
  1875. ; http://php.net/soap.wsdl-cache-ttl
    4 K: @, A+ f/ H# E
  1876. soap.wsdl_cache_ttl=86400
    ( s5 T9 h) C- O0 X2 a5 }" f

  1877. + n2 K( h" J. w
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& j2 Z$ v& ~9 }( s4 l, X, _9 M9 ]( t
  1879. soap.wsdl_cache_limit = 5
    5 Q0 f/ c7 |. }  N& X  P( \

  1880. 1 h/ I0 B( u: r4 C8 h
  1881. [sysvshm]
    2 ^/ N5 K- Q& t! G6 a
  1882. ; A default size of the shared memory segment( f; g9 i* \( e8 h8 B; `% E
  1883. ;sysvshm.init_mem = 10000
    7 ]* x9 @! Q' n$ J  |

  1884. ' g1 V$ p( ^9 b5 Q7 ?3 _0 P1 r" ?
  1885. [ldap]
    2 D0 O  \% P& Q4 t
  1886. ; Sets the maximum number of open links or -1 for unlimited.5 g% G: p4 P: S) H7 Z# j. }
  1887. ldap.max_links = -1
    4 S& q& E" y$ m4 ]: _# V/ Z

  1888. $ T1 P" A5 |! `/ f4 K- d1 W
  1889. [mcrypt]
    . J5 s0 U6 m9 V6 W) H6 a* j1 S
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open8 y) I- {$ A7 B( w' i

  1891. : x) ~) ?! ~# R, o! Q2 x
  1892. ; Directory where to load mcrypt algorithms) P$ T6 u& a# x9 y) d
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 o+ c+ f/ Z9 [* [4 m
  1894. ;mcrypt.algorithms_dir=# ^; L: V; K% f. Y9 O* p
  1895. ) ~& M0 [4 Y# v+ _
  1896. ; Directory where to load mcrypt modes1 `  f3 }# M. n, g, J' U' m( r
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 j. l) p' a6 V9 P2 \7 t7 u4 j7 K
  1898. ;mcrypt.modes_dir=. V  |3 B& x  X: y
  1899. # g% u( H7 a+ ?
  1900. [dba]
    $ H$ ?) @% G1 [  f
  1901. ;dba.default_handler=
    5 Q, H( }5 w1 J; y( M; W9 j
  1902. * f1 [; e  D: t. C
  1903. [opcache]: G1 g8 w  \) n' w( a+ D% z
  1904. ; Determines if Zend OPCache is enabled7 {; \6 T& _. }) r+ R, ~- ?
  1905. ;opcache.enable=0
    & S' Y; T7 a/ W" }1 h

  1906. 7 u9 A( d) X; W1 ~
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP4 P" K$ c* y4 ]
  1908. ;opcache.enable_cli=0
    1 Y. i8 A$ k; h8 U
  1909. 8 k& G! X$ C3 M7 t  B
  1910. ; The OPcache shared memory storage size.1 W8 x! u8 q; D" P7 K
  1911. ;opcache.memory_consumption=64
    9 K6 m" C4 d/ I# p) q. e  P

  1912. 9 ~7 Q' v1 R- s  g: N/ Y
  1913. ; The amount of memory for interned strings in Mbytes.8 Y; p; U0 l# `0 h
  1914. ;opcache.interned_strings_buffer=4
    / T. T; X6 i* Z
  1915. ( U2 r3 K- A! R6 }2 p
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.2 Z% P4 h2 i" w* b
  1917. ; Only numbers between 200 and 100000 are allowed.4 O: |, e- G8 r2 s
  1918. ;opcache.max_accelerated_files=2000
    ( @& ~: {7 I8 Q

  1919. ( H2 ^5 r2 W9 [
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.( V9 \. u- Q) Y8 }
  1921. ;opcache.max_wasted_percentage=58 {5 Q3 {7 A& B  V/ c
  1922. , b. l- Z7 D, b7 N. m6 \
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 u1 g3 b5 V6 M" I8 K8 b. V
  1924. ; directory to the script key, thus eliminating possible collisions between) a! F  j& g- e9 w+ R  ]+ Y
  1925. ; files with the same name (basename). Disabling the directive improves" j+ y1 Q; U2 u7 m5 g8 U) f( P
  1926. ; performance, but may break existing applications.. `  d% q3 |; T+ N6 W- m# B4 ]; D
  1927. ;opcache.use_cwd=1
    ) i& ~( b. M$ k$ i

  1928. / c  o" e2 f1 ?2 c) Y+ B4 O3 V
  1929. ; When disabled, you must reset the OPcache manually or restart the
    5 H8 A5 `" V4 v) Q1 n3 I: z
  1930. ; webserver for changes to the filesystem to take effect.
    : t- F' P7 Z- W6 I% K( w( [( @
  1931. ;opcache.validate_timestamps=1
    : f2 y% R+ e3 t! x" Y. T% k: A

  1932. / s2 k1 n" @$ n
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    & z- g& \% i& }, i  _+ K
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    7 C8 r/ M( B- F( ^
  1935. ; once per request. "0" means always validate)* I2 u) `7 \- `& @4 c+ o9 M% P
  1936. ;opcache.revalidate_freq=21 m6 q2 ?) z/ ~& q

  1937. ' v: o8 W& ?1 ^9 F3 \
  1938. ; Enables or disables file search in include_path optimization
    6 r: W% I3 ^& U0 E  @
  1939. ;opcache.revalidate_path=01 i" S% i9 F$ S4 c! Y) ?1 {7 V/ c
  1940. * f. h, W+ A1 R- z3 d1 B* t  z
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    2 Q6 ]3 K# I; K0 H: r
  1942. ; size of the optimized code.
    . g# R7 P" F# K; g5 m
  1943. ;opcache.save_comments=1
    2 e, [$ M" i2 Z

  1944. . f: h- M: B" q8 p& M. x
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
      b' l# l2 c" V' @( l
  1946. ; may be always stored (save_comments=1), but not loaded by applications
      _- s3 T! M3 f1 h- ?0 F& k( f8 K
  1947. ; that don't need them anyway.
    + N6 O7 Z. D( x
  1948. ;opcache.load_comments=1
    8 L. z6 l* Q8 @; x$ X

  1949. 2 R  B) U, V: a9 [* i! k1 q+ O
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code7 `. \; M9 A9 H) l8 {, U8 @
  1951. ;opcache.fast_shutdown=0% e. d5 ~# Y5 `  _$ ?7 n

  1952. 9 G% {; y7 [7 j% J" j
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    3 i7 D6 o' x4 Y! a6 \4 ]- b
  1954. ;opcache.enable_file_override=0) B$ a. R, O, s

  1955. - a6 Z# V; z4 x" x  b5 z8 X6 H
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 ]$ q) y- _( D: e! O7 c" g- a) Y
  1957. ; passes
    6 a' d+ f0 |6 [2 z" e
  1958. ;opcache.optimization_level=0xffffffff
    9 J/ F! C8 q5 U7 ^2 N3 T7 `, O
  1959. 6 F0 y+ L; K/ H1 _8 V3 [
  1960. ;opcache.inherited_hack=1
    7 R# P3 c# \: E4 t/ P& ~
  1961. ;opcache.dups_fix=0/ B8 u6 V6 |6 m% q. U

  1962. 6 o. \: l7 F0 Q- ~' t
  1963. ; The location of the OPcache blacklist file (wildcards allowed).0 i! i5 L" {8 j& {( ^
  1964. ; Each OPcache blacklist file is a text file that holds the names of files: `. q' w. q7 I9 j
  1965. ; that should not be accelerated. The file format is to add each filename
    & R8 t3 ~6 H: n
  1966. ; to a new line. The filename may be a full path or just a file prefix
    # O; p: `( P8 z. w' V, r  _
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    9 V, ^) y2 r, ]3 F2 d, S& ^
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).$ `/ ?- J$ D( w2 d
  1969. ;opcache.blacklist_filename=
    # x8 ^# J. Q" t- u1 M/ T
  1970. 5 e; {& @; b- f( J/ W* {& v" j% m
  1971. ; Allows exclusion of large files from being cached. By default all files2 S+ @9 Y' v7 G7 @2 z- \
  1972. ; are cached.2 `4 l  E9 h" L3 T- g
  1973. ;opcache.max_file_size=04 P# d4 @# W! h0 b* j- O. C

  1974. 3 k7 G- j( Z" e1 l* V+ C( q
  1975. ; Check the cache checksum each N requests.
    1 H, i+ A' D; @1 s8 ~, L
  1976. ; The default value of "0" means that the checks are disabled.$ |: _! C. Q  B
  1977. ;opcache.consistency_checks=0# K7 j9 _1 Q+ |9 r
  1978. 2 e8 U3 c$ {3 W$ Q1 K6 t+ Q$ q8 d
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    6 }7 ?, `8 K. Z7 s7 c$ Y
  1980. ; is not being accessed.0 x  H6 p4 ?! W
  1981. ;opcache.force_restart_timeout=1803 D% @! q) k5 z
  1982. + f( l/ r; ^. A1 o3 q  j# l6 n0 D# o
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    . c& I6 q5 ~6 t' I9 p3 ]5 T9 k
  1984. ;opcache.error_log=
    , x) y* [, F, V
  1985. + n+ D2 O2 q& t9 `0 _+ c
  1986. ; All OPcache errors go to the Web server log.1 j1 G% J& t+ w; y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 z2 `$ _# A/ j- o# B
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    " p7 n/ [  f4 l3 {- v# x
  1989. ; debug messages (level 4).
    % i' G- H" S+ r% u& g# {* O
  1990. ;opcache.log_verbosity_level=1
    # }7 S+ l1 T/ n- Z5 G+ m6 b
  1991. 3 n0 [# k: l( Y+ Z1 J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.& o8 u% Z3 s: i: {
  1993. ;opcache.preferred_memory_model=* s6 `8 O5 M0 [* _7 c

  1994. $ s, z) l# N1 q5 m7 w
  1995. ; Protect the shared memory from unexpected writing during script execution.
    0 a" M. V: L) l/ R+ r8 I9 T* x
  1996. ; Useful for internal debugging only.
    0 H* e% Y- R0 e" i8 y7 F
  1997. ;opcache.protect_memory=01 R' Q( t* m0 c
  1998. 1 O7 q0 a, J7 W# t9 E
  1999. ; Validate cached file permissions.
    7 C  Q, s: q& f* n) c$ Y# E
  2000. ; opcache.validate_permission=0+ G  t# o% i8 l6 d9 m6 A+ e/ y
  2001. % t; _/ @0 W3 C& U  {7 Y
  2002. ; Prevent name collisions in chroot'ed environment.. Z9 d, N: z0 b$ c  T
  2003. ; opcache.validate_root=0- F9 i: [! C  r) ~: }5 }: P/ C* Y

  2004. 1 o" Q0 l$ t+ O* P4 _+ v* x
  2005. [curl], T0 c4 D0 G. N
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & K; B2 p# l$ a& S
  2007. ; absolute path.9 c7 ~) \. g, ?) l
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt7 s# F6 B7 z* Q

  2009. + x5 ~3 D4 T  D' T& [
  2010. [openssl]
    5 \3 r+ `( D; W. B
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem$ U; q9 c  S* K6 i- W* J
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ( z; O, Z# h8 {8 y9 z  _2 E% h
  2013. ; not specify a value for this directive as PHP will attempt to use the& w6 S3 B1 R+ o* p/ y9 k! }/ U
  2014. ; OS-managed cert stores in its absence. If specified, this value may still; A" ?/ c/ f/ `3 S" [! }, K4 P8 ~
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    : \. n0 s( o0 h5 S; N& }) p
  2016. ; option., }+ m- v; O7 W, t5 t3 y' t
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 `/ T3 E$ M1 a1 z2 E
  2018. ( s8 w4 \: U3 S# u" H& e2 k
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    . T; X1 S0 V; t6 k0 @
  2020. ; directory pointed to by openssl.capath is searched for a suitable, h: o5 x' |# q* S( i) Y3 @! g; m
  2021. ; certificate. This value must be a correctly hashed certificate directory.
      ^( M1 i3 L' ]) J) J5 O4 e
  2022. ; Most users should not specify a value for this directive as PHP will
    3 R* V* S6 ~+ n/ ?; P
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,( k5 W' f/ ]+ m! i
  2024. ; this value may still be overridden on a per-stream basis via the "capath"9 J9 [, w9 B9 E$ E& n
  2025. ; SSL stream context option.* A. p$ E" P) B- l9 @
  2026. ;openssl.capath=
    & n% w  g$ O8 p8 b- `
  2027. : M9 C* N  j) d  e
  2028. ; Local Variables:9 H9 \, B% B  G5 Q8 f- r# S
  2029. ; tab-width: 4
    3 L$ ?6 h. _$ N& B) E* w' u1 j! N
  2030. ; End:
    0 H. G8 z4 D8 p* d" g

  2031. ; K! {' g$ C$ y! Y8 A
  2032. ;eaccelerator  Z# M3 e: b+ x: z1 \9 ^
  2033. ; ?! r5 u# w, `  c
  2034. ;ionCube
    8 p, ]8 \7 g& J- M' P6 K1 @

  2035. 9 n' o0 W. H% `
  2036. ;opcache* H& Z* b, ]$ @. o; U/ F
  2037. 3 _, f* l- I4 Q8 C0 W* V) E
  2038. [Zend ZendGuard Loader]
    % e. O# \: s2 v
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . H3 L# p+ n: f" G
  2040. zend_loader.enable=1
    * c: i2 L7 s# E, B5 ^- Z
  2041. zend_loader.disable_licensing=0, {+ ~+ ~5 u# y$ L8 |
  2042. zend_loader.obfuscation_level_support=3
    % H, X  ~' I; L5 r
  2043. zend_loader.license_path=. K# r4 U  W2 t! }. P8 J; j) i
  2044. / S7 J& t% {, O9 H+ y3 {. x- ]
  2045. ;xcache/ l8 }1 t$ _' }$ A/ L
  2046. " T3 h& L. `: X+ l9 `
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146923 |: o) O  a6 A4 z) x# W* z

! G  i, L' x: Z9 L
, ~/ U" t' w/ m* K4 U1 dDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
2 H9 Z* b  d( D: X; `" e# k
# J. g. V3 Y2 Y3 B8 xDiscuz!程序版本选择:4 _3 `) q9 ^1 ?* N* ?
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,  \. J- O+ n# a; S* L% C
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:, b7 D# Y7 x* w' x, H( Z( F* G
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。
8 h9 r6 e8 x8 a4 u/ g3 ?/ U; ]1 \( M, h& R! h/ u2 Z6 w
Discuz!插件模板版本选择:# k* S$ M1 o' U! u
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面," }* @% Q3 M! x# q
针对这个问题做个统一的普及:
( E4 _% Z' h3 O; P8 BX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。7 w" m- }- T* O& E2 S% w4 X  j& g

7 T$ y; s1 z5 M# P% _所以
+ K0 U2 o0 S6 ~& l3 x3 \4 ]. N4 P适合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的二级域名。
! d: h" U/ r# O1 D( q5 A打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
: ~$ b: ?( k# A6 u注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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