分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
& V' U; Y. I- U7 i
2 C* G+ E5 F" z
  1. [PHP]
    ! N6 R; G1 M2 R7 I* |+ [/ x5 h
  2. 2 U3 F; y* ^5 \: L5 C/ S
  3. ;;;;;;;;;;;;;;;;;;;; [/ D7 ^2 {  B$ i+ n
  4. ; About php.ini   ;
    6 D) s3 i- r& Q1 D- T8 \# z: T, G
  5. ;;;;;;;;;;;;;;;;;;;
    1 B8 X% ^, k/ b- C2 E: U8 u! ~
  6. ; PHP's initialization file, generally called php.ini, is responsible for
      w- k: b3 ^% y" f0 T% Q6 j' M% f
  7. ; configuring many of the aspects of PHP's behavior.
    . `7 R; I( S% o6 I& N0 l) a; t
  8. 4 U. l( t) T& d1 C! b
  9. ; PHP attempts to find and load this configuration from a number of locations.3 q# s9 U, D3 V* Z
  10. ; The following is a summary of its search order:; ~+ k, ]. D  E* V
  11. ; 1. SAPI module specific location.2 D! Z  U- @& r& q( t- g2 n5 g! e# p
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ( d6 i2 C; P2 z$ P' C# f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- `* e' s0 _1 D
  14. ; 4. Current working directory (except CLI)3 ~0 Y, R& `$ y7 v" u
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP% F, I- _; N8 x: \, l/ @! S
  16. ; (otherwise in Windows)
    * n# g( ~0 G7 v3 ^$ h$ y  w* ?
  17. ; 6. The directory from the --with-config-file-path compile time option, or the9 M& h5 o' t- `) L- F2 v. h$ b
  18. ; Windows directory (C:\windows or C:\winnt)( L7 s( U' b) l% K! m2 n9 {' q
  19. ; See the PHP docs for more specific information.
    / Z$ i& J; ?, U% h3 Y' o
  20. ; http://php.net/configuration.file1 {( T- g) ^! M1 R2 H/ A. {

  21. , L4 r$ C; Q/ |3 e1 m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines. G4 ?0 |8 e! t
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).) A3 y3 E8 r+ p- t* y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 Y9 d) R" d: U/ O; K  a( \* X
  25. ; they might mean something in the future.4 t4 z  r4 J0 j& s2 V  D) \

  26. # q- c* a8 T6 S) T# @  t3 Z
  27. ; Directives following the section heading [PATH=/www/mysite] only
    7 f! P- {9 ~) ?  |! z; d
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : n9 W$ y/ P3 V; f$ U9 y& K
  29. ; following the section heading [HOST=www.example.com] only apply to
    ) w8 O5 G* ?) _1 f- g4 D5 d$ M
  30. ; PHP files served from www.example.com.  Directives set in these
    : x- q4 f. ~9 b4 N: K
  31. ; special sections cannot be overridden by user-defined INI files or
    - @/ r, V  z' E: e  m$ \
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / R( ~; G5 D# ?/ J! H0 t0 K. S
  33. ; CGI/FastCGI.
    3 \& s" Y, J& N0 N1 P4 G0 y' D
  34. ; http://php.net/ini.sections1 Q! z0 v5 h- }* g. E/ e4 s2 ?

  35.   T2 O9 H2 B# k
  36. ; Directives are specified using the following syntax:
    9 A' o2 V+ |' p: o4 q
  37. ; directive = value1 v$ ^( l3 i( x' @: Z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    : c" u: n9 t- |9 u" V+ B
  39. ; Directives are variables used to configure PHP or PHP extensions.3 A  t. z4 C. K% s1 C5 |+ O
  40. ; There is no name validation.  If PHP can't find an expected
    % B- w% n7 {/ K, r
  41. ; directive because it is not set or is mistyped, a default value will be used.! b6 a+ a5 |8 L

  42. ) E$ N/ x, Z7 G1 Y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one& R1 {+ a+ y. h
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    # M3 f$ f* A) O, g7 \/ _3 M2 {
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ) W" p9 s( Z7 }: ~0 @+ R+ H* i/ k
  46. ; previously set variable or directive (e.g. ${foo})" W8 z$ v7 l) i1 e' |# p8 K

  47. 8 h. T& v' k/ a9 ?
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    9 n- E. G: l# a
  49. ; |  bitwise OR
    & @5 W5 v2 I. Q$ r
  50. ; ^  bitwise XOR$ d' ]" s7 m- u) B0 a. Z% d
  51. ; &  bitwise AND
    ; O6 H* N5 z! N* P; v1 n
  52. ; ~  bitwise NOT
    & p4 Y  O5 I/ |4 b- H- s
  53. ; !  boolean NOT
    8 n# \& H  e  Y5 r3 |1 ~
  54. # q$ |' x8 Z& b. p9 i
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    9 C  o9 z( k- f2 q( b
  56. ; They can be turned off using the values 0, Off, False or No.3 v1 a! I4 f8 z, h
  57. ) F& r- o- h, {( H: e
  58. ; An empty string can be denoted by simply not writing anything after the equal
    + L& K4 g' S, |1 f) r
  59. ; sign, or by using the None keyword:/ C  D. `* w5 x& B; m" k: o* r

  60. : p" `, a0 s- P; N9 a
  61. ;  foo =         ; sets foo to an empty string
    & E# A1 N, Y& E/ G7 Z
  62. ;  foo = None    ; sets foo to an empty string
    , _4 h0 t* D- z5 P4 N
  63. ;  foo = "None"  ; sets foo to the string 'None') m) X& Z9 l  p4 G2 @+ s

  64. ; ^! A* T. w$ P3 q& i
  65. ; If you use constants in your value, and these constants belong to a
    % ]9 K; _$ K+ _1 f( U5 r
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    / @% m8 Z: B  Z. v6 D$ }) R
  67. ; you may only use these constants *after* the line that loads the extension.- e# a, j) C2 b- S" ?7 A) ]8 t
  68. ( m2 g) D) N2 Z/ b5 I3 s/ P3 R
  69. ;;;;;;;;;;;;;;;;;;;9 @/ S3 q3 q% \6 L/ B" t6 g2 O
  70. ; About this file ;
    ) B0 U+ J1 K3 I0 K- z# C1 ?
  71. ;;;;;;;;;;;;;;;;;;;8 P' V, L$ F8 ~+ b3 m
  72. ; PHP comes packaged with two INI files. One that is recommended to be used% K9 @/ Q  y' W* [, |$ W# F
  73. ; in production environments and one that is recommended to be used in
    8 ?0 X; o) c2 F: g6 p
  74. ; development environments.
    . q6 Y# u) s5 Z
  75. * `! g+ _& d* S% K2 Y! g
  76. ; php.ini-production contains settings which hold security, performance and
    7 m) }) X+ r8 M  Y
  77. ; best practices at its core. But please be aware, these settings may break: e% C: J: P1 N. U# ^. `3 z2 o* T
  78. ; compatibility with older or less security conscience applications. We& A) I( a; L1 j6 N, k* x- O
  79. ; recommending using the production ini in production and testing environments.0 {& s& V( s. T+ G) c( ^

  80. ( j, U" l3 v9 B: T3 W+ ~* T* J
  81. ; php.ini-development is very similar to its production variant, except it is
    7 C% N7 J7 }$ J* \: S
  82. ; much more verbose when it comes to errors. We recommend using the
    " E8 \5 q" y1 y- `* V" x
  83. ; development version only in development environments, as errors shown to
    ( r* L0 m# y+ j; q0 b3 u
  84. ; application users can inadvertently leak otherwise secure information.3 h: P( l# m; B
  85. 4 a. C( A, M* Q3 P: \( m
  86. ; This is php.ini-production INI file.
    % b* q1 {# {" [$ R& j1 H+ k+ [
  87. : N. l6 |+ x$ B% h! i7 l; E
  88. ;;;;;;;;;;;;;;;;;;;$ i2 I! y3 [2 Y3 M- e- i$ }
  89. ; Quick Reference ;% d! h# O/ s- G
  90. ;;;;;;;;;;;;;;;;;;;
    1 s  L1 P6 c- p; j
  91. ; The following are all the settings which are different in either the production
      L- p& I4 N; o3 y$ K& y2 O
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    & E6 D% \8 Y; ~: O/ v4 e; I
  93. ; Please see the actual settings later in the document for more details as to why7 B. c* w9 j4 C- p
  94. ; we recommend these changes in PHP's behavior.: x. p8 @/ z0 ~- v# M

  95. % R0 R; J" i) n1 l/ U* Z1 p' H
  96. ; display_errors& T# o1 Q/ B! e+ ~  r; E
  97. ;   Default Value: On
    5 K5 @3 I2 c! f) p
  98. ;   Development Value: On
    7 E7 d5 a) s8 s; M5 Y
  99. ;   Production Value: Off
    . q! ]: }  d$ @0 K8 A8 m  U- {8 i

  100. : u8 L, U. V! m, H8 _% K
  101. ; display_startup_errors
      u# C/ x. y$ K% C$ l' |. C
  102. ;   Default Value: Off
    * a* `) h7 H& M& F5 l! B; S) E3 c4 J' N
  103. ;   Development Value: On/ `/ B0 c- G6 C& L& ]
  104. ;   Production Value: Off$ ~6 G. c# x3 t* A% x' {/ ^

  105. , p% F8 g* ?& U* @7 d7 g% o
  106. ; error_reporting
    " g3 g3 Y  f/ K0 [+ ?+ Q
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ E2 x  f  A  @+ S1 K( y
  108. ;   Development Value: E_ALL
    ! U. @' _7 z8 ~. L: d0 ^2 j* ]
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 G4 M7 t9 [' i& L& x; U; c# v9 |

  110. % m4 [& `9 k5 p1 ]! `
  111. ; html_errors+ `) Q% e/ e- L7 n/ f# q
  112. ;   Default Value: On
    ( F6 u$ B4 O; l6 W3 k
  113. ;   Development Value: On
    7 h/ z# C, K7 F9 P0 Q  W' Q
  114. ;   Production value: On
    ( j2 l, h& C" g) z3 w
  115. : K+ o! J7 h0 C
  116. ; log_errors
    1 L$ I) c; I! ^" N+ ~
  117. ;   Default Value: Off' l: s7 G0 E5 Y* }3 I" L4 Z& i9 [
  118. ;   Development Value: On
    $ S5 O+ [' b) p  ?
  119. ;   Production Value: On2 O: f4 S- f: Y

  120. * a5 {8 ]. f& y! ~  t1 V9 b
  121. ; max_input_time
    " `* D4 U6 z. |% U1 q
  122. ;   Default Value: -1 (Unlimited)0 l; G" }: h; ?- O1 ]2 Q
  123. ;   Development Value: 60 (60 seconds)  j2 C, z6 v9 `4 c- `9 Y* }
  124. ;   Production Value: 60 (60 seconds)+ d1 L! K+ }8 m9 C( W+ G

  125. 7 B+ m, F* k* z9 b, e
  126. ; output_buffering: _" z& _- N! u, c; _
  127. ;   Default Value: Off+ i! e+ q# Y4 t& r' ~! _3 R+ J& l; }, R
  128. ;   Development Value: 4096
    ) e" b$ W% m9 z% a" `; \
  129. ;   Production Value: 40968 [$ d8 o- w' j
  130. ( e: A9 s$ c/ H9 G  N
  131. ; register_argc_argv
    4 E5 @% a  j& F: X' f7 q! |2 }
  132. ;   Default Value: On
    6 ^0 A. |' k5 [' _
  133. ;   Development Value: Off/ W$ ~: @& e. _' L' h
  134. ;   Production Value: Off
    " s- q& @" p0 e* T! [) t# O
  135.   {, n: O6 V9 p( h8 E/ U0 ~! S6 \
  136. ; request_order
    9 ]9 m! E" T1 M$ |( s  V
  137. ;   Default Value: None3 ^6 `7 E* c. [5 l2 A
  138. ;   Development Value: "GP": l" i" N% H$ G6 b' }* a5 V+ p
  139. ;   Production Value: "GP"
    0 @; }- N& d4 M8 F5 n* N0 X0 q# ~

  140. 9 c8 J% k+ s( M$ ^7 C
  141. ; session.gc_divisor# u; F" w- m# _. X
  142. ;   Default Value: 100: M% j% d- ~: s3 w7 S) k
  143. ;   Development Value: 1000  ]5 v" s( u! s
  144. ;   Production Value: 10001 D. U! _* A3 R" B( N$ u

  145. ! G1 F6 A# |4 \) k" W& K) S
  146. ; session.hash_bits_per_character
    5 E" G1 ]8 W8 o9 S$ v
  147. ;   Default Value: 4. S; k6 A8 F, {. V- Z0 |
  148. ;   Development Value: 5
    % y. X$ P( _4 K4 V" Q
  149. ;   Production Value: 5
    6 h; L# Q6 `3 Q9 m( D1 d/ G
  150.   [9 w! ?8 @' d1 B& `, A" p: ^' d
  151. ; short_open_tag# V) `* C0 Y" k, D: s
  152. ;   Default Value: On5 N- e6 T5 L& E3 z! M# v9 A
  153. ;   Development Value: Off
    ) I8 K. e+ \1 v* z+ j6 a
  154. ;   Production Value: Off
    5 _+ O: a) w. D- x" y5 y- N# A

  155. 9 ]6 q8 h" y. `
  156. ; track_errors
    5 O% }3 F# ~) S3 o1 T) O
  157. ;   Default Value: Off6 x! u, @( _7 W) x
  158. ;   Development Value: On
    4 U( A0 s- w7 c2 \8 u% K
  159. ;   Production Value: Off; J1 ^- l& ?. e; B
  160. 9 \( w& W9 l3 K
  161. ; url_rewriter.tags
    % b# n# p% s9 E( a, |0 O( X
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    : N% t  @! @7 T0 C: q# B' \
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / P* ]( y* Q& ~
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! K  P+ `8 w' {
  165. ' o" H7 X) ]6 T2 Z) Y4 ]7 m' b- ^
  166. ; variables_order
    2 d9 }# w! U5 V, _
  167. ;   Default Value: "EGPCS"
    8 C: J/ O7 p4 w
  168. ;   Development Value: "GPCS"1 T  s6 A: c" B: m
  169. ;   Production Value: "GPCS"( o" L$ z6 Y# a% k7 }' D, `

  170. * ^* }! `5 G' v1 n
  171. ;;;;;;;;;;;;;;;;;;;;
    6 V$ a5 r& g+ g% F) n2 B
  172. ; php.ini Options  ;" X, s; Z5 }0 E* S4 K
  173. ;;;;;;;;;;;;;;;;;;;;
    ; K" O( B9 L( ?" u
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % H" u$ D3 O) m! t: s2 u5 g( L
  175. ;user_ini.filename = ".user.ini"
    1 A! q; [- H$ {/ p: a

  176. ) x8 D8 I0 t5 `* A4 {! r1 k& u8 u7 g
  177. ; To disable this feature set this option to empty value
    " {  B6 Q& Z' D, I
  178. ;user_ini.filename =
    " e2 ?- M" c1 T5 F
  179. " T1 W: K: U6 _) e
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
      u8 g  l9 x% b3 p& @0 b$ j
  181. ;user_ini.cache_ttl = 300$ I; S/ i( b, G$ e$ M* X) D0 w

  182.   o" o2 o0 E. P5 ]- E5 B) Z2 T: g
  183. ;;;;;;;;;;;;;;;;;;;;( C$ Y( I2 Q- D8 Z1 x
  184. ; Language Options ;7 G/ n* W8 G+ S1 `# A% Z
  185. ;;;;;;;;;;;;;;;;;;;;' w3 j; m; X' z2 W* x
  186. * Z$ ?% Q1 l! ]3 B! o
  187. ; Enable the PHP scripting language engine under Apache.
    9 \" L4 R+ Z3 Y
  188. ; http://php.net/engine0 G6 N9 K8 K$ V1 r
  189. engine = On
    $ G$ W/ F! N/ J* j5 M) P/ D
  190. 3 E+ c  v4 J; p: _5 R1 _+ Q" o! d
  191. ; This directive determines whether or not PHP will recognize code between! }+ R0 n4 r/ w, b
  192. ; <? and ?> tags as PHP source which should be processed as such. It is( N* E) U9 z8 [$ D# E8 h
  193. ; generally recommended that <?php and ?> should be used and that this feature* w. L  h, D$ V; {$ a( l& _& J
  194. ; should be disabled, as enabling it may result in issues when generating XML# P+ V( F7 D& c  @( y9 ~1 `
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! x' j( o% w7 s) N
  196. ; Note that this directive does not control the <?= shorthand tag, which can be0 i& ~/ M5 d2 N* i
  197. ; used regardless of this directive.
    " D6 K- J- B) R+ f$ P$ i
  198. ; Default Value: On6 z' M" I$ A- \9 j/ d" Z
  199. ; Development Value: Off
    0 o- T; W4 G* `' `) J
  200. ; Production Value: Off: N& r1 n. D+ T! ]8 E! h" P: v. G
  201. ; http://php.net/short-open-tag
    & x* Z5 f# }* R- O# B2 y/ O
  202. short_open_tag = On
    ) H0 o# ?/ ]2 Y% L9 A7 @: W. h
  203. ' z- r( Z  F* d0 O) A& @- K& X
  204. ; The number of significant digits displayed in floating point numbers.% w/ M& E5 O3 b
  205. ; http://php.net/precision
    2 B; p* J# w, W- ^: q
  206. precision = 147 ?# g9 L5 L' H: K- h* X; C! i% M

  207. 6 w& d. t: G6 J
  208. ; Output buffering is a mechanism for controlling how much output data! G4 Y/ z5 S0 O4 p! ]
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that6 m* u9 t* T  o1 E
  210. ; data to the client. If your application's output exceeds this setting, PHP
    9 b4 o  o( f0 b
  211. ; will send that data in chunks of roughly the size you specify.
    " M  p0 \* d- V) `$ f/ P
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    + H7 q! q& J3 R. H4 V2 Y( F; T
  213. ; interesting side-effects depending on your application and web server.  S% t: o  R: M! G6 U7 g) o9 R  X
  214. ; You may be able to send headers and cookies after you've already sent output; [* z% c( }: k3 k2 T  E4 Q* j
  215. ; through print or echo. You also may see performance benefits if your server is
    0 d  d. k3 \3 S- _* ^0 k
  216. ; emitting less packets due to buffered output versus PHP streaming the output+ o; H; q" N, U2 _) p. o" u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    0 J5 S& w) u* B% e8 S* Y4 b
  218. ; reasons.
    # Q( e* {& x8 l- y. g
  219. ; Note: Output buffering can also be controlled via Output Buffering Control3 ~8 ~* t# n, j
  220. ;   functions.4 d7 H9 O* R* f$ o# s
  221. ; Possible Values:9 K/ b% M9 S6 \& n, _! ?
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)* o: n1 `6 J0 B5 Z" ?2 @
  223. ;   Off = Disabled
    # I. ~. Q) b! |/ ~2 g& Y: s
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.' _7 R& Z1 T0 e8 w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI/ T. s+ \1 G( d: m; f8 X
  226. ; Default Value: Off& R! C& }4 ^* l$ c3 H
  227. ; Development Value: 4096
    + i8 ], H- Q5 G6 u7 U; X
  228. ; Production Value: 40969 D) e* \6 r. s( A8 i, V$ M' B5 ]
  229. ; http://php.net/output-buffering
    3 y: ?( {7 Z1 }9 Q! Z* [( `' `6 e4 y
  230. output_buffering = 4096
    ) B4 y7 u9 V( u4 m/ s
  231. # D+ i' a9 [2 f1 G
  232. ; You can redirect all of the output of your scripts to a function.  For
    # R$ C0 C. K- d4 A6 m% s
  233. ; example, if you set output_handler to "mb_output_handler", character% k$ r, a  K' y1 w( F1 S. m
  234. ; encoding will be transparently converted to the specified encoding." C& A+ f& |2 b" A) i
  235. ; Setting any output handler automatically turns on output buffering.: s, y4 h/ T/ w, U- j, I. {- A2 G
  236. ; Note: People who wrote portable scripts should not depend on this ini
    , V9 Z1 T# ]1 y3 z$ }
  237. ;   directive. Instead, explicitly set the output handler using ob_start().. f! V. D0 P0 L2 P1 W
  238. ;   Using this ini directive may cause problems unless you know what script
    , E. _9 C* }  e0 T
  239. ;   is doing.
    5 G* A$ Q* a0 P& l
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"8 t( N7 ]/ E* b  d) s- U
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".1 q7 k9 Q4 [1 Z
  242. ; Note: output_handler must be empty if this is set 'On' !!!!, I0 n" U. i4 m+ K6 h
  243. ;   Instead you must use zlib.output_handler.
    6 E+ t1 h3 U& `
  244. ; http://php.net/output-handler0 B# G; A- C3 ~) s( ^3 E+ X$ k
  245. ;output_handler =
      c6 x" \+ J! g' n
  246. 8 L8 ?! j) u! q; G3 f
  247. ; Transparent output compression using the zlib library. ^; H8 i! Q; S% i3 H( _) K6 ]: ]
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size. s1 k8 X! C' |
  249. ; to be used for compression (default is 4KB)
    ) f8 Y% _. v& a/ J' b' e5 N
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ( V* c" E2 ]2 M* X
  251. ;   outputs chunks that are few hundreds bytes each as a result of" {9 G$ }  D1 q
  252. ;   compression. If you prefer a larger chunk size for better8 Z# V: T9 }  Q5 N" R) b
  253. ;   performance, enable output_buffering in addition.3 Y) E" s+ c0 h! P4 U6 {3 ~2 i
  254. ; Note: You need to use zlib.output_handler instead of the standard% g! P3 ~* l+ H% Z/ M' X( T
  255. ;   output_handler, or otherwise the output will be corrupted.' x+ u- p* ^* r; ?0 a8 F% D( C
  256. ; http://php.net/zlib.output-compression# A; E2 J/ M; J$ B1 P2 J
  257. zlib.output_compression = Off7 Q6 @- T9 M1 b
  258. ! d2 Z$ u/ a0 H) D+ U
  259. ; http://php.net/zlib.output-compression-level6 V3 w2 a" ~5 Q6 |' d
  260. ;zlib.output_compression_level = -1
    5 [3 X3 S1 e! E. ?  O. {
  261. + r4 I# [. }3 \; x
  262. ; You cannot specify additional output handlers if zlib.output_compression/ ?/ p% p% a4 M3 y' P/ N
  263. ; is activated here. This setting does the same as output_handler but in/ X% x4 D% s( k. m4 \- M3 k- d$ e0 J
  264. ; a different order.2 G, p) s$ _  f4 |$ e. R
  265. ; http://php.net/zlib.output-handler
    & I" Z5 |; Q, x* F( h
  266. ;zlib.output_handler =# Y& z/ q* F; N5 f6 F

  267. # P" h  y) Q7 O
  268. ; Implicit flush tells PHP to tell the output layer to flush itself2 Q3 j7 l* u9 _8 _2 a
  269. ; automatically after every output block.  This is equivalent to calling the
    + A. i  o4 H7 f
  270. ; PHP function flush() after each and every call to print() or echo() and each8 G4 @& w( U* u  {: t# |0 L
  271. ; and every HTML block.  Turning this option on has serious performance% H# F7 o. ?* q6 ?3 \
  272. ; implications and is generally recommended for debugging purposes only.
    % M' D* C: S3 S$ }6 v, Q
  273. ; http://php.net/implicit-flush
    $ r6 P( o! X" H3 z: ~
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    4 L; T5 c# k+ b9 e3 A
  275. implicit_flush = Off6 U* W* t' e) t+ {1 R) h, C0 h$ T7 A

  276. ( \7 p$ J6 d3 D) a
  277. ; The unserialize callback function will be called (with the undefined class'7 X# ^# M; B( S! s
  278. ; name as parameter), if the unserializer finds an undefined class
    & G: t% K. E) ]7 R
  279. ; which should be instantiated. A warning appears if the specified function is; p, s8 n- u3 w
  280. ; not defined, or if the function doesn't include/implement the missing class.; x" ?2 h' S, _5 d
  281. ; So only set this entry, if you really want to implement such a
    & T' I  ^9 X) n9 l1 T3 o& q% M
  282. ; callback-function.
    * W* R! T: w. O
  283. unserialize_callback_func =
    & \2 Y6 J9 i9 ]6 H
  284. % i  Y/ m# Z& H* d4 z$ J
  285. ; When floats & doubles are serialized store serialize_precision significant  V1 B! D/ w) B
  286. ; digits after the floating point. The default value ensures that when floats; |' {8 G) ?" s; O' L
  287. ; are decoded with unserialize, the data will remain the same.& |* X/ q: h1 A2 x. z% a3 D" a
  288. serialize_precision = 17# s. |7 k6 Z" k% s3 r! V) b# v
  289. : z9 H  ^( o% e
  290. ; open_basedir, if set, limits all file operations to the defined directory
    & @. U  S; m" s
  291. ; and below.  This directive makes most sense if used in a per-directory, i& P, I8 Z" B; t' A' J
  292. ; or per-virtualhost web server configuration file.! U1 m4 Z, C8 w  H& w' y
  293. ; http://php.net/open-basedir
    4 ?! D- }. Q7 N! d5 c5 S+ r8 m9 @
  294. ;open_basedir =
    2 Q& @' ]$ N0 K) R; @2 w6 ^. b8 R

  295. $ ~( z5 v( ^3 @2 ]# q# L
  296. ; This directive allows you to disable certain functions for security reasons.7 m, h( N* c/ F. _- |
  297. ; It receives a comma-delimited list of function names.
    ) B9 d& f7 D8 H
  298. ; http://php.net/disable-functions6 g2 x6 [: q# J& n
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# v2 |* U7 q3 c, [, ?
  300. 9 \: y( u- |- h% [  B0 k
  301. ; This directive allows you to disable certain classes for security reasons.
    * l/ c1 b0 O& T
  302. ; It receives a comma-delimited list of class names.
    ' P' f; }6 c: o9 S1 k+ L
  303. ; http://php.net/disable-classes  D/ w, V7 J; ^1 e' u' m, \; }# W
  304. disable_classes =0 e, w: D4 w- M3 w  `" M

  305. " I4 G8 F  A& ]# P
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 D. K, L6 P8 w4 U- I  L* c  ?* t
  307. ; <span style="color: ???????"> would work.
    7 w* Y) |0 b8 U! z  Q7 w1 g. q
  308. ; http://php.net/syntax-highlighting
    # Q- S* k4 L( \  ]9 V3 A
  309. ;highlight.string  = #DD0000% Y: U8 d* w, g
  310. ;highlight.comment = #FF99009 v( P9 R1 M' Y7 v7 n' B% D7 ?
  311. ;highlight.keyword = #007700
    0 M( s- K6 ~  m) \# K
  312. ;highlight.default = #0000BB
    - G  @" P, d6 Z& \" t* _8 F# @: ^
  313. ;highlight.html    = #0000008 K( A4 l1 d2 I6 F. O; H' j! ~

  314. 5 y6 U" ]8 z& I+ c
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    : m/ F$ \  {. G$ n& P
  316. ; the request. Consider enabling it if executing long requests, which may end up# {* K! {; g7 x. V4 |+ x6 F7 ?
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior( r2 n/ m5 c" B8 \: ?2 U. I
  318. ; is to disable this feature.
    4 D, a. i% a& I
  319. ; http://php.net/ignore-user-abort' K$ Y0 V3 K+ O0 e
  320. ;ignore_user_abort = On6 e: `. D( k! l9 E7 h& `2 r

  321. 9 d. R' N- W2 B9 E1 A* V5 Y3 R
  322. ; Determines the size of the realpath cache to be used by PHP. This value should* l" L; q# h# U+ r" L
  323. ; be increased on systems where PHP opens many files to reflect the quantity of3 O3 z, |; x$ f, [2 n; ~
  324. ; the file operations performed.
    & W7 X' c6 `# [
  325. ; http://php.net/realpath-cache-size2 g* o0 K) e7 A
  326. ;realpath_cache_size = 4096k- x) M# s; i) _$ ]
  327. " y5 ~8 s: f# D. |+ `. [! s
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    8 X# d  ?$ `+ E9 a& K7 J  X
  329. ; file or directory. For systems with rarely changing files, consider increasing this( `0 j1 @2 a" f
  330. ; value.) O0 J% s$ t3 m; w
  331. ; http://php.net/realpath-cache-ttl" I6 e) g) N! s7 K/ B- i+ }; D
  332. ;realpath_cache_ttl = 120: T6 t0 W# I* `. g2 o5 F) j0 x

  333. 9 g* i, S' k0 f
  334. ; Enables or disables the circular reference collector.& d" U* Q$ O' h, ]. d' p$ R1 H7 N* W; Y
  335. ; http://php.net/zend.enable-gc5 ?; Y2 `/ [+ W  p
  336. zend.enable_gc = On
    6 r% M6 o( I8 J

  337. % e' z, a  t5 [! C: p8 V
  338. ; If enabled, scripts may be written in encodings that are incompatible with1 m* R( h& Z( s6 i
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# w0 B% b4 Z# ^& E! H" O" {
  340. ; encodings.  To use this feature, mbstring extension must be enabled.* C/ r, c; n4 H" Q& Q- T3 S& Y) H+ _
  341. ; Default: Off4 L: Z' l1 p" c
  342. ;zend.multibyte = Off/ r3 w: }* Y& U0 \% [

  343. : D' D6 k; ^" D
  344. ; Allows to set the default encoding for the scripts.  This value will be used) X) V7 \' X. D# p/ k9 ?5 S
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) D* e/ X9 l! a* f9 u
  346. ; Only affects if zend.multibyte is set.
    9 x6 i  c: o( [( {+ {* z
  347. ; Default: ""' G0 p/ ?, c' f  V& }& M
  348. ;zend.script_encoding =2 g5 ^" w/ t" Z% [1 |2 e

  349. ( K0 p% d& H! f3 ]
  350. ;;;;;;;;;;;;;;;;;6 ~+ a6 e7 C6 f( a! ^5 ~" s9 k) k, {
  351. ; Miscellaneous ;
    ( Q) R0 v# C  t5 G
  352. ;;;;;;;;;;;;;;;;;  C" b- O& i8 O0 ~  a
  353. " A* {8 q& C* x7 V9 s
  354. ; Decides whether PHP may expose the fact that it is installed on the server6 I. Y6 Z. R% `3 [1 p& X
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    - Q' I4 v" w, L9 k1 \/ S9 g
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    + q6 x5 W8 q2 O& J, d
  357. ; on your server or not.
    ) s8 I, u  x0 P& ?  P" t) O: U* }
  358. ; http://php.net/expose-php! w9 V5 R  @- Q4 v' R6 n9 l: x& N
  359. expose_php = On  N( z. d6 G& Y! |: l. C
  360. # j" q$ w- C' F9 g, e4 e6 V- N
  361. ;;;;;;;;;;;;;;;;;;;
    6 {1 ]& r7 d9 ]( }+ t8 l
  362. ; Resource Limits ;
    / |- a0 l' I% {
  363. ;;;;;;;;;;;;;;;;;;;
    / L: K( l% T; [) V9 z; c' S
  364. + d' c! ^) P! k8 T4 Q
  365. ; Maximum execution time of each script, in seconds) C' {1 w9 v& c% a5 f6 n
  366. ; http://php.net/max-execution-time
    ! T- k+ \7 n  ^- S- z
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI" b) `3 E; A( B% m2 V/ g  S- ?  u
  368. max_execution_time = 300. e* h- s) F6 m) f' o( t# O2 n

  369. 7 W: X3 Y/ m3 |
  370. ; Maximum amount of time each script may spend parsing request data. It's a good! g  U; M7 T9 W; ]# P1 A/ T
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ i3 n! g; B% i% \; N( S; S
  372. ; long running scripts.$ D  i3 L; `- H" ~, k
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI+ u: n, x3 t7 J* J
  374. ; Default Value: -1 (Unlimited)
    - C1 b- C$ y2 w* n
  375. ; Development Value: 60 (60 seconds)
    4 {. f. o/ n/ @2 h; R0 g
  376. ; Production Value: 60 (60 seconds)  r1 m- b0 V. M, j
  377. ; http://php.net/max-input-time
    ' J7 t, A1 @- v; W
  378. max_input_time = 60
    , ^/ t+ T8 p' U& k, f4 [

  379. ' l- ~% k8 G) n$ l/ p5 a% W
  380. ; Maximum input variable nesting level; g6 r& X! w" d& o& {1 i( H7 G8 E% f
  381. ; http://php.net/max-input-nesting-level
    6 E. X, [( g  X
  382. ;max_input_nesting_level = 64) H) z4 x: E+ A. |( X/ g4 D" b

  383. # s9 ^7 ^% S7 ~2 Z2 B
  384. ; How many GET/POST/COOKIE input variables may be accepted& P0 B. d! X) t$ i5 e1 e4 I6 T: s+ z
  385. ; max_input_vars = 1000
    . e  k9 {: f4 w0 R

  386. 5 ^% ?2 Z+ O" y# g. R0 D
  387. ; Maximum amount of memory a script may consume (128MB)# N3 {4 ]: v9 w7 H( Y& r1 S; p
  388. ; http://php.net/memory-limit
    0 ?7 W1 d( ~- z% W
  389. memory_limit = 128M/ w6 @1 ?, A' i' e6 }- {* S
  390. ! s2 I5 f2 J0 d, i5 n' Y1 m( Z
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) o: P0 ]2 O0 B% U' E
  392. ; Error handling and logging ;
      }. R3 X# U0 q& F: Q8 S; K& o
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; b' R6 F: Z4 {' d8 t9 D
  394. 1 V: {" Z, N% K( D; M1 V3 N( d
  395. ; This directive informs PHP of which errors, warnings and notices you would like9 Q7 }2 J5 d* r1 o
  396. ; it to take action for. The recommended way of setting values for this
    9 K% M& c* j+ D  x) d7 S# l
  397. ; directive is through the use of the error level constants and bitwise
    3 `' @! z  I$ p2 m; H
  398. ; operators. The error level constants are below here for convenience as well as0 H. G$ c: C8 p; k
  399. ; some common settings and their meanings.8 o, k) L1 e; g7 e% r- [0 d: T$ h
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ n3 x, a% W3 \7 ~$ x8 ^
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! ?' D. J  Q, U* B- a) ]: M' h4 Y
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    " I" J$ W% y8 f4 e5 J7 k
  403. ; recommend error reporting setting. Your production server shouldn't be wasting& {. ^: d8 L4 V9 Q5 f* j8 O
  404. ; resources complaining about best practices and coding standards. That's what
    3 n, F# s9 ^6 ^4 k3 F. I4 z  e
  405. ; development servers and development settings are for.
    - D% d  r9 q$ ?8 M$ _% ?4 B
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 ~- g: Q: i! @( e8 ~  d* ]. J2 o7 }
  407. ; means it pretty much reports everything which is exactly what you want during' \! Y7 N* |$ Q8 D- v+ a9 Q% n
  408. ; development and early testing.
    8 n8 ]( a% l7 U' c- B" E2 P5 H
  409. ;9 f( V2 I/ R) C& I" k# S
  410. ; Error Level Constants:* v: Q" t, y  |& n1 P0 k
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). P2 {& r& K5 R6 U$ x3 q
  412. ; E_ERROR           - fatal run-time errors) z6 j) y3 p( W4 i- p, _
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    7 V0 W. ^9 d$ }1 `6 U6 D
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ) W$ E; v- U' r- T# }) n9 Z
  415. ; E_PARSE           - compile-time parse errors' ~* Q6 Q- ~1 f. a/ R+ U
  416. ; E_NOTICE          - run-time notices (these are warnings which often result/ h6 x+ ]6 v" c( x9 w1 X8 d4 _
  417. ;                     from a bug in your code, but it's possible that it was
    ( c7 l$ K: t6 [8 i& @8 c
  418. ;                     intentional (e.g., using an uninitialized variable and
    ; k" }: b  Q0 @% S$ d- ~! B( a7 P; N
  419. ;                     relying on the fact it is automatically initialized to an
    # S- f5 r# x% G' R* v
  420. ;                     empty string)
    . [4 v# S+ s* {% [4 q7 y0 w
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ! g  J* e  \' t. O
  422. ;                     to your code which will ensure the best interoperability/ V% J- y* j: C+ b5 S
  423. ;                     and forward compatibility of your code. C2 w6 l* |0 ?! c' ~
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / }# q5 d& m. y5 S3 G
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    / H! P* a( h, C
  426. ;                     initial startup+ ]( V7 ?2 m5 K0 \) J
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ( c( A" N8 h6 |/ _; f1 ^
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)$ R- S% y8 m' k" l$ G3 N
  429. ; E_USER_ERROR      - user-generated error message5 j0 ^5 ?. w5 [$ w% D
  430. ; E_USER_WARNING    - user-generated warning message
    1 x* y; Z1 T" R) }! U
  431. ; E_USER_NOTICE     - user-generated notice message
    $ L1 E, `7 u% e: p% X! {
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ; Z5 h: I$ U8 ^2 h9 [! [( ]; R
  433. ;                     of PHP* i/ K+ h1 W& F9 Z0 b8 L9 s
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * J1 @' P6 T# Y! C! J7 c0 e4 I' l
  435. ;) s- E4 U2 B1 m; w( @+ W+ Z
  436. ; Common Values:$ G0 L% X8 C% k" c! U. Q; d. w  W" q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    5 L  F+ v2 ^* s! k$ Z
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)3 x, R) h0 T( u! C8 I( n# W; P' t
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)" d1 h+ d& T$ _: x9 A
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)+ l5 ?* b5 [' n
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# a  t$ F. Q( n' V& c0 O6 ?
  442. ; Development Value: E_ALL9 W0 E7 Y6 U' B, E
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; t! p, G* s$ f9 Z+ V0 N8 l
  444. ; http://php.net/error-reporting
    + V, k! R" K! o/ T6 F
  445. error_reporting = E_ALL & ~E_NOTICE
    : N% b" G* t1 u. t+ H

  446. - {6 X( L, k! v1 B2 w$ F
  447. ; This directive controls whether or not and where PHP will output errors,- P: T6 ]3 x% l- X
  448. ; notices and warnings too. Error output is very useful during development, but
    , B/ l. }, K9 q) W  [
  449. ; it could be very dangerous in production environments. Depending on the code* l# E9 S4 ~) w* y& \) T
  450. ; which is triggering the error, sensitive information could potentially leak
    2 e6 U7 r0 ?3 H; V* n6 }
  451. ; out of your application such as database usernames and passwords or worse., ]6 o. j. e" F
  452. ; For production environments, we recommend logging errors rather than
    ( \. q5 j! V! l
  453. ; sending them to STDOUT./ y  Y! t2 w" J4 L9 k
  454. ; Possible Values:
    4 x1 _9 |  |; E9 r
  455. ;   Off = Do not display any errors4 r! B( E5 d) W: Q+ D
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! j) r% c, {, @/ ~7 I
  457. ;   On or stdout = Display errors to STDOUT- l9 [+ ?$ Q% c( q9 a. P! ^- H
  458. ; Default Value: On( o' v& R! F3 \! O) g& q
  459. ; Development Value: On
    - |$ E2 Z- \6 s8 M+ W
  460. ; Production Value: Off
    # e% [2 W) J3 Z! t2 d( o/ v2 R' c
  461. ; http://php.net/display-errors' b) x, u1 P, @2 c- I+ x3 S: C
  462. display_errors = On2 c# n) J1 F( Y' i
  463. ( q6 }, `) F/ _' p& e  i/ j
  464. ; The display of errors which occur during PHP's startup sequence are handled
    4 d+ P! t9 F  N$ C; J, L9 h$ y
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    / H, L7 m# P7 ?6 E3 u" b8 W
  466. ; errors from clients. Turning the display of startup errors on can be useful in$ h0 ~$ l  D+ N3 _) p
  467. ; debugging configuration problems. We strongly recommend you
      g9 t) a% x$ q! _5 L1 r& D
  468. ; set this to 'off' for production servers.
    ( A0 Z9 }+ a& F: }$ m, X6 @4 N
  469. ; Default Value: Off' `/ C( o7 P1 F/ x
  470. ; Development Value: On& i2 Y0 ?0 B. s8 D1 }6 H7 B- G: j
  471. ; Production Value: Off
    , j6 n/ v6 a3 X% a
  472. ; http://php.net/display-startup-errors
    * `8 P) [9 t- {
  473. display_startup_errors = Off. R9 v& l7 |" y+ n% ]
  474. + N$ H6 y2 J5 M7 U3 ^
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    9 I0 C) @" N. n" V1 e
  476. ; server-specific log, STDERR, or a location specified by the error_log
    9 v  O: {5 H1 l7 v! N3 {; ~' T% r
  477. ; directive found below. While errors should not be displayed on productions2 B0 ^  s% _+ {- S; y& @
  478. ; servers they should still be monitored and logging is a great way to do that.
    & ^. G( w& E. P; W. A  e
  479. ; Default Value: Off
    , n( j7 [% Z+ ~& @$ f  E2 m( {" R
  480. ; Development Value: On
    . j; _1 b1 E4 I
  481. ; Production Value: On8 t' p- m. _$ \1 @
  482. ; http://php.net/log-errors7 D- e; a7 h4 R4 m# |2 A2 y% O
  483. log_errors = On
    % u  y# ~3 Y9 x, E" X8 i8 S* t

  484. $ M, J8 A( ^! N/ C  j- l
  485. ; Set maximum length of log_errors. In error_log information about the source is
    , u. M0 ?) I: k" R0 p6 e' t
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    6 e' U! h+ \. Q) ^9 L' I4 m; ]$ C
  487. ; http://php.net/log-errors-max-len! G! K3 a; S! V
  488. log_errors_max_len = 1024# d) T8 Q# _( L" h( S
  489. ( w* d# v; x3 Q! |' G6 j
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    / Q9 ~* n; \5 ~4 {1 Q3 Y# W; x
  491. ; line unless ignore_repeated_source is set true.
    $ J9 D; O& H- Z% `/ {4 y2 d. J
  492. ; http://php.net/ignore-repeated-errors
    4 U* b7 }7 V9 q3 v, D
  493. ignore_repeated_errors = Off
    3 p3 ]# e; ]( W. D5 v3 k, s

  494. + z3 p- S( S7 t/ A7 Q
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    0 g% O& Y. G4 N& `
  496. ; is On you will not log errors with repeated messages from different files or  A/ o9 `$ t" H3 ~8 B, ?
  497. ; source lines.5 Y) y0 k& I7 V$ ^( H) h" p
  498. ; http://php.net/ignore-repeated-source$ A/ r' H- C6 e- A, [* e# O- `
  499. ignore_repeated_source = Off' S: K5 z: k3 {8 y5 M& H
  500. 7 u" N( `, ]/ e' O
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 h( Y, o2 f1 e6 z( B$ w# ^
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    9 D% E% }! Z6 W, m$ |
  503. ; error reporting includes E_WARNING in the allowed list
    ! V' ^2 r* Q: p* Q, j
  504. ; http://php.net/report-memleaks
    ( o$ c7 w4 K! u  e1 E$ f
  505. report_memleaks = On
    * \1 G4 S9 w2 y- S/ {

  506. ; f( R' F" V. T
  507. ; This setting is on by default.! E1 J" q# n* ~+ @( S
  508. ;report_zend_debug = 0
    0 i; Y/ u" M7 P& [3 d5 V# i# _& A
  509. + K+ U5 U  S: D. R) i
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    / }$ \+ N1 f/ V0 V: b
  511. ; to On can assist in debugging and is appropriate for development servers. It should# V* Y( ]! G2 E& p& L" R  z
  512. ; however be disabled on production servers.
    $ W& t$ R/ f. P
  513. ; Default Value: Off
    # n( V6 D+ z/ ]5 M7 {/ B  z
  514. ; Development Value: On4 k; `7 k, U; C
  515. ; Production Value: Off
    ( G, N! T+ C6 @
  516. ; http://php.net/track-errors
    7 ~5 @  D% o1 D# L# v6 H
  517. track_errors = Off. }: v: Y8 F1 x* J
  518. : y! e4 |& i2 N, R4 w2 Y7 x* c$ H
  519. ; Turn off normal error reporting and emit XML-RPC error XML$ }/ s3 O3 j0 M6 L, }
  520. ; http://php.net/xmlrpc-errors
    " y% N* O6 Y+ T& o* w9 b
  521. ;xmlrpc_errors = 0$ z+ c9 f8 T; l+ ?. s2 _
  522.   j$ i- H9 L. X2 a
  523. ; An XML-RPC faultCode5 a: A8 o/ [% P& o1 M
  524. ;xmlrpc_error_number = 0
    5 {9 Y- {0 x9 Z1 n/ o# J; ]

  525. ' D, D% e1 Q9 s4 Q$ ~1 c* x/ J* S
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    + V# `5 _0 Q+ `5 L9 T2 z! k8 E. w
  527. ; error message as HTML for easier reading. This directive controls whether+ D( h3 b# Z1 Y5 v6 O
  528. ; the error message is formatted as HTML or not.
    6 p4 H8 d% @* j- g5 Q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI8 F5 j6 _: S  b! Z) ]8 c
  530. ; Default Value: On- R1 i: Z- K" I5 }
  531. ; Development Value: On
    9 d" I' ~6 `, Z9 e, G
  532. ; Production value: On5 L6 m# t& b$ x. X
  533. ; http://php.net/html-errors5 C# a% J  Z7 H, ^7 X/ o6 j
  534. html_errors = On
      Z4 D5 e. K: K
  535. $ i- I! z9 M1 C$ i3 ]
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP1 c, r% p- i* N9 u! R
  537. ; produces clickable error messages that direct to a page describing the error+ @# K, h9 s! L" n. n/ y& v' w
  538. ; or function causing the error in detail.
    ( {' J0 U7 Y$ M% k
  539. ; You can download a copy of the PHP manual from http://php.net/docs5 G' y' J. F+ {0 N
  540. ; and change docref_root to the base URL of your local copy including the, z1 S1 D1 d0 ^3 S* t9 U
  541. ; leading '/'. You must also specify the file extension being used including
    4 ~# M8 o. Y% S3 F
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which/ S6 Q7 w4 `1 n! v, n, x3 p5 C
  543. ; case no links to documentation are generated.1 D9 E" J, {, s0 y
  544. ; Note: Never use this feature for production boxes.
    - r# m, Y  l) Q2 d
  545. ; http://php.net/docref-root
    ) I# O( e: m3 Y/ T
  546. ; Examples5 {8 k4 f* n# {+ F# E
  547. ;docref_root = "/phpmanual/"
    5 M: @6 s1 E! y* m# ~5 I
  548. # R5 ~& e  }& v2 Z
  549. ; http://php.net/docref-ext
    ; {9 F, @5 J# `, b
  550. ;docref_ext = .html
    - [" [6 [# h, k

  551. 9 J% u' S+ ?9 e; V' H
  552. ; String to output before an error message. PHP's default behavior is to leave) v8 S- C+ n- N9 L( u- Y1 x: M* d
  553. ; this setting blank.  L9 i/ W7 x" U& c; q& |8 H) d
  554. ; http://php.net/error-prepend-string
    $ p. B7 R. J) L! e, j
  555. ; Example:1 e% {( c, j0 I6 I
  556. ;error_prepend_string = "<span style='color: #ff0000'>"8 b, N: _# S; s

  557. : [# J1 C7 s, t
  558. ; String to output after an error message. PHP's default behavior is to leave
    2 [. |# s' r/ s
  559. ; this setting blank.. {5 |$ L/ c/ v: |& n  r
  560. ; http://php.net/error-append-string
    4 e$ d% V* t! F1 l
  561. ; Example:
    $ M4 [; W+ p/ A! \7 w9 E$ @
  562. ;error_append_string = "</span>"  `+ F: Y3 w* ]4 \, k

  563. 0 J7 d: e7 T2 p) h. @: U- q
  564. ; Log errors to specified file. PHP's default behavior is to leave this value" P2 I: A# _$ M2 P. A
  565. ; empty.
    0 E4 \! l0 j; d9 d
  566. ; http://php.net/error-log- Y9 D. C3 P$ J7 j. ]# m
  567. ; Example:
    . L! m2 G+ L8 g
  568. ;error_log = php_errors.log0 l! T/ n+ ?2 g3 e5 \
  569. ; Log errors to syslog (Event Log on Windows).
    " E  L% C) L% E6 W0 l
  570. ;error_log = syslog5 J9 {( @5 C6 f! a; l% u
  571. + r  W: O0 m& ~5 q. j, B
  572. ;windows.show_crt_warning
    . \7 J: k1 s' H. v- c
  573. ; Default value: 0' }1 Y  ?, W: l2 M& T
  574. ; Development value: 0
    7 E: l$ M5 a, L$ {4 V0 T
  575. ; Production value: 05 C- k1 X; P. K/ }( P& Z' e' u
  576. . ?" `9 J% w' f. e+ a% m8 _
  577. ;;;;;;;;;;;;;;;;;% I3 w* ~: @! O, H
  578. ; Data Handling ;% p7 k8 h+ y3 e* `6 b& S! k6 ]
  579. ;;;;;;;;;;;;;;;;;8 T) r% Z8 J: Z( y

  580. 7 L3 l3 G/ x0 Y, {( X- r
  581. ; The separator used in PHP generated URLs to separate arguments.4 T" o0 D& \& @' \3 B8 e3 j
  582. ; PHP's default setting is "&"." r, U  ?  n% G/ M
  583. ; http://php.net/arg-separator.output
    3 L% N+ S% i  c5 x0 G
  584. ; Example:- m7 V2 c/ O/ f0 q' x
  585. ;arg_separator.output = "&": u5 L; B6 J3 @8 A8 D7 `6 E  x/ R
  586. + b2 D" m$ _6 B/ y
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    3 Y9 F0 ?" o+ s2 |( v0 q
  588. ; PHP's default setting is "&".
    , q6 E( F9 |) u5 }; D/ P# u6 N( F
  589. ; NOTE: Every character in this directive is considered as separator!
    7 N5 j9 M6 U% O5 K7 n9 H6 w4 D' i
  590. ; http://php.net/arg-separator.input
    9 J# u" z) [4 b+ M$ \/ Z
  591. ; Example:* G; Y) q2 a) z. k9 Y) S5 @$ w5 B2 {
  592. ;arg_separator.input = ";&"
    , a- k$ R7 W0 z% D
  593. # h8 V9 D  E( Q
  594. ; This directive determines which super global arrays are registered when PHP6 }, R7 q& u3 n1 q* F. w
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 i6 T5 Y( O& A3 x; l% E7 Q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty/ ~% ?# z) C6 E
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    8 \! d2 m3 T" B) |0 |
  598. ; used as the others, ENV is not recommended on productions servers. You6 `, T# w/ X9 |3 k8 N
  599. ; can still get access to the environment variables through getenv() should you
    7 s, j. e$ o8 ?% [4 r2 g
  600. ; need to.4 c2 S/ W2 ]! I* b$ x/ N: r
  601. ; Default Value: "EGPCS"
      i% Y) W# J- T
  602. ; Development Value: "GPCS"
    ' K  i* T& Z" a: k
  603. ; Production Value: "GPCS";5 ^4 e( o+ X% _
  604. ; http://php.net/variables-order# k* C8 T7 y" B# h# m& a# Y+ L* S
  605. variables_order = "GPCS"" A4 `5 ?" O/ G, n6 C

  606. 4 d8 x% Z* c4 ]2 K
  607. ; This directive determines which super global data (G,P & C) should be; c" u2 ~6 C: d
  608. ; registered into the super global array REQUEST. If so, it also determines, v6 p& D/ P) l( q2 W/ c* L' b
  609. ; the order in which that data is registered. The values for this directive
    / D1 j8 J+ |; x& ~0 U6 g* Y
  610. ; are specified in the same manner as the variables_order directive,
    " N5 i/ H5 n* F$ k. n
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    # l1 i' y3 S3 t( Q( Z8 C5 C- d  w
  612. ; in the variables_order directive. It does not mean it will leave the super. ~5 k+ M3 q$ i5 B, q7 S) n/ S
  613. ; globals array REQUEST empty.
    $ N7 y' z6 m& ^: y7 R, w: z
  614. ; Default Value: None9 x3 {8 S) q5 F8 j% ~# N3 ~
  615. ; Development Value: "GP"8 W- E+ V  J2 E4 a& h, f4 C' n. g
  616. ; Production Value: "GP"
    , Q# U3 M: O% \& t  m
  617. ; http://php.net/request-order
    0 R% G+ X: J4 @1 d0 J5 w6 a' z5 d
  618. request_order = "GP"
    : F& t' P6 `* ^& ?, M

  619. & a/ C% J+ q3 H- O# n; A0 ?
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ) I! o# F. F& _0 {' H
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script) f" n2 Y: t4 j+ [: B
  622. ; is invoked. $argc contains an integer representing the number of arguments6 O0 }7 X, L8 J- u
  623. ; that were passed when the script was invoked. These arrays are extremely
    $ W% z/ o, a: w' X+ ^
  624. ; useful when running scripts from the command line. When this directive is
    8 x% u  m* u: i- k5 a# z* o9 T
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; V8 ?% g: @' X) e% W$ F2 f
  626. ; a script is executed. For performance reasons, this feature should be disabled) ?3 T* p$ F% ~+ F6 I5 F" E6 s( I% _
  627. ; on production servers.
    ! q. C2 B  y, P7 U( W
  628. ; Note: This directive is hardcoded to On for the CLI SAPI, B. `1 z' l# P
  629. ; Default Value: On
    5 u9 Y8 n* m6 W; V) |6 z
  630. ; Development Value: Off: H* g( J$ U  r" R- N# H
  631. ; Production Value: Off' _( k9 P5 X9 ?( b" L! n4 N
  632. ; http://php.net/register-argc-argv' Y' B7 a1 H% A% n, j- _
  633. register_argc_argv = Off
      w0 T, d6 W: A8 Y( W! w

  634. 9 V+ X! F1 |0 S1 F
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're1 Z" Q7 C  ~9 B$ U
  636. ; first used (Just In Time) instead of when the script starts. If these
    ; r% N# a$ L$ g
  637. ; variables are not used within a script, having this directive on will result
      b, @% |3 r! h9 W8 r0 j: a
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled7 f: q5 y9 X& g0 u& l
  639. ; for this directive to have any affect.8 O5 x3 o  ^  e
  640. ; http://php.net/auto-globals-jit
    7 M/ w+ f) t* G! T
  641. auto_globals_jit = On7 T! k9 z; Q3 h- H: b
  642. - X2 b0 c4 f1 T. t3 h  m. Q/ U: y
  643. ; Whether PHP will read the POST data.
    0 m" K; ^: b0 u# b* f' i
  644. ; This option is enabled by default.% G  E2 \# [; b- E7 c4 o, g
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST9 B% b( w4 f8 r: A- n' _# i* Y
  646. ; and $_FILES to always be empty; the only way you will be able to read the- i% |* v* W# B4 m1 s6 f
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    - `7 y/ n* m2 E1 l% Q3 E8 I2 \
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    0 ?; R; K/ Y8 w9 v: g% I; u' k
  649. ; http://php.net/enable-post-data-reading
    8 f8 i0 Q+ w5 X# c) o
  650. ;enable_post_data_reading = Off
    $ U' O; z2 W) `3 b9 K

  651. : k* w3 w8 Z) M
  652. ; Maximum size of POST data that PHP will accept.1 G% U  g8 A& R
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) ]% Z! r$ C) n9 Z% s
  654. ; is disabled through enable_post_data_reading.% \! C4 M# u9 N" r2 U8 D  ~
  655. ; http://php.net/post-max-size
    - M  I4 \  F9 K# Z, X
  656. post_max_size = 50M
    1 N8 }" N" c6 B. L* D) r3 W9 H
  657. , b5 r& [% [& @# U) K
  658. ; Automatically add files before PHP document.1 g6 f7 e9 E: x& [6 c4 I: P) c) E
  659. ; http://php.net/auto-prepend-file
    : Z: s. u7 H$ \
  660. auto_prepend_file =2 t& `( q6 x1 y0 [- {+ c

  661. 0 j. I( e& ?1 [1 g
  662. ; Automatically add files after PHP document.& S$ N% u) U4 d, v$ W1 _
  663. ; http://php.net/auto-append-file5 x6 n& N* m" M# |' n; O
  664. auto_append_file =
    " S! e. s9 Z3 o( a
  665. 9 C' e9 e+ J9 m/ P6 S$ `
  666. ; By default, PHP will output a media type using the Content-Type header. To& Z  K; G) \$ C( U& @. [( Q
  667. ; disable this, simply set it to be empty.7 {3 l2 e/ C, s! c& Y; ?0 u
  668. ;
    ! {# R1 z# W% {' K, S) a+ P
  669. ; PHP's built-in default media type is set to text/html.
    ; q6 b, n8 J9 L, m5 _3 r* Z( w4 O
  670. ; http://php.net/default-mimetype
    2 l+ w6 S. |1 o, A: P$ A1 o5 l
  671. default_mimetype = "text/html"
    ! L8 z& \( J, H, c& `: z3 }8 x/ b: v7 w
  672. # [: Z. g* g& _) J- T
  673. ; PHP's default character set is set to UTF-8.% z" A5 q4 f; g5 a
  674. ; http://php.net/default-charset
    / N7 x# Q# ?8 Z; t3 `: m
  675. default_charset = "UTF-8"
    ( h8 S9 p0 ^4 B( f$ r& B! P

  676. ' y/ n2 o1 G9 N7 d( G' H: y
  677. ; PHP internal character encoding is set to empty.8 }  Y8 e  E( W* c9 S4 s, H
  678. ; If empty, default_charset is used.
    * L) l; `% w; `- |2 M" q
  679. ; http://php.net/internal-encoding
    / L. e0 U' r# J: |/ U
  680. ;internal_encoding =$ U, Q9 v- [4 A& j6 o

  681. 2 Z9 ^( n; Z* |2 ?$ M0 V. m
  682. ; PHP input character encoding is set to empty.- ?; w0 j$ y; L3 b
  683. ; If empty, default_charset is used.
    / U2 r1 n/ T  g) Y9 M8 d" G
  684. ; http://php.net/input-encoding
    0 b& h( h, D8 m
  685. ;input_encoding =
    / `' M( }& j% \5 ?

  686. 3 U/ L1 w* T: G4 I$ f
  687. ; PHP output character encoding is set to empty.
    7 v/ u6 [7 A* G; a
  688. ; If empty, default_charset is used.! Y  W5 C/ X8 [' J
  689. ; See also output_buffer.
    5 Z% U4 I6 w: k- Y" N
  690. ; http://php.net/output-encoding
    * {+ ^- Q0 ^, K5 {# g( N+ z/ R0 ~; r
  691. ;output_encoding =$ E7 e% b/ J1 Q" ^. X8 y- t5 J
  692. " a6 K8 C, {3 e! q$ J7 J  U5 P
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 y) y. b8 V3 j% M# _
  694. ; Paths and Directories ;
    - q4 j) U/ i5 e6 t0 c! k# C
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, \. w% G7 H7 M7 p* c+ `& T. v
  696. 0 {7 E0 g! _' g5 s$ W
  697. ; UNIX: "/path1:/path2"
    9 z( d4 M) {7 I$ A+ y
  698. ;include_path = ".:/php/includes"
    3 ?2 R$ R; ?/ {) I
  699. ;$ g5 y& p# y4 s& t
  700. ; Windows: "\path1;\path2"
    ( K! O+ e: b& \4 e! o) O" n
  701. ;include_path = ".;c:\php\includes"
    2 }+ d* A8 w( }' C; Y$ m3 L$ B
  702. ;" R$ |: j$ z1 u+ z  x" `
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    - t! f( e1 X) i* ]/ J; p
  704. ; http://php.net/include-path
    . Z% J  U% }& x, G3 M9 V
  705. . ]7 T% s! f3 ^# v8 u7 N8 _
  706. ; The root of the PHP pages, used only if nonempty., g2 C+ E! `1 ?+ _. y. ]1 O5 `
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# V- I  t: j; o# f5 I9 F
  708. ; if you are running php as a CGI under any web server (other than IIS)) f. C: ?2 i" T0 I+ p) m
  709. ; see documentation for security issues.  The alternate is to use the2 e# A' f) U+ A8 B8 X9 h6 E9 \8 h
  710. ; cgi.force_redirect configuration below$ s0 h. j: X' E& ?1 U; U, G2 y
  711. ; http://php.net/doc-root
    . i+ T; B+ p2 `
  712. doc_root =- Z. u1 G- _- _  G! {

  713. 1 i% \0 ]" s. T8 Y. b
  714. ; The directory under which PHP opens the script using /~username used only5 f' {: O$ d2 Y
  715. ; if nonempty.
    0 T5 M6 V6 i! v+ C6 S
  716. ; http://php.net/user-dir. c9 Q* e+ ^9 |/ g5 q( c" G
  717. user_dir =
    8 z5 v( Z. L4 j0 C' j/ {- D5 h7 x

  718. ( p5 ^" @, L7 S; |) E2 s. X# p
  719. ; Directory in which the loadable extensions (modules) reside.
    , X; V8 q" n  L7 n5 F
  720. ; http://php.net/extension-dir
    : H) u8 z4 K) k3 a
  721. ; extension_dir = "./"
    ) F0 h  d0 o5 {7 f: H
  722. ; On windows:
    ; o$ [0 S6 r& Q2 x$ b  o
  723. ; extension_dir = "ext"5 X$ Y% K: z" N1 |. a& Z
  724. * O& a- r' H  B. J
  725. ; Directory where the temporary files should be placed.
    / b6 J5 l9 b3 U+ u8 z( z. A
  726. ; Defaults to the system default (see sys_get_temp_dir)- \& {% @) Y, j- g' X( G" H
  727. ; sys_temp_dir = "/tmp"
    6 N; ~+ A! ~9 j) T9 ^
  728.   L3 i9 ^+ i0 }
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + k/ L! u. u) l5 x" l. S
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically0 p/ e- W# E0 K; H4 T8 C. O
  731. ; disabled on them.  o2 m/ \1 p, M% c' r9 @0 v
  732. ; http://php.net/enable-dl
    1 s& c7 a$ p3 T: g& M" m3 l
  733. enable_dl = Off! \+ D/ j& s3 B/ n6 A" A1 x! S

  734. * [2 V2 v5 P! g2 M# t
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under8 R4 F! d$ p$ F% e  k
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    3 J1 O+ G, h# `- j! s$ R1 G
  737. ; turn it off here AT YOUR OWN RISK$ D) l7 I* U0 Q% G, R
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    * O2 S7 j$ t5 A
  739. ; http://php.net/cgi.force-redirect$ z* \5 g  y. \; O
  740. ;cgi.force_redirect = 1
    # W" [8 S5 V4 Q+ a

  741. 9 ~8 D* b9 x1 t# H/ Q; l4 w
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 Q1 t0 o: @) U. C! Z
  743. ; every request. PHP's default behavior is to disable this feature.. N' n; R  a' E5 l1 H/ o1 p, {9 |
  744. ;cgi.nph = 1
    3 @9 u% `# q* f* P) t
  745. , K0 C8 I$ V- x; a  m1 d
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ' N0 @3 y" F/ h( n* K
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    % U' W6 k0 `- W2 a' B
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) F: p4 Y+ p0 Q. _& c
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- d7 M3 @5 [$ s+ h; B, _
  750. ; http://php.net/cgi.redirect-status-env
    9 \/ B0 |8 Y$ W7 ]: j% u+ d
  751. ;cgi.redirect_status_env =2 q/ M2 t) M- T" E' c
  752. 0 R, r1 G4 f' \) ^% c  E1 c; d
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& f0 b4 N- z+ c: A; \
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( ]/ T# ~) g0 W/ Y( l
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: z2 C- C) F8 l/ e+ Q, E, _
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting1 _, @6 ^9 n/ U2 w6 C5 B" ~6 r. B% O
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts8 R- q( `& b7 J: f4 r7 ]% F. w
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    : Q; j3 S% Y2 f" i7 N- X( w1 @/ U
  759. ; http://php.net/cgi.fix-pathinfo" _' A* O5 A& ?% s( F
  760. cgi.fix_pathinfo=1
    ' Y0 U7 h1 r. ^2 Q

  761. 8 {" Y% [, y& M& ~% K9 D
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    " |2 p: A7 u! B2 G4 O4 U) {
  763. ; of the web tree and people will not be able to circumvent .htaccess security.; b) x" Z% u* ?" l9 u# v) c& S7 m
  764. ; http://php.net/cgi.dicard-path7 S2 B3 G+ c) j9 A8 V4 Z
  765. ;cgi.discard_path=1
    4 `! D& {  a9 O8 i0 C  F

  766. 7 o9 X% B/ Y1 R) x8 C
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! f; D' w' P  H7 k! \) y' J
  768. ; security tokens of the calling client.  This allows IIS to define the
    0 k) ~% V  F$ X$ C' x
  769. ; security context that the request runs under.  mod_fastcgi under Apache* x8 N( ]" C1 d% U4 W
  770. ; does not currently support this feature (03/17/2002)
    6 W) ^9 W/ J0 J5 v, k
  771. ; Set to 1 if running under IIS.  Default is zero.2 m$ b0 N. A' m  S" M, t! N& h+ d& e
  772. ; http://php.net/fastcgi.impersonate/ }4 }0 l' y) E8 C/ i: h
  773. ;fastcgi.impersonate = 1
    # X& `: n$ H: D1 i' C

  774. ' F3 z, {3 S2 |; q3 |- b
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable0 I8 i( v1 L3 K
  776. ; this feature.
    - ^) ^* k3 P# k( E8 a
  777. ;fastcgi.logging = 06 V; \( y$ v) S' |2 T
  778. 0 x; W2 d, g! j" O6 F1 e8 m
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 J* W2 a# V* H) z3 `/ M, s9 ~! ]8 T
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that8 a( O) }. m( P. U, }
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    4 Y5 ]4 q& z+ w5 v0 X1 a" S. _
  782. ; RFC2616 compliant header.
    : i6 f, D6 T$ @$ I
  783. ; Default is zero.- @$ D# L2 l; e' r' d
  784. ; http://php.net/cgi.rfc2616-headers" A# _* \2 K) _- i5 d
  785. ;cgi.rfc2616_headers = 0
    4 a+ ]3 z0 m) [. @

  786. 6 p4 t' ~; S1 Y* ~. Y
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!: M# f" i# n% D0 f; ~
  788. ; (shebang) at the top of the running script. This line might be needed if the2 Q: [! q: m) c0 P
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    7 m0 {9 W0 D' e$ P: |0 k
  790. ; mode skips this line and ignores its content if this directive is turned on.
    2 D, @% b) _% {& _' B7 ^9 s, L
  791. ; http://php.net/cgi.check-shebang-line1 I# C0 ]* T; W7 o7 L: H7 @" G+ z
  792. ;cgi.check_shebang_line=1! q9 X) A8 T0 C& e! ^

  793. , i6 z5 X" e2 g# H
  794. ;;;;;;;;;;;;;;;;3 H  Y# q7 V+ v. R' w8 i9 S* M
  795. ; File Uploads ;7 }  p' j7 d, [7 _; o3 f8 F; K/ V' {
  796. ;;;;;;;;;;;;;;;;. o1 T7 q! {4 h+ }6 N# n+ Q
  797. ( v) D9 x7 t; w. L$ w2 k& s
  798. ; Whether to allow HTTP file uploads.8 E+ G4 I& G6 |- e  N7 f
  799. ; http://php.net/file-uploads
    3 j, W$ c. }* }) I) u# u
  800. file_uploads = On% c- m7 [5 D  ~$ o
  801. $ ^3 Q4 p  Z# C" v$ U
  802. ; Temporary directory for HTTP uploaded files (will use system default if not0 Q$ \" J9 B8 n. u2 _
  803. ; specified).% z7 q: }7 V# Y" b9 z
  804. ; http://php.net/upload-tmp-dir
    0 d3 _- {9 p' c1 v3 F5 p0 ]
  805. ;upload_tmp_dir =' r/ C8 p( o8 V, ^, y- v+ M
  806. % Z1 Y6 Z6 o" D' D( J1 N
  807. ; Maximum allowed size for uploaded files.5 v3 H% y; P9 I  C) m8 j
  808. ; http://php.net/upload-max-filesize
    2 m0 O# j3 ]. m9 ^
  809. upload_max_filesize = 50M
    5 ?8 D7 p2 c3 h$ N0 R
  810. / ~' I2 X# S! \) \8 P0 Y
  811. ; Maximum number of files that can be uploaded via a single request0 |. \- @" j1 B' Q$ B+ h
  812. max_file_uploads = 20' d" g0 l' {4 \' n9 @8 w! u, D- j2 `  O

  813. 9 R; `2 V# m  E9 A6 c; J
  814. ;;;;;;;;;;;;;;;;;;4 \, P$ L6 X! F$ K
  815. ; Fopen wrappers ;7 }  n$ S" V' Y" F; ^
  816. ;;;;;;;;;;;;;;;;;;# B  q: C2 |7 e& b: G& B) B$ u
  817. * s# ^' P& k( v: G& W
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : N2 s1 w5 L- Q, ?; J" ~
  819. ; http://php.net/allow-url-fopen
    : ~* h7 w: Z5 [7 F( }# i
  820. allow_url_fopen = On- c' s7 h# }4 x) r" Q$ p
  821. " E6 ^* x8 O" C4 q) X% O
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files./ @1 f0 y6 ~  G2 X$ v# A
  823. ; http://php.net/allow-url-include
    3 N, Y6 t' g" F, G
  824. allow_url_include = Off
    4 b5 f: H$ V5 `
  825. 1 f2 f' S1 ]/ t
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    5 q) k- j1 ~% |: y) K. @* y% n
  827. ; for this is empty.1 o6 ^2 A- S2 Z% l! |; u
  828. ; http://php.net/from: x6 w# Z1 I: Q6 l" ^) Q
  829. ;from="john@doe.com") ]* x, \' J# b# _, a# R6 S, }
  830. + e% a) e1 t! `( G) u6 J
  831. ; Define the User-Agent string. PHP's default setting for this is empty.# m; }1 E% w* q# w$ A7 u- Q
  832. ; http://php.net/user-agent& B, I( H+ ~$ s; O2 \
  833. ;user_agent="PHP"( ^- T! N; Y0 Y% r
  834. - X% ~8 e  p; m( e
  835. ; Default timeout for socket based streams (seconds)
    - h$ F  H. C; X/ }8 @* C
  836. ; http://php.net/default-socket-timeout  @) U/ @7 _- X' f: O" K  U
  837. default_socket_timeout = 60' ~7 \( Q9 T9 J5 M
  838. 1 o' d  W. m' t7 @
  839. ; If your scripts have to deal with files from Macintosh systems,
    : `) P" N: h3 X6 `/ r& v7 p
  840. ; or you are running on a Mac and need to deal with files from) D8 }& k$ s8 d. \9 I
  841. ; unix or win32 systems, setting this flag will cause PHP to
    2 O" Q2 z5 I$ e2 x
  842. ; automatically detect the EOL character in those files so that6 a5 V& I, K6 W" e( _9 G
  843. ; fgets() and file() will work regardless of the source of the file.
    % y4 l* A0 t0 ?$ b- u* ?5 V1 L9 u
  844. ; http://php.net/auto-detect-line-endings
    # u8 J( A7 W7 H# s) i" T
  845. ;auto_detect_line_endings = Off" J% C8 D6 w" j# ~' X

  846. # Q4 x! i, J. e
  847. ;;;;;;;;;;;;;;;;;;;;;;4 Q$ ^$ ~! _( A( N& J
  848. ; Dynamic Extensions ;. V9 Q* _' O9 r  m1 [% \" O2 ^
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ' f6 j! q7 P1 @2 R  `: G, j

  850. # g" g. M1 P( O- o1 @+ _+ \7 M
  851. ; If you wish to have an extension loaded automatically, use the following
    3 v0 o! W/ @# {; t: Z
  852. ; syntax:
    ( C9 _: U% H+ m8 r( Q
  853. ;
    0 K' n  U1 o" k; S
  854. ;   extension=modulename.extension* v7 j' D3 q: ^7 P1 f
  855. ;2 X5 v( @$ z8 y; }
  856. ; For example, on Windows:
    - e( S. V, Y8 t9 }
  857. ;6 W6 l5 R4 j* ~6 G/ I: c
  858. ;   extension=msql.dll/ C8 v* d6 v3 x# P
  859. ;/ @# \7 d, v. N/ b2 d- W# o
  860. ; ... or under UNIX:
    $ z$ \5 f9 b# K
  861. ;
    * ]' o; h  W1 M" a1 t8 T
  862. ;   extension=msql.so1 J' [+ H' h2 H9 r' K
  863. ;2 Y! |5 s' q. T* ?7 c5 k9 y6 C( V
  864. ; ... or with a path:
    : X" C2 ?3 X2 U# n
  865. ;2 S% X( ^( R$ ]; v# Y
  866. ;   extension=/path/to/extension/msql.so
    # X: L  ?/ B1 d
  867. ;! P6 U& [# j0 P/ k& s8 M( E1 A% z8 A
  868. ; If you only provide the name of the extension, PHP will look for it in its  G3 ~8 |) H. O% Q% E$ ]
  869. ; default extension directory.* k4 G; W( W3 N- B
  870. ;- \  k: }0 V  _
  871. ; Windows Extensions# w9 R8 ~, G* S  Z. |" m
  872. ; Note that ODBC support is built in, so no dll is needed for it.6 G+ w* f+ f: b, U$ ?& e3 \% n
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    . X" N9 U, @+ \2 `! m2 a: N
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).* P/ Q( |& D0 ]0 k0 d/ c3 p' ?& Y
  875. ; Be sure to appropriately set the extension_dir directive.
    3 K: D2 _( ?# }$ p/ a) t6 c- J" N
  876. ;- E, w) d0 Y% S  y2 C# P# M' X
  877. ;extension=php_bz2.dll. {! ]" z9 v% O$ v$ o
  878. ;extension=php_curl.dll
    7 g" X; R5 l9 E% b8 u
  879. ;extension=php_fileinfo.dll
    7 d! C) v4 r- U
  880. ;extension=php_ftp.dll
    3 u5 @7 X$ M( {' T* O  c2 [" k0 ^
  881. ;extension=php_gd2.dll1 b/ Q: @9 g, {$ e; g6 h* R4 J0 I
  882. ;extension=php_gettext.dll6 F, w" o! O) ^8 E! i
  883. ;extension=php_gmp.dll$ C" S' O  Y( L
  884. ;extension=php_intl.dll( _4 L9 O/ j$ v+ @/ v& W
  885. ;extension=php_imap.dll  n- ]& r6 j* z
  886. ;extension=php_interbase.dll6 S. M* g- q& p* d+ ?% o% |- j. [8 m1 i) Z
  887. ;extension=php_ldap.dll6 }( w) Y% ?4 a$ X4 H6 I' W  j* ^' Y
  888. ;extension=php_mbstring.dll
    6 ?; o' H# i% m
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ; l' N4 Z  s7 I. `* u
  890. ;extension=php_mysqli.dll6 C7 D- c$ [  z! n6 B, y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , T1 U6 Z8 v9 g) U
  892. ;extension=php_openssl.dll3 t2 s* B. |$ X# f5 g3 Z% m/ @
  893. ;extension=php_pdo_firebird.dll
      ^! _6 ^- d# p9 I
  894. ;extension=php_pdo_mysql.dll
    & c1 t3 f) U- L5 H$ i6 w
  895. ;extension=php_pdo_oci.dll
    * M: `0 O5 ^( z& {! O  k" j8 R
  896. ;extension=php_pdo_odbc.dll
    ( W+ E% U% v, o
  897. ;extension=php_pdo_pgsql.dll) f, h! j$ a& d: z
  898. ;extension=php_pdo_sqlite.dll
    - X5 k5 M- C: G% P
  899. ;extension=php_pgsql.dll0 b7 a, {4 s0 X7 D
  900. ;extension=php_shmop.dll0 X, ^* _9 A  u
  901. . Y$ i! s$ F& V3 S0 t
  902. ; The MIBS data available in the PHP distribution must be installed.8 x# R4 c. F+ v5 W& w
  903. ; See http://www.php.net/manual/en/snmp.installation.php  x" s; s2 d# {2 N2 S; N
  904. ;extension=php_snmp.dll
    1 i6 [/ y- \- T! L

  905. / f4 Y% h  }$ f4 O3 p  W# A% T
  906. ;extension=php_soap.dll
    ) X( r4 h8 @6 ]  ^+ j9 x) y. m
  907. ;extension=php_sockets.dll0 q, p* h& U3 s% b, Q+ C
  908. ;extension=php_sqlite3.dll, z' \$ E, i9 [
  909. ;extension=php_tidy.dll
    * q7 f9 L9 Q' ^, x: N1 n7 d
  910. ;extension=php_xmlrpc.dll( |  ?' _2 c3 E
  911. ;extension=php_xsl.dll* v! q' z' z$ l- A; \

  912. 8 p0 P% h: m( G5 e4 o! K- Q
  913. ;;;;;;;;;;;;;;;;;;;) p8 F8 q3 ^8 S% H! V' h
  914. ; Module Settings ;: W$ V' @9 v9 S3 I
  915. ;;;;;;;;;;;;;;;;;;;& |7 a# \9 g) h; a; o6 a4 A8 L
  916. ' ^! l5 }) @  V3 m3 J1 b
  917. [CLI Server]
    , |, K; D( \4 h, K1 Y, j
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.+ x$ i) I. p! M- c! r8 U* ]
  919. cli_server.color = On* j4 y& p. h. t; M% k6 ]1 h) M& x

  920. 1 c# ^) Y0 W! q  G
  921. [Date]
    " y! ~; q8 s9 E0 x
  922. ; Defines the default timezone used by the date functions
    ; c! m. m0 q" R' V1 a
  923. ; http://php.net/date.timezone2 l7 t! x. |0 u2 ]+ N3 M
  924. date.timezone = PRC. k. X$ A; g& A7 s
  925. ' Q2 r0 @  z! B4 _! h7 P
  926. ; http://php.net/date.default-latitude
    . c' F9 L2 l) q0 C' c. k+ O3 \  F
  927. ;date.default_latitude = 31.76673 ~- f3 S% P" h1 y0 G2 W( b0 r* q: z

  928. ( i0 i% T- s0 d* ~; N1 c" I1 o  b
  929. ; http://php.net/date.default-longitude0 T; o, i' K! U8 C  c5 w# M3 H
  930. ;date.default_longitude = 35.2333
    . u: ]) H7 I5 A) s& u  s: ~4 @
  931. ! C2 \* t" \* g
  932. ; http://php.net/date.sunrise-zenith
    8 f  v. ^3 @1 f  n# ^* }- W1 l
  933. ;date.sunrise_zenith = 90.583333# U9 A! q* N. C9 z+ Z. d) j

  934. - e: B" s6 d- Q+ P3 A! [
  935. ; http://php.net/date.sunset-zenith/ A+ f& Y  l6 P: l* I* F  m
  936. ;date.sunset_zenith = 90.5833334 _5 L1 v9 |/ ?6 M

  937. " Y( h- O& A$ A. Q1 A  V" g
  938. [filter]
    1 N  g! ^. p( }$ I. e
  939. ; http://php.net/filter.default2 V7 E/ V7 Q1 n
  940. ;filter.default = unsafe_raw
    ( c; v6 |( m5 Z# O: A7 H
  941. 7 R9 n. Q3 R; P7 {0 X7 m) R
  942. ; http://php.net/filter.default-flags
    8 u+ }6 }* U* B# }2 y
  943. ;filter.default_flags =; ^' O* A( `, I4 e. Z8 [
  944. + j. F  X- t; r0 X% y
  945. [iconv]
    1 V1 L0 X2 I$ v) x% j2 [0 {% z
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.8 s& q  O; k- y& ?/ L# Q
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.3 d+ e8 N6 W* K) Q, p7 M
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ o- q- t9 L4 ?, S) z0 L. J
  949. ;iconv.input_encoding =
    % O4 M; l+ t/ j) Y5 Y- z; {

  950. 8 u/ K( Z1 y9 ~' q+ J6 e/ i8 ?6 H
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 d+ d. H4 c8 q7 w3 {3 p
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    7 s: N- [( D5 N& D* b/ e, \) I
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + p( y4 `) U$ V
  954. ;iconv.internal_encoding =
    / \" ?; V+ i0 v
  955.   q0 O0 f2 L8 m9 Q, L% M- j5 z; o- o
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    * j% V2 w/ k& H6 @- m5 b
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.: p. i9 n' T) H4 V; z0 U( d2 t0 a
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding! E* Z6 B: K3 G: l7 @1 L
  959. ; To use an output encoding conversion, iconv's output handler must be set
    4 a* D) J5 {9 `
  960. ; otherwise output encoding conversion cannot be performed.: _4 W% c# Z: m. `  P
  961. ;iconv.output_encoding =
    6 U2 ~0 j1 K# r9 L1 }4 Y
  962. - B1 t5 [- J- S9 }
  963. [intl]' ^" t  s9 D+ V* o2 ]/ D3 [
  964. ;intl.default_locale =
    $ T! K# n9 R# I, v4 e9 F: \; j
  965. ; This directive allows you to produce PHP errors when some error
    ) A% |0 `8 M! f  k0 f, V
  966. ; happens within intl functions. The value is the level of the error produced., K+ r6 x; t! L8 k+ r$ c
  967. ; Default is 0, which does not produce any errors.
    4 _$ ]: X5 j# f
  968. ;intl.error_level = E_WARNING, j9 _8 g4 m# E% a1 V
  969. ;intl.use_exceptions = 0
    2 d1 I5 d9 c: ^) t( ~
  970. $ ]/ c5 m5 l' `( o8 [+ T. E% g; J
  971. [sqlite3]
    . ~; }) v" Z) [( @
  972. ;sqlite3.extension_dir =. U  p7 P- K+ K. y+ a8 P

  973. 8 @0 R& U4 t* w
  974. [Pcre]9 P, c+ X  A% q3 v3 a2 X6 @4 R
  975. ;PCRE library backtracking limit.0 U7 I: L' ], w- t# G6 R* {6 x
  976. ; http://php.net/pcre.backtrack-limit1 ?  i5 z+ r# v$ t  v
  977. ;pcre.backtrack_limit=100000
    / f3 h' ~6 v4 R0 q
  978. " T  L" ^! p0 A9 _
  979. ;PCRE library recursion limit.
    0 i: h4 W  f% ]4 a3 z2 }
  980. ;Please note that if you set this value to a high number you may consume all9 y) g! Y$ c1 W9 D3 X
  981. ;the available process stack and eventually crash PHP (due to reaching the( J0 F# o1 q' O. E% i3 X7 P
  982. ;stack size limit imposed by the Operating System).! ~, S  X( y" O
  983. ; http://php.net/pcre.recursion-limit
    3 @2 @( x; F2 G
  984. ;pcre.recursion_limit=100000
    6 ^$ _4 }) n. ]3 P/ h! V

  985. 1 h+ X* z5 Z( y2 X
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE4 a3 [5 d% D, k% C( w
  987. ;library to be compiled with JIT support.
    ) R" H1 L5 v; h1 |3 i3 ^
  988. ;pcre.jit=1
    7 Q5 l* n7 L+ [2 F6 Y7 q
  989. 9 N* V$ |/ n+ e* x+ b" r4 F
  990. [Pdo]
    7 V" A- Z3 J  ?) @
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    7 l  Z& t0 G; X2 e
  992. ; http://php.net/pdo-odbc.connection-pooling
    3 N" g3 d3 R7 j9 Y
  993. ;pdo_odbc.connection_pooling=strict
      v, d! Z3 X7 R! Z; g( E
  994. : D+ i+ `# Q4 b2 h8 h
  995. ;pdo_odbc.db2_instance_name
    + W0 n5 @0 o4 ]; X' _( R5 x  ?3 _

  996. 2 j$ J, ?6 i, n# q; h) I
  997. [Pdo_mysql]
    3 x. _0 Z/ c+ v
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 _: Y. [. x3 N, X  E2 f
  999. ; http://php.net/pdo_mysql.cache_size, K; h$ ]1 z! |9 S* f2 L; {/ Q5 N& }
  1000. pdo_mysql.cache_size = 20002 k  k) K# j/ |* G* c% F( O1 m

  1001. # k6 t# f/ W7 I' _
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      {; m+ j& q0 B; `- E) [$ V# ?
  1003. ; MySQL defaults.
    ( s# [" q( ?& Z" g9 y. G
  1004. ; http://php.net/pdo_mysql.default-socket/ p1 y) ?8 G9 R; O: l4 m
  1005. pdo_mysql.default_socket=
    5 p5 o# ^" C& m! V# g6 v6 m

  1006. * J/ w7 a, z& t0 q
  1007. [Phar]8 z- N& r- m  f! r* g/ ~
  1008. ; http://php.net/phar.readonly
    ; Y2 R1 {- \5 Q6 T6 X. y* u
  1009. ;phar.readonly = On4 y* a" K8 {& n
  1010. # p' q0 ^; S0 n) p. ~: w2 ?
  1011. ; http://php.net/phar.require-hash. C2 c4 }; Q, f9 {, g
  1012. ;phar.require_hash = On+ U8 M6 W8 \  I3 w7 s, g5 {

  1013. % }' g6 G% L4 m  ]- {
  1014. ;phar.cache_list =, c  K+ q) M% ]  Y6 N+ o4 m8 h
  1015. 7 F# E0 ?, \2 H( U. h% {
  1016. [mail function]( f- J% h( l! \; o7 z3 v
  1017. ; For Win32 only.
    4 n. D& j; Z9 h& @
  1018. ; http://php.net/smtp9 Y) f8 h2 |- ?; {. H0 m. e6 l
  1019. SMTP = localhost
    ' P! ~( C# }/ @# w$ E9 `- c, K! X
  1020. ; http://php.net/smtp-port
    ) P% N( p; x& t+ _7 l- _" L2 s9 U
  1021. smtp_port = 25
    3 g1 S! k& l( I2 k

  1022. 1 k& ?9 }& L+ V* N) X; n
  1023. ; For Win32 only.5 c) s' P' T. k  \/ T# G5 v  d7 t
  1024. ; http://php.net/sendmail-from
    2 j6 \! T0 A7 U& \) N. v
  1025. ;sendmail_from = me@example.com
    : M& E; I% A8 H* \9 d
  1026. # D$ S/ j( g' d; K7 n( A7 G
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").7 G0 T2 S; m) z' x) M
  1028. ; http://php.net/sendmail-path( d+ ]& S8 a% [) @
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    4 Z! j+ B. I% w2 s% d

  1030. 5 i9 ^+ X& x5 o5 ?5 X
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    5 T9 _5 }4 O2 W9 i) ]3 k/ @  o
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ' T/ e1 C1 U; j
  1033. ; the 5th parameter to mail().' D+ f* V9 g, C
  1034. ;mail.force_extra_parameters =+ o) \. c! d* l
  1035. ! k! N; B2 G; q: }& q$ p
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    8 U4 X) u& T% ^4 p  }
  1037. mail.add_x_header = On
    8 W0 c% B; p; g0 i- V
  1038. - x& f. R& U& b1 y1 F& q; ]
  1039. ; The path to a log file that will log all mail() calls. Log entries include" A; Q$ p. i  \, J$ N
  1040. ; the full path of the script, line number, To address and headers.
    8 }) X4 P# p: v/ z2 k  g
  1041. ;mail.log =
    / r: _% b% d1 Z8 \1 }/ z, f
  1042. ; Log mail to syslog (Event Log on Windows).3 U" h, c% ?$ B
  1043. ;mail.log = syslog& E2 k. j: g1 o3 _4 _7 @
  1044. ) o# W% e- ~; d" E
  1045. [SQL]& {: R: E) q' ^7 r. ~5 Q3 R& n4 M
  1046. ; http://php.net/sql.safe-mode4 B! L+ B9 g1 q2 C
  1047. sql.safe_mode = Off% ]' _( D- u0 f) T9 t/ Z- {% a

  1048. ! o( I7 o/ r/ J4 E
  1049. [ODBC]
    0 w7 K8 ^1 T$ X9 b% f4 K  l
  1050. ; http://php.net/odbc.default-db
    . R1 g* m# i  S/ f3 z, t
  1051. ;odbc.default_db    =  Not yet implemented
    % d2 R" W- Q. @% G* v" u* y

  1052. 2 n0 f4 N+ D9 k' t) }# K0 D7 h
  1053. ; http://php.net/odbc.default-user
    % E, Q* ]1 K9 \6 e& q( t* ^
  1054. ;odbc.default_user  =  Not yet implemented  }5 U2 d; J, w4 q; N& n& e
  1055. ; n# ?4 c) o3 Q: Z
  1056. ; http://php.net/odbc.default-pw
    + F: n2 F' `$ `" F9 v+ S
  1057. ;odbc.default_pw    =  Not yet implemented
    " M( s' G- U% _- H: p4 Y' _" x& u( V
  1058. ' T7 h7 H& P+ X% |' W- m/ L
  1059. ; Controls the ODBC cursor model.
      j' Z! {- w( G+ _1 b0 U
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ; D/ y* b( p5 d5 t8 Z
  1061. ;odbc.default_cursortype
    ) X/ W3 T* h1 G( y5 [
  1062. / K* P+ {8 z5 g% m3 H
  1063. ; Allow or prevent persistent links.
    2 X5 {- W9 l, ]6 ?# g. c  _
  1064. ; http://php.net/odbc.allow-persistent& ^% f; y' p' J) W9 n' h
  1065. odbc.allow_persistent = On5 `  j, ~9 M& W' ^6 v
  1066. 5 N( h6 h, N0 D" x& V
  1067. ; Check that a connection is still valid before reuse.
    4 i8 k# I, N- X4 W
  1068. ; http://php.net/odbc.check-persistent# ~1 X, m. v2 G% M! h! P
  1069. odbc.check_persistent = On
    7 ]" b, h: i6 H6 f* |' W

  1070. 5 |- Z* H' v# s- L0 i3 S
  1071. ; Maximum number of persistent links.  -1 means no limit.+ m5 k& w, r5 l3 g: k2 I) m
  1072. ; http://php.net/odbc.max-persistent
    3 Y3 t$ B! V7 J
  1073. odbc.max_persistent = -1. Q# d% W- G3 [8 }: y! _( D# o
  1074. - Z6 q# a1 p0 O0 A* c- T' Y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 z# Z1 k( P$ g+ \, V
  1076. ; http://php.net/odbc.max-links/ c0 R9 Z; j0 `
  1077. odbc.max_links = -1+ U+ R" r: v/ R: ?4 w, e% q+ ~& G) w
  1078. 1 o% j5 D- ~  U$ K! n. n3 N1 k
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means! Y. a: f% Q4 O+ R
  1080. ; passthru.
    , ]0 `* t0 ^# p* W
  1081. ; http://php.net/odbc.defaultlrl1 Y6 u- T. ?0 Y- h0 h' R6 Z2 G
  1082. odbc.defaultlrl = 4096
    ! _3 |0 ~* C! k. {) G& P
  1083. 4 B0 Q& H  `/ q% ^' n( b" @/ V" V# {
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.9 l! M( r5 L0 i
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    * S0 A1 P  T. I' f" y% ?9 g
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 \! F  o0 S5 e2 w" h5 U, M; T
  1087. ; http://php.net/odbc.defaultbinmode
    . c! O2 D' K- S4 W& L& I
  1088. odbc.defaultbinmode = 11 I. m2 F) G2 r2 u
  1089. 9 G2 ]" }; h# E) I. a, u
  1090. ;birdstep.max_links = -1, T0 L( k7 ^3 p# u0 ?' U

  1091. - Z$ S6 V6 O( m. }' T, N9 h# b' R" d
  1092. [Interbase]3 O1 h1 q( v8 S  b1 |7 j
  1093. ; Allow or prevent persistent links.) N; `/ V% K4 e" I1 r9 L
  1094. ibase.allow_persistent = 1
    % B/ h$ \; M* r3 u8 h; P
  1095. , w- h' w, u; V& t' B$ P
  1096. ; Maximum number of persistent links.  -1 means no limit.% O( |3 w8 j0 o& Y$ n. O
  1097. ibase.max_persistent = -10 V" O" ^# j5 d% S" ?, i. c
  1098. ! ^" a- V$ e( J  X8 R
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# O# N6 T- c: b$ @( L* S+ X
  1100. ibase.max_links = -1
      w8 ?# i% P* d9 J1 g2 b

  1101. 7 `. f, q# W, h. h$ Z6 W
  1102. ; Default database name for ibase_connect().) Z! U  x$ r# L# A1 \
  1103. ;ibase.default_db =: o! Y2 X, U: f6 V& x
  1104. 2 W3 |0 E. y+ X$ n) T) x% t- Q+ a
  1105. ; Default username for ibase_connect().5 G: X: f0 d  z
  1106. ;ibase.default_user =8 ^& a" @. `- X2 s7 f; ]

  1107. ' A( j. s+ ^  _# a7 C! f
  1108. ; Default password for ibase_connect().
    ( ]5 U9 y! U* \8 i' i
  1109. ;ibase.default_password =
    * a% ^6 }5 d0 G4 J" i: M1 j
  1110. 9 w- H* I" }0 z
  1111. ; Default charset for ibase_connect().2 d- Y3 }2 y- V7 |
  1112. ;ibase.default_charset =) W' F! \) V: \) t  j+ g5 G' T  s

  1113. & p' U! M4 Z' @( b
  1114. ; Default timestamp format., a' v( z1 I- m  P- z3 }
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") \, z6 g, K" N; ~, b% p
  1116. ; E7 b- p! B9 p8 k% K- e5 f6 x
  1117. ; Default date format.
    . v: z4 q) ]" Q: J  P8 s, i' ~
  1118. ibase.dateformat = "%Y-%m-%d"5 F+ s, _! o. B' v

  1119. 4 J. c* A! l, E& o7 z  m) z6 G
  1120. ; Default time format.* I$ D9 D" a9 H3 m6 x/ N" h
  1121. ibase.timeformat = "%H:%M:%S"
    ' _9 U6 t" p) S8 h0 Z  Q( q

  1122. ; P$ p- _( Q+ y. ~3 A
  1123. [MySQLi]9 Z' G7 u$ k0 ^) x( y( K

  1124. - p+ H% G( v5 \) \+ }$ A5 s7 s  p" {( B
  1125. ; Maximum number of persistent links.  -1 means no limit.
    : E0 w9 Y4 H  L" b
  1126. ; http://php.net/mysqli.max-persistent
    ; A  M5 L# b" @4 X2 a2 f* n/ F
  1127. mysqli.max_persistent = -14 \8 |0 ~# b* g0 n
  1128. 5 R; x! o' S8 I3 @# Z) Q$ M
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  s. {5 v  ^) Q1 T! h& N: v
  1130. ; http://php.net/mysqli.allow_local_infile
    2 z7 f2 w5 x7 |* q$ ^
  1131. ;mysqli.allow_local_infile = On7 R0 t3 Y9 L* A( Z) I

  1132. " E9 F' {: l* ?0 q3 L5 c
  1133. ; Allow or prevent persistent links.1 P. G/ C* {* N9 C, M% L
  1134. ; http://php.net/mysqli.allow-persistent
    - g5 K& H# c- J8 p
  1135. mysqli.allow_persistent = On+ v3 f1 F& B( ]
  1136. 6 s$ ]9 E8 x& I
  1137. ; Maximum number of links.  -1 means no limit.( H0 r% t: S& g. T2 q
  1138. ; http://php.net/mysqli.max-links) n0 k/ @: g: k; Y; u3 c  p4 t
  1139. mysqli.max_links = -1
    ( Y6 m' |5 w" [5 D6 h! E) U
  1140. 7 r- h+ E# @/ d2 d( {" T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ t3 y1 u. \, J9 i3 O! \
  1142. ; http://php.net/mysqli.cache_size
    2 [; b# Z/ f, @  s, h
  1143. mysqli.cache_size = 20002 ^" Z, l) W9 z# Y# Y& Q' L0 c

  1144. ' b+ I( A7 y1 X$ V4 i' K% f- i
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use( G. Z. _" o$ o: T$ k4 k& i; y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* |, O0 @+ N6 M! [) s( _, O+ N
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# q8 ?8 W' L& Q, l7 ?% w; G; o# }8 P2 w- l
  1148. ; at MYSQL_PORT.
    4 L* W# r  P8 R: G# y- v) C: I0 f
  1149. ; http://php.net/mysqli.default-port
    7 F% d  i, v  H; i9 Y; p3 L4 u% D
  1150. mysqli.default_port = 3306
    8 i4 T9 f' ?$ ~) _4 Q+ G

  1151. : u0 q9 ~1 v( p  ]5 t
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in' n* e7 N8 c" u' S' V
  1153. ; MySQL defaults.* a, r( I; `: p# X: R# _4 N. M! I! r( B
  1154. ; http://php.net/mysqli.default-socket2 b  R, c6 a8 J
  1155. mysqli.default_socket =6 Y" [' I' C8 T" d8 w
  1156. . m* e; o1 n& t, G
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 h; m! C7 T2 K0 K, Q0 H+ j3 r
  1158. ; http://php.net/mysqli.default-host6 ]* x8 k$ F" ^! O
  1159. mysqli.default_host =0 A' F- D3 x1 Z3 f4 X7 X) F
  1160. % O" Q& Y& {: R
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    7 r5 L1 j8 R4 y2 B: t& ]
  1162. ; http://php.net/mysqli.default-user2 a2 }' K% E0 s9 a2 T  ^6 n1 x
  1163. mysqli.default_user =
    " p8 [2 e) k' G/ w# R: a- U& d5 Y

  1164. ! ?, b! K* Q# M; S4 Q" D
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & T7 h; n4 h+ A+ x: Z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 v7 a- K; ^8 p
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - ~  X) N" I! T2 f. o
  1168. ; and reveal this password!  And of course, any users with read access to this
    / p8 B, B+ b( X9 J& T( v
  1169. ; file will be able to reveal the password as well." v- m' r9 a+ t- ]5 h" L) S4 |3 G
  1170. ; http://php.net/mysqli.default-pw" o. P1 R+ O! R+ N8 s
  1171. mysqli.default_pw =
    6 p( E8 `1 w% c
  1172. % E( K& v, K( l7 D! @
  1173. ; Allow or prevent reconnect
    & D% B- `4 j! X. @3 t) O
  1174. mysqli.reconnect = Off8 U8 h+ l, V" Q( ]% T- {

  1175. % V6 V0 I$ I$ ~$ n, V' S- G+ l
  1176. [mysqlnd]3 ]9 D; k7 X  ?: q1 t/ d; @
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be; {3 @. J  L/ C4 A# j+ ?+ i% i5 ~. G
  1178. ; used to tune and monitor MySQL operations.' Q' A. i9 w8 o3 Z2 G& @
  1179. ; http://php.net/mysqlnd.collect_statistics
    % A, K7 W& c+ j0 {) h4 E2 r- V
  1180. mysqlnd.collect_statistics = On0 T1 V5 y! j! O( g, }" ]* {& P; v

  1181. ; K1 R; T4 h0 p; \
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be) ^4 N# i! w' D! H
  1183. ; used to tune and monitor MySQL operations.
    7 R9 y2 ?6 v; c9 r& J' l" r
  1184. ; http://php.net/mysqlnd.collect_memory_statistics; j% L6 n: `, h6 R5 \  j
  1185. mysqlnd.collect_memory_statistics = Off
    6 e+ S: B  v! E  l3 o; b
  1186. 5 V" N- \0 _! M$ z6 W
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    3 ?3 ]1 ?' h& I' @$ H) Z+ G
  1188. ; file.
    * Z* E6 ^% Y+ X* c* J- w
  1189. ; http://php.net/mysqlnd.debug4 b, X0 |2 g; |! m7 f
  1190. ;mysqlnd.debug =
    # n5 A7 V0 U) ^9 z( h) R
  1191. " w! k% P5 Z7 P) t; m2 b
  1192. ; Defines which queries will be logged.8 {; K8 P9 o& g' R3 U/ y: I
  1193. ; http://php.net/mysqlnd.log_mask# O0 c5 A. g1 ^2 q' Y6 B
  1194. ;mysqlnd.log_mask = 0
    ; e+ q, X4 g5 d* X6 q0 L) o8 g
  1195. 1 j, |8 ]+ q- O& O
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.& {+ \, w- ]9 q( p$ k8 h0 P
  1197. ; http://php.net/mysqlnd.mempool_default_size4 z1 X) {! U. s$ v6 L
  1198. ;mysqlnd.mempool_default_size = 16000
    9 ]2 g3 P* F4 a5 V" G$ F
  1199. 4 J5 h& @! _/ l( O' n; ^
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 _$ _; Y; l' w$ }; M
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
      _6 ?. A3 |+ I, P$ Q
  1202. ;mysqlnd.net_cmd_buffer_size = 2048- P9 G# w+ k! x) V9 `3 `( g

  1203. % Y  h- {4 h3 v% Y- O1 s
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in4 \0 f8 _& R: ]- ]5 k7 G
  1205. ; bytes.
    7 F* v9 i2 t/ J8 @7 }
  1206. ; http://php.net/mysqlnd.net_read_buffer_size2 e1 Z6 n6 ?1 u6 C; h3 [. f
  1207. ;mysqlnd.net_read_buffer_size = 32768
    0 F, E  @4 t( s' o7 D
  1208. ; y4 r: n) r+ S: w7 ^- {7 R, a3 r
  1209. ; Timeout for network requests in seconds.9 {, q3 y+ F4 \3 |% [3 v( c
  1210. ; http://php.net/mysqlnd.net_read_timeout
    % T: Y( w& f# }+ W/ U+ Y2 {
  1211. ;mysqlnd.net_read_timeout = 315360007 s$ Q& \& |0 f; Z( R0 g; f
  1212. ! c! [3 ^; g3 ^
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA9 u: Y+ m( Z9 m( i5 R0 j3 R( C) j
  1214. ; key.
    ( k# B9 L. D8 c
  1215. ; http://php.net/mysqlnd.sha256_server_public_key# J! P2 [8 q6 k
  1216. ;mysqlnd.sha256_server_public_key =
    & ]: W, |! R- y+ N% Y9 c- F

  1217. * U% `- L% w: B3 C
  1218. [OCI8]
    ' M6 R1 k5 A$ t! e# L
  1219. 7 F- B$ D* j, G* ]
  1220. ; Connection: Enables privileged connections using external* R* B9 @% T6 w! ~' R0 ~
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 |6 N. E( L% P/ Y+ Y& q
  1222. ; http://php.net/oci8.privileged-connect
    " j' {) O9 v' a) @4 B6 M. R0 i) ^1 q
  1223. ;oci8.privileged_connect = Off% A; q4 `( Y0 h2 I
  1224. 6 c+ I3 h7 X  \$ V$ X
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    4 R7 n; t  }! `+ S8 l) Z, d! Q& p
  1226. ; process. Using -1 means no limit.$ T. e1 j: t; ]  a# c
  1227. ; http://php.net/oci8.max-persistent8 O- l/ E& q# D5 ]; r! W- U& j
  1228. ;oci8.max_persistent = -1. `5 O0 R+ ~1 j4 F* o9 |

  1229. . i0 s. F* p/ j8 I1 V
  1230. ; Connection: The maximum number of seconds a process is allowed to# M. p1 U: Q6 M5 I0 M
  1231. ; maintain an idle persistent connection. Using -1 means idle/ ^" x; C* Q; W, @
  1232. ; persistent connections will be maintained forever.
    + B8 H+ _& N: s
  1233. ; http://php.net/oci8.persistent-timeout' a5 M% u8 k; c# k1 G4 C# r; u6 N
  1234. ;oci8.persistent_timeout = -1% `$ l' z* Q4 t! @' Q) n
  1235. 6 i$ u, V! C+ i% z  s$ r* i. A
  1236. ; Connection: The number of seconds that must pass before issuing a
    + y! ?$ A$ t, S6 [
  1237. ; ping during oci_pconnect() to check the connection validity. When
    6 q: ~8 d3 w4 Q) v0 i4 a" z4 P
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables4 K# P  [( u" A! `. k
  1239. ; pings completely.  K; u  b. q: I$ N0 f% n8 `  o
  1240. ; http://php.net/oci8.ping-interval
    + d7 k- d+ H  C! i# _8 d) t" O
  1241. ;oci8.ping_interval = 60
    # L! S+ y5 y5 s7 d

  1242. 9 ^5 t( A1 e  x# d' G7 B" M
  1243. ; Connection: Set this to a user chosen connection class to be used
    % f. n# J! `4 `; c1 E7 h* i; f
  1244. ; for all pooled server requests with Oracle 11g Database Resident0 n' T+ o0 Q' s7 h+ o  z+ c! w# {* ^
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to% f% W( P( y& b' O, E% H
  1246. ; the same string for all web servers running the same application,
    % K4 a9 t+ w. N& Z! J- `- f
  1247. ; the database pool must be configured, and the connection string must! K7 k9 |) h/ [. W
  1248. ; specify to use a pooled server.
    , d; m4 B8 g8 g  p, L/ N% }
  1249. ;oci8.connection_class =
    7 J: P+ G" B; B+ I8 K) D! v3 A

  1250. 8 g6 s8 O  N8 q7 ~
  1251. ; High Availability: Using On lets PHP receive Fast Application+ L. ]9 s) ?1 I) J  P% U
  1252. ; Notification (FAN) events generated when a database node fails. The- {( _: S! s4 R. X' z* \1 Y, C; ~0 x
  1253. ; database must also be configured to post FAN events.
    + F! J7 {) Y8 ]6 B
  1254. ;oci8.events = Off
    * Q! {$ D8 H, _1 L5 j
  1255. 4 N0 r" g1 e: Q4 d1 V3 a( J% j8 `( q
  1256. ; Tuning: This option enables statement caching, and specifies how
    ) N& `/ U2 b0 d
  1257. ; many statements to cache. Using 0 disables statement caching.
    8 V1 X; C1 H4 ?* d2 N: w
  1258. ; http://php.net/oci8.statement-cache-size
    + e3 q" E$ ~6 Z& ?+ l" O' }4 K
  1259. ;oci8.statement_cache_size = 20' m7 q( S$ v7 `/ ^1 z- r
  1260. 4 g+ |! J9 ]) X$ q/ ^3 y9 Q8 D
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ) }6 p8 W; l% ]" ]! g5 p
  1262. ; rows that will be fetched automatically after statement execution.; b7 i) ^) `0 T" L* o" _4 z* t2 {
  1263. ; http://php.net/oci8.default-prefetch
    4 `  X& r. ]0 z) K: [
  1264. ;oci8.default_prefetch = 1006 _" }! L6 s. _9 i/ k! r
  1265. / u* o) K! ^( ^( L' a
  1266. ; Compatibility. Using On means oci_close() will not close7 \& w0 v- U4 A) j: }  l# E1 t
  1267. ; oci_connect() and oci_new_connect() connections., \4 k2 q; L# T+ B8 h: F
  1268. ; http://php.net/oci8.old-oci-close-semantics5 T. E1 O% f3 g$ X, R- }5 r
  1269. ;oci8.old_oci_close_semantics = Off& M/ Z4 K/ d- p. D- Z' ]4 F+ c0 |

  1270. . k. W. W9 ?3 d9 ~1 u. y
  1271. [PostgreSQL]
    0 z1 S, j$ ?7 c1 C* K
  1272. ; Allow or prevent persistent links.1 c$ K$ {7 P5 ]1 z
  1273. ; http://php.net/pgsql.allow-persistent$ c2 u1 N2 U6 M* Y( @# F' l
  1274. pgsql.allow_persistent = On
      N3 k6 a6 d9 J) w
  1275. - C7 k- m; t) h7 ^* k% _
  1276. ; Detect broken persistent links always with pg_pconnect().
    2 D2 Y' U4 M6 }* T# E
  1277. ; Auto reset feature requires a little overheads.
    6 X9 F0 g% `  d; M$ y: K
  1278. ; http://php.net/pgsql.auto-reset-persistent3 i) D! y) D4 Z' k# t6 @& ?
  1279. pgsql.auto_reset_persistent = Off# I1 t. d: r! V; f% z1 O

  1280. 7 j# `8 a$ b& D) T  F  h
  1281. ; Maximum number of persistent links.  -1 means no limit.
    + }& T# ~1 L! q3 x$ b
  1282. ; http://php.net/pgsql.max-persistent7 {% B/ x+ R! x& H  s
  1283. pgsql.max_persistent = -11 {9 y4 r$ v' j! i

  1284. 2 W' E, U( C0 ~
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.. ]6 b6 X' C* G3 e
  1286. ; http://php.net/pgsql.max-links' D0 @2 v  |- F: G- Z  \
  1287. pgsql.max_links = -1+ G6 `9 G, t; r

  1288. - n4 ^" I* w& }- F6 d. W: ?. X
  1289. ; Ignore PostgreSQL backends Notice message or not.& V6 D; M2 Q# j
  1290. ; Notice message logging require a little overheads." h  K: a! D7 g6 s9 U
  1291. ; http://php.net/pgsql.ignore-notice# m% e" K1 s& d; D
  1292. pgsql.ignore_notice = 02 h# M& e& K& ]1 @# Q, a1 f

  1293. . \: @3 R% i7 N& |- T. {6 _
  1294. ; Log PostgreSQL backends Notice message or not.) I2 f& N2 h: i. P6 k& W4 Z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 s" v2 |$ Y" V3 g
  1296. ; http://php.net/pgsql.log-notice5 B; }: K4 Q6 W4 ~. e
  1297. pgsql.log_notice = 02 a5 H6 S, g3 F  U! y* T

  1298. : {1 w/ o. |; r+ Q, `# J
  1299. [bcmath]' h7 u5 z# K  C
  1300. ; Number of decimal digits for all bcmath functions.
    & X* u( G3 Y7 D& ~9 j1 t" ?
  1301. ; http://php.net/bcmath.scale2 M/ M) b9 U# z4 A/ i' F7 V( X/ e
  1302. bcmath.scale = 0
    ; s* f% P- S6 S

  1303. ' h  R( e5 x) w* o. n0 a
  1304. [browscap]
    ! J0 h  K$ k( \$ w6 L
  1305. ; http://php.net/browscap" q2 H" Y1 R$ W, a! y
  1306. ;browscap = extra/browscap.ini1 S3 C/ K9 N2 v# ~4 c7 z

  1307. 2 U0 m% P, ~- Z
  1308. [Session]
    : \! T0 x( f, z% E* c0 l
  1309. ; Handler used to store/retrieve data.
    8 Y. I1 K/ K' d2 r) `0 T6 E0 o
  1310. ; http://php.net/session.save-handler5 g  o* ?8 `# G  z! _6 z' _
  1311. session.save_handler = files
    ) u/ R/ o0 {8 F# x2 Z1 e

  1312.   o+ H0 o+ [( Q1 B. t$ {
  1313. ; Argument passed to save_handler.  In the case of files, this is the path( B% ]' }* R6 ~3 L& |
  1314. ; where data files are stored. Note: Windows users have to change this
    / q% Y: v9 s9 g4 m9 {( J
  1315. ; variable in order to use PHP's session functions." p7 @/ y! ^8 E) U
  1316. ;- o* w& D6 `) r3 d" _3 m
  1317. ; The path can be defined as:
    ; t" y' }7 V5 f+ y
  1318. ;
    7 j9 D, a  t" K3 R6 Y$ W
  1319. ;     session.save_path = "N;/path"9 e' O) i  V4 c1 N
  1320. ;) w/ ^' i0 F) ~" {
  1321. ; where N is an integer.  Instead of storing all the session files in- n( E( I7 ~9 e9 n( `( C
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    5 l% @, N  j4 `' m! F- ^
  1323. ; store the session data in those directories.  This is useful if' f! q7 p$ H9 g/ {/ b
  1324. ; your OS has problems with many files in one directory, and is
    + A2 ^! p' v1 ^7 e% G+ b7 l
  1325. ; a more efficient layout for servers that handle many sessions.$ s- h7 l. M: S) \# j* K# A
  1326. ;8 j/ ~& s# d$ x1 {
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    % P+ K/ t% Q; ?  N" T
  1328. ;         You can use the script in the ext/session dir for that purpose.- k8 H2 B0 B6 G6 Y& R) e
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    , Z; s1 q7 {1 ~7 c8 }
  1330. ;         use subdirectories for session storage  u' C" b" o. {# o( m
  1331. ;7 h% E% j$ Y2 E& N. z7 d/ |% s
  1332. ; The file storage module creates files using mode 600 by default.& ^( |9 \5 X7 a& a! {' W
  1333. ; You can change that by using- P+ Z- `5 {: ~/ r9 m5 ?6 m
  1334. ;
    1 i; M8 P( c7 v" ^4 f- c9 j4 G5 x9 p
  1335. ;     session.save_path = "N;MODE;/path"$ l+ G. e0 c$ v
  1336. ;; C0 a& [, y0 L2 N' R8 h
  1337. ; where MODE is the octal representation of the mode. Note that this5 R, q# L" N# O8 H' E, g
  1338. ; does not overwrite the process's umask.
    + u- s) H7 l- @+ t- k( C/ t% O
  1339. ; http://php.net/session.save-path
    + Q* s8 m) G+ \
  1340. ;session.save_path = "/tmp"
    # W$ C* o* D7 |. i* u  ^7 O
  1341.   Z& r( e5 i5 z, d" L' S
  1342. ; Whether to use strict session mode.
    & v1 N$ m2 g  v/ R+ T) l
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate: J# H! m, `. T5 ~
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects3 t: `4 ~! a4 G4 x5 G, Z( A
  1345. ; applications from session fixation via session adoption vulnerability. It is- H$ x/ T. u- D9 ^- [+ j- q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    / C1 v' Z6 i1 S& E# t) `" Y0 |" \
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ! z5 P3 C" i6 i+ }# Y: A2 P
  1348. session.use_strict_mode = 0
    7 d) A! o) X1 u8 `' [* i
  1349. 6 j* t$ M9 p) `; G  Q
  1350. ; Whether to use cookies." R1 z" l) |7 F  F8 n. Q( {3 F; X
  1351. ; http://php.net/session.use-cookies  K$ u' i4 [! g
  1352. session.use_cookies = 1& T0 V( E4 h9 n" U" ~* C
  1353.   L- z" I% s- F
  1354. ; http://php.net/session.cookie-secure
    ) T1 w* S: c: x- |
  1355. ;session.cookie_secure =
    , u% y3 b5 b7 `1 Y4 A# b2 |+ E

  1356. $ y5 |! d( J7 H  U0 F: v
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    8 k( B. |* Q3 Y) Z2 V; ]: u* ~
  1358. ; the session id. We encourage this operation as it's very helpful in combating/ t7 c# d% _3 ^) e6 Y  H# i; v# O
  1359. ; session hijacking when not specifying and managing your own session id. It is6 o" \0 Y" ?( m) T3 X  D
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.* j6 x( m7 ~: R' d3 @+ f2 V+ l' j$ \
  1361. ; http://php.net/session.use-only-cookies
    ! q8 w1 F2 w7 ]6 A- ]
  1362. session.use_only_cookies = 1
    ! h: ?2 G0 e' J. @4 c

  1363. 6 R/ W5 s/ L3 x8 d
  1364. ; Name of the session (used as cookie name).5 Z- T. H+ ^' S6 ?
  1365. ; http://php.net/session.name: e- n8 i8 ^8 i
  1366. session.name = PHPSESSID
    6 z# R; ?" h( {% B2 B+ M
  1367. : o. @, I  I% [5 @
  1368. ; Initialize session on request startup.
    # ]/ I- @* ]" Z, w: ~% ?4 z2 G& {
  1369. ; http://php.net/session.auto-start
    * f; x4 k6 }3 f* G: v* V
  1370. session.auto_start = 0) t% s; F$ O/ k9 u3 F
  1371. ' W' D% B3 M7 o9 M. `) o$ I
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( R7 H  s$ q+ z$ r, \  G* q
  1373. ; http://php.net/session.cookie-lifetime* h4 s2 X, t7 h" k
  1374. session.cookie_lifetime = 0) _: S, g" L5 |( ^/ b

  1375. 1 |/ n, M$ j% o5 c1 Y" _
  1376. ; The path for which the cookie is valid.) {( h- A8 V6 O2 l3 X8 u
  1377. ; http://php.net/session.cookie-path
    ; b+ J/ M. ^* V& J: }5 Y
  1378. session.cookie_path = /( a& m# y) t# ~9 W# f% Z

  1379. * ~$ P! _6 N. M0 ?# n4 U
  1380. ; The domain for which the cookie is valid.
    ' v/ R* u. v' h  J7 F+ ?* q  n
  1381. ; http://php.net/session.cookie-domain
    ; E5 D0 U  c: d
  1382. session.cookie_domain =
    * _+ q6 F- Y1 d
  1383. 2 H2 o( k! z. Z+ |% `
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.! K4 J  t3 F4 e- x! J3 @& {. o
  1385. ; http://php.net/session.cookie-httponly
    + ^7 A1 E/ q; w9 d6 r0 @9 [/ ]$ b4 i
  1386. session.cookie_httponly =
    & p! h1 T+ l! T0 N$ r
  1387. $ E% t. d7 y6 Z0 i
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.! G9 \: c( ?/ O
  1389. ; http://php.net/session.serialize-handler1 c! f; c  q5 e$ Y' s/ k/ v
  1390. session.serialize_handler = php7 E+ H( Y) w3 }! R: x2 _3 m; g
  1391. ) m! h; U( b: G! N' |7 l
  1392. ; Defines the probability that the 'garbage collection' process is started  k! }9 M0 V: F) }' J1 ^
  1393. ; on every session initialization. The probability is calculated by using0 n) n! J& m" J. \9 r
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 e* V5 q1 B7 o8 k
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1% Y: q( ?* N, V, J1 C* d$ ?
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 a, C( ^* U) ?0 A
  1397. ; the gc will run on any give request.
    5 i: l0 [7 f9 {6 c( ~8 A6 `
  1398. ; Default Value: 1
    & J6 I  O9 p' s2 k
  1399. ; Development Value: 1. I* |) y, a( I4 s5 O2 Y& d9 V. U
  1400. ; Production Value: 1
    & M+ U; M+ ^, \5 f. f# o+ D* f
  1401. ; http://php.net/session.gc-probability- D% T9 R: B6 T1 B
  1402. session.gc_probability = 1( C5 ^) L  `6 B5 U. a; c
  1403.   V" H# n# u0 d  X2 b
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    1 U. B; j( P; b# b5 L) h2 ^
  1405. ; session initialization. The probability is calculated by using the following equation:/ W: R4 Z0 Y! q9 q# [2 v
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    2 \4 d5 S) ^1 H# M; t+ S
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    . s+ @  B0 l0 n7 l4 F1 e6 U
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % M+ b) n2 N! d  x3 F0 T
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    - l& l2 }; [# b" y' M0 E, `
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 L+ v9 O7 l$ r; A! B" _* I
  1411. ; this is a more efficient approach.6 _& k3 x* d3 l9 k3 i! m# v: {
  1412. ; Default Value: 100
    # u2 M3 |( A, y
  1413. ; Development Value: 10000 O6 e- J: Y  X3 v* a0 M8 C! Y$ m
  1414. ; Production Value: 10003 k9 W# _9 f) I" ?5 \5 I" L
  1415. ; http://php.net/session.gc-divisor
    ' d3 e- U  V7 E$ m! e" V$ k
  1416. session.gc_divisor = 1000' c# W1 P5 u; {7 U, B& q" ]) v

  1417. 0 [+ X- }- H" M7 I& g( J- o6 i
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    & @( k* W' q! _
  1419. ; cleaned up by the garbage collection process." O* W5 g0 j/ C, F& E% Q: ]& q
  1420. ; http://php.net/session.gc-maxlifetime
    # M5 |9 [8 h# G" R! D) R& J
  1421. session.gc_maxlifetime = 14405 Z! ]- ^' k* s; j9 G

  1422. ' h3 R; O& ^0 k! r
  1423. ; NOTE: If you are using the subdirectory option for storing session files' A+ L  p+ L6 v* x* {- ^5 F: u$ q! I
  1424. ;       (see session.save_path above), then garbage collection does *not*
    % M: V* _( a8 O8 P1 u7 T) {
  1425. ;       happen automatically.  You will need to do your own garbage1 x' h. H# b  {8 [
  1426. ;       collection through a shell script, cron entry, or some other method.
    8 O; g5 f- f, H5 Z
  1427. ;       For example, the following script would is the equivalent of5 T3 G: r: x5 H! t2 }% E' E' R
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. J4 d9 ]- |* x) t9 @7 R
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm' C: B3 h8 k& M% Y
  1430. % `7 o# E& ?% j9 d  ~* {+ d
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 f- v: [6 M8 [% l
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    4 I+ A6 z; J0 {6 G0 R9 i2 W
  1433. ; considered as valid.
    - l) p* `0 P3 D1 y. E% g
  1434. ; http://php.net/session.referer-check
    , M. @+ a( {" Q( H; x. f
  1435. session.referer_check =
    5 j6 d' i  D3 u# n7 B
  1436. 1 g* p4 h4 r$ v
  1437. ; How many bytes to read from the file.7 b; B3 z( [' }* N1 h
  1438. ; http://php.net/session.entropy-length
    9 M+ J% T% H* O+ N2 ], l
  1439. ;session.entropy_length = 32
    $ h4 Z, \/ m4 k& |6 Q4 Q+ s7 ~

  1440. 8 @7 c) V* K/ u% q: ^' h
  1441. ; Specified here to create the session id.1 k& b/ d4 J7 A6 S7 l: g4 C5 V
  1442. ; http://php.net/session.entropy-file
    4 E  J8 Z# F! p* o: T
  1443. ; Defaults to /dev/urandom
    2 K7 N- g) R& S- t# `# X
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom6 w1 B5 J' x% Z  D: g6 x
  1445. ; If neither are found at compile time, the default is no entropy file.
    & S" f; R9 ^7 |2 M- r, @4 `
  1446. ; On windows, setting the entropy_length setting will activate the
    5 L; z5 m/ L* r) V0 L
  1447. ; Windows random source (using the CryptoAPI)
    ( V. u& Y: s" y6 s
  1448. ;session.entropy_file = /dev/urandom
    " s; q0 _0 C- |" j3 u2 o$ B9 @

  1449.   [4 m# E4 R7 i; S1 p+ p
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    5 v) Z) \- Y/ C6 x( ?
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ' W" b  F1 s' s1 d' Q) s
  1452. ; http://php.net/session.cache-limiter' V6 e5 m3 `- N# N/ A  M, B- _
  1453. session.cache_limiter = nocache, J2 H. c: i/ m/ q- J1 k( F! i

  1454. + p, N: a5 K2 {; X4 l  ]+ ^+ K) K, z- B
  1455. ; Document expires after n minutes." d! R& Z' L$ {/ I( I8 r7 H( q
  1456. ; http://php.net/session.cache-expire
    7 v8 l, m8 }( w  j6 Q
  1457. session.cache_expire = 180
    2 M+ J% [3 N. m7 h+ H" L) M$ b

  1458.   e) p  m& V* ~
  1459. ; trans sid support is disabled by default.; _4 g9 B# x7 m& Z3 h
  1460. ; Use of trans sid may risk your users' security.2 I% h! x# D' S! E" a# z" M; D% G
  1461. ; Use this option with caution.' M2 l- F% K  q9 G0 r* [$ ^
  1462. ; - User may send URL contains active session ID
    - h) e) o6 h; J  W% K7 Z$ B7 ?
  1463. ;   to other person via. email/irc/etc.: D; v% ?- j+ d, }" m2 }
  1464. ; - URL that contains active session ID may be stored8 j0 V8 q9 [0 b
  1465. ;   in publicly accessible computer., \* |) O& X- e1 E" o; n- c
  1466. ; - User may access your site with the same session ID
    " D* Z2 l2 }/ i* G
  1467. ;   always using URL stored in browser's history or bookmarks.* z3 E  e0 ^; v) L5 z& a
  1468. ; http://php.net/session.use-trans-sid- L2 O+ d1 o/ Y! O
  1469. session.use_trans_sid = 0# h; r% |! N  A

  1470. " u5 s# z. P  ?% I0 S
  1471. ; Select a hash function for use in generating session ids.* l8 Y! C7 x/ t+ H, ]
  1472. ; Possible Values' o( m  T' F% N; O, S
  1473. ;   0  (MD5 128 bits)
    0 v0 O4 O" l# M5 r. a2 b! i0 _, z" r
  1474. ;   1  (SHA-1 160 bits)
    - f7 q9 c: p) C* ^% X
  1475. ; This option may also be set to the name of any hash function supported by% i% o( s, e, o5 \% p! _9 U4 b
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()3 z; \- T( [9 T
  1477. ; function.
    0 Q2 v% h, B% D8 R. J, q
  1478. ; http://php.net/session.hash-function
    ( V% P6 N* x' _0 N
  1479. session.hash_function = 0
    " F7 a  }+ }5 [9 x
  1480. + _9 C  {2 l# W1 k
  1481. ; Define how many bits are stored in each character when converting- E, I& b: N+ D
  1482. ; the binary hash data to something readable.
    3 J' x# g+ M! {0 m7 i
  1483. ; Possible values:4 ]: k. k( l, ~: \8 N  @' ^9 j
  1484. ;   4  (4 bits: 0-9, a-f)2 j" ?2 m% Q0 ?$ W$ A; k& X) K- H, z
  1485. ;   5  (5 bits: 0-9, a-v): H7 Z3 H2 s/ g; D. y: P2 q( ?
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")6 h1 i; Q8 e6 p
  1487. ; Default Value: 4) T1 z+ ^( i1 w1 F) V& s
  1488. ; Development Value: 5! ?' K8 m$ m6 N+ V, T( H4 m$ |5 `
  1489. ; Production Value: 5
    ; M6 j  c/ S( H; Q& @# p
  1490. ; http://php.net/session.hash-bits-per-character
    ) l3 L$ M+ x9 Q5 x8 T% n6 }
  1491. session.hash_bits_per_character = 5+ d8 b: V; Q: `2 w

  1492. ' z+ C( A( R% _
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.# \7 `0 u* c3 h' J* m
  1494. ; form/fieldset are special; if you include them here, the rewriter will" g! ^' y" X3 r: W( h
  1495. ; add a hidden <input> field with the info which is otherwise appended
    8 c" m6 ~$ m: O$ j7 `7 p
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry., c! {* w" w7 b4 i+ ]/ i
  1497. ; Note that all valid entries require a "=", even if no value follows.
    # @" T  K0 m& m  S4 N
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; x; r: f9 m* c9 G) k  _
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 `" C' j0 S8 J3 Z
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 |0 g$ k' D  Q. W. ?
  1501. ; http://php.net/url-rewriter.tags% w6 [$ s- H4 O' B% D4 c# t, V
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    / R2 b7 }( g5 U

  1503. 4 x  A% C8 N$ {7 |- C" h) d
  1504. ; Enable upload progress tracking in $_SESSION! M- a; {) b( T! ^! w
  1505. ; Default Value: On
    3 F; A# K8 e) T2 T, z. ]$ s
  1506. ; Development Value: On
    6 |/ G8 {: L9 p3 o% t+ A
  1507. ; Production Value: On
    . K8 X1 W' V  L) F- z
  1508. ; http://php.net/session.upload-progress.enabled
    ! d; i- A% ^- l  n" U4 Z
  1509. ;session.upload_progress.enabled = On
    - I7 e( k: q  |9 \
  1510. / [9 F- ~& k8 Z- p
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ( D( _# `# w% p; D6 M" a+ J" l0 h: ^+ O
  1512. ; (i.e. upload completed).6 Y; h$ _% i6 F0 C" L  @2 h
  1513. ; Default Value: On( \) F* Z5 {! K0 r: W1 R/ T
  1514. ; Development Value: On
    - ]7 l1 w" Q$ F- T% u
  1515. ; Production Value: On
    ( j2 E" d5 T8 a& B% p+ b+ S7 E
  1516. ; http://php.net/session.upload-progress.cleanup
    3 i6 V: E+ {5 v
  1517. ;session.upload_progress.cleanup = On) K7 G  D& ^, M+ j5 a4 @
  1518. 9 j5 P2 ^; Q6 d& a# E1 T
  1519. ; A prefix used for the upload progress key in $_SESSION* `$ h; F/ ?4 i+ F" K& e
  1520. ; Default Value: "upload_progress_"* T0 K) _+ q. S3 x
  1521. ; Development Value: "upload_progress_"7 o* H0 R  g$ i9 W* ~8 _$ U+ T
  1522. ; Production Value: "upload_progress_"9 t" o3 w: g( p" l
  1523. ; http://php.net/session.upload-progress.prefix
    2 S8 Z' _1 I2 _' l- z+ b3 U
  1524. ;session.upload_progress.prefix = "upload_progress_"; W/ c! u5 O3 \% c
  1525. " L2 A6 t7 Y; T# ]* h
  1526. ; The index name (concatenated with the prefix) in $_SESSION/ ^$ G2 B# T! _' Z5 H$ f5 k$ M
  1527. ; containing the upload progress information
    , x) v  `3 B& E/ N, F2 N  K
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , Q/ I( `$ @( z1 N2 _8 Z7 P/ y/ V. Z
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # ~' _' H/ e7 L( [9 E" z
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 M, P6 G1 l3 L4 z; S
  1531. ; http://php.net/session.upload-progress.name7 b/ o# I% ]+ h9 U) q; w
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"1 m% ]2 W/ H% b! S1 F- E6 \
  1533. # \9 w9 |' s( D  ]( b6 }' N. j
  1534. ; How frequently the upload progress should be updated.
    " T5 K8 e( V7 s
  1535. ; Given either in percentages (per-file), or in bytes
    ! o; s/ ^8 Q+ m3 ^: T' r7 H2 e2 G
  1536. ; Default Value: "1%"/ I, G- }& f* G  J+ H2 L
  1537. ; Development Value: "1%"
    $ e& \2 @2 Z$ ^4 m1 D
  1538. ; Production Value: "1%"
    0 `- Q8 ]% Y; e" }  q$ @
  1539. ; http://php.net/session.upload-progress.freq* T4 Y9 |) C% P" a( W
  1540. ;session.upload_progress.freq =  "1%"
    / N5 Y4 B1 _$ o% U

  1541. ; h2 o2 r- @% j6 q7 R. ~
  1542. ; The minimum delay between updates, in seconds' ^  W: q1 p# ~* Y
  1543. ; Default Value: 1" ~! f6 U( s; H/ ]0 ]4 P" l! G
  1544. ; Development Value: 1
    + L+ Y/ n: C$ o( A
  1545. ; Production Value: 1& G& E- \3 N" m
  1546. ; http://php.net/session.upload-progress.min-freq4 r2 }% N3 M8 Y8 }6 Y& Y
  1547. ;session.upload_progress.min_freq = "1"' J0 H  x% g7 u+ R/ {
  1548. , g8 M' n, k- D& ?* C+ Q  M
  1549. ; Only write session data when session data is changed. Enabled by default.
    + ^6 ^2 f; _+ c7 d
  1550. ; http://php.net/session.lazy-write
    ! A' }9 Y/ J3 _2 V6 F& A4 j( n
  1551. ;session.lazy_write = On
    2 {! g- A: B" U0 s

  1552. 3 J; b0 _! D) d# ~8 c8 Q; p
  1553. [Assertion]; ^- @4 Q; d; v( F1 N. j
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    % t' z9 S+ ^9 D4 V+ a2 ?) t
  1555. ; -1: Do not compile at all
    ) O$ V' w. z- p6 N
  1556. ;  0: Jump over assertion at run-time" o# \1 o1 C- z6 n( n; z% k
  1557. ;  1: Execute assertions; `4 c9 J; H6 G1 T7 w
  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)0 u4 s4 g8 X: H! n# L9 I
  1559. ; Default Value: 17 w5 ^/ a4 W2 a; X* \: \$ S
  1560. ; Development Value: 1/ \! L, @* C& [) k$ d# f( L% E
  1561. ; Production Value: -1
    ; o) U' a& S& L" G8 y
  1562. ; http://php.net/zend.assertions  q$ E. ?2 C$ J
  1563. zend.assertions = -1" t: \, _' K1 n: q7 J! b

  1564. 9 q# x, I$ Y7 K+ h# P' I* p
  1565. ; Assert(expr); active by default.
    ( N% c" I# K+ L) H! h) b$ b
  1566. ; http://php.net/assert.active
    " `3 [. J  u4 c) h" Z: t9 h
  1567. ;assert.active = On
    ) @' Z& y0 t$ U5 v9 f4 ?# a
  1568. ) l" \2 n$ ~! O- L
  1569. ; Throw an AssertationException on failed assertions
    : G, r( h3 G4 h3 O) ~& z
  1570. ; http://php.net/assert.exception
    # i1 i. I& t$ E" o- N% \( A, e$ \; }
  1571. ;assert.exception = On9 g! v2 P3 d6 T2 ?

  1572. 7 w; |6 Q% W- s$ F- U( O7 T
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)8 {- J1 H% j, l$ `" s& a
  1574. ; http://php.net/assert.warning
    0 [5 c' s! `  M- _) w5 S' v
  1575. ;assert.warning = On
    ( H  `7 {! a4 T) U

  1576. ! z1 ~3 `# d& l
  1577. ; Don't bail out by default.
    0 m  X6 ?1 @! r/ ~1 Q  w2 n
  1578. ; http://php.net/assert.bail
    - C7 b- W* H2 i9 |
  1579. ;assert.bail = Off
    4 j  h7 I% u. G, k! e

  1580. 8 c4 x8 X. M3 l/ H( {+ k1 u
  1581. ; User-function to be called if an assertion fails.
    2 s  Q8 d1 ?8 |1 y4 h, R8 j
  1582. ; http://php.net/assert.callback
    & `5 n, x) @( T9 ]
  1583. ;assert.callback = 0
      v8 H# ?. ?% u. Z2 l1 f) f$ w# W
  1584. + c, L( P/ Q. y+ X7 \
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    9 d5 A; Y# ~! O+ k* d8 L% D! H7 E
  1586. ; error_reporting(0) around the eval().. n5 {6 H; `* A* C$ z
  1587. ; http://php.net/assert.quiet-eval, E$ E6 [4 r# G: i' M) t) n
  1588. ;assert.quiet_eval = 0$ Z9 S% o4 I1 G$ E% @4 K1 J0 H5 O

  1589. 8 K; v7 Z% J& F4 C7 n1 H  y7 v
  1590. [COM]
    ( I7 m6 ?) n7 }7 m( e3 }; o" A
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    , x( `9 K6 r8 i% y6 J
  1592. ; http://php.net/com.typelib-file
    7 k9 ~  t( V6 \" y$ _
  1593. ;com.typelib_file =7 j& v* V3 a8 k, e

  1594. $ c: g2 \" o' @% Y
  1595. ; allow Distributed-COM calls7 P/ _" }0 H$ W' x8 y
  1596. ; http://php.net/com.allow-dcom' R  _7 t# C: _1 z6 M  f9 r- |
  1597. ;com.allow_dcom = true+ {/ q9 V0 c! ~% U; i
  1598. . H' S( K, S0 k1 ^1 \8 q* F
  1599. ; autoregister constants of a components typlib on com_load()
    8 Y) H5 v$ Y- U2 A: b3 j
  1600. ; http://php.net/com.autoregister-typelib
    1 N, s2 O8 X- K! d) O! p1 K8 j
  1601. ;com.autoregister_typelib = true
    ' q: }1 A8 a. Z* o. J1 x- Y: W

  1602. % t7 `9 i- W/ z- l3 |! H6 ~
  1603. ; register constants casesensitive
    5 ?5 {: g* I! q& b4 m- q
  1604. ; http://php.net/com.autoregister-casesensitive
    " v2 x1 ^7 F7 C% K% [
  1605. ;com.autoregister_casesensitive = false
    & R1 R0 n) R! T5 ?0 q8 k8 P

  1606. % x9 a2 h$ R  ~) E
  1607. ; show warnings on duplicate constant registrations
    0 t% m6 u! `4 Y/ a* B# u, t# M: B
  1608. ; http://php.net/com.autoregister-verbose+ @& O& Y/ j2 B. i
  1609. ;com.autoregister_verbose = true( `8 E# V# t0 |8 n
  1610. * @2 ]  l' k# C! d! @5 ^! X; h# M
  1611. ; The default character set code-page to use when passing strings to and from COM objects.5 g; @6 J9 u9 k, A$ G0 _
  1612. ; Default: system ANSI code page/ X9 ~. t2 v& @" h% s8 Q8 t
  1613. ;com.code_page=
    8 Y! m, D) O) ^

  1614. % M' u# [7 Z6 S: s1 v
  1615. [mbstring]
    + ^% O9 s; m: w% A9 Z/ K
  1616. ; language for internal character representation.6 t9 i& D8 T9 ^) [' T2 b( _
  1617. ; This affects mb_send_mail() and mbstring.detect_order.7 H1 q1 B! F/ h$ j& ?
  1618. ; http://php.net/mbstring.language( m- v& H2 V2 j$ u
  1619. ;mbstring.language = Japanese
    $ C& m1 N: \" O. l

  1620. , E2 y) R4 @- x- y% x( t; X) y, h
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! A- u4 z' o  f/ u6 h  G/ H
  1622. ; internal/script encoding.
    : [! a; _5 P( Q* l; b6 |  F4 q
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 S! f: g5 Z7 `1 a
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 c; w& w0 X: q7 l7 T5 Z5 ^
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 m" p7 X& ^5 z
  1626. ;mbstring.internal_encoding =( D: \% z! E* q, P0 F" p/ J
  1627. 7 x* K$ b8 ~7 r) j) J* A( w8 a
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * s! F: G. V( z" m) c# Q
  1629. ; http input encoding.  Z3 ?7 r/ ^1 i; C7 q. s2 n
  1630. ; mbstring.encoding_traslation = On is needed to use this setting./ c  K$ C: h. M+ p9 X+ j/ T' f4 D
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / J% H3 T# u/ A+ j8 ?( C
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input( I8 A& D6 p# |$ m3 P- i& l" \/ `
  1633. ; http://php.net/mbstring.http-input& S# F# C( [  j9 U* j" T. P) f! K
  1634. ;mbstring.http_input =
    $ R1 H' v( S% J7 q; h  D8 G

  1635. $ h/ I! F1 v; o! B: ~5 U
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.4 T* R. `6 b$ Z! P% t
  1637. ; http output encoding.
    + H4 y9 E9 p) a* V/ \
  1638. ; mb_output_handler must be registered as output buffer to function.' L  E4 d- _4 \+ X7 U: B) i
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    5 f; f* I! ^* @9 R5 r0 S3 X/ v# e- `2 }
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output/ P$ |7 n- i! ^) V
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    2 A% {1 w6 C0 b' @! ]$ @
  1642. ; otherwise output encoding conversion cannot be performed.; c% f9 V& M6 |- d. y. M, g$ X9 ]4 r
  1643. ; http://php.net/mbstring.http-output1 @. T! y7 ~8 B7 q
  1644. ;mbstring.http_output =
    ( s7 D# \: s* ~! C6 S5 W

  1645. 0 G2 j& D7 E/ O* N# G
  1646. ; enable automatic encoding translation according to3 H% l8 C6 c% L5 V
  1647. ; mbstring.internal_encoding setting. Input chars are( B, b( b3 J: Z+ U; p$ ?
  1648. ; converted to internal encoding by setting this to On.
    5 J# m. Z: @9 P7 }
  1649. ; Note: Do _not_ use automatic encoding translation for2 n% ~( h  y4 {' i
  1650. ;       portable libs/applications.
    ( h, \6 ?( s  q$ t  V" L" c7 }! w
  1651. ; http://php.net/mbstring.encoding-translation! b% e* X& g% D/ s9 Y  \: K+ Y0 V
  1652. ;mbstring.encoding_translation = Off
    ; W' h; [, q, p$ p- U$ Y

  1653. % }# @: \, U4 v, L7 ?
  1654. ; automatic encoding detection order.; U' u5 Z. h) x
  1655. ; "auto" detect order is changed according to mbstring.language
    ; `2 B7 P' y) D; @) W
  1656. ; http://php.net/mbstring.detect-order
    5 Y* J- }- \; a& [' e6 S
  1657. ;mbstring.detect_order = auto
    4 t, `! s, B# ~3 n
  1658. 8 N! k3 P) ~* n2 s: `8 q; V
  1659. ; substitute_character used when character cannot be converted
    - |9 I: @* e5 E2 C: o% L/ \# k
  1660. ; one from another
    $ k# \5 c0 b$ Q
  1661. ; http://php.net/mbstring.substitute-character
    - ?, |! V7 w' }' m% _/ B  u
  1662. ;mbstring.substitute_character = none6 Z7 x$ }4 K" v

  1663. * s( [, S! g1 N9 ?0 }! b3 `( t$ g5 R
  1664. ; overload(replace) single byte functions by mbstring functions.$ l! T- c6 u  u& a8 O2 y% _3 H
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    9 O. m4 R/ t- v8 G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them./ u/ P4 p9 l9 y5 L# @
  1667. ; For example, 7 for overload everything.6 o" s2 d" s+ E8 D7 n9 p+ j
  1668. ; 0: No overload
    ( B& t8 R% L: ]/ |
  1669. ; 1: Overload mail() function2 I! {6 {5 Y) v- G' {$ ^& L* X
  1670. ; 2: Overload str*() functions; O' c5 r0 W  K; F  p/ _
  1671. ; 4: Overload ereg*() functions
    2 B1 b/ R0 X' U( @  o
  1672. ; http://php.net/mbstring.func-overload) t% Z  h2 f- ]# z- k
  1673. ;mbstring.func_overload = 0
    8 X0 Y( `- q$ k" f! V# W

  1674. 3 ~2 D; [; u% _" r- U* W
  1675. ; enable strict encoding detection.
    : y; D! B: T+ p% H1 o
  1676. ; Default: Off2 A, }& \! J3 t  A# ], A
  1677. ;mbstring.strict_detection = On/ j/ F! Z6 c5 \' I7 `6 w
  1678. 6 y9 M" F, n0 _3 h$ X: I0 P  R
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ) O; D- G# |$ d6 X& P$ ^
  1680. ; is activated.9 ]/ R+ n' O- }
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ [3 c% Z) ~/ p
  1682. ;mbstring.http_output_conv_mimetype=
    + e& {; X* w. Y- P8 I: I; a

  1683. % q# E- K5 t0 }1 g2 W4 k2 b
  1684. [gd]
    " ?( L5 y6 q, @3 Z* i( d
  1685. ; Tell the jpeg decode to ignore warnings and try to create+ L9 n6 w& q6 t+ i% B  ~$ h# u
  1686. ; a gd image. The warning will then be displayed as notices9 F7 ~3 A: [' b4 V2 U: N: \% V
  1687. ; disabled by default# o( W# z1 ~- Z. s3 ]- I
  1688. ; http://php.net/gd.jpeg-ignore-warning
    3 S9 }- [  ?8 v" v8 @# m
  1689. ;gd.jpeg_ignore_warning = 0! d  Z- z& m: ^  k% w. Q; G

  1690. - k. L; ^; L# o6 X7 G/ m
  1691. [exif]( @8 F8 p, ~# P; R
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    + O6 w+ p4 q4 x" r5 K5 d3 O
  1693. ; With mbstring support this will automatically be converted into the encoding) C9 {" P: x: Y# a4 H+ h" _
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * k- a; w- p9 X% M; o" g
  1695. ; is used. For the decode settings you can distinguish between motorola and2 ^3 d+ C# m2 g" ?) V
  1696. ; intel byte order. A decode setting cannot be empty.
    / `: o" s% A, g8 t( m
  1697. ; http://php.net/exif.encode-unicode
    9 _( b. F: D9 {2 ?# u. p* S
  1698. ;exif.encode_unicode = ISO-8859-15% {7 J  L- w1 }! b( S5 z
  1699. # E, x2 F! m5 Y& h1 w" T0 O" R
  1700. ; http://php.net/exif.decode-unicode-motorola) q( ^+ E9 E4 n0 @2 f+ p
  1701. ;exif.decode_unicode_motorola = UCS-2BE+ v) j- h: m+ r2 ]/ L) q

  1702. * D* s8 @& v9 j1 v
  1703. ; http://php.net/exif.decode-unicode-intel+ E5 _3 u2 r/ ~7 `! o
  1704. ;exif.decode_unicode_intel    = UCS-2LE5 y# }+ Z2 I$ V% n+ a3 g" f9 \) e7 _

  1705. 8 F& F, c( T6 v& N: R- G9 A
  1706. ; http://php.net/exif.encode-jis6 U7 L" T1 i8 W6 g/ S
  1707. ;exif.encode_jis =' m; F  C% h' u
  1708. $ L; ?, [8 v! ~6 I  a# g
  1709. ; http://php.net/exif.decode-jis-motorola( Q3 g) R, t$ U) G5 e9 `' @4 d9 N
  1710. ;exif.decode_jis_motorola = JIS
    , K1 \& P/ o3 b" k: j

  1711. ! `# X( o6 P" r5 v- e
  1712. ; http://php.net/exif.decode-jis-intel
    5 z1 [0 Q0 D# J# Q$ P7 c' D
  1713. ;exif.decode_jis_intel    = JIS; }# [) \( D. {1 U+ I- U, e
  1714. ( x+ P: }; Q( K* y
  1715. [Tidy]+ @8 t/ a* g$ w
  1716. ; The path to a default tidy configuration file to use when using tidy
    1 [# H+ ^9 C% }$ M
  1717. ; http://php.net/tidy.default-config
      B0 q& L/ W4 R% l3 K
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    3 {% X6 i- v( k+ }7 E6 M* o+ C

  1719. : {- R* z" Q: ~* w3 [5 e" C
  1720. ; Should tidy clean and repair output automatically?
    4 o1 @5 r. Q5 {/ b& g+ Z% O- h6 k
  1721. ; WARNING: Do not use this option if you are generating non-html content
    , ?6 Y: S/ p  @/ W
  1722. ; such as dynamic images; d% G# x5 X& q. w. v. }+ k% k
  1723. ; http://php.net/tidy.clean-output) U- ^) M( u) W- }- N* U
  1724. tidy.clean_output = Off+ G  V4 L; l8 A7 H
  1725. 1 b; Z# V5 i) b  P
  1726. [soap]
    ( I/ L" z% ~' x" Q- z% F  A; s  s) e
  1727. ; Enables or disables WSDL caching feature.
    7 B9 b  y" J+ {# `# m
  1728. ; http://php.net/soap.wsdl-cache-enabled1 \3 e( t2 t! D  T% L# v
  1729. soap.wsdl_cache_enabled=1
    " x: @; G9 o2 t( N+ W* p% d- {
  1730. / F; l7 [$ `* V
  1731. ; Sets the directory name where SOAP extension will put cache files.& ^" \2 x0 D6 I. l! U5 T
  1732. ; http://php.net/soap.wsdl-cache-dir
    0 c. H# A1 t7 X3 P3 b% |
  1733. soap.wsdl_cache_dir="/tmp"
    * s5 }8 c4 d$ g; j! Y+ O/ l# K

  1734. ; G5 p% }  L* t
  1735. ; (time to live) Sets the number of second while cached file will be used/ g% W9 ?9 g; n4 T; |6 A/ l1 J7 _
  1736. ; instead of original one.
    ( g+ H! P7 e7 U7 Y$ y
  1737. ; http://php.net/soap.wsdl-cache-ttl% D$ c) i+ G4 y! e. D- t6 w3 C- Q
  1738. soap.wsdl_cache_ttl=864007 X! m6 G* y  h) c& L* w" a; `
  1739. ( s6 D; f7 |/ @. o5 f, |
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)- y/ `/ T2 Z) C$ m% a
  1741. soap.wsdl_cache_limit = 5$ y& D9 \: O1 b
  1742. 4 r4 E+ `7 ~2 h& F. V- G
  1743. [sysvshm]
    9 l4 B# }  K5 z& W& w: |
  1744. ; A default size of the shared memory segment
      n/ E9 L6 B& {, C! Z2 }* y' `
  1745. ;sysvshm.init_mem = 10000
    5 D7 Q3 f& p; `. T* ~. b

  1746. 1 T6 e1 J* Z! A1 y
  1747. [ldap]
    4 J9 [* j6 v" ]3 E$ p
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    & b3 X: w- P& h! M
  1749. ldap.max_links = -1
    4 l0 N. a* p, o# ~# s* l$ @# k, S
  1750. 9 w: g3 g$ v5 F  ]* N3 D# ~
  1751. [mcrypt]
    5 h4 `( Z1 A4 v6 m
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    : x3 Z: }% t% u
  1753. , M2 {0 U9 O) h$ B7 G0 E  n$ q9 ^
  1754. ; Directory where to load mcrypt algorithms
    + \+ D# U6 r+ C4 U
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 q  S' p6 u4 O- p
  1756. ;mcrypt.algorithms_dir=2 {! _3 h" }6 \; p. l
  1757. 8 s* Y# P. T2 K1 A" Q
  1758. ; Directory where to load mcrypt modes
      `/ J- U% [  N$ G7 e0 u
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' m- z% h+ E+ k7 @  x; u% T
  1760. ;mcrypt.modes_dir=5 J# D2 S8 M% B# Z2 P' V5 n
  1761. * K2 p+ |, C% P# K' H) N
  1762. [dba]
    & o& ^+ A7 f' [0 T# d* i7 [
  1763. ;dba.default_handler=* l) c- g" a! u0 d5 T
  1764. ) ?4 C$ T8 p0 i& q8 O# \
  1765. [opcache]2 z$ t4 ^9 x# C  e: ?
  1766. ; Determines if Zend OPCache is enabled
    - @6 n/ [9 f2 z
  1767. ;opcache.enable=0
    1 t1 [- K4 n) f1 r6 @- d3 X% m

  1768. ( K1 \7 `3 e6 D9 A
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP# W# V( h) q' J
  1770. ;opcache.enable_cli=0
    . O1 ]  t; r& g/ V5 A9 g% H

  1771. : C+ I( m4 r% E5 E2 X, ?
  1772. ; The OPcache shared memory storage size.$ @+ s1 v# k% ]# o: |
  1773. ;opcache.memory_consumption=64* ^  G5 T7 @0 V0 Z) X0 f

  1774. * D7 [- F, ^8 e- Q
  1775. ; The amount of memory for interned strings in Mbytes.6 m8 |+ E" H9 l3 ^7 H% `0 X& x
  1776. ;opcache.interned_strings_buffer=4* H5 `* I7 p) S% j( R$ W# g
  1777. 5 D( D8 K! T& q8 r- o
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.: z2 M7 x! R4 g( o3 N; D
  1779. ; Only numbers between 200 and 1000000 are allowed.# a) O7 A' z# _: A
  1780. ;opcache.max_accelerated_files=2000
    / s) `! w- ~4 S4 e

  1781. # |. u1 F" c1 r7 [# i
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ) E5 m8 I& }& t) p8 A
  1783. ;opcache.max_wasted_percentage=5
    # S9 N  o: A% S$ N( E1 M
  1784. % k7 b/ N* z- Y2 r+ T+ u) T
  1785. ; When this directive is enabled, the OPcache appends the current working& H) W: W. W" |6 R( Q( v% ?4 q
  1786. ; directory to the script key, thus eliminating possible collisions between. Z( K2 I4 Z+ g' B0 _  \, }
  1787. ; files with the same name (basename). Disabling the directive improves) x1 w+ j0 J$ ~! j- a6 i7 W$ {  D
  1788. ; performance, but may break existing applications.4 q, p8 t' Z: s
  1789. ;opcache.use_cwd=1
    8 @! V# H8 }) |( A
  1790. 8 `4 I1 P+ |7 k8 S+ S- g
  1791. ; When disabled, you must reset the OPcache manually or restart the
      x; m/ L" T; H2 p8 p
  1792. ; webserver for changes to the filesystem to take effect.: Y, S# a  t' u4 p2 ^( _
  1793. ;opcache.validate_timestamps=1* s8 W, d& X) j# k% G4 I

  1794. * U2 ^6 ^& e7 a( @
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    8 F5 r9 q# l% e# y$ P# B
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    % x" V' ~7 H- f4 c/ Q; L
  1797. ; once per request. "0" means always validate)! ?9 u8 M1 a. ^' c$ k6 _; Y
  1798. ;opcache.revalidate_freq=2
      p+ E1 c0 [* [5 e  D. r. n. D, }
  1799. 4 I, B8 n. i3 j% j5 ~- Y" f; j* Y" _
  1800. ; Enables or disables file search in include_path optimization
    ' Z- Q( E, O$ R# h" Z& Q/ P
  1801. ;opcache.revalidate_path=08 m! y3 q  e& |" m0 f

  1802. 7 a, Z- N' n0 C7 ]
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the; k1 O7 q/ w: V9 ?+ Z
  1804. ; size of the optimized code.% x8 p1 s5 `( E
  1805. ;opcache.save_comments=16 K! R+ q: ^5 D) h- [0 ?- n( c

  1806. * _+ j1 U& i' n# B1 W/ f+ \+ {
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ( {; e% m# t* J, Y: H" L% b
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.0 f% x. `4 t' l- e5 C8 J: Y! V4 W
  1809. ;opcache.fast_shutdown=0. x! b5 R9 q, n# o# Z
  1810. * q+ [& |) h- u$ c0 f' J$ v
  1811. ; Allow file existence override (file_exists, etc.) performance feature.7 I8 I* m( Y5 ~# e& o
  1812. ;opcache.enable_file_override=0
    , ~1 F8 S  f1 j2 o, A
  1813. 8 K3 E7 z4 G4 v" f* e
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    5 e  N& }8 ]. Y- q/ j; u
  1815. ; passes2 k6 D4 C3 H7 p& w9 Y# C* T0 U. I5 ~
  1816. ;opcache.optimization_level=0xffffffff, \- L* J2 N$ R2 ~

  1817. / {2 K* F% N* c+ t4 s- ^
  1818. ;opcache.inherited_hack=1
    ! u0 f7 o# Y2 d- s; r0 q
  1819. ;opcache.dups_fix=0
    : c7 s9 u. S2 |( ]

  1820. % j- Q' T: R/ }
  1821. ; The location of the OPcache blacklist file (wildcards allowed).( C  _* N$ ^% G; G. n9 b; g
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ! E5 e# n2 {  S
  1823. ; that should not be accelerated. The file format is to add each filename
    & H7 e/ w! W- W! r, G
  1824. ; to a new line. The filename may be a full path or just a file prefix" S" m% u  c- x. L
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    6 m1 j9 |1 j, g7 _1 ?( `
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    " c2 t) A* s0 A1 ~9 R$ }8 ^* w- \: R
  1827. ;opcache.blacklist_filename=" a' W! w; a5 J' \* z4 p& b4 |
  1828. / @" j* B7 l& b% b* n: e! R6 D# h
  1829. ; Allows exclusion of large files from being cached. By default all files& o0 T0 G" j- e: ~' f
  1830. ; are cached.
    1 H; f* x  L( u1 ?
  1831. ;opcache.max_file_size=0
    ! e# o1 n* y  ~3 K1 C: ~# ^

  1832. 1 }1 C" u5 p" {0 n( ?% y
  1833. ; Check the cache checksum each N requests.
    6 o4 R- Q; L1 U( Z9 H
  1834. ; The default value of "0" means that the checks are disabled.. c- g; j3 N0 W% V- k, b
  1835. ;opcache.consistency_checks=0
    5 B0 H# {. f& f( o4 }+ C
  1836. 0 ?: q8 q9 O. N2 z* y, k. n+ ?
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache& m8 W/ {& ?5 e  }$ I
  1838. ; is not being accessed.+ }9 C$ C8 Q1 c$ d$ r5 Y" @) K3 W7 h
  1839. ;opcache.force_restart_timeout=1802 _" ]2 H) @4 s  E
  1840. 3 E- w% X1 _- K( f6 d
  1841. ; OPcache error_log file name. Empty string assumes "stderr".8 z4 X* g/ I; }: {) y& X5 M9 ?
  1842. ;opcache.error_log=% w5 @$ t: o+ j2 D

  1843. $ j+ G" f5 V8 s
  1844. ; All OPcache errors go to the Web server log.
    5 _5 l3 L. p: N3 h) z8 C
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 H+ t' y, Y7 A! K
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    1 b0 o( `$ b* b, d
  1847. ; debug messages (level 4)./ ]2 p7 E# ?$ H- f% A. k6 k9 }. d
  1848. ;opcache.log_verbosity_level=12 Y1 ?" }7 H) Q- q( m9 |
  1849. 2 Q; o8 x' _+ L" W( \1 _0 t' [, V
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    + f0 b* e, q9 V8 G) h, I& B
  1851. ;opcache.preferred_memory_model=; |$ V( S% d9 ]' P6 Z7 w4 o
  1852. ' r& Y0 p  z. `( s2 }- |; S
  1853. ; Protect the shared memory from unexpected writing during script execution.
    6 ?5 H) u5 s1 f5 u* d+ {  D  o, l
  1854. ; Useful for internal debugging only.
    . o$ p$ r( u* J9 A$ |
  1855. ;opcache.protect_memory=0
    ) P9 J2 ^& f( p. _3 E7 s1 Y( z/ e

  1856. ' C! q& b) |+ M
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is0 w/ F6 F9 }1 C+ }+ W
  1858. ; started from specified string. The default "" means no restriction# {- X8 S' K, N
  1859. ;opcache.restrict_api=
    # |$ R; R1 |! X6 u
  1860. 1 E) j. A* G: D4 c( v
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP6 `% m& B- l# r/ a
  1862. ; processes have to map shared memory into the same address space. This
    , S. q8 `6 n+ ?% v! M! ^
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    2 m  F9 F& }3 L( Z. }
  1864. ; errors.
    1 [4 `% }1 X4 S$ j) {9 I6 s
  1865. ;opcache.mmap_base=7 J& G' b! ~& Q/ Q; K8 M" z
  1866. , K+ |2 Y& l( w. \0 P+ M
  1867. ; Enables and sets the second level cache directory.
    & s! S' X* s( q; `* x9 g
  1868. ; It should improve performance when SHM memory is full, at server restart or4 X9 i$ @" e7 o' U2 e4 m5 r
  1869. ; SHM reset. The default "" disables file based caching.
    & s4 [$ _* S+ G$ N% I( p6 ]
  1870. ;opcache.file_cache=
    3 c3 c8 v* h+ B% x

  1871. * u; l9 D* r" b' Y" [4 A# J
  1872. ; Enables or disables opcode caching in shared memory.# g5 a9 ^3 K+ }- i. ~# V
  1873. ;opcache.file_cache_only=0
    ( A2 p* b8 M, }2 k8 P

  1874. 4 s2 ~: d, F& C6 f3 W8 k% D- b. C
  1875. ; Enables or disables checksum validation when script loaded from file cache.
      I4 G+ i# B2 ^( G' N; C
  1876. ;opcache.file_cache_consistency_checks=1
    ( M; A' k; z. _8 k0 Y$ e: V
  1877. - b9 p' g6 h6 f6 A- K0 I# d6 e/ ]
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to2 ~4 X7 {8 o1 h5 x. r
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file$ d# |2 `: x+ Q2 l
  1880. ; cache is required.
    ' F. Y( `& \! U/ E- h0 ?
  1881. ;opcache.file_cache_fallback=1
    % Y7 b& |, l' s8 h

  1882. # A) y- y5 p# J: ^2 L; z7 G  O7 S
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    5 x- l: U* `- C: O" t
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 j# L- O6 Q% R0 m+ N  e. F- n% @
  1885. ;opcache.huge_code_pages=1
    4 I: d- F' I1 B% }8 I

  1886. & o* w6 h$ O9 O
  1887. ; Validate cached file permissions.( M7 g. m" g) p
  1888. ; opcache.validate_permission=0
    . K( v. x( h3 L( G/ w9 R
  1889. & o* N. ~0 ^' [% ^* y2 K' N
  1890. ; Prevent name collisions in chroot'ed environment.
    $ P0 _1 {7 m7 \" W
  1891. ; opcache.validate_root=03 E/ d6 F/ i8 E* V6 A3 r) Y

  1892. 7 ^: ?: n+ I8 b9 @2 S
  1893. [curl]4 _- w0 F9 a# J/ K
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an- _0 [2 a0 Z/ w+ I0 ~
  1895. ; absolute path.
    0 v, s- V3 G7 V% N. N
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    3 ?# A: ~$ n6 A8 r) j

  1897. 9 l# p  Q% B4 D$ W' {
  1898. [openssl]/ i1 R3 `) c% ~" [& M4 k# H
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( e# E# c6 c1 _; C: B9 _
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ! Y4 n& c& m! a3 Q
  1901. ; not specify a value for this directive as PHP will attempt to use the* A$ |* j8 }1 r6 d0 V. y$ x
  1902. ; OS-managed cert stores in its absence. If specified, this value may still" v6 M+ @6 O' A4 B
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context6 ?( m5 v' d$ F2 i- g
  1904. ; option.
    ( G# p2 a2 l6 s4 S$ J; V
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    $ S8 b& K6 |7 {: j+ {

  1906. # C5 I7 Q* p6 j$ \9 w& K
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    + y' p3 b3 k( k
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    * h" h1 M/ Z. g* J+ B
  1909. ; certificate. This value must be a correctly hashed certificate directory.0 D( v4 A# B; E+ \# F( J% L8 O) f
  1910. ; Most users should not specify a value for this directive as PHP will. T5 i4 P# d' l
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    7 b  b/ B1 `& t# _
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ) O; m% w0 A& s7 j5 p* f
  1913. ; SSL stream context option.
    ; t6 Q; L. i. Q7 [
  1914. ;openssl.capath=: r0 v$ V% x( q' Z$ k
  1915. + z: C9 n1 ?% l/ Z
  1916. ; Local Variables:$ E5 D$ L8 Y: y) O
  1917. ; tab-width: 4
    . G, u/ v7 V1 x1 p6 @, U
  1918. ; End:
    2 ?% b7 Y3 ?: |: B

  1919. 9 k9 [& w; w8 g, h) W4 N8 P2 w
  1920. ;eaccelerator7 ^  n2 P& F8 j- g4 ~1 w6 S! b) @
  1921. % i3 k8 E( |/ v
  1922. ;ionCube3 V; k% O7 F/ v4 ?3 @

  1923. ) p3 A7 ?8 U: O+ y  ?
  1924. ;opcache
    ( {) z( a9 {# G# E3 D

  1925. # P; _9 `/ ~/ J; t, X
  1926. [Zend ZendGuard Loader]
    - a/ f, ?. t& ?% K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    + a( l, X5 V8 {9 C
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ! I) C* r$ V3 {! ~$ D$ ~
  1929. ;zend_loader.enable=1' K5 X% z- }5 A5 \3 u
  1930. ;zend_loader.disable_licensing=0
    + c9 ~& \+ c& A# K+ i) E8 y
  1931. ;zend_loader.obfuscation_level_support=3* l5 E+ B/ p1 N- o2 i1 `
  1932. ;zend_loader.license_path=5 m* d8 k! H8 c8 Q

  1933. ; m- C0 q# ~1 Z3 |
  1934. ;xcache3 j! F- T# f4 w7 X

  1935. & Y8 U0 D. Q* X+ ?# M+ x
复制代码

$ v: m0 R# P' I: U1 O" z9 [9 `8 Y; m. V' E( J

1 M& @3 ^0 W0 I7 l# A1 f# p' y# C& r2 |1 Y0 m
  v, A; i8 i* ^1 R( G, y3 Y5 X

5 G  C( ]" c6 |
$ I  Y6 f3 {2 U- n3 ~* LPHP5.6版本原始设置! s  v' K$ O: d! }

  T9 q. ]0 u- E( A( k; x
  1. [PHP]# V  M$ W1 Q, C1 {6 k( l
  2. & h5 m# h1 ]! _' V( Z
  3. ;;;;;;;;;;;;;;;;;;;
    " L1 Q5 _  a6 f( Q8 T
  4. ; About php.ini   ;; B. c: W/ Q& c
  5. ;;;;;;;;;;;;;;;;;;;8 e. _2 Y( ?, [4 k- ]! R
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    3 f. Q4 F& A$ J9 h$ r3 w
  7. ; configuring many of the aspects of PHP's behavior.
    ! a* e2 p1 y0 b
  8. . Q* A$ X3 k7 r* J* l* D8 ]- }
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ' B$ {+ ~0 H0 i2 S/ w9 a
  10. ; The following is a summary of its search order:: Z" g; o$ w5 n3 [. M9 {5 v( j& }
  11. ; 1. SAPI module specific location.( l' x  f/ w8 u; ~' c4 I' _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 W, A5 b+ B, f3 [3 C( o+ A( G
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ! P" T. ~8 ]; M5 S! P, |) X. I
  14. ; 4. Current working directory (except CLI)
    7 F. z. [9 W6 i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) g" \: h8 N1 ]9 a) A& v
  16. ; (otherwise in Windows)
    ' t' O, k! M5 ?! q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      [6 \4 |6 [6 h) d. t7 a
  18. ; Windows directory (C:\windows or C:\winnt)0 b- q+ X, \- R3 O4 I/ `9 x" C
  19. ; See the PHP docs for more specific information.# |$ Z" w, n8 }: m% V) H
  20. ; http://php.net/configuration.file! k7 c* `4 D  I- x5 g3 i
  21. , D/ n7 T  O0 g) ]
  22. ; The syntax of the file is extremely simple.  Whitespace and lines. Q& v& V. y- ?5 e* C3 P& h+ T
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    7 q7 y/ A3 f- p9 P2 S# ]
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    . y+ o4 C7 \7 G) y3 A6 f, ?! H
  25. ; they might mean something in the future.
    + P$ w: R' X* M; H; O

  26. : }* a( q' J" X! b3 F
  27. ; Directives following the section heading [PATH=/www/mysite] only5 X( d" v( J( M/ W. K% j/ C
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    0 O; @8 d/ E8 F: I. W; e
  29. ; following the section heading [HOST=www.example.com] only apply to4 ^( ^9 p1 p) ]0 V6 }
  30. ; PHP files served from www.example.com.  Directives set in these7 A+ o( |1 ^: I! y% Y9 @  T$ I: r
  31. ; special sections cannot be overridden by user-defined INI files or
    1 O0 V. q" p+ B1 @
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under; [: E, Y+ x& j/ n
  33. ; CGI/FastCGI.0 o0 r. G- ]% N0 H* Z
  34. ; http://php.net/ini.sections
    $ P. P0 s9 j1 |* n

  35. " {7 f  ^$ c; v% A" P# K
  36. ; Directives are specified using the following syntax:
    8 b" S3 t7 v8 J3 z
  37. ; directive = value7 K* ^4 y. v1 B) g' M
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 a- S) e' K+ l& C$ c. X) Y
  39. ; Directives are variables used to configure PHP or PHP extensions.
    " W% N5 A8 M# u" b& m) t
  40. ; There is no name validation.  If PHP can't find an expected1 g: p! i+ ]! E6 I! D0 T) r
  41. ; directive because it is not set or is mistyped, a default value will be used.* O& Z5 p; @* T; `( c' n

  42. ( a1 M$ {6 i8 Z* J
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' ^2 k9 ]1 p  k# [, m0 k' }
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( p( ?6 i. }, I9 ^. J2 G, h3 d4 `
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 o; n% D; X+ |2 F( ?
  46. ; previously set variable or directive (e.g. ${foo})
    ; {. E; }9 i% T2 K3 P$ ?' d. C
  47. ( B! s! ^( o  E4 g* K7 G
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:0 L& D  T: Q( {) v( q( N9 j/ W
  49. ; |  bitwise OR# }& c: e; F; X- Q1 X$ M2 K
  50. ; ^  bitwise XOR* G" K: ]  v' p5 ?1 C
  51. ; &  bitwise AND
    % J/ D5 ^, k! e4 H8 h/ @# N( t9 x' x5 u5 A
  52. ; ~  bitwise NOT
    & D$ S$ |% [8 X8 h% o  x: [
  53. ; !  boolean NOT
    ( \& K  x' R% m9 g) v
  54. 4 _2 ~9 `0 r$ I$ X
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) @; |, P1 B1 G
  56. ; They can be turned off using the values 0, Off, False or No.
    * A- {2 J" e2 [, u. e* H( d
  57. 8 P" m6 r$ |) f7 I! a1 x
  58. ; An empty string can be denoted by simply not writing anything after the equal" u9 y' Z- K& \
  59. ; sign, or by using the None keyword:
    / A% s# N* e* x3 B' X

  60. 8 s$ R+ e6 Q& u, }+ z4 Y
  61. ;  foo =         ; sets foo to an empty string
    $ H& i0 a; {$ y( S' ~" a# o
  62. ;  foo = None    ; sets foo to an empty string
    # M: V3 L$ @0 O( b
  63. ;  foo = "None"  ; sets foo to the string 'None'7 o- U0 q: w, [
  64. * [9 q& C& T: T
  65. ; If you use constants in your value, and these constants belong to a; J0 p: ~' G$ _, s  V1 ~7 b& G' q  c/ }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),! B8 k- M5 X1 E! N4 i
  67. ; you may only use these constants *after* the line that loads the extension.
    9 I/ [* T* @9 v9 ~2 [, M

  68. , m+ j: r4 Z% D: c% G9 a0 J- E
  69. ;;;;;;;;;;;;;;;;;;;
    1 o& P% T3 W. B. T
  70. ; About this file ;0 L$ U. r5 t$ |6 A* x8 A
  71. ;;;;;;;;;;;;;;;;;;;8 x; R; K& ]: N$ g
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; ~5 [0 H% u: G+ d( T7 w
  73. ; in production environments and one that is recommended to be used in
    $ R8 k1 l% m1 V# w4 D' T
  74. ; development environments.0 G  c& ?* @9 W4 o

  75. : z8 m. W2 a6 i  o
  76. ; php.ini-production contains settings which hold security, performance and
    9 w" u' Y5 P! C* M0 ^
  77. ; best practices at its core. But please be aware, these settings may break9 ?* g; ]; Y5 Q1 c
  78. ; compatibility with older or less security conscience applications. We
    ' w+ v/ H/ K9 E. I2 J( q3 I) b0 z' G
  79. ; recommending using the production ini in production and testing environments.
    % _5 d- _7 Q" v' T  i

  80. # T: V- b$ O8 k( e- O; l( @
  81. ; php.ini-development is very similar to its production variant, except it is1 Y1 j; _' z1 M1 @
  82. ; much more verbose when it comes to errors. We recommend using the
    0 P- n) }+ C/ K$ X% o/ X
  83. ; development version only in development environments, as errors shown to' l3 a2 ?2 f, I* w* r& w6 c8 ~
  84. ; application users can inadvertently leak otherwise secure information.
    * n; t0 G, A* Z; v( L

  85.   q3 c0 q# Z  m, @; @. d
  86. ; This is php.ini-production INI file.
    " v: i( W" o3 K9 p$ o
  87. 7 p2 v/ A1 U2 o6 y  H  G7 O
  88. ;;;;;;;;;;;;;;;;;;;2 ~; ]0 j& a7 C& f
  89. ; Quick Reference ;3 X6 o+ V, S( [1 v; `$ i3 m- j# ?
  90. ;;;;;;;;;;;;;;;;;;;
    ( L% a8 ?( B2 C7 m2 _
  91. ; The following are all the settings which are different in either the production
    1 ~- h! u0 t! m4 ?5 L
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % i+ \& E% v7 W; {
  93. ; Please see the actual settings later in the document for more details as to why
    . J: `* x% I/ z4 ~9 P6 o/ I
  94. ; we recommend these changes in PHP's behavior.( |# B: A& H8 m$ K3 E: ~9 {' ?& _
  95. , H/ H2 a1 l6 [
  96. ; display_errors  o) X" u7 i4 F9 V: h* f# G7 f
  97. ;   Default Value: On
    / g: I- o/ b. e* a: S9 X1 q
  98. ;   Development Value: On
    % y% D& w* E! l( c* V' S! J
  99. ;   Production Value: Off( g, u) |! ~  S  E7 K
  100. + c& [0 \/ m7 W
  101. ; display_startup_errors$ w5 G3 [1 J$ n" b' V" V2 N
  102. ;   Default Value: Off
    2 f0 n; a) D0 U
  103. ;   Development Value: On
    1 R) }) V1 E# g6 `
  104. ;   Production Value: Off* B- \: I% q2 a, x4 l
  105. - I! q; U) l- B
  106. ; error_reporting) l9 v9 M! E: i* d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# |1 Y/ \8 n: H$ V& D; ^
  108. ;   Development Value: E_ALL' j, Y& @' o5 ?; A- H0 d
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 j! k1 @" Y5 w; i$ M3 j
  110. + U/ T4 {/ p$ x" w
  111. ; html_errors
    " c; K8 L1 j3 }
  112. ;   Default Value: On
    # J- V1 B( D' M& C) f( Z+ r' t3 m
  113. ;   Development Value: On3 o5 @8 Y! ?8 l% x5 J5 p& w0 x) o
  114. ;   Production value: On+ ~& ]" G+ P7 I. n' @+ d
  115. 4 k. O  ~, |9 I" D% g$ u1 u, \' m/ W
  116. ; log_errors
    # O1 f, k* [* i. t
  117. ;   Default Value: Off  r! E6 E! i  o1 S$ M9 D! o: G) p
  118. ;   Development Value: On
    * P5 i$ @9 A+ G  H/ q
  119. ;   Production Value: On
    : @7 r  @" z8 v7 q: c5 c3 p6 |

  120. * T: x# R3 s* P& d
  121. ; max_input_time& y& D1 W( e' j& I. S' |
  122. ;   Default Value: -1 (Unlimited)( p  b$ A& J/ }8 x: d- {8 e
  123. ;   Development Value: 60 (60 seconds), e9 V1 [& @' u
  124. ;   Production Value: 60 (60 seconds)! `+ `& z3 ^! l" N4 ~3 L9 j

  125. " @, I2 O) l- ]; v7 O) c9 J
  126. ; output_buffering
    : |1 g8 S' G9 Z
  127. ;   Default Value: Off4 s' \8 n3 p: X" I+ S( _
  128. ;   Development Value: 4096
    4 t6 q% [$ j  t
  129. ;   Production Value: 40965 a5 V* ]4 {) W) t7 ?
  130. % W+ L1 f' ^5 ?
  131. ; register_argc_argv
    ! f, f; j/ h! l; a  g1 Q
  132. ;   Default Value: On
    - p% d& c& H  n1 V
  133. ;   Development Value: Off4 {: X6 R0 v' m+ V6 V+ Q
  134. ;   Production Value: Off
    3 c; G' @0 s# w" N, `. g

  135. / ~, B5 L+ K# V) B& w
  136. ; request_order
    # H" t& q! F! m& ^- z5 d
  137. ;   Default Value: None( v6 C5 b$ x% `/ {& ?( Q
  138. ;   Development Value: "GP"4 \6 b2 m4 |/ H. |3 Q" g9 L/ N/ E
  139. ;   Production Value: "GP"! j" N4 l, r$ B4 [" F' ?
  140. ) C2 k9 ?; B& d. a; h" W0 ^
  141. ; session.gc_divisor
    ! y6 t6 j% O- m
  142. ;   Default Value: 100
    8 p# M. \) @$ q+ Q  d
  143. ;   Development Value: 10008 Q5 G. ?( X( z; @# m
  144. ;   Production Value: 1000; X/ {  w( e- j) ?% Q- u# `* @6 r

  145.   e. Y7 N- J0 ]5 {* L* Z8 E$ v
  146. ; session.hash_bits_per_character5 V8 q9 k, U" |- v/ R+ D1 s' T
  147. ;   Default Value: 49 v2 e, J# C) i9 I" \( S. G* |
  148. ;   Development Value: 53 z$ Q1 D; n; V3 ^; j' ]
  149. ;   Production Value: 5
    6 B$ H6 I8 t* g- b  v, v# @' J% p" u
  150. 8 w1 v8 P5 o+ g) _2 D) }
  151. ; short_open_tag
    9 t$ E5 V( i& R9 \2 z" z
  152. ;   Default Value: On7 W8 S5 G% r( v4 H
  153. ;   Development Value: Off
    ' o( l& @( ~$ W( t
  154. ;   Production Value: Off7 C8 p' q+ [9 H" r
  155. 9 W/ Y" h1 f3 U, @
  156. ; track_errors+ w" d- s. M. }4 z
  157. ;   Default Value: Off
    & L& x6 E0 B% x
  158. ;   Development Value: On* G7 d  ]. u# d6 i$ h- G
  159. ;   Production Value: Off# p- x. j! q; U* `2 R

  160. ; ]; L  f/ i- P' S$ B/ F2 ^- T7 S
  161. ; url_rewriter.tags
    " h+ e! R: d) s  c! m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="5 ^/ M: n: O8 A- r
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / ^8 C5 i" l2 X$ x' H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + F9 G& f( _2 `: K

  165. 2 G0 x; ?* @$ R- l, {
  166. ; variables_order
    . ?) x& ~% e/ c0 E0 G
  167. ;   Default Value: "EGPCS"* F: M2 {# F7 Q; U; N  [
  168. ;   Development Value: "GPCS"
    ; W& c* K! q. F) Q
  169. ;   Production Value: "GPCS"
    0 h8 P0 o  f; l& R# @7 Z3 S5 n, t

  170. ( y- ?$ l( E% R, Y1 t/ Q
  171. ;;;;;;;;;;;;;;;;;;;;
    2 Z. }9 I: m+ x$ a3 n
  172. ; php.ini Options  ;
    ' B. l. j, S$ T5 e6 K# y
  173. ;;;;;;;;;;;;;;;;;;;;( ]( }' D* p% Q6 h$ w& ?+ ^0 r$ e
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 j2 c/ N5 }$ V% d+ Y; Y" ?
  175. ;user_ini.filename = ".user.ini"
    # H0 e; j+ x! V! W: Z
  176. ( O6 I- E( k5 m: K( K' L- _
  177. ; To disable this feature set this option to empty value9 M1 e4 K2 ^6 c
  178. ;user_ini.filename =
    2 m0 T$ B1 l) H% S# D1 @0 P  d8 C

  179. , M7 k6 Q7 n$ J5 J- |9 O
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 {$ J! j" @  \! j( {
  181. ;user_ini.cache_ttl = 300
    , i5 ]1 m) t' ^) f4 N
  182. / I) L* [, V9 h, D# V, i  [! z; Y
  183. ;;;;;;;;;;;;;;;;;;;;
    . Z5 T, r: v7 o
  184. ; Language Options ;6 t7 h/ f& l* T9 M2 L2 ^) z4 G
  185. ;;;;;;;;;;;;;;;;;;;;
    9 y7 ~1 B3 v1 m" |. y7 g
  186. : G1 A8 u- T$ t; {
  187. ; Enable the PHP scripting language engine under Apache.
      B: o, S, y: ^) E( |# v) H0 ]
  188. ; http://php.net/engine2 t7 E) f3 d5 j1 G5 H1 G, \
  189. engine = On2 J! Y( y( R4 Y$ R8 O" f$ a
  190. 1 m% S( t# g+ h0 R  p2 `- F' G
  191. ; This directive determines whether or not PHP will recognize code between
    8 C& {' Q) h9 e( r7 ~: k
  192. ; <? and ?> tags as PHP source which should be processed as such. It is. \1 N; q. l* W% @
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - e8 @2 B* F% [2 R& F
  194. ; should be disabled, as enabling it may result in issues when generating XML
    / F4 H: H1 N* e! x; f9 _$ R2 T
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! _( `4 k) Q. X$ V  u, ]0 j  c2 {
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    * k# S1 _- d- f, V
  197. ; used regardless of this directive.
    - e" k  F4 o# _0 D4 t8 t
  198. ; Default Value: On
    - s" K. k4 q% v- m3 t" L: a
  199. ; Development Value: Off" r5 k) h  _& D
  200. ; Production Value: Off! t* H" |) o" ?! q, V
  201. ; http://php.net/short-open-tag
    6 w! E/ c6 Z! g' \; ?" S* X
  202. short_open_tag = On% M$ j/ n& V( ?+ Z2 a

  203. # U% Z7 U3 T: T5 M$ J! O: `
  204. ; Allow ASP-style <% %> tags.
    $ m, M" g9 t1 Z9 E  N5 B) n) D* l' ^
  205. ; http://php.net/asp-tags$ X: B, O# M) \, k
  206. asp_tags = Off! K' J, m6 g5 `. H! P% C

  207.   `6 m) X) a$ r' h2 L7 T: b
  208. ; The number of significant digits displayed in floating point numbers.
    * z0 W5 [$ U3 U. g7 Q
  209. ; http://php.net/precision
    : \3 i2 m" e1 m* T, [7 S
  210. precision = 14) [" @1 ~" M6 n5 C* \- a( @

  211. # h, g. y( W- T, v# Y1 y0 b
  212. ; Output buffering is a mechanism for controlling how much output data
    7 U1 ^! P! g0 o' V0 t) r
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    4 j) y$ [, p$ f
  214. ; data to the client. If your application's output exceeds this setting, PHP& h' R1 S0 Q: S- u$ e1 D6 I% G
  215. ; will send that data in chunks of roughly the size you specify.
      |: R8 C& C3 s) q
  216. ; Turning on this setting and managing its maximum buffer size can yield some, n; ^5 x1 m0 g1 m" b
  217. ; interesting side-effects depending on your application and web server.0 G- `  n* Z: @' V) x
  218. ; You may be able to send headers and cookies after you've already sent output+ Z/ J+ S1 e- |
  219. ; through print or echo. You also may see performance benefits if your server is3 Z# e- D+ E5 R8 R9 p. M) p
  220. ; emitting less packets due to buffered output versus PHP streaming the output# w# U6 |; T; F6 D& a
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance+ u, S9 F" W& e. }0 u7 ~
  222. ; reasons.
    1 ?+ J2 g* ?" t9 t
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
      m* `1 S" m6 U7 |: ~
  224. ;   functions.
    ; |& r. o7 ]7 ^8 c) Q/ O4 a
  225. ; Possible Values:
    8 F- V8 N/ V" |
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    % Z% s) J4 \+ J# t
  227. ;   Off = Disabled
    - z2 v0 E' \4 E9 P+ S
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    9 I1 ?; \0 u3 G% X* K# ?
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " G3 y' h. s8 q- K5 F7 d
  230. ; Default Value: Off& k' j% X% a4 L! k2 s
  231. ; Development Value: 4096  F6 e6 _+ M" ]7 {. c& _
  232. ; Production Value: 4096
    ' g! a) A3 y; X3 B: q, q* c4 a
  233. ; http://php.net/output-buffering+ f* h& }4 U3 w( J
  234. output_buffering = 4096& Q1 R8 @, x5 o/ n' S

  235. & d1 l0 E' {% h0 \3 r7 a, U
  236. ; You can redirect all of the output of your scripts to a function.  For' [$ B" K  @1 }6 o6 M
  237. ; example, if you set output_handler to "mb_output_handler", character6 Z. l! w0 x" p3 c2 l8 n
  238. ; encoding will be transparently converted to the specified encoding.
    4 w; O2 F2 O5 C2 |+ X7 D
  239. ; Setting any output handler automatically turns on output buffering.
    0 E5 M' j& A1 R3 ?
  240. ; Note: People who wrote portable scripts should not depend on this ini  s" i7 ?" S& Y" b
  241. ;   directive. Instead, explicitly set the output handler using ob_start().+ p( c7 p3 V3 h* k) H% A) D, _% B9 p
  242. ;   Using this ini directive may cause problems unless you know what script
    6 [! H' D2 d5 J
  243. ;   is doing.
    3 \& V% k, L0 A" d
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    + C2 d& `; ~) C
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ( }0 Y' H$ T/ K% r6 L
  246. ; Note: output_handler must be empty if this is set 'On' !!!!$ k# E3 n4 f- g4 [+ d
  247. ;   Instead you must use zlib.output_handler.
    " P, f( q: W8 ~. g4 J
  248. ; http://php.net/output-handler' V$ _1 ^  f# ]0 f& u4 x- l
  249. ;output_handler =4 ~6 V7 T5 r3 H# g% a6 o$ {2 ~6 Z

  250. 2 A, j4 M1 u' h0 w" c
  251. ; Transparent output compression using the zlib library
    - [6 r0 @. W! q; d4 @( u8 Y1 e
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size2 [; q# X- U7 f3 x
  253. ; to be used for compression (default is 4KB)
    7 S) k$ {) u( i  E
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    0 S7 }; E. ]! \) p$ J8 h
  255. ;   outputs chunks that are few hundreds bytes each as a result of/ V; o" s( t8 S2 W4 J% v
  256. ;   compression. If you prefer a larger chunk size for better9 A6 t  q; N1 }, A9 S" P
  257. ;   performance, enable output_buffering in addition.
    ) d  S  p; U; k# T  Z. J
  258. ; Note: You need to use zlib.output_handler instead of the standard  E3 z: x) [$ E+ r) }. T) U
  259. ;   output_handler, or otherwise the output will be corrupted.
    0 s  G9 a( w' m9 k/ X( m3 O  C
  260. ; http://php.net/zlib.output-compression
    ) M! {5 ^5 [. K7 y
  261. zlib.output_compression = Off9 d) ~6 q5 L1 H7 a8 G( A9 O9 Y' J

  262. + \7 K- W9 v) {' h- `4 [
  263. ; http://php.net/zlib.output-compression-level
    ! i) l$ C  P3 v
  264. ;zlib.output_compression_level = -1
    4 m. U( `& U7 V$ Q, b
  265. 7 O8 P7 n! C- G
  266. ; You cannot specify additional output handlers if zlib.output_compression
    # Z. b# ~% K4 Y
  267. ; is activated here. This setting does the same as output_handler but in
    ) T* x' S: J3 i! ]8 m
  268. ; a different order.2 ?. t3 Q% b0 k; [
  269. ; http://php.net/zlib.output-handler1 V5 b0 _' d3 l  o
  270. ;zlib.output_handler =
    / u$ J0 [/ o6 o( L

  271. , q+ \" X$ _* H4 x  q4 w) W
  272. ; Implicit flush tells PHP to tell the output layer to flush itself  n4 }. M: M7 r
  273. ; automatically after every output block.  This is equivalent to calling the
    + r5 f# o6 K, n; P0 ^: }4 ^* l
  274. ; PHP function flush() after each and every call to print() or echo() and each
    - i) O& T; {! i+ ~, Z) ~' j: u7 w, t
  275. ; and every HTML block.  Turning this option on has serious performance3 r# y! i) E: f* Y' y
  276. ; implications and is generally recommended for debugging purposes only.. `0 B& r# ~- ~% d& E( u
  277. ; http://php.net/implicit-flush
    & ~9 P( f% \% W. N3 [) _  t& \! _& V
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' u2 h" v0 }1 \: N- |0 ?
  279. implicit_flush = Off
    . L2 L8 p! y) i: v$ v1 ~, }
  280. 5 R! g* ~$ b3 z- k
  281. ; The unserialize callback function will be called (with the undefined class'
    * Q- ~0 l1 U5 W7 Z# a1 J
  282. ; name as parameter), if the unserializer finds an undefined class
    + |1 |6 [: q. x' W
  283. ; which should be instantiated. A warning appears if the specified function is0 Y. O' {2 `* W) a
  284. ; not defined, or if the function doesn't include/implement the missing class.
    9 X8 g+ [% Q* z% L1 |
  285. ; So only set this entry, if you really want to implement such a( Y, X: ~) ^. m: ~/ e8 U- [7 p
  286. ; callback-function.
    3 j* t. C5 d. t( z1 R
  287. unserialize_callback_func =5 g( }/ _* u8 C" I0 Z: [, {# k
  288. 7 y% ^7 p0 `4 T8 _: J& r
  289. ; When floats & doubles are serialized store serialize_precision significant  ?; }& D2 I& P
  290. ; digits after the floating point. The default value ensures that when floats
    ! W( J1 @3 ~5 ]% ]7 {# A
  291. ; are decoded with unserialize, the data will remain the same.
    2 N7 D# l; Q* P& _# X( s
  292. serialize_precision = 178 [9 d! m& V$ w0 F, ?6 L2 Q

  293. & y* B0 f  X. n: r0 \/ a5 t7 ~
  294. ; open_basedir, if set, limits all file operations to the defined directory6 j, _' d9 L8 u, K2 h  U/ T+ p) J
  295. ; and below.  This directive makes most sense if used in a per-directory
    * e  `$ S' h3 a% f2 S5 f. i
  296. ; or per-virtualhost web server configuration file.
    * H# o8 y1 e" A$ i, P
  297. ; http://php.net/open-basedir
    8 o$ o0 d, `. K! T
  298. ;open_basedir =
    * @+ F  A% a* U7 H( [% e  F* |/ ]
  299. 1 r9 n$ U* v* r" u% i
  300. ; This directive allows you to disable certain functions for security reasons.
    " i+ S" z# N/ M' W# s! b
  301. ; It receives a comma-delimited list of function names.( Z6 ~# t6 B" Z! @1 P9 \$ n9 t
  302. ; http://php.net/disable-functions, L  S$ A+ v" I3 x) l
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    * S0 L4 o) I2 P, e  K5 c3 v

  304. # o0 e+ h. [# N  c) v/ D
  305. ; This directive allows you to disable certain classes for security reasons.% t: O. u6 e/ K& ]
  306. ; It receives a comma-delimited list of class names.0 c( M! d4 U+ T. S, d/ m6 g
  307. ; http://php.net/disable-classes2 _. h1 O. s2 y5 I
  308. disable_classes =
    / W0 p0 g# p' a+ M* N
  309. # x0 H8 w7 U4 D/ Q2 ~) v* Q. y# r. E
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
      D( _! x2 f" z7 w# t  e$ ^0 O- i
  311. ; <span style="color: ???????"> would work.  r' [5 U, S5 m6 d# S: U; e
  312. ; http://php.net/syntax-highlighting
    + A  \; [7 D, r/ C( n
  313. ;highlight.string  = #DD0000
    : y1 k# D+ X' v1 m4 f5 j
  314. ;highlight.comment = #FF99003 b# C8 C& P: ?( ~0 p, W, S
  315. ;highlight.keyword = #007700
    6 Y- e. r! q  c! ^, I
  316. ;highlight.default = #0000BB
    ; U5 O) o' x0 z& F  E9 ?
  317. ;highlight.html    = #000000
    ! u- e- A3 e9 X" ^
  318. ; K: T2 Q% a7 c* i
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    % Z" G) F; P* Y0 S) j1 T6 k
  320. ; the request. Consider enabling it if executing long requests, which may end up
    $ F. a# K, T* c
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior2 y# Q9 ?6 g" ~8 j% N
  322. ; is to disable this feature.
    ( U' v+ m" B  Z. W; X
  323. ; http://php.net/ignore-user-abort
    " [8 y: @# M0 y1 h9 y6 X
  324. ;ignore_user_abort = On
    ; x  M  }  C1 ?) e; k. M+ R% E' m
  325. 9 f' h1 G) C  U" N' E- Q
  326. ; Determines the size of the realpath cache to be used by PHP. This value should0 ~4 B0 {. H9 A7 \6 h8 x, B+ z5 H/ S: B
  327. ; be increased on systems where PHP opens many files to reflect the quantity of* J7 I8 V+ k4 d) G
  328. ; the file operations performed.
    4 m; |4 M" |+ |3 p, c( Y9 U
  329. ; http://php.net/realpath-cache-size; D. n! _2 N2 F& h: C
  330. ;realpath_cache_size = 16k4 e: z, J6 f. R. b6 G

  331. 8 j5 |9 Z6 M1 s: O" _
  332. ; Duration of time, in seconds for which to cache realpath information for a given! H. S/ M; a1 T8 f+ Q
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    & l# u; ?+ f6 }9 g
  334. ; value.
    4 V" k4 Y* j" I" H: f: R
  335. ; http://php.net/realpath-cache-ttl- V, y0 ?* R7 w5 k7 W
  336. ;realpath_cache_ttl = 120$ r9 c0 I( E1 W3 D: |/ v* S  E5 q

  337. , U3 B: L0 J+ u% I
  338. ; Enables or disables the circular reference collector.
    5 m$ U3 G. I% C# U5 D. r
  339. ; http://php.net/zend.enable-gc
    * ]6 J' G8 I' c3 p
  340. zend.enable_gc = On& S8 \( V" M8 t# w7 D/ h7 H

  341. - q" }& p5 g1 S9 Z9 Y, D: h+ Q
  342. ; If enabled, scripts may be written in encodings that are incompatible with6 N$ {$ a7 R4 N' J6 [
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such5 w0 {2 j! b/ T
  344. ; encodings.  To use this feature, mbstring extension must be enabled.3 R* {, m& p  n# ^& ?
  345. ; Default: Off3 v- {: C1 _6 X/ Q, g0 }9 |
  346. ;zend.multibyte = Off
    6 T+ K9 D* x9 x8 v! g
  347. ) G9 M% F% q) s' F. Y
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    $ \) r' X+ L2 Y5 _
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 X$ C, k9 c2 ]8 t# R( j
  350. ; Only affects if zend.multibyte is set.
    & k: Q, I, E4 R( {7 v9 r8 W; t
  351. ; Default: ""
    ) p. q# k4 V) H+ p/ a1 [
  352. ;zend.script_encoding =
    $ }- [2 r4 |# v. h! w5 s0 j

  353. ! S  o4 `% ~+ Q1 B. w, q
  354. ;;;;;;;;;;;;;;;;;7 c5 a2 `( j, n) h) k
  355. ; Miscellaneous ;
    % i, ~4 i$ _: |* a  n  X8 o# S
  356. ;;;;;;;;;;;;;;;;;
    ! ^" Q2 y  f& ?

  357.   W* l7 j) X0 P' _% M7 B) ^& }4 o
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 ?) E4 T% @: q
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 O0 Y6 H/ v8 e" C' a
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) a5 p6 X# `+ R
  361. ; on your server or not./ n' K4 o+ B8 E  {/ M7 K
  362. ; http://php.net/expose-php
    9 r2 C- l- T) N/ |3 H; G' r" o% E. \
  363. expose_php = On
    & f" k! f' I+ U

  364. ! l% Q& {' L9 C. A5 w+ @
  365. ;;;;;;;;;;;;;;;;;;;; B% j3 ]6 w+ z/ {% W% t
  366. ; Resource Limits ;, Q4 `, u- S0 L* z9 S5 _( X8 r
  367. ;;;;;;;;;;;;;;;;;;;
    $ q5 T2 L. T. \. N0 R
  368. 4 i2 j8 n+ X; d
  369. ; Maximum execution time of each script, in seconds" q6 j7 G( B- s% B
  370. ; http://php.net/max-execution-time# M3 r/ s, [- {. k: E
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI  s, }+ B( M! K9 W: X+ L$ ]
  372. max_execution_time = 300! k6 ]6 n2 G7 k$ n
  373. % z. N% I+ l0 y
  374. ; Maximum amount of time each script may spend parsing request data. It's a good( B% ~2 {1 C/ x+ j6 Z4 o7 R5 o* D
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly. N! [# a3 t2 G  b
  376. ; long running scripts.& ^9 s% m+ x; j$ q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ! Q* E$ ^8 n% N: w% @6 W! g
  378. ; Default Value: -1 (Unlimited)4 [9 _/ O3 E  G  L" t  {8 T% e9 Y
  379. ; Development Value: 60 (60 seconds)- J' }9 G6 h4 B, \7 I" _* ^9 v
  380. ; Production Value: 60 (60 seconds)
    4 T1 T& a+ V7 }$ h& k% l" y
  381. ; http://php.net/max-input-time
    : @! i6 P( g+ G' E, @1 o
  382. max_input_time = 606 |2 `/ k' X6 `; Q' Q0 L; I$ K4 Q

  383. : g) I( Y7 z) y
  384. ; Maximum input variable nesting level
    % `' U' m- I* l- Q7 \
  385. ; http://php.net/max-input-nesting-level
    4 e1 \; d7 p9 j! }# Z& c1 N' j
  386. ;max_input_nesting_level = 64$ U4 y5 u9 V1 b( K/ W5 Z2 ~( b8 P
  387. ' s9 s: y! F* k
  388. ; How many GET/POST/COOKIE input variables may be accepted
      |3 X3 p/ F  N$ a
  389. ; max_input_vars = 1000; V3 [3 S( w+ X7 t1 ]  l6 H

  390. 2 }( J* q* b. v& V, L* P' |0 l
  391. ; Maximum amount of memory a script may consume (128MB)5 l4 r# h; k0 e/ \) W
  392. ; http://php.net/memory-limit0 z; t- ]* ?1 e4 F" m
  393. memory_limit = 128M, n9 s8 l; ^/ S

  394. ! Q; U: T' y+ b
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) y& |# a% t2 c
  396. ; Error handling and logging ;
    2 r2 b2 A8 U( ?8 C! K6 z' b& O
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 E0 S9 B- i" Y/ \( }# x
  398. 1 k% O5 L* A& g( h- H& e
  399. ; This directive informs PHP of which errors, warnings and notices you would like) L' Q1 P+ u: u# }& R
  400. ; it to take action for. The recommended way of setting values for this
    ) z. U! K# W. e/ n: u9 c4 O( D
  401. ; directive is through the use of the error level constants and bitwise5 V" F: i5 m/ t+ k
  402. ; operators. The error level constants are below here for convenience as well as9 M. n' T! E' u$ E
  403. ; some common settings and their meanings.- U8 z/ r; K, r& G: `. h
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    . [8 o8 P( ^; t4 s; q( c* a3 \4 |
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and; |2 P6 o+ x. A7 R8 }  ?% [+ z# s
  406. ; recommended coding standards in PHP. For performance reasons, this is the) p' M8 f7 z% }. b7 i* [
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    " ~! N4 G5 l( K. x/ }; |* b
  408. ; resources complaining about best practices and coding standards. That's what4 g" C6 `2 L$ p$ M
  409. ; development servers and development settings are for.4 S% ]$ |& d' V1 X# v' c. [
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    0 c# B& |" R6 z& F7 ^
  411. ; means it pretty much reports everything which is exactly what you want during) y' `3 P/ m+ g# [# y( D9 [
  412. ; development and early testing.
    $ T6 S2 @4 Q! }8 E5 Y+ ^, Q; t
  413. ;- v2 \9 R# W2 ~$ f  _' E+ X
  414. ; Error Level Constants:
    $ D( c% X+ @; ^$ ?" A
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! V1 L* [3 C) A
  416. ; E_ERROR           - fatal run-time errors- c8 c: X4 T: p- _' z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors/ i9 `0 W5 D3 d" U6 N
  418. ; E_WARNING         - run-time warnings (non-fatal errors). }) K$ @) |; f0 f  {5 }
  419. ; E_PARSE           - compile-time parse errors% n% a( o0 V/ P0 \
  420. ; E_NOTICE          - run-time notices (these are warnings which often result2 E9 ^* v, O- x* A* u
  421. ;                     from a bug in your code, but it's possible that it was. [  l/ S/ r0 E6 s1 l
  422. ;                     intentional (e.g., using an uninitialized variable and# \* O$ J% x. i
  423. ;                     relying on the fact it is automatically initialized to an
    2 v+ U$ E8 m& c) Q
  424. ;                     empty string)
    2 k  c6 j& Z  A& A( V* Q
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes% K' z% V" `, N$ A8 H
  426. ;                     to your code which will ensure the best interoperability
    9 \" a1 X! s9 q  A, v1 d
  427. ;                     and forward compatibility of your code
    ; _2 t% |' y4 n9 u5 p
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    + C  O& e0 u: J' o- o
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    & a7 v: f1 y, W9 y/ @
  430. ;                     initial startup
    % z& ~  h& K+ D1 q5 U% @9 P
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    1 z- Y( A4 Z$ Q% n
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)# u# m7 u. ^5 G$ {" ^1 \* z" ?/ u, X
  433. ; E_USER_ERROR      - user-generated error message
    0 Z9 C$ A7 e' X- t. @
  434. ; E_USER_WARNING    - user-generated warning message+ \) I2 M' w/ x" J* r3 j- a( K1 m
  435. ; E_USER_NOTICE     - user-generated notice message- t4 ^. T- \8 |
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    * h0 X* F7 q0 {9 ?) w# d9 h
  437. ;                     of PHP- f! ^+ E. c* x' {6 q. K$ i5 _4 ]
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings8 K5 l  V6 L( Z% y) |+ d
  439. ;3 o4 G5 `8 L3 }  l4 {
  440. ; Common Values:* b4 ]5 D9 |: D
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)* U% r0 y# |% o( ^
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* `' E: p) d9 h! n# {  t8 {' W
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    4 r  w0 v# k3 |0 |* l' ]5 \) K
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors). s2 y7 N0 X( f; m
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; l. [% M) {8 [1 v  s$ h
  446. ; Development Value: E_ALL
    ) I; R1 ?5 s; G9 t7 W5 i
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 e' k9 F  y$ X! X7 b! d
  448. ; http://php.net/error-reporting
    0 D: w2 g$ B( ?2 X8 _
  449. error_reporting = E_ALL & ~E_NOTICE  Q) f7 M; T. r1 [5 Y, P
  450. 9 q3 l- j4 a4 u; Y
  451. ; This directive controls whether or not and where PHP will output errors,1 t, Z+ J# [# \7 c3 @* q2 C
  452. ; notices and warnings too. Error output is very useful during development, but: ~5 ^1 H4 F  J9 s7 F- t! d, H8 Y$ N
  453. ; it could be very dangerous in production environments. Depending on the code( {2 Q) C0 t  P: Z; ?- R( D- W
  454. ; which is triggering the error, sensitive information could potentially leak; Z7 K$ e+ ^" f7 ~* E. A
  455. ; out of your application such as database usernames and passwords or worse.+ [; }7 T: A+ R
  456. ; For production environments, we recommend logging errors rather than
    2 A* Q0 |; I- l
  457. ; sending them to STDOUT./ s5 U0 n. m$ q% s$ G
  458. ; Possible Values:
    - @! w# E2 ~! e$ V
  459. ;   Off = Do not display any errors
    5 \3 @4 S- l6 c
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)  K% X+ \5 u. R2 m) K7 p: Y: O! h5 n
  461. ;   On or stdout = Display errors to STDOUT
    7 n2 ~" S1 T4 A  G
  462. ; Default Value: On
    $ S- @9 s" h6 g( m; s( l+ E- C
  463. ; Development Value: On
    & m) W! s7 N8 K6 `
  464. ; Production Value: Off
    0 b/ D  l6 u/ k. L, t
  465. ; http://php.net/display-errors  T4 h6 e; C' Z8 g% H+ C3 D. J
  466. display_errors = On" y: y9 ~: _3 G
  467. & c8 j. r& w- x
  468. ; The display of errors which occur during PHP's startup sequence are handled
    - c1 X: ]: O0 m; d4 x+ z& x+ d
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ; M9 {* P6 n- ^* G! Z
  470. ; errors from clients. Turning the display of startup errors on can be useful in' e- L$ Q# z$ \
  471. ; debugging configuration problems. We strongly recommend you
    5 L# {. B, [+ ~: D! |1 |
  472. ; set this to 'off' for production servers.
    * B" V9 d! T! `# M- }6 P
  473. ; Default Value: Off& Z1 _8 w& H9 V
  474. ; Development Value: On9 ^6 i: A; w3 u( O% g# p
  475. ; Production Value: Off. v% t5 G$ e2 }2 r1 l7 G0 n
  476. ; http://php.net/display-startup-errors
    . F% |9 }' \$ j9 ]
  477. display_startup_errors = Off. l6 f* e4 y$ G5 D6 c5 U

  478. & i3 I5 w& f- f$ r
  479. ; Besides displaying errors, PHP can also log errors to locations such as a) t; A; i/ ?& m- [, O% ~
  480. ; server-specific log, STDERR, or a location specified by the error_log# P" S) G; W; w+ a( @: A# k
  481. ; directive found below. While errors should not be displayed on productions
    ' f1 F2 s9 u+ z& `7 ]
  482. ; servers they should still be monitored and logging is a great way to do that.
      K1 Z2 s- x5 h0 i! E) S+ X, K
  483. ; Default Value: Off# c- h8 S( t0 B8 Q  F! J
  484. ; Development Value: On9 G0 F/ c0 _" h! \5 v9 N
  485. ; Production Value: On3 ~: p( z1 I/ t( i2 M
  486. ; http://php.net/log-errors
    ' Q& ~: Z" k/ t  [1 T
  487. log_errors = On. A$ e% c  K) E
  488. : ^* w, U+ n& |- u2 M
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ! D8 t$ d, H6 k! e0 P  l  z6 A
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 q; `+ a  i3 s8 L& e& D+ Y
  491. ; http://php.net/log-errors-max-len3 v3 k6 [( G; l$ v0 K4 ?3 F
  492. log_errors_max_len = 1024
    5 U9 b* O( I4 ?8 q5 o0 W# n5 i

  493. 4 \; Z5 t3 b' o& Y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    3 j4 X5 k/ ]- V$ R
  495. ; line unless ignore_repeated_source is set true.
    . v  |' F: m& ?8 z! `( ^( @, u5 x
  496. ; http://php.net/ignore-repeated-errors
    6 l6 ~3 \! ~" z7 m  X8 P7 H
  497. ignore_repeated_errors = Off
    " T5 P2 H; P5 |8 P. s0 P0 C
  498. 5 o% a: ?9 |0 n; g1 a( B2 ?
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    # `( X) U8 C" R% b1 l: o) g; a
  500. ; is On you will not log errors with repeated messages from different files or+ V' }- b, Y6 X% q$ C' \
  501. ; source lines.: d& F$ p/ H% ]9 X/ {% d" j1 N
  502. ; http://php.net/ignore-repeated-source: t$ C! o0 R8 K1 F2 J. ~7 x; b% |
  503. ignore_repeated_source = Off
    6 q2 B6 d1 w8 ~

  504. + S* d+ M+ v6 i
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on! A) N# r' M# V9 O
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    7 B/ O3 [. Y- p0 j4 j* E
  507. ; error reporting includes E_WARNING in the allowed list$ G. o7 I  K$ R! v
  508. ; http://php.net/report-memleaks4 E: \5 m( l- G9 C7 [9 Q2 _3 x. W
  509. report_memleaks = On" t  n2 x6 j" K, M9 m( L" u- ]

  510. * x- d1 @% s8 ?' ~6 T% C6 m2 V9 E
  511. ; This setting is on by default.
    1 l6 |* |% [0 [# g1 R. K3 u
  512. ;report_zend_debug = 00 P# d& n+ ?) o# Q* b3 M8 K

  513. 9 ]9 ^5 e4 ?4 S. ]+ h( o9 N
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    . n/ m+ X7 M9 Y( F1 I+ `. p
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    1 ^( H8 i% D. C- |+ s
  516. ; however be disabled on production servers.
    2 p! q% R% x2 l: x( {2 u
  517. ; Default Value: Off6 o% P+ C/ q3 ]  Z7 `
  518. ; Development Value: On" d. I& g/ a! E; P
  519. ; Production Value: Off* y+ P* O" b+ D
  520. ; http://php.net/track-errors
    . @& L: M/ C0 L9 r
  521. track_errors = Off% x, n% Z4 t# Y& n0 t: F
  522. : m" j4 S  ^5 t  B7 m# X
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    : i4 B6 `* j# M: @2 W3 w  I
  524. ; http://php.net/xmlrpc-errors
    7 d1 a9 [' A* N7 Z# F) e* x; Y
  525. ;xmlrpc_errors = 0
    & k& ?! \' p* ?; g/ R
  526.   r. H3 b3 y: D" k! n
  527. ; An XML-RPC faultCode
      [0 E3 J- ^& [& B* N. B. Z
  528. ;xmlrpc_error_number = 07 p* s3 ^$ }3 ^5 J% D

  529. 6 r* @0 {- r8 i
  530. ; When PHP displays or logs an error, it has the capability of formatting the- Y8 {" z6 \' e) n# o8 M5 a
  531. ; error message as HTML for easier reading. This directive controls whether/ D0 B- y* `# u& F
  532. ; the error message is formatted as HTML or not.7 D& o& j" |) L' {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # f7 j$ q& I. r& V
  534. ; Default Value: On
    : S1 a7 g9 F( D; e
  535. ; Development Value: On1 H; `* _: c* G4 v5 A2 d
  536. ; Production value: On
    % j+ O1 \& C) @- S' [3 q
  537. ; http://php.net/html-errors
    . d2 U5 a- j2 x! R( P! ~8 f
  538. html_errors = On
    # Q) p0 v* c. o" Z

  539. # a# R0 g6 Y7 ^4 E- y4 {
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    3 H" \, s; Q' S1 u. E
  541. ; produces clickable error messages that direct to a page describing the error
    ( A: M; b+ ]% d/ ~& j# n6 L
  542. ; or function causing the error in detail.4 e- M; P- Y5 b: G: }
  543. ; You can download a copy of the PHP manual from http://php.net/docs* G2 f# |, K; R8 n
  544. ; and change docref_root to the base URL of your local copy including the" U9 g2 f: p: k) g5 W# Q) y4 B
  545. ; leading '/'. You must also specify the file extension being used including
    7 p9 M. B( p( q" P
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + I: L% m4 V& S- y
  547. ; case no links to documentation are generated.% s0 s  X8 Q9 S! z
  548. ; Note: Never use this feature for production boxes.
    - k8 {4 F/ K9 w& X
  549. ; http://php.net/docref-root8 Q7 Z/ N1 d0 G) o6 A
  550. ; Examples; G1 {5 C  K9 N# X  K
  551. ;docref_root = "/phpmanual/"# s  I4 P! z. F
  552. 1 H' n# R! u6 l8 A
  553. ; http://php.net/docref-ext. v. e$ m3 x. ?% j7 G/ M: W9 K
  554. ;docref_ext = .html
    9 U# s3 u0 j6 K4 O: I

  555. + ?. @. x0 b5 D; t) L  G- Y
  556. ; String to output before an error message. PHP's default behavior is to leave% G5 c$ T6 A* J# T
  557. ; this setting blank.
    & }9 e% n; X2 B  g
  558. ; http://php.net/error-prepend-string/ v; t! b9 b# {/ N9 k
  559. ; Example:8 x( I5 d9 Y- e2 ]
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    # }+ u, w( M' ~( y; |
  561. 0 g' E0 [" D  y: ]  z
  562. ; String to output after an error message. PHP's default behavior is to leave; G5 {0 W) ?; M) ~; N2 H, d
  563. ; this setting blank.6 S9 p0 Q9 \% _
  564. ; http://php.net/error-append-string) Z* ?5 q1 P) y/ {
  565. ; Example:3 I) ~) n) R: w+ m1 g. I+ Y4 J3 X
  566. ;error_append_string = "</span>"
    9 S! k/ T/ r$ ]' z4 q- [
  567. % Z" @; N) w$ ]* q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    * z) W! A  `5 @) J$ R! m
  569. ; empty.9 t2 t0 l' `, o2 x2 O4 n. R* b- Q
  570. ; http://php.net/error-log, e% t6 x  w$ F: L
  571. ; Example:2 h: y5 S1 T) |( s
  572. ;error_log = php_errors.log
    % P3 P4 V1 c2 E
  573. ; Log errors to syslog (Event Log on Windows).
    ! Q9 I) V+ h8 T: ?5 H
  574. ;error_log = syslog
    + K$ h  i* S  y; C
  575. 9 W& ^, t3 L% ~7 B# ~+ s0 ]
  576. ;windows.show_crt_warning$ J/ O1 c  E8 P
  577. ; Default value: 0
    , |/ {; c9 @0 Q3 y+ X$ Z2 s
  578. ; Development value: 0$ ]. r. M' u0 z- |, S
  579. ; Production value: 0. M3 ^  |8 [1 d: \0 F8 ]
  580. ) ]) z& N8 m* v& _9 p1 y. S
  581. ;;;;;;;;;;;;;;;;;, b% S& H% f- N; Y' j
  582. ; Data Handling ;' `6 f3 z- Y0 Y" h
  583. ;;;;;;;;;;;;;;;;;
    4 y( i! B* h* i% _& k2 I0 r% C
  584. : O# V$ O% e2 K' b, L
  585. ; The separator used in PHP generated URLs to separate arguments.* r1 J) \/ Z/ {  t) y2 k  D% q
  586. ; PHP's default setting is "&".
    % r$ I: L0 T5 n" I: s7 k
  587. ; http://php.net/arg-separator.output
    - j3 {4 }8 [' ^" Q0 {" e: T6 Z! o
  588. ; Example:0 z" q( h! N' h* l! G& }8 h
  589. ;arg_separator.output = "&amp;"
    ; a$ A6 N9 C/ {; o* P% F0 i
  590. ( v7 \' @5 b2 ?( Q9 O& f
  591. ; List of separator(s) used by PHP to parse input URLs into variables.$ v0 i. ~3 c  Y4 t
  592. ; PHP's default setting is "&".& {! z, ?# L. X' l+ [
  593. ; NOTE: Every character in this directive is considered as separator!! V" v; ]1 ~: N' |" V0 p* ~
  594. ; http://php.net/arg-separator.input9 ?' Z8 H% C1 f% b" N( v% }; g/ \
  595. ; Example:! ~$ h9 ^9 X+ f
  596. ;arg_separator.input = ";&"
    1 h; F) {; E# T9 N; ~$ W
  597. : J$ o: u# T9 D/ J6 e( _
  598. ; This directive determines which super global arrays are registered when PHP; c. z0 z3 \9 S4 Q
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super; ^, x& V  \' m" f0 {% U1 q
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty  Y* q; I2 w4 o$ w, M9 D
  601. ; paid for the registration of these arrays and because ENV is not as commonly2 v2 }! Z" u  X- \% B# u! @
  602. ; used as the others, ENV is not recommended on productions servers. You
    $ L* |6 f$ Y! I' y1 I
  603. ; can still get access to the environment variables through getenv() should you
    ' U, k: K) M9 H6 ~
  604. ; need to.
    * h# S5 E+ @! J9 E( t- _& I
  605. ; Default Value: "EGPCS"7 E. N. _! }) e7 T2 G( y
  606. ; Development Value: "GPCS"
    * {! K% Y& _) W, g# p! b: p4 y
  607. ; Production Value: "GPCS";# K: H. j% c# O  c' I+ V5 v+ {* N
  608. ; http://php.net/variables-order$ i# ~% |* `) N* j3 [
  609. variables_order = "GPCS"
    : S6 @! ?7 ]" \2 [* n5 l! q7 \

  610. , l7 V* k& s+ {! m
  611. ; This directive determines which super global data (G,P & C) should be6 r  a' D, [1 T. q" ?
  612. ; registered into the super global array REQUEST. If so, it also determines
    + i, @3 K3 [- e" V. _: j
  613. ; the order in which that data is registered. The values for this directive$ o; E" x/ Y1 ^( {, L- e
  614. ; are specified in the same manner as the variables_order directive,
    ( k8 K5 W* {/ k9 Z4 f  p/ n
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set# ?& C8 h3 a! w+ B5 _/ {
  616. ; in the variables_order directive. It does not mean it will leave the super- X+ \  ]3 {$ @- y
  617. ; globals array REQUEST empty.
    2 n8 s8 s' o" T4 _" v+ L( {
  618. ; Default Value: None
    3 j! Y% B3 C0 a! |! ~: D3 i
  619. ; Development Value: "GP"
    + g. U" o/ |4 N
  620. ; Production Value: "GP"
    , Y1 T! V9 N/ p$ d3 w2 y# G
  621. ; http://php.net/request-order* ?; |5 n' [% o7 X% r9 J) d1 H
  622. request_order = "GP"
    ! W8 v1 V( l  b: i7 x
  623. 0 t/ D8 t8 Z; ?: }
  624. ; This directive determines whether PHP registers $argv & $argc each time it5 @, W, ]* V) _) {$ Y9 L6 y0 t
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    0 X5 |# y, I. h3 {( c4 l
  626. ; is invoked. $argc contains an integer representing the number of arguments, N- ?' s8 q6 [  s  r% X
  627. ; that were passed when the script was invoked. These arrays are extremely
    * |& s7 i! d3 l
  628. ; useful when running scripts from the command line. When this directive is
    2 e  s' n4 R# i, H) O
  629. ; enabled, registering these variables consumes CPU cycles and memory each time9 @2 B; J2 ^* G$ v% @5 t5 K5 B* c
  630. ; a script is executed. For performance reasons, this feature should be disabled6 T" \( x1 H) u
  631. ; on production servers.' R0 ^9 G- `+ a
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 K$ A! y+ c# s/ w
  633. ; Default Value: On
    : I3 C; U7 O4 _; K! a5 w
  634. ; Development Value: Off
    9 `9 W( H% }7 }9 H6 o$ Q
  635. ; Production Value: Off1 B4 v9 r2 O, K5 J/ q+ U6 E5 m
  636. ; http://php.net/register-argc-argv
    / p# D! E+ b. ]+ ^# P2 a5 i7 n
  637. register_argc_argv = Off. [3 ?+ `" I. G, Y) x! C

  638. & P5 u+ ^$ n) L, [) J3 e
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're' }1 b9 ~) w5 j% s
  640. ; first used (Just In Time) instead of when the script starts. If these# G: K& U- c. d
  641. ; variables are not used within a script, having this directive on will result/ d! D( L& @/ k4 A" Z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 b* ?% @$ L1 X
  643. ; for this directive to have any affect.' I% n7 o/ e8 D7 H
  644. ; http://php.net/auto-globals-jit
    ; O! B# _$ N2 X" n. N  F, P
  645. auto_globals_jit = On
    / y' G6 {" h! u; X2 C
  646. 6 p, Y3 n5 R6 ^$ G
  647. ; Whether PHP will read the POST data.
    ) ~/ J8 o/ l" g7 G9 }. V6 u
  648. ; This option is enabled by default.
    - Q  ]- Z: |; ?( Y3 D
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + U1 L* {- U/ b9 U
  650. ; and $_FILES to always be empty; the only way you will be able to read the- x1 h7 w! @/ q0 |$ j  E: Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    + |- _% r# W. _  U3 a9 [" J! a7 [
  652. ; to proxy requests or to process the POST data in a memory efficient fashion., Q% W0 ?  p8 Z4 v. ]) l
  653. ; http://php.net/enable-post-data-reading
    , b, _6 Z" l  l! }5 U7 M0 U! r9 R
  654. ;enable_post_data_reading = Off
    . B2 V" _, d- r8 l
  655. , C' {3 p4 }# ^4 ]
  656. ; Maximum size of POST data that PHP will accept.) b' P; p% ]4 }3 e8 ~7 C
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    % W! P* }8 p- P+ J% C% V
  658. ; is disabled through enable_post_data_reading.+ J! P6 L7 O/ V5 r, _
  659. ; http://php.net/post-max-size
      p) }  Q& E, Y% @6 x
  660. post_max_size = 50M: L  u# A# J3 q$ T2 |2 c

  661. 1 F/ K* u. |- |  r& U
  662. ; Automatically add files before PHP document.
    3 h# }* @7 Q% Q" r
  663. ; http://php.net/auto-prepend-file: A7 W" y6 X: G$ D; ~9 i
  664. auto_prepend_file =
    - y- z8 t- l' B4 ^" H  i: L% L
  665. : u; w6 m; b3 c% ^9 Z
  666. ; Automatically add files after PHP document., b' Y7 b- @, q; {  u0 q' q% |' k' o
  667. ; http://php.net/auto-append-file6 F$ s3 X: I1 j& s) D+ \
  668. auto_append_file =
    " L) X8 Y7 u; b7 x

  669. & }0 o; F% L. {9 @
  670. ; By default, PHP will output a media type using the Content-Type header. To# K# V! I0 }  f1 q7 ^$ ^
  671. ; disable this, simply set it to be empty.$ T' `1 O5 a# ^8 H& c
  672. ;0 P0 b$ S# i0 \5 G" W8 C) x, C
  673. ; PHP's built-in default media type is set to text/html.
    0 w% U+ R" W2 u4 i9 i1 Q6 L' }
  674. ; http://php.net/default-mimetype: F& u/ L6 Z  v- L$ J6 Y+ R
  675. default_mimetype = "text/html"6 f# K2 F3 G. @+ U0 x" D

  676. + y8 s/ W$ j: I+ \1 a, |. J
  677. ; PHP's default character set is set to UTF-8.
    8 Y$ u, o# Q6 e
  678. ; http://php.net/default-charset. Z' @) S1 U1 _6 G3 C( I3 V
  679. default_charset = "UTF-8"
    ( m) B9 d8 [( N, P3 D* _; ?1 b
  680. $ h; D0 Z+ ]7 b
  681. ; PHP internal character encoding is set to empty.
    ) [; }0 C6 L. ?" T7 I, ~
  682. ; If empty, default_charset is used.
    & F2 m3 v9 G1 P; `) `
  683. ; http://php.net/internal-encoding
    ) {$ a% t' {- K+ d+ l
  684. ;internal_encoding =+ M/ o0 d- m8 r! s

  685. ; y2 t( R9 R! `/ D
  686. ; PHP input character encoding is set to empty.$ z/ @5 T* x" i( h; |' S* s
  687. ; If empty, default_charset is used.
    6 s$ m5 B# O; r7 O- m, ]0 j! T/ F8 J
  688. ; http://php.net/input-encoding
    ) J2 p" U  @/ P" z
  689. ;input_encoding =
    - J* q& ]4 _. e
  690. 1 c! @6 g: o" O& K0 J
  691. ; PHP output character encoding is set to empty.
    / {2 @" t9 g/ L7 K
  692. ; If empty, default_charset is used.8 P, }% |. N# Q  b% Z8 e
  693. ; See also output_buffer.3 E1 H, o7 K1 {- u  S
  694. ; http://php.net/output-encoding' S; I& U0 l5 A9 Z$ c) \
  695. ;output_encoding =) S' A9 A/ ^- o7 F/ K6 [$ g
  696. 3 o4 }! E$ B1 K4 Q: [" d: h* R4 M3 v
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ! ]- n. c. K+ }0 Y6 m, Y
  698. ; to disable this feature and it will be removed in a future version.
    - b( f' O5 j7 V2 S$ w
  699. ; If post reading is disabled through enable_post_data_reading,- E0 U& p0 N  v4 _
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    # d9 [! N  e2 C& o% Y* ?
  701. ; http://php.net/always-populate-raw-post-data2 z2 k% t8 M9 A7 X+ ^0 {5 K5 m' S
  702. ;always_populate_raw_post_data = -1  ]2 D- m: M5 r* `# \

  703. ! U/ {' a) [! K1 {
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;0 x+ l/ U3 p( o  V
  705. ; Paths and Directories ;
    ( S2 c& v+ w5 [3 D& T
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;* E! _" j$ f: d! H

  707. $ D, z- d$ d. j
  708. ; UNIX: "/path1:/path2"
    0 }- A- q* B2 J
  709. ;include_path = ".:/php/includes"8 H+ n( G/ h4 Q8 X6 m
  710. ;
    7 J2 C& d7 N* `5 Q, y! @
  711. ; Windows: "\path1;\path2"* y: F7 |; ?7 Q8 x+ R! S5 F
  712. ;include_path = ".;c:\php\includes"& g5 e2 S% c6 {
  713. ;
    + h8 q8 B! E# `# G3 Z' R+ l
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + S; z+ C! Q8 J: u
  715. ; http://php.net/include-path
    ( X+ v0 R# g3 E* K
  716. - `5 p9 j$ S4 X
  717. ; The root of the PHP pages, used only if nonempty.
    , u! X5 a6 W. t7 N
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 W8 o3 ?4 k1 s) h
  719. ; if you are running php as a CGI under any web server (other than IIS)1 z1 s3 z$ W7 l5 i  `
  720. ; see documentation for security issues.  The alternate is to use the
    ' v( K5 h! n$ G3 |4 S
  721. ; cgi.force_redirect configuration below
      S! g" t; W% H* U" E' C
  722. ; http://php.net/doc-root$ F$ i8 U9 S2 k: x+ z+ v- t
  723. doc_root =
    / b& m/ A! l, ?' B
  724.   d- I, R( G3 q2 J# F1 Z" l: Y( Q
  725. ; The directory under which PHP opens the script using /~username used only
    ) s3 O9 M2 z4 l" H% W
  726. ; if nonempty.) x- v) S; V1 _" W% q/ a+ G
  727. ; http://php.net/user-dir
    7 Z, U+ L8 E) L! \
  728. user_dir =/ c6 v' V, f( l( A* R6 U
  729. ! C% H, _# l4 @1 a. L3 X' z
  730. ; Directory in which the loadable extensions (modules) reside.
    2 w( `2 m; F" ]" D, s
  731. ; http://php.net/extension-dir2 W7 z" G( ^- ]3 ?
  732. ; extension_dir = "./"7 S0 _, a7 z* l0 D, @/ D
  733. ; On windows:
    5 ~; p6 ]* h" D. D
  734. ; extension_dir = "ext"
    6 @$ G. W* W) @7 w( @) R

  735. 9 s, \6 P3 g% E3 r/ L
  736. ; Directory where the temporary files should be placed.! I; K3 t( |# U1 O" G8 h
  737. ; Defaults to the system default (see sys_get_temp_dir)
    3 t  B& K5 q/ q' N1 K' T5 n
  738. ; sys_temp_dir = "/tmp"! k5 t7 ~9 V, k" a0 _
  739. ! X, J) J2 L; [3 Z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & e( a" f( E  i! e+ b; _1 v
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically$ C) \( X0 F; Q. z" k/ e5 y
  742. ; disabled on them.
    ; X# d/ R2 J+ C# w' @4 u
  743. ; http://php.net/enable-dl  T- s1 F" Z5 r1 Q
  744. enable_dl = Off
    2 D1 l; T$ r8 Y( c" ]+ G0 S
  745. 7 i) m; G% q1 t6 Y7 F* b3 _
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    6 r- D5 I9 ]( j6 d
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
      z% }! ^* d& Q. g
  748. ; turn it off here AT YOUR OWN RISK# h: T" Z2 Z4 L% \: Q
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ L; F/ e# q* K& F5 k- E* w
  750. ; http://php.net/cgi.force-redirect
    6 p4 \% d9 i+ e
  751. ;cgi.force_redirect = 1
    + `6 ?& @: [0 o: {
  752. ' s& f: d* p" }) l  I
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    - ]8 _6 p1 [5 A. o% d4 Z
  754. ; every request. PHP's default behavior is to disable this feature.
    ) y5 @8 C3 a3 `  e- }) b: S. M
  755. ;cgi.nph = 1
    ; J! s; t0 S2 u2 K4 I4 q# r( \
  756. ! j0 E  j% }5 s5 v/ F* p( E) u8 Y4 \
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape4 f) f  H  V1 w( n. [
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, r: W; \; ?" \9 f: t/ @, E5 }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY( R  u2 ~% C: I' ], P) A( [
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    + i* |' H) i  m+ r
  761. ; http://php.net/cgi.redirect-status-env- p, R& p! O2 s8 L! J; r! p+ D9 A  s$ z
  762. ;cgi.redirect_status_env =
    7 U; K/ j" J7 \$ w! o- ^" D

  763. ( z8 r: C) R5 W
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , n& c7 y5 l/ q4 }- G) D% C
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    / s4 r: B8 q% O1 Z
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting5 S# i; V* h, L& Z6 T
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    + G+ K* o. r3 @% Y+ G6 r. R
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts& p4 `3 ^% A, O) a# k+ F
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.3 }( D8 t% m$ c, q
  770. ; http://php.net/cgi.fix-pathinfo
    . C/ n% K) W- w% g" Z
  771. cgi.fix_pathinfo=1
    2 ^7 x# b+ x& p  U3 ?

  772. 8 N2 |( W, d- L* ~
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    4 w  S( D7 s# c* o, v/ A/ j# t+ g
  774. ; of the web tree and people will not be able to circumvent .htaccess security.# s/ m" ^& v  @9 o8 \
  775. ; http://php.net/cgi.dicard-path
    9 E8 @5 ?. O; X
  776. ;cgi.discard_path=1
    + N4 S5 a9 T& B( r
  777. # c* P. v3 h; L+ c- {
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate  {' u. _8 I$ S  u" O4 Q
  779. ; security tokens of the calling client.  This allows IIS to define the
    0 Y$ f6 [( [: ^% T
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    1 M/ l6 w7 y# ^2 P
  781. ; does not currently support this feature (03/17/2002)
    0 N, _9 V" ^; l' _
  782. ; Set to 1 if running under IIS.  Default is zero.
    0 \- Y+ |2 g, l% b8 G+ ?
  783. ; http://php.net/fastcgi.impersonate+ \& m& E% {4 U7 D, n
  784. ;fastcgi.impersonate = 1
    9 m* u, c9 u, d$ N

  785. 4 P# q3 u6 O- A7 a: a1 e" g
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    9 ~! l# ], u' v/ v' O
  787. ; this feature., S' y9 s3 s3 _. b0 M) f2 h
  788. ;fastcgi.logging = 0
    , E- m; j; D* x+ F- F, r! x( ~
  789. ! H) `( Y; e% P% J/ [0 j* Q2 u
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    + h# z. T6 U. z& B
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( F$ W4 Z7 R5 r5 j, M
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    3 {$ f, ?% _9 h8 O& k- k
  793. ; RFC2616 compliant header.
    : n+ [& {# M, Q& Q& P
  794. ; Default is zero.! v) A& c: d1 [- [: G: h
  795. ; http://php.net/cgi.rfc2616-headers! B- \; E- p4 \' [
  796. ;cgi.rfc2616_headers = 02 ^  A$ I6 @' t& B5 E; L! R
  797. ! c3 r/ S% q5 J. M/ z, x; i
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' L$ B* t- D, o, Q1 E, v
  799. ; (shebang) at the top of the running script. This line might be needed if the4 S7 U; ^9 C( {( u7 X! r! b
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" c9 e4 x# E( @1 t* x+ `* G
  801. ; mode skips this line and ignores its content if this directive is turned on.
    & E" _- A) A" l- J6 w3 A. ~' M# T
  802. ; http://php.net/cgi.check-shebang-line
    - x8 t6 \( c1 o7 a3 @0 e
  803. ;cgi.check_shebang_line=1
    1 W4 D: n5 ^- c5 z- a9 H

  804. - Z' R& s- U9 B! ~: h$ ?* M" T
  805. ;;;;;;;;;;;;;;;;
    2 Y+ f$ V: ]6 n4 |5 a9 i  D. S
  806. ; File Uploads ;6 F! z% F  K5 ]+ \" K' F) q% |! C
  807. ;;;;;;;;;;;;;;;;5 U* z& H- F9 x+ t
  808. ) }( _2 j4 X2 B  F& t6 \  j
  809. ; Whether to allow HTTP file uploads.
    / A$ O; @# F1 f% M# z; d9 M& G0 o( O
  810. ; http://php.net/file-uploads
    9 Q  S* N1 K, R
  811. file_uploads = On
    ' h2 x3 d$ u- b) x% m0 y0 ^7 m  V
  812. ; g, [  H/ M( p. g7 _
  813. ; Temporary directory for HTTP uploaded files (will use system default if not! K3 }$ w5 |) l1 N
  814. ; specified).
    + K5 \7 m5 M1 g" C
  815. ; http://php.net/upload-tmp-dir5 N6 R+ I7 Q* B. a  w
  816. ;upload_tmp_dir =" A6 {2 r2 `3 C5 ^

  817. - f! ~% X/ A- x- D( H1 v
  818. ; Maximum allowed size for uploaded files.
    / h/ j( B2 ~: X) W
  819. ; http://php.net/upload-max-filesize* K1 O; b# P' [& J5 R2 H
  820. upload_max_filesize = 50M
    7 {- q+ l& Q6 m
  821. 7 y- t  G" c; M  R
  822. ; Maximum number of files that can be uploaded via a single request# C" C  h  u9 n7 ~; R0 V
  823. max_file_uploads = 204 T6 R; R# d* p: b1 u) P

  824. 9 y4 O" ]& n) C1 b
  825. ;;;;;;;;;;;;;;;;;;
    0 i& D5 t9 n1 U: {) ^% b
  826. ; Fopen wrappers ;6 P6 w' W- T; Q8 E
  827. ;;;;;;;;;;;;;;;;;;
    5 n4 t& t+ `. }+ A2 `9 L5 u
  828. 9 s" t/ Y; E, S% b: E9 a" w
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      f# K, M2 ?/ k% U- v
  830. ; http://php.net/allow-url-fopen
    % \7 i  L. I  c. P3 O- ?4 b9 e
  831. allow_url_fopen = On
    ! o5 I1 E+ g* t2 t% y+ q) Q

  832. ' ~* ?$ t* U! \2 x* B1 \4 K
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    6 k$ u+ a* Y( k( s# \" ]; l
  834. ; http://php.net/allow-url-include
    % X( Q# i- u2 G. n7 z" y7 `& x
  835. allow_url_include = Off5 A! J  H5 Q% o6 W0 }- O% o

  836. 1 W& a9 x3 x3 H& x9 Z
  837. ; Define the anonymous ftp password (your email address). PHP's default setting/ f. v0 z% N! b% M" x7 R
  838. ; for this is empty.
    % `% j0 J' o0 F* [& u1 d
  839. ; http://php.net/from
    ( P3 W7 F; E+ @/ f
  840. ;from="john@doe.com"
    8 i- S# o" i, ?! H, T% A9 b
  841. 6 R7 K  I- T/ X  S" I3 V
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    2 N0 A/ K" I! l7 F+ t3 P
  843. ; http://php.net/user-agent1 f% u0 }& c6 T; }% P! Y# f
  844. ;user_agent="PHP"+ k* s. R  T) z( g1 M% k; f# `6 Y
  845. 5 H: W; g2 s* c# q, E
  846. ; Default timeout for socket based streams (seconds)
    6 g% l" y, t" T# w4 P# W
  847. ; http://php.net/default-socket-timeout
    7 `: O6 D! U- s0 x3 K
  848. default_socket_timeout = 60+ O( }% j0 s2 I
  849. 1 i2 h& L8 p3 v* Q3 M3 l8 x% `- U
  850. ; If your scripts have to deal with files from Macintosh systems,
    : A$ g) {0 Z. `5 M# r" L* e3 P
  851. ; or you are running on a Mac and need to deal with files from# V( \( a& U+ q8 \3 H
  852. ; unix or win32 systems, setting this flag will cause PHP to
    , J' ^( A" ?4 U) c. y( A! k3 D
  853. ; automatically detect the EOL character in those files so that3 ]& m- X8 [4 a1 T$ U" }
  854. ; fgets() and file() will work regardless of the source of the file.. _  o* |( y# D4 e6 p0 [' l
  855. ; http://php.net/auto-detect-line-endings( [% I+ q. U/ {* Y) ?; P
  856. ;auto_detect_line_endings = Off. {, S: \4 U# L' V
  857. : B+ I+ K$ c; R+ c. u
  858. ;;;;;;;;;;;;;;;;;;;;;;9 D* U/ t0 _0 s3 ?/ B2 i8 p2 {
  859. ; Dynamic Extensions ;- {) c; J6 {8 f! E
  860. ;;;;;;;;;;;;;;;;;;;;;;& |2 C) J: y& w
  861. 9 M0 ~* U" h! f/ V& {) H
  862. ; If you wish to have an extension loaded automatically, use the following
    3 [7 T) u& ]3 c$ \
  863. ; syntax:
      V' f$ ~( i) S" a  w9 D; n; Q
  864. ;
    6 f8 ^5 `2 Z  Y( f, r- ^4 @
  865. ;   extension=modulename.extension1 H6 Z; w0 C# H. ?- Z* U
  866. ;
    , h* @8 u  B7 c$ D% H5 E& s
  867. ; For example, on Windows:
    2 P. d! Q+ w0 c. W; [- M
  868. ;  N  l' z9 d4 W1 B6 a; ?
  869. ;   extension=msql.dll
    2 G" T6 J' a+ m" j* \4 Z7 S/ g
  870. ;
    9 Y, ?& [; R4 |  d9 X" e# u6 {
  871. ; ... or under UNIX:
    1 I2 ]1 U7 j2 E, r4 m" I& d
  872. ;9 ~. Z) g; B$ W2 K" ^
  873. ;   extension=msql.so
    5 ?( t+ }; C* o: w- u* d* ^
  874. ;! M2 {1 d4 }; I: _* e2 @
  875. ; ... or with a path:
    2 \; \6 ?! l1 L% p2 B# }" }/ A
  876. ;4 {5 ]; Z3 V9 v! K5 O9 ]4 E* u& l
  877. ;   extension=/path/to/extension/msql.so. _; u! b# p- E
  878. ;2 k- W1 S% f& J. Z1 j$ ^: J  A9 t
  879. ; If you only provide the name of the extension, PHP will look for it in its$ l' [0 F0 J: A! }: w5 @
  880. ; default extension directory.
    4 m0 J+ X0 S- F6 d
  881. ;
    : I. a6 a1 _4 C( ]  c2 E& p; n2 [
  882. ; Windows Extensions
    5 O; N+ H! y( ?
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    3 f9 Q7 }6 T# l. P' s* q7 ?& A* U
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    0 F/ V- }5 C  |" w0 n5 E6 s3 H& x! F
  885. ; extension folders as well as the separate PECL DLL download (PHP 5)., E: U" o! y$ M* g8 x# Z
  886. ; Be sure to appropriately set the extension_dir directive.0 N3 T8 N# R7 W( g0 ~
  887. ;
    + B% y& w; r. A& @8 b& ?, Q
  888. ;extension=php_bz2.dll) `" y0 `  z% y/ I6 F
  889. ;extension=php_curl.dll, U3 t" i1 o# {0 g5 h3 h
  890. ;extension=php_fileinfo.dll" \; {3 `0 {4 |, b/ a
  891. ;extension=php_gd2.dll1 H* G1 ?" d+ I5 B" g( s
  892. ;extension=php_gettext.dll, c  B2 K4 D9 m" f' w7 R
  893. ;extension=php_gmp.dll
    ; J+ E" N) |* Y0 U
  894. ;extension=php_intl.dll
    4 L% i5 w- [$ u4 T& t$ ]2 g4 ^4 G
  895. ;extension=php_imap.dll" Z; Z) o0 }( t/ B7 q/ I5 R
  896. ;extension=php_interbase.dll1 s2 O- p* d# n( D& w* M
  897. ;extension=php_ldap.dll
    0 H' w/ P/ Q& B9 T  @9 F  v
  898. ;extension=php_mbstring.dll
    7 g. h1 }  j% ~/ U1 q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ F7 A( `! X( A( D8 y/ ^
  900. ;extension=php_mysql.dll
    * X& s+ a' B/ W1 K
  901. ;extension=php_mysqli.dll
    & k% M+ n$ O/ Y
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    9 {; Z' ]! [4 n+ g; U2 r0 \. z; H
  903. ;extension=php_openssl.dll9 X8 R( W  Q6 W" I+ M" \
  904. ;extension=php_pdo_firebird.dll( q) G- J3 S7 D
  905. ;extension=php_pdo_mysql.dll3 k, }  d  n: B0 z; e8 y  ^
  906. ;extension=php_pdo_oci.dll
    ' _* f; Z4 q7 \+ N. y+ q
  907. ;extension=php_pdo_odbc.dll2 P( G# ~- n" P
  908. ;extension=php_pdo_pgsql.dll5 z  u1 {5 E2 v  h0 f" s9 H3 N( A
  909. ;extension=php_pdo_sqlite.dll
    6 i: b- E( v! n( e  M
  910. ;extension=php_pgsql.dll
    * p( f# t/ A2 j# k: j0 _2 r
  911. ;extension=php_shmop.dll
    # ?9 m5 D8 e4 G, k! L2 g) D

  912. ; S. O7 ]7 t1 W+ d
  913. ; The MIBS data available in the PHP distribution must be installed. . W: w2 v& z+ k0 K# b0 @# }
  914. ; See http://www.php.net/manual/en/snmp.installation.php   d: R5 L) @5 _6 J4 y
  915. ;extension=php_snmp.dll0 C! `" g* r4 [: `, Z; c" {' O6 D

  916. + o. M7 A8 b# B7 c/ U
  917. ;extension=php_soap.dll
    5 N# y6 [: F; G; R
  918. ;extension=php_sockets.dll
    , Y  S  q" {# n& K: B$ E9 _
  919. ;extension=php_sqlite3.dll# T* E% K- y$ t& q: m8 }
  920. ;extension=php_sybase_ct.dll
    ; {9 |& a, ~1 O2 i( T& ]# x
  921. ;extension=php_tidy.dll4 U: V4 D  I. G
  922. ;extension=php_xmlrpc.dll
    $ {6 z  C3 {% j; T& u$ G
  923. ;extension=php_xsl.dll
    ' `- u2 i  M* {5 z  O3 }4 g3 q! i9 Z4 G

  924. 3 r! b# x  K7 U
  925. ;;;;;;;;;;;;;;;;;;;; r/ W) W6 x/ e* I7 P. n
  926. ; Module Settings ;: e# Z1 r* g1 X9 r
  927. ;;;;;;;;;;;;;;;;;;;5 n- t/ d, r" n  @
  928. * U; i5 a( x7 [* H: U2 e
  929. [CLI Server]
    * u% d& P- [4 z6 B$ K: K! X+ P/ k
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 I1 p: R' N4 ?7 S3 u: ^
  931. cli_server.color = On
    9 @7 [: E' [2 @' Y, z
  932. ; }: F3 @  P  O' M& e# o
  933. [Date]
    $ o- t' ~. ~4 N0 r( C
  934. ; Defines the default timezone used by the date functions7 V. r0 V6 C- S  O1 f( v6 n
  935. ; http://php.net/date.timezone
    ' r2 f; p) M" R
  936. date.timezone = PRC
    ) J5 ]$ F- y- \7 R9 h! c
  937. 3 o3 l0 G% m% ]" |. x
  938. ; http://php.net/date.default-latitude  @' E$ n, h# j8 }  H1 H: P5 z
  939. ;date.default_latitude = 31.7667
    3 Y$ T3 p+ M- g$ U5 B

  940. 8 d4 U, w6 Q& |, N- C
  941. ; http://php.net/date.default-longitude
    0 r% W" S' X3 p' G  ]
  942. ;date.default_longitude = 35.2333, `3 y6 u/ S1 h$ f5 q* a; v

  943. 7 x1 U, e8 [2 r: J: s% S/ V
  944. ; http://php.net/date.sunrise-zenith
    6 p( _( S$ s0 x
  945. ;date.sunrise_zenith = 90.583333
    4 t0 k' c4 [; n. P2 u1 z

  946. 3 ^/ s* R& Q; Q
  947. ; http://php.net/date.sunset-zenith' D" |* g  W$ @8 t% _
  948. ;date.sunset_zenith = 90.583333
    $ _+ v7 J0 z/ b6 r- |

  949. ( J7 {2 X; W# K" I
  950. [filter]
    9 U/ X$ L6 E5 S* v
  951. ; http://php.net/filter.default
    9 N; }. w, M" e! [5 }3 N+ o$ w
  952. ;filter.default = unsafe_raw
    ' a. r: L! l0 L& N6 S# y* x

  953. 4 d6 ?/ M8 P# q" A3 e4 w. w9 W- p
  954. ; http://php.net/filter.default-flags' w% s8 [& M$ r4 x% N0 h5 j) y
  955. ;filter.default_flags =$ R0 ^  I/ V# Q6 V: J! m
  956. 7 i" B( {% s2 o; {6 h& Q+ M: z
  957. [iconv]
    1 B3 X9 b, E& G, J8 Y/ Y& r3 S7 f
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # V& o; A$ V( r3 m
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / [9 O* M" K7 H- A6 J# Q( e- l
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 o, ~  U9 Y4 P8 m, P
  961. ;iconv.input_encoding =$ |. r* {, Y2 x6 ^- ~

  962. ) ]1 R7 C: X- ~  l" Z9 ]
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.( |# M1 d* r# U* V, u, Y/ {
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  v2 H6 n* s0 F1 Z. k# N
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( {/ l0 T( W' O2 `5 d% z
  966. ;iconv.internal_encoding =
    ' @+ `# q" ^& Y! p/ W5 E3 P6 U6 y2 k
  967. 4 ^% ?' M0 s/ n. j0 x
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.( f: p* f. A2 d' {  q
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ u  V+ ^( j9 K& C, T
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 N$ ]6 f9 [3 L" \  E" D
  971. ; To use an output encoding conversion, iconv's output handler must be set8 Q" N* o$ H0 r! G: ?5 @
  972. ; otherwise output encoding conversion cannot be performed.+ V/ k) I) a8 V# V  z
  973. ;iconv.output_encoding =2 X7 n+ F6 _; u" i) k# `- x
  974. 5 u2 a% d. K) n
  975. [intl]
    " g5 _+ p+ {8 {* I
  976. ;intl.default_locale =* l: F- Y+ |0 O9 O  g# h, }: e' T
  977. ; This directive allows you to produce PHP errors when some error" W- A- L/ |3 C: j" m3 c/ _8 N
  978. ; happens within intl functions. The value is the level of the error produced.! J2 O1 X" V; I" v
  979. ; Default is 0, which does not produce any errors.; A) v3 \' q8 K# G- S2 u  d5 Y
  980. ;intl.error_level = E_WARNING0 x: J9 j' m! B, K  J! i! v. ]
  981. ;intl.use_exceptions = 0
    ) t2 x/ T8 w! D
  982. # G, ]- E* s8 O9 }# W5 J0 I
  983. [sqlite3]
    , [7 n5 j+ ~" }0 e
  984. ;sqlite3.extension_dir =8 g$ y8 X! |. O; j4 }: S
  985. / W7 ]' i  N  v9 L, u
  986. [Pcre]
    ' N0 @6 M8 p) _4 a) a* X" ~3 r
  987. ;PCRE library backtracking limit.0 C+ }5 [- l4 O
  988. ; http://php.net/pcre.backtrack-limit& [3 d$ W% D8 p. P& O* O" c
  989. ;pcre.backtrack_limit=100000% F; u2 X( r! y

  990. ; Y- R' _+ I) ?/ D
  991. ;PCRE library recursion limit.
    - W& S8 L5 |4 t
  992. ;Please note that if you set this value to a high number you may consume all% p, `- G, Z8 {4 _$ }5 o+ g
  993. ;the available process stack and eventually crash PHP (due to reaching the) \) \% V- J) u/ k
  994. ;stack size limit imposed by the Operating System).# s1 @  c* U2 \' z' \0 K. o: k) w, }  M
  995. ; http://php.net/pcre.recursion-limit
    : r3 u. d  s5 a2 |
  996. ;pcre.recursion_limit=1000005 u2 N" p- m4 m

  997. * M7 Z" Q6 t0 J6 j$ |, b* l$ l
  998. [Pdo]
    / ^( \: a& T0 I' A  L( b& i* V
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"1 d8 ^0 O$ e, |5 Z* P& Q8 _; m
  1000. ; http://php.net/pdo-odbc.connection-pooling1 |4 g, i5 \! [1 d: N' l' s* E
  1001. ;pdo_odbc.connection_pooling=strict+ h; A0 J/ I7 l5 w& y4 m; t

  1002. , Z: J( t  J( z! q
  1003. ;pdo_odbc.db2_instance_name. Q) T; G6 ~/ d$ Z

  1004. / N/ |" \) ?2 N/ k3 k
  1005. [Pdo_mysql]2 j! D# D/ @% l% l  s0 }5 L5 J
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 K7 M1 E8 H1 ]4 S. |6 }# {4 d
  1007. ; http://php.net/pdo_mysql.cache_size
    5 K. U2 D2 l; p# b! e9 s
  1008. pdo_mysql.cache_size = 2000
    5 N& r) \: j2 B' M: F8 }3 f

  1009. - X/ A$ B( q4 K4 n5 W9 q% `
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in- y! a5 W* p. ?; P: g
  1011. ; MySQL defaults.
    / J! [% J" z/ i3 v/ z& I1 ^; p" Q
  1012. ; http://php.net/pdo_mysql.default-socket
    " N6 d2 J1 O/ ?' P8 S5 N
  1013. pdo_mysql.default_socket=
    / {, i6 Q1 ~+ O. k8 t/ r! `+ ^; ~) w
  1014. 6 Z8 Y, F+ s) X5 t
  1015. [Phar]
    : I' X* M5 V: x* \- [4 w5 |- N
  1016. ; http://php.net/phar.readonly
    5 }9 `6 C# z2 O
  1017. ;phar.readonly = On
    - R; n: }6 J8 G% I6 D4 K- p

  1018. ' q( w9 p  |* R
  1019. ; http://php.net/phar.require-hash
    ' F# ^( f% p7 T7 E' _* k
  1020. ;phar.require_hash = On% [) y+ D2 j3 P+ }5 O

  1021. ' c& c3 m6 f' n- X3 w& g
  1022. ;phar.cache_list =! {, U3 |) {& M
  1023.   r* s  Q+ o, m  b3 M* S
  1024. [mail function]
    0 A% w$ q4 B7 C2 P# |1 j0 C
  1025. ; For Win32 only.) U% ~- G& b* H" }, F
  1026. ; http://php.net/smtp
    ) m' ^' U& {6 d& g1 _; Y
  1027. SMTP = localhost
    & S$ u" C4 T/ {& C( ]0 `+ B
  1028. ; http://php.net/smtp-port
    ; m! i1 D1 U; b  v- r
  1029. smtp_port = 25& U# G5 x/ h& g2 t5 ^" v; U
  1030. 3 z" |+ v2 m5 a8 c3 R* @
  1031. ; For Win32 only.' |( i/ r: M6 ]- K" ]% Z; Q
  1032. ; http://php.net/sendmail-from
    # [0 q1 y8 B4 {. O
  1033. ;sendmail_from = me@example.com
    5 J% F( [5 N' O8 A9 k* K
  1034. . V3 B5 r3 f% S3 s
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. m# u& ~8 S0 B; {9 S" H
  1036. ; http://php.net/sendmail-path
      _' Z$ t' c- O  N) }
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    + C9 V( D* z. o
  1038. 0 c- d) T8 p5 v  J! v
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ' W2 _! p) Z0 Y# w4 g
  1040. ; to the sendmail binary. These parameters will always replace the value of! N6 \. q. A! \6 R
  1041. ; the 5th parameter to mail()./ q& o5 |" J/ V9 X) g5 f
  1042. ;mail.force_extra_parameters =9 _( q6 J8 ~- p: m2 J0 I' y
  1043. 3 a" ^* q5 L/ K6 E8 y2 J' g& _" Z: z
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& b4 l1 H) @9 H$ G" G; ]$ L5 R
  1045. mail.add_x_header = On
    9 r: [6 P8 }% a, _: [- ]" D
  1046. 0 f0 z6 b* N0 k8 _
  1047. ; The path to a log file that will log all mail() calls. Log entries include$ L' S  X8 J: Z
  1048. ; the full path of the script, line number, To address and headers.1 g6 I" e1 X: K8 A, b
  1049. ;mail.log =3 o# _- k) L( ^3 c/ _8 T! s* b) x
  1050. ; Log mail to syslog (Event Log on Windows).
    3 X: `9 L! |. e
  1051. ;mail.log = syslog- g4 u4 b9 T$ d& q

  1052. ; M5 ^3 K' e: X( f! p! {
  1053. [SQL]. M5 r4 C9 ^5 P% W9 S
  1054. ; http://php.net/sql.safe-mode  _; e3 C7 E' P! S
  1055. sql.safe_mode = Off
    8 Y) l8 w+ T) b) r
  1056. : }2 z0 D  a0 L+ x: N% o1 p. T1 v* Y
  1057. [ODBC]1 G& g# E. K- T! F; v' D/ Y5 p! K2 O& k
  1058. ; http://php.net/odbc.default-db( v2 n& N4 j, d
  1059. ;odbc.default_db    =  Not yet implemented% Y& B; H% g6 A( y6 z
  1060. $ G  K0 v: ]/ @# j1 I2 r; G7 y
  1061. ; http://php.net/odbc.default-user# g+ p( q0 E  c
  1062. ;odbc.default_user  =  Not yet implemented
      F2 K* Y  D  Z# V

  1063. # T7 Y+ D( E/ n& y8 q% K
  1064. ; http://php.net/odbc.default-pw
    ! \3 b* n& L; T/ S
  1065. ;odbc.default_pw    =  Not yet implemented0 X' c* O, U, [' x- p/ f
  1066. ! s+ \( u7 Z0 r
  1067. ; Controls the ODBC cursor model.3 n3 `2 N3 `3 |2 U1 Q
  1068. ; Default: SQL_CURSOR_STATIC (default).8 F, j1 r) e7 q% J0 Y
  1069. ;odbc.default_cursortype
    7 l5 E) \, E4 s5 Q* k1 c
  1070. : C/ J6 F/ s0 |4 `+ u& V
  1071. ; Allow or prevent persistent links.
    $ h7 {( m  J$ c4 m! n7 @
  1072. ; http://php.net/odbc.allow-persistent, {( h! Q8 u! F3 \# u& R
  1073. odbc.allow_persistent = On
    & x7 F, k" @. @# p0 h' z

  1074. 8 b5 r3 o* U1 p: e9 |; i2 l: O$ ?% V
  1075. ; Check that a connection is still valid before reuse.
    * b2 Z/ a  m# |/ A5 ~& e0 C
  1076. ; http://php.net/odbc.check-persistent! ^' X( v1 ^  Z* }' G; Z
  1077. odbc.check_persistent = On. j# L& m% U% g$ [1 E. S4 ?( G5 _% G

  1078. 0 B0 `: Y5 k, N8 ~
  1079. ; Maximum number of persistent links.  -1 means no limit., }* j1 z: r: A' U4 Q$ Y
  1080. ; http://php.net/odbc.max-persistent/ s- c3 M- f  r8 q
  1081. odbc.max_persistent = -1% v8 P" U% C' L* q  r% y4 K; Q
  1082. ; `: @3 S) }  v
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / Y6 |" }( q9 E+ w
  1084. ; http://php.net/odbc.max-links
    8 k2 l! u, N' @% ]" X) n  }1 N
  1085. odbc.max_links = -1
    ! h/ g3 B  e$ O0 M5 r1 t: f
  1086.   D% I6 s( s/ {' Q* |1 ^
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. t1 b: M6 d0 p! k
  1088. ; passthru.
    ; k- X0 C: j- L
  1089. ; http://php.net/odbc.defaultlrl
    / c; \9 }# M) z2 [1 ~2 L
  1090. odbc.defaultlrl = 4096
    ( l  t& F3 ~) `; v$ L

  1091. / V+ U! g- Q# r
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.3 v# }6 E* f2 @: |& I9 k& o1 H
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation% c8 X1 f! g$ n, ^2 K* ~9 w
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode" D3 Q1 b" N! C; P
  1095. ; http://php.net/odbc.defaultbinmode
    , l; P5 W2 G; ^+ h
  1096. odbc.defaultbinmode = 1
    4 a0 ~, U: k' t$ T
  1097. " n6 x$ Z' r) [& m, w
  1098. ;birdstep.max_links = -1
      Q3 b* W3 i& R4 D

  1099. . L4 W+ F) y: |9 p2 i1 }
  1100. [Interbase]6 W0 f% u8 m* C. E5 g
  1101. ; Allow or prevent persistent links.
    * u$ X& z( K) B+ L& D- C
  1102. ibase.allow_persistent = 1
    # J. v0 D1 |3 H) C$ A
  1103. - q( X) B" D, r
  1104. ; Maximum number of persistent links.  -1 means no limit.8 H- P9 K9 @( q5 j0 h5 k$ I/ k
  1105. ibase.max_persistent = -1/ j4 a$ t* v: r8 O2 V) p  z- G' a2 V

  1106. 2 A& x  R6 C# A$ `
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 X1 h' G# k/ S4 k4 S
  1108. ibase.max_links = -1
    9 w0 o( X( a4 D9 x; {+ j2 A; E
  1109. " U9 x( V* p! v  O( K  X9 W
  1110. ; Default database name for ibase_connect().
    % E, R, e( {6 J4 X, |
  1111. ;ibase.default_db =
    0 Q; c  l8 ?( a  n) X
  1112. , `* s7 O0 x7 l( o
  1113. ; Default username for ibase_connect().+ B" O0 [; p9 Q- y6 R
  1114. ;ibase.default_user =
    & j. X6 h' v, o2 u+ _9 h

  1115. . q% i# z2 X! ?6 ?( L, C' R9 w
  1116. ; Default password for ibase_connect()./ [  o  D+ X9 g: B/ c1 E
  1117. ;ibase.default_password =2 L  _' G0 f) p8 f/ {5 B3 o  X; S

  1118. 7 e, ^: ^  t5 Z( m# o# B0 z9 D
  1119. ; Default charset for ibase_connect().) M! E- c- v+ b, S
  1120. ;ibase.default_charset =
    9 v1 ?# u! ]1 S5 o
  1121. : t, U  A; L& u% O# a# p- c
  1122. ; Default timestamp format.
    " c# O3 `* X5 T/ U2 O
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"" Y- u4 C7 U' {4 \0 ^
  1124. % t) K$ W  Y! H) O1 b
  1125. ; Default date format.* f- a$ e( E0 o( ]
  1126. ibase.dateformat = "%Y-%m-%d"
    + F% e& X3 O  X! Y2 l3 D6 ?% |

  1127. 2 Y: V7 z0 x8 o  Z6 c# f
  1128. ; Default time format.: z. W3 D& ^8 K  S! l+ b" f. V5 ]1 T
  1129. ibase.timeformat = "%H:%M:%S"* W6 y* L* n6 G: q

  1130. 4 A, p$ w( m- R7 j; C% X6 L
  1131. [MySQL]
    " P9 i% {' T% `. S5 z$ A
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 W! e. ]6 s* N  |, ?0 @$ ~
  1133. ; http://php.net/mysql.allow_local_infile: t5 J# Y0 _# m* r
  1134. mysql.allow_local_infile = On
    2 x8 N9 Y' |/ H" B, Q" p' b" p
  1135. 9 S0 n7 e. {9 b& f2 t* e4 U
  1136. ; Allow or prevent persistent links.: _! H& X7 x, H4 w: V
  1137. ; http://php.net/mysql.allow-persistent
    & Q8 t& n. e* ?/ U* b( u" E
  1138. mysql.allow_persistent = On
    + F* ~0 P' ]1 I% B  e( n9 x% p; M
  1139. 0 x5 M% n/ U4 d! l% ?: ^+ d. @
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - t' r, Q5 Y! Q, R
  1141. ; http://php.net/mysql.cache_size
    * l' Q: E- q" d! }+ u' z1 V4 P
  1142. mysql.cache_size = 2000
    1 r- r6 M! D; }& N) I0 V) i

  1143. ! A( `! b( Z6 s' C/ \6 A: T$ ^
  1144. ; Maximum number of persistent links.  -1 means no limit.
    # @8 Z9 m" N" g/ ?! y6 e
  1145. ; http://php.net/mysql.max-persistent
    9 [, m) x, b! E% }$ n/ G! H
  1146. mysql.max_persistent = -1
    2 b3 h( ^5 _9 q% u6 p; i
  1147. , l* ~. x  Z+ R
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % `4 G7 h/ U% m( M. e: c5 y
  1149. ; http://php.net/mysql.max-links
    % B# W0 E9 T- N: V9 K5 |& U$ N
  1150. mysql.max_links = -15 E2 c9 J1 C7 p3 ]
  1151. / ]1 ]9 X3 X2 C7 b: y4 k8 X
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use. F; J& o* b+ W: B' _; T, X
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 E* s: _+ B& f) K* n( P$ r
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * w" [6 H9 {4 c% ?5 J' v
  1155. ; at MYSQL_PORT.9 ^- e* y: N- y) K4 T# t7 V
  1156. ; http://php.net/mysql.default-port$ n, N/ {/ a5 G( T& n% M
  1157. mysql.default_port =9 S( h# z+ b9 {' n) I' g
  1158.   L8 U- n1 H; Y) h. f5 L
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in( s6 p& W! S) W. p- r0 l
  1160. ; MySQL defaults.  v* y7 c0 H% c: X) @5 W
  1161. ; http://php.net/mysql.default-socket
    0 d) X# i' ]/ y# R0 j/ x
  1162. mysql.default_socket =
    9 Y! Y* ~& G; G7 _+ L/ v' S

  1163. : [) E* `3 u# a/ J" J. ]) ^
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).8 ^9 a1 C2 x9 k& a+ G
  1165. ; http://php.net/mysql.default-host
    6 G" @) ^$ I, n% T
  1166. mysql.default_host =
    1 A8 n2 Z! o' V* Y# C, o

  1167. ) _, r0 f( c# }" W+ Q: _# w5 x! i
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).8 l* p1 n4 |. L% X- \
  1169. ; http://php.net/mysql.default-user
      Z" z1 `6 _4 x8 m& P
  1170. mysql.default_user =
    : G3 r  [2 R3 r4 Y% g

  1171. % W# x( E1 s) ~* `
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    , ]8 ~8 B5 E8 n6 \% ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file./ a/ Z1 t, L! W* y. s3 r
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")) V8 D3 O3 G. K# J0 H8 u+ J/ }
  1175. ; and reveal this password!  And of course, any users with read access to this; y# P2 t) H6 O
  1176. ; file will be able to reveal the password as well.
    8 c: ~& g: ~( s6 j6 j
  1177. ; http://php.net/mysql.default-password2 g* h0 Z9 H7 }6 A# [1 k
  1178. mysql.default_password =
    ( Q, L7 {% [3 _+ d

  1179. ; O* V* w  i: x7 z8 {4 r; B* m
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    % ^. T1 I& r4 t/ \' u: |" o! V* S
  1181. ; http://php.net/mysql.connect-timeout
    3 |3 m6 U6 f9 M1 i1 y! U# g9 l
  1182. mysql.connect_timeout = 60& h8 \! x1 k. s9 ~' k

  1183. 8 ^: c; R- E1 |% U
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    . o( Q* C  E7 l7 h
  1185. ; SQL-Errors will be displayed.
    ' y! k' D. |9 t0 y" W
  1186. ; http://php.net/mysql.trace-mode1 @6 C7 n: |& m% C6 }7 z. g
  1187. mysql.trace_mode = Off
    ( }( `# I( |* r. V4 v) {/ p8 `- ~
  1188. # {$ P2 }+ w# j/ ^6 W
  1189. [MySQLi]6 t$ K. A' K' P# E" f2 q
  1190. 0 T+ i4 }/ z) m# \& |
  1191. ; Maximum number of persistent links.  -1 means no limit.
    2 X) }" L% C. _) S& `" L+ f
  1192. ; http://php.net/mysqli.max-persistent
    ! M& T/ [4 e& K' W; J
  1193. mysqli.max_persistent = -1
    ( y) _) D4 m8 O' o( V
  1194. 4 c! E% z& O* k: e! X! x4 O
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
      C( D. q' K: ]
  1196. ; http://php.net/mysqli.allow_local_infile' S/ m' Q/ y. m5 Z
  1197. ;mysqli.allow_local_infile = On$ k: ?7 t0 O. k" Z, A+ F4 o4 U
  1198. 9 q! \# t: I5 a) F; S
  1199. ; Allow or prevent persistent links.$ h0 f! \0 _  s+ d0 h
  1200. ; http://php.net/mysqli.allow-persistent2 h" p: K# e; }% r1 ?
  1201. mysqli.allow_persistent = On
    ' z2 ~$ t3 W- x8 [$ H3 M) ^# D

  1202. * }' T8 Z2 `& F* i: Q
  1203. ; Maximum number of links.  -1 means no limit.8 }9 u6 U2 m& v& j. g3 ^" C$ T% v% ]
  1204. ; http://php.net/mysqli.max-links
    $ }. r/ P6 Q/ C8 v. {+ t& E# G$ Q2 u
  1205. mysqli.max_links = -1
    2 c5 k3 ~3 l9 r; l  I+ a' n
  1206. 5 X; e$ p3 W) L2 e1 q1 W
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache* \, U! a6 g3 n6 n/ {3 A4 E
  1208. ; http://php.net/mysqli.cache_size3 t6 W9 [- s$ L4 y) ?! c
  1209. mysqli.cache_size = 2000% V& ]' k, ~; \0 E0 A
  1210. / Q# S1 m" M2 K7 b9 d& r& w, D
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    & B8 g! p4 r# e; L, B' L5 R
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 d; {" {( s4 E( X* R
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. I1 q  {. i; b/ w' G! @9 U
  1214. ; at MYSQL_PORT.
    ( R7 M" p: P) |4 e
  1215. ; http://php.net/mysqli.default-port# f' r7 Q( d- x& o
  1216. mysqli.default_port = 3306
    : O4 w9 V5 A4 g' p7 r$ y+ D, l) l
  1217. ! e: j, t% n/ s2 D! b
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " `* D# m  C" _' g" x
  1219. ; MySQL defaults.
    & e& [5 |, z$ O$ H0 D+ A; s! [$ ?: p
  1220. ; http://php.net/mysqli.default-socket9 I( T6 B8 J/ S! f; a4 `2 _0 R
  1221. mysqli.default_socket =
    : M( P! d2 d$ c$ u

  1222. $ e3 n% c9 J# ^- @" X
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).8 ~. b4 v1 m: t1 ]! O
  1224. ; http://php.net/mysqli.default-host) r( y: m. b5 X
  1225. mysqli.default_host =
    $ K7 g; m  W8 j. `4 F& m- P

  1226. - X  r  S  e4 l
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    - ~9 K6 E- y) D9 c
  1228. ; http://php.net/mysqli.default-user
    % y+ l- t) |$ _- Y: j5 S: m, D
  1229. mysqli.default_user =
    & \" p3 w2 j2 R; p; t
  1230. - M) H& Q, v6 ^7 w
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    9 D* }( T" N; B& m
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    : B( o5 a4 F+ j' ~6 m* j8 `/ Y0 k* d
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    2 Q, |4 N2 |/ I+ I: `. ?
  1234. ; and reveal this password!  And of course, any users with read access to this
    * z( h7 Q, T/ C
  1235. ; file will be able to reveal the password as well.
    9 O# W6 x! ~* ~
  1236. ; http://php.net/mysqli.default-pw5 S) @+ n6 a( j" J/ K9 t2 f1 k
  1237. mysqli.default_pw =( Y0 c* \! ^- G7 P6 Y) r/ B2 S
  1238. + N7 Y6 {# a) `
  1239. ; Allow or prevent reconnect6 @; M0 B$ N" H  j* j! S. G
  1240. mysqli.reconnect = Off7 A" \1 R! f  a1 X3 \: s
  1241. 3 Z1 ]( E4 c( e, `, ~0 X
  1242. [mysqlnd]* o2 `( c( Y% a( s$ h4 }: a4 o
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be. \$ |4 ?6 I# X; l$ t
  1244. ; used to tune and monitor MySQL operations.9 x& s# l. E2 z7 y8 }5 I: s1 ^
  1245. ; http://php.net/mysqlnd.collect_statistics( O" b: _$ o2 _7 K1 N0 w, D
  1246. mysqlnd.collect_statistics = On
    + s7 N  M' G* s- I, _* q7 U: H  ^

  1247. ; K7 C" C% ?/ a# `
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 H6 F: S. N+ F  `( u1 y& s
  1249. ; used to tune and monitor MySQL operations.
    2 R. A3 P% a4 N: O/ q% I+ W
  1250. ; http://php.net/mysqlnd.collect_memory_statistics0 w* U+ e3 l5 ^. G  O  \7 r
  1251. mysqlnd.collect_memory_statistics = Off/ _# N' n: ?' G( L3 a

  1252. 0 P, m6 Q9 j7 d4 Q2 l7 Z
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    3 @* Z% z) c1 w- D" o: W
  1254. ; file.' E1 m# r" S) `4 ~! v
  1255. ; http://php.net/mysqlnd.debug8 Y8 G0 o- Q' P4 D4 I; o
  1256. ;mysqlnd.debug =4 B, Z: `7 ]: g0 x9 e

  1257. 7 j$ b- D* t# [
  1258. ; Defines which queries will be logged.( C* ~; M2 Q, ]8 o+ e% |8 B4 V- y( Y0 D2 @
  1259. ; http://php.net/mysqlnd.log_mask2 |/ `7 V7 C6 Y0 Q/ Z) p
  1260. ;mysqlnd.log_mask = 0
    8 j$ D0 P% ?$ }3 n2 N0 E( O2 U
  1261. 8 X1 o4 U, g7 _; q6 |6 \' G
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    . l( T: l. S: a4 E
  1263. ; http://php.net/mysqlnd.mempool_default_size
    / z) ~6 e. |% a0 `0 M
  1264. ;mysqlnd.mempool_default_size = 16000: ^' X+ `# Q5 E1 p6 E1 g6 H! L

  1265. 3 R) \4 Z. n* |; z
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    0 ], P( i# e5 L  V* O
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size# h* X& z# A, |9 m. c- T
  1268. ;mysqlnd.net_cmd_buffer_size = 20487 U' W1 U/ B/ |. _) ]# q. l! T7 [

  1269. ' O* c3 m/ P: W
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in! w  g$ w  W0 Z% A. p$ F5 t
  1271. ; bytes.
    ; S# y9 c+ L/ f9 Q
  1272. ; http://php.net/mysqlnd.net_read_buffer_size# Q2 E1 d9 l% Q# K3 ]
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ; F' x8 {+ ?0 A( i- q: ]4 }7 d* W
  1274. . N0 ^4 ?: S! ^; v# F
  1275. ; Timeout for network requests in seconds.$ E5 S% @5 ?" w( x/ ~# q8 e
  1276. ; http://php.net/mysqlnd.net_read_timeout
    4 T' @7 h  j# @/ Q9 p" X" Z
  1277. ;mysqlnd.net_read_timeout = 31536000& A5 R2 ~3 m* b: b

  1278. ! I0 ~7 n- R. L! A) Y
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    7 e; d$ D- u# R
  1280. ; key.
    ) y, J4 Y- r) @
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    5 L+ d/ K0 |% c- Q0 A+ {( o, |
  1282. ;mysqlnd.sha256_server_public_key =
    " k$ z/ h0 T* `9 q" m: f

  1283. ' e4 ^/ K+ B# ~* E! K, _
  1284. [OCI8]
    + U0 D, S6 y* v. e- v, U
  1285.   d9 V; F6 N8 [; O; _7 w
  1286. ; Connection: Enables privileged connections using external
    % W: P9 e* v) z% ~0 r+ b
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 i$ v- r  P+ F7 ^" d
  1288. ; http://php.net/oci8.privileged-connect. k: X; d9 v& u1 E; t3 k
  1289. ;oci8.privileged_connect = Off
    9 l# E4 _( ]+ v0 z' u) R
  1290. # }8 }2 b. n) G& m2 \
  1291. ; Connection: The maximum number of persistent OCI8 connections per, K6 E/ Z5 L; R2 ~  ]0 `
  1292. ; process. Using -1 means no limit.6 [, ^; N+ u" Q4 z* G( x/ s
  1293. ; http://php.net/oci8.max-persistent0 G- q0 V; ~5 g% B& k
  1294. ;oci8.max_persistent = -1
      T/ Y, l/ v' @8 r. C) N: H+ P
  1295. , I9 {' I5 p) U! _
  1296. ; Connection: The maximum number of seconds a process is allowed to
    - j' ~* ^. ]8 I& {4 ?" W& ^
  1297. ; maintain an idle persistent connection. Using -1 means idle
    9 z# P, d: u0 {5 ^% W; f3 g$ u  k! ]
  1298. ; persistent connections will be maintained forever.7 l- ^6 R# O( N$ \' |
  1299. ; http://php.net/oci8.persistent-timeout7 }! h1 {0 @" ]. U# R
  1300. ;oci8.persistent_timeout = -1
    " M' `$ I3 L& T
  1301. " D- A1 N! }$ n
  1302. ; Connection: The number of seconds that must pass before issuing a
    ' R( X) f+ n* u0 `
  1303. ; ping during oci_pconnect() to check the connection validity. When
    3 A! N- M1 q  D9 L4 ]& Q
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    : i# B( w: w2 w+ M9 y
  1305. ; pings completely.
    & |3 o, _7 U4 F' n4 J$ G
  1306. ; http://php.net/oci8.ping-interval
    + N9 N! s3 ^) Y4 M- C2 J
  1307. ;oci8.ping_interval = 604 y$ y2 |- j: A0 M3 M) d5 B  w1 x! {- i
  1308. * V( f  m! j. i. s! P
  1309. ; Connection: Set this to a user chosen connection class to be used
    + d' A8 ~# p- `+ D; Y3 L
  1310. ; for all pooled server requests with Oracle 11g Database Resident! |7 T8 S3 j4 ?3 \8 t+ e& f0 l
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    6 P+ D& j8 V' f* r3 I
  1312. ; the same string for all web servers running the same application,
    6 E+ Q+ i: P7 B" U
  1313. ; the database pool must be configured, and the connection string must! G. O  E6 ]9 I; m1 V4 O7 J6 v
  1314. ; specify to use a pooled server.
    ; N7 V/ A! T6 e
  1315. ;oci8.connection_class =8 O# ]( @5 t7 L2 c

  1316. , R, t) L' |% [) O* R+ G& _6 Q
  1317. ; High Availability: Using On lets PHP receive Fast Application# w# E0 E6 Q+ B% K, E) Q
  1318. ; Notification (FAN) events generated when a database node fails. The
    ' ^6 F3 Y' `4 k! I+ G
  1319. ; database must also be configured to post FAN events.
    " E/ `  p- Z# m( i' e" \6 }
  1320. ;oci8.events = Off1 r* T) H2 i: Z

  1321. 1 ~" Y* ^; ^& X- d: Q8 b
  1322. ; Tuning: This option enables statement caching, and specifies how
    / ?9 @- ^2 j/ K
  1323. ; many statements to cache. Using 0 disables statement caching.+ Q% E2 N! q0 B
  1324. ; http://php.net/oci8.statement-cache-size
    , k8 T/ K8 n3 W7 H: J  l% W) J
  1325. ;oci8.statement_cache_size = 20
    % e: f6 [; o4 d  z4 Y5 v( s, w

  1326. . m2 d0 n& c6 m* A
  1327. ; Tuning: Enables statement prefetching and sets the default number of' v" C- M& A8 H
  1328. ; rows that will be fetched automatically after statement execution.. k& T. w% I+ m8 D8 b% I
  1329. ; http://php.net/oci8.default-prefetch
    & |8 c- [6 E, N$ I
  1330. ;oci8.default_prefetch = 100& p0 O2 f* b8 r- N9 h6 [6 t6 l

  1331. 3 F4 w9 M, _. ~- l8 v- T* h: w, Q
  1332. ; Compatibility. Using On means oci_close() will not close
    ) p: U$ Y  V" ]- \) d; a8 E) T( w
  1333. ; oci_connect() and oci_new_connect() connections.
    * [' e8 R6 ?0 g' C5 c
  1334. ; http://php.net/oci8.old-oci-close-semantics. _8 [0 T2 d9 a
  1335. ;oci8.old_oci_close_semantics = Off1 l+ `: T) ~# J6 I; H6 J+ M# v
  1336. + i) u( J. V" w4 K. B9 p% Q
  1337. [PostgreSQL]
    9 F8 n2 K- @9 U/ z
  1338. ; Allow or prevent persistent links.
    9 |. c# t$ y+ ~6 X$ ^* U; I1 d5 h1 b
  1339. ; http://php.net/pgsql.allow-persistent
    $ Y$ W/ y$ Z  ~6 u3 U
  1340. pgsql.allow_persistent = On
    1 k# i3 O' ?: \
  1341.   @2 y3 F7 y0 H
  1342. ; Detect broken persistent links always with pg_pconnect().2 b# s' o0 x$ i0 W: c1 b
  1343. ; Auto reset feature requires a little overheads.
    - w# L6 l5 h/ X, L1 M
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ! m0 \- C! S1 {! _
  1345. pgsql.auto_reset_persistent = Off
    / r  ^5 H9 c  }* {

  1346. % X5 \3 t+ b7 D* ?" ]
  1347. ; Maximum number of persistent links.  -1 means no limit.% `: t+ Y; _& Q1 V5 K; C
  1348. ; http://php.net/pgsql.max-persistent# {2 L  s8 b- g' ~# u, H! d0 V
  1349. pgsql.max_persistent = -1: |' \: F' O6 E$ r4 E( }$ V

  1350. ; r  N; O5 [& Y) b6 i1 i( }  |& j
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : H1 B1 V2 d# b$ y  e! r' U
  1352. ; http://php.net/pgsql.max-links
    % s; k) P! z, }% _: C+ n- t; \' `
  1353. pgsql.max_links = -1
    ( B1 }( D! H0 y4 f
  1354. # |( m" A9 X1 n7 K0 k6 O
  1355. ; Ignore PostgreSQL backends Notice message or not." r9 Z1 C$ x1 B# ?$ F
  1356. ; Notice message logging require a little overheads.$ j4 s' M* n! `: z1 m+ v( a
  1357. ; http://php.net/pgsql.ignore-notice
    ' b. s" i4 {8 o: a/ f3 N! @! Q
  1358. pgsql.ignore_notice = 0% ?: p2 [: L: {

  1359. + m' u" ~8 Z; c# F. o6 ~6 ~
  1360. ; Log PostgreSQL backends Notice message or not.
    ; E) ~9 c1 p0 X6 {  W+ p. d$ t
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    8 z" b3 m( h8 d
  1362. ; http://php.net/pgsql.log-notice
    - o. O$ e/ i9 f7 a7 q( z" [  c
  1363. pgsql.log_notice = 02 \$ U) U+ N# T
  1364. 7 _! M5 Z% Q2 X& `- u! O
  1365. [Sybase-CT]
    & Z& f! A# E  j$ r
  1366. ; Allow or prevent persistent links.) g/ E: V& |# B, o
  1367. ; http://php.net/sybct.allow-persistent4 X$ r4 [+ e# z& t( N# H# S
  1368. sybct.allow_persistent = On6 q$ d# j. k! X; k' h5 o

  1369. . n# B( Y" h5 S- P& I5 s! y8 Z% b
  1370. ; Maximum number of persistent links.  -1 means no limit.0 `; i# r6 t! N
  1371. ; http://php.net/sybct.max-persistent# y, V0 X, y* U1 |6 f
  1372. sybct.max_persistent = -10 i) C, A% |" j* d
  1373. 4 I' y4 Q+ [$ s$ l
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 X4 T4 O1 X2 l! J# S7 K
  1375. ; http://php.net/sybct.max-links& Y# ]* T3 e- p0 ]
  1376. sybct.max_links = -1
    2 O) O$ V- ?! t- h' b
  1377. ' V# i& v6 a: e
  1378. ; Minimum server message severity to display.
    4 H8 b* c2 @/ \7 u1 b5 x
  1379. ; http://php.net/sybct.min-server-severity
    9 r7 G: b( w( t% x/ W+ a& l" h
  1380. sybct.min_server_severity = 107 ]- I1 [$ Y% [
  1381.   d  T1 ^2 J; Q( z; s; V
  1382. ; Minimum client message severity to display.+ E& R4 B6 z( N! V7 V, W5 \  ^, B
  1383. ; http://php.net/sybct.min-client-severity
    4 ?! k( o4 z; W6 a) J+ ]
  1384. sybct.min_client_severity = 10
    + T: u7 B9 d$ o

  1385. ) g! M' ?% }6 U7 g
  1386. ; Set per-context timeout/ o1 M8 b( L# W2 i5 Y3 E* j( `! l% w
  1387. ; http://php.net/sybct.timeout* y* _( S3 M- f- r
  1388. ;sybct.timeout=4 o. @' J" o2 t3 C' S
  1389. - d/ Y5 i# K6 Y6 V
  1390. ;sybct.packet_size
    1 O9 f" h! E6 G8 b& Y3 j4 @
  1391.   i! o! G, _9 G' M0 |1 u
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure./ {- }' g- h8 I5 D
  1393. ; Default: one minute
    $ f$ o) E4 y% b4 m& W  l1 X4 Z
  1394. ;sybct.login_timeout=
    5 ^6 ], ^0 N7 l

  1395. 4 A% U1 Q/ Q6 M% e. y) h  _
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ( U) ]0 q* o4 e- ^! u
  1397. ; Default: none: C, m5 O) x8 [( ], }9 N
  1398. ;sybct.hostname=
    & h% K  L0 u, t* T( L$ v) W

  1399. 6 l! ?+ ~2 Z' Z) t% s
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    0 g! w% `: e- E
  1401. ; Default: 0( M% f4 @7 c0 K6 Z4 j' S- `; d
  1402. ;sybct.deadlock_retry_count=
    7 b: G7 S" n" j7 v8 a

  1403. 5 ^% F& w/ `. k8 P9 W* E
  1404. [bcmath]( ^; X( U5 l. L7 {5 Z
  1405. ; Number of decimal digits for all bcmath functions.5 _  Z- _2 P! c% ?0 N& T0 O3 r
  1406. ; http://php.net/bcmath.scale/ F! Z; Y" i2 Q% e
  1407. bcmath.scale = 04 l# x; }7 K% X, q

  1408. 0 \/ v; D( m/ A0 i  A
  1409. [browscap]
    9 g3 N( y" }& v
  1410. ; http://php.net/browscap4 Q9 z6 b5 J* K8 ]
  1411. ;browscap = extra/browscap.ini
    1 S8 Z8 U; P+ n8 [( l' v, b, N9 t

  1412. ' z$ W& Q8 |- s7 i0 w3 l0 E" M
  1413. [Session]
    & i% `% |4 u; K" [
  1414. ; Handler used to store/retrieve data.& O% t. N$ F# v7 N* F5 v
  1415. ; http://php.net/session.save-handler/ a; t5 V% d8 D  L( o. V
  1416. session.save_handler = files/ b: X4 Y: d. v
  1417. 4 K: o" z# s" k# T$ O# `/ ]: D
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    : p0 E6 H/ m  V" V
  1419. ; where data files are stored. Note: Windows users have to change this( P( \1 V8 Z1 ]; k( h
  1420. ; variable in order to use PHP's session functions.
    1 N  Y0 c/ o/ I
  1421. ;
    " I1 J: [- h0 o* S9 Z( ?
  1422. ; The path can be defined as:
    ; s" G2 m: ?. R" |8 h$ p
  1423. ;0 c4 L0 [! g( `' }" ]4 M
  1424. ;     session.save_path = "N;/path"0 i, |& E6 y8 `& V  Q
  1425. ;
    , m) m- u6 q! n4 f+ v, @# W. T+ q
  1426. ; where N is an integer.  Instead of storing all the session files in
    8 r1 c2 ~, M/ p. E! S" F9 E  e/ `: H
  1427. ; /path, what this will do is use subdirectories N-levels deep, and5 ^5 a0 [% W5 O
  1428. ; store the session data in those directories.  This is useful if7 C* W% w5 S9 J& |5 B
  1429. ; your OS has problems with many files in one directory, and is9 J  I5 s# D3 o* I
  1430. ; a more efficient layout for servers that handle many sessions.- s  X5 }& M3 e+ _4 D- [9 o8 L
  1431. ;
    % b( e5 V) Q$ v) K
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    9 z) v/ i0 A7 W+ B& h
  1433. ;         You can use the script in the ext/session dir for that purpose.
    " {  K4 J3 [! ]+ ?. c3 \2 w
  1434. ; NOTE 2: See the section on garbage collection below if you choose to8 F0 u1 B& X8 U6 h! F* l
  1435. ;         use subdirectories for session storage7 }9 p) t( i. q; l
  1436. ;
    ) `% G: u; |; z8 l; K
  1437. ; The file storage module creates files using mode 600 by default.; X  H3 f- G) i( _
  1438. ; You can change that by using
    1 _, w/ a0 h6 f% o8 C( `
  1439. ;
    + n) T/ R* y2 g9 P& T& Y
  1440. ;     session.save_path = "N;MODE;/path"
      @+ w' n  y1 L: S4 U
  1441. ;. ?/ `, z& `$ i  P+ T# @+ [
  1442. ; where MODE is the octal representation of the mode. Note that this
    : k% o" U/ j5 [; r  J( A% ^! a, p
  1443. ; does not overwrite the process's umask.% L% O4 n% J( J) K
  1444. ; http://php.net/session.save-path% e, ?' w  ^  v0 I1 s+ Q; U. K
  1445. ;session.save_path = "/tmp"
    ( o3 L( o9 v5 D/ y' _) \

  1446. " L* p7 d4 [- \
  1447. ; Whether to use strict session mode.
    6 {0 U2 r* x4 Z) Y# _1 g3 n& v
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate2 X, z( a# }* b& D* m# X
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
      `8 J6 ?; f8 ?; ~! {, _( P- m; a
  1450. ; applications from session fixation via session adoption vulnerability. It is
    . S8 T( U( V- c* `( Q3 V8 _0 r
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ! o& O! N# ^4 n0 B3 j' |* O# f
  1452. ; https://wiki.php.net/rfc/strict_sessions4 Q) n) S4 @; |8 z- h6 C
  1453. session.use_strict_mode = 03 l3 M2 n5 e% J

  1454. / i) |% E5 ?4 O2 b7 V% K: Z6 j7 W
  1455. ; Whether to use cookies.# i/ m8 s! [4 a( f
  1456. ; http://php.net/session.use-cookies
    . o& [3 N1 Q. L0 a1 T& P
  1457. session.use_cookies = 12 P  ]3 v" ^8 j8 o. T+ i( W
  1458. $ C; f, P9 _: J, j0 E+ l. G
  1459. ; http://php.net/session.cookie-secure8 n* W" Q7 w4 \2 ]3 M
  1460. ;session.cookie_secure =6 _7 L; a; X% b. F% s- V0 s
  1461. ' h5 t8 p' @. i  \4 h9 ?
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining, z; P! N# o( k9 n% @+ _/ {2 Z
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    : H1 x7 e: {2 Z, I8 m, Z5 O
  1464. ; session hijacking when not specifying and managing your own session id. It is' q( G9 B5 @6 L  v! Y1 c
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " p( p- Q7 C3 a% ^
  1466. ; http://php.net/session.use-only-cookies: p  G4 k5 ?) x0 U+ p3 R/ r
  1467. session.use_only_cookies = 1) @7 t& ^5 k9 S* ~& K7 I. `, R4 h
  1468. 7 J6 {0 g' V1 ?0 a+ e3 v* J
  1469. ; Name of the session (used as cookie name).
    / I$ j( E# F; x
  1470. ; http://php.net/session.name$ a0 U& {& z( d+ F0 T7 [
  1471. session.name = PHPSESSID
    , O" V2 q9 t; l5 C; z$ h

  1472. ) L$ j0 Z2 q/ e% K; f  c- G7 T
  1473. ; Initialize session on request startup.
    & L7 w# M0 D2 {, h& v' _0 E
  1474. ; http://php.net/session.auto-start
    1 s: T. o2 x/ Z2 w  L: P
  1475. session.auto_start = 0
    5 b8 R# ^% Q2 Y

  1476. & Z0 x9 \6 R! Y: b
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - o0 k. o( v! y
  1478. ; http://php.net/session.cookie-lifetime
    % @7 ~# y# `. |0 r/ p7 W# ^
  1479. session.cookie_lifetime = 0
    5 @+ ~- h9 ~3 r# ^

  1480. * ]9 v, q. l& X% q1 ~
  1481. ; The path for which the cookie is valid.
    ' F9 c) R: h' I$ [! ^0 `: r
  1482. ; http://php.net/session.cookie-path
    : F- I$ M: P; Q
  1483. session.cookie_path = /, x' P, Z4 i8 D, }. M+ b7 [

  1484. 7 K/ v4 L" w  x) W# A4 f! B( ~
  1485. ; The domain for which the cookie is valid.
    1 V9 r8 E! _# E# B
  1486. ; http://php.net/session.cookie-domain
    " ~! C" b* B/ x; _4 K- H
  1487. session.cookie_domain =( y6 a/ d$ h& P3 g& Z5 R) m, {

  1488. ( R( b( Q# t/ _8 D
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.3 R  m" b+ A% F/ W. R5 Z% y5 p
  1490. ; http://php.net/session.cookie-httponly; v6 y% Z* q6 p3 c$ o- \
  1491. session.cookie_httponly =3 t" Y9 Z$ M! J
  1492. 0 m3 ?7 J) ]+ J9 Q9 B& r
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP., R) I# Y* Q+ q- k& l' J$ a( Q. b
  1494. ; http://php.net/session.serialize-handler
    / ?0 ~% I7 ^* ]. B6 B
  1495. session.serialize_handler = php6 {; a/ y/ ~- o: m* E
  1496. # b6 K" l; U" \; N7 h+ E
  1497. ; Defines the probability that the 'garbage collection' process is started: u% D5 d" c( p2 z+ a8 i/ I
  1498. ; on every session initialization. The probability is calculated by using
      x7 r* y; q# m; [
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    7 P! ?) B/ P9 J6 V/ m5 F
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : O/ j; [: ]' G- b- a$ F5 F9 @
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % c, ^; I( w2 Q( {! k
  1502. ; the gc will run on any give request.
    , q9 K0 v$ G& J7 s# _
  1503. ; Default Value: 1
    4 g$ a8 j! ~& c, d" v
  1504. ; Development Value: 1
    ' f. r; v% B3 g; y6 A5 r( C
  1505. ; Production Value: 1/ Z( d2 j: s: u5 Q- c7 ^
  1506. ; http://php.net/session.gc-probability# k" p0 b; K5 D- h# Y) v2 v# E
  1507. session.gc_probability = 1
    - k) {& h. U' }6 ~& p: C" I

  1508. * A& t$ f+ g( ^) R$ l6 ~2 D& |/ l
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    # V- x/ a4 L4 S/ v% ?
  1510. ; session initialization. The probability is calculated by using the following equation:
    + n0 t, o- H+ Z. R; {3 g$ D; R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 z' {& S/ S5 p- a/ a6 }
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' c- A+ @1 d# S
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) ^. a+ w6 y" o/ I% ~8 W$ i
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you9 E$ j6 q% n! I, X, A" `$ r. z
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 K) k' c+ k* M" m
  1516. ; this is a more efficient approach.
    $ ~1 g7 Z9 Y8 f; {' P, X  R8 i  E
  1517. ; Default Value: 1005 ~( u, X& N# A8 |1 S
  1518. ; Development Value: 10008 u  H" _+ p3 x
  1519. ; Production Value: 10001 `/ g% ?! Q6 u2 r+ P$ @: w
  1520. ; http://php.net/session.gc-divisor
    , j" i* Y* Y5 ?7 a0 I! \" b# U
  1521. session.gc_divisor = 10007 B; L3 e, a! I7 M' \
  1522. 0 A8 \: J# C# O
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and) i/ v  ^* R& \. p4 j3 V
  1524. ; cleaned up by the garbage collection process.
    9 s' N0 `& L$ N" {# B2 {* E+ W
  1525. ; http://php.net/session.gc-maxlifetime9 n7 O* A( U6 J& P! z, A" ~
  1526. session.gc_maxlifetime = 1440
    3 A, k: L2 i6 m8 `$ b* g
  1527. ) S  F: ^" ^$ r6 d  Z' Q( n3 H
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ) Z0 V5 g2 C# k3 u0 X
  1529. ;       (see session.save_path above), then garbage collection does *not*
    : I3 u; ]+ V7 n* j
  1530. ;       happen automatically.  You will need to do your own garbage  l% J. S: D" c: c" j6 A
  1531. ;       collection through a shell script, cron entry, or some other method.) S' w; W1 Q4 M4 h
  1532. ;       For example, the following script would is the equivalent of
    $ U: I2 n% x, {$ A
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):& @. T0 }6 V; ^+ [2 S$ N/ O
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 B% z9 ]3 \5 R; |2 h
  1535. 6 w/ `7 c. U( B7 ^! P5 [
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
      k3 y9 {: B% X
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    7 d  A; t' k8 H$ }6 \
  1538. ; considered as valid." E4 n0 X' M% x' L: u0 P# e/ u
  1539. ; http://php.net/session.referer-check
      t/ U% ]" |0 K
  1540. session.referer_check =$ B# Z$ e  v9 ]" B1 y' q

  1541. # m* \" Y3 W. [* W
  1542. ; How many bytes to read from the file.
    ; f0 r' p, [6 g& _0 m
  1543. ; http://php.net/session.entropy-length1 S7 i# R  o+ Y/ F# K
  1544. ;session.entropy_length = 32
    # g1 t/ u! E& }: R* @- n7 T* ]" U+ D
  1545. : I' ^5 |$ ]; S# {/ g. f
  1546. ; Specified here to create the session id.
    8 v+ K6 Z% O5 _- S: O/ h+ w
  1547. ; http://php.net/session.entropy-file' B# f9 a* h) S6 a0 d: C" k, d; b
  1548. ; Defaults to /dev/urandom1 P% p7 Z0 Y1 l  G) y7 w
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    + c5 F% y6 ]) [$ j& Y
  1550. ; If neither are found at compile time, the default is no entropy file.
    9 I- d6 [/ T* d# Z; u. g
  1551. ; On windows, setting the entropy_length setting will activate the7 [% M1 g+ C) A! S. e
  1552. ; Windows random source (using the CryptoAPI)
    * N2 [+ \1 Z* o3 Q% }' T$ B: c- |$ f
  1553. ;session.entropy_file = /dev/urandom4 r4 D7 D1 x- S

  1554. , t% y! _1 c0 W' q/ {
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects9 _0 W+ w  K( g( ~/ b
  1556. ; or leave this empty to avoid sending anti-caching headers.' T7 P) C) V2 D$ D! W
  1557. ; http://php.net/session.cache-limiter
    5 X( K, ^& r4 p+ r& u' l
  1558. session.cache_limiter = nocache
    4 C# s- K# u8 [+ N7 z( ~% A# J
  1559. - W1 n; f, Q8 O( ^% \* }
  1560. ; Document expires after n minutes.
    7 v9 b8 d5 Z7 `+ w7 s  o4 e
  1561. ; http://php.net/session.cache-expire7 C' t" o" ^0 H4 O1 j; M( P: `
  1562. session.cache_expire = 180
    # i" ]- n. Z! x7 X5 |) {

  1563. ! m" S+ ]  t& D! W1 Y
  1564. ; trans sid support is disabled by default.6 n; e1 `) {3 s2 I' C
  1565. ; Use of trans sid may risk your users' security." `5 {7 M# G/ Q5 K5 n: l' \0 B1 }! U
  1566. ; Use this option with caution.
    8 q# n; Z6 G) f, S6 X; ?
  1567. ; - User may send URL contains active session ID! W. I9 ~  M2 t/ {0 s
  1568. ;   to other person via. email/irc/etc.
    1 [) n: y3 G+ e( k$ z
  1569. ; - URL that contains active session ID may be stored  F, b2 V! g. h3 q: R5 _3 |0 a
  1570. ;   in publicly accessible computer.# i/ g" Z2 i0 i8 `8 G: u
  1571. ; - User may access your site with the same session ID0 ~& V. g% V$ v. w2 T! n
  1572. ;   always using URL stored in browser's history or bookmarks.
    : v- }5 ?* A" A  C: e6 F- n& o& }
  1573. ; http://php.net/session.use-trans-sid
    # U- J1 ]) |& x4 C) @  N
  1574. session.use_trans_sid = 0  L  Q0 H1 g6 O3 i

  1575. & j$ ~8 R9 f! o3 g: [' {2 B* g& \
  1576. ; Select a hash function for use in generating session ids.
    . F* n, U9 J) j
  1577. ; Possible Values5 C* p' f& ]2 Y' y9 [8 q
  1578. ;   0  (MD5 128 bits)
    % l! X. A: g2 |! c+ x
  1579. ;   1  (SHA-1 160 bits)
    . b4 D1 m2 G% M3 [# E; G  E
  1580. ; This option may also be set to the name of any hash function supported by
    : H7 F1 n6 f. R) E
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()2 T" C  S9 h# l8 ~7 w' {- |6 D
  1582. ; function.- _7 B4 D5 E1 `8 l# U. _( r
  1583. ; http://php.net/session.hash-function
    & ?% d# z0 C# p' A  j* `) p) `0 F
  1584. session.hash_function = 0
    6 p/ g: o6 J; Z' L* ?; \0 ~
  1585. / j0 W/ ~! n+ J* M/ T( l
  1586. ; Define how many bits are stored in each character when converting
    ! I  z; B9 F/ k7 W" z4 x& e
  1587. ; the binary hash data to something readable.
    1 N1 i" [+ x5 a6 J* p1 j5 q
  1588. ; Possible values:+ m; a( B) h) A% p3 _
  1589. ;   4  (4 bits: 0-9, a-f)& k) w9 {4 j2 W" B7 V
  1590. ;   5  (5 bits: 0-9, a-v)+ k8 P: [/ O+ t& `# s
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    9 @' H- d: \/ l9 B( X
  1592. ; Default Value: 4  L7 a+ O- i9 {6 k* D/ ~
  1593. ; Development Value: 5
    4 w/ Y2 K/ @, h7 B; A! _
  1594. ; Production Value: 5
    . A5 O. B* q1 n: O) i. r
  1595. ; http://php.net/session.hash-bits-per-character2 c( C$ g* q: j3 r2 v; j
  1596. session.hash_bits_per_character = 5
    ' l9 Y0 w  D2 c" ]1 x

  1597. * b7 B: l; d3 G2 g. J
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    # O& a6 r& B1 U- F
  1599. ; form/fieldset are special; if you include them here, the rewriter will, q8 |# r$ L+ {1 M: A0 A9 [
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ) h, d3 c6 U3 W. O% U
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 r/ }' D5 j4 @) N9 x% O9 z
  1602. ; Note that all valid entries require a "=", even if no value follows., I6 z, l: L- K4 T9 A
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - A$ c1 A6 S, d- g( C, ~/ y
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": K5 o8 [# T; p: N9 S
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + F4 S' R, G5 Q) q! x: n8 m9 ^0 g  C
  1606. ; http://php.net/url-rewriter.tags
    ) J  [1 `" w* d
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
      x# Y6 f" T# i: j
  1608. ; y8 u4 T, W, B$ ?* K- I! O
  1609. ; Enable upload progress tracking in $_SESSION+ B) `2 r3 Q9 A" ~
  1610. ; Default Value: On
    * Q. C5 m& u1 o" z& D+ z
  1611. ; Development Value: On
    : i7 G& L# C( R, t$ u+ ]4 V4 k
  1612. ; Production Value: On3 M% J! S0 y& U* \
  1613. ; http://php.net/session.upload-progress.enabled- X9 n3 L; V5 x+ H+ W, b* _
  1614. ;session.upload_progress.enabled = On9 v0 H3 o* U7 w/ T. [$ N# U
  1615. # u6 t6 |* w( A3 U
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ( ^$ Z- ]! r+ ~) ~8 \2 N
  1617. ; (i.e. upload completed).
    0 A+ z3 u3 `# A+ ?+ k2 w9 j
  1618. ; Default Value: On" I! g; S8 b7 x- v
  1619. ; Development Value: On
    8 o4 \: O$ g2 |+ T2 e
  1620. ; Production Value: On; S! u2 f- c- Z  W' W* h0 H
  1621. ; http://php.net/session.upload-progress.cleanup
      ^9 {( X% a4 v3 Y  j8 W& j
  1622. ;session.upload_progress.cleanup = On
    0 z$ v' [+ D/ ^4 \! ?" }% T

  1623. 6 \5 Z' Y3 X6 p' R
  1624. ; A prefix used for the upload progress key in $_SESSION  H; S6 @9 T  m& u/ x; I2 i- _2 v# P1 Y
  1625. ; Default Value: "upload_progress_"
    6 H+ O& y# n7 A# M. E/ H* a
  1626. ; Development Value: "upload_progress_"/ V, H" \7 j% v1 v" a& m2 ~- S
  1627. ; Production Value: "upload_progress_"
    % c2 c: [8 w: X' {) {/ q* ]
  1628. ; http://php.net/session.upload-progress.prefix# I! D! w$ b2 y9 y: R' X- P- f
  1629. ;session.upload_progress.prefix = "upload_progress_"+ b* ~* t& b$ i% m1 S3 n
  1630. * i6 K' P$ n. q) i2 Y
  1631. ; The index name (concatenated with the prefix) in $_SESSION  b* |+ d/ K- w% y, T- _# u( R7 f
  1632. ; containing the upload progress information4 d% O9 g: g3 g; a& J: t8 O
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"( S* o! j8 s0 w) i0 E: F: C! R7 g
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"( Z8 ~' k; R% \7 X
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 D- g  G3 a, b
  1636. ; http://php.net/session.upload-progress.name/ U; `- P  l9 ?5 U- w& H
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    , X- r. @1 @% X* W

  1638. + V+ s* J3 X+ u6 D5 j
  1639. ; How frequently the upload progress should be updated.
    7 e1 ]% H8 ^/ T# d* S
  1640. ; Given either in percentages (per-file), or in bytes
      l6 W# r" q8 i" c! N, T8 a
  1641. ; Default Value: "1%"
    " y! x8 O4 q' \# A
  1642. ; Development Value: "1%"
    4 ^# U' C! |8 _+ s  j7 z
  1643. ; Production Value: "1%"
    " a" Z- d  O2 U5 ]2 _
  1644. ; http://php.net/session.upload-progress.freq9 x: n& ?1 S- X
  1645. ;session.upload_progress.freq =  "1%"; S9 Z- b& x6 Q5 R7 f* C

  1646. * i( D& J5 S4 D2 w; R. D* V; s
  1647. ; The minimum delay between updates, in seconds: x5 g" G9 V* k& O
  1648. ; Default Value: 1
    6 Y7 N( a" i4 i! i, t3 G
  1649. ; Development Value: 16 x" s. E  R  Q: j5 x5 f$ k
  1650. ; Production Value: 1
    7 a0 h  G! h: C8 F! Y; c- B, d& I$ r
  1651. ; http://php.net/session.upload-progress.min-freq# D7 h8 Q+ G+ F; V) ]  h( j
  1652. ;session.upload_progress.min_freq = "1"
    / H! I8 ~: g5 [& {# l/ N  J

  1653. - D0 X! _, K  L7 r
  1654. [MSSQL]
    6 L9 ^( j- \7 q) r: j. ?3 m- J
  1655. ; Allow or prevent persistent links.
    ' \. U3 z3 ~* P% W1 w- P
  1656. mssql.allow_persistent = On- }0 t3 `. J  ]3 i: r
  1657. - {3 O; ^; c4 q3 T5 J7 L
  1658. ; Maximum number of persistent links.  -1 means no limit.8 ^8 v1 m$ ~3 H3 R$ Y: v% W
  1659. mssql.max_persistent = -16 z. {( t* n4 h' R" o  }

  1660. ) N: L5 m$ z; c; V- V
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: J, O/ o  h, S6 D" i
  1662. mssql.max_links = -1
    ) t5 O. P8 u- w+ w! g7 x  E" |4 b6 P
  1663. - e2 [6 _, J5 y5 X
  1664. ; Minimum error severity to display.
    " _- e. |# K+ [6 `, @+ B: B$ j
  1665. mssql.min_error_severity = 10
    7 x2 Q+ [% u& \! c# i: ?4 K+ h9 y
  1666. ! n; w3 [1 Z4 ^; J5 x5 a
  1667. ; Minimum message severity to display.
    ( h, h! i& t; @0 ]4 {' O
  1668. mssql.min_message_severity = 10. W) t: |0 Y' L4 N2 M1 }) _) s, F2 T
  1669. 8 a$ d/ ]! d: |' n2 u; w
  1670. ; Compatibility mode with old versions of PHP 3.0.
    - }( y% M: g! `# V! v# s
  1671. mssql.compatibility_mode = Off
    . Y1 L; M4 v0 p; X5 M' i
  1672. / Q. ]6 S2 C2 I7 R& g. [6 |. r
  1673. ; Connect timeout* s+ l' \& B5 ^1 _5 r
  1674. ;mssql.connect_timeout = 5
    7 c+ e: J$ {$ x) Q% v1 t

  1675. ' U  l- W9 \: H5 K5 {! b
  1676. ; Query timeout
    8 t! {* n6 z; k% p! [
  1677. ;mssql.timeout = 60
    1 L0 s6 x; X9 ]  L

  1678. # ^4 I: `/ {1 U4 p" P
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ) p+ F0 e8 R5 Z6 F% U
  1680. ;mssql.textlimit = 4096  i* d3 x+ o1 B) d1 c

  1681. 3 [# ~# a: Q6 \
  1682. ; Valid range 0 - 2147483647.  Default = 4096.3 E) [9 v: T: \1 H) H
  1683. ;mssql.textsize = 40962 W1 w0 ^7 O( p) O; d, }: Z  K
  1684. 6 ]; J% M7 Y8 K' v
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.' s! k% @  p  ~9 y( n" D/ U
  1686. ;mssql.batchsize = 03 ^& N6 I" L2 G" ~1 g

  1687. # u3 F) Z& E2 t% p: C# n* }
  1688. ; Specify how datetime and datetim4 columns are returned
    / y$ k# ?* @* D8 L" u0 }
  1689. ; On => Returns data converted to SQL server settings- o& H2 N+ ~9 C! r, C
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ! n. z& s& {. v' Z. x! _
  1691. ;mssql.datetimeconvert = On
    ; t3 D5 ?6 {1 t" e( E5 Y

  1692. * q6 h8 y4 |  Q+ Z1 Z) o& H1 G
  1693. ; Use NT authentication when connecting to the server4 f2 o4 Q% f/ V5 b$ U: D! l
  1694. mssql.secure_connection = Off- l6 W+ a  f' D( r& |

  1695. " A1 }! K  [# a
  1696. ; Specify max number of processes. -1 = library default" N* y1 A! O! y: L' E
  1697. ; msdlib defaults to 25
    $ [+ s3 h$ K$ s7 u; L2 _
  1698. ; FreeTDS defaults to 4096" K* F, o- a/ z1 e2 W- \
  1699. ;mssql.max_procs = -1( H# X7 R9 b, _* I4 y: u% r" V
  1700. 1 z4 `# J* k7 k, Z# @, m0 T
  1701. ; Specify client character set.
    + d( l9 W& t) L8 d9 i- o0 T
  1702. ; If empty or not set the client charset from freetds.conf is used5 R3 N( e& L5 m4 n* o# }
  1703. ; This is only used when compiled with FreeTDS
    % r) x0 o- h2 U' F8 N
  1704. ;mssql.charset = "ISO-8859-1"
    8 |+ F* G7 W  Y2 N

  1705. 4 j% H: Z; a/ t. L4 U) e% A
  1706. [Assertion]
    ' D- Z5 f5 v  b7 k! o
  1707. ; Assert(expr); active by default.  |6 x' y" R+ @7 g7 I
  1708. ; http://php.net/assert.active
    8 F) v1 \0 a, ?, {0 E7 p' a6 h
  1709. ;assert.active = On6 l5 n/ k$ I" V; k1 g

  1710. & F7 z. f; L" c& [( o
  1711. ; Issue a PHP warning for each failed assertion.% _5 ~5 {! A2 d. Z; |6 \, S  [
  1712. ; http://php.net/assert.warning3 N2 E$ D8 ^9 Z7 ^2 D
  1713. ;assert.warning = On- h+ _& Y( J0 S0 x* x
  1714. 8 b0 |& b* p9 R; D: v: B" t
  1715. ; Don't bail out by default.5 x+ W& i6 f; U# z6 \0 f
  1716. ; http://php.net/assert.bail) e" W( y  \/ n+ C
  1717. ;assert.bail = Off
    9 T; ]+ x- r2 Y7 q" {

  1718. 3 m$ A0 q! J5 D# [3 W# g6 ]! k
  1719. ; User-function to be called if an assertion fails.6 q" u2 M5 Z2 x
  1720. ; http://php.net/assert.callback8 T+ f# V; ?( n9 N4 r5 `4 Z4 v
  1721. ;assert.callback = 0
    5 d9 \. L8 N- u/ J( u. D3 Y
  1722. 6 `+ _* ]4 ?6 n" U
  1723. ; Eval the expression with current error_reporting().  Set to true if you want8 K9 w' l( c+ h9 S6 i) N: }2 |8 ^
  1724. ; error_reporting(0) around the eval().
    3 h: ?1 h: o$ x' y/ E# D' Q/ l
  1725. ; http://php.net/assert.quiet-eval; _% o# [; a$ @! z
  1726. ;assert.quiet_eval = 0
    ! Q+ _# ]/ U# s% |
  1727. " b' j5 u+ p, Q' z* z/ K! b
  1728. [COM]6 Z4 t; o2 I& }, s1 N& m: {' G
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( B, @3 i6 a  H0 U# k- h# p
  1730. ; http://php.net/com.typelib-file
    ! [7 c$ O! h% S/ ^/ b7 k: ]- i. j5 g
  1731. ;com.typelib_file =% s' ?0 S0 ?2 W5 a

  1732. 3 g! _1 }: ~8 e
  1733. ; allow Distributed-COM calls
    " n* `  f4 N& s. k, S5 n
  1734. ; http://php.net/com.allow-dcom
    , |/ r1 _8 g3 h, K: N
  1735. ;com.allow_dcom = true% V4 X, a5 G7 w2 s4 I# G( H5 w
  1736. ' b' `/ ?* V" B1 d3 @  D& y
  1737. ; autoregister constants of a components typlib on com_load()
    / ~8 t0 \& e7 r$ E3 U
  1738. ; http://php.net/com.autoregister-typelib3 H1 o3 R8 A5 x3 j/ s
  1739. ;com.autoregister_typelib = true
    1 V; |0 _1 j) p$ @0 {3 p

  1740. ! r6 Z& W! z7 D: p' l
  1741. ; register constants casesensitive0 H) `2 P8 z- l4 Z" L; A* ?$ W) j
  1742. ; http://php.net/com.autoregister-casesensitive
    9 R% [; E( n3 i1 a8 d! z7 z0 @
  1743. ;com.autoregister_casesensitive = false2 h4 k0 ~% s0 g9 R5 Q
  1744. * P/ E+ b/ @2 _
  1745. ; show warnings on duplicate constant registrations* T6 J7 N' G' T0 O) N9 ]4 K' b
  1746. ; http://php.net/com.autoregister-verbose2 a0 [; S- N( V* e3 I
  1747. ;com.autoregister_verbose = true9 f' D1 a8 Z7 A; g8 d
  1748. 8 q. U1 }# h# b' }& O$ A
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ! ]: J. _3 I' r
  1750. ; Default: system ANSI code page/ Q* W2 u4 F/ Y# I" ]# Q4 m/ D
  1751. ;com.code_page=
    6 E2 z( P/ [2 I  a* q
  1752. , V3 F% i6 G) P
  1753. [mbstring]
    : K) F8 Y( S. `& g
  1754. ; language for internal character representation., v+ Y  _1 u  c8 _
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    : Q# W: }1 [, A) P
  1756. ; http://php.net/mbstring.language& |& q; E. I: |6 k8 r, {8 ?
  1757. ;mbstring.language = Japanese
    9 x- p6 V/ l5 I  a9 {4 j
  1758. * l0 `" P% e7 g2 c' k* @
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 ~- T+ x: N4 h9 J. J: s  W
  1760. ; internal/script encoding.
    ! E) Z% G3 n- @. y- w
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)6 i+ w7 B- n3 l1 K# Q3 v% P" W
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 W9 x5 M7 D8 D4 R
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ `5 e* J) m- g5 L
  1764. ;mbstring.internal_encoding =, e0 S2 ^6 L* R

  1765. " l4 h' w2 m9 [7 |
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 n1 i# M7 v: b
  1767. ; http input encoding." s; y2 u8 M: h
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.3 H) t* P; Q1 }! x# l
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.% O. f: P  ]) [$ f0 c1 X4 |
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    4 |+ E( m0 w; y  x$ F
  1771. ; http://php.net/mbstring.http-input
    ' I) U6 u, B- G; b# i
  1772. ;mbstring.http_input =
    $ W/ A* ?5 {# {2 D) S# U; Z. f

  1773. : F/ j( A) M/ o
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 o2 H" }4 j2 x. {  @
  1775. ; http output encoding.
    $ i8 M2 G. X/ ?8 A
  1776. ; mb_output_handler must be registered as output buffer to function.# k) H% R) s* r& U2 R, ?1 C' V3 Q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- z3 F' \0 n1 M3 z0 f) K% n
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output; n! v- G6 y0 m. H0 b% B9 R& V+ e
  1779. ; To use an output encoding conversion, mbstring's output handler must be set# ?1 @  A: D, N% S* d1 V
  1780. ; otherwise output encoding conversion cannot be performed.1 [& Z$ l' E0 m5 D
  1781. ; http://php.net/mbstring.http-output
    . S2 H% T" T, I
  1782. ;mbstring.http_output =
    4 I9 u* ~# z7 z/ T: P# U8 [. o

  1783. 8 i$ Y% Y$ e8 d, ^8 m& u2 ?) e$ B
  1784. ; enable automatic encoding translation according to
    4 q/ a3 A- t' R5 o+ P3 a
  1785. ; mbstring.internal_encoding setting. Input chars are+ N. v: M! i8 u3 Y
  1786. ; converted to internal encoding by setting this to On.$ j4 j$ u/ u$ Y; a; w5 b8 y; p
  1787. ; Note: Do _not_ use automatic encoding translation for
    7 b' I# e( e$ ?+ E8 S
  1788. ;       portable libs/applications.7 h+ E# k3 a% C/ ?/ r' i) q
  1789. ; http://php.net/mbstring.encoding-translation# `3 h# M1 _, u( a
  1790. ;mbstring.encoding_translation = Off
    ! O$ r* v: F3 F

  1791. / j! I! T4 p; {" X& V0 [
  1792. ; automatic encoding detection order.
    9 v. q/ x/ f% b, }! ~0 U( r8 |
  1793. ; "auto" detect order is changed according to mbstring.language6 O0 G  `, [( N0 p5 X+ b3 Z
  1794. ; http://php.net/mbstring.detect-order# B* [. d: A, e; k1 }! x: F
  1795. ;mbstring.detect_order = auto" R" U1 {9 L, B. }+ l

  1796. : m' V2 |) Z6 F- Q. ^: `# I( @. H
  1797. ; substitute_character used when character cannot be converted; j6 [2 f6 E  K* K$ Y' e* Q
  1798. ; one from another; J+ v+ [, _1 V0 W1 D. G! _
  1799. ; http://php.net/mbstring.substitute-character
    ' e5 t# I; A3 R2 c9 b
  1800. ;mbstring.substitute_character = none5 b, z) j# w( ^

  1801. , v3 B0 ^( P* X& E: ?
  1802. ; overload(replace) single byte functions by mbstring functions.# F- i+ \& F3 R& v* ~
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 g) @$ X7 v5 x: s5 ~
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ! W: H: _1 N$ I$ Y0 m: f8 Q
  1805. ; For example, 7 for overload everything.
    " f  z" O6 {  X( c- f% G. `3 t1 e
  1806. ; 0: No overload
    1 V+ ~) V3 D9 r+ }  O; `9 q
  1807. ; 1: Overload mail() function
    : Q2 E$ ]" k# Z  p
  1808. ; 2: Overload str*() functions$ c: X4 o0 E% V% P- }0 Z
  1809. ; 4: Overload ereg*() functions# p& J* X4 [* `+ W
  1810. ; http://php.net/mbstring.func-overload# j+ ?  j2 f% y
  1811. ;mbstring.func_overload = 0! ]* L$ o2 T5 n. b% ~
  1812. 7 `: F4 Q9 i* I, s+ p
  1813. ; enable strict encoding detection.
    7 L" |) K/ w2 j9 A, ^, P8 G( g5 b
  1814. ; Default: Off
    - N2 j5 ?  y- d2 l4 f5 D
  1815. ;mbstring.strict_detection = On/ t" G! ?1 k5 V4 R2 u$ g& t8 U1 Y* A5 |
  1816. / I/ N9 [8 ~& T( a  P
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 i8 Q% \+ Y0 v  h3 \
  1818. ; is activated.
    1 Q4 s, B5 ~" r9 i- H# W6 I
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    : P6 W) m$ ?. y: y# f
  1820. ;mbstring.http_output_conv_mimetype=& J8 v# T) ?3 L3 R4 R. M( {& u% Y
  1821. : }3 ^9 }+ i0 V+ ~
  1822. [gd]7 a7 P: v, }. p) E" g
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    8 ~) H/ Q" S8 E9 D7 U
  1824. ; a gd image. The warning will then be displayed as notices
    : F2 S, p  v* W+ e  l
  1825. ; disabled by default3 T& b2 Q  U* p; P2 p
  1826. ; http://php.net/gd.jpeg-ignore-warning$ ~; p7 h1 p9 y2 Q8 P5 |& m+ Z, s
  1827. ;gd.jpeg_ignore_warning = 05 S8 W5 U1 k; {' D& J

  1828. # Q/ U( Y& Y! G7 @6 _
  1829. [exif]- g- a8 I2 Q" t, n4 }% [- m9 ]& T- F
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.1 E, x- l) P5 j; A' P; w
  1831. ; With mbstring support this will automatically be converted into the encoding3 c' x2 E" @  Y+ c2 D4 K
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding, X4 i% `8 ^( k  ^! |
  1833. ; is used. For the decode settings you can distinguish between motorola and% w, J4 ~+ g/ \. F) S% X- _
  1834. ; intel byte order. A decode setting cannot be empty.
      K2 f' q% B0 @% f
  1835. ; http://php.net/exif.encode-unicode
    0 ?, b2 g7 M  P8 r8 \+ I
  1836. ;exif.encode_unicode = ISO-8859-155 T3 U; y0 \- a! r7 T& c
  1837. 1 v# q, x8 {$ X+ @0 s
  1838. ; http://php.net/exif.decode-unicode-motorola
    5 N" u9 y  H6 |' b
  1839. ;exif.decode_unicode_motorola = UCS-2BE+ y6 T% e+ l5 t! _0 T8 g4 Q
  1840. $ ~; F( r& _9 Y' T- b2 R
  1841. ; http://php.net/exif.decode-unicode-intel
      U! |$ R4 a' L
  1842. ;exif.decode_unicode_intel    = UCS-2LE: w' H- j5 \6 T' }; h

  1843.   f! O7 h5 r, Z8 G  l! Y
  1844. ; http://php.net/exif.encode-jis: \  \! b; L1 F$ Y9 ]9 Q+ b
  1845. ;exif.encode_jis =# C4 k4 `: Q' P% n% ~- w$ ?

  1846. , ^; B4 J( n* q4 _8 q
  1847. ; http://php.net/exif.decode-jis-motorola; k( r0 B# Z8 G& U/ |+ L' X
  1848. ;exif.decode_jis_motorola = JIS* `( y2 D; \% V$ E% {8 @
  1849. 2 J! \- R8 O* ^' N2 q
  1850. ; http://php.net/exif.decode-jis-intel( D5 T8 @5 {; ]6 h- [8 Z' o
  1851. ;exif.decode_jis_intel    = JIS
    . o) u/ J8 p7 _" D

  1852. 5 ~8 Z, C: i# y4 ^) }
  1853. [Tidy]
    . y4 n- @0 |# ?! r8 r  n2 m% d/ T
  1854. ; The path to a default tidy configuration file to use when using tidy4 N; Y) B+ I" b1 c/ @
  1855. ; http://php.net/tidy.default-config
    " S4 _1 Q# _0 X; n
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 a5 F; ^: W' B) k- u# A

  1857. - k& H/ y' y8 P
  1858. ; Should tidy clean and repair output automatically?
    8 D5 ?; H3 R; K% e3 g3 E
  1859. ; WARNING: Do not use this option if you are generating non-html content
    4 P  |  a' w) E" @& o
  1860. ; such as dynamic images
    + l6 j2 X4 g7 w! o. y' m
  1861. ; http://php.net/tidy.clean-output+ z0 k' N* P1 e3 Z: z
  1862. tidy.clean_output = Off. B( z3 i+ W6 M# ?) X6 x# z% [. }7 u
  1863. : l' Y/ I- r1 X2 K( n% K9 ^! G
  1864. [soap]3 y8 M7 [* d# b5 D- B
  1865. ; Enables or disables WSDL caching feature./ O3 c( T  j6 B, J! o
  1866. ; http://php.net/soap.wsdl-cache-enabled
    7 T. N( z6 q$ T) G
  1867. soap.wsdl_cache_enabled=1
    5 v9 c' y# x  m0 n2 B5 b0 Q

  1868. / }8 l+ V7 R* j" O! V  R" L; {+ a
  1869. ; Sets the directory name where SOAP extension will put cache files.: |6 c3 i3 d; V5 ?. T8 f
  1870. ; http://php.net/soap.wsdl-cache-dir
    7 n& T: b: w( e/ \
  1871. soap.wsdl_cache_dir="/tmp": Z5 y$ p9 b1 t& _+ j% P

  1872. 8 D/ s1 K- s2 \! A/ t/ G% c3 X3 b. e
  1873. ; (time to live) Sets the number of second while cached file will be used/ n' g6 N& }% d' ~1 t8 f/ J! `
  1874. ; instead of original one.* E; y' p) b1 v5 Y/ p7 b5 I4 X6 G
  1875. ; http://php.net/soap.wsdl-cache-ttl
    9 E) t6 N9 W6 j6 r
  1876. soap.wsdl_cache_ttl=86400
    ( q  ?- T, V. H; I

  1877. - E1 A) v0 t" s# k
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    1 D. F/ i7 L: ^/ X% c. T
  1879. soap.wsdl_cache_limit = 5
    & ?3 @8 v3 K$ ?/ z" g

  1880. 0 F1 n, ~; O& V: K  K+ m% ?* y
  1881. [sysvshm]
    & l; u9 g' w/ u; I
  1882. ; A default size of the shared memory segment
    ( F4 m0 f8 D; w5 u2 o8 F8 f0 F
  1883. ;sysvshm.init_mem = 10000
    " ^& E0 L% R6 L8 P& I0 K
  1884. + N$ Q% y: {; m8 ^8 I( L" w4 p5 x
  1885. [ldap]
    ! \' u1 J; H) w
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    4 p* P& {) Y/ V1 S, P: k
  1887. ldap.max_links = -1
    4 h) s) E; k2 {( ?1 ^$ A) t
  1888. % D+ G* h$ r* o5 |8 v
  1889. [mcrypt]. k: W1 r$ l! E8 L- m, s& z( ~
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 m" O; q/ i2 Y
  1891. " c- K2 d% n! D* {' Y; q
  1892. ; Directory where to load mcrypt algorithms
    9 }# b# x* h+ m) X; w
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 z! Y' E, c7 S+ k3 e
  1894. ;mcrypt.algorithms_dir=
    + T$ [( R& D9 r) o# |3 t# x
  1895. ( E+ W& ~# h& l7 b
  1896. ; Directory where to load mcrypt modes) i8 m& B& d8 j( F5 s% T3 u$ M# s
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); F' O) T! S* {1 s* B: @5 R
  1898. ;mcrypt.modes_dir=1 I! U$ m1 T- p9 U% t; T

  1899. " K) i4 z8 ]" Q0 h" f
  1900. [dba]) Y% x$ z6 p  Y( q3 o) W
  1901. ;dba.default_handler=7 j2 B8 f4 b% O( ~; H

  1902. ( L3 [9 S) S( I  E5 m4 k
  1903. [opcache]
    4 ^& o" z; d) \; i! @
  1904. ; Determines if Zend OPCache is enabled% t0 r7 _6 Z2 |0 X+ s
  1905. ;opcache.enable=0
    . V) Z. U! {1 X* a) H/ O0 j
  1906. 2 x9 U7 T+ ~5 k; b& Y
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    - L! `1 \, f) @6 ^, u* N( v5 x' p. m
  1908. ;opcache.enable_cli=0; l. a% g2 r: F. ?" K
  1909. $ R1 K' ]( s5 P% t( ]0 I4 j
  1910. ; The OPcache shared memory storage size.( [- M( d0 V$ B+ A: K: H0 ^0 O
  1911. ;opcache.memory_consumption=64
    ) _6 e8 d: Y7 I, w
  1912. ) Y9 m# |  i, o( g3 z( W
  1913. ; The amount of memory for interned strings in Mbytes.& j* x7 o" |. l4 Y* i+ V
  1914. ;opcache.interned_strings_buffer=4
      ]/ t+ p/ G" G+ H) i
  1915. 2 Q2 D: M+ k' g& d+ L; ~
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    - v- R# u0 A1 M1 `( y
  1917. ; Only numbers between 200 and 100000 are allowed.
    3 H9 I+ a/ T- M9 H' p3 I
  1918. ;opcache.max_accelerated_files=20008 m0 M' y5 q$ \1 G, {

  1919. 5 F. A; V1 @% e; a$ i
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.* A9 ~) b' W2 X0 d' {- ]7 t
  1921. ;opcache.max_wasted_percentage=5# K1 X, m. X! Z
  1922. 2 H2 _: Q; P" y7 C6 C
  1923. ; When this directive is enabled, the OPcache appends the current working" [7 L' l, \  b4 _" p7 R' K
  1924. ; directory to the script key, thus eliminating possible collisions between; |8 r9 T& e3 I' z
  1925. ; files with the same name (basename). Disabling the directive improves
    - ?6 t7 B6 ~" r* S& h0 T
  1926. ; performance, but may break existing applications.
    $ T. N! W+ g; X$ `3 w
  1927. ;opcache.use_cwd=1# n) ?: K. Y) @5 r6 G
  1928. 5 y* N: U6 |: \3 e5 Z1 ^
  1929. ; When disabled, you must reset the OPcache manually or restart the
    4 n: x0 T" l( H- ?. m
  1930. ; webserver for changes to the filesystem to take effect.
    ) ?! P3 e6 A/ J8 y, y0 F7 w
  1931. ;opcache.validate_timestamps=1
    * A! d5 \/ j0 W& w5 {# |7 P2 d, F

  1932.   Y, ?9 }# ?/ C9 d/ C" i2 `$ l
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    6 a1 Q( X3 i- _1 V9 N
  1934. ; memory storage allocation. ("1" means validate once per second, but only( `, z- `% }3 U9 u8 p8 g, k3 ?
  1935. ; once per request. "0" means always validate)) @4 Z* W; ?$ A; v2 E
  1936. ;opcache.revalidate_freq=2' M3 s0 B- T) u" k

  1937. , F7 O) |' i# R) \: k
  1938. ; Enables or disables file search in include_path optimization  P; X2 q5 ]$ ^3 [9 y
  1939. ;opcache.revalidate_path=07 {' x2 s" _# U0 l

  1940. 1 z4 N' t% g& H
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. i; W% w1 j$ W+ Q; X! W+ J! v% J+ |
  1942. ; size of the optimized code.9 z  [: I0 a6 ]
  1943. ;opcache.save_comments=10 h* M3 w( M6 a, q- g8 U; k% u! D8 p

  1944. 7 l/ @! d& H, |' U7 h: j# o
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ) D' n% V5 |1 v/ h
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    4 \7 z9 h) R+ S7 k9 Z& O) m& @
  1947. ; that don't need them anyway.
    3 p2 i) w+ o* {  e( G" J' J1 r% y+ o
  1948. ;opcache.load_comments=1- U5 K1 R# Z0 |# [

  1949. 1 e& R2 j. N( d" c' V' `/ d( {
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code; Z4 t$ L# f& C
  1951. ;opcache.fast_shutdown=08 g. L- ?, V! D  K0 x' v, [
  1952. 3 }' R( C4 i* C' E1 p8 q0 ]% N
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' _0 V* H6 g+ E. T; G  o
  1954. ;opcache.enable_file_override=0, u% f: Q5 R9 @/ g
  1955. * `) p% I! Z5 d. P! ?
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache; |) g! N% @( a) U% M' P5 n8 v
  1957. ; passes
    . d2 Y& V: Y! Y; @+ q+ o8 E
  1958. ;opcache.optimization_level=0xffffffff
    5 C1 s7 B9 {5 A: h3 P

  1959. ( ^" ^" p# n- T" D) c
  1960. ;opcache.inherited_hack=1
    0 p: v) @1 |% @' e& z5 g
  1961. ;opcache.dups_fix=0
    2 S% L& K% U! }: l
  1962. 0 @( H. M8 f( j! p6 O& Z6 r
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    % ^, q! V* N& t1 A+ `: z6 k
  1964. ; Each OPcache blacklist file is a text file that holds the names of files3 S7 ~( R+ n) `/ q* e
  1965. ; that should not be accelerated. The file format is to add each filename) ?5 l' J4 B0 V8 c8 X- g% i3 I0 @
  1966. ; to a new line. The filename may be a full path or just a file prefix- W; U/ r6 H! ?' ]. |- p. n
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www( j) W' \, W2 V9 [: c6 i) E
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).1 ^$ V9 h+ t* G  E3 H* y" F
  1969. ;opcache.blacklist_filename=; j* }& D- V4 T! `! B( K: G7 @

  1970. 2 t' Z$ y. {/ K- {* ]
  1971. ; Allows exclusion of large files from being cached. By default all files. e' i& d. B. |4 p& a
  1972. ; are cached.9 c" C. z+ J' L
  1973. ;opcache.max_file_size=0- f3 Y5 t: q& w) q! C
  1974. & X4 J8 o5 r$ [# S0 Q- Z8 V
  1975. ; Check the cache checksum each N requests.
    . a: V9 s0 Y$ @/ }! q! h3 ~
  1976. ; The default value of "0" means that the checks are disabled.- k# x! f5 x7 Q$ T% I: {
  1977. ;opcache.consistency_checks=0% X7 d2 R8 o% y, d4 R% q

  1978. ! T0 X* {3 b; e6 N* j
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + @9 @$ |- o7 `
  1980. ; is not being accessed.- D4 f4 M7 H! m& O; b# U
  1981. ;opcache.force_restart_timeout=180. g3 X. e. J: B2 s% F# I& G+ @3 T
  1982. - |+ y: D% F* q( H. `
  1983. ; OPcache error_log file name. Empty string assumes "stderr".0 J( p% Y5 I/ a! \9 u4 @
  1984. ;opcache.error_log=2 |7 \) X$ o: _& o! z

  1985. ; a8 o6 s( `1 Y  o' ~, |- f
  1986. ; All OPcache errors go to the Web server log.* _, S* R  C5 s; e
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 \( \5 [  g. I, g- U- J# q% y
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
      C7 A, s: _; J. e2 W6 h! m
  1989. ; debug messages (level 4).  \! ^6 l  q4 Y' O* a
  1990. ;opcache.log_verbosity_level=1
    + V  j1 L& \' i$ m  y' x

  1991. ; m  U/ A# V4 {5 S" [% {
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    & F0 S/ u6 q& A5 y+ _2 D8 e
  1993. ;opcache.preferred_memory_model=: r2 x7 O) a, W3 {

  1994. 4 n9 [$ S# a2 ?9 I: a: v
  1995. ; Protect the shared memory from unexpected writing during script execution.) L: J0 Q/ g4 R# I" {8 H% }8 G
  1996. ; Useful for internal debugging only.6 X, P9 h% L6 d$ Y5 W+ e0 Q1 ]/ ^
  1997. ;opcache.protect_memory=0" Q4 T: v& {/ E# n

  1998. 7 H4 P! @2 S- K* l, f- i3 [
  1999. ; Validate cached file permissions.
    , ~" l2 ^2 R6 |$ t3 c& a3 a: G4 r
  2000. ; opcache.validate_permission=0
    4 B! M7 X9 E# c% l( H" K

  2001. % i1 G! z1 S, j  W5 K  O; {- {3 c
  2002. ; Prevent name collisions in chroot'ed environment.1 \+ ^7 }2 I: E# m; N% t
  2003. ; opcache.validate_root=0
    4 A: w5 E: x- E
  2004. % K1 T. A. q! J
  2005. [curl]4 _3 A  `% _6 K4 @2 K9 n4 Z
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    % T* g* q$ f% h7 y' m: Y
  2007. ; absolute path.
    2 m$ f% F3 E5 r1 e( m3 g+ v
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    + s- O# B0 i# v4 d* G
  2009. 9 P& ]4 T& S0 r8 `  @+ D) }
  2010. [openssl]
    7 ^; u3 P" n' n! A. D* s7 _( _7 o
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem* l6 p$ \1 ]" Q
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should# {) h8 B! Q) T7 |% z5 K
  2013. ; not specify a value for this directive as PHP will attempt to use the
    % {: ~+ D+ b" \( D" c/ d: E$ [
  2014. ; OS-managed cert stores in its absence. If specified, this value may still! H  @: }2 p9 L% `, e
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context: z0 ]4 h- Y4 g2 m2 Z! f1 j1 {$ k
  2016. ; option.  p! C" Y! A5 E+ [0 X7 h
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 I' H  T3 t* X( m4 u- U, g! |
  2018. , q( @  J: C/ f, Q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the2 X# V; \9 u- [7 C
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    5 u$ k% s" W1 q. _+ }/ Y% K
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    + Z  [3 p, S0 a! T/ W4 ^. l0 O
  2022. ; Most users should not specify a value for this directive as PHP will  c' [# W2 E9 T1 N) b! E
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,/ R& `% ~! L$ U3 p7 K
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    & Z- r( X! M8 E. z5 ~6 ~- N+ D
  2025. ; SSL stream context option., y* Z5 @. j3 L8 [
  2026. ;openssl.capath=- Z: r3 z' p; w7 f  C$ z$ i7 S
  2027. 4 v% A% |' }) {, A
  2028. ; Local Variables:& ?+ {+ J+ C0 }8 |
  2029. ; tab-width: 4( b( c) X  S2 i( a% t% o
  2030. ; End:# ^5 d- D3 F5 ~. ~" l# |3 T4 v4 [7 F

  2031. % n) A- a) W3 ~) |3 ^$ ~" _
  2032. ;eaccelerator
    $ a! m& S+ g2 ]" U
  2033. / i8 m' |: z( f! ?& G. n8 @
  2034. ;ionCube
    * J( ~' @( l. ^( `" ^

  2035. / E4 p! t; M2 P
  2036. ;opcache
    + G% ^: i% l8 r' n8 ^) S

  2037. 3 p" R; I+ Z& n! p/ |
  2038. [Zend ZendGuard Loader]& P, G  j" P6 Y9 y* W
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    " x" v, p: c' S: w$ V0 h' X
  2040. zend_loader.enable=1
    + t& H2 m1 L) Q5 w# F
  2041. zend_loader.disable_licensing=06 W' ~& S: t1 h5 ^# a
  2042. zend_loader.obfuscation_level_support=3) C( n3 [. i+ O1 }/ M2 \
  2043. zend_loader.license_path=  O8 o  C( ?% S4 F  z, R# {  C1 V

  2044. 4 \3 j0 k" s% e
  2045. ;xcache" X. W. K. z% A, d) e1 u% l

  2046. ! i- Y) `+ M- A& L
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692- v  M! e: K7 g1 Y

2 q* s. _$ y/ @& q5 o3 }4 W; g: D/ }! |+ F- X& A
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
6 ]5 J7 W; y) U' Y! F) O6 F! _3 O, C: L% O
Discuz!程序版本选择:
+ X0 ]) G+ e3 v7 I; H9 g: ~站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
# k$ I, ?7 k) Z不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
; M, X7 @' _4 d; ^8 T' MDiscuz!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。
# E. m' t2 a3 E, U% u2 }4 _
) E+ l* I4 k0 x2 rDiscuz!插件模板版本选择:2 N- ^- M5 ^) ~7 g" A9 f+ A
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,, T: n3 F8 u- R/ _8 M
针对这个问题做个统一的普及:  w0 x7 r5 d8 o) ?
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
- y; \4 R5 k  [- i3 G: g3 B. x8 T* I) f3 S$ k: j2 ~2 j9 T0 \) `# ]1 }& N
所以$ n1 d+ R3 U# a6 o
适合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的二级域名。
7 k/ C8 p) ?  h$ P打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
* O9 Q3 n4 J# h$ }$ U注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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