分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0, U$ O4 V+ ^0 s/ E

; T) L' W  N3 n9 k5 T
  1. [PHP]
    + E6 L* A! D2 [" y
  2. 5 P$ O. E8 u: W: _* s0 T9 o
  3. ;;;;;;;;;;;;;;;;;;;
    # q: e$ q$ I' v; F" E
  4. ; About php.ini   ;
    # o* ?. a8 H- [
  5. ;;;;;;;;;;;;;;;;;;;2 A4 A! y- |, _- u" b
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! K2 ]# U5 I* L3 m' x- ?& `
  7. ; configuring many of the aspects of PHP's behavior.
    ; o8 H  G" Y, Z* v% o

  8. - [3 \! O$ k7 v  F! v' z
  9. ; PHP attempts to find and load this configuration from a number of locations.8 g$ i5 G; f5 T# v3 j2 A( O) u, F# `
  10. ; The following is a summary of its search order:9 L7 Y& R+ N- z6 x
  11. ; 1. SAPI module specific location.
    / W( M: V  q$ f
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    $ ^( \; F9 c9 S
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 ^) y; u4 M; w
  14. ; 4. Current working directory (except CLI)
      J5 \* y: {+ x1 z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 w6 y% F6 Q+ [4 ]
  16. ; (otherwise in Windows); K+ G4 X0 l7 a% y* n, F; I  A
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 F( O" J/ H" {$ S' I- G
  18. ; Windows directory (C:\windows or C:\winnt)) @$ b, B" Y9 M+ O. L2 M
  19. ; See the PHP docs for more specific information." d/ \0 k  W( b0 O7 d
  20. ; http://php.net/configuration.file# Z$ z( e6 ?1 J) I  i3 }

  21. & Y" x  q2 c& m' M- G" p+ o
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; ^& H/ D+ V4 ?
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 m7 }3 K& y0 M/ K
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    / J0 H& O0 {2 `% _6 g: T
  25. ; they might mean something in the future.
    0 z" I. |+ B9 t6 |8 C" e
  26. 6 X& Q9 I* Z6 ]7 E3 F
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ k" b5 z3 Z& H; t4 @1 h
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 m1 B0 k% {/ E
  29. ; following the section heading [HOST=www.example.com] only apply to
    4 s. R; i: e! C
  30. ; PHP files served from www.example.com.  Directives set in these
    ( _6 M4 T8 Y3 ]
  31. ; special sections cannot be overridden by user-defined INI files or
    # m! |2 g$ q8 D: Z( S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 L1 P  K& X7 f( E. x, \
  33. ; CGI/FastCGI.& C5 i% I- F  |5 ?8 f& G% f
  34. ; http://php.net/ini.sections4 g' V$ t% m. U! a

  35. 0 |) R  e3 M' ?6 b8 u3 {/ E- n' K
  36. ; Directives are specified using the following syntax:0 t; y4 }0 N# B* C* }7 J
  37. ; directive = value5 m. @" g- }- g; P) \/ q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.* z  S4 p, o9 Y# V$ @
  39. ; Directives are variables used to configure PHP or PHP extensions.' j, g  k% }3 ?
  40. ; There is no name validation.  If PHP can't find an expected# K% ]: T. g! I; M, w: o- R" C0 h
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # a7 N! x" H# j
  42. - A: B3 ]) r3 a- `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one- [5 J7 D, |+ P
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
      Y1 t0 H* r5 [  X& u; D) |
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    1 J- j7 H! {; D+ p( U1 z
  46. ; previously set variable or directive (e.g. ${foo})
    ' _9 s; q, F8 W1 K
  47. % ]& R& E% h# H0 q* h: {+ a! r3 i
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    - Z5 h3 L3 x7 f4 O2 d
  49. ; |  bitwise OR/ N, |1 A. V0 s' {
  50. ; ^  bitwise XOR
    & n8 _; p# {4 x) v/ |
  51. ; &  bitwise AND
      W. L% x0 U0 R4 U# \/ c% L4 h
  52. ; ~  bitwise NOT
    / F2 n: a% b* h9 C! d# }
  53. ; !  boolean NOT
    6 F: x% P! \5 H) ^0 o( r3 h

  54. : E; O0 L" v3 d0 R; v  c
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 q" @7 _7 t, c. H# p
  56. ; They can be turned off using the values 0, Off, False or No.
    # _; ~5 b  n" K! }2 S3 J& G  A5 A

  57. $ I/ J- {5 w) ?- [& Q
  58. ; An empty string can be denoted by simply not writing anything after the equal
    4 c( |  {' T& c
  59. ; sign, or by using the None keyword:: g0 r% y) Y+ o; I2 p

  60. / o8 m2 T! N0 O( {( m* X5 _
  61. ;  foo =         ; sets foo to an empty string9 K' N0 ?& t0 T- O4 b* u
  62. ;  foo = None    ; sets foo to an empty string  h; K5 R0 S  V  K( \. p
  63. ;  foo = "None"  ; sets foo to the string 'None'- h0 m, `7 Z7 v. |7 p2 |7 Z
  64. 5 ?7 x/ A: m# r  d; D, Y
  65. ; If you use constants in your value, and these constants belong to a, r" ?! b9 d* A+ Q+ _) f* H
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 f8 D4 V: F8 N& ]- K
  67. ; you may only use these constants *after* the line that loads the extension.
      \  N0 q) N) s

  68. , }' _1 B# {4 n1 e1 \
  69. ;;;;;;;;;;;;;;;;;;;
    # F' b2 ?$ U9 @9 D: l6 c
  70. ; About this file ;9 W, F4 M- U( w0 N
  71. ;;;;;;;;;;;;;;;;;;;
    : ]" W" o) }' ]) d  m
  72. ; PHP comes packaged with two INI files. One that is recommended to be used4 \1 d4 Z5 C  J  S( D+ J
  73. ; in production environments and one that is recommended to be used in
    % @* M; k3 h( w. o8 P+ Q
  74. ; development environments.; |! p  v  q+ U3 D2 s

  75. 4 ~) s3 ?) o! `' L! Y* F3 J9 E3 {' D  g
  76. ; php.ini-production contains settings which hold security, performance and4 W: k( v/ l1 [7 O; s* [/ [
  77. ; best practices at its core. But please be aware, these settings may break
    - x6 }  V6 `3 a! K
  78. ; compatibility with older or less security conscience applications. We
    * T( N# F5 h' ?7 e
  79. ; recommending using the production ini in production and testing environments.
    ; M& ]) e- }& z; r5 Y0 x9 _
  80. # S" }3 t/ K; ]5 C8 J7 j$ u1 O
  81. ; php.ini-development is very similar to its production variant, except it is# P3 L. a' O1 t! s
  82. ; much more verbose when it comes to errors. We recommend using the3 l, z1 s3 B$ i& v2 q  e
  83. ; development version only in development environments, as errors shown to
    : V4 G2 ^% }& J4 Y) Q# [
  84. ; application users can inadvertently leak otherwise secure information.7 `$ ^4 h0 O) K6 F5 r9 R1 n4 b# B6 T
  85. ; A( r/ h8 D# y8 x& x
  86. ; This is php.ini-production INI file.1 U! E+ }2 Z/ g: |( p% d' V6 M

  87. 5 U3 G% \" y+ O9 h* g0 p+ y0 T
  88. ;;;;;;;;;;;;;;;;;;;
    ) Z# y. r, F! ?1 L' h( O4 q; r
  89. ; Quick Reference ;
    ; s; U/ H$ C; \0 y' J
  90. ;;;;;;;;;;;;;;;;;;;+ T- ]7 P9 r. r; [0 H
  91. ; The following are all the settings which are different in either the production
    $ I& A; c& V6 ^$ V( g6 g* l
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    $ @0 h! ]* t1 Q4 v1 Z1 J2 o
  93. ; Please see the actual settings later in the document for more details as to why
    $ i! _/ t+ h( q" h
  94. ; we recommend these changes in PHP's behavior.3 _% V# O$ O. {8 j9 ]5 u, U
  95. 1 {! f) `) K; F! S% ^- k
  96. ; display_errors
    * Y5 {" @% s: V4 {2 Y, B9 `7 R
  97. ;   Default Value: On$ k* ?1 J! y. g2 `
  98. ;   Development Value: On1 J8 t0 i' o6 b  Q" i. R9 j  f7 H1 s
  99. ;   Production Value: Off
    - J8 H( W7 |. o6 b$ c6 G, Q

  100. 5 {2 `- `, k& c0 r3 w. v
  101. ; display_startup_errors; s1 A" P( m  |
  102. ;   Default Value: Off* ~1 ~* D9 c  I
  103. ;   Development Value: On
    $ T3 p# `" _8 Y1 x' y! C
  104. ;   Production Value: Off
    / Q* h- W0 j2 [  t  G8 N
  105. * c) z, y* [$ k& \3 C1 {, M
  106. ; error_reporting
    * o* n, U; D9 p- L/ v
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 G% A7 m1 `9 E/ a
  108. ;   Development Value: E_ALL( k  l$ K9 {( W7 R
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT6 m+ ]' P' c+ y- l

  110. - k% C; h5 w8 w, l6 r6 p0 B
  111. ; html_errors
    5 J$ q, j6 B/ I8 ^; E% q
  112. ;   Default Value: On2 Y: H5 z9 l+ K3 p" @
  113. ;   Development Value: On2 i8 B' s! B& m; ~! b; E" G( D5 Q
  114. ;   Production value: On
    * p  J' _. [8 c' M$ s* y! Z
  115. 1 g7 w# \# L3 [: }
  116. ; log_errors0 K6 l* }, N( Z0 I( x
  117. ;   Default Value: Off/ y! A- S% ]1 @0 r3 [
  118. ;   Development Value: On
    0 k/ B4 o  K% ?4 `) z% J+ E+ u
  119. ;   Production Value: On
    ) q, h( Z- z2 b( S2 M

  120.   b; r+ d  `4 r* x
  121. ; max_input_time
    6 \5 m& Z6 c/ J5 V
  122. ;   Default Value: -1 (Unlimited)
    8 ?  A6 V7 W7 ~) X6 C
  123. ;   Development Value: 60 (60 seconds)- Z, u: T  |, c) V/ o# d
  124. ;   Production Value: 60 (60 seconds)
    0 {' J$ Q' Y1 D, @/ F: t
  125. $ o6 }. t  Z/ R$ Q2 G4 X6 A4 F
  126. ; output_buffering# W. y" Y+ b0 X# d% X1 [$ s
  127. ;   Default Value: Off" ?* g. {6 F) v% I
  128. ;   Development Value: 40964 D+ v. K+ [2 d6 x6 n
  129. ;   Production Value: 4096
    6 ?2 `& \  v3 \7 Q4 `" w
  130. ' ?4 d& k- Q& e0 X6 k2 u
  131. ; register_argc_argv
    0 Y0 U4 @' W& r) k7 X$ x! I+ L6 c
  132. ;   Default Value: On/ }9 O6 e; t" h# s2 t4 e0 J
  133. ;   Development Value: Off0 Q1 R! c. f* y0 b) z  B: t. O
  134. ;   Production Value: Off
    1 D3 F$ ^5 {0 u3 i( b. q! M
  135. % T% H6 X: Y2 }8 d$ e
  136. ; request_order8 ?0 W9 w8 [* _# L
  137. ;   Default Value: None7 J* T1 F  n$ K/ D
  138. ;   Development Value: "GP"
    5 y( s6 ~3 b0 T, k
  139. ;   Production Value: "GP"6 R3 B! ^7 Z4 o! l$ L  B) ]+ e
  140. , g% I7 [/ b" i* i5 G- V
  141. ; session.gc_divisor) e4 y: M  p6 ]+ L
  142. ;   Default Value: 100. l! @. T2 M" M. _
  143. ;   Development Value: 1000
    % y9 B3 h3 r9 q4 U6 S
  144. ;   Production Value: 1000
    + U  p% Y% t- W) P

  145. - H) H  F  m' x3 S/ |4 z! s. e
  146. ; session.hash_bits_per_character
    9 d5 u5 |0 Q9 Y6 w
  147. ;   Default Value: 4
    $ X' g: P. `4 F1 c
  148. ;   Development Value: 5
    2 P9 U: _8 x- q8 r
  149. ;   Production Value: 5! f3 o' [" ?- u  L& f

  150. % c3 ~+ d1 F6 o2 b  H* J
  151. ; short_open_tag/ `. n3 n: r6 V. Z, u) M% ~3 N$ H
  152. ;   Default Value: On# {7 P; _% j  d8 |% w
  153. ;   Development Value: Off
    % z) r5 I0 D8 z0 v3 I3 h2 K
  154. ;   Production Value: Off( w7 d" G4 i, Y3 E
  155. : q! y0 k4 C$ L* b; Y. B; s1 y( T
  156. ; track_errors, q& O2 i2 v: [5 S+ N
  157. ;   Default Value: Off
    3 o* k# s* @" S* u9 W8 }6 \" q' x' z/ r' s
  158. ;   Development Value: On
    6 b& W# |  \# Z% s2 {: r& |
  159. ;   Production Value: Off8 \) W; J; a3 Q4 l, g

  160. ) \. U1 T. Z6 h
  161. ; url_rewriter.tags
    + l; q/ b/ {) B/ }9 R9 g1 }, G/ @
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( s& X3 d! U9 y+ L5 P' Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- S! v8 L# l1 Y+ |
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 D) Y4 n9 {, n" l

  165. 9 t' L5 U$ }- I- h4 P
  166. ; variables_order/ H9 V4 A6 x% [% |
  167. ;   Default Value: "EGPCS"' N! B- \  a) u% h4 W6 J
  168. ;   Development Value: "GPCS"  K: j3 z# o4 _+ D/ U
  169. ;   Production Value: "GPCS"
    * z& @. V0 D. U; `  x- H: ^
  170. / n$ g5 G- C9 l2 [" P# x. e
  171. ;;;;;;;;;;;;;;;;;;;;
    % Y+ X+ L8 F; p: d5 }0 m. Q& c
  172. ; php.ini Options  ;
    ' T7 {* H* F' i) m1 r6 y) u1 E0 ?' o
  173. ;;;;;;;;;;;;;;;;;;;;3 J# W. s$ d+ O' G3 f0 U9 j; C
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ n+ P: K  W+ ]3 x2 }) n. w
  175. ;user_ini.filename = ".user.ini"3 t, q. W( H, f% @9 s5 a

  176. ( d$ @& r: ?: h8 t% ?2 C
  177. ; To disable this feature set this option to empty value! k1 _. w7 \3 l5 C, y$ g
  178. ;user_ini.filename =
    1 O; b9 I5 D* Y" Z! v

  179. " h5 c) |! ~2 K- f$ h4 c& t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)# m( }- Q) H  Q. x
  181. ;user_ini.cache_ttl = 300
    2 e1 R! X: s% K1 V+ v( I- C8 J5 B
  182.   F  G6 ~: ^. z1 w9 J" i+ b
  183. ;;;;;;;;;;;;;;;;;;;;
    9 L6 n' {0 b3 J% e* Z6 n
  184. ; Language Options ;
    ( r4 `' {3 V3 m9 [" `- W0 M! E
  185. ;;;;;;;;;;;;;;;;;;;;- |9 ?2 F8 t+ V
  186. ) o- T  ~4 ?! M+ l# a
  187. ; Enable the PHP scripting language engine under Apache.
    2 s* ^& R" A+ d: C; m. T# j4 G
  188. ; http://php.net/engine$ R% T# r. y* `; O1 C' [
  189. engine = On
    / x/ \6 p5 {) T
  190. 7 p, \2 t7 v' d  m5 k
  191. ; This directive determines whether or not PHP will recognize code between
    9 Y4 e1 S0 `: G* T- E
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    # {, V$ B" U' l7 j" f
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % z0 y& a# }( n5 [& O; ]; {, s4 o! ~
  194. ; should be disabled, as enabling it may result in issues when generating XML) W1 e# b6 v/ m0 O5 ?
  195. ; documents, however this remains supported for backward compatibility reasons.3 ?* p+ j1 Z# f/ q9 r: }
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    / H2 w0 U) f; k
  197. ; used regardless of this directive.9 h, D% R3 o3 ~* k( E2 b
  198. ; Default Value: On$ |9 A7 |3 w! \2 S
  199. ; Development Value: Off, \* a3 D; c. o) `  ]
  200. ; Production Value: Off
    # u4 S6 B5 r. L8 e
  201. ; http://php.net/short-open-tag
    2 J, _9 x( ]8 w7 j
  202. short_open_tag = On
    * `( G2 C3 j$ W5 I- o

  203. ) x4 p# L- ^8 f$ o" V
  204. ; The number of significant digits displayed in floating point numbers.
    $ h: w( k! {6 f; n
  205. ; http://php.net/precision# y; T7 H8 I9 {( ?) ~" V
  206. precision = 148 {- p- O" j7 q: N1 e& s

  207. 2 F7 ]( f/ p) }8 ]$ L
  208. ; Output buffering is a mechanism for controlling how much output data- n5 p, Y$ B* W1 `) B# W* F9 X
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that% b/ X: ?; [9 N* D, a0 K
  210. ; data to the client. If your application's output exceeds this setting, PHP
    " I, [# C, e% {4 ?8 \& K" ~  e( U
  211. ; will send that data in chunks of roughly the size you specify.' J" k% [! Q9 l; O
  212. ; Turning on this setting and managing its maximum buffer size can yield some  p! P) P- E5 \* N
  213. ; interesting side-effects depending on your application and web server.; }2 F0 [: c$ c/ t* \
  214. ; You may be able to send headers and cookies after you've already sent output  n; E( g* A) Q9 S& z
  215. ; through print or echo. You also may see performance benefits if your server is/ b: J' p3 r$ k8 I9 k
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    / _7 ]2 k- s! l
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance; Q# b5 B! g8 Q) V
  218. ; reasons.
    * Y) C0 P5 ~, T, e$ Q+ u# P! s
  219. ; Note: Output buffering can also be controlled via Output Buffering Control) ?# P' T$ S2 Y! E0 w
  220. ;   functions.3 ^# p' ]( p# A2 V4 O8 [
  221. ; Possible Values:
    : L. Q) G( |6 r# U- k3 F* w4 ?4 l
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    9 k! y! d1 V$ s( D% D
  223. ;   Off = Disabled$ w& i: }$ q7 \
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.6 k) U5 F* I& {% ?& U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI: S6 G, C+ q/ C
  226. ; Default Value: Off
    8 ?) ]* K* m4 k3 c$ }: P6 L* @
  227. ; Development Value: 40964 |  m( m& K" G, k  o# R' `' E/ S+ q
  228. ; Production Value: 4096
    # }/ F" ~, d3 y/ u- k/ E/ c
  229. ; http://php.net/output-buffering
    2 V) k9 A7 k3 W! Y% a9 {* [
  230. output_buffering = 4096
    - T! [( G& f1 R, @# i5 v

  231. - V2 Z7 f/ O( e- u
  232. ; You can redirect all of the output of your scripts to a function.  For+ d6 u6 c* D  b! [/ C
  233. ; example, if you set output_handler to "mb_output_handler", character
    & x7 R# K& w4 B; a0 W8 Y0 R# p
  234. ; encoding will be transparently converted to the specified encoding.
    5 w( T* Z- t5 n5 w0 s$ k: [
  235. ; Setting any output handler automatically turns on output buffering., F3 h9 y$ b; g! j3 l
  236. ; Note: People who wrote portable scripts should not depend on this ini
    3 ~: _% K7 N0 h/ a! h
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    , s$ t5 G% b# V8 ?  y
  238. ;   Using this ini directive may cause problems unless you know what script
    ' `0 f. g+ `9 v2 }
  239. ;   is doing./ |, H% _  s9 ~2 a) N
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    7 u* V3 V0 \" U5 ~9 s& R7 D4 c
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    / u# l- A; [! a7 [
  242. ; Note: output_handler must be empty if this is set 'On' !!!!' r( I6 m, [7 V. g1 ]3 ]# y( f
  243. ;   Instead you must use zlib.output_handler.
      m5 S1 J/ e) t2 d1 o7 _' K
  244. ; http://php.net/output-handler5 Q/ y0 J0 Q5 R4 N% a
  245. ;output_handler =
    # y% F" C2 J& }" y/ u( O4 e  n4 h' I

  246. + V$ ?! g. |6 [! ?( Z
  247. ; Transparent output compression using the zlib library0 s. J* x' P' I# T5 `- T3 \4 J9 j
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size3 Y( U+ Q3 S  K% F) g
  249. ; to be used for compression (default is 4KB)
    $ ?8 u, j; s9 a5 S
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP% K2 d$ H5 l6 T' A& i6 ^9 R/ q
  251. ;   outputs chunks that are few hundreds bytes each as a result of4 g- q, u3 U+ u7 J# l
  252. ;   compression. If you prefer a larger chunk size for better- r# w, q& b: a6 u: q% S5 u6 |
  253. ;   performance, enable output_buffering in addition., P4 X6 _# S2 H4 d
  254. ; Note: You need to use zlib.output_handler instead of the standard6 I/ l* x% r. D, \
  255. ;   output_handler, or otherwise the output will be corrupted.6 M2 w$ o3 x) j9 W; i9 F
  256. ; http://php.net/zlib.output-compression
    ; ~, ?: h7 ^$ f6 T
  257. zlib.output_compression = Off
    3 l  V" ?+ l4 ~+ E, U( F

  258. . r0 h( U2 Y( X) h2 O
  259. ; http://php.net/zlib.output-compression-level
    8 |" J5 X' U, I7 B
  260. ;zlib.output_compression_level = -14 c0 [% `  h$ K5 E# U- B

  261. ; V) E, p7 _6 J4 i9 |" i3 d
  262. ; You cannot specify additional output handlers if zlib.output_compression
    0 {% r# L, D* @8 u9 C9 F/ R
  263. ; is activated here. This setting does the same as output_handler but in1 w. k5 O; R: S9 H6 Z3 [
  264. ; a different order.3 t8 ~. P# o2 C# L
  265. ; http://php.net/zlib.output-handler
    ! u1 b5 Q$ u; Y. W/ D5 o
  266. ;zlib.output_handler =
    ) O( H8 i/ g; c
  267. $ `" f% E. Y5 P) v$ b  L" S! O7 z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself% q) E# F7 E% B: c* A/ ?5 A
  269. ; automatically after every output block.  This is equivalent to calling the+ E% h# u2 ^/ V- m( w" J- y
  270. ; PHP function flush() after each and every call to print() or echo() and each
    3 P  u& F' B0 h8 q2 a: F) @& \8 q
  271. ; and every HTML block.  Turning this option on has serious performance
    8 Y' C$ b2 y. f# u9 z# `
  272. ; implications and is generally recommended for debugging purposes only.; u+ h) i& o* T7 O
  273. ; http://php.net/implicit-flush
    # e0 B# P0 d1 m$ c" _0 R' u0 H* z
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    - s. P4 v, m* c6 F1 C; P7 B
  275. implicit_flush = Off& q5 l; L3 p6 c
  276. ( A+ E. {$ p9 ]% l4 M0 n2 G6 c
  277. ; The unserialize callback function will be called (with the undefined class'3 m3 U2 _# g6 Y# f" W: m
  278. ; name as parameter), if the unserializer finds an undefined class  V7 n' e# o. [, C+ l) L6 y, k
  279. ; which should be instantiated. A warning appears if the specified function is
    $ w" a; Q3 ^! \" u0 y9 n7 Z8 }
  280. ; not defined, or if the function doesn't include/implement the missing class.6 K5 c/ |( d# V- W
  281. ; So only set this entry, if you really want to implement such a$ R; _+ ^' N0 x; K3 c- h. L
  282. ; callback-function.
    9 x9 w3 u& e9 h" m- u& e" ?( Q. `
  283. unserialize_callback_func =8 Z5 k, B' I4 K1 t) N
  284. 8 ^2 K2 ?" H  b; _. e# [
  285. ; When floats & doubles are serialized store serialize_precision significant
    & z% I' J9 P6 M
  286. ; digits after the floating point. The default value ensures that when floats
    ) R. y9 V1 c/ x7 \2 m
  287. ; are decoded with unserialize, the data will remain the same.! H$ r. h: ~& t# D$ w
  288. serialize_precision = 17
    # |( c: o  d, p: o9 ?) s5 j' W

  289. 2 u3 y# e3 c- w0 e
  290. ; open_basedir, if set, limits all file operations to the defined directory
    5 G7 J9 y/ y" c# E8 o
  291. ; and below.  This directive makes most sense if used in a per-directory# B9 d1 z3 l8 q0 x  B' D! y' z+ F% z, ?
  292. ; or per-virtualhost web server configuration file.
    / I* E8 M$ J/ x* N: o
  293. ; http://php.net/open-basedir
    3 n! D7 t: [- q% {
  294. ;open_basedir =3 f. s( K! w  M
  295. 4 w- G& Y) k' K
  296. ; This directive allows you to disable certain functions for security reasons.
    * e- U1 o9 _) v6 G( A2 [% F
  297. ; It receives a comma-delimited list of function names.
    9 i2 l8 e2 v9 u* D) C# O* P
  298. ; http://php.net/disable-functions0 z+ z4 e+ a: M4 C" i. Z6 E
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( j* \' W8 o; I, X7 G2 z( S

  300.   q, p  r+ z2 c5 ^( h
  301. ; This directive allows you to disable certain classes for security reasons.
    3 u" m1 A# V6 k1 m  K/ T& r
  302. ; It receives a comma-delimited list of class names.1 \: Y) d' y6 d, _. F; i! u: S  ~
  303. ; http://php.net/disable-classes2 `  g+ ?3 q: r& T. Q" G; p( _% e: h8 \% e
  304. disable_classes =
    & z7 U8 E) L1 W* l9 g  L5 R- M

  305. 7 J/ j9 f$ t4 v' E) l
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    4 N7 h( @5 V& u8 m
  307. ; <span style="color: ???????"> would work.2 O. H' z( R$ D; r2 ^* _( E+ P# ]
  308. ; http://php.net/syntax-highlighting
    / Q- Q& [7 m% ]# B. M- j+ i
  309. ;highlight.string  = #DD0000) w6 K9 [/ s( d
  310. ;highlight.comment = #FF9900
    5 C) E& B+ d4 p4 X1 O
  311. ;highlight.keyword = #007700, f& n0 n& A+ F5 M2 q2 x. S8 |
  312. ;highlight.default = #0000BB
    5 N) J; @0 ?6 x# r! M* x4 b
  313. ;highlight.html    = #000000( i4 X3 Q9 `: }

  314. : V% I% M8 {* l2 t7 m
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    2 W) a& V1 C7 e
  316. ; the request. Consider enabling it if executing long requests, which may end up
    : d9 |. e% E( B* C- x; n1 F# F
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior  l  l" F6 U8 j$ A
  318. ; is to disable this feature.9 L9 |* r( ?3 i* s: a* g
  319. ; http://php.net/ignore-user-abort
    6 ?4 [* @# N" `1 ^* H2 p
  320. ;ignore_user_abort = On7 c/ s" |. z  w, j' Y, N; b% l

  321. % T# J) g$ k- \
  322. ; Determines the size of the realpath cache to be used by PHP. This value should' Q$ h+ e9 Z' h7 c4 l
  323. ; be increased on systems where PHP opens many files to reflect the quantity of7 o! D" r' f$ N0 a& K. c8 \2 o
  324. ; the file operations performed.
    9 s, k' c0 U4 J8 F* \
  325. ; http://php.net/realpath-cache-size
    ( H+ {* F4 p) L" U! W2 w& {* `! [
  326. ;realpath_cache_size = 4096k1 q' P9 \6 l2 x: l
  327. * |& }# h% d! M" P
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ' H  u% a; [3 @
  329. ; file or directory. For systems with rarely changing files, consider increasing this" h( Y0 w1 [; I: s  [0 @7 i/ M; `" w
  330. ; value.
    " N: j9 n. d. X6 l4 L
  331. ; http://php.net/realpath-cache-ttl
    ( f  j, X) I  A
  332. ;realpath_cache_ttl = 120
      E0 M' J/ w6 U4 h# l; Q3 f

  333. + D8 o$ t2 y* q1 {# S
  334. ; Enables or disables the circular reference collector.5 \/ q& z- {* `) j* Y3 z
  335. ; http://php.net/zend.enable-gc
    ' [: p. o1 F/ y: G' W4 Z' Q
  336. zend.enable_gc = On
    - b, K* h' M* S( |3 L  D; t

  337. / S* C3 t) o9 @+ K
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    4 r$ e8 T7 c: s  m/ \5 B$ U; c: c
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 Z0 ~7 h9 H" |1 x) f  U8 o% \
  340. ; encodings.  To use this feature, mbstring extension must be enabled.( ~. y. E; ~: n& E
  341. ; Default: Off9 L. p$ g( v# S: W
  342. ;zend.multibyte = Off
    5 c- \! `5 b* u! x' d
  343. 8 E2 V" a3 h8 [7 r
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    5 {* U5 C$ R$ U# \' r
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.9 R/ f6 w7 F- g1 J, j8 U
  346. ; Only affects if zend.multibyte is set.) K3 Q6 T. i9 I- V
  347. ; Default: ""
    1 `4 Y' ~% i4 [* q
  348. ;zend.script_encoding =
    3 r5 b1 I! }, b1 Q* t+ o

  349. . h- @9 z+ T1 j5 Z- u& U1 J9 [
  350. ;;;;;;;;;;;;;;;;;
    2 N/ j7 n; ]( z/ I
  351. ; Miscellaneous ;3 O0 I! R$ O: C3 F
  352. ;;;;;;;;;;;;;;;;;6 z8 }; }5 i. u) i  r

  353. / Y' ?2 ^7 K1 |+ V) ~
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! s$ P# @, a' {% Q7 G- g8 c  y9 q
  355. ; (e.g. by adding its signature to the Web server header).  It is no security/ F- M6 _$ u( q# }9 R; \
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 j  [8 j- h& c7 }9 S
  357. ; on your server or not.1 E# |5 g( C, J/ n
  358. ; http://php.net/expose-php
    ' }. s- B; D' w- a+ q
  359. expose_php = On* ?- T1 e$ p! u6 U  E4 {

  360. # D! j7 f( d. `) D6 b( t
  361. ;;;;;;;;;;;;;;;;;;;
    % w* B" A' q1 h" Q' m
  362. ; Resource Limits ;
    * F; [, ?" |  A. E: z- E
  363. ;;;;;;;;;;;;;;;;;;;) A. P9 W  o2 h" p' ~
  364. * n1 g) W3 G1 ]
  365. ; Maximum execution time of each script, in seconds
    & f/ m; Z7 p4 y3 k
  366. ; http://php.net/max-execution-time
    # W6 E; m9 z& B  i
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI) K' o2 q3 y" x: @: f, y
  368. max_execution_time = 300
    + ?; L$ K/ ?0 G, I
  369. - c( h0 w4 a# i" g1 v
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    * m7 S5 q/ W4 Y$ r0 l5 F& [" K
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly4 _8 J1 W. _- }* k6 k3 x
  372. ; long running scripts.$ ?! m1 U. o! \$ N/ _9 |
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI6 W9 ]3 f- o/ G
  374. ; Default Value: -1 (Unlimited)
    : ]8 ?5 i0 y1 o/ {- @5 P
  375. ; Development Value: 60 (60 seconds)! s/ T& j8 X7 Z) a. ?
  376. ; Production Value: 60 (60 seconds)" G4 b' _  v2 R' O6 {" k
  377. ; http://php.net/max-input-time% k! |8 g3 n( Y) B0 V
  378. max_input_time = 605 m) O  r% b& i' I  P

  379. 1 a9 K' ?8 W( y4 y- x: e
  380. ; Maximum input variable nesting level
    * p' L% P, L, N6 H& a
  381. ; http://php.net/max-input-nesting-level
    9 T( M$ ^/ [$ H' k; o3 O, B! [
  382. ;max_input_nesting_level = 645 ~( E6 c; s- S: o$ n8 l
  383. / S% _& n: G; r1 z. g  a3 [
  384. ; How many GET/POST/COOKIE input variables may be accepted/ w5 _. e' ?% V; ]
  385. ; max_input_vars = 1000
    + E) V4 h' t) d4 @
  386.   F3 [$ z% |: i" q! X- E+ M; t4 i. A
  387. ; Maximum amount of memory a script may consume (128MB)" C  [* x: ^7 S9 \8 L
  388. ; http://php.net/memory-limit
    0 T0 S9 j" q& V9 T( }" w0 R) S
  389. memory_limit = 128M
    - d# A2 L# e) ?# `

  390. / J! m  E+ N8 \& s
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. C- L. Z2 J/ B5 l3 u
  392. ; Error handling and logging ;
    2 \, {2 m7 L1 r5 H# n" \
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 B; j1 G2 {, ?) z0 _. k! ?8 ^. C

  394. - i( M+ m( K6 M- n  f+ R
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    7 ]8 x1 u1 x# k$ I; a) J
  396. ; it to take action for. The recommended way of setting values for this
    + p% l' n, t8 F( |
  397. ; directive is through the use of the error level constants and bitwise0 |; I3 i- I8 c, c
  398. ; operators. The error level constants are below here for convenience as well as; E7 j/ `/ h4 `3 B
  399. ; some common settings and their meanings.: f9 J$ z; e/ }3 t) l
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( Y7 R% B7 n4 b/ ^: x9 P  ~: Z% J
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and# Q% ]1 _! ?  {4 A; e+ ^& m
  402. ; recommended coding standards in PHP. For performance reasons, this is the3 o( e! N& {; s& A- Y
  403. ; recommend error reporting setting. Your production server shouldn't be wasting+ f4 I$ h" q& y# k# W) {
  404. ; resources complaining about best practices and coding standards. That's what5 Z/ Q6 D2 w" t
  405. ; development servers and development settings are for.
    : R2 s& U" K7 w8 Z$ {
  406. ; Note: The php.ini-development file has this setting as E_ALL. This5 U' u* v$ }* a! Q
  407. ; means it pretty much reports everything which is exactly what you want during
    ' Q7 |8 }: _/ ^4 q
  408. ; development and early testing.
    ; C( N6 ?9 ]* o
  409. ;
    5 W! B7 Y/ O7 G$ \. h
  410. ; Error Level Constants:
    . h" Z3 y% }" |: J2 o# K+ x
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ' J0 `6 U& b' u
  412. ; E_ERROR           - fatal run-time errors+ F: r5 g; _/ H5 Z; T  [5 \. _) V
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 K* x6 `7 ^- z9 u6 j9 ?
  414. ; E_WARNING         - run-time warnings (non-fatal errors), T" V/ m0 [* }* d
  415. ; E_PARSE           - compile-time parse errors" L! C) t( \! j! N. X2 y
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    0 }" D' Q$ s  @0 b- q
  417. ;                     from a bug in your code, but it's possible that it was9 q, r9 t$ c( U5 l1 }
  418. ;                     intentional (e.g., using an uninitialized variable and+ T# F7 `3 B4 w4 ?, j$ _2 n- C
  419. ;                     relying on the fact it is automatically initialized to an
    $ o# h! O5 \0 B+ F. O8 O
  420. ;                     empty string)
      s; R4 _! H+ u4 Z0 h
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" d' L0 e' e2 [: u6 D# z/ J$ b; `
  422. ;                     to your code which will ensure the best interoperability1 p5 o& r9 ?4 r" \
  423. ;                     and forward compatibility of your code
    # G; M! G+ ?% ?+ @, D. q
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup9 W; Q, F6 q; B9 E* L
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' l3 k# P) [; G3 D! j3 r3 i9 x
  426. ;                     initial startup6 r) M$ d, {) s) U
  427. ; E_COMPILE_ERROR   - fatal compile-time errors, i0 O/ ?( v8 j) q/ c. p
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors), I) t. U4 K; U7 x; ^
  429. ; E_USER_ERROR      - user-generated error message
    # z4 x: o* Y/ p9 ]3 U
  430. ; E_USER_WARNING    - user-generated warning message
    6 D5 V0 X: l5 r4 ^. V, z" l- a1 O
  431. ; E_USER_NOTICE     - user-generated notice message
    3 @6 S% ~# F: f1 R1 n  l4 }' w# p
  432. ; E_DEPRECATED      - warn about code that will not work in future versions3 z9 q. h/ ]! i
  433. ;                     of PHP9 H( @* c; V% F) h
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings$ b0 |: S1 k% k6 F3 P, O) p; Y
  435. ;, |3 @5 n" f0 C8 G
  436. ; Common Values:, i" I$ q1 O' e3 N
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)( Q6 K& U  ^7 k
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)- k, `  c' _# r8 O
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    5 C) @7 I7 y4 a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    & P) Q: @, h- S; J3 e/ Q) I
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 e* v9 [8 d, t
  442. ; Development Value: E_ALL8 w/ M3 o1 w& z( m' A3 `
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 z$ W# z1 y2 j6 W' A, W
  444. ; http://php.net/error-reporting! c/ q% l8 e2 s4 l
  445. error_reporting = E_ALL & ~E_NOTICE9 z  A% }3 m$ ]
  446. ; N: L6 z- @. D/ L& d
  447. ; This directive controls whether or not and where PHP will output errors,
    4 Y& z# f) |7 w0 `6 M8 I
  448. ; notices and warnings too. Error output is very useful during development, but- f3 b* \  r' e* u5 f
  449. ; it could be very dangerous in production environments. Depending on the code
    ' Q2 O- T6 |( [
  450. ; which is triggering the error, sensitive information could potentially leak8 Q( K2 Z6 H( H6 ^: {' F1 k3 d
  451. ; out of your application such as database usernames and passwords or worse.
    . ], A  l* v- E8 ~! N1 s
  452. ; For production environments, we recommend logging errors rather than
    % L& g1 c9 P5 I. @* E% c
  453. ; sending them to STDOUT.
      k% ~' k. V( J2 [+ m' F  Z7 C# C
  454. ; Possible Values:/ c2 \8 ^' q" S7 U6 [3 T1 ]
  455. ;   Off = Do not display any errors2 n8 ^( {0 J2 E# S
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    , F& r, {5 O/ J4 c
  457. ;   On or stdout = Display errors to STDOUT
    . A# U/ Q1 B! }4 J% ~
  458. ; Default Value: On
    : I. Y' G4 J( a
  459. ; Development Value: On9 E9 a( x2 W/ ~! e
  460. ; Production Value: Off
    5 X- Y: K7 `$ i. R
  461. ; http://php.net/display-errors0 `! U# A: B+ x8 e7 L: f
  462. display_errors = On
    ) P# {* t+ Q; h. r* _" |- n: E

  463.   D3 ~* s6 n+ q( a+ Q
  464. ; The display of errors which occur during PHP's startup sequence are handled
    0 \8 i: r2 ?3 h; _8 X" l4 Z
  465. ; separately from display_errors. PHP's default behavior is to suppress those, z% b% j5 ?. m5 H9 g
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    7 F( p+ M+ Q2 K  g7 M! l5 }
  467. ; debugging configuration problems. We strongly recommend you
    4 o, H- v+ O, `/ V6 o4 q6 ~
  468. ; set this to 'off' for production servers.* v% Q4 t3 \1 P. V$ d3 ]
  469. ; Default Value: Off
    ' \5 U; g: }4 G  i! j( S1 M8 ~
  470. ; Development Value: On
    $ J) c' C* J0 k/ Q+ d8 U
  471. ; Production Value: Off
    2 }  z1 Z8 k3 G
  472. ; http://php.net/display-startup-errors& u; R9 i, u; b
  473. display_startup_errors = Off9 A9 O$ Y/ N5 _/ y) a

  474. ( P. O5 R" M+ {% y" C, Q$ ^7 Z
  475. ; Besides displaying errors, PHP can also log errors to locations such as a; }3 }# q6 x: k/ ^' ?
  476. ; server-specific log, STDERR, or a location specified by the error_log3 r  b  i- u8 c# S. I2 O
  477. ; directive found below. While errors should not be displayed on productions& t8 F) W% U1 {- d3 G
  478. ; servers they should still be monitored and logging is a great way to do that.% E1 N6 R3 R- K+ ?  D& k- M& @
  479. ; Default Value: Off
    & Z* e7 r2 L2 |( H
  480. ; Development Value: On% D# A2 T' s/ h8 y' t
  481. ; Production Value: On
    0 H9 x; t* d* K# Q
  482. ; http://php.net/log-errors
    0 S8 m" i  D" p( q
  483. log_errors = On2 L8 S# M+ S  f' S" D7 F2 R& h) N7 u
  484.   o+ M) x+ ?' E" l! k
  485. ; Set maximum length of log_errors. In error_log information about the source is. C( Y3 ^$ ^' j
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 l  m$ ?$ ^" j8 p- x
  487. ; http://php.net/log-errors-max-len9 K7 k7 O9 B( L" F
  488. log_errors_max_len = 1024
    + i* t* j8 y) o8 v. G# w+ j1 D9 P/ ^: m- R

  489. , V5 z4 U* {$ O! V- l3 R# L
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    % L# a  G  B' z
  491. ; line unless ignore_repeated_source is set true.% D0 d6 E$ K: t0 P" K  `5 w
  492. ; http://php.net/ignore-repeated-errors
    9 \. l; |6 I- }" i2 ^
  493. ignore_repeated_errors = Off! S) V/ o1 X  s$ X$ F* ~
  494. 0 W" L& D" N- U: F. e9 v+ n8 c
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    0 n; X" @4 I$ B1 d9 A( S) i
  496. ; is On you will not log errors with repeated messages from different files or8 ~  T/ u' r+ M6 T! `7 u; e9 S5 g
  497. ; source lines.
    % E- c  p5 _  r! t0 r3 _
  498. ; http://php.net/ignore-repeated-source
    3 E7 p  M2 s' n1 h" P. D. ]1 C8 A- V
  499. ignore_repeated_source = Off5 I2 _, [1 ^* X* o! L0 W+ E% ]

  500. , e: k. }" x; d
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ! j. a& j8 g( \, a; L- V4 K2 \' H
  502. ; stdout or in the log). This has only effect in a debug compile, and if( Y, `' b" y( }
  503. ; error reporting includes E_WARNING in the allowed list
    3 G  s% z5 y8 H% M- O
  504. ; http://php.net/report-memleaks
    : A: l, B% c7 H7 L: Y. `/ J* n
  505. report_memleaks = On: _) o. G9 ], P1 s

  506. + p) {, S9 Z$ g' s2 Y2 H. x
  507. ; This setting is on by default.
    / ], P( e$ y/ @2 a7 b' F9 Q
  508. ;report_zend_debug = 07 m3 c0 G- ?; l0 V6 ^
  509. ' z2 Q7 g* m9 a/ k' ~3 h
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    $ }# D; g# W  w  o
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    % A) L: E5 T+ D- ^' B
  512. ; however be disabled on production servers.
    5 Q3 B7 @6 f: {/ t5 y
  513. ; Default Value: Off
    " b$ M! a& ]- H+ d0 w
  514. ; Development Value: On! V% ]6 o- k$ z# o
  515. ; Production Value: Off. a' ^2 P% U6 A; b; m! i
  516. ; http://php.net/track-errors
    : S& _: p" l0 N7 K( M, z7 y# c* ?
  517. track_errors = Off; A. l! v5 o# I' x  H

  518. 4 e9 ^1 @: w$ u
  519. ; Turn off normal error reporting and emit XML-RPC error XML- i7 m8 k8 b4 b/ v; w( L# S
  520. ; http://php.net/xmlrpc-errors
    9 i6 u0 e, [. k! H; u; y/ s
  521. ;xmlrpc_errors = 0
    2 v. s" z3 M; I( _) |. \
  522. 5 B5 b. B$ J; E6 z4 `
  523. ; An XML-RPC faultCode
    . I* R" T' E3 ?% \
  524. ;xmlrpc_error_number = 0
    3 Q; M6 m9 ~& q5 _
  525. 7 e! V& w/ @1 V4 R; ], w( H
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    2 i) g( I/ ^' n1 s: b9 R
  527. ; error message as HTML for easier reading. This directive controls whether: C( v; Q4 @- P; w4 p7 F
  528. ; the error message is formatted as HTML or not.
    3 ^0 t% r1 V- `  j
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI: H' K  L% O& W5 k3 I, l! _
  530. ; Default Value: On5 a6 ]2 M3 q# H. T7 `( |' i
  531. ; Development Value: On
    ' W& o" V! s0 Q! T, t/ A/ |
  532. ; Production value: On- F' h; R6 R# D; N
  533. ; http://php.net/html-errors. q( U( P' x& r5 s6 V
  534. html_errors = On, }6 p$ D  w$ P9 ]6 j

  535. 3 ?5 Q' }/ G! q, D
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . Y9 K0 m5 |; D
  537. ; produces clickable error messages that direct to a page describing the error6 V5 n. Y5 @* r7 E3 `) J! Z
  538. ; or function causing the error in detail.# c* g$ e" r+ s5 v
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ! s5 h4 {; h- y: G& ?; U$ b
  540. ; and change docref_root to the base URL of your local copy including the
    - W% ~% G3 k6 a9 N# `! I& F
  541. ; leading '/'. You must also specify the file extension being used including
    " Z/ ^; S% a# Q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    . ?6 T2 T1 [8 z8 z; k6 {
  543. ; case no links to documentation are generated.
    , p' q2 M9 H1 E2 N! F3 J
  544. ; Note: Never use this feature for production boxes., S4 K7 q2 c" M6 |* }9 g4 A& z( d
  545. ; http://php.net/docref-root; s! I# B" v! f+ d
  546. ; Examples, D; Y! K/ C7 ]5 {- Z" T+ ~
  547. ;docref_root = "/phpmanual/"& b# q0 x0 t: W$ M7 m

  548. 7 B9 T+ _8 Y: z8 ^0 F- G& @
  549. ; http://php.net/docref-ext
    $ W  t7 H1 a6 n* Y5 ]8 M
  550. ;docref_ext = .html: N9 e. J. }4 {. e: [
  551. ( }4 o$ W. o; t9 z" @" l6 m, o
  552. ; String to output before an error message. PHP's default behavior is to leave
    4 g; k& g+ Y4 q/ c2 ^/ _4 S
  553. ; this setting blank.
    - f) p+ U& t8 M( X
  554. ; http://php.net/error-prepend-string0 ?! I+ \# [6 j/ D* [" {1 \) [+ x
  555. ; Example:
    4 g6 Q; t' g8 x; K0 R- ^0 q
  556. ;error_prepend_string = "<span style='color: #ff0000'>"0 S/ ]. e. q( E3 H8 S* {

  557. ' _' f6 w) e# I; }( Z0 _2 f
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 W2 N: U9 |$ J; S: l, }5 O
  559. ; this setting blank.
    1 D  b: M7 T" F5 `* z. [' g
  560. ; http://php.net/error-append-string
    , C/ O1 K8 o: l9 g" x( d: i# ?
  561. ; Example:" J- H% P) x4 T4 W  v( ?
  562. ;error_append_string = "</span>", i; w/ Y' s) r* v) D2 S
  563. * H# E$ d( \5 {6 q$ ~1 Z
  564. ; Log errors to specified file. PHP's default behavior is to leave this value0 E. s& J  P7 s, x) z9 Q. s
  565. ; empty.
    * ?; ]4 Y, w+ D% l1 y
  566. ; http://php.net/error-log
    " \! z1 x/ K9 D- J
  567. ; Example:+ ^  [+ t" s( C2 P+ J0 [" f
  568. ;error_log = php_errors.log) S! s# j3 Q2 T  S) i* k# \+ ]& ?
  569. ; Log errors to syslog (Event Log on Windows).
    ; T7 v8 ]1 p6 v+ z  W0 M# u; C' p
  570. ;error_log = syslog
    , i" a* w  l* X6 n

  571. , Z$ z& R; [% Y$ I. |+ v
  572. ;windows.show_crt_warning
    2 u+ U& c6 b- r/ |# l% i
  573. ; Default value: 03 u$ A8 }# O2 B" f- B
  574. ; Development value: 0$ H4 B$ E* D9 G, D) {7 j
  575. ; Production value: 0
    8 O  c3 V3 T# Y: x$ i, m7 \% m

  576. 9 H9 B% X' b% z; H6 L; K, b
  577. ;;;;;;;;;;;;;;;;;
    ) ~) `, W  ?  Q. M
  578. ; Data Handling ;4 N/ T! e7 I. u, P+ ?
  579. ;;;;;;;;;;;;;;;;;
    . F% P6 `9 k9 J& W  q) ~! e

  580. 7 X; H# [6 H5 X0 b* d9 A: r
  581. ; The separator used in PHP generated URLs to separate arguments.
    : i5 k# Y$ q( m7 k2 w
  582. ; PHP's default setting is "&".% T  S' w0 G9 e' |6 }/ r) t
  583. ; http://php.net/arg-separator.output
    ! ?! i& G' m( J# t
  584. ; Example:
    1 n% h7 T+ T0 C# B3 G9 @
  585. ;arg_separator.output = "&"7 k, f+ e: W8 Z' s; n; m: a

  586. - Q% ]8 Y: q# J/ \) U
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' t4 o2 W/ L+ N# E0 e9 d/ o, w; z
  588. ; PHP's default setting is "&".
    $ A% [6 ], l1 t. }1 {8 z# N
  589. ; NOTE: Every character in this directive is considered as separator!
    5 K" H1 k; s: ?' `- C! v
  590. ; http://php.net/arg-separator.input
    * F3 Z, o( w- n# a
  591. ; Example:* H- V3 y  ?+ Z! Z) E- G$ ^5 q
  592. ;arg_separator.input = ";&"
    7 ^' q+ l% ]) U6 N' b0 p
  593. # k+ H6 N1 g6 @- P
  594. ; This directive determines which super global arrays are registered when PHP
    9 s& }5 @4 F4 l+ ]. r. a  u
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 \  ^# }% K0 d+ {- |
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 {6 {8 S8 {3 Y( I
  597. ; paid for the registration of these arrays and because ENV is not as commonly- J& o8 I' j# k5 R4 v1 g
  598. ; used as the others, ENV is not recommended on productions servers. You
    7 ?5 `2 T) V8 {; y; Z
  599. ; can still get access to the environment variables through getenv() should you! C2 {& h* G0 C& K' g+ T! m% G# g
  600. ; need to.- V; Z+ v. T3 m& _. r
  601. ; Default Value: "EGPCS"# l- ~( X( _0 ~+ @: D: h8 f
  602. ; Development Value: "GPCS"
    8 `+ D& v* E/ `* X! J0 G
  603. ; Production Value: "GPCS";4 Q6 d" U; F% I7 H5 q! U9 c
  604. ; http://php.net/variables-order. U, A1 t- H2 t4 V+ y
  605. variables_order = "GPCS"9 o- _- w% M$ d9 E/ h* [
  606. 2 Q# m- T, v/ K( y6 D# n
  607. ; This directive determines which super global data (G,P & C) should be
    ! E+ {* I9 e$ z! S! W
  608. ; registered into the super global array REQUEST. If so, it also determines4 x  C: l* c+ R  Z0 e
  609. ; the order in which that data is registered. The values for this directive0 u8 O; a" k0 ~3 z! H- T/ k% W
  610. ; are specified in the same manner as the variables_order directive,
    1 m, o! l- D# y, I; ~: a- ]8 U) J5 ]
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 g* n5 y7 a$ F4 `, o- f
  612. ; in the variables_order directive. It does not mean it will leave the super
    + Q9 T% j  H7 f: J9 t6 @
  613. ; globals array REQUEST empty.3 H' ?! e* D- u0 E  o( \! J& E$ a
  614. ; Default Value: None& w6 s7 a1 H% W; ?$ C
  615. ; Development Value: "GP"( b) T* e# R/ L" E4 v4 X$ i
  616. ; Production Value: "GP". _( R4 r. p! S2 R& c
  617. ; http://php.net/request-order# z- m' e# }+ x0 ?2 e0 ]7 C+ ?, K! U: J
  618. request_order = "GP"4 n) t( ~4 |& I$ A9 s% q

  619. 6 a6 _3 S* s4 O, L+ [
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    6 J2 p) j6 }2 @+ g3 y
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script/ |- a- B1 Y) `+ R
  622. ; is invoked. $argc contains an integer representing the number of arguments+ ]7 b" o. A& u' p
  623. ; that were passed when the script was invoked. These arrays are extremely2 I% A: L* Q# }, \3 G
  624. ; useful when running scripts from the command line. When this directive is
    " Q% \" S8 F0 R( q% {* q6 p
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 ?5 f$ m7 v4 h- ]1 `9 j
  626. ; a script is executed. For performance reasons, this feature should be disabled
    : e3 D( ?5 q; d2 i
  627. ; on production servers.
    & |& G% Y5 n) G: P9 ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    . }% ^% i# Q! u5 A
  629. ; Default Value: On
    ! t% B& w9 i5 }9 H) k( t: V* P: \
  630. ; Development Value: Off) Y: p7 Z0 I4 O) x. {) K/ O
  631. ; Production Value: Off3 N+ T: i/ K% G+ t* T  X
  632. ; http://php.net/register-argc-argv' R4 ^  l. J4 `" F
  633. register_argc_argv = Off! B) V+ _7 n) E2 J# ]4 b6 k

  634. : [. Q" C# ^7 z2 g* `( U
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    * _2 I8 D, d9 w3 x* h) e) u# p
  636. ; first used (Just In Time) instead of when the script starts. If these* S+ i. p- W6 A0 k) \( t/ ^( X
  637. ; variables are not used within a script, having this directive on will result
    ; p0 W6 z  p* J  B& m+ w
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' [' j! ^: Y! p( t9 d3 B3 P
  639. ; for this directive to have any affect.9 H! I5 m/ v, p6 S0 D+ Z# x" C
  640. ; http://php.net/auto-globals-jit5 F. a: h: w  ~/ o2 y& ~* {9 B
  641. auto_globals_jit = On$ v' U" V7 O$ `! y* [* \

  642. % }) [2 ?! {% c3 s
  643. ; Whether PHP will read the POST data.
    ; L  H/ I4 X, u# h! I& L
  644. ; This option is enabled by default./ K7 d# s  o7 p% Y  y
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST3 S. P* F, N3 i4 @, A0 ^. j! z, L1 x
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ' d( s6 _1 b9 a1 V. Q; D
  647. ; POST data will be through the php://input stream wrapper. This can be useful. j! e; {& s) L6 v5 Q4 I0 l$ b+ p2 Y
  648. ; to proxy requests or to process the POST data in a memory efficient fashion./ t, R0 X% ]( _7 Z
  649. ; http://php.net/enable-post-data-reading
    & ~6 p. W0 h) g7 s. i) F% y
  650. ;enable_post_data_reading = Off. M* t" k( |+ E6 i

  651. : x& f8 p" b& k: }! D
  652. ; Maximum size of POST data that PHP will accept.
    6 Q- H0 X( i5 K1 Z5 V
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / o7 G" D$ K/ N, I' ]1 Q
  654. ; is disabled through enable_post_data_reading.$ Y, l+ e. ^2 T2 ?* R
  655. ; http://php.net/post-max-size
    9 w. \7 P7 j% A, G
  656. post_max_size = 50M
    ! |$ M8 v7 M* C! a

  657. & M* e9 V& u0 s3 G) k  N
  658. ; Automatically add files before PHP document., M/ `1 }0 O# u; y: x$ i+ {
  659. ; http://php.net/auto-prepend-file0 Y' ^. [2 I/ o2 H/ D
  660. auto_prepend_file =
    $ L4 p. d# q$ h' w6 f8 S7 ^" h% {; C

  661. - ]( S+ S( R, M+ g$ V5 Y
  662. ; Automatically add files after PHP document.
    " l. i' w2 ]* u/ l% g! N
  663. ; http://php.net/auto-append-file, s/ X' j3 d% j% X! h" E
  664. auto_append_file =
    ( t9 M' ~& ]+ y- d5 {

  665. ( w6 Q: `9 B5 ^3 t5 e: E
  666. ; By default, PHP will output a media type using the Content-Type header. To0 t9 X& v" F, r& ]4 l% X; ^
  667. ; disable this, simply set it to be empty.5 n$ k! G( }9 }- F) H
  668. ;1 B8 O: ]) f4 E: ~2 U4 `' j& H3 {
  669. ; PHP's built-in default media type is set to text/html.
    0 T- _; \5 t, f1 v/ Y! c; s5 {
  670. ; http://php.net/default-mimetype
    6 ^! F/ Z% l% d- Q' ~: K
  671. default_mimetype = "text/html"
    : H8 x+ O" w' [3 e# c, G

  672. . {2 k% ?; e8 i5 W3 u) e
  673. ; PHP's default character set is set to UTF-8.  v5 K) Y: J( N9 c. v# w" r
  674. ; http://php.net/default-charset, ~+ |+ P) A4 F3 X  ^& p3 O
  675. default_charset = "UTF-8"/ `  v7 K% Z7 O0 z! i  C
  676. : K; H; A* G4 B* m  G
  677. ; PHP internal character encoding is set to empty.
    & \1 k* ]( z9 J# F% Y* z9 v- A* g
  678. ; If empty, default_charset is used.# Y8 s9 B4 K4 {8 F" P$ P
  679. ; http://php.net/internal-encoding7 n! l0 Q) M4 n# D- L
  680. ;internal_encoding =
    2 d3 ]/ I  M" k+ q
  681. 7 |( T4 F9 [4 m5 h6 P3 C9 o+ {. t
  682. ; PHP input character encoding is set to empty./ ~/ ~; |# b2 l6 [- j5 Y
  683. ; If empty, default_charset is used./ y' f1 d! Q( Q% q7 |6 h& {
  684. ; http://php.net/input-encoding
    ' R& M3 _. s$ j) t+ l  F" T
  685. ;input_encoding =/ a/ r# B4 D1 v
  686. 5 t& ^& z' v% i6 u" E0 e3 k1 [
  687. ; PHP output character encoding is set to empty.
    " V# G# d5 n1 I* U4 d' Q- z
  688. ; If empty, default_charset is used.( k9 L' _8 q; ]* @! A
  689. ; See also output_buffer.
    ! s2 K& Y6 ?/ q5 Y4 O/ Q
  690. ; http://php.net/output-encoding4 l4 ~9 I+ k4 i1 f$ U
  691. ;output_encoding =9 T+ q5 `  z: G5 f" m0 Z

  692. 3 w6 V  ?, j9 Q  e
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 k+ K' A3 J8 A! w9 f( F
  694. ; Paths and Directories ;
    + ]9 \; `0 \1 H% _0 K. I+ ?
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 @& j( h, C! i: F( @. Y. A
  696.   h" v" k$ s. e3 ~
  697. ; UNIX: "/path1:/path2"
    . T8 {/ v7 G4 N3 V0 b* Y4 b
  698. ;include_path = ".:/php/includes"4 a$ H5 J, B0 U* t# u, H( T
  699. ;
    . u/ W& z: `- p' n" ~7 I" \
  700. ; Windows: "\path1;\path2"
    ( D4 [1 x- P* C- b3 H* T: j' H' M* `8 a
  701. ;include_path = ".;c:\php\includes"
    + M. R' L4 v' k! ]
  702. ;
    0 |" W  {# \6 ]+ T: F
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    5 ^& s5 N2 h1 }; S. p- J
  704. ; http://php.net/include-path/ g* c* h0 I. {8 R
  705. 0 X) \  C/ q: o7 ?2 {% k% M
  706. ; The root of the PHP pages, used only if nonempty.
    / q# R/ u( l, F1 i2 h' V
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root  `$ |# T) k. d5 z" x
  708. ; if you are running php as a CGI under any web server (other than IIS)
    $ H% N6 [, G4 z
  709. ; see documentation for security issues.  The alternate is to use the) k6 e9 R3 H. x' x
  710. ; cgi.force_redirect configuration below
    * G( Y: [: D. r9 k$ M, F
  711. ; http://php.net/doc-root; y% ?8 }& T2 N" `5 z0 X
  712. doc_root =* `! t( c  C, z: c2 t

  713. 0 l" c; c3 f3 x* {( I/ V
  714. ; The directory under which PHP opens the script using /~username used only
    # k1 X( [3 ~4 Z' z% }0 q( s
  715. ; if nonempty.1 X4 p4 L- F9 P) Y7 T, P6 E
  716. ; http://php.net/user-dir1 w2 W5 j0 c8 r& k* a5 w
  717. user_dir =3 P/ Y* e  L/ F# X) j
  718. , t3 z7 h6 ^+ n# y5 F
  719. ; Directory in which the loadable extensions (modules) reside.
    2 a: V! S+ m2 C# f- r! a- I
  720. ; http://php.net/extension-dir
    6 T! R( W: Q8 n- ^! i5 k% Q
  721. ; extension_dir = "./"; H: Z  s+ f; V
  722. ; On windows:* G+ z, P6 ]: c: c; B
  723. ; extension_dir = "ext"8 j( J9 Y( Q1 B7 L0 x4 @% D
  724. : m9 R$ @  {4 a1 V  @* u7 y2 Z
  725. ; Directory where the temporary files should be placed.  L% p( r4 d& ~/ N$ d
  726. ; Defaults to the system default (see sys_get_temp_dir): w/ J/ P; d& f) u. L; ~1 _
  727. ; sys_temp_dir = "/tmp"
    0 A; f1 Z# J! Y* n; f: h
  728. ) h# S/ T) T, }
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work# k- U* V& i) _+ y" S
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. q3 \& J* Z3 a4 E% z
  731. ; disabled on them.2 L2 B" Z  l0 N3 d1 m% j
  732. ; http://php.net/enable-dl' y) z! R; ?4 Q6 ~3 I1 \
  733. enable_dl = Off6 W1 l- a- O9 s9 g
  734. 9 {2 R; n7 Q( y& F
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under; Y$ N$ H/ L$ _, G; |% l
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    " j- m) B* `& j- G8 ?8 X9 ~5 A4 I
  737. ; turn it off here AT YOUR OWN RISK
    7 O6 f+ s" K' Q" l
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% h( }" t6 p- d& O6 W
  739. ; http://php.net/cgi.force-redirect
    . B; I7 C5 Y8 U/ D% Q
  740. ;cgi.force_redirect = 1
    " g. m/ @1 X; n& l
  741. " @" `- |4 k( P7 {
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with. K4 p! P! `7 N5 I8 N
  743. ; every request. PHP's default behavior is to disable this feature.
    5 C2 g7 z# A: R+ {* V: N* M6 c
  744. ;cgi.nph = 18 b$ i) S! D0 h1 v# b9 p

  745. + U' }" b* \! V( [. O" y# h
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 G; G% i2 R% V) g! }: z
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP. h9 b* h: N' A; B9 a) O
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY- H' A: y. N8 b9 @& k0 I6 b; b
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    % v4 m. }/ N/ t! T0 F/ n' ^
  750. ; http://php.net/cgi.redirect-status-env
    4 h: M) v7 g8 V: m
  751. ;cgi.redirect_status_env =
    + o1 ~4 k* c  B$ N; J0 @) d
  752. 0 h% n2 _4 I7 n0 I1 ^
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's, k" g' S, g$ B2 E7 g; s) t
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    4 H( P6 b3 K% ~- X4 C1 _
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    1 R3 Q4 G1 t' o5 O1 w9 l2 w
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting( ]  ?" s( Y  {0 d4 g) c
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, S9 v1 P4 V& x
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) u0 R! v& }7 t, u* C
  759. ; http://php.net/cgi.fix-pathinfo$ B; b) D$ S; V, P$ Y7 H1 m
  760. cgi.fix_pathinfo=1+ ~+ x1 t1 m; j" K- S
  761. ' u* f. \8 B5 ?
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 Z' L, e3 i2 L8 e
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    / m1 Q9 u# @, Z. x
  764. ; http://php.net/cgi.dicard-path
    6 o$ X& o" [: w8 A% Y
  765. ;cgi.discard_path=1
    ) b/ B4 h) a& H  ~* G( n9 B
  766. 3 r) [# V( }% [% K" v5 Y2 ~2 G
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' H+ Q- `  g6 J/ d1 j$ K7 L2 w# f# u
  768. ; security tokens of the calling client.  This allows IIS to define the: [  V! I  r7 |- O4 E5 G
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ; j: x7 f3 }1 t4 ^
  770. ; does not currently support this feature (03/17/2002)4 U7 v. p4 i4 x9 h/ u% u- X! S
  771. ; Set to 1 if running under IIS.  Default is zero.$ m; N1 a' z: v' f
  772. ; http://php.net/fastcgi.impersonate* d5 M2 W0 q. l% Z
  773. ;fastcgi.impersonate = 1# K* h5 ~5 H2 n7 m

  774. ( U7 H# D9 T. I) J0 q
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable$ y+ Y. n% ~' O$ j% r- X$ h
  776. ; this feature.8 [! Y' U/ m+ P
  777. ;fastcgi.logging = 0! \. F! k, \7 H! Z- u3 R; M" E

  778. * `% Z7 q$ `5 V( W' z/ W
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to' C' v5 W+ u+ q. R
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    & v1 i- B6 G. n3 H. g
  781. ; is supported by Apache. When this option is set to 1, PHP will send' l' A4 {- A! F4 T0 w- X! @5 V
  782. ; RFC2616 compliant header.1 C& `) r# R: d" P
  783. ; Default is zero.; Q( a, ^- w4 @. f
  784. ; http://php.net/cgi.rfc2616-headers  A3 L; R  v" R
  785. ;cgi.rfc2616_headers = 0% b+ \( u7 f' N) R
  786. / v: T2 e0 h6 a: {; L% Z+ q
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    " B6 t) [: J6 R$ P
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ u1 A# g8 @, V; m' ]
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI$ q* ?* a+ e  Z' J0 h
  790. ; mode skips this line and ignores its content if this directive is turned on.+ F' Z. c! r8 a' ~5 Y% J6 ^
  791. ; http://php.net/cgi.check-shebang-line* `/ k4 F  h  x( v+ f9 K5 T
  792. ;cgi.check_shebang_line=1( ?; b/ z7 P+ s7 X. W1 R' J6 ?
  793. ' r. H/ ^4 N  g  M
  794. ;;;;;;;;;;;;;;;;. w" y: I1 Y$ r8 s
  795. ; File Uploads ;& u# i4 t& o+ \# L- R  S0 Z5 g
  796. ;;;;;;;;;;;;;;;;0 C/ E# c. }- O( K0 K. T

  797. 7 I& e5 g1 a6 q4 p0 |
  798. ; Whether to allow HTTP file uploads.; K) T4 V' v) ^/ H; x- ^/ ]
  799. ; http://php.net/file-uploads
    3 k" K6 @& M+ U! M2 k
  800. file_uploads = On" _: t4 o( ^4 H. }0 L5 S
  801. 2 T  N# u4 S" r9 D$ u6 y6 X
  802. ; Temporary directory for HTTP uploaded files (will use system default if not. j6 q# J# d7 g. t: T. r/ J! M) v
  803. ; specified).
    1 k8 N* [* }9 W/ A9 t
  804. ; http://php.net/upload-tmp-dir8 A" E+ T! C% O% \+ n9 r7 s
  805. ;upload_tmp_dir =& V/ P5 E  X) h

  806. ( C3 Q7 L( Y7 F+ A5 f; l9 L( c' ]
  807. ; Maximum allowed size for uploaded files.4 U3 R6 D* x9 Y
  808. ; http://php.net/upload-max-filesize6 G  N& I; }% h/ C5 ~# r8 h
  809. upload_max_filesize = 50M1 P7 d. a* A& {: t7 u, ]% G# B- l3 i( k, `
  810.   C% i- X2 V0 z0 A' O$ Z% M
  811. ; Maximum number of files that can be uploaded via a single request4 B# v0 [4 H$ L* L& u  H2 \+ f
  812. max_file_uploads = 202 W6 n+ s% x0 V: j

  813. : E; `, I$ P9 K" S: Y" k
  814. ;;;;;;;;;;;;;;;;;;9 j8 `0 J! o1 U0 i8 d% N
  815. ; Fopen wrappers ;
    ' O( k3 f, @& Z. n" K
  816. ;;;;;;;;;;;;;;;;;;1 C5 u  J& k5 B& }( j

  817. 0 B) e& ?/ i% N& _% u( m% F
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 B4 t; |) R5 C' g$ k
  819. ; http://php.net/allow-url-fopen$ K( Q! J1 \5 `/ B: L2 ~$ G7 N
  820. allow_url_fopen = On! q: {( U; O' l% X  e
  821. & m8 J8 u4 R+ I; K" E8 [
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    0 G% V/ m4 [4 G# R4 M1 w8 r9 R
  823. ; http://php.net/allow-url-include; j3 @* L0 S7 D) K, ]
  824. allow_url_include = Off
    . w3 }/ E$ S0 h+ E2 D, x4 |  x

  825. 5 c3 ?  G; h$ o+ {4 k6 t
  826. ; Define the anonymous ftp password (your email address). PHP's default setting) ]( ?! c! r5 b# Q
  827. ; for this is empty.
    % Y( r2 f% u* D  j5 F) {+ L* F5 w
  828. ; http://php.net/from
    2 n: \" |' T7 x6 U$ V
  829. ;from="john@doe.com"
    % u' b% N- C/ T4 X
  830. ! a+ o) L2 k3 u7 U7 |6 m
  831. ; Define the User-Agent string. PHP's default setting for this is empty.9 }, r3 v0 j, g
  832. ; http://php.net/user-agent
    : \9 g7 O8 ^8 F8 X5 N
  833. ;user_agent="PHP"
    + H& k/ i- k& @9 t2 c3 H/ h6 @* L
  834. ) w; o1 R% i& E7 j0 u5 E# U
  835. ; Default timeout for socket based streams (seconds)
    7 j% y$ D' n  K2 B* Y) j
  836. ; http://php.net/default-socket-timeout$ V% m" r  q. y0 R/ ?) v! b# `" Z
  837. default_socket_timeout = 60
    & U3 B+ p7 }5 ?4 L( N' t

  838. 6 o% i; g7 ^# ~8 ?4 A' o
  839. ; If your scripts have to deal with files from Macintosh systems,5 b) ]+ I5 `* F7 G9 K: v- }
  840. ; or you are running on a Mac and need to deal with files from
    $ y5 p% t( C: z/ L3 n
  841. ; unix or win32 systems, setting this flag will cause PHP to
    : q( l" _4 Z) Y- u# {- S
  842. ; automatically detect the EOL character in those files so that
    " }0 {+ l, c6 x# b& h; l
  843. ; fgets() and file() will work regardless of the source of the file.
    . O* K% r* b1 {5 Y* G
  844. ; http://php.net/auto-detect-line-endings0 J3 o( R( E) M0 B, O
  845. ;auto_detect_line_endings = Off
    0 Y: w9 i6 D1 u& Y6 U8 h/ V. v; |
  846. 5 F. h8 y! P8 `- K: T; j
  847. ;;;;;;;;;;;;;;;;;;;;;;
    3 I0 W# R9 K$ T' g* _$ |* G
  848. ; Dynamic Extensions ;+ ~9 Z% I( }6 l: ^" d
  849. ;;;;;;;;;;;;;;;;;;;;;;- e4 i( V4 ]$ l0 V) J% m

  850.   ~$ m% p! N" x& Z" B' ~0 h
  851. ; If you wish to have an extension loaded automatically, use the following
    1 x. U2 R& u4 e; P! s* |
  852. ; syntax:
    6 P3 q: q' h: }
  853. ;$ K8 M8 f% w, b9 g4 u9 u3 o
  854. ;   extension=modulename.extension
    ; r/ a: `2 l9 s* n# T6 E5 [
  855. ;2 i9 @. Z$ A- Z( t9 u6 B3 o' Z' ]
  856. ; For example, on Windows:
    ) i( k5 y" {  u8 c0 E" L
  857. ;: [1 A: N  [7 x( f
  858. ;   extension=msql.dll. j+ s5 A: m5 a" t3 l( W
  859. ;
    ! U) a2 K9 \5 S4 j4 ~/ o3 M9 z3 {
  860. ; ... or under UNIX:  b4 H1 T5 u8 V& k( N
  861. ;
    % `/ f( \9 F7 E& x
  862. ;   extension=msql.so
    6 M1 p# [/ P5 R& g1 L5 A
  863. ;
      m- V* |# U& L  {( I1 U5 u
  864. ; ... or with a path:% P' K% q, P( d3 ?
  865. ;
    ( T  b3 W* P: Q  w
  866. ;   extension=/path/to/extension/msql.so
    4 q2 ]2 N0 Y) }; y- p
  867. ;" B- ]7 ~  S9 h. j6 s% i" r
  868. ; If you only provide the name of the extension, PHP will look for it in its- n: R' ?. H% M( g/ U! `3 \: n% u! @
  869. ; default extension directory.1 f1 u0 p3 z3 a6 m/ b" g
  870. ;! T% {( b$ t& b  L
  871. ; Windows Extensions& n: D- k' t/ u) N) I$ y
  872. ; Note that ODBC support is built in, so no dll is needed for it.# U$ M0 n1 {1 g3 \) y3 N" J
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ) L- l8 a) F6 e$ e
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    % p# W/ N1 w) e$ h" e3 i
  875. ; Be sure to appropriately set the extension_dir directive.' _& C8 @1 @/ T4 x( }7 Z, ?$ V
  876. ;
    ; K  Z- R5 D2 x% @! v
  877. ;extension=php_bz2.dll
    0 w( |1 c6 m( U' L$ `
  878. ;extension=php_curl.dll  O0 C% }3 v* Q% B
  879. ;extension=php_fileinfo.dll
    ( s5 g6 K  H8 {
  880. ;extension=php_ftp.dll
    8 P! Z( p2 d8 r5 j
  881. ;extension=php_gd2.dll
    % q; z5 s( n4 k8 c5 W5 F4 v
  882. ;extension=php_gettext.dll( C" F6 f3 l( z) y3 }# o
  883. ;extension=php_gmp.dll; O7 V) `4 ]  j& t8 a) V
  884. ;extension=php_intl.dll$ P  N1 p3 F) F  Z7 t, c( O
  885. ;extension=php_imap.dll7 X4 f, l) Z& h& Y  g
  886. ;extension=php_interbase.dll
    1 X. _5 d' p$ \6 D3 c# B
  887. ;extension=php_ldap.dll
    % y% f# F( q) W& }7 S& K; Y3 t
  888. ;extension=php_mbstring.dll  _7 [- ^, \. p3 U, V
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    $ l4 T& i& U; D/ w& I* D
  890. ;extension=php_mysqli.dll3 {$ @+ s1 F5 f$ Z  z! W' ^$ v0 T
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: l" u1 h# I# u
  892. ;extension=php_openssl.dll
    8 y/ U; B) G5 b; C
  893. ;extension=php_pdo_firebird.dll/ R& q6 d/ W: G# f& M* `
  894. ;extension=php_pdo_mysql.dll3 _! {, m) n; q) g# P5 F5 [
  895. ;extension=php_pdo_oci.dll% C$ W; a, R" S5 \, f) l5 J
  896. ;extension=php_pdo_odbc.dll
    . |7 V5 n, o- X, Y7 q
  897. ;extension=php_pdo_pgsql.dll
    , Q0 e: W) T' C! |; q
  898. ;extension=php_pdo_sqlite.dll1 a; x% u( `; y* d
  899. ;extension=php_pgsql.dll
    # D6 x1 M8 Z) E# Q5 N& j3 n8 W
  900. ;extension=php_shmop.dll: a% V5 K5 \- K) O* Y0 B8 S4 y6 }

  901. 2 P! g- _6 Q7 O
  902. ; The MIBS data available in the PHP distribution must be installed.9 s0 z, [% I. ]! R- @
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    " K1 |0 d( }' Y: ]( |0 P! h8 N
  904. ;extension=php_snmp.dll' z2 I* t; o1 c( K8 z0 F0 b

  905. - s1 c+ X  N. R6 o; o
  906. ;extension=php_soap.dll. K& t: [# D( T: q) V5 I
  907. ;extension=php_sockets.dll9 A# M, b/ m0 v% E. ?
  908. ;extension=php_sqlite3.dll
    ' S5 k" K% U# t% o( h$ X9 i
  909. ;extension=php_tidy.dll
    " b! a, B1 y9 C; i( h; {, G  N" a1 f
  910. ;extension=php_xmlrpc.dll
    % ^2 n6 [- X) E! F0 G2 G
  911. ;extension=php_xsl.dll
    0 {6 l, I: l. j4 b$ p- x

  912. 5 m+ I0 P- n4 q
  913. ;;;;;;;;;;;;;;;;;;;+ `3 v1 o( X( @8 \$ V% V
  914. ; Module Settings ;
    . U  n$ M, x; r/ {) Z
  915. ;;;;;;;;;;;;;;;;;;;6 ~8 Y8 w$ p6 S
  916. # @: h8 y" l/ U! e
  917. [CLI Server]
    & I. H# ?. N7 b; }/ a$ L2 @
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.# G! v9 z6 Q7 J" ]0 r
  919. cli_server.color = On6 R. \$ w1 X3 m8 ^8 K# \( l: E
  920. % c) v" f8 W% z# V
  921. [Date]
    ! I, ^% z; f5 ?
  922. ; Defines the default timezone used by the date functions0 w7 ?: A  c7 `- l& w, v
  923. ; http://php.net/date.timezone6 s7 t  V, v, G+ F& r6 S
  924. date.timezone = PRC9 ]: \8 U- K6 d6 z7 h  r

  925. 7 {# L. O0 N, P% P8 B, R
  926. ; http://php.net/date.default-latitude
    + q* J. i. K' X3 h; _# _
  927. ;date.default_latitude = 31.7667' {# H) h4 W- {& N: p5 ^
  928. ; w9 G# ?' v/ M
  929. ; http://php.net/date.default-longitude& y0 @( S6 y3 @9 C5 h! `
  930. ;date.default_longitude = 35.2333% _( I! K4 L6 U& [! t

  931. 5 h+ c  O# |' K+ P. u; a: ^2 f
  932. ; http://php.net/date.sunrise-zenith/ ^% [( d0 b# |# r
  933. ;date.sunrise_zenith = 90.583333
    & @/ r  C$ L2 U# ?0 O
  934. % q4 f1 g% |* n' j, @
  935. ; http://php.net/date.sunset-zenith
    7 N9 j0 e! a" a2 ?
  936. ;date.sunset_zenith = 90.583333) b9 W/ ?; Y5 P  Z) f; }
  937. $ o, {+ m' t- f- `0 ?
  938. [filter]
    8 `5 W9 Z: I+ w1 {  U1 k
  939. ; http://php.net/filter.default1 j; ^" O3 l, a# Q" n% ?
  940. ;filter.default = unsafe_raw. Q1 {4 o/ E9 y& y

  941. ' ^6 e  H4 d' z, w6 A! j4 k/ \
  942. ; http://php.net/filter.default-flags: D: u3 i5 q2 R4 m
  943. ;filter.default_flags =
    * X2 h$ ~2 {6 f. [/ q

  944. 5 a* `5 l2 I3 d* W
  945. [iconv]
    4 ^5 }# X4 B7 Q! P" Y$ a
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - ]0 w% y; ?8 O$ e4 W
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    " B) y* p4 V; G9 ~- ~5 T& W+ N# j
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    5 T( w+ e3 Z4 w; h0 ^! V
  949. ;iconv.input_encoding =3 P* g9 D8 ~. J5 y& K" t( }: h4 J2 y
  950. + n' A: U! Y. @* R: \. x" \8 O
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 L/ p1 _- p0 ^
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 v; |1 g- X; `- @; z
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 E: z! y& P# N( h8 ~$ j/ p
  954. ;iconv.internal_encoding =- Y; @9 p) ]- E: ~! _! [, G5 K

  955. ( }% j. H* }7 l6 J$ }! o, |. v. c
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.+ E8 h: s9 B9 \0 g1 [& {* B. U
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.( I; r9 F# P  r0 n! n
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' ~& U  p  R% V6 M+ K
  959. ; To use an output encoding conversion, iconv's output handler must be set& ^% p0 l: e$ X0 m2 t: _
  960. ; otherwise output encoding conversion cannot be performed.
    / G3 \) S( \0 h4 \" y
  961. ;iconv.output_encoding =+ G/ N, f/ j. O& x# u  C3 t7 d9 K
  962. , ], c$ [  @+ @8 O& z: r& f2 `
  963. [intl]1 u* G* x1 O7 d/ ]7 p( o
  964. ;intl.default_locale =  y* ]) \+ }3 q8 k! [
  965. ; This directive allows you to produce PHP errors when some error1 d3 ~9 k# l8 C* N
  966. ; happens within intl functions. The value is the level of the error produced.5 U$ k  |. Y0 D) E3 R8 e2 e
  967. ; Default is 0, which does not produce any errors.2 K" A, S9 I/ k
  968. ;intl.error_level = E_WARNING
    8 }0 E" q1 D- p$ }. y/ R3 ?
  969. ;intl.use_exceptions = 0# G, ~* u& d* W: b

  970. . x& B* I3 K9 @1 t; l) a
  971. [sqlite3]' X" A3 s) c  j
  972. ;sqlite3.extension_dir =
    8 H+ ^& v9 v. ~$ m1 @) b8 {

  973. + E1 F6 K/ F( B2 O7 {) l9 l6 Y3 N
  974. [Pcre]. f8 W' w8 w  z5 G1 n% M! W
  975. ;PCRE library backtracking limit.
    : `6 ^2 y$ c/ t( W/ B7 ^
  976. ; http://php.net/pcre.backtrack-limit
    & w8 x" r1 v* ?9 C$ W
  977. ;pcre.backtrack_limit=100000
    $ Z) @: e1 b$ _) ?& Z
  978. ) V+ f) I& j' O  b0 A8 Z# z
  979. ;PCRE library recursion limit.1 ]) C# e, W/ }) L- |
  980. ;Please note that if you set this value to a high number you may consume all
    3 v4 d1 I: v* M# L/ {) N
  981. ;the available process stack and eventually crash PHP (due to reaching the
    8 n& V2 r" J! D6 r0 U
  982. ;stack size limit imposed by the Operating System).
    $ X) M1 W5 D& N5 e! l) z' t
  983. ; http://php.net/pcre.recursion-limit* z  [! ?- J8 O+ T4 L
  984. ;pcre.recursion_limit=100000
    , c  G; H! |! w) X2 o' B

  985. : D/ {8 M8 J6 o9 k
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    5 t8 \, ?( s9 A0 p+ j" `$ c: n
  987. ;library to be compiled with JIT support., b: H/ ^0 _- v2 a
  988. ;pcre.jit=1
    ' c. X4 @3 P0 Q$ P

  989. " O" ~& J/ j2 {" ?
  990. [Pdo]. o- P0 ]( T8 @/ K* C
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    8 u: k# s6 N$ {- h4 S
  992. ; http://php.net/pdo-odbc.connection-pooling
    - `- o/ w) F% R5 W
  993. ;pdo_odbc.connection_pooling=strict- b* E, v( S' M4 S, I
  994. & W  U  |' }6 ^
  995. ;pdo_odbc.db2_instance_name
    # `' v( e) ^3 n6 p8 Q  \/ B

  996. * V3 s; ^# d! w: w  H% {, t
  997. [Pdo_mysql]2 a6 J  L" o2 Q" V5 `' F
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( [/ U+ r' p* r5 v
  999. ; http://php.net/pdo_mysql.cache_size
    ; Y2 }+ u2 o  C' b. M( ^2 I4 {8 p
  1000. pdo_mysql.cache_size = 2000/ c/ y" U0 F8 b2 ~
  1001. # d" e; V: V) r) R
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / x: n9 c- }+ |/ @
  1003. ; MySQL defaults.
    4 e8 m' _  E4 b- w
  1004. ; http://php.net/pdo_mysql.default-socket
    3 a6 C) G1 D$ i% G
  1005. pdo_mysql.default_socket=; v/ B" p$ [  n8 J) F

  1006. ; t' n0 X6 A+ g& R# L
  1007. [Phar]# Z6 `4 b# r- `: i9 w
  1008. ; http://php.net/phar.readonly! O$ e6 h8 x+ y% A+ p2 G% H' n0 {
  1009. ;phar.readonly = On
    5 a5 n. I; I9 w0 o1 W

  1010. ) M  d% Y  X2 W4 s$ l. L
  1011. ; http://php.net/phar.require-hash
    7 N1 O( R- w& P' K
  1012. ;phar.require_hash = On0 [: U8 b$ Q& r. X* ^5 H
  1013. . X2 A9 T7 \. x* v1 k
  1014. ;phar.cache_list =: }1 y% E) I* ~( x& t
  1015. 5 l! X/ z7 f% Y* v( `* C1 U- K" s
  1016. [mail function]! u# a, s$ [. Z, v7 r& R/ R- N. H2 ~
  1017. ; For Win32 only.
    # }4 v6 v3 A- U/ g' |! g
  1018. ; http://php.net/smtp
    4 T3 E1 }: t5 i% {  X
  1019. SMTP = localhost! g, f; K+ o# p
  1020. ; http://php.net/smtp-port
    6 q' V2 |" P5 p& P# ^2 L
  1021. smtp_port = 25
    ( O3 O# s; y- c9 p' \. T
  1022. # J- V  ^, {4 R: s% o" _
  1023. ; For Win32 only./ R9 p1 z% e, @1 t4 W# ?
  1024. ; http://php.net/sendmail-from
    9 q9 P) J+ w) m9 t* P: o
  1025. ;sendmail_from = me@example.com1 k9 v4 f2 C+ \. Q  b( z
  1026. ( S) Q/ N2 W/ y1 C& A; }! }3 a
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& N0 o5 o! C" B& `
  1028. ; http://php.net/sendmail-path
    6 k4 I1 y8 r9 z$ K3 W8 M9 F
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    % }$ }! `7 ~6 X8 x3 k
  1030. 8 R9 t. e+ F& @. Y. c0 J
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    2 E0 q* E8 W. G' y9 U# J; v  r
  1032. ; to the sendmail binary. These parameters will always replace the value of5 u' ?  n' Y" X9 s3 T( @, a* l& g
  1033. ; the 5th parameter to mail().4 R- z$ `+ W( Y
  1034. ;mail.force_extra_parameters =3 s. |  p: t% u# [2 l% {
  1035. ( K4 x1 x1 M+ d0 z' D. c/ h: W
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( z: }* K2 ^/ K6 L. }5 y9 ?1 m/ w. }
  1037. mail.add_x_header = On4 O% p5 h3 \5 g) |7 {

  1038. " \$ a; u- l' R3 y
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    6 A* \+ m; `& C! }# d1 L
  1040. ; the full path of the script, line number, To address and headers.( I0 t0 Z/ l9 b
  1041. ;mail.log =
    1 A, H  }, r! b+ [4 \6 u0 v
  1042. ; Log mail to syslog (Event Log on Windows).
    ' G+ O9 s2 E  b
  1043. ;mail.log = syslog. {; N' T5 U' ~( W2 }% K" K
  1044. $ R% |( e$ m' y; ^# B
  1045. [SQL]1 p' @. ?3 x9 A) t. g, {
  1046. ; http://php.net/sql.safe-mode
    0 a& r7 Q1 y- g+ U- N8 N0 J
  1047. sql.safe_mode = Off
    0 P0 R6 \* t' ]: r5 J2 n

  1048. 8 ?! y+ Z/ p+ `9 {6 K
  1049. [ODBC]
    2 e+ p. J( I  s4 y& n) r, {4 W, @0 Q  y
  1050. ; http://php.net/odbc.default-db7 k9 h* ~$ [1 V) U8 ]& e  S
  1051. ;odbc.default_db    =  Not yet implemented
    / I4 }/ ?4 k' t8 C

  1052. % j0 s2 `# S2 v
  1053. ; http://php.net/odbc.default-user" s4 d0 e' @! L# |; }5 f
  1054. ;odbc.default_user  =  Not yet implemented/ L4 d  Q4 q6 R! C" l& u5 h

  1055. ( w$ ~7 J  d( s# j/ `, r* W
  1056. ; http://php.net/odbc.default-pw
    7 E1 z  b5 t  F6 z+ F
  1057. ;odbc.default_pw    =  Not yet implemented+ Z3 [$ ?5 n5 T* d) a3 n

  1058. 6 E( J- F5 J1 Z  g8 S$ q  Q/ u) O
  1059. ; Controls the ODBC cursor model.
    , z+ ?2 m3 {: V4 E) J  k
  1060. ; Default: SQL_CURSOR_STATIC (default).
    * X7 _, H4 z4 o/ ]3 `; o; q# g* G6 I4 y
  1061. ;odbc.default_cursortype1 H, y. C* ~6 p0 q+ l

  1062. " [: l" {; t# U- ?1 g( Z; H
  1063. ; Allow or prevent persistent links.
    $ u- o0 H) {+ E# [
  1064. ; http://php.net/odbc.allow-persistent( w  E/ A5 i8 G' }' @  K% f
  1065. odbc.allow_persistent = On  A' ?2 m" F* r& m4 [7 h  u" Z4 G
  1066. : @4 z* t" w: r* r3 ?' u$ v
  1067. ; Check that a connection is still valid before reuse.2 W" C" c: a; e* U4 R3 Z2 ^
  1068. ; http://php.net/odbc.check-persistent) j" z" H: T$ n7 |
  1069. odbc.check_persistent = On2 p' v  p- F. T& r8 n* o

  1070. 5 c) s6 v: D( |/ W7 a: f& o
  1071. ; Maximum number of persistent links.  -1 means no limit.
    6 Z. Z  h$ C& Y1 b: V4 |
  1072. ; http://php.net/odbc.max-persistent: b" Q5 e# E& v7 Q8 J
  1073. odbc.max_persistent = -1$ K1 N0 s9 j/ a1 @( I' p% V" t
  1074. 1 q6 A. _( d* N2 j
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / u3 M8 ]$ J; j& c( ?
  1076. ; http://php.net/odbc.max-links/ E+ n- ]' v8 }2 ^+ G; r
  1077. odbc.max_links = -1
    9 B* m" {# A  O( G0 A! M% J. Q. E) p
  1078. ( M; I4 b% Z) P  O5 l* Z9 F- c8 A
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means& L) Y( V7 h( f) K2 l3 R' }2 }
  1080. ; passthru.
    * N! X' P7 J( g! @5 i" R
  1081. ; http://php.net/odbc.defaultlrl# Y! e/ C) M. j, r9 S7 W# p4 ?) U
  1082. odbc.defaultlrl = 40961 V. K& |9 k' v
  1083. ( _- g8 K8 ^* M
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    1 P4 u; y( O1 J3 @2 S! |% {
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    2 V: \( K* Q  {4 ^  l+ M
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode, k- c; b2 L% C$ J
  1087. ; http://php.net/odbc.defaultbinmode1 E% `- p: c6 B. m+ j- F
  1088. odbc.defaultbinmode = 1" C1 s; }+ s8 c8 C) B

  1089. ) A! G- d; |! s2 N. D
  1090. ;birdstep.max_links = -1
    " A# @2 {0 [% x$ D! f
  1091. - w2 W' l3 A! J8 }- |, f& s2 d) D
  1092. [Interbase]! S8 S! ~; E8 R8 d4 N0 n
  1093. ; Allow or prevent persistent links.- n2 M7 i& t: a( e& J- }- f
  1094. ibase.allow_persistent = 1
    ( g9 w* k# x1 X: g2 D

  1095. 5 G4 L3 R# J# g6 ^% H+ e
  1096. ; Maximum number of persistent links.  -1 means no limit.
    $ U7 t. k3 x9 n2 L1 D
  1097. ibase.max_persistent = -1
    3 w$ \5 B9 g( m
  1098. ( L9 {; D& P$ z7 Y6 n) P
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 t6 k% T+ P$ r6 W. Y, h
  1100. ibase.max_links = -1/ S4 [3 |& p2 Y0 }, N3 s# P

  1101. 1 T4 ^1 ?: H% d4 _( q
  1102. ; Default database name for ibase_connect().
    9 S5 T  s: H, v! J; ?* P9 `9 {+ \
  1103. ;ibase.default_db =3 {' g, {7 |) z7 U8 s( n

  1104. ( {+ C1 L* C. K) p
  1105. ; Default username for ibase_connect().+ e3 H% L5 Q: E  c/ c! p
  1106. ;ibase.default_user =
    0 h' a; Z; ~- [: |

  1107. / [, G* M& \7 }3 i% L8 P$ M6 U# M
  1108. ; Default password for ibase_connect().
    ' x+ W/ }: v7 n2 T, k: j" S
  1109. ;ibase.default_password =
    + g- z, O) }5 u% M* A3 H
  1110. 9 U' ?4 C: p- z
  1111. ; Default charset for ibase_connect().& C9 B6 J. Z- C" x) ?
  1112. ;ibase.default_charset =3 r! h; d: W  t5 e

  1113. - k: T- ]; X& B- W& V& d( D2 {0 `
  1114. ; Default timestamp format.
    - e" O" w% }. ?, p
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , Q" o/ R9 L5 A  C+ a  d

  1116.   K" F2 s4 R9 }# m, \: a
  1117. ; Default date format.
    0 c6 S3 v( \# z. z- A( h: b9 t
  1118. ibase.dateformat = "%Y-%m-%d"7 {$ X$ T: v3 E9 n0 f  @# u3 w

  1119. $ |! f! ~5 a, X6 @5 J$ v0 @' U: n* y
  1120. ; Default time format.) ^7 E' B  M& L8 t& X2 J7 G
  1121. ibase.timeformat = "%H:%M:%S"
    0 a2 v  f) W8 L' _6 X# a

  1122.   K  |; W8 e6 z9 F) Z
  1123. [MySQLi]& O: L: q7 Q; f' p3 E4 P' K1 A

  1124. 5 C* G& X3 J4 S" `
  1125. ; Maximum number of persistent links.  -1 means no limit.% [* S4 w6 N2 [( a: t
  1126. ; http://php.net/mysqli.max-persistent9 k6 C; T( K. t' @; B  x: q' I; Q
  1127. mysqli.max_persistent = -16 t( V# H. c6 Q7 u  Z, I

  1128.   E% I, O' D+ @& b; [& [
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . k# z. c! W  F% N# k6 {
  1130. ; http://php.net/mysqli.allow_local_infile
    ' z  w3 Z' R; X" a4 Z# m
  1131. ;mysqli.allow_local_infile = On) v6 e6 m- J  q

  1132. / b8 O+ U& T5 u8 K! t  K$ G
  1133. ; Allow or prevent persistent links.
    . a' _1 \0 Q* j: q0 t* n7 \% p0 z
  1134. ; http://php.net/mysqli.allow-persistent
      l5 N1 n  y* i+ M" p8 c( W
  1135. mysqli.allow_persistent = On2 p) [# W* x- J5 S

  1136. : F! F" g3 c3 S- ~
  1137. ; Maximum number of links.  -1 means no limit.
    " a  f* Z8 X* x& C% t7 {
  1138. ; http://php.net/mysqli.max-links: W, k' T+ U! d) _( q) D( @
  1139. mysqli.max_links = -1
    ' @6 \! q& l( \& {& E
  1140. * v, T- ~& k- ?5 d2 E  y" V8 d  [# D2 G
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) Q3 ?4 u" y/ X: c* f* \! T
  1142. ; http://php.net/mysqli.cache_size% ^% [/ A9 R& k9 S
  1143. mysqli.cache_size = 20009 A; q. d0 y1 r3 u" X
  1144. ; V- T- k) U/ D$ J) V% I2 n
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" H' J- h9 q& k* s2 S5 ~
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 _- a0 \# e: q( n) x
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / n( S1 B6 ^4 Q# c2 g( N- \
  1148. ; at MYSQL_PORT.5 t1 x8 T9 w; b& L
  1149. ; http://php.net/mysqli.default-port# t  `8 N$ Q. X1 A
  1150. mysqli.default_port = 3306, a! C- P! r7 U- K% O

  1151. 4 f9 M- n1 O4 S0 _
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ U8 k, d5 a- {( I/ q+ G- p
  1153. ; MySQL defaults.: h6 V/ l" J8 P* d* C* i
  1154. ; http://php.net/mysqli.default-socket; h; P0 e; ^& |  z' U6 w! }$ u
  1155. mysqli.default_socket =0 }8 Y. G; T0 ^% T8 J$ X- v$ @
  1156. + ^6 c5 |9 i! {/ F( v+ p
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).9 o7 j( p0 j3 [3 q& @
  1158. ; http://php.net/mysqli.default-host- y( {0 X8 P, @# k  f
  1159. mysqli.default_host =
    * ^, ]8 O/ d+ \( d' q6 d
  1160. . d0 q! S6 g7 [% H7 ?4 A  p
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' O5 u  c. u/ A4 ~
  1162. ; http://php.net/mysqli.default-user
    $ Q( A: \3 ]9 c: C+ m7 I; S: s7 m# x2 e
  1163. mysqli.default_user =+ J* z; U: |9 u, X, `

  1164. % `+ D7 p, m8 K; s" [5 M
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).' ~* v' d. j( X1 j) M5 a( T
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 v* p! Z/ E5 T8 v, f
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")7 T* |8 E- G8 F( m5 P! A) |
  1168. ; and reveal this password!  And of course, any users with read access to this$ y% ^( \4 w3 C6 b. a5 B
  1169. ; file will be able to reveal the password as well.( X7 U# h. `0 u  [4 u+ v
  1170. ; http://php.net/mysqli.default-pw% f  S  k4 l- b9 |1 n6 I% i! y
  1171. mysqli.default_pw =% L9 b' @7 x: h* t& O

  1172. ! \1 {+ E- \# m9 H/ T0 |8 n" l2 t
  1173. ; Allow or prevent reconnect6 `. r) P) {& k3 r2 g2 t: x/ O: m
  1174. mysqli.reconnect = Off0 s( X+ I, ~, r0 ^
  1175. 1 W9 h+ |! J3 Q7 Y' [5 K
  1176. [mysqlnd]. X% a4 ?1 y, }; ~4 [
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 U; U- J$ ]9 _) F6 x9 V! E2 ]
  1178. ; used to tune and monitor MySQL operations.9 \7 w  L2 I. F+ Y
  1179. ; http://php.net/mysqlnd.collect_statistics
    ; c/ h& @6 }9 y
  1180. mysqlnd.collect_statistics = On
    $ Q# e( T8 P2 ~

  1181. ! q6 e, W% l. s) I2 a! d
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    7 D* }4 e/ m6 t
  1183. ; used to tune and monitor MySQL operations.
    $ O0 {+ j) f) h: K4 b+ `
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    3 P" c( o7 @, z0 w. B
  1185. mysqlnd.collect_memory_statistics = Off
    8 g, a5 i- d; ]; x0 T4 i: Z

  1186. 3 L0 ]5 Z5 b0 ]- v
  1187. ; Records communication from all extensions using mysqlnd to the specified log, Y4 ?$ A/ g# `, T' ?6 Y
  1188. ; file.2 s: V  D0 j7 l3 {( u- `9 n- u
  1189. ; http://php.net/mysqlnd.debug
    2 Y9 I4 e8 Y1 h8 m# B
  1190. ;mysqlnd.debug =, x' {$ _1 u7 g

  1191. 2 \& Q/ C  v8 F1 e4 t
  1192. ; Defines which queries will be logged.
    + g  b3 a  M# H3 U
  1193. ; http://php.net/mysqlnd.log_mask, m2 e8 Q7 _7 T% P1 x4 Y6 h. ?
  1194. ;mysqlnd.log_mask = 0
      i* {; p; d) l+ _5 }0 q3 `

  1195. ! Y0 H5 l- W! d  E
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 s, ^8 _2 T, g; p1 Y* G5 w
  1197. ; http://php.net/mysqlnd.mempool_default_size
    * Z! g- v% d. k) |; q( ^
  1198. ;mysqlnd.mempool_default_size = 16000
    7 {$ }' h( W3 V, Y

  1199. ' z0 }2 w- ?& |" M" |( S
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# d7 C) W, `; R0 n, X; v  Y
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size* \* h( A% Q' Z; j9 E6 Y" z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    " j! b: P, l, X  T2 A
  1203. ; n, E# t$ I$ \1 d7 e. i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in" U& |  Q, V4 \0 l; K, Z9 P+ n& p+ d
  1205. ; bytes.
    0 o9 [! n' b+ g+ t& h; j. N
  1206. ; http://php.net/mysqlnd.net_read_buffer_size+ S* Q; p7 ?( m# t' R' Z; }' ?* O
  1207. ;mysqlnd.net_read_buffer_size = 32768
    6 |1 G$ m) g% V9 w+ g7 d9 g* b1 y- r

  1208. . k6 F' h! X- D" V' l
  1209. ; Timeout for network requests in seconds.
    8 J8 x5 P7 b# {9 D1 _8 r. w8 Z% r
  1210. ; http://php.net/mysqlnd.net_read_timeout3 E! Y' ~' [. x8 l+ k
  1211. ;mysqlnd.net_read_timeout = 31536000. e8 c1 h6 _: F$ K! K/ T  Q

  1212. 5 ^) E; U; j6 R3 x* r( c$ R9 |' _
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 z6 I! p# P$ C1 @! J$ I
  1214. ; key.
      F. o. [5 E" A4 {' [
  1215. ; http://php.net/mysqlnd.sha256_server_public_key# E7 }  ~/ s2 [4 T0 E
  1216. ;mysqlnd.sha256_server_public_key =
    ( V  L2 U9 @, y) y7 }; \

  1217. 1 s& y9 }: z2 c( L2 W! s  h7 |
  1218. [OCI8]& Y% U. a3 u3 h
  1219. # W4 ?" e; m: U3 _
  1220. ; Connection: Enables privileged connections using external
    5 d$ B( z8 a$ P" o
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( ]& P) y- B0 X2 ?; q
  1222. ; http://php.net/oci8.privileged-connect
      n) R3 X* x4 ^' n! v
  1223. ;oci8.privileged_connect = Off
    . [* H# Z0 i/ i% V

  1224. $ s0 Q# c2 ~- ]7 J/ O
  1225. ; Connection: The maximum number of persistent OCI8 connections per1 A1 J# a0 ~; F7 Q! t* r
  1226. ; process. Using -1 means no limit.
    3 @1 L% k4 Z9 T1 H" w9 n) x% L
  1227. ; http://php.net/oci8.max-persistent
    . M6 v& A, r+ u5 ?
  1228. ;oci8.max_persistent = -1
    * v0 t1 P) }7 _- e6 u# ?7 Y2 G$ n

  1229. 3 b. z! N" ]* ~! Z% r8 K7 e
  1230. ; Connection: The maximum number of seconds a process is allowed to
    . ?2 H) V6 L' s' e* |
  1231. ; maintain an idle persistent connection. Using -1 means idle
    4 Q* {9 J! ~# q
  1232. ; persistent connections will be maintained forever.1 A* @" T, I: e0 U5 v3 X1 U
  1233. ; http://php.net/oci8.persistent-timeout
    , W# d; R8 U: r" c& X7 s/ B3 y
  1234. ;oci8.persistent_timeout = -1
    7 D) q# @: b2 M0 @" \1 f, [2 G

  1235. 8 a6 o# N/ \7 G- k. \4 I
  1236. ; Connection: The number of seconds that must pass before issuing a
    - p% i' D9 A* a( |1 C' v; |) w
  1237. ; ping during oci_pconnect() to check the connection validity. When
    , l) u% E; X& K* p5 w- w
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    & b' T: `: Q0 X/ U* ?* u
  1239. ; pings completely.0 t, R5 G8 J! p
  1240. ; http://php.net/oci8.ping-interval
    # ~! W7 V: \& |4 Y* M. P7 y: D3 T
  1241. ;oci8.ping_interval = 60
      s" ?$ V1 b" B+ r. [, c

  1242. ! }/ z& L1 y1 k4 Z$ |9 f
  1243. ; Connection: Set this to a user chosen connection class to be used
    ; q" H# e; O! U. c
  1244. ; for all pooled server requests with Oracle 11g Database Resident# m) M) q' l8 t- G5 W/ q7 o
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    5 ?& P7 ^6 y5 r
  1246. ; the same string for all web servers running the same application,& M+ l+ F6 e- Q  d* Y  h7 ?1 q
  1247. ; the database pool must be configured, and the connection string must
    : q" l0 P" S8 }1 \* ?1 F
  1248. ; specify to use a pooled server.5 h) x$ x9 c+ v5 R" u* v" y
  1249. ;oci8.connection_class =; a0 m- A. E$ y0 p' u3 U2 u, ~

  1250. 7 ^9 `2 W& ~4 D0 k4 V. r
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ( [. \# O. S4 m# k
  1252. ; Notification (FAN) events generated when a database node fails. The
    3 T: K5 U! a2 y$ S
  1253. ; database must also be configured to post FAN events.. l) K% q5 y( V% h0 L* Z: G( J
  1254. ;oci8.events = Off
    . J9 j$ Z; `, [. Z
  1255. ! ~' r! N+ d( j" F5 p( s5 r5 {
  1256. ; Tuning: This option enables statement caching, and specifies how1 q, T( a- w5 A: {3 w
  1257. ; many statements to cache. Using 0 disables statement caching.
    / ^7 ^, S; [4 ?  n
  1258. ; http://php.net/oci8.statement-cache-size
      H( x; Q7 O  ^% B4 j8 E
  1259. ;oci8.statement_cache_size = 205 W: ^* f: S7 ?( k1 \, P+ L

  1260. " v  Z# E& ]: W. J1 w% J
  1261. ; Tuning: Enables statement prefetching and sets the default number of) p8 Q) }: O* ?# L  M! P8 x7 K% O9 [: a
  1262. ; rows that will be fetched automatically after statement execution.
    ( ]) w- {* M7 u! @" ~, |9 z
  1263. ; http://php.net/oci8.default-prefetch) u/ @- M% X% E; N- Y8 }, W
  1264. ;oci8.default_prefetch = 100
    % O* V) W$ W4 `- L" @3 v

  1265. " i- ?* ~( L. F; ~/ N
  1266. ; Compatibility. Using On means oci_close() will not close4 N+ C6 D. R. f
  1267. ; oci_connect() and oci_new_connect() connections., J% ]7 m' N  S* ?. O, Q; U; ?( R
  1268. ; http://php.net/oci8.old-oci-close-semantics
    + e% y( o3 _. T5 E6 j+ r
  1269. ;oci8.old_oci_close_semantics = Off
    & g4 c  q) R$ t' F

  1270. ! `1 ]* v0 ~# ~6 C" \
  1271. [PostgreSQL]
    ) \9 A& F* d" G( C
  1272. ; Allow or prevent persistent links.
    7 x. C8 B9 C6 L
  1273. ; http://php.net/pgsql.allow-persistent
    7 Q: z# X+ F% O' h
  1274. pgsql.allow_persistent = On
    * `+ [8 U$ J' Q/ E( {# Y5 {

  1275. $ H% {6 J4 T8 g! d7 U4 ]
  1276. ; Detect broken persistent links always with pg_pconnect().6 s& c( {6 q# G8 L* x" A
  1277. ; Auto reset feature requires a little overheads.% A# U! S9 y, t2 q  _- e5 Q
  1278. ; http://php.net/pgsql.auto-reset-persistent% m. k. ^; H+ ]
  1279. pgsql.auto_reset_persistent = Off8 Z: |% u! j7 }4 F7 Y
  1280. $ P& u/ ^. ]( P$ W! }- w) P
  1281. ; Maximum number of persistent links.  -1 means no limit.
    % ]. U' Y0 P% }, \
  1282. ; http://php.net/pgsql.max-persistent# g; d0 b6 j+ i& Z: B
  1283. pgsql.max_persistent = -1
    * I; ?; g8 [1 @) \% ~3 |# v
  1284. - @' r$ D+ p# H4 z" l
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.$ c- Q8 ~( T5 _7 s& O9 ]
  1286. ; http://php.net/pgsql.max-links) G" K8 v* c/ U0 a+ D5 {0 S
  1287. pgsql.max_links = -1
    7 o8 `; ~9 S; ~( W% o# l! a0 G

  1288. ) F; v: g+ U: F5 F5 W0 P
  1289. ; Ignore PostgreSQL backends Notice message or not.
    - C' ?2 s4 F& [& h' M* A7 H
  1290. ; Notice message logging require a little overheads.
    $ B( G+ f4 {) W) A8 l5 ]
  1291. ; http://php.net/pgsql.ignore-notice
    % ?7 L# X& O- m8 l6 w
  1292. pgsql.ignore_notice = 0
    1 _# f# M3 [7 p, x" M5 r( {. Q
  1293. 2 L7 V- u8 k7 ~8 O! {  E
  1294. ; Log PostgreSQL backends Notice message or not.
    + C7 P$ w. Q# e- ?: k
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.. F1 v6 t( R8 o' ?9 {/ G
  1296. ; http://php.net/pgsql.log-notice4 x# C6 P9 T. G, k5 A& {5 B
  1297. pgsql.log_notice = 0
    / S+ ?7 c4 ?5 D/ t+ y* I% F

  1298. / U. d3 z. v: P4 w$ k, ]
  1299. [bcmath]4 ?" A( p7 Y% P8 V, z7 e8 l
  1300. ; Number of decimal digits for all bcmath functions.& u2 A$ z9 d6 B" j4 b  J. {
  1301. ; http://php.net/bcmath.scale8 S! P8 E6 k# ^5 U* d7 |
  1302. bcmath.scale = 0, z/ H! v; E1 n: D' {: t

  1303. # ^4 A( `0 ?( Z* t
  1304. [browscap]
    7 v1 Z& _+ w; n0 Y+ a4 x
  1305. ; http://php.net/browscap
    5 b+ ~( z/ S: J- A. S! f
  1306. ;browscap = extra/browscap.ini
    1 V6 H% |" L! d3 n- D* B  i

  1307. 2 X, G- Q2 ~1 Q) G
  1308. [Session]
    ; v$ x! R# z% t  N3 T
  1309. ; Handler used to store/retrieve data.! E# _9 w% a1 L
  1310. ; http://php.net/session.save-handler& e* P( u7 E0 E$ d) z1 @
  1311. session.save_handler = files+ b2 c  z9 Y9 x7 Z. Q% J

  1312. + C8 v1 E9 [+ v! J7 S$ h8 f
  1313. ; Argument passed to save_handler.  In the case of files, this is the path/ k3 ~, h9 |* z# k3 h: b
  1314. ; where data files are stored. Note: Windows users have to change this3 q, _1 l* r' L( j, Z
  1315. ; variable in order to use PHP's session functions.
    4 T! }1 x) \, w+ {5 V
  1316. ;
    ' _" ^1 \, K3 t8 ~( B7 [5 g8 t
  1317. ; The path can be defined as:
    ; u" A( {- ], F. T6 D! R) \
  1318. ;
    5 x6 \3 R- O- f1 @
  1319. ;     session.save_path = "N;/path"
    ; R& O; O* `& z
  1320. ;
    1 ?0 }9 e! @  H% ?9 F
  1321. ; where N is an integer.  Instead of storing all the session files in
    + H7 c8 }* Y* m1 R* b8 |0 x
  1322. ; /path, what this will do is use subdirectories N-levels deep, and, E, E/ Q0 G: @( I  \
  1323. ; store the session data in those directories.  This is useful if& k/ V, K* K! p" O
  1324. ; your OS has problems with many files in one directory, and is$ w9 Q, I. \7 i8 |% x' `0 x) \9 o
  1325. ; a more efficient layout for servers that handle many sessions.% T% Z4 G1 M( r8 t9 u5 d; F
  1326. ;
    & o; y/ h3 n. U9 t" `. o% x# I8 O
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ! Z  |+ m+ y9 V1 G
  1328. ;         You can use the script in the ext/session dir for that purpose.
    - Z8 ~" b6 x: r; k' H+ l0 i3 Y! {
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    3 I6 J  `9 E/ K! b
  1330. ;         use subdirectories for session storage
    ( g5 O  g7 E) B1 _. W7 Y* o( J1 r4 _
  1331. ;. N: k/ G' F  d7 a1 {8 L
  1332. ; The file storage module creates files using mode 600 by default.
    2 K& j7 h* ?2 g. o. @4 X
  1333. ; You can change that by using
    : Q3 ~' z/ w( [% L6 t& `9 F
  1334. ;
    ) u" T/ q! K! x% M3 a0 q# C
  1335. ;     session.save_path = "N;MODE;/path"
    & p/ ~; ]7 j' q
  1336. ;' ]3 ^: L  L2 ]" {2 \0 ?
  1337. ; where MODE is the octal representation of the mode. Note that this- `% R4 }" E5 O# A" g/ H
  1338. ; does not overwrite the process's umask.) X% e, e3 p% `) D4 b8 _
  1339. ; http://php.net/session.save-path
    * w2 |& |' }! a! q. c7 J& }
  1340. ;session.save_path = "/tmp"+ c, i  y- l, S+ T

  1341. 7 A# t4 j: a0 V
  1342. ; Whether to use strict session mode.9 [& P& @" u* C% Q. W5 w( K; R% ~
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' E$ R4 z) c7 s& o8 o- I
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! u3 [. g: E. S' f
  1345. ; applications from session fixation via session adoption vulnerability. It is
    * U2 n3 h7 r3 P/ M( {0 W9 l: Q8 U
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.; n) ?! f; D) g
  1347. ; https://wiki.php.net/rfc/strict_sessions+ l/ Y- P1 M% O( M8 K
  1348. session.use_strict_mode = 03 g' m6 U$ t, `) ?  B' k

  1349. ! {; c. U( N' O1 [2 V$ k( f
  1350. ; Whether to use cookies.
    6 g5 w! q+ v" F+ F  \, [; Y
  1351. ; http://php.net/session.use-cookies
    1 E3 K# a( Z8 i( ?0 r& z
  1352. session.use_cookies = 1. T0 L0 ~$ v5 c# |3 g) F
  1353. ! v5 P0 Q4 J5 a* V- F2 n$ b
  1354. ; http://php.net/session.cookie-secure
    . a2 ?4 v9 z$ p0 j& D4 }/ N
  1355. ;session.cookie_secure =
    / ~2 _# U; x' z( G: N
  1356. $ _* G* @8 `. R6 A* h
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    8 p( G2 ~% u- G# d+ h2 i
  1358. ; the session id. We encourage this operation as it's very helpful in combating) {3 h) B2 |8 r7 f( a
  1359. ; session hijacking when not specifying and managing your own session id. It is
    : w) ^& T( V3 O& ^# `
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    4 y+ x# Y2 s  G" ]
  1361. ; http://php.net/session.use-only-cookies
    2 k5 z) q" k* \- \' g
  1362. session.use_only_cookies = 1
    5 {# X- O7 T5 d7 z4 O  I7 V

  1363. - C7 C' s. ~0 ~0 r) c8 e( C1 K0 ~% r0 a
  1364. ; Name of the session (used as cookie name).
    - ^) J3 Z: B! T4 u1 L, z
  1365. ; http://php.net/session.name
    # X6 B# Z7 @4 x2 h
  1366. session.name = PHPSESSID
    + {- T2 [& ]- t3 x5 x9 a
  1367. 3 c8 O) \7 e. G2 L, Q
  1368. ; Initialize session on request startup.
    ! s6 ?: R0 t- I4 `! M
  1369. ; http://php.net/session.auto-start
    0 s# @; _: x7 K$ e8 ^" m! h
  1370. session.auto_start = 03 r# ]7 i3 n  o3 K- p8 e
  1371. ; N! ^" P" f7 ^$ ^" \
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    4 o, O, ]6 X" ?  q8 _
  1373. ; http://php.net/session.cookie-lifetime0 i4 x9 q/ E8 O2 _) K$ `
  1374. session.cookie_lifetime = 0
    3 k5 _9 W; v" E+ |( g
  1375. , ^) a! O) ?# q5 ?5 O
  1376. ; The path for which the cookie is valid.4 J4 H) R7 b* C- h3 N7 {% g
  1377. ; http://php.net/session.cookie-path
    ( A+ ?* h1 o# h! f4 u1 X4 k
  1378. session.cookie_path = /
    * N3 j# P% p, m! w( g; u

  1379. % Z8 c0 @3 ?0 T: Q8 n
  1380. ; The domain for which the cookie is valid.
    ! j- o3 E% S% o6 {5 x- y
  1381. ; http://php.net/session.cookie-domain# }( t# z7 g1 P, p" G5 x  _
  1382. session.cookie_domain =8 N, o3 g+ [! ?
  1383. ! c2 C/ L7 O, K3 @$ F# F- ]
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.0 g0 v- J0 T2 F
  1385. ; http://php.net/session.cookie-httponly
    8 v7 e! }  h# j3 Z
  1386. session.cookie_httponly =
    ; V+ m! M! Z1 e* z
  1387. 2 q0 K3 L# V6 v" ]8 q+ ~4 b9 W5 e
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.  r% ?$ k: S! P# T0 d# n9 M$ e* e
  1389. ; http://php.net/session.serialize-handler7 Q9 ^; t) B, D% h' G
  1390. session.serialize_handler = php
    6 W0 i0 W+ N$ E( i
  1391. * l  J! A% c* _$ D
  1392. ; Defines the probability that the 'garbage collection' process is started
    - \; b5 E* Q$ ], n1 B$ A
  1393. ; on every session initialization. The probability is calculated by using
    ( t; Q4 {* Q& e; y# k
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    - B* h  u3 l* P0 H3 L
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 17 E1 ]# J7 b* x# {7 U, q
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 S2 G' G9 F, D0 k  C
  1397. ; the gc will run on any give request.
    + A: n) a' R( \9 i$ [- ]8 t- B
  1398. ; Default Value: 1! i3 s7 n8 s* h7 W5 V/ E  f
  1399. ; Development Value: 1
    $ b5 S7 e2 x4 x- C: z# k0 r
  1400. ; Production Value: 1
    1 h4 J3 f5 n9 T1 n# Q3 E' F2 \7 k
  1401. ; http://php.net/session.gc-probability
    # w' H& ~4 G) H+ z/ X
  1402. session.gc_probability = 1; P, U$ ?2 K$ {$ ~  V9 C+ h

  1403. 9 I! u1 ^$ N. e% Z* a6 b7 G, t. U) @
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * L& d2 b6 e( R7 I% K! D: V8 M
  1405. ; session initialization. The probability is calculated by using the following equation:
    9 m  U7 q1 V8 B
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and$ Z$ E( `9 h$ E" k
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    2 _7 I1 W5 l2 T
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    # \$ c$ y9 D% _1 T, m0 e
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you7 c! v" o9 F: z  f( l3 q7 e: ?
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,) C" q# g$ R$ v( `0 j* k) K
  1411. ; this is a more efficient approach.
    ) [3 @' l! u, C9 I- e) m: J# r
  1412. ; Default Value: 100
    , _) K! \  t& R+ O; b8 R4 P0 y
  1413. ; Development Value: 1000! [4 p5 w/ b9 y, C/ |, T8 N  L
  1414. ; Production Value: 1000
    9 E" ^6 O3 P% `3 H1 `
  1415. ; http://php.net/session.gc-divisor
    2 A/ i  q* I& r0 k
  1416. session.gc_divisor = 1000: i" K% ^! G. ~+ H3 ]. `% ]+ Y

  1417. ! S4 N* N3 f: d$ {  s
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    4 K) O& Z% e( \4 S) R
  1419. ; cleaned up by the garbage collection process., g, i; O# ]3 m  x6 Z
  1420. ; http://php.net/session.gc-maxlifetime
    / p+ ]0 v' e5 A. V4 H, K* }
  1421. session.gc_maxlifetime = 1440
    " Y% T# J% e% S2 f; R

  1422. + v( k1 m, L7 d7 }7 Z3 X
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    - A# s  Y7 f& x7 {/ T
  1424. ;       (see session.save_path above), then garbage collection does *not*: E5 x) ^$ n4 n1 V' L, k3 Z
  1425. ;       happen automatically.  You will need to do your own garbage& m! ?0 V" U5 ^8 S0 S% c0 X  s
  1426. ;       collection through a shell script, cron entry, or some other method.
    5 m5 x* g6 Z$ W3 |4 h. a3 i" W5 b* G
  1427. ;       For example, the following script would is the equivalent of/ J' r; z3 z- P# h9 G/ m
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    4 {7 Y% ?( \. ~, y4 F- d5 f
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    , ^$ h+ W$ [/ [

  1430. % E3 c" \+ R0 e
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + T0 x# e2 d# S( O
  1432. ; HTTP_REFERER has to contain this substring for the session to be3 S+ [) H0 o0 o( _/ S: [8 G
  1433. ; considered as valid.: n+ H9 z3 g1 e$ f! P" |9 ]' \2 i- i
  1434. ; http://php.net/session.referer-check0 ~* g' G9 H* V- T2 l% C  O
  1435. session.referer_check =. }5 a1 u" V! P, t

  1436. ) t+ K7 l( E, A9 y
  1437. ; How many bytes to read from the file.
    " R* G8 p9 I6 ]% `& a0 ~
  1438. ; http://php.net/session.entropy-length
    & `% j- B( x3 ?0 H
  1439. ;session.entropy_length = 32
    * G$ T& r5 R+ Q" K$ |- O
  1440. % |( {- a/ i$ s% J0 [# F
  1441. ; Specified here to create the session id.
    # a* [9 j# M) q! H
  1442. ; http://php.net/session.entropy-file
    6 B$ r: `. M* K/ W7 H& x
  1443. ; Defaults to /dev/urandom0 F1 _7 X, t5 E$ Z7 v7 {
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 Y6 M4 p! x4 D) m5 w0 v
  1445. ; If neither are found at compile time, the default is no entropy file.4 [% {/ o& U! Q( v( |! F' E
  1446. ; On windows, setting the entropy_length setting will activate the
    8 X- L  k2 A- E4 H4 w
  1447. ; Windows random source (using the CryptoAPI)8 t" }+ N% \1 D* X2 [: ]2 i% t2 b
  1448. ;session.entropy_file = /dev/urandom2 w" ]9 g- O5 D
  1449. / w! M, H" n9 F  k* H) d. y
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects; T/ M5 Z" I  \$ K5 C
  1451. ; or leave this empty to avoid sending anti-caching headers.. ?2 g2 U) H3 N. R3 }5 J8 x  R
  1452. ; http://php.net/session.cache-limiter: X" I6 q. F! q5 K
  1453. session.cache_limiter = nocache
    2 [& T4 k' s  }- y2 U. W6 N2 F

  1454. / d0 n  u! J+ Z0 N; K
  1455. ; Document expires after n minutes.
    / C! n( K' `: k$ ^$ r! O5 l3 ]
  1456. ; http://php.net/session.cache-expire# R+ a/ A3 [$ `5 p
  1457. session.cache_expire = 180
    1 @6 P0 l( R5 d# n
  1458. 9 G7 V* b; ^2 I6 ?
  1459. ; trans sid support is disabled by default.9 f1 c+ j' b% v4 C9 |, Y* ~
  1460. ; Use of trans sid may risk your users' security.
    ) l9 d7 M6 ?  U+ S, C5 Y
  1461. ; Use this option with caution.2 p' a2 o9 r- ^/ j& `( |' R
  1462. ; - User may send URL contains active session ID) u* T2 _, x+ y2 y) U
  1463. ;   to other person via. email/irc/etc.! p' k7 A! n; t, s# F
  1464. ; - URL that contains active session ID may be stored* o' l/ M! c! c- |( C# Y
  1465. ;   in publicly accessible computer.
    / }1 `; ~! ?$ _6 y* C
  1466. ; - User may access your site with the same session ID
    + L* L6 {2 h7 R1 M7 _/ n7 b3 C- r- t
  1467. ;   always using URL stored in browser's history or bookmarks.
    + W1 F$ D2 _7 I' f9 x) [4 z
  1468. ; http://php.net/session.use-trans-sid
    4 I: O; [8 [" f- Q4 u: O" w4 E% ]
  1469. session.use_trans_sid = 0: [  }6 j* r! w2 A

  1470. 5 X# c8 \6 q& X8 [) k+ p0 k
  1471. ; Select a hash function for use in generating session ids.
    / D2 E* Q: e7 e0 h0 F" }
  1472. ; Possible Values9 }% D6 N3 j" k% |+ p% e
  1473. ;   0  (MD5 128 bits)3 n4 h  O# \( H$ c; s: o! T
  1474. ;   1  (SHA-1 160 bits); ?6 I% J# l( Q, E
  1475. ; This option may also be set to the name of any hash function supported by
      O: G: x1 B0 P
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(). Q7 Y7 r+ f5 ?$ l% _7 F
  1477. ; function.
    3 I8 w% ?9 }- ]8 r, T9 F
  1478. ; http://php.net/session.hash-function
    ; O; `9 \' O2 t( R5 A. m8 |* H( v
  1479. session.hash_function = 07 Y* G7 ?7 }) J/ A) [5 U, b

  1480. 4 W5 F. U' e1 [0 D
  1481. ; Define how many bits are stored in each character when converting
    6 x" k) M6 \+ i6 ]
  1482. ; the binary hash data to something readable.
    % ^4 ]- f/ h) \( M* P
  1483. ; Possible values:( {: f/ W+ g  S
  1484. ;   4  (4 bits: 0-9, a-f)  {3 Y9 E/ V7 u% I* Y% |7 ?) S  A
  1485. ;   5  (5 bits: 0-9, a-v)3 B3 Q+ N3 j! g/ O1 U- m" j; @- @
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ) V/ }  O: Y  L1 F! W1 D
  1487. ; Default Value: 4% I# r9 j! x8 n% P7 R' {: f; C
  1488. ; Development Value: 5# d7 h+ I) d$ w; e' t1 q# A
  1489. ; Production Value: 5
    2 G5 v7 o$ r# _$ v5 v/ R, l& x
  1490. ; http://php.net/session.hash-bits-per-character
    6 c- H0 ^* l& D; F+ T$ [* @( e
  1491. session.hash_bits_per_character = 5
    9 C% Q. _6 W( P* J- {% E( \0 z
  1492. ; X5 M2 \2 P7 f& \
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ' c, u0 n4 o' [0 K2 s2 T2 o$ p
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    # u5 A, \6 B( X* S/ _) }
  1495. ; add a hidden <input> field with the info which is otherwise appended
    / p6 P3 v2 g9 _1 F
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.6 M2 E% L) X. _3 G
  1497. ; Note that all valid entries require a "=", even if no value follows.  X+ D- d* s: |( ^3 [- Z
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 {% _1 W6 N6 }( l8 I+ m
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  o  f+ F+ |9 z7 d7 k% L* |
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* e9 I5 K8 p! o# z# O/ I( \
  1501. ; http://php.net/url-rewriter.tags+ a- }1 U/ o% M' G9 R. M
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    * R  o5 \7 O( A+ G- e

  1503. 3 t  ~1 j, b- \. R
  1504. ; Enable upload progress tracking in $_SESSION
    0 c' a% h4 G: s7 a4 P
  1505. ; Default Value: On
    4 M$ ?% e% I' H+ F9 a$ f( Z
  1506. ; Development Value: On5 Z) B2 T* S: g5 D  s9 ]+ H
  1507. ; Production Value: On5 G: q" K* W% B% E; p2 f
  1508. ; http://php.net/session.upload-progress.enabled6 `: g1 T8 Y6 k% {
  1509. ;session.upload_progress.enabled = On; y' z) i: H& W& |, b% _' `
  1510. 7 Y4 B  \3 @: z+ E
  1511. ; Cleanup the progress information as soon as all POST data has been read
    % I* c! [  O8 m- n) d( E/ c! h
  1512. ; (i.e. upload completed).
    5 O1 t+ {# t6 ?: e6 u4 ^
  1513. ; Default Value: On% W6 c) Q' ]! P3 B* G
  1514. ; Development Value: On
    $ i- S) d. ?2 B0 o. F& B8 V$ v
  1515. ; Production Value: On
    4 W7 [; s* ^% S; A2 t% }
  1516. ; http://php.net/session.upload-progress.cleanup
    9 H( |2 h& y5 f3 p0 h! ?- I8 D2 R2 B
  1517. ;session.upload_progress.cleanup = On
    3 K4 m0 Q( I9 |' N% b

  1518. ' J' {3 U  c9 H4 `
  1519. ; A prefix used for the upload progress key in $_SESSION
    9 q# X" N5 c/ \5 ]
  1520. ; Default Value: "upload_progress_": h8 Y7 m; o3 o
  1521. ; Development Value: "upload_progress_"
    - A; \/ j9 c# Q7 W2 x
  1522. ; Production Value: "upload_progress_"/ |0 F& o2 h- y  _! j
  1523. ; http://php.net/session.upload-progress.prefix9 ?' {- n1 |0 `- g
  1524. ;session.upload_progress.prefix = "upload_progress_"3 |# ~/ W$ R, d2 P& Y8 |# }
  1525. " i, M2 i' n. x1 y
  1526. ; The index name (concatenated with the prefix) in $_SESSION8 f1 @& }  R' {7 C
  1527. ; containing the upload progress information
    ) L0 b  Q/ M* T) K7 h+ e; r2 ?  w
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"7 \, Q4 z. B5 q3 Q5 y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"" `2 k2 x2 \5 D( J/ o. Z
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * X% t4 L; H% F& @
  1531. ; http://php.net/session.upload-progress.name. _/ s) A) S4 _4 y4 K
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ ]2 p. ~: l/ c0 t7 y3 L

  1533. ) }, F0 S- }3 R, G& K# N% M! K
  1534. ; How frequently the upload progress should be updated.
    4 w+ M1 b3 i& {1 B7 k  I8 a
  1535. ; Given either in percentages (per-file), or in bytes
    & Y- }. q, n# G
  1536. ; Default Value: "1%"
    * d1 `. ~% U0 ~+ q3 B; V/ g
  1537. ; Development Value: "1%"4 j$ V9 S) O3 ?" F, j
  1538. ; Production Value: "1%"2 f5 ~) C* y( L6 G) y0 u9 h0 j/ W
  1539. ; http://php.net/session.upload-progress.freq
    ' s8 O1 \" p) f6 d* [5 A
  1540. ;session.upload_progress.freq =  "1%"
    / l" Q$ M: _# w4 f. \  D2 b/ o* Y' w
  1541. + u1 ?7 o# d+ o% G, `9 \
  1542. ; The minimum delay between updates, in seconds2 ~) u5 B5 }( f( {
  1543. ; Default Value: 16 R1 [: a1 d1 F7 R
  1544. ; Development Value: 1
    7 ]' ]  |6 J# u& L  h
  1545. ; Production Value: 1
    4 |, X, Y) ~  Y7 m5 ~# K
  1546. ; http://php.net/session.upload-progress.min-freq
    0 W+ Z' _& ]6 p
  1547. ;session.upload_progress.min_freq = "1"
    ; g4 n! Z* z6 o, Z: O" k) m; J

  1548. ! x; H. Y# h: l0 s: p0 d( m9 x
  1549. ; Only write session data when session data is changed. Enabled by default.
    9 V, w' Z2 y. q0 O/ m
  1550. ; http://php.net/session.lazy-write& u/ B7 L3 ?/ \) b+ Q
  1551. ;session.lazy_write = On
    9 e: ?, t* y, f$ ~1 Q# N$ ^9 V. h0 w) Z

  1552. + c( q/ Z7 P+ r8 k) P, R9 b
  1553. [Assertion]4 ?: ^/ \; ^" B% h0 r
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ; U, X- V& M3 N1 {3 @( g
  1555. ; -1: Do not compile at all, x! Q7 k& \/ G! @" f% L& C7 o* U
  1556. ;  0: Jump over assertion at run-time0 R2 U) P4 J5 c4 q! \
  1557. ;  1: Execute assertions. i) b8 i% z0 G3 W
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    1 m% D% X% T0 B" s/ k; @
  1559. ; Default Value: 1- A/ V. `# r8 l7 D$ _) `- ?
  1560. ; Development Value: 1+ L: B, o; r& n: O6 t
  1561. ; Production Value: -1
    % ?: S9 F5 n3 d. ]/ j2 Q
  1562. ; http://php.net/zend.assertions4 Q8 N+ }% _8 o) ^) V
  1563. zend.assertions = -1
    : [% u/ h6 e  J9 [6 w: m7 h" O' q
  1564. ' S# X1 F: C. |' U+ ]
  1565. ; Assert(expr); active by default., i8 O) I- \0 Y
  1566. ; http://php.net/assert.active, [0 A, A  o+ m- @3 p0 S
  1567. ;assert.active = On, ~; h9 X2 P3 C; q

  1568. * C$ ?5 H) \) l% J5 d$ G4 e
  1569. ; Throw an AssertationException on failed assertions. a; D% \9 D9 G& y6 M# B
  1570. ; http://php.net/assert.exception
    / u! `$ \6 Q  B# n0 Z6 E) |
  1571. ;assert.exception = On
    6 e- C. ]3 D9 W/ Z! w% m
  1572. + h+ t/ B" j+ t) ]9 ~
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    6 c: t, Y) O- ?' C) V; R- [8 E
  1574. ; http://php.net/assert.warning/ n% q; ^8 S. Y: J& E& [- P. d
  1575. ;assert.warning = On* D2 |2 A  `2 J/ U" N. ]  m

  1576. : E( L3 w1 o* p
  1577. ; Don't bail out by default.+ V, l' @5 p' O: e
  1578. ; http://php.net/assert.bail2 R* e" j- }2 h  r+ Q$ _
  1579. ;assert.bail = Off7 l( D3 }1 q5 O# E- T1 W2 E, d; z) s

  1580. ) o' Q! o4 H: W/ ]; T  Z" _+ [
  1581. ; User-function to be called if an assertion fails.+ x: A$ v7 r2 b
  1582. ; http://php.net/assert.callback% P' A" y% D; P( v; l
  1583. ;assert.callback = 0
    " `4 R1 c  Z. r& D
  1584. " p5 U2 s" i% I7 U
  1585. ; Eval the expression with current error_reporting().  Set to true if you want6 P* O3 D6 R8 y
  1586. ; error_reporting(0) around the eval().0 V- D5 `& [, f) H: G# H% O3 _
  1587. ; http://php.net/assert.quiet-eval
    ' u5 g# V: S: }8 y' h& p& i7 |  c: C  n
  1588. ;assert.quiet_eval = 0
    + f# U% v: D) @

  1589. 3 x% E( p5 p- w+ z; @6 |: E
  1590. [COM]
    " R  ?. N# ?% T7 v7 x5 Y" B
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' M8 G1 ]: \8 T& m
  1592. ; http://php.net/com.typelib-file
    ( [) A" ]6 b% Q5 v. c3 ^
  1593. ;com.typelib_file =6 ]7 |' u4 E/ G5 `8 `
  1594. : w6 H2 V) O5 c' t
  1595. ; allow Distributed-COM calls
    1 z, F5 Q  U6 ~' u" g. O
  1596. ; http://php.net/com.allow-dcom! s9 r5 M1 W8 P2 [1 R# |* y
  1597. ;com.allow_dcom = true1 S  |( D" y& n0 g* r

  1598. ! A& B/ L6 \  S% q$ k1 K
  1599. ; autoregister constants of a components typlib on com_load()& r) _% V% a2 T# g
  1600. ; http://php.net/com.autoregister-typelib
      H' e/ f3 ]+ {; r
  1601. ;com.autoregister_typelib = true! ?% q7 ?5 ?6 ^& z! H0 o9 o  ?& }9 q& R

  1602. " n' Q9 R8 s8 L/ D, A( w
  1603. ; register constants casesensitive
    : y. V0 ~( f& R$ g
  1604. ; http://php.net/com.autoregister-casesensitive/ K8 R* _2 P/ t2 Z
  1605. ;com.autoregister_casesensitive = false8 @! I! U/ t: F4 t  O

  1606. 9 u  w+ V$ h" j, |
  1607. ; show warnings on duplicate constant registrations0 `  y1 z' g0 t# p
  1608. ; http://php.net/com.autoregister-verbose
    8 s( u* \: F  l2 [$ o* Z
  1609. ;com.autoregister_verbose = true
    3 {; M( S1 _1 p6 K
  1610. $ W3 ^2 W: k* _, y5 D
  1611. ; The default character set code-page to use when passing strings to and from COM objects.1 f8 z- ^/ e+ B# b9 r8 j
  1612. ; Default: system ANSI code page) _0 q$ Z+ a7 {% U
  1613. ;com.code_page=  H! d6 S& Q3 A$ i& C0 N

  1614. 0 _. F$ M. R& z
  1615. [mbstring]  ^0 ^: c' Y9 P- M& N) h
  1616. ; language for internal character representation.& I6 x) Y$ i$ D" _! V
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ! n. K1 x* l" ~% n- B9 k
  1618. ; http://php.net/mbstring.language" Y% v8 A& L: T2 G9 K
  1619. ;mbstring.language = Japanese
    : E7 T2 K) W0 j
  1620. $ B3 x& r; g) b
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 M. D2 g/ x; g/ W
  1622. ; internal/script encoding.
    1 Y- C( c8 d; t( |
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    1 k; W& y; z- S! ^! E% u8 p
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 M8 Y5 ~: V9 q4 }' k& S# ]0 Z
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. l6 O5 h5 h+ e. v; {
  1626. ;mbstring.internal_encoding =, f9 v! E: _/ q$ i* {
  1627. / Y2 ]) |& ~1 F9 E% \) {
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.0 F; @* ^' K0 v3 E
  1629. ; http input encoding.$ X/ _4 m, Y1 v9 Z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' f) L, R2 V( ]4 f9 t! {
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    % C* O- f2 U. n; O
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input  C7 m% ]# G3 r* m$ _
  1633. ; http://php.net/mbstring.http-input
    - p" X6 Z* \$ c  C; J# C
  1634. ;mbstring.http_input =
    $ A6 h* ?: u& \( ~% P) M3 M. o0 ]

  1635. $ r0 U+ ]& R, _7 Q
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.  \. H0 S' U) p3 u$ h& O
  1637. ; http output encoding.2 V2 Q8 x, e+ z9 f$ p% g8 D1 g
  1638. ; mb_output_handler must be registered as output buffer to function.
    , ~/ O0 P% n3 P, _
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    5 Q9 \1 M2 U+ V0 C( c6 @  _# \/ ?
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output6 z  }3 F- z: b  U
  1641. ; To use an output encoding conversion, mbstring's output handler must be set; ^1 N, t/ G# x% T) c. ]" E2 ~
  1642. ; otherwise output encoding conversion cannot be performed., k' G1 p  s4 ~9 Q4 c- j1 g- z1 c/ {
  1643. ; http://php.net/mbstring.http-output
    + i, d6 q, T, _" y3 f: |2 S
  1644. ;mbstring.http_output =
    1 z! j5 ^9 O8 N  W

  1645. # Y/ X3 j/ |9 Y$ d0 W  N2 L5 k
  1646. ; enable automatic encoding translation according to! J! _2 |4 ]' }
  1647. ; mbstring.internal_encoding setting. Input chars are
    9 L. a  W# z8 F; p6 q( \
  1648. ; converted to internal encoding by setting this to On.# y& C. {& s' t4 m+ J" O
  1649. ; Note: Do _not_ use automatic encoding translation for* H3 f, P9 O* ?9 N
  1650. ;       portable libs/applications.
    ' a9 y+ `+ y6 q
  1651. ; http://php.net/mbstring.encoding-translation# r, z2 ]( w! L3 Q
  1652. ;mbstring.encoding_translation = Off
    ! u1 O2 l) S$ Q  T0 R# J1 N2 A# k
  1653. * J( r# P& B% @
  1654. ; automatic encoding detection order.
    ( X1 ^; O% h0 c/ @% l2 l# Y
  1655. ; "auto" detect order is changed according to mbstring.language
    ' M  F% L9 S. g, v! A2 K0 Z. {' B
  1656. ; http://php.net/mbstring.detect-order
    6 K0 w( P" s; t; v9 a2 O. m
  1657. ;mbstring.detect_order = auto
    # X3 O+ l+ n% j5 p" \* K
  1658. * ?. `0 x9 `$ }2 r, u
  1659. ; substitute_character used when character cannot be converted; b7 V4 t' d0 O3 e" R
  1660. ; one from another
    * ?7 N' I% [8 W1 E
  1661. ; http://php.net/mbstring.substitute-character
    8 X3 ]# C* w! Z6 f) u1 D" Q
  1662. ;mbstring.substitute_character = none
    $ g  n- V% [# T) `, B3 Z9 S  F

  1663. : h5 B$ J, o9 P( S) M4 o% O# b
  1664. ; overload(replace) single byte functions by mbstring functions.  Q6 s* t" y: C5 s
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),# ^5 p) }4 l( P. h8 ]2 u
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.0 d. M( T' Z- w0 K
  1667. ; For example, 7 for overload everything.
    % u; q& i3 f2 ^$ |  ~2 I9 @7 S7 y
  1668. ; 0: No overload# s: _7 S* ^( }' b$ ]% S4 D2 M
  1669. ; 1: Overload mail() function
    0 J! N: q! M  x# I+ f5 V3 C, h/ x
  1670. ; 2: Overload str*() functions" j% L$ D% Y! X! f( ^# Z( c
  1671. ; 4: Overload ereg*() functions
    6 [" H  e! Z5 t. C5 t
  1672. ; http://php.net/mbstring.func-overload1 x  |" h" d+ W& b4 {
  1673. ;mbstring.func_overload = 0
    0 s) X9 S! j" Q' {

  1674. - p& c, c- q  }" a
  1675. ; enable strict encoding detection.$ }  k9 e1 {5 T/ U2 n& b+ }
  1676. ; Default: Off) S. k+ t- B5 ~  T2 `
  1677. ;mbstring.strict_detection = On
    & j2 m  X( s4 n' M# z' R: x
  1678. % k7 e7 D0 i" M" H8 e7 p
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    / M  J, x- w. o$ F5 M# h) ]
  1680. ; is activated.
    6 V/ K# m, n; [
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    4 T2 l, O8 y8 Z# P. k: F
  1682. ;mbstring.http_output_conv_mimetype=' V7 g) j) _+ `' B

  1683. $ X+ S- J. [3 j& N: v, R) ?6 X
  1684. [gd]
    # J* T. T, c  W( H, v( V; _. L
  1685. ; Tell the jpeg decode to ignore warnings and try to create4 e; H( o0 V* |
  1686. ; a gd image. The warning will then be displayed as notices, D1 @+ h2 B, o: N( D' {
  1687. ; disabled by default
    2 M  H! U- c+ }4 b
  1688. ; http://php.net/gd.jpeg-ignore-warning
    / o, J  D2 w" c2 O5 |+ G, L0 T# b
  1689. ;gd.jpeg_ignore_warning = 0
    ) I$ S# E/ S% g! J( Z
  1690. 7 ~1 }* x/ X0 e) w
  1691. [exif]
    : A9 U+ u; D1 U! {5 v; j, j5 u- |
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS." E3 j- V: i5 y9 n
  1693. ; With mbstring support this will automatically be converted into the encoding9 d- N7 e; Q1 U1 U, E! z7 u
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 `7 S8 ^. B' P0 m8 Z- O4 l
  1695. ; is used. For the decode settings you can distinguish between motorola and
    3 R2 J0 @" Y+ Z0 ]
  1696. ; intel byte order. A decode setting cannot be empty.
    0 b3 B- O% |% a" [, O9 q8 F
  1697. ; http://php.net/exif.encode-unicode
    / l# c: D1 `" T0 z7 _$ O5 o
  1698. ;exif.encode_unicode = ISO-8859-15
    7 ^" N1 Y2 y8 E2 M& c; z
  1699. 2 M1 D! k( b+ g; A
  1700. ; http://php.net/exif.decode-unicode-motorola
      z! z9 V( p4 U  l  r
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    - {" [: u& A& k$ X
  1702. ) U- U" c5 t% v- q+ a9 F- O1 o
  1703. ; http://php.net/exif.decode-unicode-intel
    6 Y/ @3 W  {% }) d9 _9 l1 M6 }9 q
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    : C7 r! o+ b- k# j9 r6 R

  1705. ! A) }: I/ X" s; W
  1706. ; http://php.net/exif.encode-jis3 o, c; `: w3 k
  1707. ;exif.encode_jis =
    ! c6 h3 u) W4 R4 h4 G
  1708. ! c7 k" d) B5 v4 W' c0 O$ m& d
  1709. ; http://php.net/exif.decode-jis-motorola) i6 R8 z% c7 s* |3 ?
  1710. ;exif.decode_jis_motorola = JIS' O+ H2 G7 G1 c' w
  1711. - k( F3 I4 p$ t( X
  1712. ; http://php.net/exif.decode-jis-intel
    / F2 h* H9 K7 ?. G1 K& v* C
  1713. ;exif.decode_jis_intel    = JIS
    0 G0 f+ y# }9 F6 D

  1714. 0 J: K. g3 Y- F' I8 ]
  1715. [Tidy]* _! p. Q  G+ B9 k* @: J1 B
  1716. ; The path to a default tidy configuration file to use when using tidy5 _5 J( f* n/ o; l! r8 a) F! b1 ~# C
  1717. ; http://php.net/tidy.default-config
    ! x$ W8 N2 L2 ^. d3 a* G( B
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    4 m+ }8 k' K# [; h; ^0 O" r$ B
  1719. 7 f: W# h' f2 L# L, u' D  U- t2 Q% ^; p
  1720. ; Should tidy clean and repair output automatically?0 G! T/ M' I# ?3 D" k# x& p
  1721. ; WARNING: Do not use this option if you are generating non-html content& v9 v) a* [9 z
  1722. ; such as dynamic images
    4 D+ W' T/ R, T& W! ^
  1723. ; http://php.net/tidy.clean-output. h% {) q" g* U( p: U
  1724. tidy.clean_output = Off3 `" S2 x$ A, n  d

  1725. , S9 e& [4 O+ q- t
  1726. [soap]
      G8 J1 E, B) D8 X  m
  1727. ; Enables or disables WSDL caching feature.
    * Z7 ?" v8 @: u9 |! C: ~
  1728. ; http://php.net/soap.wsdl-cache-enabled- S3 ?  Z5 {) a2 ^9 ~
  1729. soap.wsdl_cache_enabled=1
    7 v) Y, J& L8 s; Z7 e0 [9 l

  1730. . A8 Y" N6 F# T! P4 c% n& e% E# e
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ' U: C0 D" }- i3 a
  1732. ; http://php.net/soap.wsdl-cache-dir9 t: F  U: H& `. M4 e
  1733. soap.wsdl_cache_dir="/tmp"
    ! J6 P- b5 B5 H

  1734. ' M: J) d5 E" \7 B! s7 H+ B' D
  1735. ; (time to live) Sets the number of second while cached file will be used0 L4 p% S- b% L* k
  1736. ; instead of original one.) S+ c; ?1 K- C1 n
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ; J" W9 ]! n6 y& S- b
  1738. soap.wsdl_cache_ttl=86400
    + t4 i; B. }: P0 Z" h+ m

  1739. ' [! w8 H0 r: p( z; s
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    * [1 m7 ^2 O" z; Y5 r5 \! ]( v9 @
  1741. soap.wsdl_cache_limit = 5. E0 h3 a0 u! [( U8 j+ w' {8 ~

  1742. $ B2 J$ f, C$ C7 ]# A
  1743. [sysvshm]# x' Q+ e1 ~4 B+ v# P
  1744. ; A default size of the shared memory segment% @! H, P% Y' U: E9 X) h
  1745. ;sysvshm.init_mem = 10000) U( E+ F' p% U4 P( U

  1746. ( g* l. r, m0 ^; }! T4 l
  1747. [ldap]
    - N& v' G) f, `/ Q' w6 U% w0 q: U
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    " C/ `, }1 H8 Q& V7 _: A" t
  1749. ldap.max_links = -1
    ( c2 D6 p1 ^% E! O& Z
  1750. 5 P. V! Z1 f8 {1 C
  1751. [mcrypt]9 [9 d: ^4 r: Y3 _7 x8 F# h
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    % o; e$ S- F2 P, r. h2 ?; `

  1753. ( _8 E4 v; ~+ V) M5 N' s# f
  1754. ; Directory where to load mcrypt algorithms% I" p$ e7 e+ n8 k% O# y7 k" L
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! k. e! ^+ X% ?* n, v
  1756. ;mcrypt.algorithms_dir=2 Y7 f) X! W% F% [( l* ^; X
  1757. % z% G! n0 r2 a3 E& S
  1758. ; Directory where to load mcrypt modes
    9 ]8 i" i8 b, g9 B( S7 F0 c$ L' f4 p
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / W% b  a) k" B) K. @. e* l
  1760. ;mcrypt.modes_dir=
    4 f3 ]* Y* a: h  }

  1761. ( z9 a. e7 S5 Y* N) `' V
  1762. [dba]
    8 F6 W' R5 w% E8 L# ?. ?
  1763. ;dba.default_handler=
    : B* }' }% C! S2 J6 C% b( z! B" l

  1764. . [2 s; \% R2 P5 W, _3 n  `+ Y& v' W
  1765. [opcache]
    4 p0 z# B1 i; p8 ^# F
  1766. ; Determines if Zend OPCache is enabled, Y& \7 [4 f9 _. B  Y- B
  1767. ;opcache.enable=0+ V# n- l7 w1 L2 `2 {1 s

  1768.   O3 M0 F& p3 b  d# H) M
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    9 s' W2 t# w( e1 n8 C
  1770. ;opcache.enable_cli=0  D; ], U! P1 A' Q; {; P

  1771. . m# U% I+ t  I* h
  1772. ; The OPcache shared memory storage size.
    $ H1 Q- M4 \5 j6 N" v, M
  1773. ;opcache.memory_consumption=64
    - T3 D  I% e" T5 E
  1774. & W# h; R2 T% [
  1775. ; The amount of memory for interned strings in Mbytes., v3 S* ]# }$ z1 v* _. e
  1776. ;opcache.interned_strings_buffer=4
    - A; O& y) y! ?8 c6 `* S7 D" t4 |
  1777. ( \8 P# O$ [' k) `+ r. ^2 `2 I
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 U3 {% c+ o0 _) Q
  1779. ; Only numbers between 200 and 1000000 are allowed.
    2 r6 O9 J( Q% j6 {
  1780. ;opcache.max_accelerated_files=2000
    & k: j, k0 p7 J7 k- l- e
  1781. 9 V& L6 ^% f" j9 Q
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.* V2 ^' e4 v, }: W3 p% E( v# S" ^
  1783. ;opcache.max_wasted_percentage=5
    ) t+ s# S; ^$ i/ L. p
  1784. 1 v" [2 l6 |' I; Z, d/ p$ B+ ~
  1785. ; When this directive is enabled, the OPcache appends the current working3 G3 N# L, M$ T$ L, J: C
  1786. ; directory to the script key, thus eliminating possible collisions between
    - ~) e7 e: K( k' k9 `( }
  1787. ; files with the same name (basename). Disabling the directive improves
    2 j/ o( B* b5 B( O/ p
  1788. ; performance, but may break existing applications.
    4 v3 W4 a$ r/ I0 ^6 b
  1789. ;opcache.use_cwd=1
    3 z& t- o4 Z- K% z$ f

  1790. / u, c6 h9 p# Q
  1791. ; When disabled, you must reset the OPcache manually or restart the7 }6 ~( C2 ?4 b/ @' u8 r" f
  1792. ; webserver for changes to the filesystem to take effect.1 {& Q& C' P7 i* [9 N
  1793. ;opcache.validate_timestamps=1  ]7 n0 V+ _6 S. i9 c" Q

  1794. - m" k9 E4 t; A# s  S, F
  1795. ; How often (in seconds) to check file timestamps for changes to the shared. Y, g( p9 K6 }4 h' \: \
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    % U6 m+ b+ a2 L5 T' A4 t+ x5 @
  1797. ; once per request. "0" means always validate)  T9 W0 i2 E/ Y* w2 {4 u  x( d& T
  1798. ;opcache.revalidate_freq=2
    # l' r- ~/ E( R; Q( ^

  1799. 8 |+ M5 o5 |& {. b  d
  1800. ; Enables or disables file search in include_path optimization
    $ t3 {1 ~/ ?# @/ q
  1801. ;opcache.revalidate_path=03 O0 O" e/ Q6 A* Q

  1802. 5 l! t5 Z% _9 {4 K0 @: X% f
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the9 s& B" `/ O% ^3 E8 h! B
  1804. ; size of the optimized code.+ w8 w2 L* i) o/ Y7 H
  1805. ;opcache.save_comments=1
    ' H6 i- k5 d4 b0 y

  1806. & Z% Z; K2 r6 Z8 I2 D& H
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    1 W( ]- S$ p7 \0 x; C- U
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    / _/ ]# P$ a0 j; {: k2 `, V7 L
  1809. ;opcache.fast_shutdown=0
    * u4 |+ P( G7 B, d4 \2 f- w8 n
  1810. # c) Q8 G9 L! g$ i: N8 x! w# I
  1811. ; Allow file existence override (file_exists, etc.) performance feature.& D* R! w. r# @% E( C
  1812. ;opcache.enable_file_override=0# c& k. P# o1 ~$ L* I- D6 }# S

  1813. " g% K' a4 |6 ?
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    3 F) L& U5 k* _3 q; {! [; R; o
  1815. ; passes
    % |# |! H- N& D* C% v& R
  1816. ;opcache.optimization_level=0xffffffff0 G3 m# n" R' |$ K2 O

  1817. 9 @) Z" V1 ~- e; [
  1818. ;opcache.inherited_hack=1
    / Q2 X# {8 t! e8 v
  1819. ;opcache.dups_fix=0
    - B  Q: ]$ a" p
  1820. ( L# ?# H. J9 a
  1821. ; The location of the OPcache blacklist file (wildcards allowed).4 N6 L) e) c* u' M, x) \
  1822. ; Each OPcache blacklist file is a text file that holds the names of files" b+ g$ B5 E" N7 E" Q
  1823. ; that should not be accelerated. The file format is to add each filename( {4 L9 d8 D8 j3 V: ^. ^: V
  1824. ; to a new line. The filename may be a full path or just a file prefix/ U, f8 e0 P  r; Q1 P$ _
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www! H& |* p, ~& q  u
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    3 E4 o) _+ w$ o. ?
  1827. ;opcache.blacklist_filename=
    / z8 {" _9 j) M7 z: m$ g; Z
  1828. $ v# p1 F9 C8 p% b
  1829. ; Allows exclusion of large files from being cached. By default all files
    ' I8 W8 x6 f, c  R5 r( v8 O- C
  1830. ; are cached.
    3 b: d7 c1 G$ p. [: b) d. U8 P; b2 j! [
  1831. ;opcache.max_file_size=0
    0 k3 w( V  N9 i" B# n; w

  1832. & r: u3 T5 H) ^6 P- O( Z' z
  1833. ; Check the cache checksum each N requests.% A1 @+ \, I$ o3 a# e. M6 k! y. V
  1834. ; The default value of "0" means that the checks are disabled.
    # x) u0 Y2 H4 H( I5 S4 N
  1835. ;opcache.consistency_checks=0: ~9 |7 y# U; z6 Q" H( w0 k" U

  1836. 6 `/ U, g  z% G3 a
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    . d, l! w7 M+ N- }
  1838. ; is not being accessed.
    & n* y5 s; K9 |7 |+ ^6 D
  1839. ;opcache.force_restart_timeout=180
    6 }; @8 i$ h/ h4 a5 X  ?# ^

  1840. . M( k& y+ l( z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    , q5 Y+ o- Q4 e2 ~. E- n. q* x3 e( }
  1842. ;opcache.error_log=: ^$ ^- z# |2 J( `# a
  1843. 1 ]2 x" [5 {* x7 r  X
  1844. ; All OPcache errors go to the Web server log./ r* l9 s! |3 A* D9 y0 j  T
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.. g6 E8 O! ]4 D* O2 p
  1846. ; You can also enable warnings (level 2), info messages (level 3) or6 r, E6 r, q' M9 `) G, D
  1847. ; debug messages (level 4).+ ?& e. G$ _* H: [2 `
  1848. ;opcache.log_verbosity_level=1; U% g4 c3 o6 e, E0 U! S6 F
  1849. 5 u' A- O7 T" [
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    / E" S4 x( U) O
  1851. ;opcache.preferred_memory_model=$ o) `# ]: [5 f$ s& k( H5 a

  1852. " O% I$ T9 x# a2 D
  1853. ; Protect the shared memory from unexpected writing during script execution.; `& D* M) b' Z, e1 K/ G4 X
  1854. ; Useful for internal debugging only.
    , M6 b4 _5 D9 A# e& e
  1855. ;opcache.protect_memory=0
    6 {( Q  _! T4 I
  1856. . t, v! n% V/ N; V
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 b% o( c: G. }7 S  S
  1858. ; started from specified string. The default "" means no restriction' \/ ?- p5 |- l9 s' d
  1859. ;opcache.restrict_api=
    - L" R" z# \' F1 e8 s
  1860. 4 \7 g3 \+ L! g/ J0 e! \
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP0 B, Q1 D0 U" v# D' J- j2 U2 `
  1862. ; processes have to map shared memory into the same address space. This& R  G2 C+ ?4 M: e" D2 V* V, F
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    7 A) L/ C3 T' a$ E9 e
  1864. ; errors.- f' F3 N/ \6 _) P
  1865. ;opcache.mmap_base=5 G& R7 p  R7 Q- J, x0 K( J
  1866. 2 m/ }5 p' `* Z; m& P$ L
  1867. ; Enables and sets the second level cache directory.4 o( A" i3 b1 {- U5 T6 x1 f
  1868. ; It should improve performance when SHM memory is full, at server restart or
    3 r% W* D; a# a& c0 B/ u8 p
  1869. ; SHM reset. The default "" disables file based caching.8 |' z4 s- p, A' ~9 ^. J# M, j4 m
  1870. ;opcache.file_cache=1 a5 l1 W; G; K# e5 X1 ^
  1871. " T* h9 I5 x0 Q* i
  1872. ; Enables or disables opcode caching in shared memory.
    / V' r) {4 B- q+ Q4 m* z/ m) \  b
  1873. ;opcache.file_cache_only=0) p; o4 w/ z0 Z: ]/ S% j, R1 m5 N

  1874. . e# e" B6 z8 N" f  r/ P( o1 U% W, S
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    $ m. W3 M. L" a8 M+ W
  1876. ;opcache.file_cache_consistency_checks=1/ D8 J) o6 K+ ~
  1877. 8 h7 M6 ]+ s* E, O
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ! u/ S+ n  t9 _6 r! i' P7 e6 m! [
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file3 S- E# e/ n6 _6 p4 a) `
  1880. ; cache is required.; w. _/ o' Q& U7 d
  1881. ;opcache.file_cache_fallback=1
    1 A% d* x+ h5 n1 ]: y1 Q
  1882. 0 }* O" C! ]+ h. i5 q
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.& d& ?3 T& t* Z. \7 y9 J1 |
  1884. ; This should improve performance, but requires appropriate OS configuration.2 E7 N. ^: T* f9 s- K. y
  1885. ;opcache.huge_code_pages=16 D$ h, e! ]. Z! `2 D9 ]' i

  1886. 8 U1 u8 @' C6 |; p; g
  1887. ; Validate cached file permissions.
    # ?% H+ A% N# O! K' V$ y- d
  1888. ; opcache.validate_permission=0
    ( d. z# B8 N' z' D, b

  1889. - N7 N9 t, j! I& B
  1890. ; Prevent name collisions in chroot'ed environment.5 x; f$ B. a, Z, E/ f
  1891. ; opcache.validate_root=0
    " I; G7 k. a4 _

  1892. + s' s5 H, i" i9 F4 q
  1893. [curl]& v" d2 R$ M) _4 ?% Y% l
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; _% }( ~3 I! L7 X, {3 d
  1895. ; absolute path.
    7 m; m& G( D# Z6 Z: K8 O1 i
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt! A1 A' W* I* e0 z* O' |2 r1 M4 _5 Z

  1897. ; r! k4 k+ \3 |7 U; ]% o' z, i6 m
  1898. [openssl]/ }: Y5 B# v" p% c5 G
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem+ y! _5 k. n+ J3 U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    : x# T( N4 I0 ^! q
  1901. ; not specify a value for this directive as PHP will attempt to use the7 ?) f) X0 a3 {  U+ g& F2 T
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    - s9 B' d$ {6 j9 h
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    9 t. ~2 T5 C- A7 z
  1904. ; option." {! C7 `/ l' X- }5 T
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 {2 v4 k7 W8 H6 O& v
  1906. ; Y( F) v6 r/ h& Q* v6 m2 d
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) S& ~* \, i5 r* l5 u2 e( F7 I
  1908. ; directory pointed to by openssl.capath is searched for a suitable0 E2 F% y! V6 C5 h
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    $ t+ a" r) p) s% h/ c7 d
  1910. ; Most users should not specify a value for this directive as PHP will
    3 y0 e, o; W( ]4 ^
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,& \6 h5 d% a1 M( }. {& r- }
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    2 o7 t8 e( ]& m# ]+ J
  1913. ; SSL stream context option.* U; W: Z" a( t4 B- D
  1914. ;openssl.capath=
    9 u  g3 s  u3 C4 p& ]) P( y

  1915. ' ]% r; M( H8 \, |5 c( C
  1916. ; Local Variables:5 M9 h  G0 ~, {
  1917. ; tab-width: 4
    9 Q; D# v( q5 P& r! z; r" b1 U/ A( O7 n
  1918. ; End:5 k! J) f0 U7 {2 [7 w

  1919. 5 V9 D5 c! z' l
  1920. ;eaccelerator
    " j) a. C) ?: \

  1921. 8 [# T* d3 m6 O# o4 s4 ]5 i/ p3 r3 E% a
  1922. ;ionCube
    ) m; }, K4 v* Q

  1923. ) ^, Q% c2 g! S" r: X7 A" S
  1924. ;opcache
    ! e8 w1 @0 x$ |

  1925.   o# ~3 h% j  M& l$ ~! i" |
  1926. [Zend ZendGuard Loader]4 j# b/ v9 Y4 h; R  P# m
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ' o, T2 r/ z" o, b9 Q9 l( P
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so3 h3 A! _# T" d0 B2 [; \
  1929. ;zend_loader.enable=12 I, M4 v& L4 ^1 O$ `: b
  1930. ;zend_loader.disable_licensing=0
    1 {0 ]9 d; g1 c3 T, H
  1931. ;zend_loader.obfuscation_level_support=3
    % Y. p3 r1 v6 J4 V4 s$ x
  1932. ;zend_loader.license_path=
    , X" i/ H7 P5 M) Y5 c+ E$ d

  1933. 7 R6 E+ A* ~% ~) Q# J7 ?1 y; K% N
  1934. ;xcache
    ! W  C% @7 c6 [( R8 W

  1935. 8 K. E, U( V+ \* Y) T0 u2 k0 P" h% o
复制代码
+ y% O) F) U- t+ o& L
4 z2 d2 b" {5 p: c0 f4 p

" O7 [; f; D$ A& V% V$ u
9 E0 p$ i" c9 _7 z
( \! A9 r, A6 k# ?, I2 C  E. K% z5 y( d3 m/ E
" i3 i  X4 G% Q, ?1 Q9 Z
PHP5.6版本原始设置
! p0 W, e0 C  X; R$ I9 v0 i
1 M* y# `# v2 K
  1. [PHP]" F2 {" K/ `6 z" |

  2. 4 t. S+ Z5 J+ J
  3. ;;;;;;;;;;;;;;;;;;;
      @3 I  m* f) c+ {# ?
  4. ; About php.ini   ;
      v1 Q' }# {! i
  5. ;;;;;;;;;;;;;;;;;;;, o7 o! q( b$ O( l/ d
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    9 Y) ]2 ~: D9 M, k1 o
  7. ; configuring many of the aspects of PHP's behavior.
    1 J8 l) a1 T3 F1 m' C% _( x, S

  8. 1 z$ \  y% i/ ?, ^# w
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # o& f, Q5 z& x8 k0 V2 C: `3 t/ F! L& A
  10. ; The following is a summary of its search order:
    ! {0 d" ], ]1 O# w$ x& }+ t
  11. ; 1. SAPI module specific location.0 W4 }* i) \( H8 r4 L
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)  c7 g/ z& a( R  w' A
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    - ]9 e' ?# p' k$ X- u% _$ E! S
  14. ; 4. Current working directory (except CLI)2 t) Z' i+ D3 w5 K0 G
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ( X; p7 r4 E# r: {1 t* y
  16. ; (otherwise in Windows)
    ' }) I* {' w9 M. c0 C
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ w' o* {% m/ M/ W1 R* `
  18. ; Windows directory (C:\windows or C:\winnt)* H+ h+ b/ t5 R5 _/ f
  19. ; See the PHP docs for more specific information.
    4 z% I0 v' ]$ n  K! W
  20. ; http://php.net/configuration.file
    2 T9 S+ c! |' J0 m
  21. ; E$ ^% k1 {3 l: t: @: {) k' ?
  22. ; The syntax of the file is extremely simple.  Whitespace and lines+ l6 b2 p: _7 r0 p
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    , X4 y5 z& e4 z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though" p) w) }9 r/ P! a1 M
  25. ; they might mean something in the future.3 ^$ U+ f1 V& K. X9 \! `  u! y
  26. , B" H. \/ j  o  C2 ^% t
  27. ; Directives following the section heading [PATH=/www/mysite] only/ J$ W, q( G- u
  28. ; apply to PHP files in the /www/mysite directory.  Directives0 O5 z. @+ W* y! L
  29. ; following the section heading [HOST=www.example.com] only apply to
    * _! c9 ]+ h+ H* t3 w
  30. ; PHP files served from www.example.com.  Directives set in these% @  x7 j$ _( f$ e$ q. X
  31. ; special sections cannot be overridden by user-defined INI files or
    " b: u& k) U8 t) c% c* T1 A
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 _) s" z8 p/ K2 x
  33. ; CGI/FastCGI.+ A- h+ `' v4 Q- y7 Y
  34. ; http://php.net/ini.sections
    ) q+ b! M0 f8 t9 W

  35. 1 j7 r9 Z; h0 S) A& d" t; X) v
  36. ; Directives are specified using the following syntax:: m- F0 b' i2 I1 ^% z; {
  37. ; directive = value4 o; O. C8 H8 _+ u% d" F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 i9 S9 v# C& D* |7 u
  39. ; Directives are variables used to configure PHP or PHP extensions.! ~$ Z& `$ l6 _( L$ U- M
  40. ; There is no name validation.  If PHP can't find an expected5 o7 X6 Q; I! R
  41. ; directive because it is not set or is mistyped, a default value will be used.% m2 K( P1 \+ F
  42. # P/ L% q5 Q' J0 z7 _0 G# o, D" e8 S
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one1 e$ H# m' R+ [
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    " B4 ?% O6 Y& i5 s
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / k9 n' _; q) p7 G' C6 @
  46. ; previously set variable or directive (e.g. ${foo})- V- Q# ]5 R7 A

  47. $ f2 U+ b4 u4 B
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:+ b8 l7 n( I: U" l" I# k. X6 M  X2 `
  49. ; |  bitwise OR
    2 O- J  s! Y1 g( o- H
  50. ; ^  bitwise XOR
    $ M' w) H; L1 m) m
  51. ; &  bitwise AND
    1 A# h% e- D- j' ?
  52. ; ~  bitwise NOT* H  ]( Y$ i+ o3 i0 v" O
  53. ; !  boolean NOT
    , J* D% V" X  p

  54.   L8 p! _. c  u4 K5 O' x
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.( z1 F3 @% p' A& e, B# P
  56. ; They can be turned off using the values 0, Off, False or No.
    $ m2 h" p' |, P7 z( }* [4 T/ k

  57. 2 I1 j' z. ?* q
  58. ; An empty string can be denoted by simply not writing anything after the equal* r& r+ S, q8 \' I' {
  59. ; sign, or by using the None keyword:( Z! M# i/ a) G* t! V0 v/ L

  60. 9 S! @* Z+ P. H, {: m, j, _
  61. ;  foo =         ; sets foo to an empty string- V: K, Y& h& t5 X+ |+ l  x
  62. ;  foo = None    ; sets foo to an empty string
    ; k& @6 A; Y; r' F. Z0 v3 ?
  63. ;  foo = "None"  ; sets foo to the string 'None'
    : E- c+ x0 R5 U$ T  y( N
  64. ; w7 }& ?0 {: Y6 f3 C; e
  65. ; If you use constants in your value, and these constants belong to a$ D0 d% ]+ f  R# u) s7 ]+ ]& {
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),( X! ?  h3 O# p: U; s$ u; Z6 l
  67. ; you may only use these constants *after* the line that loads the extension.
    - Q; i2 D$ _# S: P5 G
  68. * q9 n$ I# d; {0 e6 ?
  69. ;;;;;;;;;;;;;;;;;;;
    % _1 Z) v0 _- }) i7 b
  70. ; About this file ;
    . M( v' A* D: P2 p
  71. ;;;;;;;;;;;;;;;;;;;
    2 l. A( m8 A- L6 Z( _6 C% ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used2 B; [, R  t: ~& n' G( s5 \! K
  73. ; in production environments and one that is recommended to be used in
    3 T9 q4 d: W" e1 |) B! L
  74. ; development environments.
    * N1 I1 u; }# S: r* ?

  75. 5 s& q" }( r% l
  76. ; php.ini-production contains settings which hold security, performance and
    2 `& B. Z+ p  Z+ @
  77. ; best practices at its core. But please be aware, these settings may break' m1 B/ ^7 A. r  A/ v
  78. ; compatibility with older or less security conscience applications. We
    + P8 R4 `& {, e0 L: m6 {' ^6 K
  79. ; recommending using the production ini in production and testing environments.5 V; k4 z1 L) E- Z
  80. : _  p3 M2 w* H( v  c/ P1 t  l3 |
  81. ; php.ini-development is very similar to its production variant, except it is
    - _  p0 }& l/ f6 m: r
  82. ; much more verbose when it comes to errors. We recommend using the
    - ~4 R' m* W. \: Z3 |8 o, N
  83. ; development version only in development environments, as errors shown to9 @3 O$ I! b6 @1 V6 j" y
  84. ; application users can inadvertently leak otherwise secure information.
      K4 n& k9 I- Z7 e# M

  85. 4 t9 f9 ]0 Z: t, D% [
  86. ; This is php.ini-production INI file.
    3 c: A- g+ k0 y* M4 m
  87. - ^# Y$ ?8 Q9 b# N- j/ m
  88. ;;;;;;;;;;;;;;;;;;;. N3 v1 l4 U  {4 B
  89. ; Quick Reference ;. Z+ O; D7 Q; v+ j; O. ?/ M9 }+ `7 I
  90. ;;;;;;;;;;;;;;;;;;;+ {* p# B8 X; U; J4 Q, A: A
  91. ; The following are all the settings which are different in either the production8 T* Q) _7 }8 B" m6 Y# j. ^2 ~
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 _/ p9 R; ?9 A* r
  93. ; Please see the actual settings later in the document for more details as to why
    - v8 w* {& J2 p& K. U# x' c
  94. ; we recommend these changes in PHP's behavior.: E' {. Q* U1 o; Y
  95. 3 b# [0 _( H9 Q8 V% |
  96. ; display_errors
    . X5 R2 R- E$ x9 `, i( L8 q
  97. ;   Default Value: On
    8 u6 {' Q2 P& c
  98. ;   Development Value: On: \2 d: F/ a7 a- ^# l2 T5 l
  99. ;   Production Value: Off* c  V  @. X1 w6 `& w3 }. u

  100. ) d9 H. h7 D3 D' u1 T7 W
  101. ; display_startup_errors- [  Q! x9 G2 b7 U3 y5 I
  102. ;   Default Value: Off
    , K  F6 y: d  t( _; @& e5 M. z
  103. ;   Development Value: On' U2 U1 H( u1 ]8 K! L
  104. ;   Production Value: Off
    . H9 ~8 g6 v  I; l. J
  105. / ]2 ^$ x, q8 {9 I/ v6 }3 O
  106. ; error_reporting
    - ^; z- t; Z( F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' h5 u2 H& b! a( b; m5 _
  108. ;   Development Value: E_ALL
    1 ?4 l4 U5 @/ p$ I, S; z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , Y* }3 V) u# u6 _, p# e
  110. / P- R. V! y1 J, B4 v1 ~* D9 f% v
  111. ; html_errors- L5 C) a2 D. M2 c) n
  112. ;   Default Value: On1 g* t; O4 |8 D0 Z; r7 g3 m
  113. ;   Development Value: On( D; t6 z2 h2 F; R0 a  L3 l
  114. ;   Production value: On
    . \" ]& X; }% {0 W# I: j, e& ^, w

  115. . g7 ~0 F) a( V
  116. ; log_errors& O2 v3 x' H8 S4 H5 d
  117. ;   Default Value: Off# z3 D. V" q! B+ M
  118. ;   Development Value: On
    & C2 s  T! I+ e1 c* [6 f( \
  119. ;   Production Value: On1 `' e8 \5 k" u2 R6 P- ]

  120.   v2 P6 ~4 Y0 W% M$ G9 B. }5 @: z& x
  121. ; max_input_time# g+ Z$ U) x) E* T) k& G
  122. ;   Default Value: -1 (Unlimited)4 t' z, u% {: O) a# d# W% q
  123. ;   Development Value: 60 (60 seconds)
    ' F  g6 {  R2 m4 e
  124. ;   Production Value: 60 (60 seconds)
    . u1 N% Y: U% i+ s

  125. . {9 u* L2 g" ]5 b
  126. ; output_buffering
    # h1 b+ F$ s1 r$ b
  127. ;   Default Value: Off+ K( f9 M- ?& q
  128. ;   Development Value: 4096% G1 ]! B3 H7 j/ m, ~5 {
  129. ;   Production Value: 4096
    1 S6 }4 d* ~3 J0 A

  130. ( e7 T) q( E- n4 c' O* u# A
  131. ; register_argc_argv! y- N4 t2 G# j, h1 e0 U: [
  132. ;   Default Value: On& H+ j0 C# I1 Q) M" L
  133. ;   Development Value: Off0 I& O! \, k9 E6 z& [  t0 _% @
  134. ;   Production Value: Off9 h$ e7 L) s# W7 K
  135. , g) ]9 q8 g7 u
  136. ; request_order
    ' E# {% q7 H: U
  137. ;   Default Value: None- g" v9 i+ t+ A2 ~: k
  138. ;   Development Value: "GP"
    # Z, Z# S& R- D
  139. ;   Production Value: "GP"8 B1 u! q0 T/ }' h& g" M

  140. & @9 u" v' E% d% \! e* l
  141. ; session.gc_divisor  r; s0 ~- Q9 T3 R% R+ X3 N+ i
  142. ;   Default Value: 100
    1 D+ B, K% k, y' ^7 O& N* T% S
  143. ;   Development Value: 1000' p" F1 d4 p& C! D$ @0 Z
  144. ;   Production Value: 10002 E" P! _- ?! }" J; g
  145.   v( ~/ j( ?5 R' x2 n
  146. ; session.hash_bits_per_character8 F; i, X) z1 r0 t3 g; @1 ^
  147. ;   Default Value: 4
    + _8 p5 N3 D0 Y$ e5 n, W
  148. ;   Development Value: 5
    3 u# ?& u( x  k4 }3 T4 V
  149. ;   Production Value: 5
    6 y7 u) y$ d5 Q8 N6 v/ w; q

  150. - j5 N+ _9 v9 W, x; A. t9 w
  151. ; short_open_tag' M0 Z, D1 D5 I' E% L9 s% k8 R( m
  152. ;   Default Value: On: @9 e: g/ F* k& @
  153. ;   Development Value: Off+ a$ [) ?" \' u& P% j
  154. ;   Production Value: Off0 l7 D" U/ s- E1 B' s

  155. 1 y6 T* B9 y' U: V
  156. ; track_errors# ?4 r, E5 x$ s+ M/ k% M
  157. ;   Default Value: Off
    + z. g$ T* X( d, d8 R* g
  158. ;   Development Value: On
    ! W1 u. }. m, x; a) ~5 Z% Q% X
  159. ;   Production Value: Off4 N2 B1 N! P; q( Q: N# n$ r; N
  160. 7 \) }- ?! c: c- I, e
  161. ; url_rewriter.tags
    1 }+ y) p" B) x- F9 e  S
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 c6 m; k" B, z% I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) \0 a) r( F& ]
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# E/ \6 z7 T: k
  165. / l) U8 `( r# @- ?
  166. ; variables_order
    / J3 Y) l$ \! D, `! n0 K. E" M
  167. ;   Default Value: "EGPCS"' Q0 C& ]+ O- h* i# B% U
  168. ;   Development Value: "GPCS"
    * T1 \' W2 n1 D/ s# o# H
  169. ;   Production Value: "GPCS"
    9 y! d7 j8 L: ^5 O/ V! w

  170. 2 q, P7 f* z& G& p7 F5 h
  171. ;;;;;;;;;;;;;;;;;;;;- \8 t: F" U: ]/ Y. }% B9 o$ t
  172. ; php.ini Options  ;
    # W& d: t% X& H% R: [
  173. ;;;;;;;;;;;;;;;;;;;;2 Y8 r+ B9 D5 r+ K, W7 p
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    4 e7 J3 ~, e: t/ |
  175. ;user_ini.filename = ".user.ini"
    : l. C7 ?% F! f* ?3 Q& y
  176. 8 }. A2 y* ]6 t* y
  177. ; To disable this feature set this option to empty value2 [6 Q: D; f- @: N. j3 M
  178. ;user_ini.filename =
    + e9 v9 o, w) w# Y

  179. 7 _3 W# Y% G7 F2 }3 X# h
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)* G: [0 G* q5 ~$ K
  181. ;user_ini.cache_ttl = 300( G9 }  r6 F9 W; R

  182. : B( B- X2 h/ ]" k& M7 `
  183. ;;;;;;;;;;;;;;;;;;;;
    : ]6 Z4 J6 h7 i9 y9 O- G0 v6 [8 O, ]
  184. ; Language Options ;4 n% Y: A7 X/ _$ @8 X
  185. ;;;;;;;;;;;;;;;;;;;;% I' n* C3 V3 J% G) i+ m

  186. # W9 }3 z$ O% o" S  I  Z: t
  187. ; Enable the PHP scripting language engine under Apache.
    . ~1 j$ i# L! i4 F
  188. ; http://php.net/engine
    ; _  ~9 e; d1 h7 d$ p' j$ u
  189. engine = On
      `" B) |: L% `4 z$ p* c9 X, q3 W: S

  190. " m0 }# J$ T  P% @8 r
  191. ; This directive determines whether or not PHP will recognize code between4 d8 R% W' a& l6 t! w- M
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    $ M+ @0 J& y/ o( Y' I# O
  193. ; generally recommended that <?php and ?> should be used and that this feature% A. H; j( W4 i: V7 M1 b
  194. ; should be disabled, as enabling it may result in issues when generating XML
    % e* y  U1 Z' f" K* W- W3 \# Z
  195. ; documents, however this remains supported for backward compatibility reasons.+ E7 H, l( _  Z6 A- v8 U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be6 L& e  j1 X# m; d+ N/ U; ^
  197. ; used regardless of this directive.
    6 N( K! O8 [- |2 f& J! M7 _7 v. q
  198. ; Default Value: On
    % M/ e" u+ }, L1 h# ?
  199. ; Development Value: Off
    $ [0 b/ `, J, _! h( O& R
  200. ; Production Value: Off
    * \) i' B. U5 p
  201. ; http://php.net/short-open-tag
    5 k& b, O( x8 F9 y- t/ u9 b" V
  202. short_open_tag = On) g: |6 n5 m& t% |& |4 n" L
  203. + W9 i6 V" {( ?# h
  204. ; Allow ASP-style <% %> tags.
    6 u# ]5 r& J4 X1 n5 X) C$ `2 Y1 m
  205. ; http://php.net/asp-tags
    5 [+ _. C; l$ J" z" E1 h% d6 U
  206. asp_tags = Off
    # r* q2 C* x+ B+ \) [! a# ]+ a3 F4 E! g
  207. 3 k9 K6 S* U) n4 E" {
  208. ; The number of significant digits displayed in floating point numbers.
    7 O$ o% [0 C4 f' \
  209. ; http://php.net/precision8 H; k3 D3 x: g3 B- k: h
  210. precision = 14& ^6 d: B5 |  ?
  211. , g  A% r! W  t9 n# W3 Z6 M# ?* y3 J; g
  212. ; Output buffering is a mechanism for controlling how much output data) h$ r/ p- w4 ]' e  [! a- y7 j
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 _( i; b( f" Q
  214. ; data to the client. If your application's output exceeds this setting, PHP+ a3 M1 i+ H! r0 _( J' w6 ]3 ^% e& J
  215. ; will send that data in chunks of roughly the size you specify.
    1 O* u& A! T3 f& _. M; }! {: M
  216. ; Turning on this setting and managing its maximum buffer size can yield some/ V) M, {# K/ Q
  217. ; interesting side-effects depending on your application and web server.
    $ c  p- i$ M1 G, h5 H
  218. ; You may be able to send headers and cookies after you've already sent output0 O" A/ P7 U, Q; R( K% e7 L. l! g
  219. ; through print or echo. You also may see performance benefits if your server is
    + j1 N& w6 T$ \1 y
  220. ; emitting less packets due to buffered output versus PHP streaming the output, I6 D: C4 C% l: t
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% m4 ?# v5 Q; ?' g5 \- c
  222. ; reasons.
    # ], M* u6 {- N( r# _/ I
  223. ; Note: Output buffering can also be controlled via Output Buffering Control3 F' ?# ?+ y9 M9 S6 l, w: ^
  224. ;   functions.
    : E* Z" N+ B8 M& V1 P& I
  225. ; Possible Values:
    8 p( h5 L0 Q& \# C& o
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    " R2 b/ k) g4 c9 R  @: L. r6 H
  227. ;   Off = Disabled* U# X) E3 O7 Y" ]) Y: m
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.; i, b$ a8 `1 h' s1 j) Y9 V
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . J8 R6 @5 ^2 d1 B4 Z/ ^- ^
  230. ; Default Value: Off
    0 V" X. N+ V* T( T' i$ h
  231. ; Development Value: 4096
    # I) p0 r: N9 E9 \6 x7 b; a9 Y
  232. ; Production Value: 4096
    6 C: [2 u1 _& H: v; p0 T  q
  233. ; http://php.net/output-buffering9 H1 v1 C9 J6 D' S( E; y
  234. output_buffering = 4096
    % D" e# i; M4 L4 Z% D
  235. ; Z- z7 G3 {* N( J9 k
  236. ; You can redirect all of the output of your scripts to a function.  For
    6 g! p, y4 n# |1 G
  237. ; example, if you set output_handler to "mb_output_handler", character
    $ ]! o, C' K7 A8 _2 X, J1 P$ z
  238. ; encoding will be transparently converted to the specified encoding.6 Z* ^6 t3 r- X' J  F
  239. ; Setting any output handler automatically turns on output buffering.
    9 Z3 Z$ l. U* Z& s% u* w
  240. ; Note: People who wrote portable scripts should not depend on this ini
    / e+ d$ \3 c& n$ F3 V. s5 L* q* B- Q
  241. ;   directive. Instead, explicitly set the output handler using ob_start().& u! a0 F% b7 T4 b, q$ S3 ?
  242. ;   Using this ini directive may cause problems unless you know what script
    $ q3 i2 |) Y1 P( e
  243. ;   is doing.
    7 g) c# w" x2 @+ ^; j
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    * M/ h! d5 L8 G  u
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + j0 w' U# S9 [! G/ u
  246. ; Note: output_handler must be empty if this is set 'On' !!!!! Y  S" F* o# J+ k, ?) E* M
  247. ;   Instead you must use zlib.output_handler.8 Z- p( n! v4 ^. I' T* D+ j
  248. ; http://php.net/output-handler
      t/ L( e" }; b: z2 y( _9 J/ r
  249. ;output_handler =9 ?+ f8 d! u, g; ~: k

  250. ! v" r/ E$ u$ q( K/ J/ E* _$ t
  251. ; Transparent output compression using the zlib library5 c9 e4 L) o! O2 X# k
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    0 a! D* ^9 n  p+ I
  253. ; to be used for compression (default is 4KB)
    . U/ i0 ~2 F3 M+ B1 x% i! r% o
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP( V% H# f: O5 ~$ O) O2 A
  255. ;   outputs chunks that are few hundreds bytes each as a result of7 k$ `7 X" M+ d. E& @
  256. ;   compression. If you prefer a larger chunk size for better
    6 q# e7 C9 P+ o0 t1 c
  257. ;   performance, enable output_buffering in addition.
    1 j4 |, c/ `$ n% q
  258. ; Note: You need to use zlib.output_handler instead of the standard
    + k' n* T! w/ Q, J  G5 N& W, L! R
  259. ;   output_handler, or otherwise the output will be corrupted.
    ) D5 W, S. p4 }4 [, p( d, x
  260. ; http://php.net/zlib.output-compression2 o* a+ c; Y! i& S
  261. zlib.output_compression = Off0 E9 C  x8 P$ n
  262. " q1 D0 N' Z; m$ r0 P7 l: C, b
  263. ; http://php.net/zlib.output-compression-level( w8 ]0 m; O7 R$ I% u
  264. ;zlib.output_compression_level = -1) Q6 b8 b+ X; X  ^  n9 _* q0 C

  265. 3 C3 _6 X% \; t- b, `
  266. ; You cannot specify additional output handlers if zlib.output_compression# G( d2 U# Q. ?  Y' h8 w
  267. ; is activated here. This setting does the same as output_handler but in
    + d/ f9 u2 F; `/ l8 ~4 ^
  268. ; a different order.
    1 y8 D' }- {& G# z1 `; e
  269. ; http://php.net/zlib.output-handler% j: L; i- u4 `: C* ?& D6 Z8 Y
  270. ;zlib.output_handler =
    1 y; u3 w' p+ X7 {$ m* ]4 h
  271. + k5 k. V1 L0 P# a' U' ]& r
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 C- K6 r- g2 h9 h0 q! Y
  273. ; automatically after every output block.  This is equivalent to calling the
    " X7 N, n9 N. D% |0 C  D* ?. u
  274. ; PHP function flush() after each and every call to print() or echo() and each) S; ]1 e+ p6 ?6 n( G* J+ m
  275. ; and every HTML block.  Turning this option on has serious performance8 s+ Z9 P4 s6 g6 P( h* B
  276. ; implications and is generally recommended for debugging purposes only.
      j2 ~+ k$ T8 H' w) P9 Z* z
  277. ; http://php.net/implicit-flush
    ) Y: A. }0 E* D  b& b& h
  278. ; Note: This directive is hardcoded to On for the CLI SAPI8 c6 g1 I/ D9 Q6 q2 D8 v
  279. implicit_flush = Off# Q3 m4 ^" i# t3 F, A5 a$ J

  280. 3 h0 i  a3 \, Q) @! G
  281. ; The unserialize callback function will be called (with the undefined class'
      Y8 _  Z1 v0 Z/ a
  282. ; name as parameter), if the unserializer finds an undefined class; |; |1 j8 O! r
  283. ; which should be instantiated. A warning appears if the specified function is
    # |( s$ s2 H6 e
  284. ; not defined, or if the function doesn't include/implement the missing class.
      x, U, B( q' b% `
  285. ; So only set this entry, if you really want to implement such a& m; L! N( E3 ]% T' h+ b5 M
  286. ; callback-function., V$ e, `# |& p6 x+ W+ Q6 ?
  287. unserialize_callback_func =
    9 Y+ M8 g+ g7 }" a# N- {

  288. % [# F, U: ]+ H+ T
  289. ; When floats & doubles are serialized store serialize_precision significant
    5 U2 n- {+ R3 X" @. u5 [; ^* \, Q
  290. ; digits after the floating point. The default value ensures that when floats
      l) T2 q3 X8 O1 z3 W
  291. ; are decoded with unserialize, the data will remain the same.
    - B& g7 X% `! k& Y* x
  292. serialize_precision = 17; o5 b! l& b% R5 Z. F5 A# n! |

  293. % k" J8 }+ D- T; L+ \# m' X2 I) U
  294. ; open_basedir, if set, limits all file operations to the defined directory3 _( B, w- K- d& p
  295. ; and below.  This directive makes most sense if used in a per-directory# y: u3 ]1 ~5 ]. j
  296. ; or per-virtualhost web server configuration file.% P6 n4 h5 x/ S/ T4 p
  297. ; http://php.net/open-basedir
    1 L( i7 J" @1 u5 I! e
  298. ;open_basedir =2 w' c$ `  Z1 h4 H

  299. 5 j$ C" N1 g9 X. ~6 }
  300. ; This directive allows you to disable certain functions for security reasons.
    : S6 ^' K: C! n6 ~
  301. ; It receives a comma-delimited list of function names.
    1 w, t/ l! Q( N- a. l# z9 S
  302. ; http://php.net/disable-functions
    2 Y: s; \) F1 _/ h, d" O9 T
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru2 P$ d6 G0 j) ^3 p

  304. % ]' C, R6 ?$ E7 R
  305. ; This directive allows you to disable certain classes for security reasons.
    # d* X- ]9 U4 ?# Y6 e" Z3 t
  306. ; It receives a comma-delimited list of class names.
    ) d" _! t: z# G/ m
  307. ; http://php.net/disable-classes
    - Q7 y6 K  e$ y/ D0 h! L6 |, }& |& K5 X
  308. disable_classes =& e/ v& G) q5 m& |- |
  309. 5 E/ g/ v5 t1 d, y# d
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    8 m' h' X5 H, u9 O* f$ Y
  311. ; <span style="color: ???????"> would work.
    3 U+ h! @. C" D( V0 k" Y6 T4 i
  312. ; http://php.net/syntax-highlighting0 x  l3 t4 l% r$ ^& T* N) \" e
  313. ;highlight.string  = #DD0000
    & f+ U) w- M1 e9 Z4 p
  314. ;highlight.comment = #FF9900
    7 V# \0 E; k) R6 T: c1 g8 G7 h
  315. ;highlight.keyword = #007700- N2 x' u! T, N* {: G' ]  `
  316. ;highlight.default = #0000BB. R0 X4 ~& t, `9 m- d0 ]& t
  317. ;highlight.html    = #000000/ k2 v6 n! p: z7 }
  318. ! ^( n0 y7 X2 S) S
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ; [! V# |2 c" |9 K8 y* {; S- D
  320. ; the request. Consider enabling it if executing long requests, which may end up3 i* u( q, @0 E" E- ~; ~
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior" d5 N  s" p4 m
  322. ; is to disable this feature.
    ) k+ o& O- _4 _$ W; l
  323. ; http://php.net/ignore-user-abort
    " Y: F3 p8 M0 x7 G! q( c0 _) Y
  324. ;ignore_user_abort = On
    5 }9 C2 x  ]( N, l' C1 ?/ v9 P2 o

  325. 9 P% P) t; l( h
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ) r4 p- h% [" S$ o4 Q7 P; f5 i
  327. ; be increased on systems where PHP opens many files to reflect the quantity of. |* m. y: _9 \5 w$ ?- x+ t. |
  328. ; the file operations performed.
    " [' r% B- ?+ R; Y8 K
  329. ; http://php.net/realpath-cache-size
    + |/ |; l4 \& U( A% a
  330. ;realpath_cache_size = 16k. X( W- a6 X) h$ Y- {4 [$ I

  331. & V* Q$ q6 |7 ~
  332. ; Duration of time, in seconds for which to cache realpath information for a given6 [7 {/ p( Z3 g8 `
  333. ; file or directory. For systems with rarely changing files, consider increasing this) X1 G$ g% q" J+ ~6 @
  334. ; value.
    / f/ ~+ Y' A) ~0 O6 h* J
  335. ; http://php.net/realpath-cache-ttl) f# g. G' ~4 c; {8 {
  336. ;realpath_cache_ttl = 120+ a, E6 y: n  ~& d/ l( o

  337. 5 F0 J, S6 V; S* Z
  338. ; Enables or disables the circular reference collector." `7 j9 G9 {9 T% a6 \$ M1 `
  339. ; http://php.net/zend.enable-gc6 R2 ^2 l7 c& A7 i- O5 E
  340. zend.enable_gc = On
    : H4 H2 d: I4 s4 h

  341. 9 D0 ]9 G7 q# @1 [" E2 _' e
  342. ; If enabled, scripts may be written in encodings that are incompatible with: f1 m  _4 o9 q" z5 Q9 l
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such% d: d0 p9 {9 u, r2 _2 I0 F- p" o) q/ O
  344. ; encodings.  To use this feature, mbstring extension must be enabled.% ~2 {0 r$ v; [/ ]# W
  345. ; Default: Off, P( }% h* A2 {$ p/ g, d
  346. ;zend.multibyte = Off" u2 Y; j  P& C3 o- ]0 H3 R
  347. * h7 x% V' H9 B
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    / Z: u! j* ?$ R$ U, {+ ]" k$ V
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.5 x# }5 w( }6 @
  350. ; Only affects if zend.multibyte is set.: M. U) G3 P7 N
  351. ; Default: ""& r: `2 k! l* x: H4 d7 `  D
  352. ;zend.script_encoding =
    5 s" n$ o$ f# N9 y' T1 G  ~
  353. 1 W* W8 y$ C4 n! Y# v3 ?* h
  354. ;;;;;;;;;;;;;;;;;
    ) R7 {7 Q0 C( H
  355. ; Miscellaneous ;7 h. ~# O. s/ S: v3 K7 x3 b
  356. ;;;;;;;;;;;;;;;;;! l# c, o3 ?  a3 x9 t2 Z" W
  357. 3 ^& h, j  V6 g9 l
  358. ; Decides whether PHP may expose the fact that it is installed on the server+ @0 s& {- H, r
  359. ; (e.g. by adding its signature to the Web server header).  It is no security7 }* j5 j( R0 [! q! g! P/ ^
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    - w$ n3 r$ ~2 \) z
  361. ; on your server or not.
    0 L( V& S5 P3 m) j, x4 T0 q) B
  362. ; http://php.net/expose-php
    1 K! J4 B" r& y9 ~% F: C  H/ b; v
  363. expose_php = On- ?5 E; P4 @* @" ^7 @' k
  364. , c, W$ R2 i8 L1 J. g& D3 p
  365. ;;;;;;;;;;;;;;;;;;;0 e! c5 x7 v( S8 R7 |! }8 g& U) T
  366. ; Resource Limits ;! D/ u+ Y2 k8 O6 A& T
  367. ;;;;;;;;;;;;;;;;;;;
    0 V- w9 K; N1 ~$ ^& X

  368. ) S  x; j& B0 l
  369. ; Maximum execution time of each script, in seconds
    & B6 k9 X5 r% V8 D) X5 x
  370. ; http://php.net/max-execution-time
    : |: `6 p- x) i  W
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ y+ I. I9 m, Q- d( t" M
  372. max_execution_time = 300
    , V: W4 X" u8 F0 {9 I9 `
  373. , F3 y$ F9 A, b! F5 ~% v3 M
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 p7 W0 G- J) p" M; L
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly9 h+ M* r8 D& N) r4 V
  376. ; long running scripts.. M1 X8 ^8 ~6 Q; m+ @1 T
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI  v1 n, L* I/ _' r/ E1 S
  378. ; Default Value: -1 (Unlimited)8 E" N6 M. C6 ?5 b+ J  ]  V
  379. ; Development Value: 60 (60 seconds)
    / N! w- U  j( t" `) u
  380. ; Production Value: 60 (60 seconds)3 M+ N# G; e3 O1 B+ B, @
  381. ; http://php.net/max-input-time9 g+ R/ A" g# a; p! a
  382. max_input_time = 60
    8 t. {3 w. f# ~) s8 C

  383. 0 u1 b( R7 O3 l. W8 L7 X# v' H
  384. ; Maximum input variable nesting level
    " }1 K+ s# c1 L& @5 P
  385. ; http://php.net/max-input-nesting-level
    2 p! ^! H0 v3 f, l8 Y. Y
  386. ;max_input_nesting_level = 64
    # }6 {. N% J' }8 U3 i# |/ _
  387. " @( \0 ?4 r: p3 m) p+ M
  388. ; How many GET/POST/COOKIE input variables may be accepted' i+ Y( u- {2 r! A: q
  389. ; max_input_vars = 1000$ B$ x+ D0 c; S9 }* N" ^9 ]& j
  390. ( j- ~" T& m: @( J1 Y: Z
  391. ; Maximum amount of memory a script may consume (128MB)
    5 G9 S# K2 C7 B& Z
  392. ; http://php.net/memory-limit
    5 ^9 `% P+ k9 R3 }" ^8 s/ w
  393. memory_limit = 128M2 M& ~0 y7 h" a4 j2 n
  394. : J# g- E0 u+ m! N: t8 A4 U
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( H' x% C3 ~6 m, ?/ O
  396. ; Error handling and logging ;5 }; @( p5 P, Q" n5 h: h  A
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. j6 }/ f& C1 u. _5 T# S
  398. 9 f/ {8 G$ M. e
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    3 U# _% T2 f9 [' b
  400. ; it to take action for. The recommended way of setting values for this8 T3 r0 S/ {" r; `- Z. v( K& ]
  401. ; directive is through the use of the error level constants and bitwise# o, g, }$ h5 m
  402. ; operators. The error level constants are below here for convenience as well as
    % \6 H4 z% x5 d0 k  w  a! Q6 \% M8 \
  403. ; some common settings and their meanings.
    . q, L5 S% W* f0 N) I, O
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT9 R! R8 ^; |' p( ?! C; K; D
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    , N8 u8 P  r% K# n" E) H" c" I, M0 U
  406. ; recommended coding standards in PHP. For performance reasons, this is the, M, E- D$ T! _  ?) }% N
  407. ; recommend error reporting setting. Your production server shouldn't be wasting2 j; Q  U% V8 G& h, L3 ?; w
  408. ; resources complaining about best practices and coding standards. That's what
    ' h7 ~3 o" O2 b' l4 y9 K! M; b
  409. ; development servers and development settings are for.
    : M/ i( r& v* |: P- e+ L. d
  410. ; Note: The php.ini-development file has this setting as E_ALL. This7 ?& T# d/ {* l) G! b1 A4 p
  411. ; means it pretty much reports everything which is exactly what you want during! E! n' `& x' n2 ]7 C8 F$ ?
  412. ; development and early testing.
    / x# s' B0 U% z! _$ F+ K) y
  413. ;
    1 k3 a0 h; G$ W4 f4 M# _  o, T3 P" \
  414. ; Error Level Constants:! k/ }& q! G& l9 d% `( ?$ ?
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    # u" w6 Q0 k. T6 i* @* `: |' s
  416. ; E_ERROR           - fatal run-time errors
    ) {' G. R1 V3 A  y2 h  d
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / ~! ~+ W) g! J7 B
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    9 n6 Y, c  c, e/ U- a. @) g, ?
  419. ; E_PARSE           - compile-time parse errors
    9 G3 s3 o# g, {4 C" x. _
  420. ; E_NOTICE          - run-time notices (these are warnings which often result8 ?$ v! B2 e4 ^
  421. ;                     from a bug in your code, but it's possible that it was/ T. V. R5 o' D9 T1 h9 x& l4 T
  422. ;                     intentional (e.g., using an uninitialized variable and
    5 b/ A; V. u& s5 `
  423. ;                     relying on the fact it is automatically initialized to an3 R- A1 E8 \) S  X
  424. ;                     empty string)# ~, @& ?) W) R! X' j
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' E( e: q5 i- ]
  426. ;                     to your code which will ensure the best interoperability
    1 i8 l0 Y: ^- w3 R
  427. ;                     and forward compatibility of your code
    7 q" f+ }% H: [: R$ q# g
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    * S% [) N8 Y/ a: O& c
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + K- F) P3 F8 s& H- p
  430. ;                     initial startup
    & |1 b; F3 B3 e! c* d5 k8 {
  431. ; E_COMPILE_ERROR   - fatal compile-time errors) F1 \+ d4 n, A1 b6 y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    3 z6 o% q0 T5 O- Q$ |5 P: @4 e  P
  433. ; E_USER_ERROR      - user-generated error message/ ]6 R) n1 w5 H- F6 C% `
  434. ; E_USER_WARNING    - user-generated warning message
    7 J' o" {  h* E9 Q. C' W/ [9 y$ z
  435. ; E_USER_NOTICE     - user-generated notice message
    ; N7 D% h6 Z( J+ ^9 W; U
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    8 i+ }/ {9 B, G
  437. ;                     of PHP) x8 z$ u( W9 |: Q5 u* |1 E( s9 q( }
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings& L7 J$ ?, t3 @" {& t
  439. ;; f! Z/ W/ A+ n9 e
  440. ; Common Values:4 J9 o3 p2 P( T9 `
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    / o% y. V  |, d+ a: X% R/ u9 f- g( W
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    3 }. O. q! Q& J* ^3 S$ R
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.): E! u  N" A- o' e  p
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)) r& s+ w4 q7 J; j- O
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 }& Y" @3 v! D  W* W) X' U/ U
  446. ; Development Value: E_ALL
    / Q6 L  g  r/ I+ Q& L) C
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      h  \- t' O3 c# b* u
  448. ; http://php.net/error-reporting0 i* @4 j7 G+ o4 h
  449. error_reporting = E_ALL & ~E_NOTICE
      Q0 C6 C! R: h6 M; l* }. T

  450. 6 |8 X) J: U. b# I! _
  451. ; This directive controls whether or not and where PHP will output errors,
    4 J, X4 |9 i4 [( k% u. T
  452. ; notices and warnings too. Error output is very useful during development, but6 @5 U+ `5 O6 W4 v' h0 I
  453. ; it could be very dangerous in production environments. Depending on the code
    1 B! B+ h# T" m0 W* }
  454. ; which is triggering the error, sensitive information could potentially leak. C0 h$ G1 W, O& ?
  455. ; out of your application such as database usernames and passwords or worse.
    7 C( l# C' U& \( C
  456. ; For production environments, we recommend logging errors rather than
    : _) ]. T+ e! I* K! s0 N" b7 E
  457. ; sending them to STDOUT.
    0 ?( Q' O. j$ _7 D2 B- l
  458. ; Possible Values:2 ]. Y  Y5 z7 I2 [) C$ ~% F
  459. ;   Off = Do not display any errors+ o& h( [! j- a5 v& w
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)3 R. z0 J1 y7 L8 C& [# }
  461. ;   On or stdout = Display errors to STDOUT) W. u- w1 I9 g, m3 p7 H9 V
  462. ; Default Value: On
    / ?+ W1 _+ Q6 Y
  463. ; Development Value: On
    9 U4 j; H3 ^7 N- g
  464. ; Production Value: Off
    7 p7 l6 i7 n: g& M
  465. ; http://php.net/display-errors  x/ h6 W9 T+ c% s+ ^& s
  466. display_errors = On
    - q+ c, f/ s# }1 z% p7 _3 C
  467. 7 S: l' M, Q# \$ y$ z+ B) ^0 D
  468. ; The display of errors which occur during PHP's startup sequence are handled1 }- A2 L% [7 J0 \5 _/ `1 Y
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    9 S& K. Q# @% q7 U" V* {# I6 h1 V
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    " Y4 ]( A; q; [  X+ y
  471. ; debugging configuration problems. We strongly recommend you
    # A; F0 i. Z8 _& g: w
  472. ; set this to 'off' for production servers.  |0 |3 i4 W& ?4 u% D
  473. ; Default Value: Off
    ' ^# E. k6 x* x5 ]0 k* o% W
  474. ; Development Value: On6 D! w0 g; O! ?2 i* _
  475. ; Production Value: Off+ F6 d* [7 h/ `) V( ~8 k
  476. ; http://php.net/display-startup-errors
    ) _1 L( M7 e8 p( x
  477. display_startup_errors = Off
    # {3 T4 _* j$ w; {
  478. 2 z2 a. P& N" ~  L. E
  479. ; Besides displaying errors, PHP can also log errors to locations such as a- T# t; M2 f4 t, l1 K
  480. ; server-specific log, STDERR, or a location specified by the error_log9 y' M3 E, U6 `! d
  481. ; directive found below. While errors should not be displayed on productions
    ' v: K. ~* V, m4 J7 s: C; M  Y/ j
  482. ; servers they should still be monitored and logging is a great way to do that.7 r+ B( y7 {" _9 z, o  e+ Q
  483. ; Default Value: Off* X  e- v, |$ v3 b* ^9 O
  484. ; Development Value: On
    9 Z( [. u1 J- K- v& K8 |  b
  485. ; Production Value: On3 b' J, U( ~, A- F  y
  486. ; http://php.net/log-errors+ t3 x  F  ?% c2 T- R
  487. log_errors = On6 N7 {5 ~. X* M3 {6 m! J3 b
  488. 4 A3 z- X) C7 j/ Z8 v) h. H6 T# j
  489. ; Set maximum length of log_errors. In error_log information about the source is
    1 ~  U; h' v9 C# }0 X$ K; h
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all., d$ T3 U, O6 P4 A5 ?: k
  491. ; http://php.net/log-errors-max-len
    5 y7 D6 C$ M8 n' `7 }  A! }
  492. log_errors_max_len = 1024
    5 c9 n. Z6 v7 ?$ {: q0 I

  493. & W( w7 U" {* r1 w) H8 q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; ]' A2 D$ M' ?+ F" n2 ^( q
  495. ; line unless ignore_repeated_source is set true.. b0 b" j$ s5 L1 F9 \: f) \
  496. ; http://php.net/ignore-repeated-errors
    1 d& w0 c) {/ b/ x/ ?; }
  497. ignore_repeated_errors = Off
    $ S& r$ k# F+ a* w7 F1 t# B7 i* S( [

  498. $ v9 h& a, V. W; G  O9 T
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    " N% U% _3 k% R/ K6 o9 l
  500. ; is On you will not log errors with repeated messages from different files or3 b$ |  J' [4 d. x5 h; O' s8 }: o
  501. ; source lines.
    ) @0 b0 i/ l2 N8 [7 V
  502. ; http://php.net/ignore-repeated-source
    # ?5 |  m' L  E! f& C9 K5 T4 M
  503. ignore_repeated_source = Off- m- y$ T) Z6 k

  504. 9 I9 y1 `" O) v
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on5 f- A' n( u( w4 a  S% ^$ P- S
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    . T! K: C8 T8 K, V- i) [
  507. ; error reporting includes E_WARNING in the allowed list
    # F1 }, j$ M! U! _+ _
  508. ; http://php.net/report-memleaks& f  w7 ?* B; u+ N
  509. report_memleaks = On) @" }" B: q8 X+ m' P7 K( ?
  510. 0 y, Q0 ^1 F" E  t' O2 C) o0 I  d
  511. ; This setting is on by default.
    ( m9 B1 }. v) f5 I; S
  512. ;report_zend_debug = 0
    ' }9 m' i/ r. E, @9 w
  513. 3 L7 p0 V3 W- C- E+ S
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
      J0 V$ u. _- _: j0 ]
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    1 M$ l3 @9 z8 b$ O- I! o3 A6 G
  516. ; however be disabled on production servers.& b# e3 w" Z3 d. y" G% w7 R$ J) E
  517. ; Default Value: Off
    . Q8 R9 c4 n8 g% @" q2 ?$ y
  518. ; Development Value: On
    2 n# ?! v: [( ^- Y
  519. ; Production Value: Off
    1 K7 R4 r, z2 @( K( c
  520. ; http://php.net/track-errors
    . V# h2 Q) _+ a* N9 a5 i: t
  521. track_errors = Off
    , n: t+ V7 |/ t1 j- C$ e* M$ b

  522. " d  c- [$ h1 B5 c- Q+ s4 m
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ; }% r( M: @: G
  524. ; http://php.net/xmlrpc-errors
    # ~# ~$ y; P' p- V- W( o+ ]
  525. ;xmlrpc_errors = 0$ D, F/ B. R* y8 `3 f7 A" e
  526. 9 Q0 V1 x$ P3 m) X3 @0 `" O; R
  527. ; An XML-RPC faultCode' A- R& v# O; C) F
  528. ;xmlrpc_error_number = 0
    ; w: w0 L6 Q$ J* K6 G
  529. - z! b( u1 P, {3 h# F+ }  g
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    1 K5 T, q( [! E. }* J8 |
  531. ; error message as HTML for easier reading. This directive controls whether
    7 t4 D; ~3 o0 H, |1 O4 Y, h2 P6 d
  532. ; the error message is formatted as HTML or not.1 w: ?8 u! r; _4 K+ ]: ^  ?
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI: v1 g; K+ x. G7 h
  534. ; Default Value: On6 O6 V7 u" K2 I3 z8 y
  535. ; Development Value: On7 g) }3 A; I+ S# z
  536. ; Production value: On
    6 e: j- {  v. j& o; \( d* _
  537. ; http://php.net/html-errors2 c( [$ V3 @6 B+ }/ M( d# t; ^
  538. html_errors = On- M9 ?: S8 y. J, [7 q. R

  539. : T: {, O' r9 [7 o$ i
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP4 ~0 t. p- [8 [- N' \+ X  ?- ?
  541. ; produces clickable error messages that direct to a page describing the error# `. o1 o  \/ A3 a7 r, x
  542. ; or function causing the error in detail.
    5 b! M  m. Y; }- M- t) i: F' ~
  543. ; You can download a copy of the PHP manual from http://php.net/docs+ d4 q7 t+ L( v: u" r9 J
  544. ; and change docref_root to the base URL of your local copy including the
    3 a7 G8 V( b% P! K4 c
  545. ; leading '/'. You must also specify the file extension being used including
    ! G; y* {3 H0 o; l2 F& ~6 R
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ' S+ j- x# \+ g" i/ l+ ?9 N* V$ Z
  547. ; case no links to documentation are generated.
    1 @* A- Y( \! ^
  548. ; Note: Never use this feature for production boxes.0 J# `8 f; I" D! G& ?1 w4 \
  549. ; http://php.net/docref-root
    & X' x( L9 c5 e5 c
  550. ; Examples* d" C( k& R% o1 e- O3 i
  551. ;docref_root = "/phpmanual/"
    # R  i! D5 n5 v9 d1 B) J: G

  552. , a' J/ o2 X( c3 Z& s' G5 i/ Y8 M
  553. ; http://php.net/docref-ext* H) t2 C- o; d$ Y$ v
  554. ;docref_ext = .html
    ! I! ]& p# S# S* {8 N5 D

  555. 5 w0 [4 x4 I, M2 T5 ?/ M$ u1 w
  556. ; String to output before an error message. PHP's default behavior is to leave) ]- j  N/ x0 @) n" _0 o  V  V
  557. ; this setting blank.
    ) F, m% P) v8 R4 j
  558. ; http://php.net/error-prepend-string2 y5 M8 F; y" I' Z& p) A+ ?  w
  559. ; Example:% B/ j" H' X3 y2 j2 s& P
  560. ;error_prepend_string = "<span style='color: #ff0000'>"5 b! h# _  h8 B9 T1 n' P* o

  561. , Y9 W- q4 v. ]$ v6 \* E
  562. ; String to output after an error message. PHP's default behavior is to leave& o$ ^( y& Z6 M& U5 r$ \
  563. ; this setting blank.% u0 Y; [: z  z% }7 u) Y( w
  564. ; http://php.net/error-append-string1 R5 l- `5 @- L
  565. ; Example:# ^* O4 N5 w+ y/ x) a
  566. ;error_append_string = "</span>". p7 @# |. I, c
  567. $ }1 ?. P0 ^" C- t$ q$ r
  568. ; Log errors to specified file. PHP's default behavior is to leave this value7 e; W$ y" B9 u. \' L$ k  u, `# i/ L
  569. ; empty.
    2 N" j& R2 u. I
  570. ; http://php.net/error-log
    - ^4 g5 x7 g! n7 b1 C
  571. ; Example:; r; C7 o9 b  c. S1 w
  572. ;error_log = php_errors.log
    " x5 P' h! z( m3 \+ e1 Z4 d
  573. ; Log errors to syslog (Event Log on Windows).
    ) U& [8 }# E5 d% G  P/ Q# K- v
  574. ;error_log = syslog
    $ Y) H+ l5 `5 D. J7 c, Z

  575. . e; T  j& z' T
  576. ;windows.show_crt_warning5 I3 p$ ~" N0 i3 w3 f- e  x, g
  577. ; Default value: 0
    ) t' X. G/ s5 D
  578. ; Development value: 0) z& Z6 f$ X8 K9 }! c8 z4 M$ u9 L
  579. ; Production value: 0* A% Z9 C: {  S8 n& w* z
  580. ) V$ z: v, z1 ~' J
  581. ;;;;;;;;;;;;;;;;;; B4 ~3 ~. I" l
  582. ; Data Handling ;
    $ G: K6 z( @; M3 E! |' \, `
  583. ;;;;;;;;;;;;;;;;;0 ]' I+ d$ l2 |# [, [- Q" E

  584. + y6 G3 i9 A+ o; s2 R) x
  585. ; The separator used in PHP generated URLs to separate arguments.
    & U- x* u8 z3 Z+ l' y; n2 W2 x- [
  586. ; PHP's default setting is "&"./ G* {: ~* G- ?# s' q7 z6 H
  587. ; http://php.net/arg-separator.output
    5 M) n; D1 q9 n
  588. ; Example:9 H: m, C& s% [7 [# Y9 I4 X
  589. ;arg_separator.output = "&amp;"
    1 c; A0 w% P8 W# A6 o7 q

  590. " i2 k8 E$ p; W' O8 b- a
  591. ; List of separator(s) used by PHP to parse input URLs into variables.8 c5 C: n( R# ]! |4 Z) X$ }) [
  592. ; PHP's default setting is "&".$ u8 p( ]+ j0 s6 l, K
  593. ; NOTE: Every character in this directive is considered as separator!
    $ B/ R$ ~4 q! l; c+ \/ h7 d3 {
  594. ; http://php.net/arg-separator.input% _6 s0 J- o4 W* D6 W' F9 D
  595. ; Example:7 R4 B% \/ _+ D* f' p# m" J
  596. ;arg_separator.input = ";&"
    ! D& Z! G! f3 p, x
  597. 1 h& Z% x: ^/ S5 r- I+ g2 G
  598. ; This directive determines which super global arrays are registered when PHP
    * X" m7 B* T! K: j$ H5 }; T0 ]
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super: I. h3 g) o! o- ?2 U  X6 n2 W" g+ u
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    4 ]: p; @: X' w
  601. ; paid for the registration of these arrays and because ENV is not as commonly' ^  N4 m# b3 B3 F
  602. ; used as the others, ENV is not recommended on productions servers. You3 w. c0 C( V  K5 r1 m
  603. ; can still get access to the environment variables through getenv() should you
    ( r: v5 S( i+ C& F1 I
  604. ; need to.
    ( n+ O8 |6 B+ |& r
  605. ; Default Value: "EGPCS"
    - N9 W  n% P! C- g" c) n) F
  606. ; Development Value: "GPCS"" {+ G9 C5 _/ w& x/ K4 h' z: W
  607. ; Production Value: "GPCS";: X  u' |# r' _! T: \3 k+ r
  608. ; http://php.net/variables-order
    ; p4 j& x2 |0 _% W% N! H0 l& Z
  609. variables_order = "GPCS"& q: y. ]& }7 w

  610. 6 p1 t/ V4 Z# \7 t
  611. ; This directive determines which super global data (G,P & C) should be
    8 j# Y; y( T( c4 a
  612. ; registered into the super global array REQUEST. If so, it also determines
    # _' r+ e- i6 _6 ?
  613. ; the order in which that data is registered. The values for this directive
    0 F1 ~$ N: U9 n8 K
  614. ; are specified in the same manner as the variables_order directive,
    : ~* k( z4 O8 h4 s
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set% U8 j8 D, @# }' B" V: v" [
  616. ; in the variables_order directive. It does not mean it will leave the super" y& h( U5 L% b4 H. S5 y' ?
  617. ; globals array REQUEST empty.; v1 m; `/ A. E5 x
  618. ; Default Value: None
    2 x% h! D# B) ^& ^8 \5 \% i+ t
  619. ; Development Value: "GP"
    5 `6 _7 a* t8 r! E. s9 l
  620. ; Production Value: "GP"
    " R/ g- L% F* b& i8 W5 S
  621. ; http://php.net/request-order. R7 i0 S2 m0 E- k/ W3 v% [
  622. request_order = "GP"
    ; y, y; G  J: U/ W+ P

  623. ; q' H7 l' f( _
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    4 R; `/ J7 Y: h: E, K
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
      }1 t: t6 h* ]1 v8 R' X  T- A6 X% s" ?
  626. ; is invoked. $argc contains an integer representing the number of arguments. m# @1 B9 D! f3 t5 u1 g
  627. ; that were passed when the script was invoked. These arrays are extremely. x0 W5 a, ^) `$ Y$ z* y6 K
  628. ; useful when running scripts from the command line. When this directive is
    % Q) w0 _' W; Q) X( Y
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    : p0 J6 L" x  `' A
  630. ; a script is executed. For performance reasons, this feature should be disabled
    2 e9 l3 a$ M! k* v; |9 c
  631. ; on production servers.6 U$ W6 t* D+ @$ s1 {
  632. ; Note: This directive is hardcoded to On for the CLI SAPI9 Z& u2 w2 X3 p
  633. ; Default Value: On
    9 N2 n; g  Q/ N& v
  634. ; Development Value: Off9 Y# x1 ], q% L9 ]
  635. ; Production Value: Off! D9 l8 y3 ?; T( I- j) P
  636. ; http://php.net/register-argc-argv
    2 C/ k- i# R& r0 n4 R/ n% c+ c7 A( y
  637. register_argc_argv = Off
    6 j1 ]4 j: T: j8 |- n
  638. 8 S8 e7 z% ^& h* u9 f) t5 O
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're. A, ~* `" {1 d7 w# l0 B' c
  640. ; first used (Just In Time) instead of when the script starts. If these
    $ Z4 ~  Y' V( k' \' M
  641. ; variables are not used within a script, having this directive on will result: [/ w+ K) j4 f2 X0 [6 |3 O
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled8 L. ?% w+ p1 f8 P) Q
  643. ; for this directive to have any affect.
    , j! x8 n* o" w/ C
  644. ; http://php.net/auto-globals-jit
    2 m9 W0 L$ w4 v2 i/ B/ z
  645. auto_globals_jit = On- y/ E0 z$ M4 U5 g& [/ h: s

  646. ( V; c. c/ `  m8 }
  647. ; Whether PHP will read the POST data.! ]/ T! c) s1 ]% h
  648. ; This option is enabled by default., ^" g) h! }- l
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 L8 E# ]+ `- U
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    0 ]/ I, _. ], J9 S. [7 D8 O3 Z2 f
  651. ; POST data will be through the php://input stream wrapper. This can be useful; V+ x! m9 k( V  Q. ?
  652. ; to proxy requests or to process the POST data in a memory efficient fashion./ d2 }5 |- t1 U0 Y7 O8 P+ u
  653. ; http://php.net/enable-post-data-reading3 U' x3 ]8 n0 A) E+ K7 K
  654. ;enable_post_data_reading = Off( V4 \1 N+ N  }; r* i/ U
  655. 3 A; A9 }7 g& w, `+ L
  656. ; Maximum size of POST data that PHP will accept.
    - I, D% U) E2 {7 `' u: |4 g: V
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading0 e: I3 k0 z4 e( C
  658. ; is disabled through enable_post_data_reading.
    ! a0 D; B8 C. o+ B5 I) i1 @8 F! o+ t
  659. ; http://php.net/post-max-size5 o. `- Z) t2 n, A0 L
  660. post_max_size = 50M
      k3 @7 M2 y1 ~3 H  s

  661. % ]% v0 A4 ]. w0 l4 I% b" i' H
  662. ; Automatically add files before PHP document.
    3 H9 W% E8 {' H/ c
  663. ; http://php.net/auto-prepend-file
    % A4 ^' l  T# l' i6 j
  664. auto_prepend_file =5 o( ?) G) p' o$ U: p( o

  665. % M$ @2 P; G, A" B
  666. ; Automatically add files after PHP document.4 n6 P: X% w) c- s% d
  667. ; http://php.net/auto-append-file# y7 W4 {4 L8 W
  668. auto_append_file =
    8 }0 ^. R  D# F0 v

  669. 2 G; o- Z' r( g- }. @& i8 D. j7 K
  670. ; By default, PHP will output a media type using the Content-Type header. To
    + g  Z6 k8 m: z' s) _
  671. ; disable this, simply set it to be empty.
    . \5 _% o, ^# A( K# E4 [& s1 I& U
  672. ;
    ; l: y5 }$ p& x6 |. k7 f! y
  673. ; PHP's built-in default media type is set to text/html.( E5 H2 }7 j9 i: M* Z  e: c2 M2 r
  674. ; http://php.net/default-mimetype5 G# U) g" T3 d  m/ t5 T
  675. default_mimetype = "text/html"
    ( o9 P+ p; K  W; f
  676. ( y& m* V3 Y6 W$ k- x
  677. ; PHP's default character set is set to UTF-8.
    * f& G% J- f3 L) G8 s5 c
  678. ; http://php.net/default-charset
    - m. |7 B% ^2 w- m- @
  679. default_charset = "UTF-8", W, O6 ~$ }6 J$ z2 \

  680. * ]3 X- u3 ^- k8 S" a
  681. ; PHP internal character encoding is set to empty.
    ; k  u% i, G) N5 ]0 I$ u+ ~2 r
  682. ; If empty, default_charset is used.& [9 a1 ^7 X& _
  683. ; http://php.net/internal-encoding  D1 Z9 r4 ~4 N
  684. ;internal_encoding =" H  P  V# X% i5 e

  685. 3 V6 M' L3 F2 i) R2 T/ [
  686. ; PHP input character encoding is set to empty.) j, N! u; t" ?# W5 v  N! O
  687. ; If empty, default_charset is used.3 d8 ^) l0 R  p  {9 s' E9 n7 s& p
  688. ; http://php.net/input-encoding7 U  |; z6 f! C" O
  689. ;input_encoding =8 n) c' C" Y4 G& a5 c

  690. " P7 Q) ?4 w/ h6 D% T7 L
  691. ; PHP output character encoding is set to empty.
    - l* G& P. b. O' X
  692. ; If empty, default_charset is used.9 g/ k/ Q; N, v2 \4 C( b
  693. ; See also output_buffer.! X* K" f" r( i: D
  694. ; http://php.net/output-encoding
    # S0 Q8 i$ T) D& m7 Q
  695. ;output_encoding =6 i" e- N4 z) P" q8 D

  696. ( Q, g8 Z. i( i+ M' f/ b4 Z9 C
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is: u  r3 H6 r& ]5 {# z) Z3 r) {( ^. h( A
  698. ; to disable this feature and it will be removed in a future version.' F( q, H+ Z3 Y* `$ i' ]6 ~
  699. ; If post reading is disabled through enable_post_data_reading,
    ( o3 L' x- H& E5 ?" r1 G
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.( ~/ g5 X# h( r6 D
  701. ; http://php.net/always-populate-raw-post-data
    2 c' m" F; f# l: c5 J
  702. ;always_populate_raw_post_data = -1
    2 Q- w0 F1 S1 F8 o! v' a* }4 |
  703. 0 v3 ]) W& D4 J" U( d' `/ n4 Z8 A
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;1 @/ T! D$ ~+ r
  705. ; Paths and Directories ;6 B4 ]; r: ~0 E+ j  u& @; b2 q
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : Q: K$ F  J1 d1 ^  A5 R8 `
  707. ( _9 j& Y) M% X' l3 ^/ B7 F
  708. ; UNIX: "/path1:/path2"
    8 ?+ Y* E! U, u3 d3 R0 f7 ?
  709. ;include_path = ".:/php/includes"2 O! q/ y) M2 h' W/ [3 }# b9 e
  710. ;2 E! q. X8 C2 T" y
  711. ; Windows: "\path1;\path2"
    0 U; C9 Q5 \# v3 j% x' i
  712. ;include_path = ".;c:\php\includes"+ P9 X. s' ]- R; j2 S
  713. ;( u  P( X% V; p5 x- p0 r. W: t
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    2 _/ K; \; J3 \. P- ]$ D
  715. ; http://php.net/include-path
    ) j9 J1 Y2 V! m( G0 w

  716. % A3 W2 e; v: P
  717. ; The root of the PHP pages, used only if nonempty.
    8 F; f6 t' }% v, s$ a$ K
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 A9 Y  p& y9 V  G& ?& f" q1 ]
  719. ; if you are running php as a CGI under any web server (other than IIS), K$ p; E3 T" R( L# ~
  720. ; see documentation for security issues.  The alternate is to use the
    : F  I# M. l& o. z+ k
  721. ; cgi.force_redirect configuration below# x# I* z) a0 X. [
  722. ; http://php.net/doc-root
    % f9 u. W! _$ ^8 O# H  G
  723. doc_root =
    9 ^7 @) ]8 X' r3 N

  724. , h0 J$ B! d# l# Y, E* J1 u' |
  725. ; The directory under which PHP opens the script using /~username used only
      T2 _! [, c+ \# e, Y
  726. ; if nonempty.# s& ]  g  u% Q& U
  727. ; http://php.net/user-dir
    7 p6 |) R" l0 w# T+ j+ f
  728. user_dir =2 q- V' f& _7 ]% O
  729. + L. H" I, x9 e: ?* S% ^/ H
  730. ; Directory in which the loadable extensions (modules) reside.
    1 a* G: \; c% r' G- A4 s
  731. ; http://php.net/extension-dir1 M5 ^0 W2 z1 h4 d* {
  732. ; extension_dir = "./"
    : q8 F2 c" l2 d
  733. ; On windows:: }/ X! n4 ^9 T/ c. a
  734. ; extension_dir = "ext"
    5 Z" O+ |% r& D$ c% _
  735. ! u) C9 s; h! B# }7 ?  H
  736. ; Directory where the temporary files should be placed.
    6 Q3 @5 a. K# ^% |, q
  737. ; Defaults to the system default (see sys_get_temp_dir)
    " b, N; F% R' [7 X- L+ N% j& k& O4 ?0 G
  738. ; sys_temp_dir = "/tmp"
    : v; V$ i" ~" ~0 M+ |3 U) [, Y% O8 m
  739.   c9 M7 `' O: \; ~
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work+ V! B7 _9 B  }7 k' W& D4 p
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( A+ u, Q6 ]9 N! C8 y$ D
  742. ; disabled on them.. z5 e" ~6 R! B( c: |7 w
  743. ; http://php.net/enable-dl# z% a* ?5 `" o# B! e
  744. enable_dl = Off& }; V. i2 E1 ?! T/ h6 ^

  745. 3 C, A+ P9 H+ t4 H# _/ P% z0 x/ K, O
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under5 K( i$ b3 l" f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / d  I) r5 C& i
  748. ; turn it off here AT YOUR OWN RISK0 K. N/ [  D% r& S' l) c; m
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 F! G: m' c3 b8 F  U/ e
  750. ; http://php.net/cgi.force-redirect+ W* `2 k& ?, n/ f: J
  751. ;cgi.force_redirect = 14 P0 c/ ]. O$ R$ \, V' a$ y% d

  752. * M! {4 X8 w( Q% F- P
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with9 f+ r6 [: m+ g; o4 N/ z0 p% i+ k
  754. ; every request. PHP's default behavior is to disable this feature.1 G# i9 P+ \  E- p( W
  755. ;cgi.nph = 1
    : Z0 D* S) v0 b  Q+ g" k# {
  756. 2 K9 l9 h. S+ ]6 P7 c9 m
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape, L2 O( E$ D  L) Q
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP8 E( o" u6 |$ k- k4 a+ B9 b
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    7 t2 B2 h: S6 I* _% k+ \1 H
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! d& K$ I6 x6 [
  761. ; http://php.net/cgi.redirect-status-env. N  R5 |* u' u1 a5 g
  762. ;cgi.redirect_status_env =
    $ ~+ P+ L2 k6 g& D* t
  763. 4 L2 K* K& I- k' L
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's: A' L+ w0 p+ e# S, z
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    8 Q% U# `* j3 X7 \' E
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    $ `; q/ a6 Q$ J+ {3 S6 }( Y
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 T3 s0 [+ P: l2 |% V9 E( ~
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# ^8 k$ j+ ^6 z" m
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.2 d+ G6 q- z8 m% }
  770. ; http://php.net/cgi.fix-pathinfo
    # H2 P5 ~* R! e7 a& L# Q+ y$ h1 B
  771. cgi.fix_pathinfo=1
    # t/ ?, w: d' n2 h4 X3 Q" l

  772. ; Q, [" V3 [- U1 X  w) z
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 Q( ^4 z" \7 J, z. i
  774. ; of the web tree and people will not be able to circumvent .htaccess security./ T0 U$ l$ E2 M. m1 ~
  775. ; http://php.net/cgi.dicard-path! G) U# `; m0 y+ `0 ^% C: I( t9 W
  776. ;cgi.discard_path=10 l% J) \, l7 ], a7 X6 ]
  777. 9 t& g# Z) {+ {* ^! S4 h
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate" b9 g) ]7 Q8 W- S3 o
  779. ; security tokens of the calling client.  This allows IIS to define the  P' f$ K( y. `' O8 z% D5 M# v
  780. ; security context that the request runs under.  mod_fastcgi under Apache8 i) u( N, E2 J# v# U& h
  781. ; does not currently support this feature (03/17/2002)
    % x) j( f% p4 j4 N7 ~$ s) `& D0 g
  782. ; Set to 1 if running under IIS.  Default is zero.
    ) f; e- H+ }* S, w! X2 z5 Q3 U/ D
  783. ; http://php.net/fastcgi.impersonate
    . K1 u: ]2 ?# l/ C# t( x1 n
  784. ;fastcgi.impersonate = 1( e: m& y1 j  \

  785. 3 A$ P! ^' w, }+ L
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) x. f: a7 `  p' q: j/ H7 B
  787. ; this feature.
      p7 a+ c. [' Y1 h- x
  788. ;fastcgi.logging = 0
      d7 n! o2 |  j
  789. 4 I% N( S& P& R6 _9 m) h
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    6 J* }0 ?' N* H+ G, a8 ^4 n
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    , B' P" Y$ p3 o' X5 n
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    8 r8 q- [6 I. O' Q3 e1 T3 l
  793. ; RFC2616 compliant header.4 e  a4 Q- q$ c3 u
  794. ; Default is zero.
    $ |0 P1 z8 }5 ^, }  I3 ]
  795. ; http://php.net/cgi.rfc2616-headers3 W8 R8 a+ k; E8 O* z
  796. ;cgi.rfc2616_headers = 00 C7 B0 h1 r: J( S7 \- |- I

  797. + O+ n' ?* @$ j4 e5 I) G
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& L0 O: o* z# B% R2 g
  799. ; (shebang) at the top of the running script. This line might be needed if the
    * S, `0 E) g1 {" B/ @
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI! Q# Z# A! F! V
  801. ; mode skips this line and ignores its content if this directive is turned on.* E# e6 Y7 W$ V3 R+ I
  802. ; http://php.net/cgi.check-shebang-line' x2 ~* L$ Y+ y4 e: J6 u
  803. ;cgi.check_shebang_line=1
    & F( C  i# b# N

  804. / v0 M* g3 L8 {/ g8 y
  805. ;;;;;;;;;;;;;;;;
    6 c, W; j7 z( T* l3 O, P6 r: E/ W1 O
  806. ; File Uploads ;
    8 R8 V- k$ f  q, p4 [
  807. ;;;;;;;;;;;;;;;;4 N0 Q- C& l& U. J% G9 W

  808. ; @( o4 g6 G' ?- `+ j
  809. ; Whether to allow HTTP file uploads.' j% L1 l8 F" j& S' T4 Z, Y& U
  810. ; http://php.net/file-uploads  ~' s* f# }5 z$ J+ G
  811. file_uploads = On0 X+ ]: d) V! |' e

  812. ; W5 B3 ~# L# y2 q7 N- n0 K
  813. ; Temporary directory for HTTP uploaded files (will use system default if not' C7 K$ ^9 H! L2 K: V
  814. ; specified).4 d7 v2 [: q/ M2 R: H3 D% E  a- u
  815. ; http://php.net/upload-tmp-dir# f! I/ i) ?, O& a9 c$ E2 l8 Z
  816. ;upload_tmp_dir =
    & h* J$ z  D+ v& C" m

  817. 0 @4 c/ W* V) i
  818. ; Maximum allowed size for uploaded files.
    # s# u! b$ i2 q. G* T5 \2 h
  819. ; http://php.net/upload-max-filesize2 T& m0 s9 @/ z  r
  820. upload_max_filesize = 50M
    % d4 H1 p, G( R; K; K  X( a) H5 w( U

  821. 5 Y- |1 u4 Y* Z0 K/ y* o1 C
  822. ; Maximum number of files that can be uploaded via a single request& w+ z- h4 u3 `+ f) h# A# ]* a( J- n9 T
  823. max_file_uploads = 20
    : a- b9 X9 u% Z

  824. * k. b5 O2 [5 E2 N
  825. ;;;;;;;;;;;;;;;;;;
    * `/ M+ a2 V, F* u9 A& n
  826. ; Fopen wrappers ;5 W6 t. H0 U5 N3 U, S5 L9 L
  827. ;;;;;;;;;;;;;;;;;;
    ( b6 J6 |' {% n

  828.   X) n4 A" G/ c. f1 z! R
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.9 l& U  O7 Y2 m+ ]
  830. ; http://php.net/allow-url-fopen4 j5 c9 P9 h* [$ S2 e
  831. allow_url_fopen = On
    ) R# x/ A! n% e* @

  832. ! W) L& ?. ^' c
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.7 v. B# F9 ~; @* Y- J0 S+ Y" t, e
  834. ; http://php.net/allow-url-include
    3 d4 n$ }9 W5 n- P
  835. allow_url_include = Off" a9 P1 w7 C- |1 c

  836. $ d: s" j9 P& }: A$ C
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    , L$ w+ n+ L. ?4 S$ X5 D
  838. ; for this is empty.( q! N  M5 c: E6 v9 [2 L9 U4 T6 b
  839. ; http://php.net/from$ n+ a( ]% D6 G; \$ }& }/ i0 l7 Q
  840. ;from="john@doe.com", v9 m- \& m! h4 P
  841. 8 g; A- c7 p6 e. {6 p
  842. ; Define the User-Agent string. PHP's default setting for this is empty.% Z! C* l2 U: l' g' l- A
  843. ; http://php.net/user-agent% _2 }* s3 n# v$ E* b3 d& x, I
  844. ;user_agent="PHP"
      ]6 O1 z: u! b, e0 a
  845. & u6 ]  o. ~; E$ ?* q
  846. ; Default timeout for socket based streams (seconds)
    % l, j& y0 p2 k/ u. F" _. m
  847. ; http://php.net/default-socket-timeout
    2 V( K$ x# q; D# P+ Z% Z+ `: C9 z
  848. default_socket_timeout = 60
    0 j+ l( T$ ?  w3 p7 v
  849. ' W" {! t& Z4 @) ^* e# N+ ^+ A- N; Y
  850. ; If your scripts have to deal with files from Macintosh systems,, e3 `1 [) I" z$ _7 L7 y
  851. ; or you are running on a Mac and need to deal with files from
    ' w+ a* X0 r8 ]* Z7 k% t
  852. ; unix or win32 systems, setting this flag will cause PHP to  l9 }% B. X/ D$ G# i* i
  853. ; automatically detect the EOL character in those files so that
    ; @  M6 U) M& u! _# P
  854. ; fgets() and file() will work regardless of the source of the file.
    : X$ }& s1 p3 D" K. r3 `" y
  855. ; http://php.net/auto-detect-line-endings
    + u! U$ G: I  k# E4 E4 W
  856. ;auto_detect_line_endings = Off
    # ~/ n7 p% z# _  z' _/ l7 j# v  k% C! G

  857. ! M! {  w5 Z' p% `& ]
  858. ;;;;;;;;;;;;;;;;;;;;;;
    . |9 N/ T' E# r- E: c" E
  859. ; Dynamic Extensions ;3 }9 m6 s. n% f1 p- c2 t
  860. ;;;;;;;;;;;;;;;;;;;;;;" ]" ~( e- B7 _' v6 [
  861. 8 K0 H1 A# ~4 g6 a# s6 B
  862. ; If you wish to have an extension loaded automatically, use the following
    + N& J  @2 e' S+ d
  863. ; syntax:
    7 @8 `7 {- h# ?! Y9 h9 ^. @& h# U
  864. ;
    0 Q5 |+ J( I- w/ U, V
  865. ;   extension=modulename.extension& ?+ ?; y5 D( G( A* |
  866. ;
    , ?4 h5 u  D" O9 h8 D. r
  867. ; For example, on Windows:: c9 [" }; _3 q( ~4 P
  868. ;- |/ B: |4 p% Z4 l$ L) E7 Y8 W  t; G
  869. ;   extension=msql.dll
    5 p* ]) l2 F0 p. D& g6 a
  870. ;
    / w: o2 j- @/ N7 c! c
  871. ; ... or under UNIX:% w; c3 n) g/ T4 T3 P- |
  872. ;
    ) z1 |$ j+ V8 b- r# k
  873. ;   extension=msql.so1 U0 Y+ y5 S. L2 L& y( b( W
  874. ;5 K+ U$ t& ^* P, u
  875. ; ... or with a path:
    - _$ U$ q7 h8 i# o2 l& q
  876. ;) |0 Y  g. Z. c- v
  877. ;   extension=/path/to/extension/msql.so( V/ _7 w, q1 o! V1 n
  878. ;4 h  R( w  C- T: c1 h4 B
  879. ; If you only provide the name of the extension, PHP will look for it in its
    + s5 y5 T8 V5 [
  880. ; default extension directory.2 {! [' X' i/ G' [7 e
  881. ;
    3 Z( A( C9 w! ~2 w$ G
  882. ; Windows Extensions
    8 V  K, R9 G- d$ ~1 G/ [
  883. ; Note that ODBC support is built in, so no dll is needed for it." s. n) T7 `+ ~% f# M& g) V5 j
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    & `1 N* l; h4 S0 W, a$ D  e
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    3 O" p% A0 Z; s' S: Y
  886. ; Be sure to appropriately set the extension_dir directive.! m% h7 r0 q; l9 S9 I3 y
  887. ;" X9 M* @% L" T
  888. ;extension=php_bz2.dll
    7 A: B& z/ s7 D- o
  889. ;extension=php_curl.dll
    , w, u, v4 A! D3 ]+ p
  890. ;extension=php_fileinfo.dll
    * r7 \) ]. b7 [8 u7 X+ ?& k/ W
  891. ;extension=php_gd2.dll  w: Z- f/ m. n: q/ W: r
  892. ;extension=php_gettext.dll
    ; r" `6 _$ H7 ~6 _
  893. ;extension=php_gmp.dll
    5 y1 ^7 M* w0 c9 O/ y+ Z( Y; x
  894. ;extension=php_intl.dll5 o! T  ?- K9 c& U+ {3 t7 H. A
  895. ;extension=php_imap.dll+ n" s' C) h4 P. c
  896. ;extension=php_interbase.dll  b4 Q' O8 [7 b9 T, {/ ]/ D& q
  897. ;extension=php_ldap.dll, V, k/ _" S/ M/ {! ^9 Z
  898. ;extension=php_mbstring.dll6 P# B/ p% o# \& n# \5 m( `
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    + d" d6 X- s, E: v
  900. ;extension=php_mysql.dll+ e: i' I6 K& l
  901. ;extension=php_mysqli.dll9 T. o, w. l5 S' E0 ^8 P6 x; x. ~
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    5 K2 C. E4 _5 F4 S
  903. ;extension=php_openssl.dll
    ) H, r/ X* N$ A2 D2 j, A
  904. ;extension=php_pdo_firebird.dll: G! V* P6 [( c! Y
  905. ;extension=php_pdo_mysql.dll
    + ?+ ?" L6 c: T0 R3 L
  906. ;extension=php_pdo_oci.dll; T$ L( [) ~, u. K3 x/ ]; _
  907. ;extension=php_pdo_odbc.dll+ p. c0 _+ N3 H7 ?1 [4 U! u6 h4 t
  908. ;extension=php_pdo_pgsql.dll
    , F+ q5 q5 P. W
  909. ;extension=php_pdo_sqlite.dll  b' o9 `1 G/ \2 r5 W- D. J
  910. ;extension=php_pgsql.dll: z* A7 z. i8 a: w9 f$ p
  911. ;extension=php_shmop.dll6 P* M* `$ B* ^# Z

  912. : Q: ^7 n0 y* h8 T% B1 [
  913. ; The MIBS data available in the PHP distribution must be installed. . Z0 U! `$ G& v1 d
  914. ; See http://www.php.net/manual/en/snmp.installation.php ! j" i: O! X2 l
  915. ;extension=php_snmp.dll% M* Z/ P' k: R5 e2 }( p. @6 ^
  916. 4 y" f6 p4 ?, \, t* q
  917. ;extension=php_soap.dll
    ; T8 s$ c: M- o5 ?; t; U- m
  918. ;extension=php_sockets.dll
    ! H* E% H) T, h* A" L- S7 x% B
  919. ;extension=php_sqlite3.dll, ]  C9 ^  f, M3 _" z7 n6 |
  920. ;extension=php_sybase_ct.dll
    # n& T* c7 W: l) h+ _
  921. ;extension=php_tidy.dll
    0 t2 a2 x- B$ u
  922. ;extension=php_xmlrpc.dll1 g4 e* v1 E  o- k
  923. ;extension=php_xsl.dll
    0 @) j3 O$ E! Q# J* Z: ?
  924.   L3 F7 L$ a2 J" c% a& X: H
  925. ;;;;;;;;;;;;;;;;;;;
    % u* N- ?- {& e: R
  926. ; Module Settings ;
    6 f. k% y4 @5 H; e( Z4 R5 G$ Y
  927. ;;;;;;;;;;;;;;;;;;;
    - }& u  A0 |' Y+ ^7 m" Q

  928. 8 |" q. F* k5 ?% m# W
  929. [CLI Server]( p5 v4 L, x' z: ?
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
      e7 p6 O! O0 s! j! {, ~- k
  931. cli_server.color = On7 l* s' X2 S% V+ g: ?! D  r

  932. & c; J+ x/ j: l* B" N  @, d. ^
  933. [Date]# t: z& b' c- K( g9 V: P
  934. ; Defines the default timezone used by the date functions
    1 `1 m2 K+ y0 ?8 i8 I3 n: f- `
  935. ; http://php.net/date.timezone% k0 q$ T7 t) j( `
  936. date.timezone = PRC
    . @  Z. ^8 \8 p1 I, x

  937. 2 Y( l7 _) ]0 m6 T/ _
  938. ; http://php.net/date.default-latitude7 s( a! [& L/ D0 ?6 ?
  939. ;date.default_latitude = 31.7667
    4 U9 h$ X9 m5 N; J  x, K% h

  940. & N. n' x* c8 A) R
  941. ; http://php.net/date.default-longitude
    ) |: l' P* Y- [  J" p& S( ^; J
  942. ;date.default_longitude = 35.2333
    0 R7 }, l) i2 J: e$ Y

  943. 3 M+ a! B) K) R" a! j. a! V" g$ d# e
  944. ; http://php.net/date.sunrise-zenith
    $ X2 w# ~$ ]/ \, I( \
  945. ;date.sunrise_zenith = 90.5833333 N. N/ @1 F$ y+ E8 c& \* Z

  946. ; E. N2 Z1 _( H; Y) D+ S" a/ W3 H
  947. ; http://php.net/date.sunset-zenith
    & @# y" S0 g6 ~* A" u
  948. ;date.sunset_zenith = 90.583333
    6 Z/ ^6 l3 @9 u2 N
  949. / w& g* C( j& V- c
  950. [filter]
    6 R; Q- M6 C/ \$ p/ [
  951. ; http://php.net/filter.default
    % Y6 V& ]5 N4 `+ y2 ]+ U
  952. ;filter.default = unsafe_raw  ]  X8 I* N& f. Y
  953. 8 y: b$ z: E" ^4 M# a
  954. ; http://php.net/filter.default-flags/ s/ K- s! a* f8 Q4 A
  955. ;filter.default_flags =
    " Q; j; S  _8 g3 H1 ?3 ~" z  M

  956. * z" u- L* w/ W$ }5 g" s6 n" B+ O
  957. [iconv]9 m, C, p4 O. Z# P1 y
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % e0 m# g$ |, e) t& R# w. x
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.1 d0 A8 y$ \) e2 t4 C5 F
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, d) Y5 V, q$ M5 |  B' n3 f
  961. ;iconv.input_encoding =
    ) B: f0 w# G/ C4 O

  962. 1 w& }9 k2 ?2 H, y) W. J6 f2 s
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 D: h! }( i  r
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 B, q8 p7 a- X1 u0 |6 C% Q
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 T2 I" G3 C9 Q& g: r
  966. ;iconv.internal_encoding =4 O% m* |: `4 a9 w2 |

  967. 7 d& m2 J3 i% U& t) U
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.( d0 X$ X7 M% K9 F5 y# `8 d
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    - }; V9 z) K9 W2 |
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding0 N; Y, {+ M1 v  w8 ?$ D, Y
  971. ; To use an output encoding conversion, iconv's output handler must be set
    6 ]' C9 ]' O0 k
  972. ; otherwise output encoding conversion cannot be performed.+ P4 }5 W: r8 G6 s1 r
  973. ;iconv.output_encoding =
    9 V  Q! M' k2 J/ R% z
  974. 7 J" f) h$ S6 }6 p
  975. [intl]' y' L' y" c7 o9 e5 @" j+ o
  976. ;intl.default_locale =
    0 ~6 |. A( r1 N" V$ y3 n- f
  977. ; This directive allows you to produce PHP errors when some error
    ) J% t, L" \$ Y2 G8 Y+ n0 `& x
  978. ; happens within intl functions. The value is the level of the error produced.
    - q& H, u: y+ |% O8 j
  979. ; Default is 0, which does not produce any errors.
    0 X3 w- X& I7 A, j/ V
  980. ;intl.error_level = E_WARNING
    ! a& l* T; h" p" f1 h
  981. ;intl.use_exceptions = 06 b$ ]" s. Y1 m% ?7 Q4 U! J, f

  982. ) d% `; }" Y. Q3 [( P7 m4 a
  983. [sqlite3]2 U; ^3 l+ [6 }
  984. ;sqlite3.extension_dir =; @, D+ P+ L4 k+ b. G7 ]% ]% Z9 O

  985. : b5 ~2 \5 G2 g5 w+ M
  986. [Pcre]* ^9 B  r3 ^6 u5 W# R0 _9 n& u
  987. ;PCRE library backtracking limit.2 ~$ G  I: [7 }# {$ d) {
  988. ; http://php.net/pcre.backtrack-limit- i; `6 Y+ l' m4 F7 ]' \1 O; ?
  989. ;pcre.backtrack_limit=100000; u- h4 ^& ?: e9 G$ D2 e
  990. ; q9 m; t% u$ l* J6 f8 X" i4 q
  991. ;PCRE library recursion limit.1 z2 L0 f: }1 H4 V
  992. ;Please note that if you set this value to a high number you may consume all
    ( i  v# j2 ?# I2 b, [+ L
  993. ;the available process stack and eventually crash PHP (due to reaching the
    & A: }  X1 }% U! I1 t
  994. ;stack size limit imposed by the Operating System).( [! q' H3 ]& \# s8 R  c! @0 [- N
  995. ; http://php.net/pcre.recursion-limit$ j$ }4 b+ o9 ^( a# b. l! U. X
  996. ;pcre.recursion_limit=100000
    ; o) d  c, o7 S$ F2 Q6 }8 f

  997. & a2 W/ J3 O; R# L7 r& C8 {9 O
  998. [Pdo]7 i! m; f5 n! k% Q4 F
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ F- }& O% x/ `# Y2 K' D3 m  W) M
  1000. ; http://php.net/pdo-odbc.connection-pooling
    1 I* v0 F0 V4 t- ?# U" @( j; g
  1001. ;pdo_odbc.connection_pooling=strict
    8 u7 J6 o6 ?9 L

  1002. 9 L5 @! C7 q  z+ k
  1003. ;pdo_odbc.db2_instance_name
    ' E3 F3 d" V: u3 v/ R
  1004. 8 G! {# F- O2 L
  1005. [Pdo_mysql]8 f& i; z8 ^# s
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 d3 i& S2 G5 R7 N
  1007. ; http://php.net/pdo_mysql.cache_size
    ( A; k3 S5 }: L7 v* ]1 a- O2 s
  1008. pdo_mysql.cache_size = 2000# E% y+ n: ?1 Y2 L9 E0 g) d

  1009. - [( [2 O4 Y/ z; t" K: A
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * t/ k" p- u, ^; P; x+ K
  1011. ; MySQL defaults.! ~3 x9 N8 Z/ v& u2 o1 s
  1012. ; http://php.net/pdo_mysql.default-socket0 j9 j7 X8 X8 |
  1013. pdo_mysql.default_socket=6 J. a# J- d- o8 N
  1014. ! r* A& q: r7 S( M5 O
  1015. [Phar], k/ f. T: [8 b8 y  L1 z0 q2 c
  1016. ; http://php.net/phar.readonly9 w( Z) R- N1 k7 f7 }/ M
  1017. ;phar.readonly = On
    2 Q4 x. _1 ]5 \! T

  1018. " y, m. G4 z' t  s' X& Q9 }
  1019. ; http://php.net/phar.require-hash2 Z9 M) d$ b& D* h* O; I  _# k& ^
  1020. ;phar.require_hash = On
    , b* W2 ^: {8 }: ~

  1021. % E+ n  m5 Y! o6 x% _- n, r4 c" p0 w
  1022. ;phar.cache_list =+ N+ r+ T/ j& n8 ?

  1023. # b; v: ?' M# W: ^( K
  1024. [mail function]
    5 x# D: a3 G# S/ a8 O$ R
  1025. ; For Win32 only.! a% G& l$ \% C6 x  ^# Z
  1026. ; http://php.net/smtp
    ; ?' m$ `8 k" @% v% {$ K4 y5 e
  1027. SMTP = localhost/ ~4 A+ D/ O+ P
  1028. ; http://php.net/smtp-port
    $ v: C9 i, j- K' ^8 d6 w3 O
  1029. smtp_port = 25
    ' E" D+ Y" s' ^6 L, c& O' u

  1030. # F6 v( ~0 w! t9 r! t0 R
  1031. ; For Win32 only.- v5 @" |! A5 c) P$ t$ z5 k0 u, x
  1032. ; http://php.net/sendmail-from8 P3 w( K+ ?$ G( ?) e) }
  1033. ;sendmail_from = me@example.com- S9 r( X) H9 N% k5 B

  1034. ! l+ p. p* B/ g6 f/ K5 y% h: ^
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 G& ]) }& `; S5 E. \2 U9 m
  1036. ; http://php.net/sendmail-path1 Y5 F8 N3 \9 ~- |
  1037. sendmail_path = /usr/sbin/sendmail -t -i5 h" R2 a$ p5 |% S
  1038. : v6 B. A5 Y0 n$ @. k+ N, G- }
  1039. ; Force the addition of the specified parameters to be passed as extra parameters: N& \$ W) Q# b) p" h
  1040. ; to the sendmail binary. These parameters will always replace the value of
    " D& x% V2 ?) v- u# {" h2 w* ]
  1041. ; the 5th parameter to mail().
    / ^$ Y7 P, Z' }
  1042. ;mail.force_extra_parameters =
    / {: e- t0 U( W8 m

  1043. * l) p" ?8 X! `7 m# K) S* A
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" ~4 P$ Y* B/ u7 K, j6 r; Y4 C
  1045. mail.add_x_header = On
    ( _# ~5 K! k9 r4 u1 ~  M

  1046. 2 I* q& E4 ~$ v7 _! Y
  1047. ; The path to a log file that will log all mail() calls. Log entries include. y( R' f% G, W$ r4 }* f7 S
  1048. ; the full path of the script, line number, To address and headers.( ^# C" R* _  m; Z8 U
  1049. ;mail.log =
    5 f6 l* k' I8 ?0 }+ x. H; H4 S
  1050. ; Log mail to syslog (Event Log on Windows).6 `1 d9 t# a" q8 G. r7 D
  1051. ;mail.log = syslog6 j% q+ t& r1 z

  1052. & Q% Z6 t8 I) t1 B4 l
  1053. [SQL]
    , P# |. X9 |0 i
  1054. ; http://php.net/sql.safe-mode9 O# Y- e+ w. r+ t* h6 S0 o* u
  1055. sql.safe_mode = Off
    / E7 f  z( V: h; e" \& a
  1056. + ^( v7 c$ h% U; M& F0 p
  1057. [ODBC]
      j/ W% u; N+ M& i4 T4 Q
  1058. ; http://php.net/odbc.default-db) a$ \! w1 N% w/ m! P8 K
  1059. ;odbc.default_db    =  Not yet implemented. G2 `# k4 V# q) Y0 p
  1060. ( p$ o! J1 e2 j5 x6 g
  1061. ; http://php.net/odbc.default-user/ [$ n* r( r: i: |5 A
  1062. ;odbc.default_user  =  Not yet implemented0 H0 T/ H2 O2 ?
  1063. 4 s/ \# Y/ p6 v+ S) m
  1064. ; http://php.net/odbc.default-pw
    & ?8 v' V5 J3 I1 l+ |4 \% v: E
  1065. ;odbc.default_pw    =  Not yet implemented- A1 h4 [% Q) B2 e

  1066. ! E4 s- |% N( a, R4 ?/ ]
  1067. ; Controls the ODBC cursor model.
    0 c8 y5 c/ U3 s8 d  [/ _
  1068. ; Default: SQL_CURSOR_STATIC (default).
    & U. _- c0 _! E! G% R1 Q4 a- V
  1069. ;odbc.default_cursortype
    * c- U9 a. g# ?$ h7 w

  1070. 8 z* y2 a9 v! v, z) A  M( y6 H
  1071. ; Allow or prevent persistent links.0 Q1 V/ w! A5 h
  1072. ; http://php.net/odbc.allow-persistent- Q1 V7 |# g' h, k# U: _2 \
  1073. odbc.allow_persistent = On* ^, `3 {3 O: r

  1074. 9 n! ^6 q+ s) R4 ]" t: P0 ?" y
  1075. ; Check that a connection is still valid before reuse.
    3 @; r+ K2 E5 S5 s  V/ Q
  1076. ; http://php.net/odbc.check-persistent
    - A% @0 J4 n9 Y- ]7 I
  1077. odbc.check_persistent = On
    9 w) H7 h, g( D- i5 ~" k) L

  1078. , O! u+ C8 l  w: J/ @. G* ~0 z: y. |
  1079. ; Maximum number of persistent links.  -1 means no limit.
    $ W4 g6 J& X* n7 s4 M- T6 l8 I# F
  1080. ; http://php.net/odbc.max-persistent
    ' r; Q. m# p2 V% c2 Z8 `! k& C4 F; r' d
  1081. odbc.max_persistent = -1$ m" Z9 s$ F" A& U( b" h( s/ R

  1082. ) H4 ^' c$ d5 _$ V! Q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 f: c! l! h& O7 t# ?+ b
  1084. ; http://php.net/odbc.max-links
    / {5 ~5 H' J, m! p
  1085. odbc.max_links = -1
    ' _4 A% S; ?/ Z* X5 f7 T! M
  1086. / l0 p8 }) S! d! X' Q8 L7 {* h: u
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means! I( a+ H, e, l0 P# b
  1088. ; passthru.! L% A* f4 @& e( T  a# O  y
  1089. ; http://php.net/odbc.defaultlrl+ f4 M& v* K& i; M
  1090. odbc.defaultlrl = 4096
    ) j5 W9 k/ }5 ~3 @

  1091.   c2 c- ]) d) D' D5 A
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' p% F3 O8 L- X; S# z- m& D& d, `
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: K9 V7 P% o/ M8 x$ t+ M8 T
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 O; X9 z) ~" V* l) F
  1095. ; http://php.net/odbc.defaultbinmode
    + V6 j0 O5 z$ R' P
  1096. odbc.defaultbinmode = 1" v& ~% o  U3 P$ }" p6 G. S2 X) e

  1097. ; m; }  }4 D, U: \9 K+ D
  1098. ;birdstep.max_links = -11 z  b! A8 R' i% v* k

  1099. . H3 q! n4 }* n. _$ O0 V0 W1 {
  1100. [Interbase]/ h/ A, K4 @" P' K' T: L: e. u  c3 g
  1101. ; Allow or prevent persistent links.' A  h6 m, _  Q" y* O
  1102. ibase.allow_persistent = 10 [9 {/ |5 n# F% Z7 ^- T
  1103. 6 l) H4 B. z2 w+ S: k
  1104. ; Maximum number of persistent links.  -1 means no limit.1 z4 N! F, T; h
  1105. ibase.max_persistent = -1
    $ M, D6 v0 M& d5 ]/ x

  1106. 0 w3 F$ v! G7 Q1 i4 i' d
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 b4 \, s  l2 T
  1108. ibase.max_links = -1+ m) e6 f. ~$ F9 Y

  1109. 3 w# w0 S' h0 }
  1110. ; Default database name for ibase_connect().0 x4 h0 c$ k0 k- Q3 u: @# z
  1111. ;ibase.default_db =% }5 M  S9 ]3 A; ~: T: t

  1112. ' N& C0 }% e0 I6 c
  1113. ; Default username for ibase_connect().
    9 r  W  G# H7 L% x
  1114. ;ibase.default_user =
    " _% k6 |6 H/ o

  1115. 7 y$ A% h) `. M9 s6 \0 k! G
  1116. ; Default password for ibase_connect().
    : ?0 T& G3 U6 X
  1117. ;ibase.default_password =
    ! o/ [! l+ @% t6 a' C( t
  1118. ! T  c/ `) k* q  T, Z$ L0 R
  1119. ; Default charset for ibase_connect().
    ; `$ m1 k, s" Q: s* l6 T" L
  1120. ;ibase.default_charset =1 o7 y4 u: \/ C$ m, {
  1121. 2 K* B8 y; Y6 N# K+ v
  1122. ; Default timestamp format.
    # f) J: ?. z4 U0 N
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * s8 n( K. n0 J" o3 P! T
  1124. 4 K+ a' }. ~; G# h5 I
  1125. ; Default date format.
    5 h. ^/ I# X3 L/ B% A1 M
  1126. ibase.dateformat = "%Y-%m-%d"% w$ E& @( m  {9 \, R5 z: E
  1127. & M0 J$ @9 ~3 M9 b# C  ~& ?
  1128. ; Default time format.
    % H1 j4 t1 I- ^2 u- r# t. V7 u
  1129. ibase.timeformat = "%H:%M:%S"
    8 ^+ s* y8 {$ w2 z( P9 q7 S

  1130. 2 m$ {' d& `9 D: E- R6 ?
  1131. [MySQL]
    " F3 _! j* m# ]
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, l7 w2 K: v( E, L& t7 g
  1133. ; http://php.net/mysql.allow_local_infile
    7 {) r1 t* ]. u
  1134. mysql.allow_local_infile = On
    , p- f  i* a5 }0 C1 N
  1135. 2 O. U: U8 n7 ~! b, z
  1136. ; Allow or prevent persistent links.: k& \2 ^" F: l& i3 O
  1137. ; http://php.net/mysql.allow-persistent8 V1 O. F3 A9 v+ N
  1138. mysql.allow_persistent = On1 L$ E- g% ]5 X) M% A
  1139. # F- O+ j, [8 f# ?* o6 S& z# F5 m
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # Q) Z8 B& P0 w3 W; Q. |
  1141. ; http://php.net/mysql.cache_size8 @6 w* t. {/ T  B, e3 A
  1142. mysql.cache_size = 2000
    # S: y0 W6 w1 v& c# m

  1143. . W1 j; [6 E' p  s
  1144. ; Maximum number of persistent links.  -1 means no limit.
    % I, o* f( Y& y5 R! t3 f$ a
  1145. ; http://php.net/mysql.max-persistent# d( p3 y, v2 Z: g7 `2 D2 K6 w5 |/ l
  1146. mysql.max_persistent = -1( d' \4 \* O/ y
  1147. 1 V5 g* b8 B6 {- y3 W+ W5 l. y8 m
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 m& L5 U$ d3 ~1 N! y
  1149. ; http://php.net/mysql.max-links1 a) t* t( V" Y4 z; g% B3 y3 M8 X
  1150. mysql.max_links = -12 L, i- x  k& x) x3 W7 y1 [
  1151. 3 a; ~# J5 G# |# H
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    5 i3 f. }6 u: Q4 g3 R
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; z/ l, U, U( R3 i5 Z) K
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " Y) ~& J! O3 d2 ^
  1155. ; at MYSQL_PORT.
    ( @7 t; Q1 j2 T; p; S& h
  1156. ; http://php.net/mysql.default-port
    $ ~' N, K7 r! v7 J* C/ d
  1157. mysql.default_port =% f. S. l  R: s
  1158.   w; Z! _. a/ w: `* g4 R2 \* ]$ ^
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' P2 H' h9 c' F" Z
  1160. ; MySQL defaults.
    & M' W7 c- V$ Q% @3 v1 B; l
  1161. ; http://php.net/mysql.default-socket
    ! g: z# V" L$ m# \9 |$ _# h
  1162. mysql.default_socket =$ B9 z; [0 S0 _8 a! d

  1163. 2 z+ @$ V0 I! D, }
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    6 b* A; e2 [0 M, l4 ?* \
  1165. ; http://php.net/mysql.default-host
    2 v; i% m6 n$ \9 g* s: L  \  l) n
  1166. mysql.default_host =9 {$ q+ E- h' _0 i2 S1 n6 k# q1 O. h6 k

  1167. 5 \3 a0 k$ p( a0 z( E
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ( P" L2 H+ G% O& F
  1169. ; http://php.net/mysql.default-user2 P) l( z! e% |) C2 ~& g1 ]% H! c/ Y
  1170. mysql.default_user =
    - \  C2 w1 i5 q9 n: ?' E

  1171. : n( i9 [7 U/ O* z4 v" q) O
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).7 h9 A6 L: Q5 p$ M" [
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    - Y+ F6 M' S- y& F- H: z
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")4 j- n0 ?" L: g8 ]. ?* B  G
  1175. ; and reveal this password!  And of course, any users with read access to this$ A! _/ R. N; R- _# w
  1176. ; file will be able to reveal the password as well.
    9 Y0 g3 G+ o/ k7 N8 e' F
  1177. ; http://php.net/mysql.default-password3 t$ |3 I8 x0 B# P7 j' O! A3 G
  1178. mysql.default_password =4 F3 j! q. P! R" X
  1179. - _$ L# L+ M& p+ a1 y9 \
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit4 q) _7 O8 E: ^* Q! A
  1181. ; http://php.net/mysql.connect-timeout
    5 A1 Y5 t! r3 H/ N' H; w1 o
  1182. mysql.connect_timeout = 60
    : P$ t  m' r* n/ S1 Z

  1183. 1 U3 d, Z) V* l. Z) {
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    3 u* V) A2 K4 i7 F5 s2 [) I. H7 m
  1185. ; SQL-Errors will be displayed.! B$ p* v7 m5 V
  1186. ; http://php.net/mysql.trace-mode
    2 H- A: L' C: F: |' D# w4 Y
  1187. mysql.trace_mode = Off; V7 `, v# y& i# T( _0 L

  1188. 5 |7 F3 Y3 n/ s; G
  1189. [MySQLi]
    3 p& g1 }8 U9 n; o
  1190. 3 Q9 [3 [- q3 l* Q
  1191. ; Maximum number of persistent links.  -1 means no limit.# z0 D& r( x0 O/ e$ L8 \2 R
  1192. ; http://php.net/mysqli.max-persistent  ?9 l* p' @( y5 Z. g# ]
  1193. mysqli.max_persistent = -18 ^4 P) V+ m! S- L$ F
  1194. 9 p% h# L" {$ r( u
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  d* l$ H& N- y3 p
  1196. ; http://php.net/mysqli.allow_local_infile5 V+ J/ k$ p+ y1 f
  1197. ;mysqli.allow_local_infile = On6 ?/ j1 u* v. x6 U* I6 f
  1198. 8 C! Q$ c# H9 Y9 j+ ~4 D
  1199. ; Allow or prevent persistent links.
    , a$ k& F( P8 R. M4 W- i) U" x
  1200. ; http://php.net/mysqli.allow-persistent- {* S- }1 z! ]* ?2 s& ^/ k! C
  1201. mysqli.allow_persistent = On% k2 O2 `! G8 k
  1202. : n- l- C2 x; Z- X2 J3 X2 x
  1203. ; Maximum number of links.  -1 means no limit.
      C0 T: j9 X! X: v
  1204. ; http://php.net/mysqli.max-links
    8 A: p- A1 S$ T( Y, Z. s% \" Q
  1205. mysqli.max_links = -1
    ) c4 b' u- C# k
  1206. ; Q0 x& C/ n9 Q/ E% j. ^! J$ i
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! ^3 Z5 x2 p( H: ^
  1208. ; http://php.net/mysqli.cache_size' V$ \  F" n$ t* V5 W6 b
  1209. mysqli.cache_size = 2000
    . T7 J& P5 ]. A
  1210. $ i4 ~/ x% e' R: }+ ?8 d9 u
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    2 e8 I7 ?* [4 i" H" b. T7 R
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 ]' m2 Q+ S- Y4 }1 o$ N2 u/ H1 \5 V
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 e1 n  \$ t6 J  M+ U
  1214. ; at MYSQL_PORT.' G5 q3 l. j# X6 ]- W
  1215. ; http://php.net/mysqli.default-port( n' c, s% v, a' }7 V! z  ?
  1216. mysqli.default_port = 3306
    6 Y* o( I# r# n
  1217. ; V! z: C. }3 h2 Q( ^! ~/ |
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / P* L" a0 j$ L) g# a8 s2 A7 i
  1219. ; MySQL defaults.
    $ M. w2 H, Y/ l+ F* p+ u3 M& E
  1220. ; http://php.net/mysqli.default-socket2 C% U& j" p  ^  }  T& O/ \
  1221. mysqli.default_socket =
    : f- P+ ?, ^( Z

  1222. 0 h. H/ [% n2 v, N* {9 t
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).- d  y$ b: s& Q* R2 F; w6 O7 J0 Z- C  y
  1224. ; http://php.net/mysqli.default-host
    0 B$ d$ G1 g4 \1 ~. I7 A5 X6 ]
  1225. mysqli.default_host =/ z- ~6 {, h9 O
  1226. 8 R1 M! k- H- l6 D5 [6 ~
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ( j" J9 v  O  x
  1228. ; http://php.net/mysqli.default-user% o: P* x. D( W2 p' C& S2 o- w9 T5 f
  1229. mysqli.default_user =8 O  o* _# z" s7 t3 [: h# V3 ]4 ^" f

  1230. 1 o, L! ~( I3 k/ A- B/ r9 |
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)., B6 r. z( ?+ C1 D
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.$ J" M4 P* e' O7 R
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"), K, \7 @9 F& _$ ~1 m8 w! v
  1234. ; and reveal this password!  And of course, any users with read access to this& \3 e$ J: u' P( b+ e0 D
  1235. ; file will be able to reveal the password as well.
    2 q2 e/ Z6 ?2 j. N1 i! I7 v
  1236. ; http://php.net/mysqli.default-pw
    : D- t( y5 [/ C3 W8 J
  1237. mysqli.default_pw =
    & ^/ s& A5 l5 q  W' J$ e4 ?7 W9 ~
  1238. 1 b$ H7 Q1 i6 h/ a8 s& [3 E
  1239. ; Allow or prevent reconnect: e2 h( |+ a% H8 T5 k+ v) [
  1240. mysqli.reconnect = Off
    + n/ [4 r- b7 |$ _
  1241. 8 j8 x. U! W( w& g0 n4 s; c. p6 `7 O
  1242. [mysqlnd]
    8 _  c$ B; O' a7 ]( t- v5 K: R1 `
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ! s( P" S$ c# N5 E8 P+ L0 g5 q8 L
  1244. ; used to tune and monitor MySQL operations.
    & a/ |7 R4 k/ N: l0 p( W" u" E
  1245. ; http://php.net/mysqlnd.collect_statistics+ \! X3 I( v+ V* W) g0 Y/ X
  1246. mysqlnd.collect_statistics = On, S0 P5 |% m3 C1 `& N
  1247. 6 E9 A7 D6 p0 D% t; K
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      z3 X- W% {) k% S$ h# N- B' {  ~
  1249. ; used to tune and monitor MySQL operations.9 m# E* G& P6 h% B) J
  1250. ; http://php.net/mysqlnd.collect_memory_statistics3 q. d( i6 P9 H# x' m9 Y
  1251. mysqlnd.collect_memory_statistics = Off9 \6 z" b5 W- X+ {
  1252. : x5 L( @5 v/ Q) z* ^9 G6 B+ g
  1253. ; Records communication from all extensions using mysqlnd to the specified log, q- G4 d0 M/ J4 p
  1254. ; file.7 p7 P7 }: }& S1 [2 X( n8 S
  1255. ; http://php.net/mysqlnd.debug
    + O2 q9 d1 s  p: ^) ^
  1256. ;mysqlnd.debug =- A( }3 H3 Z- y& \8 s( G3 L( F- l

  1257. ) f) A& \: C  S. X( z' o/ U
  1258. ; Defines which queries will be logged.
    % T( }4 }! l1 R. m4 ~" a
  1259. ; http://php.net/mysqlnd.log_mask# l# i9 b9 a, H( A5 F
  1260. ;mysqlnd.log_mask = 0* V6 d0 N9 X2 S

  1261.   @: s6 \; [) ~! @( Y  q6 r$ t" Y8 B
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " u0 J. h4 |  Q+ V
  1263. ; http://php.net/mysqlnd.mempool_default_size( d9 I/ o# n! K
  1264. ;mysqlnd.mempool_default_size = 16000
    : K9 l% P$ q. Y% e/ `/ N
  1265. 0 X9 `- }1 |0 {* \
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.7 @% P1 ?. p, z- z" J, s9 u
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size- _9 L6 r6 U  |* ?+ z. X
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    3 P) }" ?' v/ e/ h% H& X
  1269. 7 x2 D9 O8 k( M: z- Q
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    " p# y" @1 e0 Q- [6 d0 D) g
  1271. ; bytes.- f7 z" l! c2 J* @
  1272. ; http://php.net/mysqlnd.net_read_buffer_size, {9 |* V9 S- J
  1273. ;mysqlnd.net_read_buffer_size = 327681 x  t. S$ i+ p8 Z& P8 o

  1274. 8 `3 I- U% [( W! ?- w% d5 m* W
  1275. ; Timeout for network requests in seconds.- Z" a$ o0 z2 z" U6 U$ T& \8 t" B
  1276. ; http://php.net/mysqlnd.net_read_timeout' X( _$ E  P0 i6 B  B+ j! \& }
  1277. ;mysqlnd.net_read_timeout = 315360009 V* }( F" R8 V( k0 m( F

  1278. ; E+ y$ ]: c7 b4 o( h$ R
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    0 Z  V) I4 c& {2 {% C) m7 Z" z
  1280. ; key.
    . W. ^/ ~) F. a: Q) j* n4 C4 W" F  R
  1281. ; http://php.net/mysqlnd.sha256_server_public_key" n: ~  G$ E( z2 A
  1282. ;mysqlnd.sha256_server_public_key =
    ! j. r# `; A  F3 S, k% S
  1283. - M3 B2 O& Y9 n% v4 a# `
  1284. [OCI8]; p. E% `* K  k0 W
  1285. / V+ l/ ^# f- y- Z8 U
  1286. ; Connection: Enables privileged connections using external) r( ?/ y( [+ ^% G/ u3 B. R, X
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % t$ z6 `6 T: K) v# x
  1288. ; http://php.net/oci8.privileged-connect
    4 n& t. o4 ^4 D3 Q+ Y' @  r
  1289. ;oci8.privileged_connect = Off
    3 b1 A/ _- M4 Z* R! \3 m
  1290. ' j" j/ I- d! g
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    2 U/ S  Y: m! @9 B7 |' Z1 X
  1292. ; process. Using -1 means no limit.
    : \8 }1 Z6 e/ n' Y, r9 U; g# x/ \
  1293. ; http://php.net/oci8.max-persistent
    8 Z% u0 C# Z  x- `6 `$ n
  1294. ;oci8.max_persistent = -15 n3 ~. u3 j  m# M- l
  1295. # j7 H' j7 a" S' h/ T+ j3 F$ @
  1296. ; Connection: The maximum number of seconds a process is allowed to1 p$ a& v3 X7 q  B! P8 J
  1297. ; maintain an idle persistent connection. Using -1 means idle
    5 U1 _6 Z' V& m
  1298. ; persistent connections will be maintained forever.
    3 y, G. C* i- N5 d; [/ e! B
  1299. ; http://php.net/oci8.persistent-timeout( }, N9 p" a$ u: a7 s0 n1 S7 |* W
  1300. ;oci8.persistent_timeout = -1. W5 d5 |4 Z4 C
  1301. ! W. t% E1 Y4 M4 f
  1302. ; Connection: The number of seconds that must pass before issuing a
    3 D* F7 Q6 B# k) h+ L" a
  1303. ; ping during oci_pconnect() to check the connection validity. When
    8 G8 T8 e, V8 l
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( E# ^/ F8 ?  A! O! ?) z1 w8 \
  1305. ; pings completely.; u3 W/ z" {* e+ H
  1306. ; http://php.net/oci8.ping-interval
    % c$ B. ~. k: L- Q) e. w5 P" b
  1307. ;oci8.ping_interval = 60& K8 c/ L( Z/ I$ I$ r* I' a, E0 i0 n

  1308. 2 q! V) o" v1 b# o5 P  v
  1309. ; Connection: Set this to a user chosen connection class to be used% H: ]5 U% j5 Z+ x6 o
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    2 R0 W$ C6 Z7 Q2 L( {3 |( G! I
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to7 e$ ^, M$ b: ]" W$ n: o% Y
  1312. ; the same string for all web servers running the same application,
    ) t6 ]2 b( F: M0 J6 L5 {2 {; f
  1313. ; the database pool must be configured, and the connection string must. O* \% @; I+ i* _; z) u9 ^3 J/ g* O
  1314. ; specify to use a pooled server.. T" b1 P+ I9 p% |/ e; }
  1315. ;oci8.connection_class =
    3 X; f2 Z9 L4 X" A: m8 p

  1316. 1 @/ D/ |1 T- v9 s
  1317. ; High Availability: Using On lets PHP receive Fast Application
    5 }; F/ a# o4 e
  1318. ; Notification (FAN) events generated when a database node fails. The
    9 }& g" C2 x- }/ h& V
  1319. ; database must also be configured to post FAN events.' c: l0 R# A! K
  1320. ;oci8.events = Off
    7 f9 a  W& o! y" E% z7 ^
  1321. 4 J+ }9 n9 g* G% |8 M! G  c, J
  1322. ; Tuning: This option enables statement caching, and specifies how9 j8 i. y1 b9 w. E& e! R" d( C
  1323. ; many statements to cache. Using 0 disables statement caching.- d5 I2 f. u$ N$ ^! n( U& D
  1324. ; http://php.net/oci8.statement-cache-size. d) a0 _" e8 `. n4 e
  1325. ;oci8.statement_cache_size = 200 Y  @: k* ~! I4 \1 M
  1326. " m* x1 h  ]" Q7 Y0 ]
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    4 `7 N( X! Z- ]0 n5 m9 ~
  1328. ; rows that will be fetched automatically after statement execution.
    " d# D0 Y  ^8 z- }
  1329. ; http://php.net/oci8.default-prefetch
    7 m/ I5 l& V) S' E
  1330. ;oci8.default_prefetch = 100
    ! F1 S  e/ C1 Z9 G5 M7 N" \6 C0 L

  1331. 0 v+ y% \/ X: O; y3 g
  1332. ; Compatibility. Using On means oci_close() will not close
    ! m/ U5 e3 W# {9 w- [/ I- e
  1333. ; oci_connect() and oci_new_connect() connections.- A, N; S! S. e3 P9 l' }/ k% ]5 c% t
  1334. ; http://php.net/oci8.old-oci-close-semantics
    . ?- [) }( v* M3 A
  1335. ;oci8.old_oci_close_semantics = Off/ f+ s3 d% w9 R$ m. ^

  1336. 8 D. g# r$ R+ c! M/ S
  1337. [PostgreSQL]
    . b7 A' ~+ I( z! h! b
  1338. ; Allow or prevent persistent links.8 w  N2 ?, R& u" p' A( S
  1339. ; http://php.net/pgsql.allow-persistent4 }6 r% q3 J/ N& g; Q4 k
  1340. pgsql.allow_persistent = On0 L( }3 K2 k, Y! ]! b/ l! d

  1341. 5 E$ u% X1 ?' z) b+ E! O1 I
  1342. ; Detect broken persistent links always with pg_pconnect().7 C4 Z! t4 |  }" X* p4 v
  1343. ; Auto reset feature requires a little overheads.- w# d. A5 N  p+ D7 ?- L/ n1 \% I" L
  1344. ; http://php.net/pgsql.auto-reset-persistent
    1 f9 T1 j. j, m. p+ Q
  1345. pgsql.auto_reset_persistent = Off9 i& n6 N4 Z) n5 w) B
  1346. ' B2 {" T3 Z0 F* e. y
  1347. ; Maximum number of persistent links.  -1 means no limit.0 _. E4 y! s- X; @! X" R" ~7 U$ |
  1348. ; http://php.net/pgsql.max-persistent
    1 i0 f9 @6 A; B# b% J2 p) W2 W. v
  1349. pgsql.max_persistent = -1  I! T8 V- g+ [8 X  E+ ?
  1350. ) U+ O( M5 y. W. \8 ]* u+ ^
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.( q! Q. G' e8 i
  1352. ; http://php.net/pgsql.max-links
    - n* B4 t+ ?6 N6 [3 v1 G- j4 |  z
  1353. pgsql.max_links = -1
    * C9 @: a" }9 H# X
  1354. 5 P9 C2 U* K+ T" Z9 L" H  \4 A) N
  1355. ; Ignore PostgreSQL backends Notice message or not./ t+ h# x- X7 E8 e
  1356. ; Notice message logging require a little overheads.) v! s" V7 C% I" B5 d( `( O& \7 x
  1357. ; http://php.net/pgsql.ignore-notice
    ! }0 q4 S! D$ c- c& p
  1358. pgsql.ignore_notice = 03 z6 q8 P) k: |: V% O$ P! b

  1359.   Q0 i, r3 ]6 \
  1360. ; Log PostgreSQL backends Notice message or not.; C3 q" `* Z; j# }9 [5 |* ~
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 P1 Y/ _4 _: Z0 i
  1362. ; http://php.net/pgsql.log-notice
    . f( d' m: W+ P; |. n
  1363. pgsql.log_notice = 0! z" h" w- `4 g

  1364. * G2 N* z1 m/ d; m
  1365. [Sybase-CT]! j8 D2 O+ [- X" E; B  Y. c
  1366. ; Allow or prevent persistent links.
    0 X% v9 E4 H, h5 {
  1367. ; http://php.net/sybct.allow-persistent" j* Y( E# u! t8 y% K7 f" Z9 @
  1368. sybct.allow_persistent = On
    - a, K8 n; Y! v) }; k

  1369. 9 n- Q) _" ^" [6 T
  1370. ; Maximum number of persistent links.  -1 means no limit., A6 @- k1 b2 `9 j( T( P7 P
  1371. ; http://php.net/sybct.max-persistent4 D5 Y; m( f/ O0 K
  1372. sybct.max_persistent = -1+ `6 _$ X. j4 _1 w6 f
  1373. 0 y8 c1 n$ J: Z. P' i; F$ d
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' B8 O% X6 H6 U, k
  1375. ; http://php.net/sybct.max-links- V: f' p: l5 B
  1376. sybct.max_links = -1
    ( D) u* O, t# d  y4 r: r( G
  1377. ( p$ A, O# t* S" f9 ~" _
  1378. ; Minimum server message severity to display.* g5 n  i5 H) c
  1379. ; http://php.net/sybct.min-server-severity; f9 w# f* O2 E
  1380. sybct.min_server_severity = 10
    " Z6 _2 O, V9 [1 X  h! q$ D  @
  1381. ! }- S# L+ S4 @* s. B$ B. c0 `
  1382. ; Minimum client message severity to display.$ C+ q/ M. f- @
  1383. ; http://php.net/sybct.min-client-severity" B+ S+ g% L) s
  1384. sybct.min_client_severity = 101 o% N" L0 p) _4 `- m& i
  1385. 4 x" D: o' E2 @5 r$ _9 V
  1386. ; Set per-context timeout
    5 [# P, @7 T2 e6 h
  1387. ; http://php.net/sybct.timeout
    " b& s/ z$ z- Y; d% r' _
  1388. ;sybct.timeout=* F! j2 {' `% J% c# A  L5 S" u1 y
  1389. 1 x4 C: K4 M4 e1 K5 H* \
  1390. ;sybct.packet_size
    , j; `9 m0 ~0 |1 ?
  1391. 7 W1 D: x3 o% o
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.) v- e1 E( M8 L1 @- ?8 Q. A& C
  1393. ; Default: one minute
    ( ^8 B0 L# s6 W3 e' V
  1394. ;sybct.login_timeout=
    ; O1 c6 R1 l3 `+ O; f* e$ K

  1395. ' A" d* j4 V  H9 g2 k7 F! [# x, Q
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    # ?8 q. f8 H1 ^, N9 N  m
  1397. ; Default: none1 O/ F) ?: {" ?3 b  L# B
  1398. ;sybct.hostname=
    : j  D8 b9 f3 k" O# K. |3 u

  1399. " ?" _0 I7 {1 n. x1 i8 \
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".1 e: `& B; _: W& k: }3 n5 `
  1401. ; Default: 0
    + H/ ]9 s9 F/ D1 o; k
  1402. ;sybct.deadlock_retry_count=
      H: v2 P) ~! l. t" x, E; V- n6 @
  1403. 9 o0 U# M4 V2 y* a+ \. f: Q: ~
  1404. [bcmath]
    ' M7 O$ x! {5 L
  1405. ; Number of decimal digits for all bcmath functions.4 w, f$ `* w, y# w% I
  1406. ; http://php.net/bcmath.scale
    + k6 B% z  E; u' O9 Z
  1407. bcmath.scale = 0
    ( P6 N' ^2 Y( G
  1408. + _8 x5 e" m3 q1 O/ M
  1409. [browscap]# b4 N/ B7 p4 O; v9 \2 W4 u
  1410. ; http://php.net/browscap
    ) A  l3 v6 y3 j  @% q9 ?* L% ~
  1411. ;browscap = extra/browscap.ini
    , Z4 j0 R! @+ L6 R% D0 d, f/ G% T) w
  1412. 5 n+ L+ r8 O$ n/ r( D: l
  1413. [Session]
    ) `! v: L0 R2 D4 n
  1414. ; Handler used to store/retrieve data.% \+ p# x! C  D7 w/ {4 H  E7 Q  N" P
  1415. ; http://php.net/session.save-handler
    : Q1 w, Y5 X% x+ d
  1416. session.save_handler = files. N; p: [- _6 ^/ L$ j6 M8 g
  1417. 2 M( U4 ]' _' ]6 G4 q9 r% ^, R
  1418. ; Argument passed to save_handler.  In the case of files, this is the path  h) E/ L/ ?+ ~7 g! \1 j
  1419. ; where data files are stored. Note: Windows users have to change this
    ' r" d+ U! q- u% s, w1 a3 G+ l2 L
  1420. ; variable in order to use PHP's session functions.6 C7 |4 m) H% R5 F
  1421. ;; p0 y' _! m9 m; V' M5 C+ L
  1422. ; The path can be defined as:
    - u0 G% I5 f2 I/ G6 x& k/ o
  1423. ;
    . E' v' P& L, U6 [
  1424. ;     session.save_path = "N;/path"
    5 T1 L. \* c( X. W4 n5 c
  1425. ;4 `5 f. K! h; i$ w6 g
  1426. ; where N is an integer.  Instead of storing all the session files in
    3 {# T, x, n# b% H& L1 r, }
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    * K! Y% [0 B- m1 n# t' V8 c: N' C
  1428. ; store the session data in those directories.  This is useful if" N% c( t. Y- @& u6 e2 j: C0 P; B
  1429. ; your OS has problems with many files in one directory, and is
    % D: N" Q& Q% q5 i
  1430. ; a more efficient layout for servers that handle many sessions.( v8 x. S* ~" [# x/ T5 l4 |
  1431. ;' X$ }( \1 e! |$ z$ W/ Z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    : l  Q/ _% \3 R- U& I! F
  1433. ;         You can use the script in the ext/session dir for that purpose.
    5 U2 C2 P$ p' x$ k$ d# h# n. S
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    0 ?, m  t$ v0 |; R- c) C& T6 t  w
  1435. ;         use subdirectories for session storage) i+ a. l+ k5 Y3 l- x
  1436. ;; O6 R! W  h$ ]) b
  1437. ; The file storage module creates files using mode 600 by default.
    $ `3 x4 l7 {) q7 f1 Q
  1438. ; You can change that by using
    ; [1 D* a# e/ A6 p. n/ ]; O
  1439. ;4 Z# K( u- A1 i  p  ]5 I
  1440. ;     session.save_path = "N;MODE;/path"
    & A! }2 D6 u/ Q9 Z1 e
  1441. ;
    4 ]( n7 \2 w* G) U& a# W% S6 I
  1442. ; where MODE is the octal representation of the mode. Note that this: h9 \& Z; }  _6 [$ ^
  1443. ; does not overwrite the process's umask.; b/ h6 N7 `% H* k  Y3 \
  1444. ; http://php.net/session.save-path
    - y6 V7 B5 m7 j, f' X# k/ Y. Z
  1445. ;session.save_path = "/tmp"
    ( y/ k1 H0 x9 d% H% A9 s9 v

  1446. ( C$ o! H1 T, E/ H
  1447. ; Whether to use strict session mode.% Z4 S8 T, {! i8 d
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate0 @4 U$ c  I1 q& u
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects2 o; h) ~5 C( `! X% \# y/ c8 S
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ) c6 ^( `6 b6 J. D& m; Q8 W0 ^
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " V5 q5 \3 L. M) {) }) I
  1452. ; https://wiki.php.net/rfc/strict_sessions/ N2 y5 E+ J( W. t. Q1 q
  1453. session.use_strict_mode = 08 p4 B( N7 F& C5 p
  1454. * w& z# m% c% ]7 Q* y7 w  `
  1455. ; Whether to use cookies.: F$ z! p4 D& d+ T
  1456. ; http://php.net/session.use-cookies% ~4 r& {/ y) l9 y( y& ~4 L- z
  1457. session.use_cookies = 1
    0 a! ?3 W' ~# n* A) I3 |

  1458. & M/ D( z# G- \7 I
  1459. ; http://php.net/session.cookie-secure+ I- y# a8 F4 w% X. C7 T
  1460. ;session.cookie_secure =
    $ b. y  f+ J8 g+ r" V. Y

  1461. # z4 p; P' a: {) p' p* J5 {8 B" |% R
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    " Z1 _& f8 b: @
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    9 H: K/ o! V6 K0 W& V0 c
  1464. ; session hijacking when not specifying and managing your own session id. It is: Z0 y7 I) o, T: a
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.7 x: ^0 B. O: S7 h- i$ M) ]  t
  1466. ; http://php.net/session.use-only-cookies. F# u* B. o+ b. S
  1467. session.use_only_cookies = 1
    $ S' |  u* B# z: [3 D9 b2 E% m

  1468. 1 X7 w. l$ w9 z- ?+ I/ ], }
  1469. ; Name of the session (used as cookie name).
    % g4 c5 u; S2 _$ o$ }
  1470. ; http://php.net/session.name. Z! w  n$ S* p0 Z
  1471. session.name = PHPSESSID  o+ u/ ]: S4 d
  1472. ; {6 f. K# J+ @
  1473. ; Initialize session on request startup.2 p( K( k4 z7 k, [, J9 U6 w
  1474. ; http://php.net/session.auto-start) c% c8 H3 s  _% N' ?- t
  1475. session.auto_start = 0; ?. F6 T  a7 b8 |& ?  K' r

  1476. , ^, \  ?8 c: \- g* a/ ^
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    : B( |/ X2 f7 o
  1478. ; http://php.net/session.cookie-lifetime" v6 J9 X1 N! u% o
  1479. session.cookie_lifetime = 0
    ) v( E4 \2 ~) a2 J# N" A
  1480. 7 T* R' B6 G* t( B$ I' E, @( Q
  1481. ; The path for which the cookie is valid.
    5 ]. Y0 d' j( ]/ P3 y/ h9 f- n
  1482. ; http://php.net/session.cookie-path
    . N' k0 ?9 M  G. ^# S- j8 m. s
  1483. session.cookie_path = /
    ' U! g; C) f- f% N1 _$ s% n( e
  1484. % q# C1 R0 G/ `0 P
  1485. ; The domain for which the cookie is valid.
    * M; {) {) J2 o0 p
  1486. ; http://php.net/session.cookie-domain
    # H5 Q, v7 D- c( w5 _3 p& B) Y
  1487. session.cookie_domain =* z- O, W9 L4 w' e3 z0 u+ F

  1488. $ p7 W  G2 I. h( O4 ~" K8 b6 z
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! {$ x/ G. Q7 r# u% y
  1490. ; http://php.net/session.cookie-httponly
    2 P1 C) W+ z, n8 o( ?
  1491. session.cookie_httponly =4 x" m# b- F4 k+ X4 k% k' }$ `/ d

  1492. ! l$ I5 H" v  x1 w
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    7 J  N6 u/ B* r9 h5 R* q
  1494. ; http://php.net/session.serialize-handler, J6 |! J+ Z, X1 I& G& r
  1495. session.serialize_handler = php
    4 s9 S, {& e) `" j& }/ U
  1496. - N: m3 Z/ ?  u6 F
  1497. ; Defines the probability that the 'garbage collection' process is started
    ; C# k/ u) ]+ P: t& s3 e4 s" k
  1498. ; on every session initialization. The probability is calculated by using0 S# e0 v: L$ @. G1 q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    # j1 k5 N' ]4 Q' d2 i+ z
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    & ], V3 y! K5 S" K3 i$ Y7 @6 D
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - m  x9 _/ t& G7 b) j
  1502. ; the gc will run on any give request.: z- z: f# R& A+ z' ]4 P
  1503. ; Default Value: 1+ G# S) ~3 P) R( O
  1504. ; Development Value: 1
    $ f* m5 d- S: T1 v
  1505. ; Production Value: 1; B& m' K; C1 ^! t+ |
  1506. ; http://php.net/session.gc-probability- O: A8 m) v$ l6 A) I7 ^8 `
  1507. session.gc_probability = 1
    * s  t! [+ a2 ]: Y/ n
  1508. $ D# N3 i* Q& T
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    4 `+ K/ b6 I/ {0 k* P4 v
  1510. ; session initialization. The probability is calculated by using the following equation:
    ) E6 d4 [  c  ]: Q# ^
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 {4 v& ~# w; t6 |$ r( F
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1% \) e1 `4 _! b. `
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 T7 D; n1 @# \  m* S* C3 S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 X& D/ a1 p3 ?1 t( }( g* D
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    % A6 d1 X. i5 \" P. k' ?' S
  1516. ; this is a more efficient approach.- S" G8 q/ D3 ^" G
  1517. ; Default Value: 100
    . q, R6 s6 ]) _- ^' \9 l0 z8 [
  1518. ; Development Value: 1000% y5 w: W9 Z6 f2 m
  1519. ; Production Value: 1000
    7 d, v1 @9 o# N/ D; P3 Q1 w. y; `- L
  1520. ; http://php.net/session.gc-divisor
    : ^% L; M) [1 e. W( G
  1521. session.gc_divisor = 1000; _2 O0 ^) b+ u8 P' V
  1522. , n* b" F$ N8 t0 z/ I# B
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    * u* D* F6 J5 J* v* N, ~5 [
  1524. ; cleaned up by the garbage collection process.
    0 ]2 ^6 z7 @. P: P4 v$ [! u
  1525. ; http://php.net/session.gc-maxlifetime6 l9 r% R) Z* V: f* Z6 O
  1526. session.gc_maxlifetime = 1440
    7 I' g% v/ z5 H* z) o9 r

  1527. 6 P9 z/ i6 h: o: h6 {  @0 X
  1528. ; NOTE: If you are using the subdirectory option for storing session files; k  }1 h9 J& c5 d
  1529. ;       (see session.save_path above), then garbage collection does *not*$ V1 ^' T6 }# M# w
  1530. ;       happen automatically.  You will need to do your own garbage  q/ M; v4 x+ l! a8 p8 {: f5 R3 ?
  1531. ;       collection through a shell script, cron entry, or some other method.
    8 t1 ^, R: q9 U: D- ^6 s. d4 O
  1532. ;       For example, the following script would is the equivalent of, z9 `% K6 M5 t/ |" A
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. c" y! w5 E  S7 ?$ Y, m& S
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm4 N4 D9 a, N4 p* o6 P
  1535. 2 r9 b. t# n, v- e1 R. i8 M
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 c7 K! L+ L1 U3 h
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    3 {# {# U1 Y7 C0 ^1 ]7 i, }
  1538. ; considered as valid.  T6 w, Z$ Z% q' b: j
  1539. ; http://php.net/session.referer-check
    + B. K! c( c  r& j! g5 A, x
  1540. session.referer_check =
    & k8 e# K4 b: u: K
  1541. / ?0 J/ ~" s. y( F! Z
  1542. ; How many bytes to read from the file.
    # M6 M5 d$ Z! ]" w% B; m3 O7 g8 v
  1543. ; http://php.net/session.entropy-length
    # t& Q6 I" P# Z4 Q
  1544. ;session.entropy_length = 327 f- d4 O2 L) o1 `5 w6 r5 j( A! s
  1545. * p# w+ \; G3 u( e! g5 v
  1546. ; Specified here to create the session id.2 x9 [4 d  r4 A1 `
  1547. ; http://php.net/session.entropy-file
    0 l" r, |& g4 `% |7 U* J
  1548. ; Defaults to /dev/urandom
    # o2 `9 h4 i3 m" {: q/ H
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    & t, \7 x: o) d# k3 ^
  1550. ; If neither are found at compile time, the default is no entropy file." o  O- B2 y/ m2 Z* O' b
  1551. ; On windows, setting the entropy_length setting will activate the
    + \8 P) V) b$ v
  1552. ; Windows random source (using the CryptoAPI)
    : f( g) p6 \4 y2 m4 F' q
  1553. ;session.entropy_file = /dev/urandom5 Y- E' W# y0 A  B0 n5 V

  1554. 2 D* f3 v+ M$ ~$ u9 O2 L. }5 s: I2 R
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects% a0 f% y; Y' i- N- T
  1556. ; or leave this empty to avoid sending anti-caching headers.
    - x; f# Z$ v8 u( u+ x# Q
  1557. ; http://php.net/session.cache-limiter
    # h9 b4 n% O# ]& a5 a  O
  1558. session.cache_limiter = nocache
    8 A4 \: d3 `0 Y: s* E5 L

  1559. ) G4 _) J/ {' }( |5 z6 ?- k
  1560. ; Document expires after n minutes.
    8 m0 `; ^) C+ N7 V* {
  1561. ; http://php.net/session.cache-expire4 a- Y* ?9 W, l4 ?& ~8 {9 D8 M6 ~
  1562. session.cache_expire = 180
    , [4 R( N- r" B$ m0 m! {0 W

  1563. 8 C; q% D- Y. b! \
  1564. ; trans sid support is disabled by default.5 @  d6 d! v4 J; N
  1565. ; Use of trans sid may risk your users' security.
    ; Q& }/ l. Y1 K5 \
  1566. ; Use this option with caution.
    ) z" c2 n2 n, {1 z
  1567. ; - User may send URL contains active session ID7 v5 \% t/ R' P# J. d/ n, F0 s3 L
  1568. ;   to other person via. email/irc/etc.3 }- G! b  ~% N2 C# `
  1569. ; - URL that contains active session ID may be stored( c/ v* X9 P5 B  p5 C& l6 p
  1570. ;   in publicly accessible computer.% a7 O; a8 v$ ^$ V% ?+ H: N
  1571. ; - User may access your site with the same session ID( G* q! T) A0 s. X% ?- i0 k8 W
  1572. ;   always using URL stored in browser's history or bookmarks.4 P* |% G2 D$ c& g* q1 G1 y. ^$ c
  1573. ; http://php.net/session.use-trans-sid9 X# ^4 d/ o9 r- k! D/ T; A* q
  1574. session.use_trans_sid = 0
    ) O. L1 e  j! s0 F- h" u  y. ~

  1575. 6 F: L/ g) o8 k
  1576. ; Select a hash function for use in generating session ids.) B2 q1 D! E  D) p/ ~: ]( c
  1577. ; Possible Values
    ' ^, D# m: J+ _5 t- w
  1578. ;   0  (MD5 128 bits)2 b: \5 _' }& A' h
  1579. ;   1  (SHA-1 160 bits)
    ( f+ y! I6 y  P  j
  1580. ; This option may also be set to the name of any hash function supported by& u  {6 }, o/ g: s* G
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ( K, n# y# Z! r* r. f% D+ A# ]
  1582. ; function.
    - `5 ^. l0 t! j& D" v; Y& X
  1583. ; http://php.net/session.hash-function
    ' k1 D4 v# {7 ]6 A& h6 p& i
  1584. session.hash_function = 0! h8 l5 o8 \6 s

  1585. 9 _; _8 ?: Q! g( |, @( w
  1586. ; Define how many bits are stored in each character when converting
    / m) @: o2 G; \# g0 |. L
  1587. ; the binary hash data to something readable.
    9 r% \- G% {7 O6 H) ~* F( E3 K
  1588. ; Possible values:( @* J- P5 G' Q6 d% O+ X
  1589. ;   4  (4 bits: 0-9, a-f)5 n5 ~! B6 h: u' ]- A
  1590. ;   5  (5 bits: 0-9, a-v)
    8 Y3 d( A& Q1 ?' ?, f
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    8 D& Y! u( [0 r2 y! c5 b$ m9 j; r
  1592. ; Default Value: 4
    ; n8 D9 N2 r9 x/ h# n- P2 B
  1593. ; Development Value: 5/ [  T0 E$ ~* M! s9 S
  1594. ; Production Value: 5
    $ t  w9 x/ I# X; r; b
  1595. ; http://php.net/session.hash-bits-per-character
      N2 A2 ~) ]8 Q
  1596. session.hash_bits_per_character = 5
    , H8 Z% Y4 ~- @3 y( Z4 R

  1597. 8 p; z/ u2 u7 x# Y. A4 W4 ~, ~; r
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.& _; A) G4 O0 s: \0 Z
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    / a! X3 F2 i& N9 j8 x7 M: c; r2 ~
  1600. ; add a hidden <input> field with the info which is otherwise appended
    7 L) Q: o& \+ h& I4 C0 s
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.- E( g+ g# A0 U* z9 {
  1602. ; Note that all valid entries require a "=", even if no value follows.
    , D" x# w2 c' \% M
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="2 f; g0 C, X$ B: @# ]
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) k' X& A0 u# t6 B+ H
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; |. X+ O. T, |1 u/ w5 T; z
  1606. ; http://php.net/url-rewriter.tags2 o/ D8 B% [% p+ B6 }1 `9 B
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 l& x) p/ q5 ^+ d. E) Z' V. p
  1608. ! V- @9 h% F. ~1 s: S6 ]
  1609. ; Enable upload progress tracking in $_SESSION
    % r( p! E1 m$ Q6 Q
  1610. ; Default Value: On+ U) w8 j; y) ]' o
  1611. ; Development Value: On' r0 R3 x/ u4 c$ o1 F' h
  1612. ; Production Value: On! @, O( O% ~) F0 X: z( @$ T
  1613. ; http://php.net/session.upload-progress.enabled' G1 ?! i& u5 Y% y0 N% _3 {# v
  1614. ;session.upload_progress.enabled = On
    ) |6 f$ i; ?3 r5 M

  1615. ) y' y9 o/ _1 u$ L
  1616. ; Cleanup the progress information as soon as all POST data has been read( U- I3 a3 h/ z% L
  1617. ; (i.e. upload completed).
    + _2 j! c% G! `% F) |3 U7 b7 T
  1618. ; Default Value: On
    . o, m$ N; l6 e
  1619. ; Development Value: On
    . Z; r2 Q9 U2 @1 y5 C! E
  1620. ; Production Value: On
    ' x2 p- o0 t" F
  1621. ; http://php.net/session.upload-progress.cleanup' x  ?2 a% k5 P! [( |
  1622. ;session.upload_progress.cleanup = On
    & w3 _/ J; c3 k4 r# r! `) C( K/ x
  1623. 0 A- G0 Z8 Y3 P9 E
  1624. ; A prefix used for the upload progress key in $_SESSION
    $ O; y  v9 p5 t: w) G3 o/ a
  1625. ; Default Value: "upload_progress_"
    2 E% Q% q4 T. v; h. b6 p" z
  1626. ; Development Value: "upload_progress_"" @7 l4 |& O) [! [
  1627. ; Production Value: "upload_progress_"
    ! d- u% @) ?$ k  S5 Q) v
  1628. ; http://php.net/session.upload-progress.prefix
    * Y7 t8 b3 b+ h: P
  1629. ;session.upload_progress.prefix = "upload_progress_"
    $ Q5 d  n3 q) y
  1630. ; D# b4 x; s/ B. ?- a2 f' z3 p: `
  1631. ; The index name (concatenated with the prefix) in $_SESSION/ |! |8 r! x" Q* Z9 X; S2 H
  1632. ; containing the upload progress information% q( C/ H7 k7 i! P9 l0 ?
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"" q) @. u2 }5 S- b6 ^0 b
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"& z+ `  R! K5 a: F3 y. C1 e$ f
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 z. \' W3 i# T
  1636. ; http://php.net/session.upload-progress.name
    $ m8 Y- s( M1 E: ]$ }, O) |
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    0 M7 ~* ^" \$ }

  1638. ' k3 p# k, I7 [3 b( F
  1639. ; How frequently the upload progress should be updated.
    + m" v5 M6 |$ y' _% t
  1640. ; Given either in percentages (per-file), or in bytes* y. T6 N; W. m" t" j9 I
  1641. ; Default Value: "1%"
    - O/ ^$ Z' @! H3 J2 o4 ]
  1642. ; Development Value: "1%"
    4 l8 W; r8 k: `9 c4 \; p4 B
  1643. ; Production Value: "1%"
    $ k7 |0 d0 y* D1 g+ B
  1644. ; http://php.net/session.upload-progress.freq8 I" M  A& Z) M( v$ U
  1645. ;session.upload_progress.freq =  "1%"7 S; v9 A+ r5 t& J% O1 j% K2 i
  1646. 0 C5 c2 h' K8 r# r# F. I
  1647. ; The minimum delay between updates, in seconds3 |. \! {5 N/ Q& P5 R; J8 Y
  1648. ; Default Value: 1
    ! l; I( ^( ^, x
  1649. ; Development Value: 1
    5 |- i9 d1 M% C
  1650. ; Production Value: 1( b9 f; m' r& V
  1651. ; http://php.net/session.upload-progress.min-freq
    , Z' m+ z0 j/ z* `
  1652. ;session.upload_progress.min_freq = "1"
    ) j1 t1 s& I. y6 j& S+ a
  1653. : }" p! o/ Y5 H" c, o
  1654. [MSSQL]- m# b+ ~/ Y) N5 m2 f; ^; g
  1655. ; Allow or prevent persistent links.# d* J5 J  l2 `3 U
  1656. mssql.allow_persistent = On& Q* J& E4 y$ S- v1 L
  1657. * C/ \5 e  f& A$ v9 R
  1658. ; Maximum number of persistent links.  -1 means no limit.# P& d6 y) s8 v! d# Y$ H
  1659. mssql.max_persistent = -1% m8 W0 v. s3 u. L# T, n

  1660. 6 j" ?. o8 e, x* E: B6 q) X' T
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' a- `9 d/ n6 r
  1662. mssql.max_links = -1, O+ r* l' b% I. T' p+ H1 S$ _7 e) F

  1663. , ~0 P6 e) I. x! Y
  1664. ; Minimum error severity to display.
    7 N' V$ Q# I0 H. L
  1665. mssql.min_error_severity = 10
    * D- }( p6 E4 M) a: O- S3 F9 Q$ }

  1666. ) f+ c2 R; b$ q
  1667. ; Minimum message severity to display.6 T& _+ q" H1 I0 V# l
  1668. mssql.min_message_severity = 10, a8 }! {8 Z! D; M5 \( @

  1669. * n; z- l4 g4 @1 d( U
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ; H# T# R/ q, @; `: U1 c8 Y, f
  1671. mssql.compatibility_mode = Off
    ! ?/ g% k+ k# E: f9 m4 z

  1672. & V$ G* o* y1 y% Q* P: l) q
  1673. ; Connect timeout& Q% M* K1 `5 \
  1674. ;mssql.connect_timeout = 5: R; K7 y8 u$ n$ [. R) V

  1675. + q; y5 q6 Y9 ^  J+ ?
  1676. ; Query timeout& v! w0 B- n! b. @7 G
  1677. ;mssql.timeout = 60
    1 H2 n9 o4 ?* q5 h. O

  1678. $ I$ W7 p: d! X' i
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    % C6 S$ |4 Y3 ]( B3 n2 W
  1680. ;mssql.textlimit = 4096
    ; q- j* E+ r0 E$ v+ \3 i  r

  1681. ! _- Q' e% X0 S0 h
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ' y: d7 R4 H; h. E0 ?
  1683. ;mssql.textsize = 40969 a. o# O: a) ~  Q
  1684. . H8 I( \; V! l
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.3 b% ?  t( j2 B8 M) o& x1 k0 A' Y
  1686. ;mssql.batchsize = 06 V7 o  k+ `0 G0 X8 ]1 a
  1687. ( ~; R8 ?+ c  K: [( ], k5 ~: M
  1688. ; Specify how datetime and datetim4 columns are returned
    % |, G0 o1 t. V" i
  1689. ; On => Returns data converted to SQL server settings- h+ g/ U! ?* `, d. Q- g
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    - l, v7 h6 w' M; H8 {$ T
  1691. ;mssql.datetimeconvert = On) `0 u( w: o+ i, M

  1692. % l1 l, N# j3 M6 A( b  A
  1693. ; Use NT authentication when connecting to the server
    5 u4 w* ~. p' Z% Q+ F
  1694. mssql.secure_connection = Off
    ( U* I3 R  h% ]5 `# y7 ]8 X
  1695. . i, z& r) V( [7 G- U+ ~0 K
  1696. ; Specify max number of processes. -1 = library default
    0 E0 V3 t+ g+ ~0 \  L; f  W1 s
  1697. ; msdlib defaults to 25
    6 u/ h0 z' h2 P2 k$ {$ o# P; Z
  1698. ; FreeTDS defaults to 4096
    6 |; k; U3 ^3 B+ M2 M
  1699. ;mssql.max_procs = -1  N5 h; G( n. y

  1700. - c8 R' f: T% O' e/ n
  1701. ; Specify client character set.0 r5 u$ H6 X. p3 E6 u- B% @6 ?
  1702. ; If empty or not set the client charset from freetds.conf is used& N! g) ~7 J" F0 H6 o" G# H
  1703. ; This is only used when compiled with FreeTDS
    & z: d" r6 Y& A3 S3 E* k
  1704. ;mssql.charset = "ISO-8859-1"* b2 h- }- s' n5 u
  1705. " H* e, K" n- Y9 U9 g% M+ M+ ~
  1706. [Assertion]
    " @4 p! E$ s8 O
  1707. ; Assert(expr); active by default.# H, {) b6 h! S4 q" X2 }! N* p
  1708. ; http://php.net/assert.active: l  t. N/ N4 s& G0 ^
  1709. ;assert.active = On$ a" i$ _2 g! c4 g3 q/ ]; G

  1710. , y5 a* P- v$ B7 [8 P# f' r
  1711. ; Issue a PHP warning for each failed assertion.
    ( \% M8 K8 _9 }6 m! G$ n2 D
  1712. ; http://php.net/assert.warning" e  t& q* M7 ^7 ?
  1713. ;assert.warning = On
    : ~8 p- n- T2 e9 i
  1714. . }4 y  n' L2 H+ h" e5 j4 F, ?
  1715. ; Don't bail out by default.4 \4 t) V2 ^! c* q' g# q# F
  1716. ; http://php.net/assert.bail; w# l( w0 r( B
  1717. ;assert.bail = Off
    8 S- q4 A4 ]' J8 U- i8 N+ N

  1718. $ I2 J& _! }# w% l' V
  1719. ; User-function to be called if an assertion fails.
    , q) H- N- }  D: N  G8 @7 _; T
  1720. ; http://php.net/assert.callback3 J. f2 n; Q/ Z2 r% ~8 G
  1721. ;assert.callback = 0
    * z. D+ Y  v% F% j6 a

  1722. ' }; s, }' Y5 `% `: ]
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    / P, Q9 m6 z# `9 y' o' N
  1724. ; error_reporting(0) around the eval().
    # [2 W/ `  a, y- e
  1725. ; http://php.net/assert.quiet-eval9 H9 B; N6 n3 T: T, [' v
  1726. ;assert.quiet_eval = 0+ n- a: V4 B2 u, d8 a5 z1 r
  1727. # a; e5 q8 ]4 Q3 R. M4 H; e
  1728. [COM]
    & u1 j7 ]" N$ a5 z. W/ T
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs3 M& Q, M, w: l
  1730. ; http://php.net/com.typelib-file
    7 h- N5 L# H, g9 W, Z) y" w
  1731. ;com.typelib_file =
    " D5 Y: S0 A' x3 U$ R0 y# |

  1732. ( N: p, |0 E3 i# ~8 B  F) k' I7 e
  1733. ; allow Distributed-COM calls( e7 a0 a0 _! ~* N( C
  1734. ; http://php.net/com.allow-dcom# E2 }" P' A" l
  1735. ;com.allow_dcom = true
    9 n7 v/ Y. s+ }: }1 ^% K

  1736. 5 p6 R% }" X0 t$ _  t4 Y9 [
  1737. ; autoregister constants of a components typlib on com_load()
    : l# B( _8 @7 P6 L7 T: d. h& [
  1738. ; http://php.net/com.autoregister-typelib% \6 v2 ]5 d1 h% |9 @, W! F
  1739. ;com.autoregister_typelib = true# J, t; [( n# l- d4 _  |; c" O

  1740. & O, I$ Q; d9 h. i3 x
  1741. ; register constants casesensitive2 ?  U( v# _" ]% Q% _; W# C
  1742. ; http://php.net/com.autoregister-casesensitive  u: G. A3 Z1 E- P4 |, k  o, [$ {
  1743. ;com.autoregister_casesensitive = false
    ' X/ e# H: D% g3 p+ Z* c

  1744. , {$ W+ ^# z0 `3 D$ A) i
  1745. ; show warnings on duplicate constant registrations
    5 r8 W2 D& D% }
  1746. ; http://php.net/com.autoregister-verbose4 Y9 o, k" E1 H; _5 {
  1747. ;com.autoregister_verbose = true
    & J/ j8 j8 G! i* H* \- S9 }* v
  1748. 1 h5 R* ]1 l1 q
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    4 j7 D' s/ [! e. G6 `# G& J
  1750. ; Default: system ANSI code page6 s* K$ e8 P$ O7 n2 s% Q9 M% t+ ]
  1751. ;com.code_page=8 G1 o& F  c- c8 O' l) T2 Z

  1752. 7 Y( b% j% R2 i- K
  1753. [mbstring]9 q5 i# ?8 N) c5 ?7 V$ _. d* Y
  1754. ; language for internal character representation.3 g/ F9 N0 h: A" Y( L" N; q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.' k9 l4 I; S6 t% d+ k- r' E
  1756. ; http://php.net/mbstring.language
    . U. `* {/ ?: I! _4 V3 T3 {9 j
  1757. ;mbstring.language = Japanese
    0 v, j$ D4 I* y1 \
  1758. * l- o4 m  [: }$ k. Z5 i
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 I2 q  I# z& X" d% |$ L+ {
  1760. ; internal/script encoding.
    3 b2 W& N; D; B2 f1 Y9 V
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)4 b- i+ Y+ C2 F
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. b5 R9 q' i  @* s; [( T, F
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 ~/ e7 `8 k, x# N
  1764. ;mbstring.internal_encoding =
    ) S+ r* A, P) Q) I6 B, q/ X0 J

  1765. ' \4 }& b2 S3 W* g
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) c: Q5 b& k6 `+ f! I! M  i0 M/ t
  1767. ; http input encoding.
    8 |: e- \1 U% h; i0 j/ k2 B+ W+ `
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ( ]9 ^4 i, L! u1 Y- u/ _
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.% f2 M  a  P# c" E& M
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    # F4 ^: V! |. F* @. [0 S$ S
  1771. ; http://php.net/mbstring.http-input% u$ B" e$ |; q7 F7 S- q/ S& {
  1772. ;mbstring.http_input =0 P: l% l* g* L/ t

  1773. . C: }, v2 R  e
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . a/ l8 T0 X9 v% c3 a  N/ K
  1775. ; http output encoding.
    - a7 ^: C3 m  k+ X% ~
  1776. ; mb_output_handler must be registered as output buffer to function.
    $ _! V9 v( l  v5 v8 Y, J1 [( ^
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    7 \/ N: M; u( ]0 y) t
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output; U2 u/ r. P; S5 W
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    7 X, s2 E/ u3 d1 n% r- x  s
  1780. ; otherwise output encoding conversion cannot be performed.
    , }  a  Z( T* S# h
  1781. ; http://php.net/mbstring.http-output! F& E! p: i9 g& Y. u
  1782. ;mbstring.http_output =
    % o1 h$ f# K6 g. @
  1783. " R0 C# e8 G& ~9 ?  }" o4 b
  1784. ; enable automatic encoding translation according to% }7 J% G" b- X7 Z& c
  1785. ; mbstring.internal_encoding setting. Input chars are, e1 A& e  o# N+ Z0 i1 h% `$ K
  1786. ; converted to internal encoding by setting this to On.
      U; s. c+ Y- h, m& a
  1787. ; Note: Do _not_ use automatic encoding translation for' ?( S& |: r" y: o1 B3 U* b7 K% \
  1788. ;       portable libs/applications.
    ! i0 s/ _/ O: _) m7 a2 E4 f) Y
  1789. ; http://php.net/mbstring.encoding-translation
    2 ~# B% f  u, s7 @
  1790. ;mbstring.encoding_translation = Off$ \' y: `" G0 I1 S: g% D

  1791. / X% [% H# j) t& j6 p6 f1 o
  1792. ; automatic encoding detection order.8 S1 c$ ^7 f3 S9 G0 L
  1793. ; "auto" detect order is changed according to mbstring.language
    ( f1 X% ~& w8 ]6 x4 [1 a7 \
  1794. ; http://php.net/mbstring.detect-order4 U4 x  _( M/ V3 \* l* Q
  1795. ;mbstring.detect_order = auto3 x% [0 H7 O" e3 J# t

  1796. : ^% n$ b# J% I
  1797. ; substitute_character used when character cannot be converted4 O/ l  [. S! g5 u
  1798. ; one from another3 F3 s- e0 ]; O9 `
  1799. ; http://php.net/mbstring.substitute-character
    $ v% k: G/ }+ \0 C9 `: [
  1800. ;mbstring.substitute_character = none+ W; J* ^/ R7 h0 b2 t. R4 G" `7 c
  1801. $ l- N- K) I$ U7 c- T. L) U+ O
  1802. ; overload(replace) single byte functions by mbstring functions.# `2 N4 I) h+ ]5 g! l* r
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 N4 n# i. q- Z% h& T
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    # ^& q- z; m7 e& G
  1805. ; For example, 7 for overload everything.. c, O/ c8 ?) ?
  1806. ; 0: No overload6 L1 K9 \# m$ Z  X) M$ [4 C/ G
  1807. ; 1: Overload mail() function2 n( O+ D$ u& l- P3 {6 B, M
  1808. ; 2: Overload str*() functions
    ; A5 h  v" U, m) C  ^0 ^& k$ ?
  1809. ; 4: Overload ereg*() functions
    7 r# g, `0 C) H% X% y6 a5 O
  1810. ; http://php.net/mbstring.func-overload9 Y$ }2 e1 D' n8 g! |5 `4 i
  1811. ;mbstring.func_overload = 0
    - }. `8 M; V: [+ h8 I

  1812. , L& F- m' r, ^8 L6 [
  1813. ; enable strict encoding detection.( d( V/ }2 d; N# K& ^! z/ ]
  1814. ; Default: Off& z# n$ U' n) |6 [+ Z8 q8 H  n( L) V
  1815. ;mbstring.strict_detection = On
    1 M$ P3 ?/ v# L, \& l

  1816. & f% [9 e* a. k: z9 [
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    , W/ ]% o/ j0 K0 Z* I: g( O1 i
  1818. ; is activated.
    5 y8 G6 L1 n* v
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 [7 P) V1 A( x* O$ U8 W! {
  1820. ;mbstring.http_output_conv_mimetype=
    : @; H% ?1 }' o2 A9 M

  1821. + K! N6 E% i8 g
  1822. [gd]
    " U5 `# v: f) r; |# r. Z% o/ i: ]
  1823. ; Tell the jpeg decode to ignore warnings and try to create
      r0 }% W, y" m' a" A. `5 {: ^7 B
  1824. ; a gd image. The warning will then be displayed as notices
    $ D; B& y- U* Z  x
  1825. ; disabled by default
    ; R; s8 ?% T" X$ c! L
  1826. ; http://php.net/gd.jpeg-ignore-warning
    * ?3 W$ _+ T* s+ z
  1827. ;gd.jpeg_ignore_warning = 0. _* y2 M! f! `

  1828. 3 \8 Z  t% Q& [6 X, m
  1829. [exif]% C3 X! S( v% [7 r% Q6 U
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
      L+ f: J& y+ h1 }$ C$ V& P# y* b
  1831. ; With mbstring support this will automatically be converted into the encoding2 f9 ]; n' h- u, k
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding: ?4 n: u  G+ K3 u3 B8 J: w: q
  1833. ; is used. For the decode settings you can distinguish between motorola and' a1 U+ ?9 P8 ~% Q1 q0 r
  1834. ; intel byte order. A decode setting cannot be empty./ e2 z, b/ w1 K5 I1 e
  1835. ; http://php.net/exif.encode-unicode
    * ^2 s$ l  G0 }7 o) V" J0 p
  1836. ;exif.encode_unicode = ISO-8859-15
    ' u- \9 y1 _6 v8 b) N. m; L9 ]4 Q

  1837. . C6 \4 H! c/ D1 P9 r7 L
  1838. ; http://php.net/exif.decode-unicode-motorola
    1 s. ?0 ^9 H* S
  1839. ;exif.decode_unicode_motorola = UCS-2BE; R0 P( D$ P# e' Q

  1840. 1 [9 S0 x0 E  J3 a% I, g! ?
  1841. ; http://php.net/exif.decode-unicode-intel& u# H! g8 C) X/ N* L0 y; ?, r
  1842. ;exif.decode_unicode_intel    = UCS-2LE% i- J) L- K$ D- p

  1843. 9 @5 U9 z/ ], p; V, h
  1844. ; http://php.net/exif.encode-jis
      ~, ]! `( }) O# u) r
  1845. ;exif.encode_jis =
    8 G  a# J7 [: _" @9 E9 l2 }, {' E
  1846. ! g+ P5 K  A5 v3 ]" ]
  1847. ; http://php.net/exif.decode-jis-motorola
    ! K3 w/ z. g; j1 Y3 c
  1848. ;exif.decode_jis_motorola = JIS5 ?) }. I0 {, W9 I' ?/ y3 O
  1849. - O4 I6 E* Y. p1 z7 _; s5 l$ K
  1850. ; http://php.net/exif.decode-jis-intel
    3 H- ]: s) m) q/ W1 q) U' x
  1851. ;exif.decode_jis_intel    = JIS* Z# y% Y( p4 E$ d( ^
  1852. & [" j! }8 T( k# O' W  N
  1853. [Tidy]
    - v0 f5 |$ R" T) n. z8 ?
  1854. ; The path to a default tidy configuration file to use when using tidy
    ( H3 T0 u# q" R7 d; j/ z* l
  1855. ; http://php.net/tidy.default-config
    9 @9 O- h: s8 \
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg9 y. w  A  \" b1 z( ]
  1857. 3 }' o% a0 ?8 e
  1858. ; Should tidy clean and repair output automatically?
    . ~' D# N! F! ]7 O
  1859. ; WARNING: Do not use this option if you are generating non-html content* W* E/ b' E  y+ W- F
  1860. ; such as dynamic images% `5 G4 ~! t: W9 |6 u7 m. |% O0 c
  1861. ; http://php.net/tidy.clean-output* `4 ~; E1 i9 P- o) \* G* }
  1862. tidy.clean_output = Off7 x! D3 X8 T8 G4 U/ C  ], J' J

  1863. , ^/ u& Q$ O# e' V
  1864. [soap]: f9 {5 n  l4 \2 d
  1865. ; Enables or disables WSDL caching feature." h+ }2 b* K; m8 N% M: t  \
  1866. ; http://php.net/soap.wsdl-cache-enabled
    # s/ a' [9 ?' Q) b9 t1 y
  1867. soap.wsdl_cache_enabled=1
    ; g8 Y- r! Y& M8 Z4 V& J
  1868. : _. G' i! T% i
  1869. ; Sets the directory name where SOAP extension will put cache files.6 B' x, q2 I2 [0 [$ ^+ ^" e  {
  1870. ; http://php.net/soap.wsdl-cache-dir) ~! G; @- C8 U3 A/ z
  1871. soap.wsdl_cache_dir="/tmp"* Y2 j% {% M$ `" `

  1872. & K5 ?* l6 J9 T. f! B" I5 l4 ]4 r/ o6 r
  1873. ; (time to live) Sets the number of second while cached file will be used. e* N9 J* l8 K7 b/ S4 x3 z% ]8 H
  1874. ; instead of original one." y4 x) m9 S+ S* e# R' G
  1875. ; http://php.net/soap.wsdl-cache-ttl5 l7 T! d' \6 s, L! E
  1876. soap.wsdl_cache_ttl=86400* U# P* _, K' ]6 H. e
  1877. & W: _: B; i) j7 h
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : e" Z. z4 S* G9 q2 \8 N: O, d
  1879. soap.wsdl_cache_limit = 5
    2 K/ B9 t& k3 s

  1880. ( u: g7 g  n4 w' M+ z3 _
  1881. [sysvshm]9 w6 T, K4 I# I
  1882. ; A default size of the shared memory segment8 M- D0 c7 V! F. a# e
  1883. ;sysvshm.init_mem = 10000. e: H" }3 Z! m3 ^3 H9 ]

  1884. 8 m- q6 `1 |4 l; Z
  1885. [ldap]+ N/ E# e4 A6 w- w( D
  1886. ; Sets the maximum number of open links or -1 for unlimited.- R1 M6 b1 D* t) N  W3 |
  1887. ldap.max_links = -1% m' [* m3 A' n$ M3 C" E7 B

  1888. 5 ?. V6 e" n3 C8 Q
  1889. [mcrypt]6 f9 X5 N: q  S, u/ T2 e
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 p5 w/ V4 K# q
  1891. 1 Q) X2 c' H  X, R
  1892. ; Directory where to load mcrypt algorithms
    6 u) M3 I) W' w2 k, Z. ]: q5 N
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 h. }+ D' I% b7 w  p% {( B
  1894. ;mcrypt.algorithms_dir=  I% W! O/ Q1 V" |) n

  1895. , I, N! k# `% ~( u! M; l
  1896. ; Directory where to load mcrypt modes
    ( N1 F; q7 {% C# q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 _" W" ^% p0 W. J7 {: G
  1898. ;mcrypt.modes_dir=
    , F! E! q/ m, K7 G1 U+ S- e8 T
  1899. + V1 v5 z1 M- D* z
  1900. [dba]! H9 ?; }0 {& B) ^
  1901. ;dba.default_handler=! e9 t! @6 x5 @% N1 G& k8 ?
  1902. 9 L6 p: r% d) L1 ~9 v9 b9 j6 f
  1903. [opcache]+ X0 p+ q6 {# U1 m+ h( \3 @
  1904. ; Determines if Zend OPCache is enabled/ \# d$ U0 V! o" R: g
  1905. ;opcache.enable=04 Q$ `5 x2 u( K

  1906.   z$ ^; n7 Y% w
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % t  O4 n5 r, h2 \9 I
  1908. ;opcache.enable_cli=0% q- _7 z, y, G9 O$ b
  1909. & U* ~# I3 m! z. W" @6 ~2 b
  1910. ; The OPcache shared memory storage size.
    ( _$ f1 M. S% d* q% m
  1911. ;opcache.memory_consumption=645 K/ j/ f& k3 u. f
  1912. " Y  }* e- ]: ]( Z
  1913. ; The amount of memory for interned strings in Mbytes.
    6 Q: Q1 b1 B+ N4 o
  1914. ;opcache.interned_strings_buffer=4
    7 P3 d; T3 ?% ^4 D
  1915. - q( ~4 ]9 u. B: [
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.$ Z+ m$ Z1 h0 D! D$ Q/ J8 }2 |6 V
  1917. ; Only numbers between 200 and 100000 are allowed.
    6 _# |2 F5 O; V9 f+ [' c9 F8 z0 g' B
  1918. ;opcache.max_accelerated_files=2000
    $ U+ e6 b( u( V" V' q# u: ]& ~

  1919. ! g5 e) e( d$ r1 i
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ) ~0 f+ N, X, O* |
  1921. ;opcache.max_wasted_percentage=5
    . g7 B, }# F: k4 L- e& G

  1922. 6 V' \9 P& ]* n3 w- r1 O7 W4 N
  1923. ; When this directive is enabled, the OPcache appends the current working
    # q6 R7 |6 P8 g! t
  1924. ; directory to the script key, thus eliminating possible collisions between# c: d  ?9 U% g0 S) h  c, p' H- R
  1925. ; files with the same name (basename). Disabling the directive improves9 D4 m) h( _6 B+ d
  1926. ; performance, but may break existing applications.
    2 w6 I/ E. ?) t2 r
  1927. ;opcache.use_cwd=11 I8 R, B2 n! q6 K- ?- Q' l# o
  1928. + M' X* I1 r2 I( d7 o# p
  1929. ; When disabled, you must reset the OPcache manually or restart the
    , M7 H- _  x; m4 Q
  1930. ; webserver for changes to the filesystem to take effect.
    + r2 d( g$ I/ t9 Z+ U
  1931. ;opcache.validate_timestamps=14 j( h. m0 ]1 i- J" i$ ^

  1932. , P0 K6 q$ c; f, z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared) z  N0 ]& D9 f3 p/ V9 v
  1934. ; memory storage allocation. ("1" means validate once per second, but only+ f5 k$ v% l  J/ f5 y
  1935. ; once per request. "0" means always validate)
    : B! d; }( g& W" K& t+ _6 ~' I# Q" V
  1936. ;opcache.revalidate_freq=2
    " r+ h) B  N! o" @; I

  1937. * n7 e. X# u! r9 u' g
  1938. ; Enables or disables file search in include_path optimization
    * X. |4 h, q9 i4 O1 X" X
  1939. ;opcache.revalidate_path=0& Y0 t3 @# `7 X$ y

  1940. 3 Q' p' N; ]. W( H; S
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the! L7 D0 _* i5 f- f5 p  \
  1942. ; size of the optimized code.$ o% U+ v0 s; j; ?
  1943. ;opcache.save_comments=1/ D" T9 @4 x  f) C  V: z

  1944. 9 {8 U' C+ S: q1 w$ u
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"+ \* T+ q$ [- L) b9 u
  1946. ; may be always stored (save_comments=1), but not loaded by applications( O! v0 n5 B! E. Z& B
  1947. ; that don't need them anyway.6 ^) [; c9 D; f! M8 J# o
  1948. ;opcache.load_comments=1) t" d; x3 C0 W# s
  1949. % `+ l/ s0 j& [7 F2 p2 y7 v
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code: p/ N# S# E( e# u
  1951. ;opcache.fast_shutdown=0% r8 t1 F, j$ E0 f3 K+ O
  1952. ; N5 I. o8 M7 J! o6 @" {
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' w8 U/ Z9 A, R4 U
  1954. ;opcache.enable_file_override=0
    7 E5 D- c. Y) H$ Z1 |) h

  1955. / r8 }# Z, N0 X6 A* ?$ B8 P7 S* \3 v
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache. c  e0 h" D4 l4 R* u
  1957. ; passes
    + B1 W) z4 Y9 O# u0 p' u
  1958. ;opcache.optimization_level=0xffffffff
    0 r! C0 c+ {( F- g7 K, e

  1959. + q1 _2 x+ i( M% Z6 q  G$ x
  1960. ;opcache.inherited_hack=1
    ; F2 x+ W/ Y$ `0 M; ]2 C9 {
  1961. ;opcache.dups_fix=0
    7 ?$ r9 F, X6 c# A
  1962. ( j6 h! l4 m: r5 _+ ~
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    , O0 q( V2 M. v7 d1 P( v) p
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    * d, K% U- J6 _* y1 g) _# D
  1965. ; that should not be accelerated. The file format is to add each filename2 e9 ?* K6 @; |2 w
  1966. ; to a new line. The filename may be a full path or just a file prefix
    6 o& J* i- ~' K- v
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  \! j7 V/ W% L; S
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 O3 D/ m9 n: B0 V4 X( R0 `- }
  1969. ;opcache.blacklist_filename=# Y/ B7 x( Z( E6 X! U  K! {

  1970. $ ~  f. V4 I1 l- k' @
  1971. ; Allows exclusion of large files from being cached. By default all files
      N& o& O  |6 m3 b" K9 o5 r
  1972. ; are cached.; }  v* z2 Z" P& [* {
  1973. ;opcache.max_file_size=0
    ; D6 J+ n0 g! ^) f* S/ h. X5 n6 ~
  1974. : d1 ]8 ]# d: [  [+ {! Z# O
  1975. ; Check the cache checksum each N requests.$ z1 }! E2 o" ~/ G7 l! [
  1976. ; The default value of "0" means that the checks are disabled.+ r1 n* t: q" P6 f8 y
  1977. ;opcache.consistency_checks=0
    7 m' P7 o8 M* O2 j" _6 U

  1978. ) r( v0 D( Z; O& [) n* F" h
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; P2 h7 C: g( F3 k: N# J+ w4 f
  1980. ; is not being accessed.$ v) T& B3 @# }6 ^
  1981. ;opcache.force_restart_timeout=180
    0 q1 K- E& {; P4 `2 l

  1982. 4 r% k! n9 ]6 P  A$ \
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    . I; K) a/ ?* L5 |
  1984. ;opcache.error_log=
    " }6 A/ l4 M2 f  @. m+ z

  1985. ) o0 j3 b, b# @! D. I1 F: C
  1986. ; All OPcache errors go to the Web server log.7 v* Y" O' b, o+ M0 B
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 j; s7 l1 f+ s" u$ b" D
  1988. ; You can also enable warnings (level 2), info messages (level 3) or; B3 |" f, j  E
  1989. ; debug messages (level 4).
    $ \0 f; y; y5 s4 U% J( K( P
  1990. ;opcache.log_verbosity_level=1
    ; |( o& z  @3 |. C$ ]
  1991. 9 K. L+ C0 d. R5 M1 c# i
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * U0 C6 i4 Y( C& N5 F
  1993. ;opcache.preferred_memory_model=+ `4 l8 J: ]3 p$ x

  1994. 3 ?4 o4 }+ ]# _! F! `
  1995. ; Protect the shared memory from unexpected writing during script execution.7 m3 c6 D: E7 i5 i. W, Z+ t# L$ L
  1996. ; Useful for internal debugging only.9 |7 a* c) [2 S: g7 i3 s- g
  1997. ;opcache.protect_memory=04 t3 b8 A/ H5 Q9 F4 o/ j
  1998. 1 e: o5 ]5 j- }7 f
  1999. ; Validate cached file permissions., U6 s: v) R& ?! L0 u" ~3 ]
  2000. ; opcache.validate_permission=0
    * x- |6 U; M8 \7 g6 v% |" b

  2001. 8 V9 R0 f, a& A
  2002. ; Prevent name collisions in chroot'ed environment./ A/ l0 M$ }9 b" @) o* C
  2003. ; opcache.validate_root=0
    8 V* ?( l  q. p: W3 {7 T# c

  2004. , o/ _+ @5 W5 n- A9 l
  2005. [curl]5 D/ e2 U/ t2 L
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an" X9 q- f& u( p# l% |& Z# c- r
  2007. ; absolute path.- v6 w" v) [. j' U1 m3 j; N) J
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 r  U3 q5 ?) a5 l$ L0 S0 v

  2009. 0 u, N. {; [" h0 l! E1 K; T. i
  2010. [openssl]6 k# G8 V  w& ^1 r3 T# Z! o
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    " I8 e' y; @' c5 g  [9 u0 u; c
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should: l! r9 e2 e1 q" T
  2013. ; not specify a value for this directive as PHP will attempt to use the
    - r' X/ s4 i, D5 V1 O# M. q( N; ^
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    " M$ e% h$ ], d3 T7 u7 u
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ; c: B' [: ~: Y& P: @4 A
  2016. ; option.
    ( }" d2 x0 l$ @: O( }( R& ?. s8 U
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    9 n1 v( A2 F  p, V' p' X

  2018. 9 S0 y& L2 A- I* o: O& T
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the4 m" Y$ k" _+ z9 S& i! e
  2020. ; directory pointed to by openssl.capath is searched for a suitable9 z: ?  i. o$ N+ ]9 u  U
  2021. ; certificate. This value must be a correctly hashed certificate directory.; j: I& H  e5 ~- g/ S
  2022. ; Most users should not specify a value for this directive as PHP will/ Q* R8 x5 O  J$ O  x$ `
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # U5 a9 o& u- u' x6 L  c3 H  g# F1 ~9 e
  2024. ; this value may still be overridden on a per-stream basis via the "capath") D, H, Q! t, j3 }
  2025. ; SSL stream context option.( `, F5 A( I. f* e- r
  2026. ;openssl.capath=
    ! G; E# R. _2 @! I; ^# ]. f

  2027. 7 ^" p$ y- x. O+ T: L
  2028. ; Local Variables:
    ' `( P7 Z0 X$ F% h
  2029. ; tab-width: 4
    + w5 l/ V6 Z! j* y" M! `
  2030. ; End:
    - E! t6 A  L1 r

  2031. : _- q6 z$ ~8 {/ M3 S: z/ L: k0 h3 B
  2032. ;eaccelerator
    5 d5 r: T! |6 C& P) x( x4 W1 K

  2033. 7 N; V' z6 S. A4 t+ v  g( I0 i
  2034. ;ionCube
    6 W( S7 e1 g) K. O9 E$ a

  2035. + f1 T- s  F6 Y$ Y+ ^# M5 i
  2036. ;opcache/ W8 w+ ^7 A/ m1 c8 |$ L" m$ ~0 v

  2037. 8 g+ x: U% M; g. u9 n
  2038. [Zend ZendGuard Loader]$ I4 I( e9 ]( S9 X+ ]( Y) P
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' ?! j1 G( Q/ H* X
  2040. zend_loader.enable=13 A+ \4 p$ K+ [3 ]  i! v/ u5 c% e
  2041. zend_loader.disable_licensing=0
    ; U( S0 k/ i) g4 `
  2042. zend_loader.obfuscation_level_support=3
    9 w. X$ F+ }$ O1 m) B& ~
  2043. zend_loader.license_path=
    1 }9 o5 I- A1 f$ e5 @
  2044.   q; _5 Y3 [3 S; `  L; T; i+ r
  2045. ;xcache' ?& Q2 R3 B8 q: ]* G% h+ X0 ^
  2046. - _3 D, a' N3 s4 n
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
, _$ r! N8 y4 G) k+ x" D  V
: K! |3 ~6 ]3 B! }( q: d; [3 u
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
& C$ N  ?' }! d4 q6 M7 ?4 |
! m  k" @3 z+ H- f' aDiscuz!程序版本选择:
2 p. v' h/ i; X* k8 w  J: E站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,+ a9 n! O$ o/ O  _% Z0 K7 f: C# W* M
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:0 u1 C& a3 k5 i# f  p  [# @+ o
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。
) ^% f6 ]8 ~0 `- W+ W' @3 z$ x: o& m9 F' n9 \
Discuz!插件模板版本选择:
+ N5 p7 J5 }. T; h& c' a  s  S很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
( t; r; L% t! k$ b& H' p/ {针对这个问题做个统一的普及:
2 T% ~  q6 E5 _. Y2 ^& OX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。$ Z8 ]6 L* e  Q5 b0 e

; k( i0 t; N# o+ M+ G7 u! Z所以
8 Z/ M6 [+ Q+ G& U# O! x$ O适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。- F! v7 d& R6 ?# l! r, f. D4 a
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
8 W- p& @6 c0 N$ O8 b注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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