分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
: Z4 g4 F9 G5 a5 y
1 @& R( G7 l9 O) K
  1. [PHP]
    1 @8 j' v7 v( P: G! O; O

  2. : t' G9 _% e* [9 q
  3. ;;;;;;;;;;;;;;;;;;;
    ; T3 r& U8 g* z( Z6 J, P$ u/ ~
  4. ; About php.ini   ;, Q5 a4 V6 a) g
  5. ;;;;;;;;;;;;;;;;;;;' q3 B) G% `; M$ E6 s
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    . |8 m! K  x- E) H8 O
  7. ; configuring many of the aspects of PHP's behavior.- A* F% q3 O6 W) i8 `; A. L
  8. ! y' A6 l6 s- K+ A: H. Y  B
  9. ; PHP attempts to find and load this configuration from a number of locations.
    $ @0 V5 P8 i2 Y; X( U# }
  10. ; The following is a summary of its search order:; L7 ?8 _' Q8 z$ {
  11. ; 1. SAPI module specific location.8 y# o1 A) d3 x2 _2 U0 ~
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)# d& @! ]3 P8 o9 P
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)7 v7 L9 U' k, e
  14. ; 4. Current working directory (except CLI)
    # s/ S/ A9 L+ |7 g/ N9 @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    : @% E7 [) w8 F
  16. ; (otherwise in Windows)
    - G0 {; N: S: X1 Z3 e4 G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - p$ [) A; P% @0 i
  18. ; Windows directory (C:\windows or C:\winnt): y% x0 Y& u! m, j* w6 k
  19. ; See the PHP docs for more specific information.2 n8 L1 Z) D. h6 j6 q5 X
  20. ; http://php.net/configuration.file
    6 q( K3 D5 T4 w6 {( w

  21. 4 V$ p  s1 O3 h9 {% g1 }+ |  Q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    4 [9 ^* {; x- x; B, Q8 W3 `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    8 j$ f% z1 R& c/ t9 b' C7 |
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though: q6 c' o  `: e; i! w! q  h
  25. ; they might mean something in the future.9 h  J: U  i$ [- X$ S

  26.   ]* \7 x, p: H0 t* o; e! M
  27. ; Directives following the section heading [PATH=/www/mysite] only
    + f3 b4 m, N8 t3 H& L
  28. ; apply to PHP files in the /www/mysite directory.  Directives! T6 Y+ Q4 L! O: y% y/ J( V
  29. ; following the section heading [HOST=www.example.com] only apply to
    & J1 Q+ x# {1 r9 N& d  t
  30. ; PHP files served from www.example.com.  Directives set in these+ }: {: f6 W) }/ }. K
  31. ; special sections cannot be overridden by user-defined INI files or; x# O5 M' p) g& H
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under; G: w2 Z5 O) @* h0 T; l3 B
  33. ; CGI/FastCGI.: X0 T; m# v6 W0 `
  34. ; http://php.net/ini.sections
    ! r+ _' q. B7 L1 p$ ?: B9 b9 t
  35. # ^- A  N# E% y5 x. ^
  36. ; Directives are specified using the following syntax:2 a( X7 c; R. c1 b- n, w$ N/ g
  37. ; directive = value5 U& R& K! i3 E5 F8 g6 L7 c/ Z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar./ Q! q& C  g+ |* g
  39. ; Directives are variables used to configure PHP or PHP extensions.& _+ S# t; V; j% f: T
  40. ; There is no name validation.  If PHP can't find an expected3 I; a9 k/ e/ g: A/ S) r' @5 \3 p
  41. ; directive because it is not set or is mistyped, a default value will be used.
    + i& {  @# V! c, K
  42.   Q8 x/ l6 m2 `. s/ N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    8 s2 H6 I' Y  y% i- u+ Z5 G5 M5 H
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , |% D1 ?) N3 F, k( X' Z& ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 B9 w8 G: `; w& d& Y; V3 B. n' H
  46. ; previously set variable or directive (e.g. ${foo})
    + q5 D* u- H! Q' ]
  47. ! ^: G: {* E  W  t9 C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:* X' Q: v  d* ~. m* S4 T5 d
  49. ; |  bitwise OR( B& a: u8 \9 |/ e" G
  50. ; ^  bitwise XOR
    : @9 P" x# W& f* w$ n$ z
  51. ; &  bitwise AND
    $ Z* }' T) t$ A# o
  52. ; ~  bitwise NOT5 u8 x; T. v" Z! ^
  53. ; !  boolean NOT
    8 D5 e- k$ z# ~5 _4 b9 N: D3 d
  54. 6 Y7 P0 o/ T, p0 o5 |
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 \, n( D, W( W8 x$ ]
  56. ; They can be turned off using the values 0, Off, False or No.! Z. @  t2 l+ ^  l+ y2 [5 X! x  `

  57. 3 z3 e6 H- \: V
  58. ; An empty string can be denoted by simply not writing anything after the equal$ I% d3 ?0 J3 O- K7 G# I
  59. ; sign, or by using the None keyword:" `: D2 J7 P" [% E7 g) T

  60. 2 D& ^8 V9 ?8 c7 \, Y8 P; Q
  61. ;  foo =         ; sets foo to an empty string9 ]- V+ d  D8 F) s1 `8 V. L
  62. ;  foo = None    ; sets foo to an empty string2 L8 \& C4 g2 T- z0 }! b3 T9 [
  63. ;  foo = "None"  ; sets foo to the string 'None', k; |3 D' E! Z; x
  64. $ C+ j) I8 `. p+ ]
  65. ; If you use constants in your value, and these constants belong to a
    / P1 Q8 y. d! i. B" N2 [* w
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),  Y4 w7 C! g$ |! E& J
  67. ; you may only use these constants *after* the line that loads the extension.! y4 D; H) j! j. _9 R# F7 x
  68. 7 {- P6 w" r1 V* a( V$ I& P" h
  69. ;;;;;;;;;;;;;;;;;;;" S0 J# a* s  z" A2 m+ \
  70. ; About this file ;3 {2 F# c( M* m+ o
  71. ;;;;;;;;;;;;;;;;;;;) i% C. e1 c/ W4 U9 d
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; d# {/ p$ v" r, m% F
  73. ; in production environments and one that is recommended to be used in6 |5 ~  a  O, O
  74. ; development environments.
    % ]# }+ N- ^1 E) v3 |9 a

  75. 3 w2 W# e7 P! G: H/ N
  76. ; php.ini-production contains settings which hold security, performance and
    ! I  M: }! v# P1 v5 A) @, q8 ?0 v
  77. ; best practices at its core. But please be aware, these settings may break, L) A9 y2 Z, O3 e+ [" Z2 F. t) D
  78. ; compatibility with older or less security conscience applications. We
    % D8 w& B. l: t; P$ U) K
  79. ; recommending using the production ini in production and testing environments.1 h; I! u+ H+ |, X' z' ?

  80. 4 Z: g2 y7 U7 B0 A% [
  81. ; php.ini-development is very similar to its production variant, except it is8 r1 K: l6 @% c0 ?! u3 u
  82. ; much more verbose when it comes to errors. We recommend using the
    : M1 w" G3 q2 u- W5 e& {
  83. ; development version only in development environments, as errors shown to
    5 W  w+ C& X/ z0 M: {7 i% o( x" |
  84. ; application users can inadvertently leak otherwise secure information.$ x1 {. B! S0 ^' K& c8 x5 A$ x

  85. # T7 m" `% y7 |: j
  86. ; This is php.ini-production INI file.
    : J$ l/ o" M, G6 Z9 H( _
  87. / l2 ]$ S: ~* n2 h% P
  88. ;;;;;;;;;;;;;;;;;;;
    4 ?. F5 P0 R1 w$ R
  89. ; Quick Reference ;
    9 ]( \! }, w; U5 ~
  90. ;;;;;;;;;;;;;;;;;;;1 z! S! q" ~( t% I1 C
  91. ; The following are all the settings which are different in either the production; D: h7 k. ~3 f% ]+ F+ n
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    : x9 C( x6 q% }9 H- C3 W
  93. ; Please see the actual settings later in the document for more details as to why
    0 S6 i! w' r, S4 k
  94. ; we recommend these changes in PHP's behavior.
    , u* Q4 `. h* n! `& S7 o* s
  95. 7 q- t4 R" k/ T) k- ^3 b! Z! O
  96. ; display_errors' x* m" ^! R! g, \9 g. P+ k. Z* ]
  97. ;   Default Value: On
    ; y# I* W8 V  ^0 g. p& l4 J
  98. ;   Development Value: On. l4 w! A. j# Z1 f* t+ \
  99. ;   Production Value: Off7 ?7 n$ {- ^" M! e  l6 K
  100. 5 E4 O, q0 T. I/ `& x" Z
  101. ; display_startup_errors
    ! A3 d; p: K* f) j4 b7 m- c9 V
  102. ;   Default Value: Off- N9 d& `) p! c
  103. ;   Development Value: On% A9 R. l7 y6 ?) Q- {
  104. ;   Production Value: Off
    ; e! b  e; i1 U0 X

  105. 3 [7 c- w# b+ ?+ \7 `  y
  106. ; error_reporting6 U( t( Z+ [5 B
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  b: I7 U0 d0 }! p' P& ^, A
  108. ;   Development Value: E_ALL
    # R& Y$ v# T3 P" q$ [3 S, L
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( b9 e2 y) g+ w% s/ Q7 R2 @5 _5 T1 Y
  110. / `& i5 t% q) Q" d/ ?0 S( t
  111. ; html_errors
    6 v% K( O5 T1 [% b, G2 t/ V  s$ K% E1 m
  112. ;   Default Value: On
    ) J2 S' A! ]1 o
  113. ;   Development Value: On
    ) z7 u3 s1 W; G2 I6 F
  114. ;   Production value: On
    ( m) P! {7 m% y1 w

  115.   [* c: E* f  a# Y; k- \% c( I
  116. ; log_errors3 P& m% n6 u" N+ [$ B: s& P
  117. ;   Default Value: Off1 _: T( U# l3 ?4 G0 M
  118. ;   Development Value: On
    1 G; y* g4 h" P- e0 z+ p
  119. ;   Production Value: On
    3 P1 S" h$ t+ P

  120. , o$ @( R1 J% n6 E6 b
  121. ; max_input_time
    # N+ `% x+ u4 |: p2 g
  122. ;   Default Value: -1 (Unlimited)( |1 e/ n( u( o8 [0 [
  123. ;   Development Value: 60 (60 seconds)
    5 s, L: @, D/ W
  124. ;   Production Value: 60 (60 seconds)
    ' j  W. w& f. q  x) W1 \
  125. " y% f. k$ [& l' d* l
  126. ; output_buffering# w( X7 J* w6 b" l; Q( u* Y
  127. ;   Default Value: Off/ p2 p3 ~6 o$ i7 l% B4 ~$ j
  128. ;   Development Value: 4096
    / C# X3 m6 m! I
  129. ;   Production Value: 4096
    : d8 X) ^5 |" G$ A! x

  130. : S" m5 t, U  v' ?
  131. ; register_argc_argv9 n  ?5 g; G9 N
  132. ;   Default Value: On$ \; I* O4 I- L* Z* Q8 g1 L
  133. ;   Development Value: Off
    , Y3 p6 s: g9 B% R9 c$ G; E. ?( a
  134. ;   Production Value: Off
    9 M8 g7 F: e% w
  135. 6 m1 \" J2 v; v4 ?
  136. ; request_order
    0 D+ E7 k! ?' p8 |
  137. ;   Default Value: None
    4 p7 T4 Q+ N; v& o6 k( X: L$ Y0 I
  138. ;   Development Value: "GP"
    # s% ^% ]. l( \& a# n9 z* w0 ~
  139. ;   Production Value: "GP"
    $ t, I$ n6 f; {2 Y% Q1 V% \, Q
  140. $ r4 {7 \/ B/ }/ {3 f4 N
  141. ; session.gc_divisor3 ~' K+ ^4 h+ p! O( l
  142. ;   Default Value: 100
    6 J/ n: V! Y1 x1 E
  143. ;   Development Value: 1000
    6 ~$ X) k4 i! a: ~, ]0 {
  144. ;   Production Value: 1000
    6 _2 P5 D2 p, S. a: Y
  145. & w0 i; d' G) V( O
  146. ; session.hash_bits_per_character
    3 e% _: u& g" d
  147. ;   Default Value: 4
    , |) _# |7 x( r
  148. ;   Development Value: 56 }" R8 y2 t2 i1 U- ^& o( k
  149. ;   Production Value: 5$ e7 j' ?7 _5 U
  150. # D: R9 A  C6 d3 S$ g% \
  151. ; short_open_tag$ G% O3 d9 d2 I7 O
  152. ;   Default Value: On; i' J0 [8 R1 F
  153. ;   Development Value: Off
    - V0 U% S9 @- ~/ {5 I/ ~1 i
  154. ;   Production Value: Off  A# o! n" R& R# R: p% x, K

  155. # L6 B+ ~5 C. }/ m" P9 a& C$ t
  156. ; track_errors. p/ ~% R# }# x1 r+ X0 H
  157. ;   Default Value: Off
    5 D8 `9 k8 w0 `1 a) b( E7 \
  158. ;   Development Value: On
    * u8 A  |6 {$ l" H  L
  159. ;   Production Value: Off
    " L( w0 a/ q0 N( d# F; k
  160. , _" N1 _, T* a, x& `" c
  161. ; url_rewriter.tags- ~& _2 K, s- v$ r* ]. o" N
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="1 \- ?* O  E- @4 T! Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 n' Q$ E! t3 i' `& \
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 o$ o, C8 F5 j& L
  165. 3 H! y4 c$ t$ D9 \$ j5 z3 s. N
  166. ; variables_order- W6 a+ Z" M1 L0 u
  167. ;   Default Value: "EGPCS"
    9 r' [, r/ b3 m7 q. J; W
  168. ;   Development Value: "GPCS"
    ) w/ p% I! V) A  S6 X) e
  169. ;   Production Value: "GPCS". q. z7 Z* n! h: @6 i, ^- T

  170. 4 B5 n# {! ^  I5 C: D5 h% u
  171. ;;;;;;;;;;;;;;;;;;;;
    # T  z- `' Y6 a. ]
  172. ; php.ini Options  ;) q" D: E) t4 c/ _; N
  173. ;;;;;;;;;;;;;;;;;;;;
    - }7 b) l& w2 Q$ M( ^0 R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ! h8 j: a+ h6 a6 @
  175. ;user_ini.filename = ".user.ini"
    / P9 X; S9 L8 c1 {, G  @
  176. 4 D" |3 U0 s6 C) t+ {# F
  177. ; To disable this feature set this option to empty value
    & g$ i9 K, N' L  [0 }
  178. ;user_ini.filename =7 j0 E1 }: }) Q3 p# z3 p

  179. & Y0 S: v+ {. Q$ _; \) r9 C% z9 l+ {
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    $ y9 u  O! n. Y1 E+ }8 Z
  181. ;user_ini.cache_ttl = 300. B! p( b5 l& Q2 N) Q, G5 D
  182. , Y8 Y, {' K8 {, q" o1 H( a
  183. ;;;;;;;;;;;;;;;;;;;;. P, p& x7 p9 }; y
  184. ; Language Options ;
    - ^  {7 J; v( |$ h
  185. ;;;;;;;;;;;;;;;;;;;;% g$ S2 o0 i- K3 a% }7 N0 L4 Y- _

  186. 0 Q; {4 o$ a$ b9 w- Y
  187. ; Enable the PHP scripting language engine under Apache.& l$ y1 L" A: [2 F* ?8 m$ k: h
  188. ; http://php.net/engine
    , x8 y- f4 j- C9 u
  189. engine = On
    4 v3 V* Z6 _( Z* C0 L! _/ h. L

  190. 7 }" s" W1 q9 y
  191. ; This directive determines whether or not PHP will recognize code between6 M+ y+ d( h/ j2 I' u2 J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    - {" \) o- J5 Y4 @
  193. ; generally recommended that <?php and ?> should be used and that this feature- H' {. B- t" E8 r3 E; s
  194. ; should be disabled, as enabling it may result in issues when generating XML
      t3 Q) a6 h( C. r
  195. ; documents, however this remains supported for backward compatibility reasons.
    * m. a. S0 F: f( m2 X3 x5 j
  196. ; Note that this directive does not control the <?= shorthand tag, which can be7 A: g4 n# W' T0 R2 ?
  197. ; used regardless of this directive.
    * u: ?  y  W9 m/ f
  198. ; Default Value: On( C8 \/ d$ \. `% O
  199. ; Development Value: Off; F( L: u- A3 r* q
  200. ; Production Value: Off; J5 ?# S1 O. w
  201. ; http://php.net/short-open-tag
    2 X. R2 h4 ]/ U; {0 O
  202. short_open_tag = On9 d3 B: Y3 k) ]

  203. + r- ]& A  G/ n" o
  204. ; The number of significant digits displayed in floating point numbers.( Q  D0 W6 x1 Y
  205. ; http://php.net/precision
    ) a& s: U# N! ?) G0 u7 |% z
  206. precision = 14# b0 K; i+ Q. Y& z
  207. 9 m3 M# s0 s/ T$ L, W
  208. ; Output buffering is a mechanism for controlling how much output data
    9 A  a- D3 _6 A+ |- Q8 ~
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    3 c5 ^9 D8 E: q
  210. ; data to the client. If your application's output exceeds this setting, PHP
    6 [! s6 T+ ]1 P2 g6 a
  211. ; will send that data in chunks of roughly the size you specify.
    8 g* l5 |# ?' m! @! t$ Y/ T+ Z  m
  212. ; Turning on this setting and managing its maximum buffer size can yield some+ m# _* q$ [$ L3 W/ \4 ^
  213. ; interesting side-effects depending on your application and web server." U) {" i; u/ }5 h
  214. ; You may be able to send headers and cookies after you've already sent output+ l! U3 v6 n, H8 `7 i2 {4 F. P% l, @
  215. ; through print or echo. You also may see performance benefits if your server is  j8 z, l& j) C. R( X% o
  216. ; emitting less packets due to buffered output versus PHP streaming the output$ w: r" ^, e  c
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    - Q- g; n& `8 V  P6 v4 ^! @% p
  218. ; reasons.& c. x+ G( s& g$ O3 q
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    9 @; a" H' x2 ]
  220. ;   functions.3 i" [# n, q1 l9 Z6 a( g! r
  221. ; Possible Values:
    - q$ s; l% B, W( X2 B
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)3 j" I- ?# f& g2 p" M" Z5 Y
  223. ;   Off = Disabled
      g& R/ d: G; e+ r0 e
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    4 L  b( n; Z7 `) j3 g
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " b' _& O& z/ @3 q* c
  226. ; Default Value: Off  x. g7 D6 M4 w: n& D% Z
  227. ; Development Value: 4096
    , `3 G$ e/ a1 U# |
  228. ; Production Value: 4096
    9 A6 F) [) U/ V! s% v
  229. ; http://php.net/output-buffering6 j' ?- I" e! Y3 Z6 j8 z) ^
  230. output_buffering = 4096! q; |5 b3 B9 ]+ y

  231. ( Z% P) @  s" f  d
  232. ; You can redirect all of the output of your scripts to a function.  For9 t( b; D( z1 p( O. D+ [" l% d
  233. ; example, if you set output_handler to "mb_output_handler", character# Y; |7 ^7 M' Y& x# ?7 G: X
  234. ; encoding will be transparently converted to the specified encoding.! f  ^  i; L$ C- f" X
  235. ; Setting any output handler automatically turns on output buffering.+ Q, o3 S5 B* t. h& Q: u9 [
  236. ; Note: People who wrote portable scripts should not depend on this ini8 u' C. r; L5 x; K0 j' Z, B7 T& ?
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    1 O9 F2 k8 k3 U
  238. ;   Using this ini directive may cause problems unless you know what script
    . c7 p; p/ k2 l- r$ _+ y. e
  239. ;   is doing.
    2 S' _9 i6 X& W& D" M) X% A
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    : G" ~1 Q! F4 K: ~8 m% c
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ( s6 [8 C) M+ A( |; G6 {- o# H4 f
  242. ; Note: output_handler must be empty if this is set 'On' !!!!* f$ O% v' p) [2 Q5 K# s4 h6 u9 `. a  V; t
  243. ;   Instead you must use zlib.output_handler.
    ! }$ g, \+ Y( |# V% T; p4 A  _
  244. ; http://php.net/output-handler4 h6 m' v/ q- k  `$ u) ~# f
  245. ;output_handler =( ?/ F) w7 q7 B# A, m5 U
  246. 3 p) q# ^( f$ g
  247. ; Transparent output compression using the zlib library
    . C( c. A3 e; _8 @* ]
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size$ x' W% [$ x. i1 z$ F
  249. ; to be used for compression (default is 4KB)1 U5 q" x3 d9 E
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP2 q7 g/ }, E& Y/ m
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 y/ C! x  I* d" \7 n$ c( w" {
  252. ;   compression. If you prefer a larger chunk size for better/ L" ^' E6 ^" U
  253. ;   performance, enable output_buffering in addition.* H) J2 w& ~! s6 m% T# C% n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    3 S" C6 k3 g. q2 b
  255. ;   output_handler, or otherwise the output will be corrupted.& ~/ M4 S: o! O' P% \# e
  256. ; http://php.net/zlib.output-compression3 _/ G3 F: ], |. M0 ?3 W
  257. zlib.output_compression = Off/ ]& \7 u; V2 M0 j( O7 G: M; D) i
  258. ! [' l' K1 ?% d* N9 }
  259. ; http://php.net/zlib.output-compression-level
    - h! r+ y% G; C7 A* W0 X+ c
  260. ;zlib.output_compression_level = -1
    2 K$ {3 s( R# [7 b6 C

  261.   T4 s0 g0 ]/ V( u. r/ u
  262. ; You cannot specify additional output handlers if zlib.output_compression( O* H4 l; g* }& O* w' m
  263. ; is activated here. This setting does the same as output_handler but in9 Y# C) J1 r& B+ J3 ?/ y
  264. ; a different order.; ^3 q  `) h& D& k/ d; p& W% u2 J
  265. ; http://php.net/zlib.output-handler6 P  O9 |/ m; {7 k
  266. ;zlib.output_handler =
    1 K  q, |* W0 b) F) j
  267. 8 ]7 A3 K/ S0 E
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    / W# b# C5 ?/ d, [
  269. ; automatically after every output block.  This is equivalent to calling the
    ) d* M5 o! ]6 V+ b0 {; k
  270. ; PHP function flush() after each and every call to print() or echo() and each
    9 t5 S2 K+ [1 b& }( q  P
  271. ; and every HTML block.  Turning this option on has serious performance
    * S) Z$ `) H/ d3 [
  272. ; implications and is generally recommended for debugging purposes only.
    0 m% U7 |8 \* p0 P6 D# B% _
  273. ; http://php.net/implicit-flush
    1 K* G$ f" m7 a* s; x( v& @
  274. ; Note: This directive is hardcoded to On for the CLI SAPI2 i9 h) @1 y( x+ Q0 S$ j
  275. implicit_flush = Off2 G! p, e9 S* E4 \
  276. 4 U' f6 p5 T$ e$ D/ [2 N
  277. ; The unserialize callback function will be called (with the undefined class'
    % p6 @8 ]/ D) r( R8 r5 w
  278. ; name as parameter), if the unserializer finds an undefined class! m4 n7 g' r( b3 j" S  z$ v5 M
  279. ; which should be instantiated. A warning appears if the specified function is
    0 `. r9 T- X! g. L! }/ q
  280. ; not defined, or if the function doesn't include/implement the missing class.
    7 o5 a$ e, X1 Z: ]0 o
  281. ; So only set this entry, if you really want to implement such a. S3 v. n; [! @; V
  282. ; callback-function.2 ?4 O0 H: v8 Z; a8 Q6 J) B
  283. unserialize_callback_func =9 Z" J2 K% x* Z3 S- ~
  284. 5 X0 i8 w8 Q0 q* c& _  N
  285. ; When floats & doubles are serialized store serialize_precision significant
    9 I3 |/ U: T3 p
  286. ; digits after the floating point. The default value ensures that when floats
    . d. t2 [) J' V, l: H3 Z% x
  287. ; are decoded with unserialize, the data will remain the same.
    - {9 j# @% I- ^: Z3 W( y
  288. serialize_precision = 17# @% m4 o, _/ ?* l' y9 N

  289. - g, }$ |  N" H. f7 `1 q0 D# C' h
  290. ; open_basedir, if set, limits all file operations to the defined directory
    / C( I$ }4 e- g% R0 j
  291. ; and below.  This directive makes most sense if used in a per-directory
    * Q5 t$ z5 U: E# T* s3 I
  292. ; or per-virtualhost web server configuration file.0 A- B1 Q9 L5 i/ d+ ?5 [% m6 Q
  293. ; http://php.net/open-basedir
    6 @  ]2 C# m: [& V7 T
  294. ;open_basedir =+ r1 W( l$ \2 z6 w( H8 ^) W4 m! s

  295. 6 G2 t- z2 w  }( c
  296. ; This directive allows you to disable certain functions for security reasons.6 t8 l# _. q) Q# x2 U7 q
  297. ; It receives a comma-delimited list of function names.
    ) s6 i, _! S& H0 |' g- ?
  298. ; http://php.net/disable-functions
    " s% b- T( `1 z3 U* m  n8 T: X: y
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru" k4 w7 {' t/ U/ R" d
  300. - @* E: X5 a+ K8 v+ |2 F
  301. ; This directive allows you to disable certain classes for security reasons.* }7 b  @" T- S  Q3 J7 H
  302. ; It receives a comma-delimited list of class names.
    4 A% ]6 C' a/ @1 u4 e, s3 R
  303. ; http://php.net/disable-classes
    : |7 K  L  F; U2 h5 z0 u
  304. disable_classes =
    % k& s- U) G* `4 c* z
  305. ) P6 G; W) {+ V, J* T
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 l( d$ T0 ?! j
  307. ; <span style="color: ???????"> would work.
    - O- k* r9 c; W' ?; [  _
  308. ; http://php.net/syntax-highlighting
    6 n5 q( @9 E+ X3 Z) k, o5 G
  309. ;highlight.string  = #DD0000
    * t0 s9 s9 j& ^% F' U
  310. ;highlight.comment = #FF9900
    2 ]. }& f# d. y, P0 S
  311. ;highlight.keyword = #0077000 @3 C+ F7 x) ~3 u) }4 i& J
  312. ;highlight.default = #0000BB
    9 L3 F; Z1 \% t
  313. ;highlight.html    = #0000006 v- x4 p0 N- S
  314. ! ~5 [6 r) y  `# U8 ~7 N
  315. ; If enabled, the request will be allowed to complete even if the user aborts$ E3 C- r2 i# u4 M
  316. ; the request. Consider enabling it if executing long requests, which may end up
    6 [  v3 I* v9 F/ Y$ i, O7 K  V  a
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 [2 m, I7 {. [
  318. ; is to disable this feature.& e9 z# K( U4 @8 L
  319. ; http://php.net/ignore-user-abort: c5 Z# o: y$ |& V% v9 R
  320. ;ignore_user_abort = On
    2 C% D5 D% u) N7 _* w
  321. ; c" m, v* C1 w1 m1 I& D4 t6 }
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    . z$ G6 u1 o8 J: K1 U5 _
  323. ; be increased on systems where PHP opens many files to reflect the quantity of, {  O) ~3 \9 g2 y- L9 c
  324. ; the file operations performed.
    3 O' ~2 t( _7 e
  325. ; http://php.net/realpath-cache-size
    # P- z& E/ l. i; h; J" n' @
  326. ;realpath_cache_size = 4096k
    9 z, z0 s3 p. R6 ^

  327. ) m9 ]2 @/ E$ Y" F( H! x# i
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    8 V- z* {4 E# I; s2 T
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    5 z, _9 [8 D2 z0 y9 U
  330. ; value.7 Z$ M; m& ]# {; K( F5 o6 G) s2 ]
  331. ; http://php.net/realpath-cache-ttl$ h, {2 X4 U* |; x) P& @0 d
  332. ;realpath_cache_ttl = 1209 u( `" l5 F. q- H. M3 ~* C7 J/ u

  333. % }# w" h, s7 X( Q$ X5 V" e
  334. ; Enables or disables the circular reference collector.
    2 S: |4 D5 ?% P
  335. ; http://php.net/zend.enable-gc9 k% c6 U) O, ?+ o* @, Z
  336. zend.enable_gc = On4 C. m' ]2 M" B# T% x/ W

  337. % l- H) }! T! g' g0 s! K
  338. ; If enabled, scripts may be written in encodings that are incompatible with- W2 @7 B# A- x+ f* ^) j
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such( `: ?6 \' G1 z6 i2 P$ f6 m, y
  340. ; encodings.  To use this feature, mbstring extension must be enabled.8 [1 M& v; j# E# G& K6 d
  341. ; Default: Off/ Z; a. r3 R" k4 R7 m
  342. ;zend.multibyte = Off" K6 |; c6 I2 ?' Q( f

  343. 4 b6 l3 d" H3 n; S9 b& i$ A) o# _
  344. ; Allows to set the default encoding for the scripts.  This value will be used, x- l; K: R2 x2 M! O9 g
  345. ; unless "declare(encoding=...)" directive appears at the top of the script./ u8 J4 V$ c: [9 v' H: H( G( C5 p8 F  L
  346. ; Only affects if zend.multibyte is set.
    / u, }  k$ ~5 _* [: S
  347. ; Default: ""
    , t' J) m% X% O$ {+ j, Z
  348. ;zend.script_encoding =
    1 E" ]3 x9 X' p& i2 m" [6 L
  349. . e) R# p  S4 T( A4 r( M
  350. ;;;;;;;;;;;;;;;;;, s( o& G% T5 y. y* E3 [
  351. ; Miscellaneous ;
    8 d# l. G# S4 u. Z' h6 N+ l% V+ O
  352. ;;;;;;;;;;;;;;;;;0 R& x+ R+ y0 M9 O# H) O- q. K
  353. 1 N5 L2 o! |+ h
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    " u. W6 S3 E, L* `
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
      [2 O7 C5 }0 z& `- K4 M0 T7 {
  356. ; threat in any way, but it makes it possible to determine whether you use PHP6 }! e' x! h% f4 e8 j
  357. ; on your server or not./ D  ~% J- N) z
  358. ; http://php.net/expose-php
    & L  t& j7 e5 L7 o% V
  359. expose_php = On
    9 A- c5 I1 a& p# a

  360. 6 t: q9 E: l, |+ c! p, Z1 O
  361. ;;;;;;;;;;;;;;;;;;;
      M$ R  Z) L" S) n+ h* h
  362. ; Resource Limits ;
    / K0 J7 g. _; @
  363. ;;;;;;;;;;;;;;;;;;;
    4 }% U; V7 V2 s/ i/ E$ G
  364. : G; m+ u! ]2 j. ^0 g  _' O
  365. ; Maximum execution time of each script, in seconds; W0 X# P. s) [0 N; }
  366. ; http://php.net/max-execution-time
    ' u3 @' U  z4 Z$ M6 S
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI8 P" ?7 D8 D# z! B) f6 V' F
  368. max_execution_time = 300
    2 R8 _8 k: V% o6 j

  369. 2 l: D" g: s  r# L. d9 N0 W' t
  370. ; Maximum amount of time each script may spend parsing request data. It's a good7 w5 {2 }5 d, y) F- o- j2 X
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ) V) E1 p% F  \3 _
  372. ; long running scripts.
    ! j6 s; g# S1 Y' a; T
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI. B6 \! a4 I4 }, Z0 [& y, m
  374. ; Default Value: -1 (Unlimited)
    ' Z- G% I* g: G( N% V$ \/ F5 |
  375. ; Development Value: 60 (60 seconds)* r! ]0 U  n, r! ~& w
  376. ; Production Value: 60 (60 seconds): D: i) q& ~4 w6 J3 i" y
  377. ; http://php.net/max-input-time5 n, e4 y6 J+ E
  378. max_input_time = 60
    , y; O1 n5 _$ c. G! [/ S- G
  379. " U, e* M' z4 ~9 f0 m0 `  r
  380. ; Maximum input variable nesting level
    $ M- u8 B5 j' R2 H
  381. ; http://php.net/max-input-nesting-level1 {% [1 {7 m; A' q
  382. ;max_input_nesting_level = 64% r% c3 k0 h5 E

  383. ) N' M0 T# P+ N0 q- S
  384. ; How many GET/POST/COOKIE input variables may be accepted; I6 z% a5 h& d; u2 o: J8 K
  385. ; max_input_vars = 1000
    3 ~8 K5 g! F, Z9 }; y$ h

  386. ( _, B0 q4 L; L! X( l' ?
  387. ; Maximum amount of memory a script may consume (128MB)
    9 g0 k! @% h4 Z3 O9 E  H. i  y
  388. ; http://php.net/memory-limit
    - w9 @9 Q" b& m& q! A9 o
  389. memory_limit = 128M
    & B+ \* J7 c& i! R
  390. 8 T+ ^+ l+ Z& T: b' X: P% G
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) Y" }1 Z2 K" L0 m9 K  z" p
  392. ; Error handling and logging ;% z' H# l  c. Y0 f7 h: |
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % \4 t* K( K$ I- J5 R9 j& u5 s
  394. 7 ]# a: p/ u* \. N2 X1 i" k1 K
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    9 a5 ^: U: d/ L& a8 U
  396. ; it to take action for. The recommended way of setting values for this% C! e3 T+ w" x( J- S( `7 o! l- v5 b
  397. ; directive is through the use of the error level constants and bitwise
    $ {7 Y: K2 `6 m8 e+ U
  398. ; operators. The error level constants are below here for convenience as well as% D' a+ i3 \; H& d* j: ^
  399. ; some common settings and their meanings.
    + O$ a7 X9 d) g/ f
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ! Y- t5 T% t2 q+ Q) r* Y6 z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and' l: p* r' \9 v$ E
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    4 K  G7 G- S0 E( v8 k. D7 H2 ]
  403. ; recommend error reporting setting. Your production server shouldn't be wasting- s% A8 D) e1 _. B( p
  404. ; resources complaining about best practices and coding standards. That's what7 i' n) n, ?' T- g, j4 C
  405. ; development servers and development settings are for.6 |! ?7 }) m# D, a
  406. ; Note: The php.ini-development file has this setting as E_ALL. This5 N' y& x+ s: T7 S5 J
  407. ; means it pretty much reports everything which is exactly what you want during
    ; T1 |* K4 C5 q9 x& g/ r
  408. ; development and early testing.
    * h; {0 V& R/ z! m& K) |! w
  409. ;
    - W1 W6 P( a( Z" k4 D9 o7 Z9 h
  410. ; Error Level Constants:
    5 H4 l7 m5 |- U7 k7 H2 n& T
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / r! Z9 i/ X3 I" w( Y" c
  412. ; E_ERROR           - fatal run-time errors* M" ~/ F2 O5 q  C7 A) ~" M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    : X8 i* b) H) |$ ^) U
  414. ; E_WARNING         - run-time warnings (non-fatal errors)" _( `3 `3 Z6 V7 c
  415. ; E_PARSE           - compile-time parse errors
    2 l( D2 U" [6 M
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    + |! p' L) U: `( Q' D
  417. ;                     from a bug in your code, but it's possible that it was* H% Y$ z! E$ q6 `& m6 e
  418. ;                     intentional (e.g., using an uninitialized variable and7 J% x1 |. K+ C$ }9 g  c
  419. ;                     relying on the fact it is automatically initialized to an0 k6 l, F0 A3 Y% J$ ~3 j! M
  420. ;                     empty string)4 |4 n& H3 a/ y! W* y
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: z" |0 o9 x/ Y" l1 l1 O, \3 m
  422. ;                     to your code which will ensure the best interoperability& G) d# G% Y  C5 O% e- E1 B  N" X
  423. ;                     and forward compatibility of your code; M# \' E) v$ y1 }! h
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    : n7 Y/ h& T& u9 ?- K, N
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's4 A; L' Q5 W( o0 a5 K; N; k
  426. ;                     initial startup
    : B7 M3 ?2 ?, @$ {5 U
  427. ; E_COMPILE_ERROR   - fatal compile-time errors3 c& K& q1 P4 I- i2 |5 w, {6 y2 K: n
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    0 `$ a, n$ e# i
  429. ; E_USER_ERROR      - user-generated error message
    9 {% z3 q4 U: K5 y5 K9 P$ j
  430. ; E_USER_WARNING    - user-generated warning message" I  j: D# q6 q2 i
  431. ; E_USER_NOTICE     - user-generated notice message  P, n8 ~. V& b" K5 F6 s# c1 f
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    . C1 P' w( X$ I2 o
  433. ;                     of PHP
    ' r- H2 I8 k7 _5 v  s1 d4 A
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings7 V4 |# X" v8 X- ]1 `
  435. ;
    ! z: ]9 f& ]7 |+ i
  436. ; Common Values:
    / v/ K+ x6 L+ l: W0 l
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)+ P) p; w, v% ?# \- K# y0 W
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + v, K' Q1 x) H1 I2 O" q2 |! V  E! ^
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    " }/ Q: _+ k0 E# Z/ v# }1 ?
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    % G$ S. u- N# Q/ b2 g
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED3 N9 p+ T/ V- C% m
  442. ; Development Value: E_ALL
    / q. @  T& W  q5 Q: X* f
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " K! c: E# S- @/ E# p$ Y8 a* c' V
  444. ; http://php.net/error-reporting# h: J/ P+ H2 L/ L: l
  445. error_reporting = E_ALL & ~E_NOTICE
    - m1 u# B" Z1 o8 m# ^9 |0 }" P; ~

  446. - T0 j) M% @7 f; S$ u1 G# Y' T
  447. ; This directive controls whether or not and where PHP will output errors,
    * Y! q3 {' j" N5 u! f, `- A
  448. ; notices and warnings too. Error output is very useful during development, but
    - F8 f- f% n( t/ {+ z8 d- X% S9 u
  449. ; it could be very dangerous in production environments. Depending on the code5 I4 [* C( R. l; q( \2 y( G
  450. ; which is triggering the error, sensitive information could potentially leak
    $ J4 B0 K* N# C/ A) k: w
  451. ; out of your application such as database usernames and passwords or worse.6 H' e0 k8 `, U& f7 Z; X/ F- T
  452. ; For production environments, we recommend logging errors rather than4 @, `  q) @, A0 F
  453. ; sending them to STDOUT.
    7 b% M- M) H3 o+ u
  454. ; Possible Values:
    0 f# M! k5 C' ?, ?/ ~! S9 t
  455. ;   Off = Do not display any errors: m; {4 k4 k( C: P1 ~
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" A8 F4 p; A% @; [
  457. ;   On or stdout = Display errors to STDOUT" D7 U; \2 Z* X
  458. ; Default Value: On# j& t" A' Z4 i* D
  459. ; Development Value: On* z3 V# z7 V" r4 x9 |
  460. ; Production Value: Off
    & t4 u& v9 m- K; s1 Q
  461. ; http://php.net/display-errors8 ?. ?+ |4 |( ?! z5 J# b& N4 b
  462. display_errors = On# X* g. M: R/ n4 Q' {# o

  463. 8 S5 i2 b3 T5 N! F1 Z" u
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ! E0 Y$ x5 G3 X- n
  465. ; separately from display_errors. PHP's default behavior is to suppress those$ w4 z/ ~" `5 Q. L1 F: N0 {/ m1 o
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    6 d& r' _* B  y' I
  467. ; debugging configuration problems. We strongly recommend you
      V  _0 }9 J8 \0 T- `8 l6 f
  468. ; set this to 'off' for production servers.- S6 \+ G: I! M
  469. ; Default Value: Off7 K$ y/ T- i" r2 a
  470. ; Development Value: On
    8 \# h' c+ G" x0 S
  471. ; Production Value: Off
    4 {5 u  Z5 [" y
  472. ; http://php.net/display-startup-errors! D7 b6 G2 ]0 d$ [6 q3 c- p( h& c
  473. display_startup_errors = Off$ u: @2 b/ G+ b' U& ~

  474. 2 G; M+ T3 @1 o
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    7 N' t8 S8 p5 c5 R, j8 P
  476. ; server-specific log, STDERR, or a location specified by the error_log
    6 A# @7 H% ]% N* b! Y% N$ q$ f+ H
  477. ; directive found below. While errors should not be displayed on productions) B7 z7 [1 Y, u- w% Q
  478. ; servers they should still be monitored and logging is a great way to do that.
    9 i1 N, U( [% P. V$ \
  479. ; Default Value: Off
    ' V$ d0 W9 l$ n* w# a5 ^
  480. ; Development Value: On$ N$ b) I+ v/ O! W
  481. ; Production Value: On' `3 f% ?, b" ?$ b! a' j
  482. ; http://php.net/log-errors- S$ G) j+ r6 Z! B
  483. log_errors = On
    2 ?1 U4 q! Q! J* F3 P, M1 b  P
  484. * Y; k1 z4 g. y# F& l( x( F" F
  485. ; Set maximum length of log_errors. In error_log information about the source is4 w+ d$ x  r+ \; F0 @
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 O  P" A6 d" o1 s% v0 F' M+ l- P
  487. ; http://php.net/log-errors-max-len. x0 k+ i" u7 }2 [. ?
  488. log_errors_max_len = 1024
    / B2 Q" `6 {4 z7 Z( y
  489. 2 r  q' Y6 y& @1 Q; H5 ]( N
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    1 D: B7 G3 W8 n+ K- R) I, T3 ^; G
  491. ; line unless ignore_repeated_source is set true.
    , z4 R( F% I9 F: |+ d
  492. ; http://php.net/ignore-repeated-errors, V3 A% U; I! \7 o: f1 Q, K
  493. ignore_repeated_errors = Off& N2 K! t( M1 @
  494. & ^' O& I4 ?2 _" `
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ( P, `& g  C" p( m8 q" `
  496. ; is On you will not log errors with repeated messages from different files or$ q* M+ Q% A" y
  497. ; source lines.9 K. _6 d( @- C* t- H, j
  498. ; http://php.net/ignore-repeated-source3 X% p- v3 H7 a' h" ~, B$ B
  499. ignore_repeated_source = Off
    . x; {3 F6 ?. P
  500. 4 V% G2 M0 J% I8 x1 E" W+ J' o( q
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on1 u/ `6 b5 x# X/ {3 ?" c; a
  502. ; stdout or in the log). This has only effect in a debug compile, and if8 `/ @0 t+ g* z2 j4 S: g- Y
  503. ; error reporting includes E_WARNING in the allowed list
    ) f) z6 t  {( d' U. u
  504. ; http://php.net/report-memleaks
    - Y3 {; q! I! A' [
  505. report_memleaks = On
    , G1 z+ |- C1 e+ m: H

  506. ( C! E$ v8 [+ m8 N1 R4 t+ U
  507. ; This setting is on by default.
    8 B6 k" b/ c. }3 |  D
  508. ;report_zend_debug = 0
    ' g6 p1 L/ l; t

  509.   N2 I# _: z1 Q6 d- H+ o0 q1 B
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    # D  J  ?+ j% t" \% ~8 ^
  511. ; to On can assist in debugging and is appropriate for development servers. It should, M9 W5 n9 }7 f( c% g/ J
  512. ; however be disabled on production servers.- U, Q# h, [9 j% G* Q6 _! f$ l1 _# C3 y
  513. ; Default Value: Off2 z3 P1 z$ Y! W+ o
  514. ; Development Value: On/ }* b5 {2 _/ n6 E) f2 B) }& O
  515. ; Production Value: Off. @2 M+ a* H2 S- t& |. l" G
  516. ; http://php.net/track-errors! U# e( P2 u: f, Z
  517. track_errors = Off
    0 v* `7 p& H' R, t) v3 p

  518. 9 w" q1 y: D/ d
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    6 w4 Q! X2 S6 V) S* Y1 Q/ P
  520. ; http://php.net/xmlrpc-errors+ @2 t8 @  N/ v( X$ J3 t' f6 s
  521. ;xmlrpc_errors = 0% ?  v6 q2 @+ f
  522. ; [* x+ ?! Y; J. R! m
  523. ; An XML-RPC faultCode5 S& ~! P1 g7 K+ x) Y) S
  524. ;xmlrpc_error_number = 0
    $ f7 T/ i- y9 {! J% T( Y# G

  525. - i. Z; D+ t/ l- R9 V/ g7 U
  526. ; When PHP displays or logs an error, it has the capability of formatting the% g( A3 {( R- K9 F* g
  527. ; error message as HTML for easier reading. This directive controls whether
    $ ^$ o- L: h* @$ M; M
  528. ; the error message is formatted as HTML or not.* D7 W  m5 e* ?5 H3 n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( o( b9 x9 e  I0 i! i: K/ ^. N
  530. ; Default Value: On
    # r" d8 k' Q9 S7 [
  531. ; Development Value: On
    3 `, V( C. ?) h; g  T/ M% c
  532. ; Production value: On* h# j' C, X; a
  533. ; http://php.net/html-errors
    ' v( c9 @. l$ H' K
  534. html_errors = On- h7 S' O5 _1 @8 A, a
  535. / {* w+ I3 n2 E/ Z) l$ o
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP% s9 u6 U. p0 {) G
  537. ; produces clickable error messages that direct to a page describing the error4 i- B3 i6 x2 @' i; R/ X0 I+ D
  538. ; or function causing the error in detail.$ w; l( {$ |* c, @) M* u
  539. ; You can download a copy of the PHP manual from http://php.net/docs/ w( _% L) [* ~; c8 N
  540. ; and change docref_root to the base URL of your local copy including the- J; v1 f6 I8 |- c3 a
  541. ; leading '/'. You must also specify the file extension being used including
      B8 K  y, F' {; u+ A; O2 a
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ) R& y8 ]3 S7 N* H6 Z( z8 x3 Q
  543. ; case no links to documentation are generated.8 h, T- ]0 _' }: C
  544. ; Note: Never use this feature for production boxes.
    9 x) l) j7 G( C% |& f6 p
  545. ; http://php.net/docref-root, h6 v/ ^: Q0 c& i
  546. ; Examples
    0 n7 l6 R/ p" S, S8 Q  u
  547. ;docref_root = "/phpmanual/"
    ; @% ~. }1 o) H8 i1 f( R# Y
  548. 4 w3 t5 F" C) G1 M/ U/ c  b* h
  549. ; http://php.net/docref-ext( Q+ q, _3 g' M, b% f
  550. ;docref_ext = .html
    3 o  E: @% l% e1 b+ d
  551. % i" {( C# m* x' o
  552. ; String to output before an error message. PHP's default behavior is to leave
    5 r3 w+ ^' V# S
  553. ; this setting blank.
    ! n( _  {/ [) G; T7 m5 o3 A( K7 K
  554. ; http://php.net/error-prepend-string8 R0 B  h( U7 P, A; e6 u
  555. ; Example:- o8 J, N; ^1 a
  556. ;error_prepend_string = "<span style='color: #ff0000'>"- Z$ X, Y7 t7 v6 x) C% [8 V2 G5 E5 [/ s

  557. 9 T6 J7 @- Y9 ]/ p
  558. ; String to output after an error message. PHP's default behavior is to leave
    " _' k. S" M( k8 W" Y  y" t
  559. ; this setting blank.7 J1 n& f9 X: T; Q' X% i0 {5 H$ X
  560. ; http://php.net/error-append-string! Z( w5 x1 ~- T# B: y9 g+ F" k
  561. ; Example:
    0 L' W; {7 L* l+ @' R2 s5 o
  562. ;error_append_string = "</span>"1 ?2 v& i% \6 x' b3 V! E3 }
  563. 5 u; U# {* n' i4 Z4 U
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ; _) B2 ]" G( h% h0 i; G8 ^: e- @
  565. ; empty., w8 p" ?- E5 ^1 Q
  566. ; http://php.net/error-log
    9 j8 o8 o' R+ s9 c  N
  567. ; Example:1 b3 o9 b7 \* D3 t* o
  568. ;error_log = php_errors.log
    5 o- o1 ?  |6 b0 [
  569. ; Log errors to syslog (Event Log on Windows).
    $ U/ h% y6 H+ @! E& }0 z
  570. ;error_log = syslog4 Y2 r3 h8 _/ k# v/ x

  571. ; e$ C, f0 {' j# K7 ^# d
  572. ;windows.show_crt_warning( k/ c$ d" {# [! _' \% v
  573. ; Default value: 0
    ) b2 N" ^! h; M# `7 d0 ?" Z4 Z' Y& N
  574. ; Development value: 0+ R2 S7 v- o7 B  b) l9 T5 M
  575. ; Production value: 0
    ; c/ R+ H- c4 l* F$ @7 e
  576. 1 y" S/ M/ l0 x* {% Y7 n
  577. ;;;;;;;;;;;;;;;;;
    0 V. F- A4 x7 }. |' X* z
  578. ; Data Handling ;3 z2 w2 d  o6 z0 P2 l  }8 F
  579. ;;;;;;;;;;;;;;;;;
    + A4 q+ Z9 T. p$ J% \1 y

  580. - [% x$ d  b! o- \; [  S6 m
  581. ; The separator used in PHP generated URLs to separate arguments.
    7 t. |7 k( s! h0 G
  582. ; PHP's default setting is "&".1 p+ N  W* e% P. B' W- t8 @/ Z, D
  583. ; http://php.net/arg-separator.output
    ) l% g) N# J2 b7 \; Y
  584. ; Example:
    ; X& _& E- F" u6 I1 F. y- d
  585. ;arg_separator.output = "&"5 ^5 W0 w. |, \8 p* n6 R

  586. $ \; {7 Q* K. ^$ }2 x
  587. ; List of separator(s) used by PHP to parse input URLs into variables.3 B; K$ E& w! Z7 V& k7 T" l
  588. ; PHP's default setting is "&".9 N+ q! e& a. e/ Q; _
  589. ; NOTE: Every character in this directive is considered as separator!& w: \5 k6 N' C6 ^9 ~# y
  590. ; http://php.net/arg-separator.input
    : }- j/ ]8 X% Y- [7 z2 R
  591. ; Example:- p; @% o& {% g, p
  592. ;arg_separator.input = ";&"$ S, I* {, h. n# p2 }( h
  593. : ?! u3 x( D! f+ f, C8 d
  594. ; This directive determines which super global arrays are registered when PHP
    5 I9 Z7 Z; p" c, H
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super. H5 D' `# p+ w! b
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty1 D0 g/ A/ z5 J! ~: j$ G
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    # R. \, S, W$ v$ B: i  I
  598. ; used as the others, ENV is not recommended on productions servers. You. a, E% ~8 \( m$ w( ?
  599. ; can still get access to the environment variables through getenv() should you+ e* |/ U1 ]2 V- G
  600. ; need to.6 V) |* R+ k2 m* K3 B
  601. ; Default Value: "EGPCS"
    0 P- Y+ f) X- g
  602. ; Development Value: "GPCS"" Z# ]9 d4 J& A3 f
  603. ; Production Value: "GPCS";' \; L  f5 A1 S0 Y
  604. ; http://php.net/variables-order
    1 S: K: U( S* I4 d2 g: j
  605. variables_order = "GPCS"
    ; T8 H$ P" X3 H) S5 C0 _8 [/ o) v, N
  606. . \  F" K" S% v8 O
  607. ; This directive determines which super global data (G,P & C) should be: H. @0 J1 [: \3 u" R) [5 d" H; v
  608. ; registered into the super global array REQUEST. If so, it also determines
    , I& M: F( g7 j4 K6 v1 x( H
  609. ; the order in which that data is registered. The values for this directive
    $ X7 g2 G9 o- |( _$ g) e# |+ l8 S
  610. ; are specified in the same manner as the variables_order directive,
    / I5 m; ^* L; J" Z( G
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      E9 v1 [; i" m* F% F5 j$ n
  612. ; in the variables_order directive. It does not mean it will leave the super4 i0 H! o  T: ^+ t
  613. ; globals array REQUEST empty.
    + X! z1 O( P' _
  614. ; Default Value: None! k6 l4 t. h' f4 q' {) S3 a
  615. ; Development Value: "GP"
    $ r: |' l5 @; u0 i
  616. ; Production Value: "GP"! V, V. L$ m* p2 X7 D9 F
  617. ; http://php.net/request-order7 e' s. Y/ v! q# p
  618. request_order = "GP"% F7 d1 Y( j/ l  M

  619. 4 J  N7 \, W1 N' p3 u: S
  620. ; This directive determines whether PHP registers $argv & $argc each time it$ W$ v' @! u( R3 r# r# a' Q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    : s9 a+ {. d/ s# K+ f
  622. ; is invoked. $argc contains an integer representing the number of arguments
    & T5 s& b/ R- }- \3 T7 c) ?
  623. ; that were passed when the script was invoked. These arrays are extremely+ O, H( S. P* v5 c. L3 {7 M. |% P
  624. ; useful when running scripts from the command line. When this directive is" p* i2 f, t9 m8 R
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 L( a6 r4 v0 ^$ J3 @" N9 N9 n
  626. ; a script is executed. For performance reasons, this feature should be disabled9 r/ A! I/ g4 y( c
  627. ; on production servers.6 ~1 q! Q* x( T
  628. ; Note: This directive is hardcoded to On for the CLI SAPI+ I( ^5 c  X/ D8 w- s* ^& E1 b
  629. ; Default Value: On
    7 m) F# B% E% E. S& D" B: p5 s, u
  630. ; Development Value: Off
    % O4 O: M! D+ J. |
  631. ; Production Value: Off
    ) @: J' Y4 K' ~4 Z( R
  632. ; http://php.net/register-argc-argv; E6 q3 ~3 \# b. L
  633. register_argc_argv = Off8 d- `% n* s6 ^
  634. - P* q$ J! l  N. S/ K& L* X
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    6 u  D0 h8 |( f0 G$ r
  636. ; first used (Just In Time) instead of when the script starts. If these5 Q' r0 b1 B* r  z& l' ^( J1 S
  637. ; variables are not used within a script, having this directive on will result
    ; r- \. \' Q. o3 K- f% ?* T
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    4 Q8 T4 K  z( U5 S0 o! E
  639. ; for this directive to have any affect.
    * ^- G9 T' ^% {# V2 i# b
  640. ; http://php.net/auto-globals-jit1 B% z$ r% w7 r* w2 Q3 @1 E3 M
  641. auto_globals_jit = On* q' A+ a7 Z( f/ H+ H2 G% g2 s: g; l

  642. * f8 o/ S& A( Y" [+ q
  643. ; Whether PHP will read the POST data.
    " F+ e3 j( p  v& [6 ?
  644. ; This option is enabled by default.
    5 q4 P% o* C" g- I
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    2 T! s, P3 L; n# e; z2 z6 L0 Z
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    . i' P* [/ h' W% J1 {( ~. }" w
  647. ; POST data will be through the php://input stream wrapper. This can be useful
      [( r- u& i' C" P
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.. }7 I) V+ B& r! ]6 ~, Q/ q
  649. ; http://php.net/enable-post-data-reading
    * `2 C: r5 i" n$ D( q0 B$ E( y) U
  650. ;enable_post_data_reading = Off
    2 [0 t2 L  B9 F8 m" `
  651. ! O5 h% z. v* p
  652. ; Maximum size of POST data that PHP will accept.
    0 m: D) F+ \8 c7 d% r% b
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    $ r, n- ?7 A/ a7 J# w( J7 N
  654. ; is disabled through enable_post_data_reading.) W( I/ N$ n8 o2 ?+ u- k
  655. ; http://php.net/post-max-size
    # S5 n& y$ h9 X2 L8 m' q
  656. post_max_size = 50M
    ! q3 h. d; p( Z9 `& F

  657. - h' \0 \4 o: L0 k3 ~# T
  658. ; Automatically add files before PHP document.
    $ n( c3 Z! R/ h; B$ ], ]* a
  659. ; http://php.net/auto-prepend-file0 t! H2 w9 D9 F/ w7 w
  660. auto_prepend_file =5 ^1 z4 o4 r# Z7 t4 s

  661. ! u' c! p# v7 o9 z) R! K
  662. ; Automatically add files after PHP document.7 k' V# l( N) H" z2 R9 _
  663. ; http://php.net/auto-append-file
    ; \& A4 h, W) Y0 L/ Y- F3 h
  664. auto_append_file =
    ; z& w. A% b2 x
  665. & I/ Q! d/ g# F' a6 v7 ]2 j
  666. ; By default, PHP will output a media type using the Content-Type header. To! G' m6 \% s, {
  667. ; disable this, simply set it to be empty.
    / }$ r" k, Z5 F* d% U' u/ A
  668. ;
    " C, n( P% Q( F  R. F
  669. ; PHP's built-in default media type is set to text/html.5 l6 e# f) q  Q' N. v0 z
  670. ; http://php.net/default-mimetype6 ]& R& S' U4 l0 u1 X& H
  671. default_mimetype = "text/html"
    0 p& H4 B7 ~: B+ w* t$ }3 j8 V  c, |+ O

  672. . q- C, Z7 \5 @2 R% l5 ^1 S# y
  673. ; PHP's default character set is set to UTF-8.
    3 ?, L7 b  y5 L9 n0 Z
  674. ; http://php.net/default-charset
    $ x+ V, j+ U3 p- ?( I2 s
  675. default_charset = "UTF-8"& w3 E1 n) }7 Q. u( A( {

  676. 1 k1 D; n. e7 Q: g2 o) J* Y4 K" G
  677. ; PHP internal character encoding is set to empty.0 `* n# }& x4 F; S2 d6 Z
  678. ; If empty, default_charset is used.( a7 l6 [  g3 R2 P/ K/ K. y4 S
  679. ; http://php.net/internal-encoding
    ! B' S1 x7 v# E! k
  680. ;internal_encoding =" B! I2 N; D! I/ P; d) w7 f, u
  681. 9 t' |. E8 v  a+ m! G
  682. ; PHP input character encoding is set to empty.
    . s/ n; I: d4 K# ]) u! j7 Z+ g2 c( ]
  683. ; If empty, default_charset is used.$ e! E1 w% e6 {/ W
  684. ; http://php.net/input-encoding
    # C' v4 r9 S& W# {
  685. ;input_encoding =' M' b. C9 x" f* x# D! @' `# w; Y
  686. 9 m$ |' y1 y; x# B4 S
  687. ; PHP output character encoding is set to empty.
    4 \. X) ~& Q2 W
  688. ; If empty, default_charset is used.
    9 N# J. _% S) r- i, \5 [/ G
  689. ; See also output_buffer.0 r* A/ n6 P6 ]8 D
  690. ; http://php.net/output-encoding
    5 C2 ?8 l. J" y3 L. Q
  691. ;output_encoding =
    ! r' g* }- o4 q+ S$ O
  692.   r9 N, _- {% k0 ?& X, W' P
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;6 a: P) T; m  H. C# x
  694. ; Paths and Directories ;
      z& o" [/ ]% b8 |7 l" c3 j7 F
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 ^" _; H) s% G2 P' w) ?& f1 V; V
  696. 9 R6 o$ E( L9 e2 h
  697. ; UNIX: "/path1:/path2") z* k# L: l5 e9 i
  698. ;include_path = ".:/php/includes"
    8 i9 {& B$ S: e6 h$ n
  699. ;! C' x; b4 g  s2 o" U
  700. ; Windows: "\path1;\path2"$ m0 M6 D3 F0 }4 D
  701. ;include_path = ".;c:\php\includes"
    % i% e4 g8 |" _
  702. ;2 W1 `  [. v+ x" I
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"3 ^2 x4 D$ B5 n5 T4 q- |" B
  704. ; http://php.net/include-path4 }$ g! V* E! K2 m5 r0 e

  705. - q6 x: [3 d3 B2 X  E9 V
  706. ; The root of the PHP pages, used only if nonempty.
    2 f! p4 H. y9 }
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 O, u/ |! i2 s$ B
  708. ; if you are running php as a CGI under any web server (other than IIS)
    8 ^! F, i5 ]5 @' u9 _/ y
  709. ; see documentation for security issues.  The alternate is to use the# \) G( S5 k+ k2 [* l( K2 }# `
  710. ; cgi.force_redirect configuration below. G  `  }" \( k* z# d* F
  711. ; http://php.net/doc-root
      R2 K) G# u3 @
  712. doc_root =
    4 R# I" P; y3 x* O: q+ G/ i: S1 G

  713. 8 N7 }( K" q* |2 J
  714. ; The directory under which PHP opens the script using /~username used only+ `  @/ g6 a' p2 \- B7 g
  715. ; if nonempty.
    - H/ X+ T2 V! Q+ T
  716. ; http://php.net/user-dir# z4 I2 _  i) @' i0 _
  717. user_dir =9 n4 e9 i- E9 i; P5 g

  718. & p. X4 a' x$ a% Y; Y+ F
  719. ; Directory in which the loadable extensions (modules) reside.7 e4 i; ?* p$ X
  720. ; http://php.net/extension-dir
    $ b7 }% W0 D: L, I- @/ c1 O1 s; W
  721. ; extension_dir = "./"
    - m0 Q# e! `9 S
  722. ; On windows:
    0 P% n' N& q' {4 H
  723. ; extension_dir = "ext"
    0 ?4 p. h/ X1 Y0 ]5 c

  724. ( A( F; K* c- H& M8 v! U
  725. ; Directory where the temporary files should be placed.5 W( m6 r6 A+ j% U; e7 j: s
  726. ; Defaults to the system default (see sys_get_temp_dir)' X5 K! [1 I  F' }, f( \# D# {" k3 C' G* U
  727. ; sys_temp_dir = "/tmp"
    . ]0 w5 N( Q; d% k: d( j+ V
  728. 0 Z3 W1 @5 j  P5 Z5 [8 v5 j
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
      V$ M3 \6 j: j
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically0 ^1 O2 o2 G: _6 ]6 z5 u
  731. ; disabled on them.* w7 p$ M6 G3 t8 h4 f
  732. ; http://php.net/enable-dl2 L2 X6 X( A% Q
  733. enable_dl = Off
      W* ~- J' C2 n
  734. % C  G& Q9 i9 M! ?: Q  Z
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under/ t" L  g2 i9 A. G9 u2 i
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    . ^2 x( q/ I! P' K" ?5 M$ ?
  737. ; turn it off here AT YOUR OWN RISK
    & q8 v$ A& ~- f% s! @5 t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 a7 }/ ~0 i  b; p2 c+ z0 ~% b$ F
  739. ; http://php.net/cgi.force-redirect4 a% F! e7 X4 W9 B
  740. ;cgi.force_redirect = 1/ E% b% ?  y( a+ @2 J
  741. ' K  ~" u+ q& t* t1 j& r
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    . u! T* _( c; T# p; @' D
  743. ; every request. PHP's default behavior is to disable this feature.9 g: R% n- Y. N" {1 Z
  744. ;cgi.nph = 18 e7 J6 _4 Y/ Q" h5 K7 m  ^
  745. ( j7 ^# X# e4 i/ V- k( o+ [1 Q
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape4 `( P6 g1 c/ @! w$ l: t
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP. p" Q7 R' F. M. t2 |' w4 n. D
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY: D* G6 E0 v" Q7 }# A9 x
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . N! M* e5 q. s1 |$ ]) ~' }" |
  750. ; http://php.net/cgi.redirect-status-env/ F( g- |0 F4 |7 N
  751. ;cgi.redirect_status_env =
    ' n$ }7 S* l# {2 J& B+ N
  752. ! @; R% c& e3 ~0 e1 ?; e( t
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's# O8 u8 S7 {6 c2 G  ^5 L! O
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    / ~2 p1 H$ d8 e: v
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    * [2 G% M# _: d( ~1 d5 U
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting  a- ]$ v& Q1 \
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts+ l7 A5 I( Z( i( N! h" Y- f
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) J2 L3 t2 ^1 V3 b' G8 x. S. A2 Y
  759. ; http://php.net/cgi.fix-pathinfo9 A/ f3 V5 x! }) t3 S; v) b1 n9 h  t
  760. cgi.fix_pathinfo=1
    1 C4 T) b9 m! u( m* H+ |* O: d  [

  761. 3 K$ B, n( Y- F9 L+ g+ @' g
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& S) S2 @, O- N5 l! @4 k
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    9 `, w! u" O, R) t8 d# |) L* p
  764. ; http://php.net/cgi.dicard-path- G& O8 E7 T; J; V/ R( V
  765. ;cgi.discard_path=1
    " E' [+ {8 e8 }- a7 F' m
  766. + M* d: c  M2 {/ `2 ]
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ( T& `  v0 N% h9 c& @$ p: a  A
  768. ; security tokens of the calling client.  This allows IIS to define the6 w, L/ T! U9 E0 V% ^
  769. ; security context that the request runs under.  mod_fastcgi under Apache" \. p( w# R% B: Y- @$ p0 o
  770. ; does not currently support this feature (03/17/2002)$ Z: \* s0 R, T3 {7 b
  771. ; Set to 1 if running under IIS.  Default is zero.: l8 [7 R4 i: V0 A
  772. ; http://php.net/fastcgi.impersonate3 Q, X: i7 j! D4 B2 }+ x
  773. ;fastcgi.impersonate = 19 s% E) Y  ?( s* E% O
  774. . Y$ ?6 I5 O& z% m% U
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    & @( \  r0 e6 V0 }
  776. ; this feature.( e/ g) E" k: U; _3 D: M
  777. ;fastcgi.logging = 0
    5 Z4 Z" [4 w* m6 m

  778. 2 u+ p& y4 ^/ d1 o% y. Y3 z
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to4 d- B  _: D0 }9 \
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " U  e) q8 G# i) U
  781. ; is supported by Apache. When this option is set to 1, PHP will send( e/ v, n, {* [7 u3 F8 _1 G
  782. ; RFC2616 compliant header." q8 A4 u' F1 v$ X  J# y. E
  783. ; Default is zero.* Q+ J9 t3 t( A# ?% y8 |5 Z# }
  784. ; http://php.net/cgi.rfc2616-headers
    8 f- s# i( f5 Y: Z& ^/ a) A5 ?
  785. ;cgi.rfc2616_headers = 03 w: s9 ]3 W9 j  b" y

  786. 5 V. p6 b: }9 m' X, K& c1 q+ k2 T; x
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ; `0 p) v. r2 T
  788. ; (shebang) at the top of the running script. This line might be needed if the
    % L4 H9 S, ?6 Y4 V! s. J
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    & H, c( G7 A! j  Q8 U: ]9 \
  790. ; mode skips this line and ignores its content if this directive is turned on.! K7 z3 _- s' E) r" |1 L0 \' n
  791. ; http://php.net/cgi.check-shebang-line
    * E' }1 E: o$ l, T4 `
  792. ;cgi.check_shebang_line=1
    2 W5 \0 L  @8 _- [. Z4 l8 E8 F
  793. 3 J. h$ G7 n! k1 M
  794. ;;;;;;;;;;;;;;;;
    + A& |* F" t* S5 W$ m0 L7 h7 A
  795. ; File Uploads ;
    / H$ f0 O# X' t( x
  796. ;;;;;;;;;;;;;;;;7 v* r/ R+ l! R( d7 E9 ]
  797. , |$ g3 ]- @; y$ v9 y
  798. ; Whether to allow HTTP file uploads." u& j+ G* \. `8 t
  799. ; http://php.net/file-uploads: S7 h3 C0 n. J
  800. file_uploads = On
    ! f7 k- w- w, `
  801. . P% m. V+ P" f
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    3 i6 e8 V/ T& Y2 [: }, G0 A* p" d
  803. ; specified).3 k9 N6 O5 q' J8 @
  804. ; http://php.net/upload-tmp-dir) `5 p/ T, t# }0 ?
  805. ;upload_tmp_dir =/ l) Y5 E2 W" v% S

  806. 0 b1 L5 I' z8 J$ p; ^7 d
  807. ; Maximum allowed size for uploaded files.
    8 [4 R  u6 b* F0 u" A0 G
  808. ; http://php.net/upload-max-filesize# X; X! V9 \6 G5 ~  R" \8 ~
  809. upload_max_filesize = 50M, X, w! X3 Q1 p3 x3 m. z, a$ Q7 ], _4 d) V
  810. ; z6 Z6 u' Q5 E1 @
  811. ; Maximum number of files that can be uploaded via a single request' T% Z9 |" w; H4 s# C6 f
  812. max_file_uploads = 20
    % A. C  x  R% Y2 n. ~) e3 @

  813. 7 J& K7 R0 [  m1 |
  814. ;;;;;;;;;;;;;;;;;;2 `/ N/ x/ j  Z% l
  815. ; Fopen wrappers ;. |/ @" b: @) X+ |
  816. ;;;;;;;;;;;;;;;;;;% u1 S1 y+ w2 f; \4 w

  817. - y  b. ^$ ^9 \+ q$ `
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 p% v/ V! N# ?8 M& ?
  819. ; http://php.net/allow-url-fopen
    $ Y1 G7 N4 H1 M; z$ I. O* J
  820. allow_url_fopen = On
    ' q& D3 a* F0 C4 }% c2 K* M

  821. # A2 f; K! k7 R$ o& ?2 N# K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ) P" ]( w5 F& h! O1 m* {# r
  823. ; http://php.net/allow-url-include
      E& I- _  J# g7 M( ^
  824. allow_url_include = Off
    $ ~0 A4 \( j& l! H  O
  825. : I! u2 y$ h* _3 E3 M' p5 o1 f, X
  826. ; Define the anonymous ftp password (your email address). PHP's default setting, `" ~: ~* K7 N3 V, G2 \' x
  827. ; for this is empty.7 }; @) ~  F  Q# b5 w/ a3 j6 \
  828. ; http://php.net/from- u* v5 s6 u2 _9 r- ~9 V
  829. ;from="john@doe.com") \! K% a7 O0 {% [. u  p
  830. . p4 r3 X5 [$ h
  831. ; Define the User-Agent string. PHP's default setting for this is empty.& x, N6 ?, X3 q( c
  832. ; http://php.net/user-agent; @- G) f- V+ j7 \+ @
  833. ;user_agent="PHP"4 [; @( K3 @9 w
  834. $ ?1 X0 p$ ], K! J
  835. ; Default timeout for socket based streams (seconds)) x. N/ |! Z- O- ~2 g9 V3 |) c, K
  836. ; http://php.net/default-socket-timeout
      u- d/ t/ E4 F' d: T$ Z' v& D
  837. default_socket_timeout = 60
    ; i  `$ M7 e0 b

  838. 8 m- t5 T+ z- j! B- n
  839. ; If your scripts have to deal with files from Macintosh systems,3 J9 v& }. r6 ]2 Y  p* Y9 l" R
  840. ; or you are running on a Mac and need to deal with files from
    8 v& r/ S6 S3 J* n
  841. ; unix or win32 systems, setting this flag will cause PHP to  [/ h- o7 k6 L3 \, k' Z
  842. ; automatically detect the EOL character in those files so that
    * k1 f, f+ N7 \5 U2 G4 O
  843. ; fgets() and file() will work regardless of the source of the file.' T* Q' a; |& C" B* d$ w
  844. ; http://php.net/auto-detect-line-endings, G+ u0 l. o, Q, R4 J" i
  845. ;auto_detect_line_endings = Off) G" L' }+ V* [) a& w( a3 @
  846. ( A( d  D% C4 `, T3 [; G' L; a
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ! y" b2 l  E4 n2 B2 ?8 c
  848. ; Dynamic Extensions ;9 u* ~0 t( E& V' C- \0 F
  849. ;;;;;;;;;;;;;;;;;;;;;;
    7 g, p7 P* u! A' l  p; ]

  850. ' `6 ~, k5 h1 K4 U
  851. ; If you wish to have an extension loaded automatically, use the following
    + I6 \* z2 H5 e5 E
  852. ; syntax:( n, K* f1 I% L6 |
  853. ;. u* g8 T. h! M, ~( e2 L3 ^
  854. ;   extension=modulename.extension
    , D: R5 r& d1 }) s4 G$ o; C& z! z
  855. ;
    2 a, K; f; K  O9 y, B
  856. ; For example, on Windows:
    9 R, F& y4 a% |: n8 y9 V: \6 }4 N
  857. ;' S3 S  [( D5 Y( x; [
  858. ;   extension=msql.dll" I0 d' J' n& z$ [4 V+ ?
  859. ;
    0 T6 W8 H2 a) D; l: L, U1 J$ f
  860. ; ... or under UNIX:( `# @' ^% T6 Q0 i* N8 Q
  861. ;3 }  I' ~( N  y* ?5 R
  862. ;   extension=msql.so, y" z( [' m; D3 y' R" {
  863. ;
    $ X" ^6 |, i8 T( T& f/ D+ R) S6 n
  864. ; ... or with a path:
    # L: G- `% O! ~: [4 X! B+ H% I
  865. ;9 P# A. D" v5 b7 B# T  x1 A
  866. ;   extension=/path/to/extension/msql.so8 e; h- S3 L, z% D5 U
  867. ;
      t% H. z3 U  F5 k( U6 y; d. V! H9 A% t6 p
  868. ; If you only provide the name of the extension, PHP will look for it in its
    . m; `- w. i1 ?2 o
  869. ; default extension directory.: n, ]; a: R+ r4 ]
  870. ;' m5 c' S0 @' Y1 U3 ~
  871. ; Windows Extensions
    % W  \& X4 W+ P
  872. ; Note that ODBC support is built in, so no dll is needed for it.6 u9 P. j. B" |. `+ O) v  C
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    . R7 Y9 P! W0 S: T
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ; k# r7 V4 S3 ]) {
  875. ; Be sure to appropriately set the extension_dir directive.
    - q! R4 L& Q7 E8 N
  876. ;
    + w! V( F0 ?6 I& M
  877. ;extension=php_bz2.dll) x; c$ @- o" w/ Y$ L! d/ g/ X
  878. ;extension=php_curl.dll% b/ n: _7 k7 r; K4 R/ Y
  879. ;extension=php_fileinfo.dll
    : b$ d3 q* G6 E( g$ s- l4 ?7 o
  880. ;extension=php_ftp.dll$ b7 h: j  Y- Y
  881. ;extension=php_gd2.dll
    + L! c2 Y1 `; d4 T3 I
  882. ;extension=php_gettext.dll6 b1 t3 G* [- O
  883. ;extension=php_gmp.dll6 t, g9 i/ {/ p" u6 z, [
  884. ;extension=php_intl.dll
    8 }, ?2 d8 A* f/ D7 S% d
  885. ;extension=php_imap.dll
    ' I4 g3 e' b. P9 b* h  q: [) M
  886. ;extension=php_interbase.dll* A$ w; J+ U& y$ z; y
  887. ;extension=php_ldap.dll1 s$ ^* X9 ]! B: O6 a
  888. ;extension=php_mbstring.dll5 J  z' s9 S' ~4 ?' I2 U+ w( u
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it; j0 O" F1 j. Z/ H) t5 J
  890. ;extension=php_mysqli.dll
    : b3 p8 i6 }3 W( j, C5 c
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 ~1 m1 `$ [/ c$ g. [4 L2 P$ m8 z
  892. ;extension=php_openssl.dll
    + V& _" \7 I" j
  893. ;extension=php_pdo_firebird.dll
    * ]/ s' K, [. i: D3 h
  894. ;extension=php_pdo_mysql.dll
    # e) R- W' i7 v; k
  895. ;extension=php_pdo_oci.dll, G/ s' Q- n) d% t8 H
  896. ;extension=php_pdo_odbc.dll$ {, P+ \1 {) A: G9 V
  897. ;extension=php_pdo_pgsql.dll
    6 B! w: v, J0 g4 _
  898. ;extension=php_pdo_sqlite.dll$ o/ K7 P+ i3 M; r8 F
  899. ;extension=php_pgsql.dll
    9 c; _  A1 F# Z9 y6 Q5 a
  900. ;extension=php_shmop.dll# h1 t+ d4 y5 T4 b. J! x; q

  901. ; z: H' q) l% C4 U1 m) h7 B
  902. ; The MIBS data available in the PHP distribution must be installed.
    ' S1 G6 u  X9 U+ i5 X! w' r! G
  903. ; See http://www.php.net/manual/en/snmp.installation.php" T3 c7 W8 y7 e6 B% z, q
  904. ;extension=php_snmp.dll
    2 F# `* I5 i% M& C5 _  u
  905. & ?  s# t+ p. f- J& q/ p; b' E
  906. ;extension=php_soap.dll! o: e. y& Y; [
  907. ;extension=php_sockets.dll6 n3 @' K& ?- ~* B
  908. ;extension=php_sqlite3.dll2 i$ f( @; u$ J7 b/ F. r- ~
  909. ;extension=php_tidy.dll
    . }$ X# {/ V. N) g1 q
  910. ;extension=php_xmlrpc.dll- D0 z' Z" c0 p1 ^0 G; E
  911. ;extension=php_xsl.dll/ }5 D/ e, Q" [3 H0 o2 g2 T" B

  912. . n4 M) r; i" N; d' k9 [5 s; u; a  c
  913. ;;;;;;;;;;;;;;;;;;;1 w& Y' c6 \+ W3 U! M
  914. ; Module Settings ;4 H6 W$ z* P% Y) r" K+ N
  915. ;;;;;;;;;;;;;;;;;;;
    " W6 M# ?: N( P. H' h" A
  916. . B" ~% ?( F8 y$ @6 F
  917. [CLI Server]) a; A( n& Z7 T" W/ [5 b
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    5 W; T! |4 c/ @7 @0 h
  919. cli_server.color = On9 n/ W0 I0 a# f3 C; A

  920. ' o5 [/ {  O) Q; L
  921. [Date]
    0 D* u& E) m  T: B' L
  922. ; Defines the default timezone used by the date functions
    + w4 h" J- t5 l4 `& Y' p
  923. ; http://php.net/date.timezone- J( g3 P/ r# k3 B, z% v
  924. date.timezone = PRC
    ' j  F' q6 S. w' J; |) s* e

  925. % M4 s5 ]0 p, Z+ y
  926. ; http://php.net/date.default-latitude
    5 J; S' o3 x8 K4 E
  927. ;date.default_latitude = 31.7667( I& ?; h, H7 y, ~/ {4 i* W* ?

  928. * F  a* L' b# Y5 D4 ^/ b, |2 ^) u
  929. ; http://php.net/date.default-longitude3 f1 r5 j. f+ Q* R$ n& o9 W. w% _) y
  930. ;date.default_longitude = 35.23339 |8 s( R3 N/ `0 F

  931. ) r: ^9 |6 e+ |' J
  932. ; http://php.net/date.sunrise-zenith
    ' c. a7 B5 c: M* K. s* g' o( c
  933. ;date.sunrise_zenith = 90.583333
    # i: O: {7 ?9 }9 \9 i

  934. ; E6 t) A& U+ j$ K" l) O+ O
  935. ; http://php.net/date.sunset-zenith
    6 l$ F6 ~* M2 N5 j6 k+ b( |
  936. ;date.sunset_zenith = 90.583333
    : z9 O6 [- s& e" K, T9 ^

  937. 7 W/ S$ n( L' i) g. r
  938. [filter]( u; o% I+ Z" F$ Q/ R; y
  939. ; http://php.net/filter.default
    ( s: H6 U) n, w
  940. ;filter.default = unsafe_raw9 E2 T4 Z8 p$ G5 y5 i8 v* ]

  941. + [6 M! U, j$ F7 G) d0 q4 d' @
  942. ; http://php.net/filter.default-flags
    - X! _+ j  n5 K8 T$ g
  943. ;filter.default_flags =
    " ]8 R' V6 q( ]& \

  944. # `  f) J; K5 ^8 Z; [$ V
  945. [iconv]
    4 @- |3 y9 w/ Q1 _, J
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % I9 S  r0 L& z9 `, m" W6 ^
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 d+ |, O/ M- H/ ]2 C1 G( h; U
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ U' R/ N1 ~0 N7 v( R- ]
  949. ;iconv.input_encoding =
    8 \8 ^  d% {! g. I( l: d
  950. 6 q! d" Z  X" Y% V
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; A; s2 e* ?% @, C  G- v1 W
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " {# u" u- U6 D& [! B# }) B
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 m( V/ ?7 r. d
  954. ;iconv.internal_encoding =9 I5 D/ F* L  M- j( H

  955. / ?1 O8 _0 c' |* e# \
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.& j. q$ Y5 \; b/ n. s
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    4 M( Y  }. T; G; d
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding* ~( E1 Z' D/ O! e! |
  959. ; To use an output encoding conversion, iconv's output handler must be set, Q- g* b: ?1 k2 h7 E. ]
  960. ; otherwise output encoding conversion cannot be performed.
    0 T3 r" n# ]( p8 M6 _' g+ y+ n; |
  961. ;iconv.output_encoding =
    8 I: @; N5 s; k$ b* S" Z

  962. 3 l! g* W* c  d# d1 A/ u% K
  963. [intl]
    $ U9 L" l% [$ z4 C# V( F1 b
  964. ;intl.default_locale =9 F/ j2 V  L, R- x$ O7 @$ x
  965. ; This directive allows you to produce PHP errors when some error
    4 K: B0 i4 y# T4 R# ?: A
  966. ; happens within intl functions. The value is the level of the error produced.; X( a% X$ t; E  c" G
  967. ; Default is 0, which does not produce any errors.
    1 ~+ N5 P: t% F- b- p3 C
  968. ;intl.error_level = E_WARNING
    ! u2 l% J  l+ R8 g' k1 m
  969. ;intl.use_exceptions = 0- l9 Q/ [9 N% i# l  Z. x1 M
  970. , l# O! e; y) x
  971. [sqlite3]
    / T$ W7 c5 _" L) I) b
  972. ;sqlite3.extension_dir =
    ( b& }; i* q6 S& B; o7 S1 e3 X% n

  973. 0 `4 \: y. g/ m1 Y# _
  974. [Pcre]
    8 u. M/ ~% g8 N9 J" d8 K5 t& _
  975. ;PCRE library backtracking limit.
    " J1 b: U- Y! {! g* c/ }
  976. ; http://php.net/pcre.backtrack-limit
    7 j! A9 ~- U, K' {4 l
  977. ;pcre.backtrack_limit=1000008 Y9 k  \$ v# S  {2 o2 y
  978. ; M1 b0 e& M  y  H+ w
  979. ;PCRE library recursion limit.
    ) K2 |" M" v( d4 {0 P
  980. ;Please note that if you set this value to a high number you may consume all
    , Y+ }% u" \+ v6 M) F0 Z
  981. ;the available process stack and eventually crash PHP (due to reaching the+ G* I5 E4 [" u) i
  982. ;stack size limit imposed by the Operating System).
    6 o/ N" |+ Y8 o/ `4 t# c8 o% X
  983. ; http://php.net/pcre.recursion-limit: p+ ?. G4 z/ ^
  984. ;pcre.recursion_limit=100000
    % v% x6 H  h+ o# R1 X+ ]( N4 x
  985. / k. G" [( @# J1 I; c
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE* M8 t2 G( x5 `9 G, w2 q$ U8 f: h
  987. ;library to be compiled with JIT support.+ l( a, T  [! P5 O) Y- V
  988. ;pcre.jit=1
    " j2 s" X/ T  b
  989. 6 O4 b' ?0 ~# b/ ~; D/ f; k( P
  990. [Pdo]1 F# Q; R% ?  l
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"! y. M3 v5 W, X( G. d
  992. ; http://php.net/pdo-odbc.connection-pooling1 ?  O4 y2 L$ O# ~
  993. ;pdo_odbc.connection_pooling=strict
    , W; r4 w7 I, n* H0 r
  994.   m2 G; n7 m5 W; T8 _+ i' m
  995. ;pdo_odbc.db2_instance_name9 Q* q  M6 e- z/ C+ n
  996. 5 T; z2 H2 ~2 f# R! ~3 O  W2 P
  997. [Pdo_mysql]
    3 l$ B+ E- G. J  i4 q, g/ N
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( D  S0 G% l5 {) ^0 q! A
  999. ; http://php.net/pdo_mysql.cache_size
    - u5 |0 |' z7 Q# r1 R8 L' r
  1000. pdo_mysql.cache_size = 2000- F% U5 \5 }5 |: V/ V3 d& L& u6 Z
  1001. + L  U8 S4 s/ s0 F- N
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in% O6 s* ~1 V4 \- ^
  1003. ; MySQL defaults.: `6 [. K1 U; q: e; a
  1004. ; http://php.net/pdo_mysql.default-socket
    % @5 i; R+ w$ g* X9 K* I8 p
  1005. pdo_mysql.default_socket=7 ?; ?8 v5 k0 S  M+ [

  1006. ; Y- Z4 L5 G9 }& ?# h+ z
  1007. [Phar]
    0 C8 i2 a, x' H. V$ n+ D# j
  1008. ; http://php.net/phar.readonly
    , P" Y2 p  M) g- A( L
  1009. ;phar.readonly = On! d5 `' ?: e& s

  1010. 8 x* S4 R/ [% |( J+ a" K
  1011. ; http://php.net/phar.require-hash. A6 Q7 _! V  _( m1 v1 Y
  1012. ;phar.require_hash = On
    # t( q! m) @. C: i

  1013. 6 D* L. ?9 z; P' b
  1014. ;phar.cache_list =
    $ O4 o1 Y: w% M4 _4 l  P

  1015. . \% |- ?% X, S+ g: h! D& Q) `
  1016. [mail function]; R3 H) H/ ^- Z  c- W& p
  1017. ; For Win32 only.
    # e1 M. Z5 L* J( c
  1018. ; http://php.net/smtp; K" P* Q7 k; f: U
  1019. SMTP = localhost
    ! ^: J- l& A3 ^, A! R4 }
  1020. ; http://php.net/smtp-port3 N+ I0 g, O8 k' l3 }
  1021. smtp_port = 255 d; g- M, }' Y- I2 v4 F
  1022. # Z2 |* m" m. p" l1 N: j$ p
  1023. ; For Win32 only.
    # I. G3 Y, {- i: y" u( A5 `
  1024. ; http://php.net/sendmail-from
    : K% u( [- [# `5 `. O9 R" o
  1025. ;sendmail_from = me@example.com
    $ \0 }% B6 o& X5 _: e

  1026. , g0 G& ^8 h5 T) V) F5 \
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & G/ }$ l3 Y( F( D* |& X
  1028. ; http://php.net/sendmail-path! P. e1 \. @0 l# C( S( O8 r! d
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ; r* t8 g" U' G. g9 A1 [
  1030. % [1 w/ O. V, \( D% n/ @
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    / Y9 t+ L$ h" ]0 J8 T8 F
  1032. ; to the sendmail binary. These parameters will always replace the value of
    : v; Z& q9 {# n3 h
  1033. ; the 5th parameter to mail().5 X+ H7 y1 n& R3 F* V
  1034. ;mail.force_extra_parameters =, |- p) l! b2 j" E2 v

  1035. & M* n, o/ g5 E, \1 D. g$ @
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" o2 `& p- U2 n3 R# W! S
  1037. mail.add_x_header = On! R% T  b* u. S* v" m% Q$ \

  1038. ; p$ s. @5 Q# j
  1039. ; The path to a log file that will log all mail() calls. Log entries include/ A% o" \3 _' C2 A% M6 J1 U
  1040. ; the full path of the script, line number, To address and headers.* m' q& ]) F; \) g0 Y
  1041. ;mail.log =& {( S5 b# F9 f  Q' I0 s
  1042. ; Log mail to syslog (Event Log on Windows).' Q/ j6 l% e  h9 p& c
  1043. ;mail.log = syslog
    1 P: Y2 G# N' @8 r& K) i4 }, Z1 W
  1044. 5 L9 q+ m8 n# G3 D' t
  1045. [SQL]
    ( h+ w% m; Q7 S6 t8 U
  1046. ; http://php.net/sql.safe-mode9 R3 j5 N8 X: t
  1047. sql.safe_mode = Off
    8 N, I) u# W- s1 _
  1048. 5 ~5 W& [! j9 k. {$ w$ T
  1049. [ODBC]
    + M( Z; h- @' {
  1050. ; http://php.net/odbc.default-db2 H# e/ r" u; G8 i/ M
  1051. ;odbc.default_db    =  Not yet implemented! ?1 a5 D* f! K! `' z# C+ ^2 H
  1052. & D, ]5 A: x, e3 L
  1053. ; http://php.net/odbc.default-user
    . Y5 q: }9 d& z
  1054. ;odbc.default_user  =  Not yet implemented, T+ x* x* z; g+ h4 G8 A' B

  1055. 8 K8 N1 n" ?7 K6 P/ ?
  1056. ; http://php.net/odbc.default-pw1 ?" L6 R3 T* b4 l; ~: t
  1057. ;odbc.default_pw    =  Not yet implemented; E. p( p1 C+ X" |- }+ k+ T
  1058. 4 H& \" b; E4 s) O/ J
  1059. ; Controls the ODBC cursor model.
    # k2 }( r% O8 \' ]7 x0 M
  1060. ; Default: SQL_CURSOR_STATIC (default).
    8 G2 H$ T$ g) K5 Q$ V
  1061. ;odbc.default_cursortype
    / i% _$ R, k% f" m( A3 I
  1062. ' T- d6 S' J' x/ ^8 Z) H& `& r  |
  1063. ; Allow or prevent persistent links.
    : N' Z8 f$ B6 O7 w9 ?5 o/ g
  1064. ; http://php.net/odbc.allow-persistent
    3 f, D* D. e5 A/ p( ]+ I* j
  1065. odbc.allow_persistent = On
    4 V  x# k4 T/ |# F

  1066. " S* Y- h3 |; h( @3 ^$ L
  1067. ; Check that a connection is still valid before reuse.
    ) F4 N. E0 ]; `1 p( w. n
  1068. ; http://php.net/odbc.check-persistent2 m# J3 W" |3 `% Z- k" p
  1069. odbc.check_persistent = On8 x7 e# x9 [7 K+ A3 n

  1070. + _. _  N, |9 S% ?, i6 \- l( O
  1071. ; Maximum number of persistent links.  -1 means no limit.# W2 e  E; o0 h4 M+ r
  1072. ; http://php.net/odbc.max-persistent
    , ]/ @& C; i8 C9 |& H' U
  1073. odbc.max_persistent = -1( t* |3 n, X# Z7 o0 M/ I+ K

  1074. ; o8 E: V6 m2 V/ j7 Z: C$ @
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 C8 o6 Q+ d" x7 T# C" s6 {( a4 O
  1076. ; http://php.net/odbc.max-links
    . E7 N' ]8 O, M! U9 a" R
  1077. odbc.max_links = -11 Z, ?$ R7 C* f+ V" y; S
  1078. # c; v3 T- J' V, B: b; Q
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ' ?) P/ ~- w* \4 k# c* i% S2 a
  1080. ; passthru.
    # D8 U4 z0 P4 S" g* E
  1081. ; http://php.net/odbc.defaultlrl  R2 m# J! m' S
  1082. odbc.defaultlrl = 40960 }, ]: E0 C$ _8 }2 Y, b# e

  1083.   l. `* e7 j* o) {  \  X
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    / N8 ?1 m* ^% K: C. r! q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' r% x+ k: E- `
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    3 ]2 d& x' y: X9 k: A5 D2 ~
  1087. ; http://php.net/odbc.defaultbinmode
    ! P" T' h3 j9 ^1 L& P
  1088. odbc.defaultbinmode = 1
      s8 L! P1 v1 Z5 E

  1089. ; e, Y- a+ o; N0 O% y. A" c
  1090. ;birdstep.max_links = -1
    - L" u* D1 y* `4 z5 a: c
  1091.   R: A' M( d1 z7 H0 i
  1092. [Interbase]
    $ g8 _* ~2 K! R4 P2 y
  1093. ; Allow or prevent persistent links.9 i" e1 _. I( y: v
  1094. ibase.allow_persistent = 1) I6 L0 ~+ `/ ^" d6 s4 \. p
  1095. 1 X9 ~+ b$ B( B5 W# z8 n
  1096. ; Maximum number of persistent links.  -1 means no limit.
    4 C  {3 r- C$ x2 }- {# b8 {
  1097. ibase.max_persistent = -1* P5 s  ?) l8 V7 ~, {- d. }, t

  1098. 5 S0 q9 b$ t' H& V' |" g
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # l. f8 Z) `, |2 L" E8 f* z
  1100. ibase.max_links = -1. J& c7 c( y( ~1 [% i

  1101. ! S2 T. D% K3 y
  1102. ; Default database name for ibase_connect().
    ) a2 ?: B: ]! M% L+ _" d
  1103. ;ibase.default_db =8 J: a& C* y  Y
  1104. % \. M' y, |; `4 e5 f$ [3 c
  1105. ; Default username for ibase_connect().2 n9 Y. g  m& P1 {& {
  1106. ;ibase.default_user =$ O4 l; s& [! y4 C5 T% k3 e
  1107. & V$ B: X, T0 b+ s. N
  1108. ; Default password for ibase_connect().
    : ^1 O1 i+ B; {# M
  1109. ;ibase.default_password =
      P, F0 A8 ]# s' B! ^1 [0 e
  1110. / b4 q2 V0 \, i
  1111. ; Default charset for ibase_connect().- V( ~! }) ~. B5 `
  1112. ;ibase.default_charset =
    " L1 s$ ?5 }) o& ^% W6 i
  1113. . U1 P, x5 ?4 O1 d) f" C- {" m, m
  1114. ; Default timestamp format.
      C: e' p0 U" O/ N
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    # J0 T: |5 I$ p; Z

  1116. ; \2 ]2 g" b9 w0 R( n; O/ }( F
  1117. ; Default date format.8 b  r6 Z/ ]# ?  Z4 w
  1118. ibase.dateformat = "%Y-%m-%d"2 t! [6 x, o& t9 n6 P- M# u
  1119. 6 |* D0 _, ^. F* Y$ N* C
  1120. ; Default time format.
    $ ~2 p6 ^) g" z: f  r1 p& E. [4 e: r
  1121. ibase.timeformat = "%H:%M:%S"& N. {* Z; ]; |9 |" F8 {$ e
  1122. # T, ~- V4 ]8 X9 V. H& ^; i
  1123. [MySQLi]7 U6 e1 S" ]3 |2 {

  1124. ! P+ D8 b( K, I  `: r+ C
  1125. ; Maximum number of persistent links.  -1 means no limit.% o, p" H1 _* K/ |3 q: a
  1126. ; http://php.net/mysqli.max-persistent
    # P% A$ g# p) B5 _+ d
  1127. mysqli.max_persistent = -1
    # w& q' c9 O7 m' F' _$ ~5 Q
  1128. : v4 h! ]) \5 H2 o
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ! B, n6 i" P9 B% P3 z% d2 x
  1130. ; http://php.net/mysqli.allow_local_infile
    , M0 _( U: i8 D+ A( H7 s# O6 m$ n6 ^
  1131. ;mysqli.allow_local_infile = On5 Q3 I, x$ x: N6 z+ z: U- w

  1132. " w& t2 @5 K9 W2 W; \
  1133. ; Allow or prevent persistent links.' ]$ y. `/ A: h
  1134. ; http://php.net/mysqli.allow-persistent- O! }( ?8 x7 F' G" \
  1135. mysqli.allow_persistent = On
    ( F% C1 Y- m0 z9 `+ U
  1136. $ C( Z  h8 n. }+ R: ^3 N
  1137. ; Maximum number of links.  -1 means no limit.
    ! E" n* z, a+ l3 Q# n# L
  1138. ; http://php.net/mysqli.max-links
    : }. G7 G  t* [, O
  1139. mysqli.max_links = -1) I1 b$ i: Y; |4 ^
  1140.   C+ T9 J' k3 q: T! I, Y
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 Y* ^' A0 l- p/ a5 V& ^; h
  1142. ; http://php.net/mysqli.cache_size( v" A8 v% H, s( \; c' }
  1143. mysqli.cache_size = 2000
    & Q/ Q) [2 s6 w! m- e! g
  1144. : R8 q5 E2 g# _- u/ `+ B# ~
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    9 R6 Y1 _7 J# L/ |$ @+ R
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 D7 {3 b2 ?; L: v1 w+ v: k
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    7 }1 q4 ]" n( N
  1148. ; at MYSQL_PORT.& N2 }* Q9 ~5 y9 z1 X2 ?- X4 b
  1149. ; http://php.net/mysqli.default-port
    / C9 I8 r; |  c( Q
  1150. mysqli.default_port = 3306
    + C) D( m, \6 H- u: V. X5 O

  1151.   l( Y6 U8 M2 {' A8 t9 \7 d
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & I6 S- z# u7 l& U: @
  1153. ; MySQL defaults.0 |/ N7 Y& Z4 Y4 Y% F
  1154. ; http://php.net/mysqli.default-socket; D  ^! z+ O) l4 g
  1155. mysqli.default_socket =
    + z9 J$ V( U! K( Y! ^

  1156. / Q6 ^: t) u+ F" m) f) Q& }
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode)., R, Q; l% V8 s+ m5 i8 R
  1158. ; http://php.net/mysqli.default-host$ g! `  l; Q* G# B% |: v. [
  1159. mysqli.default_host =) h6 g! u/ t7 N/ f5 K

  1160. % E. @" f7 I& U9 P: S* j+ _" G1 T
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % D' Y: @" m9 {2 Y+ {* Z' u
  1162. ; http://php.net/mysqli.default-user2 p6 A! j4 Q' K6 K' u
  1163. mysqli.default_user =' a6 g( X, B9 O/ R: @
  1164. ! F; C+ H, w9 f5 f
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & F6 F% F* }( Y( ?4 _: N
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    " [0 n6 f9 o& \# M
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - p: N7 ]( p5 ]; _/ w6 e
  1168. ; and reveal this password!  And of course, any users with read access to this
    3 I3 C1 P/ L+ q5 G
  1169. ; file will be able to reveal the password as well.
    2 q* I  ^0 `6 V4 P- Z
  1170. ; http://php.net/mysqli.default-pw
    1 @# L: Y6 v' V8 ]' m$ P. `
  1171. mysqli.default_pw =
    7 q$ g1 Q3 U; o" U; m+ j

  1172. & W; F  i& Z1 M$ b$ j
  1173. ; Allow or prevent reconnect
      m/ V  c4 b& \& v% C. Z
  1174. mysqli.reconnect = Off
    / Q) R( P4 v6 o* Z1 N% L% G. v

  1175. ( L" e$ f$ p0 y! T
  1176. [mysqlnd]: b  h; Z- t5 V7 H6 `* ?- ~4 U$ z
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    9 G4 @8 V4 K1 a$ G5 i
  1178. ; used to tune and monitor MySQL operations.
      h2 [7 p( n4 j/ f; b' t3 p
  1179. ; http://php.net/mysqlnd.collect_statistics$ v8 ~9 a, G/ x5 n4 H
  1180. mysqlnd.collect_statistics = On1 F( b- p+ m! C" {5 A) U
  1181. 3 V, e4 B" k, Q" g3 ]8 M+ k: x5 k
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ; b- }5 C! g9 f& A  e* O5 o9 |
  1183. ; used to tune and monitor MySQL operations.3 m" T, B- l  h5 Q; a1 v
  1184. ; http://php.net/mysqlnd.collect_memory_statistics6 ]+ z5 ^$ ~1 b  v: j0 ?# x
  1185. mysqlnd.collect_memory_statistics = Off
    % v9 n9 T7 c! W! p5 v
  1186. 2 i' q* _6 d3 F' F
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ; a2 I5 i  N! _' b+ L8 F
  1188. ; file.
    . R, E" y' D0 Y6 W8 ?* P" L# U
  1189. ; http://php.net/mysqlnd.debug
    7 Q5 E$ n$ |  k8 S9 n
  1190. ;mysqlnd.debug =; I( A; ]. D  _9 s7 O' |
  1191. % J  |" N; _/ |/ F" X' c
  1192. ; Defines which queries will be logged.: }5 N- I  Y: x$ |) S1 D/ r+ l" v
  1193. ; http://php.net/mysqlnd.log_mask. ~: c* i0 I/ @% c! c
  1194. ;mysqlnd.log_mask = 0+ K/ ^/ }9 ~% p1 P  E# K

  1195. 4 ]( P2 n% \6 W- _9 s
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.: Z; G/ T% F+ z3 B
  1197. ; http://php.net/mysqlnd.mempool_default_size
    / V; _2 ^1 T1 S
  1198. ;mysqlnd.mempool_default_size = 160001 R2 h/ K8 u3 M: P3 _+ I

  1199. 0 K7 L) v. x: q( C% H
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    + Z% W8 Q- v: b3 ]# y" E- T, z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) Y: |, O$ ~5 T  v
  1202. ;mysqlnd.net_cmd_buffer_size = 2048, g$ C4 {3 a7 |
  1203. 8 E* d- ]2 E( y7 d; ~' o
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in, a- _, j1 ?0 B' ?
  1205. ; bytes.
    ( |) j) r0 I/ t; R' F0 y
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    * `  C7 T* ?7 }* B, {
  1207. ;mysqlnd.net_read_buffer_size = 32768
    # U# G) X$ R- k; N9 Y7 x
  1208. 2 d9 ~' K  I/ D8 P4 X6 Z- _/ D+ f
  1209. ; Timeout for network requests in seconds.9 q) Y5 l5 ?0 @
  1210. ; http://php.net/mysqlnd.net_read_timeout
    # G2 z/ A8 E- R9 u4 Q
  1211. ;mysqlnd.net_read_timeout = 31536000
    " v% Z  O- ~2 @

  1212. 8 q( \  g. B+ Y; T6 c- u( q; `( A3 e$ Z
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA) a* I1 N1 E" ^( @, x
  1214. ; key.1 Z+ X/ d9 p' n& e5 b/ f/ D
  1215. ; http://php.net/mysqlnd.sha256_server_public_key: _0 ~) D. D4 R2 R* ?' d8 p( L% e
  1216. ;mysqlnd.sha256_server_public_key =
    & K0 R* L  F9 z' @+ q& U

  1217. & P( Y/ ]& F% p
  1218. [OCI8]$ v: p( M/ @/ [& G

  1219. 6 V2 @0 P3 \9 x6 b4 I1 O# H" n
  1220. ; Connection: Enables privileged connections using external
    ) m8 L% e8 q4 |0 j8 c3 ^
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    . s! x  T# }, i, [( b& E' q
  1222. ; http://php.net/oci8.privileged-connect) f1 U5 a! x' \6 K/ z' ?
  1223. ;oci8.privileged_connect = Off) z* j; E& o" Y) N2 y" v1 C7 g/ Y
  1224. 3 K$ v' i1 S5 y: \; F2 z* }
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    + x: J3 b+ x3 I
  1226. ; process. Using -1 means no limit.: z, {  ~& Y) V, V
  1227. ; http://php.net/oci8.max-persistent1 r5 Y4 ^6 _+ q4 \* W
  1228. ;oci8.max_persistent = -1
    0 Y6 J6 B6 i6 Z. T% w3 F" Y

  1229. / V' j; Z+ m. e! q: z0 a
  1230. ; Connection: The maximum number of seconds a process is allowed to
    6 u5 S6 z, B! R8 J
  1231. ; maintain an idle persistent connection. Using -1 means idle' A" X4 Y, \  @. @) _8 p- b5 u1 Z
  1232. ; persistent connections will be maintained forever.; }2 O2 V! j9 e# Q8 o0 ~
  1233. ; http://php.net/oci8.persistent-timeout
    3 G% C& ^5 E( J8 Z8 |
  1234. ;oci8.persistent_timeout = -1
    , I7 I# t+ S$ {6 U( F9 V

  1235. 6 G/ B# s1 w8 u3 _- r4 @
  1236. ; Connection: The number of seconds that must pass before issuing a
    & a3 M+ r# U( H
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # V- K4 B9 t& x: R$ a
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables! A5 T; L4 e3 ~- E* V: w( O) V9 v
  1239. ; pings completely.
    : S" R! i; s# l
  1240. ; http://php.net/oci8.ping-interval* n: t) c9 v! I% B- `3 ]
  1241. ;oci8.ping_interval = 60  C) h8 K" R5 J

  1242. # y" M3 z* L. t% Z1 h) h
  1243. ; Connection: Set this to a user chosen connection class to be used5 S' H: g: Y1 N' r. w
  1244. ; for all pooled server requests with Oracle 11g Database Resident5 c- X2 A- Z( @1 }( Q/ c
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to: A" g  X! m6 z" R. k
  1246. ; the same string for all web servers running the same application,
    $ s4 C# f: U0 K% a1 i& i+ `' A+ h8 ^9 u
  1247. ; the database pool must be configured, and the connection string must# X: J+ ~6 T9 j# O' j8 Y' Z
  1248. ; specify to use a pooled server.0 {  N; l2 K+ `6 i
  1249. ;oci8.connection_class =
    " s9 Q6 m$ y; x& b7 C

  1250. 8 C5 S9 {9 ^9 @/ K6 i
  1251. ; High Availability: Using On lets PHP receive Fast Application
    6 ?7 p, o. q# B( J4 x
  1252. ; Notification (FAN) events generated when a database node fails. The
    + ~; \' _, {$ b5 E( N% ?/ u' ~  ^
  1253. ; database must also be configured to post FAN events.5 J! j: k6 Y) H0 a
  1254. ;oci8.events = Off
    & v3 N" P" l$ J  Q: @: l: T
  1255. ! V. |5 F0 j' J/ G* {0 t4 a
  1256. ; Tuning: This option enables statement caching, and specifies how& ~2 M' I* ^7 V/ T1 L2 e( U
  1257. ; many statements to cache. Using 0 disables statement caching.
    1 _' }" w$ t3 ~' T5 G- E7 J1 h# z
  1258. ; http://php.net/oci8.statement-cache-size$ q* o& U: S3 q) ]; J0 X3 T' K
  1259. ;oci8.statement_cache_size = 20
    4 P  [% p6 I5 h$ N; D3 i

  1260. 8 Q8 f. }- }1 V4 D; A5 C
  1261. ; Tuning: Enables statement prefetching and sets the default number of- T& U0 a6 e' G/ Z& X/ w
  1262. ; rows that will be fetched automatically after statement execution.
    8 S/ y  X/ b1 }5 p- j0 I
  1263. ; http://php.net/oci8.default-prefetch
    * n  W/ }2 x4 B+ p+ a* P
  1264. ;oci8.default_prefetch = 100
    $ e* _5 h9 o( ~

  1265. : s9 j8 n. q7 m
  1266. ; Compatibility. Using On means oci_close() will not close: a8 F! c# N2 A
  1267. ; oci_connect() and oci_new_connect() connections.* ~& D2 u! M2 o3 N" u% {3 l
  1268. ; http://php.net/oci8.old-oci-close-semantics
    0 e) j+ v/ f! {8 |. S1 D  W9 S% V
  1269. ;oci8.old_oci_close_semantics = Off' \1 h. ^. |( W; ~6 |) E1 F
  1270. ' N% H- X$ R$ @
  1271. [PostgreSQL]# j5 C. l; ~! I
  1272. ; Allow or prevent persistent links.% E! f7 c0 y7 ^6 G8 Z4 h
  1273. ; http://php.net/pgsql.allow-persistent
    ) s: N% u$ s3 z4 `8 r
  1274. pgsql.allow_persistent = On3 P  z" e5 r- a& K

  1275. ! E9 g: c/ a8 {" y! }/ y
  1276. ; Detect broken persistent links always with pg_pconnect().
    3 |5 z' h( z( T
  1277. ; Auto reset feature requires a little overheads.
    ; b* B0 Z3 o; P" S( l; L- n, c
  1278. ; http://php.net/pgsql.auto-reset-persistent5 `7 ^4 Q. K2 V; t& ~! }4 I
  1279. pgsql.auto_reset_persistent = Off
    & F8 f% D$ z" z* \) f: U' S/ A

  1280. 1 u; r$ c6 ?* f5 O3 ^
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ! t) m# f- X4 s
  1282. ; http://php.net/pgsql.max-persistent
    # u0 Z1 R' c/ J. p: \9 i
  1283. pgsql.max_persistent = -12 H/ Q2 S3 |1 M

  1284. : f- x# a# ^& C6 I& g+ R, J( k1 v
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit., Q3 }5 y2 y) e5 f
  1286. ; http://php.net/pgsql.max-links
    " p% Q5 o) d4 O& A& j
  1287. pgsql.max_links = -1
    ! n" J9 b& W$ K4 r

  1288. / H" P; M4 T9 B; k% {
  1289. ; Ignore PostgreSQL backends Notice message or not.7 C# ^( U6 S# i' o2 F' Z1 R
  1290. ; Notice message logging require a little overheads.* I) t% H2 e$ Y: c
  1291. ; http://php.net/pgsql.ignore-notice& F) t- Q/ Y4 f4 w1 i$ p! \' B
  1292. pgsql.ignore_notice = 07 x7 K$ j3 k% G; E
  1293. ( u% ~; h2 b+ Q, m8 n4 y4 x' F' `
  1294. ; Log PostgreSQL backends Notice message or not.% s: |) Z9 q$ _1 b( y6 }
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    5 n8 B4 E7 D" ]- C
  1296. ; http://php.net/pgsql.log-notice
      {) Q& L! U& C; v" o' N
  1297. pgsql.log_notice = 0* L) o* R  ?& ?1 ^, m
  1298. ' y5 ?4 s# m) v" p+ ~  Y% z
  1299. [bcmath]1 h0 O. q) o2 E+ T1 X4 Q7 W
  1300. ; Number of decimal digits for all bcmath functions.. V+ o2 u( G, I+ Z9 N3 U
  1301. ; http://php.net/bcmath.scale) j1 b# W- v5 u7 C$ G' ~! i; Y
  1302. bcmath.scale = 0
    + v: K- {+ L6 {; X- K, L* M7 K

  1303. : L$ D" ?. c0 f( K# t3 i& w8 D
  1304. [browscap]
    ( D% q8 M& i( }5 I7 c
  1305. ; http://php.net/browscap
    : C! }/ g& Q5 K% Y2 j
  1306. ;browscap = extra/browscap.ini
    ( t0 Z3 L, u+ n5 W
  1307. ! K- l" @: W9 U( v( ^6 G' B9 q
  1308. [Session]4 E* e& [" O" S  X/ g$ D
  1309. ; Handler used to store/retrieve data.
    8 |0 i0 u1 y- s8 v+ V
  1310. ; http://php.net/session.save-handler+ {3 R$ i: z6 f8 m+ J' A! i
  1311. session.save_handler = files7 c* U8 X- ~1 s" R( c
  1312. $ B. ~6 M9 n+ O/ T
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    + o3 ^4 C! x/ `9 M; t* g  u
  1314. ; where data files are stored. Note: Windows users have to change this0 {9 P! B5 L2 j& _( b) R6 a
  1315. ; variable in order to use PHP's session functions.0 j6 V6 q, u$ z6 j  n
  1316. ;
    6 W/ s/ o: ?4 \8 R
  1317. ; The path can be defined as:
    4 T$ |. w; ^5 I1 N
  1318. ;7 w- p2 @: z% A
  1319. ;     session.save_path = "N;/path"% S0 B  t. p) o- {$ R, B# u
  1320. ;) R; p, Q' R+ w2 K2 b
  1321. ; where N is an integer.  Instead of storing all the session files in
    0 M5 M, X: N5 f! b, p
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    . i6 ^) C# j1 ]# z) d4 b) a* _& t
  1323. ; store the session data in those directories.  This is useful if
    1 c$ T6 \  q* i3 Z6 G
  1324. ; your OS has problems with many files in one directory, and is. L- u4 y/ n$ e8 v
  1325. ; a more efficient layout for servers that handle many sessions.
    * x' l. r8 ]2 L% C& q* X
  1326. ;, l9 j) G# x# B7 |
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ) ]* z: k/ g+ Z  o
  1328. ;         You can use the script in the ext/session dir for that purpose.
    $ @, r* C# H/ R2 F, D1 Q; P  x2 y* |( G5 z
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    - n2 B6 o5 ~  ]$ E2 T! U( C8 J: X
  1330. ;         use subdirectories for session storage/ @6 Q3 B9 L, v( k
  1331. ;
    9 O. r! v) A% ]* y& T
  1332. ; The file storage module creates files using mode 600 by default.
    6 K1 {/ D. O4 ^( J: `% e: \
  1333. ; You can change that by using1 d- j, P& F! A
  1334. ;
    ' G% o2 {! x  n4 V
  1335. ;     session.save_path = "N;MODE;/path"
    ! s; w2 v: \" ~
  1336. ;
    * g* T  m# a7 g3 g9 Z, A
  1337. ; where MODE is the octal representation of the mode. Note that this
    ( y0 G  `! y% u4 v* W4 B! }' z7 [
  1338. ; does not overwrite the process's umask.6 y9 G- [) l# V2 N1 p% q9 ^
  1339. ; http://php.net/session.save-path
    4 U: y5 Y7 X! O( v' J8 w( H
  1340. ;session.save_path = "/tmp"
    $ T) e) z' H8 H5 @( i4 @

  1341. $ E1 l& `- ^" U! V& o5 B
  1342. ; Whether to use strict session mode.7 a1 k: G6 v3 Z
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate" n" w* k7 ~2 K  U6 X; p* b
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    , e1 t- z' E8 [' C# ~8 |
  1345. ; applications from session fixation via session adoption vulnerability. It is% E) O# w* Z2 h( o9 |8 L
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    1 h0 h9 A) O! ?7 x* o  \
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ( X: @  e2 M6 X  q1 B# w* M
  1348. session.use_strict_mode = 0. J4 M1 _2 R4 P' P3 U& Y8 x
  1349. - \' F5 M7 U$ p
  1350. ; Whether to use cookies.
    8 q) }- ~" F3 W. n  ^  `
  1351. ; http://php.net/session.use-cookies, N& x" d1 V- x+ K9 b" j
  1352. session.use_cookies = 1
    % ?! ^& v! o7 F1 |* c' I2 G
  1353. 3 F0 y9 N2 h3 R6 C# _: `
  1354. ; http://php.net/session.cookie-secure
    3 w0 V( z. w1 M9 D* p
  1355. ;session.cookie_secure =
    8 H( ?' H! b1 s8 o
  1356. 0 G+ x+ Q# ], F1 C1 I' P
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    + X3 a: Z, U7 x) O. Q
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    6 k, \5 N7 c+ u& c2 T7 W
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ; O! h2 b( i) K2 d3 ?
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( B  u, B: h# P; Y( H8 [! ~+ y
  1361. ; http://php.net/session.use-only-cookies
    ( A# B' ^. O, i- p4 y* I
  1362. session.use_only_cookies = 16 t" }4 \6 |  z! b

  1363. 9 y" V( H+ C! n$ H
  1364. ; Name of the session (used as cookie name).! O& }. c+ G& m5 i/ k# g' c5 f. {' E
  1365. ; http://php.net/session.name
    ' e* R2 m) F0 ^7 n% o4 b8 j* X
  1366. session.name = PHPSESSID
    8 ?( Q% [5 Z, k4 W/ S1 `

  1367. . U* ]& y4 e6 Z5 x+ ^" E
  1368. ; Initialize session on request startup.
    2 K. ~" Q" k# e0 h! ^2 V
  1369. ; http://php.net/session.auto-start
      P  T( G6 Y0 y" I
  1370. session.auto_start = 0
    6 g  }' E+ I1 K4 J) s

  1371. 0 M& ~7 [  O% J- ~& @- A- C7 g) d
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.+ ^% r  Q: G3 E: m6 E5 z& b
  1373. ; http://php.net/session.cookie-lifetime
    , Q" [: I" c  q, A& Z* ?
  1374. session.cookie_lifetime = 0: X) ]3 S; h+ x- Z0 W6 j* L

  1375. ( c& D0 t4 d% Z6 }6 Z0 Y& @
  1376. ; The path for which the cookie is valid.
    5 f. _& I$ {6 f+ w5 P. l
  1377. ; http://php.net/session.cookie-path, p1 A7 a, t; v9 n% j8 t3 ?
  1378. session.cookie_path = /
    7 J5 f* i2 V& {* c; R8 A
  1379. ! \# B/ {) g& }2 ?
  1380. ; The domain for which the cookie is valid.
    / m) z' o# Q, \$ U
  1381. ; http://php.net/session.cookie-domain8 D" j) o/ H' Y  V' e
  1382. session.cookie_domain =+ i9 Z& q7 I2 n
  1383. * @1 H+ l8 R, b+ g# v
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    0 l& V; Y( G) W2 \
  1385. ; http://php.net/session.cookie-httponly
    8 M9 o, g" V: X# P
  1386. session.cookie_httponly =
    , J+ r* j7 R) i4 s. H. H
  1387. % K! ?6 @8 i4 l. g; w( G
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    4 P" j+ }3 T' i. f: o
  1389. ; http://php.net/session.serialize-handler7 v0 }7 x1 X" }9 Z
  1390. session.serialize_handler = php; y% b3 U2 o4 L9 d( n

  1391. 4 w9 `  ]5 o+ [, J* j4 N, j2 u
  1392. ; Defines the probability that the 'garbage collection' process is started! K$ e6 m4 N& m6 v8 v3 R. ?
  1393. ; on every session initialization. The probability is calculated by using* e; v9 a* n  ~/ R
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! Z, O8 e6 e. L: V
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1/ f+ m& }" w0 ^8 m/ S& n
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' f1 ?& Q2 o8 y: [8 S7 a2 w: d; T" m
  1397. ; the gc will run on any give request.! i8 Y* E3 Q1 }% P7 a, J# @
  1398. ; Default Value: 1
      `+ q! x4 q* ]6 @2 G* b7 b
  1399. ; Development Value: 1- ]' p, E- o. m* C3 H
  1400. ; Production Value: 1
    , {% s. k, f2 I- P) E. [6 A
  1401. ; http://php.net/session.gc-probability! B) A# l+ N9 }7 ^3 D0 k
  1402. session.gc_probability = 1. Q3 z9 c; L# K% l

  1403. 1 t# V% m0 A0 Z9 V, o* y0 z$ H( z+ a* P
  1404. ; Defines the probability that the 'garbage collection' process is started on every
      f$ ^) q* i% e
  1405. ; session initialization. The probability is calculated by using the following equation:
    , L2 _2 i! B# Y1 M  s) x: D
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and5 t  y1 H- Z$ M$ T' S
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    5 u, o8 W: k  J8 Y) w2 e
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / Z+ W9 ~5 |; y& U! A6 i2 b
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    " ]+ I& y* L+ @1 v. c
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,5 R9 i" I/ @: ?% x7 g, [$ L) M' ~
  1411. ; this is a more efficient approach.7 S- f6 S9 P# r
  1412. ; Default Value: 1006 |. g1 n4 u& l
  1413. ; Development Value: 1000- u* j7 H3 m1 k0 i$ c, S0 x
  1414. ; Production Value: 1000
    # B! x1 S& L$ u$ w2 I/ g
  1415. ; http://php.net/session.gc-divisor
    2 k: E( |" k8 n3 o6 e( \
  1416. session.gc_divisor = 1000' n/ h9 r( F9 B

  1417. - }2 N% h8 b/ Z6 `0 D
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and% K/ o. C& @# J% [, K
  1419. ; cleaned up by the garbage collection process., c% \0 P2 G) s$ h* }/ M4 s: s
  1420. ; http://php.net/session.gc-maxlifetime
    ( r! A" P5 l& Z* N4 r: t; f
  1421. session.gc_maxlifetime = 1440- N1 g/ H& ~/ j

  1422. ' h) i* y% D. ~% _/ [
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ' s# u( F9 t# S! H4 L- W
  1424. ;       (see session.save_path above), then garbage collection does *not*
    # M% P9 h2 n5 }! _; n& V; P9 I
  1425. ;       happen automatically.  You will need to do your own garbage
    . N7 O6 W. H( W& M& Q) w, F8 S5 F( P
  1426. ;       collection through a shell script, cron entry, or some other method./ O! W: F. a( Z# c% y( p
  1427. ;       For example, the following script would is the equivalent of
    7 `; U- F/ Q% ]7 H8 k
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):2 R' K. b/ \1 K) b) E. I
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- y5 [( X6 v9 \

  1430. . r' F3 F" O# K/ x; a  Z
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * c3 C  I3 G, D
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    6 [$ ^* t! D- K7 d/ Q: v  i
  1433. ; considered as valid.
    2 Q0 G% j6 t6 K- ]
  1434. ; http://php.net/session.referer-check
    ( H+ x, W- f4 t2 F5 x2 v( ?; s
  1435. session.referer_check =- `1 l1 @2 u' j
  1436. & J& U/ m+ L) j; j; u( I
  1437. ; How many bytes to read from the file.
    ! V) `( G. T! E
  1438. ; http://php.net/session.entropy-length
    - `. `1 o+ w6 Q3 x$ N" ?" Z
  1439. ;session.entropy_length = 32- ?4 y$ m0 S0 I0 m! ?0 o
  1440. . n+ \8 _4 g! F2 v
  1441. ; Specified here to create the session id.$ c8 F( J$ r, r8 K# K& T% R
  1442. ; http://php.net/session.entropy-file
    ( z. Q, y& c7 L3 v% @+ s9 t2 f+ q
  1443. ; Defaults to /dev/urandom
    1 Q* u6 |1 R5 T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    5 c0 G# I# c+ e' t5 X, y  d. u
  1445. ; If neither are found at compile time, the default is no entropy file.
    : M& [/ e" E" K1 e' l0 `/ o9 v
  1446. ; On windows, setting the entropy_length setting will activate the  Y% f) _) @+ Z& U: O
  1447. ; Windows random source (using the CryptoAPI). [/ M% f2 h1 u2 L3 m3 [- I
  1448. ;session.entropy_file = /dev/urandom
      O4 X, ]9 M, [

  1449. + `+ F9 ?1 D- @9 w' t5 l
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ! Q9 Z" i/ n" w. t
  1451. ; or leave this empty to avoid sending anti-caching headers.
    6 `; b9 `9 A2 \" |' W& B+ v$ B
  1452. ; http://php.net/session.cache-limiter( ~* S- j4 V* l& |! g9 h% A
  1453. session.cache_limiter = nocache
    ' }" D$ ?, Z. Q9 n2 N. h0 L" Y

  1454. / w% u  M' G! f& s* X, _7 c# R
  1455. ; Document expires after n minutes.! f) r% N1 q' x1 Y" [5 i
  1456. ; http://php.net/session.cache-expire
    : I; K- o' }3 ?) C0 z
  1457. session.cache_expire = 180
    " H: V5 D# w9 Y# H) G
  1458. 3 }: q' D. L/ Z. b# G, Y+ P
  1459. ; trans sid support is disabled by default.  m; o7 V2 M3 D
  1460. ; Use of trans sid may risk your users' security.( r, u% h! b  V0 C- d  I
  1461. ; Use this option with caution.4 e& `) |" o+ {( c3 v7 x, X& s7 ^5 l
  1462. ; - User may send URL contains active session ID: u6 E- {* [7 ^/ D# Q7 h
  1463. ;   to other person via. email/irc/etc.) u1 b1 _. E* K. O: o% N
  1464. ; - URL that contains active session ID may be stored
    ' F# Z# t, D) ~3 J+ \" X1 d
  1465. ;   in publicly accessible computer.' b0 W; a  c5 c. U
  1466. ; - User may access your site with the same session ID7 T$ _& v/ l$ W5 L, i
  1467. ;   always using URL stored in browser's history or bookmarks." M: h4 o$ V) B* s4 ^, R7 N: Y3 x
  1468. ; http://php.net/session.use-trans-sid
    $ S+ z- u; P4 J4 Y' ^- g$ ?
  1469. session.use_trans_sid = 0
      K1 I" r# ]6 J6 M
  1470. 7 \6 T+ V' O0 x2 u$ z/ F- Q9 p( }
  1471. ; Select a hash function for use in generating session ids.% ]* M5 N8 ?7 N: t  g
  1472. ; Possible Values
    2 s6 E! j7 _; A! q
  1473. ;   0  (MD5 128 bits)7 w' ]8 P0 x0 M6 Z  o
  1474. ;   1  (SHA-1 160 bits)
    # r  B0 o& D  A) Z( S
  1475. ; This option may also be set to the name of any hash function supported by
    , D( {8 P/ S$ P7 `$ |
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    9 x8 S/ m$ H; R, b& t
  1477. ; function.
    & O0 N8 w! i) f+ ~7 K: i
  1478. ; http://php.net/session.hash-function
    ( h5 E8 h4 y# s
  1479. session.hash_function = 0( G3 I& ]2 d2 Y

  1480. 8 ~' [6 G2 S8 W. A7 r. V) a3 ]
  1481. ; Define how many bits are stored in each character when converting) L3 x% }/ _- o) i
  1482. ; the binary hash data to something readable.
    / b0 _7 t5 L; o) E1 D$ }9 c6 J
  1483. ; Possible values:
    2 r- @2 f. _# v8 I
  1484. ;   4  (4 bits: 0-9, a-f)& X  ^7 x0 I. h, t9 v/ r
  1485. ;   5  (5 bits: 0-9, a-v)# c$ ?% \; J; t% v( F
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")1 `3 [7 u3 e' B, `5 \
  1487. ; Default Value: 4
    6 c+ ]7 F2 R. q
  1488. ; Development Value: 5- N: Q$ B4 [' g$ b6 ^2 \8 |
  1489. ; Production Value: 5
    & b0 H5 H1 T7 K" I6 b! E
  1490. ; http://php.net/session.hash-bits-per-character1 H/ c# T' _1 m
  1491. session.hash_bits_per_character = 5/ [  W+ k9 r  L) U+ i
  1492. 0 _" k. ^- g0 A( N2 c* ]$ J
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.% b" b" s% r; f8 t
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    5 w# q1 M# g6 @+ h3 v' q" |
  1495. ; add a hidden <input> field with the info which is otherwise appended
    , J! Z" u. \  Q& H4 O
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.  I" ~2 A9 z& z, k1 D5 j, @
  1497. ; Note that all valid entries require a "=", even if no value follows.6 {# n% R- x6 H! k+ Z
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) f: S" H6 E; M, K  Q; F
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": S) I* |0 e$ M4 r3 F& q) S: c# D$ g
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# n, F0 y5 w5 x
  1501. ; http://php.net/url-rewriter.tags
    $ Z$ O& f7 E7 s
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"3 u0 F0 [, S! T# y* k0 _
  1503. 2 o. j( D! O9 K- x$ \+ U
  1504. ; Enable upload progress tracking in $_SESSION
    " G+ o9 T7 [3 P1 E) E+ O6 b
  1505. ; Default Value: On, }! |" X( P. h6 Q* G
  1506. ; Development Value: On
    % R( W6 K+ v3 Y; x1 _
  1507. ; Production Value: On
    2 P4 i- r! p% T- d
  1508. ; http://php.net/session.upload-progress.enabled+ ]  n$ ]9 K! A/ Z, y$ L. u
  1509. ;session.upload_progress.enabled = On9 Y" ]0 k: y" Y8 A9 \& c3 I3 Y

  1510. : r# {- c+ N' l7 c- G- T. h
  1511. ; Cleanup the progress information as soon as all POST data has been read4 C% Y. B- A( h$ M- T1 h) {% S: y
  1512. ; (i.e. upload completed)./ S- H+ E$ d- M& ?- X
  1513. ; Default Value: On
    8 Q. B7 Z: O$ W: r7 i
  1514. ; Development Value: On
    : Q- A# k. X8 }* _5 s
  1515. ; Production Value: On
    $ z$ v. \! E" E# B/ K! {9 d
  1516. ; http://php.net/session.upload-progress.cleanup
    8 q2 ~1 A/ c6 b; t. y/ e6 n9 ~; M
  1517. ;session.upload_progress.cleanup = On" Z/ |/ S% }5 [. b

  1518. 0 ?# V9 r' }% q
  1519. ; A prefix used for the upload progress key in $_SESSION$ V, l5 p1 V7 U: R3 X; z
  1520. ; Default Value: "upload_progress_"# N" a% Z, `, O# {; g% c
  1521. ; Development Value: "upload_progress_"+ M4 z, }2 d$ H- }, f
  1522. ; Production Value: "upload_progress_"& }: u* A. G+ Y3 D
  1523. ; http://php.net/session.upload-progress.prefix
    3 J2 J0 |) a6 W2 B& l
  1524. ;session.upload_progress.prefix = "upload_progress_"$ u# H- [, N% h: L' a' @0 C
  1525. 3 ?0 [/ I( z9 U
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    1 f, j( E4 K6 ~
  1527. ; containing the upload progress information
    " p- I. w  T2 {
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ S7 G8 ~# `8 ~/ |# h/ o: m
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! V" u, t( }8 S- U+ f6 ^, ], T5 o
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " x3 J! B6 W0 u0 t" P
  1531. ; http://php.net/session.upload-progress.name4 t4 B( [3 U0 _2 v/ V  H
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"5 M9 U2 F- v) J. C/ m

  1533. 6 G7 M1 v% F+ a& L
  1534. ; How frequently the upload progress should be updated.2 y2 M- l( Q8 I' K  [
  1535. ; Given either in percentages (per-file), or in bytes
    ( h6 V, Q; t2 H3 t- p
  1536. ; Default Value: "1%"  S1 M  x" W# }1 p
  1537. ; Development Value: "1%"
    6 Z7 ^9 `  X# i3 I1 Z
  1538. ; Production Value: "1%"
    5 E  o" Q* u: Q  K
  1539. ; http://php.net/session.upload-progress.freq
    6 S* V% {  b  ~* q! N
  1540. ;session.upload_progress.freq =  "1%"
    - \5 c, W9 `0 Y1 ~2 T+ j- s, E

  1541. , i& I0 S# `& z5 F$ N* i( C5 [% J
  1542. ; The minimum delay between updates, in seconds
    : W  h  G& p* O$ h
  1543. ; Default Value: 1
    ! s8 u8 M2 p. y) |# {3 L) @; d, s% H
  1544. ; Development Value: 1& i% p5 s9 S0 k
  1545. ; Production Value: 1
    4 K' s* s9 a1 r5 o1 |
  1546. ; http://php.net/session.upload-progress.min-freq8 S5 h9 l( c5 E, T
  1547. ;session.upload_progress.min_freq = "1"5 V5 W+ g. t; u

  1548. $ D1 t6 T3 [* k$ w% B# d
  1549. ; Only write session data when session data is changed. Enabled by default.
    " i  C/ B% ~/ w
  1550. ; http://php.net/session.lazy-write
    " d0 c0 F0 J; Q% T' f
  1551. ;session.lazy_write = On
    + B/ {: e$ A% l9 m+ V7 M' O. G
  1552. ! V( ^8 p7 U) c8 a6 b4 p
  1553. [Assertion]
    $ C2 m8 J7 z& f" j
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    , _9 J% E" ?% W
  1555. ; -1: Do not compile at all* o) m5 c' A5 m* a/ V( t! m' y
  1556. ;  0: Jump over assertion at run-time
    , C, E  _4 h  p0 v  l6 y6 j
  1557. ;  1: Execute assertions; W% ]2 y' n4 G* G2 B# O
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    ( Q- _3 E  O# C9 p
  1559. ; Default Value: 1; K$ i$ Q. B  u6 W7 C4 ?' O1 {
  1560. ; Development Value: 1
    0 T1 _: \4 @9 a( \1 g/ n) F
  1561. ; Production Value: -1' o; v% g) I. I) K. H( ]
  1562. ; http://php.net/zend.assertions
    7 C4 G8 p# Z- p0 C$ a! K
  1563. zend.assertions = -1
    ! `- Q/ e, Z8 U& u. \5 q" {

  1564. , u" X) u2 j5 I; b' r4 c+ w
  1565. ; Assert(expr); active by default.
    $ u. Y7 d3 x, [+ I$ R3 N
  1566. ; http://php.net/assert.active
    8 C1 U$ E( E9 l# |: i% R
  1567. ;assert.active = On
    ) y* W; q* t: b$ i, ^

  1568. * O2 S5 y' a2 F( z8 d% K
  1569. ; Throw an AssertationException on failed assertions9 C! ?( z! d6 ]
  1570. ; http://php.net/assert.exception
    ( ]3 X. H. X$ A. }
  1571. ;assert.exception = On
    0 g. X7 ?2 p* H1 L

  1572. 9 F1 ^5 Y: k, I6 W4 J; |; l5 j. s0 L
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)- {  ?" {' w# Q# [
  1574. ; http://php.net/assert.warning3 G& Z5 N/ u3 Y5 d
  1575. ;assert.warning = On. Q# m; b2 T( s% s6 S& j
  1576. 8 ~% c4 v5 ~: _. Y6 n  T
  1577. ; Don't bail out by default.# n# j2 o( B! }( X/ K0 t
  1578. ; http://php.net/assert.bail
    % e$ h! f1 y! f; K
  1579. ;assert.bail = Off4 M  U* E$ s4 ?, d3 p
  1580. / D* G; `- R# y6 Q8 v' L5 ^
  1581. ; User-function to be called if an assertion fails.
    8 _% B4 G: `+ B1 J7 y1 p
  1582. ; http://php.net/assert.callback
    * j. c" \2 \7 Z2 k
  1583. ;assert.callback = 0
    / Z" J, s" y$ ^  `: Q
  1584. % H# u" p6 g& F
  1585. ; Eval the expression with current error_reporting().  Set to true if you want- ]3 D5 W; B' T+ _# F
  1586. ; error_reporting(0) around the eval().3 F2 @9 i( X! {9 |1 o2 P
  1587. ; http://php.net/assert.quiet-eval
    0 _/ Z9 H* v" N7 z
  1588. ;assert.quiet_eval = 0
    , U; m4 Z, J/ g( [' s2 T% y/ w
  1589. 4 V4 c0 L# e' u0 N( B. |
  1590. [COM]/ n. h& _( L- G, e3 X, g8 w
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs+ s" m- d/ o" R8 \$ ^+ l
  1592. ; http://php.net/com.typelib-file6 [+ p/ X, \5 j+ V
  1593. ;com.typelib_file =
    $ j; T. g, U% B. P
  1594.   S) h& S& r6 O8 T% r0 g4 D* H! F( m2 o
  1595. ; allow Distributed-COM calls
    1 {) b$ @& q4 M9 v1 q& J- K
  1596. ; http://php.net/com.allow-dcom; ~0 ^$ j7 R) Q) C- h2 Y+ n
  1597. ;com.allow_dcom = true
    ) U1 _' @3 j0 a  y, m
  1598. $ |5 U6 Q8 |4 d' T9 B7 M
  1599. ; autoregister constants of a components typlib on com_load()
    . H  v+ ?5 j: a% ^( x
  1600. ; http://php.net/com.autoregister-typelib
      Z3 T0 s" G$ Q3 t+ m. F2 W  ]8 p
  1601. ;com.autoregister_typelib = true$ e1 [. [1 x* m& M
  1602. 1 r6 U7 j8 K4 z0 r7 f
  1603. ; register constants casesensitive7 i3 Q! T1 O; ]  Y. q  y
  1604. ; http://php.net/com.autoregister-casesensitive+ W+ s& [4 [% Y6 o/ H- Z
  1605. ;com.autoregister_casesensitive = false
    7 K4 F- u8 C" E# N" R  m

  1606. . o% {- a% R9 P+ d) I) L% ?3 a9 j
  1607. ; show warnings on duplicate constant registrations5 B  G0 u8 T6 k6 j+ D# @
  1608. ; http://php.net/com.autoregister-verbose, {+ P5 ?; g4 {" D2 i: f
  1609. ;com.autoregister_verbose = true
    ; N9 L8 K, J6 d' [

  1610. ) V) [) q9 e1 z7 C
  1611. ; The default character set code-page to use when passing strings to and from COM objects.) Y& K4 E& B. K; G6 ^" n
  1612. ; Default: system ANSI code page& b+ [: u# L7 d' _4 H
  1613. ;com.code_page=- y. B& F# w% {8 C4 v& M+ l4 R2 S: n
  1614. $ r3 V/ ]' f6 s$ x7 T
  1615. [mbstring]
    $ Z6 ^3 b9 V2 P: w4 p7 X* N
  1616. ; language for internal character representation.7 Q9 w3 c" k5 L' ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    2 J) ~1 p  u" \4 \8 f3 T
  1618. ; http://php.net/mbstring.language$ @' U( O9 J0 f* l4 M# W% s* A
  1619. ;mbstring.language = Japanese
    0 [5 M0 ~0 x+ |5 Y; ?1 @2 U  J
  1620. 7 b& q. g4 {/ b. Z
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 W' E( C/ V6 _" ]: l7 Z1 V
  1622. ; internal/script encoding.
    - _) E0 O1 [+ z0 p# j
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    / Y& R' d6 o# i4 [0 o
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + U) t7 T2 }8 l4 d
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) d. N, h% e# R- y
  1626. ;mbstring.internal_encoding =
    / u* e; A2 I+ j  S! O

  1627. 4 L$ x! J, j3 `" d
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.% L( _2 T* D& A" N
  1629. ; http input encoding.
    ) q0 s5 O1 ?6 s/ a
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.# D* Y" X) a; @8 f0 f
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.7 s0 N: S5 M2 O7 ]7 t3 a- w% T: P: a
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    , n' t, B- I3 X8 ?
  1633. ; http://php.net/mbstring.http-input" h4 g( g) v; b% f
  1634. ;mbstring.http_input =4 e  W; }5 S! I/ g4 y1 K

  1635. + d) B7 n) `/ H5 v. k4 ~
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) p. C8 I$ V% e  V$ w9 x4 ^! `
  1637. ; http output encoding.$ \3 [) I, o" H4 ?3 H% M8 M* F: T9 G
  1638. ; mb_output_handler must be registered as output buffer to function.
    1 u9 f& s1 W% F& v
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ) J/ K& K# c1 ]* \6 ^  m6 B
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    8 k* [& ?$ Y! ?/ @
  1641. ; To use an output encoding conversion, mbstring's output handler must be set+ }6 g) p7 o+ Y( J1 r
  1642. ; otherwise output encoding conversion cannot be performed.
    ( o, ?! g' [0 ]1 Z
  1643. ; http://php.net/mbstring.http-output: s% U$ v2 m7 U% X! E4 ~; y7 F
  1644. ;mbstring.http_output =
    7 a7 I3 H+ {) l: V1 g
  1645. 5 g2 r4 ]1 }. Q+ M
  1646. ; enable automatic encoding translation according to" R2 I% P3 n% N, P
  1647. ; mbstring.internal_encoding setting. Input chars are& c1 O) i$ @9 w$ B3 Z* H9 C- b! s
  1648. ; converted to internal encoding by setting this to On.
    - s4 g; ^$ p& H# E: @! ~. p
  1649. ; Note: Do _not_ use automatic encoding translation for
    ! U& j- M7 Y/ h( c$ P4 ~% n7 [# {# t
  1650. ;       portable libs/applications.! l; \1 [! \. d* d
  1651. ; http://php.net/mbstring.encoding-translation# D% d8 v! Y( N! P! k
  1652. ;mbstring.encoding_translation = Off, M# z5 G9 O7 a; I

  1653. 8 t% }: k) M+ c& `
  1654. ; automatic encoding detection order.
    6 @1 j! S6 T$ g" c& U4 u7 N3 G
  1655. ; "auto" detect order is changed according to mbstring.language# }3 r/ l4 [8 W7 ]
  1656. ; http://php.net/mbstring.detect-order7 F7 P7 C' w( c& d
  1657. ;mbstring.detect_order = auto
    7 c) e' g( k* m- m4 m1 W1 c

  1658. % L' D& N# G- O& J5 w5 T
  1659. ; substitute_character used when character cannot be converted6 `& C% [; V1 B7 L& Q
  1660. ; one from another/ t2 Y1 ?/ z3 W
  1661. ; http://php.net/mbstring.substitute-character
    ; q$ [  B+ M6 E  Z" k
  1662. ;mbstring.substitute_character = none
    4 n6 r6 G: ~! w, M8 O
  1663. - H; ?5 t1 l6 K  ^, t
  1664. ; overload(replace) single byte functions by mbstring functions.
    ' l: J: X2 V( Y1 V! b4 D  M
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),4 y' h$ u/ f* F3 O. m3 d
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % z8 x. e) u$ |7 p
  1667. ; For example, 7 for overload everything.9 \) ?5 A8 R0 Q  v8 C. m, C
  1668. ; 0: No overload
    5 Z7 G; {' k7 i+ V$ c  N
  1669. ; 1: Overload mail() function% w6 L4 ]9 ~& O6 Q& {5 U1 V" l5 u
  1670. ; 2: Overload str*() functions" ~. ^. X8 r7 R& d+ ]
  1671. ; 4: Overload ereg*() functions
    % l. J2 l5 G7 f$ e7 C" l9 x, V
  1672. ; http://php.net/mbstring.func-overload) d$ Z6 ~1 Y! J6 o
  1673. ;mbstring.func_overload = 0
    0 y  f8 N& z+ x2 O& \9 G3 r' p
  1674. $ b0 c2 ^: i. E1 y
  1675. ; enable strict encoding detection." u( _. e4 j$ ~
  1676. ; Default: Off
    4 e( K( v% Y$ |% m
  1677. ;mbstring.strict_detection = On+ i# P+ K; {6 c; q4 b7 ?

  1678. ! q8 j7 t/ `5 _8 P; [& Q, |: r9 K3 ^! ^
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & z; e  Z/ J& z8 `
  1680. ; is activated.6 q* ~6 x$ g8 _# r7 G) m6 m8 F4 l
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    5 l5 n; V3 e- A
  1682. ;mbstring.http_output_conv_mimetype=$ p  K3 L& i/ A6 i+ I
  1683. 6 @  |* j1 g1 |" K9 M
  1684. [gd]* t6 _' ?5 r. Q
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    3 G( l; E( Q/ {: O& g. c
  1686. ; a gd image. The warning will then be displayed as notices7 T0 Y8 a( u9 l9 \
  1687. ; disabled by default, |$ t0 h$ y" H6 Q
  1688. ; http://php.net/gd.jpeg-ignore-warning
    : ~" d3 h$ l8 Z7 T* |9 d. @9 q
  1689. ;gd.jpeg_ignore_warning = 0
      v3 ]( u/ {2 v2 O9 e
  1690. 6 M$ k/ }; t2 X
  1691. [exif]
    & i. X. U+ z. e1 y' P
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 s: v  m. h% y' t; e' C
  1693. ; With mbstring support this will automatically be converted into the encoding
    3 G/ ^. A; z$ j) J$ l
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : u2 ~5 M; z! U! R. i. W
  1695. ; is used. For the decode settings you can distinguish between motorola and
    $ `. r; l  u$ U* E! t0 t! @- b, D9 O
  1696. ; intel byte order. A decode setting cannot be empty.
    # e3 v# \' }3 q. I  Q3 _2 a
  1697. ; http://php.net/exif.encode-unicode& h" Q9 C2 ^# T3 z% B
  1698. ;exif.encode_unicode = ISO-8859-15
    - s. f* n: {/ Y5 a! Q
  1699. ! B6 I- N; j, O8 d: E8 E
  1700. ; http://php.net/exif.decode-unicode-motorola
    7 L2 B' w  Z4 Q
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    + P% L% J7 t9 j3 l! H- {! }3 l
  1702. - k) h- o7 s! Z
  1703. ; http://php.net/exif.decode-unicode-intel
    - N" t2 q+ L5 q/ x7 K. y! ~; H
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    " s1 c% J  ?1 H0 q+ Y5 p4 z8 z
  1705. 0 |" K. I$ C5 f5 K5 b6 I; F0 ]
  1706. ; http://php.net/exif.encode-jis! I+ ?. p& H) ?. P- a
  1707. ;exif.encode_jis =
    + O6 v/ x0 ~  |/ n
  1708. ( J  q5 E7 G9 v9 o0 d5 C8 z
  1709. ; http://php.net/exif.decode-jis-motorola
    % P9 [' ^- V" _* s' {7 ]
  1710. ;exif.decode_jis_motorola = JIS
    : Q$ N. f! [/ g+ G' W; @& O: s

  1711. ! ^- i5 v2 z6 U: _1 X% P
  1712. ; http://php.net/exif.decode-jis-intel' @/ s7 D/ C5 f1 T
  1713. ;exif.decode_jis_intel    = JIS& L  F3 e4 |: N$ P1 ]  U) J  r
  1714. 5 _: b2 h% u* r  ~9 a9 c
  1715. [Tidy]
    * M7 V) I' C; q8 C6 b! A
  1716. ; The path to a default tidy configuration file to use when using tidy
    8 E; o. F" V# E& J! A( k! B
  1717. ; http://php.net/tidy.default-config* L# f) R6 x  q
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    4 B+ N; h$ Q: T4 @; @/ S

  1719. : |, \0 s% G- e4 T& j1 E
  1720. ; Should tidy clean and repair output automatically?
    0 }7 |$ m0 P; J2 u+ t
  1721. ; WARNING: Do not use this option if you are generating non-html content
    6 L! ^& G" D& G8 S+ |5 X2 l; g
  1722. ; such as dynamic images
    % P6 q4 z1 d9 T6 N3 v) a" ^! N' d
  1723. ; http://php.net/tidy.clean-output
    9 r8 b9 J) U2 |) V3 f
  1724. tidy.clean_output = Off: w! `1 A- V. V# z9 R

  1725. & Y5 `% i9 B. L# P! r9 }
  1726. [soap]5 l  q4 f. b4 N% a6 P
  1727. ; Enables or disables WSDL caching feature.
    9 |1 a/ p- c2 V1 {' ^$ a' R
  1728. ; http://php.net/soap.wsdl-cache-enabled' i4 R& f) q3 d6 [& U
  1729. soap.wsdl_cache_enabled=1
    3 L' ~: E; g  f6 r) z

  1730. " x. j# i! i' f& E0 K9 \  }
  1731. ; Sets the directory name where SOAP extension will put cache files.
    2 }7 H# ?* D: f6 ^8 R
  1732. ; http://php.net/soap.wsdl-cache-dir
    ' W4 _) ]2 W* d- b& ^
  1733. soap.wsdl_cache_dir="/tmp"
    , D. u. U& C6 v4 \

  1734. " m! _  B/ E6 ?, M
  1735. ; (time to live) Sets the number of second while cached file will be used
    ! A7 E( s/ i. q6 K+ c
  1736. ; instead of original one.* |# m5 Q7 ^. E) A7 y0 R& E9 ?
  1737. ; http://php.net/soap.wsdl-cache-ttl
      l* b/ f8 p+ w: D! k; w- H
  1738. soap.wsdl_cache_ttl=86400% u# p) |2 ~0 O, x
  1739. 9 o/ e1 h( z6 w8 l! g/ S
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    8 |) W7 A" `$ m2 r: V
  1741. soap.wsdl_cache_limit = 5
      y& f3 M4 U+ O( l. V
  1742. / _8 W3 s/ M1 [1 f/ F2 a" G
  1743. [sysvshm]  W% S" f6 E  A% w$ s
  1744. ; A default size of the shared memory segment
    # p: H( x0 Q# |; v
  1745. ;sysvshm.init_mem = 10000
    9 S6 T. b4 }6 C7 q( i! q

  1746. : _. s4 t- V+ B9 h" t3 ^
  1747. [ldap]
    3 e2 I' e6 s) Z8 b6 C7 u0 T
  1748. ; Sets the maximum number of open links or -1 for unlimited.8 w" y. c, l+ \3 D
  1749. ldap.max_links = -1
    ; `  \) ^; L( l
  1750. ) V5 s) B2 Z$ H- D* y- J
  1751. [mcrypt]; F! ~! `* [+ F) t, {+ s
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 c9 S* S3 B( F

  1753. 1 x: k3 ^% }( k
  1754. ; Directory where to load mcrypt algorithms
      K/ \1 O" [& B7 |, c* f8 \
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 j; S( @5 `5 u, C7 J1 C
  1756. ;mcrypt.algorithms_dir=
    ; i5 r3 Z4 u# V. [; S2 m8 a
  1757. + o6 m: E8 W1 w  j. z* p8 |, T
  1758. ; Directory where to load mcrypt modes
    ! ^2 q) e) B0 x' R! Z( ~0 v8 O
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . A7 `- ?0 F; I+ S+ z5 m- o
  1760. ;mcrypt.modes_dir=
    9 J& w, H/ p( c4 T/ T
  1761. 5 x; s- ^2 K* o) x2 B
  1762. [dba]6 N0 Z7 r3 B9 e4 Z/ k) E
  1763. ;dba.default_handler=
    # s  n6 u6 [, o+ \4 R8 A, e
  1764. / c: o0 [' J( s7 |4 i! v+ G4 x
  1765. [opcache]' |- g6 l' i  X
  1766. ; Determines if Zend OPCache is enabled
    - T* S8 B1 s2 i  W+ o
  1767. ;opcache.enable=0
    : O+ D, c0 ]  Y, P) R7 Y$ H
  1768.   i, [; U$ l% Z3 m! t  [/ E. I
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 O$ `1 c, ^( W
  1770. ;opcache.enable_cli=0
    ' D5 C- }/ O5 t, i9 F) }. W3 a

  1771. 9 E& I, L1 T) d# ?! p! p( g
  1772. ; The OPcache shared memory storage size.
    % P5 n! C+ U1 E! f, P5 F
  1773. ;opcache.memory_consumption=64& n& T" T% R$ \/ T- d3 Q

  1774. ' \0 e6 g6 }2 M
  1775. ; The amount of memory for interned strings in Mbytes.) o  }! B+ u+ w! i
  1776. ;opcache.interned_strings_buffer=4
    # }# J' N9 v6 A, Q% l  X. n/ |
  1777. 1 [' i- o9 I. q
  1778. ; The maximum number of keys (scripts) in the OPcache hash table." z4 R% p7 ?( _. u2 Y+ V  ]
  1779. ; Only numbers between 200 and 1000000 are allowed.
    9 P: G' b3 j; @, ~
  1780. ;opcache.max_accelerated_files=2000
    9 K& @( b7 @6 x

  1781. ( K( u# ]6 Z/ ~
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.1 U2 N. W  n! h
  1783. ;opcache.max_wasted_percentage=5
    9 C; J8 i7 ?: ?0 F. A0 P: y: N2 |0 r- H% Q
  1784. + S* {+ Q5 L( r
  1785. ; When this directive is enabled, the OPcache appends the current working7 q' n7 y; t; D( f+ i; {
  1786. ; directory to the script key, thus eliminating possible collisions between
    " ]2 y$ p* D" x! |7 W
  1787. ; files with the same name (basename). Disabling the directive improves
    0 M' H9 e8 \! [. D' N
  1788. ; performance, but may break existing applications.4 x$ O' A" f8 H5 e: y, N
  1789. ;opcache.use_cwd=1! e$ `7 @; W* r: k. k. f5 ~$ c

  1790. ' N( |. d- h8 d9 G# i/ u* V6 R
  1791. ; When disabled, you must reset the OPcache manually or restart the
    % q! x2 r* \( r! M$ z1 M! a
  1792. ; webserver for changes to the filesystem to take effect.& J3 P# X7 c$ H
  1793. ;opcache.validate_timestamps=1
    8 ~4 P. \. X6 A; d) @) d
  1794. / B% t, m4 E( J" C" Z1 i/ ?6 n
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ) l# z( T% g# }) N( n. h6 X" h
  1796. ; memory storage allocation. ("1" means validate once per second, but only; n: H; u8 L' i6 q# K
  1797. ; once per request. "0" means always validate)9 h. ]( ~: B$ W4 e2 X3 g
  1798. ;opcache.revalidate_freq=28 r* p6 K5 v8 ^+ d

  1799. ; P- `8 u: z/ S! l! B0 W) u6 M
  1800. ; Enables or disables file search in include_path optimization6 j" \9 b+ A& B5 O! A
  1801. ;opcache.revalidate_path=0
    & r- D- C- J+ R2 R* t
  1802. 5 T. \; L: Z: l0 P- K; ]' l* H$ q
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the* p4 r5 B; M: d& p+ K- i. [  a; B8 Y
  1804. ; size of the optimized code.6 m- c. J' x$ N" {" I; V
  1805. ;opcache.save_comments=1
    , o  e: b& k0 N. d( i

  1806. " v) K, J0 ^! r% x: p' k% |7 _) Y' d
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code. I( M, u9 f4 T# w; R
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    7 z7 t  W( T+ J  a+ {
  1809. ;opcache.fast_shutdown=0! g& }. D- n+ {
  1810. : g! r0 @$ j4 f4 y9 m- V
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    / Y  n( p; D" i# @2 w% N
  1812. ;opcache.enable_file_override=09 D) N6 G' E7 S" K- A. M

  1813. + V; e3 k0 }9 R1 F$ d0 P( C% x
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    0 d3 g) T4 f) A2 h( P
  1815. ; passes1 Y; G' y6 b" A$ E1 n' p/ Q) d' @1 U
  1816. ;opcache.optimization_level=0xffffffff
    % E! j) _0 F# m  Y
  1817. ' u! O. m' B8 N/ o
  1818. ;opcache.inherited_hack=1+ e1 c* |8 f. _0 g: o% s2 R$ \1 U
  1819. ;opcache.dups_fix=02 x( U1 K2 K& x

  1820. 3 V4 W4 O% F. A" f# ?5 J+ W
  1821. ; The location of the OPcache blacklist file (wildcards allowed).8 ]* Z9 n) H9 e" }# K
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    4 x& J7 t. j% J6 i) M( s; X
  1823. ; that should not be accelerated. The file format is to add each filename
    - N- \; S+ s; o0 d1 P! _, N
  1824. ; to a new line. The filename may be a full path or just a file prefix  u& x# U" R8 Z+ i, y+ g" C+ M2 j
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ' O( b# t  i" f3 l3 p5 I
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    7 u( G3 `: F; i" h0 n
  1827. ;opcache.blacklist_filename=
    ' J  r; T6 t+ `% Z" U
  1828. 4 M6 {; R/ e4 T& T8 c+ r" y
  1829. ; Allows exclusion of large files from being cached. By default all files( x( \8 X* Z( v: [( m
  1830. ; are cached.
    . r# p& U: L7 P0 H- A
  1831. ;opcache.max_file_size=0
    - z. R& H0 `7 h$ Q1 b" J
  1832. % X/ V' {. c1 L
  1833. ; Check the cache checksum each N requests.
    7 q& m% H" s' b6 f3 c4 {( K6 ~
  1834. ; The default value of "0" means that the checks are disabled.. _, m% c( m; M3 R
  1835. ;opcache.consistency_checks=0
    " m# z. U, I' q* @
  1836. & @9 O+ U- R8 |% h2 W
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache7 ]; V( {! y8 x3 L# l- g' N! R
  1838. ; is not being accessed.
    : R) m: r, V1 J( f/ y' u
  1839. ;opcache.force_restart_timeout=180; m; \% X$ T9 o/ ^  g

  1840. 0 Y# u* f$ }/ t5 s& T
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    8 x6 a# f4 K/ d+ v
  1842. ;opcache.error_log=0 `6 W! O$ E7 O! H
  1843. ' L& \7 Q' }1 _: i" o7 c
  1844. ; All OPcache errors go to the Web server log.
    1 g5 g. w7 ]7 u6 J( w6 o5 c+ I
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# k& K7 `7 Y3 ^. ]$ w+ W
  1846. ; You can also enable warnings (level 2), info messages (level 3) or3 ^. i2 Y" I+ H# z$ \- j
  1847. ; debug messages (level 4).' u. Z: I. ^  Z% ~
  1848. ;opcache.log_verbosity_level=1
    6 K, _% f/ \" y: Q3 E( ^
  1849. ) k$ u$ t/ m: x) V6 y8 s
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.+ E. d: \. ]' n; B: C
  1851. ;opcache.preferred_memory_model=
    8 M4 `8 f1 p( }( K

  1852. 2 w9 @9 b# [; {- Q- y
  1853. ; Protect the shared memory from unexpected writing during script execution.
    : o% B% E1 r) f* `
  1854. ; Useful for internal debugging only.
    * V1 n2 z2 k1 S! i
  1855. ;opcache.protect_memory=0
    # S$ l8 N, Y$ z

  1856. 2 i/ c, w1 H( J3 r2 S' N) V
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is0 j/ R( M; C4 `+ q
  1858. ; started from specified string. The default "" means no restriction, C4 U8 i+ ]3 Q' D. G! t
  1859. ;opcache.restrict_api=
    * S" h$ Z3 X4 R& K

  1860. + k4 _- Y/ a. I. J/ B
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    0 m; ?% y/ u/ }" C  P
  1862. ; processes have to map shared memory into the same address space. This
    # ^2 M/ G0 O4 f. E  B: H
  1863. ; directive allows to manually fix the "Unable to reattach to base address"( R/ }9 i+ x9 {2 u  i, s
  1864. ; errors.
    3 u1 |- E$ y1 D  V/ T
  1865. ;opcache.mmap_base=
    1 e& y4 g5 f0 \4 E: i
  1866. 6 u; m5 K/ m4 T) e" V5 Z0 L" J+ n
  1867. ; Enables and sets the second level cache directory.
    " ]8 a+ b: r6 Y. o: K6 s
  1868. ; It should improve performance when SHM memory is full, at server restart or  U7 J( _% T4 ^$ ?3 H4 g4 a
  1869. ; SHM reset. The default "" disables file based caching.
    ( Q3 g2 E$ z% m0 i
  1870. ;opcache.file_cache=. F( l) z1 b8 `- i, J

  1871. * e+ z8 R% a8 \" ^
  1872. ; Enables or disables opcode caching in shared memory.7 d* j) e0 r/ @4 N6 V3 U
  1873. ;opcache.file_cache_only=03 {4 [" {) K3 E; e! z9 n2 n3 @9 P
  1874. 0 @* Y- |1 U% U, R7 A1 {
  1875. ; Enables or disables checksum validation when script loaded from file cache.2 \5 c/ @, r" G) Y" P
  1876. ;opcache.file_cache_consistency_checks=1) q: @; z$ I: Q; t3 V. p
  1877. ( }6 z9 v4 [  V
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ! `9 p/ b8 d  e) ^* m& C
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ! L8 s. J) @0 N/ a9 y: a9 ?0 X
  1880. ; cache is required.
    , S7 a7 m' t6 [7 r* N( _# N( c
  1881. ;opcache.file_cache_fallback=1# b: M& i7 T1 P5 u  e

  1882. + p" W# m" W& Y) O8 \5 U
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ! g6 [* g0 i( v/ \0 T+ a
  1884. ; This should improve performance, but requires appropriate OS configuration.' t& l9 Y: X+ u) k1 n4 b
  1885. ;opcache.huge_code_pages=1, y- J( B; }4 L5 I0 a

  1886. $ d7 R9 c) n( J/ i
  1887. ; Validate cached file permissions.
    5 q2 Z4 R/ }; @  v* L4 d8 M
  1888. ; opcache.validate_permission=0+ a% N, x- m% x
  1889. 6 X* J5 D# O" E: w9 d7 P
  1890. ; Prevent name collisions in chroot'ed environment.% A/ r1 i; Q" m" R
  1891. ; opcache.validate_root=0
    ! d2 C0 ?1 _7 V( i! S0 c8 b

  1892. . f3 l9 P/ j. X9 M* y
  1893. [curl]
    : G- f2 E* |! ?# S( \0 x
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    " W8 n3 K0 U2 C! y- {" K5 w
  1895. ; absolute path.% J. O4 a; O1 t9 t( P# e! i
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt/ p: @  N: e' Q- q7 |; p9 {
  1897. 0 f/ n" X) N$ B/ X! f) B
  1898. [openssl]
    1 G% g# C& L6 M) R
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    * _+ a% Q8 M; J  D
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should7 }  F2 o. M" P6 t# c0 d/ V  `* y4 ]
  1901. ; not specify a value for this directive as PHP will attempt to use the
    * I& ?: ?' J% p1 d
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    : p- G4 I6 ^8 M) y8 Q
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 t& ~* Z  N* m& P( l. u
  1904. ; option.
    + R3 Z5 \" o' s3 \$ b
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    $ M8 P: J3 U2 B' n& C. x

  1906. ) m' M0 H' X# L9 B' N
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 p, y7 j( f5 g  F  N3 p7 ?- k1 t
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ! k5 Y+ m' k8 ^6 Q" d
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ( W9 \, E# `( O' _; B
  1910. ; Most users should not specify a value for this directive as PHP will* D" S5 ?# R4 @/ K* F
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,' I2 ^3 ]3 u( ]5 m7 z
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    / p' D7 g( E! ], i
  1913. ; SSL stream context option.( l" Q0 K& U$ l' c
  1914. ;openssl.capath=
    - y4 Q* G+ [% k2 b9 w: n0 t6 d

  1915. & n' B' m, W1 u4 \+ i) W3 I: R7 @
  1916. ; Local Variables:: E% ]) |2 X' |. b! H  L
  1917. ; tab-width: 4
    / ?+ x/ u# S1 H/ u
  1918. ; End:
    ' T, Y0 a5 y+ ~
  1919. 7 a/ K* |1 E9 C
  1920. ;eaccelerator- Y! X& P9 d6 d" @2 P

  1921. + l, R4 {, k+ z+ l+ F
  1922. ;ionCube
    4 F5 L) _$ w; o. d" I

  1923. 9 C0 B$ D5 V7 J6 g6 `3 r2 j
  1924. ;opcache
    / S0 T5 ~' G1 W

  1925. . j. e/ D( F' Q
  1926. [Zend ZendGuard Loader]& a7 S8 T' I/ g; G$ u; _
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ! X! g3 o5 o( a  b
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so# L& R2 n) d$ A& P& h) ?6 U! }% B
  1929. ;zend_loader.enable=1
    ) J( o$ S. f% [( V& J! q  I) ]
  1930. ;zend_loader.disable_licensing=0- G: J0 j2 T9 v
  1931. ;zend_loader.obfuscation_level_support=33 p3 a; \/ O3 L4 e$ {$ S
  1932. ;zend_loader.license_path=2 {- K5 A; L9 B" H, K' h" Q

  1933. & H$ t: E+ j) s# q# w
  1934. ;xcache
    3 S; Z0 k7 W3 S
  1935. " n0 C5 k0 o+ `4 @( u8 O
复制代码
/ |3 F4 d# q0 ]. \; t  }
  t. h5 t+ e; e9 p; d: j
4 M8 Q" |  B/ v; ~3 h

4 C3 s) I! U: K3 W3 T
( ]+ ]( C7 s3 G/ @( [$ y
. |0 N9 D# g2 {' w, v# {6 j$ g% X' h) L/ K: F& ]$ J1 p
PHP5.6版本原始设置) g" s+ v' Q( v: v( R! x6 e& `# M2 a
& p% V) |6 K# {8 g
  1. [PHP]
    $ x4 d6 o0 H1 ^1 J; \& H# g% I

  2. 6 c* k" N, u# w0 z
  3. ;;;;;;;;;;;;;;;;;;;
    & \$ t, M' J. Y7 v  h8 f; Q1 H5 F  n
  4. ; About php.ini   ;, K& W9 }; V5 U+ M5 f
  5. ;;;;;;;;;;;;;;;;;;;  x9 g+ A$ n* g" q+ @" t* f  v
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 X' f8 t, H; e1 s& @5 \
  7. ; configuring many of the aspects of PHP's behavior.
      d, Z  U6 I: C' v. H( T& y

  8. 8 k2 y3 {; c# v5 D3 U
  9. ; PHP attempts to find and load this configuration from a number of locations." V( C% c0 A: [/ |' Y/ o; v) ^
  10. ; The following is a summary of its search order:
    ' S. h5 ]& |: x% p0 v
  11. ; 1. SAPI module specific location.; a6 B7 M2 d' X1 S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 m1 N1 l" F1 |9 b! y) l4 S
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    , S( V$ @7 {- W# P" s" D) S
  14. ; 4. Current working directory (except CLI)
    0 e* r5 ?+ {' \
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    . A" L5 u$ O3 K9 ^: D4 y9 U
  16. ; (otherwise in Windows)2 L+ }; S; x# l2 @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the3 J% `" g4 ]; W1 o% z) C
  18. ; Windows directory (C:\windows or C:\winnt)0 P3 P6 ?( [! s8 u. }; V9 c
  19. ; See the PHP docs for more specific information.
    4 Q( h6 r6 n1 K" m1 |# _. b
  20. ; http://php.net/configuration.file
    ( s1 j5 B4 }& V+ N# F' E
  21. 1 d0 O4 H0 `3 u. {. A
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) ], S! \0 e. v, y3 J
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).) _" z1 ^, X/ k. J
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    3 c, _# j7 p  Z8 Z
  25. ; they might mean something in the future.; Y8 y7 Y. e: q. T8 \' n
  26. 1 S) @3 |. x, ~: x4 O  a8 U% N
  27. ; Directives following the section heading [PATH=/www/mysite] only/ S: A8 W2 {8 o, g) o: [; O1 f9 u
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    - F/ v: w# M3 ?. V1 ?* ?
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' V  c! V5 q" }( b' r7 c' [! }
  30. ; PHP files served from www.example.com.  Directives set in these  U  q0 q7 n1 j
  31. ; special sections cannot be overridden by user-defined INI files or/ v" O& k+ [5 `# D& i% K9 Q
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under. x3 _( T# V* k0 Q( l: p
  33. ; CGI/FastCGI.
    . ]) u$ Y8 ?) f& m) ?& e* v  M; \
  34. ; http://php.net/ini.sections& A- L5 h8 O0 p$ \. y

  35. 0 E* C! m- Q5 F0 p6 b$ p# l
  36. ; Directives are specified using the following syntax:; x, [5 o# }9 e# C( c- C; E4 g
  37. ; directive = value7 ?6 h) n" ?* _( k0 R
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 {! |+ \# Y+ _( J* `8 e& V1 ?- @
  39. ; Directives are variables used to configure PHP or PHP extensions.: q1 g( ~& L5 R, o' M( t
  40. ; There is no name validation.  If PHP can't find an expected
    2 {) ?& g  M' ?' ^- d
  41. ; directive because it is not set or is mistyped, a default value will be used.
    0 E- j: \5 W5 n% p* D8 ?. J

  42. 9 E3 ?- _+ y* |. x3 b8 M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 s! L; K' D* Q/ E# {4 @
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + l+ g3 T# _( m% G( S4 E
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a0 _- A$ a% w& l1 Y* a4 a0 g
  46. ; previously set variable or directive (e.g. ${foo})' u% m1 O% G5 b  m# D& [! z

  47.   @7 V( k, d7 v0 ?
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:9 V  _2 S* \( u. Z. x
  49. ; |  bitwise OR- V2 G1 _4 N# G! S
  50. ; ^  bitwise XOR
    . N2 \4 m" A9 |7 `8 }
  51. ; &  bitwise AND
    : F" `8 m. B  y9 ~
  52. ; ~  bitwise NOT# v; _4 `) X) b4 V' b
  53. ; !  boolean NOT7 d2 R9 W7 M# ?7 z. }  t7 r

  54. & M- Z: ^. F$ w) F" ?& g8 F' `
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    5 U/ J2 B: N/ S" @% [$ }
  56. ; They can be turned off using the values 0, Off, False or No.
    ; d9 R5 A0 i* e* z; n
  57. ; S& S, {% p/ w% h& V" p5 Z
  58. ; An empty string can be denoted by simply not writing anything after the equal( V  ?4 [" G0 \. }' K# h( H
  59. ; sign, or by using the None keyword:
    % ]! l4 ~3 I' u4 R& A$ C$ I

  60. * }& c7 A4 h, {' ]$ ], }
  61. ;  foo =         ; sets foo to an empty string" @2 P2 v6 u$ J! ^
  62. ;  foo = None    ; sets foo to an empty string
    9 ^( e; ]9 }$ I& ~0 F
  63. ;  foo = "None"  ; sets foo to the string 'None'
    7 |" C# d! C* J- ~9 X4 J9 s! A0 J
  64. 8 z) L* x1 Z# [. X
  65. ; If you use constants in your value, and these constants belong to a
    8 @4 T7 M7 R- l: {% k
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    8 O+ Z+ u5 }  G; ]9 f1 n; a
  67. ; you may only use these constants *after* the line that loads the extension.* S/ _# J  j/ F+ ]

  68. ; p: r8 Q  B, |$ e- u4 Y
  69. ;;;;;;;;;;;;;;;;;;;* ]* ^" m7 s5 w! h
  70. ; About this file ;5 D' j3 T) A* P1 ?. Y* ?
  71. ;;;;;;;;;;;;;;;;;;;1 L+ I) K% w% J9 g! L9 v! K! _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used0 f+ A$ ?7 j  l, w
  73. ; in production environments and one that is recommended to be used in! ~5 o; R6 N7 e! i3 w- @, l
  74. ; development environments.* T# o" Q( N  l/ u
  75. 1 L/ ^5 r' ]7 T* J, p4 |
  76. ; php.ini-production contains settings which hold security, performance and
    ; L& F; n1 }! w- B7 @
  77. ; best practices at its core. But please be aware, these settings may break
    2 \, W7 h: O6 v5 }" A7 e$ k, k
  78. ; compatibility with older or less security conscience applications. We% }, R( k6 g" m( }
  79. ; recommending using the production ini in production and testing environments.
    ! H: P( J( b" s5 \' U

  80. 8 }+ I- o2 L6 `
  81. ; php.ini-development is very similar to its production variant, except it is* P( w* R/ U3 I  A* ?0 r
  82. ; much more verbose when it comes to errors. We recommend using the/ R7 [6 P5 f  \3 l) W: [7 j
  83. ; development version only in development environments, as errors shown to% f3 V) F4 {) ~3 k' Q
  84. ; application users can inadvertently leak otherwise secure information.0 j( s/ G" h% \1 K

  85. , w6 Q1 v+ D! w  S3 j  L, u7 u6 Q
  86. ; This is php.ini-production INI file." e/ w: `, X* q! s8 ~. a4 U' F2 ]# D
  87. , m" |' n3 ^' i  S7 m4 z0 ]
  88. ;;;;;;;;;;;;;;;;;;;
    0 X4 g7 {( a8 `+ ?5 I) X
  89. ; Quick Reference ;) R; V# M; H, k$ B8 X
  90. ;;;;;;;;;;;;;;;;;;;, r, `) `* f9 ~, V9 U/ _
  91. ; The following are all the settings which are different in either the production
    7 H$ j, I" e! [2 X6 q# t8 V) b
  92. ; or development versions of the INIs with respect to PHP's default behavior.: F( k5 T2 ?1 u, j! ?: @: B/ V# k
  93. ; Please see the actual settings later in the document for more details as to why+ _' ]8 s2 y+ L* V& S+ c
  94. ; we recommend these changes in PHP's behavior.. [  Z5 G3 d; K( H
  95. ( o7 V5 J3 U. o% D$ l, K! m, P; h
  96. ; display_errors3 k6 N+ Y( C! M  K; K$ Y
  97. ;   Default Value: On. W1 o" d: D5 f1 W) C/ {
  98. ;   Development Value: On+ R8 d$ Y& e( e
  99. ;   Production Value: Off4 n0 k# f2 D  p+ v2 T
  100. . o  Q4 X, h! f. R6 n  v
  101. ; display_startup_errors
    ' H9 m9 b# h* b, v# [5 D# e
  102. ;   Default Value: Off
    9 _. G5 p4 S' w" W; M. u( ?
  103. ;   Development Value: On8 _& `% S' I, [* @# y
  104. ;   Production Value: Off. {! P; I  W, g: j4 ~7 ]
  105. 7 A# g- m2 M( L$ k4 o
  106. ; error_reporting% w5 u( P3 O+ @! [+ a  r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 O, L9 b! f  t4 m6 u
  108. ;   Development Value: E_ALL5 Y  b4 g- Y5 i8 L" \6 D( s
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' M" ]/ J. t3 C4 t
  110. , P3 {9 O$ e6 t7 @0 n. _
  111. ; html_errors
    ! p& l& s9 H1 [$ m. R6 h3 ]) w* Y" R# t
  112. ;   Default Value: On1 B. j, \" ^7 P' ]- U
  113. ;   Development Value: On& P1 G% B/ C- \5 b* h& T
  114. ;   Production value: On
    0 [$ h' \# p. k/ Z/ e$ B# `9 R
  115. . T1 Y2 ?' [- _3 P" c: c! y* K. H
  116. ; log_errors% w# S3 j0 ~* L
  117. ;   Default Value: Off
    - @- F4 t" j3 `
  118. ;   Development Value: On
    $ _* j$ G1 \; b1 M/ d
  119. ;   Production Value: On5 j& c( p0 f% B0 _& ^( z4 w. V
  120. . F. y* V! X+ S
  121. ; max_input_time+ j0 y5 C% c, F2 M1 i9 ~' Q1 P& K
  122. ;   Default Value: -1 (Unlimited)7 h* _. ]6 F" P' q) z
  123. ;   Development Value: 60 (60 seconds)- {8 ]& r; x6 L- P/ u# _
  124. ;   Production Value: 60 (60 seconds)
    1 E' h. Q* A& V8 \5 O

  125. 5 ^+ ~! ], t. k. j; f/ @9 D; `' B
  126. ; output_buffering- r8 X6 ~$ Y9 d0 ]# y. Z
  127. ;   Default Value: Off5 ~1 v6 f. Q' u; j7 K
  128. ;   Development Value: 4096
      G$ l* v% N8 w+ y+ Z/ N2 x
  129. ;   Production Value: 4096! M0 G4 M3 X% e# U5 h) v. v

  130. " f1 b  U* P- ^$ L- d) f& s1 }% F
  131. ; register_argc_argv9 L3 n$ j* n$ H2 Z' l$ f# z# L
  132. ;   Default Value: On+ `0 o# V9 O* @/ I7 n% s  L
  133. ;   Development Value: Off
    2 D0 }) k6 [& ]
  134. ;   Production Value: Off
    - V/ B- C' {, h) K- z
  135. - p4 L: K4 G; H8 z; z9 f8 I
  136. ; request_order
    & d* E9 g' p) l, `4 W; f) z
  137. ;   Default Value: None- I  K& V3 h* j( b! v+ T! u+ k
  138. ;   Development Value: "GP"  A3 |$ h' G' P2 z9 \
  139. ;   Production Value: "GP"' ]/ c& u' G$ s7 E, ~( A# `

  140. ) r6 c' Z6 n8 P
  141. ; session.gc_divisor
    ) o4 N' C- p: a0 p
  142. ;   Default Value: 100
    # `, B% e! N1 i. f; f, f, b1 N
  143. ;   Development Value: 1000
    8 J  s# ?! u5 T3 K" q' n
  144. ;   Production Value: 1000+ r7 M5 A" s4 g! K# |; u

  145. ! E  Y4 j" h8 t/ E
  146. ; session.hash_bits_per_character3 z3 @  ^% t: D$ R* f8 D
  147. ;   Default Value: 4* o6 ]% i: N2 q$ _$ a
  148. ;   Development Value: 5. L! W! c+ k; ~4 i6 q
  149. ;   Production Value: 5
    7 N. C+ z% i" R+ a5 w3 v0 P  Y
  150. # E& I2 e* R+ ]) X0 h! Y
  151. ; short_open_tag
    * {* \/ h( k; ]4 V5 X2 V) v2 t% x
  152. ;   Default Value: On
    - L. F) F, B, _% u; q7 y0 R/ c' ^
  153. ;   Development Value: Off# r/ O( r5 \: @; f' ~
  154. ;   Production Value: Off/ Y+ M* b0 O% Z

  155. 2 z( Y. o! h+ l5 h$ `
  156. ; track_errors
    . `( C1 I# {/ ~$ s% K! `& r
  157. ;   Default Value: Off
    6 t' s. r: {9 P. w; g8 J) ^
  158. ;   Development Value: On
    . }3 S% o: v' O7 K+ t+ M' f# X7 C
  159. ;   Production Value: Off
    : ^0 M, ]) U6 W8 r

  160. + `. V8 U+ v8 {6 f; U6 ~+ O, m. k) ^$ g
  161. ; url_rewriter.tags
    , U/ |# V* b+ A+ Q4 x
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    8 j+ W. l# e( e. [; j
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; i. ?( X/ y" _* b. J+ N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' U5 L% W+ {: s4 \
  165. . o) k4 _5 a0 v6 u9 j
  166. ; variables_order
    , o! o  k2 ]& t1 t7 n0 x% A7 V
  167. ;   Default Value: "EGPCS"
    " W! C% A4 g4 L9 N) b' D7 P
  168. ;   Development Value: "GPCS"4 ]0 b' k2 N' n5 E3 M- i$ c# t
  169. ;   Production Value: "GPCS"
    5 I9 R: u8 X  k/ l! j; Z# d4 e
  170. , `/ U9 R' Z& k7 N' ~
  171. ;;;;;;;;;;;;;;;;;;;;
    - @0 ^7 C* a% V" D8 g; P. J
  172. ; php.ini Options  ;' V) u% J. t& ~" A! \: T/ A' A
  173. ;;;;;;;;;;;;;;;;;;;;% }1 }" C3 O( ~1 D+ t' t5 p8 Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , \: C5 `4 k3 C4 u* S% d6 }9 s+ V/ `
  175. ;user_ini.filename = ".user.ini") R4 u" C3 [4 e3 x$ e8 ^+ h2 J8 B
  176. / ^2 o8 q+ U; D, p/ z
  177. ; To disable this feature set this option to empty value
    $ K! v: S5 V" _8 x  S3 C
  178. ;user_ini.filename =2 O( b2 ?" _2 M1 S3 F# Y

  179. ; h2 A" b1 I: i* \0 Y  @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 P! Q( X6 c1 n( I+ Y( J+ e
  181. ;user_ini.cache_ttl = 300/ h3 O: J* G6 k  V+ u

  182. & N& o# W0 `0 ^: @4 o! s+ l2 i6 B
  183. ;;;;;;;;;;;;;;;;;;;;
    3 X" w8 {3 d1 Z0 M& @
  184. ; Language Options ;
    . {) m# j$ n# Y
  185. ;;;;;;;;;;;;;;;;;;;;
    ) P  b7 Y7 D  S4 u+ B
  186. 6 G) i+ v, @8 @1 u) S
  187. ; Enable the PHP scripting language engine under Apache.' X+ A# ?8 A4 ?
  188. ; http://php.net/engine
    / s) H3 g' c, w0 \
  189. engine = On
    7 t/ W& l4 S5 b

  190. * L2 l6 h/ h/ Q6 v
  191. ; This directive determines whether or not PHP will recognize code between
    * J& C" [" ]) d1 d
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * Y4 y3 G& z5 y4 {  b9 W4 r& F, u# o
  193. ; generally recommended that <?php and ?> should be used and that this feature3 d9 E0 G8 Z1 D) H% H! Z2 {: E6 g
  194. ; should be disabled, as enabling it may result in issues when generating XML" Y1 Q; V* t. A
  195. ; documents, however this remains supported for backward compatibility reasons.9 O. p% n$ w' R
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    9 q! y' f6 T3 s" J/ \% X
  197. ; used regardless of this directive.
    6 p) x5 O' Q+ n" c* ]' Z
  198. ; Default Value: On8 T; G! t7 w( @0 F" A: n
  199. ; Development Value: Off% h9 W1 g2 j& F% X( g( E, f+ ~# Z( c
  200. ; Production Value: Off( Z9 B2 l9 n5 g1 m$ W
  201. ; http://php.net/short-open-tag
    1 }9 s7 k4 f9 J3 W7 d1 k3 E
  202. short_open_tag = On
    ' ]  F5 G+ m8 n& v6 h: R
  203. - U# M1 H0 ?+ M  ~" R7 s6 x
  204. ; Allow ASP-style <% %> tags.; z6 c, r& X( o1 u' y  F
  205. ; http://php.net/asp-tags
    9 J& D% S& M8 y& T( G: c. Z
  206. asp_tags = Off
    7 d! W1 S; k7 m; Q
  207. 3 m3 k  M9 ]: F7 Y& l
  208. ; The number of significant digits displayed in floating point numbers.
    3 Z4 H- _1 t/ {* b
  209. ; http://php.net/precision
    . x0 e  S/ V5 [' ~) C9 L* G
  210. precision = 14' j5 a6 {& A7 D" e, W
  211. 5 O/ B& `5 i$ l7 A
  212. ; Output buffering is a mechanism for controlling how much output data
    5 M: W0 [0 V! E5 @: o4 N
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that1 O+ _5 I5 O9 L" [6 n! m
  214. ; data to the client. If your application's output exceeds this setting, PHP
    $ X" c) V3 Z$ X& e# t
  215. ; will send that data in chunks of roughly the size you specify.4 C% U9 _" h" w3 l
  216. ; Turning on this setting and managing its maximum buffer size can yield some3 b; M" b$ k9 K% O! X+ i. r! T
  217. ; interesting side-effects depending on your application and web server.8 |; s$ `: G1 i" }& k' d$ C
  218. ; You may be able to send headers and cookies after you've already sent output
    ( _! x0 s3 j- Y( n8 e" u
  219. ; through print or echo. You also may see performance benefits if your server is# s' E6 t6 A% p, m, X6 g
  220. ; emitting less packets due to buffered output versus PHP streaming the output( |& |8 b% M. E$ T) k% F/ G. H
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    0 H: {( D* Z+ q
  222. ; reasons.' k* K8 u' W! T' ^% K$ p8 J/ h
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ! x/ Q4 M$ A$ k! [
  224. ;   functions.
    & Q5 w+ @) O! c+ y
  225. ; Possible Values:
    + [. W5 O+ I; X) j' d$ Q: V5 R
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    9 q8 `% }4 s: ?& y* Y+ I: ^
  227. ;   Off = Disabled
    1 }$ d+ l* P. x' \- [
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' s' J5 w, i+ A$ S
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI' }, i+ L( @8 F
  230. ; Default Value: Off) h% D: d" E2 U' `' s+ |- E! E7 S% F5 X
  231. ; Development Value: 40960 x! n3 D# D. H) E
  232. ; Production Value: 4096
    . c8 t0 v- u& |- ^/ y
  233. ; http://php.net/output-buffering1 N/ ^" H9 x2 N  Y9 w2 ~( O
  234. output_buffering = 4096, }9 Z# f8 S! n( I, h: @( @; ^  x9 r4 F
  235. $ o. u- B" l) n- Z; K
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' J& K7 e+ P" o- I* U
  237. ; example, if you set output_handler to "mb_output_handler", character0 T& @, ?3 i+ E( |4 J4 x4 p, P
  238. ; encoding will be transparently converted to the specified encoding.
    " \/ M6 W$ W2 ]# @
  239. ; Setting any output handler automatically turns on output buffering.$ f: B& U( d( o# i0 |9 w
  240. ; Note: People who wrote portable scripts should not depend on this ini
      W% v0 x, X# {+ g; p4 H4 T
  241. ;   directive. Instead, explicitly set the output handler using ob_start().* H( j# S0 K0 V
  242. ;   Using this ini directive may cause problems unless you know what script
    9 Q' U: N6 Y( W6 s* i
  243. ;   is doing.8 e- V6 f- L/ a. R) n: W6 L
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"2 t, {  i4 x5 V1 g% [2 |
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".2 D1 w# w  b+ w" }  D5 z3 I
  246. ; Note: output_handler must be empty if this is set 'On' !!!!' |0 d% o% U6 l! c4 Z- ?) L
  247. ;   Instead you must use zlib.output_handler.1 x" r1 k" m1 R7 J
  248. ; http://php.net/output-handler
    3 D1 c' C6 Q) ^* \0 O
  249. ;output_handler =7 d/ n! D2 j" Z! l! j
  250. * m; q: B/ B/ a+ b
  251. ; Transparent output compression using the zlib library
    0 c0 x! L  I  s( z
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size' e' K! z% v. a
  253. ; to be used for compression (default is 4KB)' F! ~( h1 j: l7 I7 q
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP# W" M# [1 a% c$ b  P
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    * {: T+ @4 p! I9 D
  256. ;   compression. If you prefer a larger chunk size for better% h0 ~1 G" E0 y8 C
  257. ;   performance, enable output_buffering in addition.( m5 S% |+ r% \
  258. ; Note: You need to use zlib.output_handler instead of the standard
    / z. b- {8 a% E* V5 H/ o$ t& d
  259. ;   output_handler, or otherwise the output will be corrupted., ~# ^. T: z! T9 ~! y4 x) C. Z1 K, U
  260. ; http://php.net/zlib.output-compression
    ( J# C7 ~# A) d% ?0 r) @1 s/ Y. {+ ]
  261. zlib.output_compression = Off; U2 u, P# s& `2 e+ X/ q  O
  262. / d0 t$ _; L' E5 Q
  263. ; http://php.net/zlib.output-compression-level5 x' v" W  ^* J3 [6 s
  264. ;zlib.output_compression_level = -1
    ! H, c" _' @' P( b* F' w
  265. ' o+ O4 O0 R* T1 V/ J5 t
  266. ; You cannot specify additional output handlers if zlib.output_compression
    - I; ~1 x2 E/ H  v! s* u
  267. ; is activated here. This setting does the same as output_handler but in4 O2 L  ~' w! E9 f) T3 u6 _
  268. ; a different order.
    ; g/ I6 z- l" k- o
  269. ; http://php.net/zlib.output-handler3 q) Z, {* O6 x
  270. ;zlib.output_handler =
    7 ^* U: ^5 C0 s- e% Z

  271. 2 G. H# z! W4 S$ T6 I+ A
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    & B- }; y# l+ y8 p4 L1 X% o+ \
  273. ; automatically after every output block.  This is equivalent to calling the
    1 z7 ]' d" E% Q; ~4 f& B
  274. ; PHP function flush() after each and every call to print() or echo() and each/ @: l9 s. a/ I9 P8 g6 Y1 Y
  275. ; and every HTML block.  Turning this option on has serious performance
    : u, ?/ C5 Q% o7 l, |4 R/ {0 c
  276. ; implications and is generally recommended for debugging purposes only.
    . e' |2 }$ J3 r# O& X; q- e
  277. ; http://php.net/implicit-flush
    3 o; S' _' G" v0 V2 Y  m
  278. ; Note: This directive is hardcoded to On for the CLI SAPI" e9 o1 t2 Z6 a9 N1 [$ \" |: h& I
  279. implicit_flush = Off8 r  s% m8 z# ~5 R

  280. ! B% d  e9 u; d
  281. ; The unserialize callback function will be called (with the undefined class'
    3 J! `8 U0 a$ K4 \  ~
  282. ; name as parameter), if the unserializer finds an undefined class
    # L/ j1 h% _5 @  M
  283. ; which should be instantiated. A warning appears if the specified function is
    : @! x5 Z3 V; s* Y6 G7 n) d
  284. ; not defined, or if the function doesn't include/implement the missing class." q3 Q$ m1 }; Y+ f+ Y
  285. ; So only set this entry, if you really want to implement such a
    # v: y% ^3 O4 e4 Y6 u( J/ Z9 d
  286. ; callback-function.0 Y/ d0 q' ?2 I7 [& p/ n
  287. unserialize_callback_func =
    , y9 o! S8 w0 j3 ^
  288. ) p3 X! U2 ^2 Q9 R" l* Z6 a
  289. ; When floats & doubles are serialized store serialize_precision significant1 X7 g1 J9 r/ Y# h) h9 ]4 h
  290. ; digits after the floating point. The default value ensures that when floats
    : @( w2 }1 W5 i( h6 A% S
  291. ; are decoded with unserialize, the data will remain the same.
    3 p0 S; u$ |; |
  292. serialize_precision = 17
    - G$ H& T! J! T5 p$ j: j* A
  293. " B3 ?/ j, D% g5 c0 n: \" v
  294. ; open_basedir, if set, limits all file operations to the defined directory4 k7 U: G6 b( [) s! V5 J
  295. ; and below.  This directive makes most sense if used in a per-directory' }8 \% }. J+ ~5 B. y. L3 H, ~
  296. ; or per-virtualhost web server configuration file.
    ; ^. V  t! M! n* ^& C
  297. ; http://php.net/open-basedir( @  s9 Z  C8 q- [( L% H
  298. ;open_basedir =, i- l9 Y+ @8 ?3 Z5 z
  299. 1 h4 ^5 A# K( q# \' f( s; e
  300. ; This directive allows you to disable certain functions for security reasons.
    & D; C, e- K) l2 d' {
  301. ; It receives a comma-delimited list of function names.
    # W* v+ {2 t5 k6 n7 k' ?
  302. ; http://php.net/disable-functions
    4 i" G' a/ C, U1 v5 X
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) Z+ S% v' _: ^& ^$ F% K9 M, i
  304. 9 b9 W3 f: I! E2 K8 J" O' ?
  305. ; This directive allows you to disable certain classes for security reasons.4 i+ Y( y1 }& Y% i
  306. ; It receives a comma-delimited list of class names.) b+ c4 v. H# d2 g+ ^" @! d8 f5 w* i
  307. ; http://php.net/disable-classes) A9 |! I4 F2 r& |: u" j
  308. disable_classes =
    ( @% k$ P/ {9 V2 O8 [% U* b
  309. ; M( G* y) K) y
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    . H# l1 _$ s# d; o4 N; F: K
  311. ; <span style="color: ???????"> would work.
    ' I0 W4 k7 ]% w# k4 d0 G& p
  312. ; http://php.net/syntax-highlighting
    # m7 h, t* l$ h3 X7 @0 Z
  313. ;highlight.string  = #DD0000
    % X/ ?- `7 u) j1 w
  314. ;highlight.comment = #FF9900
    # P5 S3 n0 ]/ P" L0 A) t! f" g
  315. ;highlight.keyword = #007700. Y) v2 b; ^, A1 O  K! k
  316. ;highlight.default = #0000BB
    ! g8 X5 V% c5 W2 }, {/ M) X- @
  317. ;highlight.html    = #000000
    3 c2 {# M' B5 {; E
  318. # F' }: r) h# C" V
  319. ; If enabled, the request will be allowed to complete even if the user aborts5 S- l  s! b/ a  n
  320. ; the request. Consider enabling it if executing long requests, which may end up
    # V6 j: o. O5 R1 s
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 n: E2 P. g) g8 r
  322. ; is to disable this feature./ c: i* X& U6 W: C& G5 l! d
  323. ; http://php.net/ignore-user-abort& u, G2 @9 M  M' P5 P5 L3 i
  324. ;ignore_user_abort = On1 s6 ?0 R; M2 v6 X+ t

  325. : w0 g9 B! J, G+ K: ?) R* u& [
  326. ; Determines the size of the realpath cache to be used by PHP. This value should) L7 N- Y& h+ k1 B7 o2 C2 \
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    8 P' S. R' ]9 f# T1 N" Z
  328. ; the file operations performed.
    : ?$ a' f6 z. `3 R  D( o0 Z
  329. ; http://php.net/realpath-cache-size
    ' r0 I( v0 N8 s
  330. ;realpath_cache_size = 16k
    * A$ |/ b( T. x+ a/ T2 G' d# o

  331. 8 s5 `7 C  F+ E4 j
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    $ k7 l+ A  s( [' d1 e
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    7 e8 A6 ^4 O7 c( F% A; }8 U' y
  334. ; value.
    0 M. f! ^  f6 L1 R% q2 t* V
  335. ; http://php.net/realpath-cache-ttl8 w  a  w/ m. d% O) s$ e
  336. ;realpath_cache_ttl = 120
    7 s* ^+ E, \" q9 y# F

  337. 8 `5 H8 i2 ?) H, O- \" M
  338. ; Enables or disables the circular reference collector.
    , C# Y# F/ ]. l4 S* a% ~) V
  339. ; http://php.net/zend.enable-gc7 z- F' \6 a. _3 g( D
  340. zend.enable_gc = On6 y( e( U; y; v# D/ V9 ?: P0 Z
  341. ( H  v" `$ W9 d6 }( b; N
  342. ; If enabled, scripts may be written in encodings that are incompatible with8 Y; P+ v/ v7 l' a+ v( g& l
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& N& p5 k2 ?$ t- _  x
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    . v, x" P. }- i$ h7 c1 J3 i4 R  A
  345. ; Default: Off
    * [5 _% \- @* V# _' d8 r3 u( N
  346. ;zend.multibyte = Off9 u6 U8 z+ N$ y! e& r

  347. , t, E: a; x+ M8 G! i* G1 K
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    7 v0 ?; D% c) X, w
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 r' S4 @0 W) V# A$ |8 z& L
  350. ; Only affects if zend.multibyte is set.
    1 ~8 r- R8 u# S& Y' m% m
  351. ; Default: ""
    9 C4 o( D4 M# V" I% ^1 k9 D1 O
  352. ;zend.script_encoding =( u, S* T% D9 G" ?
  353. 7 J: g* E3 h$ s! ?+ z6 Q: _: `
  354. ;;;;;;;;;;;;;;;;;
    : d) C0 p/ }+ a9 C: m' K
  355. ; Miscellaneous ;
    9 q, D  {8 C/ [
  356. ;;;;;;;;;;;;;;;;;
    ' n! g$ `" l, ?- c, q. r
  357. " G; U' h; W0 o$ Z$ ^
  358. ; Decides whether PHP may expose the fact that it is installed on the server' w% }: j+ |5 a2 K5 ~9 e+ h
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 O/ X" i2 D# H5 p1 b* Y& g  D  q8 N
  360. ; threat in any way, but it makes it possible to determine whether you use PHP  k8 v) d' ^$ Z1 ?: n3 }
  361. ; on your server or not.
    6 `& X( Z" P4 M0 p, \
  362. ; http://php.net/expose-php( h# [$ V* o! u+ O% T
  363. expose_php = On+ d* T. \5 g7 c: ~
  364. ( N" Y! ]5 e) @( Q6 ^+ H5 j
  365. ;;;;;;;;;;;;;;;;;;;
    5 k- q3 o% ]- J9 f8 w7 X# H
  366. ; Resource Limits ;2 _7 Z5 `$ R4 g9 U1 u2 _. [
  367. ;;;;;;;;;;;;;;;;;;;
    9 {8 x9 p4 J7 J  e! R1 s: L

  368. * r/ E( Y! t1 r' e/ T1 j1 A
  369. ; Maximum execution time of each script, in seconds
    - ]2 C6 f% |% P( h9 a8 P/ t
  370. ; http://php.net/max-execution-time& l3 A0 ?) b( e+ i4 v' `5 ^5 _; `+ t
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 h( G+ ?$ k$ Y. v- s$ w
  372. max_execution_time = 300+ V' x2 n( K6 q' b" ~

  373. 6 ~2 G4 ^0 }/ ~% ^2 d% l4 L( k
  374. ; Maximum amount of time each script may spend parsing request data. It's a good* n- G; m/ U7 J8 t! [
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    0 y+ [" i- m+ y) z9 R
  376. ; long running scripts.9 f* x/ \/ d& H; {
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    1 y( z& H4 i, q( {/ h3 u7 z1 |
  378. ; Default Value: -1 (Unlimited)
    : L# D5 m/ s- a* z' y0 z
  379. ; Development Value: 60 (60 seconds)
    8 X5 A  {4 `3 S
  380. ; Production Value: 60 (60 seconds)
    7 o" t# D& k8 Q/ Z+ t5 s
  381. ; http://php.net/max-input-time* f1 t4 j2 e) u: k# T
  382. max_input_time = 60( z; i" s  [# W0 s7 m9 s$ U
  383. , w4 L8 L$ Z* t/ k
  384. ; Maximum input variable nesting level& G$ Q& ^% Z, F
  385. ; http://php.net/max-input-nesting-level4 p6 `& Z+ \* f/ L4 y6 y  H
  386. ;max_input_nesting_level = 64
    4 p$ r! w1 t# {: c
  387. ( G8 O" s: \- a$ J! b" |$ T2 D
  388. ; How many GET/POST/COOKIE input variables may be accepted! u6 D) J' F* |) `" P4 o( x* H
  389. ; max_input_vars = 1000% h8 @3 h) b/ V0 E

  390. / g. N3 K5 |- \+ n  Y
  391. ; Maximum amount of memory a script may consume (128MB)
    ! t0 s8 L+ f( P# X9 ~' U
  392. ; http://php.net/memory-limit8 T6 n5 u7 j4 u
  393. memory_limit = 128M
    ! F0 L+ T9 ]4 q4 G0 i- |! S
  394. ( m$ O1 `, v1 L3 |' _' N! U, H
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 ], }7 s( [( Z$ L2 L! [" r
  396. ; Error handling and logging ;
      Z! i) i7 ^# i* N7 }5 v
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 A( @4 ]9 A  N1 t" F4 F
  398. ' g" M* t3 M% T7 x
  399. ; This directive informs PHP of which errors, warnings and notices you would like" j0 k: u, W0 w
  400. ; it to take action for. The recommended way of setting values for this: i% h% A# R# @5 y& Z% h( I& M4 ~
  401. ; directive is through the use of the error level constants and bitwise
    + U8 d& J8 V* U: c
  402. ; operators. The error level constants are below here for convenience as well as0 h# P8 `3 V' s
  403. ; some common settings and their meanings.  |  U/ A1 _( w" b0 x9 f# i4 Q1 {1 z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT7 {3 I. p/ d- }9 L5 C. R7 [- Y* ?8 y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and0 |7 j7 s# j' @4 o
  406. ; recommended coding standards in PHP. For performance reasons, this is the* [% s; P" Z6 z) ?: R: _& e7 m( ^+ L
  407. ; recommend error reporting setting. Your production server shouldn't be wasting  d8 Y5 `! }. `, R# V# k
  408. ; resources complaining about best practices and coding standards. That's what
    " i% S" a* G( S; Z' S0 |' }
  409. ; development servers and development settings are for.
    2 [2 ^* l8 i3 F
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    1 E  X# G) G& z; l# O: T
  411. ; means it pretty much reports everything which is exactly what you want during
    . G5 e+ K5 O; }: z5 x
  412. ; development and early testing./ |- m8 J9 n( P3 Q
  413. ;7 C7 {; E9 E$ a
  414. ; Error Level Constants:4 E' _( y, a" Y) t/ \7 H
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)0 L8 C  G8 d  v* e$ L
  416. ; E_ERROR           - fatal run-time errors
    : m. O0 P& S# y% u* e
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors* z5 |& G. k1 ?+ @( a9 j
  418. ; E_WARNING         - run-time warnings (non-fatal errors)4 {  y$ P* b' l. d, U. J6 y
  419. ; E_PARSE           - compile-time parse errors& b% X0 `6 W2 J. C5 s' x# K! S
  420. ; E_NOTICE          - run-time notices (these are warnings which often result. N1 p4 ?' Y6 e7 b5 h! ^3 k1 T% Q
  421. ;                     from a bug in your code, but it's possible that it was
    + F# e6 r5 ^) w: k6 K* l
  422. ;                     intentional (e.g., using an uninitialized variable and* [% c& R! v) L8 w
  423. ;                     relying on the fact it is automatically initialized to an+ _; v5 k9 _0 Y" |" h5 X
  424. ;                     empty string)! B. A- t7 H& k; ^6 `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    / Q+ s" B( S/ c+ x2 i) n9 K, z7 n8 A
  426. ;                     to your code which will ensure the best interoperability
    + F& K9 ?/ q+ ?3 F
  427. ;                     and forward compatibility of your code
    & Q2 R) u9 f9 h
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup3 A0 ?* o/ W1 R- Z
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's  q, P+ U+ ^* ?2 D
  430. ;                     initial startup0 @  J$ @/ r3 s& \( |0 B' |
  431. ; E_COMPILE_ERROR   - fatal compile-time errors% _+ w, {6 G1 x( M
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    8 o5 S# z% {+ `  Q
  433. ; E_USER_ERROR      - user-generated error message
    . T8 W2 Z8 E2 i: G, e3 g
  434. ; E_USER_WARNING    - user-generated warning message
    # {: |0 B% z- a% a. E8 o
  435. ; E_USER_NOTICE     - user-generated notice message
    8 S6 Q; M; r* }; K# X2 o: M
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    - c6 J" G) `6 \% v
  437. ;                     of PHP
    : r: I+ \  [4 f; }' `7 P3 T7 v( p2 ~; x5 h
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings. ], J7 P9 \& Z9 y# H
  439. ;
    , }3 Z8 _1 [7 j4 _' d; Y! C1 B
  440. ; Common Values:) C. F+ t1 c- i5 S$ P
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " ^* U2 [" t9 M0 w$ ~# `
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices), s1 F. j1 r' \0 J$ ?( Q7 w
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    , _: k- x/ Y; L) x
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)+ u7 [8 Q) S( a: f$ S9 A3 k! v1 p
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 y# b; G' e/ y1 D, t9 I- j6 k
  446. ; Development Value: E_ALL
    + F/ U/ ~( d" [4 R# c: V
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT+ g9 f5 m; X0 v
  448. ; http://php.net/error-reporting$ n$ U; n2 t" l4 K, e: h
  449. error_reporting = E_ALL & ~E_NOTICE$ V7 k" o( D* K3 @- p$ U3 T

  450. $ s" z: ?- c, z- P& u$ t) d
  451. ; This directive controls whether or not and where PHP will output errors,
    . T6 r0 w/ w# a3 q
  452. ; notices and warnings too. Error output is very useful during development, but. Z. n5 G  S/ w/ ?/ N' e( a) |
  453. ; it could be very dangerous in production environments. Depending on the code
    / e& H# Z7 P; ?% H
  454. ; which is triggering the error, sensitive information could potentially leak! v( }; X3 T, G* a3 P/ |
  455. ; out of your application such as database usernames and passwords or worse.+ N; U5 b4 v6 K$ T) ?
  456. ; For production environments, we recommend logging errors rather than3 C5 ?3 y1 |5 U% V  u. S; m
  457. ; sending them to STDOUT.9 @+ Z: n! m& Z: t3 F
  458. ; Possible Values:/ k: [' E+ `3 A+ C/ q& |
  459. ;   Off = Do not display any errors
    4 Y# `4 S, _- R7 {
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 a: [( q" o8 F/ f
  461. ;   On or stdout = Display errors to STDOUT: `! t" j. G' U1 X) T- P) o/ e
  462. ; Default Value: On
    7 J+ q' h& j3 z  p
  463. ; Development Value: On
    1 O4 q; R' H! ]2 d0 [# `% N; A$ k( |& e
  464. ; Production Value: Off
    + B+ p: \% q3 [" e! I  d# S
  465. ; http://php.net/display-errors7 B' E: r) j. X/ b
  466. display_errors = On, x* b5 j! _3 M

  467. ) H: J) D4 s2 c/ r4 a" ?) z
  468. ; The display of errors which occur during PHP's startup sequence are handled# ~* G6 w; }: W! d
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    & j0 {8 \4 H! c6 V7 F: I
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    1 `1 k1 @: F* {/ i
  471. ; debugging configuration problems. We strongly recommend you, y/ @0 p& p( i( o) C; o
  472. ; set this to 'off' for production servers./ }1 N+ Q! j* ]6 n+ ?3 |
  473. ; Default Value: Off
      S7 w# i" O! y% y* @2 s
  474. ; Development Value: On2 }  c. N: M$ \9 V/ v$ H) l
  475. ; Production Value: Off
    ( F7 ~* d! ]$ H7 q9 ?
  476. ; http://php.net/display-startup-errors
    . v- T% O! S5 e7 y, ^: D
  477. display_startup_errors = Off6 @# G$ r& f8 k7 O! U$ ]( Y

  478. : n: O- [" N( ^( ]  p4 c$ G
  479. ; Besides displaying errors, PHP can also log errors to locations such as a# S, ?  B+ \% R8 G' F4 A
  480. ; server-specific log, STDERR, or a location specified by the error_log
    " O% I- ]/ H* I, G  n7 U. s
  481. ; directive found below. While errors should not be displayed on productions
    3 b2 ~& ?0 m9 s9 @" x2 ^
  482. ; servers they should still be monitored and logging is a great way to do that.
    3 x$ t% ?* W' Q2 U+ {3 e: A
  483. ; Default Value: Off, h6 F, A5 K" X. |$ y
  484. ; Development Value: On
    7 L  G2 V* m; z" |+ W0 B
  485. ; Production Value: On- Z. n. x1 r% Z1 w
  486. ; http://php.net/log-errors
    : I& f8 \9 ?! Q& r. b5 \
  487. log_errors = On8 ?( R/ O# A+ o' u

  488. 2 Y- }. Y; x  e& h
  489. ; Set maximum length of log_errors. In error_log information about the source is1 D5 u1 p% x1 h4 \
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 g, u; s1 }: _' a
  491. ; http://php.net/log-errors-max-len
    0 M3 i3 |( Y% S, |3 H. `7 d
  492. log_errors_max_len = 1024
    % d% C1 D6 F1 y- J! S3 h
  493. : ?  d2 D* l1 e" V- v
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    % N6 h8 Y# J% j6 {: x9 ?9 |
  495. ; line unless ignore_repeated_source is set true.
    , x$ d1 M/ R9 ?" O, }0 m+ D" Z" q
  496. ; http://php.net/ignore-repeated-errors; u6 ~- Q; ?6 p* e; T( z& _
  497. ignore_repeated_errors = Off
    & H4 `3 ~# J, x& x  C( K0 ]
  498. ) s) O) ]* y) {0 d% b1 y. ~. Q( W
  499. ; Ignore source of message when ignoring repeated messages. When this setting9 b: ]( G- y$ Z' Y; l/ {! S
  500. ; is On you will not log errors with repeated messages from different files or) z' T5 {8 r. O1 J
  501. ; source lines.
    5 S/ b1 O/ a) y2 U1 O: L
  502. ; http://php.net/ignore-repeated-source
    6 S  b* }; l) j" p: Z& y
  503. ignore_repeated_source = Off
    ' }7 R. ^* S7 y+ N7 L
  504. 6 C: D0 H2 G3 L! o. _9 l) z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on6 `: W6 T5 s% t8 d! _
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ' @( y3 F* Y( l0 L7 U! \
  507. ; error reporting includes E_WARNING in the allowed list
    3 |; }' G* ]% w7 [
  508. ; http://php.net/report-memleaks3 H  {  u7 h9 s; K1 q
  509. report_memleaks = On
    / n# a: b; T: u% F7 Z4 b

  510. , J; g+ _. s2 O  j8 S6 Q& T
  511. ; This setting is on by default.
    , Y4 @6 A" o# l, q: L3 G; h6 R
  512. ;report_zend_debug = 0
    3 Y2 V7 t, C. M8 T6 _9 c" ]# r
  513. + U3 [- \) u" f+ }8 N5 N# F
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    " J, @) N& p8 q: X
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ) {: @' }) S( r, d* Z- D
  516. ; however be disabled on production servers.
      ?$ b" i% x5 g  w1 ~5 n
  517. ; Default Value: Off
    , L/ l% ~8 ~7 C8 F$ X3 O! ^/ k( r5 G! T
  518. ; Development Value: On, x5 q+ }) \$ N3 j3 M3 t" ^
  519. ; Production Value: Off
    : a; M5 |% s: t" k1 ~3 Q# y* u
  520. ; http://php.net/track-errors
    , U$ l$ e4 n1 e: A" k2 h
  521. track_errors = Off. F2 c7 T3 i; a+ E8 k) Q
  522. / X% z9 a7 I8 E0 k1 f/ l
  523. ; Turn off normal error reporting and emit XML-RPC error XML+ D9 |$ G8 T+ ?6 d2 ^
  524. ; http://php.net/xmlrpc-errors& l& I- W! [, Q/ y
  525. ;xmlrpc_errors = 0& h5 F; r9 j8 m' n

  526. ( \& x% P  L, r  |
  527. ; An XML-RPC faultCode
      r/ g* M" k2 R7 w; k
  528. ;xmlrpc_error_number = 0: l; p8 u5 y0 [5 A9 F9 P! P$ i; H

  529. ' z/ S' U% ^" E7 U+ L
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - S& `+ G0 ^5 M3 D. B
  531. ; error message as HTML for easier reading. This directive controls whether
    ' |/ ]: z$ M( T$ j" Y4 j
  532. ; the error message is formatted as HTML or not.
    & g* [! y' U, ?- }! c$ F
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 F4 s+ P$ L. o: [. k0 v; c) y
  534. ; Default Value: On) H; d$ h$ c0 z7 Y5 y
  535. ; Development Value: On1 K' y9 D( ^* r  C* S& F# a! b
  536. ; Production value: On
    ( A- A. K) \2 c0 `/ `
  537. ; http://php.net/html-errors
    / I- i3 |; V) j: l
  538. html_errors = On
    " K9 a2 c4 t) t7 s

  539. , ^* Y( z0 X! S+ u
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ( w/ N. \4 l/ d4 H
  541. ; produces clickable error messages that direct to a page describing the error2 I( w# Y" y! C) v, a; s) E/ z; Z
  542. ; or function causing the error in detail.
    * i/ e3 J7 A; }" Y" e& G
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    2 x6 d6 U$ t* S7 o
  544. ; and change docref_root to the base URL of your local copy including the
    ! ?; _+ T8 A( Q+ Z2 x7 `, _6 N
  545. ; leading '/'. You must also specify the file extension being used including
    # O5 ~3 D- d( q
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which9 G( x3 {& h" i- {+ r4 x
  547. ; case no links to documentation are generated.$ f" ^* u- b" H1 l* y
  548. ; Note: Never use this feature for production boxes.4 O4 H1 {( u5 P: D2 S. C! j
  549. ; http://php.net/docref-root5 H/ Q: Q% m9 Q, v! O% {6 I! Y$ x
  550. ; Examples
    8 m7 I% @' |3 z+ f- L! U# x7 Q
  551. ;docref_root = "/phpmanual/"  l2 ]: o5 Z/ E  \

  552. 3 R8 q9 a* @/ f4 K. x
  553. ; http://php.net/docref-ext* I- |/ ~  r* c  k# ^
  554. ;docref_ext = .html
    $ G9 N& g7 j1 t( d0 l

  555. . P! {9 q3 }" q$ A8 q( ~: R% E$ X+ a  ~
  556. ; String to output before an error message. PHP's default behavior is to leave
    $ L/ Z5 v! w, K) L
  557. ; this setting blank.2 O2 z8 _& w# y7 J
  558. ; http://php.net/error-prepend-string
    $ {, u! t( {2 K# ?- @2 V& ]
  559. ; Example:
    $ M; L' ], a8 E. s  X/ \9 F4 [
  560. ;error_prepend_string = "<span style='color: #ff0000'>"! y) `& w3 w- x/ G4 y4 h! I: q
  561. 4 h7 q$ K2 j9 f4 y. B9 T# \1 m0 b
  562. ; String to output after an error message. PHP's default behavior is to leave1 d3 X& @* V9 V$ v* p- H9 B5 A
  563. ; this setting blank.
    + V- E! e& W( m8 U/ U" g. P
  564. ; http://php.net/error-append-string
    / F- \8 v3 |, T* y! N- @$ @
  565. ; Example:
    8 ^; e5 {- I6 a/ m$ T2 Y) F6 O
  566. ;error_append_string = "</span>"
    9 V/ x3 m5 B5 i1 `4 e6 l: T
  567. * `8 c' N% Y- Z0 {' W! B4 S
  568. ; Log errors to specified file. PHP's default behavior is to leave this value' ?; I4 p2 w. ?' \
  569. ; empty.; {) Q# c4 Y  i* q( D
  570. ; http://php.net/error-log9 ]+ F& g  N8 A+ E
  571. ; Example:
    5 s2 J5 N1 l( W/ ?6 \5 O  c7 S
  572. ;error_log = php_errors.log
    $ x1 ?% Q3 Q  I
  573. ; Log errors to syslog (Event Log on Windows)." U- {2 k( [6 O9 n/ e: I
  574. ;error_log = syslog8 F2 E- [# A: W, j4 x

  575. * l! V6 S  F. Z% y" j
  576. ;windows.show_crt_warning0 X% r' k+ d7 A( l
  577. ; Default value: 06 i0 M0 |! ]( r0 n7 \
  578. ; Development value: 0
    4 z& S( U3 n5 j2 J% e& a
  579. ; Production value: 0
    7 R. p$ [8 S' U) t8 D6 F* {. h

  580. 4 \) c" }5 T5 R0 l( i1 f3 H& n
  581. ;;;;;;;;;;;;;;;;;
    5 ~/ X6 t9 v7 l8 p8 o4 e" _
  582. ; Data Handling ;6 _8 m1 R9 y6 V
  583. ;;;;;;;;;;;;;;;;;
    8 z+ b% p+ X. I, X9 [5 X% g

  584. 3 e& g* A* J) K3 O  M9 C
  585. ; The separator used in PHP generated URLs to separate arguments.
    - D5 G  P0 a' H
  586. ; PHP's default setting is "&".
    $ C; |; }1 Y0 m7 ]4 }
  587. ; http://php.net/arg-separator.output$ s* M0 g" e& d! R
  588. ; Example:
    # n1 i  {" f9 ?. W- |
  589. ;arg_separator.output = "&amp;") C5 n$ x' u& s7 h$ x
  590. 8 m: a' q6 v* i, Z0 _, w4 M! d
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    0 O8 j6 }' i: m
  592. ; PHP's default setting is "&".
    + N8 }7 v& Y$ k# a& }& ~
  593. ; NOTE: Every character in this directive is considered as separator!
    + x6 h4 ^' e! t6 U2 m$ L$ r3 G
  594. ; http://php.net/arg-separator.input
    ' U. N* o) k8 o# {% M8 Y5 g! T
  595. ; Example:9 i% e. K( I# h6 ]6 b. B
  596. ;arg_separator.input = ";&"2 c* r5 q' Y1 R
  597. ; i$ I6 r  {6 U2 A4 h3 B
  598. ; This directive determines which super global arrays are registered when PHP' T6 C; [8 Z# x2 P6 x/ n; X: M& j
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super- Y( Y% x6 i7 B0 p- F# s4 F5 g
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( }# Z! O' f; Q5 w# w; g
  601. ; paid for the registration of these arrays and because ENV is not as commonly2 j3 g& |0 j- {4 a6 _
  602. ; used as the others, ENV is not recommended on productions servers. You% V( V" }% I) C* k: I' R4 i: d
  603. ; can still get access to the environment variables through getenv() should you0 k3 r3 n4 f9 d% N; t* u+ \, W
  604. ; need to.
    / n. ^% [7 G- x
  605. ; Default Value: "EGPCS"& ?6 t+ |; [8 e1 y& B, T% u7 q
  606. ; Development Value: "GPCS"
    3 _# |# G( e+ X# _$ T7 Z3 H
  607. ; Production Value: "GPCS";, e, `* C. i0 V9 Z
  608. ; http://php.net/variables-order
    & R& y8 t: B' T
  609. variables_order = "GPCS"
    " `9 w9 Q) s0 B& S8 {
  610. + I* n7 `& S# M
  611. ; This directive determines which super global data (G,P & C) should be
    ) ?' ^: i- h& A4 f+ ~$ J
  612. ; registered into the super global array REQUEST. If so, it also determines
    9 D- Q8 n2 o6 T( t6 B
  613. ; the order in which that data is registered. The values for this directive, |, }4 J7 n* P2 r# F# B
  614. ; are specified in the same manner as the variables_order directive,& h! \: c# b+ w+ ]* p
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set: b$ _# U5 ]! R
  616. ; in the variables_order directive. It does not mean it will leave the super
    5 |$ E6 ]- |' S& c1 f
  617. ; globals array REQUEST empty.1 \. E4 C0 i( {- Z1 @0 `
  618. ; Default Value: None
    0 \+ s% i$ ~: M& R' t
  619. ; Development Value: "GP": p, _8 N8 b6 y) N2 h6 i
  620. ; Production Value: "GP"
    0 k5 H# O, ~+ @3 ?
  621. ; http://php.net/request-order
      H# s2 _# ~( d/ c0 V
  622. request_order = "GP"7 {( S9 b& U+ n7 L

  623. $ M- h3 M2 I& K8 v3 A0 b, \
  624. ; This directive determines whether PHP registers $argv & $argc each time it# A3 t' b6 n2 J5 [9 ?( O9 d: _7 y9 {5 z
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    4 w8 s& A  u2 f2 L) ^4 _& E1 F
  626. ; is invoked. $argc contains an integer representing the number of arguments
    / K1 l* p) q  t; C
  627. ; that were passed when the script was invoked. These arrays are extremely
    7 Y% O7 E# l7 M1 T
  628. ; useful when running scripts from the command line. When this directive is$ v" K+ n# d! e( [1 h0 F4 h  y
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    & X; Y- i% S. @& J/ {: b
  630. ; a script is executed. For performance reasons, this feature should be disabled
    6 S" U, S% I/ z% s/ _* W
  631. ; on production servers./ f7 P& `# g" Q, j+ r( U% D6 l2 e
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 e7 Q# C: n& E1 T( e3 [
  633. ; Default Value: On
    ! J$ k2 y  H+ b$ |7 Y+ E' F3 \
  634. ; Development Value: Off. O+ A3 e7 w9 U' e
  635. ; Production Value: Off
    4 r, k( B0 n) Z
  636. ; http://php.net/register-argc-argv
    - ~/ l' j* P0 ~0 W; E7 F( f$ v
  637. register_argc_argv = Off
    2 s& I0 b* _) Y* r* O9 ?

  638. 5 n5 J9 h$ e5 d2 `7 e% c
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 o0 q; g# X( e8 d1 Y6 |, m
  640. ; first used (Just In Time) instead of when the script starts. If these
    - Y7 D* t0 V2 h* B' b9 r3 o
  641. ; variables are not used within a script, having this directive on will result* V/ u. i! Q. h1 T: R' Y- W6 Z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    : l2 {+ h4 H1 y5 P- m
  643. ; for this directive to have any affect.; ]. e2 f) H3 j# k. h; L. m: D
  644. ; http://php.net/auto-globals-jit
    ) L3 r8 s* x/ v3 g5 v2 C
  645. auto_globals_jit = On3 \7 d" R1 @# S5 k8 e, n& K
  646. & t1 M) {" n( j# m, s! `- v
  647. ; Whether PHP will read the POST data.
    / B. O+ ~  b/ H0 u. [
  648. ; This option is enabled by default.
    7 k: G& }7 S0 P. v9 t- _
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST* O4 n/ ], A: o2 e0 H
  650. ; and $_FILES to always be empty; the only way you will be able to read the/ w' E) j5 K' G# a2 t* W# T" Z
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    . M9 w/ B' i0 p+ @0 B' p
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - b+ A8 \" i8 N9 A4 s
  653. ; http://php.net/enable-post-data-reading
    + F; \" J. x: y9 w# _
  654. ;enable_post_data_reading = Off
    % O% t3 O2 K8 x0 E

  655.   t5 e. K+ ~2 v) o0 C# f6 n
  656. ; Maximum size of POST data that PHP will accept.2 Q% F* W4 {; o  ~- {0 T4 [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 r' c  L+ Y6 O' M1 F0 W/ r* G
  658. ; is disabled through enable_post_data_reading.
    ' ~: ~+ A8 j- R
  659. ; http://php.net/post-max-size
    % b* `* Y) Q7 t# {7 P7 y
  660. post_max_size = 50M
    + b) D8 c! p! E% s6 l
  661. - b% d7 O# f% T6 B
  662. ; Automatically add files before PHP document.% b3 F. Q6 E4 Z8 S, l& f7 w
  663. ; http://php.net/auto-prepend-file; l: \1 I. `! P3 T$ b$ ]4 u
  664. auto_prepend_file =
    6 L9 f6 x! V2 }6 g- l' J

  665.   i* v3 D! R1 p/ Z+ w6 p
  666. ; Automatically add files after PHP document.: n& H9 o# |8 _5 n  X9 p, C0 A8 F
  667. ; http://php.net/auto-append-file- T  h3 s6 K4 r. J3 o
  668. auto_append_file =
    , M$ G) n3 P) q! f
  669. 5 G* q& I% D0 z9 H
  670. ; By default, PHP will output a media type using the Content-Type header. To: @" u$ z4 s9 {' K2 b% N, s" V, ]
  671. ; disable this, simply set it to be empty.' w: _; f. S1 G: e
  672. ;
    9 j# t: N' R) L9 i2 W2 N) c: q2 C
  673. ; PHP's built-in default media type is set to text/html.
    ) X. b( Z4 \3 Q+ |) H
  674. ; http://php.net/default-mimetype) b: r/ L1 g# V! C+ F
  675. default_mimetype = "text/html"% [) K5 m' {/ T/ @7 v( ?. u& N

  676.   T/ j6 o5 Q# L: R. [/ e
  677. ; PHP's default character set is set to UTF-8.
    / ]9 Z, v7 S/ W, Q: [
  678. ; http://php.net/default-charset
      w  L0 g' B% p2 ?. U0 n0 ~
  679. default_charset = "UTF-8"- ?. Z6 U( \$ x# ~4 ~/ @5 ?

  680. 5 ^: k, e3 A1 j) X* {% I
  681. ; PHP internal character encoding is set to empty.
    ' k+ S2 q9 ^2 g- h4 Q1 W, Q
  682. ; If empty, default_charset is used.5 |. P( K3 u; J' B& q
  683. ; http://php.net/internal-encoding
    0 \: [) F1 ]4 ?$ ^
  684. ;internal_encoding =& @8 A- B9 v+ t2 ^+ d

  685. 0 g/ a9 F, q; \6 `0 @7 q9 |' ~% [
  686. ; PHP input character encoding is set to empty.
    & R  x, {& W2 E
  687. ; If empty, default_charset is used.) Z! Z  r- X3 I; I, x
  688. ; http://php.net/input-encoding
    4 T6 h/ G! |+ l
  689. ;input_encoding =& M  q% z7 c* f0 Q  s' r- u

  690. " R5 B+ w. j! j+ O/ |- t5 V
  691. ; PHP output character encoding is set to empty.% F- g$ d+ i/ u8 O5 r; G' C; g
  692. ; If empty, default_charset is used.
    ( @; S3 N; U/ Z# d1 n# ]" J
  693. ; See also output_buffer.
    4 E% u; P2 r) c4 t; m+ f2 O1 f
  694. ; http://php.net/output-encoding
    8 h, {  H( G( u) H+ X
  695. ;output_encoding =
    , A3 i6 _) n& `! _7 T- K7 P

  696. ) w# z0 i+ s' M& ~4 S# J$ G; j
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    4 L( q0 L9 f+ t9 `) o
  698. ; to disable this feature and it will be removed in a future version.
    1 @+ U3 N+ H+ C# `& B
  699. ; If post reading is disabled through enable_post_data_reading,0 @$ n8 U  {! y" K4 j" a) j
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.; `+ Q+ ?* c# Q3 l7 {! z
  701. ; http://php.net/always-populate-raw-post-data4 G9 o) A0 {# @
  702. ;always_populate_raw_post_data = -1
    0 a) v: N. y8 w

  703. ; J3 E- R- v" J" V% i1 s; B
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    * J% h( P4 L' m2 _
  705. ; Paths and Directories ;
    7 c, V6 H3 e. i# |. j& X- O' R
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) x/ g$ A$ F0 X& z2 X$ \4 N
  707. ' d- w& P& d+ u& y- i
  708. ; UNIX: "/path1:/path2"
    * b# ]+ `" E  e
  709. ;include_path = ".:/php/includes"+ ^0 s) [7 l  ?+ d1 I+ @! E  u% u
  710. ;3 p: E0 ]4 J6 H0 k8 c8 V
  711. ; Windows: "\path1;\path2"
    6 s5 \' n" Q4 L, ?$ s
  712. ;include_path = ".;c:\php\includes"
    , B8 f, X  a* N8 h
  713. ;: p) l9 [* k3 g' l9 G* B
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"2 j2 W# s# b0 E  f- s
  715. ; http://php.net/include-path
    # n5 `& ^' ^3 M. Z2 n& R1 Y/ d

  716. $ v# V: }6 ?4 J0 f8 V3 b
  717. ; The root of the PHP pages, used only if nonempty.* T9 h1 o9 G0 ?7 [7 `  z, R
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: p  S0 s. U* {2 @
  719. ; if you are running php as a CGI under any web server (other than IIS)
      ?5 L: z- _- u1 A2 w2 n
  720. ; see documentation for security issues.  The alternate is to use the; w) N, n$ ]4 D" z7 \: D
  721. ; cgi.force_redirect configuration below
      N4 Y, l9 h& ^9 o' p
  722. ; http://php.net/doc-root
    ) O% N* u, K8 w) w1 ?. M3 Y
  723. doc_root =6 Q# p( }/ x% O& F4 }
  724. 1 w- O! s& t( R/ n. ?" o3 k5 M4 f
  725. ; The directory under which PHP opens the script using /~username used only0 u) m2 ]. W; |) P  V
  726. ; if nonempty.( a3 K" ^( k7 i
  727. ; http://php.net/user-dir4 P7 Q4 }% Z$ w: N3 K
  728. user_dir =
    * k# R) {& H0 }: A# |( }
  729. ' P7 {8 t! }+ E2 C0 n0 G& E: x
  730. ; Directory in which the loadable extensions (modules) reside.0 y1 F, w# N9 S1 }. U- P
  731. ; http://php.net/extension-dir+ c" D3 k& ~8 N; W; H- \+ Y
  732. ; extension_dir = "./"! W4 a$ m+ Z& i) k- b" }6 o
  733. ; On windows:
    - V. j$ h$ A& Z6 r
  734. ; extension_dir = "ext"
    & U4 N1 ~9 `  J

  735. - K+ x+ Q% t  b, l
  736. ; Directory where the temporary files should be placed.( j9 _9 `  V7 D/ S' g
  737. ; Defaults to the system default (see sys_get_temp_dir). p7 r# D$ S3 m4 r( ~0 H0 @( T2 z
  738. ; sys_temp_dir = "/tmp"
    9 k3 p* V& l/ K9 `' X5 j" b

  739. 8 R% `1 K0 F& l6 t
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    8 N+ Z4 w# \" ?5 ^6 m: [1 _1 t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * S. b! n# ?/ V5 r2 Y
  742. ; disabled on them.
    9 b; |% ]* D& O3 {
  743. ; http://php.net/enable-dl
    ! H* g( u* p$ o0 G5 ?$ G0 |. B
  744. enable_dl = Off
    & b: t! T9 c8 v+ S7 a- w

  745. $ ]5 r$ r5 [9 f4 q8 u, _
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    1 t' K% [3 e  s
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    : A0 K; U1 L2 L# S0 T8 i# y0 R; I
  748. ; turn it off here AT YOUR OWN RISK" R* U/ W& P5 P5 D! a. L
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**, a6 j6 b! A, i, ^" V" l$ x
  750. ; http://php.net/cgi.force-redirect
    * H# B: n$ j& z0 T' B- A$ b( P5 S4 g
  751. ;cgi.force_redirect = 13 A1 y9 P% w4 ^% d" K/ S5 v. C

  752. ' A3 S0 |" O9 @3 @7 k1 c# F8 N
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with6 y# l: h. N- C  Y
  754. ; every request. PHP's default behavior is to disable this feature.
    $ c  V' o4 T/ Y( ^* Q5 X7 f  [
  755. ;cgi.nph = 12 b/ q8 x/ Y- [
  756. $ T& y( x5 L1 T- b, j  a4 [
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape. t- `2 V9 b- u, V3 Z/ o6 F
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP- U  M- ^" `. \6 p
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 j9 u3 N& `; a  G- S
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    4 J8 n5 l" Q1 d  P0 s& q0 u# y( y
  761. ; http://php.net/cgi.redirect-status-env
    8 q6 B3 ?. _' s! m* ^! ^5 S
  762. ;cgi.redirect_status_env =( y0 g: M4 N0 T8 c

  763. " `. Y2 H& E. E' o- J
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's* i- a9 `1 v) V8 G9 E, {4 u9 h% J
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok5 L: W: K; H  @% ^; j/ R0 P6 S
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting& d( l% }2 t. l# h9 b
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 c' m- p6 S: h6 c- l0 X+ M
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts1 E9 B/ Z: x  V& S
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    6 n2 R/ E! \: G$ D$ @; {( g
  770. ; http://php.net/cgi.fix-pathinfo
    2 u# D" i( `# h6 ?6 O; J1 a% L( r
  771. cgi.fix_pathinfo=1
    0 G2 P+ s$ h) ?1 N' P
  772. & [2 h7 P& [! Q' f
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ' ?7 \3 d6 M. t$ q5 ~* A' @
  774. ; of the web tree and people will not be able to circumvent .htaccess security.( r: n( u$ f8 S$ [2 K
  775. ; http://php.net/cgi.dicard-path' Q2 M2 {# T/ a7 T* F9 X9 F
  776. ;cgi.discard_path=1+ B5 ]# b4 H, U: t! l8 Q8 v
  777. + O$ R0 T; B( J8 p( B. j
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* C  W! C2 w* @1 l2 i# ~8 _" ?
  779. ; security tokens of the calling client.  This allows IIS to define the
    6 o2 S9 U% l0 u7 R
  780. ; security context that the request runs under.  mod_fastcgi under Apache4 H. K9 I* Y1 `% G* e7 U
  781. ; does not currently support this feature (03/17/2002)) `9 S9 _( p2 C7 N; k
  782. ; Set to 1 if running under IIS.  Default is zero.  P4 ]7 P( q) U
  783. ; http://php.net/fastcgi.impersonate9 p! s$ s" b9 `# S2 U7 ~1 Y
  784. ;fastcgi.impersonate = 1, i* \7 J# \# T9 V; O

  785. 7 ]6 A2 j$ r, |! Z/ V* s
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable2 C0 `! q$ N' l1 Y" L0 ]# e1 G: X3 J
  787. ; this feature.$ V/ X! }  {; i5 O4 G
  788. ;fastcgi.logging = 0
    - |. o* j2 a) Q: o2 x
  789. , S* H# H1 y) q1 V2 h/ j
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ' R+ q& h* f2 ~- ]
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    1 {; }1 ?& ]9 D) Q5 ?! a8 z8 |
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ! X1 J3 b, v: J0 I5 E6 s7 I
  793. ; RFC2616 compliant header.# P5 ]# a/ ]3 r6 D& U" [6 L
  794. ; Default is zero.6 K5 S; G* B7 h2 f, l+ a
  795. ; http://php.net/cgi.rfc2616-headers
    $ F( l) H# Y6 P2 H! ?8 u1 e
  796. ;cgi.rfc2616_headers = 0, ]8 y1 O; K) @/ P& D- R0 R

  797. ; G0 [4 _$ B7 V' D& H4 r. {4 B/ m
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!* V% F. n, M# @
  799. ; (shebang) at the top of the running script. This line might be needed if the) R, K# a, ?3 v  N' i6 `
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" f: x) y. O8 X! O+ L5 M3 x1 f6 p
  801. ; mode skips this line and ignores its content if this directive is turned on.
    / R1 F% B3 K1 u' U! Z3 I2 R+ G
  802. ; http://php.net/cgi.check-shebang-line9 a+ `  p1 w7 `! J% s9 u
  803. ;cgi.check_shebang_line=1: d  i5 w6 c' d8 [/ ?( g" |' U

  804. 6 `1 Q) d" e  t9 M  U# e
  805. ;;;;;;;;;;;;;;;;% C; c! K% x0 X7 v7 u3 N& a9 b
  806. ; File Uploads ;
    1 a2 I5 _3 c" j6 _/ R
  807. ;;;;;;;;;;;;;;;;0 g+ p# |' m5 |8 f& M+ x" T

  808. + W( H) }7 p8 ~
  809. ; Whether to allow HTTP file uploads.1 v0 j0 A2 Z& [4 h1 l
  810. ; http://php.net/file-uploads( a$ E; z: v' p1 [
  811. file_uploads = On( I" H9 \$ H; N, B
  812. 4 |8 q$ Z* Y/ ^+ n# E# x" Q" n7 L( `
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 T" P' r: k9 w( p& k
  814. ; specified).! c- \4 q' g! _7 Y! ]
  815. ; http://php.net/upload-tmp-dir1 {2 ^1 t+ E" Y7 q3 V1 j( D5 t
  816. ;upload_tmp_dir =
    - i0 x: b7 m8 R$ N8 N1 s

  817. : n' b, m% H; S# U( O6 J/ G
  818. ; Maximum allowed size for uploaded files.; b; p1 \7 I) i9 j# S% }4 f
  819. ; http://php.net/upload-max-filesize
    # Y' j/ S& l$ J& K- |# ?! {
  820. upload_max_filesize = 50M$ @6 h: \) r7 d) l, M3 G! V8 X

  821. ) g! H' e4 M7 W0 g+ J3 M
  822. ; Maximum number of files that can be uploaded via a single request
    ! [5 P: v  l* Z* p; z5 E" }1 h! @
  823. max_file_uploads = 20
    - U: o* w8 @" c6 o2 Q, J
  824. * ]8 a  @5 w% {: }
  825. ;;;;;;;;;;;;;;;;;;
    4 \/ e6 `3 V% q  C3 a. K  e# a
  826. ; Fopen wrappers ;- ]. B0 G& P- S  t8 q# @' f* |! h1 C4 d
  827. ;;;;;;;;;;;;;;;;;;
    ! I! E- A9 v, v; X# D
  828. 4 Z0 A( ?7 Q; n
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    4 p/ ]. |1 l* a3 e0 A
  830. ; http://php.net/allow-url-fopen* R+ y1 W2 ^* ]. e( ~# J
  831. allow_url_fopen = On
    3 \$ ~: C7 E* Y* g  y

  832. ! J" ^# r1 X( Y0 f( c% u! R. c0 B* \
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.6 b6 l. W/ O0 n+ X9 a, K& Y
  834. ; http://php.net/allow-url-include
    ( C# x/ L/ O9 `5 \, q2 S, A
  835. allow_url_include = Off
    / p1 R9 M( Z7 s. }5 x! h1 C0 p/ G
  836. ( M( W+ d1 ~2 T$ N5 d2 }  \/ k. H
  837. ; Define the anonymous ftp password (your email address). PHP's default setting; q8 t( @9 ^# z7 C0 x3 A
  838. ; for this is empty.
    , T* V( l$ q, ?- d. ?8 m
  839. ; http://php.net/from
    # n% ^9 r2 @3 {+ {! q4 T
  840. ;from="john@doe.com"
    : w7 Y& Y9 u7 d

  841. + b( q9 @& v$ Y4 j1 Y4 W6 j
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    + L# l/ ]! h" ~1 [3 b
  843. ; http://php.net/user-agent
    9 g% E: A% z4 J  Y  c* A* L) }
  844. ;user_agent="PHP"$ E7 ]& q7 p' y
  845. / T0 `; {" X! T4 a2 |2 _
  846. ; Default timeout for socket based streams (seconds)) {3 S" `) z; n, w
  847. ; http://php.net/default-socket-timeout
    * A' V3 A5 s5 P9 F
  848. default_socket_timeout = 60( l* A5 P3 `6 T: |
  849. 5 H$ O/ v# b% b3 o  r
  850. ; If your scripts have to deal with files from Macintosh systems,+ K# m) n% ?5 t* r% \& X9 w* F
  851. ; or you are running on a Mac and need to deal with files from
    % K5 Z. g8 I8 L# u/ ~- G4 T: x
  852. ; unix or win32 systems, setting this flag will cause PHP to
    7 w+ g% P2 n7 Z; D4 T9 m7 j2 V3 S
  853. ; automatically detect the EOL character in those files so that
    + A" t* Z. \0 p6 Z8 g
  854. ; fgets() and file() will work regardless of the source of the file., Z1 O, `+ d% j; u& q1 i
  855. ; http://php.net/auto-detect-line-endings. K8 c1 U9 z6 F4 d
  856. ;auto_detect_line_endings = Off
    8 W  @0 C' ~  y) `' F: @- \# c
  857. ' Y/ {* b- @4 z  o% C' |
  858. ;;;;;;;;;;;;;;;;;;;;;;
    * s' d3 p/ l7 i9 @, }1 c
  859. ; Dynamic Extensions ;
    ' {1 P  n. \0 P$ S- C
  860. ;;;;;;;;;;;;;;;;;;;;;;
    6 ?+ D9 w, _! ~4 s/ L5 a; v) q

  861. + g+ v+ C1 B4 ]$ m* Y- x5 M) r
  862. ; If you wish to have an extension loaded automatically, use the following
    + X4 A; U0 y# M$ g9 X- y# X
  863. ; syntax:
      y" r: [' `: ^& T+ P
  864. ;
    9 J) g2 Y% f1 R% z
  865. ;   extension=modulename.extension
    0 p" Z; U+ i2 U8 h# b! e/ X) D  K
  866. ;# P" _4 f. V1 s' v$ e! C$ F
  867. ; For example, on Windows:
    $ ?; v+ M0 p( `' \+ c, \: w& C0 M
  868. ;
    ' }. x9 C3 B1 i2 @
  869. ;   extension=msql.dll( x% E& J1 \' i% Y" d3 |8 O
  870. ;$ C$ r$ E% a- \# a. j& @
  871. ; ... or under UNIX:7 I# W5 k# p/ X7 u. b5 ~8 G
  872. ;, {8 X" w/ H. {( X9 E' {4 i
  873. ;   extension=msql.so& x4 }: W# y4 o
  874. ;1 q+ |5 \5 f8 H( E6 [! T
  875. ; ... or with a path:
    ! f0 h' p/ o- i# _& V  J( k
  876. ;
    . ]2 X# u0 p7 W. {) m" Z, R+ l- O
  877. ;   extension=/path/to/extension/msql.so
    . g- q* R+ m$ W8 }+ P' x, V, ^
  878. ;9 P! e5 Z9 N6 \- u( Y
  879. ; If you only provide the name of the extension, PHP will look for it in its2 ]! j1 t# H8 y% y5 M" ~
  880. ; default extension directory.
    $ B0 K7 `3 G9 c2 c+ B
  881. ;& _+ h6 f! A, c
  882. ; Windows Extensions. _3 w0 d9 D5 M% J
  883. ; Note that ODBC support is built in, so no dll is needed for it.! @0 m  I. O4 z7 ?( M1 ?% _: }+ j
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)! {6 Q" M# R0 K+ K5 i
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    , N1 M$ ?8 X) w* N- s+ B
  886. ; Be sure to appropriately set the extension_dir directive.
    / I8 m7 ?) F3 e7 O, d: t
  887. ;
    8 W  j! z. M) U0 U
  888. ;extension=php_bz2.dll/ n) r5 x4 T* a% |
  889. ;extension=php_curl.dll
    : R# z  V9 u5 @- S; l
  890. ;extension=php_fileinfo.dll. L; r8 t8 @( h
  891. ;extension=php_gd2.dll
    7 V1 Y6 G+ {% d4 @# i% b0 O
  892. ;extension=php_gettext.dll9 ^( J- A6 t3 ?; _" T
  893. ;extension=php_gmp.dll
    5 A" z- g3 H5 t6 q: D
  894. ;extension=php_intl.dll3 u) Z/ T$ ?: x! d0 o
  895. ;extension=php_imap.dll9 H& ~. l, N1 C9 D8 z. v2 B, _
  896. ;extension=php_interbase.dll
    5 w# B2 |! V0 N
  897. ;extension=php_ldap.dll
    / Q' I/ O1 M; S4 W9 h% N
  898. ;extension=php_mbstring.dll
    * ?" c' Q% r: N% o! N
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    9 a% D  S+ A5 w9 b
  900. ;extension=php_mysql.dll/ ]' Q% C1 z8 B: O- d
  901. ;extension=php_mysqli.dll' V7 o( B' A4 ~) Y
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 R6 L3 O; S: E( ?$ @1 C7 H4 j8 g
  903. ;extension=php_openssl.dll! {7 T) b; `, o" Q1 a# q7 R5 q# L
  904. ;extension=php_pdo_firebird.dll
    ( `4 Z+ s- h! B1 R8 ^. M# A6 Z( l4 f  b
  905. ;extension=php_pdo_mysql.dll
    3 ]% u: P$ b* d; V! u
  906. ;extension=php_pdo_oci.dll! n. X& U( I) g" O+ r8 A7 L
  907. ;extension=php_pdo_odbc.dll
    ) n, U- @6 ~7 ^0 c
  908. ;extension=php_pdo_pgsql.dll
    * F; K9 a2 n! Z# x# {4 ~- [& k
  909. ;extension=php_pdo_sqlite.dll- y2 Q3 s( F$ a% a5 F! c: z
  910. ;extension=php_pgsql.dll# p$ [+ `1 L7 M7 J  ~. e8 c0 F
  911. ;extension=php_shmop.dll, [( R$ }$ z8 t

  912. ( F7 Z% I( z! u& |$ Y
  913. ; The MIBS data available in the PHP distribution must be installed. 9 f# y' R& e- K( b; h
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    5 f' `1 K+ q, t4 l+ L
  915. ;extension=php_snmp.dll  x, D+ N# k- D9 b" h/ ]

  916. " ~2 l+ }& L% I) c2 ~" R2 n
  917. ;extension=php_soap.dll5 l1 l: f. M+ m2 r
  918. ;extension=php_sockets.dll
      h  W8 _; g4 N  b) q2 s5 V
  919. ;extension=php_sqlite3.dll
    - J# N2 A4 d7 r( ?6 M% k; P
  920. ;extension=php_sybase_ct.dll
    " D# o5 X9 Y0 h: n+ M# V1 g& s
  921. ;extension=php_tidy.dll8 w" X0 E" n  {1 w7 Y; `
  922. ;extension=php_xmlrpc.dll$ q  J, M0 R% r1 U9 |( n" W
  923. ;extension=php_xsl.dll+ L6 Y& q3 ?8 g( e0 E0 Z
  924. 9 T* r5 ?2 S8 X* T8 N4 [8 d& k' E" G
  925. ;;;;;;;;;;;;;;;;;;;- z( i* F, {; H) X1 O5 r, i
  926. ; Module Settings ;
    " ]6 D& I8 [4 t) \
  927. ;;;;;;;;;;;;;;;;;;;: }1 M. |$ f3 N* z" X) j* u; Y  X
  928. * x- ]% C5 C5 N; u
  929. [CLI Server]: Y4 D8 u' R( p8 D# N* r
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.5 z! d, U, w4 C: Q( e) y
  931. cli_server.color = On* Q6 U9 o0 X4 J" s! y2 t' `

  932. ) ^: M  [+ @8 q1 P9 `2 g9 ]
  933. [Date]2 Y$ _9 H: f1 a* d5 m
  934. ; Defines the default timezone used by the date functions3 [7 F: s4 K8 j$ ?/ E
  935. ; http://php.net/date.timezone5 \0 W+ B% v- a& C: P
  936. date.timezone = PRC
    3 c. J$ M5 \5 \$ T+ y1 E

  937. , x; Y4 Q, Q5 V- \
  938. ; http://php.net/date.default-latitude6 X8 j! x; v- N. Z! W; U$ m
  939. ;date.default_latitude = 31.7667
    7 K1 X' ]! T( E4 Y* Z. E* b
  940. 0 j/ n# E- E; t: D  p* w
  941. ; http://php.net/date.default-longitude$ j$ U: P7 L9 w8 K4 p0 ~
  942. ;date.default_longitude = 35.2333
    8 ~- j  v& O3 |3 T: l. f) I# w) d
  943. 9 I  n" q" v3 q% a8 h0 p4 T; X
  944. ; http://php.net/date.sunrise-zenith
    - a: r: n0 k- u7 p; X
  945. ;date.sunrise_zenith = 90.5833333 \3 I: v1 B' b9 [
  946. 5 K# Q& O) m! a; M$ Z
  947. ; http://php.net/date.sunset-zenith- ^$ m5 V! i) B* c
  948. ;date.sunset_zenith = 90.583333- U4 f" D+ f: ^! \4 c( ~* C. c1 \

  949. , V( |- \: i& M& p3 i/ ^/ _/ p, h
  950. [filter]
    * e/ c1 T, P( \6 W+ B
  951. ; http://php.net/filter.default8 k$ f2 o: M5 I, q4 Y* V
  952. ;filter.default = unsafe_raw
    7 C1 n5 o' `& Y6 Q9 L+ b
  953. 3 T4 W* U! G7 W
  954. ; http://php.net/filter.default-flags
    ( t* L6 i# ^% s4 p# \/ n% c& a
  955. ;filter.default_flags =8 J. X/ b' j* d" y" r# Q
  956. 1 f7 T2 N% N4 @1 L& J5 o
  957. [iconv]9 x0 e( }8 j1 E& _' f
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.% `5 ?6 o( Q+ _8 ~) R, J4 U
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ( ^/ h% _% B. g2 B7 {4 ^
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ' o# ?& \: r6 }" o( T
  961. ;iconv.input_encoding =
    + u5 ?$ N$ w: [6 q, {1 `

  962. % N' ~) j9 e4 Y& H+ t% [6 C* W% z
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.  R8 X8 s& b. w
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) d! l; n6 n2 @
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 N* g- h5 o/ w/ y
  966. ;iconv.internal_encoding =
    % r( B, Z2 g6 R8 s: b

  967. 4 Q. ~' Q8 P& `3 n6 X4 o3 Q5 l. X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.. i) Z; G$ e: T/ D4 Q5 A, R+ B! k
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * x4 _+ y- E1 A4 o1 T
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    0 Z! n& S) V, p3 y
  971. ; To use an output encoding conversion, iconv's output handler must be set- E0 A6 y0 _8 b
  972. ; otherwise output encoding conversion cannot be performed.# N& b# n( c, J) R8 r6 ]
  973. ;iconv.output_encoding =; S/ E/ }6 m+ o0 s. f- [
  974. 7 s5 [- J  a; h. R3 g
  975. [intl]5 h- O5 f) h* E$ C- F) [
  976. ;intl.default_locale =* y6 {: j, m  H4 L* {9 k
  977. ; This directive allows you to produce PHP errors when some error
    4 ~/ e0 _, |+ v; E0 W; j
  978. ; happens within intl functions. The value is the level of the error produced.9 g" m  C5 R0 A8 y1 D9 @. f
  979. ; Default is 0, which does not produce any errors.+ A; u8 Y. d& w+ u$ W8 P
  980. ;intl.error_level = E_WARNING. I  L) ^4 z7 ?: E
  981. ;intl.use_exceptions = 0
    : D4 z! ]+ N! H; l4 E3 {

  982. + [+ l7 }+ ^) K- j! T0 A
  983. [sqlite3]: k6 M- a/ v5 e' j; t
  984. ;sqlite3.extension_dir =
    - [6 b9 k1 ?9 ?# N

  985. , b( T8 v7 a. P5 k/ t! Z! X
  986. [Pcre]! g) ~" e; \& s+ u0 V; s
  987. ;PCRE library backtracking limit.2 _2 i& i% S. _
  988. ; http://php.net/pcre.backtrack-limit  [+ w4 ~) G; V+ k
  989. ;pcre.backtrack_limit=100000* I( c6 A/ a$ a6 t

  990. 9 Z( j" {* L( F
  991. ;PCRE library recursion limit.6 W4 D/ X2 v1 r
  992. ;Please note that if you set this value to a high number you may consume all
    . y* H/ x& K: u- y
  993. ;the available process stack and eventually crash PHP (due to reaching the; o! B% ?; J, J4 O+ n6 t
  994. ;stack size limit imposed by the Operating System).
    ; s1 r; j$ y& m. H: Q" m
  995. ; http://php.net/pcre.recursion-limit3 G! {/ i( U% U$ O/ G
  996. ;pcre.recursion_limit=100000# ]8 G8 t% {. [6 F, G

  997. & W: @* E$ p- G9 \5 P/ J+ t3 q
  998. [Pdo]; j- V, v+ V0 z; B! t
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off": R1 @3 W; D2 h9 S. c$ Y8 K# u5 R! k# N
  1000. ; http://php.net/pdo-odbc.connection-pooling
    0 r2 k* }- w% ^% `- X/ o
  1001. ;pdo_odbc.connection_pooling=strict4 S' r, w7 U1 `8 D: C
  1002. . ^# i2 L- N# y+ b1 _
  1003. ;pdo_odbc.db2_instance_name* x* J. L7 B$ C  H0 l- z$ r: [/ z
  1004. - o5 s& U# J7 M. h) V; `2 U
  1005. [Pdo_mysql]4 N* K  E- V2 v* u- E7 q
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # ?( D7 C3 E& }
  1007. ; http://php.net/pdo_mysql.cache_size
    8 K7 }4 O5 m, m. M
  1008. pdo_mysql.cache_size = 2000
    + ?& ~( e/ w9 h. G+ A; x

  1009. . C4 Q$ h1 F% n5 e8 x' d4 T
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in( n0 D! L) W; C6 Q
  1011. ; MySQL defaults.
    1 ^. W( m  J$ {% S) U# L9 s  x
  1012. ; http://php.net/pdo_mysql.default-socket! @  f* M5 r7 B6 @. n! h4 f
  1013. pdo_mysql.default_socket=$ i1 F9 X' b, x2 @% Y4 ^

  1014.   g$ m/ e' ?' e0 R+ R! I
  1015. [Phar]
    8 N% n# }4 v1 |( j3 s! s) R$ y) L
  1016. ; http://php.net/phar.readonly
    8 j" D' c* O, ~7 \+ ~
  1017. ;phar.readonly = On
    % R) `( k, N& m( W4 H' f
  1018. , I8 J1 [# h' a( f# y
  1019. ; http://php.net/phar.require-hash; o) M4 ]# b  a  _) Q: [8 P
  1020. ;phar.require_hash = On
    " o' y; P. s2 C( W# n

  1021. % o) q. F( z" }' v' N  ]7 z
  1022. ;phar.cache_list =8 S) {! A0 P' p+ W: w3 i3 I$ U
  1023. ' r+ G) z" z; e$ y
  1024. [mail function]
    7 `  q, s4 j( |1 ^
  1025. ; For Win32 only.& P- l) m% O; L9 V0 i9 A; T: C
  1026. ; http://php.net/smtp: Z' L. h: o( N+ m' J/ O6 z; H# i& `
  1027. SMTP = localhost2 @) M! h& K- \& @! e
  1028. ; http://php.net/smtp-port* L7 s2 w3 [! X4 M2 c
  1029. smtp_port = 25
    & f* N4 \! T3 G0 d$ [
  1030. * k8 l5 p" K4 i, t6 C
  1031. ; For Win32 only.4 B# b( S# r# ]1 K- X
  1032. ; http://php.net/sendmail-from* |+ I7 X3 ~6 v
  1033. ;sendmail_from = me@example.com0 J% g. a5 q+ u0 I: K( h7 W

  1034. 2 \5 h1 T# u# q7 @: N  H7 ]
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & O! Q' r0 y/ ]5 `8 y6 G# U9 v
  1036. ; http://php.net/sendmail-path  Q& E, o2 R& K8 ~/ T6 F
  1037. sendmail_path = /usr/sbin/sendmail -t -i1 v8 Z' e9 V0 N1 H- r

  1038. , Q) D/ g7 t  t# T: n  {& O
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    " u. E* J. L- @/ s2 {2 E- y
  1040. ; to the sendmail binary. These parameters will always replace the value of
    " S1 }$ q  m( j' I8 Y3 x; u
  1041. ; the 5th parameter to mail()./ Y: s+ H# P# {  y, U, i1 E
  1042. ;mail.force_extra_parameters =
    " q0 P/ p: ^. U0 i

  1043. 0 r3 N2 p1 N: C1 a3 O& j
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    2 p& D% F0 \6 r$ I# I+ s
  1045. mail.add_x_header = On' T3 T  r* ^. ]9 M4 X2 N+ }- O" C
  1046. % T7 v! }6 N  t3 W* N0 x  ^/ d4 r6 Q
  1047. ; The path to a log file that will log all mail() calls. Log entries include* d- m9 i/ J- U& x2 O5 A
  1048. ; the full path of the script, line number, To address and headers.
    + U+ `; o9 \! o) r
  1049. ;mail.log =
    8 R; [) k% C6 ]4 V
  1050. ; Log mail to syslog (Event Log on Windows).' J: ~' D7 E( z: O$ }2 N
  1051. ;mail.log = syslog4 [; y7 K  L$ ]* f1 r

  1052.   c% y1 `# W- e* M- `+ D
  1053. [SQL]" f# N- V) o+ s
  1054. ; http://php.net/sql.safe-mode4 t% b6 u& r7 D$ L# r3 @  O0 w
  1055. sql.safe_mode = Off8 O4 a$ B; F" i
  1056. 9 {) S' }$ T! i: G+ X
  1057. [ODBC]
    ! n: \) n/ ^9 f8 O
  1058. ; http://php.net/odbc.default-db' w' P3 x1 S. z) s7 }' D1 P' B/ U: ^
  1059. ;odbc.default_db    =  Not yet implemented* d: I# P2 |/ Z. A$ ~- C$ Y/ v! |
  1060. $ i. W6 U: [. u9 M# ?
  1061. ; http://php.net/odbc.default-user
    9 x9 Z3 L1 w/ ?
  1062. ;odbc.default_user  =  Not yet implemented
    & e6 k4 s* t* P3 v* n! F% I& c
  1063.   j6 p9 E1 I- E1 s' Q
  1064. ; http://php.net/odbc.default-pw
    " H9 ]+ d* O0 Y# h2 }1 z
  1065. ;odbc.default_pw    =  Not yet implemented! t% h7 F* B, \/ v, b0 Q

  1066. " C6 n5 q6 U  k& A+ _8 e
  1067. ; Controls the ODBC cursor model., d7 |3 c9 E# M# w" j
  1068. ; Default: SQL_CURSOR_STATIC (default).: Y, x6 W0 G, @: N# ~1 c' Y# G
  1069. ;odbc.default_cursortype
    8 C" }: W9 v2 r; i
  1070. 8 ]* G8 }2 `0 M# P9 S; X7 `
  1071. ; Allow or prevent persistent links.8 k& n$ ]1 b7 ^% S( y0 h5 n
  1072. ; http://php.net/odbc.allow-persistent
    ) E4 i( ^7 w' d  O# I8 L3 ^) f
  1073. odbc.allow_persistent = On( z) v0 [$ k7 `0 Z

  1074. : U' M% l, T! c& D$ P: A# g: b7 x
  1075. ; Check that a connection is still valid before reuse.
    $ j3 R4 X6 x+ l! N
  1076. ; http://php.net/odbc.check-persistent" T5 S9 t4 c: Y, H: N$ I9 L
  1077. odbc.check_persistent = On
    # q2 X* M, {4 @
  1078. ' {0 k2 \* Q$ `) V" X+ V
  1079. ; Maximum number of persistent links.  -1 means no limit.5 m, i( t+ n" b1 I
  1080. ; http://php.net/odbc.max-persistent
    / S( L9 I1 G  n7 R7 }/ z3 c
  1081. odbc.max_persistent = -1
    ! c, S. G" X5 G$ |9 _
  1082. ! i  L  ?! l+ k; \: j/ r
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 C& r: z5 ]7 P) T4 W
  1084. ; http://php.net/odbc.max-links
    6 A! F4 q$ t* ^( K, P$ a' k
  1085. odbc.max_links = -1
    - V; ~+ A5 e. z/ ^8 H1 U3 E/ C

  1086. ; d* [2 G0 D7 @: N1 \# L
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    # J- a) Q! a# f' Q
  1088. ; passthru.
    1 {( D/ M% G: X6 b6 F: @
  1089. ; http://php.net/odbc.defaultlrl
    * A! d3 Z2 B, Q  T/ Y5 A
  1090. odbc.defaultlrl = 4096" }& t5 P1 Y6 w" v1 m4 e! b3 H8 ]
  1091. ' P4 q7 d$ ?  [6 n1 C# m/ ~. K
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ' J* b" v$ D5 U" b, y& Q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    % Q6 H  b4 M, d- D
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode3 O1 `0 {6 S# |$ i6 M9 p& R, F
  1095. ; http://php.net/odbc.defaultbinmode
      G% g3 ~" j4 L4 a. ], z. z
  1096. odbc.defaultbinmode = 1! z, m, x% @/ N( ^
  1097. % C" D2 q7 G# Q; b7 i9 m, m1 @, Y7 f) R
  1098. ;birdstep.max_links = -11 F( g# l1 t: Z

  1099. ( }0 Q3 s4 P$ k
  1100. [Interbase]
    4 M9 r2 l3 z8 ], x# L7 W
  1101. ; Allow or prevent persistent links.
    1 V2 o* x' c5 J
  1102. ibase.allow_persistent = 1. x5 y' |0 F. ^. a8 i; \9 F. t

  1103. # D, z- K8 P% t( Q& j0 m  g$ B
  1104. ; Maximum number of persistent links.  -1 means no limit.: |5 x. f/ `! r' A3 i
  1105. ibase.max_persistent = -1" A$ N) ]3 T9 Y

  1106. $ R7 i+ C/ j  o  U  \* E, p& m
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# {0 a. ~: A" K. Y  s8 F& |  p; t
  1108. ibase.max_links = -17 [: X5 Z. a( ~3 Q6 g
  1109. " ^, W9 [3 s  F! Q$ }% W3 g
  1110. ; Default database name for ibase_connect().+ \! M* p% Y: r! F6 P1 C4 r  f" N3 ]# k
  1111. ;ibase.default_db =
    ( X2 Z" N: B' a/ G5 ^9 n) G

  1112. # A( m4 v4 q' z5 ?  V8 W- a3 Z. ]
  1113. ; Default username for ibase_connect().
    + ~+ h) k: }- G( L3 A
  1114. ;ibase.default_user =9 z. p% Q; _6 H3 j% Y
  1115. 6 [- _' ]. B( k( d8 a
  1116. ; Default password for ibase_connect().
    0 d1 a1 A. b1 w6 f; _+ Z
  1117. ;ibase.default_password =
    8 b: p6 W& I/ M- ?( ]9 D: _0 }% H
  1118. $ f/ W. A$ b9 D" o
  1119. ; Default charset for ibase_connect().
    & u# D( j. D( I5 s2 F4 y
  1120. ;ibase.default_charset =7 V) z9 c: v" g
  1121. % h" v. J% f0 R! R! c
  1122. ; Default timestamp format.9 M( L7 ?. w0 h% m
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"7 Q* p, F% `, h1 E; J, R; |+ \/ G

  1124. " s% B# l! x) m
  1125. ; Default date format.  E8 }5 t8 F9 w! c+ W  f
  1126. ibase.dateformat = "%Y-%m-%d"
    6 K# r8 Q" _  i. A

  1127. ' B4 T# l$ z" d
  1128. ; Default time format.
    7 E" N! X1 v* k3 ~; i- _: R5 {( J
  1129. ibase.timeformat = "%H:%M:%S"; N1 _* K. }7 y  M  P: a
  1130. 0 N6 B) K: P# d5 R: J; }
  1131. [MySQL]
    3 T0 j" O' H/ m
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- {' S: v7 G, O
  1133. ; http://php.net/mysql.allow_local_infile! {, B. P" U5 Z7 m3 `
  1134. mysql.allow_local_infile = On* i3 {9 C! v: f

  1135. ( t6 R' [  U" c1 |6 ~; a. A, E; f
  1136. ; Allow or prevent persistent links.
    . p& }8 ^9 t) a. a. x
  1137. ; http://php.net/mysql.allow-persistent
    / d$ d2 f& P, F$ d- t/ V
  1138. mysql.allow_persistent = On% ^2 P3 e6 ?. C

  1139. / l$ ^# n7 C- a$ }
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache( T; u: C. [$ P9 |
  1141. ; http://php.net/mysql.cache_size9 m. q+ K' o- R3 |, E: S
  1142. mysql.cache_size = 2000, v9 Y/ a) h, i# Y& b1 N; T

  1143. ( l2 l# I$ H" N5 |* J
  1144. ; Maximum number of persistent links.  -1 means no limit.+ G- x- A9 s. ^8 K& N+ C% u
  1145. ; http://php.net/mysql.max-persistent
    / _+ U2 K: }5 H/ m9 H0 O
  1146. mysql.max_persistent = -1. P. [8 @9 K6 c* a2 t
  1147. ! P! K* Y' J: H# G
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 F  u$ e: Q; A0 O, _2 w1 ?) O
  1149. ; http://php.net/mysql.max-links# L! Y! l) y6 M' R
  1150. mysql.max_links = -1
    / Q, P4 n9 k: X) U" w

  1151. . `6 l: e, p- N
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use. {  J3 t' }; c7 P5 ~( K
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 c: g+ z, A$ [, ^. i2 K, n9 u0 ?
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( j- n* k: F1 E  s$ }: H
  1155. ; at MYSQL_PORT.+ b% _8 q; f% K, [) h- I3 D
  1156. ; http://php.net/mysql.default-port
      J4 O8 g5 N4 ]8 i: k3 x
  1157. mysql.default_port =0 v" j. {7 G( W2 B' k) O
  1158. $ @, r$ O, @* O- g6 Q, r  C
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ t+ {2 V* R$ r2 S: W
  1160. ; MySQL defaults.- X9 b$ b( p: {! ^9 C
  1161. ; http://php.net/mysql.default-socket
    1 _, y- E4 ^% r  f# H
  1162. mysql.default_socket =/ x/ I( N8 z1 ~: `- [
  1163. 5 V9 h! F9 Z2 j0 ?* W( R
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! y) y! N- J/ @- h: h8 t, B5 I
  1165. ; http://php.net/mysql.default-host
    7 ?' W& C. J/ g+ O7 V0 ^' O
  1166. mysql.default_host =- k: e5 H: H1 _3 h

  1167. 0 ?9 d, l% n, L$ o
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 Z7 \  q1 b& I7 s% G
  1169. ; http://php.net/mysql.default-user, f' I  x5 }/ J- g" z
  1170. mysql.default_user =) u' Y- V" H6 D
  1171. 8 I6 `3 E4 E/ V, _0 [! y. c
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ; j6 A  T8 u5 U; v2 l( R/ V
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.  ~( o  l  I4 |& q+ F
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")$ |; E' s- N) q4 X
  1175. ; and reveal this password!  And of course, any users with read access to this2 C) s% \6 g' o& s3 v+ N" w4 [% g
  1176. ; file will be able to reveal the password as well.
    ( J9 ]9 P5 e* A8 q1 R. V
  1177. ; http://php.net/mysql.default-password% S6 U, I# Y! G9 L6 I; ?7 Y2 t. j
  1178. mysql.default_password =; L; P: v5 P+ {

  1179. & m: ~' Z4 N2 F/ M5 l9 ?4 ?$ u9 g
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    4 ^1 v2 W. K6 ^, k  G% {3 p2 G
  1181. ; http://php.net/mysql.connect-timeout9 B+ G- w2 d+ j) G! m  p
  1182. mysql.connect_timeout = 60
    % w; r+ E. X  T

  1183. ( M1 F- s7 z) }$ v- E) G
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and% z; }. V% U/ Z  w
  1185. ; SQL-Errors will be displayed.& w' R2 k) j4 {/ C" w
  1186. ; http://php.net/mysql.trace-mode$ E- h  g% J. V
  1187. mysql.trace_mode = Off
    ! R+ D* J/ v( N- L
  1188. 5 k2 G6 J0 o  ~5 O! o
  1189. [MySQLi]4 ^' w  \* T* K5 {" R! g7 Q

  1190. 4 J3 V$ n( a8 y, P
  1191. ; Maximum number of persistent links.  -1 means no limit.3 w4 X' n: B* P
  1192. ; http://php.net/mysqli.max-persistent
    * I# m: a/ w; Z: N
  1193. mysqli.max_persistent = -1
    : p( Z. k, e) U& O- b5 I& {, L

  1194. % _' S. i) {* U3 V* ~/ d, w
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ m$ z; R9 j6 z* c( P6 g
  1196. ; http://php.net/mysqli.allow_local_infile
    ) p" m- o; ~/ F& I
  1197. ;mysqli.allow_local_infile = On
    : b" i+ @1 [$ `
  1198. / V5 w' R$ M7 @% R3 {# }; i, W$ K
  1199. ; Allow or prevent persistent links.
    - \; f4 ^- O& q$ }: W" E" C
  1200. ; http://php.net/mysqli.allow-persistent
    ' d5 M; u) X! W* P3 P- {4 {0 g
  1201. mysqli.allow_persistent = On
    4 {3 L" a; G. l: S

  1202. . g$ k) `+ z0 d! u0 _9 H
  1203. ; Maximum number of links.  -1 means no limit.' f. s, T9 [! }: x, x3 V6 n
  1204. ; http://php.net/mysqli.max-links7 V$ }. |4 s5 V0 A+ j2 E4 \' J
  1205. mysqli.max_links = -1
    $ R, m5 @2 T; E+ u/ G

  1206. - {0 R) ~) u& F' W% q( Q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) w8 h+ O+ c% w5 Q, ?* b3 ]4 {
  1208. ; http://php.net/mysqli.cache_size
    ( \- m2 m' f* O2 ?9 C
  1209. mysqli.cache_size = 2000
    ; r) p' L* G# b( v) e- q1 o
  1210. 6 J/ W- [$ m# }9 ]8 G" A. {: U$ T
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! ]$ b& A. j+ S
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    / v! l3 q+ c5 p3 p( @0 x
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ r' u8 g2 y* H# _) X
  1214. ; at MYSQL_PORT.8 v' X5 f3 ?* n' `2 M4 {) I' g3 W
  1215. ; http://php.net/mysqli.default-port
    - D9 [9 _9 ^9 l, i# h
  1216. mysqli.default_port = 3306; C0 T/ s+ D% @% }
  1217.   M0 b3 S0 K! R; D% @
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in: x: P8 j$ i, k6 P
  1219. ; MySQL defaults.
    " V' w$ J# G- ]1 }
  1220. ; http://php.net/mysqli.default-socket
    5 h. k6 `6 y$ A
  1221. mysqli.default_socket =  u1 N2 c: V& q9 ~; \& Q- t
  1222. / k# M" U& D0 f+ J) i! V1 x& J: q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    5 }) k  n) \# T# G4 b( z
  1224. ; http://php.net/mysqli.default-host, \9 H! d) Q! H% f, Y0 N  t- s
  1225. mysqli.default_host =+ s( C! o, P9 \: V. \5 u

  1226. $ g( U, l! e  K. Q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
      s# [# ~0 G* F$ v
  1228. ; http://php.net/mysqli.default-user
    + d& p: w) S3 g( m
  1229. mysqli.default_user =) Z, A7 J0 a$ [" |6 O* n

  1230. # Z% W/ {$ H: b' }, p: s( N. @; l1 V! ~
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 d* Q9 H: j; U) \+ q; w6 J
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.! E( F2 g" u, T1 p' e
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    $ }  {5 D2 y1 x6 f
  1234. ; and reveal this password!  And of course, any users with read access to this
    % H2 k( i! E. u. c7 C  M
  1235. ; file will be able to reveal the password as well.& {- \5 \% g% u7 e% M1 v
  1236. ; http://php.net/mysqli.default-pw) @: q- r; x  N# O+ p  F- B
  1237. mysqli.default_pw =/ f- [9 ~- m1 E( z; c& ^0 O% w
  1238. 5 v" G5 \% d+ g
  1239. ; Allow or prevent reconnect+ h" Y6 h* u! Z, i, j2 i
  1240. mysqli.reconnect = Off3 z7 ]/ t$ z; i* o6 D& P

  1241.   X. T! \/ l  I5 ~
  1242. [mysqlnd]- I: Z2 Q1 P6 i
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be/ X# p- |$ n2 C1 k: n7 b
  1244. ; used to tune and monitor MySQL operations.  D! z9 A0 M8 W9 \9 H$ [& h
  1245. ; http://php.net/mysqlnd.collect_statistics' e5 u% n- L' L- x, |* }# V' y  f
  1246. mysqlnd.collect_statistics = On! `; c. A9 }" g+ }" s3 r7 n5 ~

  1247.   H) ]' h' p4 F; ]/ T- K* [: K, j4 P
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be' e3 ?% ^3 i/ t* a
  1249. ; used to tune and monitor MySQL operations.9 A8 O5 v2 {' ~' J
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ; n% O7 Q1 F; k
  1251. mysqlnd.collect_memory_statistics = Off: f/ R" K( B5 |
  1252. ( F1 a6 E4 r2 N! ^3 M% H- G+ j
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    / @: A* G  N- F% ^+ V3 H) |% g* i
  1254. ; file.
    - W- J4 ]3 u& V2 V3 M: X
  1255. ; http://php.net/mysqlnd.debug
    : Y* y- ]& a. q9 @
  1256. ;mysqlnd.debug =. x) T- E3 h0 f/ q

  1257. 4 ]7 z! _" U2 T; y; G) [2 e
  1258. ; Defines which queries will be logged.
    + N* Q& |5 O1 E' F' d
  1259. ; http://php.net/mysqlnd.log_mask. P* @' U) u2 y) C
  1260. ;mysqlnd.log_mask = 0
    5 h, i) A4 K2 P% }  f, F- P: g
  1261. 2 s3 i  u0 W+ i9 n% h
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.% W6 T- V9 x4 K
  1263. ; http://php.net/mysqlnd.mempool_default_size4 {4 v# f3 e* [
  1264. ;mysqlnd.mempool_default_size = 160005 l. R! d) E6 l

  1265. 9 U% D' o1 W! H" U7 Y4 s- l. j
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 p* Z# _3 P, g/ G; @
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    & |8 \( B, q/ Y
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    8 `* m" K3 w4 L) r
  1269. 9 e) P3 R7 X" i& k/ O/ j: u
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in/ t$ |" Y6 C7 S; O+ Q4 e
  1271. ; bytes.5 ~: s3 I8 ?) ^1 J  t* J# l0 o+ K
  1272. ; http://php.net/mysqlnd.net_read_buffer_size# D) j0 X6 b7 n0 C* b2 K6 T
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ! m) D+ N  N% S' c/ y7 O& ^- C) s

  1274. 3 {7 @; _: Q3 u6 U1 `
  1275. ; Timeout for network requests in seconds.
    1 J! B  ~  Y' ^& V
  1276. ; http://php.net/mysqlnd.net_read_timeout6 z8 g# o# J8 M, R! J1 W  y
  1277. ;mysqlnd.net_read_timeout = 31536000% s) P. j9 ^+ g. t

  1278. 7 U6 w7 ^& J' X9 o
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    9 I* d; E/ v3 @: u( _0 s2 B4 Y+ M$ M
  1280. ; key.) [, {; f  j1 l
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    - u$ Z# U$ t; ?1 N! b
  1282. ;mysqlnd.sha256_server_public_key =
    4 p( e) X' I/ e: @# c
  1283. " ]+ P6 p  A, B4 a6 u7 S
  1284. [OCI8]0 M: E2 C. E  r1 {* Y
  1285. # c: o# L# U- O- G& Q
  1286. ; Connection: Enables privileged connections using external' g+ g, l/ |: R! i' ~. P
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ' C) \# ?. v; {$ O7 o
  1288. ; http://php.net/oci8.privileged-connect
    + Z, ?5 `2 R7 U" N$ E
  1289. ;oci8.privileged_connect = Off8 L5 b3 V3 h6 q' |
  1290. $ E! N0 T: H/ u. `* \  [% c
  1291. ; Connection: The maximum number of persistent OCI8 connections per; J  l+ d$ D4 Y! I# c
  1292. ; process. Using -1 means no limit.) g6 J1 l3 M. G( y! U% A, F
  1293. ; http://php.net/oci8.max-persistent
    ' Y1 Z) |3 ?" B9 E6 D) h% e5 \
  1294. ;oci8.max_persistent = -1- s+ G+ i$ ?; T. p
  1295. & J$ c" G0 c. D5 ?  y5 z
  1296. ; Connection: The maximum number of seconds a process is allowed to
    " A, a0 G4 t; q9 M
  1297. ; maintain an idle persistent connection. Using -1 means idle
    5 V! _( s0 @, L. y; Y  F5 b. Y) ~; _
  1298. ; persistent connections will be maintained forever.
    3 j8 k; \, R3 E  z) `4 Y$ R8 e
  1299. ; http://php.net/oci8.persistent-timeout
    $ `+ E  |. b# v. e& h
  1300. ;oci8.persistent_timeout = -11 ^  Q6 r4 i2 {  K7 @' r; ~+ H# x
  1301. # I' j& F- s9 a. v
  1302. ; Connection: The number of seconds that must pass before issuing a( H) O# }  z4 x: ~
  1303. ; ping during oci_pconnect() to check the connection validity. When
    % ]+ N3 I4 e9 j  v$ m
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables) J3 M9 L7 @7 ]$ p6 G* u
  1305. ; pings completely.
    # n9 h, e6 S- ]+ @  M( I
  1306. ; http://php.net/oci8.ping-interval7 N9 a& o* ^& p% g. L
  1307. ;oci8.ping_interval = 60
    0 ?* u& Z& p8 ~3 T" |
  1308. # k, L; o$ w7 Q) a' o
  1309. ; Connection: Set this to a user chosen connection class to be used
    - n; J" X4 I* }4 w" K0 Z. V1 g
  1310. ; for all pooled server requests with Oracle 11g Database Resident8 f( I$ t: c$ R# a  k0 ~
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    , H0 l' T+ f8 e: U% W4 }( p" _
  1312. ; the same string for all web servers running the same application,
    : d3 S3 z8 D2 V" i2 Y8 R8 z# X/ I
  1313. ; the database pool must be configured, and the connection string must
    ; Z0 ~3 R" L0 Y9 U7 H2 ~( D
  1314. ; specify to use a pooled server.5 Z3 D! F9 A" r1 D. c
  1315. ;oci8.connection_class =
    9 c6 \$ t' H2 g) C  V6 ~' Y

  1316. " v" Z$ p* l8 S0 j( ~: p# Y& ^  [6 U
  1317. ; High Availability: Using On lets PHP receive Fast Application7 a3 T5 x: S3 l/ X
  1318. ; Notification (FAN) events generated when a database node fails. The. k" D) X' M# {' Z
  1319. ; database must also be configured to post FAN events.
    0 t; B" {! i1 v" L' b
  1320. ;oci8.events = Off( `4 t& r! w) U3 b8 b+ r( I

  1321. & g; X0 J5 |5 L" i" A, n5 H( g$ m
  1322. ; Tuning: This option enables statement caching, and specifies how
    , D  }7 w8 D* G( j9 P; [% y
  1323. ; many statements to cache. Using 0 disables statement caching.
      \5 [8 t0 e( s1 j* B
  1324. ; http://php.net/oci8.statement-cache-size
    / `. P% a4 ?3 m/ k
  1325. ;oci8.statement_cache_size = 20( y9 S- i# C3 _1 i( n3 @" M4 G

  1326. 3 E$ s+ Y7 X, L& `
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    5 \$ [0 G- W0 e; s. e! k
  1328. ; rows that will be fetched automatically after statement execution.
    ; c& P8 I9 }7 p  z% i  ~( z, U
  1329. ; http://php.net/oci8.default-prefetch5 A0 G% ]: r" V1 L' _# h5 ~3 {
  1330. ;oci8.default_prefetch = 100
    " w, A$ p/ e3 G, [, U+ r+ Q9 a9 [
  1331. 0 q& {# S* G2 r2 Z' B4 K- L
  1332. ; Compatibility. Using On means oci_close() will not close
    " B4 b* y2 }: N! ]! B# O
  1333. ; oci_connect() and oci_new_connect() connections.7 ?1 O; q* d" R9 t; y
  1334. ; http://php.net/oci8.old-oci-close-semantics
    # \# a% c, Y9 s: ^  n9 j
  1335. ;oci8.old_oci_close_semantics = Off
    4 y. F* `5 s& @3 W
  1336. 5 V/ `7 Y. g0 T# R: G
  1337. [PostgreSQL]
    " ?* B  |; w2 z1 o% B$ x
  1338. ; Allow or prevent persistent links.
    : J& O. D, o$ x  O% [
  1339. ; http://php.net/pgsql.allow-persistent% _" C7 p. c% Z6 J! l
  1340. pgsql.allow_persistent = On9 v2 B  b( O& ?4 L/ L

  1341. % y3 W- N( n+ N% d- O4 s6 k/ y
  1342. ; Detect broken persistent links always with pg_pconnect().
    ! j+ y( l* j# [% n- U( b0 ?( @5 }# L) F
  1343. ; Auto reset feature requires a little overheads.
      [2 e4 Y. r7 o7 Z& U7 n  ^
  1344. ; http://php.net/pgsql.auto-reset-persistent, R; K& }* B/ i7 c& e( P, d/ ]8 ?7 O
  1345. pgsql.auto_reset_persistent = Off
      b: E' C8 _4 d9 Q
  1346. " d( V7 n. R7 Q5 ~' X; g; u
  1347. ; Maximum number of persistent links.  -1 means no limit.
    # k# R" d# K5 \: Z, x5 B
  1348. ; http://php.net/pgsql.max-persistent
    + L' J8 c" ]. c% }/ W/ t; u' l
  1349. pgsql.max_persistent = -1
    ! J* t5 ~* e# A! H4 }  y2 T% U. ^- A% k. z

  1350. # U, ~+ r9 G7 x; g: X  F0 P4 i
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 R: b0 u  {6 ^9 ?1 B) e) [
  1352. ; http://php.net/pgsql.max-links
    3 z6 W1 L( k, [
  1353. pgsql.max_links = -1
    1 K% U2 J% F4 j/ X+ p, s

  1354. : p. B" @' s" _0 Y" \$ _4 w
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ; D" t- R) L; K& X  _/ k+ U
  1356. ; Notice message logging require a little overheads.
    ' }' j6 _$ I7 W0 N, ?/ q$ n3 w# v
  1357. ; http://php.net/pgsql.ignore-notice
    8 z+ G- U4 c$ g4 ]" M6 ?
  1358. pgsql.ignore_notice = 0
    * b/ Q0 y5 V* w" {" r4 {) C7 y% z
  1359. $ t) u: ~/ v" e$ o. M5 T, P
  1360. ; Log PostgreSQL backends Notice message or not.
    . Y2 j$ Z! S( m( c
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    3 ^$ e/ Q3 o; O0 T' m$ W2 H( _: a' ]
  1362. ; http://php.net/pgsql.log-notice
    2 w6 B3 ^- k0 {1 p) o) f6 L
  1363. pgsql.log_notice = 0) z6 `' e: v2 G/ f( m
  1364.   P, Y! c. B" r9 e
  1365. [Sybase-CT]! f+ i1 z$ a: b; I
  1366. ; Allow or prevent persistent links.
    ; U0 T* d) x! }( K
  1367. ; http://php.net/sybct.allow-persistent
    ) n9 N! g) e8 l5 x! j  b3 I3 D
  1368. sybct.allow_persistent = On
    ! q: ?: i! z# g3 [; Q8 z
  1369. : y6 S: e1 M2 z0 V1 |. h
  1370. ; Maximum number of persistent links.  -1 means no limit.
    9 H! B  |5 g, r" K6 A
  1371. ; http://php.net/sybct.max-persistent
    , g: V" X$ N4 j
  1372. sybct.max_persistent = -1) P' b" s) r) u: F

  1373. # R, ^& X" V& Z6 w  y1 Q* b
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 G& \; j6 @7 C: G) ~1 X
  1375. ; http://php.net/sybct.max-links! _( U3 w; \  r/ _
  1376. sybct.max_links = -1
    * O! M) ~3 m( p! T% s$ R! S

  1377. ; [9 s. n  j) O% N6 D
  1378. ; Minimum server message severity to display.+ J' S: h# K1 E/ {5 ~7 w
  1379. ; http://php.net/sybct.min-server-severity; v7 ?$ f. }$ M# q% u8 q' K
  1380. sybct.min_server_severity = 10
    ' A7 x' U2 `" `

  1381. ' W: b9 f7 d- ]) n  Z
  1382. ; Minimum client message severity to display.
    / @# m) y6 p) Q/ q% t0 i7 v
  1383. ; http://php.net/sybct.min-client-severity
    , m& n5 E- b5 M- G/ D2 |1 K9 T
  1384. sybct.min_client_severity = 105 [3 }7 t8 q; I1 _7 n; x

  1385. 4 h% f# t, p' T9 E
  1386. ; Set per-context timeout7 |' p1 G! E' x$ J. `+ H. D1 c
  1387. ; http://php.net/sybct.timeout
    . v% a! h2 b/ ~
  1388. ;sybct.timeout=0 u* ~4 q" F- P+ M3 t
  1389. + ]5 Z( y" H, v) V: P: F/ R$ F
  1390. ;sybct.packet_size3 m% Q8 I8 `. S5 m% T2 F
  1391. 8 l; q0 d9 h, e5 h, a
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.# B* A) k$ y  i) _. d- }
  1393. ; Default: one minute* v5 Y4 b$ a; I9 U! ^( F* Z8 z) j
  1394. ;sybct.login_timeout=
    # Y5 U$ d# Q( E! E' X! M1 f
  1395. . N7 X! r/ S) [$ \. i4 \
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.  q) ~  O$ x9 k. G7 V% R
  1397. ; Default: none+ O' d0 z5 p' w, V4 ]
  1398. ;sybct.hostname=
    1 y) q" h- o  P2 E( ?0 T
  1399. 9 o9 \0 s% _7 N& A
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    # ~2 h, C6 J$ o+ f/ w3 Q; {; D
  1401. ; Default: 00 S/ E/ E% r3 v) K& |) @
  1402. ;sybct.deadlock_retry_count=
    / J7 Z$ b! G" D7 u9 j- t
  1403. 2 _' K6 U7 R& f
  1404. [bcmath]
    4 y9 t+ u1 Q& I! d: o1 E6 f
  1405. ; Number of decimal digits for all bcmath functions.
    9 p) X* M4 C1 R4 e; l4 W
  1406. ; http://php.net/bcmath.scale
    % {3 i5 j' r  t' N% K
  1407. bcmath.scale = 0' M# k$ `* R) J3 [$ I
  1408. 3 r7 O3 t9 H4 w+ B- l0 F8 ~
  1409. [browscap]
    5 D& Z4 b3 y: A$ `8 e! g- z/ N. j
  1410. ; http://php.net/browscap
      }) _, ^! x, W& d9 b
  1411. ;browscap = extra/browscap.ini& \$ z3 d* E# I6 H" S

  1412. $ P0 i% l2 m) W8 ^9 Q
  1413. [Session]
    ; c3 n5 S# B3 B- w0 {! T. h. ^
  1414. ; Handler used to store/retrieve data.6 r. Y, \) S0 j; h" t
  1415. ; http://php.net/session.save-handler
    $ j, g6 w( v7 L8 O: \
  1416. session.save_handler = files- @$ @9 ^0 a& N: D* Y
  1417. ! T& W2 F' k$ o. \! p% J2 a
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    9 _$ n* E, A2 v
  1419. ; where data files are stored. Note: Windows users have to change this
    9 x- {: ]$ M- z6 D
  1420. ; variable in order to use PHP's session functions.
    ) j2 S) C& h1 h- G
  1421. ;
    - w8 |7 a: `1 D/ G. x- M- Q! K. B- E. d
  1422. ; The path can be defined as:
    ) m& J2 D3 E# `  m& i. a
  1423. ;
    9 |! n: p' @! a9 ?5 K1 B
  1424. ;     session.save_path = "N;/path"
    # Z- `7 @) i8 R2 A  z& W2 U' [- I
  1425. ;
    6 w. Z4 B- z6 d. H" T- I5 f% ]
  1426. ; where N is an integer.  Instead of storing all the session files in
    7 y; P# f3 W2 M; n
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    9 K3 h% @& C; n# \$ o  B
  1428. ; store the session data in those directories.  This is useful if
    * U  }- Q! O- M# a
  1429. ; your OS has problems with many files in one directory, and is) ~: P1 K1 E1 t9 L1 J2 R! Y  B
  1430. ; a more efficient layout for servers that handle many sessions.: ^! u& f6 C5 J2 d/ v8 G6 K3 T
  1431. ;
    . e8 S4 a" I! s
  1432. ; NOTE 1: PHP will not create this directory structure automatically.! k. X6 R/ `+ h
  1433. ;         You can use the script in the ext/session dir for that purpose.
    7 \! c* U9 Q1 Q+ [6 a3 _
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    8 d( E/ N3 g( S7 j# s
  1435. ;         use subdirectories for session storage+ ~0 A; D/ D; O# Z3 c8 i3 o5 p; b
  1436. ;
    4 s0 d% V. s+ z  j
  1437. ; The file storage module creates files using mode 600 by default.
    # b! ?, A6 I3 M7 u9 P
  1438. ; You can change that by using; G, f5 H2 F6 V+ r" p
  1439. ;
    , G" ~; r, v: @
  1440. ;     session.save_path = "N;MODE;/path"
    $ Z, y3 H4 N7 i  u
  1441. ;6 U. y) r* }, x! v( l: l/ P4 l
  1442. ; where MODE is the octal representation of the mode. Note that this- F! s# t' T' ~4 _0 {
  1443. ; does not overwrite the process's umask.: i1 E7 r, j$ k& Y0 o3 R. w/ ~: [
  1444. ; http://php.net/session.save-path
    " m; M' s1 J0 G/ e3 ~
  1445. ;session.save_path = "/tmp"
    . Q! U7 u4 i8 L2 i
  1446. ' D" T* x% k, `0 \
  1447. ; Whether to use strict session mode.9 i- |2 d5 p& b0 F
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate. C, \5 c5 D1 i. J0 N4 [- |
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " Q4 f* a% g" m4 }* B$ F- T, N
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ; b& H# u  N2 M
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged." p4 n. L9 K! H5 {" q
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ; w! U% f  f9 z% g
  1453. session.use_strict_mode = 0
    : a: r9 n, o; J7 D4 N4 [

  1454. * ]; `9 J8 e4 P5 Q
  1455. ; Whether to use cookies.
    9 b3 }: a6 ?  T, C. ]  g
  1456. ; http://php.net/session.use-cookies
    # Y. U  p3 y3 h/ Z  e& i/ r3 K$ B
  1457. session.use_cookies = 1" J# h5 ^5 }6 T' j4 K0 k; b

  1458. " B9 J4 k# {3 K' I1 O" Y: c# @# O
  1459. ; http://php.net/session.cookie-secure
    - @, r5 M  K5 n6 K/ b9 P6 Q
  1460. ;session.cookie_secure =
    2 S: ^6 L; o% a. g6 _
  1461. + A, l6 S: r  b; m2 C' `; d) V
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining3 T, i7 g% u- _5 f0 c
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    7 b7 |. S: r- b3 I
  1464. ; session hijacking when not specifying and managing your own session id. It is
    : h/ l7 F, T, N, y
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ; k8 S: s, S4 O. q9 x
  1466. ; http://php.net/session.use-only-cookies$ t& }$ Y" ]# }$ h: l6 E
  1467. session.use_only_cookies = 1
    $ R4 g* \, X' z5 {5 M, d
  1468. 1 s3 o4 o4 x: S' r2 p9 b; v4 U
  1469. ; Name of the session (used as cookie name).- ]( n+ E* ]0 e; n
  1470. ; http://php.net/session.name- J! ^* \8 z6 x
  1471. session.name = PHPSESSID
    : ~2 ~5 {) {" Y/ `; z9 i( e

  1472. ( }% s0 J/ y! H" H
  1473. ; Initialize session on request startup.
    4 _$ a; M, b) ]# C4 K
  1474. ; http://php.net/session.auto-start
    " M5 d& _6 Y+ {) V
  1475. session.auto_start = 05 Y+ z* b. X# S8 l1 p5 r
  1476. ' |8 O8 a+ r2 o5 P' s
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.9 z% d0 u& }1 R( I' R1 y3 x
  1478. ; http://php.net/session.cookie-lifetime
    , ?- l8 w; C9 g6 \9 x, w
  1479. session.cookie_lifetime = 0
    # E" r" A2 p$ y; E5 b

  1480. , O5 ]6 q& c2 u5 n
  1481. ; The path for which the cookie is valid.) Q8 l5 s. o5 \- h5 X, G; `
  1482. ; http://php.net/session.cookie-path
    6 {1 z6 X! ~# ]+ N) @
  1483. session.cookie_path = /+ D% `- T( X$ t* @% E4 `
  1484. % \5 O9 z( M2 }! p
  1485. ; The domain for which the cookie is valid.# ]$ {; V- t- k, Q+ R
  1486. ; http://php.net/session.cookie-domain
    , \3 V; O* Z. o- E4 T3 n& g1 z7 g
  1487. session.cookie_domain =5 B9 q. A' `' e" x
  1488. 8 t; L3 E/ z) s' F3 U2 x0 d
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ( V' [' q6 p6 |* r7 O: U) U" O3 U
  1490. ; http://php.net/session.cookie-httponly
    " v6 J2 u( E; ?4 `, M7 D
  1491. session.cookie_httponly =
    4 y9 Z4 J: t) j  G" Z7 j+ z! V

  1492. 7 v0 z6 c" H& H
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    4 d& e" r6 O5 ?/ A
  1494. ; http://php.net/session.serialize-handler
    2 s6 p; e4 N$ y0 e
  1495. session.serialize_handler = php; X7 ?4 V0 M# s+ I7 m" z* `
  1496. ' G* T1 I+ F# S$ Z: \% a9 t
  1497. ; Defines the probability that the 'garbage collection' process is started
      Z2 E7 f" d  ?; g# Z
  1498. ; on every session initialization. The probability is calculated by using
    ( H6 i% E. @9 P
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) ]( p9 h1 L! y2 ]  s
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    5 l5 C4 |" s7 n# f
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ e2 H. j- T, X1 R0 @
  1502. ; the gc will run on any give request.
    / @+ \& `+ g  U' ?. O
  1503. ; Default Value: 1. m) q9 \' _. n' O. w1 S2 {" S
  1504. ; Development Value: 10 [6 s! q, K( v3 ]* A
  1505. ; Production Value: 1: G* ~5 X0 F2 H5 x2 G  K
  1506. ; http://php.net/session.gc-probability
    . |5 }" h+ q& ?: K$ n5 ~' O; b- t
  1507. session.gc_probability = 16 Y5 U6 f9 M$ f$ Y) E

  1508. $ a' X; M; O/ c2 U
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    3 U2 y8 U7 _$ h$ y( ?; I. n  H
  1510. ; session initialization. The probability is calculated by using the following equation:+ f/ \2 r$ l2 U+ R1 M3 r
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 I0 \( u8 G( w8 S1 q& ?$ l
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ) e) y* X0 \3 {% c. N1 b
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: ~2 R$ r1 v, ]. y: a" g/ Y7 Q
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    * j' M) U, [- S( r3 d
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 Y8 _6 _# F  ~- q) E4 g- c
  1516. ; this is a more efficient approach.$ M% b! c7 z7 v% |
  1517. ; Default Value: 100
    ! A' \; A6 p$ t5 r/ O, D9 B8 e/ _
  1518. ; Development Value: 1000; }- q/ D) Y1 p. N
  1519. ; Production Value: 1000
    . u! h- ^) r4 |1 e8 _+ m$ V; q8 b
  1520. ; http://php.net/session.gc-divisor
    8 d# H  i" F& ?8 c. T
  1521. session.gc_divisor = 10007 l  |5 j7 G# W: C  a# e. }- |
  1522. 6 `8 M! v. A- t' g
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and2 W0 M. x7 _, u5 ]
  1524. ; cleaned up by the garbage collection process.8 V; D6 ]4 h* A
  1525. ; http://php.net/session.gc-maxlifetime
    : l1 b* b! m. h
  1526. session.gc_maxlifetime = 1440# c* k8 D* n: t/ W
  1527. 1 w3 `: g' Q/ W- y
  1528. ; NOTE: If you are using the subdirectory option for storing session files. z& a/ t2 n0 S2 j! M& g8 J
  1529. ;       (see session.save_path above), then garbage collection does *not*
    2 ~% r7 h1 T! X1 g
  1530. ;       happen automatically.  You will need to do your own garbage. {1 a- W& @8 M) o1 S
  1531. ;       collection through a shell script, cron entry, or some other method.
    . ?& W! Z0 L3 q- u% [6 Q
  1532. ;       For example, the following script would is the equivalent of% t6 b# K% \& U5 w5 u! p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):$ q" n6 n) s# `
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    % Y2 X9 z3 S3 P  }/ d% }

  1535. 2 }8 T; Z. ~7 s/ Q! N
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * m9 T0 Y' W& n- c
  1537. ; HTTP_REFERER has to contain this substring for the session to be# n* v9 E% }/ [+ o  m
  1538. ; considered as valid.! `. Q( s9 ~* `3 x. ]
  1539. ; http://php.net/session.referer-check
    7 T& G6 _  a! Z, c. W4 {' @( O7 E% v1 ~
  1540. session.referer_check =0 K' Q# |; W7 F. e! Y" _* U) e8 u% K  i
  1541. - S+ B$ a& H$ k. z) C
  1542. ; How many bytes to read from the file.
    4 j7 P2 @% H# i# l
  1543. ; http://php.net/session.entropy-length5 X, V: i9 X* u* {
  1544. ;session.entropy_length = 32
    2 L' X- j6 Y! Y) n0 G. @1 _
  1545. ; [6 D- v  m5 C
  1546. ; Specified here to create the session id.+ P+ q7 Q# l3 @
  1547. ; http://php.net/session.entropy-file/ Z: C9 ^$ X1 o8 J5 Y
  1548. ; Defaults to /dev/urandom
    : r" ~  t8 ~1 O, @: F
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 {: m" ]' A( w+ N. t
  1550. ; If neither are found at compile time, the default is no entropy file.$ T" l/ j2 n) |  o7 _; b
  1551. ; On windows, setting the entropy_length setting will activate the
    : m: I* v- z7 T2 \; u  G$ p0 q6 ~- B
  1552. ; Windows random source (using the CryptoAPI)
    $ O1 E6 x: [4 d% o( G! ?$ r$ Y  l1 {$ [
  1553. ;session.entropy_file = /dev/urandom
    % u8 N; }; h! \6 e* A

  1554. 6 T: ?5 t+ b2 V5 G' ~- R
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    7 S, P; L. {9 F
  1556. ; or leave this empty to avoid sending anti-caching headers.3 r, U  u. K! A4 n9 y
  1557. ; http://php.net/session.cache-limiter
    3 y# S5 e  a/ i# n$ f7 r
  1558. session.cache_limiter = nocache4 [4 b; O  n) Q! d  D1 A; [1 c
  1559. % f2 U6 X! p% r: j4 E
  1560. ; Document expires after n minutes.' P' V0 d* S: [7 Y, Y; [5 A5 H
  1561. ; http://php.net/session.cache-expire3 B1 P# ^! @1 I7 A' t  W/ X  y( ^
  1562. session.cache_expire = 180
    , O0 W) _7 K7 w5 [; }- Q
  1563. / H. i: W9 D' l
  1564. ; trans sid support is disabled by default.
    , K. _- P7 z4 Y$ `) G, C( d# L- n
  1565. ; Use of trans sid may risk your users' security.
    / |- z, s& n/ T4 |9 l
  1566. ; Use this option with caution.) w% ?" p7 S. M& n8 X. {
  1567. ; - User may send URL contains active session ID' Q8 A! T0 \+ X9 f2 Z0 H+ |
  1568. ;   to other person via. email/irc/etc.# |4 _+ i, H1 \$ F. X1 [' `
  1569. ; - URL that contains active session ID may be stored& K$ j6 T  A" N* Y
  1570. ;   in publicly accessible computer.2 \- H( k* \( Z# R: ~; L. D6 t5 T, J
  1571. ; - User may access your site with the same session ID
    " ?8 m( {8 d  Y2 x( g8 _/ w
  1572. ;   always using URL stored in browser's history or bookmarks.
    - w1 M  q' U6 L
  1573. ; http://php.net/session.use-trans-sid
    2 i5 F; z$ g5 _1 u; Z
  1574. session.use_trans_sid = 07 w  L" G  q& O% D- v" _

  1575. 0 h' B, N6 _8 U" x9 p) O
  1576. ; Select a hash function for use in generating session ids.
    ; P- N) {. D9 M9 t: l# T" p* h
  1577. ; Possible Values
    7 i! d  {1 g. {
  1578. ;   0  (MD5 128 bits)
      Z- _6 x# q( ^* p! p
  1579. ;   1  (SHA-1 160 bits)( A# K) f! @. V9 Q0 b: p) k# H! U( J  w
  1580. ; This option may also be set to the name of any hash function supported by5 e( q" T& ~$ W# I# T7 _& M/ x5 V: S
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ( i! B6 k# J- f7 ?4 y: X. j8 V
  1582. ; function.
    4 n' b; [  W; C7 }3 r2 U1 _
  1583. ; http://php.net/session.hash-function
      @$ u( A7 A$ R
  1584. session.hash_function = 0
    5 y9 _: F' M/ T& S

  1585. 1 g% W6 y+ a/ L! k8 w" k
  1586. ; Define how many bits are stored in each character when converting. T( `! x- z# ]) J$ \- t! u
  1587. ; the binary hash data to something readable.  b. l4 `3 I/ ~- H. Z( L/ h
  1588. ; Possible values:
    3 i0 J* B6 j* l8 \2 P8 T6 Q
  1589. ;   4  (4 bits: 0-9, a-f)# r, a- ?( h% n; `/ S
  1590. ;   5  (5 bits: 0-9, a-v)5 |5 f2 z, l; P9 F8 n0 `& y
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 q1 Z+ ~1 H: D) V7 k+ t
  1592. ; Default Value: 4; j2 E. `  ^" R. n( {5 }. `* @' y; l
  1593. ; Development Value: 5
    * {. _: {, Z% P! _2 `9 L
  1594. ; Production Value: 5
    6 o( M& N( E5 }" U, _6 m+ _. R5 e
  1595. ; http://php.net/session.hash-bits-per-character' @( A# n2 f; `; q  I  ?: H
  1596. session.hash_bits_per_character = 5
    0 N, Y/ \. j/ F4 g0 c

  1597. : i# M( z7 D! A$ D" q# e  |! z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.- ^! M2 h3 u7 B" r
  1599. ; form/fieldset are special; if you include them here, the rewriter will0 x% `/ F! k  n. W
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ! r5 H0 m: a1 S5 i/ n- [" ^+ w  Z1 {! F# t
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 V% m0 d' X6 B4 v. ^
  1602. ; Note that all valid entries require a "=", even if no value follows.
    1 h+ Y; v5 q( R
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="* R3 `! \! P* D4 u/ J5 s
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ |8 n! x6 b" w- w
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 Q; B. j' ~+ b9 i
  1606. ; http://php.net/url-rewriter.tags
    + a( W6 \! T  m# p0 U
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". x( Z% i2 t7 A, J* g' w6 g) k; g* p3 g

  1608. ! p  W4 ^4 z, q1 {6 W) s7 p
  1609. ; Enable upload progress tracking in $_SESSION
    : K4 |8 Z! ^9 N' {
  1610. ; Default Value: On4 C( @* b3 y% ?% O  ^  L2 N
  1611. ; Development Value: On7 d# w+ k' D' S4 G  J3 q
  1612. ; Production Value: On
    5 V) d& m* f1 k
  1613. ; http://php.net/session.upload-progress.enabled
    0 ~% u% d0 D* P5 X
  1614. ;session.upload_progress.enabled = On
    % E# f+ l8 n" g+ o) \$ R
  1615. 3 L' Q& X: B  r0 l6 j8 Z6 D7 N: U$ W4 h
  1616. ; Cleanup the progress information as soon as all POST data has been read) J" V0 L8 s! Z) q
  1617. ; (i.e. upload completed).
    * x) a5 W& N: o+ b* J
  1618. ; Default Value: On
    . n0 h( U/ {) j+ S3 F5 O
  1619. ; Development Value: On4 G3 I" F0 x$ j2 z. j& o! H$ }
  1620. ; Production Value: On4 F2 a" n5 \" p9 h! \
  1621. ; http://php.net/session.upload-progress.cleanup6 J5 K- f1 V* d& s* _9 P  Z# w9 q
  1622. ;session.upload_progress.cleanup = On
    8 s8 X3 ?& K) J5 i% D1 z. a/ X+ U

  1623. ; A3 ?6 s6 u! b% {# B  U9 e% X1 i
  1624. ; A prefix used for the upload progress key in $_SESSION
    3 o: l$ m8 I" ?' `6 o
  1625. ; Default Value: "upload_progress_"# @) \0 g4 h/ r# l" n
  1626. ; Development Value: "upload_progress_"6 [/ Q$ ]" u: i) h# b+ M
  1627. ; Production Value: "upload_progress_"% }# T, g) v* }9 U7 J0 Y
  1628. ; http://php.net/session.upload-progress.prefix/ h8 r' G% o' a9 P. K' T3 |; d0 t; d
  1629. ;session.upload_progress.prefix = "upload_progress_"$ P) o" K" r7 k) I7 z1 y4 A8 m
  1630. " {% B+ G/ B+ ?: ]! Q# A* U% q
  1631. ; The index name (concatenated with the prefix) in $_SESSION- S, F7 u$ d+ t5 ^
  1632. ; containing the upload progress information5 C$ W, {% B: L/ _0 M
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # A  y+ {: [% u
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"0 ^+ g& L3 R8 L" p" z" s: X
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"$ I+ i- E% s. B7 b! b. k9 j- ^
  1636. ; http://php.net/session.upload-progress.name
    # Q3 O" I7 D' [' q
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 q2 }( ?6 B+ j: @# X/ R# W

  1638. 7 R0 T( v- R0 V1 i6 f( K1 N2 {
  1639. ; How frequently the upload progress should be updated.* }/ ^2 h) D1 b" A# W2 l
  1640. ; Given either in percentages (per-file), or in bytes
    ) b& g# o% ?- @& C$ m+ B  d
  1641. ; Default Value: "1%"
      M2 t( V! S/ w6 }. |3 N
  1642. ; Development Value: "1%". _% y( m% r4 \2 V3 h
  1643. ; Production Value: "1%"
    0 T3 Y) o4 l: }- S2 S& F! l
  1644. ; http://php.net/session.upload-progress.freq3 O, N! [7 X. E2 j% y
  1645. ;session.upload_progress.freq =  "1%", g7 U' T$ I* r/ k
  1646. . `  U% ^  I1 M: w' R& I
  1647. ; The minimum delay between updates, in seconds
    0 d# h1 `; f& P8 p
  1648. ; Default Value: 19 e2 @9 M8 q. S* Q7 d
  1649. ; Development Value: 1
    . ^6 O; h. `$ E4 w  F" R7 p) m
  1650. ; Production Value: 1
    % K: k0 F) h: {. X: C
  1651. ; http://php.net/session.upload-progress.min-freq) Y- c. D, m7 k7 y
  1652. ;session.upload_progress.min_freq = "1"& r& \" y9 o( U

  1653. ; [8 E4 ~; `3 a" ~
  1654. [MSSQL]
    0 ~" G& r( m7 G7 k% j# M
  1655. ; Allow or prevent persistent links.
    7 M" o- n: y, F. _& B6 ?
  1656. mssql.allow_persistent = On
    ; B9 b% M- G, m
  1657. 0 |1 d4 O( ?% u; t1 _2 J, K
  1658. ; Maximum number of persistent links.  -1 means no limit." I! j3 z3 j$ j1 _# F
  1659. mssql.max_persistent = -1
    + V5 _/ r. Y& q

  1660. ) \2 H' U6 d( E( x$ P
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 y# H+ d( P7 ]2 S
  1662. mssql.max_links = -14 D( r& ?: s" G/ s

  1663. " o: a! w* U9 @5 n
  1664. ; Minimum error severity to display.
    " w% Y$ g3 T. E% Z2 L. C! \
  1665. mssql.min_error_severity = 10! _0 J. H4 b& V* P

  1666. 7 m4 J  ^, l4 u6 M2 i2 M3 t
  1667. ; Minimum message severity to display.0 N1 [% V' }9 T
  1668. mssql.min_message_severity = 10
    " `- ]( I' A- C, U8 I9 S3 G

  1669. 3 c3 t* T/ J* a1 A, A) z, G" P) [
  1670. ; Compatibility mode with old versions of PHP 3.0.. }# E7 k9 Y  j* i
  1671. mssql.compatibility_mode = Off5 k* ~& D% B) q5 B7 p
  1672. / z: p- L$ Q$ F$ i
  1673. ; Connect timeout
    ) P  g& n* N. }' [3 U5 D
  1674. ;mssql.connect_timeout = 5
    & D, R0 D) m4 _8 S
  1675. ! f- K, I5 B, J. U
  1676. ; Query timeout+ H% U$ l/ H* S- P4 J+ W0 t
  1677. ;mssql.timeout = 60
    9 Y, M0 g0 J7 |  a) G! b
  1678. ) d+ P9 h$ E( H
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    % y7 P# o% q6 |7 [3 D: t
  1680. ;mssql.textlimit = 40963 K( J8 N5 B+ a0 X. h, Z
  1681. , S4 k7 C) [2 }) W% x/ ?
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    , X# d7 j# Y6 k6 V) y& q
  1683. ;mssql.textsize = 4096
    " v2 N$ r3 s+ ]* _; K

  1684. 7 u0 v0 E0 ~7 s' v3 N$ e0 g; `
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.+ I5 H7 U, F. Q$ m
  1686. ;mssql.batchsize = 0
      p2 M7 \0 [4 a, x7 A5 b( G  M( }+ I# L
  1687. 0 i4 I+ z' ^5 x3 l
  1688. ; Specify how datetime and datetim4 columns are returned0 Y5 Q9 ^4 M% a; }2 {% V
  1689. ; On => Returns data converted to SQL server settings
    9 e/ j3 y3 @" O! ~
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    2 Z$ x) {( L/ z
  1691. ;mssql.datetimeconvert = On
    / n- o. V( ]+ ^  r

  1692. - P3 l- z& }9 [
  1693. ; Use NT authentication when connecting to the server( C5 m) j0 f" G* J/ o
  1694. mssql.secure_connection = Off( z( V3 h% Q, y  c' m
  1695. ' L2 ?* i8 e& X
  1696. ; Specify max number of processes. -1 = library default- @) s7 o' y8 ?& F) n6 R3 P
  1697. ; msdlib defaults to 25) o4 r! }0 g0 p, ?7 y
  1698. ; FreeTDS defaults to 40969 t9 [, [8 x+ @1 J8 J6 ^# }
  1699. ;mssql.max_procs = -1
    : e! X2 m. S9 S" I; u
  1700. 1 E) I5 [# a. \# Q
  1701. ; Specify client character set., v0 A2 a& k' X7 a! L  @# \6 W/ n
  1702. ; If empty or not set the client charset from freetds.conf is used/ A& W6 G+ n( F7 Z5 {- Z" N# }5 B; L
  1703. ; This is only used when compiled with FreeTDS6 W! x7 N. z! p9 N
  1704. ;mssql.charset = "ISO-8859-1"* h6 W; v5 ?' ^: z# x

  1705. & O: I# L* R, M
  1706. [Assertion], R- a! \. C# P7 e
  1707. ; Assert(expr); active by default.# T( [! i, q4 O" |
  1708. ; http://php.net/assert.active3 k& ?# ?1 f$ G$ Z' i* Q
  1709. ;assert.active = On
    - W6 ^  w$ P# ?  ?

  1710. 5 P3 {! l4 |0 A; S$ k
  1711. ; Issue a PHP warning for each failed assertion.- S( R( Q& q( T3 s6 J$ ]
  1712. ; http://php.net/assert.warning3 b; A' y. }2 R* H1 S+ R8 [; |
  1713. ;assert.warning = On: y/ Y$ i% N1 V8 {/ B% l3 v: b- q
  1714. ! ^) h2 }6 A; E1 ?+ z" L) Z
  1715. ; Don't bail out by default.) E% D- R0 u' F
  1716. ; http://php.net/assert.bail( N/ t- A4 k- `  i
  1717. ;assert.bail = Off
    ; \" J) `8 U0 ^0 v7 }/ K# ~

  1718. * _4 s8 @2 |+ d- F: ]* [
  1719. ; User-function to be called if an assertion fails.4 Z& B# c' J0 y
  1720. ; http://php.net/assert.callback
    4 S1 J* f4 z' q% s
  1721. ;assert.callback = 0
    , O6 s8 D/ e5 |/ Z; w/ p& a' s5 A

  1722. ( n4 k2 l  J7 M) o# r) z0 ]
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    + w- c6 h4 v  O: R: p& z! e, D
  1724. ; error_reporting(0) around the eval()./ Y& s8 c9 U, k; {6 M
  1725. ; http://php.net/assert.quiet-eval
    6 @! T8 C/ U) \
  1726. ;assert.quiet_eval = 0
    $ c( v$ @7 ^+ ^0 l; y! _

  1727. / h0 W8 P$ v4 \8 b4 T0 X
  1728. [COM]
    7 S( Y+ M" I5 ^9 p5 ~2 L
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    , u3 i8 N4 T+ e4 ~8 ^
  1730. ; http://php.net/com.typelib-file) y# D1 H1 k$ n6 _/ z0 ~: S! Z" P
  1731. ;com.typelib_file =  \/ |1 ~0 l2 z( j% l0 ~
  1732. 5 L$ ^/ N1 v1 C% B/ l
  1733. ; allow Distributed-COM calls
    * D* ^: T+ ^( ], q
  1734. ; http://php.net/com.allow-dcom
    7 H3 y/ ]- j8 S" z$ y& A* y
  1735. ;com.allow_dcom = true; [! L+ J, |2 z' o; d7 g! L  T0 g( P
  1736. 2 l2 p4 w, D$ o: N& Q& t
  1737. ; autoregister constants of a components typlib on com_load()! O5 ?, k4 Q4 H, L% [4 T
  1738. ; http://php.net/com.autoregister-typelib
    # Y3 _% O6 ?! g8 K, c) ?! M
  1739. ;com.autoregister_typelib = true3 P/ C$ ^6 ~# _* M* {

  1740. 2 B% }! M) r7 S2 ^7 y
  1741. ; register constants casesensitive
    ) t( ]- i" |6 I) x: @9 z
  1742. ; http://php.net/com.autoregister-casesensitive# h& C- ]" v. B+ i. Z6 d
  1743. ;com.autoregister_casesensitive = false
    : S! I0 X$ P& F9 ~! V

  1744. 5 @$ c1 n  M: s2 p1 ]7 [
  1745. ; show warnings on duplicate constant registrations6 G: f7 D. u# a( I5 D- G6 d
  1746. ; http://php.net/com.autoregister-verbose
    ) s. ^3 b+ w0 E5 Y1 g: H
  1747. ;com.autoregister_verbose = true
    * d4 h9 d. e$ A- f

  1748. ! g2 ^  o3 ?$ N% O" ^, n+ X. V
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    " y! L9 ~: Z4 f
  1750. ; Default: system ANSI code page; [( {. L" B  `1 W
  1751. ;com.code_page=
    4 l) E5 y3 M4 }
  1752. ) A1 t2 Q; s# e% q
  1753. [mbstring]
    7 i, D% z, `5 J
  1754. ; language for internal character representation.' p1 @+ @& b* S) z1 V
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    1 W: c# |2 {) S$ q
  1756. ; http://php.net/mbstring.language# q* W) F: j, j6 e
  1757. ;mbstring.language = Japanese
    & Y/ O8 E9 C) d

  1758. 1 W2 p  V2 I2 \- P8 |: D: V
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.! m" w! z: `, e1 @
  1760. ; internal/script encoding.
    / F- U( y4 H5 m6 Y
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ K7 q* J1 J, k/ p+ Z+ c4 F# S
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 S! F% y6 t) Q" w# j4 q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' [0 f; s, ]4 Y. ]$ J
  1764. ;mbstring.internal_encoding =7 a: D4 H% R3 X$ s6 d
  1765. - b, R0 Q$ O4 {& C& n1 a
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.- n  ]7 K3 H) z
  1767. ; http input encoding.
    ( o/ N1 \! f- {
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' M6 O: ?; y- P$ a- U- X  _
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 t: ?- F# F2 T% i2 x
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input( \$ X2 m6 J% Z6 h5 d7 T4 K2 o+ `
  1771. ; http://php.net/mbstring.http-input
    ; r' ~8 a& R' r4 g: ]
  1772. ;mbstring.http_input =
    + q/ g; s1 C; N8 |
  1773. & P) K' x! x) L$ D$ f
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.5 {( I& e! g; W9 z4 y( X
  1775. ; http output encoding.- g, e& M6 h3 }3 S6 n0 }1 @
  1776. ; mb_output_handler must be registered as output buffer to function.; A+ H7 S( [! b# J: C$ K# G
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  c0 D" K8 S# o# B4 z# j& A$ ^2 t7 B2 l
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    % a  z+ H) D' N8 I- D
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    7 o3 N3 d; A9 W( R, y3 \( x
  1780. ; otherwise output encoding conversion cannot be performed." W3 |" r8 C# Z) R: y; y
  1781. ; http://php.net/mbstring.http-output
    " M8 t( Y* W# ~- _
  1782. ;mbstring.http_output =
    - r8 v0 M$ M: [8 g
  1783. % k" h. m3 k& ^
  1784. ; enable automatic encoding translation according to# ^1 ?7 E* c  Z: G* V
  1785. ; mbstring.internal_encoding setting. Input chars are
    - V# Y/ Q% V  p/ ]( }9 L
  1786. ; converted to internal encoding by setting this to On.* C' F. d% E: z' X' \+ {
  1787. ; Note: Do _not_ use automatic encoding translation for
    5 J* O5 E% f7 {# H
  1788. ;       portable libs/applications.2 s* p( E7 C3 h* t: y
  1789. ; http://php.net/mbstring.encoding-translation
    * ?  F$ c$ [/ k$ \
  1790. ;mbstring.encoding_translation = Off
    - E+ O7 Z- [  S: v
  1791. 0 c& x% i% j) d& @( G8 y4 l: t
  1792. ; automatic encoding detection order.
    " J7 Z* Q& t" v6 k) T, \
  1793. ; "auto" detect order is changed according to mbstring.language: k9 M0 @8 g0 `* W) `( |# M, J" L% f
  1794. ; http://php.net/mbstring.detect-order  }- l. `2 L3 I; l: b+ [; P6 W
  1795. ;mbstring.detect_order = auto
    $ ?+ A' \7 S& C6 {* l

  1796. 7 L# N2 i- H5 d! K7 X4 k
  1797. ; substitute_character used when character cannot be converted
    * \2 v2 ^4 f3 a3 e+ L; a9 D
  1798. ; one from another
    # _7 a/ |" g* d+ |8 s0 |6 q* }
  1799. ; http://php.net/mbstring.substitute-character
    2 Y6 t/ e! ]* m1 [8 y$ a/ w
  1800. ;mbstring.substitute_character = none; d0 d% I: w5 A& l* [
  1801. 7 F0 c* ^% u+ J/ I
  1802. ; overload(replace) single byte functions by mbstring functions.: d5 X7 |6 D, ^$ z) v0 ~7 r
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    5 R& A7 x. ?9 R/ X( X9 Q
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    - P1 {; J# S- e
  1805. ; For example, 7 for overload everything.  V/ [, |& D1 K/ F* m' n% o# k8 E8 [
  1806. ; 0: No overload7 Z' p2 Z5 J7 _% k3 G
  1807. ; 1: Overload mail() function
    8 v1 g3 ?. B& C& z/ y) o3 X
  1808. ; 2: Overload str*() functions
    ) b$ C; f  j5 y7 S: w& [
  1809. ; 4: Overload ereg*() functions2 d% B2 W; P+ U# I* m4 c0 ~. I
  1810. ; http://php.net/mbstring.func-overload/ H5 n3 K3 [4 c. d7 _  W8 _
  1811. ;mbstring.func_overload = 08 a9 @* A" H  g! ^! B- T) x  M
  1812. , i' T6 [3 _1 g# r7 x
  1813. ; enable strict encoding detection.
    1 ~+ o6 R; ^! [
  1814. ; Default: Off  N0 G2 Q5 g$ N1 L% p7 @
  1815. ;mbstring.strict_detection = On8 T' D% l" C6 K1 x- B2 r: G# ^2 Q

  1816. & V! n0 e4 W% ~2 j+ n+ R
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    0 e2 m- K7 R  a
  1818. ; is activated.
    4 J8 o, Z4 e/ S1 l
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)% s# T& v) {. D+ k; r0 H* A
  1820. ;mbstring.http_output_conv_mimetype=/ S& ?* _, s* N, w+ S
  1821. 9 [- F4 a) X2 ?6 G8 x% |
  1822. [gd]& {+ u$ I. I; m  t
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    , B- n2 n8 U: d, [
  1824. ; a gd image. The warning will then be displayed as notices
    0 I- d- B5 U. }# h+ j4 B
  1825. ; disabled by default
    3 l: x+ W9 d5 B- S4 L* C# a
  1826. ; http://php.net/gd.jpeg-ignore-warning; _6 [$ o) p+ I$ P9 ~
  1827. ;gd.jpeg_ignore_warning = 0: N  b7 Z' ~4 }  r
  1828. $ a! D5 _7 `( C
  1829. [exif]7 q" V! C" W" D9 b$ r  l! n. n
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.# R9 x. E2 D; L# k8 U8 l
  1831. ; With mbstring support this will automatically be converted into the encoding
    8 c) F; w1 s7 R$ B) i% N
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding# Y- ~9 D. Z( ^% a+ \- I* u) f
  1833. ; is used. For the decode settings you can distinguish between motorola and
    0 T) f, S. t6 V/ a! f
  1834. ; intel byte order. A decode setting cannot be empty.4 O% {$ [1 W# ^: }# X
  1835. ; http://php.net/exif.encode-unicode1 v1 u7 y( ?6 N7 p& M$ {
  1836. ;exif.encode_unicode = ISO-8859-151 s  n' M7 H; m2 a% {! X
  1837. ! e8 q( @1 d2 H4 Q: K" F
  1838. ; http://php.net/exif.decode-unicode-motorola
    * g1 w, v7 b: ~! M' d
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ; t. a0 ^. |% W/ s5 n

  1840. " O8 F! r' C2 t4 \7 e6 A, y
  1841. ; http://php.net/exif.decode-unicode-intel
    8 D4 v4 F! v7 W- y
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    8 E. D# W2 z" t( N. R  {

  1843. % G! ^+ s/ m! h$ W; c/ Z
  1844. ; http://php.net/exif.encode-jis
    - o# `2 }/ W# F0 K: b
  1845. ;exif.encode_jis =
    ( R' ]6 ~  O5 o$ ?2 j) Y6 S

  1846. " l) U1 x0 {  A  j  a
  1847. ; http://php.net/exif.decode-jis-motorola9 {9 E' ~  J' p! r$ @) @0 B
  1848. ;exif.decode_jis_motorola = JIS8 Z3 ]. Q% Q7 B' A/ h
  1849. 4 g8 c6 v% v2 Z9 ?5 j: h8 C
  1850. ; http://php.net/exif.decode-jis-intel
    ! Z" Z# R; z6 y3 o# U
  1851. ;exif.decode_jis_intel    = JIS
    / i! m, v! Z6 x5 m- t
  1852. , G8 x/ V# D) C1 s: u
  1853. [Tidy]% [  Y6 S' K1 l- x# Y, S0 {$ e
  1854. ; The path to a default tidy configuration file to use when using tidy
    7 C6 _# m' I% p- \" _
  1855. ; http://php.net/tidy.default-config
    ( i( X7 S1 F9 W
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
      l% d1 j/ ~1 J* ~/ |0 P7 D. s. z

  1857. 5 M, U6 p# y2 O# A$ l
  1858. ; Should tidy clean and repair output automatically?1 ~! ?- o6 l0 ~6 y- e! L" k! R
  1859. ; WARNING: Do not use this option if you are generating non-html content! V/ x9 [6 ^9 `7 W) r8 Q2 ]0 ~& d0 j
  1860. ; such as dynamic images$ Q$ k! i  [' q) @2 c& J9 t
  1861. ; http://php.net/tidy.clean-output
    2 H- a! J5 |. t6 e  q
  1862. tidy.clean_output = Off
    * ]4 j: b1 ]! p+ N. ]( p0 A: I6 [
  1863. ( m% n4 y8 f# W0 ^. V- Q
  1864. [soap]7 Y, J, S7 c$ s) V" |7 D. p/ T
  1865. ; Enables or disables WSDL caching feature.
    & n  \/ V, ?" Q1 i8 K9 @
  1866. ; http://php.net/soap.wsdl-cache-enabled
    & x/ [% {  L+ I0 x7 t9 a- T8 w
  1867. soap.wsdl_cache_enabled=1
    : O; M4 M+ ?/ x4 u2 U% D# F9 f
  1868. " C# l2 }  v9 [" A' G) C/ j# F
  1869. ; Sets the directory name where SOAP extension will put cache files.
    8 Y, n# @6 s9 l# Z6 m
  1870. ; http://php.net/soap.wsdl-cache-dir" F& \2 c5 h+ |6 I( ^; r" o, w
  1871. soap.wsdl_cache_dir="/tmp"
    ; v3 A5 B5 o1 V8 c- P

  1872. 0 H- r, Z( N! i( {) ~( ]4 v6 z
  1873. ; (time to live) Sets the number of second while cached file will be used8 ~% E8 G7 ?) m( H  \% B! H) W
  1874. ; instead of original one.
    * K! L; C7 d8 T' n: i$ p6 W
  1875. ; http://php.net/soap.wsdl-cache-ttl
    # o  Z+ `1 l: V4 \
  1876. soap.wsdl_cache_ttl=86400
    $ O3 e1 m+ e1 }* s8 n# g; [+ l

  1877. , r8 r1 i( `8 f- |; w6 a
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& m7 a2 y' B; q7 r' @9 ^$ S
  1879. soap.wsdl_cache_limit = 5
    : j" |& s' {! u0 j2 R5 C/ x
  1880. % Z' C  x' c. |
  1881. [sysvshm]
    + T0 X$ A8 k+ m" C" U
  1882. ; A default size of the shared memory segment
    6 {8 T9 d: h/ Y2 x# t  g4 P% g
  1883. ;sysvshm.init_mem = 10000* A$ V2 t: m& d  B3 ?- Z0 v

  1884. . }' a4 w- h& N# U. _8 K2 c
  1885. [ldap]- H9 r' Q- }  S/ M# `
  1886. ; Sets the maximum number of open links or -1 for unlimited.  B1 C: D. x0 m& n+ W4 r8 v$ \( \7 A7 ?1 N
  1887. ldap.max_links = -1
    : M' S- l6 Q8 k
  1888. 4 @& t% [% p3 b3 v% g, L
  1889. [mcrypt]+ a9 {5 S, R9 l& ?! Z, a
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    , T' X* l9 ~5 o% S

  1891. 2 g* w- X" g1 M1 x$ l
  1892. ; Directory where to load mcrypt algorithms
    4 O8 M* b5 S; t0 U% h) B# @" o1 f
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 ~) n0 m9 ~* [7 d# M" V$ T
  1894. ;mcrypt.algorithms_dir=
    7 W. Z+ ~( |8 y% l2 Y% _/ Y- L

  1895. 6 x) y  R; E# E
  1896. ; Directory where to load mcrypt modes
    " \6 _' {) [" ^- O/ G9 }3 G* [( ^
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ A1 X! U8 K7 _. y5 D4 k
  1898. ;mcrypt.modes_dir=' u: K+ Y! W+ B; a
  1899. # V* J5 F1 x3 U4 c' j' `) H
  1900. [dba]
    * j- P  i& L. z, U3 X9 v6 F
  1901. ;dba.default_handler=
    % i# [5 m& f# ?. }

  1902. ( E' E& P: e( H8 ]; O
  1903. [opcache]0 q3 R2 {7 F& l$ g- R! b* P* _
  1904. ; Determines if Zend OPCache is enabled6 o* Q# g. w1 H" h) D. E& \
  1905. ;opcache.enable=0
    1 u  {5 q+ ^/ v9 |( x

  1906. 6 _7 x0 _; m3 ^8 k' R
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP) i9 V3 M' ]. R; R) a8 d
  1908. ;opcache.enable_cli=0
    / f% u- P# F( D0 F

  1909. ; j+ E/ ~' [# C" ~6 M
  1910. ; The OPcache shared memory storage size.
    - o  T+ h( u7 `
  1911. ;opcache.memory_consumption=64
    0 x+ N6 A5 d, [
  1912. $ O2 l( V, I" N! t- m5 l5 {
  1913. ; The amount of memory for interned strings in Mbytes.) F4 A8 [) o' O
  1914. ;opcache.interned_strings_buffer=4' k0 ]* j2 }1 f2 G! l* c

  1915. 2 E4 e* t# a# y7 T
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    2 B1 A+ Y" T* w: i
  1917. ; Only numbers between 200 and 100000 are allowed.+ m4 X9 ~6 E3 u% G
  1918. ;opcache.max_accelerated_files=2000
    ) ^$ E: R- q, s/ T1 i# d. }: m

  1919. 8 [$ I( p8 a) q5 g4 R0 W
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.: |. d) k1 ~7 C4 `9 v( ]
  1921. ;opcache.max_wasted_percentage=5
    2 O8 B- O- H6 |) X( L9 p

  1922. $ `* I3 v# {) a, Q/ Z
  1923. ; When this directive is enabled, the OPcache appends the current working- y  Z' s9 v" x5 @$ X% r9 E
  1924. ; directory to the script key, thus eliminating possible collisions between
    7 J+ H; g: s; U
  1925. ; files with the same name (basename). Disabling the directive improves& i; f  j, G% @  ?% {
  1926. ; performance, but may break existing applications.
    , B7 l- ]1 \8 _9 L" w9 b
  1927. ;opcache.use_cwd=1
    3 M# q8 F/ h5 K0 w5 F1 L2 g7 Z' A
  1928. 1 J. a( R* e/ c: E! ?' F6 X+ z
  1929. ; When disabled, you must reset the OPcache manually or restart the9 Q3 F1 @6 p: K! o
  1930. ; webserver for changes to the filesystem to take effect.
    ' J5 |! g, `2 R0 _/ Q' B
  1931. ;opcache.validate_timestamps=1
    " ?7 }  Y& F" I% m7 ?. d( e
  1932. " @: p$ z1 j0 K2 _
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ! o6 ]  N) {5 _0 \" H
  1934. ; memory storage allocation. ("1" means validate once per second, but only4 a7 I2 b  I6 r0 u: P2 _
  1935. ; once per request. "0" means always validate)+ M3 {& O7 L/ X' |
  1936. ;opcache.revalidate_freq=2
    4 V; E' j8 N0 T/ o6 D- q

  1937. 2 N: H2 [- p, E+ ]
  1938. ; Enables or disables file search in include_path optimization
    # x. f6 ?+ o  q4 x5 D' S& \+ ~& x
  1939. ;opcache.revalidate_path=0  _9 I; w6 Y" t, V; j

  1940. : N. f* J7 ~4 h; G. F
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the  d; C5 K  u5 F2 z% N
  1942. ; size of the optimized code.
    : L1 a  H0 Q6 P; ?) Z
  1943. ;opcache.save_comments=10 ]! w& ?, l# h
  1944. & F, D6 g0 ]0 R( D! y5 p; p
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    $ ?0 _0 n" c5 X1 O  _0 j* }
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    3 g. O* t- |9 D5 u. F% I+ v
  1947. ; that don't need them anyway.
    ( D& z! z0 X* G! e! M- {
  1948. ;opcache.load_comments=19 _' `  J; o1 B& ~& s! X
  1949. % R6 P2 c5 h2 z* ]. U/ y3 K
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code5 a- m+ B) A6 B. O; X
  1951. ;opcache.fast_shutdown=0
    * {; J2 d5 j. t

  1952. ' }% |9 e4 Z) T: q) B. G) m: ?. T8 K
  1953. ; Allow file existence override (file_exists, etc.) performance feature.8 G" `3 f, b: ~& G2 t+ p8 g
  1954. ;opcache.enable_file_override=0$ P, M+ J! E+ ?. ?( Z

  1955. % k1 {) k6 H- N5 m) {) A0 B
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache+ [  h' j0 h: ~& O
  1957. ; passes
      k  t/ \/ v! q' p7 E
  1958. ;opcache.optimization_level=0xffffffff
    ' ~4 {9 P( ]7 R! u2 X7 Z
  1959. % U9 a2 e. P8 N2 G( h
  1960. ;opcache.inherited_hack=1
    * a" G8 G2 ?3 Y! N6 b
  1961. ;opcache.dups_fix=0  Q( Y0 ?: w& w0 C

  1962. + p  N/ Z0 P8 \
  1963. ; The location of the OPcache blacklist file (wildcards allowed).8 A7 W. b- d" M% y; P# Z1 e0 X
  1964. ; Each OPcache blacklist file is a text file that holds the names of files' u2 m: B; }4 F( N! O& Y! P1 \
  1965. ; that should not be accelerated. The file format is to add each filename0 S8 \, T  I" R: Z& E  }7 v) c
  1966. ; to a new line. The filename may be a full path or just a file prefix  R' p% ^: `" `7 l6 b
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www7 P$ l/ i2 E8 ^9 i9 D* Y
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( r# d/ N, k7 G' u8 \$ r
  1969. ;opcache.blacklist_filename=
    $ U, t' x! l+ q2 `1 ]2 ^7 b
  1970. 7 k: d% w- y( Q1 X9 A
  1971. ; Allows exclusion of large files from being cached. By default all files
    3 M7 H4 c; a* `+ {
  1972. ; are cached.
    & A. O- T% t# l/ L& @6 w" b: r
  1973. ;opcache.max_file_size=0: g  m3 `- g) I

  1974.   Q# K9 i: |# Z0 W8 X0 r5 x
  1975. ; Check the cache checksum each N requests.; j/ i* T2 [' V" F, S
  1976. ; The default value of "0" means that the checks are disabled.
    * S/ V! C" t2 O, Z
  1977. ;opcache.consistency_checks=0
    8 X$ d7 A# c) b3 N- f+ o

  1978. ) m+ C5 @6 ]- @" ^9 H/ B
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache+ ^6 c1 R; }( s' A8 X
  1980. ; is not being accessed.
    6 H0 {' m2 l5 P/ P( Z$ A
  1981. ;opcache.force_restart_timeout=180
    + e: e3 w; S, C$ U) b& E

  1982. 6 l5 ?7 Z4 L; j$ e. _! [- d
  1983. ; OPcache error_log file name. Empty string assumes "stderr".$ x. n8 M; y1 f3 c6 ?; i
  1984. ;opcache.error_log=
    ( U" b* y7 ~8 _' w
  1985. 1 a; P4 n9 Y, ?9 y# O# ?
  1986. ; All OPcache errors go to the Web server log.0 U" F' @. G. \, p# W; ?7 A
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 ~4 x& o2 s6 E0 O' D7 b3 k
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    " B8 U. `$ Y) ~$ T6 [! L
  1989. ; debug messages (level 4).
    9 C* ]4 U4 ?* X4 M
  1990. ;opcache.log_verbosity_level=1, s- ?0 }; r5 Q+ J6 E+ f
  1991. ( _7 y$ N8 }: e8 q0 `' k% }
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.1 ]3 i% V' y2 y* F% \1 S& E
  1993. ;opcache.preferred_memory_model=! S) S- m8 @2 U

  1994. ) s/ W+ n% R5 `& q% q/ [
  1995. ; Protect the shared memory from unexpected writing during script execution.
    : S- N5 {1 }8 D/ @7 g( |3 ^# f
  1996. ; Useful for internal debugging only.
    8 ]4 T" {7 h# c
  1997. ;opcache.protect_memory=09 l$ j7 h& D* Z1 F3 ~. r

  1998. + b  W  J# k# M8 H! @3 m
  1999. ; Validate cached file permissions.% L: x5 S8 S+ Q/ z+ R2 K
  2000. ; opcache.validate_permission=0$ u7 y  W& K' x, N! ^

  2001. : ]  r& i* {; ?
  2002. ; Prevent name collisions in chroot'ed environment.
    + e0 {0 W; B+ \3 \+ s
  2003. ; opcache.validate_root=0( M6 B' U; G! ]# X. }5 x3 r
  2004. * w9 Y; h, E1 w" {
  2005. [curl]& B# e5 ]" T7 O3 K5 w
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    . m/ l) [6 @, I+ o; l. e( m
  2007. ; absolute path.
    ( L" P. Y4 \7 X# x$ C  U, b
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ' @8 I9 D- G( x1 v5 y
  2009. " T7 m. p/ W( q: k3 W/ n5 k8 }! r
  2010. [openssl]
    - |  I+ b1 }3 K
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem5 v5 e3 ]+ N( C
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % t0 S6 t( {) ^/ X' d( R) W- R: V
  2013. ; not specify a value for this directive as PHP will attempt to use the7 |1 U$ @2 b& K. i5 _
  2014. ; OS-managed cert stores in its absence. If specified, this value may still5 W( n. c9 {7 y/ \
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context- v: o. @0 K1 F) n! X0 K4 r& E3 c
  2016. ; option.
    8 x  a/ z& C. e4 I
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 ^7 @$ Q" z* T
  2018. 0 H( D1 }5 w- J& o8 u2 _6 N! I
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    # P3 f& I' L* C! I! h6 ^" G
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    - K4 k+ _1 o9 w, P; ~) }6 ]
  2021. ; certificate. This value must be a correctly hashed certificate directory.2 D# o  ]: e" D
  2022. ; Most users should not specify a value for this directive as PHP will) Z9 [2 J  [  t5 C
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    8 x. N# ]* ?: T$ \3 p) {' x
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    + l/ l+ W% U0 B/ E+ L
  2025. ; SSL stream context option.
    ( K- b" M. k# J5 ~
  2026. ;openssl.capath=
    4 w% f+ ~$ K/ q( j8 z+ K

  2027. # U5 h6 f+ m' M
  2028. ; Local Variables:5 [$ ?- ~0 |" s; q/ A% k; A# ]$ o
  2029. ; tab-width: 4
      x9 d2 \9 M( [' @( ]2 m1 c
  2030. ; End:3 x7 X0 Q; F' Y: X( N1 h1 Z
  2031. * ]( U2 o' y+ w* K! ?  M+ M
  2032. ;eaccelerator1 O  D6 q# g. ~' |9 O! ~

  2033. 8 B/ d4 ?' V9 V8 S( h+ f; l
  2034. ;ionCube
    . \$ q7 `# \6 a+ w

  2035. + h0 }9 ^. t# b
  2036. ;opcache
    " v9 U4 F  ~' M9 E  s
  2037.   R& _! y. a  T2 K- V8 D5 B
  2038. [Zend ZendGuard Loader]" P. |3 s3 ]! Y8 ^8 N8 r/ A
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . i9 u: u( A. |5 Y5 p: |. D5 E
  2040. zend_loader.enable=1  u- p8 s3 q* O* B$ ^" l4 s* ^
  2041. zend_loader.disable_licensing=0
    & @/ }9 w: q# a  P# P6 [5 ~9 B
  2042. zend_loader.obfuscation_level_support=3  ~" [$ k6 v% ^$ d7 b+ ]
  2043. zend_loader.license_path=
    $ x# o' q7 {4 e* X# N

  2044. 8 o& L& n; y5 s3 @- M! x# g! G7 w1 p
  2045. ;xcache
    $ [6 p  x4 P* v* y
  2046. & {; m& @, A" R0 ]; y
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692  N7 l8 W, q2 v

& Q% ?- m$ a1 I+ z3 z' G  R$ s$ M% t) x1 Z$ Z! k5 E% S- |
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,' x" }6 v* V$ B# T2 Y3 D7 l/ G

& l. X0 o+ H+ ]# m9 O3 F; MDiscuz!程序版本选择:
" _/ v7 n5 ^) G2 p/ I& F站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,' Z. o( x7 A6 {1 o, v( c; N2 ~
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:* G1 P/ D: q+ P
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。
1 A6 d4 s( r4 @% A
( u2 o, j" d  N; n$ {! M8 fDiscuz!插件模板版本选择:; C% p+ f/ X6 q2 ^# C$ p
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,+ F) U- O  B+ R! \2 C0 M
针对这个问题做个统一的普及:1 G8 V) I$ \8 Q$ t# O
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
9 [( O6 G# K' a& J) W' C
5 E; s) e3 H+ S# d; W( B所以) e" h& D) c- O$ _/ j# U
适合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的二级域名。& t0 Q( h* i6 h! k; O9 X7 J, Z
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
4 g- B) S- N, J* j4 O注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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