分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
0 r) |6 ?% k& M# h7 x$ ?5 c/ x
+ I: ^3 S7 [! j  W
  1. [PHP]
    3 y3 \( t% {( ^4 |  x

  2. 8 H% V+ }& b1 d" e
  3. ;;;;;;;;;;;;;;;;;;;  d( e. Y* M2 Q' d( U
  4. ; About php.ini   ;
    , X7 O, D9 E4 c' f5 G
  5. ;;;;;;;;;;;;;;;;;;;  o( w4 l- b: n0 u: h2 {
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : j, w/ X; `& l7 N
  7. ; configuring many of the aspects of PHP's behavior.
    4 i) k  c  F6 x

  8. 1 g* x" `7 x' d2 B5 N6 t
  9. ; PHP attempts to find and load this configuration from a number of locations.
    " c8 X0 U" r# o3 E; d
  10. ; The following is a summary of its search order:0 z: x2 g1 n. ^+ a6 z2 v
  11. ; 1. SAPI module specific location.1 S1 O7 v( L1 P" H$ _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    8 q4 ]. k2 T' I& s0 l
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    : }; f; x0 k( I2 W1 e5 V
  14. ; 4. Current working directory (except CLI)6 E; Q0 @: h2 g1 s7 B8 ?+ j
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( j2 W1 c) _1 E  ~7 M
  16. ; (otherwise in Windows)
    ) o  j9 i( z$ O8 Z6 q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    % c2 f) P: ?1 c$ ~6 d/ h% E
  18. ; Windows directory (C:\windows or C:\winnt)
    9 o3 h" W# i2 V* Y; O. a4 {7 I
  19. ; See the PHP docs for more specific information.
    ) v3 t0 Q9 J- [
  20. ; http://php.net/configuration.file$ B" k5 k3 g5 C  n% Y4 Q: v3 V
  21. ' V/ u4 D4 I2 Y. }! @
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    7 i7 O. V1 E3 ^6 X, F: J4 P2 C
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).5 s0 V  S% ?" p" f7 W3 c$ Z& W/ w
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    / e$ k# T1 }# q4 k6 m) K( p0 k* _
  25. ; they might mean something in the future., ]6 `- U; N8 V$ Q( Y: D  ~. R
  26. 1 E8 A; x# J! o0 \- [4 J5 x8 V
  27. ; Directives following the section heading [PATH=/www/mysite] only3 w3 n) o# o7 T8 N" s7 R
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    1 O6 e  O+ L5 m7 z  u: @. ]0 x
  29. ; following the section heading [HOST=www.example.com] only apply to
    - o- {0 b& m& c; l% R8 \
  30. ; PHP files served from www.example.com.  Directives set in these8 u- }$ }8 M$ `3 `5 s; k
  31. ; special sections cannot be overridden by user-defined INI files or
      z  K/ Z9 M/ o  l$ u* t8 P& k
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : N& z6 t: L9 O8 p- J' F& [; J
  33. ; CGI/FastCGI.
    ( \" u5 i! r8 J5 |4 A% h
  34. ; http://php.net/ini.sections. V; D" R; |4 ?  M# `
  35. & R  n: Q: [: n7 |6 ~0 a- i5 N
  36. ; Directives are specified using the following syntax:# I1 N9 z* {' F4 f; t' {9 x6 [! p; u
  37. ; directive = value
    9 X. O/ J; ^8 g
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 M8 C" l2 f* y  m
  39. ; Directives are variables used to configure PHP or PHP extensions.
    2 x9 ]) t- b9 K
  40. ; There is no name validation.  If PHP can't find an expected1 y, c- b# W0 O8 F; f  g8 ?
  41. ; directive because it is not set or is mistyped, a default value will be used.. h& J6 C5 u( E8 U# v3 ?6 L
  42. / ]+ u4 D" }$ p# i3 I; w. m. G! e
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one( \4 y9 {+ `" e( o& S1 [$ j3 p
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    . F; U, d# b' K$ ?$ e: J9 X+ R3 G
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! D# N, t+ d$ j$ w3 ?! E
  46. ; previously set variable or directive (e.g. ${foo})5 d, f/ v! a. b

  47. & X# x) V/ X6 W6 Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 e. V8 q; \6 R& S( O. F+ w4 ?
  49. ; |  bitwise OR3 l2 g  A3 u6 w4 K8 w( z& {+ t5 a3 y  a
  50. ; ^  bitwise XOR
    0 {  A# r) m) y  o6 t! E3 T3 O) {
  51. ; &  bitwise AND
    ) n* L" T, `* g8 ^. ]" e
  52. ; ~  bitwise NOT
    / i  V3 j" P: H
  53. ; !  boolean NOT5 J5 q1 q, y) n4 j0 s" D
  54. 2 E' g) I3 F1 Z4 \! ^9 Y, v% B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      q# a/ R2 m" o% r0 i& O: l
  56. ; They can be turned off using the values 0, Off, False or No.
    , L3 i2 p) A1 H' P! H

  57. 5 N/ M5 y& B% o/ Q" b5 X; I. i
  58. ; An empty string can be denoted by simply not writing anything after the equal
    , E! p8 y5 G3 f0 w
  59. ; sign, or by using the None keyword:
    & C' Q* `! X: m) q/ w2 ?6 F+ ?

  60. ( U$ J4 {0 t( Z' k; m
  61. ;  foo =         ; sets foo to an empty string% t! d6 e5 m. j2 ^& e! l4 O8 r
  62. ;  foo = None    ; sets foo to an empty string" V& i- G! H; E" q2 ^4 S- C* r
  63. ;  foo = "None"  ; sets foo to the string 'None'5 i! P  v0 j1 A$ k: C! @

  64. 1 X# h2 z, y0 P; N
  65. ; If you use constants in your value, and these constants belong to a/ C2 B8 V- X) H, K0 K% D) Y. d
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& b" J+ T. z* \+ D8 y, e3 q4 g
  67. ; you may only use these constants *after* the line that loads the extension.
    5 M3 |) v: c2 l! B
  68. - H) K# [/ {# [2 S3 ?* u
  69. ;;;;;;;;;;;;;;;;;;;2 A$ r' M# D3 S* L
  70. ; About this file ;( q# u5 b% G8 ~! E* l. c- @% J6 e
  71. ;;;;;;;;;;;;;;;;;;;
    ; b& H8 E: D7 R
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    6 Y7 _3 Q/ g' }/ s3 D
  73. ; in production environments and one that is recommended to be used in
    $ d/ \( H2 X. F
  74. ; development environments.2 `! w2 |2 B2 I& f5 d" C) D5 G

  75. 2 i$ B/ V1 e( c4 V6 ~9 B
  76. ; php.ini-production contains settings which hold security, performance and
    7 q/ S: O* l) q% N/ H
  77. ; best practices at its core. But please be aware, these settings may break. g+ M# m, O1 e8 S& _
  78. ; compatibility with older or less security conscience applications. We. ~; Z7 u! Q9 ~5 ?& E# G
  79. ; recommending using the production ini in production and testing environments.1 {7 D5 o( l1 W9 `$ ^" e% v0 ]
  80. ( c9 p$ z8 s/ q; [8 e/ s9 L$ \7 Z
  81. ; php.ini-development is very similar to its production variant, except it is
    & F* t& u# H1 ^; }9 p
  82. ; much more verbose when it comes to errors. We recommend using the
    ; Y+ X- n; \  U, @3 c6 Y! U
  83. ; development version only in development environments, as errors shown to8 u4 B" ^2 p2 R
  84. ; application users can inadvertently leak otherwise secure information.
    2 j! B. B+ O% Y  H, ?6 x& T1 R. l# s
  85. * S4 Q( t1 n& _' N9 H2 M& I5 S+ l, B
  86. ; This is php.ini-production INI file.
    . r6 n6 X! T5 R/ J5 f

  87. $ s# C2 c& m  X8 c7 Q0 F
  88. ;;;;;;;;;;;;;;;;;;;* b: d) g- o# \
  89. ; Quick Reference ;
    0 Q( H! {8 s! y+ Q5 \. L9 H- o, w
  90. ;;;;;;;;;;;;;;;;;;;! ^( U2 e/ e: X  C5 B6 x
  91. ; The following are all the settings which are different in either the production6 Q/ G- d' Z) _) K" a
  92. ; or development versions of the INIs with respect to PHP's default behavior.+ U9 w# K% c3 g
  93. ; Please see the actual settings later in the document for more details as to why
    * D1 U) n- K# N/ N
  94. ; we recommend these changes in PHP's behavior.9 ^: o, `6 V. L

  95. 6 b" B3 [9 M; W  z: I+ F& W
  96. ; display_errors8 ?8 e6 w2 i3 z' P. T1 g& X4 s
  97. ;   Default Value: On
    ( `7 H( Y3 _9 [" G( |8 F- C
  98. ;   Development Value: On& X  w% s9 q; d( H/ h+ R9 z
  99. ;   Production Value: Off8 f, B, x7 F8 x2 S' b$ ~2 P, F3 n& p

  100. # J. n0 i/ ^0 q3 O( \
  101. ; display_startup_errors
    0 x4 V2 V5 B& m3 w
  102. ;   Default Value: Off4 l6 @. n! }( c' o% Z
  103. ;   Development Value: On
    0 a7 f$ l" p  m+ k& P
  104. ;   Production Value: Off
    & h" O+ j% L* j& B. n  N* N
  105. 5 t) u! V. C0 a- q+ q# Z* Z
  106. ; error_reporting
    * D* m# O3 O# y2 y/ ~( f+ G- H
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 O: \1 O% N5 v
  108. ;   Development Value: E_ALL
    + }, t" X* p+ {# s
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& E8 \) H4 `4 Y" c; i8 u: u/ m
  110. ' l2 m- d6 E: l- u6 ^
  111. ; html_errors2 O1 k; Q: U0 ^+ Y; V9 G; |2 Z
  112. ;   Default Value: On
    / [! n) D& h0 i( s# ^; [6 N% z
  113. ;   Development Value: On
    & l% S* K9 n; l2 u0 |1 h- X0 R
  114. ;   Production value: On
    4 X% q5 x" t! G5 ?/ n# o0 c1 v

  115. ; i4 t8 g. d) t) j3 ?1 `
  116. ; log_errors
    9 Z: n6 N$ A' k) }4 D+ N6 [4 G/ s5 f
  117. ;   Default Value: Off
    9 r% P/ T' C7 B& U( L1 s
  118. ;   Development Value: On4 G5 v) y% [4 l, ~; B0 j2 ^7 o& T7 w0 z
  119. ;   Production Value: On
    4 T1 N0 V! F% ~0 P: l9 @# f

  120. - A$ n( m, T6 {6 m
  121. ; max_input_time2 g4 D7 L+ `) ~: F8 m
  122. ;   Default Value: -1 (Unlimited)
    / M/ q# O  ~0 c
  123. ;   Development Value: 60 (60 seconds)9 P3 Y$ W( f: B/ q. P
  124. ;   Production Value: 60 (60 seconds)
    1 O+ d: f% D: s1 X0 Z

  125. 5 v% w" [6 I+ G: w
  126. ; output_buffering
    ( P& h; A6 f) k" X
  127. ;   Default Value: Off
    5 Q4 j4 T: p2 I8 x4 f$ n* g1 c7 u
  128. ;   Development Value: 40961 A4 \& T4 |2 ~) j, m* F5 `
  129. ;   Production Value: 4096
      |9 W; b4 @/ E  \

  130. * c! N, s0 ]" o# j- Z/ Y# a
  131. ; register_argc_argv
    + u# I/ @* f$ P, `6 w8 [) b
  132. ;   Default Value: On% @" X; h( c$ y3 s3 L
  133. ;   Development Value: Off
    & U. W+ W5 K# {2 \( ^( _
  134. ;   Production Value: Off
    3 F! [4 J$ E, ~2 _
  135. 1 e4 C, t8 \. B! e; {; D& R
  136. ; request_order
    ' g5 w  C( c8 j, ?! k
  137. ;   Default Value: None
    4 g4 n6 n, f. h4 u
  138. ;   Development Value: "GP"& g- H7 h9 y6 U% f1 j5 B8 ^
  139. ;   Production Value: "GP"
    : V* ]; q& n2 K3 J! X  u, w

  140. + I* }$ [4 }9 w
  141. ; session.gc_divisor; {/ I& K! Q! |( E
  142. ;   Default Value: 100
    0 Y7 V, ]6 A/ {
  143. ;   Development Value: 1000
    6 D  y( p0 F' v1 w
  144. ;   Production Value: 1000
    & T- s/ t- x# U& g8 E9 T

  145. - ]2 u) H! K. S2 U+ O7 U
  146. ; session.hash_bits_per_character
    # m" o  K, J1 \$ w1 w
  147. ;   Default Value: 4
    4 t/ I: X' [( c- p0 o" y0 J& U$ u# P
  148. ;   Development Value: 5
    3 T. |7 g1 |' N; G
  149. ;   Production Value: 5
    0 d4 I; z7 U3 o0 I- S8 O" n
  150. ' \9 p3 S1 [& T: ?0 J! h" z
  151. ; short_open_tag
    ; {* T  ^1 \& R7 F3 L5 T
  152. ;   Default Value: On
    : X" ~' D' U2 ^4 H- U
  153. ;   Development Value: Off
    . Z9 I: K; K% D  @: g5 N8 r
  154. ;   Production Value: Off
    & P( \. U9 d1 r+ {! D% n7 j
  155. : B8 _) i, U5 p; W2 d
  156. ; track_errors
    8 ]7 `9 J( K  m' ~
  157. ;   Default Value: Off$ }# Q( M9 x( E. Q" v) b
  158. ;   Development Value: On
    2 ^% m# t- \5 A, k
  159. ;   Production Value: Off5 N1 W7 F4 ?; v1 g
  160. 4 u" v  `' t- m# A. u3 j8 w
  161. ; url_rewriter.tags
    2 K0 p  r3 ?6 }" q- a( [% k
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( r- q0 }8 t! S/ G+ r, j: D7 Z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      g7 w: V& w% i0 x% _+ N/ a6 l
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# h" W, {7 D/ A5 ~8 t$ g; ^1 C! Z

  165. 5 u% m+ N+ D) [! e6 Q
  166. ; variables_order
    # _* ]) n1 m; H* X4 y& @( d4 x; z
  167. ;   Default Value: "EGPCS"
    * g: [) v4 J0 F+ G
  168. ;   Development Value: "GPCS", p: p( K4 @  |5 F2 I- |3 j
  169. ;   Production Value: "GPCS"5 |; H) ~$ L2 z+ q4 S- _8 V# U/ k

  170. % F0 k' ?  k) K4 V" _1 M) _
  171. ;;;;;;;;;;;;;;;;;;;;
    3 s/ J0 n( ^( V8 g2 |8 i
  172. ; php.ini Options  ;; o) Q! e! Y4 z
  173. ;;;;;;;;;;;;;;;;;;;;
    . Z9 w5 i' t7 H' B1 h
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + F) Y1 A8 G- Q. J
  175. ;user_ini.filename = ".user.ini"
    , K8 F) ~) Z; H, E. A- p% c, Z

  176. 3 C* T% |0 ~/ X/ ^6 b/ e4 S
  177. ; To disable this feature set this option to empty value" w2 O6 {& u9 H* P7 n9 c
  178. ;user_ini.filename =& c6 t+ N" X* M$ {' E. ^& I6 S/ [
  179. 7 U$ @7 d" @: K5 i1 U4 h
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! l+ r/ R. R( M9 P4 W5 A
  181. ;user_ini.cache_ttl = 300
    4 m/ @8 p' M: }" F  q

  182. - G: n/ ~/ k, }" B
  183. ;;;;;;;;;;;;;;;;;;;;, w9 v* V( c+ Q( k+ `
  184. ; Language Options ;7 x, f% B9 Y7 ]( B0 D- s$ i
  185. ;;;;;;;;;;;;;;;;;;;;3 D1 n) k% f  p4 J, c  \: V( }/ M5 \
  186. " d' {% ~5 D9 L8 l
  187. ; Enable the PHP scripting language engine under Apache.6 v/ r" N* n( P& U) R
  188. ; http://php.net/engine
      j8 n3 v. [  ?$ T8 U5 ~, k- ^* r
  189. engine = On8 a* T3 @) ^. O5 r( _
  190. 4 s6 H& t' U. a+ o, P
  191. ; This directive determines whether or not PHP will recognize code between/ Y) M8 C8 v% f5 G4 e6 N0 V% z
  192. ; <? and ?> tags as PHP source which should be processed as such. It is: z, i4 h5 Y- t6 `, E; }, z
  193. ; generally recommended that <?php and ?> should be used and that this feature
      m; e' Y4 n2 c% P
  194. ; should be disabled, as enabling it may result in issues when generating XML- n9 {8 N; p+ w4 c' f* _/ A
  195. ; documents, however this remains supported for backward compatibility reasons.$ E/ l/ H" z# N2 s
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ! P/ o) v; F! l
  197. ; used regardless of this directive.3 ]. ]- B# L. m1 H( Y% [
  198. ; Default Value: On; h: e$ d# ?, y& ?- M) x$ ~3 g
  199. ; Development Value: Off. X8 L5 i: \2 c* N4 {0 S3 k
  200. ; Production Value: Off% s7 s7 m& z0 h6 Y! M  x) g+ W
  201. ; http://php.net/short-open-tag- ^6 D5 a0 w: V' w* E4 h4 l
  202. short_open_tag = On
    2 ]4 D& k$ o+ {2 _
  203.   r) t, \" r. T! ?' j
  204. ; The number of significant digits displayed in floating point numbers.+ `. u; P; U. g
  205. ; http://php.net/precision7 ?% I9 O* m. v
  206. precision = 14  A! D1 j( C6 g5 r& L

  207. % `* K  P; g. r' l! k
  208. ; Output buffering is a mechanism for controlling how much output data
    * D' }8 A) ?' d# P+ x& G
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that6 k8 i2 |. N. B5 A; o, v, ?/ d$ }
  210. ; data to the client. If your application's output exceeds this setting, PHP( B& }+ W" K" r5 q2 \: a
  211. ; will send that data in chunks of roughly the size you specify.
    # X" E; q! _: m% I5 G
  212. ; Turning on this setting and managing its maximum buffer size can yield some: P& |+ c) h1 ^! V; v; }
  213. ; interesting side-effects depending on your application and web server.7 r6 @, W" |# V4 Z  M
  214. ; You may be able to send headers and cookies after you've already sent output
    2 E% m- R3 J( U
  215. ; through print or echo. You also may see performance benefits if your server is
    9 Y8 i3 I) z( a7 k! m. o/ t
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    1 q4 i. G% O5 A7 }
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance* ~3 ]- X! L* Q: R: ?
  218. ; reasons.8 b: P! y) }3 X* g+ R3 V
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( @' S0 y8 d6 j# f3 C  R
  220. ;   functions.
    / n1 K9 a: A/ r/ _( U
  221. ; Possible Values:$ Z0 B7 j. c. S# Z) y1 a9 D4 w+ r
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)  l4 b9 q  D7 i/ i% \
  223. ;   Off = Disabled
    + T. d, g7 K2 w+ s; a9 n
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( s: Y% W$ H! k
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI6 R8 X+ f! x  o; V. K
  226. ; Default Value: Off7 \- w% h  Z6 T  j2 ^0 [8 r
  227. ; Development Value: 4096' X. ?$ Q% T! l/ H& d
  228. ; Production Value: 4096: {- _0 v- h( K0 V7 Q) W2 r
  229. ; http://php.net/output-buffering
    ) U* y) z1 j3 o3 m7 `- e
  230. output_buffering = 4096( G& q  C7 u1 e) i# [4 ]
  231. 9 w. B! T$ z* R! S) n$ Q( r
  232. ; You can redirect all of the output of your scripts to a function.  For1 E6 U3 c" x" O& ^
  233. ; example, if you set output_handler to "mb_output_handler", character8 O$ o/ w5 @  P9 c( e
  234. ; encoding will be transparently converted to the specified encoding." j% q4 ~) f& @- X$ M+ E+ [3 ~
  235. ; Setting any output handler automatically turns on output buffering.
    7 [- w/ r1 k. p3 O8 g
  236. ; Note: People who wrote portable scripts should not depend on this ini8 q' F* ~3 a6 Z3 c
  237. ;   directive. Instead, explicitly set the output handler using ob_start()./ D1 h; u1 B9 S, v" T2 e! v3 Y
  238. ;   Using this ini directive may cause problems unless you know what script
    + Y( i6 U5 [! I, a$ ]; H
  239. ;   is doing.
    7 Y3 N3 z' H3 g6 a& H# T5 G6 d' w
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    7 R* C$ \4 s7 o# L2 Z) s  _3 C( r- V
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".3 E+ g" s8 B2 Q1 }! w3 ?, h
  242. ; Note: output_handler must be empty if this is set 'On' !!!!5 q! Y2 A- i8 `, ]* S# C1 H
  243. ;   Instead you must use zlib.output_handler.. n) E8 a* ?0 e3 j# G1 d( `$ l- ?
  244. ; http://php.net/output-handler
    ; S( A0 S8 r0 E
  245. ;output_handler =
    " [0 ]  g" \( p

  246. : G+ z2 u: ]9 [2 L
  247. ; Transparent output compression using the zlib library
    ) T3 l7 \8 ^2 j2 }
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; H+ `6 P7 P6 `4 O
  249. ; to be used for compression (default is 4KB)
    ( a! ~- o$ E: H1 L% \) a% ^' ~) i
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    : Z( P$ O! k& Q5 M. a
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    " i! h- l! w! Q! ~9 ~# s7 l6 Y
  252. ;   compression. If you prefer a larger chunk size for better) B: R  Z8 E" Y/ Y/ t
  253. ;   performance, enable output_buffering in addition.! w; R: e3 e2 {& [
  254. ; Note: You need to use zlib.output_handler instead of the standard/ I; k; C+ R. F
  255. ;   output_handler, or otherwise the output will be corrupted.
    1 j4 {2 F: G$ l% x8 s0 P% b
  256. ; http://php.net/zlib.output-compression, q4 R9 b7 d" }% B! _3 t
  257. zlib.output_compression = Off3 H+ @8 |% |1 f  n7 k8 M
  258. 3 j1 ~- G3 o$ q  j+ K
  259. ; http://php.net/zlib.output-compression-level' z/ W( [$ @7 ?  K6 Z; g
  260. ;zlib.output_compression_level = -1
    % ?1 ]5 s( o# ?
  261. 1 G1 S% T5 f9 Y0 Z
  262. ; You cannot specify additional output handlers if zlib.output_compression
    + c' e% e2 J/ S, f" r3 q2 c* }
  263. ; is activated here. This setting does the same as output_handler but in
    " B( d% s5 j) }. t+ N, v$ x
  264. ; a different order.
    3 e: _& U' l9 `& E3 ]9 ?
  265. ; http://php.net/zlib.output-handler
    3 i9 s& I: e( m0 h+ C! M" S% I
  266. ;zlib.output_handler =- P' X$ k' g+ b2 H2 |

  267. $ v; o3 E0 ?4 p/ N# z7 x
  268. ; Implicit flush tells PHP to tell the output layer to flush itself  [* X# Y3 v: }
  269. ; automatically after every output block.  This is equivalent to calling the
    ' e; F: Z; N1 M# x1 d
  270. ; PHP function flush() after each and every call to print() or echo() and each
    4 d& g8 X  M8 f8 @3 ]$ w
  271. ; and every HTML block.  Turning this option on has serious performance% ^9 f, ]7 R5 G" W) m
  272. ; implications and is generally recommended for debugging purposes only.  p, W. l1 {( m# L
  273. ; http://php.net/implicit-flush" D8 K4 j: T6 \7 w/ {5 e
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 {2 [+ R: L) Y8 A; I
  275. implicit_flush = Off+ I+ w7 n6 }' G

  276.   k/ B3 H: l& X% z* y' q; _! i2 o
  277. ; The unserialize callback function will be called (with the undefined class'
    1 }* y. ^/ A1 z6 ~5 Y& C- b1 m/ ?
  278. ; name as parameter), if the unserializer finds an undefined class0 r# z: L4 t1 x$ W: l" }9 k6 b
  279. ; which should be instantiated. A warning appears if the specified function is
    5 k9 j$ i+ ?0 R) Q1 J+ X6 A
  280. ; not defined, or if the function doesn't include/implement the missing class.3 S1 `$ C, w( i6 L
  281. ; So only set this entry, if you really want to implement such a
    2 r& ]7 r& G, T1 V
  282. ; callback-function.
    0 C: b  i1 A/ P# ?
  283. unserialize_callback_func =
    $ p& |# p3 ~- |" {( E5 T
  284. & w; l. f+ w7 [6 X0 o' u* q4 z
  285. ; When floats & doubles are serialized store serialize_precision significant
    9 M' {% `  e) x4 R& @
  286. ; digits after the floating point. The default value ensures that when floats3 k/ D. }; K, _. y& L
  287. ; are decoded with unserialize, the data will remain the same." G6 ^- \* r9 P6 d! e) i
  288. serialize_precision = 17+ Q' s' ]) d$ A8 c
  289. 8 Y1 w& I% y+ i' F
  290. ; open_basedir, if set, limits all file operations to the defined directory
    , a9 {, x  [6 y* P& W1 o
  291. ; and below.  This directive makes most sense if used in a per-directory! @% F' i0 v: m# b+ y+ R$ Y
  292. ; or per-virtualhost web server configuration file.
    ' K) P8 e2 y8 c
  293. ; http://php.net/open-basedir
    & @& {7 H8 y1 N
  294. ;open_basedir =4 e: n6 `) b5 P/ k' k

  295. 8 M1 [% }' b: @" W0 e# ~5 H; w
  296. ; This directive allows you to disable certain functions for security reasons.
    - v* y$ v  j2 Y/ E+ m7 X( E- r8 l
  297. ; It receives a comma-delimited list of function names.
    6 S1 b2 A" H; `2 q: F+ t
  298. ; http://php.net/disable-functions
    0 j" Q1 [8 t  j% @( |+ U
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru4 x4 ~9 H* [1 x0 L/ @+ P4 D# H, J

  300. ' n* x2 \# f6 w+ K
  301. ; This directive allows you to disable certain classes for security reasons.; a- K/ h# [* I  T; H
  302. ; It receives a comma-delimited list of class names.: l& a. W$ t" P! s
  303. ; http://php.net/disable-classes$ x' a' e, N6 u! t% X
  304. disable_classes =" L; A5 H: v5 A; x0 x7 A
  305. / J* u! k# p0 y* S
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 T$ d6 ~* B( n  x
  307. ; <span style="color: ???????"> would work.
    7 e! M6 P$ e  l
  308. ; http://php.net/syntax-highlighting
    6 b' `( m( W% M' }! ], _5 g
  309. ;highlight.string  = #DD00007 p3 A" W: R! `& ^
  310. ;highlight.comment = #FF9900
    * Z; t. P+ v, T! M" o, Q2 y; S" v
  311. ;highlight.keyword = #007700
    - y: z) W4 A: g6 s1 L
  312. ;highlight.default = #0000BB* @/ n4 V5 p3 k: E  K3 x7 X- f
  313. ;highlight.html    = #000000
    * C6 \2 R" o" \" P2 a9 r; C

  314. 4 g9 z9 Y" i1 u) G8 J
  315. ; If enabled, the request will be allowed to complete even if the user aborts! h/ |# q; X: E9 q
  316. ; the request. Consider enabling it if executing long requests, which may end up
    : k5 p; L9 E- h5 I8 J% U2 X7 @
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 O; J9 \4 @' t  @/ X" b3 i
  318. ; is to disable this feature.
    . t$ j5 u) \: Q9 t" K
  319. ; http://php.net/ignore-user-abort7 ^, ?  J' `% E3 a% J! B
  320. ;ignore_user_abort = On9 `! J4 N6 w" U: i$ W

  321. / y. u8 F" h) t' F
  322. ; Determines the size of the realpath cache to be used by PHP. This value should: s- v# u& m8 F& `; u
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ E# ]9 e! c2 a  [! D
  324. ; the file operations performed.
    # b. n7 l, B/ U1 P: q
  325. ; http://php.net/realpath-cache-size
    5 T2 H: F% r7 I/ |3 u8 v# y  w$ s
  326. ;realpath_cache_size = 4096k
    & F- c6 u) V, A2 c% v3 L2 X; u
  327.   l) H& Z; ?$ t: x8 r& l
  328. ; Duration of time, in seconds for which to cache realpath information for a given0 B2 F. g3 }) j. D* y+ F0 j
  329. ; file or directory. For systems with rarely changing files, consider increasing this. f, j, X9 b' d( A
  330. ; value.# t+ F2 \8 l$ V2 L% |
  331. ; http://php.net/realpath-cache-ttl6 e; V+ [6 o8 [3 x9 J( V
  332. ;realpath_cache_ttl = 120
    4 ?$ @- n6 s. Q
  333. : D+ l( d# C1 L7 [) C2 X. j' ^
  334. ; Enables or disables the circular reference collector./ W; n2 B8 p' ~, f3 J" c8 J
  335. ; http://php.net/zend.enable-gc& ], @# n- o" n' V
  336. zend.enable_gc = On* I' G6 z, a; }1 |

  337. 8 E  Y! o3 `7 K) h$ h+ s; s: I9 W
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    9 b, b- `4 i/ k8 n! ]9 q
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      V* g4 D; a* R5 X7 z4 F" v# R
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ; Z; n; N" r8 s2 x% j# c& C
  341. ; Default: Off
    5 ?8 O3 n2 {" c9 i
  342. ;zend.multibyte = Off" [' Z5 D; \+ M. A( `5 F

  343. # H  g/ H( @: K4 W
  344. ; Allows to set the default encoding for the scripts.  This value will be used. u$ |) V% p2 r0 o" A& v0 e
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.0 y( A) E  _- w  I4 H
  346. ; Only affects if zend.multibyte is set.* a( T0 K  U) P" X
  347. ; Default: ""5 A) o2 \: }& G$ u% d. g* H
  348. ;zend.script_encoding =: c& E! `9 q" Y- P) [/ G+ \
  349. ; f6 S, m1 R' V8 B$ d6 k
  350. ;;;;;;;;;;;;;;;;;
    , r+ z$ u% j& f4 ]9 U2 V$ B1 C
  351. ; Miscellaneous ;
    8 y7 U+ I6 G1 H9 l
  352. ;;;;;;;;;;;;;;;;;. ^% t% D" n: q7 F/ R

  353. 8 [; F4 B* U3 V. `9 [' O
  354. ; Decides whether PHP may expose the fact that it is installed on the server* ^' y9 U3 l3 F0 H7 W; \
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    6 t8 j4 K8 e+ s; E& M7 M9 F( u
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    " V1 {- `" K) K6 o3 w0 ]& v
  357. ; on your server or not.
    % M5 e* C  P# B: D  b2 V- X9 H
  358. ; http://php.net/expose-php  G/ H3 O) _2 O2 i
  359. expose_php = On- O2 ^2 Y0 Y! f( |% E" p% o# D9 C
  360. + @7 j' d  _& i. `2 M
  361. ;;;;;;;;;;;;;;;;;;;9 S8 S, v' B  l7 c' Y
  362. ; Resource Limits ;
    * `, T) a  A* x/ [+ V
  363. ;;;;;;;;;;;;;;;;;;;
    ) R5 T+ r  e7 u- r& c7 }0 ]
  364. 9 ?7 W% [8 w/ h2 q( C% ~. G0 s/ j
  365. ; Maximum execution time of each script, in seconds
    1 w! x6 A" m# I4 Z
  366. ; http://php.net/max-execution-time- d4 h0 d$ U/ K4 R4 s; ]& e  B
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    1 ]8 U4 n6 ?5 C
  368. max_execution_time = 3002 O( c* v# p* p6 S; T7 m9 ~- T: c
  369. . P# m. |% ~' v$ E/ j
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 f! ~8 `( \- j) g- `
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    " Y  W) J% I7 L7 U& Q
  372. ; long running scripts.2 _4 J, E' `% P( u% E
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 ~* M4 Z4 o: C- [8 F
  374. ; Default Value: -1 (Unlimited)6 S/ F+ _1 m! g- f' Q
  375. ; Development Value: 60 (60 seconds)
    - w; N; D* z& X+ B- R
  376. ; Production Value: 60 (60 seconds)
    " C/ j+ n" r; r
  377. ; http://php.net/max-input-time
    - Y3 w$ F# N; Q+ ^; T. J7 S4 v
  378. max_input_time = 60: M6 d9 N% H2 c8 w- u& Z8 d# z
  379. # A3 ?; d2 j% w1 P1 S1 s
  380. ; Maximum input variable nesting level4 H. _3 R+ U3 j6 I
  381. ; http://php.net/max-input-nesting-level
    + P. \% W5 H0 g, }
  382. ;max_input_nesting_level = 64
    ! y9 @9 d+ L! y; {, W8 \* i
  383. / j& j' X2 w2 F# L4 F
  384. ; How many GET/POST/COOKIE input variables may be accepted- E7 `# q- k- W, E* o
  385. ; max_input_vars = 10001 u: W5 I) J2 h$ y9 q, y8 R) v

  386. ( a) ^7 }) t# n! O0 z
  387. ; Maximum amount of memory a script may consume (128MB)
    3 Y2 ?, N) }6 g* M3 F
  388. ; http://php.net/memory-limit
    ; ~( H+ a. u9 H' j1 ]- Y
  389. memory_limit = 128M
    ' R1 s7 C2 i  f) @0 v( Y

  390.   \/ e3 F) i; D7 p/ G+ A2 U# L
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. x8 F( W) q/ ^
  392. ; Error handling and logging ;
    ( b1 u; J$ C2 }( D
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 N: B' \- ^+ a
  394. : t# ^+ j- w6 c
  395. ; This directive informs PHP of which errors, warnings and notices you would like
      F5 Y  v/ w" M1 o0 m
  396. ; it to take action for. The recommended way of setting values for this" C. _6 {, f" q0 D7 d$ A
  397. ; directive is through the use of the error level constants and bitwise
    7 \7 Q1 Z/ ?% c4 \1 m7 F
  398. ; operators. The error level constants are below here for convenience as well as8 h( _# \( f3 W4 i, K. o. Y
  399. ; some common settings and their meanings.
    1 ^9 I4 I. ^7 e4 R3 d, h( {
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; i% {) j$ J$ Q- N" @7 I
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ t8 P1 M$ o& O
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    , ], `5 Q' X: r) k
  403. ; recommend error reporting setting. Your production server shouldn't be wasting) L5 e' Z$ [& q; {) w, L) N
  404. ; resources complaining about best practices and coding standards. That's what* g2 i5 w; c4 H5 R
  405. ; development servers and development settings are for.1 h; b' ^2 Z* u/ o- R
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    - J- O& ]+ m3 x& s
  407. ; means it pretty much reports everything which is exactly what you want during5 U( w- l) {- Q+ W- l. L: d( a
  408. ; development and early testing.; m% ?8 J) }' w$ [# E
  409. ;
    7 ^) T( Y/ U3 ]5 t
  410. ; Error Level Constants:. g# Q1 a1 R# H; ]8 S- P
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)8 C8 L6 V6 {, {' ~; X) D: v
  412. ; E_ERROR           - fatal run-time errors# x! [! a9 ?) V0 k( g
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 [: r* X- r6 r9 Q, ?, c
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    , P; ]# ]! B0 X- M
  415. ; E_PARSE           - compile-time parse errors
    1 x3 H3 t2 S$ L6 z) D" P& F6 @' V
  416. ; E_NOTICE          - run-time notices (these are warnings which often result8 S3 h7 |: f( z9 Q% S; Z$ w7 T5 s
  417. ;                     from a bug in your code, but it's possible that it was) _1 ]0 y, F# X# z
  418. ;                     intentional (e.g., using an uninitialized variable and
    2 V3 p% Z$ }; f% F4 j, Q4 F! r9 P0 p
  419. ;                     relying on the fact it is automatically initialized to an, y5 v' V# q9 O' V) p! h( J
  420. ;                     empty string)
    # u+ y- y$ d2 z2 [8 }
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    9 _; U0 r' D) e
  422. ;                     to your code which will ensure the best interoperability6 ?* m. \: i  o8 K$ r  U/ v
  423. ;                     and forward compatibility of your code
    8 B# U* `' _- I' T* C
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    5 z% W5 e1 Z, ?, f) y6 d
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's- f6 Z# M* N4 ]0 Q+ q2 H
  426. ;                     initial startup$ l& A  J( E% ]( |0 [/ z6 M" p# c
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    6 k! t5 D) V" t% W1 T, P3 ~9 l
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)$ b: ?3 t& I- `8 l5 r
  429. ; E_USER_ERROR      - user-generated error message9 i* g% i: j4 D; f( {' q
  430. ; E_USER_WARNING    - user-generated warning message
    # W8 {& o  ]) x- m  j
  431. ; E_USER_NOTICE     - user-generated notice message
    9 O# U" F' K& _9 q5 J" R* a, m
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    3 Y: z5 C$ p0 U5 E' K
  433. ;                     of PHP; ^. g1 [& [/ t- F5 U9 f/ e
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    + n0 j+ v) U* c1 }- c
  435. ;8 G, t  c$ d4 A: d
  436. ; Common Values:
    2 g2 Z' ^# p! ^0 e2 \0 a
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    7 M* \4 y" ]  X3 n# B
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! T  V3 j$ l" k4 N+ [+ M
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# \8 S. K. z; G- T+ c
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): h+ R# G3 C  `( l
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% O3 v4 g/ `* U& o9 ?
  442. ; Development Value: E_ALL+ b: p+ S' l$ e& L5 t
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT- v5 V( g) I0 ^/ `: `" J( c) @% k
  444. ; http://php.net/error-reporting
    : g) ^  b. `5 h# _
  445. error_reporting = E_ALL & ~E_NOTICE" @8 S3 a/ N& f/ |3 O$ q. P; ^
  446. ; |) D3 v2 X; g# x3 p+ t
  447. ; This directive controls whether or not and where PHP will output errors,
    * ^3 i- L) X- Z" i; S6 M
  448. ; notices and warnings too. Error output is very useful during development, but* S; M% X" t4 C' g" w+ ~5 j2 A
  449. ; it could be very dangerous in production environments. Depending on the code0 \! Z: f& X1 k& {5 N1 _
  450. ; which is triggering the error, sensitive information could potentially leak
    + H' U$ J6 T! `! P5 P7 b
  451. ; out of your application such as database usernames and passwords or worse.5 ?1 b' `# l6 ]/ W" }' W" G
  452. ; For production environments, we recommend logging errors rather than5 i; m' Q/ ?# P1 W& ~+ ?0 f1 B
  453. ; sending them to STDOUT.
    2 d- e" }# w# a! V/ P$ M" K! q
  454. ; Possible Values:
    ' v( G' q' f. A& ~, p
  455. ;   Off = Do not display any errors
    7 }* y6 `# m7 x/ ?0 Q
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!): f% h7 T- Z8 \9 B
  457. ;   On or stdout = Display errors to STDOUT. s: l8 P0 E* D" x( `
  458. ; Default Value: On
    + r& ]" R: i' G( f0 T8 r2 b
  459. ; Development Value: On! }/ d' w- U* `' M( L! w
  460. ; Production Value: Off
    " V% W! |( J( r" V% g7 k  J+ O
  461. ; http://php.net/display-errors
    2 H/ z5 U2 O0 u% d. X! a5 ^# m
  462. display_errors = On0 G9 s& H- t; @

  463. $ B+ i1 O( g+ {
  464. ; The display of errors which occur during PHP's startup sequence are handled
    6 e- ~) e# |" }3 D2 }1 p$ X
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    0 a) y5 |$ d, U- C4 C* m
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ! y* ?, v" |8 A9 J$ |
  467. ; debugging configuration problems. We strongly recommend you/ I- ^) D' y" e$ H- G! w; Q
  468. ; set this to 'off' for production servers.  ~7 i$ ?9 i; y9 u! ~6 v" B
  469. ; Default Value: Off( W7 M/ O/ w, x8 u: [* d
  470. ; Development Value: On4 m. n0 c, a3 W3 c% ]" S4 j6 ~
  471. ; Production Value: Off
      i' l; O2 }4 L
  472. ; http://php.net/display-startup-errors
    . I/ [% ~* R$ L
  473. display_startup_errors = Off
    # K% z7 R6 Z0 n# G% r: Y2 J

  474. 1 b& @2 @& P3 H
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    , ~. O8 d% X8 }: g. v% \3 d
  476. ; server-specific log, STDERR, or a location specified by the error_log
    9 o6 l0 \; h+ A7 ~+ Q
  477. ; directive found below. While errors should not be displayed on productions
      u  }6 W( I' A  o& Q4 Y: h
  478. ; servers they should still be monitored and logging is a great way to do that.
    - C* U' C) G+ {7 q5 H
  479. ; Default Value: Off
    4 Y9 Y* c, z7 M; @
  480. ; Development Value: On. L* H. S% V2 B; O, v1 n4 h' y
  481. ; Production Value: On' K0 M5 l( A/ z/ \( c
  482. ; http://php.net/log-errors
    5 x- y/ n; p4 U/ h# Z3 N* y
  483. log_errors = On& `. M( v9 |' [  Z
  484. ; y  }% s4 Z7 I/ v
  485. ; Set maximum length of log_errors. In error_log information about the source is/ }& _! [& U( W( m- R' @
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 B' U, F6 K# q+ |) o
  487. ; http://php.net/log-errors-max-len8 L; ], V* u1 _" |2 ~1 [
  488. log_errors_max_len = 1024% C% d2 W/ R$ G0 s0 V6 i! f
  489. 6 S* U% Z: @4 s" T2 W
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    % t. c' b  ^! ]  K6 P7 @
  491. ; line unless ignore_repeated_source is set true.
    ) ?( a3 f6 x4 D2 I* U7 k
  492. ; http://php.net/ignore-repeated-errors
    ) K/ ~+ m" S9 u' }, ?) P7 e
  493. ignore_repeated_errors = Off
    * G; Z& V( {9 K
  494. % X0 I/ w4 }( O# I
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    2 |5 M1 T6 ~9 c1 `! ~
  496. ; is On you will not log errors with repeated messages from different files or  X( G- U; A! u. ?
  497. ; source lines.
    2 `% a+ I7 ~- C! v0 W( S, U5 H: U6 r
  498. ; http://php.net/ignore-repeated-source% k& Z: y6 {  V+ x6 v( O
  499. ignore_repeated_source = Off
    # i7 v+ O1 S5 ~9 B
  500. 2 L, H( ]* R- g; @3 b
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & ^. w" j! b4 }  B* y  ^( }' u
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    $ n' N  ^6 s2 P! Z# U% s
  503. ; error reporting includes E_WARNING in the allowed list
    / Z0 P  x* o8 `$ P4 R6 N* P
  504. ; http://php.net/report-memleaks0 N8 L( {. E" S3 L6 g
  505. report_memleaks = On9 s! s& C6 q- P

  506. ! a9 `7 ~5 Z  M+ s5 J6 I) M: n
  507. ; This setting is on by default.
    5 z4 [3 X+ j. u) }
  508. ;report_zend_debug = 0/ B* U& E: f3 ]% `2 E0 P8 G

  509. * s8 \6 T4 A, k6 n6 b# z9 h) Q
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 q! H; O) |1 J; ]/ ~
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ; K4 l& v5 g! _2 g0 Y
  512. ; however be disabled on production servers., T$ |1 e* Q1 r# R, l' C
  513. ; Default Value: Off& K) W5 z- [. D, q+ v" @
  514. ; Development Value: On
    2 i$ b0 N7 c8 O- \9 Y
  515. ; Production Value: Off
    - o$ f$ k! ]9 f  G7 M) u
  516. ; http://php.net/track-errors9 a" [; V  O* P
  517. track_errors = Off
    6 n  H0 p0 f8 x5 b
  518. & c$ T  f- @& }! ^; W
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    4 p9 \; K  X0 P2 v: w# G, y" P- B
  520. ; http://php.net/xmlrpc-errors
    5 F9 x! Q& T, y  T& I, w! v
  521. ;xmlrpc_errors = 07 d2 B1 a6 h0 S4 g, V0 ]& d
  522. + B% |. |: A- o8 f
  523. ; An XML-RPC faultCode2 `' }0 U6 Z& c! S
  524. ;xmlrpc_error_number = 09 d5 X6 M+ U- d$ e& }
  525. # J- A2 C4 z) \& J8 U! t  i3 O
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    4 t8 B, A$ r9 V4 @- X( A# R
  527. ; error message as HTML for easier reading. This directive controls whether
    4 F, Z: M7 _: M6 n% n
  528. ; the error message is formatted as HTML or not.
    ' [/ p/ P7 r: a' g
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI. {5 T* A7 T1 H( f. ]" @; T
  530. ; Default Value: On
    5 R) \% }4 V8 `' ?* H5 x! U
  531. ; Development Value: On! t6 s* m( `" L4 V) M1 N: Y
  532. ; Production value: On9 h, v' Z3 P; e1 e- o
  533. ; http://php.net/html-errors
    3 T, H: R- ^4 X- a) z
  534. html_errors = On9 `; [! I) G9 o4 }6 }, h
  535. ! k6 R. L! P  I0 L: }
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP- i" W0 ^, R) I5 J
  537. ; produces clickable error messages that direct to a page describing the error5 o4 i& b/ u5 m7 ?5 X4 v7 B
  538. ; or function causing the error in detail.3 e1 r0 h$ v4 j7 c2 D
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    1 y" f8 ~) y1 \: R; n( ?* F9 _
  540. ; and change docref_root to the base URL of your local copy including the4 d% L! B. t$ s
  541. ; leading '/'. You must also specify the file extension being used including
    1 u- _% H/ e' C. G6 W. n6 T
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    % h/ v  g6 ^* ^7 }/ W. e+ e/ |1 y- d
  543. ; case no links to documentation are generated.
    * }' V/ W, v  B- r! w
  544. ; Note: Never use this feature for production boxes.5 [% q3 u% [  T- S! ^4 J
  545. ; http://php.net/docref-root; _$ s, _: v1 k- V, }
  546. ; Examples; v' N  `- Y! ^. R
  547. ;docref_root = "/phpmanual/"
    8 V& X6 m# ^6 q0 V: l
  548. , T4 M: B+ X8 t; K
  549. ; http://php.net/docref-ext3 R) i2 l5 H2 V
  550. ;docref_ext = .html' _' g7 d1 Q2 l) a, |# l* Z5 w

  551. 6 X: L+ a; z  s
  552. ; String to output before an error message. PHP's default behavior is to leave! G5 M* m" y/ A  C$ m; w9 R5 C
  553. ; this setting blank.
    # d, |$ ]6 p) ], t8 w2 Z- e+ A9 |# N5 p
  554. ; http://php.net/error-prepend-string
    0 |4 q/ p) V1 T1 y; a1 v
  555. ; Example:
    3 T1 }  X. \- v2 B, V/ L8 J. {
  556. ;error_prepend_string = "<span style='color: #ff0000'>"9 E5 |9 M5 `+ M0 S
  557. 6 w+ l1 Z' v% A/ j0 X9 D
  558. ; String to output after an error message. PHP's default behavior is to leave/ l4 f. L7 K0 T' z0 \  Y
  559. ; this setting blank.
    ; h  X& _% e5 K7 e! J% j
  560. ; http://php.net/error-append-string$ p) A+ M% ^3 L, _
  561. ; Example:
    / X# h6 j  G2 X# i+ v
  562. ;error_append_string = "</span>"
    + o% [/ N! V( l) D$ g$ @
  563. : ]. l& X$ H6 t. }* n! q  ~
  564. ; Log errors to specified file. PHP's default behavior is to leave this value4 B7 e; i( g+ D
  565. ; empty.
    , W" I8 |- t- S, K. D; Q
  566. ; http://php.net/error-log
    : L8 W6 }  G) l' H$ G( k6 s6 C
  567. ; Example:- H& {' ^' p7 U% K% j1 X. j' H
  568. ;error_log = php_errors.log* y8 f; t) m; h; ~
  569. ; Log errors to syslog (Event Log on Windows).9 X: z( A& Q3 q  _
  570. ;error_log = syslog
    # U, }; v! t# p8 W( M5 V' l  y5 @
  571. % P( _3 b+ j8 p1 W" b8 w
  572. ;windows.show_crt_warning
    % o$ p( H! D8 U0 L0 O
  573. ; Default value: 04 Y1 W8 ~8 p' q+ b4 j
  574. ; Development value: 0
    8 n4 q5 }  F' H% ]& l! r
  575. ; Production value: 01 H! t8 Y) [: h. v" j! v, o
  576. # c% l9 V0 h7 ~  [. D& B5 A* a" f+ f- l/ ?
  577. ;;;;;;;;;;;;;;;;;
      C% A. W6 f  h; j2 ?4 s4 ~1 P6 B5 f7 r
  578. ; Data Handling ;
    , A+ U' f  _8 g7 q# R, e, m, c) c
  579. ;;;;;;;;;;;;;;;;;! [1 X! Q8 [8 W5 [
  580. # R- S' d7 d1 V! @
  581. ; The separator used in PHP generated URLs to separate arguments.
    6 o& y0 P- @* }, m, T6 S
  582. ; PHP's default setting is "&".
    / y/ l7 H1 R1 d7 g/ h0 D
  583. ; http://php.net/arg-separator.output
    4 c* ~) B5 y8 {( Q
  584. ; Example:
    , m0 I+ M! s5 c/ v- U# S
  585. ;arg_separator.output = "&"3 R  s$ o# ^8 d

  586. 5 ^4 }7 z' e1 Z; L9 V, B$ R+ C
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ! X; }6 j' T1 t2 a
  588. ; PHP's default setting is "&".5 z, h* F; t- d$ W# \
  589. ; NOTE: Every character in this directive is considered as separator!) }# H* W! e, U9 u' L: Q, h$ g1 V9 x$ n
  590. ; http://php.net/arg-separator.input; v" W; |) J/ D9 h3 o5 l6 R
  591. ; Example:
    . m0 m4 O( r% q/ e' t" A4 R7 S
  592. ;arg_separator.input = ";&"* M% ]* }) a7 ~1 x
  593. " d7 N; i9 {- A+ X
  594. ; This directive determines which super global arrays are registered when PHP
    2 r4 i' @/ a; [. \
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    % f1 E: E+ J# S3 `, O1 d
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    9 F( S7 M# b8 w. d
  597. ; paid for the registration of these arrays and because ENV is not as commonly7 {8 U. q% [6 U3 O+ O4 Z. g
  598. ; used as the others, ENV is not recommended on productions servers. You
    % T, x) q: y3 o* j5 b& N3 H
  599. ; can still get access to the environment variables through getenv() should you3 D# g- ?* a  w! v0 d: y( m7 V
  600. ; need to.  ]" m) R7 f4 X* g+ S. B; Z) b# e2 p
  601. ; Default Value: "EGPCS"
    % c% d9 x1 b: u# P$ v6 J5 H
  602. ; Development Value: "GPCS"
    ( Y: s" ^6 Y' g$ K" Z- L1 C/ i
  603. ; Production Value: "GPCS";# p. N/ m. k2 p9 [0 @
  604. ; http://php.net/variables-order
    1 h3 s! t6 J5 j8 j9 o* ]
  605. variables_order = "GPCS"* C# A6 n# s4 D5 L# [( ]4 e

  606. / A0 V9 j* U; p6 u4 R
  607. ; This directive determines which super global data (G,P & C) should be- _! U" U" g$ A3 Y+ ~
  608. ; registered into the super global array REQUEST. If so, it also determines& [1 x3 B% b# n* g+ a+ x
  609. ; the order in which that data is registered. The values for this directive
    # q: P7 a% P9 k$ q: Y
  610. ; are specified in the same manner as the variables_order directive,4 [0 a) B/ y9 @
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    8 g3 M. y2 I8 O9 \. @0 f; x
  612. ; in the variables_order directive. It does not mean it will leave the super* ]4 R1 Z! ]) D" |
  613. ; globals array REQUEST empty.
    $ F  Q- H. @% a( o
  614. ; Default Value: None
    9 y. Q6 W+ r% Y: _/ A
  615. ; Development Value: "GP"
    7 s1 [  K5 `+ H* L) [* B0 }3 x& n
  616. ; Production Value: "GP"+ C" [& Z% @1 d7 m4 w8 e- x& S
  617. ; http://php.net/request-order
    1 m1 X: U1 S2 X! f% u3 p
  618. request_order = "GP", G) q) I2 X/ }% F7 C4 k
  619. 9 L1 Y7 H% X  x8 `9 o' V
  620. ; This directive determines whether PHP registers $argv & $argc each time it5 h5 Y9 c& M; a& w, r0 F- q& h1 m( J
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script" P: O. x! @) z1 a# I7 F8 u) L
  622. ; is invoked. $argc contains an integer representing the number of arguments* l7 [! z7 @) q+ ~
  623. ; that were passed when the script was invoked. These arrays are extremely9 U6 L& {% {5 q
  624. ; useful when running scripts from the command line. When this directive is6 J" c: w0 g# ^1 d3 i$ y: i) X9 N% u/ @
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 C/ J) ^0 w; W/ S: k- p
  626. ; a script is executed. For performance reasons, this feature should be disabled: s3 a+ `5 j3 m2 w! t- _3 l9 v1 R
  627. ; on production servers.  w4 r$ j/ m& W  _( ~% u, l
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 N: n" F4 T. T! N6 i: X8 t4 y. q' U
  629. ; Default Value: On
    ) c2 r1 h5 q0 N3 U
  630. ; Development Value: Off
      V0 k& f2 b8 I8 ?- Q
  631. ; Production Value: Off
    0 U6 U2 y/ M  t0 \( }
  632. ; http://php.net/register-argc-argv
    ! W' @% Y& o% T: F. |5 O
  633. register_argc_argv = Off
    . B* Q4 K0 S/ x/ k# i) S8 N* g

  634. 4 X: \/ S9 k3 {9 R
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're0 W, ^' p6 Z  u5 h0 o$ A& B
  636. ; first used (Just In Time) instead of when the script starts. If these$ G) C9 E, l! T4 y, q/ u
  637. ; variables are not used within a script, having this directive on will result
    ) D6 c( R- b% S
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled5 R% L) R0 H5 o7 O* y: b; Y
  639. ; for this directive to have any affect.
    # |7 g* y2 a3 m
  640. ; http://php.net/auto-globals-jit6 w5 d2 r* z( X  j9 j
  641. auto_globals_jit = On
    + f& ^1 z9 [+ a2 ^0 v: o9 e

  642. ! e! Y, z* j6 p% g! _- ?6 l
  643. ; Whether PHP will read the POST data.+ r) M! M0 ]9 M1 j& J* A
  644. ; This option is enabled by default.
    8 v+ s- X1 h  i! }
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST/ |$ E, c! U& v& g# g3 B- V
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    : `) e1 c  q% u1 c6 g( ~
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    : a% M: C( i& Q; c+ }
  648. ; to proxy requests or to process the POST data in a memory efficient fashion." A1 R( G- k5 @  s; s
  649. ; http://php.net/enable-post-data-reading; ]9 R9 W; \0 D- N. z2 H
  650. ;enable_post_data_reading = Off& J% a/ ~4 T! m$ f+ K

  651. 6 y+ X3 N/ t; O* E. B2 X
  652. ; Maximum size of POST data that PHP will accept.4 v& B" w/ o) g0 }' ~' k) {
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 C, D) r$ u0 H  o. S
  654. ; is disabled through enable_post_data_reading.& V8 a' E( S6 k7 _8 Z) Y1 c
  655. ; http://php.net/post-max-size
      Y! o& ?/ ]3 g* Z% A3 q" }
  656. post_max_size = 50M$ O6 N' }( R2 v; V/ }0 P$ V3 E
  657. ! L; p5 N* C* \, ^; u. W
  658. ; Automatically add files before PHP document.
    5 {/ {7 A+ N: z/ T1 s- y
  659. ; http://php.net/auto-prepend-file) t6 |# v* g) F1 m) q% {
  660. auto_prepend_file =% ^8 O$ Z7 q: B" I1 d4 G+ W2 U
  661. 5 d+ T& v7 r) c& y& k0 A
  662. ; Automatically add files after PHP document.
    0 M' G, P. G/ E+ R; p
  663. ; http://php.net/auto-append-file& l9 E% B  X$ D+ `" l
  664. auto_append_file =9 j& l* ?9 a4 q  J9 A2 |+ D- F6 c
  665. 7 t+ D" o0 F3 _. A) k
  666. ; By default, PHP will output a media type using the Content-Type header. To" J( e( U* B8 U7 P
  667. ; disable this, simply set it to be empty.
    $ T. b* U# ]8 W& [: V# C
  668. ;
    0 U# H) R4 g" c9 U2 a7 W+ A' ^& S
  669. ; PHP's built-in default media type is set to text/html.
    0 H6 Q6 b( z' I
  670. ; http://php.net/default-mimetype
    ( Y* _  y, }3 N
  671. default_mimetype = "text/html"- o, }# T  A& }% |; z0 _" M* q

  672. 2 ]2 \; X& `' P3 Q0 h: F
  673. ; PHP's default character set is set to UTF-8.- q. p( Z' q8 g& s/ n4 w4 J
  674. ; http://php.net/default-charset' d8 ~/ T2 a% N3 i' |1 `
  675. default_charset = "UTF-8"3 p0 S* |  S- |" Z2 s
  676. ( P* O3 n3 O8 P+ I% g7 t' b  ~
  677. ; PHP internal character encoding is set to empty.
    ' L6 O9 z  \% u# M7 Q+ Z/ H
  678. ; If empty, default_charset is used.; [; c& s; e/ H
  679. ; http://php.net/internal-encoding( D; N+ n9 Z3 ^# J8 }
  680. ;internal_encoding =. F1 r4 ^! c; q! _: n
  681. 8 s$ ~' @: O  `6 |2 z; p
  682. ; PHP input character encoding is set to empty.2 ?5 ?- e! ^6 y, S
  683. ; If empty, default_charset is used.
    & O. A2 Q# F5 q. @" D( H6 k
  684. ; http://php.net/input-encoding! g9 ?! V5 s* e* \! c( Y, e0 l& Y
  685. ;input_encoding =. a( Q% t+ Q) b  {# j

  686. ' C5 B9 U* r! o4 o, s
  687. ; PHP output character encoding is set to empty.: G) r* ]# Z1 `+ n( D
  688. ; If empty, default_charset is used.
    6 ?: W4 v% e9 O: s& a6 G4 T+ u. R
  689. ; See also output_buffer.
    / m; Z3 Q* W; P3 _- _. g" d4 ~
  690. ; http://php.net/output-encoding
    $ s- V) y8 \, I. V) U
  691. ;output_encoding =
    2 J. W, Q  i% I+ s8 p
  692. , y8 N% g7 l3 {; M7 A7 ?0 i
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;4 J6 x1 D8 Y" ]6 A( M& ~) L# l
  694. ; Paths and Directories ;5 U: Z( Q5 Y- x) p0 ~$ z# l2 g% x
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;* v/ O0 ^& d. C' Z

  696. ) B% T% Q9 {  t! V
  697. ; UNIX: "/path1:/path2") t- o9 `  ?9 U$ J3 a8 H7 X
  698. ;include_path = ".:/php/includes"7 G" p% m4 K1 b- A! |+ e6 _
  699. ;
    8 e5 W3 C8 u( _4 q
  700. ; Windows: "\path1;\path2"
    3 f# s4 p' v/ x. A) h
  701. ;include_path = ".;c:\php\includes"# k- c! v. `/ x1 |
  702. ;
    8 w9 g# u  r$ }. a; w% W
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    9 Y2 }+ G) z# [+ n. ^( E
  704. ; http://php.net/include-path6 G: p$ [3 z2 Y! m6 f: A/ f4 d( J* d

  705. 5 m' N6 t/ h# U( g5 \" d" x
  706. ; The root of the PHP pages, used only if nonempty.; m" E6 j6 E+ Z0 B4 `, r$ G) H
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root5 N- H% b7 p- l. g# {+ o
  708. ; if you are running php as a CGI under any web server (other than IIS)
    3 _1 V: w& x2 H0 d5 j7 k& }) V! T4 g
  709. ; see documentation for security issues.  The alternate is to use the
    0 A0 O# y3 k) P9 ^+ d
  710. ; cgi.force_redirect configuration below' z' R2 U- c" N" `
  711. ; http://php.net/doc-root
    " v! ^# n  r3 M
  712. doc_root =
    7 n1 u  p3 k3 B3 ^7 e, k; l! s
  713. 0 O- w* @2 s# K) m# x; d
  714. ; The directory under which PHP opens the script using /~username used only  C$ [0 I/ P8 r) m; X& u- t2 L$ \( a
  715. ; if nonempty.! a/ y# y! a, d' ]$ s
  716. ; http://php.net/user-dir/ ~' t; Q7 w0 o( b4 l
  717. user_dir =% Y3 }$ B7 W) Z: N# j; U/ Y& E
  718. * z4 Z9 K+ T& U8 h
  719. ; Directory in which the loadable extensions (modules) reside./ [0 v! Q( s5 @( `' |" ~0 o
  720. ; http://php.net/extension-dir
    5 J* R2 a- Y0 W" ~/ a
  721. ; extension_dir = "./"
    : S* c: K9 }" T, J0 J! X5 B
  722. ; On windows:# U! i$ R2 ]0 M5 g2 n) @4 p$ {
  723. ; extension_dir = "ext"
    : m4 ?; I4 A" H  q2 n+ l

  724. * p! h6 E+ k. H- o. `, ?8 j
  725. ; Directory where the temporary files should be placed.7 g" ~5 b6 Z; A4 g8 ~* ^/ \
  726. ; Defaults to the system default (see sys_get_temp_dir)
    / K( m+ V! E) R% L. M3 E3 e
  727. ; sys_temp_dir = "/tmp"5 c( F& s. S: s. ^& \* q, D+ _
  728. 2 {1 w3 t  e4 f
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    5 B$ a1 [( ?; C1 h
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 T. y& A: Y# V7 b
  731. ; disabled on them.' l! `/ G/ Q: m8 Z; }5 R) l
  732. ; http://php.net/enable-dl8 e( P7 s) D- d, y+ E
  733. enable_dl = Off
    5 C: \6 u% [' x& i; c$ N& L7 z' Q8 I- H% _

  734. 4 O9 Y# L# f0 n3 v$ D) F
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    0 s$ {6 ], w9 g; e. _6 J
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ' W$ @( ~3 r8 H; J, o
  737. ; turn it off here AT YOUR OWN RISK
    9 l$ n$ a: m& v) p2 r1 \- A. F' c
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    " j  L( e4 W* L7 }
  739. ; http://php.net/cgi.force-redirect
    7 Z6 V7 |" e8 C+ f! ^( }
  740. ;cgi.force_redirect = 1
    ( j4 L5 c; I5 Z

  741. 5 A# `1 ^( |: Z( V: Y3 o
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 ]4 e: B: G' D( C
  743. ; every request. PHP's default behavior is to disable this feature.
    / J! g2 p' x0 S0 N- }3 g
  744. ;cgi.nph = 1
    ( T+ S9 p* s. a

  745. " }; e, P2 d. K2 k" [' C  w; P1 J
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape: U9 @% H+ U% j. g
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP3 y8 c% O3 ^& x1 A3 o+ B
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 `4 W) l8 r# [0 g" X
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.4 f$ b- M! l* @2 m4 \1 t; w7 L3 b
  750. ; http://php.net/cgi.redirect-status-env
    * \9 {1 V: z9 }7 F
  751. ;cgi.redirect_status_env =2 {& \$ D: ]6 Z: c

  752. & \) w9 G1 r. x# l* Y
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& _9 N( ?  j" }7 M  Y
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    % O2 O* a& X- v+ Q* E
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    3 _* U" G6 c! |) X+ j( H& N
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 O# A3 L# O0 o/ S2 x4 h3 C
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts6 T8 e0 e) Y; x3 g6 d9 P5 }5 N1 g
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ F4 @$ n3 a" ]& i& v1 L
  759. ; http://php.net/cgi.fix-pathinfo4 {) \2 o2 d+ n# H
  760. cgi.fix_pathinfo=1
    : s) M/ r! j& b+ l

  761. 9 v  }+ N2 J3 d9 M) B% \
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    5 j3 @9 ^# c( q% f0 D2 y' ?
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 C# A  }$ e) v2 y+ [6 `
  764. ; http://php.net/cgi.dicard-path3 i( C- D; \& M$ l. Y
  765. ;cgi.discard_path=12 l# S5 s$ z$ U" c, b; C2 p8 H
  766. 4 D' B, B& X; c. ^) {$ h* \
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    & W- N9 k0 k" r9 b
  768. ; security tokens of the calling client.  This allows IIS to define the
    6 U' V) y% [& E% k9 O
  769. ; security context that the request runs under.  mod_fastcgi under Apache9 ]; w( |* o: F' ~4 `
  770. ; does not currently support this feature (03/17/2002)
    9 x! ]: O# B7 D* R2 B4 v1 T' H
  771. ; Set to 1 if running under IIS.  Default is zero.% b7 W% j  K8 R1 l9 i# e7 k7 X
  772. ; http://php.net/fastcgi.impersonate# ]; ]; y6 K2 Z+ R5 c# z8 ?
  773. ;fastcgi.impersonate = 12 Z. x9 D- I5 s0 c- p, y
  774. : Y, T* x  O% Q5 k/ R! U
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable  T2 L+ Z# |! G4 X# r- h
  776. ; this feature.
    8 J2 K9 K$ K" C' I+ b( ^" l' E
  777. ;fastcgi.logging = 0
    . [# X2 O+ K$ ^; F% ~$ J
  778. : ~/ Z) @) e  h$ y
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    9 J) x% z8 L- ^6 z; P# l
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    7 P5 m) _, M2 r1 h
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ! `) U- Z8 z  @3 f1 M) L& @$ V
  782. ; RFC2616 compliant header.
    $ n! X2 L1 V# S' K+ b7 E
  783. ; Default is zero.
    . }3 U* Y( O( G" u
  784. ; http://php.net/cgi.rfc2616-headers5 c; _3 g& B5 J& W. z! _
  785. ;cgi.rfc2616_headers = 0
    ( e+ a3 k, |2 `' V: Q
  786. / [0 E- W, s% v. P8 u% K
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' }: H: l6 K; b! o3 y; R' p
  788. ; (shebang) at the top of the running script. This line might be needed if the+ c! Y7 I" R% v, e# p! {  P
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI- a4 ^; _: W9 N4 {
  790. ; mode skips this line and ignores its content if this directive is turned on.
      @8 \8 t1 `. d  |7 `2 D
  791. ; http://php.net/cgi.check-shebang-line
    ! ]1 @* v7 r) N# q; G4 p" ~% p
  792. ;cgi.check_shebang_line=1
    . r: R* l) V9 J
  793. % F' j# [7 K. k9 W
  794. ;;;;;;;;;;;;;;;;# B! E- U9 H9 K1 d& H  T
  795. ; File Uploads ;
    3 ^& g; K/ _* L" C- Q& q
  796. ;;;;;;;;;;;;;;;;
    0 H" }8 x& p/ W. |4 j+ N, w
  797. 6 C& U9 K5 `3 }9 D$ H1 o5 n
  798. ; Whether to allow HTTP file uploads.4 _9 x' |: |( }9 A4 W% F
  799. ; http://php.net/file-uploads3 i, k+ w/ m+ X2 ~' K
  800. file_uploads = On; ^) S2 ?/ n* H9 O

  801. - Z! ^8 _. ~  Q: S5 L, ?
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    3 ~4 ~+ |4 O; e
  803. ; specified).
    7 x* Q# Y4 L6 J
  804. ; http://php.net/upload-tmp-dir
    6 H" I" I; i! W1 B/ Y3 P; I9 R
  805. ;upload_tmp_dir =
    1 _$ T6 z9 Q! v9 j
  806. 0 U& v- o0 o" j8 L/ x0 f, d
  807. ; Maximum allowed size for uploaded files.( i% |7 [9 m4 W1 i0 `4 A1 p( C
  808. ; http://php.net/upload-max-filesize2 e# Y; j5 B% L3 k5 J& d
  809. upload_max_filesize = 50M5 L+ z$ A" I! Y" M+ r& q1 T& ~5 i3 F
  810. " C& C. O$ ]& W& v' L0 o
  811. ; Maximum number of files that can be uploaded via a single request
    " _/ S9 W7 z# s! I. @/ g8 M2 f
  812. max_file_uploads = 203 g% e  m8 J) q2 k% E  l3 g

  813. 7 o1 N0 I5 u/ e+ @; L
  814. ;;;;;;;;;;;;;;;;;;8 R" q; p; {* A; p
  815. ; Fopen wrappers ;$ W/ o  F: o) `" k& D+ j, I/ ~
  816. ;;;;;;;;;;;;;;;;;;
    0 I; x8 @1 z* Y  @) C8 \

  817. 2 N; q( q8 x2 B) e0 H( e" V
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; E1 i! `: K: X, M6 M' O1 F
  819. ; http://php.net/allow-url-fopen
    ( h1 k1 ]0 q  s3 O/ @- Z. C; S
  820. allow_url_fopen = On
    ! a" _5 h& N& `  ]+ p: w  |# v

  821. # `. X5 t0 f- s; Z* s% B+ h( I  ]
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.% Q/ O; A8 _2 u: V/ Z% R
  823. ; http://php.net/allow-url-include+ ^, K$ |& k  O1 F5 r
  824. allow_url_include = Off( r: ]& c; R. \: q) i

  825. # ]; [1 ^3 F% ?) x9 W
  826. ; Define the anonymous ftp password (your email address). PHP's default setting7 f7 }& a, K) ^
  827. ; for this is empty.
    + A% E' h4 V3 G2 |7 s
  828. ; http://php.net/from
    ' A! w- B8 W/ Q7 E2 \" M
  829. ;from="john@doe.com"
    : i4 h9 b: j* h. A$ b

  830. 0 H( r, l+ S! u( Y: ]
  831. ; Define the User-Agent string. PHP's default setting for this is empty./ s8 w5 \$ G: d* `  t, H
  832. ; http://php.net/user-agent* y0 a9 x5 }! V/ N8 k6 Z7 Y8 i0 Y
  833. ;user_agent="PHP"4 u) ?+ `+ ^2 ^. a4 q- t

  834. + W, X: p, n# A
  835. ; Default timeout for socket based streams (seconds)  T; V3 W: ?, A6 q- _
  836. ; http://php.net/default-socket-timeout
    / u. H2 @4 l) W5 A: l
  837. default_socket_timeout = 60
    2 l- X0 U0 x1 ]7 O9 G, t; A" W
  838. 3 p/ b" O7 n" K3 G: o. z
  839. ; If your scripts have to deal with files from Macintosh systems,$ j1 M$ a9 n# p' h) ?  C
  840. ; or you are running on a Mac and need to deal with files from% I( S7 s4 X! D. s% u1 E* a; U
  841. ; unix or win32 systems, setting this flag will cause PHP to9 K# ^8 u  a* k" ~' b3 X) z
  842. ; automatically detect the EOL character in those files so that
    3 C: w( x3 U: Q8 h1 Z
  843. ; fgets() and file() will work regardless of the source of the file.
    5 _3 E5 m# A$ q* Y" R0 W
  844. ; http://php.net/auto-detect-line-endings
    2 S9 I" X# e8 Z
  845. ;auto_detect_line_endings = Off
    % b" S* Z# J) P5 z! ]! i

  846. 1 N/ i  Z% O+ M  g% X; z
  847. ;;;;;;;;;;;;;;;;;;;;;;7 B. U. b' C3 |* P) Q; b
  848. ; Dynamic Extensions ;
    $ r0 s# a9 R5 O/ t9 h
  849. ;;;;;;;;;;;;;;;;;;;;;;4 A- x9 c) B& d1 x) Z; M3 ~, E  `
  850. & U% {9 u  _+ u# O* e/ k# W: p
  851. ; If you wish to have an extension loaded automatically, use the following
    / ?% b7 E$ Z* x7 [4 H
  852. ; syntax:
    2 o; G- ^. f6 L, A7 P5 D
  853. ;! m& d! D+ {* W$ p; J" k% z
  854. ;   extension=modulename.extension- a# O% P1 S' p$ T; b; C9 \, \; l
  855. ;
    - }4 R6 r5 O3 g8 U) e5 y
  856. ; For example, on Windows:! I- G9 k: D" ]" T2 V7 E$ T
  857. ;8 e, D9 y. R1 d5 H: D3 {- _
  858. ;   extension=msql.dll+ B1 [& Y) |2 z
  859. ;* @5 Q0 W+ j. V8 T/ z9 ~! ^
  860. ; ... or under UNIX:
    + f( q+ w9 Q* B! @- F. e
  861. ;
    $ B# J: s. o3 Q3 S. T
  862. ;   extension=msql.so
    % V# H) k$ `; n3 J7 l8 A4 k$ U
  863. ;
    # m: w* p7 l9 {7 X: q3 j8 u
  864. ; ... or with a path:" F: q' I# |2 N
  865. ;
    $ Q9 O8 E! Y$ `9 f& d# c' E
  866. ;   extension=/path/to/extension/msql.so
    + e* _5 y* f/ l- V, F- D
  867. ;" A+ L  I9 |- A
  868. ; If you only provide the name of the extension, PHP will look for it in its! |. P$ [( h. l+ S4 [
  869. ; default extension directory.
    + F- X7 w4 M* W" o: W
  870. ;
    $ a8 T! q' ~5 I
  871. ; Windows Extensions
    9 ?& ^9 O) P' C; E. G- m! t, i* c
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    . X0 A; t* _" Z
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)( i( e* Y- y9 V6 G. Z% k- w
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ! v% L- ~5 ?2 u
  875. ; Be sure to appropriately set the extension_dir directive." B$ _6 J0 z: w1 ^+ L2 {
  876. ;
    8 h0 u+ q! n& f2 S6 m% c  b
  877. ;extension=php_bz2.dll. H+ R! W% m% E
  878. ;extension=php_curl.dll
    # A7 q/ N# r5 Y; A& q& p! }
  879. ;extension=php_fileinfo.dll
    7 a& @" B# T# q1 p
  880. ;extension=php_ftp.dll, S. @1 Q9 Y. d) Y) p' P  U5 I
  881. ;extension=php_gd2.dll
    6 s+ m# D0 B6 x! k, {# `, p
  882. ;extension=php_gettext.dll/ g- R0 D9 {4 L. X% e
  883. ;extension=php_gmp.dll% V/ s5 R% I/ ~8 B" ^0 [: {; }
  884. ;extension=php_intl.dll
    6 _5 ?- u( o: N& K9 Q0 {
  885. ;extension=php_imap.dll# V1 E6 i( Q. \# c. L. w+ p
  886. ;extension=php_interbase.dll
    0 \* |* g  z7 J; n
  887. ;extension=php_ldap.dll5 O& _9 t& U5 _9 `
  888. ;extension=php_mbstring.dll1 U  u5 Z" ?. i. v9 J# G0 }! g
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / u' Q7 o% f% J' e  l% O) m
  890. ;extension=php_mysqli.dll
    - I5 U6 [7 r+ b" @& K
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client. [2 n, n; O3 c
  892. ;extension=php_openssl.dll
    $ \& O6 A1 L/ S. y
  893. ;extension=php_pdo_firebird.dll
    # @+ K/ l3 u; M  S
  894. ;extension=php_pdo_mysql.dll/ G- G2 N3 }5 t; w4 V& R3 i; F
  895. ;extension=php_pdo_oci.dll7 r/ O, v$ w( S2 u( i% t
  896. ;extension=php_pdo_odbc.dll
    - I# J- x: M' W7 z0 p0 V; W
  897. ;extension=php_pdo_pgsql.dll+ T' F7 `3 Z7 c
  898. ;extension=php_pdo_sqlite.dll
    # E7 P& _' P- k4 d$ b
  899. ;extension=php_pgsql.dll: J! [; q3 K" j3 [
  900. ;extension=php_shmop.dll
    9 [5 L+ k" F$ x. B' ]

  901. . A* `# H" b8 y6 ]3 j' T' Y
  902. ; The MIBS data available in the PHP distribution must be installed.4 C! F( g- @& H& |) D$ @
  903. ; See http://www.php.net/manual/en/snmp.installation.php) @: s- c9 J: I8 S3 B
  904. ;extension=php_snmp.dll0 B1 n1 z! ~* h6 Q$ }- E7 x3 S

  905. " U5 j; r/ s1 h! g, ]- I
  906. ;extension=php_soap.dll# }) c. Y* ^4 @, Z' x3 @: g
  907. ;extension=php_sockets.dll; Z, s! U. {7 n0 V
  908. ;extension=php_sqlite3.dll
    & Y0 H* m/ x+ z7 ~, v
  909. ;extension=php_tidy.dll
    4 i7 k& t" _4 |) Y1 A+ D
  910. ;extension=php_xmlrpc.dll% M; }0 s  E2 b# S. `9 `6 {
  911. ;extension=php_xsl.dll9 J: R0 \& ]0 b
  912. % K" A% {5 R7 l8 t2 F. j
  913. ;;;;;;;;;;;;;;;;;;;
    8 O) ?. s& [& O+ h
  914. ; Module Settings ;
    . C8 F8 k9 R* `
  915. ;;;;;;;;;;;;;;;;;;;/ j8 L5 S! e6 _6 i! r

  916.   v. ?  H, |8 o, n7 H/ f% N9 ?
  917. [CLI Server], ]. r/ \1 K: b/ v
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    6 p, a) f& ]/ c  T) C
  919. cli_server.color = On. C0 q  q* J" {8 _4 _& M

  920. * `. `; e2 y" U& F  V: O% x% ?
  921. [Date]
    7 N# v5 x6 H( W/ u
  922. ; Defines the default timezone used by the date functions
    8 D  c% }6 t6 S1 v! Q
  923. ; http://php.net/date.timezone
      ]7 p) \/ M. p: p, i# t+ G
  924. date.timezone = PRC
    ) r4 g0 f: N3 P! H2 o* d
  925. ) X- u! _" W' Z( G+ t
  926. ; http://php.net/date.default-latitude
    5 k$ U& }+ V8 ~+ H* h6 c
  927. ;date.default_latitude = 31.7667
    # t# G+ b3 P  ]* G0 u9 l

  928. 9 ~: `; D3 }1 u4 |8 W) g+ e
  929. ; http://php.net/date.default-longitude0 [+ d* y; M; G. P
  930. ;date.default_longitude = 35.2333
    * W/ d- k  F, T4 T

  931. / X% T8 }. D$ ^3 n+ x. u; i; N
  932. ; http://php.net/date.sunrise-zenith. _9 o7 J5 V( n# Q
  933. ;date.sunrise_zenith = 90.583333' ]! s" O; y4 `3 ^2 r3 j3 I) m, Z

  934. 4 Q3 ~6 V% o( ^0 v; g
  935. ; http://php.net/date.sunset-zenith
    0 l! x! M1 _2 w$ U2 F4 a& w
  936. ;date.sunset_zenith = 90.5833333 t# C/ l! ^6 d* h& z# n6 C

  937. : a' j8 V  l3 j/ |
  938. [filter]& y* T  z" L5 r: Q# K2 g4 r' [
  939. ; http://php.net/filter.default
    8 I/ L% X: S. \! J
  940. ;filter.default = unsafe_raw0 D% T4 z' _7 u3 s0 c0 g* Y. H4 k
  941. " [- t* x* f% h" b
  942. ; http://php.net/filter.default-flags
    2 d7 f' U. \5 r- Q* R! P
  943. ;filter.default_flags =/ I; \" V# l5 V
  944. - C1 S% @: ]0 q, {
  945. [iconv]
    $ v0 I2 c- m* D1 R! c' v' X# g8 i
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / ]3 u2 p; c! j
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., F( ]  f8 ]5 G- u: m
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding% i( e; y" ^# M) k, I
  949. ;iconv.input_encoding =
    ) B# C2 S& Z6 I; k

  950. $ p% q2 r: [! m
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 N/ D: z; J5 n. _
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 W: z2 N2 g. Q7 ~4 V0 B
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 _/ S" F6 Q5 d& W0 n5 j
  954. ;iconv.internal_encoding =
    / B- u0 q& H" |- B( ~) r' E/ s
  955. ! T$ B6 f( U2 f  \' q2 }, ]
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 M1 k. S" z0 E9 f* x
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.3 ~$ f6 |+ p( @2 E
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    / z) ?5 X8 C4 q  _; T" ]6 _- q) ]
  959. ; To use an output encoding conversion, iconv's output handler must be set
    9 K& x2 m- B& u( Y% Z6 {
  960. ; otherwise output encoding conversion cannot be performed.
    4 i% Q* Z/ l+ N) G" l  `1 @
  961. ;iconv.output_encoding =+ }! P0 {8 V: d. F

  962. & Q5 `. _. x( P: c! C
  963. [intl]4 N- k8 A4 f" z* h6 w
  964. ;intl.default_locale =
    9 I  H0 U. l5 D/ n7 Q8 y  ?& z0 N
  965. ; This directive allows you to produce PHP errors when some error
    , m7 I& Z, I0 d+ O' v
  966. ; happens within intl functions. The value is the level of the error produced.* y; u; ]6 Y  ^7 W
  967. ; Default is 0, which does not produce any errors.( B; k% H8 O4 Q
  968. ;intl.error_level = E_WARNING
    . C) n8 \1 s& L  w7 R- q  Q
  969. ;intl.use_exceptions = 0
    % I; a9 Z7 O4 t5 o; U" l
  970. . Q$ ]. W7 ^: Q+ H; j2 w
  971. [sqlite3]2 ?1 f* \; V7 X! W/ z$ K: Q$ P* A
  972. ;sqlite3.extension_dir =
    $ n) l9 M9 l% i# _* C
  973. 0 ~( d3 l8 C+ F
  974. [Pcre]
    6 B# f5 J4 c) t
  975. ;PCRE library backtracking limit.) o& g# R$ k1 O
  976. ; http://php.net/pcre.backtrack-limit: |6 p4 c& j4 l8 @+ f
  977. ;pcre.backtrack_limit=100000# [. m* x( X7 f# W5 y# k

  978. 6 w: U8 a( L* {  V( P* ]
  979. ;PCRE library recursion limit.
    2 x7 T. B( J0 k  A2 R5 r2 f, n2 B
  980. ;Please note that if you set this value to a high number you may consume all1 S! M5 M/ C( q# }/ p; ~$ ?
  981. ;the available process stack and eventually crash PHP (due to reaching the2 @2 M) z( e# h$ _% B, z$ T
  982. ;stack size limit imposed by the Operating System).
      d6 ~3 _7 W0 V. l; }# m
  983. ; http://php.net/pcre.recursion-limit
    , B) t" X3 o% L5 a" ^( i% b/ q, x9 d
  984. ;pcre.recursion_limit=1000008 N( N4 W) ^' |5 ]0 A$ w- k

  985. 3 v( {% l. e4 I/ _3 P8 B
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    $ l/ t' y( _# o& W3 ^' X7 U' s
  987. ;library to be compiled with JIT support.: Y5 f2 w1 I% x9 |* c; V
  988. ;pcre.jit=1
    4 @# R9 v3 G2 K8 D
  989. . m) Q7 N8 N5 A. J. S- @, [
  990. [Pdo]
    ( P- e0 o2 {$ u( ^/ Q) E
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off". A! f) b% P, J
  992. ; http://php.net/pdo-odbc.connection-pooling
    ; J2 N) j; C# h0 i  Y
  993. ;pdo_odbc.connection_pooling=strict+ r, M0 m% i4 F/ D
  994. ! {: J( M" V' H; h0 |; n! K
  995. ;pdo_odbc.db2_instance_name4 A6 m' F. \6 O
  996. # w+ E! u7 j- [" F1 I
  997. [Pdo_mysql]
    ) t, y5 ], d! y. i
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ s% J  I+ K9 Y0 n9 ?& [+ b  r
  999. ; http://php.net/pdo_mysql.cache_size5 h6 _* @6 y+ V4 Q
  1000. pdo_mysql.cache_size = 2000
    / r! K. s; Z% C' J& H

  1001. - ~( ^/ q% n5 H' d' J6 |5 h3 A; A3 s, e
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * u7 ]  v# n: j. f$ j& }# V  {
  1003. ; MySQL defaults.
    0 r' F0 @$ q; I5 K, b0 O  u
  1004. ; http://php.net/pdo_mysql.default-socket& J4 ^7 e7 L+ I/ _& B7 u6 ]
  1005. pdo_mysql.default_socket=
    : h9 e" D% E% c% V
  1006. : B: Y' p. A# G9 d, |
  1007. [Phar]/ i0 U# J% [5 u+ T2 m4 o
  1008. ; http://php.net/phar.readonly/ i# T6 f* _% A" c+ F
  1009. ;phar.readonly = On7 j0 x/ l& F3 p5 [/ ^8 j$ o

  1010. & T4 U% F/ J/ f7 u% w
  1011. ; http://php.net/phar.require-hash5 K) O$ A6 d  s+ d$ h6 ~
  1012. ;phar.require_hash = On
    # b) P9 B+ s9 F6 `! H2 Q( X
  1013. & n$ q# n2 l* @1 ~) `- d
  1014. ;phar.cache_list =" \3 d* Q- U1 K2 z

  1015. 6 j2 f) f. F! _1 n. |6 {/ H
  1016. [mail function]/ L& O' u; B/ _9 ?3 M& R5 m
  1017. ; For Win32 only.: S0 E; X" ~0 _$ q) x
  1018. ; http://php.net/smtp
    9 l: }) x0 \6 R  \  d: l
  1019. SMTP = localhost) W9 j- `( }1 J3 i4 _
  1020. ; http://php.net/smtp-port9 n9 v& d! \) v' d8 ^( l
  1021. smtp_port = 25' ^& L" A4 i) f& ?$ R
  1022. ; g6 {0 Z& l$ u4 k( G9 x
  1023. ; For Win32 only.
    % n- V+ U8 s& @1 g, ~
  1024. ; http://php.net/sendmail-from
    5 D, b& ~1 {+ u, h/ G
  1025. ;sendmail_from = me@example.com$ V" F( r( d9 @& A7 L

  1026. , i2 ^0 x! M- C4 B1 f; i9 u4 a/ K( I
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").) N0 `. k) o7 D( ~4 D$ C
  1028. ; http://php.net/sendmail-path6 ]7 d/ b1 i" ?
  1029. sendmail_path = /usr/sbin/sendmail -t -i; s1 W0 q; u4 x7 Z9 b- x

  1030. $ Z" b6 O- h$ n
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
      o; P0 y$ ]# s0 y3 l- u
  1032. ; to the sendmail binary. These parameters will always replace the value of
    1 a0 H; ~3 b1 W- d; B
  1033. ; the 5th parameter to mail().
    7 u6 U0 [. W6 T4 L, V7 ]/ X
  1034. ;mail.force_extra_parameters =$ o% V' f2 Q$ B+ l* V3 ?

  1035. 0 s, R5 \( n# C; t) n
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ) u6 B* u- [0 y' m! H
  1037. mail.add_x_header = On
    : _3 f5 Q+ A3 ~0 F0 d+ D

  1038. * X) H# z5 n/ V5 p7 a
  1039. ; The path to a log file that will log all mail() calls. Log entries include1 Q* y2 M$ |) y9 b: x- X2 n
  1040. ; the full path of the script, line number, To address and headers.! z- p; O8 d. c2 h$ w
  1041. ;mail.log =, X, i, {1 {: Q4 s
  1042. ; Log mail to syslog (Event Log on Windows)." a' r& Z" n+ M3 Q4 e
  1043. ;mail.log = syslog7 m' A9 v0 \8 }/ Z6 H
  1044. / f. j# Y' F* Y. u
  1045. [SQL]
    . N, v, w/ K$ `
  1046. ; http://php.net/sql.safe-mode
    - T5 d5 ?! V% p" k" R
  1047. sql.safe_mode = Off
    1 k% Z  l/ y( E' G0 b

  1048. 5 y" _5 `0 \2 Y  t& S, y# x. Z; n
  1049. [ODBC]: [1 ~4 U) o  {: [/ U0 q
  1050. ; http://php.net/odbc.default-db
    + X" e3 [- f4 d8 S) |
  1051. ;odbc.default_db    =  Not yet implemented
    0 \. E& @, i* P; ~7 @. S
  1052. - e3 @( J" f% t
  1053. ; http://php.net/odbc.default-user$ R, m+ M  W2 o. Q& q6 y$ {) p
  1054. ;odbc.default_user  =  Not yet implemented
      c; f$ o. Y9 j, y' ]) l: Z  @- I# v

  1055. 2 q/ t" N& g# u
  1056. ; http://php.net/odbc.default-pw
    - f0 N" K  k4 j: o
  1057. ;odbc.default_pw    =  Not yet implemented
    7 z% a* T0 u5 X5 m2 W
  1058. & q9 n# [2 b; K! y$ A
  1059. ; Controls the ODBC cursor model.
    % b+ ]# h  v7 o3 G
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ) m; K; i/ g9 y! o
  1061. ;odbc.default_cursortype) |* p! o* @0 s( C4 T

  1062. + ~1 y3 M4 _, q  ]$ A( F0 \; F
  1063. ; Allow or prevent persistent links." R: d* G1 m2 n# W
  1064. ; http://php.net/odbc.allow-persistent
    # v. U# |+ L3 t6 j% a" Z
  1065. odbc.allow_persistent = On: ]) S$ n6 f$ Z
  1066. : ~/ m. `8 ], x5 d  Q
  1067. ; Check that a connection is still valid before reuse.7 P- k& [: x6 Z* g6 i, P
  1068. ; http://php.net/odbc.check-persistent0 [% o) t9 v6 ^, Q
  1069. odbc.check_persistent = On
    ' I" z" \* [; P# `
  1070. . O! p7 F) L4 q- P( n; X% [
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ( M% t6 x! _" m
  1072. ; http://php.net/odbc.max-persistent
    ; ^- U" P; B$ [
  1073. odbc.max_persistent = -1, F/ l  |5 d4 m/ J: |* ?5 v+ Q9 I
  1074. 5 ~* Q6 l& L/ W
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 w4 B! \8 t+ f9 K1 ?
  1076. ; http://php.net/odbc.max-links
    # h; V( P2 M" `
  1077. odbc.max_links = -1
      W1 N6 T* o% c  K" i8 }( h2 M
  1078. 2 T$ l, j" i% y4 n* V  K0 I
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means, x. q7 X9 {  p, T* l7 ^
  1080. ; passthru.% i# i4 H$ Y1 ~* N/ h* M2 p6 b" A
  1081. ; http://php.net/odbc.defaultlrl
    $ P, a6 D9 c6 T- o. \
  1082. odbc.defaultlrl = 4096
    ) ]' I. l0 ?9 s* W) y9 K) h
  1083. 6 _, s, c( S0 L$ W2 x  v0 i
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 K2 _: M7 s7 k
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation) S% J9 s# o& T2 `& A% e- H
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode) z" d- j( u. q4 Y6 o3 Y/ o
  1087. ; http://php.net/odbc.defaultbinmode
    9 _. J; J$ k% l' l; q' w
  1088. odbc.defaultbinmode = 1
    2 X7 ~# b; J& r3 a4 f/ J# }
  1089. $ a; t- c% M# K5 u/ o& m6 a# [9 K7 r
  1090. ;birdstep.max_links = -1! l5 z; C  q; [3 y, h# G

  1091. ! |6 M5 D4 n- v( I' N+ A
  1092. [Interbase]
      d6 x- m7 C- N4 E  r/ U: x* _8 G% V
  1093. ; Allow or prevent persistent links.
    4 T- l$ P) i9 ^6 `/ S4 L
  1094. ibase.allow_persistent = 1$ F1 S; {* R+ Q
  1095. + g! h# S$ F# [" m! E1 b
  1096. ; Maximum number of persistent links.  -1 means no limit.  ~7 F& e! V# U
  1097. ibase.max_persistent = -1
    8 H9 h' Y. t3 t4 x1 b

  1098. : V0 v! p! i# u& o) a: J& P
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! u/ x0 Z# A4 Z. \+ J, z% r9 u
  1100. ibase.max_links = -1! \/ z8 S* Q* g1 P: w3 W/ }

  1101. 5 W7 ^2 W9 m% A& W' K
  1102. ; Default database name for ibase_connect().. P- q  u- ?0 \% O8 Y3 Q7 _
  1103. ;ibase.default_db =" y5 X! G' B. ~! ]; f

  1104. 4 {- _2 w4 Q' w% ]
  1105. ; Default username for ibase_connect().6 m* X1 H7 F( q/ }& o
  1106. ;ibase.default_user =
    ; {0 @; u- S. J* w" ?8 q% F# N; v& s- |

  1107. & j0 J, D0 e) a9 @+ A& j! U+ y
  1108. ; Default password for ibase_connect().( v2 ]7 i! k( y$ P0 ~
  1109. ;ibase.default_password =4 U! Q1 `" J$ a4 [) O
  1110. 4 o  N6 n. T' i$ e
  1111. ; Default charset for ibase_connect().
    $ V" J6 u& |" v$ a" O; u  v4 T
  1112. ;ibase.default_charset =6 g  a& T5 ^2 L( S% @9 D

  1113. ; w4 B5 h# R* ^0 }! q- U
  1114. ; Default timestamp format.9 y* w% N& A( l
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"& N$ E! K. O  M# v( _2 x

  1116. # E; V0 z3 M% H& X5 U% Q
  1117. ; Default date format.
    # M- U4 e( ~( p1 W1 f/ D; J, {
  1118. ibase.dateformat = "%Y-%m-%d"
    6 w5 v% \) l  }

  1119. 8 f' U+ W* l' O- U. }5 ~
  1120. ; Default time format.3 ~; `; i1 _8 M' q
  1121. ibase.timeformat = "%H:%M:%S"
    1 U+ L5 T+ A: R

  1122. 5 q1 K! ^5 q. z  A5 @/ t. j
  1123. [MySQLi]
    5 {$ `, K4 `  f! ^* H1 j  p

  1124. 5 ?3 H0 _4 i6 G% o* N
  1125. ; Maximum number of persistent links.  -1 means no limit.
    4 ~- R: b4 T2 n1 T, j; e
  1126. ; http://php.net/mysqli.max-persistent! _7 t, S8 D( y/ L+ ^! \( Y
  1127. mysqli.max_persistent = -1
    8 p8 |3 V* b3 q3 i- N! `  z
  1128. * K, U5 Z( t; v+ Y
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ p; j; Z9 d# B1 V$ F+ f
  1130. ; http://php.net/mysqli.allow_local_infile
    * ^* r2 W8 O' [( ~0 p# H
  1131. ;mysqli.allow_local_infile = On) z$ [( Q8 d/ m, u7 Q# ^

  1132. - w" j: y) E- R* x( `0 L2 k* Y* {
  1133. ; Allow or prevent persistent links.
    0 U* P# |  G5 H1 k4 C% R
  1134. ; http://php.net/mysqli.allow-persistent: ^: o% l% M$ ^8 O6 e, ^3 f
  1135. mysqli.allow_persistent = On
    # E$ Y7 g, }3 @/ P6 k
  1136. 8 n/ _1 X' Q0 H! A
  1137. ; Maximum number of links.  -1 means no limit.. _2 _# h4 {/ E  l9 d8 f
  1138. ; http://php.net/mysqli.max-links7 y7 s+ R7 X# u( Q+ K9 E& R
  1139. mysqli.max_links = -1# D" b2 L7 n2 p

  1140. 0 c+ S& n; X- ?* L& _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache. r6 v0 M" g7 s  ~- |
  1142. ; http://php.net/mysqli.cache_size
    $ _' M+ z: Z& o7 Y
  1143. mysqli.cache_size = 2000
    4 |% E) S& {& W3 Q5 C: Y

  1144. 6 J2 s( ~- d7 L+ W9 o7 _) d) u
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use/ W9 ]* d+ H" Z' E5 ]/ I( h
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % ~7 m: Q, w5 A3 }9 @, C
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look0 ~+ s$ w  L, H% \( E! d7 R6 |9 w% I/ i
  1148. ; at MYSQL_PORT.  Y" b5 I  S, |5 N" Z' X" [+ I
  1149. ; http://php.net/mysqli.default-port
    * n- v, c& C6 s
  1150. mysqli.default_port = 3306
    4 f/ l* h2 L/ [. |* P

  1151. + {. n# f- y# C9 j/ L
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 i  r) i8 r+ ]
  1153. ; MySQL defaults.
    $ V0 s5 Q7 x7 x% r: z$ e/ E1 \* r3 Q
  1154. ; http://php.net/mysqli.default-socket1 K% j! c) \/ i/ e0 G! G
  1155. mysqli.default_socket =
    0 L! y- M" \1 W- x7 r5 b, t) `

  1156. * c1 G8 Z7 c' j2 G- g$ L  y) B
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% u  \& m  X: G* A; ?3 Q0 q9 Y
  1158. ; http://php.net/mysqli.default-host
    2 f' S6 K" S4 u# E/ e8 x' f9 s) X7 N
  1159. mysqli.default_host =" g4 T9 @+ k8 Q  V6 r0 V

  1160. , w  g7 d- [" ^' a! z, G
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).% W/ C0 g, }5 E% @) D$ o, d+ ^
  1162. ; http://php.net/mysqli.default-user
    ! {; L% e7 Q. R3 n+ Q
  1163. mysqli.default_user =
    & p; C" [- V; x

  1164. 3 h0 E, z8 ~* J7 u( ^+ n" u
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    9 ^3 O: x. G1 _5 j
  1166. ; Note that this is generally a *bad* idea to store passwords in this file., C/ }7 L- S( P/ s1 y" F  m1 K
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    $ E* X, S: f& Q% {% T
  1168. ; and reveal this password!  And of course, any users with read access to this: X+ u" a6 L- ]7 x2 o2 k# ?
  1169. ; file will be able to reveal the password as well.! ]7 u$ d, M0 z# O1 q, n9 W# x( z
  1170. ; http://php.net/mysqli.default-pw+ a8 y4 _" V- t- W' l
  1171. mysqli.default_pw =
    % Z; S" ]  R7 S  |" ]: `
  1172. ' V% k# T  h# C  g6 v( m
  1173. ; Allow or prevent reconnect( g8 `; y' @# i+ T
  1174. mysqli.reconnect = Off6 ?$ V) w( T, w& H6 m5 Q  Y$ d
  1175. ; D" {  a9 o( L; ^* @, D
  1176. [mysqlnd]
    ; H: O! P) t, r" N2 p4 U% j- C2 C
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & Q0 `/ Z' ~: O" d- p
  1178. ; used to tune and monitor MySQL operations.
    ( d/ `( e2 Q. U7 Z
  1179. ; http://php.net/mysqlnd.collect_statistics8 d$ z; L$ s$ |' H$ X- y
  1180. mysqlnd.collect_statistics = On. n1 z- H6 T( A* x
  1181. 4 v: s5 j9 C6 v! n/ \$ E4 R
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 Y* p+ p- C* @) l8 a$ h
  1183. ; used to tune and monitor MySQL operations.! A$ Q% {5 U( q" u: C# ^
  1184. ; http://php.net/mysqlnd.collect_memory_statistics! O& I& V( D. ^, ~. A' P9 E
  1185. mysqlnd.collect_memory_statistics = Off# U2 h/ }3 x, `6 G7 P

  1186. $ c0 c" f- r2 ~1 L7 E
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    7 P2 K) ~# ]; D* {+ P
  1188. ; file.6 R$ O( e' y3 R4 d
  1189. ; http://php.net/mysqlnd.debug
    + b& Y% L( R  p6 d/ K) y
  1190. ;mysqlnd.debug =
    - a9 S# O6 l- ]) n5 j

  1191. & V- @. O. X5 {) |
  1192. ; Defines which queries will be logged.6 z: t. F5 e+ f; ]
  1193. ; http://php.net/mysqlnd.log_mask
    * ?7 o4 m/ Z2 h/ ~
  1194. ;mysqlnd.log_mask = 0
    / ]0 J0 W  _! U. H1 t7 r9 \( u
  1195. ! p8 x# |) K' u( C! s' Y2 L+ V
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.! R8 j# B  B2 P' I& G! v3 s8 M7 t
  1197. ; http://php.net/mysqlnd.mempool_default_size/ a; Z! X' X( T6 m  L2 z% d) p5 L
  1198. ;mysqlnd.mempool_default_size = 16000
    0 S/ t+ w  @1 S) n0 @' a! S
  1199. 2 W# W' x! z8 q& Z; Q5 O& b- |
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    9 y* h2 ?. i. H5 b0 k/ ~0 |( w+ |: Z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    2 S- n# v1 R- K0 D! v
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    * X3 F- J# A+ h' J. m& S1 X
  1203. . m% W/ l5 J/ n. M
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    8 P5 H# W8 G3 X: Y* w
  1205. ; bytes./ d* h/ M0 j7 y. n4 U& {& s  A
  1206. ; http://php.net/mysqlnd.net_read_buffer_size: P! Y8 k1 u. `3 t$ r, V' ?
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ) w( h. R& p/ X; G# ^5 t
  1208. : B6 h3 |* Y! [  M% n9 _" @
  1209. ; Timeout for network requests in seconds.: R8 S$ k0 o" U- ^8 Z. N
  1210. ; http://php.net/mysqlnd.net_read_timeout
    0 t1 }$ l2 k4 `! Y* ^% P8 Z% X9 m
  1211. ;mysqlnd.net_read_timeout = 31536000
    $ w  g+ o, W$ |. V

  1212. 4 e  |1 L3 N: K% s
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    * N5 B4 v+ {( @
  1214. ; key.0 O* l$ K) [9 g" _# c! E5 R
  1215. ; http://php.net/mysqlnd.sha256_server_public_key; r4 ]' k( V4 Q) c2 K
  1216. ;mysqlnd.sha256_server_public_key =
    7 H+ B0 p; n+ C6 C5 G

  1217. 5 c% l; j8 K" @, B0 @
  1218. [OCI8]
    : O) \2 L0 j7 X7 K

  1219. * n* H& E% Z  u
  1220. ; Connection: Enables privileged connections using external
    $ n3 |; t9 B/ b9 f! [7 c4 k
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 G6 [* M- `- C: c+ i. ~
  1222. ; http://php.net/oci8.privileged-connect) i* R/ V5 k. x# {9 H# c/ f
  1223. ;oci8.privileged_connect = Off
    3 {) \( |0 y7 A, ^

  1224. * p( l9 C- n9 I0 p0 o
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    * z) f8 v; f$ O& q1 m" n$ }2 f$ z
  1226. ; process. Using -1 means no limit.; i8 M) ~: m2 m* e3 M
  1227. ; http://php.net/oci8.max-persistent4 c# g$ d% g* u$ z' i9 P
  1228. ;oci8.max_persistent = -1
    8 `- K* `0 U3 w7 Y6 X' d3 r+ s. |0 c
  1229. ! o) c3 g) H& H
  1230. ; Connection: The maximum number of seconds a process is allowed to
    4 _/ x% ^& [4 @4 T" s5 U
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ; U2 o$ e- Y5 t' K$ G" l2 u$ z
  1232. ; persistent connections will be maintained forever.$ s$ O9 D% A3 f6 y" F7 z* r
  1233. ; http://php.net/oci8.persistent-timeout! t& y1 V2 j" z' k
  1234. ;oci8.persistent_timeout = -1
    # r7 b+ Y8 [9 C8 m# Z* |& ]

  1235. % m1 y! x  a7 |0 h( I8 z
  1236. ; Connection: The number of seconds that must pass before issuing a
    8 Y  @8 X- B: I/ ]9 W
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ) x  d) j5 u+ I# f, x
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables  n: \  z! }& k6 o/ s
  1239. ; pings completely.
      ^; L' ^' s8 D- @
  1240. ; http://php.net/oci8.ping-interval: E" ~! f+ g! ]' o. `
  1241. ;oci8.ping_interval = 60
    7 g, D; e7 ^2 i! W6 x% b

  1242. - O# |1 Z- m4 |  J' I* r
  1243. ; Connection: Set this to a user chosen connection class to be used
    7 z( o' B5 w2 _) A! o
  1244. ; for all pooled server requests with Oracle 11g Database Resident6 t8 X6 r* w+ x8 s& X
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
      N0 O/ a$ n- q$ w. k7 ?: k7 `
  1246. ; the same string for all web servers running the same application,
    * O9 H& m9 V0 V
  1247. ; the database pool must be configured, and the connection string must
    & N. b, s  v3 z& r7 U
  1248. ; specify to use a pooled server.+ }8 _4 X4 G1 I) e2 ], b7 ]  K& i+ i
  1249. ;oci8.connection_class =
    . Q. O  L, q2 g) U" C3 Z6 u
  1250. - p: o' h; E$ H/ t: I- f$ B# C1 ~( |
  1251. ; High Availability: Using On lets PHP receive Fast Application1 K* L- _: S1 D$ A! I& W
  1252. ; Notification (FAN) events generated when a database node fails. The. Z5 N4 S9 V( A9 V" t5 W# v% S) z
  1253. ; database must also be configured to post FAN events.
    ; Y, z; c' T5 v
  1254. ;oci8.events = Off  y7 K# e% w3 f! D- e

  1255. 8 E, A1 e+ A3 `7 _
  1256. ; Tuning: This option enables statement caching, and specifies how
    : g5 A% a" a" A0 A
  1257. ; many statements to cache. Using 0 disables statement caching.$ [8 Y/ ~) l5 e4 V/ `' ^4 G! `$ ^% z
  1258. ; http://php.net/oci8.statement-cache-size1 D% P+ F  Y! l: j$ F' {
  1259. ;oci8.statement_cache_size = 20
    $ G. k7 Q2 a* |. c! p

  1260. 3 \2 i: Q3 y+ Q* K
  1261. ; Tuning: Enables statement prefetching and sets the default number of3 ~) ~/ K* }/ W4 b
  1262. ; rows that will be fetched automatically after statement execution.
    ! u% E, M1 g5 c+ b: ~6 m) f7 m) G
  1263. ; http://php.net/oci8.default-prefetch
    $ H: w0 \) i* s! u% i8 Q
  1264. ;oci8.default_prefetch = 1009 _0 B2 f& G4 E! A2 t: B" V& H
  1265. & M2 |5 y: o# q: b! X
  1266. ; Compatibility. Using On means oci_close() will not close  D& V& J7 Z  J4 x" g* \) B
  1267. ; oci_connect() and oci_new_connect() connections.
    , T& B4 }) ^) K. U  V/ [. F# f) m
  1268. ; http://php.net/oci8.old-oci-close-semantics
    + ]  A6 C! N3 }) F8 }, j. N2 P* e
  1269. ;oci8.old_oci_close_semantics = Off
    * B9 r. @# W: i4 G" k5 q9 f

  1270. $ W4 F. W; r+ P- @4 p" v1 n9 ]2 W
  1271. [PostgreSQL]8 E. V* O+ J- R' m
  1272. ; Allow or prevent persistent links.
    & `# r6 g7 ^: |
  1273. ; http://php.net/pgsql.allow-persistent
    + t, G: k+ m2 [; ~3 K  A& d0 q
  1274. pgsql.allow_persistent = On) t2 Y+ g  a5 a. q( l* y3 t" l

  1275.   e1 g9 d+ B3 v; |$ b
  1276. ; Detect broken persistent links always with pg_pconnect().
    & f, H, |& G: u" i4 q
  1277. ; Auto reset feature requires a little overheads.
    , i' k) \, h% i. M+ p0 [2 H6 W
  1278. ; http://php.net/pgsql.auto-reset-persistent. `& c$ H, E  |$ u4 s
  1279. pgsql.auto_reset_persistent = Off
    4 D; q3 J% _1 D5 C- A- w% U
  1280. ) [, t& V* `/ _, {* c) `$ q) S3 `
  1281. ; Maximum number of persistent links.  -1 means no limit.
    . a* b) {# z: [5 \
  1282. ; http://php.net/pgsql.max-persistent+ G0 I( O0 f$ [; r9 P! T9 I
  1283. pgsql.max_persistent = -1' e8 n& \8 Y/ k- L

  1284. , e# Z; B" i9 ^4 I  a) a  U
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.5 Y* q6 O& i1 t2 z1 \. `" f6 D
  1286. ; http://php.net/pgsql.max-links+ r% [$ C4 T5 e3 h
  1287. pgsql.max_links = -1
    " J  P' L6 L6 _7 Y; z  S; A

  1288. 9 M0 b+ a# g, q2 j! r) i
  1289. ; Ignore PostgreSQL backends Notice message or not.$ A* W/ v  q) X/ R' {4 {
  1290. ; Notice message logging require a little overheads.
    ( M, Z# n9 X5 @% h
  1291. ; http://php.net/pgsql.ignore-notice
    2 R6 l, H- b  R7 a
  1292. pgsql.ignore_notice = 0
    6 M( D5 E$ v; v2 x3 T0 i5 S
  1293. 2 w8 R: }6 `' {8 W' N$ T
  1294. ; Log PostgreSQL backends Notice message or not.
    0 s" \$ V. |* q7 J8 ?  ~' Q
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.1 x, O4 s! D1 k# c6 [6 |) C
  1296. ; http://php.net/pgsql.log-notice
    ' B' {+ V& m8 ^. L" {* B& t3 v
  1297. pgsql.log_notice = 0
    2 |; v& y$ R  Z8 a9 o7 p6 U

  1298. # C4 Y* ?/ a$ F( V' N2 w- X
  1299. [bcmath]) Q; h6 c7 _& T* c' l
  1300. ; Number of decimal digits for all bcmath functions.# G& ~) c) a* U+ _. p
  1301. ; http://php.net/bcmath.scale
    $ Z2 B% s1 Q. m% c% D7 h
  1302. bcmath.scale = 08 t" Q9 Q! B* F! j

  1303. ) L7 p! s3 n( V+ H& b) f" B5 L
  1304. [browscap]
    5 }4 k+ J5 D5 W  J" @) M/ \
  1305. ; http://php.net/browscap
    ( h7 D3 Y, Y, f# v4 g2 W1 |  a6 r
  1306. ;browscap = extra/browscap.ini
    & @. H8 ]5 i/ [8 p  Q# h' P
  1307. $ M  M4 l  {+ @8 H
  1308. [Session]
    6 w% ^* D9 K( k+ ^+ S' y, W
  1309. ; Handler used to store/retrieve data.  n8 Q% h: |' b) c; C9 b
  1310. ; http://php.net/session.save-handler1 P& p0 t5 `! O/ A/ x3 ?+ ~
  1311. session.save_handler = files+ H9 b8 m; s$ N. G# O
  1312. 8 u! c7 z& F1 i$ K
  1313. ; Argument passed to save_handler.  In the case of files, this is the path7 q' p0 l3 T# ~% E1 m
  1314. ; where data files are stored. Note: Windows users have to change this
    % J! j1 L# t$ q% L. y
  1315. ; variable in order to use PHP's session functions.. @: h3 K6 f6 b+ k( k' {. J
  1316. ;
    : d4 g" c/ @) ^( b) y- F9 |
  1317. ; The path can be defined as:
    * G' z: j6 A  d) _& |0 p( [
  1318. ;- B$ P' N5 J; n, h) {
  1319. ;     session.save_path = "N;/path"3 f3 d9 _1 p, Z% ~7 s* v
  1320. ;! h! U0 k* Z$ {; G
  1321. ; where N is an integer.  Instead of storing all the session files in( I" ]8 r9 e* X
  1322. ; /path, what this will do is use subdirectories N-levels deep, and: d3 p- w9 \3 o" [* t; x  C
  1323. ; store the session data in those directories.  This is useful if
    8 h2 \% j# Y. j% j" t$ @
  1324. ; your OS has problems with many files in one directory, and is
    1 P' |5 E4 Z" V& O- P
  1325. ; a more efficient layout for servers that handle many sessions.* y1 }: P4 z1 P7 {. R
  1326. ;6 c) F' o8 }& g# s$ M. `, M
  1327. ; NOTE 1: PHP will not create this directory structure automatically.2 I% b( m0 a. B5 f3 w  U
  1328. ;         You can use the script in the ext/session dir for that purpose.6 M6 P0 Q1 w' C, B/ P7 R4 i. W# j. u
  1329. ; NOTE 2: See the section on garbage collection below if you choose to6 d7 ^% D0 a4 t2 I0 n" S1 f+ u: Q. E
  1330. ;         use subdirectories for session storage& C0 i2 G0 c. P9 u) U, q5 x
  1331. ;
    4 b# T: a, m' f; |. S- C0 X
  1332. ; The file storage module creates files using mode 600 by default.
    & |9 ^6 L: u. P1 g1 V% E9 f4 T
  1333. ; You can change that by using2 @, F$ n' x- E9 D3 t
  1334. ;8 u7 ~  L) l- S1 r4 W, e6 G
  1335. ;     session.save_path = "N;MODE;/path"
    6 i. n* }2 o2 L7 w- y' a' i$ ]
  1336. ;
    : J* K' C6 ], s# h; D. T8 s, ~6 M
  1337. ; where MODE is the octal representation of the mode. Note that this
    1 s! r1 `( z/ l/ _# P
  1338. ; does not overwrite the process's umask.
    + I$ C2 h) {9 g% e2 T3 ~( i( y
  1339. ; http://php.net/session.save-path
    ( F$ U) }+ k0 ^, Z
  1340. ;session.save_path = "/tmp"4 k6 ~4 X- R& m  s# P
  1341.   V. {( E% j$ [" i6 f/ I. c
  1342. ; Whether to use strict session mode.) d9 b  q- F/ O/ b0 z  f; u% {. c
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 h0 T* ~/ o! G1 e6 |  \
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects; u* \7 i. G" P
  1345. ; applications from session fixation via session adoption vulnerability. It is4 \3 X: U2 Z% O7 ]3 h6 t& q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    $ ~, Q1 u, I2 l7 [
  1347. ; https://wiki.php.net/rfc/strict_sessions
    & G" s$ X. \5 I& \+ b
  1348. session.use_strict_mode = 0" b* O7 X: r; Z5 N5 D8 M
  1349. 6 u1 M9 w3 F( P: l
  1350. ; Whether to use cookies.
    4 Q. @" H7 Y5 u! W6 V
  1351. ; http://php.net/session.use-cookies  x$ E0 F; U9 I' d
  1352. session.use_cookies = 1" K6 C3 h1 \5 N* f1 D6 h
  1353. 0 ?8 v2 e2 r$ M" K2 s5 K
  1354. ; http://php.net/session.cookie-secure* b. J# _' s2 k0 t
  1355. ;session.cookie_secure =. U8 v$ Y# u0 q  X0 U
  1356. % F$ C9 z: e+ G
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ! D1 X) b- f5 U. s( a7 g; c% e. d
  1358. ; the session id. We encourage this operation as it's very helpful in combating- x  }  m* C% Q, P" ?3 U4 A
  1359. ; session hijacking when not specifying and managing your own session id. It is
    9 z) A( J% f; w& L5 o6 K
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 k6 T9 f5 \! b" J( U2 \
  1361. ; http://php.net/session.use-only-cookies- i) n6 P8 n4 i. c0 \4 E
  1362. session.use_only_cookies = 1
    " F0 X- R; E6 w. [
  1363. 2 E6 x) p* T( Z$ ]( t
  1364. ; Name of the session (used as cookie name).0 e. ?/ _( Q- U, |, v6 x
  1365. ; http://php.net/session.name( m  y6 _$ g, z# n1 b
  1366. session.name = PHPSESSID
    # \) K" y3 v& Q. Z6 o3 n7 G  Y

  1367. # M. ?% g# r4 W/ V$ M7 l
  1368. ; Initialize session on request startup.
      E5 o5 _- ^8 ?* V/ {
  1369. ; http://php.net/session.auto-start
    ' \: [& q6 M6 I9 y+ x. [4 V
  1370. session.auto_start = 0
    5 T3 j6 r2 y* u8 N
  1371. ' f) }9 N( }$ ]+ x/ Z: L! l3 j* S
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 J" C" R4 ?9 h8 B6 M
  1373. ; http://php.net/session.cookie-lifetime6 n& X& @& w0 a
  1374. session.cookie_lifetime = 0( W  }8 [4 \. C3 B1 t4 W

  1375.   d: {: P$ E* M6 T0 s, @! S
  1376. ; The path for which the cookie is valid.
    4 d$ p2 X4 ~9 G/ H8 i
  1377. ; http://php.net/session.cookie-path/ m6 [& u0 M( O
  1378. session.cookie_path = /2 e4 _( e. y  u; F% r6 Z8 |

  1379. % {7 [! X' p* b5 n
  1380. ; The domain for which the cookie is valid.4 I7 `$ t1 r* J1 Z7 v( h3 L% ~( A
  1381. ; http://php.net/session.cookie-domain4 ~, P2 L9 D; x3 l9 f5 ?2 z+ S" ]2 h
  1382. session.cookie_domain =
    6 N! y) _, V! V" r

  1383. , r8 T6 q/ C2 }7 [5 K
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ A  q* |: g; H$ a
  1385. ; http://php.net/session.cookie-httponly
    $ I: X. L& y% o' G7 H' @3 S& k6 o
  1386. session.cookie_httponly =; M# ]" O6 I! p/ q+ t2 S
  1387. 6 G, Y  ^1 ^1 [
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    " w, g# ]* D5 W" `
  1389. ; http://php.net/session.serialize-handler
    " b  y: A( q" Z; f' z% y( C
  1390. session.serialize_handler = php/ O; g6 q3 V1 {3 N& X5 r

  1391. * }- @6 w8 N8 [0 F! E' P
  1392. ; Defines the probability that the 'garbage collection' process is started
    ; h8 R4 |* C% I% |6 C5 `3 d
  1393. ; on every session initialization. The probability is calculated by using: u' G; A& R8 d3 q- ]& \
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator3 z, A+ F) n8 ]5 e$ ]+ z4 B
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      j* L6 z; {+ a
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 s1 a+ O/ l% Q; ^9 K& v
  1397. ; the gc will run on any give request.
    8 ]8 F5 A" H0 Q1 v. H4 _1 G( r
  1398. ; Default Value: 1
    , H+ \( d$ D4 C, w1 [
  1399. ; Development Value: 1' D) i+ }6 E; t/ |5 z
  1400. ; Production Value: 14 _' _3 K1 S$ X9 X6 X/ q
  1401. ; http://php.net/session.gc-probability/ X4 I& l' ~( Y. ?
  1402. session.gc_probability = 1) W# X$ h; M+ t" V7 Q2 v7 h. D$ p

  1403. 8 s0 L; F. r# i7 w
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    : }, f# {/ G7 o2 B" q' [7 N
  1405. ; session initialization. The probability is calculated by using the following equation:3 T$ a# [8 x  |8 C+ }
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ! K/ L0 t2 c+ x* Q- ?' G
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1* W& h9 z% l9 ~2 v1 N
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 I- N9 v/ e2 o7 ^1 F* Y6 d% d; m
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # G8 |5 C7 }& R2 [5 {- q, C
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers," Y  X) @* B4 K6 `) z( N
  1411. ; this is a more efficient approach.
    8 h# \/ ]; m- F5 E# {$ w: [
  1412. ; Default Value: 100
    * t' @& ^0 R( c9 v4 m" R6 |
  1413. ; Development Value: 10001 t" X* t+ l4 w
  1414. ; Production Value: 1000/ {1 R: @: t, E& B3 R% g1 x2 @
  1415. ; http://php.net/session.gc-divisor' O8 J6 u/ N: o2 R
  1416. session.gc_divisor = 1000" e' ^' D7 z0 f6 U: l' {
  1417. ( E$ a3 Q7 F. o3 C
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 V9 }" T; |( O7 q3 m4 m: D0 |9 Z
  1419. ; cleaned up by the garbage collection process." z$ o& e( J: Y) J/ o2 @
  1420. ; http://php.net/session.gc-maxlifetime6 h$ J7 ~4 I  C' c  Z1 d4 {6 Y
  1421. session.gc_maxlifetime = 1440
    - p6 Z% K$ Q. T/ u5 `

  1422. 5 r% }- V) |1 L; I* x8 a' \
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 ]; z: u! u& b$ t
  1424. ;       (see session.save_path above), then garbage collection does *not*# K6 Q3 F# g! k! s7 E
  1425. ;       happen automatically.  You will need to do your own garbage
    2 _/ I5 ?2 Q7 x; a) \$ w
  1426. ;       collection through a shell script, cron entry, or some other method.- m5 Z  M) y& z' _# P
  1427. ;       For example, the following script would is the equivalent of
    ! t! M; w1 f4 L* j2 x: `% v
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):) o# W& o0 B0 E* o8 U
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    1 c) Z$ |, c% ^% M$ u; j/ U

  1430. ' x( {8 K; l  ?. _7 P. c
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids." g7 k* t2 s/ P  P3 {
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    / M  ~% o% y" ~. U9 [9 U* n% F! \
  1433. ; considered as valid.
    / A" E( Q- u* g
  1434. ; http://php.net/session.referer-check
    - d6 _/ \7 ^& ?# S
  1435. session.referer_check =8 j8 O# K7 P, m3 S# u) J
  1436. # G# e1 ^, v1 w% F& }
  1437. ; How many bytes to read from the file.
    " t, k. {. j) Z
  1438. ; http://php.net/session.entropy-length6 _. O: B1 o# y; B8 e. w
  1439. ;session.entropy_length = 32
    / p9 U. I+ N2 D/ R7 c7 W/ y
  1440. 8 T, r/ e0 x% I7 M! X$ r
  1441. ; Specified here to create the session id.7 I  J' m# m' s- @# v5 q# O
  1442. ; http://php.net/session.entropy-file5 t: [; W& m  u9 y$ o8 }" i5 c) i
  1443. ; Defaults to /dev/urandom) s( L& _. M& o0 A5 Y
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " \7 {. M* y0 _/ q1 v6 @+ \
  1445. ; If neither are found at compile time, the default is no entropy file.
    - H% j7 i7 W4 ~% p" U
  1446. ; On windows, setting the entropy_length setting will activate the6 E. d; j9 P9 o4 L9 f5 f
  1447. ; Windows random source (using the CryptoAPI)
    ) d6 F: v( ~+ j* Q
  1448. ;session.entropy_file = /dev/urandom
    ) h9 \8 z& V2 _6 A+ S
  1449. / F7 A" W( s6 z8 ]* |# d
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects- a  m: L1 Y& {: }  ^
  1451. ; or leave this empty to avoid sending anti-caching headers.
    6 h' Y8 {- D3 V! s
  1452. ; http://php.net/session.cache-limiter! n+ s. j# {& G/ U& d8 W
  1453. session.cache_limiter = nocache4 i, }; I/ N, u5 @9 J- H9 _

  1454. + B3 o+ M, u; j2 B& k3 H* X' @
  1455. ; Document expires after n minutes.# k/ P+ {8 K) C, l. j
  1456. ; http://php.net/session.cache-expire1 u/ u% p9 @- R# Q$ h0 L$ v
  1457. session.cache_expire = 180% z/ o1 a+ @3 H
  1458. & S3 x% i  l" p7 L9 |* d
  1459. ; trans sid support is disabled by default.
    * G# ]0 ^! p. c/ W4 q
  1460. ; Use of trans sid may risk your users' security.# x6 \' I. K# c! I/ F8 H4 f
  1461. ; Use this option with caution.# u9 J8 g3 n6 v3 h
  1462. ; - User may send URL contains active session ID
    / H+ \. T) k9 }- {, Z# J0 _
  1463. ;   to other person via. email/irc/etc.
    6 @0 a& R8 c0 ?! ^) x
  1464. ; - URL that contains active session ID may be stored
    5 H  [6 B+ J9 w3 E$ H0 |. h% x
  1465. ;   in publicly accessible computer.6 O* l- \- g1 \- H
  1466. ; - User may access your site with the same session ID
    : U  e* [$ p5 c- L+ j8 z
  1467. ;   always using URL stored in browser's history or bookmarks.. F, d/ v0 F1 [  d! \
  1468. ; http://php.net/session.use-trans-sid. M# g) P5 ~1 \1 H1 z0 T1 W7 T' A
  1469. session.use_trans_sid = 0
    / C7 e- T1 Q. e: u% [* |$ }9 y
  1470. 1 ]7 N2 T# v- l( ~- h- d
  1471. ; Select a hash function for use in generating session ids.+ B  Q2 ^. K5 v! E# j
  1472. ; Possible Values
    8 s9 _* G8 V$ s, G) R$ u
  1473. ;   0  (MD5 128 bits)
    , X* Y- H& Y' }+ w& l  d1 b
  1474. ;   1  (SHA-1 160 bits)6 n" S% c% B- K" ]
  1475. ; This option may also be set to the name of any hash function supported by9 P8 D! e! s5 ]  A
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    , L: W8 Q' H2 X3 Q8 J$ s
  1477. ; function.5 o+ h5 J- T1 e( O0 E
  1478. ; http://php.net/session.hash-function
    4 M) ^2 k% X5 }
  1479. session.hash_function = 0
    ) R# O8 H8 G1 ^, s. P) B
  1480. & W! T8 Z$ S4 i/ L* E4 F+ I5 ^
  1481. ; Define how many bits are stored in each character when converting; G! z: J6 O; P9 ~
  1482. ; the binary hash data to something readable.8 C1 D/ [, @! p( K1 R2 o; N
  1483. ; Possible values:
    % @' v. c7 w; P& a/ G( \  s
  1484. ;   4  (4 bits: 0-9, a-f)4 N! C% w: b* B
  1485. ;   5  (5 bits: 0-9, a-v); ]4 O7 h8 P( @9 v$ s& a( B1 }
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    9 H1 P. |4 J$ a, w
  1487. ; Default Value: 4/ S, [3 ^9 k! ]8 m# V" x
  1488. ; Development Value: 5$ X( T: |! y5 ?% J* s( w6 P
  1489. ; Production Value: 5
    ) k, }, e. G6 q3 p8 ~
  1490. ; http://php.net/session.hash-bits-per-character
    6 V3 o$ x* D2 a5 f
  1491. session.hash_bits_per_character = 55 v% z% n3 `% z/ W

  1492. 3 g+ B1 @. b! |
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! i1 B' V5 F  T: ~0 l3 S; J. d
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    4 i( |2 y; @; Y1 _& A
  1495. ; add a hidden <input> field with the info which is otherwise appended
      \8 u) X/ G, q2 G
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.1 S# v4 d# c+ u# C* a: |
  1497. ; Note that all valid entries require a "=", even if no value follows.7 C& W" K0 r; c/ ?
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": T) k+ E* J6 J" m- {3 _1 T6 q
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 p( c9 S+ R! @; ?( a( U
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( Y  `7 H- D/ t6 n5 x
  1501. ; http://php.net/url-rewriter.tags
    ) {& r. N/ Z9 c" \- J8 w/ u
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* @: v7 ~2 p/ z1 l. [2 B

  1503. / u7 m' L  g! u0 w. p. b
  1504. ; Enable upload progress tracking in $_SESSION
    & [* f, \( N. B- ?; \( X7 a
  1505. ; Default Value: On
    4 W% K; F$ x$ U4 E$ W) @
  1506. ; Development Value: On
    2 J3 X: n. T8 i# p4 T* b
  1507. ; Production Value: On2 d# r# j0 j+ K8 I7 J
  1508. ; http://php.net/session.upload-progress.enabled
    + b9 R; o  a  h5 U/ y
  1509. ;session.upload_progress.enabled = On
    1 S) X# [0 A- G( L% r/ ]1 {1 O6 \2 B

  1510. # ^$ e" G0 `+ }* z/ Z2 t3 ~
  1511. ; Cleanup the progress information as soon as all POST data has been read
    1 M+ G" X; `7 z9 e2 |& l0 h# t
  1512. ; (i.e. upload completed).% h- l6 Z7 d/ {( L, G/ {" s9 u4 c
  1513. ; Default Value: On
    0 t* Y2 j2 M1 j" }
  1514. ; Development Value: On
    6 a3 W7 H$ `8 C
  1515. ; Production Value: On6 a  B+ [+ i# T0 n$ H+ T9 [
  1516. ; http://php.net/session.upload-progress.cleanup
    0 O& |  C3 j6 k. H8 |, x6 c8 H
  1517. ;session.upload_progress.cleanup = On4 p" f: X$ g8 R$ O
  1518. 7 X) S" B% I. V
  1519. ; A prefix used for the upload progress key in $_SESSION
    2 h7 V, O5 ^$ E5 d8 \  E) a
  1520. ; Default Value: "upload_progress_"
    - T9 e( g0 o% f/ p
  1521. ; Development Value: "upload_progress_"4 G0 [  \8 y8 C8 Q+ H
  1522. ; Production Value: "upload_progress_"
    ) N9 G. \5 A* h' j* ]1 `. {
  1523. ; http://php.net/session.upload-progress.prefix! N0 M  `* \% K! z
  1524. ;session.upload_progress.prefix = "upload_progress_"
    5 |6 K. r) f: g$ F7 }" j' _: W
  1525. / h# y( X8 p6 K. ?- Y- @
  1526. ; The index name (concatenated with the prefix) in $_SESSION" v9 Z5 p  T8 j+ p; ]
  1527. ; containing the upload progress information
    : }/ j3 ]) C' d' U
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! o, U# \, r) Y: D/ W
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 h- o- w$ m# J
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 N9 @  k0 G* f' q* U
  1531. ; http://php.net/session.upload-progress.name
    1 R4 m2 E3 P7 L9 z6 ?/ Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ t7 ?/ M: c5 a) H8 T* e8 |

  1533. 9 t; x) f/ E# R- v6 c; Z0 i
  1534. ; How frequently the upload progress should be updated.
    + K, U& p) z& Y) k
  1535. ; Given either in percentages (per-file), or in bytes2 r7 z4 {. Y, T$ V0 s6 _
  1536. ; Default Value: "1%"7 B* m) L" ^0 T5 r; j( @
  1537. ; Development Value: "1%"6 k) U  y5 M9 \! U1 W4 J# x2 x
  1538. ; Production Value: "1%"
    ; f  @, y) d% X% q- y! a4 i0 [9 V
  1539. ; http://php.net/session.upload-progress.freq! [6 f5 w! m& b3 `( L
  1540. ;session.upload_progress.freq =  "1%"
    4 I* f8 x& Q! b8 r

  1541. * p8 [4 G1 U( Q) a6 T# B' O! K
  1542. ; The minimum delay between updates, in seconds
    2 U. }2 p0 D+ u) i: l5 m
  1543. ; Default Value: 1
    0 M" N9 t8 p# ^/ C
  1544. ; Development Value: 11 }5 X2 ?/ i( a8 _4 I0 R6 ?  V
  1545. ; Production Value: 1
    4 }, ^+ i" f; c# W6 K% E: r& m/ h
  1546. ; http://php.net/session.upload-progress.min-freq
    ' c  b& E. {' x; {0 `- V
  1547. ;session.upload_progress.min_freq = "1"
    : {# g5 I# }( b! _+ A

  1548. ( x7 q# G$ M8 H0 y  T) j
  1549. ; Only write session data when session data is changed. Enabled by default.9 n  o3 w7 V/ ]' R
  1550. ; http://php.net/session.lazy-write7 `2 J: A9 r% A, R4 D- L! ?
  1551. ;session.lazy_write = On6 ]3 }; P2 X5 ^8 ]

  1552. , C9 k6 q7 i, z- Y* Z1 m
  1553. [Assertion]8 |2 l6 N1 `! R' J2 u1 H
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    * T& d; ]8 H* E: Z/ p( g# W
  1555. ; -1: Do not compile at all; F9 V& h; L; E' R) K
  1556. ;  0: Jump over assertion at run-time1 X) d0 H( Q% H0 _, g3 ?8 B
  1557. ;  1: Execute assertions
    % E- [' U" F' D( e+ F* q0 o
  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)( F7 Z( ~' s5 I2 w* X
  1559. ; Default Value: 15 D  C7 w( z7 o' l: q/ E
  1560. ; Development Value: 14 l2 r$ H+ d) a+ a7 |
  1561. ; Production Value: -1. N" A4 N# ~7 {2 o4 R' I  ~9 @# q
  1562. ; http://php.net/zend.assertions
    ; L! w) i  e% `# b. j+ B# ?* s
  1563. zend.assertions = -10 \2 x5 X1 k, Y, y) k: d
  1564. $ m5 F- `& U/ x' c
  1565. ; Assert(expr); active by default.) k6 Y5 Q" @; T% h9 w6 O' A
  1566. ; http://php.net/assert.active
    1 ?3 _, C# k5 I9 v# v0 Z
  1567. ;assert.active = On- g0 T! b1 ]$ G1 q/ _5 d
  1568. # H9 X! w; `7 Y2 o7 Y5 b& ]& X
  1569. ; Throw an AssertationException on failed assertions# T, I# V1 G5 j% w
  1570. ; http://php.net/assert.exception
    * _4 z6 V$ _2 F9 R/ h3 F
  1571. ;assert.exception = On
    + d2 N/ Z/ ]. Y% {. G

  1572. 9 m; t+ `. F8 r4 j
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    & d% ^- @+ \2 `6 i1 C# R
  1574. ; http://php.net/assert.warning2 _% n8 {5 s. b% ?9 ?
  1575. ;assert.warning = On
    5 r- V: W7 U( `) A( ^$ E7 k

  1576. ; V% _5 C  W$ A3 h( x# q' Y
  1577. ; Don't bail out by default.
    : v& C4 x$ M& u* G7 C* x3 h
  1578. ; http://php.net/assert.bail
    # k9 h! w- M  Q; Z, o8 q, R+ `
  1579. ;assert.bail = Off/ B' o! ?# @0 Y! j& ~  W9 C) {! o

  1580. ( H% t4 L- d$ u
  1581. ; User-function to be called if an assertion fails.
    / B1 |: ~6 G- `) g8 x& V
  1582. ; http://php.net/assert.callback* [/ {: d, b/ |2 B: [
  1583. ;assert.callback = 0
    7 g% r! }* o4 {+ h
  1584. # `; o* K' U7 R" P: d
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    5 k- n2 L: [+ g  x# ]3 L
  1586. ; error_reporting(0) around the eval().
    + x4 i% K% I0 q/ c
  1587. ; http://php.net/assert.quiet-eval- ]$ H2 p7 x6 p3 H) |& E
  1588. ;assert.quiet_eval = 0; x' e/ P; z# e/ U+ L. b; Q
  1589. . Q( c2 f, H  C  a$ C/ f) S5 f8 a0 n% @
  1590. [COM]: U/ z6 q) W! p) p
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    / M6 K) N  M6 M" P, [
  1592. ; http://php.net/com.typelib-file' O$ L1 x: [" C4 _# p- r2 T
  1593. ;com.typelib_file =
    7 ~+ N) w3 o: x& ~
  1594.   r4 o" d, @; X0 ~% x* m
  1595. ; allow Distributed-COM calls6 M& e/ M3 i" H) Y
  1596. ; http://php.net/com.allow-dcom  Q  s6 I7 U4 h9 V
  1597. ;com.allow_dcom = true! C! z3 @" B/ e4 _' I1 X& y  r
  1598. * p* a0 P; o" U/ _% u9 x4 d
  1599. ; autoregister constants of a components typlib on com_load()9 \8 f2 B# x1 Q. \+ q! o* ]8 u
  1600. ; http://php.net/com.autoregister-typelib
    8 w- c! j  p4 q: Z6 B( n4 B
  1601. ;com.autoregister_typelib = true
    5 X+ c% |# y7 o7 X' A6 V4 `" h6 t
  1602. 2 Y1 x, Y& H5 p3 ~
  1603. ; register constants casesensitive
    ! n$ J! D( _; v6 a' L
  1604. ; http://php.net/com.autoregister-casesensitive
    , d3 d8 n" k( t* v# Y' M
  1605. ;com.autoregister_casesensitive = false
    . H" c) i* T9 H, u7 c
  1606. - b$ S. C+ `5 z( f
  1607. ; show warnings on duplicate constant registrations) h# \4 B! o) Z1 [3 a- w$ s0 R
  1608. ; http://php.net/com.autoregister-verbose' b+ |7 w7 h8 W/ ^8 G
  1609. ;com.autoregister_verbose = true
    ) \0 J& J6 l2 F$ H8 K

  1610. # z+ i: v0 Y4 E: x# p( e+ }
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    2 e2 d1 _0 m5 P1 V& r+ i" Q! S
  1612. ; Default: system ANSI code page
    5 f0 `& \1 k" v% N& A6 Z2 h7 ^
  1613. ;com.code_page=
    ' n* i) j/ `4 y- r/ k# y5 h6 |

  1614. , ~4 [/ G* ^0 C4 v. f
  1615. [mbstring]8 U' F" Q0 E8 f" \6 Z+ g
  1616. ; language for internal character representation.
    9 U& G/ m! `9 C7 n! ]( m' h: Z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    " r% u3 H+ W/ c% |. t. Q
  1618. ; http://php.net/mbstring.language
    0 E7 R' V* f, v6 S, I1 U: I
  1619. ;mbstring.language = Japanese3 T% F- }; ]2 A: ?; `
  1620. / J) A2 t# N/ Y! C
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.! d0 E1 f6 ~# `# _# u
  1622. ; internal/script encoding.
    $ E+ C( j7 [" J. i
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)" a, V$ n1 [. J5 m9 K! E
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    4 F: }' Q( H1 T9 C! `
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) O. ^1 d6 z2 ~& c1 u% b# f
  1626. ;mbstring.internal_encoding =
    2 S/ k- O( l, l9 d

  1627. ' N% I2 f5 H1 u5 I0 `
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.1 Q8 ?9 T* }5 g' S/ A( ?: [
  1629. ; http input encoding.
    5 ^# ], ^1 K! W" t# x7 Z( h: s6 z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 f7 D( {1 B) U+ z8 \! G$ r
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.8 ]' @! W! F/ }* V
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    & q6 c) ]! q' M8 Y
  1633. ; http://php.net/mbstring.http-input
    2 w6 C3 \  n# W5 P' @
  1634. ;mbstring.http_input =
    9 c7 {! h2 H6 W0 L7 u: Q

  1635. & b7 b/ N) g* ~3 }+ @: l, E3 W
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / c; k( W2 }4 ~$ k' n
  1637. ; http output encoding.+ ?7 D  v+ v8 @2 ~4 \
  1638. ; mb_output_handler must be registered as output buffer to function.$ b! a0 B+ b( F+ D7 ~/ L7 t) q4 I! Z
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
      g4 z- ]7 ?7 p) u
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 t$ B- z6 o  u; q' b
  1641. ; To use an output encoding conversion, mbstring's output handler must be set) b0 I  b0 k" i$ v! z) o: ]. h( @
  1642. ; otherwise output encoding conversion cannot be performed.7 A! [: X7 ^9 v8 n
  1643. ; http://php.net/mbstring.http-output
    & C. |' P# ^+ A1 w: }
  1644. ;mbstring.http_output =
    2 c5 I: v7 w( b5 \0 M% j
  1645. + _) B/ ~3 i% T, H+ f
  1646. ; enable automatic encoding translation according to
    0 n" f, t) B2 p" R3 r! Y8 w
  1647. ; mbstring.internal_encoding setting. Input chars are
    / G( m& a+ |3 b  {7 R
  1648. ; converted to internal encoding by setting this to On.
    / Z' }( L* q. p+ w. \
  1649. ; Note: Do _not_ use automatic encoding translation for
    5 ?# J# o5 V, i1 q3 W
  1650. ;       portable libs/applications." {! C" a# \5 K0 E2 ~
  1651. ; http://php.net/mbstring.encoding-translation
    1 g& p: {7 K! R! k
  1652. ;mbstring.encoding_translation = Off
    0 A/ P1 B) U+ x" f% c6 u) B

  1653. : f$ \0 M! e1 ~4 J$ l4 e* [, e6 k
  1654. ; automatic encoding detection order., G  Z% [; w$ @
  1655. ; "auto" detect order is changed according to mbstring.language# j5 G/ j4 ?* f1 q; D; m
  1656. ; http://php.net/mbstring.detect-order: t5 F/ F7 x/ J8 q( R7 D6 k
  1657. ;mbstring.detect_order = auto& Q. W7 {' F: T- p3 S6 {! S
  1658. 8 \2 g% N; ~4 I8 W* R- N
  1659. ; substitute_character used when character cannot be converted
    9 t( W6 v' b- {; m9 E
  1660. ; one from another- d" q: k- `, v3 S
  1661. ; http://php.net/mbstring.substitute-character3 x) R" X4 G4 I  q( j# a; G' l
  1662. ;mbstring.substitute_character = none
    9 h: M: r9 Q; ~% Q+ {
  1663. 4 t" y1 `( k. Y" z  O8 z. ^
  1664. ; overload(replace) single byte functions by mbstring functions.
    4 E  ], _( |/ e) J0 T6 n* |
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),/ i2 a/ m" N5 H. @/ V9 e
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.' k$ \: J# I8 r2 X: u
  1667. ; For example, 7 for overload everything.% c3 p5 D/ [5 I0 w) p6 K
  1668. ; 0: No overload
    1 e6 F2 T- b# O- f4 H
  1669. ; 1: Overload mail() function, g1 }4 f0 }8 o6 S& v
  1670. ; 2: Overload str*() functions
    1 b2 j& Y, r) I; N8 R7 E) }
  1671. ; 4: Overload ereg*() functions
    & v2 I1 R) G8 W; o1 S* h) c
  1672. ; http://php.net/mbstring.func-overload' W% _$ C4 r8 N/ v+ D; o
  1673. ;mbstring.func_overload = 0
    + B7 Q0 W& T/ Z7 @" \
  1674. 2 Z3 v2 j: k4 \. K4 q- t5 I6 R% {
  1675. ; enable strict encoding detection.& k6 K7 [8 F9 _1 [
  1676. ; Default: Off. h/ h# B9 S, L$ `* C
  1677. ;mbstring.strict_detection = On. ?0 u+ \' s8 U
  1678.   v; ~* N. f- d
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 K$ e0 T/ ]6 g* P5 Z
  1680. ; is activated.
    , ?7 V8 i  R2 M) \8 ?! X0 d
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . [4 o+ q; o: E4 S# U- Y
  1682. ;mbstring.http_output_conv_mimetype=
    . d8 ?+ ]" L* M1 c0 F

  1683. / U' |' Q: P3 l1 ]/ F0 \  k
  1684. [gd]& p. V) P$ [( X0 v
  1685. ; Tell the jpeg decode to ignore warnings and try to create
      d. E& _; F  R4 o  O
  1686. ; a gd image. The warning will then be displayed as notices1 \  t- ?( t( [. s3 @! B" o/ S
  1687. ; disabled by default
    4 _1 E7 z8 E7 G( B  T& n+ ^0 d. L: e8 W
  1688. ; http://php.net/gd.jpeg-ignore-warning
    & a: Y+ c8 h4 B! [
  1689. ;gd.jpeg_ignore_warning = 0" Y5 V$ c' E, J2 |7 }- S- Z- u
  1690. ( {8 {* x/ c* n+ J  m+ h; K5 ~
  1691. [exif]; Y& w; j, e1 n2 x; F- w- f5 f1 d& c
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    : {6 Q3 J1 l/ l3 ]& d
  1693. ; With mbstring support this will automatically be converted into the encoding' w3 a7 U2 M7 _1 x
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding, |8 E) y5 _9 K: z' C. g
  1695. ; is used. For the decode settings you can distinguish between motorola and7 O; Y; o# Z' W7 R8 K% h$ _
  1696. ; intel byte order. A decode setting cannot be empty.
    % z" E4 z; Z( X7 l$ g
  1697. ; http://php.net/exif.encode-unicode. _( s/ F. _% R" Z3 J+ e2 a9 W3 M& T
  1698. ;exif.encode_unicode = ISO-8859-15
    9 {% A$ R6 l0 h: G* ^

  1699. $ `2 K# u2 I) Q( \
  1700. ; http://php.net/exif.decode-unicode-motorola6 q% u  J& o. b/ X; P
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    " U6 p7 |  g+ Q
  1702. . z8 i7 ?" C3 I/ O$ E5 u1 U
  1703. ; http://php.net/exif.decode-unicode-intel
    1 v* A, O4 Y! D; T- M
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ( Y8 U" _. d- N# ]/ g
  1705. ! {  I& B8 {# r2 I
  1706. ; http://php.net/exif.encode-jis, z# U. N7 F% A
  1707. ;exif.encode_jis =# R; q$ ]: U! Q9 A/ r, l; Q

  1708. + |! V- h- U# M- L* L, ^
  1709. ; http://php.net/exif.decode-jis-motorola: g: r/ Q* W+ a0 v
  1710. ;exif.decode_jis_motorola = JIS
    4 R+ |' h# H) c, M1 m
  1711. ! _' F% I5 I/ w, D8 r, [; ~
  1712. ; http://php.net/exif.decode-jis-intel
    5 V+ ^  d. Y1 c5 K& y
  1713. ;exif.decode_jis_intel    = JIS) G% _5 x# ^3 a0 t9 T
  1714. ' [  J! ]  {1 c6 r( f; N9 U# ^
  1715. [Tidy]! G1 _& q* K& {, a  I
  1716. ; The path to a default tidy configuration file to use when using tidy8 [) @$ Y+ d6 N% L7 B$ w: T% B5 V) K5 A
  1717. ; http://php.net/tidy.default-config
    " K+ k9 f/ R3 v
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 b4 q% e3 G' A: n/ Q. e# a

  1719. ' y: m) i/ P1 C
  1720. ; Should tidy clean and repair output automatically?
    * E# L  t8 B* n$ r$ U1 v
  1721. ; WARNING: Do not use this option if you are generating non-html content+ A9 m4 \8 y6 ^, A" a
  1722. ; such as dynamic images8 d! b; g* l5 U/ |" [% L, F
  1723. ; http://php.net/tidy.clean-output( G' O; l' D2 }6 T
  1724. tidy.clean_output = Off
    8 Q1 o0 F6 Z0 Y2 l% [1 m

  1725. 2 R% {/ l% c3 N; z$ m
  1726. [soap]  {- {5 E7 _4 y0 \: k0 s
  1727. ; Enables or disables WSDL caching feature.
    : Q' D( s0 u  |/ q
  1728. ; http://php.net/soap.wsdl-cache-enabled
    $ x) n/ c# c  {7 E
  1729. soap.wsdl_cache_enabled=10 c0 Y2 v" P5 }/ U

  1730. 7 @' D- ^/ g2 R1 Y# R9 r
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ( l0 I6 s% \3 e8 v6 b
  1732. ; http://php.net/soap.wsdl-cache-dir
    ; ]1 s  L2 w' \$ a
  1733. soap.wsdl_cache_dir="/tmp"4 Q; o% M5 y5 s/ t$ W2 T! V  _' N
  1734. - f# m* u! ]' @( j8 M  D
  1735. ; (time to live) Sets the number of second while cached file will be used& Y2 ]* J; y* H( i
  1736. ; instead of original one.
    ) }$ p5 i0 k4 e' \) I
  1737. ; http://php.net/soap.wsdl-cache-ttl" D( z9 N* J+ ?$ w8 y' o
  1738. soap.wsdl_cache_ttl=86400
    ( f5 }5 q# k* `! t

  1739. & W# V- Y/ u3 x, t' r; L7 x9 @
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    $ |4 U5 Z! B! x" n: U$ B
  1741. soap.wsdl_cache_limit = 56 E* h+ d/ k' N' }) {5 f
  1742.   _6 ~  y3 E1 b
  1743. [sysvshm]
    5 L2 z/ \& D$ C* p. b3 W/ g, K) J
  1744. ; A default size of the shared memory segment& z4 `, Z  m! o0 u- q' ?) h  E
  1745. ;sysvshm.init_mem = 100002 a- X. l# ?, q! L6 p  U4 d5 p* q
  1746. 3 P4 k* `! a4 G7 g( ], f1 B* `
  1747. [ldap]( D- ?7 B+ e' U3 G
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    * w+ h# S. V* |3 D6 a  x
  1749. ldap.max_links = -1
    & y& \! p5 P& \6 S

  1750. 5 ^& L9 P) u" b" Z. V* B7 _
  1751. [mcrypt]
    $ r9 j; R1 q) T1 z. H
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 _. w5 Z9 O' s" m2 y' r- g
  1753. 1 C3 ~( C6 s0 }/ u( L/ S2 X
  1754. ; Directory where to load mcrypt algorithms% A1 @  Q+ l6 J# E
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- @0 B, Z% [+ `% N' S& y
  1756. ;mcrypt.algorithms_dir=
    " g; U& t/ J  s% }7 O& y

  1757. 4 N9 G* g1 n3 P2 w$ }* u- A
  1758. ; Directory where to load mcrypt modes
    ) z9 d+ Q3 R$ R3 y% K
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# m+ A8 [2 l5 \9 \0 B
  1760. ;mcrypt.modes_dir=
    ) y$ z1 \" e% n: \0 q
  1761. , Z+ |( i% v" v  Q- g
  1762. [dba]4 c+ h/ I! ~4 L. o. o  X( {6 r, a
  1763. ;dba.default_handler=2 d! p+ y$ N" @1 Z+ U# ]+ r
  1764. + s; ]# ~1 J, Q/ O
  1765. [opcache]: Z* B( M6 k& r3 J6 A( w
  1766. ; Determines if Zend OPCache is enabled% ]/ K( w0 _5 [  s
  1767. ;opcache.enable=0
    % D& o1 b6 q$ T' H
  1768. 4 [  c" ]5 W% \" w' \2 h
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    / [' d5 `% B6 }* i8 ~
  1770. ;opcache.enable_cli=0! Z8 n  s% n' r

  1771. ( M: |0 W3 @* }9 j* K
  1772. ; The OPcache shared memory storage size./ {9 \4 }1 R: ]3 |* k
  1773. ;opcache.memory_consumption=64
    3 R% a2 v& Q" z. D- y
  1774. . I/ e% f0 i, |1 X3 E: x9 P
  1775. ; The amount of memory for interned strings in Mbytes.& ]$ H3 H1 B6 D
  1776. ;opcache.interned_strings_buffer=4  W- J8 d8 a+ T( ^3 [( R
  1777. ! s& r! ^7 D2 T/ R7 B* e
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.; T0 _! m7 u! w+ K2 s- T" ~
  1779. ; Only numbers between 200 and 1000000 are allowed.
    0 ~8 [! f0 z) T2 l& o$ }. B  f# i
  1780. ;opcache.max_accelerated_files=2000
    1 a* T: M) ^! M3 |3 d4 z% A

  1781. 3 H2 C1 Q3 V3 `8 T, o
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 ?7 s& v$ L# V
  1783. ;opcache.max_wasted_percentage=5
    + f2 F8 B% n  q% q* B2 |. z- W

  1784. 0 b# Q" O& ~  @% s: S5 [
  1785. ; When this directive is enabled, the OPcache appends the current working3 o) y. i% ?6 X! t4 A( Z; @# P" Z0 \
  1786. ; directory to the script key, thus eliminating possible collisions between5 b1 @/ A3 j" V' P! g
  1787. ; files with the same name (basename). Disabling the directive improves8 H1 k5 V  r* r* s9 h* K
  1788. ; performance, but may break existing applications.  f" v+ O# {" M9 M, H7 L
  1789. ;opcache.use_cwd=1
    - T" e, p# D7 [; m

  1790. * \1 ~6 A% `: [1 i
  1791. ; When disabled, you must reset the OPcache manually or restart the
    $ ~# k9 A# u4 R; k
  1792. ; webserver for changes to the filesystem to take effect.7 O( Q4 a4 G( i4 L% u5 m
  1793. ;opcache.validate_timestamps=1+ z* j- m* o7 Z6 `0 ^( Y. d' L4 \8 G
  1794. 6 z0 s! o& p* X7 h) Y! f
  1795. ; How often (in seconds) to check file timestamps for changes to the shared# K4 Z% d: I$ U
  1796. ; memory storage allocation. ("1" means validate once per second, but only' j8 r2 F+ |- Q& P  q
  1797. ; once per request. "0" means always validate)
    0 @  J' [* s* [0 v, y
  1798. ;opcache.revalidate_freq=2
    1 `' \" O% B: C# i
  1799. ) M1 v; F' `5 Y) v7 k
  1800. ; Enables or disables file search in include_path optimization  I7 K6 _. a; `* W% v
  1801. ;opcache.revalidate_path=0
    : x8 C$ X8 s" z1 O* v

  1802. 6 a; M& V' `$ X$ x% c" j
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    7 p+ ^6 R( {9 \4 ]* G8 h
  1804. ; size of the optimized code.8 w" K  Y$ c3 l) V' q6 f& `
  1805. ;opcache.save_comments=1. B9 |( B$ n) c5 i+ Z
  1806. : g1 I2 C9 m. N8 t; [
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code+ l* b% }* U9 y" s+ Q
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    - k) }8 E" G7 \* W
  1809. ;opcache.fast_shutdown=0
    - i/ R0 c+ M: ?+ L& }

  1810. 8 w- C: |2 Y0 y: ^/ E
  1811. ; Allow file existence override (file_exists, etc.) performance feature.* Q  f- j+ E. i2 c9 m* s/ o1 U
  1812. ;opcache.enable_file_override=0
    - [# q4 \1 d! I% w/ w! }3 v. \. K

  1813. 0 g( g1 s4 p6 v4 Q7 ?
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache+ u  k" V5 c" \3 o# m% i3 n
  1815. ; passes) t9 ^# W4 J! k( X
  1816. ;opcache.optimization_level=0xffffffff" \  F/ ~( J, k2 ]. h( S# d9 R; H
  1817. # E& D' Q' r% [+ o4 Z2 h, l0 V
  1818. ;opcache.inherited_hack=1: k% S$ w: ]& {! W
  1819. ;opcache.dups_fix=0
    0 c/ n# O% g( N" r( ^5 W7 T7 ?2 V

  1820. ! ]" d* ~& d' ?- G! N
  1821. ; The location of the OPcache blacklist file (wildcards allowed).* ^0 ]; v( U6 \# D7 c! z
  1822. ; Each OPcache blacklist file is a text file that holds the names of files) A7 f9 ?- s. S) \0 p0 L2 @  y+ ?
  1823. ; that should not be accelerated. The file format is to add each filename
    2 `0 s; _& F/ Z; t2 h
  1824. ; to a new line. The filename may be a full path or just a file prefix4 J/ ?, l5 x, w$ O
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www6 `0 s8 I9 [9 ^  T' P( O" h( w  E
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments)., X% b5 ~8 m9 z& u' a8 P6 z
  1827. ;opcache.blacklist_filename=
    8 U2 K9 u3 L% X- m% H

  1828. 8 D9 @' h) F$ g4 _  n6 q# a
  1829. ; Allows exclusion of large files from being cached. By default all files! f7 i4 ^2 ~$ U3 R$ W; w( C9 W
  1830. ; are cached.8 x1 r7 C; _. h1 b% \& N6 I6 x
  1831. ;opcache.max_file_size=0
    * `* {% s9 l! {4 X3 W1 h( S7 w& X, R
  1832. * S/ s1 g3 `+ \7 w; b1 R8 ~
  1833. ; Check the cache checksum each N requests.
    ; u" v8 d& g1 y- n/ J
  1834. ; The default value of "0" means that the checks are disabled.0 V7 ~3 j2 ]: R( n8 }
  1835. ;opcache.consistency_checks=0
    ; d* Z$ b0 j4 F- p& w6 y
  1836. ! d% a  D4 Y, w  [2 G. Z" ^
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    4 [; w! h+ ^# d7 S1 O& e
  1838. ; is not being accessed.- J& s: g' e0 ?, k! _# T0 R7 P
  1839. ;opcache.force_restart_timeout=180
    # g8 n, Q3 S9 p9 f) w/ ?( o  ~
  1840. * ]$ P, y7 c6 R3 r4 v& ^
  1841. ; OPcache error_log file name. Empty string assumes "stderr".4 f' R/ i9 O6 [( z
  1842. ;opcache.error_log=
    # W; C! L8 [2 h! h: \' u& ?2 \% J
  1843. ! |2 m4 U3 q! E
  1844. ; All OPcache errors go to the Web server log.$ i  g3 j% J4 I% J
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ( ~( [" f  t7 n' k( x
  1846. ; You can also enable warnings (level 2), info messages (level 3) or0 X, W$ O& U) o. q+ t
  1847. ; debug messages (level 4).8 ?+ i8 F/ Z, U. Q
  1848. ;opcache.log_verbosity_level=1
    6 z+ A/ z/ t  w  W+ C0 U

  1849. $ Y& v/ p$ w% M  Q! V
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    7 J  i$ v% N' V) f! ^% l) x* V
  1851. ;opcache.preferred_memory_model=
    3 |9 q: w# T6 o3 c

  1852. ( i; `3 E+ g* M; @. n
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ( v6 M; o/ K8 Y+ q) d
  1854. ; Useful for internal debugging only.
      V) P* o5 X4 b3 E- b# V
  1855. ;opcache.protect_memory=0
    - P/ m7 P1 }1 }$ U) \
  1856. 8 l& x  G! F' [4 }; }/ \7 E9 t( @2 }
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is+ @1 M) u+ i& o# r7 L: H
  1858. ; started from specified string. The default "" means no restriction
    2 \% U( C/ _" d* o0 }0 y
  1859. ;opcache.restrict_api=) Y' f! `! ]% y' z6 @' R6 j
  1860. 9 {+ z. ~# e- t3 m' R& j
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP0 q' [( X: ^7 z1 ~$ |' E0 ?
  1862. ; processes have to map shared memory into the same address space. This
    $ G: e* _' P# s. u# k
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    3 X. U- w/ F4 ]+ S
  1864. ; errors.
    7 ^. L! f% l6 m* a4 x& ~8 _
  1865. ;opcache.mmap_base=/ d, t' o; E5 f* R

  1866. 0 t% L. G3 f! T
  1867. ; Enables and sets the second level cache directory.: R1 C4 J# r! `7 J! S/ m7 p9 W6 x
  1868. ; It should improve performance when SHM memory is full, at server restart or5 K7 {+ e8 }, S7 L2 I1 q0 w
  1869. ; SHM reset. The default "" disables file based caching.
      C" R* |" @/ V( o
  1870. ;opcache.file_cache=; v. x! X7 _  P

  1871. " Q+ q9 m& Z0 f  z# w/ G3 G9 X5 m- t
  1872. ; Enables or disables opcode caching in shared memory.1 E9 g, F3 o+ a2 B  q. _8 B
  1873. ;opcache.file_cache_only=0+ M" T7 z( R& Z9 d+ q
  1874. # p2 b8 ?% g6 m& L
  1875. ; Enables or disables checksum validation when script loaded from file cache.7 {+ G& y7 ~9 I# ^4 W: d
  1876. ;opcache.file_cache_consistency_checks=1: X2 q/ Q* X6 o, \* v6 w, X8 [! ?

  1877. % {' O1 x) m2 w( a
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to% ]+ b) F. \: m0 {! R
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file: G6 I2 ~4 G+ ^6 O
  1880. ; cache is required.# @: X. M( s; z* H4 }
  1881. ;opcache.file_cache_fallback=19 S! G" ?* ^+ {2 r* T# p
  1882. 9 ?* o8 e" Z; p0 H$ ?; ]
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.$ [1 ~, D# B! `7 b- P/ v# ^
  1884. ; This should improve performance, but requires appropriate OS configuration.3 }: q# B7 U3 H( o; {
  1885. ;opcache.huge_code_pages=1
    # [- D5 S+ k0 k2 Y5 j8 X

  1886. 3 m% t! c0 `, B! H2 C. C
  1887. ; Validate cached file permissions.
    0 k4 i- j! M' }  j2 F2 A& T- ^
  1888. ; opcache.validate_permission=0
    ' c* D4 H6 P/ U) ~

  1889. & ?6 Z/ m. O& _! _; x. T4 D
  1890. ; Prevent name collisions in chroot'ed environment.
    ' `# z( [: {# H( J9 c# [4 |
  1891. ; opcache.validate_root=0/ c$ m' @* y$ l9 y

  1892. # }% Y# ?( ^  s# H: E0 t
  1893. [curl]
    3 K9 M$ ~. y9 w3 \9 k
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 ]% x! Q& m$ k. Z) I1 R5 ]
  1895. ; absolute path.
    6 H8 W( K7 k1 M0 d6 S: G
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* C! o! Z( f& G
  1897. , Q% p/ J, g' q6 l3 K$ A
  1898. [openssl]" h- Q- f- U! y( `5 q: G
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
      p7 ^/ n2 t" l+ }" t
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should  ^1 A" U& x& ]4 I& d( r) G& c
  1901. ; not specify a value for this directive as PHP will attempt to use the9 r, w, J) _$ ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    / Q+ m% ?4 l: o
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context6 N1 P/ U; X6 T
  1904. ; option.
      t! d7 g! k0 n" I9 A) Y0 h: A' b
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ; D9 `; c5 Z2 g, H% }: h& t6 o6 Q

  1906. % C! o3 S3 _4 x# r
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the/ z8 S0 a  g+ |( m) j
  1908. ; directory pointed to by openssl.capath is searched for a suitable- t! {; t* v, S  r3 v
  1909. ; certificate. This value must be a correctly hashed certificate directory.* Z/ ?4 Q) [' Y$ H: }7 W
  1910. ; Most users should not specify a value for this directive as PHP will# t9 ]: c7 D' u% {7 W0 X9 X$ [, b. U# u
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    8 N; h% j# b8 z! g
  1912. ; this value may still be overridden on a per-stream basis via the "capath"" P1 T: R, g1 ~! I( s5 k6 |% E
  1913. ; SSL stream context option.8 `4 j4 _, S# N+ [" S
  1914. ;openssl.capath=
    0 |6 L8 I# ~* _( P( m+ f( ]1 D
  1915. ; \8 r3 Z% N8 r6 s
  1916. ; Local Variables:
    % i/ d* p- o: w& `3 |
  1917. ; tab-width: 4
    # G, F. L3 @! l6 e) e* _6 B9 y4 H! o5 d
  1918. ; End:8 \' j/ x5 w8 \' ]" H) ]1 n5 e
  1919. 4 _' }* G5 C- W3 X" l
  1920. ;eaccelerator" p* c% ^( v  r# |9 m

  1921.   e; L1 v/ N  ]* f
  1922. ;ionCube# B% A) [. k5 Z( I3 r& B+ L9 b

  1923. 8 s7 X1 t% B9 v' @- L% a
  1924. ;opcache0 ^5 C0 R; `9 q5 f2 @0 r( d9 c$ D
  1925. 6 a+ l9 ?& J2 m( z2 m* U- N5 B
  1926. [Zend ZendGuard Loader]4 Q* H9 [$ W0 Y, V* y; a
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.& {: T4 {7 Z9 O7 a& q9 n% V
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    5 ?0 }7 p. g+ ?8 ?+ y; m" }$ P' p# ~
  1929. ;zend_loader.enable=1. b( `: A+ Y+ l8 Y" p9 E1 }; n
  1930. ;zend_loader.disable_licensing=06 M; a& G: c: s( A5 @1 `( G: v
  1931. ;zend_loader.obfuscation_level_support=3: h3 l( `% r9 e$ Z
  1932. ;zend_loader.license_path=  m! ^, P7 a/ B% k" ~7 L9 i0 T% X

  1933. 7 K# |, r, H7 N/ ?+ @0 W
  1934. ;xcache
    1 Y$ H# g" g8 P( B
  1935. ' P1 `5 ?* p, Z/ \0 O
复制代码
# N. [! P' ]* K
& C/ k' e# C2 V0 r; Q
  C( X: f+ p( a; U
$ l& k+ f: ]1 v3 y# p

/ R5 s( I2 n5 ~& z5 E; ^/ U4 i: s: R) o0 _4 J, f

: O7 b& h2 ^+ L, r" X- PPHP5.6版本原始设置/ O$ V2 _9 \) q# \
& U* P1 Y9 I9 l; p  w/ q6 s
  1. [PHP]7 W: A; s& M  m. H3 b* l: @

  2. . X- \8 s' J! B. u& V1 M
  3. ;;;;;;;;;;;;;;;;;;;; a5 c9 W: m5 L: R
  4. ; About php.ini   ;
    ) M/ U9 P0 A% Z
  5. ;;;;;;;;;;;;;;;;;;;3 J! {; Q; ^; f. d& h5 o" W' v
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    8 [5 t" n, b& @& r% _3 b# u. G' `
  7. ; configuring many of the aspects of PHP's behavior.
    ) m" n# x4 |4 S" G5 Y) I7 F

  8. ) C' g& j* T6 q' w3 ?
  9. ; PHP attempts to find and load this configuration from a number of locations.! w: x" Z' D' j- R1 ?% T
  10. ; The following is a summary of its search order:" s! @6 \/ f, F8 g2 [; j
  11. ; 1. SAPI module specific location.
    9 T! `% z1 A. s
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" C& t3 E& `, b% }" s
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)0 m, }- e- M- w; K) Y" d) m
  14. ; 4. Current working directory (except CLI)6 V" z2 R& m3 R$ u  @* B; P/ q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP' |: V3 q3 j: ~( S: @3 G  g' j: I  p
  16. ; (otherwise in Windows)
    8 |0 |0 F  J, v  S
  17. ; 6. The directory from the --with-config-file-path compile time option, or the8 B- L% c7 q1 m; b
  18. ; Windows directory (C:\windows or C:\winnt)
    / n  r' X, e6 g5 l/ ~
  19. ; See the PHP docs for more specific information.; c* K, O$ c) w5 \  ?
  20. ; http://php.net/configuration.file
    + S7 s& i( f* g) @) g
  21. , i% s+ k7 U6 H) m: F. L6 q, b
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    / {1 R1 z% i8 H$ ~  Z2 J- o2 Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).  c1 i: H1 u% V( Q5 }( |. q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( j! T( e+ A1 O. X& l
  25. ; they might mean something in the future.
    0 A- J: i5 W) E# f
  26. / p9 `# `. e2 x! ~  }
  27. ; Directives following the section heading [PATH=/www/mysite] only
      t* O5 V3 X  T8 `- n9 w
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    + R$ B) ?8 G# F) z3 h. c
  29. ; following the section heading [HOST=www.example.com] only apply to
    % t$ p! R% f1 D. Z2 Q
  30. ; PHP files served from www.example.com.  Directives set in these( n3 J9 J5 x" g
  31. ; special sections cannot be overridden by user-defined INI files or7 s" w/ c# M6 W8 s8 _( a
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under5 P3 l5 w6 Z" w
  33. ; CGI/FastCGI.% a8 @1 t( e( t* O) }
  34. ; http://php.net/ini.sections
    5 M- P6 |2 V. ^5 y! ~8 e4 J

  35. : V4 ?6 M% g) r; \
  36. ; Directives are specified using the following syntax:
      E3 @+ ^8 B% T* p( o) e
  37. ; directive = value1 Q; |+ C& B2 l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.% v3 x  C5 E* E8 s
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : [/ Z8 Q2 I% Q+ ^' S( v
  40. ; There is no name validation.  If PHP can't find an expected
    6 e( V! b0 }. d! B7 x' I  Z
  41. ; directive because it is not set or is mistyped, a default value will be used.' Q& V. T% [9 t3 S
  42. 9 W, H' H8 u! K0 Y! {4 t  v
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' }# W% I6 q  R3 [" ?
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    8 r6 M; B3 ]9 @1 W( y7 Q4 z) b
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 L. W7 _2 @* Z& g/ g$ Z
  46. ; previously set variable or directive (e.g. ${foo})
    4 B. s. t- J5 @" Z

  47. , ]7 b1 C0 e% ~# N) p
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:9 y5 y; p; G. u' R
  49. ; |  bitwise OR
    5 H9 X- i5 K- q) j: J
  50. ; ^  bitwise XOR
    $ G7 M1 C. b+ S3 C8 K$ ?  o0 E
  51. ; &  bitwise AND6 n7 [' W% S+ E9 S) x/ x
  52. ; ~  bitwise NOT
    - X7 e1 X; h& {
  53. ; !  boolean NOT9 H) E$ H4 Q- S9 D( c8 ?9 V' D

  54. , J8 x+ f1 |" [
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.( `+ E/ P. @" i& K0 L
  56. ; They can be turned off using the values 0, Off, False or No." c1 T* J4 o; L- e* X0 {1 O- _
  57. 7 T/ A. v2 O- m0 V" L7 r6 Z: G: W* u
  58. ; An empty string can be denoted by simply not writing anything after the equal$ _2 P$ |: X2 O* H2 A4 H- C3 v
  59. ; sign, or by using the None keyword:4 D% \% k- ]8 e) J/ ^8 T
  60. ) T  A5 e/ \1 Q  _
  61. ;  foo =         ; sets foo to an empty string
    - G) U+ V+ X4 z4 R6 y* A, X
  62. ;  foo = None    ; sets foo to an empty string
    8 V  H- e& ~* x- h2 {, K
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 u2 k& E# @5 u% Z2 M2 P( L0 S# A
  64.   y0 N: p/ U( h! c4 n4 z7 K
  65. ; If you use constants in your value, and these constants belong to a
    ! b* k, `8 O! i7 u# T+ C2 g
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 I7 o9 i2 A" r; Q% B+ L
  67. ; you may only use these constants *after* the line that loads the extension.
    5 d% y' l* }* `9 n
  68. 0 g8 L% W$ p% J+ T3 P
  69. ;;;;;;;;;;;;;;;;;;;( o8 U1 y  O1 }9 B
  70. ; About this file ;7 A! T' n  V: a) b% N. i, d
  71. ;;;;;;;;;;;;;;;;;;;
    3 l0 I( h1 z0 i, ]" l4 Q0 }- F0 X& |
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    5 T! S5 E  z+ s; I
  73. ; in production environments and one that is recommended to be used in
    # S, z$ V! e; [3 I* C& ~- ~
  74. ; development environments.
    ; E) l! I4 C1 K% {3 o2 m/ m3 ?
  75. 2 ?  ]: t1 K5 C! y
  76. ; php.ini-production contains settings which hold security, performance and$ A2 [1 p  `8 g, y, B
  77. ; best practices at its core. But please be aware, these settings may break
    * C. |) Z1 a3 k) W
  78. ; compatibility with older or less security conscience applications. We& p& J8 @+ H4 o2 v3 O
  79. ; recommending using the production ini in production and testing environments.
    + ?% a) Y4 N! A4 ^1 I3 J
  80. 2 W7 C7 Z9 k- |
  81. ; php.ini-development is very similar to its production variant, except it is
    8 z: `$ ?0 N+ b, H$ P6 n- ~) c
  82. ; much more verbose when it comes to errors. We recommend using the
    ' t3 L* S0 N( {1 v
  83. ; development version only in development environments, as errors shown to
    $ O, F" g' D2 ~2 t9 B
  84. ; application users can inadvertently leak otherwise secure information.' ^3 u5 k5 `7 ?8 K- z9 l

  85. % L& C. P1 r$ o0 @5 H; w+ I
  86. ; This is php.ini-production INI file.$ Y1 N9 b* o, [& M( j0 p3 x9 J

  87. ) f4 i9 P  a# G: p6 l! n+ b
  88. ;;;;;;;;;;;;;;;;;;;$ ^  J  D+ n( G: h
  89. ; Quick Reference ;3 o- Z* z; E8 k3 g/ `. A" M$ }& z" a/ S8 I
  90. ;;;;;;;;;;;;;;;;;;;
    9 v' f8 [7 u3 U
  91. ; The following are all the settings which are different in either the production: h/ }4 W. b1 v6 O  s, Y: o# Q
  92. ; or development versions of the INIs with respect to PHP's default behavior.7 p) }( z6 y. l# g, l3 d
  93. ; Please see the actual settings later in the document for more details as to why
    9 F6 Q/ s  Y5 S7 W3 U* o" f% o
  94. ; we recommend these changes in PHP's behavior.; `1 n" n% ?6 q+ r! s

  95. ( k9 P( P- C, c" P7 m
  96. ; display_errors
    9 y( d6 V# J  Z1 L3 g, [# l# t
  97. ;   Default Value: On4 j+ I% Q9 |$ K
  98. ;   Development Value: On5 \; n+ j& ?* B5 N8 y! R! u) \' E
  99. ;   Production Value: Off; ~% Z' U' U" E$ l7 Q
  100. + @* a9 z& @- g
  101. ; display_startup_errors  ?9 o  C9 M+ F- F5 J
  102. ;   Default Value: Off
    3 p. @) `. s/ q! V6 V
  103. ;   Development Value: On
    : x& H, ~& J( h  A$ d
  104. ;   Production Value: Off5 Q3 D9 X( i7 g! U

  105. ! }4 u% r0 u1 |: }; j. F) X
  106. ; error_reporting
    ! Z; `8 u+ e( {2 R0 z/ t
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- g& v4 v, \% p( `. n" K9 H- j0 O
  108. ;   Development Value: E_ALL
    9 ?" ]7 w* J+ C
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT+ g, a. U1 e' P7 z5 x

  110. $ C6 }/ ^1 h: }2 v6 T4 t4 ^2 x- |
  111. ; html_errors8 J8 r( n% Q( A# y% q8 Z! z0 f
  112. ;   Default Value: On
    " o% W1 N# O' V! ~+ q3 K9 f
  113. ;   Development Value: On( }7 x" }1 ]3 Y9 h; g1 C
  114. ;   Production value: On
    / r/ P% {- [, p- Q& I( k
  115. - X/ p! E$ g% w% U7 c
  116. ; log_errors( R- C3 D1 {3 @* A9 p* G- i3 y9 c
  117. ;   Default Value: Off
    - [% C4 ]( Q8 |1 X
  118. ;   Development Value: On
    5 _2 ]& u7 y! v/ q3 t; _& s
  119. ;   Production Value: On3 y/ z3 t7 M" m! z
  120. # e" P/ o. H9 u- T
  121. ; max_input_time
    7 B2 I* u9 z5 P5 n" E
  122. ;   Default Value: -1 (Unlimited)' J2 L: t9 @( A7 e4 k
  123. ;   Development Value: 60 (60 seconds), S: Q% M5 m* }( c+ m
  124. ;   Production Value: 60 (60 seconds)! D+ X( `) H2 h: ^! n1 `
  125. & A2 e4 t/ O( l' H, Y
  126. ; output_buffering: J# V- }' ]5 X8 v
  127. ;   Default Value: Off
    - \5 g9 Y$ [1 J$ E% C* C- d1 ?
  128. ;   Development Value: 40967 ~- |5 W) Y5 G2 |
  129. ;   Production Value: 4096
    , Z6 O4 E* o$ j* J5 b/ v
  130. 5 w6 y, @5 |" A
  131. ; register_argc_argv
    # q5 [9 U4 b* T$ d5 J
  132. ;   Default Value: On
    9 m& s3 H6 ~: j' @, T/ M1 m
  133. ;   Development Value: Off
    6 A7 N  j% v/ R7 q( J) ]+ {2 ~
  134. ;   Production Value: Off' @; \5 Q- x3 ?0 \6 |0 U

  135. 4 b7 u5 L3 `1 c5 \9 l* |" W
  136. ; request_order( D: g. K9 U) h: [! X+ L% @6 t
  137. ;   Default Value: None
    6 K1 x, p6 e6 q/ G' n" G5 W
  138. ;   Development Value: "GP"$ }" t: \. i! E
  139. ;   Production Value: "GP"
    ' W; F9 ^! \! J  f
  140.   J1 p4 ], Q: s" ^$ r
  141. ; session.gc_divisor
    6 J+ A0 K% X9 g. O# u2 r1 |: Q1 f
  142. ;   Default Value: 1008 J# m. e  _$ P8 a( s
  143. ;   Development Value: 10002 h& M1 L7 c0 h6 ~8 r. O! U% n8 X
  144. ;   Production Value: 1000$ K1 e6 J' H' l! b: r- P' `

  145. 0 v" c4 Y: S! R# F' [1 W( P2 Y4 R
  146. ; session.hash_bits_per_character9 q" q3 \3 u- s
  147. ;   Default Value: 4
    : M5 {, a5 d" y0 l
  148. ;   Development Value: 5
    9 L" X' Q+ @6 n8 `) u
  149. ;   Production Value: 5
    4 `8 B5 ^. ^2 ^! d, E, g

  150. 1 |& ?& e# y8 S! K7 U  E
  151. ; short_open_tag$ N2 @' |2 E: {% P# R3 c
  152. ;   Default Value: On
    " k% n2 e) [- N: b  D6 O8 Y, b5 U
  153. ;   Development Value: Off
    : ~, J( T0 c* E! I  a5 W4 G5 V
  154. ;   Production Value: Off: [, A) N3 O( p1 d

  155. 3 h: N: a/ k( n6 e7 g
  156. ; track_errors* e. s* a% V* M
  157. ;   Default Value: Off
    1 H* H: k, _2 ^; Y- s
  158. ;   Development Value: On
    $ A7 U0 z% H0 L. e
  159. ;   Production Value: Off
    " E) A( C5 K& Y1 L- F7 i: i! E
  160. 1 R7 y9 q6 X6 n9 ]3 A# w
  161. ; url_rewriter.tags
    ; [2 X* d3 p0 y; T* M
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="% s# m, X& W: m+ ]" f. E
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & m% x9 y5 c6 t3 c' _+ J
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& B5 g1 W* d& _# M

  165. 8 ^6 s9 R4 w8 j1 A7 c+ O* I, o: P7 g
  166. ; variables_order8 K/ i: B" E! Z4 v/ d
  167. ;   Default Value: "EGPCS"5 B& r1 |  {5 ]0 h% c/ n! g& d- Y
  168. ;   Development Value: "GPCS"
      @0 d  @" O, s) ?" m& s# y
  169. ;   Production Value: "GPCS"
    0 j+ v8 P$ z6 h! `& S4 a

  170. 0 Z% p& F0 w4 I& W$ I7 D
  171. ;;;;;;;;;;;;;;;;;;;;. \: k& v/ l4 p) N9 D  ^
  172. ; php.ini Options  ;- Q' T9 A+ z4 `
  173. ;;;;;;;;;;;;;;;;;;;;
    % D6 P* b9 d0 T9 h; J+ E" M
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    1 e6 J3 d+ O4 d
  175. ;user_ini.filename = ".user.ini"
    * j5 k" z7 H7 K- ~, l

  176. . P$ ]6 H$ |. L' `1 Q
  177. ; To disable this feature set this option to empty value
    " i4 Q8 H3 @8 c3 Q) [
  178. ;user_ini.filename =+ s+ M/ M7 j/ ^4 X
  179. ( ]5 Z4 u% h& c6 n' P
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)) |7 x" ^7 c' g$ ]6 X6 ~0 ]1 J0 T
  181. ;user_ini.cache_ttl = 300
    ' Y9 ?, ]+ T! Y/ h, W
  182. : ^8 V7 S1 g4 P
  183. ;;;;;;;;;;;;;;;;;;;;9 v. ]' y$ n# F# w( F# \3 g/ s
  184. ; Language Options ;+ F% Z; t1 L6 A
  185. ;;;;;;;;;;;;;;;;;;;;9 L/ p. i" K9 Z" Y: H
  186. - W& i' P8 T( A' O' T
  187. ; Enable the PHP scripting language engine under Apache.5 U, O7 L) N7 Y2 i
  188. ; http://php.net/engine
    6 R* [7 g5 P% v6 X8 c. k! Z
  189. engine = On
    : o3 q4 L3 M5 ]( C7 Z8 n; h! \

  190. . o4 t, y4 S- H1 z7 U
  191. ; This directive determines whether or not PHP will recognize code between
    # o6 h# M# K  [' `  `4 o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is3 q  g4 v! `2 C! ^/ Z4 b& B
  193. ; generally recommended that <?php and ?> should be used and that this feature' v+ V4 C/ B4 s) l4 [$ u
  194. ; should be disabled, as enabling it may result in issues when generating XML
    - J9 O$ P- Q- F
  195. ; documents, however this remains supported for backward compatibility reasons.9 r. N% }& A3 F7 t: r$ Z+ V
  196. ; Note that this directive does not control the <?= shorthand tag, which can be9 [7 l. c$ v# n: d! K
  197. ; used regardless of this directive.
    " |: O# e2 o8 S6 W. y! J
  198. ; Default Value: On
    . N+ |: _# m! J! c9 s& u
  199. ; Development Value: Off/ l# l. z( O; W1 ~  H5 w
  200. ; Production Value: Off# G2 Z" O# p  ~% T) ?
  201. ; http://php.net/short-open-tag0 y9 H" D# z9 `1 u
  202. short_open_tag = On
    7 H, r2 V4 S# G) I
  203. # `% r7 V9 v4 C7 \5 n" [; D2 C: \
  204. ; Allow ASP-style <% %> tags.
    # r2 S6 v5 a9 X1 E; a) V
  205. ; http://php.net/asp-tags/ M! j  q  c; V' c& s* K
  206. asp_tags = Off1 e5 }  i/ C3 I
  207. % p" G; [1 n) w$ I
  208. ; The number of significant digits displayed in floating point numbers./ J6 \7 ^6 |' E! R& l
  209. ; http://php.net/precision3 Q! Y  Y. s% Z
  210. precision = 14: t9 |- |) L: U3 B; ^
  211. ) ^+ V# h( ^" p0 @
  212. ; Output buffering is a mechanism for controlling how much output data" B2 B) ~  p# D" H% O
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 ^/ Q3 {* b  K$ J
  214. ; data to the client. If your application's output exceeds this setting, PHP+ V, h. d2 W% A' q
  215. ; will send that data in chunks of roughly the size you specify.
    9 X+ E" T( z$ b9 g% V
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    / _" @6 n4 J: h* V* v
  217. ; interesting side-effects depending on your application and web server.
    ( j8 w9 ^/ x6 Z  \  u' a9 ~
  218. ; You may be able to send headers and cookies after you've already sent output
    ( Z& D# A7 k# ~$ U
  219. ; through print or echo. You also may see performance benefits if your server is
    ' \" L# f3 N" B8 @2 U4 p9 @
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    & Z$ V& F0 n) w/ a6 Q
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance6 U7 l7 Q9 \2 v- z) ?  e
  222. ; reasons.
    ! D) P6 s' F0 y0 y
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 x: X0 n: t7 L; y
  224. ;   functions.
    6 S3 p) |$ J0 T
  225. ; Possible Values:
      V/ p. @3 u3 w. w. s1 h
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)0 |) D; g: v% T: w7 G+ K( O
  227. ;   Off = Disabled6 `* }; P$ k- U- P; f7 l
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , @5 H; x. p3 j' U% N7 {
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI( f/ s! w. E4 h
  230. ; Default Value: Off# s- ]2 N2 U/ ?8 n8 u$ h
  231. ; Development Value: 4096
    * p* l! c: @, p0 _; _1 u
  232. ; Production Value: 4096
    ( W4 G7 z/ m  R5 c, l; t+ a
  233. ; http://php.net/output-buffering
    / ?% Q. v4 s6 [
  234. output_buffering = 4096# j  H( l# ?7 R1 F* I0 f! m
  235. 5 D# d8 b  S& Y  I
  236. ; You can redirect all of the output of your scripts to a function.  For
    , x  w( M0 `# t8 e9 Y! @( ?
  237. ; example, if you set output_handler to "mb_output_handler", character
    - f% ?8 k3 l* }8 \; J. ^# h# p
  238. ; encoding will be transparently converted to the specified encoding., w+ ]& E4 T! q# k
  239. ; Setting any output handler automatically turns on output buffering.
    ( z9 p2 u' F) H, w
  240. ; Note: People who wrote portable scripts should not depend on this ini
    8 ~! [# D8 ~/ }1 _% d$ q
  241. ;   directive. Instead, explicitly set the output handler using ob_start().9 X: y6 i) d! I7 [8 T  v
  242. ;   Using this ini directive may cause problems unless you know what script- I7 Z. v$ \4 @: {5 L
  243. ;   is doing.
    4 U1 x4 s9 Y/ K. n
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"- c2 m/ |# x- G* Y4 s2 e
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    & k  k& e( [; i( Y" I- b* z- M
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    5 J9 N! z% E* i
  247. ;   Instead you must use zlib.output_handler.9 \3 b0 e2 o% Q: {8 L4 j, W! ]9 ~
  248. ; http://php.net/output-handler
    : f5 w! _, _( z8 ^2 f0 ^, q, O
  249. ;output_handler =! v. |+ b4 W6 x& C8 ~/ O0 T
  250. 9 M" d% n8 D6 P/ q8 h5 R
  251. ; Transparent output compression using the zlib library0 h4 `$ c" B. J( [
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % b2 n% W( {' `1 n, Q0 W" _: k5 B
  253. ; to be used for compression (default is 4KB)+ f2 R  l4 x/ g7 n- i
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP. @( X! X' t' R6 ~+ I* \% W
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    0 T) X8 s0 K- _7 z( L
  256. ;   compression. If you prefer a larger chunk size for better. C7 d2 ^9 t+ ~$ s! V% e
  257. ;   performance, enable output_buffering in addition.8 w6 a  v+ T* c; e9 A& Y8 B! I
  258. ; Note: You need to use zlib.output_handler instead of the standard
    # P" J0 D. G! [# ^8 j
  259. ;   output_handler, or otherwise the output will be corrupted.
    6 V' H: ?% \4 ]8 j/ U/ s! L
  260. ; http://php.net/zlib.output-compression
    - o) T! l3 u# t- X- s
  261. zlib.output_compression = Off3 _/ F& g% a3 r( w! r
  262. # I) w3 o6 q+ k3 J
  263. ; http://php.net/zlib.output-compression-level9 ~( v$ @9 N% e! h
  264. ;zlib.output_compression_level = -1! r: {( k. q, N

  265. 3 F% A% Y# d. }8 E
  266. ; You cannot specify additional output handlers if zlib.output_compression  N7 c0 i4 k9 h- p  c
  267. ; is activated here. This setting does the same as output_handler but in
    2 {! e% b! V8 |+ j, |. ~$ A5 b
  268. ; a different order.: e8 e+ ]! c1 V& n
  269. ; http://php.net/zlib.output-handler$ Q: U: @, N6 ^% u% \
  270. ;zlib.output_handler =3 a' c6 c1 _# {8 A0 F
  271. 9 E( L7 k& J' U3 F0 y
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' y" V0 t5 O2 W/ M& m' q
  273. ; automatically after every output block.  This is equivalent to calling the
    ( s2 Z, C9 N$ o
  274. ; PHP function flush() after each and every call to print() or echo() and each
    $ S+ E) j! a/ Z' S
  275. ; and every HTML block.  Turning this option on has serious performance
    ' O& c, f) Y8 Z9 c& x0 |9 E
  276. ; implications and is generally recommended for debugging purposes only.& t7 S/ R, g6 Y3 c! F$ u
  277. ; http://php.net/implicit-flush, F" N1 P( y! [
  278. ; Note: This directive is hardcoded to On for the CLI SAPI7 S/ g  V5 m: `6 `/ T2 t! `
  279. implicit_flush = Off. u" N" z) `9 A
  280. * [% k9 l* q3 L" |) T8 b
  281. ; The unserialize callback function will be called (with the undefined class'
    + ~4 X+ ^/ ^; v* {8 Q
  282. ; name as parameter), if the unserializer finds an undefined class
    ( q$ s6 d" N+ ~* f4 W( M5 ?( `
  283. ; which should be instantiated. A warning appears if the specified function is3 }* n8 P. ~9 _
  284. ; not defined, or if the function doesn't include/implement the missing class.
    3 S' X$ L; Q' n: ]; J. x: a
  285. ; So only set this entry, if you really want to implement such a7 ?7 s( f  X9 E1 y. W
  286. ; callback-function.
    0 }. L' B; V; G( {/ ], k; x
  287. unserialize_callback_func =" N' r0 Y0 q) c8 n) x- W0 W

  288. 0 ]" l0 R- l9 ]# q/ ~( C* B
  289. ; When floats & doubles are serialized store serialize_precision significant
    ( D- D  C9 I; A" q7 P
  290. ; digits after the floating point. The default value ensures that when floats
    0 C5 I4 S3 W1 W! j# x6 p
  291. ; are decoded with unserialize, the data will remain the same.
      k! {- L6 c3 D3 v" K9 x( i
  292. serialize_precision = 175 y* A; |/ ]# |! q
  293. + _$ e9 l: R0 T) K3 T
  294. ; open_basedir, if set, limits all file operations to the defined directory, n  [6 T8 K# T" n* f& `) t/ R
  295. ; and below.  This directive makes most sense if used in a per-directory
    ! R3 V# ?9 X8 u4 }
  296. ; or per-virtualhost web server configuration file.
    9 i3 |2 S/ t/ }/ X1 A& p' `$ }
  297. ; http://php.net/open-basedir& q- ?" i7 d! `# ~, Y9 s
  298. ;open_basedir =
    5 m! Y9 S7 ?0 @, X& k

  299. 0 |; a# K4 q" g: [
  300. ; This directive allows you to disable certain functions for security reasons.) \  N* i. u0 S+ w. S" f% Q6 [
  301. ; It receives a comma-delimited list of function names.
      l: P- n6 W3 _9 |( ]  b
  302. ; http://php.net/disable-functions
    ( @- P) T8 |/ d4 ?3 |
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    * `; Z* K. C* Q! f3 f. p
  304. 3 P) p! A# `, O
  305. ; This directive allows you to disable certain classes for security reasons.
    5 i, p6 o- P1 J' B; Q! @
  306. ; It receives a comma-delimited list of class names.' O& O7 F6 a( I- Z% V) x
  307. ; http://php.net/disable-classes
    % f5 \% F5 e1 J6 R2 {% Q' M
  308. disable_classes =
      C: C, w$ k; S2 y- z# t0 Y
  309. : d) ]7 U/ o4 d" [, U& ^
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 f" Q, H% ]0 }
  311. ; <span style="color: ???????"> would work.
    & U3 {. h6 y* e
  312. ; http://php.net/syntax-highlighting
    1 o$ T/ U& X) w# U4 c
  313. ;highlight.string  = #DD0000- h/ a/ M8 l# I: H
  314. ;highlight.comment = #FF99003 \' s: Z2 w! E/ v, H) p& m. V
  315. ;highlight.keyword = #007700
    2 |& |" B* M5 {2 ]  Z. k. w
  316. ;highlight.default = #0000BB
    / E" [6 m. ^+ l* E
  317. ;highlight.html    = #000000
    - r& K) E+ L  k$ x
  318. 5 n2 U) _3 t+ Y( H
  319. ; If enabled, the request will be allowed to complete even if the user aborts1 a, Y, V2 s4 t, v
  320. ; the request. Consider enabling it if executing long requests, which may end up
    * N" ?# t3 Y: ]" \
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ; K& `$ B1 O& y. E$ c3 X
  322. ; is to disable this feature.7 q; X- Q4 i3 ~3 o8 Y
  323. ; http://php.net/ignore-user-abort
    * x( {. C1 ]& U0 P4 c  v+ E2 B
  324. ;ignore_user_abort = On
      _# v/ o  I; j0 Z
  325. 2 M* C& z1 B; H5 \" V! E$ T
  326. ; Determines the size of the realpath cache to be used by PHP. This value should8 j; F8 p4 `  A2 \+ w1 O
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    # B) X! J: P) w- X& f% ?# d+ M; W6 I
  328. ; the file operations performed.
    : ]2 I0 l* L! U" D8 v8 y# h5 o( A4 M
  329. ; http://php.net/realpath-cache-size- h& E9 _' v+ F5 k2 X/ F3 u$ a" ]
  330. ;realpath_cache_size = 16k
    / d6 `. U& t. _  o
  331. . x+ }0 {4 |2 W  }0 b/ K
  332. ; Duration of time, in seconds for which to cache realpath information for a given/ X: G3 I" k/ q2 Y, T
  333. ; file or directory. For systems with rarely changing files, consider increasing this+ s% e; x' o% x) X
  334. ; value.
    $ t; ~9 c! |0 h, {9 S
  335. ; http://php.net/realpath-cache-ttl
    , T, k! C  A( y
  336. ;realpath_cache_ttl = 120
    . O. f- a9 b9 }  @
  337. + y) U- g+ n% l8 ]+ F
  338. ; Enables or disables the circular reference collector.' [2 y' E. j/ ^2 J- f# R
  339. ; http://php.net/zend.enable-gc6 \$ t# N/ r$ m, M3 V6 g! o6 F
  340. zend.enable_gc = On
    ' X. T$ V0 M( Q  ?1 P) }& l

  341. ( z& U* m+ ~2 {  s3 M, @/ v  w) i
  342. ; If enabled, scripts may be written in encodings that are incompatible with9 M9 Q, N2 [, u
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 ?( _9 c2 ?8 l
  344. ; encodings.  To use this feature, mbstring extension must be enabled.2 Q, w. F4 p5 |- F3 w0 {5 E
  345. ; Default: Off( _- H5 `. Z( Z" S( W2 z
  346. ;zend.multibyte = Off
    ' u( l2 p/ e3 A1 O: R0 ?

  347. " g: v! y, L9 p5 [
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    8 q5 k' z- B% J0 z9 [  ^$ r
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.! O/ X, ~3 o4 U
  350. ; Only affects if zend.multibyte is set.
      q+ i" V0 }2 a! k+ r
  351. ; Default: ""
    ; d1 a. d4 }' ?) J9 D
  352. ;zend.script_encoding =
    5 @' S; L$ ~. v& b+ A
  353. & `! t) ]; H% g& d% L0 ?$ [! F1 A
  354. ;;;;;;;;;;;;;;;;;
    / ~! |+ o6 \+ h6 N
  355. ; Miscellaneous ;
    2 Y! a' L1 Q. z; a; D
  356. ;;;;;;;;;;;;;;;;;
    9 D' l7 h1 A  `$ N' g, N0 h: P
  357. " j" ~" _( y' j% P: M* ]: i% V
  358. ; Decides whether PHP may expose the fact that it is installed on the server$ M1 g0 b! l. V3 k% `. J* _. x. ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security" s! O+ A* ^0 S, m
  360. ; threat in any way, but it makes it possible to determine whether you use PHP/ h" z# _7 J& j) Z" D* @6 e  O
  361. ; on your server or not.) \5 M' x6 I( _) u) |
  362. ; http://php.net/expose-php
      [! v4 z/ N! V5 ~  F
  363. expose_php = On
    0 T3 J- _7 Q! ?5 l' H

  364. % j/ i& y& b2 V0 l
  365. ;;;;;;;;;;;;;;;;;;;
    . S% m( [1 Z0 O/ h! S# x: y! n  A
  366. ; Resource Limits ;$ g( N8 x* \* o0 S1 W4 o
  367. ;;;;;;;;;;;;;;;;;;;* V% K+ S( v; k
  368. ' ?& d( ]1 l" h/ L! e( u6 Q8 ^: H5 z
  369. ; Maximum execution time of each script, in seconds
    - m" |- q, y  J7 ^- l/ M% @
  370. ; http://php.net/max-execution-time
    $ J9 {( H% j# A+ z
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI3 [: |' ?8 s8 ]: V$ j1 Z
  372. max_execution_time = 300
    8 p+ U+ [! b; c5 C! [
  373. ! K$ k4 H1 V# Z0 |* z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    & e4 ^: r2 o5 F0 C- ~2 `4 Q( s8 b
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % B3 h0 D8 s$ B. u4 m; E
  376. ; long running scripts.5 ~% M, {1 T0 Y1 A- [( h$ z
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI/ ]& U$ F: l9 r% T
  378. ; Default Value: -1 (Unlimited)% J, F* h  S8 V& G! r4 j
  379. ; Development Value: 60 (60 seconds). M! f- S3 k* S% R- _
  380. ; Production Value: 60 (60 seconds)4 F$ J4 f- q, j
  381. ; http://php.net/max-input-time
    & e% E4 v. [: S* }5 [" L9 l
  382. max_input_time = 60$ S! h" C2 \/ F" |6 x8 S

  383. 5 X" R  ?0 t) i( Q$ k' A
  384. ; Maximum input variable nesting level
    6 W4 c( O- [' U7 }3 G) T
  385. ; http://php.net/max-input-nesting-level1 t% _* j4 ]& \% m4 M
  386. ;max_input_nesting_level = 64
    - x; ^5 v* R, w+ A4 b
  387. 6 b/ p9 L. C$ U
  388. ; How many GET/POST/COOKIE input variables may be accepted7 F. s9 @1 K8 ?' G
  389. ; max_input_vars = 1000( ~( c8 P2 L1 w- O2 y) O" s* T

  390. , h5 S* i( J! B- }. B
  391. ; Maximum amount of memory a script may consume (128MB)+ U8 p7 A+ D0 R, c
  392. ; http://php.net/memory-limit
    3 P8 w* K& r9 X9 J. m' I6 G
  393. memory_limit = 128M
    " q; y' s" u+ A
  394. : ]# q& A; P3 I4 _3 W& q- F& `
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 w7 m* j! ~. G# p' |8 I4 n) |
  396. ; Error handling and logging ;
    ; X. i7 [( L' X, v1 y
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 o" x3 W# d! C1 y
  398. $ V& M9 ]2 R, O, d5 e+ H
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    7 u0 Y+ G0 c& V, H9 \7 y
  400. ; it to take action for. The recommended way of setting values for this! g! b; j" v9 s' [, f
  401. ; directive is through the use of the error level constants and bitwise9 k3 [; G! H+ R" R3 T2 n
  402. ; operators. The error level constants are below here for convenience as well as- V6 l; g) M3 b: R" c
  403. ; some common settings and their meanings.
    ) Z: E- q$ H; ~, u, o
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    & K. c) o" ?+ F! ~# T% e* L
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and; g" b- ]6 q2 _9 O( J7 {: u2 `
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 L. Q& m) E/ g) y# l
  407. ; recommend error reporting setting. Your production server shouldn't be wasting2 U4 c. A/ g2 \* {4 m) E9 S
  408. ; resources complaining about best practices and coding standards. That's what3 `2 f' d1 e: d$ S
  409. ; development servers and development settings are for.
    4 Q% C4 b2 [0 L) W3 w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This3 u* c3 i: G$ f) V& @: E
  411. ; means it pretty much reports everything which is exactly what you want during0 }, [/ H7 }2 s# n
  412. ; development and early testing.
    " j" E% h! c1 Z! K, Y- K
  413. ;
    5 x5 b; d/ A7 @# s! b. P; g: Z
  414. ; Error Level Constants:
    : {% ^) ]! O8 c$ _. Q1 U& P( s
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! d! ]( n7 X, V6 r& I* n
  416. ; E_ERROR           - fatal run-time errors
    . n/ g$ i7 H2 y' d7 e6 t
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 ]! }! O9 C% G" a0 D9 v7 C9 ]% @
  418. ; E_WARNING         - run-time warnings (non-fatal errors)2 n; Q- Y+ n2 h0 z
  419. ; E_PARSE           - compile-time parse errors
    6 D! x( F8 v5 l: @
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
      w5 g( d0 X8 \5 e/ n
  421. ;                     from a bug in your code, but it's possible that it was
    % F2 ]3 k" g( ?% i# w2 H( G
  422. ;                     intentional (e.g., using an uninitialized variable and$ i) ?8 h' k, ^. i. o; {
  423. ;                     relying on the fact it is automatically initialized to an
    ( Z. W) C) D9 S' {8 r# v9 P
  424. ;                     empty string)$ M* {* s6 ^0 g) d" O3 K& a
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    # w" V0 Q9 E5 L# Y" u5 P: y+ r
  426. ;                     to your code which will ensure the best interoperability
    & o9 `- o. d( \, J
  427. ;                     and forward compatibility of your code
    8 f. T; j" I! W8 c' G
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup, C8 e% G/ Y- u9 w+ r
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's" Z; i6 l( Y) q
  430. ;                     initial startup9 z+ b+ g0 p% Z, ]; ~" p
  431. ; E_COMPILE_ERROR   - fatal compile-time errors5 a! S0 K* [! [8 F: M$ ^
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 i4 r9 |( |! V) X$ l2 A
  433. ; E_USER_ERROR      - user-generated error message
    5 }* S2 f3 d, k! s. `7 o
  434. ; E_USER_WARNING    - user-generated warning message
    7 E% a# |( ^6 r" W
  435. ; E_USER_NOTICE     - user-generated notice message
    $ f' ^' V6 V. ~( \0 j6 o
  436. ; E_DEPRECATED      - warn about code that will not work in future versions. o6 T4 U/ ~, P* b' a
  437. ;                     of PHP
    ' ]8 e* z5 ~$ ~7 I8 c% O/ r
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings1 y) t5 F: z% X% R0 P
  439. ;0 I! y- J# O6 {6 N& c$ s
  440. ; Common Values:8 S2 Z5 a1 `, Y, K7 d9 `
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ q) k# W; f0 A' H
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)" \7 J* `, S$ H) f' v( x
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    : V' c% ]1 D) c! q$ m1 A
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)$ J* M2 d- z6 p! U
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  b+ c- C9 Z. {5 {
  446. ; Development Value: E_ALL
    ! G7 |& ^" u4 G" o7 S
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 |% w& U  ~1 M# z$ Y! ~
  448. ; http://php.net/error-reporting
    7 o5 P- W& A5 o  r" P; V
  449. error_reporting = E_ALL & ~E_NOTICE
    2 }: r1 a/ L$ v- @- B
  450. 2 g, V- |5 O3 p) Q  s0 ]
  451. ; This directive controls whether or not and where PHP will output errors,9 P, h$ U- u8 Z% }5 L
  452. ; notices and warnings too. Error output is very useful during development, but
    # j7 C6 V# l3 @+ `& O
  453. ; it could be very dangerous in production environments. Depending on the code
    4 Y7 p( o" @6 N% w1 c5 C
  454. ; which is triggering the error, sensitive information could potentially leak9 r. F- e3 I" c3 Y% z7 M' U9 D
  455. ; out of your application such as database usernames and passwords or worse.2 z2 r, ?0 q9 q3 I0 r$ [9 T9 w% `
  456. ; For production environments, we recommend logging errors rather than
    $ v0 I3 N2 u* k
  457. ; sending them to STDOUT.5 u7 U* ^$ S7 O' ?
  458. ; Possible Values:/ _$ S9 w# G$ H6 O
  459. ;   Off = Do not display any errors4 L9 h3 b0 E- \$ _- v! G2 V
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    : N2 V$ r1 f, D" w) }( p  T
  461. ;   On or stdout = Display errors to STDOUT: p& n. C/ q# A8 \! p& p
  462. ; Default Value: On* @% }& i6 P& u9 E
  463. ; Development Value: On& j  H3 B$ j2 s, f- G
  464. ; Production Value: Off
    0 _8 X0 m! b  s4 f( j
  465. ; http://php.net/display-errors
    / b6 w  b1 G9 p" m
  466. display_errors = On
    $ l& ]9 G/ E: w7 R
  467. * D6 N2 u1 T5 v8 O0 k# b; h
  468. ; The display of errors which occur during PHP's startup sequence are handled
    3 _/ W4 ?2 B5 `* c
  469. ; separately from display_errors. PHP's default behavior is to suppress those. r- W' N$ G5 g; t! G
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    3 L! b; V4 D. f# E& L
  471. ; debugging configuration problems. We strongly recommend you
    ( l+ b% u1 l! i2 C, K# r2 R
  472. ; set this to 'off' for production servers.3 S- _7 M$ W) w" d3 _5 b
  473. ; Default Value: Off
    , `! c+ }& U* k) O- o1 ?
  474. ; Development Value: On
    + Q% L& d* X9 x
  475. ; Production Value: Off
    3 I2 d, a2 f8 P
  476. ; http://php.net/display-startup-errors
      @" k$ c8 J) p- U; G7 S
  477. display_startup_errors = Off
    ! F( Y# `& _! W+ D
  478. * x3 Z  O8 G# a1 ?, W
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    3 _$ z2 x9 `# H0 C$ J
  480. ; server-specific log, STDERR, or a location specified by the error_log
    * f( |! {4 W. Z3 l) v
  481. ; directive found below. While errors should not be displayed on productions8 s, v. Z. S, ]3 v0 w' M( C
  482. ; servers they should still be monitored and logging is a great way to do that.
    8 s+ j! C: W4 I& }
  483. ; Default Value: Off( s" h& j9 ]9 {4 f- A0 w4 C& \
  484. ; Development Value: On
    . q/ Q+ ]2 q! f" [3 k/ n2 Z
  485. ; Production Value: On
    " @' z  M; `3 [' N% [% \
  486. ; http://php.net/log-errors
    / z: a% ]  f5 ^2 m
  487. log_errors = On
    . Z- v5 W/ }: t; ^
  488. / a0 R, X/ z8 J
  489. ; Set maximum length of log_errors. In error_log information about the source is# G2 |+ T4 A& s  F6 p3 {
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 H7 I6 Z" l' C' t( Y1 G1 S0 ]
  491. ; http://php.net/log-errors-max-len
    * \$ B. I; @6 E9 w4 K1 B7 p, t5 \
  492. log_errors_max_len = 1024
    $ C8 r/ J9 R% E* s, A1 G) J$ w

  493. : U& x) t/ ^- F; U1 ?
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    0 q9 N7 L7 z# x2 I8 b" H1 }! T8 i3 X% v
  495. ; line unless ignore_repeated_source is set true.
    8 S5 w3 u* S6 {0 e; n3 u8 F* ]$ m
  496. ; http://php.net/ignore-repeated-errors
    . \3 s( f8 z0 V6 O4 V. ?
  497. ignore_repeated_errors = Off
    " g( c% z9 C; F* [* t5 E

  498. ( U' c& M( I( J# R7 \& D
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ! [" G9 w5 _8 d( ~2 S5 a
  500. ; is On you will not log errors with repeated messages from different files or
    & x( B9 i( K& S2 Q
  501. ; source lines.
    " [8 M( m$ N$ B, Q* Z5 Z; Q4 @% I% t
  502. ; http://php.net/ignore-repeated-source% }2 r3 D' i, J8 U
  503. ignore_repeated_source = Off- b" i- f, O+ D2 O$ N& E; u
  504. ) q2 x4 \8 V4 ~$ U+ {
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    3 i9 y! A& J0 i) n
  506. ; stdout or in the log). This has only effect in a debug compile, and if+ _6 T% C1 j, U% w
  507. ; error reporting includes E_WARNING in the allowed list
    6 @' X1 W2 S) y6 @! U' V
  508. ; http://php.net/report-memleaks1 h' N1 K3 Y0 h* X8 u9 O! k
  509. report_memleaks = On
    + R+ B# h3 j& m, _6 V; A/ A+ `
  510. ) z+ y$ ~- G! B& O- C6 R
  511. ; This setting is on by default.2 X0 V6 L7 N- M% l3 d7 g: S6 u: c/ f
  512. ;report_zend_debug = 07 N* e& G9 O- P* V% o) m1 B- G

  513. ! `# I% S2 D5 E+ {2 t, I
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. O! z1 s2 w# e
  515. ; to On can assist in debugging and is appropriate for development servers. It should) a. O) Z+ u* }2 g9 K
  516. ; however be disabled on production servers.
    $ F" E7 _/ F8 n' j4 L6 @
  517. ; Default Value: Off' W: x- D% o1 F' s! Z
  518. ; Development Value: On- Y7 U! U- t6 S% v% m# ^
  519. ; Production Value: Off% l: t+ |" {6 J* [, B0 L
  520. ; http://php.net/track-errors6 J% `% M6 L. ?9 P
  521. track_errors = Off4 w+ Y+ g  F6 U0 Q0 M3 z) v& M" ~

  522. ' [* K$ y% C! F- E( Z
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ' O( Q! \4 P$ y" L& @8 e9 p; A
  524. ; http://php.net/xmlrpc-errors
    9 V% P' o  B5 r$ w
  525. ;xmlrpc_errors = 0
    : m  j) N" c5 r
  526. , ]7 V" V" q: i# P
  527. ; An XML-RPC faultCode' l: d/ A5 r. f2 S7 c; Y
  528. ;xmlrpc_error_number = 0+ f5 s1 N% {/ L9 h
  529.   {, m, l+ }8 \% r- j
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    9 G; H9 p, ~! }* s0 s8 x
  531. ; error message as HTML for easier reading. This directive controls whether
    . ?5 J: K# I, C9 a7 I) ^# q
  532. ; the error message is formatted as HTML or not.
    9 G5 {% _- n5 s
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 F2 w8 `3 s2 B* C. w  n$ g; C
  534. ; Default Value: On! j4 n( s; C$ i' s
  535. ; Development Value: On
    ; \/ @4 j* E; \/ p8 F* P/ q
  536. ; Production value: On0 l, ]) G" R4 v7 c
  537. ; http://php.net/html-errors$ |. Y& c0 ?' `* Z6 K! C* T
  538. html_errors = On
    . W' A2 u3 b5 B7 N" U) ?
  539. * S" g# n5 n2 D  Y2 c
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . c4 R7 k9 Q! Q/ J: ]
  541. ; produces clickable error messages that direct to a page describing the error5 h- E  g9 y1 A8 ]: E4 \
  542. ; or function causing the error in detail.1 V0 M, ]9 A5 Y- g2 ?2 Z
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ' U3 W) W! X6 v( R2 o$ A. }  O* t: S
  544. ; and change docref_root to the base URL of your local copy including the
    4 |  A. D0 e- F
  545. ; leading '/'. You must also specify the file extension being used including
    , M) S1 f+ l$ d7 R, d' O
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which" [5 `  _! a4 o& R
  547. ; case no links to documentation are generated.' J! m  P3 O* e1 V; {9 P2 m9 v
  548. ; Note: Never use this feature for production boxes.1 I: P4 [: T* F1 _
  549. ; http://php.net/docref-root
    7 D, z7 H$ ]' T, p
  550. ; Examples( I8 B( r+ m6 g  {) o' I+ J
  551. ;docref_root = "/phpmanual/"
    * [! p. U5 @7 J. N0 r

  552. 8 b6 K6 K. g+ p. e$ X8 m9 r  y0 S
  553. ; http://php.net/docref-ext* d  D4 W1 E: B; ~- }/ W
  554. ;docref_ext = .html" Q, @4 W$ L# J

  555. : g% E" a- _) ?' Z
  556. ; String to output before an error message. PHP's default behavior is to leave
      T8 z# J' Z; Q2 K& e
  557. ; this setting blank.
    3 {  {9 p4 E7 `9 f/ I4 X$ d9 O
  558. ; http://php.net/error-prepend-string
    0 ?1 X# f& p7 C7 p* M
  559. ; Example:: h$ X4 ]4 ]4 G
  560. ;error_prepend_string = "<span style='color: #ff0000'>", v% s+ V' r" x. N
  561. 1 Q5 K; \: y5 j% S; R0 J9 A$ U
  562. ; String to output after an error message. PHP's default behavior is to leave7 I  s+ e- f/ P
  563. ; this setting blank.+ G! z- R3 C' [0 |& a
  564. ; http://php.net/error-append-string
    + e3 z3 o! Z5 ]2 N! E: ]
  565. ; Example:6 u; }; [5 m. L% M8 ?. \
  566. ;error_append_string = "</span>"
    ! R2 h- C% V: K( H
  567. & L. U+ N7 W$ t# R0 m8 K
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    . M  S* r* c% g1 L3 z
  569. ; empty.% v3 b3 N  w6 Y
  570. ; http://php.net/error-log( g, r  D! V) G% X
  571. ; Example:! I& @4 h4 r( D. w2 C
  572. ;error_log = php_errors.log0 |; ]0 W  V. ^( I
  573. ; Log errors to syslog (Event Log on Windows).
    & ~& M1 p( x" C( X4 k0 Q
  574. ;error_log = syslog/ ^4 v, c* G, F4 u" f4 q

  575. 0 b! [# T& ?2 T% P. O; [
  576. ;windows.show_crt_warning
    , M9 c. V! I" L- J2 M' @- ~- G, @
  577. ; Default value: 0
    ; Q& u6 _3 o9 P+ l1 Q2 O
  578. ; Development value: 0& j4 P1 M. j6 f; L
  579. ; Production value: 08 W3 A2 i8 R. \( ^$ k
  580. + B& m: C" o" F& X
  581. ;;;;;;;;;;;;;;;;;
    ! c$ F: D, ~( I
  582. ; Data Handling ;
    4 e1 ?( \9 C9 [+ i
  583. ;;;;;;;;;;;;;;;;;
    & _  x; u+ a; X1 K- q* J# ~

  584. ! P6 A. C9 ?: D( J7 f  X( |
  585. ; The separator used in PHP generated URLs to separate arguments.6 ~4 f# P& ~  u  w
  586. ; PHP's default setting is "&".
    & d8 |, _5 g& ?, F- U
  587. ; http://php.net/arg-separator.output" C2 \4 Y8 i& t! Y1 J7 y* B
  588. ; Example:. C+ p  c  P3 |8 k9 H  B8 U
  589. ;arg_separator.output = "&amp;"; n& y5 M: W! ^0 Y. k3 D

  590. ) t- p0 Q( v/ w1 ~4 U( d! t! K& [! J
  591. ; List of separator(s) used by PHP to parse input URLs into variables.! r6 p: f5 l8 U9 O4 K
  592. ; PHP's default setting is "&".  y2 `5 a5 p& L! L; C
  593. ; NOTE: Every character in this directive is considered as separator!
    - P: |, |7 a2 c+ R: ~* z
  594. ; http://php.net/arg-separator.input0 q/ R7 d5 z+ C: C' G$ z7 d
  595. ; Example:: W5 j7 W2 v+ P6 z5 @2 z
  596. ;arg_separator.input = ";&"4 \4 X+ }% A. i7 l' w

  597. 0 U; z/ @3 ?% N& O# V
  598. ; This directive determines which super global arrays are registered when PHP" O* A) Z9 l: a. X( T5 B) }
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( K( r+ J0 D6 `
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; H- Z; `8 ?- q6 `/ N# P  p+ N
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    , X; ]# J! L0 T4 G6 h, a( ~
  602. ; used as the others, ENV is not recommended on productions servers. You
    7 L" V. G3 j( ~9 m6 w6 _% I& {; A
  603. ; can still get access to the environment variables through getenv() should you3 b. U  c. z7 S4 F* m
  604. ; need to.
    - t  ?& h6 {$ i: y% D/ u8 G
  605. ; Default Value: "EGPCS"2 i1 }; S3 D! Q6 M. V
  606. ; Development Value: "GPCS"5 |( |) a# B+ U4 G; W
  607. ; Production Value: "GPCS";
    $ e3 Y% n! j/ v8 b7 q
  608. ; http://php.net/variables-order: P# ]$ P$ {. s  ]" a* J: ]
  609. variables_order = "GPCS"
    1 E# C" ]. c7 e8 E
  610. - C" u0 T& O; U) k0 o
  611. ; This directive determines which super global data (G,P & C) should be
    4 ]+ U8 i6 }8 A# B' g& m
  612. ; registered into the super global array REQUEST. If so, it also determines. G  j) C( u3 e3 ]! M
  613. ; the order in which that data is registered. The values for this directive$ T) u( g* s6 `3 l
  614. ; are specified in the same manner as the variables_order directive,
    # U1 a, p9 C7 X5 G! x- r
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 v1 c+ f6 J1 `2 x6 ~" A$ |" k' F) e9 w
  616. ; in the variables_order directive. It does not mean it will leave the super# ]3 J& c9 {* r# F
  617. ; globals array REQUEST empty.
    7 j( i( H7 _" r4 k, l) X0 C
  618. ; Default Value: None
    $ I/ L+ ]7 K! V$ E: _6 H
  619. ; Development Value: "GP"
    / d) M! N" {' k9 r6 l5 h4 A. G. F
  620. ; Production Value: "GP"
    $ ]/ ^+ w+ q0 f
  621. ; http://php.net/request-order/ u" n& ^: _2 S6 @& J+ h
  622. request_order = "GP"
    3 {( V4 @: @9 E& ~0 u
  623. + Q$ c4 b& H% Y. A' R" ?' a/ C
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ' n7 m) k( X& @7 S! ~
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script& o; V7 k7 |0 O, r) a6 i: O
  626. ; is invoked. $argc contains an integer representing the number of arguments, m) O3 @2 h% _# y
  627. ; that were passed when the script was invoked. These arrays are extremely
    0 [: i' q6 Q% x2 Z+ L' j5 v
  628. ; useful when running scripts from the command line. When this directive is0 w2 F" |6 g% D( p$ H% G
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 x' R: Z( {# `# h2 T7 B' E$ U
  630. ; a script is executed. For performance reasons, this feature should be disabled: w9 z. O; Y- ~$ O
  631. ; on production servers.+ F7 Y; P5 x1 ~6 g, J
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    / M' i7 ?8 |# Q. E  {* ?/ L3 d
  633. ; Default Value: On
    ( e6 H  n; g, N- L$ a8 {0 l
  634. ; Development Value: Off$ }5 C  ~1 F* F: n6 j- z2 X( O  |" M9 G
  635. ; Production Value: Off3 m, K6 _5 |+ y9 t- K
  636. ; http://php.net/register-argc-argv7 l% e, `4 ^  c
  637. register_argc_argv = Off
    ( R3 L: Q/ i9 K' Y4 S/ m
  638. . s, ?0 ]* C7 z, ]2 @. M* [" Q7 ]
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ! j# H- Y4 i% _/ W% A
  640. ; first used (Just In Time) instead of when the script starts. If these0 _* @! {) M( C7 Y1 o
  641. ; variables are not used within a script, having this directive on will result7 g% W* N/ w, p* ^0 u+ J$ ?* _
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled$ t2 E  s) H6 ~$ A/ j+ f, @
  643. ; for this directive to have any affect.# Q' T) A9 C! p) G' s
  644. ; http://php.net/auto-globals-jit
    1 x1 n) Z9 U* U6 x- e
  645. auto_globals_jit = On2 b! s! F3 l' _+ v" w( Y, |
  646. % g+ B& ^# a+ ]9 n) _
  647. ; Whether PHP will read the POST data.' R0 ^, |4 l. T' w3 t
  648. ; This option is enabled by default.% V. w3 s" p! X  ]% [  K
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST! Z1 b1 S$ V. B; }
  650. ; and $_FILES to always be empty; the only way you will be able to read the; Q% L8 g! j" ]% H" l( n7 \* g% n" i  \
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    , u" ^0 `& C* J
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    . S3 b& e- x7 h! J, m9 A
  653. ; http://php.net/enable-post-data-reading& A2 i* U- A5 {1 V. N* Z+ `' E
  654. ;enable_post_data_reading = Off
    % v- n$ N& V) A( K# n

  655. % B6 N+ O! s. c! H! k4 q/ @& T6 G
  656. ; Maximum size of POST data that PHP will accept.7 z1 a8 s. X' K" L: k# S8 t
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading5 y* [9 Z  g, G9 D
  658. ; is disabled through enable_post_data_reading.
    2 Y$ u) u7 g$ i% R* N
  659. ; http://php.net/post-max-size
    $ H1 c( ^# Y6 D' P
  660. post_max_size = 50M
    % A  c* R1 b$ w$ o0 V+ b
  661. % O" T1 J. x! ~" A" I- @
  662. ; Automatically add files before PHP document.5 @* q" _& L8 P) V5 |
  663. ; http://php.net/auto-prepend-file
    6 m  c: ]! b( k
  664. auto_prepend_file =3 E5 o3 o% K- L
  665. . t% x* x* V6 x. {2 g) z
  666. ; Automatically add files after PHP document.
    " c9 n) n5 v2 f# V% ]
  667. ; http://php.net/auto-append-file
    : ^: c. U; N& w
  668. auto_append_file =/ C, D! x9 m6 _0 b: X9 _* Y$ v* g; I

  669. : i- J& R! H# G' g
  670. ; By default, PHP will output a media type using the Content-Type header. To
    - }2 \9 U! o7 z# C! C8 Q6 i/ D
  671. ; disable this, simply set it to be empty.7 ~" s2 P) x* \2 U" T
  672. ;
    % c7 J! I9 Y' M9 U' ?3 [; P
  673. ; PHP's built-in default media type is set to text/html.6 u6 F- Y& F4 Y' j) a" o2 s
  674. ; http://php.net/default-mimetype* y4 v/ {* ?( U: p+ @  k6 V
  675. default_mimetype = "text/html"
    8 P$ q; y$ Z- f# D7 f+ t
  676. & H' V9 S( f% |6 n7 S8 X, {# y( ^
  677. ; PHP's default character set is set to UTF-8.
    2 j- I9 @4 r; P% c$ A6 ]
  678. ; http://php.net/default-charset
      l8 e) U6 w" _7 J( p0 U
  679. default_charset = "UTF-8"! I, v* c; y2 |
  680. ) V  x& f6 m+ |( ~' u9 ~
  681. ; PHP internal character encoding is set to empty.5 B& y5 w. F4 y$ [# C1 s
  682. ; If empty, default_charset is used.- s1 u. ?4 U+ n. _- q9 `6 J
  683. ; http://php.net/internal-encoding
    6 ~, r! K, Q7 o) w, X) {
  684. ;internal_encoding =4 R% A* m7 ^3 R- j
  685. , i' Z! B: u. b% u" {4 ]
  686. ; PHP input character encoding is set to empty.
    5 W8 o0 e& E) |9 k/ q  H1 ]; C
  687. ; If empty, default_charset is used.
    " `# p6 H/ C8 z
  688. ; http://php.net/input-encoding! O* }3 k+ x5 {3 D, Y) T2 g$ C* M: ^2 s
  689. ;input_encoding =
    3 j/ e0 `% u7 N' H6 P( K! [! b6 L
  690. , z$ c) y" U% X' _2 C6 c
  691. ; PHP output character encoding is set to empty.
    : L& o8 z, F, q% }1 I+ ?
  692. ; If empty, default_charset is used.1 p& U# [: h/ ^3 Y
  693. ; See also output_buffer.
    $ S  G% D, w2 J; L" p% ?- f
  694. ; http://php.net/output-encoding3 J) G% t8 q# h2 v, N
  695. ;output_encoding =
      v+ Y6 v% O, o! B9 U* N) y
  696. : ~5 r9 y# `4 L9 @( E9 @2 Y
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    + K8 a# d. G! Y) d& l& J+ d
  698. ; to disable this feature and it will be removed in a future version.
    " q, Z+ q. X7 Y6 X+ I
  699. ; If post reading is disabled through enable_post_data_reading," a: F, ~; i# c$ \+ \3 e5 q  q( @
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    # o4 G4 Y/ P3 e( d
  701. ; http://php.net/always-populate-raw-post-data- k2 q+ T4 c) j0 Z5 t+ y$ g. o
  702. ;always_populate_raw_post_data = -1
    5 K1 D: c) k( ~+ R* x7 Z/ e

  703. + k4 z" q( d! D+ I& u5 _% b
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / p% l! c% G/ S8 u. A
  705. ; Paths and Directories ;
    3 z3 E8 f  a4 b
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;; f( m; O8 c0 g( F
  707. - Z- @' ]/ {1 p8 n2 L* }1 B+ m1 Q
  708. ; UNIX: "/path1:/path2"# a' K7 u% t4 t, j6 z) `5 j% ]
  709. ;include_path = ".:/php/includes"
    ( ~% C+ [" Y6 P! R6 x: r2 T* D
  710. ;
    * D) b2 Q+ M/ e2 m! C
  711. ; Windows: "\path1;\path2"* ~1 D: L( ~; g. S( k6 M
  712. ;include_path = ".;c:\php\includes") @+ E  U$ c4 \2 t0 Y3 X( t
  713. ;* w( g& ]. ]' b5 D# e
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"- ^$ U: T# h2 L$ @
  715. ; http://php.net/include-path( A/ g* J: W3 z- K* h( t; M0 h

  716. ( [5 N& I6 h8 o' C/ n
  717. ; The root of the PHP pages, used only if nonempty.
    * ^3 P& O3 T: {
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    0 t; n/ \8 k: N4 G* E( [; h0 I
  719. ; if you are running php as a CGI under any web server (other than IIS)
    . |" i1 z9 E5 T& P' F7 ^: a
  720. ; see documentation for security issues.  The alternate is to use the
    " W4 s# v1 _/ l; y! s6 B. t- m8 L( I0 V
  721. ; cgi.force_redirect configuration below
    % \* w8 W6 E6 Z  R5 m3 y
  722. ; http://php.net/doc-root
    / g. w( D# w3 t
  723. doc_root =1 a* Q. l  {& e2 T2 f; W$ q
  724. 6 O, Q: i  X( e- C- ~9 E  I4 ~
  725. ; The directory under which PHP opens the script using /~username used only
    6 m8 ~, B( [  [9 P. L4 {+ E
  726. ; if nonempty.; Y; x, g: D: O0 z( {, x" U
  727. ; http://php.net/user-dir6 c3 i9 o/ z* e# s, b
  728. user_dir =5 q+ _$ b# _" [4 [+ @

  729. , C# j' b: F  c7 y7 w
  730. ; Directory in which the loadable extensions (modules) reside.
    % ~9 Z) x3 `2 M& g
  731. ; http://php.net/extension-dir* Q9 E/ D/ i8 M4 j9 ?
  732. ; extension_dir = "./"# C3 c4 @5 V; X1 ]
  733. ; On windows:
    9 E3 n7 ~" ]: J, d, u9 K, z
  734. ; extension_dir = "ext"
    ' O( A8 T% E. l. b0 i$ b
  735. - t4 x' l' p$ J. g) T# }
  736. ; Directory where the temporary files should be placed.
    ; r! y9 d2 o3 X  q6 F
  737. ; Defaults to the system default (see sys_get_temp_dir)0 `6 K. m6 m* I  c5 ^1 ~2 T
  738. ; sys_temp_dir = "/tmp"
    5 R8 G( P; g4 T3 }7 ?! Q
  739. % V8 H; K. }/ p" O& j: N
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work. q  F6 D" I* g( A# b
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    7 A5 b7 f" U) R: E; c9 r
  742. ; disabled on them.
    / S7 }# D$ C; {. r# C
  743. ; http://php.net/enable-dl
    9 X2 H- n) m7 T
  744. enable_dl = Off
    5 N3 O  G, X- M2 ]: j$ m- {
  745. - n5 X( o. Y- X& D- y3 _
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    5 M/ ^% k; P1 X  e9 N7 ]5 t) _
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , L0 j" W3 `2 Y# U9 R& \
  748. ; turn it off here AT YOUR OWN RISK( O  t9 O7 ^% B# O8 H" S& @; Z
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.*** o" k% ^1 d6 W
  750. ; http://php.net/cgi.force-redirect' c4 g* Y' b5 W; a' ?
  751. ;cgi.force_redirect = 1
    " L6 F; ^) ]% S8 L% S6 y& M1 P
  752. 7 c% t0 o+ |0 ]: T& @
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 `, c# w2 w6 W/ s) s
  754. ; every request. PHP's default behavior is to disable this feature.
    ( @7 I) }7 H: a& L4 w
  755. ;cgi.nph = 1- |! w3 A& ?5 D( k
  756. 9 \* X# |; V- \- N/ ~
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape% ~+ e1 I) Y* Z
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 c& J) y+ D- F$ l' Z4 h
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 Z; k, F3 y4 W% c5 `# ~' Y
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST./ J+ @$ N" j, G: Z# O# U
  761. ; http://php.net/cgi.redirect-status-env
    " [) D2 G; U6 C  F) E5 ]
  762. ;cgi.redirect_status_env =0 d8 |0 ^, ^3 S9 c$ ~' {

  763. 1 ]* s! O: A) _
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ( D6 S) y6 |- {$ `6 b6 L/ |
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    , A6 P$ |/ D4 ^. Y: E
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    " U9 H5 K& F+ |. T
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 B' _2 N4 k: {6 r8 ~8 r6 L
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    . K0 A( B0 ^9 p5 v
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.9 O6 ~7 f8 r: W! Y
  770. ; http://php.net/cgi.fix-pathinfo8 ~$ ~+ E1 P/ G
  771. cgi.fix_pathinfo=1
    8 y1 F! \7 M9 R! ]

  772. 9 |; O3 L! L" z  \6 s
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ D, G7 F+ e  b( B  G
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 P% H# u7 R- O3 D
  775. ; http://php.net/cgi.dicard-path
    ; e' x2 w. e4 U( Z1 G2 I0 R
  776. ;cgi.discard_path=1
    ) D8 r' O  R) N, ]  R0 [

  777. , X( R) x6 x1 @
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      a* G( g( a2 \% S- }7 k
  779. ; security tokens of the calling client.  This allows IIS to define the* R! i3 ?5 l& q
  780. ; security context that the request runs under.  mod_fastcgi under Apache8 T4 z0 e# B5 m: z8 A$ l
  781. ; does not currently support this feature (03/17/2002)
    , }1 E0 E3 w# g
  782. ; Set to 1 if running under IIS.  Default is zero.. [; x5 h$ j2 y3 R% d
  783. ; http://php.net/fastcgi.impersonate" H2 Q, |! |; j
  784. ;fastcgi.impersonate = 18 ?# i5 T# P! u9 e, ]# _

  785. - `9 i# v; |; N3 S' ^1 P, B
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " ?7 t/ H+ ]+ ], N) w  Q" _
  787. ; this feature.& R( y7 s1 P! y9 D& D3 ?6 w( d
  788. ;fastcgi.logging = 0' o  y& G) N2 C. `% `) y

  789. 8 ?: Y6 b& r. \1 `5 T. ?' [3 E
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  D  Q2 j" `( v# R; d
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that9 Z" }. K3 w- r1 V
  792. ; is supported by Apache. When this option is set to 1, PHP will send& \/ I8 m5 r4 }4 B7 `
  793. ; RFC2616 compliant header.
    9 x6 _! B) G- A& Q+ H2 _
  794. ; Default is zero.3 V; \+ P" |* O* t
  795. ; http://php.net/cgi.rfc2616-headers2 D3 A6 R! k9 O8 y( q
  796. ;cgi.rfc2616_headers = 0
    8 K3 U# G% f8 e
  797. & i  k5 E) j& M; ]6 S0 E3 H
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ X7 A# l$ r5 o, j% W! r7 ]
  799. ; (shebang) at the top of the running script. This line might be needed if the
    3 E: W; n& e$ F3 m* }% p5 d
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    " B" \! _# ~' R
  801. ; mode skips this line and ignores its content if this directive is turned on.
    + O8 V6 v: y6 O3 `% X
  802. ; http://php.net/cgi.check-shebang-line9 u  {, [6 s; G2 F& E
  803. ;cgi.check_shebang_line=1' M+ p. b- ]3 {% v  C5 S
  804. 7 S& }, I8 k+ s' L8 \& g
  805. ;;;;;;;;;;;;;;;;
    6 Z1 t  H( \# U0 E  ?" F7 i9 `$ N
  806. ; File Uploads ;7 R; J/ h- U4 |( ]: m, P8 @! x
  807. ;;;;;;;;;;;;;;;;! X, c2 @- X9 D+ U" r' ~& F
  808. 1 V; F! ]/ D$ ]
  809. ; Whether to allow HTTP file uploads.
    & X0 V! P- i" v- h# O* R$ L
  810. ; http://php.net/file-uploads$ `0 Z  w5 x$ v* W: i  ?
  811. file_uploads = On0 u0 _( d3 ]8 ^

  812. 0 u) H0 e6 q, S+ k0 d" }% J
  813. ; Temporary directory for HTTP uploaded files (will use system default if not. V4 ]) d# Z  w) S, @' L+ ]
  814. ; specified).2 [8 ?2 b, |  K
  815. ; http://php.net/upload-tmp-dir
    $ S" h/ K# X3 H
  816. ;upload_tmp_dir =
    & L, V" ~& E$ ]! q, h0 j/ G  h

  817. ( @5 a3 |" D( k) H) I1 p# |) ?
  818. ; Maximum allowed size for uploaded files.
    5 i0 X: w$ [* |( [* a
  819. ; http://php.net/upload-max-filesize# d; D% t* |4 I: I' ?
  820. upload_max_filesize = 50M
    ! Q& K! @& o% @- q" K. ^3 i2 Z* L& v

  821. $ W1 {7 R. k, }  Y9 X: }) r
  822. ; Maximum number of files that can be uploaded via a single request
    5 t7 |: w; {; N8 h, ?  m
  823. max_file_uploads = 20: K, x% J& S- _* b

  824. 6 ?0 I; H# B1 e" l( b, `3 i1 C
  825. ;;;;;;;;;;;;;;;;;;; B# ~4 N' }7 t+ N6 z' M  ]
  826. ; Fopen wrappers ;
    $ Q$ o; N5 W/ m% V
  827. ;;;;;;;;;;;;;;;;;;
    2 T& Z  A- z6 J; q1 H

  828. 3 O* z7 p+ y" ^( q% T
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.) h: {* r' @8 r/ k# m
  830. ; http://php.net/allow-url-fopen' x3 ~0 a; b9 ^+ d3 y, C' Y
  831. allow_url_fopen = On+ y& Z$ h( `2 x# R4 `- L- ?1 k
  832. % ?& B& g: X: I% @
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 u1 b9 Z( B# A- U3 O
  834. ; http://php.net/allow-url-include9 N0 s& L2 U; s. _
  835. allow_url_include = Off2 o0 {3 W. M  V+ H
  836. ! k3 @5 {& E9 i4 s2 O$ R( E
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    - |( m6 b- P! N, O  F: I* w0 Z
  838. ; for this is empty.# u+ _. N3 t6 O0 |  M3 H
  839. ; http://php.net/from' }& k9 f* v/ V* E
  840. ;from="john@doe.com"0 ~0 Q! S6 }* r/ o

  841.   @: e& h6 r1 z# ~6 x6 }, J
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    & s  ]; i$ ?, {( i- d- r
  843. ; http://php.net/user-agent
    $ p3 h2 d7 V& Y+ v) o  V( X  v$ \
  844. ;user_agent="PHP"
    6 Q' ]' C# U7 m
  845. 2 u. Q6 d. H) _# K. k
  846. ; Default timeout for socket based streams (seconds)& P% g, ]; B0 P1 H* c
  847. ; http://php.net/default-socket-timeout4 D  D! _! U% C- J
  848. default_socket_timeout = 60
    9 \  N2 }9 f& Y3 H9 R# D
  849. + u. j- O4 ?* y) K/ b+ v
  850. ; If your scripts have to deal with files from Macintosh systems,
    1 \; b# q6 |) P0 \4 H- ]
  851. ; or you are running on a Mac and need to deal with files from8 d; T1 k% \+ v+ k2 J, T" T8 B% }
  852. ; unix or win32 systems, setting this flag will cause PHP to
    5 R- G, r! ]) q
  853. ; automatically detect the EOL character in those files so that* m- h( v4 g3 p" Z& o
  854. ; fgets() and file() will work regardless of the source of the file.  @7 P# z3 i. y1 _" b! s
  855. ; http://php.net/auto-detect-line-endings' s) i4 e! V' |, d, r, |4 }# {  P
  856. ;auto_detect_line_endings = Off4 g9 a6 |( b5 o5 i

  857. 6 W  p& E& p) P. j* n4 {* Y
  858. ;;;;;;;;;;;;;;;;;;;;;;/ j2 m( d8 [$ U5 p, K) c
  859. ; Dynamic Extensions ;! v6 L  e+ D4 y. b, T" N
  860. ;;;;;;;;;;;;;;;;;;;;;;
    - z- q& j4 F; B5 O/ F

  861. " e. h- q" B; ?. G( G, D: O" q
  862. ; If you wish to have an extension loaded automatically, use the following
    6 o  V* }( _; f, J, s
  863. ; syntax:' B% w; Y1 j+ w7 c9 ^9 k
  864. ;3 k4 I2 n# l# }8 j: Y5 p  e
  865. ;   extension=modulename.extension, Y6 V, \& h5 |) l; n0 y
  866. ;+ x; h( {: i* [4 M: {  c7 h0 Y9 ?! Q. b3 A
  867. ; For example, on Windows:
    - i" t& U% u; s4 |- a0 K5 @
  868. ;
    # A" t& p' d! o! f) l) A
  869. ;   extension=msql.dll9 ^$ Q% S/ o$ O2 t. i) u
  870. ;. ^  B9 [5 S+ }. e3 y1 y4 L0 [' k
  871. ; ... or under UNIX:5 ^, X# t8 o1 M; d/ |; Q
  872. ;9 D& C) U- ], K# D0 s5 c
  873. ;   extension=msql.so
    # }$ g' m5 z1 {1 O8 I
  874. ;2 N0 N- i  s. i1 a. `4 k
  875. ; ... or with a path:: S9 e6 ]  l) W% `
  876. ;9 d; P8 r4 Q3 y
  877. ;   extension=/path/to/extension/msql.so
    1 J: S' z  J' g- x; V% g1 k
  878. ;
    ( D7 A. ]& z4 |
  879. ; If you only provide the name of the extension, PHP will look for it in its
    9 N. j* z+ `' ^- r7 V' N
  880. ; default extension directory./ b3 M. M# y, V# Q5 K% V1 P" K
  881. ;
    . b) i, O# e! B& e9 X- ~, ]2 M
  882. ; Windows Extensions& x- e. }  F: f/ H5 @3 t5 f% c
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    / T. V0 c' R% c" a' ]
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    % A% W5 E) m  [* z& x2 O
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ( z3 o# Z/ @1 x8 Y1 z4 ?
  886. ; Be sure to appropriately set the extension_dir directive.. r* [- |4 V  G" q6 [
  887. ;( X6 Q9 _  @+ T: A  {2 l9 Q* |
  888. ;extension=php_bz2.dll
    $ q/ V# j+ o* {5 c7 g
  889. ;extension=php_curl.dll
    9 j  ^8 G. q8 Z( c+ g( |' [+ [; T4 x: S
  890. ;extension=php_fileinfo.dll
    $ ~9 \7 ~4 x& w! n2 c' P, [" a
  891. ;extension=php_gd2.dll0 D! S) _" ^3 p, f( P
  892. ;extension=php_gettext.dll
    3 q9 i$ o  t3 i8 H! _, W+ n; P
  893. ;extension=php_gmp.dll
    / j# u9 H+ e4 L5 d
  894. ;extension=php_intl.dll3 D  z" u- C' D
  895. ;extension=php_imap.dll
    ' K$ D; W4 Y. v9 @/ y/ ]4 Q
  896. ;extension=php_interbase.dll
    / Q) I% t3 B: k' p% p; p
  897. ;extension=php_ldap.dll
    8 U6 O% {4 _/ F0 r( {0 b- ^+ Y8 k
  898. ;extension=php_mbstring.dll
    / l2 O3 T8 ], ^+ s, Y* N; Y2 L2 Z  C
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : ?+ O9 u  Z2 A7 k0 w: Y
  900. ;extension=php_mysql.dll, O3 [  X5 ~0 F4 O7 R6 R
  901. ;extension=php_mysqli.dll
    . s3 a: [' @$ ]; a; h6 @
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    . b5 R. x$ a& Z7 q
  903. ;extension=php_openssl.dll' I9 A8 W  U* U: a0 D! i5 @
  904. ;extension=php_pdo_firebird.dll- V% @9 v- l( i2 ~0 M; z
  905. ;extension=php_pdo_mysql.dll
    7 A" F. L! G! Z$ f" g3 {& P
  906. ;extension=php_pdo_oci.dll/ L+ ]' ~* B: V$ {
  907. ;extension=php_pdo_odbc.dll" \% [9 b) I* o$ \2 i. H4 ]
  908. ;extension=php_pdo_pgsql.dll
    + p- N; b9 g+ H+ T
  909. ;extension=php_pdo_sqlite.dll) Z9 j9 j* {2 r8 U
  910. ;extension=php_pgsql.dll: C- u1 e; @; }. s% g% z5 e
  911. ;extension=php_shmop.dll0 d. n$ Q- ^3 t( D/ b. H

  912. , ]/ C" M2 ], O: m& Z# Q+ ~
  913. ; The MIBS data available in the PHP distribution must be installed.
    . D# N- f" ?7 {" F2 X
  914. ; See http://www.php.net/manual/en/snmp.installation.php 2 R9 B  w. R0 \8 E% {" M  f3 ^
  915. ;extension=php_snmp.dll
    9 b! w2 {6 m4 G8 S, z. f
  916. # k& P* U! y7 |" N5 p5 W' G5 D/ }
  917. ;extension=php_soap.dll
    $ f8 _. b) v. T" s8 \" D
  918. ;extension=php_sockets.dll5 ~! y1 \! B. s7 b8 o
  919. ;extension=php_sqlite3.dll
    - B5 ^$ [, c  Y1 o
  920. ;extension=php_sybase_ct.dll
    # Y  |( u. O- f  u2 q9 V
  921. ;extension=php_tidy.dll
    . o4 \5 Z! R$ F. `  p. L
  922. ;extension=php_xmlrpc.dll
    6 p! Q" U) {3 b5 y; H  ~2 U
  923. ;extension=php_xsl.dll
    9 r- [) _* z% U; c) }# C2 J( J
  924. % ?- Z' x- l# }  X" \4 v/ r& k
  925. ;;;;;;;;;;;;;;;;;;;
    # r: P/ ^$ N& }/ r+ g; X
  926. ; Module Settings ;
    0 m, ?3 l+ Y8 W% f- R
  927. ;;;;;;;;;;;;;;;;;;;
    8 }" W4 S1 P# y. B6 `# a
  928. ) W, i* {) ~- n0 s8 ^% X
  929. [CLI Server]  c' R2 t: Q2 W' j
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 b" }  B- o( V5 N* ~; @
  931. cli_server.color = On
    ' M$ N) E4 H8 o' k, `, I' G4 D

  932. / f2 L5 E- i+ t
  933. [Date]1 s( U. Z8 E& R4 ?& U
  934. ; Defines the default timezone used by the date functions0 F  Z* c* O9 r  Q+ j
  935. ; http://php.net/date.timezone, t9 ^/ W! m; c5 o! A
  936. date.timezone = PRC
    7 ?; f5 H7 m( H6 k4 R0 ]) X

  937. 6 L- Y; T5 p9 q& d- M7 ^
  938. ; http://php.net/date.default-latitude
    4 K0 G6 x% c/ ~
  939. ;date.default_latitude = 31.7667
    8 S' h8 }0 ?! q( U$ O0 n

  940. " E# Q# {. v& T; S( u
  941. ; http://php.net/date.default-longitude
    ; n' L" v6 {5 Q. L  L  }
  942. ;date.default_longitude = 35.2333) C. W3 H& r6 Q+ l. }! U0 A/ E

  943. 2 F# M5 G/ M5 E' K; O
  944. ; http://php.net/date.sunrise-zenith9 V: f) ]! O6 I) {" N' d
  945. ;date.sunrise_zenith = 90.583333
    7 x( I/ B1 u, I0 b
  946. , m6 z6 P( v) O$ L8 S. C# J4 @, Z
  947. ; http://php.net/date.sunset-zenith& `' n; [& p: R8 ^3 L
  948. ;date.sunset_zenith = 90.583333
      j0 K9 O( z0 G- v9 B6 \1 m

  949. 5 ~* C/ r+ @6 A0 ]1 [6 T
  950. [filter]
    : y9 T; w: W& [& W* o  L  K2 ^
  951. ; http://php.net/filter.default% x  n# _) G- @4 z4 v, L& g! x
  952. ;filter.default = unsafe_raw
      c$ E% o5 v; {
  953. 9 T) b% ]; ^) @; J1 q. R5 x
  954. ; http://php.net/filter.default-flags* Y( h) M6 Z& o/ Z) W5 N" ]
  955. ;filter.default_flags =, M* N9 K  T! Z' D
  956. * Y# H) C  `' @+ K; p
  957. [iconv]
    / t+ I3 \5 w5 z3 a# [& M7 l
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # a4 M' |" K! c8 Z- Y
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 O2 K! F* l3 @
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    & ]: A( G! ~2 J6 g9 M# {1 k: Q' [
  961. ;iconv.input_encoding =+ P4 H+ e4 ~/ t* r* u  j- h( Y+ ?8 q

  962. " k8 I; O6 W4 E9 _7 f8 I5 C
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! n* o- u5 w5 ?& T: }7 W) s
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . M% `. W! Q2 E6 U. y7 ~9 J( `
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  S' J& D" T1 s
  966. ;iconv.internal_encoding =3 p9 v% z& A- ]/ g- o

  967. 6 ^7 A( q; m) G2 T8 y
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - }/ R2 r) I( t9 A
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * Q# u5 M% n* D2 [: M' l% w( x& ?
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    % ~8 j4 y0 F8 l* d% P  U+ s0 Z
  971. ; To use an output encoding conversion, iconv's output handler must be set
    % D7 Y5 v; |+ |1 U! ^/ z
  972. ; otherwise output encoding conversion cannot be performed.# n, I3 ~6 ]! b2 ?1 T
  973. ;iconv.output_encoding =
    3 W$ |; H5 ^% P0 c
  974. " P& m. {- o1 o: w
  975. [intl]3 C: f$ |# u4 z9 s& t
  976. ;intl.default_locale =% @+ c+ d- j9 [$ w/ f; y% H: j
  977. ; This directive allows you to produce PHP errors when some error* }. h: D5 O4 V! v! C: b9 F8 _0 r# v) N
  978. ; happens within intl functions. The value is the level of the error produced.% a& ?4 e& r" W! U/ s
  979. ; Default is 0, which does not produce any errors.  w& Z: }1 {8 r' L0 Z/ Q
  980. ;intl.error_level = E_WARNING
      l1 q" U3 F$ w. U1 Q
  981. ;intl.use_exceptions = 0
    ( [# V! j6 ?# _: f/ q

  982. ) B* P3 D' T# U& \
  983. [sqlite3]( Q2 v- C# c+ d* {' c1 c
  984. ;sqlite3.extension_dir =
    6 B2 S" x& S, i7 R4 B8 d' Z

  985. * B" M/ f1 E7 |2 B" }
  986. [Pcre]! v9 r) p1 L) n& A) p" x9 Q
  987. ;PCRE library backtracking limit.  h1 S; Z0 Z4 i. n: C+ {
  988. ; http://php.net/pcre.backtrack-limit
    6 u" n: ^. n9 e$ z% g
  989. ;pcre.backtrack_limit=100000% }- f+ F) X0 z( G; H  _

  990. 8 m! F+ X3 W& J# ]/ _3 |9 m  j
  991. ;PCRE library recursion limit.
    " ~, v. t' f! S1 ]
  992. ;Please note that if you set this value to a high number you may consume all
    $ e  B" ]* U& x; S, e
  993. ;the available process stack and eventually crash PHP (due to reaching the* `% X7 f/ _2 J" r8 e* L
  994. ;stack size limit imposed by the Operating System).9 |! d3 _& j9 V4 A% d2 o& |, |
  995. ; http://php.net/pcre.recursion-limit: _9 X+ n8 E3 ]. X7 T( p% M
  996. ;pcre.recursion_limit=100000/ ^: y0 \1 |9 F, }3 K

  997. & s; ]( X3 N7 e; y7 [3 f0 w
  998. [Pdo]
    " P' ?7 D# l- {+ a" S
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # V; g. `# j4 U, |5 `& _
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ; e4 k3 y2 z8 \
  1001. ;pdo_odbc.connection_pooling=strict
    ) t* D# P5 J; l9 W. N
  1002. 6 ?+ {: R' `- {- F
  1003. ;pdo_odbc.db2_instance_name
    - i# m+ m* H9 ~& Q( h4 h

  1004. : e+ [) I1 U( x+ f4 f1 Q
  1005. [Pdo_mysql]
    4 [* j; L& O7 q& N/ i+ M
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . e/ W" _8 w! _% A$ Y- P% ~; D
  1007. ; http://php.net/pdo_mysql.cache_size
    6 P  A& f: W; T* o/ V: `7 Z
  1008. pdo_mysql.cache_size = 2000  J( J, X' M# n! n
  1009. ( R2 I  D1 g- ?9 [1 p" ]
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 T- K+ l' q4 b  L/ m( r5 b5 F
  1011. ; MySQL defaults.
    1 w* A7 H6 c4 h
  1012. ; http://php.net/pdo_mysql.default-socket
    % j- W. ]$ \0 i( N
  1013. pdo_mysql.default_socket=' s; D& M: f; \3 S2 L3 [. t

  1014. " O& L! T1 m% Z  W3 O
  1015. [Phar]+ {: z/ q. j  L: p+ `  Q2 x8 y3 h; p
  1016. ; http://php.net/phar.readonly& O# z+ A& A+ Q) [  w6 A+ P
  1017. ;phar.readonly = On
    ) o% y# Y$ m7 e, G; m" Y
  1018. , `: h! }7 a9 S0 C' j* f* f
  1019. ; http://php.net/phar.require-hash4 S5 @" N' F) W8 A' X
  1020. ;phar.require_hash = On
    " Z. v5 g! U9 B1 R
  1021. , v6 K) @. r* t4 B! r
  1022. ;phar.cache_list =
    . N+ b. H1 A9 }6 c
  1023. / B9 n% o5 x  q! ]( r# d$ j) C
  1024. [mail function]9 x  q7 ~; S5 l" \1 c
  1025. ; For Win32 only.
    & }1 }9 e% w3 D* ?3 V: l- Z
  1026. ; http://php.net/smtp, q( T1 ~: X2 k. H2 |
  1027. SMTP = localhost3 J* `# \5 ^4 Q; O& U
  1028. ; http://php.net/smtp-port
    & F$ a$ O4 J" r4 u9 B" |
  1029. smtp_port = 25
      k& b6 K$ @8 j/ ?6 Y# S9 t# u

  1030. , y5 g/ m) e. p, C+ e
  1031. ; For Win32 only.
    3 `) _3 W1 Q3 e6 Q+ m) b
  1032. ; http://php.net/sendmail-from4 ~% Z* v" i! \$ c0 m
  1033. ;sendmail_from = me@example.com
    7 ]1 f' z2 v) {4 I) p) c5 u
  1034. - o# G) M) m. @0 T# J: v9 S' D
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    $ ~% R9 R% N) A) G$ _
  1036. ; http://php.net/sendmail-path
    " v% f( ]+ P" g! @; Q
  1037. sendmail_path = /usr/sbin/sendmail -t -i' |  n$ L( [2 y' g7 z) R/ H- c
  1038. # q0 Z9 R" h1 m. E# j
  1039. ; Force the addition of the specified parameters to be passed as extra parameters8 B3 O: L# Q8 q2 ]# P
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ; U5 J1 L, y: M6 [9 @
  1041. ; the 5th parameter to mail().
    , W* v2 S2 V- I: j
  1042. ;mail.force_extra_parameters =! X, n$ B! s, o1 d0 W9 T' q
  1043. 3 |  F  c3 M" j. o/ R: h
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename, U2 {: R4 a5 n6 j( Z0 h: O" F
  1045. mail.add_x_header = On
    8 O5 d4 f& a  w: G1 O% c$ g  a
  1046. # u3 z1 [3 U/ B! C, z! o& C. f
  1047. ; The path to a log file that will log all mail() calls. Log entries include9 w1 E: E5 W: `$ E6 `5 z% j
  1048. ; the full path of the script, line number, To address and headers.$ T$ ]4 ^( ?( C5 g  ?
  1049. ;mail.log =
    ! \# Z1 i* ]/ M) t" w
  1050. ; Log mail to syslog (Event Log on Windows).
    0 t/ M3 N5 S7 d5 C0 v! k) q
  1051. ;mail.log = syslog
    ) j8 ^$ A3 U( F9 G! m

  1052. : w7 Z1 ?' W5 o6 k
  1053. [SQL]
    : V% ?% c4 o/ v" @) {+ Y. T( c
  1054. ; http://php.net/sql.safe-mode
    # l% c! V! g7 z! s3 y% f
  1055. sql.safe_mode = Off& F! X, y$ l8 c: N
  1056. " I3 k' ?" q6 y" Y
  1057. [ODBC]
    9 k& a4 U; G1 I
  1058. ; http://php.net/odbc.default-db0 j3 }2 F) i5 P6 ?" {" m- f
  1059. ;odbc.default_db    =  Not yet implemented- f) P! r! k1 k7 \) u8 }+ N
  1060. : k& L# J1 r6 F
  1061. ; http://php.net/odbc.default-user- Z" K$ ~% X' w# }* k1 h
  1062. ;odbc.default_user  =  Not yet implemented$ o5 a% B5 A0 a. h& e# W) e* B5 i4 f

  1063. 4 S8 ^! a5 D& b" f. O. p' e& h
  1064. ; http://php.net/odbc.default-pw
    ' i5 ]3 ?0 U  W/ v  b
  1065. ;odbc.default_pw    =  Not yet implemented8 T1 E3 Y5 Q& ~, c3 m* R. q

  1066. 8 |3 ]; w: B* B7 T
  1067. ; Controls the ODBC cursor model.
    * ?" q- v( f& U$ S5 q
  1068. ; Default: SQL_CURSOR_STATIC (default).
    1 |5 Q6 l2 h; C4 `2 i" |
  1069. ;odbc.default_cursortype4 y# L" q% L% T4 r: l3 W

  1070.   t0 X# U7 _, @) l5 j8 B6 M: P! w
  1071. ; Allow or prevent persistent links.7 u; C. k5 D. n2 {4 Q+ u+ K8 G
  1072. ; http://php.net/odbc.allow-persistent
      O4 C( K  f5 f  V2 W+ B0 r
  1073. odbc.allow_persistent = On
    $ a/ I0 p9 M2 }: L* C3 A
  1074. 8 [$ d) `1 T" `, T
  1075. ; Check that a connection is still valid before reuse.1 k  P+ a4 y2 x  ]9 d
  1076. ; http://php.net/odbc.check-persistent
    % b2 D8 O. d7 ]0 r! M
  1077. odbc.check_persistent = On$ s! ]. ~4 ~$ t9 j5 L! U8 U

  1078. " Y* _6 O( Y- X' m4 `1 [
  1079. ; Maximum number of persistent links.  -1 means no limit.
    " M; f6 Z; _1 e9 u% K0 j
  1080. ; http://php.net/odbc.max-persistent
    5 T5 i5 X# R! W2 q8 \$ I' J
  1081. odbc.max_persistent = -1* y* w2 N* n$ S  V( v! W: O
  1082. ( G$ X, F7 v. x2 G) E
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 D4 C" e- A9 W3 G  X
  1084. ; http://php.net/odbc.max-links
    4 z! v  q% K1 G% m7 @
  1085. odbc.max_links = -10 ^  ]6 l9 ]7 [7 W5 ]' B0 L, w% l
  1086.   s& n& G7 `2 K& x. ?% `9 j
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ) ~3 x; C! P  A  u  O
  1088. ; passthru.( s6 a/ F  \+ y2 L2 h- t
  1089. ; http://php.net/odbc.defaultlrl% a' m. ~9 r* N0 f) H+ U, [- G% z5 n
  1090. odbc.defaultlrl = 40960 s8 g4 S7 e. P6 e1 r
  1091. 6 h6 x6 [, A( n* h: a
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.% X" p; P, k. F( W) U
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, v0 g9 B  w  e0 v' H/ Z6 X
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    # J: O+ [! v- u1 |
  1095. ; http://php.net/odbc.defaultbinmode
    - `7 q8 s) U7 ]# H. w
  1096. odbc.defaultbinmode = 1
    $ R: u* A4 Z* ~6 a: W. v

  1097. 7 R0 z6 K% k0 W) ~! T  a: \5 Q
  1098. ;birdstep.max_links = -1' G9 n0 i- [1 ]* I. }& ?$ H
  1099. 8 @3 J. F' O" g6 }8 }$ S  X* P
  1100. [Interbase]
    5 s9 E- v, i, s  M1 h* N
  1101. ; Allow or prevent persistent links.3 N3 P" m' ~3 i1 d2 p- A. A, n
  1102. ibase.allow_persistent = 1' |$ c. y. K- d- M" \
  1103. . U* k3 J8 O0 P
  1104. ; Maximum number of persistent links.  -1 means no limit.2 \5 A/ ^! X* \$ f) _
  1105. ibase.max_persistent = -1' m' G& S, i0 _/ p: q

  1106. ! b! x, e) J& e
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( ~* Y- X# J8 Q) ~) u5 A
  1108. ibase.max_links = -1
    ) w4 A# l# m1 p/ B

  1109. 8 g! r. l, X9 \1 f. y% f/ C
  1110. ; Default database name for ibase_connect().8 e/ n2 @3 Z4 ?" {  x- }
  1111. ;ibase.default_db =
    6 F1 @. k/ H4 q  ~# X3 K

  1112. # t8 \  A( n, l" R3 a; ?0 q* C
  1113. ; Default username for ibase_connect().$ {4 q7 q/ ?+ W- _
  1114. ;ibase.default_user =0 e- e& B' H4 j

  1115. 6 e& [. C, ?* {# y' Z) S
  1116. ; Default password for ibase_connect().% ~8 m7 P; C8 `7 U2 O8 o6 d
  1117. ;ibase.default_password =
    0 r& E, m% `! ?8 k

  1118. - v- }/ `! }& }7 Q* ?" K
  1119. ; Default charset for ibase_connect().
    & E7 |% K0 b9 D( N* F
  1120. ;ibase.default_charset =
    8 f1 j: I( f' _, {: P
  1121. " C: I2 I* t! p: X* E3 f
  1122. ; Default timestamp format.8 R# [2 x" X3 V( n
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! y7 r2 Q% G! j
  1124. " }7 Q; @6 X" U( G, [, u- k4 M
  1125. ; Default date format.9 U! X% F" Y) n1 l
  1126. ibase.dateformat = "%Y-%m-%d"" D/ g- m2 ^" Y; N6 Q! ~
  1127. 4 U: J, D/ _/ |" q, ~
  1128. ; Default time format.- [2 N% r" P4 p0 x$ l
  1129. ibase.timeformat = "%H:%M:%S"
    ! w, {. E- K$ b" }
  1130. / d" b/ y6 H  u1 u7 Q' N+ W
  1131. [MySQL]* O! `% D/ p0 V5 I
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( l7 x4 {  S+ d9 N$ d! }+ R0 X: k5 d
  1133. ; http://php.net/mysql.allow_local_infile$ j- Y5 V2 i  _( j7 E2 J( K
  1134. mysql.allow_local_infile = On
    ) k: R' f3 x6 n4 V: S7 ^  k

  1135. 0 c9 _7 A/ ~0 F  b9 W
  1136. ; Allow or prevent persistent links.
    0 n* p3 Y# ?8 u8 Y
  1137. ; http://php.net/mysql.allow-persistent
    1 N: @* a/ ?5 ^8 ~" x3 y- D
  1138. mysql.allow_persistent = On$ Y0 {# _  j" [

  1139. ) j, m" |/ _2 H' M$ z' L8 w2 f/ l. V
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 D* k+ t9 Q/ y" @3 l2 i' a
  1141. ; http://php.net/mysql.cache_size
    + K7 W# b$ t. n' g2 \
  1142. mysql.cache_size = 2000
    1 c! u  c2 o' c+ A( b/ w0 a- J

  1143. $ \! q( D) P/ _$ Y, ^- Z
  1144. ; Maximum number of persistent links.  -1 means no limit.( p  [5 d" Q0 c4 M. }+ P9 D+ R
  1145. ; http://php.net/mysql.max-persistent
    4 x* p9 p: ?7 y$ ^/ k7 k! [
  1146. mysql.max_persistent = -12 k8 |. ]* Z' Z( N
  1147. , H- ?1 V7 ~. Y! D) k9 \
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 w) t+ |9 E/ j' N# |5 p. [% J+ n. Y
  1149. ; http://php.net/mysql.max-links% T: M- b. J6 U  G
  1150. mysql.max_links = -1& M2 x& R+ \) _$ O

  1151. . U! H/ E+ f; P8 O2 o
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use* q" C5 R9 A  D) F7 A; {% N/ a
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 [+ S( r: Q* x/ P" s
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + O# b" t2 F' o4 t. D) h1 M
  1155. ; at MYSQL_PORT.8 I' Z& R2 v2 a% W& a. h+ L
  1156. ; http://php.net/mysql.default-port
    ' Y3 Z8 W4 m0 U$ q- @: A
  1157. mysql.default_port =
    , X, L7 }% i# b
  1158. 5 X  n" h% T9 Z- L' |: @
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 C7 |% q$ m. c  H& J
  1160. ; MySQL defaults.
    ( X  X% v) s. |3 t  b, B4 R- t
  1161. ; http://php.net/mysql.default-socket6 V5 ^8 _6 e7 x8 j
  1162. mysql.default_socket =
      d. y" f) I( A1 e+ M% z& p4 S
  1163. 7 i  z" N/ t2 c1 `: T7 X
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).  Q* }) O% \& Q4 V* L, ?
  1165. ; http://php.net/mysql.default-host" G( g/ w' o6 J; e8 i" t7 H
  1166. mysql.default_host =! c6 d1 Q8 m( {; B1 T( ^0 A% g! v
  1167. 0 K' D; K& e( ^4 c
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 o( R$ G3 s: t: V
  1169. ; http://php.net/mysql.default-user1 L6 c0 p; S0 U! R: C4 {
  1170. mysql.default_user =6 c7 _5 [6 R2 G/ K
  1171. 6 \( v# K9 N  k2 K3 l
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).& K1 i' s' `$ q7 \0 G
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.( M! k! r4 O* w8 D& v; U2 u
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    6 A# a% E" j" w9 N6 ^, y" p
  1175. ; and reveal this password!  And of course, any users with read access to this. @2 m5 ~+ Y$ e
  1176. ; file will be able to reveal the password as well.! W2 m; J) L. i% X/ s9 q' W
  1177. ; http://php.net/mysql.default-password% W4 D- K) B5 a- N4 F2 ^6 l& E6 |
  1178. mysql.default_password =
    8 {* A4 j9 m8 I, N7 M  N' O6 _
  1179. 7 n% y& L% e% a+ i1 H4 v
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    . x3 d9 f/ r/ r- @
  1181. ; http://php.net/mysql.connect-timeout" a* U" u3 G, H7 d
  1182. mysql.connect_timeout = 60. D! J% ~$ D& j1 X" x. ]

  1183. ) e9 C& Y4 E. n7 x. b+ z
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ x1 j7 p3 y. n- h1 E3 f
  1185. ; SQL-Errors will be displayed.2 V) T& E5 A$ P0 F" H0 h5 }3 N
  1186. ; http://php.net/mysql.trace-mode
    ( O7 |# Y+ ?/ }/ P3 c
  1187. mysql.trace_mode = Off; `! }1 r' `1 c; D* Y4 [4 R) u
  1188. 2 \. J9 i4 j& ?; u
  1189. [MySQLi]
    $ U7 Y" |' J7 m' x, Q$ _% ?# X

  1190. + p- N5 j, M6 C/ [% K8 v4 C
  1191. ; Maximum number of persistent links.  -1 means no limit.
    % f' a, G7 X' G# S) K* j8 {
  1192. ; http://php.net/mysqli.max-persistent
    9 U. u, a5 f; W5 j% D6 _
  1193. mysqli.max_persistent = -1/ h6 R/ d& ?4 ^7 D7 T' Y

  1194. * ^1 ^& S4 S' w" V6 l
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 U! s( e) B( e1 L
  1196. ; http://php.net/mysqli.allow_local_infile
    / v" x5 Q$ ^: j
  1197. ;mysqli.allow_local_infile = On( u0 T) b0 r& W

  1198. : Q: h: y0 f( s) A1 W
  1199. ; Allow or prevent persistent links.
    3 {6 ?  }3 @) M' }$ M
  1200. ; http://php.net/mysqli.allow-persistent
      ?) w. U( C* v( l, ]
  1201. mysqli.allow_persistent = On- p& V# ?) A3 O, @% @
  1202. 9 b( l  {6 T* o5 a6 `
  1203. ; Maximum number of links.  -1 means no limit.
    + T8 c: Y+ d6 }3 z6 l6 j
  1204. ; http://php.net/mysqli.max-links8 J* [2 @0 O0 L# t* x9 u! M2 n
  1205. mysqli.max_links = -1; ~  q% ^" q  W( E4 I
  1206. 5 C4 l: I. H9 d/ r
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache- U7 d; }' _! |( U; J
  1208. ; http://php.net/mysqli.cache_size
    + T. E! j/ {  s  }; W
  1209. mysqli.cache_size = 2000
    * Q- I; o: s9 D! ^
  1210. 6 O1 S; `' K% Z
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use1 g: f) K7 \& Z, R- i0 {( F, N! d
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    , @) n; }  ]( q. J: F
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( a( W  e$ w  k
  1214. ; at MYSQL_PORT., l  n0 c1 z' Z3 Y, S. }( D+ t
  1215. ; http://php.net/mysqli.default-port0 f: Q) S+ p. N
  1216. mysqli.default_port = 33066 A& ^+ X) i7 F2 t$ q9 M( ?

  1217.   k, f0 T6 Z. v, S
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # x$ m4 e  H: V& m$ q8 B4 c
  1219. ; MySQL defaults.! Q. u  \8 t2 K+ i2 I
  1220. ; http://php.net/mysqli.default-socket  e7 s1 q& x. j% v5 Z
  1221. mysqli.default_socket =* {: i: u% l% u

  1222.   [- Y3 D7 F+ }4 T* L: z! i8 H) \
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).! }3 J; T% L$ O# o- F0 l7 C
  1224. ; http://php.net/mysqli.default-host
    1 _' {# u: h( r( z  D
  1225. mysqli.default_host =' O- ?) i- b, d5 f- S
  1226. : v/ E# P3 j; l# h6 X
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    + a. ?2 {0 ?+ N; A1 E/ m; ~
  1228. ; http://php.net/mysqli.default-user6 r& e  e( N: I" _9 n; G+ k/ s
  1229. mysqli.default_user =0 O! t8 i- O0 N8 Q5 }1 s

  1230. 3 o# h' a* b2 \( P4 S! n
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    # \, k- y: w4 T" b( N( Q% U
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 l5 c' N9 ^7 }/ t8 ], T
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 a  e* C( @- c0 P; n
  1234. ; and reveal this password!  And of course, any users with read access to this% `0 q. d! ^: i  C5 `6 _
  1235. ; file will be able to reveal the password as well.: _6 H6 p$ N/ @/ I3 f
  1236. ; http://php.net/mysqli.default-pw$ ]$ f8 D: l: j" d2 |, r
  1237. mysqli.default_pw =
    # s7 t* m+ @3 l+ l

  1238. ( O  G8 Y: K' t. A$ G4 Z
  1239. ; Allow or prevent reconnect
    3 e% ?& Q; `, c
  1240. mysqli.reconnect = Off
    4 }  Q7 Z+ I5 H3 M; j) Y
  1241. ! |: Z0 B$ ]9 g2 T5 `
  1242. [mysqlnd]
    1 i% B/ O; x, l1 \; B
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be1 _" w% o( q+ w7 r' k& U5 o1 h
  1244. ; used to tune and monitor MySQL operations.
    2 h$ B# p: s# N3 E* p
  1245. ; http://php.net/mysqlnd.collect_statistics3 V4 S8 N2 T* a; ]6 d
  1246. mysqlnd.collect_statistics = On
    ) Q. ~- k) {" A0 t  y

  1247. 7 E8 R2 y  [6 b; {' r" V& h/ J0 ?
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    1 o- D& D1 ~6 F3 |: T
  1249. ; used to tune and monitor MySQL operations.+ H, r* Y( R: Q
  1250. ; http://php.net/mysqlnd.collect_memory_statistics* m) a' `  t- W3 O
  1251. mysqlnd.collect_memory_statistics = Off
    : `" y0 m1 \, C3 ?! ~$ N# Y& F

  1252. " R2 b( T0 ?8 A, _0 K# Y& a
  1253. ; Records communication from all extensions using mysqlnd to the specified log( z! B+ S! N& w9 \, \, B' [
  1254. ; file.
    ' |9 ^' g; @+ B6 O" o0 Y! i
  1255. ; http://php.net/mysqlnd.debug% g: n, U; n5 N  U: q; U7 Z
  1256. ;mysqlnd.debug =
    % r+ S( E, n0 J5 ]) }
  1257. 4 a0 P$ C! s) ~( o* Q" ?4 u
  1258. ; Defines which queries will be logged.
    6 j" k) h4 e$ S( s9 C( @
  1259. ; http://php.net/mysqlnd.log_mask# d# K3 d$ A" S8 f. q& t, j
  1260. ;mysqlnd.log_mask = 08 D+ L* z5 m9 l
  1261. 9 i- Q3 G5 z- g! u
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
      i( \% A% q4 c
  1263. ; http://php.net/mysqlnd.mempool_default_size( [. f* I) y# m2 P( d- u( j
  1264. ;mysqlnd.mempool_default_size = 16000/ g# d# U) I! q  |
  1265. . J, h: r9 G# a
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.( t2 P6 K) e9 N  R  r" z' R+ h
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size: W9 y3 t$ ?" w% z+ J, M
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    3 M3 R+ f$ e: f  e& F; ?: Z
  1269. 4 G7 W0 ?( ?2 z) m6 v* O
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    # x3 ^6 ~( s: J% R
  1271. ; bytes.: A2 r8 K9 |5 J
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    0 o/ h9 g1 p) T5 U- C3 ^& p
  1273. ;mysqlnd.net_read_buffer_size = 32768
    2 q) @4 ^' v+ i  q
  1274. 1 S. A. [( a8 u) I/ F
  1275. ; Timeout for network requests in seconds./ `+ d) E7 i0 s, g) M# Z
  1276. ; http://php.net/mysqlnd.net_read_timeout
    % v- A/ `, |0 U6 u5 x( v2 H
  1277. ;mysqlnd.net_read_timeout = 31536000: A5 a. ?3 q; @8 M+ P

  1278. 0 S( g; }( |' I( l% [
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ) f) L8 R/ C+ _" x0 i
  1280. ; key.
    0 b. o. J  Y7 w) _) z8 R" _1 x
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    $ B5 x1 T$ b7 n, F* m: f2 b
  1282. ;mysqlnd.sha256_server_public_key =
    # {- c4 |( u2 Z! _/ w- H( Z4 @

  1283. 5 j8 E3 d: b* l$ ~+ d& r$ `4 K
  1284. [OCI8]
    - P+ I2 C& |/ z& Q) t4 P
  1285. ) c8 ]: `8 j, @
  1286. ; Connection: Enables privileged connections using external
    % W2 u+ S! ~5 x, l5 J' _8 \
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)7 F- B# F5 t( U1 F' i
  1288. ; http://php.net/oci8.privileged-connect9 {5 F$ c3 z7 E+ ^% h
  1289. ;oci8.privileged_connect = Off
    , Y- N$ {& o0 Q  L6 w6 q
  1290. 7 Y4 k# T# V. e- ^& x( w7 X2 y
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    1 X. Y$ j  S( u1 g* D0 a; ~( L
  1292. ; process. Using -1 means no limit.9 X) A: M& U, h) ^- O1 b
  1293. ; http://php.net/oci8.max-persistent
    ; Y+ m) M5 V0 Y% I: m# @" T* m
  1294. ;oci8.max_persistent = -1  H9 t' _+ F& B/ z# j+ [

  1295. 6 a( e/ ~6 l: }3 ?9 J: t
  1296. ; Connection: The maximum number of seconds a process is allowed to4 \& R1 }+ h0 `# m5 ]
  1297. ; maintain an idle persistent connection. Using -1 means idle7 ~; j5 O3 y  o
  1298. ; persistent connections will be maintained forever.
    ; ]9 M) s* Y1 M6 {9 n0 O% \  {  m/ z! D! W
  1299. ; http://php.net/oci8.persistent-timeout3 V/ Z& f, i6 P5 H3 N3 k& t7 ~6 I( ?
  1300. ;oci8.persistent_timeout = -17 }# o- R! Y4 n3 x
  1301. 5 m6 B9 ^: s1 g1 ]% j
  1302. ; Connection: The number of seconds that must pass before issuing a! U- A) c5 Y! X+ |
  1303. ; ping during oci_pconnect() to check the connection validity. When$ c% L' ?( \* f8 X' M6 P* v7 J6 G- Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables* y- h# Y) j" J# P. E$ K
  1305. ; pings completely.' o- N" o  _' M' a: v8 x5 u
  1306. ; http://php.net/oci8.ping-interval
    ( H0 f- l- i4 E
  1307. ;oci8.ping_interval = 606 q8 q% p9 `$ q/ ^& F- v5 u8 i) C

  1308. 5 A: X$ G$ l1 w( ?
  1309. ; Connection: Set this to a user chosen connection class to be used8 K$ _% H& J# {5 z) q; |
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    6 ~+ V$ S2 Z1 }2 B
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 \. m) M( e2 Y  N
  1312. ; the same string for all web servers running the same application,
    + R+ y. e5 J$ r7 U$ v
  1313. ; the database pool must be configured, and the connection string must3 V! x- V" Y9 E( i8 h
  1314. ; specify to use a pooled server.: j! S7 D' H1 h3 P" R- C5 @2 {
  1315. ;oci8.connection_class =1 O' I5 Y# Z( x4 r5 p" z# k1 w' a$ S

  1316. * J9 m0 w% \( b( g+ G% n# j
  1317. ; High Availability: Using On lets PHP receive Fast Application$ X1 Z  g3 ]6 _/ H* n
  1318. ; Notification (FAN) events generated when a database node fails. The
    9 P+ e# r( j  I! ^6 ?2 c. k4 p
  1319. ; database must also be configured to post FAN events.( @! F  W9 d& u  k, O
  1320. ;oci8.events = Off# \: k6 S2 z. W# s* B/ `+ f1 x, C

  1321. $ B+ a0 a# K1 I) b$ P
  1322. ; Tuning: This option enables statement caching, and specifies how
    , u- L' W0 w0 C, C4 ?  w# o% ?. ~( X
  1323. ; many statements to cache. Using 0 disables statement caching.
    : A' j9 D' T8 L7 I) {  q& t
  1324. ; http://php.net/oci8.statement-cache-size
    ' x( W# ?) {+ Q* v' _: q% S
  1325. ;oci8.statement_cache_size = 20% r; D- c( [) M& b+ o1 ?. y( Q

  1326. ! i$ h+ y5 Z' c# I# ~# I
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    " x2 g! q5 f$ N
  1328. ; rows that will be fetched automatically after statement execution./ I! V9 @8 `' t. m; n' z6 R: C
  1329. ; http://php.net/oci8.default-prefetch
    : I' \5 F; V1 T! g
  1330. ;oci8.default_prefetch = 100
    # N4 D6 o9 ]3 m- i# [8 i' q; u

  1331. , w( F  \* ~' x) g0 s" Z4 L  l3 G
  1332. ; Compatibility. Using On means oci_close() will not close5 x* h" C4 w  w
  1333. ; oci_connect() and oci_new_connect() connections.1 z2 R8 ^, I/ E" Y. |- M3 l! g
  1334. ; http://php.net/oci8.old-oci-close-semantics9 p* l7 z4 }0 a2 A5 Q1 R1 C5 d( K
  1335. ;oci8.old_oci_close_semantics = Off2 u( C$ V. M! t% ~" Y. ~4 Q6 N3 t
  1336. 0 B. S% y1 M5 E1 X, b3 V5 L
  1337. [PostgreSQL]
    9 R7 V6 I( _5 L5 p# ^7 h
  1338. ; Allow or prevent persistent links.
    7 e# g7 ?! m1 B) k
  1339. ; http://php.net/pgsql.allow-persistent5 s; X; b& P. j: H9 U: }8 ]0 Z/ P
  1340. pgsql.allow_persistent = On
      u2 N" h; X! i5 n4 |3 a

  1341. 9 g6 R  u  X2 V9 s% D0 ~  f
  1342. ; Detect broken persistent links always with pg_pconnect().. Q) d& Q- d( X+ A6 R9 n
  1343. ; Auto reset feature requires a little overheads.
    - l+ M" y( F/ e% j. [
  1344. ; http://php.net/pgsql.auto-reset-persistent/ z" C8 p" R4 A2 y) p( K+ c8 P. [
  1345. pgsql.auto_reset_persistent = Off
    5 y+ M# g' e- x% l" B
  1346. " f' z7 |) o8 |. x
  1347. ; Maximum number of persistent links.  -1 means no limit.# W! ~1 S. z3 u; M* |
  1348. ; http://php.net/pgsql.max-persistent
    + |3 K1 U3 u5 C% h
  1349. pgsql.max_persistent = -1
    , h/ |% ^! a7 Y/ t" u* o
  1350. ; b# t6 R0 w# [+ m: y, X; ]
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit." v( W8 F- R' L* n# h
  1352. ; http://php.net/pgsql.max-links% y0 h6 ~% o  Z; i6 y, x
  1353. pgsql.max_links = -1
    8 V/ }  \! |- l) Q  a1 F' L
  1354. & B$ U5 p' _3 ~. K
  1355. ; Ignore PostgreSQL backends Notice message or not., p/ o7 k  l9 x7 @  J' P- h
  1356. ; Notice message logging require a little overheads.9 H; h* b2 T* u* {- p
  1357. ; http://php.net/pgsql.ignore-notice
    ( e/ E, c- d1 R, k& F! m
  1358. pgsql.ignore_notice = 0
    ' o' G9 v6 R6 E3 w4 K

  1359. ! K9 c) G9 K2 G7 L# J2 @: B
  1360. ; Log PostgreSQL backends Notice message or not.) ]  f+ I( `3 h% e  X/ q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# q5 V3 a% P& u2 Q) b3 e
  1362. ; http://php.net/pgsql.log-notice
    : c+ u3 f8 {7 X
  1363. pgsql.log_notice = 0
    2 h' }4 J/ H$ l8 b4 Z
  1364. , h/ p* }6 B$ t% a
  1365. [Sybase-CT]7 h4 w3 b/ v+ @# g5 M# c
  1366. ; Allow or prevent persistent links.9 \. ~# Y) T2 |% o2 Z
  1367. ; http://php.net/sybct.allow-persistent" C" E3 J2 k- C+ @7 ?
  1368. sybct.allow_persistent = On
    + x: x8 Z' R. p8 }% [6 |$ b
  1369. ; L" C: C' k9 D8 Y; I  ], Q
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ' y9 @9 @+ e  N- T4 {9 m
  1371. ; http://php.net/sybct.max-persistent
    0 {3 t! t. \: ~7 G4 H/ O6 u9 G- F
  1372. sybct.max_persistent = -1% `4 J3 n! J9 x+ |& M% ~$ Z

  1373. . j; L/ o5 V6 q2 N7 x5 M$ m
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! ]# C& E# t( [* G- m. a( {
  1375. ; http://php.net/sybct.max-links2 x% y" X7 E. C  y$ ?8 w% A
  1376. sybct.max_links = -1/ W. }4 @8 L* y/ O) ?9 H

  1377. 6 @: u+ [+ A* s
  1378. ; Minimum server message severity to display.5 I7 T( d7 {) }4 C  K7 J3 d& T% u/ \
  1379. ; http://php.net/sybct.min-server-severity  G, S2 p% i4 h/ @, I( m
  1380. sybct.min_server_severity = 101 v4 I0 T3 C( d& N2 U1 `/ X
  1381. ) n& q: Y6 z1 S1 o# j& ^
  1382. ; Minimum client message severity to display.1 r6 A# a+ f+ n# a* D% E# m& l
  1383. ; http://php.net/sybct.min-client-severity: p' ^; O6 P+ O: @
  1384. sybct.min_client_severity = 10. @; \/ I/ J: D/ v- Y4 \

  1385. - f: [" j" W4 \9 z
  1386. ; Set per-context timeout
    / T& T. J$ ~6 b( P* h
  1387. ; http://php.net/sybct.timeout
    8 C; K: A' x; `, W: I
  1388. ;sybct.timeout=/ r" I6 i- |+ `" a; c

  1389. . i% ^& H  i3 b4 }. u
  1390. ;sybct.packet_size
    % y0 j+ t- f$ ^9 n5 G9 @
  1391. 1 }0 v' d; B+ A( \. ~/ I6 G
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    * G! J: i( K2 U
  1393. ; Default: one minute
    ! n8 Y/ Y( a( S4 S* Z
  1394. ;sybct.login_timeout=6 ]8 e, l8 Y* r
  1395. 4 l; g8 Z  z' y2 s. F& g: N# m
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    5 D* {; C6 G, ?9 Z# p
  1397. ; Default: none
    ; i+ O5 n3 z* E3 g' T6 }7 ~
  1398. ;sybct.hostname=7 u, ~& C  r( L- L: ~, \

  1399. ( ?$ Z/ r' P* I  l* ?
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    - U; Y& {7 b; d' w% O
  1401. ; Default: 0
    0 Q9 g& n3 b" o1 T: d5 H( K- K# d
  1402. ;sybct.deadlock_retry_count=9 O1 K  B. C4 Z6 W" `) D
  1403. 6 \8 m- [8 X1 D6 }% P4 K$ X. q' L
  1404. [bcmath]* Z! G( V  {2 Q
  1405. ; Number of decimal digits for all bcmath functions.
    ; i7 S1 ]+ [2 A$ v5 f9 K
  1406. ; http://php.net/bcmath.scale
    3 _& C6 Q1 U3 G
  1407. bcmath.scale = 0
    ! D. Y- N3 D2 H; l" @0 q4 a$ w

  1408. " `5 H7 g+ F2 d
  1409. [browscap]
    % ~7 I1 _) s1 v* a* ~5 o
  1410. ; http://php.net/browscap2 O  [5 Z) P4 j
  1411. ;browscap = extra/browscap.ini* P) h5 `) z; d1 p* m% P; R

  1412. " U; G$ Q6 s! e- e& S" M: Y
  1413. [Session]+ x: \+ n* R1 X6 ]2 b( F! }9 N
  1414. ; Handler used to store/retrieve data.
    ! C5 |# b8 Y1 n9 r
  1415. ; http://php.net/session.save-handler
    9 J4 u+ {5 u! W  _. b
  1416. session.save_handler = files
    4 p2 Z% A4 y' J  c0 V

  1417. 8 P3 t. j* H" M# F) M& T
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    3 S2 d. z2 C6 U, J
  1419. ; where data files are stored. Note: Windows users have to change this3 K% W+ J+ }: j7 d3 A
  1420. ; variable in order to use PHP's session functions.
    : R3 F$ y) X: w% E6 U8 e3 o) y& [& q
  1421. ;9 t8 u* Z( B. Z. m
  1422. ; The path can be defined as:
    2 }9 z4 ?, V; x* \2 a3 m) J
  1423. ;: C) A, j0 D* `6 U* \3 U! V
  1424. ;     session.save_path = "N;/path"
    6 R5 l% I( [. W; L8 s
  1425. ;
    1 z. z8 p# [6 \# o) p
  1426. ; where N is an integer.  Instead of storing all the session files in/ x- c! O0 e3 n% t/ ]
  1427. ; /path, what this will do is use subdirectories N-levels deep, and7 y* Y) C; \% x7 P( |% X! G
  1428. ; store the session data in those directories.  This is useful if$ l2 Z: ^+ C5 n1 f: ^; X
  1429. ; your OS has problems with many files in one directory, and is& D/ ~" s' J) @: f
  1430. ; a more efficient layout for servers that handle many sessions.4 i) u3 [/ j! Z$ E1 D
  1431. ;
    " g& t: J* H, L! A: c8 h
  1432. ; NOTE 1: PHP will not create this directory structure automatically.* j$ I  B; c/ Z( f2 M5 m
  1433. ;         You can use the script in the ext/session dir for that purpose.
    / Y& G# I0 }, p, Q+ X
  1434. ; NOTE 2: See the section on garbage collection below if you choose to& h. w  h, p/ r0 ]+ g9 V1 H6 u& ?
  1435. ;         use subdirectories for session storage
    / H/ ~+ @: W& d0 d" t5 `  Y
  1436. ;
    , p8 U1 B) B$ @9 ?* W3 w; }: h
  1437. ; The file storage module creates files using mode 600 by default.
    ( k6 _8 A& d$ x
  1438. ; You can change that by using3 C0 h4 R' Z  N) f
  1439. ;5 Q! S* R0 t% J- ]1 X0 Q, d
  1440. ;     session.save_path = "N;MODE;/path"
    - N1 t$ |! t% ?) K( x4 Z% p
  1441. ;
    1 |. o6 [$ T" X+ Y% f: S. R
  1442. ; where MODE is the octal representation of the mode. Note that this) H2 B! L8 `; n$ g' i
  1443. ; does not overwrite the process's umask.
    3 Y* d% i) b: ]  V5 U. Y
  1444. ; http://php.net/session.save-path
    $ H0 ^  L3 V0 w; ^
  1445. ;session.save_path = "/tmp"
    1 i1 T9 ^- e- \% g/ f+ N
  1446. $ C/ T9 m' N; j
  1447. ; Whether to use strict session mode.4 [8 u- V. {/ Y7 b! j
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate( W! m3 d7 s3 ?+ D: K  Z
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects: t; T! j3 a, P# q3 q  n1 T5 o
  1450. ; applications from session fixation via session adoption vulnerability. It is
    3 n5 E' r$ x" L2 }2 F6 w& u
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 u! Z  V, e9 W0 m8 y
  1452. ; https://wiki.php.net/rfc/strict_sessions
    , x) ^+ `8 x/ y7 E. X0 o
  1453. session.use_strict_mode = 0/ u: p- Z" Y6 H. D' J$ b; B+ r

  1454. # u1 D+ c( `$ o9 W
  1455. ; Whether to use cookies.
    2 E2 e6 W* O) I) b9 z- l7 n
  1456. ; http://php.net/session.use-cookies; L% |& j0 m3 T: Q
  1457. session.use_cookies = 13 i! u* |8 K& `

  1458. 9 A$ Q1 ]4 ?- s; l" z: ?: B! e
  1459. ; http://php.net/session.cookie-secure
    5 f2 ^" C( C0 `% F  V
  1460. ;session.cookie_secure =
    ! ?4 r- v" [. N/ ^. H; M9 a

  1461. 2 u8 s! \! m$ p
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % B! j$ O1 f; i" H5 v* {1 H
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    3 G6 @- s  j) v
  1464. ; session hijacking when not specifying and managing your own session id. It is
    $ o& V3 j7 f* l* \2 |5 n
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.5 `' d8 W" M) \2 N0 n$ {" F: O
  1466. ; http://php.net/session.use-only-cookies! ^" ~  e5 ]* }
  1467. session.use_only_cookies = 1! e- }, F! l; e, D

  1468. ! Y0 e5 _% V+ [
  1469. ; Name of the session (used as cookie name).
    - w5 a4 A* D6 @6 [
  1470. ; http://php.net/session.name
    1 F+ R( T* M4 V! A+ E/ F8 R6 N& I
  1471. session.name = PHPSESSID/ E% T! q& L1 S8 I/ M4 U$ Y

  1472. + v0 O1 A8 _7 z" ^; ?
  1473. ; Initialize session on request startup.
    4 p( h7 L6 [1 U2 p
  1474. ; http://php.net/session.auto-start; J8 D9 ]7 x9 z; B: f, v
  1475. session.auto_start = 0( m- N' S) M! F5 {  B3 V1 ]% p
  1476. " Q$ q1 n" V2 _& u$ {% s" d/ I8 z* \: ]1 T
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    / U. x; O0 \/ L" ?
  1478. ; http://php.net/session.cookie-lifetime
    % L7 ~2 {& @# h& {  u# f
  1479. session.cookie_lifetime = 0
    " j) s, P2 z1 O

  1480. 7 n8 c5 c% g5 B9 L
  1481. ; The path for which the cookie is valid.8 A6 f& V& P* y4 P# _
  1482. ; http://php.net/session.cookie-path* J2 y* `! F) A  }& s. Y
  1483. session.cookie_path = /7 P9 r/ X+ v6 \3 g8 k5 m" ?/ G

  1484. " {% A/ n+ A9 u
  1485. ; The domain for which the cookie is valid.
    * l7 ?- [% y# m6 f1 v" L
  1486. ; http://php.net/session.cookie-domain
    8 n7 r% ?3 K3 E" M
  1487. session.cookie_domain =, `3 W, Q" n, ]  T" b
  1488. 0 z* j1 a" Z3 [8 ?! Y
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.9 {% ?9 y5 G; o1 j: \& ]4 ~
  1490. ; http://php.net/session.cookie-httponly
    6 H# F6 b: Q1 @
  1491. session.cookie_httponly =
    9 K: V% |( f. ~

  1492. ) q3 Z2 t; k9 r  u1 y
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.- ^; E4 Z# r' n
  1494. ; http://php.net/session.serialize-handler% K! g5 f5 U# m* y, B2 d
  1495. session.serialize_handler = php
    . K( ?& r7 O1 f2 z
  1496. 9 `2 x) V0 L. }/ Z2 r2 \
  1497. ; Defines the probability that the 'garbage collection' process is started
    * r' t# |6 K" U: |
  1498. ; on every session initialization. The probability is calculated by using
    " D. Z* t  ?$ h& g( \. v+ G
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    2 K$ ?6 s) o5 J; v, d
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 17 l, d7 B0 q5 f0 ~/ M/ N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  u. F4 Z. b+ T  X1 H1 @, N* ~" R+ W
  1502. ; the gc will run on any give request.2 Q+ f: o* l7 x
  1503. ; Default Value: 1
    % |; R- t# z- m4 n: p' _) H
  1504. ; Development Value: 1, m1 y4 D( w+ c6 X
  1505. ; Production Value: 1
    5 f  M  n1 ~. i3 _! s- r  J
  1506. ; http://php.net/session.gc-probability, {% g: ~3 o/ G' a# v9 Y
  1507. session.gc_probability = 1" N; Z& ], D) C% Y5 s; M. \% y, J8 c
  1508. $ X" e. i% E6 o  q! w; B
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ' C% [7 _" B, j1 S+ s6 d9 B0 A
  1510. ; session initialization. The probability is calculated by using the following equation:
    ' A% D% J. e: D
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - p  v3 u3 b# T" X" e% K
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1, q0 s& c/ r  ^1 T
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& Y8 o8 ?* S5 p; |8 T- _
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    & p/ ^0 R4 C; s  T; \" u8 o6 R
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( g3 C+ A; Y2 `/ I/ Z  l! `$ ?
  1516. ; this is a more efficient approach.( X" \8 S1 t2 g: `! b- j% z! t8 a
  1517. ; Default Value: 100
    . {1 j& p8 C0 n5 U+ H( @# L
  1518. ; Development Value: 1000
    6 z9 ^# e4 Y! u2 J
  1519. ; Production Value: 1000! c( d3 ]+ k6 k* d5 X
  1520. ; http://php.net/session.gc-divisor
    6 E. u/ ^+ D7 K8 {: g& q
  1521. session.gc_divisor = 1000
    . c, u! Z) @; P+ ~1 Z7 I( D& ?* X
  1522. - ?! N1 d! c' f$ H. q
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ _3 D8 M% q, ]% c, J/ l
  1524. ; cleaned up by the garbage collection process.
    0 F' z6 ~, Q( p( R9 I! H# a
  1525. ; http://php.net/session.gc-maxlifetime: ]! L/ o0 V: [) V9 K7 y: e( e
  1526. session.gc_maxlifetime = 1440# [2 P' j  }1 O" T

  1527. & p( I8 v) B1 u$ c' A
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ! C2 `3 z) v' B. G. Y- t! G
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ( o" y7 f6 h0 D4 P7 [$ T
  1530. ;       happen automatically.  You will need to do your own garbage
    3 v) k  A( ^, d
  1531. ;       collection through a shell script, cron entry, or some other method.
    : S3 z4 F+ R4 I+ V$ b7 d; w) `
  1532. ;       For example, the following script would is the equivalent of6 ~3 c5 I' `, H- p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 p( I( }9 N9 Z5 Y) N
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm1 s2 D+ E1 |" V4 @9 U; f1 `
  1535. 5 q$ t& m' b% h2 @" D
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    6 j. C% g3 [$ J8 y2 x
  1537. ; HTTP_REFERER has to contain this substring for the session to be& T$ n: M7 F, _% Q3 r* i8 R; V5 r8 \
  1538. ; considered as valid.: M/ Y. b2 {9 V8 o! q" i5 B
  1539. ; http://php.net/session.referer-check' r% |6 A1 \% t, B, q' d
  1540. session.referer_check =0 T6 q9 m1 P; x5 V" L" c
  1541. 0 t# z3 L  @  K( [2 ~- Y$ W2 K
  1542. ; How many bytes to read from the file.( B$ c) O+ E: i" [" C' v: a
  1543. ; http://php.net/session.entropy-length
      O% e8 @7 D" ^6 _' F/ f
  1544. ;session.entropy_length = 32. C! p1 h+ X& s- z& u& l
  1545. 5 a! Z. a7 Y( Z; E( c- W) ~
  1546. ; Specified here to create the session id.
    & P# b+ V3 h% ~: U9 [
  1547. ; http://php.net/session.entropy-file
    % ]1 G6 m3 a* C
  1548. ; Defaults to /dev/urandom* @# x$ i8 [( [( y& F! I% w4 j
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom6 H' `( ]! ?$ ^6 R# o# `
  1550. ; If neither are found at compile time, the default is no entropy file.
    ! n0 l2 g( L) |, o5 U
  1551. ; On windows, setting the entropy_length setting will activate the0 e% z. h) V& B5 @. G
  1552. ; Windows random source (using the CryptoAPI)
      v8 z  _% p* l8 C
  1553. ;session.entropy_file = /dev/urandom
    : V  Z. L# [( f6 f* p4 a; B. e

  1554. 2 A" x& `% k( y) u; C; f
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects6 k9 A" B5 [* k0 U: H9 n  j6 _
  1556. ; or leave this empty to avoid sending anti-caching headers.
    * \' ~3 N, l3 _  |
  1557. ; http://php.net/session.cache-limiter
    2 X% Q- M, c# V# o
  1558. session.cache_limiter = nocache
    % j# a9 p$ |1 s8 |7 E+ n
  1559. 2 O/ @" n9 U9 O
  1560. ; Document expires after n minutes.2 T1 n9 i0 d" S# S
  1561. ; http://php.net/session.cache-expire5 O  t8 ^+ j* t; n5 @5 y) p+ s
  1562. session.cache_expire = 1802 R& v( F2 t; N
  1563. - ?% Y7 m- y  t( N2 D0 _
  1564. ; trans sid support is disabled by default.% p3 o" _7 r* i1 m+ c# Q& h' A; n$ c
  1565. ; Use of trans sid may risk your users' security.( ~; c  i$ g$ g
  1566. ; Use this option with caution.6 B, Z: G5 J5 l) l8 G/ W2 i
  1567. ; - User may send URL contains active session ID4 ^* J5 ^9 p. ?) D% X1 }( B' M
  1568. ;   to other person via. email/irc/etc.
    9 w) ~9 i' n8 w6 ^4 c) S5 Z
  1569. ; - URL that contains active session ID may be stored
    4 |) v0 g2 }/ a9 W
  1570. ;   in publicly accessible computer.
    5 c2 a, y3 J; ^
  1571. ; - User may access your site with the same session ID
    ) C* @5 ^7 B& U$ m, c  R
  1572. ;   always using URL stored in browser's history or bookmarks.% l: k+ l" b$ N( J! ^
  1573. ; http://php.net/session.use-trans-sid
    9 A) J6 Z5 `; z; }+ h
  1574. session.use_trans_sid = 02 z1 ^7 x2 u$ X9 A& t! F
  1575. ; o2 |0 L" k. w: _
  1576. ; Select a hash function for use in generating session ids.+ @: n, c0 U8 w9 t
  1577. ; Possible Values
    & V/ P: {+ ~% B  `: C3 i
  1578. ;   0  (MD5 128 bits)7 }, P' E0 l' d, x  t0 R' k
  1579. ;   1  (SHA-1 160 bits)/ S% j1 @1 w* q+ v
  1580. ; This option may also be set to the name of any hash function supported by! ~' f0 f+ _5 S6 K7 @( `! X
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()- c$ X$ s/ T* Z( d
  1582. ; function.  H" b* P: G8 [
  1583. ; http://php.net/session.hash-function
    8 S, Z& K) k( \# @5 U
  1584. session.hash_function = 03 a3 {* h6 s1 C9 T4 `

  1585. 0 N# Y5 A/ k# @% i; Q
  1586. ; Define how many bits are stored in each character when converting
    8 `/ x/ z: V+ R$ p/ U* T
  1587. ; the binary hash data to something readable.2 r# ^" |2 u0 Y9 E- c+ N' b
  1588. ; Possible values:7 o9 b" A, _5 U- ]+ [5 V/ c
  1589. ;   4  (4 bits: 0-9, a-f); J7 n, |7 v2 `4 G  {! X
  1590. ;   5  (5 bits: 0-9, a-v)! J8 {( n) D; ?8 i2 T+ z
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( v1 ?5 g% _( a6 ?4 L4 p7 E0 u
  1592. ; Default Value: 4
    5 P9 z  R, @' O, }) `  y
  1593. ; Development Value: 5, R5 |/ m# j2 _# k8 y$ J
  1594. ; Production Value: 5
    - y/ P8 h+ Z: J, N  n
  1595. ; http://php.net/session.hash-bits-per-character9 F, H; z& F; x/ \0 s4 H1 r5 q
  1596. session.hash_bits_per_character = 5
    9 g1 V( _6 A, r# |9 l8 a7 @
  1597. 4 e; K5 g1 _- F7 T
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( U; s9 \1 X6 k
  1599. ; form/fieldset are special; if you include them here, the rewriter will3 O* ^7 Z  B% z% U2 K% T  ~* s
  1600. ; add a hidden <input> field with the info which is otherwise appended
    , p5 _- N+ ~% `& W/ T" `6 a
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 V! b8 T( N6 L4 f" ~" ]
  1602. ; Note that all valid entries require a "=", even if no value follows.$ K: C* e+ i8 N) R4 z) ^
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=". J4 {5 p' e* K* N
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      X7 z9 s' f& |8 {$ @) E
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 z0 H. U( a5 }$ o$ Y) v
  1606. ; http://php.net/url-rewriter.tags" \/ l9 Y. g+ r$ k4 M3 K6 [
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 t* Z; C. F4 x9 e, f! G9 ^. F1 I

  1608. ) D. k9 ?, ?2 H+ S9 L) W% n
  1609. ; Enable upload progress tracking in $_SESSION" O0 r  u/ S% C, x5 I8 j; E$ P7 c
  1610. ; Default Value: On/ e6 G6 l5 l% T, L" }2 g' X/ o, P
  1611. ; Development Value: On
    ( O8 K: B+ c+ W' X8 n" y  `6 E; ]
  1612. ; Production Value: On: Y! ]; ^6 c6 K5 |( c
  1613. ; http://php.net/session.upload-progress.enabled
    & \& \# U! T! B4 O4 H+ P
  1614. ;session.upload_progress.enabled = On
    . d4 z1 @# a9 a! z3 J' Z
  1615. 3 K8 d3 \# b5 d$ X6 D* {# W
  1616. ; Cleanup the progress information as soon as all POST data has been read) F: q: P3 X# l% p" G; s
  1617. ; (i.e. upload completed)., k6 o! g$ q$ K0 n3 X
  1618. ; Default Value: On+ [' Q, ^# Y6 o" z+ y
  1619. ; Development Value: On( T; g; i$ R& Q" C  ^
  1620. ; Production Value: On
    5 F- k* q$ n1 m- y# T: z
  1621. ; http://php.net/session.upload-progress.cleanup
    ! k4 c8 ~  U! j2 Q8 [" D
  1622. ;session.upload_progress.cleanup = On- R' @' a6 ?5 ~8 _$ y) x# L: U3 L

  1623. " u5 c0 n* M8 N7 c$ ~& G0 ~
  1624. ; A prefix used for the upload progress key in $_SESSION8 o. X2 ^0 A3 h7 P
  1625. ; Default Value: "upload_progress_"; L+ v+ f, A9 s/ w% K
  1626. ; Development Value: "upload_progress_"! h9 B4 g! g5 F- o/ j2 \* Z: t
  1627. ; Production Value: "upload_progress_"8 W5 ^# D+ W9 x# }# U1 d
  1628. ; http://php.net/session.upload-progress.prefix
    5 x! m& `: R5 e3 O! N2 A" H
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ! q# o1 {" Q7 p# g" ]

  1630.   o7 v2 m2 E9 U( p# ?8 p: r
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    % c+ E1 e. z* D' G; y" o4 y
  1632. ; containing the upload progress information; L& A3 ~! y5 `$ `; ?# Q
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"* u$ B( S1 ~2 t. d; u; g
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"7 C0 G6 E7 ?* o) ]: b' `* I
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) N& Q+ d! [! S8 N' ~0 h- Q/ L
  1636. ; http://php.net/session.upload-progress.name8 B$ r# |$ E( s4 |2 b
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& g; ^" a/ R/ h9 W4 ]1 H5 [( |2 ]" b
  1638. 9 U7 j3 v& t/ u1 B2 C  F
  1639. ; How frequently the upload progress should be updated.5 l& q( V6 f* j' T
  1640. ; Given either in percentages (per-file), or in bytes
    ' G$ \1 m5 z/ h+ g* Q6 L% n
  1641. ; Default Value: "1%"
    8 l' {! q% |" B, \$ O6 d7 D6 y
  1642. ; Development Value: "1%"8 Z2 S0 }% z* M9 p
  1643. ; Production Value: "1%"
    : q, _  V) A) i; q" G( p: p
  1644. ; http://php.net/session.upload-progress.freq3 ~. k- q9 [% Z9 l$ |
  1645. ;session.upload_progress.freq =  "1%"
    # X& D6 p7 z) k% [) Y

  1646. ) x$ R0 @, x8 a9 F. H
  1647. ; The minimum delay between updates, in seconds$ o* m# j% f* l$ ]) T8 u
  1648. ; Default Value: 1
    0 ]% J" |2 l' l" @0 }- N% t
  1649. ; Development Value: 1
    6 e$ N+ K, z9 n8 }' f
  1650. ; Production Value: 1$ H& ?% J+ J, p- ~* e' ^" j
  1651. ; http://php.net/session.upload-progress.min-freq
    ' C3 G$ k, I; A% a1 H6 ?
  1652. ;session.upload_progress.min_freq = "1"
    % Z, R9 p- X1 K
  1653. 0 O7 j; l, |  H% q# X) _
  1654. [MSSQL]+ w  X- m0 d7 Z/ }" k' `- K( N
  1655. ; Allow or prevent persistent links.
    9 X  `2 T+ l+ K( s' q' t: b
  1656. mssql.allow_persistent = On0 l8 w# r" B, `+ q

  1657. , T! a) S  r6 v
  1658. ; Maximum number of persistent links.  -1 means no limit.
    & @/ H$ v9 z+ @  S. ?$ X, w
  1659. mssql.max_persistent = -1
      Q; k" d1 c1 E! B6 B7 R
  1660.   y2 s6 d  L% v' F0 |- y; f
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 ^1 h. g+ W# ^# b. H
  1662. mssql.max_links = -19 E, \5 |+ q4 K1 H2 ~! c+ s

  1663. 7 E) c- Z$ C! L. h0 T9 U
  1664. ; Minimum error severity to display.
    % b: T% x  c- r" c1 V$ e- ~
  1665. mssql.min_error_severity = 10+ d2 r& r) h7 A& i3 q( C
  1666. * ^/ u' i- a  E8 o% `4 D
  1667. ; Minimum message severity to display.: A9 o! ~! [, }5 Y6 z
  1668. mssql.min_message_severity = 10* w% m# c+ A. o- l" M3 ]

  1669. + \9 l. B, i- f# B  u& k
  1670. ; Compatibility mode with old versions of PHP 3.0.
    9 X3 A2 ~3 X+ s5 U( n( R
  1671. mssql.compatibility_mode = Off) B& R* E# Z9 s3 s  `9 A+ |$ t: U
  1672. " v% B# _( c  @" |+ F/ p
  1673. ; Connect timeout
    3 V5 m0 c0 y  o! M# G# g
  1674. ;mssql.connect_timeout = 5/ T* n$ N2 h  Z

  1675. . n0 T- Q6 n$ z: W, [% f2 K
  1676. ; Query timeout( |2 N9 H( t, T4 E2 o4 V
  1677. ;mssql.timeout = 60
    7 ?0 U' s$ F+ G* _8 x5 x
  1678. 7 g4 v) u: \& T, `
  1679. ; Valid range 0 - 2147483647.  Default = 4096.# }+ {/ @3 c: B' ^; P
  1680. ;mssql.textlimit = 4096
    : |. N, G1 G8 y/ A
  1681. $ y% g% B- A& b  ^8 F
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ( l" @/ {1 Y! ]# ]. Z
  1683. ;mssql.textsize = 4096
    $ j1 I3 j" G7 b( O

  1684. 6 v. P0 {4 w4 i" ^+ p* a5 L
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.' H# \" d1 C& q9 E9 J4 l
  1686. ;mssql.batchsize = 01 M: d! |# q/ F5 T. o. x3 R) g* c
  1687. % d* ^; o# G6 o
  1688. ; Specify how datetime and datetim4 columns are returned
    , P: h5 f' W4 I; y
  1689. ; On => Returns data converted to SQL server settings
    , q! O; h1 k. Z+ X. t
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. o/ F- |0 i+ A% T! \' q
  1691. ;mssql.datetimeconvert = On5 C! C8 U+ t9 s( ^% P
  1692. 8 B; I, P5 ]& ?
  1693. ; Use NT authentication when connecting to the server1 i& c) g4 F3 p# P: [
  1694. mssql.secure_connection = Off
    ! g- d8 Q/ S: r" S( c

  1695. 3 c+ ]# r3 ~0 W! W3 A; `
  1696. ; Specify max number of processes. -1 = library default
    3 B1 {) _- C# @9 P# B2 ^0 e& A4 e
  1697. ; msdlib defaults to 25
      x7 ~- D$ k0 Y5 h9 y4 `- L
  1698. ; FreeTDS defaults to 4096# m4 B" ?4 S8 Y
  1699. ;mssql.max_procs = -1$ w% z; ?; Q. S+ y
  1700. 7 I1 [6 g" Z# {& r6 G' z% P  f
  1701. ; Specify client character set.1 @& R! }2 E4 [4 _
  1702. ; If empty or not set the client charset from freetds.conf is used
    6 \  L+ @2 ?9 x$ o3 K
  1703. ; This is only used when compiled with FreeTDS* v+ N8 B: \$ d! W9 ~7 I8 \
  1704. ;mssql.charset = "ISO-8859-1"+ s) v: c7 g( J- U

  1705. : Y/ U* F* a+ J' ~& n! U+ y
  1706. [Assertion]
    ( U2 m% p7 @0 v2 I
  1707. ; Assert(expr); active by default.
    " k9 M2 h1 k: f( r/ s
  1708. ; http://php.net/assert.active
    % b. _% _- @5 h' X3 x
  1709. ;assert.active = On
    5 B8 v, f- u$ w
  1710. * R) V2 c% G% a9 T0 m
  1711. ; Issue a PHP warning for each failed assertion.
    ! w: ~* k$ d4 m; e
  1712. ; http://php.net/assert.warning8 B' Y7 C& f& j, b. C# ~
  1713. ;assert.warning = On
    ' X+ I1 {; D0 Y. A) w3 t
  1714. $ j+ ]8 {  ^8 z/ |+ |
  1715. ; Don't bail out by default.
    ' b- ^  h) f# ~9 e7 ?" o( a6 b
  1716. ; http://php.net/assert.bail. m$ D1 S# }4 h+ M$ q
  1717. ;assert.bail = Off+ E. G9 V" P1 d9 P0 d
  1718. 4 j6 q% t) }6 J) l% J% I. v
  1719. ; User-function to be called if an assertion fails.
    / Y. `; f( a- M' A: U
  1720. ; http://php.net/assert.callback
    ; u' Y& q$ B3 J: u! t& B
  1721. ;assert.callback = 0
    : `0 }/ ?3 d' A. H; E# F+ r

  1722.   R, o% H! U& v9 s/ ]2 ^# L
  1723. ; Eval the expression with current error_reporting().  Set to true if you want! P/ i$ _" k- g! \) J- I$ ?
  1724. ; error_reporting(0) around the eval().
    $ Q2 p% ^) p! E$ @
  1725. ; http://php.net/assert.quiet-eval) S. m7 k0 o; |. _) k
  1726. ;assert.quiet_eval = 0! |6 v  m$ Z+ \- J9 _/ D8 O

  1727. $ u% E/ B# _; q  c
  1728. [COM]) H1 O- s, }( z, O  w' F0 x
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    6 M9 I6 a  C% O: m5 M% a! ]  ~
  1730. ; http://php.net/com.typelib-file% q( [' w1 ^- p' ~. ?
  1731. ;com.typelib_file =
    # [  Z, `- s- X1 \. S

  1732. " }0 g- K2 `" d, D& |3 i
  1733. ; allow Distributed-COM calls2 X2 {( }5 ]) F" |" T
  1734. ; http://php.net/com.allow-dcom; a( J5 W0 o6 }
  1735. ;com.allow_dcom = true" C- h% D  s1 j4 q- Y3 L! O7 V: o
  1736. " D; O: u* K2 G& w# G2 n! w
  1737. ; autoregister constants of a components typlib on com_load()
    4 {1 s9 t3 U6 X7 _( P6 z
  1738. ; http://php.net/com.autoregister-typelib
    0 `. \/ D  ?& x, O0 m, t, L; n
  1739. ;com.autoregister_typelib = true6 e6 z9 N* K! t' T/ t3 R7 P1 F
  1740. 0 [3 u5 g, N' W9 @9 z5 G! z# D7 k
  1741. ; register constants casesensitive5 H5 N$ ]8 k  O. A1 M: y
  1742. ; http://php.net/com.autoregister-casesensitive
    9 ?4 n1 ?1 J  N
  1743. ;com.autoregister_casesensitive = false& ?$ {# K( b+ D  m8 `8 b3 _. s
  1744. . @  x& Y$ V# Z" s
  1745. ; show warnings on duplicate constant registrations7 i; k: E/ D1 T
  1746. ; http://php.net/com.autoregister-verbose
    7 w1 R  z5 X2 n3 g; T( @" e3 L. A
  1747. ;com.autoregister_verbose = true
    8 y* ]) k: K5 M& o% I

  1748. 8 [  Y9 x, `5 t* n: F6 R
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    4 {/ U  F1 j+ U* x  g* _& {" V
  1750. ; Default: system ANSI code page0 t  F. v% X8 C- n. Y  z$ m3 ^& ?; w
  1751. ;com.code_page=
    & x  c' K( }8 c5 q" r+ m
  1752. ( C- D* [4 u% J8 X; K
  1753. [mbstring]- U" }' w: V! m8 U: j
  1754. ; language for internal character representation.+ m% a' D5 J/ t. k
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.; a( I; T* j: v% @8 V4 @" @, E
  1756. ; http://php.net/mbstring.language
    ) ^) o; w: t* q9 I% F9 Y$ \5 k
  1757. ;mbstring.language = Japanese. M3 N/ F$ d5 H) i! ~( n/ |& v! V

  1758. 6 b8 }4 S4 Q; G$ z: V# z* D
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * E" }( M( [9 j6 [- p3 K
  1760. ; internal/script encoding.
    9 k6 H+ v: V; i2 c$ a
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ; d' K; |  C, j, _' k. @1 s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. F) b# W. i. F
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 u# t( P& P, v9 t* E5 c9 k' G
  1764. ;mbstring.internal_encoding =' \% A6 S# L6 j9 A3 b

  1765. 9 \! b% u/ C4 \: a
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.7 I/ [8 k( Y+ x3 b/ J& J" v5 S
  1767. ; http input encoding.
    % d% }7 m$ h+ Y8 m
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.% x  P& L8 H# l! \8 _+ F! E8 r
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! l5 O" ~1 G: b& s8 O
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    1 c+ I) ~  c- T$ M- `4 S* O' S4 G% I
  1771. ; http://php.net/mbstring.http-input6 Z: g) P# ^3 u, l3 T
  1772. ;mbstring.http_input =% u1 m! Y) ]+ E0 f+ q

  1773. ( g) A) u$ }  ~0 H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / |- X# H& w! i& m
  1775. ; http output encoding.
    3 M6 r7 g3 Q. Q" }# I# V5 W- [
  1776. ; mb_output_handler must be registered as output buffer to function.. `& v, I4 a" A, ]: N- B2 `
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ! }+ F! f: H- b5 P/ z2 q- r! B
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output& d6 j# i) x3 f4 \+ I: D! z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    + q& P6 H+ j2 f: ]2 r. F9 g" x
  1780. ; otherwise output encoding conversion cannot be performed.$ B# K" f" n; ~7 L  h% V. j% {3 m
  1781. ; http://php.net/mbstring.http-output
    $ Z4 C0 _% Y9 D" z7 u0 |) h+ u
  1782. ;mbstring.http_output =3 p1 Y# k6 G  ~: i) W/ c

  1783. ! X6 h! S( }. I6 E1 f6 ~9 u$ y
  1784. ; enable automatic encoding translation according to
      D. U, z0 t7 l" A
  1785. ; mbstring.internal_encoding setting. Input chars are* t7 f2 O$ u" ~- H+ W# k- x
  1786. ; converted to internal encoding by setting this to On." R6 Q7 x: m  D+ D& Y9 A
  1787. ; Note: Do _not_ use automatic encoding translation for! S6 g3 _8 \6 f! v
  1788. ;       portable libs/applications./ K7 C* [( v  l, X# y5 ?2 r3 u
  1789. ; http://php.net/mbstring.encoding-translation
    1 k/ }1 B/ s$ ~
  1790. ;mbstring.encoding_translation = Off
    7 w- {# c/ _' R. F1 d

  1791. ) {) @% t- b( }+ A1 v7 a
  1792. ; automatic encoding detection order.8 R5 ^8 c9 Z. R9 f* |2 d4 N) }8 O
  1793. ; "auto" detect order is changed according to mbstring.language* ?: I5 w0 d. \2 w# b# D  A
  1794. ; http://php.net/mbstring.detect-order
    * z2 q1 D) O, y% J% G, O
  1795. ;mbstring.detect_order = auto
      x3 c. U/ ~3 l
  1796. $ \  G4 {' c1 z7 K7 r
  1797. ; substitute_character used when character cannot be converted
    0 \# D1 J# X0 k, S0 |
  1798. ; one from another( A0 _9 B  S# `. i# P
  1799. ; http://php.net/mbstring.substitute-character
    6 ]6 `6 x( i0 `
  1800. ;mbstring.substitute_character = none
    . b6 V1 }+ w% {
  1801. ' A2 k; I& |, a3 _# I, `
  1802. ; overload(replace) single byte functions by mbstring functions.$ ]9 J/ V3 R. _$ q; c, X
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    7 q" o" O6 ~, f& j$ p) M* d
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.. D& ^$ u2 ^5 H7 ~, i
  1805. ; For example, 7 for overload everything.
    4 W/ W% l, c" y# A! p
  1806. ; 0: No overload! v5 R' v. z8 ?- c! ^7 [
  1807. ; 1: Overload mail() function1 [+ Y3 Q: F0 D+ z9 L4 Z
  1808. ; 2: Overload str*() functions$ ]& _2 F" ?9 H2 S  l
  1809. ; 4: Overload ereg*() functions
    7 |! r# v7 K# N. j* x3 f) _
  1810. ; http://php.net/mbstring.func-overload, t! [" p4 k8 ~& M* B: A! t* D
  1811. ;mbstring.func_overload = 05 t1 G- F: T9 k  c5 W

  1812. : @# j, v' x* Z
  1813. ; enable strict encoding detection.
    0 |( S( E( _) T! O& t6 h7 V
  1814. ; Default: Off  u+ C2 u3 w+ P5 k
  1815. ;mbstring.strict_detection = On- ?$ r7 e0 ~1 N/ E/ w3 U$ K

  1816. 2 z. Y/ C5 L; Z9 \: A' W) ]
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    9 t; ~6 ]$ O+ D% X4 x
  1818. ; is activated.0 R2 x: g8 ^6 m, q2 L' c; P
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml): G! O7 W3 X0 I* S! |# `
  1820. ;mbstring.http_output_conv_mimetype=
    & S+ I' j* v/ c$ K# b0 j

  1821. : x6 K, Y1 e( ~  t, z
  1822. [gd]
    8 m/ j0 R+ F* I; \* Y( [6 W( Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create8 P7 K+ p5 F' C1 K& }' i$ {
  1824. ; a gd image. The warning will then be displayed as notices
    + @: [) u, b& l3 ]! Z! k
  1825. ; disabled by default; k3 _& J! j" |7 A7 T
  1826. ; http://php.net/gd.jpeg-ignore-warning' P/ Z; |& `# Y: t+ o, \
  1827. ;gd.jpeg_ignore_warning = 0) J1 L0 {9 y2 E  _

  1828. ) }; T& k4 D: [4 ?; z) l
  1829. [exif]
    # y$ `' b7 x/ m: F/ y3 J0 ]; d/ v: @
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ p. x6 ^- s8 R5 V( T
  1831. ; With mbstring support this will automatically be converted into the encoding
    5 F" K) U" f7 B' k' V
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding# L4 K2 o* r' V3 i
  1833. ; is used. For the decode settings you can distinguish between motorola and( d5 `1 _7 ]( U; j. H3 u- N6 t
  1834. ; intel byte order. A decode setting cannot be empty.) ~6 B' y! q+ X$ h
  1835. ; http://php.net/exif.encode-unicode
    / g% C+ z  Q2 x3 i* W, C: D
  1836. ;exif.encode_unicode = ISO-8859-15* n) w' \% N* B  w! p3 I9 L

  1837. * M/ g" a3 a; M7 r( ^& b4 `' s
  1838. ; http://php.net/exif.decode-unicode-motorola' T) ^, b1 |2 G) l$ a4 T
  1839. ;exif.decode_unicode_motorola = UCS-2BE; d6 Z$ m1 G  h( L

  1840. & \% ^6 K4 R' X* d1 [
  1841. ; http://php.net/exif.decode-unicode-intel
    0 z7 ?1 x9 m7 J1 e2 ^
  1842. ;exif.decode_unicode_intel    = UCS-2LE8 {2 I* R" T9 ], c4 p1 d  o6 @

  1843. ) A$ x: `( L$ b7 [" Q# L
  1844. ; http://php.net/exif.encode-jis8 U! |0 i7 C& R7 ]/ j/ n
  1845. ;exif.encode_jis =. s& S# e4 r/ ^% {) A" \+ T, w

  1846. : a& f: I8 j2 K. e% u* [
  1847. ; http://php.net/exif.decode-jis-motorola' p. P$ i2 h0 {" D% e1 L$ `
  1848. ;exif.decode_jis_motorola = JIS
    1 \" i2 i3 h  h
  1849. 5 b1 s; z/ D$ ~$ D
  1850. ; http://php.net/exif.decode-jis-intel
    " C2 Z% U  i/ g( i0 g
  1851. ;exif.decode_jis_intel    = JIS
    8 m+ ]( A0 T! c1 ]" l+ X8 F6 |; v

  1852. - R6 {" Y& B# G
  1853. [Tidy]3 H0 H8 n+ g! G
  1854. ; The path to a default tidy configuration file to use when using tidy
      ^( K7 t# @+ F( G5 N0 }
  1855. ; http://php.net/tidy.default-config
    + O4 }$ P. `8 ?% j% f" ]- U
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg5 t: @4 \7 w3 v3 e) ?
  1857. ( s2 _$ ]3 c" G
  1858. ; Should tidy clean and repair output automatically?
    ' x+ {6 |! R  S% Z; q- B
  1859. ; WARNING: Do not use this option if you are generating non-html content3 W9 d; z, h" i6 X% ?6 a  z$ B1 I1 I  V
  1860. ; such as dynamic images& O% m2 T0 `5 u; [. ^
  1861. ; http://php.net/tidy.clean-output
    8 N. n  K8 ~3 ~3 o
  1862. tidy.clean_output = Off
    5 M3 W: w% a6 L+ h
  1863. # y% F  ~. W0 ]/ M1 a
  1864. [soap]
    ' i" `& n8 Z+ c- Z' q& K& X
  1865. ; Enables or disables WSDL caching feature.$ ?  N7 F% ]; ^) W& ~" \
  1866. ; http://php.net/soap.wsdl-cache-enabled1 H4 w0 ~( ^7 S3 \# s0 n
  1867. soap.wsdl_cache_enabled=15 m- ^: n' [5 Z2 b6 v0 {% v
  1868. * q* s- ?/ H, B
  1869. ; Sets the directory name where SOAP extension will put cache files.
    % ^0 e- N5 Z4 R$ S% c3 Y
  1870. ; http://php.net/soap.wsdl-cache-dir9 R) M- K) a( U. S, j, f1 c
  1871. soap.wsdl_cache_dir="/tmp"
    6 j/ x! Y0 `! m/ D" z

  1872. 7 S8 ]- m' F3 u8 c2 j8 y/ [% `" Z
  1873. ; (time to live) Sets the number of second while cached file will be used$ N! S  H# U) w+ s" V# `. O: P
  1874. ; instead of original one.- U* t" N7 B" v9 _+ O" z
  1875. ; http://php.net/soap.wsdl-cache-ttl  f/ o3 D: B- m; _
  1876. soap.wsdl_cache_ttl=86400
    ( G8 B* @- m1 j- O% }* y

  1877. ' h9 Q, C* I. y1 O* {4 s* G) Y
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): M9 }' }5 E- N5 V/ f& n- C8 ^1 y
  1879. soap.wsdl_cache_limit = 5
    8 u- d4 B$ Y7 o1 H8 S* C+ c

  1880. $ l. @* j8 D# Z
  1881. [sysvshm]
    : S6 T9 A/ L& @# Z1 @
  1882. ; A default size of the shared memory segment1 q6 S- z% ]9 x1 f  C, `/ z, k
  1883. ;sysvshm.init_mem = 10000
    * _) ^3 X/ G3 }9 `
  1884. ! o! T- }6 t9 P% b
  1885. [ldap]
    7 z+ P9 a* ]; x; R6 W* F
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    # d- Q, n5 |$ O3 a, A% I
  1887. ldap.max_links = -13 i% x% D1 x- W$ ~+ s& Z4 v4 H
  1888. 5 B/ R) w& H5 h  `
  1889. [mcrypt]
    , x5 I5 j% G2 b& K; h) u6 ]) B/ h
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 a& R1 K7 J9 L3 J& @( M2 i
  1891. - i" v9 i" E. ?9 s
  1892. ; Directory where to load mcrypt algorithms2 e; |# K8 C! ^- D
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 m0 f! O9 \6 L1 Y( N
  1894. ;mcrypt.algorithms_dir=, O2 m% R. A/ [  P" ~" t8 P6 b2 k) |

  1895. 9 O. G% X: g1 Y9 V5 b% {8 ~- F
  1896. ; Directory where to load mcrypt modes
    ' u) u6 W0 R, u7 @0 Z
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 a# m( n/ \! O  u: e! V+ W
  1898. ;mcrypt.modes_dir=
    , [8 T4 s: m: d% x0 N. D

  1899. , f1 h8 q2 I5 O4 q
  1900. [dba]) ~* I- ^* G% q" `$ }. N
  1901. ;dba.default_handler=
    0 C# n4 h" D1 r" n, T

  1902. + b6 {4 k% T5 D. B
  1903. [opcache]
    . U/ G( }; _4 O5 k! \
  1904. ; Determines if Zend OPCache is enabled, C/ d( F' A* m1 ^2 s0 t- h$ e, F- {
  1905. ;opcache.enable=09 k1 L, q# L/ M9 X" Q' A

  1906. 9 H  M6 j1 \, I5 f  {" {
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP6 [& U6 h  G9 j& ]5 v6 N* K- _
  1908. ;opcache.enable_cli=0
    . _2 ^& q5 h) l% D" @- n! i6 u
  1909. 4 T" J) v! P9 I% X1 H0 ]
  1910. ; The OPcache shared memory storage size.
      D1 c) ?4 K( M1 A
  1911. ;opcache.memory_consumption=64
    1 {& z! L6 y% H# C/ o! q) t2 b. {
  1912. , O# _) G8 W" s: N4 T
  1913. ; The amount of memory for interned strings in Mbytes.! p" s2 q! d: m. q
  1914. ;opcache.interned_strings_buffer=4$ @4 r; z8 d* ?  d( M
  1915. * K9 H: l' f' _
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    # m& A- B) a3 {: A2 U3 |
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; |2 Z& ~1 b# e
  1918. ;opcache.max_accelerated_files=2000
    5 L4 X  i9 ~; E6 y! A$ G; O& b" Z' D

  1919. + T8 L* @4 @* T% x
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    8 C0 [, v, h; u+ j; C& d: p$ G
  1921. ;opcache.max_wasted_percentage=5, h4 z- j" ]( Q+ r0 J3 ?

  1922. 4 M* H3 ^1 ~1 A2 t8 S; Y
  1923. ; When this directive is enabled, the OPcache appends the current working+ {' @* U; ^9 [' F
  1924. ; directory to the script key, thus eliminating possible collisions between  J/ h! x$ h0 ~: Z$ f( B
  1925. ; files with the same name (basename). Disabling the directive improves$ c8 U. n' U$ ~5 B  ~
  1926. ; performance, but may break existing applications.) e  H2 v# M7 x3 M& q
  1927. ;opcache.use_cwd=1
    5 A  H  D6 U! J$ S6 y" d( s
  1928. 6 D  m' l$ F2 e
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ; {" `  Y5 _, C+ x5 e
  1930. ; webserver for changes to the filesystem to take effect.  U0 \0 M8 q. g# V: l
  1931. ;opcache.validate_timestamps=14 P% l7 t" p1 V, I4 _0 ^
  1932. , Y5 X/ j+ b8 b, y" l" |
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 |! L6 N' `) B# Y
  1934. ; memory storage allocation. ("1" means validate once per second, but only1 g" P! b$ ^- E  A/ t( C6 j
  1935. ; once per request. "0" means always validate). e3 h& h5 E# w1 r& \) k
  1936. ;opcache.revalidate_freq=2
    9 g/ Z7 ^3 H2 T1 y: T0 p& ~

  1937. : R, x) L3 I7 d: c* }. g
  1938. ; Enables or disables file search in include_path optimization
    : d0 t8 u! g$ X6 j8 I$ _
  1939. ;opcache.revalidate_path=0! Y( g  V* s7 K6 {$ s( t$ j
  1940. 0 U) p2 I5 M7 T1 h" P6 E
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# N! U8 a, h7 c- q+ U  q) C$ I
  1942. ; size of the optimized code.7 L6 U7 I6 D" D( [% M! k
  1943. ;opcache.save_comments=1
    8 J2 ~" H& x0 \5 q
  1944. 7 B2 s. z; n4 l4 S
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"7 ]* d0 S: s" P2 M  E# w
  1946. ; may be always stored (save_comments=1), but not loaded by applications# W4 H% D# k; B2 k
  1947. ; that don't need them anyway.
    6 u, m( {3 w( l! {
  1948. ;opcache.load_comments=1
    " B! G7 y  x+ t* T4 h6 R  g8 n
  1949. 8 I4 |4 c( @& `" O  M5 j. l
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * a9 p' A0 Z* P0 O2 [! ]6 }2 v
  1951. ;opcache.fast_shutdown=0
    - E3 s+ z7 ^& d2 }
  1952. % ]+ Y3 o: y- p5 C) _
  1953. ; Allow file existence override (file_exists, etc.) performance feature.! B  A, \/ O/ \' V# p/ b- Y
  1954. ;opcache.enable_file_override=0  F; N8 R8 i" G/ |* V* O) a2 L

  1955. / S# D1 Q! I/ m
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache+ x) g% h9 ^7 {; I7 g* e
  1957. ; passes
    9 c  J& N6 v9 C
  1958. ;opcache.optimization_level=0xffffffff6 `3 C6 a' a4 p2 Q

  1959. $ {* `  ^) u4 o9 S0 H" @
  1960. ;opcache.inherited_hack=1  c$ y6 m+ n3 w& b+ V
  1961. ;opcache.dups_fix=0
    , H6 W/ e& I4 h- P- j- K* ]

  1962. " p6 C) G( I( w( u0 q: i: w- ^9 t5 P
  1963. ; The location of the OPcache blacklist file (wildcards allowed)./ r& U$ h+ u/ m; T( B6 L
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    8 X5 L; n" {2 d; S5 O7 \9 S
  1965. ; that should not be accelerated. The file format is to add each filename2 v1 S7 a  j2 @0 h
  1966. ; to a new line. The filename may be a full path or just a file prefix
    + M1 J; a5 b' C
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  P3 |1 t' t, v# z- n5 }4 [3 _6 U
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 x4 F2 y7 H1 B: a; {! \
  1969. ;opcache.blacklist_filename=
    4 L# ~  g$ |. z9 {

  1970. 2 H0 a/ S+ X% k$ p9 G5 n; t" E: B
  1971. ; Allows exclusion of large files from being cached. By default all files
    2 F9 Q" J# ~3 F9 i2 J6 {; M
  1972. ; are cached.+ l1 u% N+ i; g9 p0 x+ E/ f
  1973. ;opcache.max_file_size=0( S" c/ e8 B3 e

  1974. ; a6 B( y# b) _8 B8 s' i/ V0 a
  1975. ; Check the cache checksum each N requests.
    1 c- H5 I7 C8 B8 w1 M
  1976. ; The default value of "0" means that the checks are disabled./ W& m$ {+ H% o- |, Z. p. s: a
  1977. ;opcache.consistency_checks=0
    " `9 L+ B8 e; \8 A
  1978. ; F/ X. a& X# g5 U3 X5 t  d; l$ t
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ Q/ a& `& b( T- _) y( \( O
  1980. ; is not being accessed.8 k' y0 W& D/ o+ H
  1981. ;opcache.force_restart_timeout=180# Z' t' U  B/ D3 |& F
  1982. - L* h7 ^* Q8 v- x/ K7 P
  1983. ; OPcache error_log file name. Empty string assumes "stderr".9 c7 `' ^$ B: ~8 D- j
  1984. ;opcache.error_log=" S8 g; o7 |+ h
  1985. 3 R9 _' A9 R5 b6 M. B! k) `: u6 j
  1986. ; All OPcache errors go to the Web server log.3 o- M- _4 G5 B& J& H
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    , p8 \9 U' D; E0 b1 u; ~. A' w* o/ n
  1988. ; You can also enable warnings (level 2), info messages (level 3) or" s: O0 R8 i# g
  1989. ; debug messages (level 4).* w! G3 L: u" r
  1990. ;opcache.log_verbosity_level=1. g- [5 ?9 h6 a3 ]5 `# @+ J: ?

  1991. 4 x3 \9 h5 g# e. S- S9 i
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' L; d9 F% K8 l! V6 D" C/ q8 l% N
  1993. ;opcache.preferred_memory_model=
    5 m5 j$ n% N0 q' \
  1994. ! [4 ]5 @- k1 Y- {5 v
  1995. ; Protect the shared memory from unexpected writing during script execution.. f2 C+ Q3 N# e; V
  1996. ; Useful for internal debugging only.
    - C' t& g4 j+ H- I
  1997. ;opcache.protect_memory=0' u$ o2 `, Y  ~9 d
  1998. 9 \2 F- a4 d! Q9 |
  1999. ; Validate cached file permissions.) h6 j' j: e8 w" d% X) K
  2000. ; opcache.validate_permission=0
    2 D/ h* }5 P; y" N8 Q  r0 c

  2001. % k5 o) B; `3 X5 B+ K- x
  2002. ; Prevent name collisions in chroot'ed environment.
      a2 o0 K$ [9 y! b' r. |. h) h
  2003. ; opcache.validate_root=0
    0 f2 x1 ^! Z, [' A6 u. X

  2004. 8 a" S" b/ |9 k$ E* H& e2 a
  2005. [curl]
    ; |6 s$ m5 ~; K8 O) [, _. ~1 l/ |3 a
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    6 ^. p: f- b3 z
  2007. ; absolute path.# M8 s4 s, U) y0 z
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    7 I4 e" e# s) ~% f+ v; I
  2009. 9 U4 e7 ~" G5 p  J4 D
  2010. [openssl]
    & \: }2 S4 D* d
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem# [! P! H( d0 a) k! W( \" ]' _
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    6 W" {: S6 `* m2 r8 I
  2013. ; not specify a value for this directive as PHP will attempt to use the3 X* I2 K2 |2 \7 O: a/ R- Y
  2014. ; OS-managed cert stores in its absence. If specified, this value may still! ~2 g& C4 _, X1 i" h
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ W/ o+ z! G8 m# H! P
  2016. ; option.
    $ _* P! J1 M5 N+ e; j3 B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    2 ~' s; h# p$ `# P

  2018. % H  I. m( s, U1 K6 q2 o4 f  M
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the  @' k+ u/ G# Y! x; U6 X
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    " i" t' m$ C& s- i! r3 G
  2021. ; certificate. This value must be a correctly hashed certificate directory." [1 _( A  Q6 C5 N* l: E: u
  2022. ; Most users should not specify a value for this directive as PHP will
    : L+ r2 c: B  z9 o/ W. D3 ~
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,( ]3 Z2 ?. f" N0 i) j
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    4 \8 m% T7 ]! ^* C# U( L
  2025. ; SSL stream context option.
    # N7 G, C' e$ e; w
  2026. ;openssl.capath=
    3 X/ L2 r( ^9 @: w) ?6 c

  2027. 2 a5 }' S# v$ ^4 d/ B
  2028. ; Local Variables:# e& u1 A& T: S4 h$ I1 @, b
  2029. ; tab-width: 4
    4 E( @) ^- [- x6 f! i! y9 r. q
  2030. ; End:! O5 `$ z1 e; Y: o6 h. _% n# f$ q

  2031. ' f" p- _2 R* G3 d
  2032. ;eaccelerator
    % g3 I" |/ v4 ^. E; K4 U0 l5 m
  2033. ; x: E5 W, I4 U; p5 G; W4 @
  2034. ;ionCube  q" v) q* m) i# w: S' C' Y; f

  2035. - B0 j) y1 f4 r' m! Q$ h% _
  2036. ;opcache$ g! q2 ?) d3 b' T2 g
  2037. : `- j8 {4 U9 b0 j
  2038. [Zend ZendGuard Loader]
    + G8 t/ n6 \1 }2 L5 S
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ; p9 t! s7 F3 T4 _
  2040. zend_loader.enable=1
    - J% }2 B5 Q6 _1 l% l
  2041. zend_loader.disable_licensing=0
    7 P  \8 s+ a1 e; ^$ o& }+ R
  2042. zend_loader.obfuscation_level_support=3
    ' i  h4 F8 T  K$ e/ K" h
  2043. zend_loader.license_path=
    / m* N( U+ d* q

  2044. ! `2 @% O1 c1 I1 q% L
  2045. ;xcache
    . l! k* y' o, \: L: Y

  2046. ( U4 Z; W# ^  M6 [0 X. m
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
# |9 t( V( v; i7 g, T
/ _: a7 c% }. D: U* K: L1 X- {0 H
7 _5 s$ f( O; G2 q, o2 JDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,1 }* t, h) t/ c& g% u7 x
% _+ F. l4 Y0 f% z* r2 _
Discuz!程序版本选择:
: V) P4 j$ S9 l- H0 s站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,7 B  T3 O& T0 w. _! u
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
4 a  N! N' L9 s- X- @# zDiscuz!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。6 {3 X1 r$ y" i! C8 t, r/ ]7 Z

+ `7 r( O" r) @2 P' B2 VDiscuz!插件模板版本选择:
- k6 ?9 \' t/ V7 R( k# I很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,$ z% o& R0 o6 {- M
针对这个问题做个统一的普及:8 s& ~! u4 D$ d6 r) P
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
4 p$ R4 R1 D$ [' c  }
8 v& V- M) \9 \4 l! @1 `" O所以/ H$ e# A0 w% D  z* w, N
适合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的二级域名。2 u$ g: P) L- a- u3 t- f4 U
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。3 S1 s8 B+ p% u3 J' S( E' T2 H
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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