分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0% y% a: e" E7 C- |8 n$ m* v  ~

% M3 Z7 F0 u4 e# @9 J2 J
  1. [PHP]" b$ P$ U) Q2 Z% A- s9 J

  2. 5 {7 A4 S, w" G/ x, ?" |0 y" ^- W# H
  3. ;;;;;;;;;;;;;;;;;;;
    , J) k% Z' F3 |  B, r7 S
  4. ; About php.ini   ;, e$ ~* p! g2 `3 k5 z
  5. ;;;;;;;;;;;;;;;;;;;
    - V4 ]$ e1 p/ T' o! {
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    8 a% n/ s( t( a+ s) b* D0 q# d. s
  7. ; configuring many of the aspects of PHP's behavior.
    ( g& `& J5 D* U: k7 M/ J
  8. 2 |3 ^6 S' M4 E' ], Y  P! v+ t
  9. ; PHP attempts to find and load this configuration from a number of locations.
    - ?7 a: A* r/ K  N. k0 y
  10. ; The following is a summary of its search order:
    % L: c9 |) L0 {* [& N% L5 I, `
  11. ; 1. SAPI module specific location.
    8 n9 c9 O6 C% E7 f' z7 ]
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" L. K2 T& \+ U
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 t* Y) d. p1 t+ N1 z; P7 t( D; p
  14. ; 4. Current working directory (except CLI)
      m$ a1 D* ^; U8 Z: q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ' f, s% I0 x. X6 \9 i. g
  16. ; (otherwise in Windows)
    8 m, U' g- s  M0 k. o; a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    3 }( g* V2 ^/ x7 v( w! K
  18. ; Windows directory (C:\windows or C:\winnt)
    - p5 q6 O5 L  R  f
  19. ; See the PHP docs for more specific information.
    ! L" Y4 [  d& h2 W5 j
  20. ; http://php.net/configuration.file
    & H* l& R8 B2 R6 v7 ]: \4 [8 k& T4 q

  21. 7 l$ s6 f3 ^, A* b1 R* `7 S, }
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    6 |8 I0 [" c7 h0 @$ Q/ S* A, |" |! `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 W8 q( m5 Y6 M8 e/ c+ W  I  B- _
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 a. P& r2 q: n! e) ^$ J6 b
  25. ; they might mean something in the future.8 p2 x5 b8 g# P" u6 M" K; p4 M5 p
  26. : A% _5 X( A* v: w" g
  27. ; Directives following the section heading [PATH=/www/mysite] only7 i& N* [; S5 O: ]5 N0 _  p9 q
  28. ; apply to PHP files in the /www/mysite directory.  Directives& J% S: M' A2 G) S0 Q/ u7 Y5 y( g
  29. ; following the section heading [HOST=www.example.com] only apply to; i8 a5 l6 t1 ]
  30. ; PHP files served from www.example.com.  Directives set in these! ~. E# }+ P3 g2 `# k: h
  31. ; special sections cannot be overridden by user-defined INI files or3 A8 R7 H* {4 H% n/ C) T" c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    . p6 t* s" ?9 k" U" J9 K
  33. ; CGI/FastCGI.
    9 ^4 y6 m5 D& w$ w  r) \( |- f
  34. ; http://php.net/ini.sections# o3 ~! {0 |3 k3 Q9 q
  35. 0 e) r! r  i6 V; Z8 P+ F: ~: c
  36. ; Directives are specified using the following syntax:
    ; p2 ~5 ?# S* I( E7 e) V" l! C( B
  37. ; directive = value
    * g- J* y" Y$ `; a) O7 B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.3 L9 W  L5 \5 |- v" K9 Y/ v3 t
  39. ; Directives are variables used to configure PHP or PHP extensions.
    1 }7 F# T, Z% M4 o) d+ n' }
  40. ; There is no name validation.  If PHP can't find an expected- w# s3 E4 t/ w" k
  41. ; directive because it is not set or is mistyped, a default value will be used.
    7 t  l* u! z4 Q. t0 M
  42. , B5 b( a* I# t' A& z9 s! N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    % k7 O, w4 W3 I9 D  U- {
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 V2 ?) p4 F: ~7 t$ O4 m
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 o$ U& M9 j* {4 p. z" D
  46. ; previously set variable or directive (e.g. ${foo})5 B# \8 v4 X1 c8 ^

  47. 9 l: B  u' T1 {/ m
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    5 N) H) ]6 z: X. ^) i; _# n+ v
  49. ; |  bitwise OR
    1 |  R- v$ U- e4 e
  50. ; ^  bitwise XOR
    3 j" j! E  H9 }* H& B- j
  51. ; &  bitwise AND
      [* i& X1 M/ Y! j
  52. ; ~  bitwise NOT# i6 X6 M: F3 P( ]# ?. L: V
  53. ; !  boolean NOT
    ) E8 [- g9 M+ O

  54. 8 T8 n, m4 l- @/ p1 [7 q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 O( g0 s- U7 m  e1 T" _5 E/ g) t4 \
  56. ; They can be turned off using the values 0, Off, False or No.# |" H$ C7 ?6 I; M; L

  57. 7 T( D, s& Q- E7 h
  58. ; An empty string can be denoted by simply not writing anything after the equal
    6 x4 r( x, z! m! X7 r
  59. ; sign, or by using the None keyword:+ Q! Y) p. m7 n/ ]: A, `

  60. 1 k, w6 h9 y! z9 U1 I
  61. ;  foo =         ; sets foo to an empty string
    " C/ M" F! M  j' [
  62. ;  foo = None    ; sets foo to an empty string
    - \, G: l3 \& B* v, r  a; n
  63. ;  foo = "None"  ; sets foo to the string 'None'7 @: `$ Y# j" W8 l) g" a

  64. - N) @, r9 H5 e) B% [
  65. ; If you use constants in your value, and these constants belong to a1 {0 r1 [# I9 t4 T
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),( @! k! v# x, s
  67. ; you may only use these constants *after* the line that loads the extension.
    , s2 q; C6 K3 x. o8 \1 W# ~/ p' C

  68. ( H1 M" i' T2 F: |
  69. ;;;;;;;;;;;;;;;;;;;. [. E" o2 ?% U$ t+ H0 k/ N% Q
  70. ; About this file ;
    5 c2 t) |0 o3 t/ v
  71. ;;;;;;;;;;;;;;;;;;;7 I+ G0 K" i% g/ K; p$ o3 R
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( H: N  K: C$ P
  73. ; in production environments and one that is recommended to be used in' j& ]  t* v+ I( H' L% A' ^
  74. ; development environments.9 }; \# y# V4 j3 n2 i7 o+ Q
  75. / ~/ X7 t6 o# u' c$ D
  76. ; php.ini-production contains settings which hold security, performance and
    # J" S. F& e! p% Y: @. N8 ~, N7 T- G
  77. ; best practices at its core. But please be aware, these settings may break" R4 Q# P: A/ i8 Y
  78. ; compatibility with older or less security conscience applications. We
    % s9 z9 l( D/ c2 x* U
  79. ; recommending using the production ini in production and testing environments.
    3 F% y7 |) n: ]
  80. 3 ?9 I# ^- f7 r2 ~, u
  81. ; php.ini-development is very similar to its production variant, except it is/ s! o9 b! X4 L, U( H; l
  82. ; much more verbose when it comes to errors. We recommend using the6 K% n. [/ G* u7 b: T* r+ q
  83. ; development version only in development environments, as errors shown to8 p  p! f8 L6 J: c  G
  84. ; application users can inadvertently leak otherwise secure information.2 p& |3 @3 ^" M" Y8 J" s
  85. ; B  y3 P8 B8 p3 T
  86. ; This is php.ini-production INI file.
    ) ]2 e/ G% r# ^6 o% E  o) X0 U
  87. 8 A; W/ A2 a+ d- z5 M7 v( N# U
  88. ;;;;;;;;;;;;;;;;;;;/ a2 c) S+ t3 {! i( F6 v& j
  89. ; Quick Reference ;% \$ |* q4 ]$ A+ N) M# S
  90. ;;;;;;;;;;;;;;;;;;;- Q( p* _+ m: \
  91. ; The following are all the settings which are different in either the production: }( U3 \2 w$ ~1 G. H7 J+ b
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      `, L0 ~2 h4 }0 ?/ c7 b4 o
  93. ; Please see the actual settings later in the document for more details as to why
    & ?: \4 Y, Q# L( X, F
  94. ; we recommend these changes in PHP's behavior.+ h% U& n  P0 F. r

  95. 3 Z7 h9 f* R6 X( @
  96. ; display_errors
    ) O" A" z: }' u! [- Z, ~! J9 T
  97. ;   Default Value: On
    ; M, e. c" e1 |4 R# a* L9 b( W# ~
  98. ;   Development Value: On6 K' Q& f) J" }) P4 @  v& F1 J6 z8 j
  99. ;   Production Value: Off) a3 M, G# v) g6 L+ `! \+ [, o
  100. 5 O% t" h$ i0 E+ ]
  101. ; display_startup_errors- L1 X* P0 f  J% {1 h4 L
  102. ;   Default Value: Off
    ! o$ c$ @) m1 R; r
  103. ;   Development Value: On
    ' h$ h: M5 }; _& F0 r" ^
  104. ;   Production Value: Off" N3 u3 C3 k5 S5 |: Q* b
  105. / S* W; X- k  z" \
  106. ; error_reporting  M  S2 A/ T; p$ N/ V3 N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % `9 N- ?+ [. J0 c
  108. ;   Development Value: E_ALL6 ~$ t! Q5 w" u" L" b6 x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 z  @8 |$ W' J
  110. 9 P, `' l% |0 p& ^7 [* y5 N+ r
  111. ; html_errors% ^" ?1 q' \5 b* w: f1 m) G
  112. ;   Default Value: On6 F0 v0 E2 E/ T
  113. ;   Development Value: On+ q, f" R7 h+ G9 p/ Y
  114. ;   Production value: On
    ! q# y! e3 ?+ _3 X6 V) V- Y! H  R9 f

  115. 6 H! f! K' ^1 T- _: i0 {/ l
  116. ; log_errors
    ' t- r/ ?3 r4 q/ t/ E+ l3 a! t( l
  117. ;   Default Value: Off
    3 m& t1 V) b, U
  118. ;   Development Value: On
    ; I! S9 i4 }7 Y3 Y+ a/ w# I5 d
  119. ;   Production Value: On: Z8 _: f1 M# P, _& T

  120. + t  Y: {3 T9 Z* ]  `' h
  121. ; max_input_time( h- y- J9 K3 H5 ]
  122. ;   Default Value: -1 (Unlimited)
    6 v, n9 ~, m$ s. r+ l
  123. ;   Development Value: 60 (60 seconds)
    - H1 n: ?2 f: G2 L: C- v* ~
  124. ;   Production Value: 60 (60 seconds)7 v6 J. b7 F4 [7 k) j5 P
  125. 3 i8 |& v# `* U: i* I8 i. ^- e
  126. ; output_buffering
    ! c/ m  v/ f$ X( a9 L+ q, u
  127. ;   Default Value: Off+ D9 z) l. ?" _5 C& q" L9 A8 [
  128. ;   Development Value: 40969 O* b$ i* f4 ]' F
  129. ;   Production Value: 4096
    ) c. C8 I/ w- E5 _0 P5 q7 p
  130. 4 L0 m( @2 B# U
  131. ; register_argc_argv6 X0 I5 T' {, Y1 _2 c7 Y0 y
  132. ;   Default Value: On2 Q( L" q! j  Q& x% Q5 u
  133. ;   Development Value: Off
    & J; s# y  r5 ]' S
  134. ;   Production Value: Off4 W" p+ u5 c& P7 ?% h0 b
  135. , ^3 f5 K2 t# p3 D/ F! W( N
  136. ; request_order$ o$ H7 R; t8 z/ p$ {& g2 a
  137. ;   Default Value: None8 L0 q, Z5 d& q( z7 L
  138. ;   Development Value: "GP"
    - N6 |9 C; H( p+ l. K9 L
  139. ;   Production Value: "GP", P7 e8 g( i' w5 \1 I/ Z

  140. 8 d& @- j5 I' R3 z6 X
  141. ; session.gc_divisor
    + s1 P2 l6 ^. N# b7 q
  142. ;   Default Value: 1004 [% F. u- r3 e: Y
  143. ;   Development Value: 10004 N. e) Q0 D. F" P  R: h4 C
  144. ;   Production Value: 1000' h3 O/ k' U: I. M
  145. * E) ~3 o/ Z" ^. L
  146. ; session.hash_bits_per_character8 a' f7 `8 {( T: S
  147. ;   Default Value: 4# ^  n( ?) p! F7 G
  148. ;   Development Value: 5
    / \5 O* }1 l- p# k' E3 Z/ u
  149. ;   Production Value: 5: U' R7 a7 n9 C& n/ m! E
  150. , L; K! C0 W; n* V, j$ j0 x3 B
  151. ; short_open_tag0 P6 H! S$ L" q5 B( H+ u
  152. ;   Default Value: On
    ( b. u5 W/ v, I
  153. ;   Development Value: Off' D. B% W+ N! l) e. l" N
  154. ;   Production Value: Off
    * a2 r% B% A+ {) l* t. C) ~7 I( Y

  155. ( i! i0 e! Q9 Z; f3 x4 Z
  156. ; track_errors
    : N+ Z, m+ I# N/ N& \
  157. ;   Default Value: Off
    8 h9 T6 h' ^9 m1 q2 `* l- K) |
  158. ;   Development Value: On
    . y% x' ~3 o2 g; {" A
  159. ;   Production Value: Off
    # J. T4 W! ]! F0 L  @# {

  160. 2 Y/ ^! I' m# D
  161. ; url_rewriter.tags. }: h6 `) e- S, I* F% u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; ~6 \$ Y! x% H2 d+ k& Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / f, u2 \  w& Z  Y+ z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 x, E  F6 z' A% _

  165. 3 h. O5 F( o2 P, S% J, m5 P" [7 ]. T, N9 e
  166. ; variables_order. G' Z, B0 Z! O# N+ ~2 _! D! `# l
  167. ;   Default Value: "EGPCS"- i3 S# N8 K% Q2 s
  168. ;   Development Value: "GPCS"
    ( C8 f- w. I6 t5 X4 _$ X  s2 ^% I
  169. ;   Production Value: "GPCS"
    ; i3 r, y, d& t: L. ]

  170. , A8 |! A3 r% q' t! A7 h
  171. ;;;;;;;;;;;;;;;;;;;;
    # \7 A1 N+ J, i. {* r3 Y
  172. ; php.ini Options  ;
    ; i- @; T: R8 [) t8 v7 ~
  173. ;;;;;;;;;;;;;;;;;;;;
    $ Q! p6 w* U7 c, H% j: F  i/ P* Q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + |+ t' y7 I- Y- p
  175. ;user_ini.filename = ".user.ini"
      Y: f" `3 p, i6 G% i" \' j0 m+ ?
  176. 7 k" o9 ^2 b+ L. h% @4 G% x3 y
  177. ; To disable this feature set this option to empty value, Q) N' P0 h$ T' F* c+ E
  178. ;user_ini.filename =# n$ S* u$ A3 ^4 k
  179. % D5 B2 U- C2 o0 s. A* }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) I9 f& E* z. A/ a$ m: ]1 i% Q
  181. ;user_ini.cache_ttl = 300: c2 Q; S0 d/ Q
  182. 4 U$ x$ r2 y8 N* ~4 m
  183. ;;;;;;;;;;;;;;;;;;;;
    8 h. p  E. |' M% C" \6 D
  184. ; Language Options ;
    4 g! K% {% \! @7 l0 X; e
  185. ;;;;;;;;;;;;;;;;;;;;
    ' i5 p4 G. P8 r. w4 X. r% z

  186. # _6 U! a' A' [; `/ |; O5 z/ G' f
  187. ; Enable the PHP scripting language engine under Apache.$ {, z7 Y* P6 d
  188. ; http://php.net/engine
    . U) M; a% W0 r+ o9 ~- B6 q
  189. engine = On: `/ p2 N# X! [' a, P

  190. ( B3 l; P) v) v
  191. ; This directive determines whether or not PHP will recognize code between
    + E% R1 B2 G8 K- S  L1 c
  192. ; <? and ?> tags as PHP source which should be processed as such. It is$ l% ]- O" s0 G* Y
  193. ; generally recommended that <?php and ?> should be used and that this feature# h! p+ n, E& u8 a
  194. ; should be disabled, as enabling it may result in issues when generating XML
    9 `. x/ z1 A- h1 [6 W( Q  \" u( v! Y
  195. ; documents, however this remains supported for backward compatibility reasons.
    " Z) t- n* Y1 ~7 \* q0 f7 [" L" e
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! A8 ~% B% A6 ?$ c- H
  197. ; used regardless of this directive." c9 T! I5 X- g/ i, }7 p" `
  198. ; Default Value: On
    5 D6 f6 Q( U0 B
  199. ; Development Value: Off$ O, v& o% }  p4 p/ t
  200. ; Production Value: Off7 t8 _, }6 s, {  j) N  j* h. U2 J1 ]
  201. ; http://php.net/short-open-tag. p0 c. G7 \9 [: c$ V* k
  202. short_open_tag = On8 S& T4 }" w4 w: L+ Q
  203. / F8 b1 _& Z5 x# e2 `0 d. Y8 |
  204. ; The number of significant digits displayed in floating point numbers.
    4 P! m$ w  u1 t' Z* u+ ^
  205. ; http://php.net/precision9 ]7 G2 i& r; v' n% f" \1 w
  206. precision = 14+ U! L" a# E8 B. n1 b# u

  207. * x6 D: ~: V( a% c
  208. ; Output buffering is a mechanism for controlling how much output data' {# @  ?. P; L- c/ H
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that# y- R& f# ~: [: m
  210. ; data to the client. If your application's output exceeds this setting, PHP
    3 J# G* b8 a' e1 K, m- a1 r8 d- V
  211. ; will send that data in chunks of roughly the size you specify.7 K7 X" d: T( t" {, C2 i! N
  212. ; Turning on this setting and managing its maximum buffer size can yield some6 l& X) }- M! x$ H% Y6 T
  213. ; interesting side-effects depending on your application and web server.
    8 F8 m* i4 ~" H& s5 a' X& {
  214. ; You may be able to send headers and cookies after you've already sent output; S* m9 p/ L# B/ b  s1 r
  215. ; through print or echo. You also may see performance benefits if your server is
    4 S+ G/ y) d; f) G3 S1 w
  216. ; emitting less packets due to buffered output versus PHP streaming the output+ f3 Q: Y$ P  s+ a, ^% a0 R
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    . ?& g6 @) J1 h2 h' o& Q
  218. ; reasons.
    ! x8 O% w7 i  l+ A/ r+ L  l! e
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( `% g& d+ }: b: N' [: n+ u
  220. ;   functions.
    $ F+ ^* g5 R) Y; N, T9 `7 g
  221. ; Possible Values:& R8 S# b* e9 _/ f
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 k* \: s( d- K" [
  223. ;   Off = Disabled
      N. Z5 a" A5 u( @3 j
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.4 ?' g" Q; @# F* U7 f# w: q
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - W# ^0 T3 F1 ]8 x
  226. ; Default Value: Off+ G5 S/ W8 u2 z+ D
  227. ; Development Value: 4096; ^( j) [5 I" L# v7 _9 m
  228. ; Production Value: 4096
    ) p7 K) R, p! C5 j* h
  229. ; http://php.net/output-buffering) O3 \% @0 G" \$ D: w# i! l
  230. output_buffering = 40965 T" z- |2 _7 e
  231. $ }$ d8 X8 Z1 p8 C+ H! a4 O
  232. ; You can redirect all of the output of your scripts to a function.  For
    ' e6 r0 R; F1 o; ]1 a
  233. ; example, if you set output_handler to "mb_output_handler", character
    0 [4 p) n  }) z6 n  v
  234. ; encoding will be transparently converted to the specified encoding.
    : g3 O& ^. O1 U" {7 ?2 b" m! A  Z; S
  235. ; Setting any output handler automatically turns on output buffering.
    6 d; p. x: M3 B
  236. ; Note: People who wrote portable scripts should not depend on this ini& F% Z1 W% i7 {' M; P+ b# [
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    * O+ S7 k+ _  `- a
  238. ;   Using this ini directive may cause problems unless you know what script
    5 W! r& U% Q) X: W
  239. ;   is doing.
    3 e7 V8 g; A) `5 I) Y5 Y
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"1 b9 f0 c% y! q3 j" N4 E- A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    7 ?  Y  x4 R% r0 o8 A
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 L' w/ n5 m0 @& l8 _. [! p: a7 Y
  243. ;   Instead you must use zlib.output_handler.& z, M4 O. k0 S( T5 r% S
  244. ; http://php.net/output-handler+ W5 W# @$ j. Z( ]" B6 }5 B6 P
  245. ;output_handler =( U: u( ^7 W" Z
  246. 3 }; I9 ?6 \7 ?0 F
  247. ; Transparent output compression using the zlib library
    5 B: N3 x# y- g/ g- ]& |7 e' m' @
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size, m# \. ?* ^: s  p( }: l
  249. ; to be used for compression (default is 4KB)8 z. c; N$ N5 A1 I" _9 ]+ @' _
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    " @  |, [! W* V5 \. ]
  251. ;   outputs chunks that are few hundreds bytes each as a result of3 x! f- {. w7 i0 M- d/ Y! s- o/ ?
  252. ;   compression. If you prefer a larger chunk size for better
    1 K  n/ k2 a2 ?6 x
  253. ;   performance, enable output_buffering in addition.
    & j6 J+ R- c( w; I
  254. ; Note: You need to use zlib.output_handler instead of the standard+ B$ K& y, \% U5 |
  255. ;   output_handler, or otherwise the output will be corrupted.
    6 [* v. B7 p- X5 |; U* n
  256. ; http://php.net/zlib.output-compression) E9 L- M8 H6 \0 R/ v
  257. zlib.output_compression = Off3 X9 W; z1 i7 `6 T+ W  s% H: X
  258. 9 Y( \  D" m! s: U* t! v; I% @
  259. ; http://php.net/zlib.output-compression-level
    - e& }9 y, E# Y2 J
  260. ;zlib.output_compression_level = -1
    % L; \- q2 R0 w' \) _# o; f

  261. # |. L3 P1 R3 K) u' W
  262. ; You cannot specify additional output handlers if zlib.output_compression
    % G9 b. P- Q$ M! y5 Y8 z
  263. ; is activated here. This setting does the same as output_handler but in, r2 V. S( L+ c6 B8 t2 X
  264. ; a different order.
    0 {& ?; y* X. q: f7 R  n
  265. ; http://php.net/zlib.output-handler0 Y+ _$ w+ o6 f; Q; V6 j! Z" I
  266. ;zlib.output_handler =" X# R8 K1 J, Y5 |( o

  267. * P; R. {* ~8 F  e
  268. ; Implicit flush tells PHP to tell the output layer to flush itself/ L' h$ y  g7 L, ?& K! s
  269. ; automatically after every output block.  This is equivalent to calling the
    2 p/ Y1 s7 h2 }- R* V
  270. ; PHP function flush() after each and every call to print() or echo() and each
    * T) F) u! E/ Z5 h7 s
  271. ; and every HTML block.  Turning this option on has serious performance/ S* i! Z5 a" p# u8 y0 }: T
  272. ; implications and is generally recommended for debugging purposes only.0 w+ V0 ~; R$ H' B+ S; \0 O
  273. ; http://php.net/implicit-flush
    9 P& C0 g$ h) X8 G! d' Y; x
  274. ; Note: This directive is hardcoded to On for the CLI SAPI6 e( ?0 p4 ]; d/ Y: R
  275. implicit_flush = Off
    1 @; M: H; S$ J

  276. & w) s8 w& @2 {: k/ m8 b
  277. ; The unserialize callback function will be called (with the undefined class') |+ g# c% ]- h
  278. ; name as parameter), if the unserializer finds an undefined class+ [5 o: n# B4 c% y- {
  279. ; which should be instantiated. A warning appears if the specified function is
    9 B) e; u; g# q) M# ^8 E8 P. l/ R; x
  280. ; not defined, or if the function doesn't include/implement the missing class.. O9 C: ?7 F# Q# C# R+ k
  281. ; So only set this entry, if you really want to implement such a' h0 @. ?" n% d
  282. ; callback-function.
    7 J. [5 ]% a2 M, ~0 J( Q
  283. unserialize_callback_func =
    , o8 X6 ^; d" j) \  ^" b5 s

  284. 9 t6 R9 r) |8 c4 g: O; q
  285. ; When floats & doubles are serialized store serialize_precision significant
    9 \- N& T1 d* w; G
  286. ; digits after the floating point. The default value ensures that when floats
    % O2 A- a. W% W5 Z
  287. ; are decoded with unserialize, the data will remain the same.: ~7 P9 @" c. w+ L% g( @
  288. serialize_precision = 17, ]$ P' K! G$ E6 ?# M
  289. . P( k4 T& {" g  R* c
  290. ; open_basedir, if set, limits all file operations to the defined directory7 K- D, [7 T/ a$ g0 |7 i
  291. ; and below.  This directive makes most sense if used in a per-directory
    . ^: `7 c9 J! L- Y" |
  292. ; or per-virtualhost web server configuration file.; I7 ^) k) y1 v4 v
  293. ; http://php.net/open-basedir" n3 o% _! B$ S2 p1 X) n) P
  294. ;open_basedir =( I8 s; G0 N, a6 ~1 v

  295. . A3 x' R1 F. m7 Z+ G
  296. ; This directive allows you to disable certain functions for security reasons.
    . `" t) ?& S2 d0 e$ M6 e2 U) j
  297. ; It receives a comma-delimited list of function names.4 a. Y! m5 u( W; n
  298. ; http://php.net/disable-functions
    ! M/ J- O9 m9 Z) v, ^, Y
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    3 R  L1 c% U2 x0 F/ g1 B, d# O# w
  300. + W/ x4 w6 K. v  a/ ?# f) r
  301. ; This directive allows you to disable certain classes for security reasons.
    / R% v; g9 l( g" E, q
  302. ; It receives a comma-delimited list of class names.! n* n1 a; S% `" u7 X' R
  303. ; http://php.net/disable-classes
    ' v. h' z, N  {& I: ]
  304. disable_classes =
    ) ]( k' y- B: }6 _$ S( k4 z& p, r

  305. 6 k/ h: p/ K  k. |! z* }$ n  q& e
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* W/ c* T' \" h: `2 {) x  f3 ~
  307. ; <span style="color: ???????"> would work.: b$ }% _8 \* b0 y
  308. ; http://php.net/syntax-highlighting
    ( Z$ J1 e2 v/ q( q8 D8 _
  309. ;highlight.string  = #DD0000
    4 ~9 `& s0 F2 e
  310. ;highlight.comment = #FF9900, L6 c* T( s* E) y& i  K4 j$ H
  311. ;highlight.keyword = #007700
    7 X0 e4 o- I3 d2 X/ Q, T
  312. ;highlight.default = #0000BB
    6 E" ^  w# E9 @. p7 F: x
  313. ;highlight.html    = #000000  a9 U. P/ }: N' O0 Y# m8 F
  314. ; y2 E( J: E( L- T
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ( B6 ~% h# F5 j" ?4 S/ ^& D
  316. ; the request. Consider enabling it if executing long requests, which may end up; m" Q* Z# b* D3 _8 N
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior( J! j9 @9 b0 N' c  t  ?
  318. ; is to disable this feature.
    6 o% j& d2 a/ r( J
  319. ; http://php.net/ignore-user-abort
    ) W' y7 Q' z  ~8 r: A/ B: a
  320. ;ignore_user_abort = On1 _0 H/ }( p( Y( t' {

  321. ' p3 x$ D. [6 G& V9 n, H
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " h' O1 Y( V9 \; J2 ~
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    * ]% b# q+ d# v/ m9 w+ B& C
  324. ; the file operations performed.. z, |" L7 i& m1 N3 Q, d( C
  325. ; http://php.net/realpath-cache-size' l2 A, u, W+ X3 |0 |3 k! Z
  326. ;realpath_cache_size = 4096k
    ' F$ F. U$ {; b8 S" `
  327. " a4 u4 w7 {- A3 F; ?
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ' T  w& {; V9 E* U
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    2 g/ ]5 ]5 t) ^' o3 ^
  330. ; value.0 A. }+ j0 x( F' @: B% I
  331. ; http://php.net/realpath-cache-ttl
    2 [/ A5 R1 z5 P- q
  332. ;realpath_cache_ttl = 120
    . p" s0 R: t5 s+ b) j7 }& `1 H

  333. 5 ]) s( A4 G9 D- [$ j4 m8 t
  334. ; Enables or disables the circular reference collector.0 d- `4 [5 S8 ]3 ^; |7 G
  335. ; http://php.net/zend.enable-gc
    : Y( m1 g% g1 m. w4 g/ O
  336. zend.enable_gc = On0 ~+ ~6 {/ C( [! U. w
  337. . k0 ~7 q" }5 [* W7 H, O
  338. ; If enabled, scripts may be written in encodings that are incompatible with+ p1 P, V0 ~- [+ B& K5 q
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    $ b$ B, v$ I8 P. V- }5 Z! K, K; O7 Z
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ; ^0 A6 C- N% f, m! }0 `
  341. ; Default: Off8 @: d# u; p# A: \$ d5 ^3 c# r
  342. ;zend.multibyte = Off
    3 Q3 t! f+ {' p& @( Y0 T4 u
  343. " E" k" I. Q7 f) K  a, I, }
  344. ; Allows to set the default encoding for the scripts.  This value will be used: K2 k/ s) {. T) @
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    2 v/ G+ A' W) i2 q0 l1 ^. B, `
  346. ; Only affects if zend.multibyte is set.4 ?6 h3 h+ a* H
  347. ; Default: ""
    * q+ X) w- `8 u: r0 M0 ?7 d
  348. ;zend.script_encoding =
    * |# c0 ^% z7 \. ]- d6 ~

  349. # K8 ?+ x, ~& Q2 R% e& u
  350. ;;;;;;;;;;;;;;;;;5 p& Z4 ^& U1 r2 y
  351. ; Miscellaneous ;
    1 o8 O* L* n  C! w) s" M! E8 t9 Z) A
  352. ;;;;;;;;;;;;;;;;;
    % q1 M8 d/ l: ?. X
  353. / [) N+ b: ~7 D! D1 Q
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    1 u" I$ @& z+ L' B8 L2 \
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ Y8 G/ y+ H, P4 }
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 y3 M" ~" j9 q8 L+ v% H
  357. ; on your server or not.
    " S; U% A# M- @1 ^! A4 P7 T' a  U
  358. ; http://php.net/expose-php
    ; U, N  G- y! r! w1 c! R
  359. expose_php = On
    ) H% e' I8 z, q+ Q; \7 L

  360. / B3 w7 F4 c; F$ S/ ~
  361. ;;;;;;;;;;;;;;;;;;;
    ! m7 h1 K1 N% e( X
  362. ; Resource Limits ;
    ( k2 |- X2 P; c, l* S& o
  363. ;;;;;;;;;;;;;;;;;;;+ ]1 V. \3 E+ p2 o1 |8 n" ~1 O0 k/ C
  364. + H: i- g. |& E% J% n6 M
  365. ; Maximum execution time of each script, in seconds
    & I6 f* }: N2 M" o2 \5 W
  366. ; http://php.net/max-execution-time. e- ~4 I0 ~* d( X1 `" S. S
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI* \% p; z- X  p; }4 ^! C
  368. max_execution_time = 3009 n! @5 d1 E# ^3 T5 ]5 Q

  369. + M  y( n. F6 f! H
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( j" J8 V! n2 e0 l* g+ G
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % }% _5 O; |4 m
  372. ; long running scripts.
    6 x- ~' |5 L1 K6 A! J
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , B! {3 a1 X/ p) ~8 z* I, ~
  374. ; Default Value: -1 (Unlimited)& t/ s# @: d: H
  375. ; Development Value: 60 (60 seconds)
    , {+ X# r$ h; i; o  z2 G
  376. ; Production Value: 60 (60 seconds)
      i5 X! [6 j& x5 C* h
  377. ; http://php.net/max-input-time
    & \# L5 ]/ }. T
  378. max_input_time = 60+ T8 E) e  n; e6 ]( M, V

  379. " T2 f; Q" D6 |' a1 g! M
  380. ; Maximum input variable nesting level
    - x9 l- N. j# A2 q
  381. ; http://php.net/max-input-nesting-level& Z4 v4 |1 A* r$ i1 m
  382. ;max_input_nesting_level = 64/ h( d0 p; R1 I: t
  383. $ a# ^( m) l; a' M- |
  384. ; How many GET/POST/COOKIE input variables may be accepted
    , ]* c4 @% u- T" a% P. G5 V
  385. ; max_input_vars = 1000. l- i5 ?$ t7 `$ U" z2 y: B

  386. , d6 S9 N7 X! ~: H. W. W! u
  387. ; Maximum amount of memory a script may consume (128MB)
    ( p, H- P! [; o* [( ~
  388. ; http://php.net/memory-limit/ ~. o  j4 F- T- B
  389. memory_limit = 128M
    6 z8 C  H  U! w: Z3 }

  390. ! q2 X! d+ r6 E6 S7 j0 z
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 L0 H3 T2 I2 W2 y
  392. ; Error handling and logging ;9 n0 m0 p8 O7 f$ e" l
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      [* L* f: a7 F

  394. - P! U  _3 s; W( C4 Q
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    8 e3 e- O. ?) O( M6 F) I* E
  396. ; it to take action for. The recommended way of setting values for this: Z% I  b7 k5 o# }, l
  397. ; directive is through the use of the error level constants and bitwise
    1 d! ]5 p4 q, j
  398. ; operators. The error level constants are below here for convenience as well as
    $ ^( B4 ^% w' I- N* f- D, U
  399. ; some common settings and their meanings.2 H7 G" r7 q! A* b6 O7 |/ D9 \
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    : I) a, ]# c2 b' Q/ A: |
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and* ?% p1 S; m3 t
  402. ; recommended coding standards in PHP. For performance reasons, this is the: _+ E& ~  ]( l( p. P1 a4 `
  403. ; recommend error reporting setting. Your production server shouldn't be wasting$ @+ Q+ Y( Y% H) a
  404. ; resources complaining about best practices and coding standards. That's what
    3 V2 C1 C! Z* |, N' I7 i
  405. ; development servers and development settings are for.
    9 P% Y. G7 L; A. v: N9 e. ^
  406. ; Note: The php.ini-development file has this setting as E_ALL. This3 D; ]2 Q5 x' d2 M8 B$ h& K
  407. ; means it pretty much reports everything which is exactly what you want during
    0 U1 y. G4 l' c1 R" }9 a. l/ j( Y
  408. ; development and early testing.7 [/ D: K. C9 ~* ]% j2 U8 y
  409. ;$ H$ e3 [5 n5 G1 P
  410. ; Error Level Constants:
    ) |' C7 f1 J$ {( {/ p8 \
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 L- B" i4 E& h# J+ @) {
  412. ; E_ERROR           - fatal run-time errors$ y) f& [- u7 v3 _" Z! \
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors/ `& \) I. E( r( O9 m0 T1 x
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ! y% Y8 `' x1 S) F& E& P  H# g" B
  415. ; E_PARSE           - compile-time parse errors
    , p( x& y- ~( t3 n
  416. ; E_NOTICE          - run-time notices (these are warnings which often result' i# w5 Z% x: ]1 n0 Y( m5 Q
  417. ;                     from a bug in your code, but it's possible that it was
    * ?% `( M; J* f; R
  418. ;                     intentional (e.g., using an uninitialized variable and" J) T( F: l) q9 ~& @2 {
  419. ;                     relying on the fact it is automatically initialized to an
    ! g3 Z- F: Y2 x7 Y6 b4 ]% T
  420. ;                     empty string)
    7 Z* U; ^( \6 ^+ R+ B" F( `0 N: ~
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    6 j3 h. A3 `/ ?
  422. ;                     to your code which will ensure the best interoperability, W; x) H4 U" d4 U
  423. ;                     and forward compatibility of your code
    $ n. K/ n: ^! ]& k
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" ]- G+ V* v/ D' ?/ O
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ n& b; z4 x6 p2 m. v* X4 G( Q4 ^
  426. ;                     initial startup0 q9 {' A( i8 d. r
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
      m0 Z5 a6 C9 Z9 }& u
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)* r. j' u# r& F, u! O
  429. ; E_USER_ERROR      - user-generated error message
    . Q9 f: \) Z; e/ K
  430. ; E_USER_WARNING    - user-generated warning message
    ( f+ G7 {9 e' D
  431. ; E_USER_NOTICE     - user-generated notice message& L* j9 }; ^$ l9 k
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ U; T# v) [6 I9 N0 `+ @) ?/ d% T
  433. ;                     of PHP. o" f1 k9 v( j
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " _; Y9 P1 w9 o4 F1 U: r6 a
  435. ;
    7 \4 R. c, z; I! F$ j! q
  436. ; Common Values:
    5 v! `8 y, _1 b  i. f2 ?5 K: c
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    , c6 J* n% P& _0 r! ^  _2 T
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices). _. B3 Z9 `" q/ T9 e
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) I8 f5 i, b* }+ W$ \1 T
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ; a: K( T  u9 T# ~2 Q4 S( b1 G8 I" K
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 K0 t8 [1 P  z4 a
  442. ; Development Value: E_ALL
    * W7 m. R; E2 o
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 z* T9 i2 y* M6 D# W: f' J
  444. ; http://php.net/error-reporting( V  T& P/ a* `* E
  445. error_reporting = E_ALL & ~E_NOTICE
    & k# j- f7 ^7 \& Q% c
  446. 6 o% c* |( I/ j% _/ r
  447. ; This directive controls whether or not and where PHP will output errors,
    / p1 d- H: x4 z1 C- y& e
  448. ; notices and warnings too. Error output is very useful during development, but) ~( K) I# P8 ]6 C# L. }( H
  449. ; it could be very dangerous in production environments. Depending on the code0 d9 m. Y; j$ F( c# h
  450. ; which is triggering the error, sensitive information could potentially leak/ ^: _' E9 |# `$ o
  451. ; out of your application such as database usernames and passwords or worse.
    " _3 W1 n8 l' y
  452. ; For production environments, we recommend logging errors rather than) u1 s& A: {4 R: \: t
  453. ; sending them to STDOUT.9 ~4 L4 P4 \  _$ l: V1 p$ s
  454. ; Possible Values:
    4 P: ]& P6 Q/ U6 @# X: L
  455. ;   Off = Do not display any errors) D/ _* W1 W& `$ {
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) ]  w4 ^& Q/ a
  457. ;   On or stdout = Display errors to STDOUT* o) I6 O( n2 C
  458. ; Default Value: On  M  T* J3 k5 ^7 J. \: T
  459. ; Development Value: On
    ( ?0 l( w* N5 N/ n, }/ G
  460. ; Production Value: Off' |) n9 U. _* v+ `
  461. ; http://php.net/display-errors2 Q( n) g  ~4 s( z  z$ t  i# W6 c8 W
  462. display_errors = On7 I2 h8 k$ K. C9 _8 I

  463. $ P9 d+ q( @. S: T6 W
  464. ; The display of errors which occur during PHP's startup sequence are handled
    1 Z/ p7 S+ T7 A% z0 q8 M0 G
  465. ; separately from display_errors. PHP's default behavior is to suppress those+ J$ f  ~9 L) h8 z' {. P
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ( S8 B0 X; F& X' a  Z
  467. ; debugging configuration problems. We strongly recommend you) E9 Y2 K" z1 Z  v0 c7 d
  468. ; set this to 'off' for production servers.) A/ J/ p1 Z' x! j# a
  469. ; Default Value: Off
    , q8 x. J: z& P3 o( w- l" g8 _+ ~
  470. ; Development Value: On
    8 b0 K, [6 k5 [% F- J
  471. ; Production Value: Off. h' }( X0 D( T8 [& i1 [6 h1 C! q
  472. ; http://php.net/display-startup-errors
    . Q" O$ n' r' ?' R/ U2 k
  473. display_startup_errors = Off) m* _0 a+ l" f: Y& `

  474.   u( [. P8 J; k, A. u1 Q  N5 V
  475. ; Besides displaying errors, PHP can also log errors to locations such as a- ?1 ^. u  _2 T" w" c2 o" S
  476. ; server-specific log, STDERR, or a location specified by the error_log
    0 K" G2 b. |0 N1 y2 y" m) m7 F4 }* |
  477. ; directive found below. While errors should not be displayed on productions
    6 {( H* P* @+ `; ^& D
  478. ; servers they should still be monitored and logging is a great way to do that.  P' g' @. v4 Y# l
  479. ; Default Value: Off
    . b6 @% S/ G) t: m: l3 B
  480. ; Development Value: On
    8 I- y/ ~" D8 @1 z) i
  481. ; Production Value: On
    2 Y' Z9 P, M% {/ q$ o- A$ {
  482. ; http://php.net/log-errors' \9 N: f- J5 z
  483. log_errors = On( Q$ E6 `! T+ A3 y

  484. $ @, o- }- b/ C% X
  485. ; Set maximum length of log_errors. In error_log information about the source is" ~( {0 ]2 ]( ]! M$ v8 n
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ( O3 L- z3 x8 y7 @+ ?, @
  487. ; http://php.net/log-errors-max-len( P9 {7 ]3 o% t4 P  E5 k5 d) U
  488. log_errors_max_len = 10240 J( @1 t$ \( Q3 w9 a, G% ]
  489. / q1 F& R" e& S% Y* b, \1 {% u
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same) k0 e* b4 ?; ?# @7 l& k
  491. ; line unless ignore_repeated_source is set true.5 X( G) Q8 B. L  k! `0 D! A: @
  492. ; http://php.net/ignore-repeated-errors- a* c# x$ g  N# C
  493. ignore_repeated_errors = Off1 m& X% ~1 ?) ^$ a; ?: Q: t
  494. . E  D) {0 B- Q/ z9 M) @# A1 z
  495. ; Ignore source of message when ignoring repeated messages. When this setting8 a( H0 ?. L7 M& Q. O* R3 ^
  496. ; is On you will not log errors with repeated messages from different files or
    ! o/ |! i9 a" r
  497. ; source lines.
    " M# V6 `# X2 X8 N" D9 q. S
  498. ; http://php.net/ignore-repeated-source
    # s- F" j- m0 x' x- Q: I2 [
  499. ignore_repeated_source = Off
    # c3 X6 C& E% K1 C# }

  500. 7 j) {! i; |+ b- h# Q; ^$ ^
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    . H8 k$ K9 `, i/ u# Z% R: j
  502. ; stdout or in the log). This has only effect in a debug compile, and if$ i- j7 }) D8 A) J
  503. ; error reporting includes E_WARNING in the allowed list; [8 g* ^! }5 L. a$ \+ O
  504. ; http://php.net/report-memleaks; V. L. ^# U6 g+ ^+ J: d
  505. report_memleaks = On# C/ k: ~! V6 n" q

  506. . \" b# }6 v6 R: `" R' K- j
  507. ; This setting is on by default.
    / k9 B  t- v( U! p! {4 H
  508. ;report_zend_debug = 0
    3 q# V- d# n! D, B: R% K3 q& J- o

  509. 1 v7 s% }) G; I- V4 j) \: @
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' _& [, v8 H9 I) I
  511. ; to On can assist in debugging and is appropriate for development servers. It should8 Z: I) u* J) Y' w9 g/ X) x; x
  512. ; however be disabled on production servers., x/ w1 a: m6 N! |* X7 t5 r
  513. ; Default Value: Off
    9 B4 {1 }; c- E' o4 k/ n, v
  514. ; Development Value: On' E8 u, r" z0 _( f2 V9 b( V
  515. ; Production Value: Off$ K9 ?: v2 Q! Z7 w6 g: D
  516. ; http://php.net/track-errors
    2 W3 Q* S6 y: ]" s
  517. track_errors = Off9 L+ O" [. I/ J" F$ Y
  518. : n0 b! l% Q$ t3 v. n
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ; v0 U( `: [- [7 q
  520. ; http://php.net/xmlrpc-errors
    % u' q9 H# h' f+ `6 E! P( j! B" j
  521. ;xmlrpc_errors = 0, P( \& e5 m: Z4 f- d. X$ H* C6 S4 C8 {

  522. 9 r. b$ @7 t, F; F+ c: ~+ n
  523. ; An XML-RPC faultCode
    6 P4 W- L0 h% x4 }8 \
  524. ;xmlrpc_error_number = 0
    / q2 G9 g$ a: L- x0 ?7 T
  525. . D$ C5 Z+ R8 M: A2 |% ?" M# J
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    2 N; ]2 f) M- s
  527. ; error message as HTML for easier reading. This directive controls whether
    * N' H# W7 o- t1 @
  528. ; the error message is formatted as HTML or not.
    4 j1 w  W6 w, V) e! W, h; T
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 E! n1 K6 E: q: n7 t
  530. ; Default Value: On+ c1 m, E" ~8 O. S8 ]
  531. ; Development Value: On6 z  q8 k  ?( S  S6 r
  532. ; Production value: On
    9 t$ t/ n) P$ F2 n. U
  533. ; http://php.net/html-errors
    8 J  A7 G2 W3 m, A5 |5 V
  534. html_errors = On7 l- t0 {. j) q; S& o* l  S/ V4 U

  535. * o* g9 m. i# g- F
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP0 ?  S; `% o/ [  r% I" ~9 o
  537. ; produces clickable error messages that direct to a page describing the error
    2 j: P1 `: p4 E4 o
  538. ; or function causing the error in detail.1 I& g4 c" e& q
  539. ; You can download a copy of the PHP manual from http://php.net/docs0 O/ V9 {1 C* c! r+ b+ ~$ c
  540. ; and change docref_root to the base URL of your local copy including the
    5 l" A1 L5 h, R. r9 u1 r+ S
  541. ; leading '/'. You must also specify the file extension being used including
    7 k/ w$ d) U! C" R3 x
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which) q5 c( \8 Q8 I, w1 H! f
  543. ; case no links to documentation are generated.% M0 q1 f  m9 m; |: S( B
  544. ; Note: Never use this feature for production boxes.; s" l: Y- p$ n% z9 R# Z
  545. ; http://php.net/docref-root5 `" s1 u5 j( e+ p
  546. ; Examples/ {  i/ ^1 Y. A9 o) f2 I& \; y
  547. ;docref_root = "/phpmanual/"
    ! y3 ?( j" D0 X7 T2 T6 p! T: V

  548. 3 |8 U  Q+ D+ R5 N* ?
  549. ; http://php.net/docref-ext
    # c0 \5 S5 q2 C, h! H
  550. ;docref_ext = .html# f) p' Z: v, a/ X( R+ h
  551. 5 X! E: y) X( U& E) z
  552. ; String to output before an error message. PHP's default behavior is to leave5 X/ [6 ?" x( `4 W9 |* p, l; v
  553. ; this setting blank.
    , O1 t* o( |  u* Z0 y# @& `3 s8 p
  554. ; http://php.net/error-prepend-string
    9 z6 _& W' X9 v8 ^* c
  555. ; Example:
      q, @6 q, h, K# j
  556. ;error_prepend_string = "<span style='color: #ff0000'>"3 C) A4 z: A, |2 O4 P, v

  557. : r' {8 s5 d3 c# ?
  558. ; String to output after an error message. PHP's default behavior is to leave
    ( E( `' R" p. ^  f+ l
  559. ; this setting blank." N1 F  Y1 ]" M% r% [) {
  560. ; http://php.net/error-append-string: C  Y8 q& B" \7 g4 X& Q0 }
  561. ; Example:- X" p6 z, Z$ R& A, m3 j
  562. ;error_append_string = "</span>"  L& S5 ~9 C# y& \* H
  563. 7 t, U9 u- [/ P  V& \  r  A6 i
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    * c! `5 L7 F- `- o& t; ?9 |
  565. ; empty.
    + y% w6 ?7 D: e$ [0 C" `: m
  566. ; http://php.net/error-log
    ; e* n- y' [! D( Y3 q
  567. ; Example:
    " F! N. D- o& v- u8 r
  568. ;error_log = php_errors.log. S# b% [+ S' U. a
  569. ; Log errors to syslog (Event Log on Windows).
    - ]2 ^0 m9 n+ S3 ?0 Y: I7 O/ ~
  570. ;error_log = syslog0 l" `: s7 {3 V+ }3 Z  b

  571. " c% x% }2 p4 G
  572. ;windows.show_crt_warning$ V$ M0 B) g6 O0 r
  573. ; Default value: 0" t' ?: y6 v% i; @* m- [- b
  574. ; Development value: 0
      m( h/ s+ i& t) E0 Q1 S+ X2 E& g
  575. ; Production value: 0+ C; k4 d# z0 f+ b4 Z
  576. & }! e. P  P2 H
  577. ;;;;;;;;;;;;;;;;;
    6 B1 I9 I- r( {& |% i7 h
  578. ; Data Handling ;
    ) `, E! d, N) r6 C
  579. ;;;;;;;;;;;;;;;;;
    8 j) ^9 {: b0 ?3 ?
  580. ; C# v$ Z# ]  u7 v4 Q
  581. ; The separator used in PHP generated URLs to separate arguments.
    2 ]& c+ {6 j0 ]- }
  582. ; PHP's default setting is "&".
    ; P3 K! H/ @8 c) |$ K% c6 c! g' ?
  583. ; http://php.net/arg-separator.output
    - L$ d! e9 W" ?0 K
  584. ; Example:- u9 [6 `; }. y7 W0 K" \; L6 ~
  585. ;arg_separator.output = "&"( R" \1 v6 H7 l7 [

  586. 7 u* m; H5 @+ d2 I
  587. ; List of separator(s) used by PHP to parse input URLs into variables.& x! K3 @6 d/ E& s( C8 A+ X
  588. ; PHP's default setting is "&".
    5 g; w! h. E) ^! _. A
  589. ; NOTE: Every character in this directive is considered as separator!
    : h: A% a: o* ]  w
  590. ; http://php.net/arg-separator.input
    8 J4 T' \7 v& o" ?+ J7 k" Z4 P
  591. ; Example:
    5 I' {) _& B; a' r2 D; g, Y% ~' G
  592. ;arg_separator.input = ";&"3 a0 v0 O9 f8 r, T- \4 f. w, b7 E5 r

  593. ! @' {' i3 |  r/ {5 E5 h
  594. ; This directive determines which super global arrays are registered when PHP
    8 ~3 B& g% P* `
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super! w/ h9 I2 `& v/ e9 B. `
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty% Q3 K# q% ~1 n% i2 l
  597. ; paid for the registration of these arrays and because ENV is not as commonly. w( G/ x. [+ S  X1 K* ]
  598. ; used as the others, ENV is not recommended on productions servers. You5 z7 u+ A0 W( T
  599. ; can still get access to the environment variables through getenv() should you
    , W# c3 u0 B4 K0 l  m
  600. ; need to.
    1 H% T' C# j( n! P% Z
  601. ; Default Value: "EGPCS"; `% O, }( A& ~6 G2 d; P; g
  602. ; Development Value: "GPCS"
    " \0 y, o  C8 R, t
  603. ; Production Value: "GPCS";# ?9 t" q  y+ ?7 p& w) }- R( L
  604. ; http://php.net/variables-order1 B! Q& T9 W6 l7 i0 B3 ]; A4 p
  605. variables_order = "GPCS"
    - N6 m4 b- j. V# h- E
  606. " i* {0 |2 B3 u8 v- x5 b2 N  }2 }
  607. ; This directive determines which super global data (G,P & C) should be, V/ U/ A( J9 C1 Z" p5 b4 I2 v
  608. ; registered into the super global array REQUEST. If so, it also determines3 |9 w6 U: @& m4 r/ ]
  609. ; the order in which that data is registered. The values for this directive6 Y9 S( a  o* z: K3 I4 U
  610. ; are specified in the same manner as the variables_order directive,
    8 T- a# \2 k7 F* I
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    + t7 ]% C$ {+ x' [+ b" J1 M+ E
  612. ; in the variables_order directive. It does not mean it will leave the super6 G" F$ P7 L) n, m6 v
  613. ; globals array REQUEST empty.
    / q9 t- P% X, v
  614. ; Default Value: None
    ! y, t  D/ Z. t& v+ V
  615. ; Development Value: "GP"* V! \" g# {" w3 j$ V
  616. ; Production Value: "GP"
    & p  O8 [8 U2 n! U
  617. ; http://php.net/request-order4 g! \1 s' i) M1 V
  618. request_order = "GP"8 G( c3 Y' y0 B8 z  Y; Q0 T/ F

  619. # s" p0 k1 ]* X% a% |
  620. ; This directive determines whether PHP registers $argv & $argc each time it8 i2 u+ A# [* q1 g* i# E+ R
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script! g! K- B2 @" q: x6 z5 }* B: n
  622. ; is invoked. $argc contains an integer representing the number of arguments
    1 a0 @6 A) |+ R! ], L, d: D/ h7 l
  623. ; that were passed when the script was invoked. These arrays are extremely# A7 A4 \" q- Q& P- F# X/ y: v8 [
  624. ; useful when running scripts from the command line. When this directive is1 e3 p0 k2 M, D* B: ~1 J, Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; G7 L6 z& G5 J; f
  626. ; a script is executed. For performance reasons, this feature should be disabled
    5 J9 x4 x* e9 U. o3 V
  627. ; on production servers./ J) v) _( C% g
  628. ; Note: This directive is hardcoded to On for the CLI SAPI# |2 y( I  P1 [& z. O
  629. ; Default Value: On$ w( I) n+ D' M9 f! o
  630. ; Development Value: Off6 B2 i( [" q% V, k) }9 D
  631. ; Production Value: Off
    % W6 V- W0 g/ @6 |( ?  c
  632. ; http://php.net/register-argc-argv/ [* ]5 z$ C8 A6 C/ f# q8 x: p
  633. register_argc_argv = Off" C3 b* w6 y, l* d' S5 i) s
  634. / t8 J5 D: P- y* X) c6 _' B/ o- n
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're  J1 i# i, w  L: o- d* e. R
  636. ; first used (Just In Time) instead of when the script starts. If these
    ' O+ j# i+ P* ?$ E  S. Y
  637. ; variables are not used within a script, having this directive on will result
    : Q- k9 d2 M( }: k
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % I: j2 o& k. k  o' A
  639. ; for this directive to have any affect.
    * Y8 S3 _- r& ~) r1 |/ g
  640. ; http://php.net/auto-globals-jit& a. X. |4 z0 Z" W3 J/ c
  641. auto_globals_jit = On
    . p1 D; T, q) x) `

  642. ; Q; V. S  A$ n8 X0 ]
  643. ; Whether PHP will read the POST data.6 c+ P6 F1 a# J
  644. ; This option is enabled by default.
    , t1 |6 `" z# w) Q. _) B5 H- I% _& q
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST3 A8 f% {  V' _
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    , s! L5 [, S! Q( f: {
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    4 S7 Q" J/ s: M1 E; ]
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - j4 A1 `3 l: O- ]* `& D
  649. ; http://php.net/enable-post-data-reading
    # ]6 C) D, S% z! }7 T) x
  650. ;enable_post_data_reading = Off
    , @8 [' j! j3 j

  651. 4 N- a0 Y) s! W; S( f' `6 ~
  652. ; Maximum size of POST data that PHP will accept., \4 O+ |5 W  n" a6 T
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) D9 M; Z$ G  e9 f2 @! N! U6 P
  654. ; is disabled through enable_post_data_reading.4 {$ A& V+ `  m& @* A! @0 g
  655. ; http://php.net/post-max-size
    % B+ [0 [* a0 a3 {" F* y& S0 g
  656. post_max_size = 50M, q( x1 Q/ \# y4 [5 z  p% r
  657. & i7 c/ z7 V9 F4 w- T0 Q( @/ p) V
  658. ; Automatically add files before PHP document.. i! K  t: e$ E2 D7 }/ [! q
  659. ; http://php.net/auto-prepend-file
    $ `+ Y- x' A' {/ g# Z
  660. auto_prepend_file =, J* z: e2 K  I- q! g

  661. $ V' `$ c1 u3 P4 @7 q7 w
  662. ; Automatically add files after PHP document.
    ; p7 l- C5 A9 F* y
  663. ; http://php.net/auto-append-file
    2 c# M: j0 Z5 H2 P" q( L/ ~
  664. auto_append_file =$ v4 m% {1 g$ L- }

  665. : D- x5 d# c" G1 Q7 q
  666. ; By default, PHP will output a media type using the Content-Type header. To
    5 g/ `9 J; ]2 o9 H* f- a
  667. ; disable this, simply set it to be empty.( J+ p" g1 j6 l5 ~# s% c
  668. ;* ^# R0 e  k6 x! ?: ~6 y
  669. ; PHP's built-in default media type is set to text/html.
    ; z  p1 h; j& E2 ^- G
  670. ; http://php.net/default-mimetype0 ]8 L% x9 f& y! Y$ a& O
  671. default_mimetype = "text/html"
    - l7 a+ T# n3 Q0 {
  672. & ~6 t7 x( ?- i. l- l5 o* L& P
  673. ; PHP's default character set is set to UTF-8.7 C% H4 L! [  N9 T# c2 n& q4 v
  674. ; http://php.net/default-charset4 c1 K- i, C; x( ?7 ~
  675. default_charset = "UTF-8"  e4 g9 \1 w9 @! t) l6 i* |, z
  676. ( ]' T: N; b' N& {5 n: T( A
  677. ; PHP internal character encoding is set to empty./ P8 m& v, g/ t4 h4 Y  a
  678. ; If empty, default_charset is used.* t; J7 @9 R  k9 O; ?( r) n
  679. ; http://php.net/internal-encoding  Z" j; k5 G# y
  680. ;internal_encoding =
    / L; a2 |. V; q

  681. 4 r( F; m3 Z, {1 C
  682. ; PHP input character encoding is set to empty.
      w) ?% l3 A, P  ~$ B* z
  683. ; If empty, default_charset is used.
    / l6 L# U9 G+ V! u& X
  684. ; http://php.net/input-encoding/ {" {! f# t( P& M+ |
  685. ;input_encoding =9 y( Q/ E9 q* Y

  686. , F+ @; x& \, ]2 w: C) c" t
  687. ; PHP output character encoding is set to empty.
      o) {7 v' Z( i9 T( W
  688. ; If empty, default_charset is used.
    5 J3 q: A( h& D  r* y
  689. ; See also output_buffer.
    5 H% l2 ~* B" Y% Z+ h4 a; K" V
  690. ; http://php.net/output-encoding6 J: E  m# C9 f$ m; A
  691. ;output_encoding =& a0 Q" {- _4 r. {( O. A" W
  692. ! X) Z. F. |7 p3 ], d& ^6 `
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;7 }8 w4 E) ?! U" R! s/ u! j1 ^
  694. ; Paths and Directories ;' A# j8 Z  i; j; {& x; z
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / h5 e- y+ l$ m2 p& _' g+ g. y
  696. 5 Y' o+ b+ F* v+ U  d4 Y
  697. ; UNIX: "/path1:/path2"
    5 h. d4 n* _+ K
  698. ;include_path = ".:/php/includes"
    & E  G- S& \. {9 \
  699. ;5 [9 G# i. L/ D5 Y! u6 s
  700. ; Windows: "\path1;\path2"6 j$ `4 w$ m; `- h
  701. ;include_path = ".;c:\php\includes"
    # m0 T. y( g# c
  702. ;
    9 v% }  g: @1 i9 u
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear", D; r) ^/ B* @* J+ {
  704. ; http://php.net/include-path
    * z4 ]' v8 t* F2 @- X

  705. 7 z! b3 s& V' F9 I  m
  706. ; The root of the PHP pages, used only if nonempty.! K% _; [; G- S. w+ P2 G- \
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 d5 a5 |8 M( a: E/ T
  708. ; if you are running php as a CGI under any web server (other than IIS)
      T* P8 v0 Z% I3 B
  709. ; see documentation for security issues.  The alternate is to use the
    * [2 Y. e7 Y, B3 P7 u
  710. ; cgi.force_redirect configuration below
      O6 p, A4 O! W
  711. ; http://php.net/doc-root
    3 @# t8 b% t& b! I+ e5 @7 `! [
  712. doc_root =/ X: L( Q/ |7 v0 z# L8 h; Z
  713. ! u1 u$ d( i' b8 I
  714. ; The directory under which PHP opens the script using /~username used only" z6 [% b9 f3 V" J7 {: B
  715. ; if nonempty.& Y, \. ~1 C( ~1 Z/ i
  716. ; http://php.net/user-dir
    6 h; B9 s2 O. r8 C# ^8 d' Z7 k, u" O6 d
  717. user_dir =0 f1 u/ q& n) F6 `$ u

  718. 3 M# |: ~4 _% I1 w( ?; j" q
  719. ; Directory in which the loadable extensions (modules) reside.1 c! C$ h# D$ U$ F$ \9 `& ~
  720. ; http://php.net/extension-dir) w- |" O# u! x
  721. ; extension_dir = "./"
    , R) e) }8 f4 p# J: ^( {5 n
  722. ; On windows:
    6 P; L, C1 T$ i" C) A1 m2 @
  723. ; extension_dir = "ext"+ `7 ]3 V/ q! q, N) r. K
  724. ) g# {2 I' g$ N7 h  v
  725. ; Directory where the temporary files should be placed." y4 g' A* u* U. Z9 u; \' U; I  a
  726. ; Defaults to the system default (see sys_get_temp_dir)0 @) v. F1 k8 @* l% e
  727. ; sys_temp_dir = "/tmp"
    8 v* P# J' h0 r0 B  T

  728. # C+ d" R# F* b5 D0 j# V1 _
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work. h' Z, w6 D- u* O2 V: `
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ A# D5 {  Y, R: ~" E
  731. ; disabled on them.
    % q6 l+ x' d9 U8 F0 _+ F: ^
  732. ; http://php.net/enable-dl
    7 g4 t; }7 s& H9 R
  733. enable_dl = Off
    3 L. C3 p* v0 j0 ^+ V; o. I
  734. 0 \4 E' J% N7 h1 P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    % x' u2 P# t) [: w5 i" ~
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
      x2 @+ x8 m; D4 B4 f& b
  737. ; turn it off here AT YOUR OWN RISK# w. I, P# h5 K
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , q7 ^* z0 q3 ~# _- d. ^
  739. ; http://php.net/cgi.force-redirect
    % n3 r' k8 A' X3 }6 ]6 l
  740. ;cgi.force_redirect = 1% q4 H' D$ h* j6 V3 {, {

  741. 1 q1 m4 N. {4 \' x
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # f3 r/ `6 n8 B8 L  O' U$ s) n
  743. ; every request. PHP's default behavior is to disable this feature.
    + ~3 ?# M2 \6 ?7 U2 m1 F6 c
  744. ;cgi.nph = 1
    2 ~0 Y8 s) T8 P$ g

  745. 8 `# t6 h- [. }! G" l3 o% B
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape# r, [- X+ m2 b
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; @! C; k% \: _+ ?! H0 A& m; r
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    & W, s& F* v) r% ~
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . l" V5 `5 J/ @/ A- L: p
  750. ; http://php.net/cgi.redirect-status-env# ~: [+ D9 U4 c( Y/ Y$ p1 f
  751. ;cgi.redirect_status_env =# p+ k+ g+ `# P: x
  752. ' q2 N4 D7 K# O! e9 s( R
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    : ?+ Q* x1 ?! n4 U
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok8 R9 l: B5 m' o& r; x, D
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting) T& j/ O  g( W$ m3 E! O; |
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    1 `# y" B! R/ J
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts) g  q) l' \# u$ d
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 @9 A" G& _8 ?1 X' U2 X! ~
  759. ; http://php.net/cgi.fix-pathinfo
    - r6 i! h- M: ?6 t+ O) y% k1 d9 t1 c
  760. cgi.fix_pathinfo=11 b, B6 U' t5 |+ t! ?
  761. " v. e8 @8 x  b  e" b; U0 T0 ]) O
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside# O2 W" z0 A. g/ S+ N
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    - L4 W5 T8 t3 T+ J
  764. ; http://php.net/cgi.dicard-path
    ' L5 P. x3 p  X- ^7 n
  765. ;cgi.discard_path=1
    7 I5 M  y4 ^* j
  766. " p4 i2 n/ r9 Q& s- c
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      c6 x# h7 s4 J% R4 t
  768. ; security tokens of the calling client.  This allows IIS to define the1 C. C/ s$ Y# w0 ?! o9 ~
  769. ; security context that the request runs under.  mod_fastcgi under Apache" r( K, c* r: ^
  770. ; does not currently support this feature (03/17/2002)! s2 d0 ?: b, F4 a4 P
  771. ; Set to 1 if running under IIS.  Default is zero.
    ) E; n! S9 j# K) W
  772. ; http://php.net/fastcgi.impersonate
    - z7 R5 b( I( C+ n9 A' o
  773. ;fastcgi.impersonate = 1
    5 u9 O6 M8 U  p9 N4 a: w* B
  774. 4 J8 `  Z) R* l
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ; x# H% |  K% D" G# A: h
  776. ; this feature.; G8 {# ^3 x6 B8 [, H; l
  777. ;fastcgi.logging = 0
    ; W0 v/ {# l- U  S
  778. , |! x% _  O+ y, \
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    9 P% R4 s  q; O
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    % _8 L0 R) J  Z4 \) W8 h: y
  781. ; is supported by Apache. When this option is set to 1, PHP will send& N" R5 v$ D7 N+ N9 i
  782. ; RFC2616 compliant header.
    ! T7 `& T% k6 O) ]4 b/ |7 ]4 _
  783. ; Default is zero.
    3 N, q3 W; ^1 Q
  784. ; http://php.net/cgi.rfc2616-headers
    # S1 d' Y% v" F# ?0 ~( ^
  785. ;cgi.rfc2616_headers = 05 p  h/ I) W( p
  786. . I$ N# B; v4 f1 [1 |5 f
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    0 [$ Y: z# z6 j- F0 ]* p
  788. ; (shebang) at the top of the running script. This line might be needed if the; d, n4 j, u$ w0 L' t
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI  I3 [. x% x6 n' E5 Y1 W9 ]$ @
  790. ; mode skips this line and ignores its content if this directive is turned on.+ j- K+ ?8 j  Q% g% U( F( V$ v0 \
  791. ; http://php.net/cgi.check-shebang-line  \% T& _4 B/ J( E# |1 s8 e
  792. ;cgi.check_shebang_line=1
    7 n& c9 J/ u9 G

  793. + J0 p1 U2 f6 q
  794. ;;;;;;;;;;;;;;;;6 E% E8 }1 J7 {+ H) S# p8 c  |
  795. ; File Uploads ;
      |8 F& `  x5 f  y9 n3 s' c: E
  796. ;;;;;;;;;;;;;;;;) R3 |( \$ ^( y! d1 `; a% Z! }

  797. 0 d8 \! B# ^  y0 [* C
  798. ; Whether to allow HTTP file uploads.2 ]5 |: |/ j# h' U1 H7 C
  799. ; http://php.net/file-uploads+ F8 N) D( F) h8 }9 |: Y# a
  800. file_uploads = On  ?0 F$ _5 d7 k9 z
  801. % q( g& _4 a, K# I$ V8 [) j
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 c8 U1 q/ d  e& Q# f" t& @0 b
  803. ; specified).1 a* @* w+ _; b1 g9 e
  804. ; http://php.net/upload-tmp-dir, \6 s# O/ r5 G+ z2 _
  805. ;upload_tmp_dir =2 L$ r, K! @8 [% `# I. `

  806.   }  O/ W1 K# @, W& V: }9 b
  807. ; Maximum allowed size for uploaded files.8 S: Y6 z4 W' h7 o, U4 B
  808. ; http://php.net/upload-max-filesize. g* D; d7 D  p
  809. upload_max_filesize = 50M) R+ a. H, W& N! ?
  810. 9 |7 k8 d8 ~' |
  811. ; Maximum number of files that can be uploaded via a single request$ D- q  Q3 H, X; [' _0 F
  812. max_file_uploads = 20  l* e/ b( T* n1 T3 g0 {  U
  813. 4 V) o3 e( l& V0 l) K' E2 \- ^
  814. ;;;;;;;;;;;;;;;;;;
    $ V- Y* \: |* w8 }0 p
  815. ; Fopen wrappers ;9 X3 R4 v% J* O9 |; \1 K
  816. ;;;;;;;;;;;;;;;;;;
    / [; ~& s  p$ I' N; E! I7 F2 V5 h

  817. - }3 R4 G6 J# v" U6 s' _0 S* D
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 O5 d, H! C" R, e. y! W4 z
  819. ; http://php.net/allow-url-fopen
    + A0 f8 m- h2 s; S1 D
  820. allow_url_fopen = On- ^1 p/ w! N- W; t3 l

  821. " s! l/ S/ M% ~8 x3 r" x
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & f9 o) l. L! V% L
  823. ; http://php.net/allow-url-include
    $ C# J% E/ G  N6 F- a1 d
  824. allow_url_include = Off0 O, j% R" ~' R" z" D, ~* t

  825. - s6 e) B8 u: f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    # r+ j1 @5 M! ?3 K8 p# U
  827. ; for this is empty.2 u1 u! f% y5 P' ^' q: p
  828. ; http://php.net/from
    7 M' {" y; |; r4 A7 r
  829. ;from="john@doe.com"
    9 Y2 Q& J0 U" s9 P- _; C* K
  830. # w" Y2 d* Y5 f, l: Q9 B- o
  831. ; Define the User-Agent string. PHP's default setting for this is empty.+ q& a% k" i+ m3 q" q, b; X
  832. ; http://php.net/user-agent
    8 z9 G- b: Z: m7 a7 L9 P7 v
  833. ;user_agent="PHP"2 P' J2 |0 M/ i4 W  [; U8 _
  834. ' f4 K0 G+ V; [. v+ }- t% B
  835. ; Default timeout for socket based streams (seconds)
      x4 z2 _' E4 w7 u; `* I
  836. ; http://php.net/default-socket-timeout
      O1 J" R# }3 @3 V, Y0 M9 q
  837. default_socket_timeout = 60) e. b" G, Y9 h" M+ n  e

  838. 8 P: l8 G7 e# g. C6 x6 Y3 r$ ?
  839. ; If your scripts have to deal with files from Macintosh systems,
    5 H. u& E1 V8 e0 r7 t7 p
  840. ; or you are running on a Mac and need to deal with files from
    5 ^! S! U- w3 X' r
  841. ; unix or win32 systems, setting this flag will cause PHP to1 g2 e$ Y. A0 u3 w
  842. ; automatically detect the EOL character in those files so that
    * F6 _% W8 [/ B! f7 c
  843. ; fgets() and file() will work regardless of the source of the file.6 j1 |  j" O% ?+ m3 i$ E
  844. ; http://php.net/auto-detect-line-endings) n* w8 V0 T! z+ R
  845. ;auto_detect_line_endings = Off
    ' d  T9 g3 h$ P5 D' E  f/ h' [

  846. ) B7 Y; M2 @5 w0 |+ l3 L0 J
  847. ;;;;;;;;;;;;;;;;;;;;;;( N; c2 y  }# {- ]/ N. l9 c  x1 i
  848. ; Dynamic Extensions ;
    7 t8 m' B* Z- N
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ! z: ~8 I; Y  @( g1 A' z: g8 f
  850. ! Q' r/ A7 r6 X; K% L+ ~' Q4 S
  851. ; If you wish to have an extension loaded automatically, use the following$ S8 }& o; `2 U9 O9 q6 N' P
  852. ; syntax:) M2 D+ N- [- D# e" {' u
  853. ;
    & O" m# _& _. X5 t
  854. ;   extension=modulename.extension
    7 {1 H/ [  x5 h7 r4 k
  855. ;
    , E9 \2 A: r. D2 e1 R
  856. ; For example, on Windows:
    ! L. t. y# }" k0 `% l
  857. ;
    ) j; u$ `. r% n( p: m, d; E
  858. ;   extension=msql.dll
    ; d* L1 Z# ]3 G
  859. ;
    6 d" {! h% t  H& b; ]4 ~3 Q
  860. ; ... or under UNIX:
    7 A0 N+ e# x& @2 b5 X* H- b7 R
  861. ;
    . {6 k# U8 Q  U/ v1 X) l* g7 @
  862. ;   extension=msql.so7 U/ h% |  n5 A2 h
  863. ;
    8 j7 m6 }) W( r0 ~
  864. ; ... or with a path:
    4 q/ o# \4 |5 L. }, Y
  865. ;
    - I9 j: N- J# X9 J  w
  866. ;   extension=/path/to/extension/msql.so
    8 ~" l5 l; n0 u: [6 k3 M  B" h+ q
  867. ;
    ) e/ S. }2 r/ {3 N3 T
  868. ; If you only provide the name of the extension, PHP will look for it in its
    * p( Q3 z- r' Y9 ^, @" y& N
  869. ; default extension directory.
    ' a/ y$ H! M# Z+ i$ t3 {- I
  870. ;
    0 m9 F, }0 R0 E. A; U* G
  871. ; Windows Extensions# J8 N- l1 O! I1 h: y
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    " h* l: m- \7 I* ^7 n4 t- w' L
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 m  u3 t% k7 C; Q; N5 \, X
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+)./ l0 ?+ m8 J( F* ]
  875. ; Be sure to appropriately set the extension_dir directive.
    ! g" J0 Z4 c% @: i. u
  876. ;' \0 Q* |$ e" x$ Z
  877. ;extension=php_bz2.dll  C% R) }: u9 q( [! x) R
  878. ;extension=php_curl.dll8 S! @$ f: p, F8 w" o& T4 p
  879. ;extension=php_fileinfo.dll
    3 g! \8 L6 r$ ~( h
  880. ;extension=php_ftp.dll
    % E: c* s: r5 C( ^* A- n. x
  881. ;extension=php_gd2.dll
    & f" |; i/ O  {
  882. ;extension=php_gettext.dll' I( M% \1 R8 V# k$ f' e7 V$ j
  883. ;extension=php_gmp.dll/ S; Q( @# D" N5 y4 `, X- B! H
  884. ;extension=php_intl.dll
    3 y: W9 ]$ w9 T
  885. ;extension=php_imap.dll
    * E2 D: ?+ l1 K$ F/ W2 _1 g. A6 P
  886. ;extension=php_interbase.dll
    $ J  e: E+ N8 o4 n6 d1 d& v7 E
  887. ;extension=php_ldap.dll
    % h0 _7 h0 m  e! n' }
  888. ;extension=php_mbstring.dll
    - b9 d* R0 w% E0 v" A) y1 A$ |2 k
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ; o& x/ I: ~' |: [5 v' J$ U
  890. ;extension=php_mysqli.dll# c6 e( J/ d& ^4 y& Z3 h  @0 ^0 K, ?
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    $ J. w' n- G) m" c- U1 V& d. h
  892. ;extension=php_openssl.dll
    6 M- k5 G! C, P/ v3 K6 y, @
  893. ;extension=php_pdo_firebird.dll
    4 k1 ?" g8 [- g0 T( i9 `/ q
  894. ;extension=php_pdo_mysql.dll
    4 ~4 I% s" A7 [* d5 R7 @' x
  895. ;extension=php_pdo_oci.dll
    0 l+ f+ D( f* Q6 h- q& B, r
  896. ;extension=php_pdo_odbc.dll
    5 N' O: H. N' I# a# D; M
  897. ;extension=php_pdo_pgsql.dll
    1 @( Z8 a" \( V9 L% H3 H
  898. ;extension=php_pdo_sqlite.dll! p# j5 s4 A, x& ~, k; I* w1 F5 @
  899. ;extension=php_pgsql.dll  U$ j! d0 m& v- G
  900. ;extension=php_shmop.dll# W! d2 I! C! r* J; z( ^: N* {

  901. $ f. S& w  i, t- t  J5 u7 z
  902. ; The MIBS data available in the PHP distribution must be installed.& Y; W' J$ O2 e1 S  W- K" o
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    $ z( G% l& P4 Y$ g3 C0 ~& x
  904. ;extension=php_snmp.dll
    4 ~4 ]0 k" i+ q5 a! S
  905. & i/ D& h( v" C$ ?
  906. ;extension=php_soap.dll
    1 `0 f6 X* A, r" g
  907. ;extension=php_sockets.dll
    $ }2 i- J1 x: N3 t3 R  y" l
  908. ;extension=php_sqlite3.dll/ O6 S6 |9 L* N
  909. ;extension=php_tidy.dll. k& q" [, m6 b3 Z2 H& m5 {
  910. ;extension=php_xmlrpc.dll
    4 B& v/ I' |5 A% D! S
  911. ;extension=php_xsl.dll& }. Q; `/ Z# i) J% f, }% g' W" I

  912. 6 N3 r* k% u& L' |. x
  913. ;;;;;;;;;;;;;;;;;;;
    ) S* l+ B* _# P
  914. ; Module Settings ;) K7 @. W7 Z. t, A' B/ _
  915. ;;;;;;;;;;;;;;;;;;;
    6 T  ]( `+ o3 p; @9 ?
  916. # ~% }) y% K! w& z, [' T
  917. [CLI Server]
    3 ]# O) _  B( Z- L$ N
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.- P6 g* L4 {# G# D
  919. cli_server.color = On# i8 Z+ R  j& ]$ o9 X5 C

  920. * d8 W* ~9 x+ f* Z2 B6 r$ h2 q# A
  921. [Date]: _; n' F% \0 b
  922. ; Defines the default timezone used by the date functions* F. o* e' s: u- e% |
  923. ; http://php.net/date.timezone
    ( A/ i4 y; s% r/ s4 h6 m0 |9 l
  924. date.timezone = PRC
    , c) k8 V  q& d9 Y
  925. , q% V2 h, O8 G. M
  926. ; http://php.net/date.default-latitude
    % j  m: o8 t3 u3 e
  927. ;date.default_latitude = 31.7667, m  d; j7 [1 q5 a+ I& P6 }
  928. # n  [1 `5 s4 ]& _. x: U  M
  929. ; http://php.net/date.default-longitude
      Z- G2 D4 ~3 a
  930. ;date.default_longitude = 35.2333; R, a" {1 ^- C9 N' R  l
  931. , @2 g+ ]6 [2 |1 V2 @
  932. ; http://php.net/date.sunrise-zenith
    : M% J$ D# `7 _5 P; g
  933. ;date.sunrise_zenith = 90.583333
    ; r& X, E/ Y+ j' c$ \
  934. ; ]4 ~' u! L! g  W; S% u
  935. ; http://php.net/date.sunset-zenith3 k/ Y' ?0 f4 N
  936. ;date.sunset_zenith = 90.583333
    % i7 F4 @2 e4 N6 n6 {$ `5 w

  937. 2 y/ t, V& l7 k. f
  938. [filter]
    + L8 q8 q; \: ?
  939. ; http://php.net/filter.default/ q4 E3 z' m7 ]
  940. ;filter.default = unsafe_raw+ I! z2 D, `) V! N/ ~2 R0 `: s& J

  941. / A- F( m; C! `8 n3 z
  942. ; http://php.net/filter.default-flags3 f7 P: K/ g3 b4 F
  943. ;filter.default_flags =
    6 w5 F- ]3 Y2 F. W. m

  944. / e1 k0 N' W5 J5 z9 C1 U
  945. [iconv]: L8 C# K8 D/ X8 h( M
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & k% E- f% J- s
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.4 ~# ]' L: \2 }6 i" O5 L1 Q* Y% b
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    / M2 L0 j4 Z1 _  f8 {
  949. ;iconv.input_encoding =
    3 h6 R) F4 J  k
  950. . {  l7 c; a- y, `4 l
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    4 n) p* }4 i* u
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' X5 c. J6 P" Y! [
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% W% a) a1 T# o( l- M( G
  954. ;iconv.internal_encoding =6 `6 P! t1 Q9 X& Q
  955. # Z6 z- ?* v3 Z
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 z% z* @) i7 ~
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / i9 Z7 |( U; P, H
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' k" A5 S$ i  _
  959. ; To use an output encoding conversion, iconv's output handler must be set( S  i" l# _% j2 y. U6 H: A2 @
  960. ; otherwise output encoding conversion cannot be performed.
    " x  B  W+ h! K/ i- A4 t' g
  961. ;iconv.output_encoding =' g2 t/ C/ w0 Y

  962. 4 x, o& ^% m! M" w* ], e, M4 e
  963. [intl]- [( J" U* G: m
  964. ;intl.default_locale =
    4 T% X9 P5 w4 Q9 c: _( H* R* v
  965. ; This directive allows you to produce PHP errors when some error2 T/ B; u% v- j
  966. ; happens within intl functions. The value is the level of the error produced.
    3 ?8 R) d5 y$ v3 M4 Y# i3 D( Y+ _
  967. ; Default is 0, which does not produce any errors.' @6 R$ h1 k/ `: T" \: S
  968. ;intl.error_level = E_WARNING
    ' ?0 Y3 @# d+ C2 N% F
  969. ;intl.use_exceptions = 0
      B5 `3 X9 }3 e$ M- f

  970. 0 |0 d1 H. c/ u( k. u) w
  971. [sqlite3]7 @! |0 X4 z# j$ K/ s* M5 _5 ~
  972. ;sqlite3.extension_dir =
    ) ~6 f' x9 z; d; b5 Y  g- W8 P/ a
  973. . u" q# H1 E( x3 t! t6 [
  974. [Pcre]
    ( y0 A: K& n+ g5 B( y& m
  975. ;PCRE library backtracking limit.; K$ @3 C3 ?; e1 D
  976. ; http://php.net/pcre.backtrack-limit9 x' \2 T8 T2 @- w
  977. ;pcre.backtrack_limit=100000# b! U3 d8 }# _) \2 D+ O- @7 Q

  978. * F4 x+ C7 @4 M6 p4 {; R
  979. ;PCRE library recursion limit.! G/ w7 |. }4 F8 I0 w$ @' J
  980. ;Please note that if you set this value to a high number you may consume all4 n6 h$ Y# h5 `
  981. ;the available process stack and eventually crash PHP (due to reaching the
    : K" E4 o  a- V+ \' C4 D: M
  982. ;stack size limit imposed by the Operating System).
    1 v) B! _% [0 t" D( F0 C5 |9 {
  983. ; http://php.net/pcre.recursion-limit
    & O, R. W; _2 B; v4 I8 S4 p
  984. ;pcre.recursion_limit=100000
    / T' n) A9 w) g1 B% l- |- B* \

  985. 3 ?  A9 D& ?8 }! A/ q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE2 D' }& b5 e1 I$ n7 I) N" R5 T% ?
  987. ;library to be compiled with JIT support.
    5 @7 L! t2 l6 d6 F
  988. ;pcre.jit=1
    9 i! Q) {7 [, c3 X1 d6 U$ T8 ]
  989. + G; g, H2 v; H: B
  990. [Pdo]
    ( [' E3 f4 @# |3 D" A0 q; G
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"& Y" t$ v  C& ?- |
  992. ; http://php.net/pdo-odbc.connection-pooling
    & x( n, }" p- s" j" l. w- C
  993. ;pdo_odbc.connection_pooling=strict
    ! C; [/ w3 e! T; o1 ?4 ?

  994. : E9 ]5 T' U- ~& h! [
  995. ;pdo_odbc.db2_instance_name
    1 \) J& @+ h, d$ {+ E& [% A

  996. , A4 W3 I' ^( C* _
  997. [Pdo_mysql]
    , Q5 D! P' ^6 B( e% C: m
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache% c( }, b/ b7 c2 z( k  z7 z
  999. ; http://php.net/pdo_mysql.cache_size, g7 S  \; j# |3 L( ?
  1000. pdo_mysql.cache_size = 2000
    ) K0 s6 D( z" K; B# T

  1001. : I$ u7 C( W1 S! q' L6 Y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in" {) g) G$ ?# o$ y- l' w4 o
  1003. ; MySQL defaults.
    ( s# U+ }9 k" T; O* o2 a
  1004. ; http://php.net/pdo_mysql.default-socket1 a2 H: k& t' i. m* V: Y
  1005. pdo_mysql.default_socket=
    9 A# W, v$ v8 V  e" Y

  1006. . G3 Q* E. c5 l% S/ w2 V1 Q
  1007. [Phar]; s0 s# n/ ]6 G$ t& {
  1008. ; http://php.net/phar.readonly: e+ [" y9 y% }$ C+ t8 Q9 N; f
  1009. ;phar.readonly = On
    % q9 \, [# o6 X0 L

  1010. , ^& Q( _! L7 h9 b; Y# Z. c" h
  1011. ; http://php.net/phar.require-hash
    ) X: Q% m" m% N5 z
  1012. ;phar.require_hash = On) c- v* L' W$ V1 [* M% ?& N+ J+ b

  1013. 7 m  U" I; \/ l$ N, U% I, n
  1014. ;phar.cache_list =9 c7 {4 [4 p2 h9 t0 v
  1015. * Z3 P% P6 N! @9 f4 s* e- S- J$ [
  1016. [mail function]% m7 ?8 K4 ^% v5 W- j5 J
  1017. ; For Win32 only.
    - L2 ^- s! i3 {# \: a9 |" D% f
  1018. ; http://php.net/smtp* ^& V$ m" o% [, l
  1019. SMTP = localhost
    2 h* C- `1 w( z- A, K  `2 n& g8 n% n9 q
  1020. ; http://php.net/smtp-port; Q0 `& T- N# |. U
  1021. smtp_port = 25
    # X3 D' ?% u! r6 @8 [# `+ }
  1022. ' X0 c, S' K5 e& u
  1023. ; For Win32 only.9 h* l0 H: q* ]0 V+ k" o0 m
  1024. ; http://php.net/sendmail-from+ Y: m/ S& s$ K$ j
  1025. ;sendmail_from = me@example.com
      v( f& L$ j2 {* O  q2 e9 t
  1026. * K* b0 ]/ f' A6 y7 ]. N7 ~
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").! e9 d; Q7 W, T, [$ z/ P) e
  1028. ; http://php.net/sendmail-path
    4 Z7 g& i& E& l  F$ d' p
  1029. sendmail_path = /usr/sbin/sendmail -t -i: M1 ~" k# ?% x( H, T7 _6 ?; |' W

  1030. ) t# ^" X/ n; ]. ]& \
  1031. ; Force the addition of the specified parameters to be passed as extra parameters- N, ~1 L( h* \6 b
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ! H5 _+ r6 i  m" V) H
  1033. ; the 5th parameter to mail().. R8 b0 ^% @4 _9 q! g' e1 [. d/ Q6 F
  1034. ;mail.force_extra_parameters =9 A# r) B' E, g- S1 U
  1035. : Y% }5 z7 l: v" u0 y4 |! E
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 A( M: K' i0 W" B
  1037. mail.add_x_header = On3 O$ |+ L( A6 R; K  {/ a4 T

  1038. ) F+ v2 G; m$ X
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    4 G, J; `* r4 y
  1040. ; the full path of the script, line number, To address and headers.
    # `- M4 m, i! Q- |+ c- `
  1041. ;mail.log =
    : N! \7 Z  ~2 v# L4 E( x
  1042. ; Log mail to syslog (Event Log on Windows).
    ! F5 P3 H. ?: ^0 B+ Q; Y/ H
  1043. ;mail.log = syslog/ \! k2 e6 d1 @# f6 E( t8 H6 _9 O

  1044. ) K9 n) r6 l, I: n; N
  1045. [SQL]
    ' S$ B+ Q+ q$ u3 N4 @1 ?! i. W
  1046. ; http://php.net/sql.safe-mode
    + t1 p& X/ O3 @5 w
  1047. sql.safe_mode = Off
    / c0 `& @6 n% |6 F+ O6 o
  1048. , k. a" Y: t# ?% ]. _8 ]# {: I
  1049. [ODBC]
    8 s5 E& B+ v6 `
  1050. ; http://php.net/odbc.default-db
    ' z4 F! I% s3 n. q( h
  1051. ;odbc.default_db    =  Not yet implemented
    ; g& d$ l" I8 t" }* [
  1052. : F! W" ^  q4 z2 d5 A/ S- R
  1053. ; http://php.net/odbc.default-user' `' D7 e" J( b6 x' a/ @' I
  1054. ;odbc.default_user  =  Not yet implemented
    3 t* h! y# K- M9 o0 t& N

  1055. : a) }; c: H1 m. }5 {: c: H7 E4 I3 m
  1056. ; http://php.net/odbc.default-pw
    6 D% [) a* C) [: T* ]
  1057. ;odbc.default_pw    =  Not yet implemented
    ! T4 w% U( T+ _5 E8 I! u7 }

  1058. 3 g# ?0 I9 |/ U+ S8 U- J5 k
  1059. ; Controls the ODBC cursor model.7 t. h5 i, l0 Z# @, k$ V
  1060. ; Default: SQL_CURSOR_STATIC (default).5 K& Z, Z' W0 q2 o
  1061. ;odbc.default_cursortype
    5 d( r9 E# g# ^$ G
  1062. . a$ u4 J% ]6 o/ |' V1 y) ?0 C2 l
  1063. ; Allow or prevent persistent links.& f/ u0 U* n$ E" E( N; d
  1064. ; http://php.net/odbc.allow-persistent
    ' m4 ^% V# h" X7 u
  1065. odbc.allow_persistent = On9 e# p& T/ C; F% d- g
  1066. 8 f: d' d* W  i$ I9 V2 L# \5 p8 V
  1067. ; Check that a connection is still valid before reuse.6 y2 K4 q8 C7 v0 f* ~
  1068. ; http://php.net/odbc.check-persistent" [2 N" {( J! P
  1069. odbc.check_persistent = On
    ) t. C( k' C5 r4 g

  1070. . \2 i. r; {6 F0 N# ?) g
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * m3 Q" C6 V& [4 C5 V& y
  1072. ; http://php.net/odbc.max-persistent$ N  ?9 E4 T1 [) J- l3 u
  1073. odbc.max_persistent = -1
    9 r, {, v. v7 y
  1074. " v; k3 `! w1 [
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 }" j' F9 J4 m1 w3 `
  1076. ; http://php.net/odbc.max-links
    6 f. l  W+ m! |
  1077. odbc.max_links = -16 c" V) A% \5 g9 Y) R. D0 _

  1078. - y- C; G$ e5 W3 ^7 \
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means; s3 ]& S3 P( T9 N; i% O3 k+ x* z
  1080. ; passthru.. U! t- r: \7 K- M1 i. x
  1081. ; http://php.net/odbc.defaultlrl
    . w# `1 N5 j6 L5 |3 r% |
  1082. odbc.defaultlrl = 4096
    / m# P1 S0 B2 P% V! _
  1083.   D0 e. L1 Q# G- ^3 m2 p, C; |' _
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    % |) _# h7 z# R
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # o7 Y$ G. n  m' W* M) X  V5 C
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 k/ q3 ]9 L. t0 E% _4 V- R$ U
  1087. ; http://php.net/odbc.defaultbinmode- h+ k7 d/ X+ W- Z
  1088. odbc.defaultbinmode = 1
    : p% q" U4 s  Y( S
  1089. - ]' z; F1 K1 S4 D% |: |/ I+ M/ a
  1090. ;birdstep.max_links = -1) n3 P8 a$ R5 p5 N) }& D
  1091. ' ^  E5 |5 x! F
  1092. [Interbase]5 l1 _2 |8 Q$ Q" l, t
  1093. ; Allow or prevent persistent links.: J3 F: l% X$ h
  1094. ibase.allow_persistent = 1+ `! u+ A8 K# x5 ~+ p1 b: d! h+ j2 N3 f
  1095. 9 u: x( e, o/ _- V* K& J
  1096. ; Maximum number of persistent links.  -1 means no limit.
    $ o9 V% P" J& q4 C' Z
  1097. ibase.max_persistent = -1
    ) s) r$ W8 K: K/ u+ M& Y5 ]% C# e

  1098. , h8 e2 w/ u- s+ Y  m
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 e( n- H+ }9 U/ _7 Y, Y/ f+ z  z: O$ Q
  1100. ibase.max_links = -1
    # _7 `; W% j5 K4 C1 H( ?
  1101. ' v4 T+ G; z. X- A0 _
  1102. ; Default database name for ibase_connect().
    , ^" ~! x+ e1 j
  1103. ;ibase.default_db =0 J" d# t$ N0 [* X; \

  1104. + m7 d  C# n* B
  1105. ; Default username for ibase_connect().' g$ C, Y% R# ]7 j4 {2 O
  1106. ;ibase.default_user =
    3 l* F; {. |9 w: w& n9 ]* W' e9 j
  1107. , n4 ]/ t% h* }3 Y9 k! |5 i
  1108. ; Default password for ibase_connect().
    ) C+ b8 _% T. o3 ]* `2 Q
  1109. ;ibase.default_password =: P0 U( W4 {3 _& T
  1110. ! C2 }7 y8 d, X" r5 O& _8 O
  1111. ; Default charset for ibase_connect().; t8 ?5 t1 Y' n3 l0 {' Z1 P7 P5 m
  1112. ;ibase.default_charset =& {# N) [; `$ D' ^# j

  1113. 2 W3 x1 R# g  }. I) o2 K3 k* U$ E
  1114. ; Default timestamp format.7 r5 i0 O$ p% @
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"4 x9 d5 K& j2 B& S

  1116. ! b0 S6 E  t' l; [  F2 p  q0 j! s
  1117. ; Default date format./ H4 q6 a6 j3 H. w: @) G( f" `4 t
  1118. ibase.dateformat = "%Y-%m-%d"
    + s8 L8 Z8 V3 Y+ X; t! v  k
  1119. 5 ]- E2 i( }7 G, D: x- S# L
  1120. ; Default time format.  T5 g! O; E# {
  1121. ibase.timeformat = "%H:%M:%S") I2 w+ }8 W4 [% n
  1122. * L- ?- N, b+ t( d) ?" m+ P/ p
  1123. [MySQLi]/ V5 T" y; Y0 L) N1 Z

  1124. 5 \+ R! O/ N8 I4 a" \3 j2 F9 i
  1125. ; Maximum number of persistent links.  -1 means no limit.
    & j; t2 O* K2 Y5 [
  1126. ; http://php.net/mysqli.max-persistent+ H; y( q. Z: x" |- c; v; T7 X" m
  1127. mysqli.max_persistent = -1, X8 B4 G! i- O/ t# k! `% P7 z3 X
  1128. # Z& [0 r9 T# X3 L
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 C( `/ B4 B9 \$ A
  1130. ; http://php.net/mysqli.allow_local_infile
    0 y- T" a' R0 _, P0 x) e
  1131. ;mysqli.allow_local_infile = On1 V- W# ^: k& V9 M/ n8 p, T
  1132. 5 b' c* Q! g$ P: t5 E7 i
  1133. ; Allow or prevent persistent links.
    $ i5 W' T2 \4 ?# P6 d, ?
  1134. ; http://php.net/mysqli.allow-persistent
    ; _: Z: B6 {5 L3 E
  1135. mysqli.allow_persistent = On
    7 n/ F  n0 T: e
  1136. 4 c9 E1 Z: b" f) ?0 o
  1137. ; Maximum number of links.  -1 means no limit.
    9 d" f- {) S, N" u5 C7 z% b% ^
  1138. ; http://php.net/mysqli.max-links: t% g9 [3 `& \
  1139. mysqli.max_links = -1# v3 f2 U& l& D$ f! E/ X
  1140. . P' ^' n. }# ~
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) q" l. \; X1 [1 w, g
  1142. ; http://php.net/mysqli.cache_size
    9 t" N  ?2 x7 K+ I, G" T2 V$ c
  1143. mysqli.cache_size = 2000; a9 K* B# @, i4 Z; p
  1144. % K3 G" {. i9 J1 ]1 T0 T
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    . M" U$ U9 O* ]1 q5 x- ]* a
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- I% t% \1 k, c/ R0 V6 V
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! `( P$ m# i  C( H
  1148. ; at MYSQL_PORT.
    . R3 A8 ~5 m. d6 D4 x
  1149. ; http://php.net/mysqli.default-port3 S" g* d3 N7 w, g+ H4 D
  1150. mysqli.default_port = 3306
    ( a5 r+ W3 I, c8 d2 g8 b# [. [- ]
  1151. . t$ p. a) D; ?8 Z0 G/ s
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in  G+ W" J( ], j
  1153. ; MySQL defaults.
    4 F* G' H6 R, T4 L' u
  1154. ; http://php.net/mysqli.default-socket  E5 o$ m! I0 {2 z
  1155. mysqli.default_socket =, ?4 {* j- k& L9 A% G2 y

  1156. ' M: H9 k" |# f0 `/ N9 ?$ ^" z
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).- A' C$ W  k7 k
  1158. ; http://php.net/mysqli.default-host
    3 i: K" T) z" r( `
  1159. mysqli.default_host =
    # X: d& d; N( d  e* L# t1 g! V

  1160. 4 l" t. t) t8 }- U3 @
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).2 {- x' s, }: N5 H
  1162. ; http://php.net/mysqli.default-user
    4 L; }0 c% M, Z& u; I# d: ~! ~4 ~
  1163. mysqli.default_user =5 o8 a. K8 @7 K# F
  1164. / e" Q  P( {' |, p$ w
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).* M2 ?; S7 r$ O. b9 {+ x% s6 t% q
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' S$ p5 y+ y, x0 t& t; P$ o! u5 M
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")% \0 b/ t- U0 o0 x/ U- Q7 E( ?
  1168. ; and reveal this password!  And of course, any users with read access to this! S' M  V% i. b0 p% @* p
  1169. ; file will be able to reveal the password as well.% X) p5 X0 x. z& J
  1170. ; http://php.net/mysqli.default-pw" |, a4 m8 P& H* i' l
  1171. mysqli.default_pw =+ `- M' ?' P; Z9 Q2 D
  1172. 7 f% I$ E( m9 b/ F
  1173. ; Allow or prevent reconnect
    - J- o  _7 [0 t! p+ C" j2 g  R* G: y
  1174. mysqli.reconnect = Off
    . }( g/ t2 s, C
  1175. % J; A4 `; v6 H4 o7 Z6 ?! l
  1176. [mysqlnd]9 x( Q, T3 V  R8 g* v0 v
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be5 q" W5 H6 [% N* m1 K7 V' M
  1178. ; used to tune and monitor MySQL operations.& D# L  O. l, b( e2 P) y, Z
  1179. ; http://php.net/mysqlnd.collect_statistics
    / A( i. l1 {# H# Z  {" y
  1180. mysqlnd.collect_statistics = On7 |8 V$ v, r. G* q4 S
  1181. 3 e1 _# `6 o% `) }7 h, Q
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    , o9 x: N; b: d: v& Z
  1183. ; used to tune and monitor MySQL operations.
    - t3 k2 L5 ^5 [. K
  1184. ; http://php.net/mysqlnd.collect_memory_statistics( v; S0 F, L5 ?. W8 Z0 {
  1185. mysqlnd.collect_memory_statistics = Off. W8 c! d! H( @5 ?4 f: F

  1186. . @, n0 L4 y3 u: g% \( p
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ( D2 ]9 C" s; S2 o4 ]- I; n/ ~4 W
  1188. ; file.
    & ^/ C7 ?: V0 M8 _  E. v4 F5 I
  1189. ; http://php.net/mysqlnd.debug$ p* n+ v/ @/ U; }' Z4 R1 j
  1190. ;mysqlnd.debug =
    2 z! q+ M( n# h6 P; \$ V

  1191. / m( T8 T# N4 @- O0 ]( P! G5 P' Q3 Q! E
  1192. ; Defines which queries will be logged.
    3 g6 V; e$ P  g3 N: F1 H, n* h
  1193. ; http://php.net/mysqlnd.log_mask, |: c1 K3 h- n; o& y1 s
  1194. ;mysqlnd.log_mask = 0
    6 N3 j3 [3 F( ]

  1195.   ^0 ?6 E  D( S: T6 r+ Q9 B
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 ^  t, i, h7 L/ ^9 Y. x+ [* v
  1197. ; http://php.net/mysqlnd.mempool_default_size
    + J' m1 F6 G; O0 r6 K2 B: U  M
  1198. ;mysqlnd.mempool_default_size = 160006 B  j/ P) H& C: I9 r
  1199. $ d9 t3 I7 X' Q& R1 H5 t
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.3 k; `, L: t" z  A
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    3 N  t) L; R. h( n. T
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    : d# J/ q9 {- ]3 n! e
  1203. 3 a% ]" l( R/ z; P" A% y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . W2 r  f! ^! M  o# k- S
  1205. ; bytes.# m- q8 i8 [1 S: I; P' w
  1206. ; http://php.net/mysqlnd.net_read_buffer_size$ i7 R# ^9 ]2 @. \
  1207. ;mysqlnd.net_read_buffer_size = 32768$ s3 n% w; t1 f: M
  1208. # r5 n4 a) V. H1 B7 `2 \: {, O' y
  1209. ; Timeout for network requests in seconds.. I  P& G6 t$ G& u4 d; g
  1210. ; http://php.net/mysqlnd.net_read_timeout
    & H2 O* s  o, i, B* S+ Q$ c/ E
  1211. ;mysqlnd.net_read_timeout = 315360007 O/ ~6 o5 t' l6 |9 ?1 h" }: j
  1212. 9 z  z* L! M; d% a' N
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    + s: |  f: k  `: }# o& j/ g
  1214. ; key.
    # t1 k, J/ ]  y8 x
  1215. ; http://php.net/mysqlnd.sha256_server_public_key8 O: V  @+ \% e0 }3 r# b( J
  1216. ;mysqlnd.sha256_server_public_key =# t2 g% {6 f. {8 b" K! {

  1217. / d0 F" u& }5 T, y! Z: q
  1218. [OCI8]% f( ?3 g; O5 C$ P8 G9 o: g0 i$ ~
  1219. 9 l$ ?* \) F  ~8 X- O
  1220. ; Connection: Enables privileged connections using external3 Q& D; T6 F. z& A4 s4 i
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 H2 _3 C- ^# }) R4 ~6 h! H8 ~( B' G
  1222. ; http://php.net/oci8.privileged-connect
    ' T3 `; J+ w; ~* r2 Z
  1223. ;oci8.privileged_connect = Off+ V9 g+ y9 s! i* S6 F' S* T$ j
  1224. : [8 I5 m+ e9 ~- s8 L
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    : t1 |% i! r4 D2 B( d
  1226. ; process. Using -1 means no limit.
    7 |* c0 A5 U0 N; P" h9 \: r
  1227. ; http://php.net/oci8.max-persistent& m! y7 o: T5 l' I( O  ?
  1228. ;oci8.max_persistent = -1
      `5 a/ W  c6 h: C& |$ j' Z. r

  1229. 4 }# x4 D! d( G
  1230. ; Connection: The maximum number of seconds a process is allowed to
    7 @+ j! C! C! y0 T+ @. Y- `
  1231. ; maintain an idle persistent connection. Using -1 means idle( @$ l4 R6 J9 o* C$ W0 G
  1232. ; persistent connections will be maintained forever.
    : b- l# z- d. G" m
  1233. ; http://php.net/oci8.persistent-timeout
    7 M  `& M2 v9 T) j1 `/ d6 _
  1234. ;oci8.persistent_timeout = -1# k* U% g3 K3 f' t$ n
  1235. 1 n9 f$ B* m5 `: P
  1236. ; Connection: The number of seconds that must pass before issuing a
    - U5 G& r  E& W* t4 [& _
  1237. ; ping during oci_pconnect() to check the connection validity. When
    % Z$ ]" n. R2 [  g+ O
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 {, ^% p  ?5 Q. x# z1 y4 B1 ?
  1239. ; pings completely.
    : S3 x$ A2 e! \* q4 l9 Y4 e
  1240. ; http://php.net/oci8.ping-interval1 P" O1 d* L$ m; P2 h
  1241. ;oci8.ping_interval = 60: q+ ~- [9 v9 N$ L# i9 n

  1242. 8 ~, [) Z; O0 Y- B, `1 d
  1243. ; Connection: Set this to a user chosen connection class to be used
    $ M0 E. t" A$ s" H
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    3 t* L4 ~  {2 t: c* Q' S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to  \1 k. K2 k8 a5 l4 A& R: L
  1246. ; the same string for all web servers running the same application,9 q' @5 n2 a% M' Q+ M7 U
  1247. ; the database pool must be configured, and the connection string must
    ! U9 g- q/ d& r) ?9 a
  1248. ; specify to use a pooled server.
    0 O) _8 @! l/ O8 d/ D$ H7 s
  1249. ;oci8.connection_class =
    ' I& g1 U) J+ M3 t

  1250. & R5 n. v5 g5 x3 O7 D
  1251. ; High Availability: Using On lets PHP receive Fast Application
    $ x( U3 P/ y: ^
  1252. ; Notification (FAN) events generated when a database node fails. The
    ' Q0 N9 M" N1 W" k5 e! F& x
  1253. ; database must also be configured to post FAN events.- z" ]5 \% r2 U5 b: |
  1254. ;oci8.events = Off' B. _% @3 h' d+ E; V/ B$ n

  1255. # m6 m% U$ X/ ~5 y
  1256. ; Tuning: This option enables statement caching, and specifies how
    4 {$ E" \3 y# G& P- a; X
  1257. ; many statements to cache. Using 0 disables statement caching.: U' K# ]9 K" O: {* U
  1258. ; http://php.net/oci8.statement-cache-size
    ( P3 n$ v, ?) X
  1259. ;oci8.statement_cache_size = 20( U) d8 y4 a5 P
  1260. + d7 E0 I. u- k2 d/ G
  1261. ; Tuning: Enables statement prefetching and sets the default number of; d; n1 H9 b% F6 F' V
  1262. ; rows that will be fetched automatically after statement execution.
    . K) i1 v9 n0 \7 }* u' |+ U
  1263. ; http://php.net/oci8.default-prefetch1 @" K! p$ Z9 U. Y* x' y
  1264. ;oci8.default_prefetch = 100  v3 x9 k: ?* ~$ l
  1265. * w- v8 ^; v8 l/ n6 l) w& d
  1266. ; Compatibility. Using On means oci_close() will not close+ \& l, u# a' g
  1267. ; oci_connect() and oci_new_connect() connections.
    6 B% B' P, W; D/ W0 @" G5 U
  1268. ; http://php.net/oci8.old-oci-close-semantics
    3 Y! W2 M/ v0 `2 U
  1269. ;oci8.old_oci_close_semantics = Off$ c' r0 N  q! X* A4 i1 L* j
  1270. 2 f  z, J+ r8 h+ B8 `6 N
  1271. [PostgreSQL]
    2 e1 {' [/ k% F
  1272. ; Allow or prevent persistent links." y4 ^8 ^/ Z- p. Q
  1273. ; http://php.net/pgsql.allow-persistent) d; H: c6 ~; L: t/ a
  1274. pgsql.allow_persistent = On. P  s' u( A1 q* q3 o+ S
  1275. * V: G* W0 E+ w7 K
  1276. ; Detect broken persistent links always with pg_pconnect().
    8 z: n9 M" J) K/ M) A# V
  1277. ; Auto reset feature requires a little overheads.7 e' V2 k$ F2 p! x, k
  1278. ; http://php.net/pgsql.auto-reset-persistent' F* v# N, {' d1 B0 A
  1279. pgsql.auto_reset_persistent = Off5 m& k( R, R: O0 j

  1280. - h+ C4 w8 K1 p# g% A
  1281. ; Maximum number of persistent links.  -1 means no limit./ B. m! z, u/ U1 Y1 W/ k5 O4 D: p
  1282. ; http://php.net/pgsql.max-persistent
    ( G6 K0 I. {, A9 j% e
  1283. pgsql.max_persistent = -1& p; Y+ x: o; z0 q& t/ @

  1284. % l: N: x5 f5 k- _
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ J  M# ?" l, V% s' H2 x) M. }
  1286. ; http://php.net/pgsql.max-links
      j9 U/ g8 E9 ~$ \
  1287. pgsql.max_links = -1
    2 R5 t$ {% j3 L5 D
  1288. . o' Q3 G! @4 H& }) D+ e! b& n
  1289. ; Ignore PostgreSQL backends Notice message or not.
    2 H$ |4 V* |9 Y2 ?" y8 Y
  1290. ; Notice message logging require a little overheads.
    , u9 ~, T' G7 ?" X
  1291. ; http://php.net/pgsql.ignore-notice
    6 h6 h! O- X) Q; F' g
  1292. pgsql.ignore_notice = 05 P# J0 r9 E) D) \( j
  1293. , p8 E- o( V" O/ e( T5 q. u5 x
  1294. ; Log PostgreSQL backends Notice message or not.: ]1 B9 Q7 r3 `1 y# J
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.. M+ ]4 j2 p. Q7 s% u! k
  1296. ; http://php.net/pgsql.log-notice) ^: _0 Y+ }& C5 P6 i0 d' `
  1297. pgsql.log_notice = 0$ {1 N9 D5 s$ k5 T0 Y  t

  1298. % T1 r$ ]3 U# e: s+ v+ s- `/ d
  1299. [bcmath]. G1 M  M% i) J' t
  1300. ; Number of decimal digits for all bcmath functions.) v* E1 H) j- ^$ f7 Y
  1301. ; http://php.net/bcmath.scale
    1 p, s/ l1 m' _3 H1 U/ `3 \
  1302. bcmath.scale = 0
    + B. e$ e/ h; a, L8 T

  1303. % v. d7 d9 V+ q3 C) p
  1304. [browscap]
    ! R- j9 P! Q' i" @1 B
  1305. ; http://php.net/browscap; G# @  ^& Q& ?2 d1 c
  1306. ;browscap = extra/browscap.ini
    . C1 B+ V# @1 a: ]& X& C. Y
  1307. 0 I. O* Y7 z) ^# z% G. F! A
  1308. [Session]( J7 i; C1 r( o8 T2 E* n/ m! ^- O( \
  1309. ; Handler used to store/retrieve data.7 Q2 n* ]: L8 a" Z& e& x% u
  1310. ; http://php.net/session.save-handler
    5 M5 T5 O. Y5 @7 r! Y4 W) n
  1311. session.save_handler = files6 y8 m( B- S. Q

  1312. 9 ?* s3 v5 I; H. r1 u" }
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    / }+ B  G& B: _( h
  1314. ; where data files are stored. Note: Windows users have to change this7 C+ g+ [7 {1 T' }
  1315. ; variable in order to use PHP's session functions.+ k# A' a( ?, K3 I. s+ y
  1316. ;0 _! S( e9 k( {
  1317. ; The path can be defined as:0 [& |* S1 O7 G" y- W
  1318. ;
    7 U. F; k, D* C( T/ t
  1319. ;     session.save_path = "N;/path"
    - v6 \, k/ p" Q
  1320. ;
    " w. I/ x/ w, O/ _8 K
  1321. ; where N is an integer.  Instead of storing all the session files in
    7 K0 j: X; }! f* b. N2 e
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    $ j5 g2 T/ E5 g( f4 {; E0 r
  1323. ; store the session data in those directories.  This is useful if
    7 G" y$ L* ~: M3 w, C! r* [0 I
  1324. ; your OS has problems with many files in one directory, and is4 }3 }" |  _' A6 `/ x7 b
  1325. ; a more efficient layout for servers that handle many sessions.3 ]2 O! G  l& H
  1326. ;# O( A# C8 k0 `- S# `
  1327. ; NOTE 1: PHP will not create this directory structure automatically.% o$ I; ]- a- K" f
  1328. ;         You can use the script in the ext/session dir for that purpose.
    . p, g. ^0 X. D: ]+ X1 e
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    . K9 `3 x: k6 T( n0 q8 @- |
  1330. ;         use subdirectories for session storage5 \* K: j: |& X; `) c* [6 n+ ]
  1331. ;" D6 n1 C# N) s$ [: ^! p. V% ]
  1332. ; The file storage module creates files using mode 600 by default.
    , ~+ m! ]0 l4 W% A% T
  1333. ; You can change that by using
    ! B  s% f/ P* C. _
  1334. ;
    : j- E" c% F% e; x( i: T
  1335. ;     session.save_path = "N;MODE;/path". E; ~, i8 J1 P: L% P; W4 y0 e" b
  1336. ;
    $ I$ v7 @# |( j# \
  1337. ; where MODE is the octal representation of the mode. Note that this
    / N) A8 O- m* R9 }8 l5 L
  1338. ; does not overwrite the process's umask.# c1 F/ ?$ \8 I( l3 ^; v6 C
  1339. ; http://php.net/session.save-path$ u; q  u9 o; {$ g& K; G/ y
  1340. ;session.save_path = "/tmp"# z' g, m& e% `, |
  1341. / i0 d5 y" a4 C4 d. u8 A
  1342. ; Whether to use strict session mode.% f$ {8 s2 ?2 o3 T
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate" o7 t2 z1 a- {
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects# N& @. p- Q+ v3 a. L
  1345. ; applications from session fixation via session adoption vulnerability. It is/ j' E. H- \$ P3 V* F
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged., W$ M* b. b& p/ r- n, S: r
  1347. ; https://wiki.php.net/rfc/strict_sessions
    0 T, r1 d; ?* t8 N; s
  1348. session.use_strict_mode = 0: O8 `$ I& v. f4 D! {
  1349. , |& v, k% \/ X4 p
  1350. ; Whether to use cookies.
      W0 }' O. e/ L8 ]; o
  1351. ; http://php.net/session.use-cookies
    9 E. y9 g( ^& O( v
  1352. session.use_cookies = 12 U- G3 f( W# r4 f0 X$ ?& p* T$ t5 [

  1353. 9 e8 C3 n& j% M  f' f; b( j
  1354. ; http://php.net/session.cookie-secure
    5 ?  F. |; |/ _% F( E. }
  1355. ;session.cookie_secure =* N! C/ D( g  o* O# ?: e, s5 d

  1356. 7 e& K# c* p3 _
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    0 [& c4 v6 ?5 h: t; [/ _+ ?4 f8 R# ?- @
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    # X* J8 x) N" S+ M: z' ^
  1359. ; session hijacking when not specifying and managing your own session id. It is2 e$ G( `1 x5 h( P" T$ N$ I$ x: u1 ?
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % D2 G# U( h3 ~4 T: [0 v8 u8 G
  1361. ; http://php.net/session.use-only-cookies/ Z8 d5 j* e& Y; ~, c
  1362. session.use_only_cookies = 1
    # z9 O4 I# o9 C+ @
  1363. " ~( n8 q2 g. i5 R
  1364. ; Name of the session (used as cookie name).5 N, m; S* o9 t4 x( P8 k
  1365. ; http://php.net/session.name' j7 f3 S) q; ^3 ]6 i2 [3 W9 H
  1366. session.name = PHPSESSID8 Y% e/ C' D# R9 ^

  1367. 0 f% v. s" O  ^5 g1 R
  1368. ; Initialize session on request startup.5 m! R2 @- W) c9 [# Q
  1369. ; http://php.net/session.auto-start
    $ h/ @8 k# \6 h
  1370. session.auto_start = 0
    . ?9 t' N+ w& E% H0 X* L
  1371. * H3 p$ ~6 q0 \, @
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* @4 y4 y. V8 U8 x! y
  1373. ; http://php.net/session.cookie-lifetime
    % I1 @0 D6 I( V# k6 r, A
  1374. session.cookie_lifetime = 0
    4 p0 Y+ Q6 y7 M4 z" M* O1 V

  1375. 1 ?0 Z1 Z: A8 C$ i- M, \
  1376. ; The path for which the cookie is valid.' \2 h0 Q9 ?; Z, n7 k, B
  1377. ; http://php.net/session.cookie-path  c+ d7 r6 d  U3 o5 }
  1378. session.cookie_path = /
    5 k. d7 F- }. j' M" v) B
  1379. 7 z1 v2 }* A7 r) a& a+ F  s
  1380. ; The domain for which the cookie is valid.
    " v" g+ \- o3 B4 w( n9 @' C
  1381. ; http://php.net/session.cookie-domain
    + K3 x* `/ q# S  [* z
  1382. session.cookie_domain =
    : g, f4 U6 v3 e  e; X

  1383. . K' ~* X$ s  \7 A6 }
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.$ Q) U: ^5 ]; ]! z# Z! Z
  1385. ; http://php.net/session.cookie-httponly
    6 ^, f, d6 G4 y$ U
  1386. session.cookie_httponly =! g; p; \" q# U& I. a4 R5 G

  1387. ( J; T; W1 i7 `0 D) K3 @1 m
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.4 F* ?* n) ]8 j& t) M
  1389. ; http://php.net/session.serialize-handler
    : ~& ?4 @5 g; b  ?5 M) i6 m
  1390. session.serialize_handler = php; Q: E  c' Z, T0 M. ^
  1391. 1 ~5 k' w( c- z+ Z8 I( ?
  1392. ; Defines the probability that the 'garbage collection' process is started! P7 b/ d" N7 r! Y  h
  1393. ; on every session initialization. The probability is calculated by using
    : M! w, d1 d) L# z; K+ D* u6 g
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , ?+ P$ F5 a- T: n( M# C
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    / }) I# c' L9 c5 Q: w/ T# s
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# L) `7 {) Y; [# W; X5 G
  1397. ; the gc will run on any give request." v' f2 _1 e7 N- ~3 K
  1398. ; Default Value: 1# M4 H6 Y: z- K. A. O# l
  1399. ; Development Value: 1
    ' F5 n" `" Z0 a( f" o2 T
  1400. ; Production Value: 1
    6 A4 c& O* R0 u: Z; Z8 I& ]! Q
  1401. ; http://php.net/session.gc-probability1 L5 m8 ?% A3 {( e/ w; ?* Z' T: N# ]
  1402. session.gc_probability = 1* k/ @, I. Z* [7 n3 z" `$ c

  1403. ( z  {3 A: t" O3 K. g& w
  1404. ; Defines the probability that the 'garbage collection' process is started on every
      A9 h, d: U5 m+ h- D2 ^/ r, o- b1 ]
  1405. ; session initialization. The probability is calculated by using the following equation:
    # l4 f& k8 y/ d/ g+ \6 B" L  u
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ( Q" j- a% h0 U6 K
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 ]1 v" y+ T! S2 X) t. O) y
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 S& ?2 C, |* J% g! R( P( E- |
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you- o3 ]0 a$ Y4 T3 d! R3 `
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,+ P- q- I2 B" {5 r* S0 ]/ b* `! Y3 I
  1411. ; this is a more efficient approach.
    & R* @/ e2 i% o
  1412. ; Default Value: 100
    # q. @4 J: O0 r' f; d. Z. Q+ |  C
  1413. ; Development Value: 1000
    5 l# u3 ?; X9 p: F
  1414. ; Production Value: 1000
    * d& D  R8 W8 O" I
  1415. ; http://php.net/session.gc-divisor
    6 I+ u7 |& {/ C, x( C. c) w
  1416. session.gc_divisor = 1000" n. b+ P6 L' a6 }+ d8 o
  1417. # u2 W* \8 Z7 o6 Z8 X( ^3 @4 O
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
      i7 \6 `! r1 K; a
  1419. ; cleaned up by the garbage collection process.
    7 s9 u- h, _# R/ D0 M" H
  1420. ; http://php.net/session.gc-maxlifetime
    6 s! i; A/ |+ m* u
  1421. session.gc_maxlifetime = 1440
    4 c6 j! i! D, |5 J8 j6 D
  1422. * ?- ]# M: W; K$ a
  1423. ; NOTE: If you are using the subdirectory option for storing session files# O$ h1 T/ D3 C
  1424. ;       (see session.save_path above), then garbage collection does *not*
    # c; d" a, S' ]
  1425. ;       happen automatically.  You will need to do your own garbage+ k3 \$ A+ ?3 Y
  1426. ;       collection through a shell script, cron entry, or some other method.- S. S+ L8 X; L8 _
  1427. ;       For example, the following script would is the equivalent of
    - n. {& L% T5 V) Z0 [$ N$ R
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):) V  s. h$ O  P
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm+ _# P7 i+ M& L5 e6 f1 L" S$ b
  1430. 3 D# i. l3 O8 U: N
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.' \# t& T8 k4 T: ]) y
  1432. ; HTTP_REFERER has to contain this substring for the session to be+ s) S# t# d) e7 x1 g
  1433. ; considered as valid.
    ( V9 G$ X9 {1 v8 G+ t5 v
  1434. ; http://php.net/session.referer-check6 {8 |9 U/ |3 Z7 m: K
  1435. session.referer_check =
    * I. H5 {/ ~# {" n. f5 m6 \( Z5 N) R
  1436. 1 f1 |- A2 ]6 m8 Y( N+ c
  1437. ; How many bytes to read from the file.8 M' Q1 K; }. j+ y( Q( p: h
  1438. ; http://php.net/session.entropy-length
      p+ j7 M7 E* H/ D! t& ?
  1439. ;session.entropy_length = 32
    2 M1 E, ?) z8 O9 a
  1440. ' ~1 F1 R2 v1 i- ]
  1441. ; Specified here to create the session id.+ R+ z- R! J) k# B' g
  1442. ; http://php.net/session.entropy-file! a6 D: H& i% ]
  1443. ; Defaults to /dev/urandom: @. r* Q, ]# Z- k# p
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom; n0 d- E, O" l* @, H
  1445. ; If neither are found at compile time, the default is no entropy file.
    + J  y7 e6 g  h% G! |$ X
  1446. ; On windows, setting the entropy_length setting will activate the
    , ]) I: Z( h  E! b
  1447. ; Windows random source (using the CryptoAPI)* W! F& g  d0 Q/ d& v* E" a
  1448. ;session.entropy_file = /dev/urandom( D& V  g" f/ a. o1 `4 t" X
  1449. ! F  s/ e, \- S3 p
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects0 T1 K$ k# t9 y- Q
  1451. ; or leave this empty to avoid sending anti-caching headers.8 g3 n- j+ B# H2 F. G
  1452. ; http://php.net/session.cache-limiter; ?9 S7 ?6 Y( V% L- m
  1453. session.cache_limiter = nocache
    / T( r" q" p* P. c5 h  _$ @5 W& f( J; Z

  1454. / g& I/ O2 f5 M8 Y6 c; Y3 S: ]
  1455. ; Document expires after n minutes.
    ' _4 t, A6 a8 j& y: k. F5 g+ e
  1456. ; http://php.net/session.cache-expire
    8 K8 B1 P8 k5 N, y
  1457. session.cache_expire = 180
    % s! g+ T+ g" Q  [8 N; b& i3 y
  1458. # o$ j9 ^, @; r# {+ |5 o% P& ?. R% r
  1459. ; trans sid support is disabled by default.' R4 I, ?9 D& C' ?' b
  1460. ; Use of trans sid may risk your users' security.
    & ?2 ^' Q: R  ]" q" n" p; i/ }
  1461. ; Use this option with caution.2 M1 O% o7 V4 N; H2 |9 o) ~, N
  1462. ; - User may send URL contains active session ID! G# @# Q0 c9 d
  1463. ;   to other person via. email/irc/etc.# M; k/ x& j6 `
  1464. ; - URL that contains active session ID may be stored6 y1 J  _, |  p$ P
  1465. ;   in publicly accessible computer.
      A7 g# q: \+ ]6 q% [( }
  1466. ; - User may access your site with the same session ID
    4 A: c- e6 [8 n2 k/ c1 U1 j
  1467. ;   always using URL stored in browser's history or bookmarks.9 p6 v" E( R' G* t$ O
  1468. ; http://php.net/session.use-trans-sid$ `0 W6 x: i1 n8 V* J6 i5 a
  1469. session.use_trans_sid = 0
    7 D+ w! k. h2 S5 P& A& q& }
  1470. 3 C- l4 E( G7 `' C* w2 D3 e
  1471. ; Select a hash function for use in generating session ids.- o# P/ [" Q/ R  l
  1472. ; Possible Values; W" @1 p) z9 ]6 Q
  1473. ;   0  (MD5 128 bits)) i5 ~; X2 r1 A2 x* _' b5 Q
  1474. ;   1  (SHA-1 160 bits)
    8 j$ a. w3 r' U* g
  1475. ; This option may also be set to the name of any hash function supported by
    , Q' k3 H3 ]( o$ h4 j3 G4 J
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    5 J7 J% R8 |. C8 O$ |8 X
  1477. ; function.
    9 x" V  k) m4 x
  1478. ; http://php.net/session.hash-function: y0 w  Y) L  x  A% ?4 ~8 l0 s6 T# o
  1479. session.hash_function = 0* L7 Y1 w' J. i8 W, G
  1480. 3 N8 B/ I4 `. x8 b+ a0 p
  1481. ; Define how many bits are stored in each character when converting
    + F$ _: p- U" x2 D* f5 E! `
  1482. ; the binary hash data to something readable.3 o4 E/ E: N& w8 a; M/ g- H
  1483. ; Possible values:$ d2 @9 O! }) D; ?5 b) G  z
  1484. ;   4  (4 bits: 0-9, a-f)
    6 k: L3 v# J( Z
  1485. ;   5  (5 bits: 0-9, a-v)
    9 Q( h- x  d1 m" t, E' i
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")' _- J: H1 `: C$ e# w0 Q5 G
  1487. ; Default Value: 4; W1 F0 P' n# \" x9 A. d, _
  1488. ; Development Value: 5- E- q1 u; _3 b: o
  1489. ; Production Value: 5
    6 K+ y# u* Z" @; h" ^
  1490. ; http://php.net/session.hash-bits-per-character3 ^/ {% t' L- i1 \0 z# Z3 |3 [* U
  1491. session.hash_bits_per_character = 5
    7 p$ t" a" `) X6 a; h4 ~* e2 ~$ |
  1492. 3 h9 Q: M% L1 d% S
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    3 `8 l/ \' R  S/ a/ h! U4 Q
  1494. ; form/fieldset are special; if you include them here, the rewriter will8 A% d  x; g2 l; m! J
  1495. ; add a hidden <input> field with the info which is otherwise appended
    1 w* W* F* Y  a# H$ K
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    # X5 @* w, t2 G7 o
  1497. ; Note that all valid entries require a "=", even if no value follows.$ [* r. E! {, e5 ~; v
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' S  P, Z0 o; Z1 {
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 ~  A- G6 X0 p( E5 ^. [6 o
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % X) ?( I/ U: {& A6 D
  1501. ; http://php.net/url-rewriter.tags
    % i  f& n- P) i* [( I
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". B3 x( T4 n' {1 W# L5 h

  1503. 2 |% b+ j+ h1 q3 D. Y
  1504. ; Enable upload progress tracking in $_SESSION
    0 F+ x: [. W, K# x! H  `
  1505. ; Default Value: On; G6 t# x  f7 j! [# t8 J8 V
  1506. ; Development Value: On
    # d" \- a  Q3 X* G
  1507. ; Production Value: On
    $ y  S2 A. i  v4 E3 S
  1508. ; http://php.net/session.upload-progress.enabled
    5 s* R# W* L1 r' q" v* w$ R
  1509. ;session.upload_progress.enabled = On
    ' |5 J  J# H4 K4 Q; f0 g
  1510.   y! ?+ K* K) i9 Y" `
  1511. ; Cleanup the progress information as soon as all POST data has been read
    3 y5 e/ ^8 Z2 _; w$ H8 K) U, F& c
  1512. ; (i.e. upload completed).! e( t: W  g* _5 B5 C
  1513. ; Default Value: On
    * R9 [0 }1 G: _3 n4 y7 w8 O
  1514. ; Development Value: On# U9 c% z* L% j8 P2 Q
  1515. ; Production Value: On3 Y/ K: j) i- D! P7 h! S5 q; t
  1516. ; http://php.net/session.upload-progress.cleanup* N9 v& `7 v4 K( g. {
  1517. ;session.upload_progress.cleanup = On/ ?" g, `  s$ z; m' D

  1518.   L* [" Z7 ?9 X( j9 ~  L7 k& \) J  n* e
  1519. ; A prefix used for the upload progress key in $_SESSION& e* u. C$ v7 ]' h% N
  1520. ; Default Value: "upload_progress_"
      c% G) h2 U" T3 m
  1521. ; Development Value: "upload_progress_"/ y7 y$ U0 e; K0 h9 M: ?
  1522. ; Production Value: "upload_progress_"
    & x' G6 z' D+ D0 Z
  1523. ; http://php.net/session.upload-progress.prefix
    $ x5 P0 r7 n) [, I3 e2 f
  1524. ;session.upload_progress.prefix = "upload_progress_"
    1 _' ~# `8 i% t

  1525. ! v$ u- j" z5 m; P# u6 p
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ( Z0 \( r; W) k0 h' t* ?' y
  1527. ; containing the upload progress information
    1 V0 Q4 d8 K+ p. e: U5 p
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' }' w4 e. ]+ `) b( g" l3 i
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# D! E# W9 _6 f0 ~( q: k; X
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' K" r- X! i8 ^( Q" E5 u0 Q
  1531. ; http://php.net/session.upload-progress.name
    7 t3 _5 ^2 }+ ^; z& a7 P8 R/ l
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    3 z. B2 `/ X6 n) ~1 v4 r
  1533. 1 J* @) J( m. Y3 e3 h
  1534. ; How frequently the upload progress should be updated.
    / n) ~: Z: b+ F) @
  1535. ; Given either in percentages (per-file), or in bytes3 V2 T* @9 g0 A' a0 L4 W
  1536. ; Default Value: "1%"
    ; N% C  `5 R9 F' P+ W/ G
  1537. ; Development Value: "1%"
    6 F, S9 H. q! E6 g8 t
  1538. ; Production Value: "1%"
    / i" ~/ C- C' U7 e" |4 K
  1539. ; http://php.net/session.upload-progress.freq
    ' m* A2 d  \7 b: `$ n9 F
  1540. ;session.upload_progress.freq =  "1%") O+ D- O  E: ^! ?' K/ `
  1541. 6 C0 z  n+ M* P  x! u
  1542. ; The minimum delay between updates, in seconds& `9 `( \- Y9 R3 p0 l! \! U: Z
  1543. ; Default Value: 1
    - p5 [) a) G# [* x, M
  1544. ; Development Value: 1  u0 P5 k! d% ]# y
  1545. ; Production Value: 1
    & S6 h1 o. E" m8 R) W0 h2 T
  1546. ; http://php.net/session.upload-progress.min-freq
    & d# r; n) q+ d1 L8 D. n; s
  1547. ;session.upload_progress.min_freq = "1"; q9 E2 T9 M/ p3 |# V3 z7 _
  1548. # D) b' X+ f( \2 {# y2 _' z' O
  1549. ; Only write session data when session data is changed. Enabled by default.
    7 H# I( t/ ]" M1 T7 t" b# x! P
  1550. ; http://php.net/session.lazy-write
    : q$ e; \& U! i: S$ I5 A! O
  1551. ;session.lazy_write = On2 J2 N& q7 r8 z8 }! o- \# D
  1552. ) o' l6 Q$ n6 P4 D3 ^
  1553. [Assertion]
    + C% ]& S1 W5 s6 M8 U
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)9 f7 h) p7 y- b: T) k' X
  1555. ; -1: Do not compile at all
    0 e4 L& v+ l/ _( Y2 j- t
  1556. ;  0: Jump over assertion at run-time
    1 V- h  L5 i) a2 l3 v3 }0 f
  1557. ;  1: Execute assertions
    ' Y  J0 N  l( H) P+ ]  Z. a
  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)6 z$ n  H4 v2 ?2 U& I
  1559. ; Default Value: 1, Z* ]1 ?! d6 ^& Z- V8 W3 k
  1560. ; Development Value: 1* a$ R& u) [5 M! p5 _4 G
  1561. ; Production Value: -1$ _6 ?% J$ N+ G- ~# t( ]2 p
  1562. ; http://php.net/zend.assertions: Q( }6 h6 [( D; [" Z+ |. H) {- s
  1563. zend.assertions = -1# n0 m: g* T+ `, `) n/ R" y

  1564.   m8 a; M9 t- J+ w, u8 U' e
  1565. ; Assert(expr); active by default.
    , s  H* W4 [7 N- W: b
  1566. ; http://php.net/assert.active+ j2 `- I% s7 e: g
  1567. ;assert.active = On( m: o, E5 Q) Q

  1568. 8 B) p; q% w/ }) C' t) Z# ^" S, v+ \
  1569. ; Throw an AssertationException on failed assertions
    ' p) U8 Q. z& U1 f; X
  1570. ; http://php.net/assert.exception
    9 o" h- N; M' E( R5 C8 n8 D# f( F
  1571. ;assert.exception = On
    / Q2 C( o& @# X
  1572. % `6 r+ M: i' }
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)7 Y8 O/ g* C  K2 c1 u- }* Q- p- E8 [  Q
  1574. ; http://php.net/assert.warning
    , ]+ l4 e1 B& H8 N/ y3 t
  1575. ;assert.warning = On
    $ U3 R" v+ T& f  m+ E7 [" o
  1576. 1 n1 _( L/ j6 v! n8 w
  1577. ; Don't bail out by default.
    # D$ |8 p+ D+ Y- u5 M1 ^. C6 U% G, g
  1578. ; http://php.net/assert.bail
    4 |8 {; B" h0 L3 |7 j
  1579. ;assert.bail = Off5 Y. R* q) f  [+ @/ K' x# `

  1580. ) E# n, W- T9 N3 c) P3 J- t+ ]
  1581. ; User-function to be called if an assertion fails.
    ( ]$ G3 W) O$ J0 ^
  1582. ; http://php.net/assert.callback
    + @# c7 [9 {# |* s( h& [
  1583. ;assert.callback = 0  y( J2 ]) H1 o: a# n
  1584. 9 c9 O/ c1 c4 P. e
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    1 u5 X! W! `; }1 m  n9 m
  1586. ; error_reporting(0) around the eval().
    1 N2 x4 M9 F- b- f3 m% d; m) F
  1587. ; http://php.net/assert.quiet-eval
    . u1 i" K7 P2 U' G: E$ P9 f( O
  1588. ;assert.quiet_eval = 0+ _; W" A2 K6 x+ |2 v( R1 O1 Z) B

  1589. . w, {' G* e: S& ?* h
  1590. [COM]
    / \, k$ Z- K, B- z8 Y1 v) f7 Y9 K
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 v) g1 C; j/ q4 K9 m
  1592. ; http://php.net/com.typelib-file' n' O9 u1 c; p! ]8 ^7 {8 s, y3 |- U8 O
  1593. ;com.typelib_file =
    6 n, j2 ~: V; Y) a# |/ W, x
  1594. / f" }9 D0 D& t, N* l
  1595. ; allow Distributed-COM calls
    + O! h0 H1 @( ~% e, n0 y; t, T
  1596. ; http://php.net/com.allow-dcom
    " j$ P) x) M1 N% C
  1597. ;com.allow_dcom = true
    " ?5 D0 H1 D6 L

  1598. ) V% l; _) ~6 R
  1599. ; autoregister constants of a components typlib on com_load()
    ) L1 Y" J9 y) ~6 V" e
  1600. ; http://php.net/com.autoregister-typelib1 `" {8 g1 j: h( {5 H
  1601. ;com.autoregister_typelib = true4 G" ~. H, x- W# x% m8 d8 O; }
  1602. + D+ k) f9 C( d$ {* B' h2 n3 h
  1603. ; register constants casesensitive, l& n* g# }! ?
  1604. ; http://php.net/com.autoregister-casesensitive+ U# ], e3 C0 N+ n+ L6 q, T
  1605. ;com.autoregister_casesensitive = false
    3 u) I' _$ G& h; r- f2 G+ D
  1606. : R  E3 h* b! C' b# ]
  1607. ; show warnings on duplicate constant registrations( g5 {( ~8 l+ V0 G( V
  1608. ; http://php.net/com.autoregister-verbose2 A& r5 R4 W6 m& }# l! l# Z
  1609. ;com.autoregister_verbose = true
    1 T, N0 T- `+ e  X$ w# o9 q2 b

  1610. # [7 _" d: m+ K) F3 F% n9 d
  1611. ; The default character set code-page to use when passing strings to and from COM objects.1 D/ ^& a0 c# }/ D( W1 e
  1612. ; Default: system ANSI code page
      k; |+ j1 D, R# V  _+ w
  1613. ;com.code_page=6 b& G3 N: z6 n% \. O
  1614. $ Q! @- Y, x& k
  1615. [mbstring]
    - ~8 b+ J/ C  p: U- {$ Z% m, P
  1616. ; language for internal character representation.
    . b+ C& I, g) S) f% N& e
  1617. ; This affects mb_send_mail() and mbstring.detect_order.& j! z/ U* Z8 t" z0 I, V1 H$ X
  1618. ; http://php.net/mbstring.language
    " u( Y" l  Z% N6 g
  1619. ;mbstring.language = Japanese# y1 E4 U5 f) ~/ x2 F

  1620. ; l" |! u* k$ U  Z. n  P! q
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 l2 d1 W! W% B( a
  1622. ; internal/script encoding.
      k7 z. {6 C8 G8 T
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 z( t3 G7 Z+ N/ N4 p# @
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& n; C3 W( M" L3 K8 E9 X
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % W. Q: y% v. Z6 b1 Y0 L* k8 F
  1626. ;mbstring.internal_encoding =
    : X. v9 W( l; I$ k

  1627. , Y& C8 e) A- R, @' v/ k2 o
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * A, L5 e9 M: Z4 G% t7 I
  1629. ; http input encoding.3 ?, ]  l( {! h
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.6 B4 i8 H& W6 U0 L' N# R) E
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.# P+ b9 a7 I6 z8 Q7 X5 w/ f
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ( X2 t/ K' H5 j1 q! ?
  1633. ; http://php.net/mbstring.http-input
    " X) M) K# [8 Z7 A" e9 C
  1634. ;mbstring.http_input =% ^8 l1 ?$ a5 J# p+ A- J3 f( s; O
  1635. ( }' \2 Z6 _. ]3 @! g9 Z
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' e' g# `8 }* X* @% v0 A6 H( C
  1637. ; http output encoding.$ @- w- E' Z7 T8 o2 L7 g
  1638. ; mb_output_handler must be registered as output buffer to function.
    / W3 x4 H: ~* w2 K
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used., r# A5 {' s# m* N4 S0 A) Y
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output8 C4 s: k! w. O7 E. J/ C
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    5 Q5 {+ V- B. A4 L
  1642. ; otherwise output encoding conversion cannot be performed.7 u8 z# p; v4 ~' A0 i
  1643. ; http://php.net/mbstring.http-output
    6 {! d2 n) S7 e& _" c. Q- I: X
  1644. ;mbstring.http_output =7 J- Z) M' K% t5 N1 i
  1645. 6 C. v% @- G5 m) C
  1646. ; enable automatic encoding translation according to
    , @! g) f" y4 L$ o4 U& j
  1647. ; mbstring.internal_encoding setting. Input chars are: Q2 G1 L4 ^' d) @2 Z) l
  1648. ; converted to internal encoding by setting this to On., Y  A$ D+ L/ H/ e8 w$ k/ R3 P
  1649. ; Note: Do _not_ use automatic encoding translation for
    ' B- f. n4 ^: K* P; v
  1650. ;       portable libs/applications.5 Q% i) [) j4 d- M' |" P
  1651. ; http://php.net/mbstring.encoding-translation
    2 @+ {. b# p' O' |7 [3 G
  1652. ;mbstring.encoding_translation = Off5 _4 a, ?. \- Y/ y& I0 c
  1653. # }+ P. m  j$ R$ q* h; ~6 Y" Y; U" B% u3 e
  1654. ; automatic encoding detection order.6 g- y; C2 q7 K1 \% w  h8 T
  1655. ; "auto" detect order is changed according to mbstring.language* T8 v6 i! t% }
  1656. ; http://php.net/mbstring.detect-order
    ' Z& E) W3 i) e; R; A# x% }4 W8 c
  1657. ;mbstring.detect_order = auto
    9 Y% V( A, g$ V' m$ B
  1658. 3 P: ?7 f( M; {& J" ~4 z* I! Y9 n
  1659. ; substitute_character used when character cannot be converted/ s% N  s; I6 ~/ \! v' i
  1660. ; one from another
      }) k2 @9 r2 `' ]0 ]
  1661. ; http://php.net/mbstring.substitute-character
    . v6 [, T$ h2 Y6 M$ |- z% J5 {
  1662. ;mbstring.substitute_character = none$ ?; s5 U3 ]% p! j2 W! l0 c( d# Y$ Y

  1663. 5 I6 Y' c1 X1 F9 f
  1664. ; overload(replace) single byte functions by mbstring functions.
    , Y+ ?* d, l- @
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % I$ p( s1 n* p
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.# ~/ Q8 ?9 M& P# s3 l
  1667. ; For example, 7 for overload everything.
    3 M+ J% t& E3 D. m- W; n1 q4 A' d
  1668. ; 0: No overload4 b1 u- L+ a. c7 j7 \% J9 F3 a
  1669. ; 1: Overload mail() function
    - @7 J- r0 [0 V" m7 Q! N- u2 y
  1670. ; 2: Overload str*() functions
    % l/ P2 l3 G9 q: a: m2 K. ~
  1671. ; 4: Overload ereg*() functions7 ^" g* |: {  W5 M( O9 ^/ e
  1672. ; http://php.net/mbstring.func-overload1 E: @. \& j0 Z' n  o: j
  1673. ;mbstring.func_overload = 0
    6 r- Y1 ]+ B/ @+ f9 i

  1674. : e+ x$ Z1 C3 O' f* G3 W4 A
  1675. ; enable strict encoding detection.* J9 S1 Q( l1 {/ q0 X
  1676. ; Default: Off2 I7 y6 i# i. J0 [
  1677. ;mbstring.strict_detection = On
    4 v- d7 m$ D* q% A9 P8 E2 J: r, X
  1678. $ y! \& |$ [  x1 l+ i2 r
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()& h% F% [! r6 _. Y; l
  1680. ; is activated.
    ( T9 E; h, x* ~
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    0 v" A' o( C2 W3 F# p8 V
  1682. ;mbstring.http_output_conv_mimetype=
    3 }( ~1 P4 S7 N* }$ O

  1683. 5 _/ @. I8 `1 u4 F% g4 q
  1684. [gd]
    ! G! R8 }& K0 `* D3 }
  1685. ; Tell the jpeg decode to ignore warnings and try to create. z# v( P8 K8 J
  1686. ; a gd image. The warning will then be displayed as notices
    , L6 \( e8 ^& I  c  E: t7 _
  1687. ; disabled by default  p8 D/ K& \$ `8 A8 p1 s$ ?  U. C1 e& n
  1688. ; http://php.net/gd.jpeg-ignore-warning6 b4 J, z+ |* S; J
  1689. ;gd.jpeg_ignore_warning = 0
    . I1 g+ ~1 r7 ]  M

  1690. 2 m1 P/ n& }2 V% |
  1691. [exif]' ?8 t; O% g8 \% T5 a7 A- w6 f
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    , b6 D$ R6 U4 M! t3 @* t
  1693. ; With mbstring support this will automatically be converted into the encoding: B. }/ k' A5 C. o- _2 Y7 }) m
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    $ M! F- [" `8 D9 E6 L3 T
  1695. ; is used. For the decode settings you can distinguish between motorola and1 j; f( q4 B' E, G" m
  1696. ; intel byte order. A decode setting cannot be empty.
    3 U8 G4 P5 e9 F2 z5 z
  1697. ; http://php.net/exif.encode-unicode; _/ K9 G* y4 u1 k) Y
  1698. ;exif.encode_unicode = ISO-8859-153 g3 s  q6 h$ }+ a0 W0 R
  1699. 3 X6 ~% L+ f; ~6 W. i+ C' L
  1700. ; http://php.net/exif.decode-unicode-motorola
    5 q0 a' ^3 L; H; k
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    & n% N; Q+ l: f0 j  ?
  1702. : m2 r+ W/ A7 s- p/ D# i  J% b
  1703. ; http://php.net/exif.decode-unicode-intel  s" Y1 ~4 m: }2 F8 a5 g
  1704. ;exif.decode_unicode_intel    = UCS-2LE2 Y5 p0 ]; w# b  W* J. x7 V

  1705. 2 A& Y: c' F$ l+ a8 _* U4 }4 `" Z
  1706. ; http://php.net/exif.encode-jis
    1 |( L9 Y2 o1 K1 ^+ M# j, Z
  1707. ;exif.encode_jis =" I+ F. Q# q" W9 B
  1708. : @$ a/ u8 ?6 w4 a
  1709. ; http://php.net/exif.decode-jis-motorola, r- L& Q- m2 p' v1 a9 X
  1710. ;exif.decode_jis_motorola = JIS! m% h4 i; B. `; @

  1711.   V; K8 k; S3 ?
  1712. ; http://php.net/exif.decode-jis-intel0 Y( V* O: z5 f" L8 e& ^
  1713. ;exif.decode_jis_intel    = JIS* E' S3 J' }" g

  1714. & Y( ^/ A4 A( ^( I3 [
  1715. [Tidy]
    6 ^+ d) R' @+ p
  1716. ; The path to a default tidy configuration file to use when using tidy, I3 K1 L$ p( i! x
  1717. ; http://php.net/tidy.default-config
    5 j1 }% W/ \7 ^, s. ^3 `
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg; e7 F% N; G& x
  1719. 3 p, i0 E! f! B6 I3 e
  1720. ; Should tidy clean and repair output automatically?
    8 i5 ^* U# W0 i- Y
  1721. ; WARNING: Do not use this option if you are generating non-html content
    : x/ `# f7 G# _) S' V
  1722. ; such as dynamic images5 _; n+ s" |3 d9 F' m* j
  1723. ; http://php.net/tidy.clean-output
    5 t) ?+ P9 D' H
  1724. tidy.clean_output = Off
    " ^( ]0 D, W( [  X; f' U" W

  1725. * T. E3 I/ T1 a6 h( k$ [; ?
  1726. [soap]( }* w' X2 y0 _% k8 P: `1 h
  1727. ; Enables or disables WSDL caching feature.
    - q3 ?( H% w8 G0 c& [
  1728. ; http://php.net/soap.wsdl-cache-enabled* V8 M6 i( z, G6 x: _3 s5 `  ]
  1729. soap.wsdl_cache_enabled=1* D, M6 F' p  V, y; Q

  1730. " L# _5 y: r! S( Q
  1731. ; Sets the directory name where SOAP extension will put cache files.. Z) y9 K3 f$ Z  j0 a4 L; O
  1732. ; http://php.net/soap.wsdl-cache-dir1 ^8 w2 E* J3 W
  1733. soap.wsdl_cache_dir="/tmp"
    : A/ E2 m: e: v4 \' t6 C
  1734. ( s2 I% P* s- ]. T; z
  1735. ; (time to live) Sets the number of second while cached file will be used
    / m3 u8 w% E6 W* |
  1736. ; instead of original one.4 d! [2 ?. P- ]6 I2 P
  1737. ; http://php.net/soap.wsdl-cache-ttl3 H: Z/ B1 H3 \
  1738. soap.wsdl_cache_ttl=86400
    8 D% t! J* _+ o; O. a

  1739. 7 B- ?6 u; Q* S* R: d6 u
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 N1 |+ K# [. m3 S$ Y- x
  1741. soap.wsdl_cache_limit = 5* r! {: x2 h% P7 S  G& f" P. H2 T* b

  1742. : a. v4 W" J7 G# V- b" k2 }& _' s, U4 A
  1743. [sysvshm]
    8 H3 o+ L7 p  e, B3 T
  1744. ; A default size of the shared memory segment
    6 Y/ U5 v  i/ G, S. a
  1745. ;sysvshm.init_mem = 10000( I7 a. H. u1 O7 f0 C3 d

  1746. " Y$ w. S  t0 d4 F$ R8 e; Y
  1747. [ldap]/ Y$ \" B6 ?' Z1 s& I# V
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    - x0 v9 V+ Z( r- H# Z4 T
  1749. ldap.max_links = -17 {4 c; y% {- m+ q& [& a2 A  J
  1750. 2 L/ n1 l  g- U& G
  1751. [mcrypt]
    * A( m# P7 y/ n" k
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open+ t4 G. n' V' K$ L
  1753. # H! ]3 K  t; p* n
  1754. ; Directory where to load mcrypt algorithms
    ! e+ f: L* U8 O
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 y6 X. a/ J  I9 `" z/ [# l
  1756. ;mcrypt.algorithms_dir=
      {+ H$ [/ Z' d* g& ]

  1757. ) Y. k" i- E+ M. f* d% W7 \/ U7 ^! C
  1758. ; Directory where to load mcrypt modes
    ; R) W% f5 K0 X2 g
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( l% M5 @( t8 h3 V7 e# f& y
  1760. ;mcrypt.modes_dir=
    5 W; x, u) e, q

  1761. 3 E/ ^" S9 x7 ?  y& r  W2 Z' a- s
  1762. [dba]( ]* P$ E. o4 l& q* m
  1763. ;dba.default_handler=
    . s0 e+ Z, k) R6 i; j2 x
  1764. 1 t$ p0 A) a; o2 m" y, B
  1765. [opcache]' L" H8 h2 y; Y
  1766. ; Determines if Zend OPCache is enabled3 b7 l: Z- Z- P9 D2 q2 P( l' T( n
  1767. ;opcache.enable=04 X2 Y0 U3 H) h# M( K* }
  1768. , H( F5 d. _% }% @. q
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 Y9 }& V4 _9 t* }4 K' \6 B$ x
  1770. ;opcache.enable_cli=04 u9 D. j# T4 w4 r  w

  1771. $ R" I) _, I' h4 f% z2 I
  1772. ; The OPcache shared memory storage size./ w* N  I5 t0 V% s' _/ L
  1773. ;opcache.memory_consumption=648 L3 C( Y. q9 D) @
  1774.   I0 _: S/ D% O% R$ A) N
  1775. ; The amount of memory for interned strings in Mbytes.! u; _4 V, a' l  C" D
  1776. ;opcache.interned_strings_buffer=4
    ( q7 k0 f6 g/ A; Q7 k! P1 p
  1777. ! a/ S* @! w; ^7 j
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.1 b) T  r0 L% ^3 l8 k  S. q  O, ^: z8 M
  1779. ; Only numbers between 200 and 1000000 are allowed.4 h  `, y& `8 v3 Z
  1780. ;opcache.max_accelerated_files=20003 \# n) P6 g* I$ l. G
  1781. , `. u) h  F2 o9 Y4 ?
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.: C" R* s! w& M5 p: C2 l
  1783. ;opcache.max_wasted_percentage=5
    3 K: [9 A" N0 E  e0 d& `
  1784. " ~% x4 d% Z. B5 x" W+ Q+ V
  1785. ; When this directive is enabled, the OPcache appends the current working- v/ u& |% z9 M% b
  1786. ; directory to the script key, thus eliminating possible collisions between( i" d. E, M! r6 I) u/ [
  1787. ; files with the same name (basename). Disabling the directive improves. n5 Z; ~& @7 b( m5 f+ A
  1788. ; performance, but may break existing applications.4 i) d9 i1 f/ L+ v5 M* e  l
  1789. ;opcache.use_cwd=1; d, T; Y8 f" W1 N0 {  g
  1790. + `# D* d# z9 C5 a, l: B
  1791. ; When disabled, you must reset the OPcache manually or restart the( X3 d, B) \  g* c% h: M( K% D
  1792. ; webserver for changes to the filesystem to take effect.
    9 X! @  a& n# l0 M' U
  1793. ;opcache.validate_timestamps=1# V+ V: c9 f, x% o( H

  1794. , H1 s8 }# o, F& n7 A) m6 q9 k
  1795. ; How often (in seconds) to check file timestamps for changes to the shared% E# T+ B: }+ F
  1796. ; memory storage allocation. ("1" means validate once per second, but only- c' {7 a0 o1 @, Q
  1797. ; once per request. "0" means always validate)
    $ S4 q" C8 V# g# z
  1798. ;opcache.revalidate_freq=2# f( h% V8 y4 q/ \
  1799. ; {* G8 c. R) _& Y
  1800. ; Enables or disables file search in include_path optimization7 N  B: x9 F6 o: A
  1801. ;opcache.revalidate_path=09 u; k' m  m% S% g/ o, {

  1802. 3 h% {! a& e) [, w) M. A
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * C5 ?9 G: {8 k- e  ~& n' O- a
  1804. ; size of the optimized code.1 h5 O( }7 @1 F
  1805. ;opcache.save_comments=1
    0 d3 Z( a6 H0 f
  1806. . ], m( N7 Y& c5 z6 I0 @$ N+ ]
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code* ]9 x  u$ E: R0 e. P2 Q
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    8 N) y7 c; @0 \# h8 N5 G) L
  1809. ;opcache.fast_shutdown=0+ w# I  c) s0 U/ ~1 V( }9 Q# X% [
  1810. + r3 t% a/ `. D4 e
  1811. ; Allow file existence override (file_exists, etc.) performance feature.; U8 e0 d& X5 n3 N! }8 e3 l, A
  1812. ;opcache.enable_file_override=0
    1 N( H1 @0 g0 Z* `1 l+ g3 {; ?. @

  1813. * _; h: n6 k. X5 a; H
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache  F3 a! p$ D% V/ @1 K" x) n; v
  1815. ; passes& X. o5 s/ x2 Z2 ]; Q4 L' m
  1816. ;opcache.optimization_level=0xffffffff
    : \7 B8 a* b1 z4 G# n# v3 }

  1817. 8 S" d7 g' F7 K( O; ^0 }
  1818. ;opcache.inherited_hack=1
    ' P  k/ `6 P. X( a( x7 m) S
  1819. ;opcache.dups_fix=00 [5 ?! o6 \! B7 f( @) a4 |  r

  1820. , h, m7 j. f* D! }! {" E
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    2 g  z) r3 q; Q/ H
  1822. ; Each OPcache blacklist file is a text file that holds the names of files" F' F" b& H% I: _
  1823. ; that should not be accelerated. The file format is to add each filename
    & P0 l9 l# Y9 w1 r: H
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " B1 L( n& N$ q. [
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  p' U# Z1 K! `8 B5 p" ^
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).' U2 M7 J* x- f3 m% m0 v7 X3 n5 j- q
  1827. ;opcache.blacklist_filename=
    5 r! Y5 C$ p# d+ h

  1828. / Y0 ~2 m" l9 ~% `  w' N- w. a
  1829. ; Allows exclusion of large files from being cached. By default all files' Z% m& B/ N3 g8 r0 f
  1830. ; are cached.
    ' q8 Z- z- R- y5 j) W" F
  1831. ;opcache.max_file_size=0: _8 g. L- m5 p+ C4 t- N* |2 J

  1832. . }& |8 I* s$ }; G
  1833. ; Check the cache checksum each N requests.
    9 S* y$ n. l7 C9 o7 P, z% ~; @
  1834. ; The default value of "0" means that the checks are disabled.0 r+ n& Z) q) a; l; D. |
  1835. ;opcache.consistency_checks=0
    + ?5 f) Q% O1 d

  1836. * H! ~8 n+ }) o) B- \
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    1 `. _  g( H( l' M
  1838. ; is not being accessed.
    . }- L6 R$ B# m
  1839. ;opcache.force_restart_timeout=180! e/ a& b* P. p3 r. w

  1840. , k8 y! ]4 s; U9 c" M& Q$ z4 j9 n
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    / t! b/ W5 h& c! s1 X+ G
  1842. ;opcache.error_log=
    2 n. q7 }' h* R

  1843. 0 o" K+ o( ~( `1 ^* X
  1844. ; All OPcache errors go to the Web server log." Z: c& H7 n( w! v7 C" J
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.8 s& f$ Y# l* c5 Q, o" N
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    0 Y- `# M9 E+ e2 u3 v" x# }8 \
  1847. ; debug messages (level 4)., A0 a) W" u3 a1 L
  1848. ;opcache.log_verbosity_level=1
    8 h2 ?! U# n% `9 A1 c0 j

  1849. ' @8 F6 o! k: c5 [" m; }  @# D
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide./ h9 H* k  q: w3 Y8 J
  1851. ;opcache.preferred_memory_model=
    + ^4 A, H& `, u4 z/ I

  1852. ; q" M, @  y0 h( K: C& ~8 G/ }
  1853. ; Protect the shared memory from unexpected writing during script execution.
    " z4 [7 `1 f/ Q7 s3 u  W
  1854. ; Useful for internal debugging only.
    - S5 z2 }4 g  o1 X# H+ R& V* L
  1855. ;opcache.protect_memory=0
    . B9 C3 @. a$ T% t9 g4 Z: Q! u

  1856. % q: v. A# e9 l0 s4 y0 }" |% D
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is! z2 M+ \9 |; d8 o7 d
  1858. ; started from specified string. The default "" means no restriction
    + h0 u' o3 i+ {4 ~! d1 s7 \: B
  1859. ;opcache.restrict_api=
    # K6 B5 b  X  X2 N: B

  1860. - e* _5 [; H! B- F; ?
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP# s" y# f+ w  `
  1862. ; processes have to map shared memory into the same address space. This9 S. _3 a% t9 D
  1863. ; directive allows to manually fix the "Unable to reattach to base address"7 @4 J7 r( `1 P  w
  1864. ; errors.
    . t7 x7 M/ d8 G6 e" |2 \+ G
  1865. ;opcache.mmap_base=
    ! T& R$ [  D3 J8 }8 z2 m1 M/ n. ^$ m

  1866. # e$ t9 v- ^+ K8 Y' l8 i
  1867. ; Enables and sets the second level cache directory.! e4 Z$ k4 G4 x$ z- {6 V
  1868. ; It should improve performance when SHM memory is full, at server restart or0 k1 s  O4 Q/ c% b+ [- N- f
  1869. ; SHM reset. The default "" disables file based caching.
    3 {) o5 f4 N! e5 `& W1 S
  1870. ;opcache.file_cache=
    $ E$ e3 z8 I7 ]0 y% t- M

  1871. , K% i2 V3 U9 h
  1872. ; Enables or disables opcode caching in shared memory.
    , V& i; s- a  c- X) `# M
  1873. ;opcache.file_cache_only=0
    # d; c, H0 o: c6 d. x0 d, T

  1874. & W' |3 ^/ s2 S: H% L2 [' ]# H: c
  1875. ; Enables or disables checksum validation when script loaded from file cache.! ~: m! D; o0 }3 S9 H
  1876. ;opcache.file_cache_consistency_checks=1. k3 T8 a% D. M7 h/ b- p. x/ y
  1877. # n  v8 M( |" O- V9 u
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    4 u4 r! N2 _. S1 k+ [. D& B
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ' C# g! j9 ^4 k& ?+ ~: d* p
  1880. ; cache is required.) J9 H/ _* X0 y$ I
  1881. ;opcache.file_cache_fallback=1
    ; c5 C- \9 X7 B: B# T3 F9 j4 P
  1882. & O/ R1 H' Z& d  D3 f
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ( Y1 M  B5 o. R5 o7 t- b& L
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 A+ {; u. E8 Z# q2 x4 y
  1885. ;opcache.huge_code_pages=1
    : W3 v. N2 ~4 u& v$ O5 q

  1886. 9 i9 Z, k, d% S% d  Q6 ~
  1887. ; Validate cached file permissions.1 f( g: s  O& z2 s- B
  1888. ; opcache.validate_permission=02 ?3 u2 C. }% p; ]5 n6 Y& g' B
  1889. * k( A% w: O$ l9 W
  1890. ; Prevent name collisions in chroot'ed environment.
    0 _, M$ [; \% @
  1891. ; opcache.validate_root=0
    2 K( d, X/ ?1 @* k# V

  1892. $ g' S5 V( e" o8 W6 p, F
  1893. [curl]
    $ j/ p$ _4 R/ {% i6 f
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an7 z& ^6 L; m2 i" K
  1895. ; absolute path.! ?4 ?: o5 B. c6 P; m6 @4 H
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! }  v# `) B/ ?3 e7 o
  1897. 5 ?% W; ~& y2 T- c9 ~( e9 k
  1898. [openssl]! w( d' H  r1 q7 `9 e7 H% Y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem# G4 n1 n9 M/ i4 A& S
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should6 }7 b- d9 n' R
  1901. ; not specify a value for this directive as PHP will attempt to use the
    * O) ?  I; z7 ~* X  }
  1902. ; OS-managed cert stores in its absence. If specified, this value may still, ^% O* c" M# V' V7 z8 x
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context' \) n' e1 t1 ~$ ~
  1904. ; option.3 n1 L+ l& ~- F2 g
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 K& I; j- }& t! _* M0 N( b
  1906. 4 D( {, z- M) {/ E4 n4 z; a8 ~
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    . h% o" }5 v$ A( V- {- l' l
  1908. ; directory pointed to by openssl.capath is searched for a suitable- u& Q  q+ X+ [; I
  1909. ; certificate. This value must be a correctly hashed certificate directory.4 u- Q4 w3 Y' r  K- D% @
  1910. ; Most users should not specify a value for this directive as PHP will
    / L5 H6 O; F$ i( l  j1 q9 O2 k7 r* `
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,$ a0 T$ ?3 B0 n9 w$ W9 S
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    " C/ ]! q2 J+ A: S$ R% e- f; h' V' a. T
  1913. ; SSL stream context option.; `9 A9 ?  h5 r3 a5 P; q
  1914. ;openssl.capath=
    / h# n! i. m( c0 d& m- G

  1915. 8 i' \4 b; }) q+ ?
  1916. ; Local Variables:5 Z- e1 l+ s5 a9 |8 w, m
  1917. ; tab-width: 4
    $ p1 x" q! _8 y7 h0 G
  1918. ; End:8 R8 r9 m6 |3 P& g$ [, z/ j0 E% k/ P

  1919. 2 b+ |7 V- p: ~, I
  1920. ;eaccelerator
    ; B0 N1 V1 U  _3 Y' i* i- O. l
  1921. 7 Q4 t# P; z( A8 k, C' U" z6 ]
  1922. ;ionCube
    3 c0 G; c3 `4 D
  1923. ( k+ c/ u, z, j$ }
  1924. ;opcache
    0 R5 M. X  w+ J5 Z- j  b

  1925. , M; R/ g% R7 x6 K* T) p
  1926. [Zend ZendGuard Loader]0 c6 C# [. [: D+ n# P
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.1 h: z# z: W, e- U
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    " D' [! M* P( U, x; Y7 i
  1929. ;zend_loader.enable=19 M2 n5 C1 q5 E7 b: _7 C
  1930. ;zend_loader.disable_licensing=01 s; Y5 A1 h  `5 H2 Y
  1931. ;zend_loader.obfuscation_level_support=3
    5 D4 P. ?! A# }# ?: D- [$ k+ S  x
  1932. ;zend_loader.license_path=5 @: B7 I- K) k# g, ^5 |* T* M" M
  1933. / i! r; I* n& F: q2 {( [
  1934. ;xcache
    / U; H1 f1 u0 Y2 N  P4 N; Z$ J- G

  1935. 0 X2 C6 b* l/ U8 ^. P9 J* F
复制代码
2 V* m! Z0 J5 w% e1 E; V8 l' n

, d2 V' R! `' R9 f9 L* I' E: j# e% b# B8 R4 w9 O9 {5 R
- l9 ?4 h- }% y6 @

) u! b  _& Q, s
% j" f3 ?/ a3 A; C4 V  A; y7 F/ M2 X; [) d# |  n) B% l
PHP5.6版本原始设置" {- L8 o0 o1 g" F, O6 R

- S" z$ e' \: ~
  1. [PHP]5 h) o' _  O; o

  2. 9 [# Z  |5 u  t) M4 z9 }: K# o8 R9 P8 V
  3. ;;;;;;;;;;;;;;;;;;;
      S0 L! X" C. A) t/ z
  4. ; About php.ini   ;6 W9 t  R0 q4 B+ c9 U; b1 W* B
  5. ;;;;;;;;;;;;;;;;;;;% {9 E0 v. E& G( a! c' ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 |$ M9 @( Z0 u% \6 R1 g! Q9 z
  7. ; configuring many of the aspects of PHP's behavior.9 m  S0 M/ }1 i  ?! _

  8. / `, r; _5 J# i, ]
  9. ; PHP attempts to find and load this configuration from a number of locations.
    : ], a  |/ s6 s. K7 |: |- l
  10. ; The following is a summary of its search order:4 Q" f4 b  S1 f6 \2 J3 O
  11. ; 1. SAPI module specific location.3 d; H' B  e9 N* n+ a! J
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)2 {+ m/ ^! P7 T" s- C
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    . u# [8 I- r8 k4 }
  14. ; 4. Current working directory (except CLI)
    ' y# J8 f! G% v/ F6 Q; N# D
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    $ B3 [6 V% }2 A& m1 B
  16. ; (otherwise in Windows)) I( t5 T& d0 Y- n
  17. ; 6. The directory from the --with-config-file-path compile time option, or the3 P! l9 z* u# k+ j
  18. ; Windows directory (C:\windows or C:\winnt)7 j" v( H( h: F2 B
  19. ; See the PHP docs for more specific information.  J; {: k8 g0 ^. w
  20. ; http://php.net/configuration.file
    ! v( q; x9 A4 q" S# T

  21. ( u3 F, \( D9 c% I
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* `  j1 ~8 c7 W2 A0 J/ M
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! m+ |/ r8 X9 J. R6 D) R4 S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 T) T3 d9 V/ y8 K' M( E0 `( o
  25. ; they might mean something in the future.
    # a  K! g( f( B+ R7 x2 Z
  26. 1 ^# v# z, @3 U; _3 U% H
  27. ; Directives following the section heading [PATH=/www/mysite] only0 V+ ]8 b/ e( M+ a/ b
  28. ; apply to PHP files in the /www/mysite directory.  Directives% L! |( _! }7 c- T! ?" k
  29. ; following the section heading [HOST=www.example.com] only apply to- b( Z! |6 |6 j
  30. ; PHP files served from www.example.com.  Directives set in these
    " g, b0 F* q' V2 v/ e
  31. ; special sections cannot be overridden by user-defined INI files or% u( |' L( L" c4 R  X/ [  A
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    * U9 ?% M7 q. h$ D  w2 m
  33. ; CGI/FastCGI.
    3 S0 W9 w* \" D& A, R% ]  D
  34. ; http://php.net/ini.sections  I, _8 I, x8 Y/ ^9 C3 g1 _9 ~

  35. 3 {; b1 C3 k! I% A- U& T
  36. ; Directives are specified using the following syntax:7 _( U$ w1 |5 N+ D" p" d  f( c- L
  37. ; directive = value4 g: O& A" J7 V8 p; b  H. x4 g
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 @5 `; S# M* ~4 b: X
  39. ; Directives are variables used to configure PHP or PHP extensions.* ~2 ]$ Z! y7 w+ {  @! o9 q
  40. ; There is no name validation.  If PHP can't find an expected
    , y# ]& h2 h9 T0 l3 @
  41. ; directive because it is not set or is mistyped, a default value will be used.
    . U" N4 t# w7 D2 N" q+ ~

  42. * w3 L/ a4 X2 k- ]
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    - W/ g4 W: b% ~! }% j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) u5 E5 m0 A3 X& N% e7 [+ W
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 }5 F; `* H' ]' j- {# t
  46. ; previously set variable or directive (e.g. ${foo})
    . j* Y) r* R% N5 V5 D7 x# ?3 S$ J* q

  47. 0 d$ o9 j( n" s1 V
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & i$ A3 F' p" A! L/ j
  49. ; |  bitwise OR
    ; X, ]5 p! N% ]3 M6 E8 R& B. @
  50. ; ^  bitwise XOR- S4 o  J, y" Q; a, A* z
  51. ; &  bitwise AND3 i# f9 H* ?9 N( K- _
  52. ; ~  bitwise NOT
    * K$ L3 @* \9 E! ?6 R' Z
  53. ; !  boolean NOT- q& k% o3 U8 P% ~! l/ r) e. N% g

  54. 7 {2 V! O+ G) y. n) N) j& Y9 C4 h+ V
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 ~3 ]# k  F8 n4 [) M1 M7 L3 z
  56. ; They can be turned off using the values 0, Off, False or No.& ^8 @/ f. E" A1 c0 m  L

  57. + O8 D7 |. E& K! V( v; B5 T
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ' `1 K2 p3 b. R3 {
  59. ; sign, or by using the None keyword:
    2 }6 H: d( |/ y) _
  60. 9 j1 A$ f9 w1 P5 M$ x8 q
  61. ;  foo =         ; sets foo to an empty string
    # p. q2 c# D/ {  x* |$ S& r9 j
  62. ;  foo = None    ; sets foo to an empty string
    ) c- V4 z# u0 b0 t7 a
  63. ;  foo = "None"  ; sets foo to the string 'None'
    4 U; q% n. c3 M. \

  64. * M: |5 i# R1 ~% d; b) C8 V
  65. ; If you use constants in your value, and these constants belong to a
    - ]& A! f! Y& w0 S! E  {7 i
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 _3 c$ m4 ]9 b7 L9 M) I
  67. ; you may only use these constants *after* the line that loads the extension.
    0 y$ \3 w9 u; y7 D( Y+ Q+ i
  68. 6 P( @& M' Q8 u2 d& V5 N3 i4 I) N
  69. ;;;;;;;;;;;;;;;;;;;
    % ?; k" [2 p& r1 w- J! E0 ?1 L
  70. ; About this file ;
    * t, h( W' i( v) n
  71. ;;;;;;;;;;;;;;;;;;;
    4 w; U  `7 w8 w. p  f5 U* ^* O) |
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    & F8 f+ i& h# v4 O) e; r
  73. ; in production environments and one that is recommended to be used in% {& P2 N% {( }# y# e
  74. ; development environments.2 B: e+ \; t) }/ L! @& n
  75. + z; d# @$ m" o  B
  76. ; php.ini-production contains settings which hold security, performance and9 J' x: p$ i* K
  77. ; best practices at its core. But please be aware, these settings may break
    : ?7 x) h2 c3 C( e% \
  78. ; compatibility with older or less security conscience applications. We. V* U+ W* N- K& Y5 i. s/ H
  79. ; recommending using the production ini in production and testing environments.
    . N3 }5 N' e% I) \" |- m: d

  80. 9 ^# O- J. Z9 r: n* U% V; Y
  81. ; php.ini-development is very similar to its production variant, except it is
    8 N: D4 |+ P1 w1 i# w2 v
  82. ; much more verbose when it comes to errors. We recommend using the) a6 K: r' f  T, S( G; G# |
  83. ; development version only in development environments, as errors shown to. R. k- {* C' n" g  V! Y$ M, ~
  84. ; application users can inadvertently leak otherwise secure information.
    ' k/ T' K4 z- b6 t
  85. 4 e. m* L/ o- s1 R2 A
  86. ; This is php.ini-production INI file.
    $ @% U% a. |6 Y; y' r
  87. ( B9 i; o$ t6 p
  88. ;;;;;;;;;;;;;;;;;;;' f3 J8 M& n4 u# Y
  89. ; Quick Reference ;$ ^0 D4 i5 ]/ W( `+ T+ f$ y+ [
  90. ;;;;;;;;;;;;;;;;;;;8 s' M9 N3 |( J, _7 v
  91. ; The following are all the settings which are different in either the production3 A# n5 ~' O7 L- ]( M
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # C7 w, q) m9 L
  93. ; Please see the actual settings later in the document for more details as to why1 _6 N2 k2 ^) ~; i; y) k' X$ Y
  94. ; we recommend these changes in PHP's behavior.
    / M( D) i3 z9 i) l5 i% T

  95. ; v5 o5 Y4 t, W/ h) _8 Z  M
  96. ; display_errors
    5 y7 R* l8 o: W1 |$ s7 q
  97. ;   Default Value: On
    . t7 K8 p4 m0 D+ R0 D" `) @
  98. ;   Development Value: On4 E2 ]* i& P' l6 k& o: \8 N
  99. ;   Production Value: Off
      }+ z$ g6 v  `3 r
  100. " G. v$ I% d6 r" ?
  101. ; display_startup_errors
    / v* G  [0 t+ M9 H/ e
  102. ;   Default Value: Off. A, a* v- A$ U
  103. ;   Development Value: On
    ) i5 L+ M9 b/ y( |! H9 |2 k4 W% T
  104. ;   Production Value: Off
    $ W( O: V, W6 g3 V

  105. / [, o% n" Q1 _) V  o% _7 g
  106. ; error_reporting
    ) R6 D5 y( J7 m6 T6 E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " K% ^6 i* t' q6 g
  108. ;   Development Value: E_ALL& ~2 O# [& O+ D# }$ B0 w
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / K# A4 T3 x5 Q1 J8 c

  110. 5 b$ w5 [! X- _: J3 k* d) n
  111. ; html_errors
    + I6 n4 W, F# X+ w" O  s, l+ c
  112. ;   Default Value: On5 C- h  t7 i* N* O5 E
  113. ;   Development Value: On
    3 ~& p+ ?/ a1 T. |) H; Z7 v) x& W
  114. ;   Production value: On. c8 I  X( L' k" G' N; [' c

  115. # O3 _" M3 t9 R6 }0 X) ]& T
  116. ; log_errors- g$ }/ y: {/ Z7 P, M- n- [
  117. ;   Default Value: Off
    1 n) O3 L8 O1 S) f
  118. ;   Development Value: On
    5 e$ j0 ]. _. _: e# G" N1 K. A7 i' e
  119. ;   Production Value: On7 U' k4 R# @  p5 V3 n$ [

  120. % T$ W# w9 O7 c+ F/ i7 k/ x
  121. ; max_input_time
    , G5 r2 G0 {7 {. m/ \/ h6 Z
  122. ;   Default Value: -1 (Unlimited)
    % }2 k8 r/ x; k; j* B
  123. ;   Development Value: 60 (60 seconds)
    1 W( }0 L1 P  P6 y( i  o
  124. ;   Production Value: 60 (60 seconds)
    % z6 _% b3 o. v6 y

  125. ! |0 Y6 f  ?% |0 T7 g8 i1 y
  126. ; output_buffering
    8 [( e$ @* W! x2 b. i
  127. ;   Default Value: Off% P  ~( `; v2 c* v
  128. ;   Development Value: 4096
    ' ^* m2 ?3 X. `$ V6 @
  129. ;   Production Value: 4096: ^1 ]( Z( u8 a4 w

  130. ( L" h  y& O, s! c5 D! W& I# d  o
  131. ; register_argc_argv
    9 t* g" X! J/ n4 g2 d& B, n# T( ]
  132. ;   Default Value: On! Y4 n/ }3 U( S1 `7 O! x$ x
  133. ;   Development Value: Off; p2 [" _# Y2 m: S# d6 P
  134. ;   Production Value: Off; x: T1 J. X) l6 z! W$ q2 S& W) C
  135. % n- g5 S0 G5 V4 L4 n  A8 B1 f/ v; d
  136. ; request_order
    ! b2 D9 {5 G- J* p# D
  137. ;   Default Value: None3 U. h& V" _( W" \/ `: t6 p
  138. ;   Development Value: "GP"& j9 q% ?' k& w% B- l* L& f
  139. ;   Production Value: "GP"
    - W" C: `. T' b5 a% s/ q/ s

  140. % h8 [1 K' ]1 i) O+ [  v5 u1 o
  141. ; session.gc_divisor
    9 N- R( Y8 `' `* V% R
  142. ;   Default Value: 1008 A& C7 J; p7 \3 o  n" V
  143. ;   Development Value: 1000
    $ Y" J. U" [; B6 l
  144. ;   Production Value: 1000
    $ U: Q: {5 I- Z" a* G* ]7 ~1 u  ^

  145. , {/ e' L7 v7 G; s- z. e
  146. ; session.hash_bits_per_character
    & }/ ^5 h5 I1 O4 i0 g' |" M) f
  147. ;   Default Value: 4. k% Z& N1 L8 j9 \8 i/ ^# j- W
  148. ;   Development Value: 5
    . Q8 w) l. }8 g, y+ z) I
  149. ;   Production Value: 5! \3 J$ f% `$ r% \# T# \

  150. ( @- @" n" G$ x9 S$ x. ^
  151. ; short_open_tag- K# \9 y$ `8 \5 q4 y/ S- p. ]
  152. ;   Default Value: On& L  t# y/ j- B% Z. c/ y. D
  153. ;   Development Value: Off: T  K) ~3 p& `' i# G9 l6 [# b! G+ y
  154. ;   Production Value: Off8 R. F4 Q+ L& a6 e2 ^

  155. 7 {: B8 ^5 d8 W* j
  156. ; track_errors* Z$ T8 w. T. X( K1 r: v3 t
  157. ;   Default Value: Off
    ' n; B+ I8 W2 M; m! w
  158. ;   Development Value: On# ^9 o% Y* n4 [. ~7 Q
  159. ;   Production Value: Off
    # E  \! c. G$ ?+ |

  160. 3 m, F6 i- ]3 H
  161. ; url_rewriter.tags5 p6 ?* u2 G+ ]* F6 p0 e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    9 e( L3 c' c2 ?0 Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 C& R: q2 J! Y+ K2 e
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 M  C3 N- ^& A+ c1 z; ?% \$ D
  165. ! X0 x8 G$ V. [
  166. ; variables_order
    . V0 O3 H* I/ w) f: P" ~. X
  167. ;   Default Value: "EGPCS"
    / o$ \8 X( s9 ~* G1 _( s( q* ^
  168. ;   Development Value: "GPCS"
      C. W! z0 P0 x' v
  169. ;   Production Value: "GPCS"5 i) N( Q! U% ~7 F, q) q
  170. 0 i& ]8 [  }  k% Z9 E
  171. ;;;;;;;;;;;;;;;;;;;;
    ; r- ]: z5 I3 v2 s8 `+ m
  172. ; php.ini Options  ;3 \" N' _/ x' l% D5 z# R4 _
  173. ;;;;;;;;;;;;;;;;;;;;
    ! O# {, u4 |" {/ g8 h' N* `! u/ x
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + E+ M6 i! D: o# L7 |
  175. ;user_ini.filename = ".user.ini") d' g) y4 q0 L
  176. % q" y4 k2 c6 {( K& y! u. x9 u4 \
  177. ; To disable this feature set this option to empty value9 e1 G5 n4 }" _' a0 _; o. s) _
  178. ;user_ini.filename =
    / V& d' H2 B+ w

  179. 4 v5 @- e5 m# n/ Z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    " {: k; L0 E& l1 F0 f: R% _
  181. ;user_ini.cache_ttl = 300" f. e3 H# F; e3 a! m! `  s7 [

  182. 5 [1 l$ \6 e+ c- C  V2 I
  183. ;;;;;;;;;;;;;;;;;;;;
    1 [; j' g" V5 h: Q6 c2 K5 r7 w
  184. ; Language Options ;9 J5 z/ U+ z; t+ J
  185. ;;;;;;;;;;;;;;;;;;;;
    % A0 d8 L( [* X9 m
  186. ; _4 p8 ~& f5 {. b
  187. ; Enable the PHP scripting language engine under Apache." o4 `- y; w8 T1 g% ^
  188. ; http://php.net/engine
    . S& x: I0 [+ \# f* Y! J
  189. engine = On
    / L+ ?# I5 _0 h  s2 F/ K4 S
  190. 9 [0 ]0 O- V, h4 H8 [
  191. ; This directive determines whether or not PHP will recognize code between, g. [: ]0 p' F/ b  l% j$ H
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    - D  g+ t+ @6 n" `
  193. ; generally recommended that <?php and ?> should be used and that this feature. D9 ^4 {; z" ?) j
  194. ; should be disabled, as enabling it may result in issues when generating XML0 R0 v% g- {& e
  195. ; documents, however this remains supported for backward compatibility reasons." Q$ Q8 l2 ]- A; v
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 R* k( ?" t+ Z
  197. ; used regardless of this directive.; E; P5 P3 J3 J6 N9 k+ Z
  198. ; Default Value: On
    2 g! {! l# H  M
  199. ; Development Value: Off( q" q1 I! T$ d$ V
  200. ; Production Value: Off
    7 G5 e, V" E6 y7 r, Y' M; d* E4 K
  201. ; http://php.net/short-open-tag
    ) K# H! q/ H6 w
  202. short_open_tag = On' a% q- a* a3 X! Y" w3 g" Q

  203. , D0 O) i' m( U) o3 J
  204. ; Allow ASP-style <% %> tags.
    ) W! Z. T9 y7 |. ]7 w  s
  205. ; http://php.net/asp-tags
    2 S2 a) m" [9 K( m& K) f
  206. asp_tags = Off* f  e* W. w* k! n7 _

  207. ; p6 T" t4 Q6 |
  208. ; The number of significant digits displayed in floating point numbers.& i, L1 @! |+ a" Y# }% O! x$ [
  209. ; http://php.net/precision
    ! }' c3 _! d7 `" \9 \% u5 k
  210. precision = 14
    ! O$ w5 z8 n: y$ \

  211. : M8 d+ Y! V+ w& l
  212. ; Output buffering is a mechanism for controlling how much output data5 O; G6 ]: [+ ]% v/ B+ r
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that( B/ r# I: y4 _. @+ r, x
  214. ; data to the client. If your application's output exceeds this setting, PHP
    1 o: {2 [$ S: ?2 D
  215. ; will send that data in chunks of roughly the size you specify.
    4 W) h* }5 i) L  u; a( l
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    2 [, q4 T, a5 B0 O
  217. ; interesting side-effects depending on your application and web server.) D5 N! `% y. L, _# X* n5 }
  218. ; You may be able to send headers and cookies after you've already sent output; F, \8 w. ~& Q9 S& |8 E' H( h3 x
  219. ; through print or echo. You also may see performance benefits if your server is
    , c6 M- |9 u8 f2 b% m/ V
  220. ; emitting less packets due to buffered output versus PHP streaming the output3 l' r4 @+ M- I+ n- g
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , N- x) `+ B: }: i
  222. ; reasons.% S. N) d3 J0 l( {2 k
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ) [6 ^: Z) b" i5 t# S
  224. ;   functions.
    & Y# }' E+ _% f0 Z
  225. ; Possible Values:
    4 _' N( l; b& q4 c: Q, e8 X: \' d
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 B: }% Q  q2 ^- ]8 s
  227. ;   Off = Disabled
    2 w) @9 M. Y. k& v, X
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.$ B6 Y# n4 h2 J  d" n
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! P: C" r7 w( g7 w# J* e
  230. ; Default Value: Off
    % Y; X7 @% i; `  }
  231. ; Development Value: 4096
    ( l# |, q- r( C/ h
  232. ; Production Value: 4096
    0 b" L& U; W9 r' O. R
  233. ; http://php.net/output-buffering5 e8 G* M& |% Q( }
  234. output_buffering = 4096- s7 e+ z1 B! y  b, L0 R) W

  235. 2 P5 n5 D7 F* U
  236. ; You can redirect all of the output of your scripts to a function.  For" L- h: J, Y* |
  237. ; example, if you set output_handler to "mb_output_handler", character
      ]' ^8 a; ]  H( }0 ]) P2 w
  238. ; encoding will be transparently converted to the specified encoding.
    : x/ `! D2 X1 ?- I& a# h% ?3 {
  239. ; Setting any output handler automatically turns on output buffering.
    ) k: l: h( O. g: x- i8 ?
  240. ; Note: People who wrote portable scripts should not depend on this ini4 @" F8 E) N+ S5 B1 p5 V8 w
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    : x1 e8 t( F& Q) F
  242. ;   Using this ini directive may cause problems unless you know what script
    ' K, U, J2 w" l" f5 m
  243. ;   is doing.! y% N' c( l0 n" |" b* ?
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"* i0 M& P$ [! B! M! `5 |% q2 D
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. Y- T; m0 i. ~- `' W
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    3 ^8 u4 O# p* c% p( _
  247. ;   Instead you must use zlib.output_handler.
    ( }2 ~; z, W$ O( t( w
  248. ; http://php.net/output-handler# C4 Z9 B9 U5 G+ b$ v2 v
  249. ;output_handler =# Y0 G: A8 V) I" z' c  a& t
  250. % |9 p; q% }0 B- T2 ^* l$ k  A
  251. ; Transparent output compression using the zlib library
    4 C( ~3 \) x7 d* _4 y3 I+ r
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    0 `# G6 i. h+ W! B8 _, a* z0 Y
  253. ; to be used for compression (default is 4KB)5 d; `' e0 {9 D# D9 |/ W: J* X
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; w9 W" z& {5 ~' J
  255. ;   outputs chunks that are few hundreds bytes each as a result of! h1 P0 K1 r' A9 X# B( }
  256. ;   compression. If you prefer a larger chunk size for better7 n5 Q/ a2 ?) O4 a9 F3 K9 }
  257. ;   performance, enable output_buffering in addition.& f- S, w# @1 c# l9 x7 C/ D9 d
  258. ; Note: You need to use zlib.output_handler instead of the standard
    # t3 b1 _+ R3 D& H
  259. ;   output_handler, or otherwise the output will be corrupted.
    6 |8 H9 u/ G. H' v: u
  260. ; http://php.net/zlib.output-compression, H& u4 p: c/ G& z- \& Y
  261. zlib.output_compression = Off! S  I$ V% m0 U
  262. + v0 o8 h: H" x# ^1 n  s- e
  263. ; http://php.net/zlib.output-compression-level
    ( \6 y1 }3 D5 E  Q  I. H; `
  264. ;zlib.output_compression_level = -1
    - _6 a0 y8 z# ~* _! @
  265. & d% Y$ J/ e8 _' F+ y
  266. ; You cannot specify additional output handlers if zlib.output_compression
      w8 H0 q. }6 r% ^! Z9 U! f: n/ a
  267. ; is activated here. This setting does the same as output_handler but in8 V+ S, a/ w- u
  268. ; a different order.6 r9 ~  i. S( ~9 F) P
  269. ; http://php.net/zlib.output-handler8 z0 }: }% a& `- P  u: P3 w# Z
  270. ;zlib.output_handler =
    2 P0 a" e+ `; v7 @5 J8 S  Z

  271. 5 n  _  U* b1 @/ U8 r: g- D' |
  272. ; Implicit flush tells PHP to tell the output layer to flush itself5 |* c: A0 g+ E& p0 C2 ]# ]
  273. ; automatically after every output block.  This is equivalent to calling the" `" v; k; }5 m+ L  U
  274. ; PHP function flush() after each and every call to print() or echo() and each) Q. P" E/ ?; V  H+ ?2 |1 o# _
  275. ; and every HTML block.  Turning this option on has serious performance  Z  s8 |! n5 V# a
  276. ; implications and is generally recommended for debugging purposes only.
    , W) D  C- s) w, T: C% D
  277. ; http://php.net/implicit-flush
    ' N# _7 @( J* p1 X( |$ I
  278. ; Note: This directive is hardcoded to On for the CLI SAPI4 t' Y# d9 c- [/ ~7 L
  279. implicit_flush = Off
    . y  s3 y+ d- @( m; o
  280. - [# e+ O. w! T% p; x7 [5 Z
  281. ; The unserialize callback function will be called (with the undefined class'$ x4 Q- L- n) a& Y3 b* C& d
  282. ; name as parameter), if the unserializer finds an undefined class; M9 K, c" w$ M1 s0 K  P7 E$ X1 D
  283. ; which should be instantiated. A warning appears if the specified function is
    7 a* H/ n7 s3 Z1 ]6 d
  284. ; not defined, or if the function doesn't include/implement the missing class.6 A# T  W7 F; j; y, b# k4 e1 N
  285. ; So only set this entry, if you really want to implement such a
    7 y# ^/ T5 A% w7 M
  286. ; callback-function.
    : v! Z5 `5 |: ~( e" {
  287. unserialize_callback_func =
    % T2 h3 l' v: t" }) C* G/ k
  288. 4 O' f- r) A- R
  289. ; When floats & doubles are serialized store serialize_precision significant
    * ?( J4 j: Q% a# z4 n2 I
  290. ; digits after the floating point. The default value ensures that when floats
      {9 ]$ P( a6 O
  291. ; are decoded with unserialize, the data will remain the same.& M4 X! X+ x2 i8 b1 d
  292. serialize_precision = 17
    * B' ^8 o; h4 ^) K- m( o2 c' B

  293. . n, w; X0 n& o5 m' Z
  294. ; open_basedir, if set, limits all file operations to the defined directory
    4 H( `$ Q# X* s6 u+ W
  295. ; and below.  This directive makes most sense if used in a per-directory
    6 \3 C3 ~. b3 Q. i+ E
  296. ; or per-virtualhost web server configuration file.
    3 n% }! w5 S5 e1 q* ?
  297. ; http://php.net/open-basedir
    % M4 q4 w- G$ m# \
  298. ;open_basedir =
    * L/ N; F' e7 R- U; A2 H  t
  299. ( P" l0 O% S2 A2 y7 m6 i
  300. ; This directive allows you to disable certain functions for security reasons.. a! K" `  v4 W
  301. ; It receives a comma-delimited list of function names.
    4 G3 Q( ~3 f( u" m
  302. ; http://php.net/disable-functions3 r4 y. h: \( y3 L9 C
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    - p! [& Y/ I( W8 y4 w( |5 |% ^& d
  304. 0 V3 H/ B) r9 p% _5 \8 }
  305. ; This directive allows you to disable certain classes for security reasons.. L  M1 @& r% \, f
  306. ; It receives a comma-delimited list of class names.
    , y  N- u1 @4 \# v# w
  307. ; http://php.net/disable-classes  g$ V! ?6 K4 c3 c2 F, H# A# {
  308. disable_classes =
    & y$ N: |" L5 H4 [
  309. ) S  p' P: A* l5 Q3 a' x7 v
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    " s7 R( }! m! ~- i5 L
  311. ; <span style="color: ???????"> would work.* q" n$ |4 |3 n3 J. L$ ~/ [
  312. ; http://php.net/syntax-highlighting/ c/ w0 r- N) z( a  l
  313. ;highlight.string  = #DD0000
    9 z3 {0 c- W  K# T& x
  314. ;highlight.comment = #FF9900
    $ J- K/ A2 e8 V  h% k/ t
  315. ;highlight.keyword = #007700" f* l! a: Y& w8 R3 Q2 |9 D1 ]$ P
  316. ;highlight.default = #0000BB* L5 |. H6 }- x0 s$ f3 z1 g' z, M/ c
  317. ;highlight.html    = #000000
    5 I7 U" V' x9 ~& @; m2 C

  318. & G. f: s8 W, K% g+ ^  u" S
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    . }# ^7 Y$ g+ c* d. ^
  320. ; the request. Consider enabling it if executing long requests, which may end up0 p: s- ~& u( F% H/ d) \; _% |
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior% J+ O/ C) P# s8 @& |) {1 Q$ _1 p
  322. ; is to disable this feature.
    " v- |& p! g0 r: Y) l5 V
  323. ; http://php.net/ignore-user-abort
    5 g, m) h1 B# t6 C9 h+ H
  324. ;ignore_user_abort = On
    5 p0 U3 `9 ~. i/ d2 ~8 j

  325. - M+ ]8 v) k* K* f( Z
  326. ; Determines the size of the realpath cache to be used by PHP. This value should2 I4 z& ^% o7 i3 I* L; Z
  327. ; be increased on systems where PHP opens many files to reflect the quantity of7 c5 W$ C0 @. w" m* N, ^, N' ?
  328. ; the file operations performed.
    7 m, T* O6 o7 F
  329. ; http://php.net/realpath-cache-size4 V# |& Y# c0 p% s5 ]
  330. ;realpath_cache_size = 16k
    ( |2 ^5 F) B: N2 s8 i$ t
  331. & ~" W: B/ B9 k1 X  M. s6 d+ q
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    + ]5 G& Z2 x& M! G6 P: _! v* ]
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    6 ]$ D4 U0 u8 g) W$ y: F/ {$ y% g
  334. ; value.+ m$ ~+ K, a5 L* m  M
  335. ; http://php.net/realpath-cache-ttl
    . L( r+ U9 m9 q" Y* T+ P# d; A/ w
  336. ;realpath_cache_ttl = 120$ w1 v) `. T1 Z& R

  337. $ w; \7 P" E7 Y: G. Q' m7 K( H
  338. ; Enables or disables the circular reference collector.
    + S4 U$ K5 h. W: g0 u2 R
  339. ; http://php.net/zend.enable-gc+ w7 l$ p( E/ \( ~' v# R0 H
  340. zend.enable_gc = On
    ( G# C. w4 W6 L

  341. " M$ I% v. ?$ e+ n1 z7 K% J
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    # i6 k, t' K# e* z3 q0 r
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such' _: j0 U% X' ~* A
  344. ; encodings.  To use this feature, mbstring extension must be enabled.) Y2 G5 k& m% N' q
  345. ; Default: Off# A' h) z! z5 J2 F4 G' M9 X
  346. ;zend.multibyte = Off
    8 w- R0 R4 H! z' i6 ~: J0 [4 }9 G

  347. 6 b6 G3 [7 K  K2 A1 ~% ?
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    2 A0 V  l) @# h# c6 p
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    % k4 U0 ?3 A2 X2 k9 }' x
  350. ; Only affects if zend.multibyte is set.+ S' g# ?7 l: p% o
  351. ; Default: ""
    3 R) G, [& w; R, D+ ]/ `& y3 I
  352. ;zend.script_encoding =
    2 W; O+ }! M+ k" s7 ]3 a* ]
  353. 6 B# w4 K& k6 `  E" a
  354. ;;;;;;;;;;;;;;;;;) u" h- ~4 H- K# R
  355. ; Miscellaneous ;# x2 h% `; k/ g5 d" e3 j
  356. ;;;;;;;;;;;;;;;;;5 c& O& s4 U, A

  357. & [$ N  }2 Y0 X: h. }
  358. ; Decides whether PHP may expose the fact that it is installed on the server" _: H' u8 W$ m$ D
  359. ; (e.g. by adding its signature to the Web server header).  It is no security) I5 O% e! a9 }: v) q  Z
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
      A. u+ y/ I; U. r4 M
  361. ; on your server or not.  r) l4 f8 D% S& A$ A
  362. ; http://php.net/expose-php
    / _8 s; ^( a5 B1 _+ @8 O" O
  363. expose_php = On
    ' J( n3 C9 A  F. b
  364. " p) ?' j0 }1 x
  365. ;;;;;;;;;;;;;;;;;;;( t% v8 J0 k) T4 Y" w5 ?! X1 r6 l! M
  366. ; Resource Limits ;
    ) y# B% M+ a: N' q4 \7 }
  367. ;;;;;;;;;;;;;;;;;;;4 v$ X* \6 {5 N( l

  368. ; o7 W. d0 u' Y; Q" {/ b
  369. ; Maximum execution time of each script, in seconds
    / Y% l! \% \5 K5 Z9 U- z* D4 Z
  370. ; http://php.net/max-execution-time
    / V4 e' d2 h3 |8 D# w. Z
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    # v  Y. n) t7 w+ i6 {3 v  K
  372. max_execution_time = 300
    , |1 v- {1 q, V4 l/ Q9 b1 \  e

  373. 7 b7 |$ j8 ^3 k4 V* K. o6 B
  374. ; Maximum amount of time each script may spend parsing request data. It's a good  G) e; s1 d3 R- k% f
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    - P  a$ m  y3 D
  376. ; long running scripts.
    . _) u' I; @' B; r0 q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI" v0 H8 h/ @. H4 k4 V( f
  378. ; Default Value: -1 (Unlimited)
    ' q5 u+ z1 c1 m/ h( @' a
  379. ; Development Value: 60 (60 seconds)
    $ j/ E: n* E4 Q1 g4 P
  380. ; Production Value: 60 (60 seconds)7 I4 P0 S+ a" u# O
  381. ; http://php.net/max-input-time% i) V) ?  ~* ~7 Y* Z$ S) q: r  V! q* c
  382. max_input_time = 60% ~# p1 x+ ~: i

  383. 6 @  y! R2 C' Z. ]& T
  384. ; Maximum input variable nesting level
    4 ]. j1 s  ~/ g) J7 w8 H7 U
  385. ; http://php.net/max-input-nesting-level0 h. Q+ q+ y' M8 h" b
  386. ;max_input_nesting_level = 64- v8 b" R! J; a3 c& a
  387. 7 t# U* c' C  d2 Z! G$ V
  388. ; How many GET/POST/COOKIE input variables may be accepted$ r# e8 [) Y; W3 S" D
  389. ; max_input_vars = 1000
      H* I6 M# ^4 B5 m6 `7 t, @
  390. $ P! s6 A: F- e) `! @# ^
  391. ; Maximum amount of memory a script may consume (128MB)( I# w$ d' K+ y% S' j0 `
  392. ; http://php.net/memory-limit
    5 n. `- g" ], G: z1 F
  393. memory_limit = 128M
    5 A1 n  ~; W( A* p) e
  394. 7 T* c- r3 D2 E
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 J( x1 K% O& |1 R4 D4 c- ]
  396. ; Error handling and logging ;# w3 p" ^1 A, A! g7 a
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 s8 h7 D+ H5 x. h( w' b. @7 w
  398. : k+ K" X- A; F+ q
  399. ; This directive informs PHP of which errors, warnings and notices you would like" C( X% \+ L  g% p: G+ J. Y. M
  400. ; it to take action for. The recommended way of setting values for this# d+ S& {' l! i) i: U  g
  401. ; directive is through the use of the error level constants and bitwise% P; @; X# ]/ B. p* V% F
  402. ; operators. The error level constants are below here for convenience as well as4 a! g, N4 r/ w% b8 x+ B
  403. ; some common settings and their meanings.
    6 M' ~. [( L' C5 Y3 g( c7 q
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 V+ ?; S9 h4 }7 L, B
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    8 B: S. \! c' |' D! H
  406. ; recommended coding standards in PHP. For performance reasons, this is the# n+ a9 t! w0 A# H, `
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    # u1 n. S, Y4 ?
  408. ; resources complaining about best practices and coding standards. That's what
    ; G' q* V1 o1 f) S3 Z
  409. ; development servers and development settings are for.) `! `1 C: L2 i# M, `$ v
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; z+ d6 V) ~6 N# i" u3 K
  411. ; means it pretty much reports everything which is exactly what you want during
    ( X" P2 x- x4 N9 y
  412. ; development and early testing.+ W6 P; x- j  e
  413. ;( t5 t2 l, l+ Q1 S* f
  414. ; Error Level Constants:- e! T( `  i& h
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)& O. `& m3 r7 E: k8 A! f
  416. ; E_ERROR           - fatal run-time errors
    - j! ?# J$ m$ l7 @9 _) Y
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    3 K" c* \6 U( ]) r! ~
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ' F" I; F0 u' ^4 i1 B  B
  419. ; E_PARSE           - compile-time parse errors
    7 X. E1 H; G  j) ?, m% r
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! G" ?6 l$ N2 ~2 P* W1 X% o
  421. ;                     from a bug in your code, but it's possible that it was/ ]( p6 q% v% w; H9 ]  w  V& g
  422. ;                     intentional (e.g., using an uninitialized variable and* H# s) L) Y$ p# Y2 n
  423. ;                     relying on the fact it is automatically initialized to an' r, T6 Y+ p/ N  ~: f( m
  424. ;                     empty string)& x% N8 J  ~8 P: I$ @9 F; R
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    , a" f4 t& g+ q! l+ a# L
  426. ;                     to your code which will ensure the best interoperability2 A4 C. l& J6 o7 Q- n
  427. ;                     and forward compatibility of your code# O; ~3 S/ J# Q. D8 Z  J! I5 f
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    3 ^$ K) e% c! h1 X
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    , t1 {# E! D; {& f& |6 Y7 H4 C; s# |
  430. ;                     initial startup
    9 S' Y  i3 F6 {8 }1 e, p
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ E2 \- J9 S/ o/ s$ G- X: B  Z
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " l  C( r  }# |
  433. ; E_USER_ERROR      - user-generated error message
    ' m6 p- r4 B3 ?4 G3 s$ T
  434. ; E_USER_WARNING    - user-generated warning message8 s1 ^8 Z: e5 P. j! R- q
  435. ; E_USER_NOTICE     - user-generated notice message, T$ C6 B1 ~# s, u5 |
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    6 R/ `& b, [7 d4 M, X
  437. ;                     of PHP
    - @* ]8 R! [) M8 e! o2 n
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - A, `- O: l  e$ p$ O6 l, I
  439. ;
    3 U' K2 n5 x2 m+ M# G# m1 R
  440. ; Common Values:
    # e8 N: z& G& g/ v
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) I& e& c$ V* D9 c, _: U. O
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    8 D' w1 S1 q% q4 V; i
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( O1 k, o3 K: v' ]% D5 B5 P& I5 D/ ^
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)& \! n/ t0 r1 u* m' E& J' \
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% E+ W3 E/ \- c" S7 j
  446. ; Development Value: E_ALL
    - D- V7 ^8 M! `- z5 w) w
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 q' t' n8 |5 j4 g
  448. ; http://php.net/error-reporting
    $ [) `4 o3 O0 L, M/ F; g
  449. error_reporting = E_ALL & ~E_NOTICE* b7 `- A- Q: p% N

  450.   X+ I# a& @" q2 E
  451. ; This directive controls whether or not and where PHP will output errors,: R( D$ h" y  A. S. V3 J+ Q
  452. ; notices and warnings too. Error output is very useful during development, but: e1 @) w! v1 s- K
  453. ; it could be very dangerous in production environments. Depending on the code
    : Z* K( Q1 u# c0 @" m
  454. ; which is triggering the error, sensitive information could potentially leak, P  K& M8 V) p! ^- Q
  455. ; out of your application such as database usernames and passwords or worse.
    8 D& @( o. e- l" `; {0 ~. p  O
  456. ; For production environments, we recommend logging errors rather than
    7 C+ E7 X" I+ C
  457. ; sending them to STDOUT.
    * |% G* E& v( y5 A3 R+ A
  458. ; Possible Values:
    : b) L0 C1 y5 [+ m
  459. ;   Off = Do not display any errors
    # y6 @9 R" d% a
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)1 T9 @7 t' R% x& A
  461. ;   On or stdout = Display errors to STDOUT
    6 M+ P) [6 e  ~
  462. ; Default Value: On
    7 t' k8 ~! B2 |
  463. ; Development Value: On' d0 m, @5 s6 q
  464. ; Production Value: Off
    : b0 J' y3 p0 r& W
  465. ; http://php.net/display-errors  x3 U- C( N: P( g
  466. display_errors = On
    ( @0 _* z& J2 u" j, O! m: m
  467. , @' y% c5 t0 K" s# }/ C0 I
  468. ; The display of errors which occur during PHP's startup sequence are handled
    $ Y$ V$ C; y1 v% f& U$ s3 E
  469. ; separately from display_errors. PHP's default behavior is to suppress those0 j0 f& X4 h5 N, f! L: u- ~8 c
  470. ; errors from clients. Turning the display of startup errors on can be useful in) X6 Y+ W. Z8 S
  471. ; debugging configuration problems. We strongly recommend you
    / Y% ^( F! F  |
  472. ; set this to 'off' for production servers.
    ! h" [$ ~: x. C; V* Z4 H6 @6 p, [  }' I( w
  473. ; Default Value: Off
    5 R. G8 ]$ p+ j% k' h! h1 l
  474. ; Development Value: On
    . ?. `& M) d3 _# N
  475. ; Production Value: Off. A8 B2 \- R: C* v6 O# ^5 g
  476. ; http://php.net/display-startup-errors3 Z9 z4 ~$ s8 T0 O# p. b8 x
  477. display_startup_errors = Off* [( _8 V+ j7 Z6 b( V8 A

  478. - q) @9 [3 K) m, b
  479. ; Besides displaying errors, PHP can also log errors to locations such as a- S. s/ O: J; `% W1 O
  480. ; server-specific log, STDERR, or a location specified by the error_log+ s' b( O$ ?5 W0 A( A/ i! [# `' L
  481. ; directive found below. While errors should not be displayed on productions% @8 k! n* p% ~7 g, ~6 k8 E
  482. ; servers they should still be monitored and logging is a great way to do that.2 \2 r+ ?! h) g, y0 _
  483. ; Default Value: Off
    - o9 W, K! Y8 p# v5 b0 ~7 @( R+ K' P
  484. ; Development Value: On( o* X7 X8 {, h% w
  485. ; Production Value: On
    5 a3 Q3 h* {' G$ P, Y6 F
  486. ; http://php.net/log-errors
    $ [( u7 Y3 }0 d5 b7 J6 i- z
  487. log_errors = On$ x  M  P, A/ |# a, r

  488. % p5 V8 y: G7 N& B( U
  489. ; Set maximum length of log_errors. In error_log information about the source is
    # N: j) u& K2 c$ K5 ?5 r1 Z1 a
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : u5 W  S+ k  `5 x* b4 T- J0 D$ y) B
  491. ; http://php.net/log-errors-max-len; F# Y7 F: o# H2 u8 S
  492. log_errors_max_len = 1024" c  }3 E1 q8 ?

  493. , k# X/ w) l; I
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same1 \# u- z( d% y* G* M4 @
  495. ; line unless ignore_repeated_source is set true.) a1 z7 Z0 B7 G7 [
  496. ; http://php.net/ignore-repeated-errors) Q1 A$ Z2 q5 a6 A" J
  497. ignore_repeated_errors = Off
    5 k/ G2 }" x; }' {# D( @; k7 u5 m

  498. - U1 {6 T  v6 N  \1 K4 {# d
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ( p+ K) E5 h8 i# y: u* A4 j' g/ Q
  500. ; is On you will not log errors with repeated messages from different files or! k# e" j$ R" G2 D
  501. ; source lines.
    ; l2 C: p) w! N6 y
  502. ; http://php.net/ignore-repeated-source. O2 J" D5 l+ i+ _; f2 L
  503. ignore_repeated_source = Off
    * m' s8 I, N+ j5 Z  @

  504. 6 m, Y) d; v( S% l; x8 m' I! t
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    9 ]3 X, u) ]0 @7 l  c" O, S) {
  506. ; stdout or in the log). This has only effect in a debug compile, and if" C. g$ n9 t+ A+ v2 j
  507. ; error reporting includes E_WARNING in the allowed list
    * R$ X* X) R2 e* m
  508. ; http://php.net/report-memleaks
    / ^+ X) E$ ^" ~1 ^# ~' Z. B
  509. report_memleaks = On
    - k) W) D5 `( r6 f/ ^; A$ |
  510. 8 K$ I: w; |7 ^5 O3 ^
  511. ; This setting is on by default.
    : T3 m: m7 X* _1 O7 b
  512. ;report_zend_debug = 0
    ! u. R  m" z  j
  513. 6 w' j- I& r6 u8 l) Q+ u' D) D. P
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    4 J8 R8 I+ @( R5 E$ @4 M" ^4 Q) G
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    3 M, s& s* H+ U( m' B! ]
  516. ; however be disabled on production servers.
    2 |1 E$ b& A" s
  517. ; Default Value: Off$ B: }$ \/ Y+ I& d* B( i
  518. ; Development Value: On
    : y* N& {- y! }! k
  519. ; Production Value: Off
    2 m' r0 c/ |' U/ V; O
  520. ; http://php.net/track-errors6 H' p  I5 C! Q
  521. track_errors = Off
    7 H5 l$ S& k; v9 H! I
  522. 4 V! O8 L) x7 W4 M  s/ o$ v
  523. ; Turn off normal error reporting and emit XML-RPC error XML9 h+ C: O" ~6 p0 ?' p% P  @- }
  524. ; http://php.net/xmlrpc-errors' h* I; U5 K) L2 Y3 }
  525. ;xmlrpc_errors = 09 R! X" t' ?9 Q) R) P( ?5 V7 h

  526. ' @/ g3 @' k- O. h
  527. ; An XML-RPC faultCode
    1 |' D8 y3 L0 z: H2 Q* V: G
  528. ;xmlrpc_error_number = 04 h8 F0 j  N$ R- s

  529.   ]+ m  c' n- @) ]
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , a% x9 Z; R; c" J7 B" Z9 @5 x: D1 a
  531. ; error message as HTML for easier reading. This directive controls whether: n3 n3 Y7 g8 N9 A) V# a
  532. ; the error message is formatted as HTML or not.) |  S% _1 g5 ?9 z2 \
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # g" r: M5 h9 j5 A) Z2 o2 k
  534. ; Default Value: On2 e$ d. X; E+ H1 w7 o0 M# k9 m
  535. ; Development Value: On/ A% }: j! q: R; v; j. M
  536. ; Production value: On3 |/ z, n' R) S6 E2 i/ h) F
  537. ; http://php.net/html-errors
    9 G7 B  q6 ~3 t; z+ e' }: W, T
  538. html_errors = On: T0 X  O' M( _& I$ k! V  o
  539. ; l, m! w# H, B/ Q
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    * S8 W- X" i. f: V- F( y; I
  541. ; produces clickable error messages that direct to a page describing the error* h" S$ G; p9 \8 R$ t3 o* m9 o
  542. ; or function causing the error in detail.
    7 a6 B3 Q0 \( J6 i
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    2 j7 @7 \( U8 D. b" J
  544. ; and change docref_root to the base URL of your local copy including the
    . F8 X0 B% z) B2 H  L/ _
  545. ; leading '/'. You must also specify the file extension being used including" G2 X" K9 H: X7 q( @/ w
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which5 t7 I1 y) {! @' p* o8 E
  547. ; case no links to documentation are generated.5 x3 Y" t' K: j9 @
  548. ; Note: Never use this feature for production boxes.
    . |& o0 Y* e7 c  u% C: b! {
  549. ; http://php.net/docref-root1 l# o) _9 H# g# }! I3 F1 ~: j) d
  550. ; Examples
    ' e' d! }/ G5 \6 M3 w, p- G
  551. ;docref_root = "/phpmanual/"+ G* y; H4 y) [' {3 c
  552. & X' Z/ q' I1 T
  553. ; http://php.net/docref-ext
    ; R$ h; ?' T  t4 m
  554. ;docref_ext = .html5 N7 c4 K# n5 e$ O* Y0 c$ f% I

  555. 8 z. v9 H% Q% I5 g
  556. ; String to output before an error message. PHP's default behavior is to leave8 {) F$ p- J7 }; [( @) G# q7 k
  557. ; this setting blank.
    ; g, j+ [2 L# ]( Y" D
  558. ; http://php.net/error-prepend-string
    ( Y% `" j: O' D* o3 n0 s. \
  559. ; Example:* c) f. c6 w1 K; F, M
  560. ;error_prepend_string = "<span style='color: #ff0000'>"1 Z( L3 [9 d3 L3 g

  561. 7 l' o% ]4 R& b" H8 c" g  e
  562. ; String to output after an error message. PHP's default behavior is to leave- I' K2 M$ R% [* g2 M! Y6 x
  563. ; this setting blank.
    3 i) m, w4 }( e. S
  564. ; http://php.net/error-append-string
    # |! Z+ ]0 {% S
  565. ; Example:; L0 w- I8 ?  R8 S' t! `; p- b
  566. ;error_append_string = "</span>"
    + R* N  E& U7 p$ I4 T; q
  567. ' H/ ~9 n7 N% O. m$ Q- F0 V' i
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ; Z3 `: G. l! V+ T
  569. ; empty./ n& U0 ?( T) Q, s2 C' ~
  570. ; http://php.net/error-log
    % O# \( v: g( x/ @7 K4 e- Z
  571. ; Example:6 p# Q- g/ H# D9 R( c9 Y+ `' Z
  572. ;error_log = php_errors.log8 G& M; K& v0 X/ f$ Z
  573. ; Log errors to syslog (Event Log on Windows).
    $ Z7 b# s$ [7 i# T" O
  574. ;error_log = syslog
    3 @* ~# q- O# `+ S

  575. 8 f  ?& G) O, ]& D1 G
  576. ;windows.show_crt_warning6 M& Z) Q* v6 o: g- f. Q6 z3 @
  577. ; Default value: 0
    + \7 b! o2 U' o$ l" ?; _( A
  578. ; Development value: 0
    0 x* x  V: m  |: ^" G
  579. ; Production value: 0
    + Z$ `6 U$ t- M. }; q

  580. & S  P6 \3 e5 l: P/ w
  581. ;;;;;;;;;;;;;;;;;
    8 Y$ s. |& o$ }3 F7 Y7 s# t0 |: |  x' S
  582. ; Data Handling ;
    % e+ ^: Y6 F) j0 x, N  D* g: j5 [
  583. ;;;;;;;;;;;;;;;;;
    3 f" t9 P; c2 P6 \& m, ^

  584. , w* @7 l+ `( c. @, U
  585. ; The separator used in PHP generated URLs to separate arguments.% ^( [" q1 Z- c7 c% n+ H8 S
  586. ; PHP's default setting is "&".
    7 Q9 ]+ k/ t- y# X) V* u# g
  587. ; http://php.net/arg-separator.output- U6 F; Q' Q% O3 v# |3 E
  588. ; Example:1 h! I) z. x5 p/ T  @
  589. ;arg_separator.output = "&amp;"! n5 [/ m2 ]+ h" s3 W
  590. ' _8 l3 [, e" V$ q# p
  591. ; List of separator(s) used by PHP to parse input URLs into variables.9 V1 W: E* y4 U& e# z+ a
  592. ; PHP's default setting is "&".
    6 n' y- G- v' R2 g) T6 D
  593. ; NOTE: Every character in this directive is considered as separator!' {0 x* M( g% M
  594. ; http://php.net/arg-separator.input
    0 L2 M, y6 l  c$ ?; K$ s7 }
  595. ; Example:, C/ y" D; E" G5 g5 t
  596. ;arg_separator.input = ";&"
    4 c, \( y; T2 {
  597. 3 f+ h/ }8 c/ a- c* a- k% \+ {
  598. ; This directive determines which super global arrays are registered when PHP
    - }: @1 I  B& |& O( J" K% g6 Z
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ) d) r  ~! T, P2 v/ V
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; g$ y5 ^& X) E$ k' D
  601. ; paid for the registration of these arrays and because ENV is not as commonly: C0 {2 g( Q& [3 [) F! z# j' `
  602. ; used as the others, ENV is not recommended on productions servers. You
    ; ^  d6 j. ], N% M/ @: q
  603. ; can still get access to the environment variables through getenv() should you
    & t+ J" l5 t8 d6 n4 x0 o1 N' p
  604. ; need to.0 f$ k% I8 ~" |% `+ H
  605. ; Default Value: "EGPCS"; n  Y4 D/ @/ R4 W) L. ]. h
  606. ; Development Value: "GPCS"
    , ~2 i% O' d) \% P: a6 N* a2 K
  607. ; Production Value: "GPCS";
    ) k$ o7 t4 L, s2 N- B3 l! b; s
  608. ; http://php.net/variables-order! W6 x6 j$ [% |# j
  609. variables_order = "GPCS"
    # o; n- l4 i( V+ v) A+ l2 r
  610. 3 a' t, K, K$ D
  611. ; This directive determines which super global data (G,P & C) should be
    0 A7 [$ m. a7 L8 t
  612. ; registered into the super global array REQUEST. If so, it also determines
    - V" P2 x9 t( t7 b
  613. ; the order in which that data is registered. The values for this directive" i" ^( W' Z! [2 H8 ~2 U% y
  614. ; are specified in the same manner as the variables_order directive,* ], J, }& W9 }, N9 N3 u
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) q' i' S6 R2 ]3 g/ b; m7 G8 O
  616. ; in the variables_order directive. It does not mean it will leave the super$ N8 L% q7 d% [# @
  617. ; globals array REQUEST empty.
    " T2 t# Y/ ^4 e7 t
  618. ; Default Value: None0 n& O$ v% r! W9 h
  619. ; Development Value: "GP". W9 w0 w6 Q; p8 l, @
  620. ; Production Value: "GP"
    0 m- F1 ]8 f5 R' d9 Q
  621. ; http://php.net/request-order3 F) D0 \* s- a2 J
  622. request_order = "GP"* p- ^' q; S* W) H/ G" [
  623. 9 `; k7 v1 {4 v3 D
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    " I7 z2 Y0 ~, a* n' ]( v( D
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ' Y/ T4 H4 e1 o: S! H1 f# J2 I
  626. ; is invoked. $argc contains an integer representing the number of arguments! b/ s3 H, @/ @7 L
  627. ; that were passed when the script was invoked. These arrays are extremely0 r# ?1 [$ p# ~/ i3 X  t
  628. ; useful when running scripts from the command line. When this directive is
    + T, S, M$ L) W3 u3 g$ [( w% ?
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ( z1 n: i( L7 c1 K; E( U$ F
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ! P( i/ c" W' M+ L$ D  C0 M
  631. ; on production servers.* n0 T* a6 G! t; b, R  i
  632. ; Note: This directive is hardcoded to On for the CLI SAPI& q/ h* P8 S8 ~9 c8 C; L
  633. ; Default Value: On, R( @, [& k( z. l) Q' O/ B# Q" y
  634. ; Development Value: Off
    2 l; E  y' d1 \2 g% Y* }7 K) e
  635. ; Production Value: Off7 M; _" y$ B; y
  636. ; http://php.net/register-argc-argv
    4 ?) k  @5 s2 R$ V5 i
  637. register_argc_argv = Off; @* z# t6 j8 s

  638. " ~* d1 d/ @& {% o* n1 [4 s3 _! o
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're2 B2 i" ?( B5 n: l) P) b! k, g: I% \
  640. ; first used (Just In Time) instead of when the script starts. If these
    ; q! }. x  `  u' v8 C+ ]6 ?
  641. ; variables are not used within a script, having this directive on will result
    7 r+ `+ q$ d4 K9 A
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled) x% R6 ~. u' h' W
  643. ; for this directive to have any affect.
    , d$ |; P; _$ o1 V6 n1 J6 @
  644. ; http://php.net/auto-globals-jit( l4 G& a  r1 ?- v+ R/ l! |: p
  645. auto_globals_jit = On
    7 Y1 u0 l/ x0 I8 ^1 H, b

  646. 7 r/ g+ F! _* s4 U
  647. ; Whether PHP will read the POST data.
    / ^5 W# `6 a' e1 _2 c: k
  648. ; This option is enabled by default.$ R1 [) x0 s1 Q. g6 Q/ D  x
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST5 ?6 F, @: _0 h: s  b  }: \$ m
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    / R, a$ Z% `5 o- r) n2 ?# {
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    8 r# X, ^1 X$ L; D! T
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    6 F6 p: I- E" o  \
  653. ; http://php.net/enable-post-data-reading
    * B6 B( q' Q5 D! U# X4 P! h/ |
  654. ;enable_post_data_reading = Off4 h. }7 c0 @9 B' A- k

  655. 8 G3 b1 T& q' \
  656. ; Maximum size of POST data that PHP will accept.
    " N; Z, E3 r; N
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    1 h  M3 s- l# ?3 u4 P, \
  658. ; is disabled through enable_post_data_reading.
    * n7 \9 t& S$ \- I1 a- B3 b. ^
  659. ; http://php.net/post-max-size
    0 T! d$ |1 \* ?  P7 n- b
  660. post_max_size = 50M8 h2 z9 @7 {) K9 z9 j( \* n$ `+ A: M
  661.   r  B& ~9 c: K- g
  662. ; Automatically add files before PHP document.
    % @7 Y$ @' v! K5 g
  663. ; http://php.net/auto-prepend-file5 }9 H; C+ y2 C& d5 `) B4 z
  664. auto_prepend_file =
    0 C2 ~! O" _  O. m+ T5 i

  665. 5 s+ l' R% e: X, d6 P% M( ]% C" X
  666. ; Automatically add files after PHP document.8 b/ y& \% B; L% i0 {. t; e
  667. ; http://php.net/auto-append-file
    9 v4 H7 I  Z$ k( Z
  668. auto_append_file =
    6 d0 r) r: `9 J7 \

  669. # S; `* T0 P5 k
  670. ; By default, PHP will output a media type using the Content-Type header. To! _+ `9 |$ z6 B! G( \$ G) A5 F
  671. ; disable this, simply set it to be empty.
    : C! b' w" x) S- V: p' d- F6 E
  672. ;' p) H) j; i  W" \
  673. ; PHP's built-in default media type is set to text/html.
    + c7 @5 k9 `7 h1 N# R) I. Z
  674. ; http://php.net/default-mimetype
    5 V$ d, _7 `% @% a) x. E4 Q
  675. default_mimetype = "text/html"9 g7 |- v1 |! w# S% ?' N
  676. " Z  _! t/ u9 N8 u" W) L: a
  677. ; PHP's default character set is set to UTF-8.
    . S" U& K4 K8 {" N$ E6 F
  678. ; http://php.net/default-charset1 k) _& Q" ]6 h7 y
  679. default_charset = "UTF-8"1 [- Y8 X& S8 c- B  \3 v

  680. % }/ c. r7 Q& D9 x% @- N
  681. ; PHP internal character encoding is set to empty.3 @4 ]; N. S! e- n
  682. ; If empty, default_charset is used." K# R1 }3 h: a
  683. ; http://php.net/internal-encoding
    0 S& I  ?# t3 T
  684. ;internal_encoding =
    6 |1 }# V) o- |* b3 I
  685. : H0 y: J. b  w7 ^- r
  686. ; PHP input character encoding is set to empty.( T" r* V8 K$ B+ A2 A: M
  687. ; If empty, default_charset is used.$ W# A9 q3 v# E" u
  688. ; http://php.net/input-encoding
    % w  j! Q" J2 _8 Q7 I9 t/ [
  689. ;input_encoding =
    % L' ]) O7 I; e% J

  690. 3 U: Z0 m% H) ]# }# ?3 l
  691. ; PHP output character encoding is set to empty.
    / C0 i5 D  V4 B6 S/ c
  692. ; If empty, default_charset is used.
    2 h! x: t1 F7 f' N' n3 D( J" ^
  693. ; See also output_buffer.7 h/ G0 M& I2 L0 h9 r
  694. ; http://php.net/output-encoding9 _4 @* ^1 q0 X- `# ~" b& D% w6 o
  695. ;output_encoding =7 X3 D. D/ \2 q/ L

  696. ( H' W& W+ d+ N) s
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is6 B6 M3 i9 ~1 y. {7 @
  698. ; to disable this feature and it will be removed in a future version.! j" E/ w- U0 @0 @
  699. ; If post reading is disabled through enable_post_data_reading,) w# J& B9 T' ^) f
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated., X9 ~' _1 c6 A+ l4 D
  701. ; http://php.net/always-populate-raw-post-data% ?4 t0 T/ V: j0 c/ [
  702. ;always_populate_raw_post_data = -1# N! @: H* A' J, N
  703. ! [1 D( P) h  Z  z* p
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 h  x6 G7 l/ F! o" r) V: U, f+ X
  705. ; Paths and Directories ;9 T4 G4 y5 I) b+ k% h& {# y
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;" x! u3 }+ H9 R

  707. 4 }+ h( N" p+ S+ o( \$ q
  708. ; UNIX: "/path1:/path2"# ?) ]. V, f5 [9 T. Z
  709. ;include_path = ".:/php/includes") l0 s" D* n( }5 m
  710. ;
    - L+ \/ S& L4 v' r! @- P# M
  711. ; Windows: "\path1;\path2"
    1 s1 @2 V% [9 l7 ~" q( G) f; F
  712. ;include_path = ".;c:\php\includes"" s/ p  b9 H' ~
  713. ;5 D" I; a* g4 c' m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"% k& S2 D2 n3 [
  715. ; http://php.net/include-path! u# P9 `% s8 Z1 g

  716. 7 U( @7 G3 w! C( }: u. x
  717. ; The root of the PHP pages, used only if nonempty.
    $ o% N' d% G/ O; n8 l% H) |
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 p8 Y, n! c' Y  b0 D2 ?7 f
  719. ; if you are running php as a CGI under any web server (other than IIS): e# g7 Q3 _. j& [( v
  720. ; see documentation for security issues.  The alternate is to use the. l7 F$ c; X/ o
  721. ; cgi.force_redirect configuration below
    4 b2 \# Y# }* w# q  f
  722. ; http://php.net/doc-root
    ! t& M2 A$ |9 _5 i6 Q4 A
  723. doc_root =
    $ p5 f: `6 b) L6 j6 P9 O1 Q% [7 O

  724. 5 c% O* z0 k9 [/ z' V% I- o
  725. ; The directory under which PHP opens the script using /~username used only
    ) G( L  m/ c6 ~
  726. ; if nonempty.
    / w! R& o# s/ x- h
  727. ; http://php.net/user-dir
    0 I: V7 }$ ~) p) l& ]
  728. user_dir =
    4 {4 {, k# \- h8 @6 z3 g, a
  729. - d2 n6 I$ h. T; \- e
  730. ; Directory in which the loadable extensions (modules) reside.) e1 U* V! U6 g* N: S4 V0 _
  731. ; http://php.net/extension-dir: o2 |4 x6 g. g6 L# c8 {+ [
  732. ; extension_dir = "./"
    ; R; W; ~- R* F/ @. @
  733. ; On windows:; v) ^- I4 @9 y7 f0 w5 z4 L
  734. ; extension_dir = "ext"
    * d( v8 O0 R/ Y; k6 e

  735. # B1 z: r* A( i+ h
  736. ; Directory where the temporary files should be placed.
      |$ {7 o0 s# w% }
  737. ; Defaults to the system default (see sys_get_temp_dir)
    8 H) c8 X9 z% v0 |5 r/ Y$ d/ a; q
  738. ; sys_temp_dir = "/tmp"" e$ G$ `5 {6 B8 c! _6 ^

  739. 5 m# d. v! K5 Y3 x/ k- W: X% G
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    6 t! P2 r, i+ p3 M- n5 ]
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & q& ^/ P; L% H# {: T
  742. ; disabled on them.
    * Q9 f2 l  N, a# X- R6 N: z
  743. ; http://php.net/enable-dl
    $ ^9 V9 y" @( G- S
  744. enable_dl = Off# r' x; D$ y& I7 K

  745.   I( W) T3 q1 m# c& Y  d  P  C0 A4 ^
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; I# V: w  Y& o, ]1 f( p
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    : }9 H9 }1 e) n0 n: K# [9 J7 C0 b8 ^
  748. ; turn it off here AT YOUR OWN RISK9 L" J. D/ r9 k# ]' r# {
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**. X8 L2 z% d: n* c, _& w
  750. ; http://php.net/cgi.force-redirect3 f6 M4 T$ z7 [5 g, v2 W& r
  751. ;cgi.force_redirect = 18 @! B1 G) g' ?- K
  752. # t, C9 q! R' A
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with# Z; e8 f$ n# G' x" ~- P
  754. ; every request. PHP's default behavior is to disable this feature.% g  R. W" L8 I8 ~/ Q0 L- ^
  755. ;cgi.nph = 1
    * C0 W9 {# z6 ~0 T- d

  756. 3 I- W$ Z: M7 X* Z
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape' W( D* R# n. U% n; \( U" K
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP8 ]& u4 O  F1 g% I( Y+ D3 c5 S
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    / E9 K2 t& Z$ ?" E% \
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& J, ^9 N$ u# Y' [' P7 f
  761. ; http://php.net/cgi.redirect-status-env3 q! J8 D' F! S3 x; @8 s
  762. ;cgi.redirect_status_env =* S/ }: {* H7 J7 U. X: D

  763. " o0 g+ V$ G# n1 I) J
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    * @/ U  Q: J6 O
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ' {1 D3 F" f6 _5 x/ ?1 D1 o
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting6 b$ l( J0 E$ l& z# T
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ! I$ e% M& R* F5 ^) X+ ]
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " }4 _4 i0 ?! L: v) I0 G
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ' {0 s) [! ^. A6 O. ^
  770. ; http://php.net/cgi.fix-pathinfo
    " _& Q' W  h% w
  771. cgi.fix_pathinfo=1
    5 |! \# V1 ]5 F

  772.   _+ U1 r; Y6 r0 E
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 x7 v7 Y% A9 y9 r9 m, a3 k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.+ z" F' H0 `% {4 P
  775. ; http://php.net/cgi.dicard-path: c. ^9 V3 E; G( W' v( c0 S
  776. ;cgi.discard_path=1
    % h) a6 R' b$ i. d- a9 j) W! {! F& h

  777. 6 {( H0 w; t' h6 }! t
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    2 U+ y+ Y$ a% w, l% `5 {2 l+ k
  779. ; security tokens of the calling client.  This allows IIS to define the- B& |6 I) N( p; B" ^; w
  780. ; security context that the request runs under.  mod_fastcgi under Apache! |2 R: T/ B( c" y
  781. ; does not currently support this feature (03/17/2002)
    : i! ?9 F4 J: s2 d6 ]  i/ z5 P
  782. ; Set to 1 if running under IIS.  Default is zero.
    / z0 n/ L* @' a$ v2 C
  783. ; http://php.net/fastcgi.impersonate2 ]' M9 d4 ]- @5 t
  784. ;fastcgi.impersonate = 1
    4 z! o: k! ^7 U/ Q

  785. ( ]& j" z) F8 g% [% n
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    % |( L( [3 ~2 F( b) ^$ P8 E3 v
  787. ; this feature.- G. y1 J7 o0 Q
  788. ;fastcgi.logging = 0) A* [! _& l$ `& i: n8 \; z: @
  789. 5 r8 x  o. @  `
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: P/ P2 s  ^+ U" R) j
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * p1 q/ q$ U! L' q; n6 q6 l6 ~
  792. ; is supported by Apache. When this option is set to 1, PHP will send/ o& l7 H8 @( a$ `  V4 P7 |
  793. ; RFC2616 compliant header.) N% J# Z2 P# R& h' Z7 ~& E
  794. ; Default is zero.
    0 h5 l  R. A$ X( r& f
  795. ; http://php.net/cgi.rfc2616-headers+ f& n$ }% Q7 e2 M: z8 A8 s% d9 `
  796. ;cgi.rfc2616_headers = 0
    3 v# n# d* S% a  M& @6 v2 d
  797. 6 h6 @& b! P$ Y" w
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    8 Q% n' k, |* o
  799. ; (shebang) at the top of the running script. This line might be needed if the! n! l9 ?& {7 E: P1 n
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 n# E7 E* B- a8 R" d; Z1 b7 ~
  801. ; mode skips this line and ignores its content if this directive is turned on.1 g" ?) g* l4 `9 A" l
  802. ; http://php.net/cgi.check-shebang-line
    , S+ M0 E- O3 g2 `' M9 N2 J
  803. ;cgi.check_shebang_line=1
    : O4 E; {! J3 [& B" ]
  804. 4 c, t  v/ {+ @; V
  805. ;;;;;;;;;;;;;;;;1 ?1 {/ a; N- q9 ]/ \0 o
  806. ; File Uploads ;! j9 ^0 }( }4 a, [; \+ \
  807. ;;;;;;;;;;;;;;;;1 x/ g5 D( x) D; G' ~
  808. 9 }/ J- A& L! l! S
  809. ; Whether to allow HTTP file uploads.* j/ a# A* ^" G0 H- ^% t
  810. ; http://php.net/file-uploads* m0 s$ s' q+ G& l
  811. file_uploads = On. s( A  i5 w1 I. V
  812.   a2 M. T, U8 \, T! g  s# ^% f
  813. ; Temporary directory for HTTP uploaded files (will use system default if not* G/ Q6 }7 j+ |- {
  814. ; specified).  c+ V! U/ x1 K
  815. ; http://php.net/upload-tmp-dir8 d) `* ~) d# V$ ^
  816. ;upload_tmp_dir =
    , A7 c/ V7 [& x! K8 X
  817. 8 X+ ?3 z. L3 a* p, |* _( _! e
  818. ; Maximum allowed size for uploaded files.* `- d  ?+ `6 T4 q0 q$ L
  819. ; http://php.net/upload-max-filesize
    2 _/ j" |/ e* {# R# c; v
  820. upload_max_filesize = 50M! V0 h+ Y  R# D, [8 l

  821. 5 v( M$ W2 i. ]' g1 D
  822. ; Maximum number of files that can be uploaded via a single request
    . P9 f. R) Z! m/ g
  823. max_file_uploads = 20- u/ T  R3 h& v/ e1 E- D! z
  824. ; p& v3 h: {1 d
  825. ;;;;;;;;;;;;;;;;;;  n+ l) J/ Z. ~9 ?- z, v
  826. ; Fopen wrappers ;, B$ z1 Y9 Z8 b0 e
  827. ;;;;;;;;;;;;;;;;;;
    # m# t7 x/ Z  n6 H% O# |
  828. 0 k5 d' \7 U5 W* q) Y$ a
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.2 H& e: P$ i* j# v! x. k
  830. ; http://php.net/allow-url-fopen/ K6 T) s: W6 G- L
  831. allow_url_fopen = On7 X+ b! L% _& B! Q' F: U
  832. 9 z( X8 i$ h* F- M$ f/ \
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    3 n, V  l# ~+ S  l
  834. ; http://php.net/allow-url-include
    0 J! e9 V" E: e* z; q7 x
  835. allow_url_include = Off
    9 q1 r% F) @/ j5 J( ~/ @) [9 F% }
  836. 1 c/ l  u1 i) f! @/ m. v
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    1 [4 J; j' h: a' D7 t# `8 b
  838. ; for this is empty.
    ' S% y3 d5 d, u- v/ E/ o+ i+ h+ e
  839. ; http://php.net/from; v, E, D' D7 w  n) C4 [; g
  840. ;from="john@doe.com"
    % C8 a" r5 d* ?7 |9 f0 C
  841. ( ~7 B/ }2 v2 m2 `2 q- `
  842. ; Define the User-Agent string. PHP's default setting for this is empty.9 n; ~: q& t" [  i8 F" B
  843. ; http://php.net/user-agent
    9 u+ b) g5 `/ z
  844. ;user_agent="PHP"0 a4 L) B* o, D2 z; L0 S# Z
  845. 1 Y/ L0 E5 x) t) }
  846. ; Default timeout for socket based streams (seconds)
    1 C  Z6 S: E8 p5 y
  847. ; http://php.net/default-socket-timeout% y" N2 ^" c0 d; i8 ~9 }
  848. default_socket_timeout = 60
    4 y  \5 ~1 {# C; _7 O0 i: w8 _
  849. ; p" h) X% m9 y" _7 [  c& Q! p
  850. ; If your scripts have to deal with files from Macintosh systems,
    ( |4 N- B; n! M7 M" ~
  851. ; or you are running on a Mac and need to deal with files from
    5 A  m! d8 G) i+ G
  852. ; unix or win32 systems, setting this flag will cause PHP to
    2 x+ M$ U; k" }& q! y
  853. ; automatically detect the EOL character in those files so that
    7 d, v  }6 `) t8 N, F( T
  854. ; fgets() and file() will work regardless of the source of the file.9 f2 r% f' V2 Y8 `
  855. ; http://php.net/auto-detect-line-endings
    ! H+ z! `9 }4 S. ~3 ?/ n9 i$ R0 I
  856. ;auto_detect_line_endings = Off# B( C3 g' e/ K7 \

  857. . u; w& [$ o4 z
  858. ;;;;;;;;;;;;;;;;;;;;;;
    / h- E/ e& F6 r; x  m
  859. ; Dynamic Extensions ;9 y0 h1 w2 C& v5 j
  860. ;;;;;;;;;;;;;;;;;;;;;;, q+ d7 r# ]& D( z  n

  861. 1 k# M& [% s4 z( I. w$ I
  862. ; If you wish to have an extension loaded automatically, use the following
    4 U: b2 j9 y) V- O$ Z' n0 R
  863. ; syntax:
    - M' }( ~2 l( }2 `7 {. [& q
  864. ;
    . j8 [- P% f( H% `' P7 E
  865. ;   extension=modulename.extension( V9 X: V8 M0 V! J8 o! o/ U$ q
  866. ;
    $ e4 W3 s+ ~, J- k* Q
  867. ; For example, on Windows:
    $ }3 S! W) v8 A9 O: a
  868. ;
    # t% u3 N) T; g% i+ O/ ?
  869. ;   extension=msql.dll
    % L* p: W9 Z2 M& g2 {2 |4 M* i6 U
  870. ;
    6 s$ J5 i3 b+ @: V  f
  871. ; ... or under UNIX:" b5 w  j% w( S3 \8 [6 X
  872. ;) c' a# s) _, ]" p1 I9 L
  873. ;   extension=msql.so# ?6 t" z/ b$ N
  874. ;
    / h- T0 O9 n) a7 i' M- f9 t- C
  875. ; ... or with a path:
    7 U+ c! {. j4 l7 c2 S0 U
  876. ;! b" A2 B5 V2 `# K+ L. k" m- r; c5 F
  877. ;   extension=/path/to/extension/msql.so
    ! G5 z% P3 V3 S7 v" Q- ]
  878. ;% t: {# ~1 T/ i) _2 l3 g
  879. ; If you only provide the name of the extension, PHP will look for it in its" @, x2 }( {1 e" ^: s
  880. ; default extension directory.
    / j# I3 I3 Y+ r- i' D  I: y
  881. ;' G4 F3 L2 ^: u% ]7 Y$ [
  882. ; Windows Extensions
    $ `5 R3 o. s  `1 d) ]9 @! ^
  883. ; Note that ODBC support is built in, so no dll is needed for it.$ c( [4 s0 W' J
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)0 U3 O) r' {5 M0 i0 H: u
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).# N9 a; d$ W3 L1 T
  886. ; Be sure to appropriately set the extension_dir directive.7 n4 {; i9 S, d0 T
  887. ;
      ~5 W4 N: Y, @: r
  888. ;extension=php_bz2.dll2 [+ S% q) @3 i2 y- M+ y/ t
  889. ;extension=php_curl.dll
    ! c6 e$ Z* y$ v
  890. ;extension=php_fileinfo.dll4 r3 Y+ ~, |# |- @: s: l
  891. ;extension=php_gd2.dll
    * p( u6 f* t) v, X
  892. ;extension=php_gettext.dll
      u) k# ~( R# }7 d) p. W  K% x" L
  893. ;extension=php_gmp.dll
    ) B- d8 `2 e, l* A# c
  894. ;extension=php_intl.dll2 C- t# i8 i' A- S  [
  895. ;extension=php_imap.dll
    9 G2 C( o5 D" j0 T6 H8 p
  896. ;extension=php_interbase.dll- H( Q; y5 w. U1 f, Z) W) q
  897. ;extension=php_ldap.dll% V' ^7 a. a6 T" D' V( A. l$ y
  898. ;extension=php_mbstring.dll# q; {1 Y- p7 w3 I" j
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it  \: u+ L/ R3 H4 r5 N
  900. ;extension=php_mysql.dll* R. {5 g8 t3 l# |
  901. ;extension=php_mysqli.dll7 j2 m) N9 Q4 s* @( x1 K
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & y5 S# e) w8 Z5 d9 w. S1 u
  903. ;extension=php_openssl.dll
    . v0 e$ c' q0 c' d7 G3 ]
  904. ;extension=php_pdo_firebird.dll
    - e# K$ L! R3 @5 N2 {
  905. ;extension=php_pdo_mysql.dll
      G, J+ u; t/ k! |7 O
  906. ;extension=php_pdo_oci.dll
      Z( `. @9 v/ o% k* `5 p
  907. ;extension=php_pdo_odbc.dll
    ; h" ]% l$ I9 Q: s
  908. ;extension=php_pdo_pgsql.dll4 o% [4 n' v, |* ?6 M+ V
  909. ;extension=php_pdo_sqlite.dll
    + B: ~  l9 X$ w
  910. ;extension=php_pgsql.dll! E' O; O8 ?$ M( {* |
  911. ;extension=php_shmop.dll
    2 u8 N# o: N& x" P
  912. ! w( e! g7 k  T' I$ {* q# I
  913. ; The MIBS data available in the PHP distribution must be installed.
    ) }- m1 S8 g+ B; g  W
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    / X/ M$ Z+ c) Y* y
  915. ;extension=php_snmp.dll8 i0 }$ l4 C' ^! E3 ~" f- w% J
  916. % s4 b3 i6 B+ f& e- \$ c" }# H
  917. ;extension=php_soap.dll# [- K) {8 x. w% j0 l! Q
  918. ;extension=php_sockets.dll
    / o2 k# R* S1 I
  919. ;extension=php_sqlite3.dll* g6 ~. }$ k* i& r. v; n$ ^- a$ h
  920. ;extension=php_sybase_ct.dll
    2 j& i9 m% w% k0 ]* _4 {& ?" q
  921. ;extension=php_tidy.dll5 ~8 {# U! c. K" f8 U2 v) j
  922. ;extension=php_xmlrpc.dll
    * Y8 @9 L0 I; p$ a
  923. ;extension=php_xsl.dll% c. d- Z# y5 T9 ?2 c- m
  924. 7 _: |1 V; }1 ^  G3 w' h+ [4 E
  925. ;;;;;;;;;;;;;;;;;;;
    - d2 S7 ]6 b3 T
  926. ; Module Settings ;
    5 g  l% {3 \, C: N
  927. ;;;;;;;;;;;;;;;;;;;
    9 j, k3 Z" i; V5 ~

  928. 5 N: m* x3 _2 W
  929. [CLI Server]6 N; r0 o1 q% X- \
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.. z4 W& H0 q" M0 b
  931. cli_server.color = On' n9 g# [) K% P! R4 ]- k% S

  932. + O( t/ a& M' C: O+ w
  933. [Date]* l# W+ M+ x( y/ |6 h
  934. ; Defines the default timezone used by the date functions
    1 K, G  [- w/ W, J+ z
  935. ; http://php.net/date.timezone
    2 U3 S+ Q1 h  H7 D
  936. date.timezone = PRC5 M  l* j! f4 R& Q' f

  937. ! D9 y- h! M8 K9 M/ S# S# G
  938. ; http://php.net/date.default-latitude+ _( ~$ K7 d7 s6 e0 e6 U8 r( F
  939. ;date.default_latitude = 31.7667& H% T. E: j+ k! M3 u7 Q
  940. ( R' k! G, ^5 C; B/ s
  941. ; http://php.net/date.default-longitude0 x; {; J5 c; f  D, a. X) i
  942. ;date.default_longitude = 35.2333
    # J" s' p$ Y( d, \. o6 W- R' j
  943. 0 a4 Q9 J1 s7 L* i( m4 p
  944. ; http://php.net/date.sunrise-zenith
    + O8 A% Z, ~- h5 K. p
  945. ;date.sunrise_zenith = 90.583333/ b; B, V; A" K; P% b) Q: P

  946. & S, b" N2 D; U. |1 `
  947. ; http://php.net/date.sunset-zenith0 a$ ~8 Z" {/ m( q: `: x1 P
  948. ;date.sunset_zenith = 90.583333
    % J; A$ r- w! J2 R

  949. ! A+ w9 x+ F/ U7 _- ]; E
  950. [filter]" d4 z7 o* e2 o5 U8 X! a- g
  951. ; http://php.net/filter.default
    8 F* y9 e% T* P& u3 }/ z- q
  952. ;filter.default = unsafe_raw
    . K5 ?3 x! Z. K% i9 s% Z5 j  g0 `

  953. / @; ~% @! ?7 r& v
  954. ; http://php.net/filter.default-flags
    . w, [' g+ w: Q  @0 v
  955. ;filter.default_flags =$ E* G/ n$ \4 E9 o6 Z
  956. " W1 y9 Q& p0 E, I
  957. [iconv]
    ! i  M$ Q# I( Q9 I! f
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & O' |4 n8 `& x+ I3 a
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 ^% h: x9 B5 D; o
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    4 N) }8 J, ~- Y* C' k
  961. ;iconv.input_encoding =
    , X) F8 f% X: K% H9 R" |+ N
  962. ; K2 T. @' ~4 C' l+ h% K6 q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # s5 r2 |  ?6 x7 A( \
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 p8 B) ?% a- C: l- z/ _1 f
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 E+ [* N6 @5 J' s; K5 d4 n- S
  966. ;iconv.internal_encoding =
    5 p1 t6 u" T0 w4 g$ f4 t- W
  967. - ], N# o8 r$ ^! O1 v
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.$ k- Z5 c5 B2 _# f/ a5 J/ u0 R
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ A) l3 s) }6 a) b' Y' k" B5 W" D
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding$ b2 P, m$ S5 z; `, |; f
  971. ; To use an output encoding conversion, iconv's output handler must be set5 s' O, m3 ~8 J- M
  972. ; otherwise output encoding conversion cannot be performed.
    ) J% x" |) l- T" J' S
  973. ;iconv.output_encoding =8 W, r, t. H# }5 D6 G% G1 v

  974. 0 }- V+ @+ l5 y. s+ G) _
  975. [intl]
    ' s5 e+ W0 x3 ~8 w1 I% O1 L
  976. ;intl.default_locale =
    8 L  [2 E+ k' S
  977. ; This directive allows you to produce PHP errors when some error* ~( h: p( a% Q% i  _
  978. ; happens within intl functions. The value is the level of the error produced.! N* D4 ]) s" W/ Q! o7 _" h
  979. ; Default is 0, which does not produce any errors.
    3 z3 ?' Y+ K1 z' z. }
  980. ;intl.error_level = E_WARNING
    3 n9 X. ~$ w* `2 Y/ y- ^
  981. ;intl.use_exceptions = 03 w/ U/ i  g  R. }3 ]

  982. : I) @9 u9 d4 M. e7 |( s
  983. [sqlite3]
    / s5 r8 t7 }3 S. O- X
  984. ;sqlite3.extension_dir =
    1 o, h2 D7 `8 w3 Q" z6 f

  985. 4 q7 I6 _/ c/ d' g# `
  986. [Pcre]0 R1 U- T8 v& h* z8 R  Z
  987. ;PCRE library backtracking limit.. r( N* C( s- e5 Y$ P
  988. ; http://php.net/pcre.backtrack-limit
    3 k5 Y+ y7 P- c4 q
  989. ;pcre.backtrack_limit=100000; N- d/ b4 h- l; p1 T

  990. 2 y. U) F: @# b3 m" r' Z* J, E
  991. ;PCRE library recursion limit.
    3 |5 M3 Z. w6 l2 p
  992. ;Please note that if you set this value to a high number you may consume all
    5 V4 K- K4 Z& Z
  993. ;the available process stack and eventually crash PHP (due to reaching the, m0 x! m2 {* ^" U0 N8 P+ i
  994. ;stack size limit imposed by the Operating System).
    . Q4 O3 Q1 S' I" `; Q2 X1 }3 o
  995. ; http://php.net/pcre.recursion-limit5 t2 K$ i# w3 M% m: p# A6 I
  996. ;pcre.recursion_limit=100000. P8 Z7 e  u$ T4 Y
  997. & b5 H/ L3 s! E9 y$ o9 o
  998. [Pdo]
    : X) ?( B  `0 v  X
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # U2 z1 {* F% b' _4 f# m, _# Y
  1000. ; http://php.net/pdo-odbc.connection-pooling* n' L$ |- n* K3 ~$ s
  1001. ;pdo_odbc.connection_pooling=strict" p3 R3 E! }! B% a  d" H) t6 P
  1002. ) _' _; c: w6 f& q( X; ^+ b5 q6 N1 Z
  1003. ;pdo_odbc.db2_instance_name5 e) {/ |) f* `+ k+ i$ N" e
  1004. $ R; ]0 T4 J1 P' K% C3 g
  1005. [Pdo_mysql]- S$ J, ?3 z) p2 e* X
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache: g; k5 k' K3 y3 r+ g: r( l
  1007. ; http://php.net/pdo_mysql.cache_size
    ) L% I# z  M% O( G
  1008. pdo_mysql.cache_size = 2000- l" k, I  R. ^, [9 w& K8 A
  1009. # M9 u+ {( A! c2 x; W
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % @7 G/ g4 R6 b! |0 J( a
  1011. ; MySQL defaults.6 I7 r* Y2 _# \
  1012. ; http://php.net/pdo_mysql.default-socket
    , W+ n' E  u$ a+ X# f2 a% D
  1013. pdo_mysql.default_socket=
    6 ]/ n( O/ S8 W

  1014. / ]( ^) K% D" J  b7 p0 w; P
  1015. [Phar]
    ! `4 T6 x+ h; k* Z$ }/ t
  1016. ; http://php.net/phar.readonly1 X# _- U7 N/ l1 V+ Y9 u0 }
  1017. ;phar.readonly = On# H7 K7 b# k) R: y1 q8 q
  1018. ! O( |. J2 B. S9 I
  1019. ; http://php.net/phar.require-hash8 i: b8 j) I* p
  1020. ;phar.require_hash = On  d! V. `- T5 C
  1021. ( I4 N( ]$ f$ ^; F" F0 [3 K( O
  1022. ;phar.cache_list =
    9 p8 ~0 M; w: Y! ]5 a; O5 X' R0 h
  1023. & A% n' c7 F9 k% r! k1 B+ [
  1024. [mail function]+ e& |) F$ B2 `( H7 q
  1025. ; For Win32 only.
    & x+ u( G+ i0 D1 h& ]
  1026. ; http://php.net/smtp1 w" o; d1 d! r
  1027. SMTP = localhost
    6 c) e6 d& ~; k$ z: @+ @# Y9 O
  1028. ; http://php.net/smtp-port
    . @1 M7 d9 n1 m5 z$ d
  1029. smtp_port = 25
    ! _  \  ~# d2 {0 M  S! B/ C7 Z

  1030. 5 g0 W  I4 f6 m4 E: C
  1031. ; For Win32 only.$ G' y  z, p6 g. n. v5 o4 ~5 t$ O$ n4 s
  1032. ; http://php.net/sendmail-from$ k3 X8 Y- @7 M8 V- _3 r* t
  1033. ;sendmail_from = me@example.com
    " i/ X" T+ `. m4 D
  1034. & \4 i3 v, C2 `% d" x
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").4 R% f4 M1 y- D3 x  S' ~1 ^6 @
  1036. ; http://php.net/sendmail-path' o0 h; Q  C: Y! [+ S5 e
  1037. sendmail_path = /usr/sbin/sendmail -t -i5 H$ Y( K, w; [1 j5 F3 C
  1038. * m: G) Z4 d2 }/ a* e
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    + f  z1 d" g& B; v; ^! G  g9 }0 A1 i
  1040. ; to the sendmail binary. These parameters will always replace the value of
    & v" j% z2 d9 Y4 v6 s" Y" p: a' q
  1041. ; the 5th parameter to mail().( g: O  u" I& z, Z9 b
  1042. ;mail.force_extra_parameters =
    $ q, L$ u0 |6 f( ~' C9 `
  1043. ( O$ M4 F7 u6 ~6 R2 F' E) Z9 A" e4 w
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename9 R' a5 S& s# a5 U/ _* T
  1045. mail.add_x_header = On. L  ~6 t: r3 u/ R0 |( }

  1046. % I# e, H( y$ X- C0 D! a2 P) r
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    2 I) h% M9 m! I' H! c9 I6 x. \
  1048. ; the full path of the script, line number, To address and headers.
    " _+ H% c3 h$ K* z; N' V9 D6 P; f
  1049. ;mail.log =3 @/ m9 H7 N$ U& Z. a5 J
  1050. ; Log mail to syslog (Event Log on Windows).+ e& U% ^  O9 k0 S) @7 }; r
  1051. ;mail.log = syslog
    5 j5 c  \' Y) J/ ]

  1052. + a; w4 x! {" e, V, \* J0 w
  1053. [SQL]
    / x4 l1 e' y  _; [4 {
  1054. ; http://php.net/sql.safe-mode# i' P6 \- E* ^& c
  1055. sql.safe_mode = Off
    : u' o) k" C3 S4 z, n1 L

  1056. 0 N, |2 R; u& |1 t* S! g
  1057. [ODBC]4 z# Q5 t# h1 ]. L( H" ^
  1058. ; http://php.net/odbc.default-db
    # t! o  ?1 j- F$ H( U! F
  1059. ;odbc.default_db    =  Not yet implemented
    1 Q$ ?4 G; ~0 i2 a

  1060. 8 Y( e9 }4 `/ R, x7 v# J8 S
  1061. ; http://php.net/odbc.default-user$ K( X. L; w8 E  W2 G
  1062. ;odbc.default_user  =  Not yet implemented
    : z; z$ l5 w7 o+ I5 z$ \
  1063. # r; [; Y. l% p7 J' a& f( K
  1064. ; http://php.net/odbc.default-pw1 a! [# _+ H" z! D# [
  1065. ;odbc.default_pw    =  Not yet implemented( A5 G( ^- H4 Q. Y+ k

  1066. 0 x0 c# H/ ]4 p2 y: L
  1067. ; Controls the ODBC cursor model.
    1 R& P4 I( \- S3 {/ d
  1068. ; Default: SQL_CURSOR_STATIC (default).) z! f$ y* d  {  R+ p6 P/ y% \
  1069. ;odbc.default_cursortype
    & h1 \" q, ~( j+ m: ?8 S

  1070. 4 [3 q4 ~& \* s3 Q; m. `6 D
  1071. ; Allow or prevent persistent links.
      c1 z' d( {8 [" x
  1072. ; http://php.net/odbc.allow-persistent! I4 K0 k+ g+ `: X
  1073. odbc.allow_persistent = On
      _8 @/ `2 `2 J4 Z( g* b
  1074. $ l9 X8 ~/ ]% U% k. {
  1075. ; Check that a connection is still valid before reuse.
    # e4 Z$ {; D; I0 H2 A9 y
  1076. ; http://php.net/odbc.check-persistent
    9 [; A+ v. b  M
  1077. odbc.check_persistent = On* q' C' g2 J: V2 G
  1078. ! v$ l* ~2 B' S% v* Q) s1 `, J! h
  1079. ; Maximum number of persistent links.  -1 means no limit.
    : x$ g/ c" k# j4 b, W
  1080. ; http://php.net/odbc.max-persistent
    : n9 n7 s9 ~& G5 U
  1081. odbc.max_persistent = -12 E% `9 a( B1 D. ?9 P. K
  1082. 2 _( y+ J0 X0 Z' x4 a) J0 W
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + T& ~% d/ _/ T
  1084. ; http://php.net/odbc.max-links
    - X3 M, Z1 ?: S
  1085. odbc.max_links = -16 e4 W0 G5 _6 o. O  d4 g
  1086. 9 b. p! M# Z2 f- W6 `& H6 g
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 R% g) C) y1 ]; {
  1088. ; passthru.
      |9 L. ~' h7 R  `0 |) c, o: f. W" M
  1089. ; http://php.net/odbc.defaultlrl$ Q4 @0 P( S  y+ P& z9 s
  1090. odbc.defaultlrl = 4096
    & W# F3 @( J( q* l! _* {4 ~* d
  1091. + i0 `2 c  ?8 ^; c5 \
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* x5 ]8 k2 N% F5 l2 Q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + _5 v8 Y  s* s7 k0 ?) H  ?, L1 L
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ! K; F5 v3 T$ L2 c) |6 y
  1095. ; http://php.net/odbc.defaultbinmode  E3 t" F: E. X
  1096. odbc.defaultbinmode = 1
    7 Y: y) a# c$ l, _7 P( e2 A7 c
  1097. & r+ c9 j2 i. W
  1098. ;birdstep.max_links = -1
    3 G/ U& j% x1 z! R  j) ]) l

  1099. & i2 P' l2 O; f1 e& ]
  1100. [Interbase]* j  _+ I2 `* U5 |2 R
  1101. ; Allow or prevent persistent links.
    ) a3 B! T8 V; e. Z
  1102. ibase.allow_persistent = 1& v4 }1 P4 c: _; v; c: z: x
  1103. 0 j; u. f) ?) p$ q1 w' `
  1104. ; Maximum number of persistent links.  -1 means no limit.
    # k$ Q8 ^" J, T1 Q* A2 u/ ^
  1105. ibase.max_persistent = -1
    8 V7 Z2 X/ i2 l
  1106. ) l5 V" o0 y9 f1 G2 h5 O* J, ^
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * o6 s& \  i, h* g. t9 k! [" f
  1108. ibase.max_links = -1
    * J' O0 @, n# d3 z- u

  1109. ) s( D7 V; W# g+ L$ u
  1110. ; Default database name for ibase_connect().
    * U8 _# @% q- F- o
  1111. ;ibase.default_db =
    4 Q( w+ `$ @* B3 z  A6 I7 q& b+ ~: m

  1112. $ D- e' v" V" s' v& ]1 s
  1113. ; Default username for ibase_connect().+ H3 d9 H- m  g, K$ d! l
  1114. ;ibase.default_user =
    : V) V! `( N8 n; c, S: I) x$ c! x3 i, C# A

  1115. - S( w6 U: Q; q7 t* G) h5 t4 F4 G
  1116. ; Default password for ibase_connect().
    5 u; Y' J, t! ~
  1117. ;ibase.default_password =
    # `6 [. P2 J' ?1 f1 _- g

  1118. # K4 R. B6 q( }; D. b# O
  1119. ; Default charset for ibase_connect().8 g9 n$ w6 t  H& q9 S' ^! w  @
  1120. ;ibase.default_charset =
    & `) f( n  b8 S+ @7 J9 S! S
  1121. - Q3 n* x' n, c- X
  1122. ; Default timestamp format.
    8 W; Y4 v5 O4 K) S3 R" V/ ], ?5 ]2 n
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- \0 O+ |, O! I
  1124. ) q0 l0 E( n3 ^7 k
  1125. ; Default date format.
    / q' w* M; Y2 k& w
  1126. ibase.dateformat = "%Y-%m-%d"8 ]0 S. S4 |; e% U0 W7 p9 Y

  1127. : G& S/ x3 ~( ~8 h, b+ _; ~7 R
  1128. ; Default time format.& b( \* m! T+ `4 E  r  Z
  1129. ibase.timeformat = "%H:%M:%S"
      n: I% B: B$ n. q9 q

  1130. ; o' P% g" F( y, l
  1131. [MySQL]6 K: v# m# T, P/ _( `5 ]6 h# q
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) z7 O: h* E# G
  1133. ; http://php.net/mysql.allow_local_infile: R9 G, G) F8 T) t1 A
  1134. mysql.allow_local_infile = On/ t$ m# u0 T) Y' b+ `" C2 V7 M

  1135. , Q2 l. Y! u5 ^
  1136. ; Allow or prevent persistent links.
    / T- l' B* x. ]* P3 n9 C9 a: r
  1137. ; http://php.net/mysql.allow-persistent& s' u9 O4 d* Q. V! f
  1138. mysql.allow_persistent = On9 ?- V7 x9 d# ]  `8 }7 X5 ]
  1139. - q, b& z# ^) I
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache: W' a9 o# ?1 S$ T7 q- ~2 X
  1141. ; http://php.net/mysql.cache_size
    * |9 Y3 S, }& m6 M2 Y' ~+ ]; i6 Q
  1142. mysql.cache_size = 2000, E# L# h5 e: O; e0 G  P; Q

  1143. ! v: ?5 `) G1 k" H3 t4 P
  1144. ; Maximum number of persistent links.  -1 means no limit.
    # }7 V& r. H; |1 w! U
  1145. ; http://php.net/mysql.max-persistent
    ; b6 d6 @% `6 G, _0 O# j5 S. Z  m
  1146. mysql.max_persistent = -1# S9 S7 _2 X; p! y6 H

  1147. + R* I; W& X* t4 M
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! m8 O0 }- q& X0 Y0 H
  1149. ; http://php.net/mysql.max-links9 P* A- h$ R" ?' q
  1150. mysql.max_links = -1
    * S( H" i. j, N4 S( Q4 I+ R, `, @
  1151. . h2 D; \/ Z4 G# t) Z# F4 X& s
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use3 X) _4 {1 }$ e6 E  C0 V; i
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
      p7 Q; W% S, b2 R% r+ S$ O9 D/ A! y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ; d0 E& j' U! o; R" c3 P
  1155. ; at MYSQL_PORT.% G8 R) c7 B5 B" Q2 m
  1156. ; http://php.net/mysql.default-port
    , {1 N* T0 U. o1 z4 N6 h
  1157. mysql.default_port =
    - t  `1 M4 ?8 G& F$ Y# z
  1158. 1 Z& S* b' I0 S$ ?7 k5 {1 b
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in; v( |9 m7 `" N8 ~8 `
  1160. ; MySQL defaults.
    / w1 T/ K1 ^- |. B
  1161. ; http://php.net/mysql.default-socket  o. A+ l# P+ |
  1162. mysql.default_socket =" s7 s  p' b) ~) k; _5 y

  1163. 0 Q0 J+ a) k& s
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & l# m, e/ d) F' V0 P6 _
  1165. ; http://php.net/mysql.default-host
    $ s& `1 e, J; C6 C/ F  c8 _) Z
  1166. mysql.default_host =. e& S# b1 L+ ?) w
  1167. 7 B4 @- K9 B# i& W
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode)., l* N* p$ [6 R3 v8 @
  1169. ; http://php.net/mysql.default-user6 m8 B( b# {% l0 p
  1170. mysql.default_user =
    ' M# C' P  }- K9 V6 Q

  1171. ( u  ^/ v5 R! {9 H+ @
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).% @& B" a: N8 Y8 ?. K5 o% p0 L
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.' _: X0 T5 @' a9 K, o0 z4 W: Y
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")1 W+ {& i) `3 D2 K& \$ @1 t
  1175. ; and reveal this password!  And of course, any users with read access to this" ~$ Y, y: _* Q# A/ P1 M! w4 j& {
  1176. ; file will be able to reveal the password as well.7 ]; H; _5 V* \# g5 Z
  1177. ; http://php.net/mysql.default-password& y! q: K( ~6 Q  S* d1 c2 t2 ^+ e! j
  1178. mysql.default_password =' H2 _+ g( E, Z$ N7 G. e7 s/ |7 G
  1179. ! `1 P7 ]$ Q1 P; s$ ]; F
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    9 H2 \8 M) M$ A, E0 p2 _
  1181. ; http://php.net/mysql.connect-timeout( S2 Q7 ], F$ B" o- B1 A! K3 s
  1182. mysql.connect_timeout = 60
    $ Y% A& M+ ?0 m4 f& b8 q% p- m' l; R
  1183. # y" R, K$ Y4 U- {2 f
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and; s+ d% K$ G3 g; m) U
  1185. ; SQL-Errors will be displayed.0 n5 S- B2 x! O' b$ C5 I8 Z8 U
  1186. ; http://php.net/mysql.trace-mode
    3 }( V. H# J% B9 Q4 c
  1187. mysql.trace_mode = Off( N- q8 v0 l/ t0 t9 s( {5 F

  1188. 8 P6 B) X0 R( x0 w8 n8 M
  1189. [MySQLi]
    ) `. r' l' R' I: a: I# y, N2 s
  1190. / g) L9 S2 `% N$ B3 g
  1191. ; Maximum number of persistent links.  -1 means no limit.4 V  t" z7 C5 u( v6 g
  1192. ; http://php.net/mysqli.max-persistent: l: \8 w0 W6 H- I
  1193. mysqli.max_persistent = -1
    & D! e8 \: s# q  v4 T

  1194. * [# q9 k) G5 |/ ^/ n
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 N+ ?) q/ F6 C; w. Q# v
  1196. ; http://php.net/mysqli.allow_local_infile! ^  ^+ O9 h4 B
  1197. ;mysqli.allow_local_infile = On
    2 M  B9 G" Z' D- }2 I/ g
  1198. ) w1 d1 w6 [8 W% \* ^  W
  1199. ; Allow or prevent persistent links.( |' }3 x& Y) K/ E2 z: b8 P
  1200. ; http://php.net/mysqli.allow-persistent3 g4 h0 l  Q; A
  1201. mysqli.allow_persistent = On
    % w: |( P: `- K% I/ b* I5 M

  1202. 1 S% y7 j. T# D2 M7 L
  1203. ; Maximum number of links.  -1 means no limit.
    ) u4 {) @" ^8 v& E( b, z
  1204. ; http://php.net/mysqli.max-links
    ; x: K8 c- F; |
  1205. mysqli.max_links = -1
    4 b- y4 w% N* \8 q0 g- j' g# K& q9 f

  1206. 1 `! h% |! s1 q! u
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) e: }2 }; S0 f
  1208. ; http://php.net/mysqli.cache_size
    2 z* w6 z8 h) N( W' Y2 P. p
  1209. mysqli.cache_size = 2000% M( \, J6 }! ~8 i1 ^# U) K
  1210.   k& J5 T' C! p/ i& k
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; d( s! t) n/ {
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    * V# y5 A- D: l) c/ v+ D3 o9 X
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    - K& a, E( L$ r! s& c) U( H4 G, h% [
  1214. ; at MYSQL_PORT.
    6 c3 s1 s' v4 p0 g% _' G
  1215. ; http://php.net/mysqli.default-port
    ) ?+ n- a- H2 h0 ~( c: Y% m  V
  1216. mysqli.default_port = 33062 _8 x) l6 U# Q2 x2 S' l0 b$ C

  1217. 1 c* T7 s) e2 I- _& ], `
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in! g4 x* X2 H! }7 r- i/ O
  1219. ; MySQL defaults.. d, M& D) j2 w8 u( Y6 g3 I
  1220. ; http://php.net/mysqli.default-socket$ e' z8 Q. z/ S8 y& @( G. j
  1221. mysqli.default_socket =. |* |6 f( U( @" _

  1222. - x$ o. L4 ], \% {6 @6 S$ i6 h3 {
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 T! }  R5 V: H6 G$ o* m) ^
  1224. ; http://php.net/mysqli.default-host
    * ^6 [( `2 k4 F) E: Z. M) P
  1225. mysqli.default_host =3 _  _# i8 Y/ r1 G

  1226. & X8 u3 v3 B) {! Z, x9 W/ ^
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).8 L* F7 _6 f; P
  1228. ; http://php.net/mysqli.default-user
    * ]' q/ M  |$ F# d8 {2 C. x, a, @
  1229. mysqli.default_user =! ?6 K2 D/ @" r; I6 l: v; w

  1230. 6 q9 @, G. H; x( z7 G6 e" J
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)." z/ D! i) U7 i9 y6 R" b* S
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.& X6 h( A% ?" u
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " W/ ~! _; r* Q5 d8 W% z
  1234. ; and reveal this password!  And of course, any users with read access to this+ `+ C5 y* H: k, G
  1235. ; file will be able to reveal the password as well.
    - M# L/ c6 h) w5 K- o: o% e
  1236. ; http://php.net/mysqli.default-pw  s) ^& |9 t. t7 a0 s$ u
  1237. mysqli.default_pw =
    0 `# @# A, ?7 A# q/ \
  1238. 4 y2 D+ b: A4 c+ |; p2 B( m
  1239. ; Allow or prevent reconnect) T# S' T/ |7 {5 s/ S" C6 z+ s
  1240. mysqli.reconnect = Off
    ( J( Z4 P8 u  P# z4 Z  Y* r6 y- I0 M
  1241. : F1 D: W  }2 v- t$ S3 h
  1242. [mysqlnd]5 m1 G" M9 ]8 C, w# w* \5 i* u7 j
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be( h4 k) b0 f; E$ v& X% z% o
  1244. ; used to tune and monitor MySQL operations.
    : a+ D4 Z% B. \# k% ~% a1 e' x3 a
  1245. ; http://php.net/mysqlnd.collect_statistics- \9 \+ ?; o) x+ d8 I: y7 e
  1246. mysqlnd.collect_statistics = On
    ; v$ i6 F$ }: i
  1247. 8 Q- D$ q" ~$ K6 v! j9 M
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 H0 S) x0 `" u
  1249. ; used to tune and monitor MySQL operations.
    ( _- r1 H$ k. X9 g
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    / T" j% J( x% j5 Z* L) I) P5 ^# B
  1251. mysqlnd.collect_memory_statistics = Off+ ]& l( L5 ]5 |: d4 @" {$ b
  1252. ! _* y$ L- m9 e! a
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    . u3 O+ J$ K2 u+ V
  1254. ; file.
    ' b# z9 Y; `2 k4 V+ c  D3 p% m* _; ~
  1255. ; http://php.net/mysqlnd.debug
    ; A' \! ~) r/ `9 b. F* {9 r
  1256. ;mysqlnd.debug =/ n' o" d9 ~$ C( ^

  1257. 8 w! P, v3 |6 H& s
  1258. ; Defines which queries will be logged.3 b# {8 b, q0 M* D2 x* s& }
  1259. ; http://php.net/mysqlnd.log_mask
    : E  `- u! _! b% l0 r
  1260. ;mysqlnd.log_mask = 05 o( @% ?0 Y4 A! D: W
  1261.   b, z7 @# `" H% v9 }# w
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 ^3 a7 q8 y! Z! j1 S
  1263. ; http://php.net/mysqlnd.mempool_default_size
    " e" d# j1 \6 `0 [4 q* \: [' k& E
  1264. ;mysqlnd.mempool_default_size = 16000
    4 ~* m" o  |. f) D) |( @2 `' i
  1265. ; H: R& S0 c: T- y4 P1 K" u
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 ^: D9 E$ t* F" M- l. ^  k
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    3 H. p* W* J( ]5 `& v
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    1 Y* c* m- H) e
  1269. & ?! O3 }  g. G: `
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in9 b6 d. K3 q) g& W# U3 ~
  1271. ; bytes." d6 N. n$ M1 s
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    & u+ A6 k7 @& s( q  L( o
  1273. ;mysqlnd.net_read_buffer_size = 32768
    " m3 X2 |/ M2 R" ]3 b3 A
  1274. " o7 X5 O8 J& k# `
  1275. ; Timeout for network requests in seconds.
    ' V, ^- w6 N# @5 U3 l0 _+ W- _
  1276. ; http://php.net/mysqlnd.net_read_timeout
    # W! z: O5 g/ z# O  o+ l
  1277. ;mysqlnd.net_read_timeout = 31536000
    7 L$ b0 a0 `4 n
  1278. 1 C) F. b- l& A9 E2 o
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ K' h. J8 \5 c+ L) l9 ]& t
  1280. ; key.& w; k! E: v7 v8 D& c6 E) L
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 i1 I  U6 Q9 S' Z6 e8 F
  1282. ;mysqlnd.sha256_server_public_key =( }& a" z+ l* u5 Q: d, g" M# T: M

  1283. 4 I) o/ |+ e4 a8 b" p) s% F
  1284. [OCI8], _8 o( n( }, p( V* L3 O- U
  1285. % c: v1 d* M4 H  [5 x
  1286. ; Connection: Enables privileged connections using external, i0 X. m5 G. [5 l2 \: E7 V4 j" P
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)% S# y, O2 g& t' B6 n  K/ i
  1288. ; http://php.net/oci8.privileged-connect' m% `9 S; c" r2 ?
  1289. ;oci8.privileged_connect = Off$ l7 U3 R) M+ [' ~7 w5 d

  1290. # d3 z7 X: a0 c- W0 T
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    , k% b' s  W: D
  1292. ; process. Using -1 means no limit.1 ]2 s6 o  i+ a, ~: l& F1 a
  1293. ; http://php.net/oci8.max-persistent
    6 x, {7 a. R( E4 c& u) h  f5 t9 Y
  1294. ;oci8.max_persistent = -1  i3 k3 y* k* ^' [2 H
  1295. 4 c- `# G. Y  \% ]
  1296. ; Connection: The maximum number of seconds a process is allowed to3 I( a) n! ~7 ~2 N9 g' m. I
  1297. ; maintain an idle persistent connection. Using -1 means idle* o" e& w2 ~, f* ?  w6 V) U4 ~" S
  1298. ; persistent connections will be maintained forever.
    0 T/ V' ]6 c" Y6 x' g
  1299. ; http://php.net/oci8.persistent-timeout
    ' I' D6 w  P0 Q& i& k
  1300. ;oci8.persistent_timeout = -1
      F0 l! B, ~  I" \1 f( |
  1301. ' h' N" X) |6 k# p
  1302. ; Connection: The number of seconds that must pass before issuing a2 P. r8 u& P6 d; l0 `/ e
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ; i+ Q' t- j7 [7 r* z( d% v: S. b
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    + Q0 a% J* F* `! k
  1305. ; pings completely.
    0 G' q2 ~) N7 j0 N( z% v) `$ J/ ]
  1306. ; http://php.net/oci8.ping-interval0 N5 K' I+ j: a4 q9 m# c
  1307. ;oci8.ping_interval = 60- W; }4 Z1 K6 z, V. @1 q& W  v
  1308. 4 c# V9 t" t, \) _5 w" r' t
  1309. ; Connection: Set this to a user chosen connection class to be used
    " m) B9 L/ a9 y4 }# T4 W( [
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ; t; C& r: V' ?. e; t( B# `
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    % Y3 f! t+ O6 x9 ^& K* i
  1312. ; the same string for all web servers running the same application,: h* K& B& M4 k0 n* [' n* q- Z
  1313. ; the database pool must be configured, and the connection string must
    4 C6 v4 `4 p! p& G9 C5 q
  1314. ; specify to use a pooled server.
    ' \" S$ q8 ?9 n3 n; ^2 e3 V( T3 n
  1315. ;oci8.connection_class =+ G* T- A( o3 [# ]6 y

  1316. 6 z1 n/ `; W; ?6 B
  1317. ; High Availability: Using On lets PHP receive Fast Application$ S8 \. F& P4 M8 r8 }2 N
  1318. ; Notification (FAN) events generated when a database node fails. The
    $ l0 E# z! @" D% @4 c
  1319. ; database must also be configured to post FAN events.6 _* M9 k. v7 r( h& t) [2 B. y
  1320. ;oci8.events = Off% d) n; K9 L) z$ y/ ?- x; d2 X

  1321. 1 i0 N& F- q. l' k
  1322. ; Tuning: This option enables statement caching, and specifies how
    4 X3 }8 o7 c: @- [
  1323. ; many statements to cache. Using 0 disables statement caching., _3 f8 m# z& U2 U( f. P$ I8 T
  1324. ; http://php.net/oci8.statement-cache-size
    $ Q- n; P, v- V  o. A  K
  1325. ;oci8.statement_cache_size = 20+ L% v3 M3 F$ Q+ A
  1326. 3 K: ]& h7 w& X) M' _
  1327. ; Tuning: Enables statement prefetching and sets the default number of3 K/ `, `" B% H& r6 L
  1328. ; rows that will be fetched automatically after statement execution.& e* l$ A$ h) K' J8 U7 [! E# L
  1329. ; http://php.net/oci8.default-prefetch# u# a; P% W5 J5 u
  1330. ;oci8.default_prefetch = 100# }4 Z  Y$ V+ e& f7 z
  1331. ' }, ?1 {( H1 m, D! F0 O
  1332. ; Compatibility. Using On means oci_close() will not close
    ! D- d# {0 _: d0 m# o/ z* ?
  1333. ; oci_connect() and oci_new_connect() connections.7 `* Q$ }- H; [0 C4 b: x
  1334. ; http://php.net/oci8.old-oci-close-semantics
    - ^1 p# B8 N! J
  1335. ;oci8.old_oci_close_semantics = Off
    % C8 _+ _' w+ Q( c" n+ W% E  z
  1336. 9 Y/ }, l8 z' {& C% I$ Y3 ~' _
  1337. [PostgreSQL]9 B; J. `  r* Z. j3 L
  1338. ; Allow or prevent persistent links.
    . x7 {/ e- x8 H- }/ V- D
  1339. ; http://php.net/pgsql.allow-persistent
    + r2 R" h! n# i8 P
  1340. pgsql.allow_persistent = On
    2 S9 r+ e* p9 s4 |5 M! r
  1341. $ _; m* t9 v. s4 c( J
  1342. ; Detect broken persistent links always with pg_pconnect().
    " O/ D, |0 q) r
  1343. ; Auto reset feature requires a little overheads.
    - D! `! V) C# `8 E
  1344. ; http://php.net/pgsql.auto-reset-persistent+ E- N: u3 H+ L& r
  1345. pgsql.auto_reset_persistent = Off
    5 N; T5 I2 g' e) N, n- O
  1346. 0 }4 e; U9 ?) B+ W) A
  1347. ; Maximum number of persistent links.  -1 means no limit.5 g8 z; \/ g8 T  b% F" p- ]* d3 Z
  1348. ; http://php.net/pgsql.max-persistent8 ]# v7 g  |4 A. u/ E9 }
  1349. pgsql.max_persistent = -1
    & ]7 p% L* w$ z$ E6 X# j

  1350. 8 Z5 J" @* i' F. o- N5 q) J4 Z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: Q0 N) W3 K# }( |% F/ b" H
  1352. ; http://php.net/pgsql.max-links
    9 [3 l5 s1 H2 q3 E( g6 I
  1353. pgsql.max_links = -1
    . C) Y3 V& P2 {1 P

  1354. & ?( X) R+ L$ x4 \7 K: Y3 S
  1355. ; Ignore PostgreSQL backends Notice message or not.
    # ~  [& S' G2 ^, q
  1356. ; Notice message logging require a little overheads.5 \. v5 X, n' }. [, U( f! r
  1357. ; http://php.net/pgsql.ignore-notice
    " M8 g4 z# z* n" ^+ k" H
  1358. pgsql.ignore_notice = 0
    + n* T! ?# F3 ]' R/ Z7 v
  1359. 6 U6 I: t6 C2 M* I: T
  1360. ; Log PostgreSQL backends Notice message or not.
    ; E: D) M9 t; |/ ^; A# x
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    $ C) M& Z  t' \$ J
  1362. ; http://php.net/pgsql.log-notice( d; S% S0 S( d# |  Z& `& p
  1363. pgsql.log_notice = 0' w: x. F' F& R) W* W/ z# U

  1364. ! C4 T5 r5 b( C9 o) c1 ~3 v4 c1 j
  1365. [Sybase-CT]1 T' {4 z' ^8 f; y9 l# w; U
  1366. ; Allow or prevent persistent links.! L" t5 G6 J: Q. P5 {/ F
  1367. ; http://php.net/sybct.allow-persistent2 }: c! K6 ?' l8 h* j+ l3 i
  1368. sybct.allow_persistent = On
    , T# U* w. S/ Y' k: Z! X7 ?* D

  1369. + ?0 ]3 K2 l" z3 y
  1370. ; Maximum number of persistent links.  -1 means no limit.5 y; q8 N, }9 b: W! n
  1371. ; http://php.net/sybct.max-persistent9 d9 s8 Y  k/ }( \. w
  1372. sybct.max_persistent = -1
    / M  F1 a& Z6 ~! z1 }& @0 r. G
  1373. ( x( Y. f% e* V7 i. a: Q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# g' t) Q' C0 s5 ]) x" W
  1375. ; http://php.net/sybct.max-links6 {4 _4 u) h2 p; j# R# D1 v3 ]1 m
  1376. sybct.max_links = -1
    # }2 L* C( W6 N) z' a

  1377. 6 L( Y# m7 x" |4 {- ]# V
  1378. ; Minimum server message severity to display.. w5 t) C: q" f+ L2 N: p7 _
  1379. ; http://php.net/sybct.min-server-severity7 [& x. E  N' k5 w# W( T
  1380. sybct.min_server_severity = 10
    0 h  E3 m$ H0 O! [% f

  1381. 7 D* n# `, C" k1 c! ~% c. I2 Z
  1382. ; Minimum client message severity to display.
    6 @$ D3 X$ C9 A& r7 t
  1383. ; http://php.net/sybct.min-client-severity3 v' f8 m  x8 z
  1384. sybct.min_client_severity = 10
    / t6 k# R% o9 ]# h0 @+ s
  1385. . j" u4 f  G0 ~8 d, q: S0 ]
  1386. ; Set per-context timeout
    5 e" `* _7 c2 n0 o9 Q
  1387. ; http://php.net/sybct.timeout
    1 F1 d. f8 V  e% o, ^6 c, v
  1388. ;sybct.timeout=
    ) w8 [. D/ P2 [, t% ^8 n, y

  1389. % V3 d7 e: w- }, t
  1390. ;sybct.packet_size( R" @! W, {' N! X3 c

  1391. ) F- T" |1 V; s
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.) ^( @* {/ w3 ]) H. P3 k3 K) Q! V& U: ?
  1393. ; Default: one minute- R! p8 V9 t$ D+ c4 A$ y
  1394. ;sybct.login_timeout=, d. l. X, N+ K% F& _

  1395. ( X7 U( f  ]; j5 @$ m
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.6 T3 U6 f! Q- q
  1397. ; Default: none8 p' x% U8 v, p8 _! c, O
  1398. ;sybct.hostname=8 {" H+ n) C/ e8 @

  1399. ; H+ W. L6 B. t/ p
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    1 h- u+ x5 e& C- F3 z
  1401. ; Default: 0
    / N& r9 ?! N2 z" x
  1402. ;sybct.deadlock_retry_count=7 e& L- v+ i9 O; V* F( [
  1403. . z& {- }) i; j& I
  1404. [bcmath]
    ) K1 O" ]5 |4 Q1 e: s6 _2 [
  1405. ; Number of decimal digits for all bcmath functions.) f9 q& h! e& l* O" Z2 y$ q' F
  1406. ; http://php.net/bcmath.scale
    / x- d2 ]% }. {1 N* {  t' J
  1407. bcmath.scale = 0$ E2 e) c) ]! T" m9 ?8 h9 R# ^1 j
  1408.   j6 o( v6 Q& a! x+ @$ b, m
  1409. [browscap]* M/ R- s; G2 U
  1410. ; http://php.net/browscap
    + V/ i5 O* \# {+ h/ l' c
  1411. ;browscap = extra/browscap.ini
    $ `, |; H% v- [' ~3 u* {% R

  1412. 7 C7 Y- U# z- @" t& L/ v* H
  1413. [Session]
    1 J4 Q( z, ~; p6 C" F
  1414. ; Handler used to store/retrieve data.
    1 i  E2 w. f2 f4 R( ?8 @
  1415. ; http://php.net/session.save-handler0 ^8 G( }& c3 y/ z: ~; Y, I; {9 f
  1416. session.save_handler = files
      ?" M, d' M9 M$ q/ ^: v
  1417. : [  S8 |' A/ a. i  P' G
  1418. ; Argument passed to save_handler.  In the case of files, this is the path, g% V+ I# e; U& ?
  1419. ; where data files are stored. Note: Windows users have to change this
    6 @( U; g, D: W! I
  1420. ; variable in order to use PHP's session functions.
    5 c, m% U6 Q( L- l
  1421. ;
    5 Y1 P' D7 B0 Y! n: L2 S* ^
  1422. ; The path can be defined as:: d* b$ D* F, p) f4 ?. G1 h  H
  1423. ;
    : Y7 l! R* i) k  z5 [
  1424. ;     session.save_path = "N;/path"
    " L) u) Y( ^; x3 C7 U0 R! O$ u* V
  1425. ;- x( J5 h2 p% _- G: e
  1426. ; where N is an integer.  Instead of storing all the session files in
    * o4 E5 x; m; i  L& ]' ~
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ' p* b( y2 k/ |* a3 c7 X5 K+ E2 g
  1428. ; store the session data in those directories.  This is useful if+ s0 X1 ^6 G3 C* r8 k7 {
  1429. ; your OS has problems with many files in one directory, and is& M9 }: U" l; w0 H7 y4 r5 C7 V
  1430. ; a more efficient layout for servers that handle many sessions.
    ! w' I/ A( q6 X5 R
  1431. ;
    . e. R, a+ W2 x/ f
  1432. ; NOTE 1: PHP will not create this directory structure automatically.9 a7 f6 ~+ q& H+ K% q2 p
  1433. ;         You can use the script in the ext/session dir for that purpose.
    & i8 c+ J8 B0 B! f3 o: o2 S6 y
  1434. ; NOTE 2: See the section on garbage collection below if you choose to8 r9 B8 o6 }: S1 i, e
  1435. ;         use subdirectories for session storage
    - R& u6 ~& C7 }
  1436. ;) `& [$ s" y- K+ h. u5 g
  1437. ; The file storage module creates files using mode 600 by default.
      ~. P8 n3 w  @% }
  1438. ; You can change that by using
    4 W' e7 f% ^) W3 k  @7 F- ?
  1439. ;
    - X$ J' j; W* l7 R8 v
  1440. ;     session.save_path = "N;MODE;/path"/ r% s1 p; ]# X4 B; _/ e
  1441. ;% v/ F/ r, R/ P2 w
  1442. ; where MODE is the octal representation of the mode. Note that this4 L# R2 X6 e3 G1 X  G
  1443. ; does not overwrite the process's umask.* g0 w4 u) b& R3 l( s- U" T" F) k
  1444. ; http://php.net/session.save-path
    ; f! T4 r; F: y
  1445. ;session.save_path = "/tmp"% }' b& h! D3 s" X0 d; Q3 J2 f" d. R' D

  1446. 4 t! E$ Z* m9 @* Y# m6 H! [
  1447. ; Whether to use strict session mode.: Q) H$ A) O( x  W7 M' d$ c7 c
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ; r" d" X+ C) w9 J
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects3 P; `- Y8 b9 P4 Y8 v
  1450. ; applications from session fixation via session adoption vulnerability. It is
    9 c9 [* S/ T/ j, S
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.5 N. R6 n0 Y% [8 v/ `
  1452. ; https://wiki.php.net/rfc/strict_sessions
    + p2 `' T1 K5 X) a/ E
  1453. session.use_strict_mode = 0
    , Q: z/ r1 e* F$ ^( v5 a( m0 g5 _

  1454. 1 @) J- d  \& d
  1455. ; Whether to use cookies./ e6 c. j6 w: [
  1456. ; http://php.net/session.use-cookies
    ( R  G) h3 Q1 C- D% w: s. p3 G
  1457. session.use_cookies = 1
    . q8 \. _! U- ^* t; N2 K* ]# ^; }
  1458. % k. c# f5 D+ q' e* |$ `
  1459. ; http://php.net/session.cookie-secure' E* ~  N8 u3 X1 U( A& O$ j9 H  _% j
  1460. ;session.cookie_secure =
    7 H- M* B7 z$ q
  1461. " i7 h4 I) X: }+ ^8 n
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # l% Q% D/ ~2 D, e' A' V4 j
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    2 x6 T4 }9 @' k% y+ y
  1464. ; session hijacking when not specifying and managing your own session id. It is/ Z' s* d: w0 ]( }
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    7 ?/ e0 _4 G/ a1 W  p
  1466. ; http://php.net/session.use-only-cookies- L; N4 v7 I( O
  1467. session.use_only_cookies = 17 b. z; @9 g3 H

  1468. - N+ I4 s; I7 _3 _4 U
  1469. ; Name of the session (used as cookie name).4 u- C1 I! P* {* z7 n
  1470. ; http://php.net/session.name) O- x& E4 X' H( x& D$ F
  1471. session.name = PHPSESSID5 M8 Z4 R$ m* d) ]& h

  1472.   [# R- R. B: ~) Y4 D/ o
  1473. ; Initialize session on request startup.
    , m& n  T: f7 o8 g
  1474. ; http://php.net/session.auto-start  A! T. }: l3 k5 c" X4 i
  1475. session.auto_start = 0$ p9 D: r/ E6 O
  1476. 9 h1 O' S8 J* z
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - l& z! w2 a, ?, ?
  1478. ; http://php.net/session.cookie-lifetime
    # ~% K: Z% Y! t
  1479. session.cookie_lifetime = 0; ~% s7 e) ^0 j; r, [+ ]4 a/ J
  1480. / k6 W3 A3 _! k1 Z8 r
  1481. ; The path for which the cookie is valid.
    $ ~2 y; `( h$ j! o! X( G
  1482. ; http://php.net/session.cookie-path
    4 Q; T, F* N/ i7 [% j$ e
  1483. session.cookie_path = /* U  M* k( \5 s% h! ]
  1484. 9 y% N- h! F: l9 f8 f* X
  1485. ; The domain for which the cookie is valid., q2 }3 @+ C$ j- N: T
  1486. ; http://php.net/session.cookie-domain
      K  ]2 a3 q0 G" \+ S
  1487. session.cookie_domain =
    - Z. N8 H9 b# i: j- R+ E

  1488. ) z& x# P6 o. k0 ^$ R
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! G1 t7 x7 d/ l( V' }
  1490. ; http://php.net/session.cookie-httponly! G3 {8 E3 `# V. W; {& K* O; \" P
  1491. session.cookie_httponly =
    ( v) Y  v& t5 j* N, _4 e
  1492. $ J( U0 ^9 \+ |! ~
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ' B" `1 r7 P- q+ I4 c* r4 G
  1494. ; http://php.net/session.serialize-handler& A. O% W, J, o7 w! h, @3 ?$ Q
  1495. session.serialize_handler = php$ W" Q( A; @2 @
  1496. ; K! ?$ M# l8 w
  1497. ; Defines the probability that the 'garbage collection' process is started
    8 b# ]# S' j. ~! ~2 x' u
  1498. ; on every session initialization. The probability is calculated by using4 `! X1 B- c, m) T, c" ^; H7 K
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator/ \  ~1 X: `+ H- ~$ }
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * H0 ^4 x( ^+ ~) l/ v0 W+ Z* a
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' S" p7 K. ^7 V: `
  1502. ; the gc will run on any give request./ r# z, \$ z; m4 n* G$ t+ o5 J
  1503. ; Default Value: 1& e6 H3 Q/ R6 V  _2 r8 z
  1504. ; Development Value: 1
    3 g& q0 X7 c" P, L2 I" H# S" W
  1505. ; Production Value: 1
    5 X% ^: \5 a, P% o- ^' ?
  1506. ; http://php.net/session.gc-probability5 J+ Y4 P7 T8 J% k
  1507. session.gc_probability = 1* a0 t5 I- o: {# r, ?, d

  1508. 7 V  ?8 G' u! L" w
  1509. ; Defines the probability that the 'garbage collection' process is started on every0 p+ B- h* _$ f7 ]7 `/ y5 z" Q- Z
  1510. ; session initialization. The probability is calculated by using the following equation:
    . }- q3 @5 d) I6 {) W0 {3 A( Y
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and  x9 V3 W- j7 f( F! t
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 |) c6 l3 S; L7 d: d$ E
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) R& Z4 H3 W4 L
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    % A1 r3 ]6 F0 s0 P7 S) O9 `
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,# V. T- i) T3 y3 J8 p
  1516. ; this is a more efficient approach.
    2 B- m2 W- E1 N* b8 u
  1517. ; Default Value: 100) h, W6 ?  t* c( V
  1518. ; Development Value: 1000. j0 l1 v9 X" e- U. C( y4 i
  1519. ; Production Value: 1000
    ' H4 F/ b% L& M: ?7 k5 t1 H
  1520. ; http://php.net/session.gc-divisor
    1 m) V! X6 Q1 E( B& ?
  1521. session.gc_divisor = 1000
    # P* [( k+ s0 O' \% V* L

  1522. " M. x5 O+ A- P/ }. R) l( M% Q
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    2 N# ]- F: M8 ^2 t, F4 G
  1524. ; cleaned up by the garbage collection process.
    - H1 T' M' }' b  \* j- h1 ^
  1525. ; http://php.net/session.gc-maxlifetime
    0 u% y# N4 u. B
  1526. session.gc_maxlifetime = 1440
    $ S: P/ ^8 ^1 W( N! q/ \5 w/ F
  1527. + o: E  x# }5 b  f( j: G3 I, E: d
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    9 c# L. v4 J+ o  v5 v6 `
  1529. ;       (see session.save_path above), then garbage collection does *not*
      y( U* t: u0 B: L+ s  G; M( R5 t
  1530. ;       happen automatically.  You will need to do your own garbage
    : N7 r' D$ r! s; j  ~' o: a5 [
  1531. ;       collection through a shell script, cron entry, or some other method.( C( ~! e/ x8 p6 B
  1532. ;       For example, the following script would is the equivalent of6 G; ]9 Z9 {- y, s1 ]
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    9 o; f/ w0 M0 @7 V+ m7 q, _3 a. U4 P
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm+ a; G- q' J/ o8 _+ W# c5 f& n
  1535.   b, K1 T* T. J9 X
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 q. w; o% s( Z5 R
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    4 z+ o$ Q6 d  L8 M: Y3 ?
  1538. ; considered as valid.
    ) x8 v$ d( U8 b
  1539. ; http://php.net/session.referer-check
    ( J7 j; ~1 Z+ r
  1540. session.referer_check =. ^8 y: F. J+ z! X1 P
  1541. : _$ Z3 T# D4 [* t7 e2 B
  1542. ; How many bytes to read from the file.5 @. ?1 o/ b% R3 t4 G8 Y6 _
  1543. ; http://php.net/session.entropy-length
    " X( h$ @0 [- }; a0 i- b; {) C8 e  B
  1544. ;session.entropy_length = 32
    7 S5 p  r) T4 t: {2 y. K' k1 S
  1545. , A" \* x$ }- n( ?4 L" N
  1546. ; Specified here to create the session id.
    $ E3 \* R+ Y& g( B6 w
  1547. ; http://php.net/session.entropy-file5 R( X+ I8 m$ S9 T, t& r
  1548. ; Defaults to /dev/urandom
    4 l' G  U. N, h8 U) V* x- M& ?
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    % S% e  F3 [5 U! W
  1550. ; If neither are found at compile time, the default is no entropy file.
    ; Z- d. a; f$ X! ]0 }9 ~
  1551. ; On windows, setting the entropy_length setting will activate the
    * {& d. }: T- h) M( |, v& x6 t
  1552. ; Windows random source (using the CryptoAPI)0 N* K9 O: _4 W9 J3 M4 J
  1553. ;session.entropy_file = /dev/urandom
    4 V2 N# Z3 T) S2 X

  1554. * d" |& O9 U; C
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * i+ h6 E# L8 ^. d
  1556. ; or leave this empty to avoid sending anti-caching headers.- Y" _4 }" W' @- N( t
  1557. ; http://php.net/session.cache-limiter
    9 u, f7 @* S. s0 I$ f; D
  1558. session.cache_limiter = nocache
    . v  O1 `7 ^! w$ H! V3 Q3 Z

  1559. 8 R2 f! f% h7 [. c: m/ W2 v
  1560. ; Document expires after n minutes.2 J/ O" v4 V; a
  1561. ; http://php.net/session.cache-expire! l7 X' S0 v/ e6 ]1 }% {1 U
  1562. session.cache_expire = 1807 C* o/ z, E. j3 ?. O' f" K

  1563. $ ?4 ]# Q5 p. f) y9 W5 E5 @
  1564. ; trans sid support is disabled by default.! H! g( j4 r2 H" D8 q) N; w
  1565. ; Use of trans sid may risk your users' security.
    / \/ r4 y" r; q
  1566. ; Use this option with caution.
    & }, c! I4 c0 N9 O
  1567. ; - User may send URL contains active session ID
    / e- f* n/ ^% y3 x* @2 O9 v
  1568. ;   to other person via. email/irc/etc.
    4 S4 q2 ?) a5 S# C; y) t
  1569. ; - URL that contains active session ID may be stored
    # j+ l( G7 m4 U9 K/ q
  1570. ;   in publicly accessible computer.) u9 [! ?% H% _0 U6 M" {7 t
  1571. ; - User may access your site with the same session ID- H. u2 a- t: X/ H- G; o9 ~
  1572. ;   always using URL stored in browser's history or bookmarks.
    ' Y4 R' }, Y6 M9 r, m& V2 H
  1573. ; http://php.net/session.use-trans-sid
    5 {. f- E. L# ]9 H8 v4 ]
  1574. session.use_trans_sid = 08 y# m7 v( @- m8 v! j- o

  1575. - U6 n/ V. F- ^: m
  1576. ; Select a hash function for use in generating session ids.
    ) K7 g  F% e6 n6 Z: D
  1577. ; Possible Values
    ; J% F. t/ G3 K; E. T3 P1 b# a
  1578. ;   0  (MD5 128 bits)
    7 S2 _- F8 k! k0 X( J
  1579. ;   1  (SHA-1 160 bits)
    : w: f. Z* ]' s( E, M3 Z1 ?" x
  1580. ; This option may also be set to the name of any hash function supported by
    ! V6 T4 _2 b2 I0 c8 f
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()+ b5 a6 P2 f' t% s$ c
  1582. ; function., [; c% u9 f8 r. q  K8 S3 k
  1583. ; http://php.net/session.hash-function
    % i8 ?. f1 D9 w0 K* N
  1584. session.hash_function = 0' _2 d, T1 N; }' x8 j' b

  1585. 9 p  f& ~* w, {" k$ U
  1586. ; Define how many bits are stored in each character when converting
    ( v" h! v* }2 |! E2 r9 Y( Y1 x
  1587. ; the binary hash data to something readable.4 L+ `% P" Q5 @0 j; n, \! @
  1588. ; Possible values:
    6 N0 \9 t% a7 |* D0 p" Q
  1589. ;   4  (4 bits: 0-9, a-f)
    % |; Z0 Q9 U+ g/ e* G8 Q$ }* G
  1590. ;   5  (5 bits: 0-9, a-v)9 [  U. A. L; e( W$ L6 e$ @
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    : ?. m3 U6 I0 g' g+ _' W8 h, p/ R
  1592. ; Default Value: 4
    * a7 u; z/ C1 {4 i2 v2 f( K7 l& H* Z
  1593. ; Development Value: 5
    & M+ p: K  {5 r: x" M+ E  J- V
  1594. ; Production Value: 5) U7 u# [/ u# g6 Q7 [& A+ t
  1595. ; http://php.net/session.hash-bits-per-character
    ' a# O7 l9 H2 R" \
  1596. session.hash_bits_per_character = 5: X8 ?, h; t+ _+ a: D, V' x

  1597. 3 A3 w9 ^4 W- o6 P6 W4 b& ~
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.* Q' D5 @% f; g4 k, X5 @6 z' R) `
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    2 V5 ^( l( \& ?3 C; g2 Z( m  w# l
  1600. ; add a hidden <input> field with the info which is otherwise appended
    : x9 u# ^" g$ s, V# R2 z
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    1 x2 t6 O0 b5 B8 |+ q: K8 Z
  1602. ; Note that all valid entries require a "=", even if no value follows.
    , I0 a5 P. k5 e+ S/ ~6 B, m
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 c* n1 F$ O9 f/ W2 m
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 f' B' j9 m6 m0 v* S( b2 u0 k
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# [2 w. c* S$ Y
  1606. ; http://php.net/url-rewriter.tags
    0 o' H) g  g5 D
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"' |7 x- P) L9 W7 V( m
  1608. / a3 z! G- A2 u- y' q' p7 Q
  1609. ; Enable upload progress tracking in $_SESSION9 n  e8 ^- n( K
  1610. ; Default Value: On
    9 o1 o  O4 [; }, V
  1611. ; Development Value: On
    3 a5 [# F, O; a$ _
  1612. ; Production Value: On  v' n2 [2 A* |  F
  1613. ; http://php.net/session.upload-progress.enabled* c1 e( P0 c  r' N5 M( z/ d) a# q3 A
  1614. ;session.upload_progress.enabled = On# ?6 ]. X+ ]' w) V" @
  1615. ' J2 |3 s5 v, ]/ l
  1616. ; Cleanup the progress information as soon as all POST data has been read: i( E) A" ], j0 \
  1617. ; (i.e. upload completed).- z  Q$ \" b' N5 M
  1618. ; Default Value: On8 V, N# D1 ^8 _
  1619. ; Development Value: On
    ; Q) r* h7 n: x9 B& q
  1620. ; Production Value: On
    $ h1 W% |( F1 H  n) m2 f
  1621. ; http://php.net/session.upload-progress.cleanup
    6 ~2 Q+ ~1 h+ K8 K9 k9 D1 c0 g; G
  1622. ;session.upload_progress.cleanup = On
    3 f! `; \& S: N, Z

  1623. $ |7 l' \4 `6 `: A
  1624. ; A prefix used for the upload progress key in $_SESSION# |* R& V/ w  J
  1625. ; Default Value: "upload_progress_"
    & }% |. J$ c" z; _: e8 ~
  1626. ; Development Value: "upload_progress_"$ g4 N5 P: N. c% B
  1627. ; Production Value: "upload_progress_", l# a" N: f" \4 W4 v1 U
  1628. ; http://php.net/session.upload-progress.prefix: a# e+ m1 p* k1 I
  1629. ;session.upload_progress.prefix = "upload_progress_"5 J5 m- g3 P  S: `3 C

  1630. , _& M- m: S' z( W8 q; K
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 |4 S$ G, X! n6 x3 A
  1632. ; containing the upload progress information  f: y2 R3 t, }0 D: u3 I: U
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"* S0 B, Y8 R, Q9 S* \1 i# a. X
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + {. n" L$ M0 |8 {
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 @1 D8 `$ l7 t9 K& j
  1636. ; http://php.net/session.upload-progress.name
    . N" W% T+ i7 X( k4 _% S7 k
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " l) X# u( i$ d. b  E/ [
  1638. 8 k" y4 b- V8 c) m3 W& K/ Q4 c! f
  1639. ; How frequently the upload progress should be updated.
    " J: c: l8 R. A2 c5 K' z
  1640. ; Given either in percentages (per-file), or in bytes
    2 I" n9 c8 e+ _7 A
  1641. ; Default Value: "1%"
    3 k0 A4 O. C4 p- v. j* u
  1642. ; Development Value: "1%"9 V$ s7 y; c8 Z+ }
  1643. ; Production Value: "1%"
    1 K, o5 ?9 ]' @+ {9 i+ l
  1644. ; http://php.net/session.upload-progress.freq
    9 v$ ^4 ]0 `; x/ M8 d
  1645. ;session.upload_progress.freq =  "1%"
    , J! z, M/ T$ S" G! [
  1646. " n- n$ x3 e* d* k- i0 O- \! o
  1647. ; The minimum delay between updates, in seconds# e; y4 A, ?. c- P& {( v3 H6 J
  1648. ; Default Value: 16 p7 S7 [( s3 `' @; P5 v" r0 m. ~
  1649. ; Development Value: 1
    + X8 u" A% L8 z" k4 u
  1650. ; Production Value: 1
    0 ^( b+ v4 @  A. @% L2 n- T6 u/ [0 p
  1651. ; http://php.net/session.upload-progress.min-freq+ S, V( @; u, W' R3 C5 w
  1652. ;session.upload_progress.min_freq = "1"
    6 T. @& a/ }2 Z7 q2 H" `7 |6 ?

  1653. " W) h, d8 a$ m' v# l& k8 s
  1654. [MSSQL]/ ?" \$ a& a4 u3 c, g: W
  1655. ; Allow or prevent persistent links.
    . K: J) |0 r: q) Z- W
  1656. mssql.allow_persistent = On
    " |( H& {$ ^* Y& Q7 y+ R- b4 d

  1657. 7 N+ r2 O% Y% I4 s+ ~
  1658. ; Maximum number of persistent links.  -1 means no limit.  y" H4 l  v6 s. C( Z& c
  1659. mssql.max_persistent = -1
    ( K6 y, O& q* X- w* w$ d! E0 w

  1660. * @9 O% i2 T6 L5 ~* S6 |+ [
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' M8 c+ f  R/ k( c) ?3 Z# M, J9 h
  1662. mssql.max_links = -10 k9 p* `7 I! n

  1663. " h0 I8 o" Y* N, ^
  1664. ; Minimum error severity to display.( ~- Z9 @- X1 h2 _: A
  1665. mssql.min_error_severity = 103 R& X; y) `6 I7 a

  1666. + Q3 ]) _# {! b5 S! h
  1667. ; Minimum message severity to display.( `: R" N' u2 [* {. _) n
  1668. mssql.min_message_severity = 10
    # ?. h1 w  y' X2 O1 _% g6 o0 G& P
  1669. - D- x& F. Z8 Y5 w& v
  1670. ; Compatibility mode with old versions of PHP 3.0.
    : p5 O& F, S" w( `' w$ }4 b
  1671. mssql.compatibility_mode = Off
    5 R" U+ k# B. C; w4 W+ f8 L
  1672. 8 i2 Y2 T' |* d8 W7 ?- H% |
  1673. ; Connect timeout5 G& u2 D/ J% B9 f. y
  1674. ;mssql.connect_timeout = 5( O& n- J7 o. ~+ f. n
  1675. # j1 V' s: u( P  ]) q  }
  1676. ; Query timeout
    ! ~1 t( L# k" H4 B
  1677. ;mssql.timeout = 60
    ) v  X, w/ [( R# s
  1678. 5 ^  C0 o- T5 B$ L7 g3 M
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    + K, _( i3 p" v- D( z- U: {; R! t# [
  1680. ;mssql.textlimit = 4096
    " [* U& s$ Q4 q* X% Z8 L
  1681. 9 S/ L3 _% J" _, ?- ~
  1682. ; Valid range 0 - 2147483647.  Default = 4096.5 L+ q9 H: F) c
  1683. ;mssql.textsize = 4096
    . |7 i% |! ]# P' ~$ p9 O; V
  1684. ' g4 P, H, @5 Q7 U/ _
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    5 r$ F( p, @3 U  A# n3 [
  1686. ;mssql.batchsize = 0! g+ |" Z( N8 u& e5 d
  1687. % X) O/ |+ g+ R
  1688. ; Specify how datetime and datetim4 columns are returned( C' T3 l. B2 k9 Z4 A4 Y8 i
  1689. ; On => Returns data converted to SQL server settings
    " N( a$ d3 e- C5 e5 p; a/ f, a  p
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss1 y0 x! `) I. x$ x3 B2 [# E
  1691. ;mssql.datetimeconvert = On
    # v$ E  b/ J' w2 C. L
  1692. ; P5 x# t; d& a0 b- H
  1693. ; Use NT authentication when connecting to the server% L6 ]0 i( A( T1 X
  1694. mssql.secure_connection = Off4 D4 y% Q0 U# i. l' h
  1695. , g) |, a9 H3 H9 i. x
  1696. ; Specify max number of processes. -1 = library default
    # F, q4 i5 G, j; R% k+ C+ L5 A
  1697. ; msdlib defaults to 25' Q' A- e( i+ {4 e9 b& Z$ v
  1698. ; FreeTDS defaults to 4096
    4 N0 @, A  y0 m* p: m6 i4 K
  1699. ;mssql.max_procs = -1; S. E2 d0 R# u: c

  1700. ; ]( w( j5 Q. Y
  1701. ; Specify client character set.
    5 F0 G4 v! v* \+ u# A  V
  1702. ; If empty or not set the client charset from freetds.conf is used' |( H% Y9 p% |0 f
  1703. ; This is only used when compiled with FreeTDS. h+ i, k6 E" v3 S  y( d9 x
  1704. ;mssql.charset = "ISO-8859-1"
    4 x% b1 T  b: w! m9 _6 V: k

  1705. * B. @# u/ g9 P  O: N' l- B: L
  1706. [Assertion]
    " j2 ~* o3 C0 L6 W8 Z
  1707. ; Assert(expr); active by default./ V' I# I$ s( Z5 r$ r5 v
  1708. ; http://php.net/assert.active
    ! q7 H3 V' {% S7 `: l$ r  c3 p' B
  1709. ;assert.active = On* i$ `! c) ^2 m' c+ T: S6 @- J# H

  1710. 7 o* c. m7 `8 F( G; N8 M' k1 n0 F
  1711. ; Issue a PHP warning for each failed assertion.% D- O1 b: E( n% N% V) I7 x
  1712. ; http://php.net/assert.warning% L4 ~  ?/ o  m9 r: [
  1713. ;assert.warning = On9 {6 H  M9 D  r( y# m

  1714. 8 {; c$ n  J+ ^7 F* T6 S
  1715. ; Don't bail out by default.2 J3 M8 Q& l) m  J2 ^( h+ ^2 R4 P
  1716. ; http://php.net/assert.bail( }3 c) q( P/ g& Z* b
  1717. ;assert.bail = Off
    2 Z  x  O6 u8 Q' O

  1718. 4 }' S: O/ \" }8 e3 \) X* o( O
  1719. ; User-function to be called if an assertion fails.5 f, x* a, Q" Z
  1720. ; http://php.net/assert.callback
    & W8 c3 v4 S- b% ?: Y+ X0 S
  1721. ;assert.callback = 0
    5 D: k, @% W& ^; Y

  1722.   y- Q9 ]* g5 p% a3 h, n
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    % h5 f/ S- P9 n; r
  1724. ; error_reporting(0) around the eval().
    ( \8 T6 {0 x6 J; l) e
  1725. ; http://php.net/assert.quiet-eval
    & A: I- j  ?7 O
  1726. ;assert.quiet_eval = 0
    7 K- t. q. n; ^; C7 j$ W; \5 a

  1727. 4 D8 {( T( x: \3 J  T- S
  1728. [COM]
      u0 k4 n# }% O- H# z
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs" A/ x" u' U2 w; v  m( [
  1730. ; http://php.net/com.typelib-file8 i) o: Z. ]4 q+ c( F4 P, W. |# a
  1731. ;com.typelib_file =) ?/ G6 i7 d  c: U

  1732. 0 I$ c& p# h! U
  1733. ; allow Distributed-COM calls
    6 b7 j' R$ M: J
  1734. ; http://php.net/com.allow-dcom
    ! W9 E9 V2 i% K% l9 ]
  1735. ;com.allow_dcom = true
    + e5 d8 @1 T' T! {2 D

  1736. 2 I) @! b& Q, Z$ y* m* X# O# W
  1737. ; autoregister constants of a components typlib on com_load()1 n  D3 ]6 y7 A1 {0 E
  1738. ; http://php.net/com.autoregister-typelib
    2 N+ J( v" t5 S/ Q, ^' E
  1739. ;com.autoregister_typelib = true
    6 P6 J( ~7 f# U$ x. T8 I! P' N' N
  1740. # e1 q$ }2 Z1 X. s: L+ ?6 Y
  1741. ; register constants casesensitive4 ^+ b* R& U* i& J
  1742. ; http://php.net/com.autoregister-casesensitive9 P7 p7 I' Y) j7 I8 x. H; U  K& G9 x) X
  1743. ;com.autoregister_casesensitive = false$ n& r9 I% i7 |! l7 T
  1744. 2 d" }# k& R& j* k( w
  1745. ; show warnings on duplicate constant registrations
    ' F& d( e0 p4 E  l
  1746. ; http://php.net/com.autoregister-verbose- j- i& Z+ F+ h) D/ }4 \
  1747. ;com.autoregister_verbose = true( I! {1 i- ?- ~7 L
  1748. 9 r3 ]. C+ d" F) [5 `1 J: i/ l# M
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    2 t; E1 f% v& L; G: ~+ I" s6 d
  1750. ; Default: system ANSI code page* w! n; H8 i! b+ j* Q# v- O  `' R
  1751. ;com.code_page=7 O$ q* x$ y5 ~- F7 U) w$ J
  1752. 5 n. u/ y& c$ P" W$ g0 R  v. z
  1753. [mbstring]
    & B! j6 f% {" L+ t; w% s5 a
  1754. ; language for internal character representation.6 K& e2 C  W5 M
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    / k. s) _7 O% y5 B: g
  1756. ; http://php.net/mbstring.language+ u6 r, B2 W& T: ]6 X- _% S4 }
  1757. ;mbstring.language = Japanese: X  w; y. I" Z9 m' }7 i
  1758. / X5 t2 Y) F$ h9 C5 G
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; \* B# O) e( B8 P, c1 U
  1760. ; internal/script encoding.
    6 ^$ z' F! `, G9 a1 m
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * A* R2 A  f/ r) Y$ ]* _
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ a/ T( s2 L, ~0 i, q9 p4 V0 v7 G6 Z
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 {8 s1 \- w  Z0 {. x+ k* D, J+ Q7 ?$ j
  1764. ;mbstring.internal_encoding =
    " P8 {7 H" @$ E6 h4 ]! c
  1765. 6 ]  c/ `" T7 q  f
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ f; f$ T, |4 D# j  f- Y5 N( Q
  1767. ; http input encoding.' }4 r4 V" q0 C9 Y
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    9 V4 q, H3 n5 X& c
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.+ ]) g9 L: o* P) p& \$ X
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 Y. H' i6 x% O1 m: E5 i4 r& p
  1771. ; http://php.net/mbstring.http-input
    . |1 T) Z4 Q% |3 v
  1772. ;mbstring.http_input =/ ]. Q% g& `  J  J6 a/ }

  1773. . l% r) ~* w" a- }; I, r5 W$ q: p( U5 X
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / E0 g# @) \, m* a8 K+ N, ]0 N
  1775. ; http output encoding.6 ^0 [, X# @6 N2 S% \7 s' Y
  1776. ; mb_output_handler must be registered as output buffer to function.
    9 M7 X" w5 O6 Z5 {
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    # z) Z- m- W0 b- N9 l8 j' w
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    # ~6 D& j8 C" k' z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set& s" c) H3 o& S& Y' l4 \0 {
  1780. ; otherwise output encoding conversion cannot be performed.
    ' j( S1 [. a  k% P2 U, y8 |* e7 |
  1781. ; http://php.net/mbstring.http-output5 G; ]  f: {- }8 G* F" x" |$ D; E
  1782. ;mbstring.http_output =
    6 [* C2 c6 Q' A3 M" ~2 Y) V# m9 q) o

  1783. 2 X2 l$ i' D: y3 y6 f
  1784. ; enable automatic encoding translation according to$ ^6 p, r* B2 @* c
  1785. ; mbstring.internal_encoding setting. Input chars are
    " s0 j8 |6 X5 P( x6 z
  1786. ; converted to internal encoding by setting this to On.! q# Z3 R. {: w# g/ X) f; Z0 v
  1787. ; Note: Do _not_ use automatic encoding translation for) t5 i4 |0 O2 S5 u0 Z
  1788. ;       portable libs/applications.; v- m8 X# t# X$ h
  1789. ; http://php.net/mbstring.encoding-translation# j" N$ X  y' o: M+ n6 |  p/ @
  1790. ;mbstring.encoding_translation = Off
    1 U' ~+ n& p6 `: X

  1791. 8 }0 _) O- p& J. H9 d
  1792. ; automatic encoding detection order.
    7 l% }) d; J) @! P
  1793. ; "auto" detect order is changed according to mbstring.language; S+ P1 Z  d8 Q6 U5 h' ?
  1794. ; http://php.net/mbstring.detect-order: C9 _/ W1 r( u( e# @1 V2 |! c
  1795. ;mbstring.detect_order = auto1 s+ f7 z5 c4 \8 x6 ]

  1796. * Q- k+ d+ J' N$ L
  1797. ; substitute_character used when character cannot be converted
    6 d; `  t2 _3 j8 [9 [. Y
  1798. ; one from another0 L+ m3 L' C7 P' G2 Q/ L' `
  1799. ; http://php.net/mbstring.substitute-character
      B/ q# p3 v% v( ?
  1800. ;mbstring.substitute_character = none9 n8 d( [4 q% u& z

  1801. ' J  R& F2 ~( I) P
  1802. ; overload(replace) single byte functions by mbstring functions.0 Q9 v% J% C/ y$ m  k
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),& X% I' }" y. J8 y5 N
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ' }: B8 m+ I, U- a" Q6 U, p: u
  1805. ; For example, 7 for overload everything./ c: \- w4 X. a3 R
  1806. ; 0: No overload5 h2 V, [8 a" }
  1807. ; 1: Overload mail() function
    # p; a* p; x- w6 W# e
  1808. ; 2: Overload str*() functions
    + ^7 T- f; |* n6 p/ E* ?, d' B
  1809. ; 4: Overload ereg*() functions9 v% ?7 g( h( N9 [3 q, G! {
  1810. ; http://php.net/mbstring.func-overload
    2 _# |; j, }, z- A+ I* g1 n" L
  1811. ;mbstring.func_overload = 0
    ( x; z2 c6 u+ Z) E) d' Q
  1812. ( Z$ L9 V7 o+ r* H+ U& T: v
  1813. ; enable strict encoding detection.: F$ b7 k# c* ~+ D; y1 w( T
  1814. ; Default: Off+ L+ ]2 I; N( i/ D1 h4 Z  M2 e) A
  1815. ;mbstring.strict_detection = On- ?( ]: v( J' V1 D5 x  Q
  1816. ; S  {/ r: E- k( H- n8 ]* m' p3 E, Y
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()2 h+ b# f% \: c7 B3 o
  1818. ; is activated.
    " h. W/ L" A% Y
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    , Z, e, p/ m% X5 f
  1820. ;mbstring.http_output_conv_mimetype=# l3 U7 Y; _& t( @1 f! I$ I. \

  1821. ; p- @  S; G' E+ `2 m  W0 @0 |( ?- J
  1822. [gd]- G/ O, H  r! w' O9 k
  1823. ; Tell the jpeg decode to ignore warnings and try to create7 T( s, m2 `  P. [! b5 Y8 B8 i) y7 `
  1824. ; a gd image. The warning will then be displayed as notices
    2 v% o  o* x  f% d& Z) {
  1825. ; disabled by default
    . `$ D9 N! e: E9 ~% K
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ! }( @" v9 i* C; c4 m4 n9 c
  1827. ;gd.jpeg_ignore_warning = 07 p2 ]$ B3 W6 ]& a
  1828. 6 k6 O: B" g! ?5 i7 H* {9 a( c* m
  1829. [exif]  T/ G! `8 ~" S; L
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., {' u- j0 T1 f/ T3 y7 V3 {0 }9 `5 v$ t
  1831. ; With mbstring support this will automatically be converted into the encoding3 v  Y: U, t; c( s0 J) L
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ) ]0 j' _- ]1 E' X! Q+ J- ]
  1833. ; is used. For the decode settings you can distinguish between motorola and
    , K: [0 [2 Z! P$ a1 u
  1834. ; intel byte order. A decode setting cannot be empty.+ O+ ~0 S0 H! {+ o
  1835. ; http://php.net/exif.encode-unicode2 R7 b+ H' i# ?" x; H2 V/ c
  1836. ;exif.encode_unicode = ISO-8859-15. e# q/ X* }) |9 [! [

  1837. ) j1 x* I& G, `  R+ y
  1838. ; http://php.net/exif.decode-unicode-motorola
    3 s* c1 f4 v; B! G, `
  1839. ;exif.decode_unicode_motorola = UCS-2BE! |# J' |8 O& U# J; H* C+ U
  1840. ! A2 a! E8 x% k: q+ R
  1841. ; http://php.net/exif.decode-unicode-intel9 `* }' r7 S% W+ I
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    + V& C; q$ C$ X! [6 M7 q; W
  1843. 7 z( F* u' L( s# J" W: h
  1844. ; http://php.net/exif.encode-jis/ e$ b4 T7 w; Z
  1845. ;exif.encode_jis =  d* E3 M! ?% U! X
  1846. ; I* [0 L0 F; ~7 |
  1847. ; http://php.net/exif.decode-jis-motorola
      {- H' P$ m- e  F9 G5 y
  1848. ;exif.decode_jis_motorola = JIS5 a% M( E4 x& ]+ Y
  1849. * P  j. V: H% y( a  n; R1 ?
  1850. ; http://php.net/exif.decode-jis-intel
    2 E% H$ V; s1 ~; d' c4 {
  1851. ;exif.decode_jis_intel    = JIS  M0 l' ?# s) k! h. y
  1852. + c3 c: e9 i+ o# m, n8 z
  1853. [Tidy]7 I2 `0 v& O5 d  T
  1854. ; The path to a default tidy configuration file to use when using tidy
    6 A1 g+ T9 \. z
  1855. ; http://php.net/tidy.default-config& Q, H( @. i$ t4 Q1 K4 j8 s
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg0 o/ E2 M$ G: L/ J* k- Z
  1857. 9 _. {. }4 ~6 ?% n
  1858. ; Should tidy clean and repair output automatically?2 V: T$ H) i2 n4 s
  1859. ; WARNING: Do not use this option if you are generating non-html content
    8 s1 y6 t; X7 _9 h" B5 K
  1860. ; such as dynamic images
    . m* _# }1 |$ L
  1861. ; http://php.net/tidy.clean-output
    7 Q# H  ?3 w; h" h5 L4 H4 m
  1862. tidy.clean_output = Off
    % y) K9 s/ a" s/ j2 f8 J5 Y% d

  1863.   m+ f" i* p2 w# }
  1864. [soap]' L6 B% l' G- o3 U  {8 T
  1865. ; Enables or disables WSDL caching feature.' q2 T+ ^9 L1 X7 Z
  1866. ; http://php.net/soap.wsdl-cache-enabled
    " q# q0 I: Y0 G
  1867. soap.wsdl_cache_enabled=1
    ' m( o% g7 A+ [" f; ~
  1868. 4 Z9 |1 B+ s$ N: i
  1869. ; Sets the directory name where SOAP extension will put cache files." z) d8 ~  Z- g# J
  1870. ; http://php.net/soap.wsdl-cache-dir
    * z% K7 k8 |+ {4 k" @1 |
  1871. soap.wsdl_cache_dir="/tmp"1 s" G8 p: m5 s# j6 K! W7 g
  1872. 5 P/ X: R6 `4 ?" M7 q& u8 R
  1873. ; (time to live) Sets the number of second while cached file will be used  U# f$ ]; Q6 Y/ z/ k' X
  1874. ; instead of original one.
    8 N0 F* _, R- ~+ E3 E  ]8 ^# w
  1875. ; http://php.net/soap.wsdl-cache-ttl- S- B# H5 R  {" L8 ?$ `
  1876. soap.wsdl_cache_ttl=86400
    3 ]* k- R7 X0 l* {# R8 O; G) h! B8 x

  1877. 2 M9 w7 I( q% s3 q$ i  v1 _# z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( E7 [0 t! ]3 o  S0 a8 J( A
  1879. soap.wsdl_cache_limit = 5& y; z. [0 E; ]
  1880. + Z  G" o! z* |' p9 E2 ]- b
  1881. [sysvshm]3 o7 t7 Z1 ^+ O( c. R% N# E; t5 _1 A$ P
  1882. ; A default size of the shared memory segment( b" I' O; P0 [/ O& h; G
  1883. ;sysvshm.init_mem = 10000' s5 h# o' \, n3 d+ B
  1884. ( |, q  \5 \& _
  1885. [ldap]. K/ K6 p/ ?, C! z6 J/ h
  1886. ; Sets the maximum number of open links or -1 for unlimited.0 z0 M$ M  ~: m3 B; m" M
  1887. ldap.max_links = -1/ U9 V% r; u- o$ z
  1888. . z& w: C8 w5 T2 l; v
  1889. [mcrypt]
    . R& n9 H# |; V! T- {% y  ]) V
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open; l1 Y, i* c8 ]
  1891. ( A0 q+ b' e* q% H- [  K3 V
  1892. ; Directory where to load mcrypt algorithms6 g, s  ?& V- c
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& u( M% w2 R: I* v! n( S6 j" A3 d3 e& d
  1894. ;mcrypt.algorithms_dir=  `0 D, o7 w& a7 x# P9 A7 A  G( R

  1895. 6 e$ \/ s+ R+ ?2 V  j5 L" g
  1896. ; Directory where to load mcrypt modes
    ' |' z# K* Z  l1 O3 o# c
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + v3 A. b: Q" b5 A' g5 @" F- i
  1898. ;mcrypt.modes_dir=
    + m- i: I% T' T  \; z) ?  ~' ?. r

  1899. . d' Z! |% y5 `. x5 k, g8 S
  1900. [dba]9 E3 C6 s7 r( a1 n+ E6 z
  1901. ;dba.default_handler=
    1 j/ D- [% g4 J5 O% G

  1902. % C, l. d/ f& i5 G2 n% p
  1903. [opcache]8 j: D( b, U& ^/ J% y
  1904. ; Determines if Zend OPCache is enabled
    0 M5 v% H* R( d/ R7 n
  1905. ;opcache.enable=0
    & C, ]* m8 L" [

  1906. # @7 o( I" C" i4 M: a2 R  n
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    5 Q. Q" w5 E5 {6 f; b  l# l2 U! e
  1908. ;opcache.enable_cli=0
    ( T; w6 B; L5 A+ F  i, D
  1909. 3 d( N( I4 O1 N1 q  \4 [% q% v
  1910. ; The OPcache shared memory storage size.
    7 ~5 \' \4 B  d
  1911. ;opcache.memory_consumption=64
    - T$ M" D2 K3 Q% s
  1912. 1 I# Q, u/ e6 v7 N
  1913. ; The amount of memory for interned strings in Mbytes.
    - s! M6 I6 S2 P% E. [
  1914. ;opcache.interned_strings_buffer=45 j& ~" x; G9 p6 {8 o% p0 h
  1915. ' z9 Y; X, C1 n* e; v9 Z$ O
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.5 U% @7 r  l1 L( A$ a9 k
  1917. ; Only numbers between 200 and 100000 are allowed.
    , o) m0 u; N) L( p/ T0 U
  1918. ;opcache.max_accelerated_files=2000+ D4 l; ^: \) H2 U" c8 P
  1919. . X% Y6 c1 [. T% K8 c" j3 x
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + Y6 J1 [0 O8 C4 W' ~
  1921. ;opcache.max_wasted_percentage=5
    4 Q( I9 u: i# |( f4 ]* t# M) I

  1922. 4 W% ?; u0 D3 @4 y' i7 U
  1923. ; When this directive is enabled, the OPcache appends the current working+ \+ ?5 X  Y5 d, s1 E  p
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' X% {+ ?$ n+ h) r0 ?4 C; N
  1925. ; files with the same name (basename). Disabling the directive improves$ K8 f* g- X9 f3 @
  1926. ; performance, but may break existing applications.
    3 u6 N1 f: D) L$ X" B
  1927. ;opcache.use_cwd=1
      Z# s! ?( l9 y0 ~) L" c

  1928. & C! w+ a$ C0 v1 N$ R+ q
  1929. ; When disabled, you must reset the OPcache manually or restart the# s& y$ p, P* G* K
  1930. ; webserver for changes to the filesystem to take effect.8 L; h7 g0 H2 y$ j7 `+ R6 w4 _# G
  1931. ;opcache.validate_timestamps=1
    0 y( n! q3 q7 Q6 y* ?4 N6 L: H
  1932. 6 G" r# p) W& y2 g" I' n  n
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ( _& D% T3 G! `1 l6 ?4 n
  1934. ; memory storage allocation. ("1" means validate once per second, but only5 W8 _8 v  c4 b$ K) O3 y
  1935. ; once per request. "0" means always validate)- m) s. M' d3 K+ j, `( B" x
  1936. ;opcache.revalidate_freq=2
    * I) j2 c% d& T: s% W6 ]/ z

  1937. ) }0 \9 h+ @& l, k  ]7 d
  1938. ; Enables or disables file search in include_path optimization& U) D/ ^: \- E. [2 Y8 F, R$ V& L$ n
  1939. ;opcache.revalidate_path=0
    ! S/ z0 S0 J6 J/ n2 Y' @
  1940. % Q3 \1 V2 s) A
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the' {; d: g7 J  C) I4 o1 W
  1942. ; size of the optimized code.
    5 V, X2 [, m( o. p! K
  1943. ;opcache.save_comments=1: h; ?7 Q. @; g7 T8 `4 b
  1944. + v9 I; w+ v7 B) R) W
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    . ~! v- [4 M- ]
  1946. ; may be always stored (save_comments=1), but not loaded by applications! [0 W8 u" {& s$ e* r* o8 [
  1947. ; that don't need them anyway.0 j% m9 h# w1 k2 g
  1948. ;opcache.load_comments=1
    5 D/ r- Q5 O8 ~
  1949. % V& w; |( _! I# X0 O
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    8 o! i, e1 c2 W5 K5 j; `8 K: K
  1951. ;opcache.fast_shutdown=00 a  x8 w- y: ^% T1 [/ c% x
  1952. ) y& [" u% _! {4 U* l1 Z3 k) D
  1953. ; Allow file existence override (file_exists, etc.) performance feature.6 C  @* f( e; j9 [( D
  1954. ;opcache.enable_file_override=03 ?' G, {7 t+ Z, |5 g$ R2 p4 O

  1955. 6 U+ W+ a8 E: L
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache: B+ x" |# |0 k. c8 A8 Y
  1957. ; passes6 i6 ]. F' U4 k+ k: A
  1958. ;opcache.optimization_level=0xffffffff9 ?- L; `: a9 D6 @
  1959. 0 V! N- U* u( c! @$ a
  1960. ;opcache.inherited_hack=1
    5 _1 Z% K$ C2 e. S+ j
  1961. ;opcache.dups_fix=0
    , f$ p$ K1 F% j+ S
  1962. 7 b( K3 [# ~9 E  x# E
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    9 W, ~3 i. D$ G/ G0 e- `
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    " _# G5 b1 b0 F  H# z7 }0 w
  1965. ; that should not be accelerated. The file format is to add each filename1 g9 d7 s6 z4 S6 w- b
  1966. ; to a new line. The filename may be a full path or just a file prefix& t: W# C5 {; s7 Q- t
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www; v- W* d" h: q  V
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    8 x( l. C; z* S6 \$ E: m0 |& C
  1969. ;opcache.blacklist_filename=
    $ @$ R0 m; a/ W8 p7 r* Y" e

  1970. - ]# s3 p6 E6 _: D4 U
  1971. ; Allows exclusion of large files from being cached. By default all files2 w( J4 ?- a% S% c& }5 k6 H
  1972. ; are cached.# D8 [7 {  \) C4 w: j7 W4 q
  1973. ;opcache.max_file_size=09 n0 `6 s9 R# D1 ~; s

  1974. - h- K8 U$ |( R7 l
  1975. ; Check the cache checksum each N requests.5 o2 g$ e8 ~5 f/ ?6 \* S
  1976. ; The default value of "0" means that the checks are disabled." ?! Q- a& J) K  _9 j3 m9 y
  1977. ;opcache.consistency_checks=0' |- Z8 f4 N' I* U7 r2 V# I

  1978. : C4 k5 d8 V1 @/ L0 d2 b2 ~( B6 A. o
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 K( X2 _8 L8 r* j
  1980. ; is not being accessed.9 S* @! o: X/ z3 y, `6 t
  1981. ;opcache.force_restart_timeout=180
    5 Y# @7 u0 U) m8 ~. c& @

  1982. 7 k4 t$ V! H0 @3 P
  1983. ; OPcache error_log file name. Empty string assumes "stderr"., y8 P0 Q. N9 ~7 x, K& P) o5 l& V
  1984. ;opcache.error_log=
    : O2 ?7 |( L# q8 T+ h# j0 N
  1985. * u3 |; o, [, i
  1986. ; All OPcache errors go to the Web server log.7 f0 V+ H( P5 C
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* z  ?; V2 q0 Y. h
  1988. ; You can also enable warnings (level 2), info messages (level 3) or0 Y/ j; P+ n2 l, m3 e( ]3 p3 F
  1989. ; debug messages (level 4).4 W6 G$ p$ W$ ]5 m6 e. P
  1990. ;opcache.log_verbosity_level=1
    % U2 k5 s7 e- n6 P
  1991. - z- h. ]1 I/ A
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . b: t* j8 H. `
  1993. ;opcache.preferred_memory_model=% K3 L- j# q, ?, p) ~/ b

  1994. # C  @9 p$ r7 M/ z1 T/ {% v
  1995. ; Protect the shared memory from unexpected writing during script execution.# J# o. {& Z3 N# A5 Y" j" b& N
  1996. ; Useful for internal debugging only.
    & D/ c) g8 ^+ z+ P6 q. B$ P$ F
  1997. ;opcache.protect_memory=0
    7 R2 r( S! j8 y  L/ n
  1998. , Q1 t2 j) u+ Q2 L' ^2 l& Y# Z1 a
  1999. ; Validate cached file permissions.
    / q0 ^7 t. u! J& Z0 j( d! }
  2000. ; opcache.validate_permission=0
    , w. Y: S0 U$ `$ E' ^* c9 j# D, t6 S
  2001. ; x& `( W# t& g" h! H
  2002. ; Prevent name collisions in chroot'ed environment.
    0 Z  e( B1 ^4 \
  2003. ; opcache.validate_root=0
    & b6 D+ A, g* Q8 E4 E% S9 b
  2004. : J- k: G1 I# j. o2 O' ~5 ?6 q
  2005. [curl]
    6 G, F% t; i1 c* S9 _+ X0 s2 R
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 R8 c9 B1 n$ t5 W5 \0 E
  2007. ; absolute path.
    ) Z$ i" v7 H6 N$ M0 U6 A% Y8 D
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( p  p; d: a# ~3 [9 C+ W3 e* a

  2009. ; ~/ n& T7 w7 d  ~7 `! G
  2010. [openssl]
    ! F* H6 h) j0 N; `- R
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem; P) y5 ]* s; o) \' [
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should/ X* o6 ]7 }$ j' n2 w: w' v
  2013. ; not specify a value for this directive as PHP will attempt to use the
    " m4 n% M& p2 Z! F0 b
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    " A  O% P, V; s
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    9 P) o! I( q7 t% F5 C/ a
  2016. ; option.
    % F1 \" A# p' H
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt5 k5 ^8 W, w, p/ K- z4 A

  2018. 0 W% s% o9 Y+ d0 G
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    * d9 _$ x# S  \2 F- ~- v2 {
  2020. ; directory pointed to by openssl.capath is searched for a suitable3 g# S/ V% a6 R. I& N0 B# q( S
  2021. ; certificate. This value must be a correctly hashed certificate directory.6 |  J4 |/ D8 v  b6 z6 |
  2022. ; Most users should not specify a value for this directive as PHP will8 Z; g1 d. e; w- H5 J+ A
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    - F2 `% f# G- @& \
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    % c% W, o/ v& L) h
  2025. ; SSL stream context option.( c; l) X9 q( e& I' L
  2026. ;openssl.capath=
    ( }& P% I& x) f% b6 T

  2027. ) ?+ Z$ h8 b, s; F- K; \
  2028. ; Local Variables:
    5 I5 ~/ C2 c1 S- ^% I
  2029. ; tab-width: 4
    0 P! G7 A( u' s2 n
  2030. ; End:
    ) @7 G$ y3 D  p
  2031. ) l/ @' o1 o2 z- Y
  2032. ;eaccelerator' `% B; I2 C. Y0 r( L: |3 t1 }( J

  2033. * p/ ~0 ?9 ~5 P1 P- x9 D9 C3 }# b
  2034. ;ionCube% t! F4 |; X8 o" F: M" c

  2035. 3 }- O, ^3 k: O' H- \: c! A
  2036. ;opcache1 H+ v# I* d/ R' {2 H

  2037. 8 x% p$ e. T0 b  }0 ?$ x% \
  2038. [Zend ZendGuard Loader]
    $ V2 ^( `' e6 i5 k& e9 N3 c& k9 r
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    * |/ c; i' h; S. Q
  2040. zend_loader.enable=17 T9 T0 i0 C2 G3 v
  2041. zend_loader.disable_licensing=03 p- x) i9 b; t: v3 I! s1 d  I
  2042. zend_loader.obfuscation_level_support=3
    7 r; N% k; h% [* K9 n
  2043. zend_loader.license_path=
    $ I% B0 Q0 [; j$ O2 g# Q/ ]

  2044. & R) V; S. z: k  c3 x+ F, B" d: r0 H8 B
  2045. ;xcache
    ( [3 `+ y# O& d% i
  2046. 3 V1 {% \& H9 X2 V$ @2 h( L) Y* {
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
2 F* l2 l+ X1 I+ g4 h* E0 Y3 v
! d" h# I' \$ i, ?8 e( x0 E/ _, X' P5 v; x2 t
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,+ Y7 S# P9 {" e5 ?; ^- b. k
( g3 _( @/ y' |) M" W7 B' l. f
Discuz!程序版本选择:
, g# A' Z5 ?+ q5 w4 P- [站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,0 _0 q) l0 g: }, X
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:8 u% U: r  h8 m5 z
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
2 c/ f0 |  G  Q& n9 C7 s* @6 b5 O" w8 ^, J5 ~5 g5 B
Discuz!插件模板版本选择:* a( u8 R& w1 A+ n2 c
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
2 n2 d/ `! H) |针对这个问题做个统一的普及:; u, T3 C) F. n9 j2 n
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
) ?4 t7 V% }+ Q! s
+ H& F" p- W+ {" Y0 j所以, O, @$ M8 \- C
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。4 d7 z/ ?. d+ C; n' O: \- R, a
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。2 [1 A& @' ^: [) S# e) S1 }; r
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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