分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0, ?, v% x& Y+ V& r
& c( s( Y, Q/ w/ u
  1. [PHP]
    ( m5 q2 I8 d: y/ U/ x% ~) f) O  J

  2. 5 Y2 F& T5 Y9 a3 e* T; Z" I
  3. ;;;;;;;;;;;;;;;;;;;
    / ]3 M: h2 l: F: S$ w8 N
  4. ; About php.ini   ;  e/ s# y+ V8 F, q+ F! N
  5. ;;;;;;;;;;;;;;;;;;;8 S7 U& f/ _0 H4 b9 C. Y& l
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    9 o1 s% G5 t) V/ U6 u# I% P
  7. ; configuring many of the aspects of PHP's behavior.1 n6 D/ K8 k1 ?" H6 m# a& U# r. d
  8. " g" b: k. S( v8 d; U! n9 }6 }* `4 `
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ' k5 {; u1 g  u" K3 J9 R8 s. J( y
  10. ; The following is a summary of its search order:: B9 w# T0 J. W2 F2 d) S  O
  11. ; 1. SAPI module specific location.
    7 W" d. [" X1 E
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)$ G  P5 M4 o+ f9 x& v( s
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / t+ c+ m, d2 O4 o0 {7 j# h
  14. ; 4. Current working directory (except CLI)$ t* y* b& J$ X# n; e# Q4 \8 i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( `' g; V. x" U3 Q' U, B& F
  16. ; (otherwise in Windows)- s$ e2 q  ~7 O! r7 V
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- z' Q% A6 N! l7 X0 W7 I
  18. ; Windows directory (C:\windows or C:\winnt)
    * D8 {  h2 D! K
  19. ; See the PHP docs for more specific information.
    . u9 [- h$ X$ z- g7 b9 K  l
  20. ; http://php.net/configuration.file
    % T- E! D& P# g$ R3 f

  21. ' b) O4 B+ b* n7 K4 v5 ]6 r& h. v5 C
  22. ; The syntax of the file is extremely simple.  Whitespace and lines/ W: b3 U/ I2 E: b% F
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 m9 B% l- v; h# b: H4 K
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    5 z. d  j2 e3 S9 E
  25. ; they might mean something in the future.' u7 a  F0 c/ p1 Q- [
  26. ; i. f: e+ H  q
  27. ; Directives following the section heading [PATH=/www/mysite] only) [: x- R8 v6 y& }6 j% r
  28. ; apply to PHP files in the /www/mysite directory.  Directives, D: V) q; }. @' ~8 m1 e
  29. ; following the section heading [HOST=www.example.com] only apply to% c1 t* v9 H; f, O0 @
  30. ; PHP files served from www.example.com.  Directives set in these
    & O% X9 S% U! _4 p$ f/ |% u
  31. ; special sections cannot be overridden by user-defined INI files or
    * F/ ?7 G6 w4 |: J
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under- P( t" g, M1 }, p
  33. ; CGI/FastCGI.* G( k7 I7 [. z2 i+ t: v1 M
  34. ; http://php.net/ini.sections- o+ a+ L6 O+ p$ f- l4 X+ r' Y
  35. % \( a& O$ b; ~* Q
  36. ; Directives are specified using the following syntax:$ @4 y, ^2 N9 m. U5 s
  37. ; directive = value
    7 r5 ~6 l0 G, ]9 f! c4 Y" k1 ~! a
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.& R: s' M( q: H+ {  T8 P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    1 d* H5 E) G8 E5 |2 u, V
  40. ; There is no name validation.  If PHP can't find an expected
    - M0 @! d- }/ _: F$ I7 Z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    4 S' L8 O% f9 j0 z

  42. % ]4 f& {, m( }2 k3 f$ m( J$ A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one9 m( `: }: i" y, O, O* c1 ]
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    # X* j8 |1 r" M7 c% s; m
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 z8 `2 e$ u2 G/ Z$ k3 A0 }6 h
  46. ; previously set variable or directive (e.g. ${foo})+ U3 X) J! o' u! U4 q

  47. 6 `4 g$ G/ c; G  d# \) F7 W; M
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:& ^" Q; x& H9 H2 K, G) q# _+ Q5 R
  49. ; |  bitwise OR% [6 C% b" i+ N( u- S3 c( X
  50. ; ^  bitwise XOR) j' |) D. [+ |) P+ v: O
  51. ; &  bitwise AND
    * u4 ~: F( }& X" J# p% ]8 t' s
  52. ; ~  bitwise NOT' I. {/ E% A- T' L2 Z; {: r3 E6 `7 f
  53. ; !  boolean NOT
    / Q) z# A9 v( d" s; }
  54. / q$ A2 Y. k' J. C$ E" K
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 j7 \8 Y2 A0 h' C0 y6 c1 e
  56. ; They can be turned off using the values 0, Off, False or No.) @( F8 Z3 Y# r" ^7 f
  57. % K( H9 n+ r7 H( }5 q
  58. ; An empty string can be denoted by simply not writing anything after the equal3 r* |3 T1 }2 c" \  f
  59. ; sign, or by using the None keyword:
    ) }+ f, X; K5 d5 g
  60. ; ~7 W9 D% j1 T) Y
  61. ;  foo =         ; sets foo to an empty string0 l: P9 d/ |5 b8 d& M" n; Z8 f/ U
  62. ;  foo = None    ; sets foo to an empty string
    % U4 @' {9 ~9 r( G8 {
  63. ;  foo = "None"  ; sets foo to the string 'None'
    7 V6 _- Q2 H. v- t6 I# X

  64. / M. l( E8 e7 c2 o
  65. ; If you use constants in your value, and these constants belong to a
    . g2 _8 N% o' g$ E+ @
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),: c# B/ w4 y7 l  Q" b+ Z+ K
  67. ; you may only use these constants *after* the line that loads the extension.1 x  d6 @' @8 }6 g8 S8 v* Q, Y
  68. 6 K* g! W! d- [" N# C  l  C8 K- k
  69. ;;;;;;;;;;;;;;;;;;;
    % H& m1 N7 c& l
  70. ; About this file ;4 V& O: W; q& D4 _$ X9 o
  71. ;;;;;;;;;;;;;;;;;;;
    * a: o# t2 V; f- ]. m
  72. ; PHP comes packaged with two INI files. One that is recommended to be used& ~! c& L5 t) l: z
  73. ; in production environments and one that is recommended to be used in
    ( q1 a* k% t' Y2 N& ~9 x0 z1 r6 `
  74. ; development environments.7 n2 |6 ?& e% n3 p9 ]4 a- |. C6 ^. r

  75. : W% e  |$ S* w3 n9 i+ F
  76. ; php.ini-production contains settings which hold security, performance and/ n% `4 Y; `7 m" {  `% V
  77. ; best practices at its core. But please be aware, these settings may break
    ' z, Y( w  ], N
  78. ; compatibility with older or less security conscience applications. We
    - o  y+ b' E3 f$ `7 x$ o& E
  79. ; recommending using the production ini in production and testing environments.4 \7 N6 V8 U6 c  U. `2 \

  80. 7 T3 d" |: l! |
  81. ; php.ini-development is very similar to its production variant, except it is
    ' G& n) M3 L  v( L; t! E
  82. ; much more verbose when it comes to errors. We recommend using the4 K! Q5 Q  X# P& d$ ~
  83. ; development version only in development environments, as errors shown to: A2 u5 O0 [* I* V- R2 i0 J/ ~
  84. ; application users can inadvertently leak otherwise secure information./ \! O/ W. T4 J; L. u

  85. 9 S" u$ J1 i) r7 g6 K
  86. ; This is php.ini-production INI file.
    / D( p% h7 Y% y2 F' l! q

  87. + u& B" U, n, @) K" d; y! x& Q! w
  88. ;;;;;;;;;;;;;;;;;;;
    % v4 k6 q+ ]8 c8 p3 S) d" e% i
  89. ; Quick Reference ;
    ) w4 D8 j) w( m8 s( @$ v" N  X
  90. ;;;;;;;;;;;;;;;;;;;' i7 J; _) E7 u1 f0 y
  91. ; The following are all the settings which are different in either the production& G' W+ f" n. h) ^0 B% v7 `# Z
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / l! @* y# m  a+ n- V% H
  93. ; Please see the actual settings later in the document for more details as to why- L- g9 X3 V+ c3 z
  94. ; we recommend these changes in PHP's behavior.
    4 x: [' a+ ^! F" S6 V0 Q0 c$ [) \
  95. ; O2 i3 w$ k( n/ L% t# n  b
  96. ; display_errors# O7 y* m2 b3 B$ V/ T
  97. ;   Default Value: On
    ' U# o6 j  ?) d, Z
  98. ;   Development Value: On
    ( P% n" F. j; X) R0 I3 r1 N
  99. ;   Production Value: Off
    ; I) j6 h: H: j1 o# S9 D
  100. ; k+ Q2 C. U3 ^: w$ Y3 b
  101. ; display_startup_errors+ Y2 G- y2 _2 T2 @5 o0 w2 Q
  102. ;   Default Value: Off! [* x: a# A; o2 k8 F$ p
  103. ;   Development Value: On
    % L# Q6 y" B/ m& [6 @$ M+ s
  104. ;   Production Value: Off
    ) {: C5 x- |$ D/ F8 _) d* V4 k

  105. 7 z$ p, H0 y3 u( e9 v
  106. ; error_reporting2 g; P/ e8 C( G- ^8 I* D
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / ^1 q: @3 S, Q4 X8 o4 l% n
  108. ;   Development Value: E_ALL8 v* L7 E- F0 V4 O! S1 |# _
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT6 D) G' h4 v0 F) C: s
  110. / ^. Z2 ~1 d# U( B9 O2 L
  111. ; html_errors
    5 N$ M( r* |( I. s2 J2 V
  112. ;   Default Value: On8 V6 Y2 g: t$ b$ y! I% V4 w5 K
  113. ;   Development Value: On
    3 ]+ ~4 h: `, ^/ Z6 J# f% `5 Q, ~. g
  114. ;   Production value: On% V/ @2 y* T! S- G- T# ~

  115. ! U! ~& c, S' Y  q( S5 X, F
  116. ; log_errors
    " k$ S" H  C% _  J, m
  117. ;   Default Value: Off
    % u& t( `5 w, P; |6 ^6 ?: m; l
  118. ;   Development Value: On# p/ T+ t! u3 t0 P9 ~
  119. ;   Production Value: On
      M7 k2 c$ W. b( {# ?

  120. # i- [- j4 s& o' J, X" {# P! p
  121. ; max_input_time& H. \# W9 y5 y  l% T$ q
  122. ;   Default Value: -1 (Unlimited)! g( ~0 u: b8 a5 A# e2 t9 l
  123. ;   Development Value: 60 (60 seconds)
    8 w! I( S, u  K9 q
  124. ;   Production Value: 60 (60 seconds)+ H/ E& M5 S: q5 k; w
  125. 8 M+ z: b1 Q9 y  D6 b% F
  126. ; output_buffering
    - Z& B3 h$ W) w7 X2 g5 {
  127. ;   Default Value: Off
    ( w: P3 V# ?' V
  128. ;   Development Value: 4096
    1 H+ U$ E8 z, C) d* Z& B
  129. ;   Production Value: 40965 G5 \' c, t+ W. a
  130. # X7 a2 m4 Q( @8 q5 Y: y: W
  131. ; register_argc_argv' K& G3 t. ^+ `9 w8 x* B' i  [- V
  132. ;   Default Value: On
    1 x1 G* p* b% _1 e- `
  133. ;   Development Value: Off( x" f  [. }9 [# i! V, ]% I
  134. ;   Production Value: Off
    3 r1 [1 H$ n! N' m, j0 j
  135. 4 }' `8 o8 S. w% ]
  136. ; request_order- W$ O0 w4 [8 C3 Z, g
  137. ;   Default Value: None
    , o. e. I2 ]1 I: ?
  138. ;   Development Value: "GP"0 ], j! D$ j# g- O) R+ n- P5 @/ Y
  139. ;   Production Value: "GP"
    4 x& h: G# m2 z- U. x
  140. ( o( @: {+ {  N. `  D
  141. ; session.gc_divisor9 Y. R7 \3 _" L: F! c7 F7 ?
  142. ;   Default Value: 100( f7 d, C  `/ ~+ T) i$ W
  143. ;   Development Value: 1000/ c) N6 K9 |7 W6 k$ i
  144. ;   Production Value: 1000
    0 U0 _1 P  ^* G& k( P9 }

  145. 3 Y5 C3 N. [/ Z
  146. ; session.hash_bits_per_character
    + s, q6 R, p% n4 q
  147. ;   Default Value: 4
    ) ?7 F% r2 D% Y# o- f
  148. ;   Development Value: 5
    * _- K# m2 g+ G9 S' J0 e; F
  149. ;   Production Value: 5. b- ^# A; j0 `3 b( U* @* @) Y
  150. 9 `1 s4 w4 x/ V2 U$ _9 v' D2 N
  151. ; short_open_tag9 ?. w: H1 D% ?& F# d
  152. ;   Default Value: On$ S+ y( I, ~7 _3 L+ z
  153. ;   Development Value: Off. L- l5 D9 J2 j+ V
  154. ;   Production Value: Off
      K/ I) [8 p0 E" M% r) b8 N

  155. / {8 G& D- p  D
  156. ; track_errors
    1 S/ ?& s8 F8 e4 n$ W; ~8 r
  157. ;   Default Value: Off
      o3 |* g& k2 S& S
  158. ;   Development Value: On
    ! p& a, k& O* j
  159. ;   Production Value: Off
    1 a2 |0 y" M/ r6 ?) p4 b4 F2 D' T

  160. ; U+ r) v+ J8 N* [& Z' u
  161. ; url_rewriter.tags
    * s) |$ N5 I0 {2 ]0 T. |
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="9 }7 }% w5 W  j
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : F3 X; N6 ~# s$ A
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& a7 N( K4 k6 k6 W/ M5 C0 h* u

  165. + u$ y& d) }$ P( y
  166. ; variables_order8 B4 R) X3 v- b  m2 e) ^
  167. ;   Default Value: "EGPCS"
    ; v9 a5 {* `* R  f% C: z7 ?' |( t
  168. ;   Development Value: "GPCS", M, f1 W, W! G9 A1 b
  169. ;   Production Value: "GPCS"8 ^/ \4 v+ r& X. N6 \

  170. 6 G) e( N* r: ?% \
  171. ;;;;;;;;;;;;;;;;;;;;
    + T7 A9 m+ b# s- v; x- Q  e( s
  172. ; php.ini Options  ;: Q. \  d3 ?3 X
  173. ;;;;;;;;;;;;;;;;;;;;9 |* V7 @5 R6 e9 G7 m' D" \: ^
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 I" h4 z1 p3 x- j/ s
  175. ;user_ini.filename = ".user.ini"/ U5 r& D) C- ]
  176. ; B6 [, \! z; _6 F2 z
  177. ; To disable this feature set this option to empty value
    - T( F8 x6 h- N
  178. ;user_ini.filename =
    + F" ?- ~  S6 b

  179. . l9 ^# j: e) N2 F& j3 Q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  s' I, A8 o$ ~9 B+ A% Q( S
  181. ;user_ini.cache_ttl = 300# E& B+ ?+ `9 A- F& K* A& d
  182. $ r8 i  O$ L  ], f1 o" w' _/ K
  183. ;;;;;;;;;;;;;;;;;;;;+ E/ c  Q5 ^7 l. E" L* ]4 F
  184. ; Language Options ;# `& K9 Y: U7 O, l- N! l5 v8 z
  185. ;;;;;;;;;;;;;;;;;;;;
    ( [9 s" N7 \3 r

  186. 2 D2 R8 E  d: `, ]2 D2 h9 f* Y" r3 h
  187. ; Enable the PHP scripting language engine under Apache.
    2 c; @5 C0 D8 P; }% t* ~
  188. ; http://php.net/engine; u& p% \" p/ U  \# ^- D4 k" @- [
  189. engine = On
    . c5 s6 F# Y  R# n( H8 P1 P
  190. 9 Z% ]% I* g' X% V& `
  191. ; This directive determines whether or not PHP will recognize code between
    " E8 C, X" N$ }8 [
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 v. u* j% V0 X' r  y
  193. ; generally recommended that <?php and ?> should be used and that this feature
    0 F5 t: `2 [& @4 v
  194. ; should be disabled, as enabling it may result in issues when generating XML5 H; K4 I9 ]% L2 s
  195. ; documents, however this remains supported for backward compatibility reasons.) k# e+ A' A! E' j0 {6 z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 D# x. o/ K$ l8 W; Q) m
  197. ; used regardless of this directive.2 |3 J, b. L4 Q0 N+ _
  198. ; Default Value: On3 K; S  V) }5 H# V% H
  199. ; Development Value: Off
    - ~  z7 J/ b/ s
  200. ; Production Value: Off; n$ n: \- e+ g( L% M. X( |
  201. ; http://php.net/short-open-tag
    ! K( c! `6 v: H* {
  202. short_open_tag = On, L% ^. L  N& r, g

  203. 1 j/ V4 E2 e/ v0 s1 t& O7 T1 m
  204. ; The number of significant digits displayed in floating point numbers.* W) j  i4 c/ ^: I' o) g( n
  205. ; http://php.net/precision" T. c# P  ?' f5 B. F
  206. precision = 149 q+ D$ Y- |- ?' n' E

  207. 8 f3 U: S; B+ X7 r1 W- S! r4 K
  208. ; Output buffering is a mechanism for controlling how much output data$ M" V. r- v9 L* g3 @
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that' I; x- a9 h9 O! g' j( g( M
  210. ; data to the client. If your application's output exceeds this setting, PHP
    2 ]5 W8 K2 u3 }
  211. ; will send that data in chunks of roughly the size you specify.+ o; T1 n3 p5 N$ r6 |: p
  212. ; Turning on this setting and managing its maximum buffer size can yield some/ b+ I, |/ b6 ?; g, M, F
  213. ; interesting side-effects depending on your application and web server.5 L7 a) g, K8 B) c! {
  214. ; You may be able to send headers and cookies after you've already sent output* \& S9 M' c2 {6 L
  215. ; through print or echo. You also may see performance benefits if your server is
    % h3 P/ u+ E  c
  216. ; emitting less packets due to buffered output versus PHP streaming the output7 s5 B, H6 [# c" w- w8 e9 W
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( q& j. s1 T' F; c* u& x1 N1 M
  218. ; reasons.
    ! m- S: U* H% n4 P1 ~9 |) q3 g
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    # y8 l/ z0 M2 W- q) V& K$ F
  220. ;   functions.3 l; D7 d# D0 k, U, j
  221. ; Possible Values:
    * d3 P* M7 K6 p1 ~- ]( v. d
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)8 P% a1 y/ ~( T$ z. _  D
  223. ;   Off = Disabled4 c7 S% x4 f. ]0 D
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' n% W* Q4 t2 f% n3 j3 q" _
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 I8 w$ t) l1 Y) f3 {0 K
  226. ; Default Value: Off
    8 n( z4 q5 n$ J
  227. ; Development Value: 4096
    0 \9 {5 @& k, O- L5 U& |. m
  228. ; Production Value: 4096
    ; `0 o5 @# X( _' u4 R9 K' o/ z
  229. ; http://php.net/output-buffering" C; S" O$ {2 g8 v
  230. output_buffering = 4096
    ! I8 D, X: x0 }9 X3 ^3 a& u  C
  231. 7 h9 i* r5 t7 m; z3 O6 u
  232. ; You can redirect all of the output of your scripts to a function.  For2 \( Q0 J: {  W7 V: j2 V  @
  233. ; example, if you set output_handler to "mb_output_handler", character. u5 N- p) p5 O6 T
  234. ; encoding will be transparently converted to the specified encoding.
    5 A5 w1 k( e) ~9 a& K4 M  X
  235. ; Setting any output handler automatically turns on output buffering.( l" x2 ?- G# I) }
  236. ; Note: People who wrote portable scripts should not depend on this ini2 u3 ^' R5 i5 W9 Z7 w5 z
  237. ;   directive. Instead, explicitly set the output handler using ob_start().) o. |( G- D& x- C8 l$ {8 B* x
  238. ;   Using this ini directive may cause problems unless you know what script
    2 D2 a( T3 S2 c( v) c/ H- v' {
  239. ;   is doing.
    ; V0 T9 G9 m" _! l& U# y% u! U
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"* Z/ B, |# [# N6 ]& g; C: [
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# b/ F6 [- }  D& n" A+ z$ K
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    & p: [5 P6 w1 c2 R0 q1 C- z: R! [5 l
  243. ;   Instead you must use zlib.output_handler.
    2 z1 }" [4 V" c! b. i6 N- w1 c+ r
  244. ; http://php.net/output-handler
    : F; Z. i# B' }2 ]+ s3 S, z
  245. ;output_handler =
    # H) \, V2 d/ }" x6 d

  246. " y1 W5 |6 B- m4 m- H
  247. ; Transparent output compression using the zlib library
    ( _! W3 A- Z3 d9 t3 v# z' A
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size. z! g; |) `) h2 A- D
  249. ; to be used for compression (default is 4KB)% B2 ]1 V4 ]+ F  X# h, W
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ! x0 q' P8 L) j0 f! f2 I' B
  251. ;   outputs chunks that are few hundreds bytes each as a result of4 |2 o  w2 Y2 W; h& {9 h! w
  252. ;   compression. If you prefer a larger chunk size for better
    " p' q" K  ~5 p7 X
  253. ;   performance, enable output_buffering in addition.
    % c; \' b# `4 L- [5 }1 n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    2 r+ ]  ?# P2 A& o5 J
  255. ;   output_handler, or otherwise the output will be corrupted., _& C3 n# z/ m. n1 Z! w
  256. ; http://php.net/zlib.output-compression
    % q* f7 ^, y, W2 ~" K; A' y& v% P' r
  257. zlib.output_compression = Off! m0 f- B. p/ B1 E' V+ d

  258. " Y9 F- Z3 l) _/ Y! [
  259. ; http://php.net/zlib.output-compression-level9 A! h  i3 V8 ^6 D7 V( a5 x% e* R
  260. ;zlib.output_compression_level = -11 z* J" B5 I0 ~

  261. % M4 P! h& s4 E
  262. ; You cannot specify additional output handlers if zlib.output_compression
    : O) u  ]( H) b, S+ i3 O
  263. ; is activated here. This setting does the same as output_handler but in
    , c* b; j$ ?  Y; ~3 H' o, K
  264. ; a different order.7 H+ Y1 Q/ z( }' o
  265. ; http://php.net/zlib.output-handler2 S% s! \' C6 }; Q3 f5 x+ Q
  266. ;zlib.output_handler =2 K/ b. M* I9 w. E' l
  267. : J  O2 ~  G/ C+ j: W% g/ A
  268. ; Implicit flush tells PHP to tell the output layer to flush itself* ~$ j! i; a  L( v/ {6 s
  269. ; automatically after every output block.  This is equivalent to calling the6 Z! v2 l# g9 d  L' Z% R) A; @
  270. ; PHP function flush() after each and every call to print() or echo() and each$ i8 d( G- u6 B8 o$ M7 j: P
  271. ; and every HTML block.  Turning this option on has serious performance
    ; z: z/ ?' u* `, B$ ~$ C
  272. ; implications and is generally recommended for debugging purposes only." v7 T) o9 T* p! b( M$ I; V9 y
  273. ; http://php.net/implicit-flush% l( r! M2 }; p5 `2 S
  274. ; Note: This directive is hardcoded to On for the CLI SAPI0 B6 V8 k! x' n- x
  275. implicit_flush = Off
    ) j3 P6 X# r0 p- O' G, x/ H
  276. & S' t5 \3 D$ G
  277. ; The unserialize callback function will be called (with the undefined class'
    ) K/ E; D: X9 G4 f; f
  278. ; name as parameter), if the unserializer finds an undefined class
    . h4 ~1 Y5 j4 O. m  i! U$ X  A
  279. ; which should be instantiated. A warning appears if the specified function is7 y8 p7 p' O2 T1 x/ @
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ' y1 u$ H9 K; M1 n
  281. ; So only set this entry, if you really want to implement such a
    4 s6 p- [  Z  m" d) T- z
  282. ; callback-function.
    $ }- ~$ z1 F8 b- X: q
  283. unserialize_callback_func =/ U# f# O& D& ^3 p) r4 Q* A

  284. . ~9 J( i/ N; v% I6 E/ x
  285. ; When floats & doubles are serialized store serialize_precision significant
    " P8 x; I- D/ m7 E; y
  286. ; digits after the floating point. The default value ensures that when floats( v( n+ P7 F( K
  287. ; are decoded with unserialize, the data will remain the same.% c% ], [6 l+ J7 o, w' X* h, P
  288. serialize_precision = 17! j0 g* _$ K6 I
  289. 0 z2 p' T0 c2 m, Y9 @7 k) H
  290. ; open_basedir, if set, limits all file operations to the defined directory7 u" Y2 [. S8 m  J
  291. ; and below.  This directive makes most sense if used in a per-directory  U* O! ?' ~- C* m. b7 }
  292. ; or per-virtualhost web server configuration file.
    7 P+ q4 a- Y/ p! ^8 u" G3 [+ j7 h
  293. ; http://php.net/open-basedir
    , @) X6 S6 n( W( O
  294. ;open_basedir =
    $ o; T. g2 O! Z

  295.   x$ l. T  a" |- Q. z
  296. ; This directive allows you to disable certain functions for security reasons./ {* [# j) {: }9 Y9 f
  297. ; It receives a comma-delimited list of function names.
    4 q- f8 D: X& @
  298. ; http://php.net/disable-functions
    5 c: B3 X0 l6 }  V: ]/ f
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru0 v$ g3 C" V) I) g4 X

  300. & t/ j- {( l- Q3 |9 y- H
  301. ; This directive allows you to disable certain classes for security reasons.
    1 {0 S. w. u0 x4 N* W, W& s
  302. ; It receives a comma-delimited list of class names.
    5 H, w( Z& X" I3 o7 N
  303. ; http://php.net/disable-classes
    2 i; F9 T4 y# E" G* G" W0 E: ]2 G# O
  304. disable_classes =
    $ \  m  e# p$ r3 ]5 ]7 J
  305. & b8 U) G9 m% \: J* @
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 |% t+ J- ^5 I* y# A
  307. ; <span style="color: ???????"> would work.) m. @) d. ]' M  n  _/ ^5 L; }
  308. ; http://php.net/syntax-highlighting
    % S! i) T+ M) [/ Q. z( ]3 ]
  309. ;highlight.string  = #DD0000
    / I) g! Y. Q! c% }4 D7 }% o
  310. ;highlight.comment = #FF9900
    ' m* E) {% I% e
  311. ;highlight.keyword = #007700
    & C% O- G$ i7 G7 j
  312. ;highlight.default = #0000BB; `* p0 o  ]$ b6 I, i; b
  313. ;highlight.html    = #000000' E, [, ]) M# I2 T9 j+ _

  314. 8 |2 M+ U: b  l0 e5 j5 l
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    2 g$ G4 G8 L6 x) s5 f
  316. ; the request. Consider enabling it if executing long requests, which may end up5 f7 {  @$ n7 U4 N# A5 c: ~1 F: J
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior3 X% b( S# F3 g+ ]( b
  318. ; is to disable this feature.  S3 c7 h/ O' H& N: b9 e. k5 e7 O( g
  319. ; http://php.net/ignore-user-abort; x; G; l, q  W$ r. V/ Y/ c
  320. ;ignore_user_abort = On( }7 j* ]$ }3 p. g7 j

  321. 9 y) t+ M. C& o% U
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ C0 y7 _* F3 V4 _' S
  323. ; be increased on systems where PHP opens many files to reflect the quantity of1 [9 c  c% H$ e( T7 J8 B# f$ G9 J2 c  P
  324. ; the file operations performed.
    : N4 b; L0 ~8 {
  325. ; http://php.net/realpath-cache-size
    % N! h7 Y  G8 f+ f5 A+ _( Y
  326. ;realpath_cache_size = 4096k: ?% n+ h  U& f1 K3 s
  327. ) E! V1 ^6 v1 p# Z  J3 w4 T2 n
  328. ; Duration of time, in seconds for which to cache realpath information for a given- p' p: X* P9 Q4 L* k8 h3 W# s0 A6 e
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    - `. @" U) X" z) D$ \
  330. ; value.6 ~! e& A; j# l- h4 ^/ l  ~, Q  n
  331. ; http://php.net/realpath-cache-ttl
    - X! m7 v7 d8 G8 `$ ]! z$ N
  332. ;realpath_cache_ttl = 120
    3 e; l8 A" a2 f4 P5 e, @3 |* X
  333. % h! Y; k) \- \+ \% }; ^, s
  334. ; Enables or disables the circular reference collector.
    & u4 V, e. N+ t0 \( i- s
  335. ; http://php.net/zend.enable-gc- P# O& J& Z) F+ O; K
  336. zend.enable_gc = On$ ]% u1 S/ x! B" v8 O
  337. ; a# e% @* I  I* W+ H/ K3 g
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    . H7 h3 N" H8 ]$ W/ k( W, J
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    . M% T0 _& v9 e3 ?7 U! Y
  340. ; encodings.  To use this feature, mbstring extension must be enabled.6 L" _- o0 T# k0 ^/ p
  341. ; Default: Off' w7 x# z" H8 k7 G6 y
  342. ;zend.multibyte = Off5 ~- X, h' x5 k
  343.   o5 ]% D9 ?: A0 _# b5 r. W
  344. ; Allows to set the default encoding for the scripts.  This value will be used8 m0 t" ^1 i3 F6 z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.' J( v  G5 I0 y+ v# X
  346. ; Only affects if zend.multibyte is set.# _& v+ N5 [" Q% |4 b$ X5 ^
  347. ; Default: ""$ _4 l! ~4 k+ Z) m* t
  348. ;zend.script_encoding =
    , R6 c4 X4 @% z, X' G
  349. % W  ~" E; a# S$ m  _2 q4 f$ X* m
  350. ;;;;;;;;;;;;;;;;;5 U- K# h, D5 ^3 O, k4 j
  351. ; Miscellaneous ;
    4 w% c7 C9 `1 _8 I# k" ?9 A& x
  352. ;;;;;;;;;;;;;;;;;7 X, c$ k" t1 M8 p9 o7 M1 x2 N7 i
  353. " ]- G8 `% |- I; Z0 v+ T& O' w. y
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & X' W& y1 @5 w- [+ z
  355. ; (e.g. by adding its signature to the Web server header).  It is no security9 Y# D+ r8 A, M: B/ w8 B5 X
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    : b. @7 [8 N. H* Q
  357. ; on your server or not.% f+ J2 Z5 |) V  o2 m1 H+ i( M7 [
  358. ; http://php.net/expose-php7 b  [7 @- y$ v
  359. expose_php = On
    5 y0 S+ W! z8 o4 \1 O- s4 Q

  360. 0 [& k" @1 _: E. J. L
  361. ;;;;;;;;;;;;;;;;;;;
    , K( z% {1 Z; h& [, P9 O1 _. h% H
  362. ; Resource Limits ;
    # d8 t( e2 ^& i6 [8 N
  363. ;;;;;;;;;;;;;;;;;;;
    " C  [) L3 y2 @& q- o

  364. 7 K7 h- }! R1 Y+ ~- t+ l
  365. ; Maximum execution time of each script, in seconds
    : m8 R( e, G/ K! b( b. [
  366. ; http://php.net/max-execution-time
    4 `( i& W- W7 c) ^9 b
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI; E- N1 i" f9 E# X4 R
  368. max_execution_time = 300  @6 o1 w* _8 f( Y6 g! H2 j
  369. 1 t' l" a7 ~% @- g( ~- u4 D
  370. ; Maximum amount of time each script may spend parsing request data. It's a good2 U7 t+ E9 E6 R+ x& t* E) H
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    4 B  R' ^1 |4 V- ?) p
  372. ; long running scripts.  q# C) L  M: ?
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI& A2 G! p$ \$ a" T0 d8 Z3 F. u
  374. ; Default Value: -1 (Unlimited)
    0 E5 t, T/ G6 u& U5 N
  375. ; Development Value: 60 (60 seconds)9 I- Q" d9 ^" W5 l
  376. ; Production Value: 60 (60 seconds)
    5 @7 e; `8 `# g8 u
  377. ; http://php.net/max-input-time
    - |! L$ I1 w: u" L6 b
  378. max_input_time = 60
    + X7 r: U8 c% O- L. e; M' P
  379. " }5 A) Q: y. a8 U: }9 O# k3 J. n) D
  380. ; Maximum input variable nesting level
    & e+ ~4 V4 |' A  s) T7 |& ~2 T
  381. ; http://php.net/max-input-nesting-level
    + t! m' o  j0 V$ B% o( k
  382. ;max_input_nesting_level = 644 X/ p- H8 H) }  u- {2 H

  383. 5 E" h, i5 g5 ~* ^: H
  384. ; How many GET/POST/COOKIE input variables may be accepted
    0 p0 @9 S( O) X: A
  385. ; max_input_vars = 1000
    1 o+ T/ p7 I+ n% x- w+ l

  386. % w4 O0 l, Q" u: O8 D
  387. ; Maximum amount of memory a script may consume (128MB)
    & p& d$ k; ?; l1 m$ m, d* u8 f. t
  388. ; http://php.net/memory-limit- s! r) T7 t7 h/ |
  389. memory_limit = 128M
    8 [# m$ S- h9 V

  390. 5 J5 b& F4 o- `
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : x5 ?% s% @% p: e) q0 E
  392. ; Error handling and logging ;. r4 C; t2 k/ {# |; h* ]# A
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, n, U$ H1 j+ N& D
  394. ; v% e1 m3 l3 Z2 P1 @0 X  A
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    . L$ h; R5 k3 `- K; o
  396. ; it to take action for. The recommended way of setting values for this+ J: P8 Q& |! ~3 Z
  397. ; directive is through the use of the error level constants and bitwise
      o) S6 y6 S! I9 R' f+ S
  398. ; operators. The error level constants are below here for convenience as well as8 K1 f- R% a) k/ L
  399. ; some common settings and their meanings." K) `& \. m0 N) E; K3 f4 u) J
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT/ l. p: {/ i: x- W8 R7 S. Z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and5 ?$ l, v$ p7 {: ?1 Q+ w4 ~. j
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    9 d% D& @: L- H2 x- t: c
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    5 }- E5 N! C: w# h
  404. ; resources complaining about best practices and coding standards. That's what
    ' H+ F# W& u. m9 \- k; C; o
  405. ; development servers and development settings are for.
    : j3 ~7 z0 W# Z  N
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; P" m9 k4 c5 |3 g0 ], Q
  407. ; means it pretty much reports everything which is exactly what you want during4 Q) f# s2 V' m, C
  408. ; development and early testing.. V. |% I) v3 v* O
  409. ;4 |5 Z! ^! h  s" ~
  410. ; Error Level Constants:
    & h  f$ m$ q# c
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ' h$ S  m% o& P5 h: m, r, s
  412. ; E_ERROR           - fatal run-time errors5 j4 o' w5 d& \4 [$ z$ ]
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 m$ f6 ]2 J1 o. l
  414. ; E_WARNING         - run-time warnings (non-fatal errors)3 N4 F9 J8 s! e8 |
  415. ; E_PARSE           - compile-time parse errors8 Z! E2 u/ c% q0 Z6 `
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    # r% ~% i! U0 U$ u1 v, a
  417. ;                     from a bug in your code, but it's possible that it was  b/ Z: Q* E: f
  418. ;                     intentional (e.g., using an uninitialized variable and/ q% G% `" V. t  b0 v6 }5 l
  419. ;                     relying on the fact it is automatically initialized to an
    / g) P  l# ?! r- z
  420. ;                     empty string)
    " x' {3 G& ~' I1 k/ c
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes' B5 B! U* P, r/ H: T. q! {
  422. ;                     to your code which will ensure the best interoperability
    6 i" [: C- ^; q, u& P2 R" f  S7 l$ j
  423. ;                     and forward compatibility of your code
    % \  |) ~3 P/ @2 N- T4 W
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup$ Z5 }/ T* W/ t# P& V
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) @; J7 r5 d- H  M% n- Q
  426. ;                     initial startup
    4 \" ~2 `( G( ]1 g
  427. ; E_COMPILE_ERROR   - fatal compile-time errors( e3 g0 U6 @& u* \4 y" H7 E& q
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 c% F) @& K8 Q- L. p* m2 w! p5 L8 r
  429. ; E_USER_ERROR      - user-generated error message
    + a3 `" R8 b2 c8 R2 R( I! u
  430. ; E_USER_WARNING    - user-generated warning message
    9 `, t1 R( E0 D( z5 {' V. S
  431. ; E_USER_NOTICE     - user-generated notice message
    % z9 N6 z" Q* W. G% }2 L( n. w
  432. ; E_DEPRECATED      - warn about code that will not work in future versions2 c# i" N3 d8 F% G4 V7 q
  433. ;                     of PHP+ Q( J0 n. {7 y7 @9 x! b
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings4 }2 {+ d4 K9 H* F1 B% L$ y% X$ y& ]+ y4 v
  435. ;
    9 i- q6 l1 E3 n
  436. ; Common Values:6 U& |- F/ ~+ W$ e; l  [5 _2 _
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)& T, U. v# M. m, S7 H8 j
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    1 H, j, `7 [1 Z4 V- M) ~, v9 ?
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    " ?  L+ r" l' e: D. d8 d6 K
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # L  [; @3 i" t
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; r6 `- y: H  V  K4 Y2 T8 w
  442. ; Development Value: E_ALL# U  F# X, k4 m5 ?
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: T' w! ~8 C( [( f+ S8 b3 t
  444. ; http://php.net/error-reporting
      m# Z9 n' e; d2 F0 g; y
  445. error_reporting = E_ALL & ~E_NOTICE7 q, T* L4 q: S) i" S9 j0 E
  446. - o1 t% M$ q. ]
  447. ; This directive controls whether or not and where PHP will output errors,
    9 T+ g9 O2 t+ u! t: A7 p
  448. ; notices and warnings too. Error output is very useful during development, but. Q6 S; i- D. M+ B
  449. ; it could be very dangerous in production environments. Depending on the code  _$ }! ]! D" j% p
  450. ; which is triggering the error, sensitive information could potentially leak# ?( b+ s) y) Y. C5 L
  451. ; out of your application such as database usernames and passwords or worse.1 ?6 `; f( P/ O5 y5 Y& b7 k5 H
  452. ; For production environments, we recommend logging errors rather than: T/ N- t9 n; o/ R& }* v0 q( j, }, V
  453. ; sending them to STDOUT.! q6 s+ x, n6 N0 @
  454. ; Possible Values:  }0 B- F, c; H9 `/ A7 e1 v
  455. ;   Off = Do not display any errors9 b6 ]6 j4 q! a7 o
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!), H) E  i% K. y' i
  457. ;   On or stdout = Display errors to STDOUT
    2 z8 u+ O- }0 r; p
  458. ; Default Value: On
    * t3 e% ]; j: D; q4 d! k
  459. ; Development Value: On
    " B; e0 P$ T' }" [
  460. ; Production Value: Off; w0 ^& I: D' Z- O+ i7 z5 N; i, }
  461. ; http://php.net/display-errors4 y* H. N# F3 T7 s+ j5 s7 Z
  462. display_errors = On: w$ f% A! I7 ?

  463. ; c! k/ ^4 i. B# n9 |
  464. ; The display of errors which occur during PHP's startup sequence are handled
    / a( [( H4 J1 R2 w" K: |
  465. ; separately from display_errors. PHP's default behavior is to suppress those8 s2 o* s+ z) ?# y' g
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    9 v9 M; r- n8 |8 o4 b
  467. ; debugging configuration problems. We strongly recommend you
      [: w, }# V$ b/ |$ @
  468. ; set this to 'off' for production servers.- A3 K2 M. w. b
  469. ; Default Value: Off
    / n! Y8 T$ D% [7 R$ N
  470. ; Development Value: On* I2 Z; h+ A; I$ j9 i( S$ p$ a
  471. ; Production Value: Off, l" ~- H" J9 V
  472. ; http://php.net/display-startup-errors
    ; D0 P) f$ p+ Y+ Z' |, k7 z* c
  473. display_startup_errors = Off
    , A- i* x0 ]' h
  474. " h$ n; z% u% A2 v, B( U' Y
  475. ; Besides displaying errors, PHP can also log errors to locations such as a6 w; H) I- B. {; w- t. K) O2 v( H
  476. ; server-specific log, STDERR, or a location specified by the error_log
    & d; R2 W9 Z6 H; z% z/ v  p! s
  477. ; directive found below. While errors should not be displayed on productions& x8 o  Q! p& h- z
  478. ; servers they should still be monitored and logging is a great way to do that.
    7 n2 t7 \( Q+ |8 u
  479. ; Default Value: Off
    $ M: ~2 J0 _4 V/ U) u
  480. ; Development Value: On
    , d# `0 R9 A. @# c* D1 q
  481. ; Production Value: On9 U3 l  F/ h3 h/ w! m; G
  482. ; http://php.net/log-errors; a0 |) E* a( b( N0 t% a
  483. log_errors = On: a5 J: j& n9 z( t* N

  484. 8 ]8 n! F% T. P# S! X, A
  485. ; Set maximum length of log_errors. In error_log information about the source is
    0 b: F0 \" S: Q2 P- Q. S# f
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : W1 n* ^; J) ^3 z/ t
  487. ; http://php.net/log-errors-max-len" [  S% r3 ~+ r: B5 O
  488. log_errors_max_len = 1024
    ( U% |% e2 l8 D. c2 n! Z+ v' A9 d  b

  489. 2 Y7 _4 C( N5 F5 y4 c, G' O
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , @. H( D9 `' a# [6 k& V2 L* m
  491. ; line unless ignore_repeated_source is set true.0 }! j1 g. ~' U' G+ \
  492. ; http://php.net/ignore-repeated-errors
    9 p: s/ P5 S! w
  493. ignore_repeated_errors = Off' ~4 B: c  p2 @' S

  494. ! t8 b8 O% K6 l# q
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    8 s, _+ T4 J+ Q, l; I9 x
  496. ; is On you will not log errors with repeated messages from different files or3 V% J( g- G+ V
  497. ; source lines., V0 w; L! H3 ]
  498. ; http://php.net/ignore-repeated-source# U& P2 g( O( \7 M, {( V* i
  499. ignore_repeated_source = Off
    - r  `: x) y% E* K4 N4 `

  500. 0 o" h$ W0 P0 I4 r6 l5 Z( c
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on/ D! K4 \* F8 _, M) d2 L. z
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ) `1 V- M: I$ H5 W5 t% t9 A$ X0 K8 A
  503. ; error reporting includes E_WARNING in the allowed list. `" i! ?* z, \7 d3 l! f
  504. ; http://php.net/report-memleaks5 I: a( Y" |- p
  505. report_memleaks = On# \5 A; U- ]( N& h$ H

  506. 3 |  a# ~) O$ `: C& B
  507. ; This setting is on by default.& B+ I8 [$ ^+ `' d: M4 X3 [$ D
  508. ;report_zend_debug = 0' b& Q* {# x2 X* V) e

  509. " ?! s1 Q1 P6 ~, J% x4 j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value% b, C6 H4 t) F" X5 l0 [/ ~
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    / o: A% \5 j: L* q
  512. ; however be disabled on production servers.
    ; D" i+ F2 p* s- x1 V
  513. ; Default Value: Off8 t& q2 y& F& G6 |; Q
  514. ; Development Value: On
    6 l0 F5 }  `# }' _- e8 V% t
  515. ; Production Value: Off6 F4 G9 o. [* P/ r8 B* Q
  516. ; http://php.net/track-errors
    - T! Q3 Z+ p8 d( ]- t$ p  p7 }! {
  517. track_errors = Off
    8 n% _; V: W# f) H
  518. 1 c+ q5 k7 y  {; s" @- M6 O6 t
  519. ; Turn off normal error reporting and emit XML-RPC error XML# {7 `; E4 P* z( _) O
  520. ; http://php.net/xmlrpc-errors1 d5 T* E% d' O& u' a0 q# C
  521. ;xmlrpc_errors = 0
    # H4 v* h% a( o, t* f2 ^

  522. ' Q; Q2 l+ @* ?3 z) W
  523. ; An XML-RPC faultCode
    . R+ N, U5 m, O" b+ d0 }3 p( a- E
  524. ;xmlrpc_error_number = 0) O4 [4 b; A9 {7 m- X  O. G

  525. ; b- a. K4 h" M+ Z' d
  526. ; When PHP displays or logs an error, it has the capability of formatting the& L- u$ E' R" |, y
  527. ; error message as HTML for easier reading. This directive controls whether
    3 J, B3 s5 g4 {8 D8 l. |# Y% j
  528. ; the error message is formatted as HTML or not.
    4 z! G% n0 I% \2 ?" y6 s
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + L) z8 K# O( y+ w7 ~+ i; n- B
  530. ; Default Value: On
      H. G/ G! m( b# s; ^/ \' e
  531. ; Development Value: On
    $ M8 N6 L' b) V& d( s
  532. ; Production value: On) v& {2 t9 w; G6 \4 K) B- F! _
  533. ; http://php.net/html-errors
    % X: i5 x$ H4 S% V+ }2 g
  534. html_errors = On1 |+ G* I8 _- U0 b& z" ]
  535. - s4 y& K$ f$ P, F
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP% F$ E/ j! F& x( R
  537. ; produces clickable error messages that direct to a page describing the error6 a" Z2 }8 {( P. m# y9 s8 b4 \
  538. ; or function causing the error in detail.+ G8 ^2 R" q! b- q
  539. ; You can download a copy of the PHP manual from http://php.net/docs2 b( l& w" C6 g
  540. ; and change docref_root to the base URL of your local copy including the3 O  ]  u# K6 E# f/ E* @! A3 }4 i
  541. ; leading '/'. You must also specify the file extension being used including. w' x1 e( c6 ~
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    $ P$ ~. o% }6 Y  R  k) }9 Z4 {
  543. ; case no links to documentation are generated.
    2 M! ]6 C3 ^8 n! ?* `2 [. n: q
  544. ; Note: Never use this feature for production boxes.
      G7 k4 p+ m  Z* `" k8 Q# r; x
  545. ; http://php.net/docref-root
    / D; L5 ~9 t: ^+ V
  546. ; Examples
    / o, j1 E2 p' [5 b9 R0 w+ Y, w* C
  547. ;docref_root = "/phpmanual/"
    5 l1 e8 s' `% B
  548. % F" P9 }% n4 f$ Z- p" r
  549. ; http://php.net/docref-ext
    ( P4 K1 {' h5 V3 J- d2 D! G# {1 |
  550. ;docref_ext = .html+ T) j" b0 U( t+ i3 x( `+ q% C- j

  551. 4 b% E1 i# U2 Q0 x* z+ {- _
  552. ; String to output before an error message. PHP's default behavior is to leave
    + K6 ^) i: o& h
  553. ; this setting blank.  f2 ?3 f# v0 z( Q) U$ A* _, X
  554. ; http://php.net/error-prepend-string7 A8 H7 V- `3 n
  555. ; Example:/ a& [& l& |; w  E: p3 Y/ B
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ( R0 U1 T  M0 }4 }5 z

  557. + `1 Q( i  I0 N' A, }( T
  558. ; String to output after an error message. PHP's default behavior is to leave( [8 q" w+ o* t( z! n
  559. ; this setting blank.1 \, o$ z9 D9 }1 {  W
  560. ; http://php.net/error-append-string
    9 P9 u: H: n6 Q) n; I
  561. ; Example:8 J$ L+ o) X4 V5 V7 a
  562. ;error_append_string = "</span>"
    3 _5 ^+ R; U0 N$ U1 s' [5 d

  563. / l9 x/ i* x- b5 ]1 `* L
  564. ; Log errors to specified file. PHP's default behavior is to leave this value7 q7 }' C* k$ ^% Q" _
  565. ; empty.# j4 K% n. V5 s5 z2 U
  566. ; http://php.net/error-log
    - i4 K3 x" t1 D" Z% ]% ]7 }
  567. ; Example:
    $ T: J3 _/ U' h  C: j& R6 D$ \" ^
  568. ;error_log = php_errors.log# N0 z3 C% u8 i
  569. ; Log errors to syslog (Event Log on Windows)." o- C* y% h. k, D6 S2 t! H
  570. ;error_log = syslog7 o! Y* U  o3 l; F6 h

  571. 4 X0 |+ f2 D( A6 M% e5 `( E5 P! K
  572. ;windows.show_crt_warning
    " D& C5 g  |1 H- Y, H- G
  573. ; Default value: 0
    , W" Q, X+ B: [- M' {
  574. ; Development value: 0" C/ Z  I, J3 b0 b  Z5 O6 z
  575. ; Production value: 0
    0 p8 B5 m3 G! O5 |( y) t
  576. ) Y+ x% p2 e& o& W! u  S* V
  577. ;;;;;;;;;;;;;;;;;
    $ v  a4 c1 `* e
  578. ; Data Handling ;! E) L3 r& i2 u9 }3 j9 M: k* L
  579. ;;;;;;;;;;;;;;;;;7 q: q6 M1 j4 p

  580. & v. O! w$ o2 A' x2 p* N
  581. ; The separator used in PHP generated URLs to separate arguments.
    / S( g# G; r; n3 g1 }1 q# D
  582. ; PHP's default setting is "&".6 g0 V! j/ t% u; R8 V& _8 x
  583. ; http://php.net/arg-separator.output0 q8 G1 U9 S. P& @/ [6 c
  584. ; Example:
    ( T0 T( p& x% t; t" ]5 h
  585. ;arg_separator.output = "&"$ M" ]9 z+ o1 d3 u+ ?; g5 K" o
  586. + h2 P. }( Z7 r$ ]) S/ Z/ m! v
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
      H% M4 S: h, B
  588. ; PHP's default setting is "&"." w! j0 @, m# L! ^" r1 w- V
  589. ; NOTE: Every character in this directive is considered as separator!% E6 ]. G/ d$ \$ D; p% ^0 j& Y
  590. ; http://php.net/arg-separator.input
    ) s. P" ^, e. q- @0 O
  591. ; Example:% c2 F$ F. t0 `/ n3 F
  592. ;arg_separator.input = ";&"4 s7 U; D/ I8 `
  593. % x0 `) l8 q& b9 x9 ?2 V
  594. ; This directive determines which super global arrays are registered when PHP
    ( g* D, P) k$ ^, E( J2 y5 W$ D
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ; x* P. v. K) }7 O6 h
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    3 m. O' S) u6 E) m* J1 f
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    & b$ H) ^1 U7 S7 k1 |: d
  598. ; used as the others, ENV is not recommended on productions servers. You
    ; \* n7 U. F9 E# }% s# I# l
  599. ; can still get access to the environment variables through getenv() should you
    , ^' h* u5 m( l
  600. ; need to.
    , w( |6 [9 D: [' }  g
  601. ; Default Value: "EGPCS"' K) `7 ?/ R0 D$ Q0 S/ f! t
  602. ; Development Value: "GPCS"
    ! ~! Z) r3 Z+ M! s& w+ L4 T4 `
  603. ; Production Value: "GPCS";& O! r) S$ W# B1 F7 L$ V
  604. ; http://php.net/variables-order
    * X! Y( A( I6 U  X! Z) m
  605. variables_order = "GPCS"4 u( h! ]# ~% W) D7 W' U
  606. + d$ q0 u; K9 I5 f
  607. ; This directive determines which super global data (G,P & C) should be
    $ Y6 {, f* ^( x8 h: v
  608. ; registered into the super global array REQUEST. If so, it also determines
    / p& `1 p2 {: Z  X
  609. ; the order in which that data is registered. The values for this directive
    - @# z  X' S  @- O
  610. ; are specified in the same manner as the variables_order directive,' X0 ?# j( Z1 J% P1 A. D& z
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set* i' j3 s) U2 A# |& u! c# F
  612. ; in the variables_order directive. It does not mean it will leave the super
    2 n5 _; ~( s, O( d2 o! ]* K0 C
  613. ; globals array REQUEST empty.. [$ ~( M: G) Y( z0 V" {# R
  614. ; Default Value: None- r7 ~, E: R7 E: F
  615. ; Development Value: "GP"
    ' u6 e% I) d8 S7 Z3 y6 n& H  `7 F
  616. ; Production Value: "GP"
    ( V2 Y: x2 @+ l, G4 r. j
  617. ; http://php.net/request-order- a: y2 l  m0 [+ R" O7 x3 ]. A* U
  618. request_order = "GP"
    & b8 o/ R$ {  F$ k6 ]

  619. 7 T0 d) P& a7 g& {3 z
  620. ; This directive determines whether PHP registers $argv & $argc each time it/ `7 W# S2 b# M7 k) e! N" t
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; \. b4 W  Z; N! `- z, ]! k- C" K
  622. ; is invoked. $argc contains an integer representing the number of arguments+ B1 d7 T) V3 e4 v0 i; x
  623. ; that were passed when the script was invoked. These arrays are extremely
      n! t  j5 J# C0 g* o4 [
  624. ; useful when running scripts from the command line. When this directive is" a- v6 b2 x& j% Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 t7 M! ?9 C9 x" k+ P( l
  626. ; a script is executed. For performance reasons, this feature should be disabled2 O- _1 I' e/ W" B* U1 x2 N
  627. ; on production servers.
    0 X5 e6 N& H2 K
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 i7 X. h! R! V3 r0 T7 N9 ~. _) F
  629. ; Default Value: On& C7 |* R5 O" \
  630. ; Development Value: Off
    % S; M1 w: t) {/ c+ q5 z
  631. ; Production Value: Off
    1 a3 U' M. G" l2 k7 K
  632. ; http://php.net/register-argc-argv
    * a, X" r: v$ K' k; a  |) U
  633. register_argc_argv = Off
    9 S' e# C1 F, L' W
  634. ( [8 J) ~% u& h
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 a% D5 T; @% S2 q; |
  636. ; first used (Just In Time) instead of when the script starts. If these3 d9 E6 E$ h. d1 z6 }; F1 K6 o
  637. ; variables are not used within a script, having this directive on will result% _# `* T3 L' L$ f. s  [- Z
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    $ n# Z5 a: i0 b3 j4 W; |/ `
  639. ; for this directive to have any affect.
    ! v/ }' o* j4 G) n, X' L! O& |* ^" A. g
  640. ; http://php.net/auto-globals-jit4 z# s, w- m* p) E, B
  641. auto_globals_jit = On
    / h8 L3 N* D9 `* C; g

  642. ! D; z' x8 y; x" Y
  643. ; Whether PHP will read the POST data.( o" y( X* ^0 ]; z
  644. ; This option is enabled by default.
    ' B3 n7 @6 y# ]( r
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST; {" T$ m5 {5 X7 m" ?0 r2 Q1 U# ~  d
  646. ; and $_FILES to always be empty; the only way you will be able to read the0 f! L, {8 d5 V  u) l2 `2 t
  647. ; POST data will be through the php://input stream wrapper. This can be useful/ @$ W8 R( m6 E
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    # b. R0 U# Q" `
  649. ; http://php.net/enable-post-data-reading
    ) _; R! k% o9 p! C& [* T" d
  650. ;enable_post_data_reading = Off
    5 j6 X' Y, x- G8 m/ F

  651. , C0 d. ]3 B! |( P, q( X4 g
  652. ; Maximum size of POST data that PHP will accept.
    ! b, l. L8 d; x' a; B  O9 A1 Y0 I1 x
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading" n; U+ @$ f4 J6 p! t) V* H
  654. ; is disabled through enable_post_data_reading.
    ; O9 ]4 _5 Y# c/ k* P2 x( g! k
  655. ; http://php.net/post-max-size
    3 [; _: H, j. g+ V& O3 K
  656. post_max_size = 50M
    " f% I( r9 k7 A2 ]

  657. ' F- y; X1 x+ f, E8 i- R4 {+ |
  658. ; Automatically add files before PHP document.8 p" K% S9 M- A
  659. ; http://php.net/auto-prepend-file
    0 g% i0 w9 n5 r# g1 _0 _# }# P
  660. auto_prepend_file =  X) l4 z; v1 a+ M4 @

  661. $ {1 e  u# {/ j
  662. ; Automatically add files after PHP document.
    , }6 B4 J) I( L1 f  v4 S
  663. ; http://php.net/auto-append-file
    1 D0 |' \, N, C+ j
  664. auto_append_file =
    ' a/ Z4 a! D" ], }& E6 L9 U8 t

  665. * Q- ~2 d+ N2 V7 S, q2 W- I
  666. ; By default, PHP will output a media type using the Content-Type header. To( X9 ?+ \' v2 b5 ~3 e/ e
  667. ; disable this, simply set it to be empty.
    , k6 V3 d  r6 @7 Y; f
  668. ;* d# ?2 x! ~6 V9 v  S4 Q
  669. ; PHP's built-in default media type is set to text/html.
    * t+ X! p/ V  W0 c
  670. ; http://php.net/default-mimetype
    8 y' i! q$ Y1 I, \  G4 ?+ X: I3 t
  671. default_mimetype = "text/html"
    - b0 e/ _5 z+ }  F  o
  672. ; C" X5 N. W# k
  673. ; PHP's default character set is set to UTF-8.
    5 t: y3 Z" }, ?$ A7 X
  674. ; http://php.net/default-charset6 k0 M* e9 I+ ]$ K
  675. default_charset = "UTF-8"! w0 U9 L- L4 M8 D& y  }

  676. 0 k; F, R- N! |
  677. ; PHP internal character encoding is set to empty.5 {# ?+ Y1 ^6 |! w+ `: {+ s
  678. ; If empty, default_charset is used.2 L2 m; n1 ]! x
  679. ; http://php.net/internal-encoding
    6 u% x. I+ y2 t, z
  680. ;internal_encoding =
    : ]4 y2 |4 T9 h! U% e5 P

  681. ! G3 Q1 d. |) I0 _' B
  682. ; PHP input character encoding is set to empty.6 s/ l0 [; k: D' _( e- t' X% r: o
  683. ; If empty, default_charset is used., E9 j0 \) ^- Y& D3 \' m
  684. ; http://php.net/input-encoding9 |$ B* \" V7 `5 w$ O
  685. ;input_encoding =
    ' K9 [2 e; i2 m
  686. 7 `& V& `% C1 @! y3 ]) S
  687. ; PHP output character encoding is set to empty.2 R- J/ T+ f) U6 X+ W5 M9 E( O- S
  688. ; If empty, default_charset is used.
    0 [  G% z" _; T
  689. ; See also output_buffer.
    6 B+ P/ f8 A3 o- H$ f. s: ?
  690. ; http://php.net/output-encoding
    ( _1 Y  W% \3 V7 S- r
  691. ;output_encoding =3 u" W( h/ R. ^& \3 {) N

  692. , U# _% e' I5 C' y& O0 w
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 a; {9 d! h; E, n/ E
  694. ; Paths and Directories ;& `/ }3 ^0 v' l' [7 s
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 T) i, @$ s2 e% m" d4 ~
  696. & e$ i2 I. o& A% l' Q
  697. ; UNIX: "/path1:/path2") x* x' X* Q6 g" H4 N
  698. ;include_path = ".:/php/includes"
    / d- t0 w& n/ S5 X7 \; A
  699. ;' R( @1 \; j7 r
  700. ; Windows: "\path1;\path2"
    & {* L. r$ `  v
  701. ;include_path = ".;c:\php\includes"7 `. t# v6 E. E6 b( K
  702. ;2 h! n7 P+ e* T; Q' a9 I
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"# I% ^1 S- o) }% Y5 X% S
  704. ; http://php.net/include-path
    + P; q* U+ W+ @% @( }$ s) Y( U5 ^/ D
  705. 5 Z+ B$ Q) z) X) r9 I* `
  706. ; The root of the PHP pages, used only if nonempty.
    ; Q9 |% T9 }1 G, [* Z
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    / H5 o* t% t- D0 u& [
  708. ; if you are running php as a CGI under any web server (other than IIS)- a, s" }. Q3 E6 B
  709. ; see documentation for security issues.  The alternate is to use the* i  L6 {) R# U) ]9 ~
  710. ; cgi.force_redirect configuration below
    - {6 y) E! c0 O7 I2 s' o. q
  711. ; http://php.net/doc-root
    $ q  @* g2 q6 U6 ~
  712. doc_root =
    ( E4 I# H3 t% T4 f
  713. ) H- X0 e* S" B
  714. ; The directory under which PHP opens the script using /~username used only4 P0 A# ~* V/ j' C7 E
  715. ; if nonempty.
    7 q: P0 ?) g: x6 u4 L
  716. ; http://php.net/user-dir1 R) H) C8 q* G
  717. user_dir =
    ! n( l  A* Q, v* D: X& D

  718. " v# X. d; t! z, q) l# f3 f# y
  719. ; Directory in which the loadable extensions (modules) reside.
    / S  Z3 b6 `) ~9 R$ A& h
  720. ; http://php.net/extension-dir3 Q9 g9 O& G7 Z7 A% l; ?( |: r
  721. ; extension_dir = "./"
    ! {$ |6 \- I$ R6 ?5 v8 a! ~# {
  722. ; On windows:
    9 L/ A/ g" q5 P2 x$ L, Q6 H
  723. ; extension_dir = "ext"
    8 X$ _+ c3 S0 O
  724. ; U+ K+ @+ l8 b1 t  V3 H8 l
  725. ; Directory where the temporary files should be placed.
    ) Q% d: s+ o  d( y; s  a) I" \* P" n
  726. ; Defaults to the system default (see sys_get_temp_dir)1 Q$ C+ {( V( N* @
  727. ; sys_temp_dir = "/tmp"" c; G2 I  Z; K1 b7 G# _' V  U5 J

  728. % ]1 `6 g' W! r* U) e
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , f2 ^2 A# Y! n
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically' i4 `, U2 |/ ^7 X8 G
  731. ; disabled on them.! [0 K# D7 D6 y: v3 y
  732. ; http://php.net/enable-dl
    2 H. ]. h/ n) j
  733. enable_dl = Off
    0 P3 @+ |/ n, a$ s
  734. 9 ]1 W. R/ L6 H$ E& ?- C( O
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 y/ _, g: `' i( I2 N) h8 i! v) F( ?
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , v( G; f' ?2 b* H% h% L
  737. ; turn it off here AT YOUR OWN RISK7 j3 m6 D- T9 a) c3 S' s
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.*** h" w# \# \# z. L
  739. ; http://php.net/cgi.force-redirect6 u* }+ o6 ?9 J& }
  740. ;cgi.force_redirect = 1
    1 J( U, ^$ l/ |1 n$ K3 m
  741. % R; h6 m! c* M0 M& D" R
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    3 }1 V( f# `4 |2 g) Y; l6 V0 Y6 t$ Y
  743. ; every request. PHP's default behavior is to disable this feature.
    8 @5 ~0 {. z/ b/ ]& k4 _
  744. ;cgi.nph = 1
    6 b- @) M2 U% H, J( ~
  745. 3 {& @) t- u9 Z( c
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    9 K" H+ P8 p% s' j6 ^7 e
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% x& Q* U! f2 {- q; n2 W
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY; u$ O; T2 R# S# a
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- Q% t0 R' o$ Y8 x% m" m6 \4 v
  750. ; http://php.net/cgi.redirect-status-env+ T& [! t+ `3 S
  751. ;cgi.redirect_status_env =
    " `; ]" `, R) E# N' p6 ?

  752. / S: V/ m5 \$ Y) Q
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's' \2 E; [" x; H
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    8 m/ _7 ~. K& x4 I9 b' l! n! o9 ?
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    3 ]; n! H( ~+ C! ^9 p# }
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' e+ }* v- S( A9 k* w# h
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    : N& t2 H3 _; M4 Z$ H
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ! c! a5 P9 @  y; d; G2 _& V8 w
  759. ; http://php.net/cgi.fix-pathinfo
    $ Z9 C4 Q5 X' _9 ^8 g
  760. cgi.fix_pathinfo=11 ~# T7 j# w: F) K9 {
  761. # h$ j1 m& \2 I" Y) j+ K; v' l
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 G" q; m; p6 U. s
  763. ; of the web tree and people will not be able to circumvent .htaccess security.( q  x+ H5 U. Z* Z6 h( d
  764. ; http://php.net/cgi.dicard-path( d' W( b$ N; |
  765. ;cgi.discard_path=14 X8 A6 e: g3 p, V5 {4 z- {9 d
  766. 1 i* ?# J. m5 W  h6 i2 L
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate) _/ h+ K+ G8 ~  b3 k
  768. ; security tokens of the calling client.  This allows IIS to define the5 c4 X3 o3 H  w5 }; G, @. p
  769. ; security context that the request runs under.  mod_fastcgi under Apache* g  s% V. t, U$ Q+ q6 n7 k3 M+ s
  770. ; does not currently support this feature (03/17/2002)1 X. j2 [" T- l2 J" _
  771. ; Set to 1 if running under IIS.  Default is zero.
    $ y2 U  Z# c! t: w) K3 R" z, C7 \
  772. ; http://php.net/fastcgi.impersonate; L* _; }9 G9 k4 s# s4 z
  773. ;fastcgi.impersonate = 11 w! I+ i9 X4 k$ M! G/ M$ W  c

  774. 4 O! G: }; u3 y: \) L5 c0 E* K
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable. R) P, j( t" D" `" {  S
  776. ; this feature.6 |7 ?/ ?5 |# R4 a, j$ a
  777. ;fastcgi.logging = 0
    1 W, i7 o  ^( x, _! I

  778. ; W+ A9 I; \4 k& M, J
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; D% j+ B. D. u- r6 r8 {$ i; ?
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    6 w  d- V: [: I- W4 `, m
  781. ; is supported by Apache. When this option is set to 1, PHP will send  @2 x! f* b; M. |& I. j7 l# F5 p( m
  782. ; RFC2616 compliant header." p9 T% Z' V, c* U0 [
  783. ; Default is zero.
    . h  ^8 Y7 Z4 m" |. M
  784. ; http://php.net/cgi.rfc2616-headers
    , {' W" Z! A8 D- e* P+ K
  785. ;cgi.rfc2616_headers = 0
    9 {" ?1 ~# V$ I# w% r

  786. # V9 K- e7 M! v- V3 R
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ U7 R) l2 l: Z7 o4 |
  788. ; (shebang) at the top of the running script. This line might be needed if the. ?/ E9 }7 h6 u* w
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI0 t9 d  H# ]7 s- i
  790. ; mode skips this line and ignores its content if this directive is turned on.8 e1 |0 ]- r5 t( c, v
  791. ; http://php.net/cgi.check-shebang-line! Z2 \4 [; w: d6 `) f
  792. ;cgi.check_shebang_line=18 }. d$ f$ e5 i7 a9 y# C0 e

  793. ' j, r: R3 n/ a( a+ P4 Z
  794. ;;;;;;;;;;;;;;;;. [' z# N. C" @
  795. ; File Uploads ;& I0 h  V' N3 L2 P- y
  796. ;;;;;;;;;;;;;;;;+ `0 ?  m6 k1 {; M/ S. S
  797. 3 t8 S* C. U# K! ]& M# E
  798. ; Whether to allow HTTP file uploads." o6 d2 P* v5 I3 {5 j
  799. ; http://php.net/file-uploads! {$ r# @; g% W' J1 t
  800. file_uploads = On8 \0 q) L5 o3 v* U: I, c- t9 F5 Y3 D
  801. & B( X- {5 Q- X% w/ l0 F
  802. ; Temporary directory for HTTP uploaded files (will use system default if not* @$ Y9 V) q* U. G8 W+ G
  803. ; specified).
    ) E1 f. s2 a2 T1 B
  804. ; http://php.net/upload-tmp-dir
    5 w, d" |! P7 I
  805. ;upload_tmp_dir =& n- [9 q0 ^4 f: m+ s$ D% X1 n

  806. + [0 b8 M- d% a5 z" b
  807. ; Maximum allowed size for uploaded files.
    $ F* p; ]6 h$ ^9 \/ E: A0 }
  808. ; http://php.net/upload-max-filesize9 E: g0 }' ?/ P& C/ B
  809. upload_max_filesize = 50M$ @8 i0 N% F* w& R# I
  810. # U9 E: r& {9 Q9 s* o& K
  811. ; Maximum number of files that can be uploaded via a single request
    1 Z+ r  t- ~) i7 L1 Q3 e
  812. max_file_uploads = 20
    2 I4 m8 X6 B/ j4 V; |
  813. % U2 h9 R) H, k9 H4 ?2 \
  814. ;;;;;;;;;;;;;;;;;;
    1 j' T8 p4 m. u' [
  815. ; Fopen wrappers ;( O* X5 R  q. S3 U* P
  816. ;;;;;;;;;;;;;;;;;;
    & L* a- n4 _) @4 U7 w
  817. " q# r" X7 G: g0 T. E2 m
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    # l! b& Q/ ?* Y' F/ @% W9 \
  819. ; http://php.net/allow-url-fopen
    : W* u5 N6 S- n0 c
  820. allow_url_fopen = On
    ! o5 r" w/ i& A' _  {

  821. $ y- }4 T7 ^0 m4 y$ f
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    " A. o! v* z6 J- T' Q4 H' w
  823. ; http://php.net/allow-url-include
    8 l1 W/ `+ T: U% R: `
  824. allow_url_include = Off; J4 H4 L# [) M6 A) U! r* |

  825. & W) p& j$ Z% ^4 ?1 D: d5 u
  826. ; Define the anonymous ftp password (your email address). PHP's default setting3 ~5 J# F- u& e  G  z
  827. ; for this is empty.
      I! \" q$ d* S! e" P
  828. ; http://php.net/from
    1 B- t0 D4 P8 r. Q8 S5 d
  829. ;from="john@doe.com"
    * G+ Z% ?+ O1 |& e) a3 k8 B
  830. * U. N) I4 @) z
  831. ; Define the User-Agent string. PHP's default setting for this is empty.- I) M; J. s" Q# B$ V& x
  832. ; http://php.net/user-agent
      q9 C$ C( q( t% z( b+ _" P
  833. ;user_agent="PHP"
    / z% Y% y3 J) Z
  834.   S) R4 q# |8 o# B9 ~' Q! p/ l+ l, e
  835. ; Default timeout for socket based streams (seconds)
    4 \( `# u% _+ A3 I1 I: B
  836. ; http://php.net/default-socket-timeout( g4 Q8 u& v6 i+ i8 k( r
  837. default_socket_timeout = 60
    . K( k2 \" t7 e5 A* p' T/ e

  838. ( D1 r0 i0 A' j
  839. ; If your scripts have to deal with files from Macintosh systems,
    ( j6 x" K) C% J- c7 N1 U+ N, u8 n
  840. ; or you are running on a Mac and need to deal with files from4 c, h' I0 w: u& k0 Q9 x3 T- u; L; @
  841. ; unix or win32 systems, setting this flag will cause PHP to* E3 ]9 x+ _+ F; i+ A, G
  842. ; automatically detect the EOL character in those files so that
    # V& z7 z( t: {3 ~' S# h6 G
  843. ; fgets() and file() will work regardless of the source of the file.3 m% `+ X( Y/ j0 o! y4 W0 _
  844. ; http://php.net/auto-detect-line-endings
    8 u! z6 C7 `8 ~3 e6 F( m% G8 y2 J
  845. ;auto_detect_line_endings = Off2 ]4 C9 \( o8 r$ p; W
  846. ; x. j. f: {4 _3 ]. }8 M
  847. ;;;;;;;;;;;;;;;;;;;;;;
    8 ~+ F: P9 v, }, ]7 B3 X# M
  848. ; Dynamic Extensions ;" P- R3 z; Q& m
  849. ;;;;;;;;;;;;;;;;;;;;;;1 @& U# p: p* F- P( O9 p
  850. / a3 z6 J$ F7 g0 Y  L+ ?
  851. ; If you wish to have an extension loaded automatically, use the following( m! l# Q4 J) J9 E5 J' v
  852. ; syntax:
    % q: S) z- _8 u3 Y) F
  853. ;
    ! v5 @' \( f8 L7 e+ N# f7 V
  854. ;   extension=modulename.extension  M3 i6 f; e6 Q  Q0 S( [
  855. ;
    - t2 _. W( h1 {* E; e' x8 A
  856. ; For example, on Windows:
    $ z. a+ J; D9 \5 m
  857. ;  [3 S6 Z  e" A" c. a6 D9 A
  858. ;   extension=msql.dll
    6 E4 l9 h* A4 |9 A. `& E$ ?
  859. ;
    & N1 b* W  P4 m/ f( ^# X! L- ?
  860. ; ... or under UNIX:
    ! V' k, v  V; J
  861. ;
    # S2 \( N: h* c6 Z
  862. ;   extension=msql.so
    ; d5 C5 ~0 N, `2 |8 R! X
  863. ;* V  c% Q/ x7 b9 V+ \" l
  864. ; ... or with a path:
    $ j" m1 j6 O0 H: m
  865. ;& I1 j2 G% o5 o- ~
  866. ;   extension=/path/to/extension/msql.so& z  k9 j; A( L; G2 G  M1 w
  867. ;; r: P& ~; |" T& v" r6 h
  868. ; If you only provide the name of the extension, PHP will look for it in its$ ~$ D" Q8 n- E1 d: V
  869. ; default extension directory.
    1 s2 Y1 Y& j& _
  870. ;1 R8 w2 I0 y" y9 _
  871. ; Windows Extensions8 @2 }$ E3 I% t$ U2 b% m
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    . `6 ?9 k1 R1 Q* `2 f
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+), G+ s7 E* c4 F% T% J( w( g/ ^
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).7 {0 L! I& @) _  e0 [4 }6 A, Q8 Q
  875. ; Be sure to appropriately set the extension_dir directive.
    9 Q3 X! G& e  g, y
  876. ;& B5 V9 `$ ^; V/ z% c3 W
  877. ;extension=php_bz2.dll/ m4 R4 V: `& z6 O2 e
  878. ;extension=php_curl.dll
      c# M+ ]- p5 q6 l3 L8 F
  879. ;extension=php_fileinfo.dll
    3 {. C5 ~( z' W/ |
  880. ;extension=php_ftp.dll- F% t" `. _8 A' d- \
  881. ;extension=php_gd2.dll
    2 w  z1 y9 c2 R5 n! P$ V1 s
  882. ;extension=php_gettext.dll7 c: x, b+ w$ ~
  883. ;extension=php_gmp.dll
    , t; J0 u1 E0 V( s7 {' C
  884. ;extension=php_intl.dll
    . d3 A* R* I8 T3 W4 V, Z
  885. ;extension=php_imap.dll
    + N8 S7 j5 w2 r4 O7 Q
  886. ;extension=php_interbase.dll6 n; E  U# F7 c" P- X3 W0 b
  887. ;extension=php_ldap.dll% r. R# x+ u$ v/ f" j
  888. ;extension=php_mbstring.dll
    " u8 [- R7 v/ q
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it; g9 a6 S( w" p1 ]+ w; R8 l
  890. ;extension=php_mysqli.dll
    , @2 j" _0 o6 n3 u
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 ]' g7 H& t4 k+ ]
  892. ;extension=php_openssl.dll
    * o" B, ]. K. u, _8 O/ x# }) i1 e
  893. ;extension=php_pdo_firebird.dll
    / j5 T9 c& [2 U- }+ v  a) B4 L: R
  894. ;extension=php_pdo_mysql.dll
    , @+ b+ L: {% u6 R3 \
  895. ;extension=php_pdo_oci.dll
    ( O& W0 t0 g$ \$ \8 R4 k
  896. ;extension=php_pdo_odbc.dll" A  C% O3 j6 _& j2 N* o
  897. ;extension=php_pdo_pgsql.dll+ v) o) J) `0 l3 b. R- ^" t4 W
  898. ;extension=php_pdo_sqlite.dll* D& {3 [3 {9 t2 A+ b4 g6 ?
  899. ;extension=php_pgsql.dll
    # }; E. I! b+ n, B! }
  900. ;extension=php_shmop.dll; o: _" d6 l& ]) o1 Q% X; h
  901. 5 t2 M8 [7 R- |$ p4 |; X" C/ D7 |
  902. ; The MIBS data available in the PHP distribution must be installed.
    4 g8 p% m# I+ g: b
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    - W1 }0 R6 H! z$ `3 `6 D# L
  904. ;extension=php_snmp.dll7 \. [- D1 o: w1 B, w

  905. ) ]* K3 U0 p: o4 @
  906. ;extension=php_soap.dll) A7 ?; q9 I7 w8 x
  907. ;extension=php_sockets.dll. X' T0 Z+ z# k/ {7 _) `9 e
  908. ;extension=php_sqlite3.dll
    5 l$ \5 y& Z3 w! `. y) O
  909. ;extension=php_tidy.dll9 \1 T& f2 e. [' y  @) z, X. P
  910. ;extension=php_xmlrpc.dll% X9 T0 r5 b: N9 |6 w
  911. ;extension=php_xsl.dll. g- m6 @: E" \% t1 [

  912. / Y- d$ c7 ^# U" s
  913. ;;;;;;;;;;;;;;;;;;;
    , m& M' X. j3 n) }! a% P
  914. ; Module Settings ;
    8 g& b8 A7 N: q; G$ f
  915. ;;;;;;;;;;;;;;;;;;;1 L& |: J+ n# i( q1 F

  916. 4 g# x1 i1 e1 E/ K+ ~
  917. [CLI Server]! h; ~6 f  b% P4 G! D& @
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , S8 ]1 `+ d+ k2 r2 t
  919. cli_server.color = On
    ( g) J7 Y" U9 p' s! f

  920. : m. _7 @2 C( h4 U
  921. [Date]
    3 {" ~1 t* F1 @, a& U
  922. ; Defines the default timezone used by the date functions
    1 _# Y2 r. P2 D" U
  923. ; http://php.net/date.timezone$ t% V! m) _) \. _$ |8 j
  924. date.timezone = PRC
    . a! g* ?* A0 b3 \. ]/ }, s- Y
  925. # n5 t; _  m, O( y
  926. ; http://php.net/date.default-latitude* T1 v1 p. e6 R. Q7 e$ q) U
  927. ;date.default_latitude = 31.7667: s3 d. F5 _4 l, e) y

  928. - K& T& ~" f$ j+ |
  929. ; http://php.net/date.default-longitude
    ' ]/ q/ ?1 k! n. T/ g9 p* ]0 M
  930. ;date.default_longitude = 35.2333" _$ V+ [: n, o; P3 Q

  931. ) V2 h3 B, O$ t- j1 a. N4 ]  j+ A
  932. ; http://php.net/date.sunrise-zenith  s0 {/ m! K3 Z7 E
  933. ;date.sunrise_zenith = 90.583333. Z6 o6 R- g- \9 f' I

  934. : c- ~* i+ D8 M$ r
  935. ; http://php.net/date.sunset-zenith$ a& r" Z1 q: p- |
  936. ;date.sunset_zenith = 90.5833337 A8 y$ l* Z9 s1 @+ i

  937. # w. U; f* S( h8 S" n! l
  938. [filter]3 h/ \$ [. m- M6 G7 i
  939. ; http://php.net/filter.default, o1 `. N; S* A! w) P4 f
  940. ;filter.default = unsafe_raw
    # R1 V! H" j% K/ k; P

  941. ' J) V$ }9 Q3 o
  942. ; http://php.net/filter.default-flags- X$ l- D; T9 W1 D
  943. ;filter.default_flags =
    * U: _7 u2 V6 q9 G6 \. [* \; S
  944. 2 Q1 ?/ M2 n1 j5 z/ f( S1 w
  945. [iconv]
    8 D; P3 h2 i- u3 o3 o% w0 s
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : M6 N( n7 {% P; P
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 \7 U& R+ }2 i; W3 Y; l
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 R. f  A; t$ }$ z7 E8 l) ^
  949. ;iconv.input_encoding =: T6 \- \5 m" X- c* v

  950. * d" F# O; q- d$ u
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 h0 k4 d; N& I& E8 t
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. d1 I4 V- R( r4 d
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 p# J7 A9 x$ ?0 S' j1 G1 b
  954. ;iconv.internal_encoding =2 s& |1 i. x6 i3 \, I+ O

  955. * F9 W) f* h$ f
  956. ; Use of this INI entry is deprecated, use global output_encoding instead., Y& h4 }7 E- {/ S
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& T6 X8 M  J; K0 N* X
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. n3 \% c* g) ~# N
  959. ; To use an output encoding conversion, iconv's output handler must be set
    $ A6 |" c2 z2 \  |/ C) z1 K
  960. ; otherwise output encoding conversion cannot be performed.) v- O1 e0 y$ k, o3 B) @$ a/ j3 o
  961. ;iconv.output_encoding =4 X2 t8 {4 H1 V3 q! I

  962. 3 P, u. }& N9 y) B7 K4 ^
  963. [intl]: K, R; q. J* V4 `# z
  964. ;intl.default_locale =  ?% [' s! m% G5 n* O' w6 W$ F$ S
  965. ; This directive allows you to produce PHP errors when some error
    6 i, V. `: f. z- L2 |, N/ g
  966. ; happens within intl functions. The value is the level of the error produced.) V& y" V3 r% e) n+ Z- h
  967. ; Default is 0, which does not produce any errors.+ K1 I3 C2 A9 v, `6 M
  968. ;intl.error_level = E_WARNING
    % k- E/ x% s7 r
  969. ;intl.use_exceptions = 02 K. w3 k+ F! o8 D7 I3 m

  970. 1 H, [! `! ^- X9 q) i& a
  971. [sqlite3]; X! L# i. c: ?  h; G- }
  972. ;sqlite3.extension_dir =7 F3 }( Y! g, B& V
  973. 9 y8 q5 m( o1 E0 j
  974. [Pcre]
    3 B% ?6 C6 d3 l$ m5 P
  975. ;PCRE library backtracking limit.
    / O$ @0 R8 o. h) F
  976. ; http://php.net/pcre.backtrack-limit
    ! g, [- T- K/ i
  977. ;pcre.backtrack_limit=100000
    ' W: ]6 e; t3 P' r) b1 `
  978. 2 f5 x, O3 R. Y8 S$ f) E3 s
  979. ;PCRE library recursion limit.0 G' e4 a2 m9 b* |) r& \: i
  980. ;Please note that if you set this value to a high number you may consume all: w  m  a" F8 y0 j  v4 z' Z
  981. ;the available process stack and eventually crash PHP (due to reaching the/ {: R2 w# _0 K- ^/ G
  982. ;stack size limit imposed by the Operating System).8 M( j. P* c1 I9 M
  983. ; http://php.net/pcre.recursion-limit
    % w* W" E4 K' i7 N2 s
  984. ;pcre.recursion_limit=100000  }4 o& ~5 L6 p8 k: Y5 f6 r" k$ a

  985. % o9 }' s( \& v) E1 G
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE, k0 @6 w5 N  T% K6 Y
  987. ;library to be compiled with JIT support.+ y/ @$ L, C# b/ D
  988. ;pcre.jit=1
    / Q) }: k! q' N

  989. ' c, A* E0 J8 ~/ n) p, x
  990. [Pdo]
    & f3 G4 b9 \: U0 I% C0 N% X
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ {2 `7 L  w5 K; B
  992. ; http://php.net/pdo-odbc.connection-pooling
    - }, e  R; [5 I0 f* J
  993. ;pdo_odbc.connection_pooling=strict
    + a3 z* P' S9 ~1 Y) R' U

  994. & V& c9 i+ |/ h5 V# W& i3 v
  995. ;pdo_odbc.db2_instance_name
    ) r/ d3 ]% X( }/ V/ m9 X1 o  f( H
  996. : C; r  p8 T+ c/ o; ]
  997. [Pdo_mysql]( g3 r" C* W  B; j; z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - V. f" g1 n. D) D* z; t  J
  999. ; http://php.net/pdo_mysql.cache_size5 E- B- [1 R' V
  1000. pdo_mysql.cache_size = 2000
    ' Z0 J4 |  V7 B9 k0 g! H0 w

  1001. 3 Q) O! E, d9 g0 l9 i/ G( G$ I
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 X1 F3 _) W6 p0 K* k7 d$ T' t
  1003. ; MySQL defaults.
    ; x) v- `5 \$ J( j# c/ @. H% g
  1004. ; http://php.net/pdo_mysql.default-socket; [* K' v' E8 N. @' A- m3 x8 p
  1005. pdo_mysql.default_socket=! L0 V. e! V; \& O

  1006. ' \) i/ ~2 p# b: B
  1007. [Phar]1 m$ F% v$ J' S0 u& L
  1008. ; http://php.net/phar.readonly! G2 P# F" V! i$ F1 y2 S% A# v, r
  1009. ;phar.readonly = On/ f+ e8 R% E$ U" u
  1010. & y. H7 V! M# f( z3 ~
  1011. ; http://php.net/phar.require-hash
    # u( j5 @3 V: |) U0 d, [& w
  1012. ;phar.require_hash = On
    2 a7 I6 ?+ p* h" ~! _/ n
  1013. 3 H8 T; ]: Q% [) J/ A" x$ i  |
  1014. ;phar.cache_list =6 B) Z( _2 f% }
  1015. / S" h: ~# x: L. N0 }
  1016. [mail function]
    + v0 \5 A$ j# Q* ]- T# W
  1017. ; For Win32 only.
    , f8 b; v, T( w- J
  1018. ; http://php.net/smtp+ s$ W* [. B- I+ L4 M9 {( c& l: q
  1019. SMTP = localhost
    1 [, b4 n' }% q" i! s: J# h
  1020. ; http://php.net/smtp-port4 P# c' @+ O" e9 V. x; e0 ^" U6 C9 ?
  1021. smtp_port = 25
    8 ?7 ]6 D1 I$ c7 V/ r8 {( u9 ~

  1022. " Y( f' {- X: N
  1023. ; For Win32 only.3 ?5 n+ v2 ?) f0 d3 \, K
  1024. ; http://php.net/sendmail-from
    , f7 s7 W& N4 {" ?8 F0 P
  1025. ;sendmail_from = me@example.com  z3 J2 \' p/ |/ y+ E' L
  1026. ( v  j+ M+ c: u* T& @2 n7 |
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ! Z) |. Q& k) A# l5 m7 H+ H
  1028. ; http://php.net/sendmail-path* m5 ?: S( z* k% U, Z% f; p
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ) o7 v1 ~3 z! C: d

  1030. 6 ~& C7 {2 J: t3 A, J4 S+ l7 w5 n
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    , X: J5 }+ U: j, i/ ?0 _
  1032. ; to the sendmail binary. These parameters will always replace the value of2 x# t' S$ n# k) r  K/ S. I
  1033. ; the 5th parameter to mail().  X( i7 `$ k( `1 o2 [+ Q
  1034. ;mail.force_extra_parameters =, k) D, }9 Z( a& V3 r3 |9 g( ^, o; T

  1035. 8 ~$ m; B# M9 Y5 K9 \; L$ r: `
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename3 [' m' P( L1 \% o3 y
  1037. mail.add_x_header = On
    4 J% w/ O5 h& @) q& J

  1038. 3 @) t4 ~5 `) i% C
  1039. ; The path to a log file that will log all mail() calls. Log entries include/ G! O+ c7 u" T' u1 Z
  1040. ; the full path of the script, line number, To address and headers.
    " w6 K5 K! c9 O
  1041. ;mail.log =
    + X; K% B9 l( C' g7 N
  1042. ; Log mail to syslog (Event Log on Windows)./ y# D* [: V: m! [
  1043. ;mail.log = syslog
    ' L8 a# W' {  g( K( d1 \
  1044. 6 J$ J8 `! j- k1 \8 ^
  1045. [SQL]
    + ^) x3 ]) ~4 M  F
  1046. ; http://php.net/sql.safe-mode
    ! e5 _: n. |" {! O, o; k
  1047. sql.safe_mode = Off7 [/ L$ ~' F/ t8 P- }6 s

  1048. . K5 J1 P4 ~, m6 X
  1049. [ODBC]
    , [8 e3 ]+ w$ ?7 ^; `6 U9 f
  1050. ; http://php.net/odbc.default-db
    1 Z& R) z, }" E1 {$ q5 q
  1051. ;odbc.default_db    =  Not yet implemented
    5 U8 c8 F6 x1 Z0 M2 u

  1052. 3 Q8 z/ }- {' Q
  1053. ; http://php.net/odbc.default-user- v, D  Z3 ~5 C
  1054. ;odbc.default_user  =  Not yet implemented
    $ _: U) ?1 g* t& h+ X
  1055. & i, z* U" A. ]3 J
  1056. ; http://php.net/odbc.default-pw
    % O  r8 s% h+ w: w, J' [6 E; b" E
  1057. ;odbc.default_pw    =  Not yet implemented, k: A/ y3 r) e( M4 H

  1058. ; c+ ~8 C  M% x+ P6 L
  1059. ; Controls the ODBC cursor model.  D6 h' P# y& t* U9 m' N1 @- N4 r7 p
  1060. ; Default: SQL_CURSOR_STATIC (default).
    3 U: g/ }- O7 r/ Z# |" O
  1061. ;odbc.default_cursortype3 F$ c$ }2 T' @+ y8 X( p
  1062. " V) i! y8 h& U
  1063. ; Allow or prevent persistent links.5 N7 W# X0 w/ x1 r
  1064. ; http://php.net/odbc.allow-persistent' F& U9 [! r8 d6 ^1 o/ m# a  |" b+ E
  1065. odbc.allow_persistent = On
      d) }9 c) ^2 ]) e( z: p
  1066. - ]5 ], p* L1 R- {5 z4 B+ L, Q
  1067. ; Check that a connection is still valid before reuse.
    $ Q# C& X/ K2 _* N( {# }7 y
  1068. ; http://php.net/odbc.check-persistent
    " T7 ^2 S2 ?. O1 v3 m  r  }
  1069. odbc.check_persistent = On
    : {# t- [' p5 p5 L) L) v

  1070. 6 v0 P+ \6 g; [* p" m- f
  1071. ; Maximum number of persistent links.  -1 means no limit.- h5 S, e* r' l" o" x# V: `
  1072. ; http://php.net/odbc.max-persistent# G: n( S. C3 b
  1073. odbc.max_persistent = -1
    ( l- D1 e) X+ e- V/ D% N$ O' y
  1074. * h, M, M* V) K2 H" ^) H+ I
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." j5 R' Y) {3 k6 r6 I0 Y
  1076. ; http://php.net/odbc.max-links
    0 e6 u9 D# L' U6 E9 H8 l* m4 n
  1077. odbc.max_links = -1% K! d. b/ _' |7 n% A

  1078. & J5 p' c. X5 i( `' V; }
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means+ B+ [+ ~( I8 }' `4 T) J
  1080. ; passthru.3 B+ [2 ^. O# e+ I
  1081. ; http://php.net/odbc.defaultlrl
    ! \8 H; n* a" P. q
  1082. odbc.defaultlrl = 4096
    0 B' Z1 E0 j! Y+ O7 y/ B
  1083. & @2 L7 \# N+ Q* b; P
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    8 K8 x  }7 G8 L( d4 q) R. J
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , |9 R4 M  a( G3 {, |
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode; p' f9 U4 v8 E4 h) k" ~+ N
  1087. ; http://php.net/odbc.defaultbinmode' B* r, \, y, f4 F
  1088. odbc.defaultbinmode = 1
    8 h; M. I5 T; P" j0 s2 \
  1089. 9 \% O5 ]. a/ w/ a# t/ W
  1090. ;birdstep.max_links = -1
    ( S1 L& I0 @) j4 b' x% Z, \) n6 ^) w

  1091. 2 f  A. J+ x2 H) J) r6 a
  1092. [Interbase]5 K3 H% }% @. p& Q9 g5 ^" l. m2 o1 _
  1093. ; Allow or prevent persistent links." x& I- Y% A, {
  1094. ibase.allow_persistent = 13 x# \( Z0 ~1 M
  1095. ; Z+ l& j6 `& Z7 T
  1096. ; Maximum number of persistent links.  -1 means no limit.% F0 L% a. E1 U/ g9 {0 o
  1097. ibase.max_persistent = -1
    3 J5 F& u- F% ~9 G0 J9 [: Y. U) w* Y

  1098. # Y. X% L7 t( C: t- D: D
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ F9 v  V* ?" Y4 Z9 C
  1100. ibase.max_links = -1
    $ B* T/ r+ k$ V& l) U+ x, Z% ~

  1101. 5 X9 S7 v3 b* B  Y. R) a
  1102. ; Default database name for ibase_connect().
    ! s$ ^% \: v* |  c& b( A
  1103. ;ibase.default_db =5 @3 r* H# a! x  d0 O2 T

  1104. : L9 ?$ \2 [- O7 _: j
  1105. ; Default username for ibase_connect().6 ~8 ?" b3 q% Z0 h# P% {
  1106. ;ibase.default_user =; r0 j: N+ C5 Y$ v

  1107. # ]: ~# k4 s2 q
  1108. ; Default password for ibase_connect()./ q3 _1 h& M# K
  1109. ;ibase.default_password =
    + ]* w5 A9 H! o. ]3 T5 F

  1110. # h' Z6 N3 s% x5 [* E' C6 l9 y- f
  1111. ; Default charset for ibase_connect().
    2 S9 J8 Z7 l7 J: b5 U3 q( N
  1112. ;ibase.default_charset =
    9 y/ J3 R: H* S. _+ W
  1113.   e' C% L$ a% O
  1114. ; Default timestamp format.
    . X8 B# @7 R! T
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 a3 M: m! ?0 c+ c* G: S6 G7 j: {

  1116. / T4 {. O: v( F2 S( ]
  1117. ; Default date format.. F" H7 |. M# A; h2 O0 l
  1118. ibase.dateformat = "%Y-%m-%d"
      C1 S8 z: v) j7 D9 v
  1119. & g+ p( v7 M8 H) X$ ^6 B' t6 L
  1120. ; Default time format.4 `; m$ B+ G; ^3 N, j7 `5 q
  1121. ibase.timeformat = "%H:%M:%S"5 n3 w$ R! I! n  j4 y  `
  1122. ; c# K+ s/ }- S. e2 l0 M
  1123. [MySQLi], D8 O# R0 x0 E; x- m
  1124. % q( ?, G" ?- z% ~- a
  1125. ; Maximum number of persistent links.  -1 means no limit.# ~' r. t. ?# R: H) K& Y
  1126. ; http://php.net/mysqli.max-persistent5 j' o1 O; m7 d
  1127. mysqli.max_persistent = -1
    1 A4 l, ~, F0 T; ?( x7 P& x
  1128. 7 P  C) R( B* X& R7 z
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( q$ j& }- S4 ?5 @  x- \. D
  1130. ; http://php.net/mysqli.allow_local_infile1 R- K9 f  R$ B! e' ^
  1131. ;mysqli.allow_local_infile = On
    - G( ?0 \/ t# [
  1132. 3 y/ ]/ ^3 p4 d: Y; q
  1133. ; Allow or prevent persistent links.4 t* A. \+ e4 V7 |0 p  _3 l
  1134. ; http://php.net/mysqli.allow-persistent
    1 V4 [# f1 i8 v/ C# o3 [5 Z% D
  1135. mysqli.allow_persistent = On
    6 \1 l5 s+ v' j$ I
  1136. $ I; k+ h. [$ S4 `: N6 M+ y
  1137. ; Maximum number of links.  -1 means no limit.; ]# W, A, B: D. ]+ u/ U
  1138. ; http://php.net/mysqli.max-links
    0 N' k* B, [( ]& \3 T- K
  1139. mysqli.max_links = -1" A5 N/ P' c  n7 q
  1140. 7 G' u6 {: b* p* r0 Q4 T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache& l$ L  J1 y/ [) j0 x" U
  1142. ; http://php.net/mysqli.cache_size
    ' F; I7 J7 q7 J5 s3 C2 ~$ X0 ?2 L
  1143. mysqli.cache_size = 2000
    ) T$ k8 H. b  J, w" s$ A: K+ p
  1144.   w! V9 T9 f( \2 _% C+ \5 @# j
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    2 M3 g8 c0 p5 `, `2 |* Z
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 r0 @4 k; {! J6 y: w
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 o; D+ S1 m5 W  w8 v
  1148. ; at MYSQL_PORT.
    5 r( q' H9 `4 Z3 s
  1149. ; http://php.net/mysqli.default-port
    ' O' p1 e; p$ p8 i2 ~. l0 K# ~1 C
  1150. mysqli.default_port = 3306
    & Q$ r" j0 s% f, P7 c# D2 o( ~# E* p

  1151. , w5 T7 v" [% @8 d& P) ?  B
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 j; ]# P# g. |; c5 a  I
  1153. ; MySQL defaults.
    8 l+ N3 @6 m0 `! N! b5 [- E8 U: [
  1154. ; http://php.net/mysqli.default-socket2 Z7 X/ z( O/ i7 E: ^/ Q( y
  1155. mysqli.default_socket =
    # ^. C$ Y) z8 y. L6 k, x
  1156. * @0 d4 ~: T3 t. {: k6 t2 A6 h
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).; a1 w) L* |3 c" X
  1158. ; http://php.net/mysqli.default-host
    . u5 g5 B9 T, \4 }$ n
  1159. mysqli.default_host =4 v9 j" g9 C0 A
  1160. + v4 q0 z+ k5 B: j
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)./ D$ a/ y. H2 L6 K: O- |
  1162. ; http://php.net/mysqli.default-user& r  [; I! d; \* Z6 z: l/ @) u
  1163. mysqli.default_user =
    3 W* o7 d7 \% h" \. X& G+ V6 y

  1164.   F+ x1 h1 X. m. [; X9 y
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 [( D5 R0 p: r5 c7 r% l
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    % Q9 t* ]4 \3 W2 S1 D6 F
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")2 V8 q- |) p( g
  1168. ; and reveal this password!  And of course, any users with read access to this, e7 k$ B2 ^; z( ~4 Q0 }& t+ [
  1169. ; file will be able to reveal the password as well.
    : {1 J5 }7 O, d' t: p% D. p
  1170. ; http://php.net/mysqli.default-pw
    9 V2 q% k6 q, v! l0 A
  1171. mysqli.default_pw =! E3 |" N5 _8 m: B& x% P0 h" q

  1172. 3 X5 a4 a0 w. O6 q# X
  1173. ; Allow or prevent reconnect
      P. x5 p5 `- [7 ~7 Y! {& k$ t6 c
  1174. mysqli.reconnect = Off
    ; }2 P5 \: Y3 T8 `9 \0 G
  1175. % h7 K1 V8 E4 j7 v2 B
  1176. [mysqlnd]
    0 c. C. K- A( x! O9 f
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ( a' s" O% i' @
  1178. ; used to tune and monitor MySQL operations.
    $ y7 F4 X! b  j7 s0 g
  1179. ; http://php.net/mysqlnd.collect_statistics1 p# M$ Z% {. I& \3 O  p& Q, Y- M
  1180. mysqlnd.collect_statistics = On$ x: m  }! B, K! I! O

  1181. ; s8 L* A5 w0 I8 C
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be: D" c  u1 Q/ ~% g
  1183. ; used to tune and monitor MySQL operations.
    ; [8 i  f3 j* x- d
  1184. ; http://php.net/mysqlnd.collect_memory_statistics+ m: M  N# N  ?1 C' h  f
  1185. mysqlnd.collect_memory_statistics = Off5 u. N" J7 p/ A" o
  1186. 3 X7 ?0 M0 `1 \+ l% K: j' m' w
  1187. ; Records communication from all extensions using mysqlnd to the specified log
      n, V+ _1 {! N' k6 y( S, B$ \
  1188. ; file.# R+ U; e# }8 d/ }/ a+ s3 A
  1189. ; http://php.net/mysqlnd.debug
    + P4 k- a! N1 t$ w: C% ~2 y5 f
  1190. ;mysqlnd.debug =3 i" n, x4 \2 n0 k) e

  1191. 9 V* E5 c6 s* q$ O# x9 O& T1 Q
  1192. ; Defines which queries will be logged.
    ; J/ A% v+ N6 K  w- w) n
  1193. ; http://php.net/mysqlnd.log_mask
    7 D. e) _! U* q, n; v/ y
  1194. ;mysqlnd.log_mask = 0( v2 u9 l  M' S8 ?
  1195. % o# t4 {6 M. Z- W
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ }! E4 {8 J6 Q7 P; g
  1197. ; http://php.net/mysqlnd.mempool_default_size
    $ Z0 F2 W( E) i) r4 z
  1198. ;mysqlnd.mempool_default_size = 16000
    3 G: I3 ~. W3 a: f3 B
  1199. & |( O! u7 w& h* o# z
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.* l, n* h- p$ C( ^
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    , T6 ?3 N7 m% q5 O
  1202. ;mysqlnd.net_cmd_buffer_size = 2048! s$ y" _- x2 O/ L' S
  1203. 4 q4 A* L  E, }
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 ^5 u0 o) ]8 V5 ?: r- I- }
  1205. ; bytes.
    ) }  K3 b) Q- P" j/ L: M
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ! p* F# W7 [% _9 c2 z, j, @
  1207. ;mysqlnd.net_read_buffer_size = 32768
    . _- e5 r/ U7 }' W! J

  1208. * j2 _  j" f7 I! a
  1209. ; Timeout for network requests in seconds.
    8 l. k9 M2 R! P$ m9 _6 w
  1210. ; http://php.net/mysqlnd.net_read_timeout
    8 u! Z  `  Q" g5 t
  1211. ;mysqlnd.net_read_timeout = 31536000
    # e3 E5 G; w$ W2 V" b9 d( F: _
  1212. " z" a) e% z4 B7 f. J
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA# r8 k% J3 B1 S
  1214. ; key.
    2 N) [( X6 Z/ t1 b2 V) H$ t7 d
  1215. ; http://php.net/mysqlnd.sha256_server_public_key2 E* x- H3 \" X: K  v& t
  1216. ;mysqlnd.sha256_server_public_key =
    7 t/ R* Q0 H0 v2 G9 H

  1217. ; s1 e: n! ~" _0 w
  1218. [OCI8]
    $ v6 ^6 g: y  f6 F% D

  1219.   H1 B- C1 w. |8 H% q3 {3 _+ ^
  1220. ; Connection: Enables privileged connections using external5 U6 U% l) h7 A* H, J2 V
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)# r8 D& t8 g: h; d# v' `( p
  1222. ; http://php.net/oci8.privileged-connect5 n& @1 T9 T) U' y  j1 y$ k
  1223. ;oci8.privileged_connect = Off" f/ i6 e3 j0 _" z: O
  1224. + l  w: w" l# C
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    # j0 j) H6 C4 N& {8 Z: |
  1226. ; process. Using -1 means no limit.
    4 G$ ]' i- ^" C# x
  1227. ; http://php.net/oci8.max-persistent4 p% v* J9 L6 O2 X4 Z! _- ]
  1228. ;oci8.max_persistent = -1# G) T8 I& h, N) z: J9 D

  1229. + h1 A6 D0 S) L7 Z5 ?' N, m3 t
  1230. ; Connection: The maximum number of seconds a process is allowed to* F; k8 [+ C" b) j. p+ }! J8 N
  1231. ; maintain an idle persistent connection. Using -1 means idle5 w/ M+ i8 b4 R* O
  1232. ; persistent connections will be maintained forever.
    8 j% R) }( y( d* i5 h& {+ I  i- Z9 q
  1233. ; http://php.net/oci8.persistent-timeout
    1 u9 L. f( d6 ^
  1234. ;oci8.persistent_timeout = -19 c: o# H; E8 h5 [9 z

  1235. , M% G1 o$ _  d" B" @% y
  1236. ; Connection: The number of seconds that must pass before issuing a  @, }& W0 j. h4 V* {, }
  1237. ; ping during oci_pconnect() to check the connection validity. When2 H+ V+ {1 r/ \) ]6 T0 h
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables( d( l5 G! j5 P/ O1 M/ |
  1239. ; pings completely.# s6 H. [% ^% b7 M( m
  1240. ; http://php.net/oci8.ping-interval. H  ~  q# d( v( q  d7 \
  1241. ;oci8.ping_interval = 60* L2 @, H8 j$ x  `5 i3 _
  1242. - p9 F& k- B' E* M5 K9 X
  1243. ; Connection: Set this to a user chosen connection class to be used
    7 G1 ]3 X& p# a) G2 u
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ! c  N* ^5 O$ ^2 w0 Q
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ) f, x0 q! x& l: _3 F" i; O
  1246. ; the same string for all web servers running the same application,7 S7 s  }" P$ F
  1247. ; the database pool must be configured, and the connection string must
    ) D# z1 A* M; T
  1248. ; specify to use a pooled server.
    & Q6 B  _; V& S2 q4 f
  1249. ;oci8.connection_class =
    - D  W  D; m6 o: ?% Z, f4 ?
  1250. + y3 T$ K6 E. {! H
  1251. ; High Availability: Using On lets PHP receive Fast Application4 l$ L  B/ \8 L0 D4 V
  1252. ; Notification (FAN) events generated when a database node fails. The
    7 H# v6 R4 `' n8 t/ p7 V1 f0 g4 R
  1253. ; database must also be configured to post FAN events.  t7 @4 r# K7 W
  1254. ;oci8.events = Off
    8 S1 t- r: j  v% C1 H/ J
  1255. 5 w  Y) q( \6 h4 x
  1256. ; Tuning: This option enables statement caching, and specifies how
    # V4 D5 M- Y3 m1 p9 z
  1257. ; many statements to cache. Using 0 disables statement caching.
    + b7 |/ A2 n$ M  y4 F+ A; \
  1258. ; http://php.net/oci8.statement-cache-size
    4 I- \  y6 t/ H4 m& u" d( Y7 w0 p
  1259. ;oci8.statement_cache_size = 20" q* h9 B1 l( s) D. G# F

  1260. ! y" X4 b" M# z& F4 f
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    % j# s/ v6 I3 c8 n) x* c
  1262. ; rows that will be fetched automatically after statement execution.
    4 J( \8 |8 J4 S
  1263. ; http://php.net/oci8.default-prefetch7 Z! ?/ i- e8 J6 v
  1264. ;oci8.default_prefetch = 100" ~9 `( a( i0 w# w% I

  1265. 4 t" @/ K5 W0 u9 E% I
  1266. ; Compatibility. Using On means oci_close() will not close6 [  }% o5 b% m6 U  e* t
  1267. ; oci_connect() and oci_new_connect() connections.
      g9 {5 Y2 Y5 ?5 H; C* A
  1268. ; http://php.net/oci8.old-oci-close-semantics
    $ y+ E- T6 C2 [2 q6 }- g. p( ~
  1269. ;oci8.old_oci_close_semantics = Off
    4 {6 [' q$ q! j+ I. f/ N' q
  1270. / p2 Y5 {& y! ^& H1 b: b' H
  1271. [PostgreSQL]
    , z3 l2 S: V% \. P: m
  1272. ; Allow or prevent persistent links.. {: b1 n0 w9 W; F) I4 B- b
  1273. ; http://php.net/pgsql.allow-persistent. |& l$ b) _& L& A% p$ B1 T5 d" q+ s
  1274. pgsql.allow_persistent = On/ v& @/ z4 _( q( F0 K+ O9 @
  1275. ) |5 j: L0 b: i5 r8 C
  1276. ; Detect broken persistent links always with pg_pconnect().) Q2 x, d% ]4 {# F( \4 k( i7 U
  1277. ; Auto reset feature requires a little overheads.
    ! i, d$ [; Z8 f6 M9 F6 ^$ P3 G8 A; M
  1278. ; http://php.net/pgsql.auto-reset-persistent3 i: a6 ^* U( d
  1279. pgsql.auto_reset_persistent = Off" j) ~  R' s  A+ w1 ^! l

  1280. % `+ k& G  c+ K+ t' O. I- m( P
  1281. ; Maximum number of persistent links.  -1 means no limit.
    $ d. v8 }5 [" x, n( b! ~8 m
  1282. ; http://php.net/pgsql.max-persistent0 Z! \7 }; @& M! t- j0 T. a4 q  V
  1283. pgsql.max_persistent = -1
    . i* W+ m2 k" F5 y& ]- ~# [

  1284. 1 Z1 i2 F! f9 @
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.2 \: b( [, n/ f) J& l/ }; X
  1286. ; http://php.net/pgsql.max-links
    ' ?7 H. s4 t, ?* n
  1287. pgsql.max_links = -1
    $ Y- i+ d8 @- p# K1 X; s9 }

  1288. 7 y$ m3 V! b' e, y% Q0 `
  1289. ; Ignore PostgreSQL backends Notice message or not.
    8 f- l5 P/ `* Q- b
  1290. ; Notice message logging require a little overheads.
    % {; A( Z+ ?4 _
  1291. ; http://php.net/pgsql.ignore-notice
    6 S( s9 _1 H5 e7 x: R
  1292. pgsql.ignore_notice = 0, a9 C, l1 v* B
  1293. - U+ o1 J( U2 s$ I- [/ X
  1294. ; Log PostgreSQL backends Notice message or not.
    - @: A3 G" ]3 f6 |# f
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.+ ?6 @0 ]: z) z+ ~5 B3 |
  1296. ; http://php.net/pgsql.log-notice) M4 T! T: ~0 f& |. ?% i+ V$ d, [- t
  1297. pgsql.log_notice = 0
    : C* r8 V" r+ D" m- Z  E$ \0 ?% q
  1298. - c+ \, c! m0 C2 \, d. F* j
  1299. [bcmath]7 m5 `$ a: Q  [- A) F8 A$ p# y
  1300. ; Number of decimal digits for all bcmath functions.% m9 U  [; A$ W
  1301. ; http://php.net/bcmath.scale
    , L1 x7 D6 |3 T# [7 F
  1302. bcmath.scale = 0
    % I4 x( A* F; Z; E( w; g. r  W
  1303. ; L7 {  E% c9 |) \
  1304. [browscap]% [6 S1 h' A- m" N! X, K
  1305. ; http://php.net/browscap
    % M5 _2 A) z5 [
  1306. ;browscap = extra/browscap.ini- U' }5 }8 Q; e2 e8 o0 C
  1307. 0 l# n5 S8 s) a( v' d1 q. z
  1308. [Session]
    9 O' ~' P6 B4 j  g$ _
  1309. ; Handler used to store/retrieve data.
    6 ^2 }# W( A0 I9 Z5 k6 F
  1310. ; http://php.net/session.save-handler5 k7 }. K/ d* s
  1311. session.save_handler = files" |. y' O( V6 i! Y* w
  1312. ! I% t$ z$ z5 u* t4 f6 J" H/ e0 C6 [
  1313. ; Argument passed to save_handler.  In the case of files, this is the path% b! O1 W4 e9 e* N
  1314. ; where data files are stored. Note: Windows users have to change this$ t, W' _, ~6 W2 G  U% Q% m$ T" F
  1315. ; variable in order to use PHP's session functions.: e" }# f0 Y& f; G- |; d/ t
  1316. ;
    * ~# e4 \% `/ s2 d# i
  1317. ; The path can be defined as:( |  o1 J7 }/ ~- X0 {
  1318. ;  |& R/ q- G$ K6 E6 ~9 R
  1319. ;     session.save_path = "N;/path"
    9 q; M* S( u- V0 l
  1320. ;( Y" q) B  m7 k1 b- ^/ O; q5 D
  1321. ; where N is an integer.  Instead of storing all the session files in+ ~/ Q$ s' \4 V/ G' N( K
  1322. ; /path, what this will do is use subdirectories N-levels deep, and" [/ n1 F2 G4 _- f1 x1 ~6 L' c5 L
  1323. ; store the session data in those directories.  This is useful if: h: ?. A. N; }  ^) d  C1 `
  1324. ; your OS has problems with many files in one directory, and is; W4 G7 u3 t! F9 e4 Y
  1325. ; a more efficient layout for servers that handle many sessions./ F4 Z* l- p( a* m
  1326. ;
    " _- ?7 H1 ]2 v7 ?$ L
  1327. ; NOTE 1: PHP will not create this directory structure automatically.6 E& K+ ]* g: R/ l. X
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ; ?! i2 }5 J" S0 [9 P9 }
  1329. ; NOTE 2: See the section on garbage collection below if you choose to+ R% E6 n, G+ G
  1330. ;         use subdirectories for session storage7 z$ X% F- ]6 L3 E" b+ l7 w
  1331. ;
    , J. i" k2 _0 G+ _' [. m, A
  1332. ; The file storage module creates files using mode 600 by default.
    1 z: b# C( d) C
  1333. ; You can change that by using2 ]' p8 x0 M  p2 J8 O$ Q' Z
  1334. ;, l. B5 F% I4 F( W, F
  1335. ;     session.save_path = "N;MODE;/path"3 h9 B$ m7 o* d' _) N
  1336. ;1 u2 M  E% c6 V9 `6 N. s, ]
  1337. ; where MODE is the octal representation of the mode. Note that this- [  C4 ~$ o# r1 D  [+ W
  1338. ; does not overwrite the process's umask.
    ( p$ ~4 X+ N- E  m' s# K2 ~3 j: @
  1339. ; http://php.net/session.save-path
    3 s; y! R3 U5 j0 n9 c, e
  1340. ;session.save_path = "/tmp"
    * V/ R& ?9 F/ {$ ~9 F2 I
  1341. : \6 y8 o9 s" X+ n7 g
  1342. ; Whether to use strict session mode.; P* a8 L. O9 `0 G' Q& W
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    * ~7 t9 [; n! C* r
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects) c. w7 _  y9 ^
  1345. ; applications from session fixation via session adoption vulnerability. It is) U% G6 I/ l7 V' O) \: a
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " w( P- r2 [% ^; x# Q7 B1 }
  1347. ; https://wiki.php.net/rfc/strict_sessions
    . w2 z- M4 I1 c  Q; [
  1348. session.use_strict_mode = 04 M- f& a% \" j1 ?' f
  1349. . {- @4 Q8 w$ \. B1 q' b0 g( Q
  1350. ; Whether to use cookies.
    , |. P! {, h! o7 \5 d
  1351. ; http://php.net/session.use-cookies
    2 u; p  n1 x4 L
  1352. session.use_cookies = 1% e9 i) w5 o& [! ]

  1353. 7 Y4 [+ v% B" Y- f7 p; t/ A
  1354. ; http://php.net/session.cookie-secure! L8 L1 [9 W6 y- \; P1 H
  1355. ;session.cookie_secure =
    " n: X( ~- A- F* v

  1356. " Q: k3 {! j- }: X/ K) F
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! F& J  ^; \( w! J( u
  1358. ; the session id. We encourage this operation as it's very helpful in combating2 Q- F' n$ d, I/ L# F, D; V# ^
  1359. ; session hijacking when not specifying and managing your own session id. It is4 d3 X7 e* y. `( r+ F' B% v
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( s! l7 c- x3 i" N7 ~3 g# E
  1361. ; http://php.net/session.use-only-cookies
    - r3 l* p0 E! u: U
  1362. session.use_only_cookies = 1
    $ z; z- X. Y+ y7 t: |
  1363. " d# C5 ]- V. {/ L3 n
  1364. ; Name of the session (used as cookie name).) ~7 g8 Z# |4 i' q1 T6 i
  1365. ; http://php.net/session.name
    3 E/ x0 M9 M* G8 `% W
  1366. session.name = PHPSESSID1 E# l: x7 @  J1 u/ H& M$ d+ X
  1367. . B: l$ t" q. s* L
  1368. ; Initialize session on request startup.8 N6 K0 a. F; e; a' ~4 R
  1369. ; http://php.net/session.auto-start
    2 e7 U, I3 ^& q  m( f4 _- a4 h
  1370. session.auto_start = 0
    / D( O& q6 k/ P8 Z+ x) b# l

  1371. $ E" b* j1 D0 T* E3 V
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* s( k. c7 ~$ |- C/ @
  1373. ; http://php.net/session.cookie-lifetime
    % @# Q) g3 E5 i: a1 P/ {8 r
  1374. session.cookie_lifetime = 0( }0 n% @  _! W" z
  1375. / [5 \9 z1 ^% G" V( D. g
  1376. ; The path for which the cookie is valid.
    5 Y' O1 i. s# a2 i
  1377. ; http://php.net/session.cookie-path
    ; a. s: j& {- I2 M1 |) Z
  1378. session.cookie_path = /
    5 h* C$ H( \+ q  X  J/ [( i

  1379. ; d& J  m. l0 F# r! m3 o3 V( f$ d
  1380. ; The domain for which the cookie is valid.3 s0 O" o$ ~& M2 u) j% V& ]
  1381. ; http://php.net/session.cookie-domain
    ( N2 E: i% ?- q" ?% Z
  1382. session.cookie_domain =8 c5 _8 |* O  H; J

  1383. 5 v, r! x1 W- g7 K- ^( d
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % v, G7 J' ~% ^/ ^1 o
  1385. ; http://php.net/session.cookie-httponly+ }% w5 l, E' K$ p" b" \
  1386. session.cookie_httponly =
    2 A0 r  ^3 |2 x& v0 F1 p5 `4 B3 C
  1387. 6 W) [) t. A7 M% k3 @; ^! x$ A8 I
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.$ X7 B: _, ?3 `
  1389. ; http://php.net/session.serialize-handler. e9 E  g( X" y
  1390. session.serialize_handler = php
    / d' E7 q4 Z1 u5 T2 w; |) y

  1391.   h4 B- q! C6 @
  1392. ; Defines the probability that the 'garbage collection' process is started5 A- ~: z4 Q- `
  1393. ; on every session initialization. The probability is calculated by using2 X, z! X2 h* e( w
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- O/ {' T- a7 Y$ g8 _- [
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) z. ]9 x. @+ K  v
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & Z. @/ ^" D1 n
  1397. ; the gc will run on any give request.( Y8 Q& @) x# E' K
  1398. ; Default Value: 1+ _  C" K: f" }; _# {
  1399. ; Development Value: 14 Q1 d5 z3 e# W/ V5 N! H
  1400. ; Production Value: 1
    : U" t* d3 Q9 C) v
  1401. ; http://php.net/session.gc-probability2 c- E  {/ `  }. J
  1402. session.gc_probability = 1+ D$ _0 A& Q* a& k
  1403.   E8 M/ ^3 e  c' Q. y& Z
  1404. ; Defines the probability that the 'garbage collection' process is started on every0 O/ j/ G3 k- C7 L1 K
  1405. ; session initialization. The probability is calculated by using the following equation:
    ( ^) b% k% M4 b0 C
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    2 o5 f' ^0 Y: {  F8 |2 z
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    9 ^# M0 d) j7 ~. \7 ]
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 v! i5 w1 r+ Y/ w8 _0 t
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    " e6 g- E9 R+ O8 e
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,7 X; J9 L5 m8 y( f3 E+ E# z, W
  1411. ; this is a more efficient approach.9 q. U1 ?" r7 a; s) O" e
  1412. ; Default Value: 100
    ) F% i: S' b3 b8 [$ C- N+ V- Y
  1413. ; Development Value: 10007 B! e* ~6 ~" \" \+ p7 V8 U4 Z
  1414. ; Production Value: 1000
    9 T" Y: _. D: J" `2 M. q* i
  1415. ; http://php.net/session.gc-divisor5 `$ O, |. H$ q  I" i6 F3 W4 T  Y
  1416. session.gc_divisor = 1000
    ; u( ], B8 y5 ^6 x
  1417. + @2 J0 T, J- J
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and* N4 ^' Q/ P3 y1 c% y9 j
  1419. ; cleaned up by the garbage collection process.
    % |( P' T4 ]$ Z9 \7 C& x
  1420. ; http://php.net/session.gc-maxlifetime$ K) g( ?& @. d) b8 Z, r0 x0 W8 Q6 i
  1421. session.gc_maxlifetime = 1440/ G! t" @, o8 G9 i' L0 n
  1422. . x: U- w4 t$ ~) E( B
  1423. ; NOTE: If you are using the subdirectory option for storing session files; R6 i& m0 q* I* D( x2 ~( Q
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ' F+ F& m3 M) D! o  z
  1425. ;       happen automatically.  You will need to do your own garbage. a5 U  ~& B' Y, o3 g; m5 ~
  1426. ;       collection through a shell script, cron entry, or some other method.
    % h. B) a% W4 E
  1427. ;       For example, the following script would is the equivalent of
    6 ^9 S& ^2 }" B+ c
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    - ?2 m& t! z, |% }) E! i2 L/ D
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- y5 ]: ?3 x" O, d  B8 k

  1430. 3 m" ^& v/ b# H9 H/ b
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    % r, O7 f5 \- ~
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    + H8 N. P/ u- K9 A
  1433. ; considered as valid.
    ) b& S+ r4 u6 K+ v+ I
  1434. ; http://php.net/session.referer-check
    " b' Z7 \1 P+ p3 i: c' O
  1435. session.referer_check =
    * k7 d: H( I5 K+ K0 j

  1436. ; e0 m/ A8 ]# I) `6 \
  1437. ; How many bytes to read from the file.
    - p' c0 Z8 Y2 v6 ^4 n- d
  1438. ; http://php.net/session.entropy-length
      Z5 j' M, L% }8 p* Y
  1439. ;session.entropy_length = 32
    7 i' m9 M5 G; ]- s2 R8 F7 U" T

  1440. ) k7 d9 I) r$ |6 K
  1441. ; Specified here to create the session id.
    + n. M6 ?" A/ M% F
  1442. ; http://php.net/session.entropy-file' T& {$ o# b' G. h
  1443. ; Defaults to /dev/urandom, S" w* I9 C( s  _3 u! M
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " d1 c. ?  K9 u1 E* l' C
  1445. ; If neither are found at compile time, the default is no entropy file.
    ) Q& f( T" K: Z: m
  1446. ; On windows, setting the entropy_length setting will activate the
    # h8 K4 f7 E1 h1 R) _0 |1 q
  1447. ; Windows random source (using the CryptoAPI)
    / f9 X- c7 X! f( g( }
  1448. ;session.entropy_file = /dev/urandom
    4 Y6 P; Q% X, }- V

  1449. # x* S1 d8 u9 R2 f* I
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects9 y  d( `% c2 u6 k4 b1 A
  1451. ; or leave this empty to avoid sending anti-caching headers.: g1 x) i) r8 V
  1452. ; http://php.net/session.cache-limiter3 N- X- t- }; O' w8 T+ A) V% g4 J8 K6 S
  1453. session.cache_limiter = nocache3 v/ M& l; |1 q

  1454. 4 Y! ?0 B6 W+ q! J
  1455. ; Document expires after n minutes.
    % O. j$ j/ D. w. T1 k2 u) b3 W8 T- s. D
  1456. ; http://php.net/session.cache-expire% ]4 R4 O. a! G" B* {. M* g; T$ C
  1457. session.cache_expire = 180" |  b3 U+ U" m9 Z4 R

  1458. : |8 D$ y: I  z' w4 ~' M& Q
  1459. ; trans sid support is disabled by default.
    / t, e3 e" X( {2 C
  1460. ; Use of trans sid may risk your users' security., s, [/ i9 x" e' D
  1461. ; Use this option with caution.
    % M* J' `" R! p( `, D# G
  1462. ; - User may send URL contains active session ID
      m: O/ \: F6 @# L4 B+ F3 b
  1463. ;   to other person via. email/irc/etc.# s4 ~# x- u3 i5 c8 l  S7 e  |
  1464. ; - URL that contains active session ID may be stored2 ~3 F; j" V, c" o/ V& N
  1465. ;   in publicly accessible computer.0 S1 L. k( C- F. Y9 P
  1466. ; - User may access your site with the same session ID0 S! A9 A! S, ]8 o4 T9 y% u$ Q
  1467. ;   always using URL stored in browser's history or bookmarks.
    6 ]9 [& X; L- O/ y  w
  1468. ; http://php.net/session.use-trans-sid
    2 }5 ]9 R+ w& `) K4 M; T
  1469. session.use_trans_sid = 0
    ) D0 |! \% ~9 l4 l/ ~3 a- W: b
  1470. : h5 G5 }8 w8 x0 m8 q
  1471. ; Select a hash function for use in generating session ids.
    / q* z6 Z. r' T: q2 h
  1472. ; Possible Values1 L+ X% g$ t) V4 e" O" q1 U
  1473. ;   0  (MD5 128 bits); H0 H  A2 W( U" U
  1474. ;   1  (SHA-1 160 bits)" ?& e" _! ~! r8 r
  1475. ; This option may also be set to the name of any hash function supported by' z$ O/ @, o" ^( ?( ?5 g
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- i9 [3 _) f0 `" u2 B% j4 t
  1477. ; function.
    + i' \6 |1 ]% s& l& G
  1478. ; http://php.net/session.hash-function# M/ n/ U6 P, d: A- R1 o/ J
  1479. session.hash_function = 0
    ( N0 }4 d, M* Z1 |7 s: d; o) P( K
  1480. . B" w. j$ U/ |
  1481. ; Define how many bits are stored in each character when converting
    4 o  L6 t( h) j& z) J2 m
  1482. ; the binary hash data to something readable.
    ( \+ ^6 W% Z0 g; c* E2 s2 g5 \
  1483. ; Possible values:" X6 ?7 c4 v' O# g' ?4 P4 r5 c& b
  1484. ;   4  (4 bits: 0-9, a-f)
    & |% n* m2 }: Y' l" C, x/ c
  1485. ;   5  (5 bits: 0-9, a-v), F; Y4 P% t5 Y& S: m1 i
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")- t8 ]7 Q! o# S+ \8 P' a# l2 T
  1487. ; Default Value: 4
    4 o# R# x; m7 z0 M" [
  1488. ; Development Value: 5
    , l5 s4 _' O8 F9 r; |! }4 h
  1489. ; Production Value: 5
    ( Q3 k! p& L# x. ?1 k; s
  1490. ; http://php.net/session.hash-bits-per-character: c8 v3 P% v9 Y9 ]( r1 q" {$ E; J
  1491. session.hash_bits_per_character = 50 E  X# O* I9 ]# x; ^  o3 o

  1492. 8 c: I9 c3 K0 S) L0 G8 ?6 C
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.1 Y6 \. G( u0 m, M/ K) G
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ! o8 n, g* r$ j: _) U8 R& {
  1495. ; add a hidden <input> field with the info which is otherwise appended$ I3 o5 K2 J. u6 B
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.- n; ^; J& ~7 E3 |7 N, t
  1497. ; Note that all valid entries require a "=", even if no value follows.
    4 l# C: l3 E9 K% x
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    % W1 z" j; d6 Z* C- n
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 z9 N! ~) w5 X7 W
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  `0 y' l3 I! S( Q+ w1 \
  1501. ; http://php.net/url-rewriter.tags' y+ i# g) l1 t# X
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 w! @6 b# m! F: h

  1503. 5 L! L, N) N2 w+ n* t6 W; c* R
  1504. ; Enable upload progress tracking in $_SESSION
    ' V5 Z+ F. L8 _- y- g! I1 `
  1505. ; Default Value: On+ t5 A6 M6 {9 Q1 H
  1506. ; Development Value: On) J' w) a1 k/ n
  1507. ; Production Value: On/ U+ t6 H! \! t$ e1 w
  1508. ; http://php.net/session.upload-progress.enabled
    / L  h' R& w6 c* Z; H6 J
  1509. ;session.upload_progress.enabled = On
    2 Z* \5 T7 M0 \+ U  e
  1510. 1 I' B; L) u* h9 N
  1511. ; Cleanup the progress information as soon as all POST data has been read
    . H; w: ~! u7 z3 N9 m+ G; ~0 m& m1 `
  1512. ; (i.e. upload completed).2 Z8 h( N  _/ U1 t/ `1 X( v' K: Z/ F, o
  1513. ; Default Value: On
    8 Q/ b& ~6 U# d
  1514. ; Development Value: On
    ! m" t: `+ s; G, ~5 l1 }
  1515. ; Production Value: On: O; N5 d7 |. M( L
  1516. ; http://php.net/session.upload-progress.cleanup6 i) Z0 ]# |6 g3 \& j) `" v
  1517. ;session.upload_progress.cleanup = On3 X2 V% ]9 T/ i$ E$ {$ l- Q0 \

  1518. : {. ^% V- z% o
  1519. ; A prefix used for the upload progress key in $_SESSION
    4 |; i% z) @* c; Z$ j8 a! j1 x
  1520. ; Default Value: "upload_progress_") `' ^( \8 z$ s+ E0 D
  1521. ; Development Value: "upload_progress_"- Q/ P" Q" _" J
  1522. ; Production Value: "upload_progress_"' J8 n+ a: p" r$ A
  1523. ; http://php.net/session.upload-progress.prefix
    9 ~6 Q& Z) O9 d. Q+ B, A1 A
  1524. ;session.upload_progress.prefix = "upload_progress_"  M; i2 h, S5 S  b4 `7 @( Y

  1525. $ K% j. j  Z0 v) w' l: Q
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    % S+ C+ Q+ n5 i$ w
  1527. ; containing the upload progress information# R/ L: A; v- x  j$ Y4 n& ]/ k
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; d5 ?$ l; E6 Y7 q7 p
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - q/ w/ z. d. G( o# o: }  r# g
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 R; h# N! t/ D7 n& O
  1531. ; http://php.net/session.upload-progress.name3 {# O' W$ v$ Q( L+ F; k) H( y
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 G8 Z( _  {2 l) c$ f( f: R
  1533. 5 I3 N2 X: [5 u& c! \
  1534. ; How frequently the upload progress should be updated.
    $ q* V9 w' R7 Z+ ?( `0 J* \: P
  1535. ; Given either in percentages (per-file), or in bytes4 f! t: l3 R% |* Q' N" {- q
  1536. ; Default Value: "1%"% M/ r9 H9 ^0 _
  1537. ; Development Value: "1%"
    ( w0 f; D) |  B
  1538. ; Production Value: "1%"
    % d4 n# ?' D( a9 }2 ?: P- R
  1539. ; http://php.net/session.upload-progress.freq
    0 r5 B; ]) h6 y, a5 ~% z' |
  1540. ;session.upload_progress.freq =  "1%"
    2 O& @, }( H8 {; z5 t& c$ Q

  1541. 4 F: M, r' S1 s) B) \
  1542. ; The minimum delay between updates, in seconds( b: @( L: M8 d) E/ Z& ?; s
  1543. ; Default Value: 1  H. A/ ?+ K7 B# i
  1544. ; Development Value: 1
    3 z( Y7 x2 |3 ^4 [
  1545. ; Production Value: 11 p4 R- f) j2 r. U  M6 P
  1546. ; http://php.net/session.upload-progress.min-freq
    " W* N/ ]) d3 n. I
  1547. ;session.upload_progress.min_freq = "1"
    ! W' b, a/ n* S8 ~& u
  1548. # n0 K$ [" F' ?+ [
  1549. ; Only write session data when session data is changed. Enabled by default.
    , S$ q3 k9 z' m; W  l1 N
  1550. ; http://php.net/session.lazy-write
    4 ]' m# G# `1 w8 E. R) }9 T0 K
  1551. ;session.lazy_write = On  b6 S2 \) O4 \. B8 Z7 K6 R4 M7 p

  1552. 0 K* B1 K5 h8 e
  1553. [Assertion]0 `$ g$ g2 F- b: _7 {
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ' q3 d3 A# @+ @. N& |
  1555. ; -1: Do not compile at all+ K8 J( u. ^6 m3 p* ?5 \/ P
  1556. ;  0: Jump over assertion at run-time+ n8 H6 }; n6 [, `# S" E  R1 w/ b/ K
  1557. ;  1: Execute assertions1 ^/ K- |$ a& j: ^/ t
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1). F7 [! y$ k; E4 u: g
  1559. ; Default Value: 1& J- e2 t6 F' q
  1560. ; Development Value: 1/ i, Y6 z; G  h+ q( |$ M& h
  1561. ; Production Value: -1
    6 w$ r. i# f2 }/ l9 e
  1562. ; http://php.net/zend.assertions
    ! [) [7 C5 K& r& Q; j$ B
  1563. zend.assertions = -1
    " n! d; x' O" \- x$ h

  1564. + X/ O* \2 C" ~: y
  1565. ; Assert(expr); active by default.: {* K- u( V5 G* x& c( G! g8 {3 l0 @4 G
  1566. ; http://php.net/assert.active
    " N) F4 P1 g! w: j, B6 g) P6 n9 |
  1567. ;assert.active = On
    , S+ R, H' J( u. D
  1568. * x: V8 i- F  z4 ^7 O
  1569. ; Throw an AssertationException on failed assertions7 h0 M- R7 Y( K
  1570. ; http://php.net/assert.exception" E5 h7 ^7 s4 T; M* |/ _  E, |' h
  1571. ;assert.exception = On
    4 ~& @) L+ Y" w) W/ V* U' i. X
  1572. 7 y, g6 E& V, C% o3 i" _% X
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + S% I) i3 _& @% R- a/ U5 r
  1574. ; http://php.net/assert.warning
    & H7 ]! C( l# L3 [5 f; {8 V
  1575. ;assert.warning = On; ?- A8 O' {3 w4 ?
  1576. 0 L2 Z+ k  Q3 ~2 i. ]+ K. b& q, `
  1577. ; Don't bail out by default.& W/ t& _1 _& V% A* r# g1 P( W
  1578. ; http://php.net/assert.bail
    3 W' K# |( B  ^. k' [* S8 K
  1579. ;assert.bail = Off$ f1 J5 E8 `# U
  1580. ! h* W  J) j& X
  1581. ; User-function to be called if an assertion fails.3 ?/ ~* Z7 }; O" Z
  1582. ; http://php.net/assert.callback
    " s) I# {( n- y& f* C( _0 D
  1583. ;assert.callback = 05 N; a* {, Q3 N$ V% `7 r
  1584. ( e" d" P/ v8 M+ W# Q; p4 c2 Q
  1585. ; Eval the expression with current error_reporting().  Set to true if you want/ A, o  \% }9 S0 [* N6 h  N
  1586. ; error_reporting(0) around the eval().2 G+ R/ C( b  ^) I. r+ m
  1587. ; http://php.net/assert.quiet-eval
    7 \' h* l8 Z  X( m; a
  1588. ;assert.quiet_eval = 04 p- b& Q3 Z/ }; _2 s8 M& m3 C
  1589. 2 F5 c% B' B; o- ?% N
  1590. [COM]* W; R) L1 H/ o4 Z
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    , \; i: V  K  Q. A' A8 m. n
  1592. ; http://php.net/com.typelib-file& G: j% @- q& e3 |9 c0 w- f' d. I+ G
  1593. ;com.typelib_file =* s% G7 a- q& Y, k8 k, y- L1 n* ]
  1594.   K! R3 q$ j3 p9 B0 N
  1595. ; allow Distributed-COM calls
    + ~' A7 [$ B8 _6 {+ f! O
  1596. ; http://php.net/com.allow-dcom
    + o, k$ i7 |! R( \: B
  1597. ;com.allow_dcom = true0 [. [  y' Y* e) Z) l" e

  1598. : Q7 P5 a0 C3 _, h4 h* r0 C
  1599. ; autoregister constants of a components typlib on com_load()
    4 W1 |' R# _5 H7 f( c! I9 S
  1600. ; http://php.net/com.autoregister-typelib' {0 l# L; j7 I( x% r# h0 ~
  1601. ;com.autoregister_typelib = true
    1 _: \: |8 N! B8 C( z$ |$ s

  1602. & V$ ]' B7 l) {
  1603. ; register constants casesensitive! P) r, D( e7 l9 z& ?4 k
  1604. ; http://php.net/com.autoregister-casesensitive3 Y  \- \, y/ S
  1605. ;com.autoregister_casesensitive = false
    3 v& \2 A( ]3 I1 |0 p! `

  1606. 5 I/ ~  l; T* ~! X1 P
  1607. ; show warnings on duplicate constant registrations
    1 U2 S5 N6 \" G5 k* G" d2 k
  1608. ; http://php.net/com.autoregister-verbose3 h' {/ M7 m8 J% }$ Z4 J
  1609. ;com.autoregister_verbose = true( V/ P6 \: s6 B, Y. z4 M. E0 R

  1610. . K, ~' D4 ?9 D: m+ ]
  1611. ; The default character set code-page to use when passing strings to and from COM objects.9 a; m% E  c0 Z$ {6 x, \% Q7 `0 j
  1612. ; Default: system ANSI code page- q0 O# V: C/ t+ W
  1613. ;com.code_page=
    ' d4 `6 H8 {" D+ D& ?; w! ], g) b

  1614. % H7 d6 ^4 g4 I) d' f& z
  1615. [mbstring]' h# ^: R( y, x( H& m. l
  1616. ; language for internal character representation.% [: ?( g" P8 \
  1617. ; This affects mb_send_mail() and mbstring.detect_order.* O' I( P9 J( J, L  U. E
  1618. ; http://php.net/mbstring.language
    9 U* X2 f9 p; o, a8 {1 {; g
  1619. ;mbstring.language = Japanese
    1 I2 ^- R3 o4 E. \- S! R
  1620. $ F% H- K4 \4 C+ F4 V, \  t, ~
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - g, h5 L1 Q4 ^& R2 x
  1622. ; internal/script encoding.0 n! w' {, o1 S% k6 ~0 U& t
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)# l5 X% X9 D6 O/ Y8 a! t* o
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; x* ?2 \; _+ ~& [. G
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - G' ^# q; G( `0 ^# T6 W4 N
  1626. ;mbstring.internal_encoding =
    ) y( b" |& `+ ~  V2 O5 A

  1627. ( `, G! S0 M3 X( P0 E
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.. t- _% E9 Z+ h9 F. @( n; C
  1629. ; http input encoding.
    : J5 i/ k1 c: G* Q$ C
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    2 n2 {5 k' m/ [1 u6 r
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.$ m. |0 O6 `, q. H, Y, V
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input7 h' ?- L( n. `( A
  1633. ; http://php.net/mbstring.http-input
    6 t* J1 P. g5 u3 \- s  ?8 ~
  1634. ;mbstring.http_input =1 I& `8 X; j3 O1 H" Q

  1635. . C2 S( v: ~  S9 M, Y! t
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.# n( K* x, ^/ ?; ~2 ]" w' t
  1637. ; http output encoding., W2 O3 H# u+ @% }# B; `
  1638. ; mb_output_handler must be registered as output buffer to function.8 s* b# C. K* y9 V* T
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.1 Q# Z! B4 Q+ O; H1 c, Y
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . s# j3 F2 u. ^5 w$ p/ b
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    6 j0 A. L1 b. E
  1642. ; otherwise output encoding conversion cannot be performed.3 Z3 e1 p* Q* i4 G; a) V2 E5 S; I. n' K
  1643. ; http://php.net/mbstring.http-output5 O3 I0 v: D  F4 m  y
  1644. ;mbstring.http_output =# A0 V% ?! M3 T1 \
  1645. 4 c. V' C3 M9 K, b3 L- w/ z5 l
  1646. ; enable automatic encoding translation according to
    ( e% d1 j$ x/ k  w
  1647. ; mbstring.internal_encoding setting. Input chars are
    ( T9 u8 c2 U1 J4 Q. h6 |; y& g- Z
  1648. ; converted to internal encoding by setting this to On.7 a6 d- A) w. q1 G: o; d- q  z; ~
  1649. ; Note: Do _not_ use automatic encoding translation for
    ; E3 @% E# W5 w: ?( ]
  1650. ;       portable libs/applications.
    % j# G  e! E$ @; ~' w
  1651. ; http://php.net/mbstring.encoding-translation
    " j2 }5 p% E0 }0 N" ?: e
  1652. ;mbstring.encoding_translation = Off
    ! S8 x3 j( o' W6 d5 J

  1653. 5 L, `; C) D4 N: N
  1654. ; automatic encoding detection order.
    5 t( [& O, d) q# f* }
  1655. ; "auto" detect order is changed according to mbstring.language
    ' u/ t0 d$ o6 J8 ?! Y3 f
  1656. ; http://php.net/mbstring.detect-order7 p& {+ ^# M6 x) G3 h# D
  1657. ;mbstring.detect_order = auto
    5 P; `; K* f% d( K% t# t9 B

  1658. 1 E6 [/ w$ \# W9 ]+ B
  1659. ; substitute_character used when character cannot be converted
    1 A& O# ~2 I/ w* X+ V+ d3 Y
  1660. ; one from another
    7 G+ U0 L/ u2 a4 A3 P
  1661. ; http://php.net/mbstring.substitute-character
    $ m: w+ o/ K4 _7 K3 O! v5 e
  1662. ;mbstring.substitute_character = none1 h+ m+ u9 K3 b+ C& o( k$ E0 G* A8 Q
  1663. 1 w* `" U) t. D0 J2 {' v
  1664. ; overload(replace) single byte functions by mbstring functions.
    6 L, u: A6 \5 ?( ^% U
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),, |% @; }& T6 r9 K
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.- I1 A7 l: ]0 l) p- u  y8 q0 `
  1667. ; For example, 7 for overload everything.1 R" {+ M4 C0 z" b5 `1 [8 x
  1668. ; 0: No overload
    4 f  e) T( V0 o8 K/ c
  1669. ; 1: Overload mail() function
    " ?3 X2 d1 v3 W* ~* Q+ M0 f
  1670. ; 2: Overload str*() functions8 r3 c# w: j3 d# x3 i
  1671. ; 4: Overload ereg*() functions
    6 G2 Y) S( h( t7 E) M
  1672. ; http://php.net/mbstring.func-overload& e! K# t$ i3 c2 z( @
  1673. ;mbstring.func_overload = 0. Z( ^4 z2 ?4 l( e6 v* q. i
  1674. & \" l' R- \3 ^8 Z2 n7 X6 d
  1675. ; enable strict encoding detection.9 z* j3 h2 }& w7 k
  1676. ; Default: Off# }+ @% y; A: o8 S1 E1 m
  1677. ;mbstring.strict_detection = On
    , h4 l* w. K' _1 ^! c! m
  1678. $ c) ^( ?% {8 L
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    / _$ q$ ~; ^8 Q* Z, s, Y0 j
  1680. ; is activated.2 W# T/ l3 d- h1 i- I
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 U: `1 y1 H: y0 m
  1682. ;mbstring.http_output_conv_mimetype=
    , j2 c8 L3 I* j% f$ l
  1683. # Y* s% e) E2 @% O8 R( b* L
  1684. [gd]
      _2 J7 T6 P& [9 K& ~: u
  1685. ; Tell the jpeg decode to ignore warnings and try to create0 k4 z* n0 f" L$ ?# D5 k
  1686. ; a gd image. The warning will then be displayed as notices
    5 V5 v. s0 w9 H- h# O; l7 w; |
  1687. ; disabled by default7 @* O; |" {7 X8 I8 @! W
  1688. ; http://php.net/gd.jpeg-ignore-warning- i$ z3 E) O* h3 F0 @
  1689. ;gd.jpeg_ignore_warning = 0
    1 n7 _3 }/ s5 ]  L
  1690. 5 H* V- [6 G6 Z) _( Q
  1691. [exif]* f4 p) k, w: [5 y5 u
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    + i8 K: o0 [2 b
  1693. ; With mbstring support this will automatically be converted into the encoding
    - d  \/ ~9 B& ]& x6 {3 ^+ J
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 T* h' B) c, z. h6 V
  1695. ; is used. For the decode settings you can distinguish between motorola and
    6 U& y* k6 M; T' ^% @; Z/ b7 {: D
  1696. ; intel byte order. A decode setting cannot be empty.
    2 r. E1 Q2 }# C" v
  1697. ; http://php.net/exif.encode-unicode
    + \) p# l) C8 j2 s1 M  W) Z
  1698. ;exif.encode_unicode = ISO-8859-15. E& a$ Y. C* k4 K2 ^1 F

  1699. & x: B/ x+ `: Q* M- q4 i
  1700. ; http://php.net/exif.decode-unicode-motorola! H; K9 @  Q  d: z
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    $ L* r" Q( p4 ]7 t3 {4 F

  1702. 9 Q5 y1 V! F, R& s4 Z# ?5 {% Q' z. V
  1703. ; http://php.net/exif.decode-unicode-intel' M7 t  ~2 O6 @& F; ?# T
  1704. ;exif.decode_unicode_intel    = UCS-2LE$ |+ l' p+ N0 C4 b+ a. l0 a
  1705. 5 w+ g" B" k( o7 Q; e4 W( I
  1706. ; http://php.net/exif.encode-jis
    * B. S1 y* Z3 G6 V( }
  1707. ;exif.encode_jis =6 W& t! l# O3 n8 r& f2 Q) n- \$ f

  1708. ; `+ e( n  r& b" Z
  1709. ; http://php.net/exif.decode-jis-motorola
    # b0 k2 F0 B* n: G
  1710. ;exif.decode_jis_motorola = JIS4 q0 x" h! c7 k- e

  1711. + U& g( x5 P' G& q8 w% i
  1712. ; http://php.net/exif.decode-jis-intel+ u+ `; j& B. G1 O# C1 X4 A
  1713. ;exif.decode_jis_intel    = JIS- N+ ~6 b* T& D, Q% B
  1714. ! x; T5 u/ S0 f; P- p1 B
  1715. [Tidy]3 X! g$ R$ b# e8 `
  1716. ; The path to a default tidy configuration file to use when using tidy* O: w/ R, Y. m" X2 V# I) s/ ?$ P
  1717. ; http://php.net/tidy.default-config
    5 N1 L- w/ w% j; H' W  k
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg& C" \9 W- D  W9 R( `
  1719. 4 U$ N' t5 N* z/ C6 n
  1720. ; Should tidy clean and repair output automatically?( I7 ^5 @! p9 Q  ~4 E0 K* L
  1721. ; WARNING: Do not use this option if you are generating non-html content
    2 v1 k/ c8 x0 z& h* [  o
  1722. ; such as dynamic images4 t  X5 L- }* v4 ~
  1723. ; http://php.net/tidy.clean-output0 S* ^% w$ k, F' I1 A, o
  1724. tidy.clean_output = Off
    4 ], j# i. ~% E
  1725. 5 y3 E5 F, L" U. ~2 s, E4 p
  1726. [soap]
    & s6 q+ G1 m' ~6 o3 v- x8 i
  1727. ; Enables or disables WSDL caching feature.
    9 h& p5 V' k7 U
  1728. ; http://php.net/soap.wsdl-cache-enabled
      ?8 J; d! }6 [' Z/ ^4 ?' }" l, U
  1729. soap.wsdl_cache_enabled=12 X0 y$ M, U7 t! `% P

  1730. % }5 j% j+ k! |8 P' \* \) z
  1731. ; Sets the directory name where SOAP extension will put cache files.; W4 D5 o3 [. j1 p) F4 {; ]
  1732. ; http://php.net/soap.wsdl-cache-dir2 Z# X' b7 k0 e
  1733. soap.wsdl_cache_dir="/tmp"
    ; c- o9 r( R0 R7 s: p  v
  1734. 5 ^9 r/ o" F) G& p( K9 ~$ U  O
  1735. ; (time to live) Sets the number of second while cached file will be used( Q0 H' Q0 b% x8 o* J7 y
  1736. ; instead of original one.
    ' b2 r4 M7 O! n* D
  1737. ; http://php.net/soap.wsdl-cache-ttl/ N+ `! X& d4 E; M
  1738. soap.wsdl_cache_ttl=864006 |6 F- {/ w9 a% G

  1739. " R$ n" t3 C" U. @& r! {4 m& W
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( Z: K+ i1 u6 Z" I4 R5 |; ]7 q  ]
  1741. soap.wsdl_cache_limit = 5/ e, @; }8 B  Q/ l) D4 r
  1742. 6 n, t; ]5 G2 o
  1743. [sysvshm]& x3 w* f. l* l) e
  1744. ; A default size of the shared memory segment( v4 r7 u) Y0 O# N1 x; @# X3 S
  1745. ;sysvshm.init_mem = 10000
    7 k1 }4 W& K7 [1 N3 t; V

  1746. 3 w0 C1 J& {+ R# H9 J
  1747. [ldap]
    3 g' v6 T: J4 O
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    # ~9 T. ~$ Y& z! b
  1749. ldap.max_links = -1
    / e5 Y; d% Z0 ]6 X$ {$ x0 S- s1 ?1 e

  1750. / |: c9 l4 ^( m  B9 V
  1751. [mcrypt]. M: l4 Q8 P. f' z% k
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open# Q: @+ B: }; ]4 D- u# F

  1753. 8 O) T, Z; z: l# V7 q
  1754. ; Directory where to load mcrypt algorithms
    , V9 {  G! N6 P* d  @
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' P* D4 t0 [6 |
  1756. ;mcrypt.algorithms_dir=/ t# X3 h! T" o  f6 g* p  s$ O

  1757. ' j+ e. m0 {% Q1 Z1 p+ G! q
  1758. ; Directory where to load mcrypt modes
    $ @- c" W  P. B) t; L, G7 Z  T
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" e/ m" l6 M- U( w6 R, J
  1760. ;mcrypt.modes_dir=  T( d5 i/ F0 \7 o. f/ E$ }
  1761. , |3 ?5 [5 `) a4 [
  1762. [dba]
    $ |1 n: O  H" x% L; G! A
  1763. ;dba.default_handler=" V  s" ^$ ~  x! Y4 t

  1764. 8 R6 f/ L( q$ I
  1765. [opcache]
    , r& m7 ^. b2 k: v
  1766. ; Determines if Zend OPCache is enabled$ u* X+ C: ^6 K3 R2 ~) C3 d
  1767. ;opcache.enable=0
    : H: `+ X9 L) w7 G+ c
  1768. * t3 H5 \8 B+ `0 w3 p
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    " n7 O; e! N3 m- J
  1770. ;opcache.enable_cli=0. L3 j$ e  z3 R" X* K
  1771. $ g) L9 G) C$ k  s9 f! E3 [  s
  1772. ; The OPcache shared memory storage size.
    : b) h7 T5 I! R9 q! o  D
  1773. ;opcache.memory_consumption=649 t7 A% a/ u! ~1 k/ X- b

  1774. 5 j* `1 t( A% b- M
  1775. ; The amount of memory for interned strings in Mbytes.; s5 f- h& x: W
  1776. ;opcache.interned_strings_buffer=46 r0 u& V" ~9 n2 S' g( j3 t
  1777. # R6 ^3 ~' I7 `% \5 v' {
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.9 @& I$ l  U  K+ z
  1779. ; Only numbers between 200 and 1000000 are allowed.
    * ~. P. z4 c& L* w' `
  1780. ;opcache.max_accelerated_files=2000
    / }0 ~6 d' d. p5 E

  1781. 9 _6 }/ X! o/ }) L
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.' l$ a- s; U8 b9 k' g
  1783. ;opcache.max_wasted_percentage=5
    ) v; [( j7 Q* w9 l9 s
  1784. / p: N1 H. h# D! G
  1785. ; When this directive is enabled, the OPcache appends the current working
    ) h* a' O# j% s3 G; [
  1786. ; directory to the script key, thus eliminating possible collisions between+ A# P4 h% y( D3 F5 x, r* y" F- l+ E
  1787. ; files with the same name (basename). Disabling the directive improves
    ! v$ K1 g3 ^6 t5 |
  1788. ; performance, but may break existing applications., J+ v  r; R8 ?
  1789. ;opcache.use_cwd=1
    1 O+ @4 O" h. z" {4 I: k

  1790. 2 b- y& r2 }! k+ W5 @- |- j- o' z
  1791. ; When disabled, you must reset the OPcache manually or restart the
    - N" S# `5 t6 p; m( S; J: u7 M! e
  1792. ; webserver for changes to the filesystem to take effect.
    $ [; w, M" @/ Q7 m
  1793. ;opcache.validate_timestamps=14 g7 m* c1 g  T: H
  1794. 0 r# u2 ~) {$ l9 n  e
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    , E( a8 p5 R+ z3 \2 {% E. w" D6 ^
  1796. ; memory storage allocation. ("1" means validate once per second, but only! |. R6 ?8 ?  f# @( E9 a
  1797. ; once per request. "0" means always validate)
    ) S* I9 G# K! C/ Q( Q+ g) ?
  1798. ;opcache.revalidate_freq=2
      w8 e# F, s/ r0 [% f
  1799.   X1 u" M( e6 c1 t) }+ C/ F' V& C' |
  1800. ; Enables or disables file search in include_path optimization, N7 P( O0 M: Q+ l2 N8 D5 o
  1801. ;opcache.revalidate_path=0
    0 e; H! `7 S: @8 E8 k# T
  1802. ) ]2 P" v+ K" x; _3 G: r8 {4 [$ w
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    - r, j5 I: ^. i. M& i4 u  Z5 x
  1804. ; size of the optimized code.. |. R4 I& ~2 r1 v. M% B
  1805. ;opcache.save_comments=14 e+ n) m8 M" U7 {# U9 J! t8 z

  1806. , B& \# ]' v* F8 T
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    1 H9 B0 T- l) r! |* u+ i
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    " e  @# `1 H7 M9 m$ M
  1809. ;opcache.fast_shutdown=0) G) Q1 j  _8 A* m7 {  d# [

  1810. " E1 b/ _, L* x9 v9 E$ x
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    $ p( \7 \; v0 ^- H8 I
  1812. ;opcache.enable_file_override=0
    1 u7 {! R# U) e1 J3 P# y" P0 u
  1813. * D$ R! j' B9 H- g
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 i: m* p6 W3 @- Z2 [3 ~
  1815. ; passes
    % K2 r1 K& ^9 Q* s0 ~2 j) o' X6 ~) g, x
  1816. ;opcache.optimization_level=0xffffffff
    1 A% o: Z, X; D3 i1 Z' Z8 k3 K
  1817. 9 d# y4 o( ~9 S9 D$ k* q8 v
  1818. ;opcache.inherited_hack=1
    0 e* l, y- m/ [
  1819. ;opcache.dups_fix=0
    . y9 M+ w5 S6 O7 `
  1820. # j( H. ?" @+ @2 n! p3 c  T' Y
  1821. ; The location of the OPcache blacklist file (wildcards allowed).. e; C8 [. B) X! ?4 Z& W, e
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ! C3 i, h' G. ~5 }6 F8 S4 o) U
  1823. ; that should not be accelerated. The file format is to add each filename
    ( F* m" c! D- E2 q' c
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ; S' b& z. Z7 W! k
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    5 l& o5 h' F" h
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).2 s$ ^$ y* k  a- l: Y! i
  1827. ;opcache.blacklist_filename=" H2 b  t: ^# {
  1828. 4 O. l" P# c8 l; m
  1829. ; Allows exclusion of large files from being cached. By default all files
    ' a- B9 M8 J+ X
  1830. ; are cached.
    ( j- j) O3 U) F" V3 j
  1831. ;opcache.max_file_size=0$ y( s" U8 p" G" [5 l3 o# R, J8 O

  1832. 2 i( u. @) e- i# ?0 d
  1833. ; Check the cache checksum each N requests.. l# y9 a6 s1 \
  1834. ; The default value of "0" means that the checks are disabled.  W8 N' b  p+ ?2 E. W' ?. |" ^
  1835. ;opcache.consistency_checks=0; F, b) X9 z9 r9 U* j3 j4 K
  1836. $ p% M9 R! }( m& u0 C; b; G7 n
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 _! y3 i. p) j  d9 [5 s
  1838. ; is not being accessed.
    * c4 z. f! r3 i3 L7 w& y1 j: r
  1839. ;opcache.force_restart_timeout=180# e% G' u% S! |' p6 c/ E& ~
  1840. 6 j" `2 J. N, B0 V- {5 N! B
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    9 L2 t9 u# u8 W  K3 d9 @; w# ]3 G. i
  1842. ;opcache.error_log=. {4 Z7 Z# O! [$ ~; g0 b6 P' E# S
  1843. 1 {" x. c: h2 X! Q4 E2 p
  1844. ; All OPcache errors go to the Web server log.. H2 x3 I$ q7 x  u! D
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 r5 S7 `: H8 Y, \5 E
  1846. ; You can also enable warnings (level 2), info messages (level 3) or6 V+ w; Y( [0 }9 ^4 |2 j, z
  1847. ; debug messages (level 4).. ]: B8 K7 b0 K" U
  1848. ;opcache.log_verbosity_level=1/ j7 n, _4 N* i# g. N

  1849. ' H8 P- ]8 b3 v
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ z5 J7 m6 W' a) }2 `
  1851. ;opcache.preferred_memory_model=
    / T. h2 k/ V6 @' Q1 g0 ?( i9 {/ @

  1852. + M7 B, Q7 n& W/ f7 s# ?
  1853. ; Protect the shared memory from unexpected writing during script execution.
    8 p4 ~$ }( ~1 N8 m" q6 W
  1854. ; Useful for internal debugging only., s: o2 M% z( E& W$ L
  1855. ;opcache.protect_memory=0
    * q( U7 I, d, {* P, O% T  B
  1856. $ p$ N* }1 S  G/ S' q5 C$ h
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    , K# Z# d+ g' d0 d: d/ i/ O$ S
  1858. ; started from specified string. The default "" means no restriction
    ' E" ]2 W! L7 v1 J9 J5 P$ _0 R
  1859. ;opcache.restrict_api=
    . f; G; f. z. `7 u7 {

  1860. % i5 l+ c* y3 w; d2 k6 W3 S
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP8 j, J; h! F  W9 \
  1862. ; processes have to map shared memory into the same address space. This
    " Y* V, K# x7 D1 B
  1863. ; directive allows to manually fix the "Unable to reattach to base address"/ F0 \% k, x' U8 w
  1864. ; errors.% j5 [( A* S* C1 e
  1865. ;opcache.mmap_base=
    : a& i" K' @) ]3 `- G

  1866. 9 T6 g, q- y! B  e6 Y
  1867. ; Enables and sets the second level cache directory.. g) m, E3 d4 h
  1868. ; It should improve performance when SHM memory is full, at server restart or( Y2 S4 x1 E" h4 p3 c6 {' B
  1869. ; SHM reset. The default "" disables file based caching.3 G$ Y( C4 ]$ l; Q+ T/ w
  1870. ;opcache.file_cache=0 ?2 p8 P, I; ^: ^
  1871.   r  L! I7 r1 c/ ~0 G
  1872. ; Enables or disables opcode caching in shared memory.
    8 y6 E! M( i. N. k5 T
  1873. ;opcache.file_cache_only=0
    + E2 t( ]- i& i/ l% r7 a

  1874. 1 w/ f7 t6 j$ @, M3 R) a
  1875. ; Enables or disables checksum validation when script loaded from file cache." _0 j; z( Q5 [8 o8 ~
  1876. ;opcache.file_cache_consistency_checks=1
    6 n$ }( E3 e) h: W& B4 m. G1 s

  1877. % n; G: ~1 [- X; b! Z6 e9 y- q
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ) U8 Z* c+ W. Y5 K5 w5 J2 ]
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    7 v( c2 {& A; N, z$ g
  1880. ; cache is required.
    - v- M2 N+ [; i9 d, N$ |$ e- b- }
  1881. ;opcache.file_cache_fallback=14 H4 |( h. }# o/ b: {

  1882. " Q# {# c6 V1 I& ]
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.. h/ z/ q3 f: V0 V3 n) J8 s7 m
  1884. ; This should improve performance, but requires appropriate OS configuration./ l& a' V9 e5 T- U
  1885. ;opcache.huge_code_pages=1, c$ u4 A, l: g3 R; @
  1886. , h7 ^1 D5 F$ \, F% A8 l' I1 D4 c
  1887. ; Validate cached file permissions.
    0 c" r' `* H9 ^9 f% f
  1888. ; opcache.validate_permission=0
    / U+ r  }( ~; S8 y3 _3 R8 s- @
  1889. 5 q8 i: F- e! `0 Y8 D$ n
  1890. ; Prevent name collisions in chroot'ed environment.
    ; v/ _- l+ n: {
  1891. ; opcache.validate_root=0- {  \* R/ `( W! U& n

  1892. / ^" `  A1 n6 B$ e
  1893. [curl]6 t2 G( f* ~5 q& T) {7 K4 Y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an) g  o0 I4 {7 I5 S9 w
  1895. ; absolute path.
    2 e+ J8 L/ @- h/ `1 g4 Y" H
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    / ?0 K0 R2 }6 I# P
  1897. ' x; P: C. R. R
  1898. [openssl]
    - L: k9 G' p2 p. m2 l) p' m3 O
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    5 Q" P9 {% ]: p1 \$ r" P' p
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should0 u$ {) P, h- s4 F0 o
  1901. ; not specify a value for this directive as PHP will attempt to use the
    9 q" c- J$ j' ]; u) m! L  f. [
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    , j& T3 j2 Q4 Z3 h0 L% O& w, X
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context! s$ |& R$ `' H% v' f0 O7 C6 d
  1904. ; option.
    ) T" z) ^# z2 j+ D' E4 P
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! F; {( ~/ f: u6 W) S% I( B
  1906. 2 ~& d7 E3 n& m. [0 y9 k5 x- C* A' e
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the3 C  E5 J. k  s# C
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    . Q/ z  t; k+ T) f0 `
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    * `2 `. F, H; b8 s$ h+ `8 ]5 F
  1910. ; Most users should not specify a value for this directive as PHP will& x/ u+ ]' p) y9 H: U6 o5 {6 @
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,% E9 m9 C7 b9 m8 q( {# j& h; N8 n
  1912. ; this value may still be overridden on a per-stream basis via the "capath"7 j6 E! i. S4 d
  1913. ; SSL stream context option.4 ^! w  Y2 `- f1 a& O$ D3 `/ P
  1914. ;openssl.capath=( Q9 s$ F4 j1 L7 S8 F2 ], t' r3 `2 D

  1915. % J3 \7 c% K7 c( o7 H
  1916. ; Local Variables:& r4 j5 j7 `! k# ?' T8 {$ j
  1917. ; tab-width: 4
    3 C, F9 y% o0 r7 z1 Z
  1918. ; End:
      N, P  M" j+ P
  1919. : n; R1 [) L3 F. Q) ]. O3 L
  1920. ;eaccelerator7 z; X# j, c. F

  1921. & C- s8 `. _2 ^% u. h$ ]+ w2 ]. r
  1922. ;ionCube
    3 C6 |8 b+ t9 v0 l8 }
  1923. / Z# ~8 U/ J- ]6 M. _" `
  1924. ;opcache
    6 _9 q1 D% P+ j: E% O( _" n
  1925. % p5 y9 v) w( Z4 O
  1926. [Zend ZendGuard Loader]
    0 d0 y& F7 o; Y1 e' ~( U  B
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.4 z. z: m: m, y* n
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so1 o2 [; @) [3 t5 s
  1929. ;zend_loader.enable=18 ?9 ~; X# r8 v1 x' P
  1930. ;zend_loader.disable_licensing=0
    * z; w4 V& @8 Y: X7 n
  1931. ;zend_loader.obfuscation_level_support=3
    2 O2 q1 R/ w: t+ M6 l3 M/ a
  1932. ;zend_loader.license_path=- ]5 z+ S. Z! a  v, K! x

  1933. . G, ]& I' W% @, ]. e) Z# X. _
  1934. ;xcache4 n7 W7 j) G, ]* B7 M

  1935. : H  m" e5 y& `
复制代码

+ k% z# p, j/ E
  k1 S$ m2 B4 X$ i1 h2 G" A! J* Z6 U- j; G+ E. p  S
' @. B# }2 B+ B# ^' e+ F

0 b8 t; w% w$ q4 G# U" p
; x: D# y# x% A
9 ]8 z7 F- M. U( BPHP5.6版本原始设置
( j" V2 {0 r. m7 O4 ~- R5 k0 R# k& R( _! w- v6 e
  1. [PHP]
    $ r# p4 ?  }/ I! U! j

  2. ! l8 ?: t7 F6 F
  3. ;;;;;;;;;;;;;;;;;;;
    8 Z. o- [' z/ v0 G/ |: o! P
  4. ; About php.ini   ;" \+ k* S+ E6 k+ J
  5. ;;;;;;;;;;;;;;;;;;;  [& x& T/ r. W! z1 t% h/ {4 _. ]% A
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 ?, ?+ c$ y# a# h, a: S
  7. ; configuring many of the aspects of PHP's behavior.
    " f+ `$ s& C" b* O/ k4 u, J/ ~
  8. 1 y9 L% U: F9 z% Z
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 o  G( P/ {7 z4 _; f  [
  10. ; The following is a summary of its search order:
    - ^/ P7 \( R& {, f3 ~4 C
  11. ; 1. SAPI module specific location.
    % N) g! s. F( ~3 T+ Z# M
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)* ~& j4 O4 H/ Y1 n
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 i- T$ B7 [/ ^8 r! a1 q& a
  14. ; 4. Current working directory (except CLI)
    ) \2 H/ ], k/ s8 K' s
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP+ x- a: G. g. }. [. ~
  16. ; (otherwise in Windows)# ^- @$ {+ m0 P: i  ~4 s5 X; h
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    " e$ b+ N( x9 ~5 s
  18. ; Windows directory (C:\windows or C:\winnt)
    : n& i2 T* D$ P7 c% n
  19. ; See the PHP docs for more specific information.
    ; C2 R8 F/ \& [& |3 ^3 _
  20. ; http://php.net/configuration.file. q9 X. Q( C+ ], I3 ^0 |
  21. 9 B9 u! _! `4 S! F  C2 l% C9 e
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    : R1 q/ J" O% S( i# S
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., q4 @: {% r/ c% x
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    9 L8 n* w5 i- W' h
  25. ; they might mean something in the future.
    0 g0 F8 a1 |, b- Z; {( Z2 L

  26. 5 f- @& _8 ~, H3 @* X
  27. ; Directives following the section heading [PATH=/www/mysite] only1 a' N! N7 Y3 W* y0 ^
  28. ; apply to PHP files in the /www/mysite directory.  Directives% D( c, B2 A, k* N4 E
  29. ; following the section heading [HOST=www.example.com] only apply to) L+ z& S# m/ t
  30. ; PHP files served from www.example.com.  Directives set in these
    4 d" G6 r5 s+ O! ^0 q- ?+ j
  31. ; special sections cannot be overridden by user-defined INI files or
      `/ N" X3 c& Y& I/ v3 Q1 `
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
      b( ~; F; B+ m' P/ q
  33. ; CGI/FastCGI.  Q7 A* U$ F  d6 z, R' [
  34. ; http://php.net/ini.sections
    : W2 E: a7 J! |- R$ L
  35. 5 ^6 ~7 j% t+ O2 T
  36. ; Directives are specified using the following syntax:1 ]( O+ z0 r# Z0 D/ Y# D0 N
  37. ; directive = value
    + j2 C6 n! E2 l& R
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ! w7 Q# c- i* A
  39. ; Directives are variables used to configure PHP or PHP extensions.. t' Q1 E- T7 R& _
  40. ; There is no name validation.  If PHP can't find an expected
    8 I+ d. N; r6 w# b2 d5 @
  41. ; directive because it is not set or is mistyped, a default value will be used.( C6 T9 u1 W4 I  k* Q+ p

  42. & p5 t$ j4 a7 Z' w$ e# H" ]
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one% \2 c* O! }" |3 s
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression- b% O% k1 C  m0 R& o4 ]6 K8 H5 T! D
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    + r% P% _3 R1 I' E
  46. ; previously set variable or directive (e.g. ${foo})
    : o  d6 V2 M: |. H9 `
  47.   S1 D7 z# ]5 i
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    9 K3 \, c& m8 A5 Y" g
  49. ; |  bitwise OR) Y7 c- J0 _2 B4 q7 H& L
  50. ; ^  bitwise XOR* g7 z" A5 m$ E* `8 W2 @
  51. ; &  bitwise AND5 ^) [3 D# \/ u: v! V$ E
  52. ; ~  bitwise NOT
    * T# S" r- \/ n& b
  53. ; !  boolean NOT
    6 W: A  G4 a4 b7 W& t
  54. - _6 V# F' e- M6 a  V
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 _: ^. n9 V- p: b) @
  56. ; They can be turned off using the values 0, Off, False or No.  o  p# f3 U: ^# y5 @8 K

  57. ! F; ^8 t) A  ^; q! y5 t! N& \: P# d
  58. ; An empty string can be denoted by simply not writing anything after the equal5 C0 H; O/ n9 ?9 L9 j/ M3 ^1 S
  59. ; sign, or by using the None keyword:
    ) g* O: v/ f) t3 f6 P, F
  60. 6 p$ ^% V3 [9 k# e3 q5 S$ V
  61. ;  foo =         ; sets foo to an empty string- V9 `4 ?$ H) s& W6 @) z0 ^
  62. ;  foo = None    ; sets foo to an empty string
    $ E5 p. |) z" X, [9 b
  63. ;  foo = "None"  ; sets foo to the string 'None'7 Z5 Y. I+ b' [# ^
  64. 0 o- A. |7 r( E$ y" P- q3 \
  65. ; If you use constants in your value, and these constants belong to a6 Q5 c$ O! y3 d  I; q/ W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),7 y, m" V& _( K6 B( E
  67. ; you may only use these constants *after* the line that loads the extension.
    ) j% G6 R- }; G$ b1 ?  e
  68. . X" K  o. n4 z/ B  X! e" ~9 J
  69. ;;;;;;;;;;;;;;;;;;;' B) I3 a, t8 [6 ~. g1 Z
  70. ; About this file ;
    5 J  H  t: N& O
  71. ;;;;;;;;;;;;;;;;;;;
      }8 c2 f0 G3 _! {& r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    6 e, H2 T7 h* o7 U
  73. ; in production environments and one that is recommended to be used in* `  w( N5 }- h# e1 _6 D# D& Z/ ~
  74. ; development environments.- O2 a& y8 @- G6 e; a; n
  75. ( L: ?/ T' ~' r3 R$ v: `
  76. ; php.ini-production contains settings which hold security, performance and
    $ r) H0 o1 c0 k; V
  77. ; best practices at its core. But please be aware, these settings may break7 w1 P5 W4 r: ~
  78. ; compatibility with older or less security conscience applications. We
    # ^- j2 L) j" |2 O. l" C! q
  79. ; recommending using the production ini in production and testing environments.) K& w) O; \' K( v, _

  80. ) t' j& a9 [. C8 w4 ]
  81. ; php.ini-development is very similar to its production variant, except it is$ m  b9 R' q: L6 Y1 W1 M! S
  82. ; much more verbose when it comes to errors. We recommend using the
    5 l' I4 T% ?3 r  z& z
  83. ; development version only in development environments, as errors shown to6 B- H9 |( z% D! C5 m, U! n: G/ y
  84. ; application users can inadvertently leak otherwise secure information.
    5 `' K1 r! e5 R, L! X5 s

  85. 6 q/ X# i% X9 R2 b* C( H
  86. ; This is php.ini-production INI file.
    . G8 W  U0 v6 S3 o7 M7 M1 m1 x

  87. * Y3 U8 `" S  z9 Z
  88. ;;;;;;;;;;;;;;;;;;;$ K  l/ E: H# W! h% i
  89. ; Quick Reference ;
    $ M5 m# ?9 S2 _& l% W( ]
  90. ;;;;;;;;;;;;;;;;;;;
    9 Z- q. a9 ]! i' z
  91. ; The following are all the settings which are different in either the production
    & @5 x) R) R5 Z; B2 s0 R1 ~. p" F
  92. ; or development versions of the INIs with respect to PHP's default behavior.) `+ R# T1 g7 i5 ]
  93. ; Please see the actual settings later in the document for more details as to why
    ' \% {) V- i; e1 \6 }0 P! Z
  94. ; we recommend these changes in PHP's behavior.. E1 q7 i1 A' J' o  c7 G  A

  95. 5 i# j: w; o' H  j$ ^1 A6 j( A
  96. ; display_errors5 R) a( a5 q* i  t. T
  97. ;   Default Value: On# u' D) i  G: e6 F) L
  98. ;   Development Value: On
    ( }4 ~2 b8 @  k- y: L; S& k: o
  99. ;   Production Value: Off+ [  m9 R0 N% Y- f

  100. ; z; n, c7 e( Q9 |& S9 c
  101. ; display_startup_errors
    9 n% b- [! A) s% ~% T6 f+ K; {
  102. ;   Default Value: Off/ U- U9 \0 Z: b
  103. ;   Development Value: On" B8 [& v4 V# P" y
  104. ;   Production Value: Off6 @  n) s% J1 G6 W; X* r7 W& R+ C- M

  105. + t1 \" @9 o3 V9 ~$ i$ O, h4 T9 i6 j
  106. ; error_reporting/ K$ H5 c3 L  l  H0 n. g/ o$ J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ i/ ]8 c8 n- S5 }; O: r( x9 h+ w
  108. ;   Development Value: E_ALL
    : Y/ }0 P3 w5 e4 k
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, x4 K9 T" e5 y' A( n
  110. 0 P. T1 c; w7 a+ J
  111. ; html_errors
    2 Y% i5 u% V9 C5 }* K: J
  112. ;   Default Value: On
    / ^: d  C/ N  f
  113. ;   Development Value: On
    ; ^% K4 ?" Y7 w& `. L8 {9 Y
  114. ;   Production value: On
    5 C7 I; W7 s5 w  ?9 }

  115.   C& r1 I# j9 W* S
  116. ; log_errors
    + v  ]/ p* Z+ w1 K' J/ G
  117. ;   Default Value: Off6 K; u* O% t: q! ^) V
  118. ;   Development Value: On
    6 M: h/ T) d% Q
  119. ;   Production Value: On8 I7 a5 H8 y' Z! q  Q6 R: k1 D7 {

  120. ) b. h( v! ^3 }8 T+ c
  121. ; max_input_time
    2 k9 G7 X; q/ L1 S
  122. ;   Default Value: -1 (Unlimited)
    - C$ j' X! I' m4 y4 }6 H4 L
  123. ;   Development Value: 60 (60 seconds)
    , [0 m) }1 o& G$ Q2 b3 L
  124. ;   Production Value: 60 (60 seconds)
    ' }# M, B  `+ ^
  125. 1 `( ^1 D9 x8 o. v8 n0 @
  126. ; output_buffering
    # Z: X1 x  P) E/ ^3 `# l
  127. ;   Default Value: Off) J# h" T3 }8 @+ t, x$ {1 k! S+ d
  128. ;   Development Value: 4096
    * Y4 U9 y* }& ^! t: J" j* c( A& K
  129. ;   Production Value: 40969 ^4 j; w( @  G6 K4 z( F

  130. " s% u7 C2 h8 N8 c+ H
  131. ; register_argc_argv
    * I0 Q7 k/ ^; v5 o* c$ J+ S4 R0 G
  132. ;   Default Value: On2 X5 l& A9 a7 t2 x+ J! u  R. R' n5 Z
  133. ;   Development Value: Off
    7 T- W, h, u" U; b. E; g3 j
  134. ;   Production Value: Off
    2 x  }- v7 a0 p

  135. ' t+ w) V) w' i
  136. ; request_order* ?1 g. I2 [$ A& q' I5 @
  137. ;   Default Value: None
    " l' M7 q" q$ z8 H0 `& p/ }
  138. ;   Development Value: "GP"6 }& L" F4 s5 B" \1 {
  139. ;   Production Value: "GP"
    2 p: Z4 g3 O& _! r: W: @/ v

  140. 7 q0 y# G4 d& }$ s( G
  141. ; session.gc_divisor
    5 P9 c! D. j6 n+ c4 L" t2 J% ]
  142. ;   Default Value: 100
    , Q7 h$ s4 }; d  _/ Q  \
  143. ;   Development Value: 10006 K8 `9 D- r8 H0 o
  144. ;   Production Value: 1000
    ) u6 \$ K0 A# l
  145. ! Y/ u" ?" [1 J4 X3 f' o$ a/ c
  146. ; session.hash_bits_per_character
    5 E* s7 p+ @9 m  t7 C% H
  147. ;   Default Value: 4
    9 n. D, h4 r, \; v$ e/ A( @/ e
  148. ;   Development Value: 51 J1 {! k; C* M5 ~5 [$ y$ a
  149. ;   Production Value: 5# p) z- [$ i2 m7 ?! C5 E. `
  150. / `+ @4 P7 D( q0 C) k! G1 ~
  151. ; short_open_tag4 p5 u+ @; G9 E3 ?. m: ]9 Y7 s
  152. ;   Default Value: On
    8 |( r, i6 S9 d  r. e
  153. ;   Development Value: Off' j- ~* H/ f5 b0 K( D
  154. ;   Production Value: Off& {& m( g# _  P9 Z5 o# h% u
  155. # ]5 \+ o5 i9 T1 D3 v. z* Y8 p
  156. ; track_errors7 `" C( m- H: |  J6 _6 S, S7 |  }# \
  157. ;   Default Value: Off
    : [5 C" e( M. U/ p* t! l
  158. ;   Development Value: On: M( m( ?3 @1 E" Y
  159. ;   Production Value: Off- G6 G& n% X. w9 C' s/ H

  160. : i6 X5 u5 a# l4 o0 [; O" r7 ?
  161. ; url_rewriter.tags
    9 z1 Y  P; ]9 K0 K7 _/ o5 m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="* `4 h- D2 d7 X) z3 A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + ]" g/ S' s" q0 M- _0 o& n$ V: L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 ~) `2 o8 |8 @' k
  165. * ~8 t3 ^1 @: g% h: K3 ^& ^) \
  166. ; variables_order
    + K# @4 Z) c  y- y' ~
  167. ;   Default Value: "EGPCS"
    " T: D& C/ n; k" t- |6 k
  168. ;   Development Value: "GPCS"+ w/ j; G6 ^5 W; Y3 f/ n
  169. ;   Production Value: "GPCS"+ K- ?2 K' E8 A. D
  170. " f3 \0 g- l# U/ x! L; Z
  171. ;;;;;;;;;;;;;;;;;;;;
    ) H, R$ o: |2 q" x0 i4 d7 [' }
  172. ; php.ini Options  ;
    2 y7 ~. _  n: `6 t8 j
  173. ;;;;;;;;;;;;;;;;;;;;
    4 _5 J' f! q4 m9 s
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    1 A- `; ^2 D4 l) Y8 l# L  T0 g' f
  175. ;user_ini.filename = ".user.ini"
    ) m- i* i6 g; c

  176. 8 ]& D# G* i/ Z8 m6 L! a
  177. ; To disable this feature set this option to empty value1 P) ~! Q1 `* h2 M0 ~8 h+ _! Z
  178. ;user_ini.filename =
    - k% `, ?2 R4 V8 {) H) ~, A$ n

  179. " D3 ~! {- E/ U6 K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)8 |6 o6 S. k5 Q. r* y) N
  181. ;user_ini.cache_ttl = 3004 G  ^( y9 y& f

  182. 0 W$ ?* C" c5 f1 n$ q8 u- z" {
  183. ;;;;;;;;;;;;;;;;;;;;0 D" e7 x% ]; z" G+ q  u3 S, O
  184. ; Language Options ;+ Z% S/ a$ N: d1 g" F
  185. ;;;;;;;;;;;;;;;;;;;;5 i6 \/ x( c& g1 T. Y/ [, s9 S

  186. / |1 A) Y7 A; ]/ @! j- c, u- C
  187. ; Enable the PHP scripting language engine under Apache.% p  f, w& J- ?
  188. ; http://php.net/engine, D6 E! r* x* n& _/ j: t
  189. engine = On# n' u" n# Z% b0 Y5 M% M
  190. 3 V6 L$ `# R/ {) Z0 }2 Y! Z
  191. ; This directive determines whether or not PHP will recognize code between9 b6 l2 Y' G0 q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    / l2 P: Y' m! [% F1 g8 i6 b
  193. ; generally recommended that <?php and ?> should be used and that this feature
    6 N& S: q: g7 z* O0 T' x) O
  194. ; should be disabled, as enabling it may result in issues when generating XML
    2 L4 B) x! }! d! m
  195. ; documents, however this remains supported for backward compatibility reasons.5 g+ a4 p# r) k
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, ~% o$ o. `. x
  197. ; used regardless of this directive.. W- B( w9 i. w" O
  198. ; Default Value: On1 e8 p4 J8 E: G- Y7 P
  199. ; Development Value: Off
    " T, T' l! K0 K
  200. ; Production Value: Off
    0 F& b6 E! m) b7 i
  201. ; http://php.net/short-open-tag3 W# U* M& B9 q4 n
  202. short_open_tag = On& |, H) P1 x! [, c- y/ S

  203. / {: d: N- I3 x% k$ Y) S1 K
  204. ; Allow ASP-style <% %> tags.
    ) U7 w- _7 v8 g3 {$ u: Q' g
  205. ; http://php.net/asp-tags8 ~+ Z* o, i& d1 y/ K  z3 t
  206. asp_tags = Off
    9 U* ^! V' |5 o" v" W0 Y( s' V
  207. 2 H8 U. i6 C4 P
  208. ; The number of significant digits displayed in floating point numbers.
    3 K  a% q. p0 A4 s
  209. ; http://php.net/precision
    + m$ S( h( L, W) ]- u  e" y
  210. precision = 14
    ' W( z8 s' D2 {  \  C

  211. 2 D. F6 q- P8 m1 G, g
  212. ; Output buffering is a mechanism for controlling how much output data
    + g3 v0 J5 a) B
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that  Z( r& z" A( Y4 x
  214. ; data to the client. If your application's output exceeds this setting, PHP' V4 e, X# k; H
  215. ; will send that data in chunks of roughly the size you specify.
    5 h; Q; E+ I+ T8 Z/ c; I" g% I7 a
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    & G6 I6 W6 i# A6 w" N  B: u
  217. ; interesting side-effects depending on your application and web server.; f: p& n  z" E7 i
  218. ; You may be able to send headers and cookies after you've already sent output
    $ \6 R+ V' W% Z, ~/ }" e; Z4 K0 |" {
  219. ; through print or echo. You also may see performance benefits if your server is
    : b5 l9 L  x; E5 i2 r4 j; C
  220. ; emitting less packets due to buffered output versus PHP streaming the output5 s3 E* v8 b% r  w* o3 I# I
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 W6 G+ N% ^0 A9 @7 S$ Y' k
  222. ; reasons.
    1 K* }1 D3 J8 W+ R1 _) i1 F
  223. ; Note: Output buffering can also be controlled via Output Buffering Control1 e3 b6 D# s. S1 D& F% z% [( x
  224. ;   functions.) e$ t! w0 B/ ]
  225. ; Possible Values:
    + V$ x% |) ~  A9 J8 I  W
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    4 [% c/ ^' ~8 j& V: \  L
  227. ;   Off = Disabled8 Z1 @' x2 k3 @; x  k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    3 Y3 j) u% p* O
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' v2 D# b$ Q( J/ U
  230. ; Default Value: Off
    , L0 w, i7 ~6 y! R. K
  231. ; Development Value: 4096  @: A3 n$ g3 y" p5 }4 ^* H" q9 _, y) h
  232. ; Production Value: 4096, m6 v8 L% m: Z2 N
  233. ; http://php.net/output-buffering
    0 ^- e) J% Q/ ~! h3 w: y9 s! r7 N2 T
  234. output_buffering = 4096, x' X& x8 Q9 e; W) T

  235. 0 ~! z; f, z5 i9 M: \, ]) A
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' N, Z- ~$ D  ^" H1 k& \
  237. ; example, if you set output_handler to "mb_output_handler", character
    8 V3 {: K. f% Q' H
  238. ; encoding will be transparently converted to the specified encoding.
      S# e" i, g! `4 ~$ \# T
  239. ; Setting any output handler automatically turns on output buffering.0 u5 l- H; E9 I1 A
  240. ; Note: People who wrote portable scripts should not depend on this ini% J5 M& Z; N  m0 F* D! E- `
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    2 X8 ~/ k9 [9 A% e2 O; \; @
  242. ;   Using this ini directive may cause problems unless you know what script
    1 N( x/ E" r' p* k8 v* z
  243. ;   is doing.
      h1 b- d" H9 C# W  L( ]8 L
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ( s4 f# R7 W/ I3 J/ `
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + {8 v% M% {2 l* n4 L/ p! ^' B
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    : F$ A; g) B% u; D+ L" ^
  247. ;   Instead you must use zlib.output_handler./ W, L' L' h3 u4 l5 [+ Y. L4 l( ]# v* z
  248. ; http://php.net/output-handler
    ( [, p- m$ C7 X) Q8 W/ v5 C
  249. ;output_handler =
    1 n4 T' f/ t6 f% v. N  d8 p( |: T7 f
  250. 4 x3 x' z! E% E6 }) J
  251. ; Transparent output compression using the zlib library% k0 l7 l; k* }* f; Y5 Y# `
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size8 R) K% R! D' [# ?9 Y  T1 X; r3 q
  253. ; to be used for compression (default is 4KB)
    8 }! B; B! B5 v' h5 {1 U. t
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      c6 t. m/ _- P8 W% f
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    / x9 ^2 y$ U6 s
  256. ;   compression. If you prefer a larger chunk size for better# p7 M9 L- H+ h- ?7 x
  257. ;   performance, enable output_buffering in addition.
    , M! O7 B. i% o
  258. ; Note: You need to use zlib.output_handler instead of the standard, K, }, U+ C% d7 q  G8 J: h- `
  259. ;   output_handler, or otherwise the output will be corrupted.
    : D0 x. P( V* @% X" Y/ p
  260. ; http://php.net/zlib.output-compression. o$ U/ k+ U$ z! W0 [2 _3 s8 b8 g
  261. zlib.output_compression = Off
    9 i/ C# ]  F" K: |; b

  262. + f- K! e9 G9 B: q( W; r2 }- q' b
  263. ; http://php.net/zlib.output-compression-level: |. W, Y6 A5 k$ T3 \
  264. ;zlib.output_compression_level = -1
    " i& S: x( ^2 }; M1 f

  265. 4 X( [/ l, C  Q4 S
  266. ; You cannot specify additional output handlers if zlib.output_compression
    3 F; ?  q( J, N, x4 p! V
  267. ; is activated here. This setting does the same as output_handler but in# P6 F1 k: N! N. V1 S* e( R/ _
  268. ; a different order.
    # f3 A; c0 a  A3 X! B2 C8 R
  269. ; http://php.net/zlib.output-handler
      [% @! E% d6 N
  270. ;zlib.output_handler =* ]) ]  m0 }/ W. e+ N1 k; K
  271. 3 M. m$ n9 W/ Y- G5 h) k9 Z+ k3 [
  272. ; Implicit flush tells PHP to tell the output layer to flush itself, u1 }/ `# a8 U- b" Q
  273. ; automatically after every output block.  This is equivalent to calling the8 W, b0 |$ R% c8 v7 Q* @
  274. ; PHP function flush() after each and every call to print() or echo() and each
    . A$ q2 Q8 w9 P
  275. ; and every HTML block.  Turning this option on has serious performance0 Z0 X4 k4 w$ K. O
  276. ; implications and is generally recommended for debugging purposes only.. G' Z; q$ b" o1 D; c( N
  277. ; http://php.net/implicit-flush
    ) y) R# _0 G2 a, V- o
  278. ; Note: This directive is hardcoded to On for the CLI SAPI; |3 H7 v3 C- u5 M2 E- Z/ d  O0 v4 R& X
  279. implicit_flush = Off
    ( x9 M. [  X. A( x1 Q/ N' J  C

  280. 3 x2 s. q& [: ~* t  t
  281. ; The unserialize callback function will be called (with the undefined class'
    : Z# ^0 f  C- n% c" p
  282. ; name as parameter), if the unserializer finds an undefined class( c# b* g& m; O) [2 _0 v4 u
  283. ; which should be instantiated. A warning appears if the specified function is# H; z- F0 _, l+ ?: |; p/ H
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ' U: c3 n! c/ y; H
  285. ; So only set this entry, if you really want to implement such a8 n6 e3 B% `( L0 V$ j! R# u
  286. ; callback-function.# i# [) @$ z9 y- d1 s) H* W
  287. unserialize_callback_func =$ W2 ~9 P7 ^4 b$ o; f. W! M- U

  288. 3 q3 d, M* F3 c" I8 p; `* {+ D
  289. ; When floats & doubles are serialized store serialize_precision significant
    * v5 g1 ?6 j- c4 f5 c* G! h" r! o
  290. ; digits after the floating point. The default value ensures that when floats
    . m. x2 m# l2 R2 ]% ~
  291. ; are decoded with unserialize, the data will remain the same.+ T/ y; V3 ^& p' H. S- q0 i& c( j# O5 B
  292. serialize_precision = 17" a7 c0 i# m) D5 G: u$ K

  293. 6 ~1 N. T, d  U7 {: d3 C; t
  294. ; open_basedir, if set, limits all file operations to the defined directory' H& I3 v! `+ B% P
  295. ; and below.  This directive makes most sense if used in a per-directory
      m2 `5 ~$ e' x4 j7 g
  296. ; or per-virtualhost web server configuration file.
    6 T) Z5 X0 R% x  _, ^' S2 q2 T
  297. ; http://php.net/open-basedir/ W. G, e* a. e: R3 _; X5 S1 W7 K
  298. ;open_basedir =  n2 y4 x$ I) e# a

  299. ; c: e! V7 A4 c, w: G& r  ?8 ^9 Y
  300. ; This directive allows you to disable certain functions for security reasons.$ n/ A( u  C( ?" y" @
  301. ; It receives a comma-delimited list of function names.% P, d& V7 O: C, g
  302. ; http://php.net/disable-functions. [' E( v. @& h' C; b" B
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    8 m; P' x( p- _1 }/ @* h9 T1 n

  304. 0 E, M7 d( g1 y9 }1 w$ Q
  305. ; This directive allows you to disable certain classes for security reasons.2 ^( h) o: R) h' `
  306. ; It receives a comma-delimited list of class names.
    * p4 E3 H7 `5 q- Q
  307. ; http://php.net/disable-classes
    $ K" U$ m  R0 V4 S2 ^
  308. disable_classes =
    * Y, O, E  b* F( ]* C

  309. 7 {2 Z; m& [! c% k; H
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" _* Y* J# Q; j6 S. H7 r  x" P& G* D
  311. ; <span style="color: ???????"> would work.
    $ D7 O5 K: d% _8 v4 i# L4 Y/ k. p
  312. ; http://php.net/syntax-highlighting" @0 {: [6 I/ E* t
  313. ;highlight.string  = #DD0000; d1 A3 ~1 {) E8 l9 N" [
  314. ;highlight.comment = #FF9900
    + x8 [! @* m+ k! W. H7 U
  315. ;highlight.keyword = #007700
    & @% I$ Y4 O! \6 d/ J- x: D
  316. ;highlight.default = #0000BB
      A- B' j& `- {& @* |
  317. ;highlight.html    = #000000
    + G) y) [7 }1 `& D' a1 t5 u/ q

  318. * y) S1 d* n9 ^- h& f2 F
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    & }: ~" N1 h2 j+ _' L' ~
  320. ; the request. Consider enabling it if executing long requests, which may end up# [$ \: w: g# R) }
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior# E0 D5 ^( R6 d" }
  322. ; is to disable this feature.9 Y. y' p, ~% Q) [& T: \. w
  323. ; http://php.net/ignore-user-abort* [5 p' U# N4 _+ m$ K: Z
  324. ;ignore_user_abort = On6 \$ M3 i" D& @4 C2 [! ?, D7 B9 ^( G4 H
  325. 7 t& p7 R- W& B5 f
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ; C" t2 L! F! k! J
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    # t4 j2 U0 c$ d# I6 [
  328. ; the file operations performed.
    9 z) n8 k) A( C2 U
  329. ; http://php.net/realpath-cache-size
    ; H, I6 P6 P5 M8 N' k, ?
  330. ;realpath_cache_size = 16k
    3 L5 G5 ?8 ?7 f( m0 h: [3 y
  331. / m" r4 V6 F; i+ p/ {! `$ H& Q
  332. ; Duration of time, in seconds for which to cache realpath information for a given& m$ c* c3 @9 B* @$ G# S* Z
  333. ; file or directory. For systems with rarely changing files, consider increasing this# M1 z8 `6 f; g
  334. ; value./ b/ K. o$ n' b  L7 W8 l
  335. ; http://php.net/realpath-cache-ttl
    " A1 e9 E- e5 m: b
  336. ;realpath_cache_ttl = 120
    " o! ]% k" l9 _* Q1 W
  337. ; |1 i4 ?- W* [% V# j
  338. ; Enables or disables the circular reference collector.$ b7 M/ B) Z. P5 e  v; Q
  339. ; http://php.net/zend.enable-gc
    1 o2 w  w  U  Q1 J1 Y5 K3 c
  340. zend.enable_gc = On
    / z) p' F$ c5 C
  341. + p4 S3 V, i- }0 x# f
  342. ; If enabled, scripts may be written in encodings that are incompatible with6 H, Q* W& G, ]& M
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such" H0 E; `7 y; x( l
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    . q4 |0 c; H) J6 `3 P. n& |
  345. ; Default: Off
    ! o/ {9 l# ^9 K. p
  346. ;zend.multibyte = Off/ g4 M/ ]1 J- g

  347. 0 K2 f( ?" U2 R9 Z
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    8 p6 I2 o" ?+ ^  M
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) v: G% J- w: C" B7 P
  350. ; Only affects if zend.multibyte is set.
    / {7 w" J/ @: k: ^7 U6 O
  351. ; Default: ""
    9 F" C8 T$ d: {1 G: R/ w
  352. ;zend.script_encoding =
    , @+ j) D6 `7 K! }/ `6 `
  353. 8 N" |# V0 D5 e- |9 z0 @
  354. ;;;;;;;;;;;;;;;;;+ R! w) p! o" }6 `3 }4 `- y
  355. ; Miscellaneous ;# |" D. v- ~7 O) O/ U
  356. ;;;;;;;;;;;;;;;;;  s- Z% U0 H# l2 l/ R( T) N
  357. ' W. Q1 p, F, m2 J: k- D
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    " ?$ `  ]$ ^. `8 T" T* Z
  359. ; (e.g. by adding its signature to the Web server header).  It is no security% M: [9 Q' L' \) j4 v5 t$ _
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    5 K' I2 ~1 j; B  L: W, _
  361. ; on your server or not.
    7 G5 d. x& C* ]: {3 x
  362. ; http://php.net/expose-php. S; k9 B9 u; h* o
  363. expose_php = On8 l3 n+ R6 \6 Q! t/ S$ l, ~5 ~
  364. + `- `, R; p7 i! A0 _6 W
  365. ;;;;;;;;;;;;;;;;;;;
    9 u( q2 c+ f- d% [- {6 h' q
  366. ; Resource Limits ;
    7 M/ K7 `0 J7 K$ L
  367. ;;;;;;;;;;;;;;;;;;;
    9 v* x) }' C2 D2 c) O* Y5 i& q& J) \

  368. $ w# t& U1 L3 l  m$ g
  369. ; Maximum execution time of each script, in seconds# l1 h8 |; x7 ^3 Z: d& T0 w* @$ n
  370. ; http://php.net/max-execution-time6 m' ^$ }5 N: P& d; R
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI- _: u9 c& @+ e. p+ q# p/ S& V
  372. max_execution_time = 3008 `% k) T4 _( P7 W' n

  373. $ q. U  a. P+ _1 @* C2 ^( O
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    9 B, |: t& t. p+ _
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly$ K& ~  [2 J0 Q, L
  376. ; long running scripts.
    8 `% i( n7 x9 z2 r2 B
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI  x3 f  \  }0 L3 b8 k  Z! k2 t
  378. ; Default Value: -1 (Unlimited)
    - p/ U2 z2 A1 W% o1 m2 V
  379. ; Development Value: 60 (60 seconds)
    : U; H* k3 ^1 L/ L
  380. ; Production Value: 60 (60 seconds)
    1 o' m+ {/ r6 ?1 X7 P
  381. ; http://php.net/max-input-time; O) I! B2 r) G; _3 P
  382. max_input_time = 60
    3 ^& c6 \5 V3 Z# S/ b2 q/ t3 r
  383. 0 |7 Q# D; z5 ~4 Z8 _1 @
  384. ; Maximum input variable nesting level
    * m7 L9 D4 J/ S& d( A+ I; G
  385. ; http://php.net/max-input-nesting-level- T+ h2 {5 _8 H6 ^0 k5 M7 c# ~
  386. ;max_input_nesting_level = 64' L. ]/ x( O; @% U  V' `, g1 ~4 L/ p

  387. + F% J* F+ R7 `8 R0 Q, c& ?+ o% x
  388. ; How many GET/POST/COOKIE input variables may be accepted  R. g# Q+ u7 O0 Y
  389. ; max_input_vars = 1000
    . }9 J* r) N0 d' P% I3 A! u3 h

  390. " R9 H  y  Y; k! ~; M. |/ F9 X
  391. ; Maximum amount of memory a script may consume (128MB)# ^! T3 X- d! S) m
  392. ; http://php.net/memory-limit
    # H6 f0 M5 @- ^/ d2 a- k- b3 O
  393. memory_limit = 128M& L  ?+ X" t$ ~$ E

  394. * }0 B1 K3 A% f. C5 N! T6 H
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 n( u+ Y2 e1 E/ _' }6 E5 ?
  396. ; Error handling and logging ;
    ' {6 F$ W2 G$ O: M& h( s
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      Q; c8 M# w$ S# K) ~& r0 K$ ]6 Z' d

  398. % A3 Y, Y% X+ e; z4 Q; I6 n
  399. ; This directive informs PHP of which errors, warnings and notices you would like+ L7 Y0 I6 I# V+ B, B5 J5 F6 g" A0 K3 E
  400. ; it to take action for. The recommended way of setting values for this, U, R. N8 D3 W
  401. ; directive is through the use of the error level constants and bitwise* X1 f1 |9 M4 o3 C. ]
  402. ; operators. The error level constants are below here for convenience as well as, Z8 H! c+ Z2 t4 Q! a* L
  403. ; some common settings and their meanings.* x' f( h* l8 Q
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    * `! G) b9 y( ~
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    8 h$ ^6 K/ S4 A; Q! {
  406. ; recommended coding standards in PHP. For performance reasons, this is the  Z& S7 j/ A0 D5 e5 U
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    4 s4 j7 ?. Y2 @% R7 C6 ~
  408. ; resources complaining about best practices and coding standards. That's what
    / K+ n$ Z" [9 a3 G& D# R7 m
  409. ; development servers and development settings are for.. `9 O4 C2 ?* w0 Z$ r' Q7 W
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    & l0 e$ K( B. v2 \( f5 x% a  o7 e
  411. ; means it pretty much reports everything which is exactly what you want during
      t2 I* m! k2 U8 p0 \) W( l1 r
  412. ; development and early testing./ B) r7 Z) c& ]* v5 a& i  ^% j4 U( G
  413. ;1 U5 e! j7 ~* e8 `* k9 m8 ~
  414. ; Error Level Constants:! O+ X( t" K- i- r' Z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0): l# C  X1 s: K1 y: [; c
  416. ; E_ERROR           - fatal run-time errors7 y" _7 ~$ X7 K3 T/ y& ?$ N# I7 Z+ p
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 V1 \. h; W  A& e/ h" K6 A. d9 Q
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ' f' X. a' ?9 P9 j+ s- y; ~* w
  419. ; E_PARSE           - compile-time parse errors! q& h* i" Z, h# [
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    0 s( |+ n1 g1 `' T! D
  421. ;                     from a bug in your code, but it's possible that it was
    ' S- M. @0 D0 j' \) N! b" F
  422. ;                     intentional (e.g., using an uninitialized variable and6 v3 z7 |+ w7 X2 d3 A! f: c
  423. ;                     relying on the fact it is automatically initialized to an6 y. O& u% q, \( |+ Y
  424. ;                     empty string)2 W6 Q+ d6 s2 D0 K5 q9 ]2 b* `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( K. l1 q2 ~* O
  426. ;                     to your code which will ensure the best interoperability( b6 S" b8 b, ]4 B5 z; _1 q
  427. ;                     and forward compatibility of your code, d3 m! _( ~$ S/ T
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup; `2 m8 g- Q- i6 g2 F) ~1 m
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    7 d2 E7 M/ l$ c, D3 i% `% Y
  430. ;                     initial startup
    * u3 e1 @8 Y0 p" r/ ~& F
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    , i) P; s" o  E: D
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 [# V7 U* h- P6 x( _
  433. ; E_USER_ERROR      - user-generated error message
    # c4 Z. }/ Y  ~' `' Q! |, Q
  434. ; E_USER_WARNING    - user-generated warning message
    5 x- Q- d! q$ V6 S
  435. ; E_USER_NOTICE     - user-generated notice message
    6 C. T8 z8 ^2 y$ n6 `3 f& G9 @# h& t
  436. ; E_DEPRECATED      - warn about code that will not work in future versions& h, [6 L6 y) G! W; ]. @! G
  437. ;                     of PHP0 v  O0 ~0 F; V
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings  ^- _6 n; }& g# }
  439. ;* I9 A8 T" G. [/ C# d' B1 P; ?
  440. ; Common Values:& N# u' o8 l% x2 f2 T
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)1 G7 E( y9 L' {3 ~& J7 ~
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)+ O* T. F4 Q1 G5 K0 g
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 Z7 t/ A1 t  x0 }& n' G: p
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)- X4 T( a5 r* k  C  [9 u
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# G# b+ a+ {! O' `4 R8 z
  446. ; Development Value: E_ALL
    " e- r& Y( ?4 I0 [  S6 L2 [7 X
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( {' U8 z* x$ w$ D2 j
  448. ; http://php.net/error-reporting* r0 I0 o7 _' S! c2 X& x
  449. error_reporting = E_ALL & ~E_NOTICE. O+ m+ e# s( c+ Z# c- x1 f
  450. 5 V7 V7 h5 h1 V8 J
  451. ; This directive controls whether or not and where PHP will output errors,9 v" L9 Z  W: M9 F/ k# ~
  452. ; notices and warnings too. Error output is very useful during development, but$ N* W6 n: `1 d1 x& a' t, _: ~5 u
  453. ; it could be very dangerous in production environments. Depending on the code
    & T% N5 p& t* M. ^
  454. ; which is triggering the error, sensitive information could potentially leak
    # H& W6 X7 Z8 {; O1 H" Y" ^: n# i% }8 K7 l
  455. ; out of your application such as database usernames and passwords or worse.
    2 O" I2 ^0 @4 B; l) Y' h" p
  456. ; For production environments, we recommend logging errors rather than- r. y8 H7 ^4 R0 x
  457. ; sending them to STDOUT.) N: Y3 b. w7 K  p+ T+ z' q
  458. ; Possible Values:
    : t$ I# u# O" u2 F3 s  \
  459. ;   Off = Do not display any errors
    1 f8 N+ t4 T+ \! F
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 p/ p, C' s  q; C- Q* J) q6 W
  461. ;   On or stdout = Display errors to STDOUT
    9 s* e% b) V, v! A; d+ x) `* q+ |5 ^8 l8 _
  462. ; Default Value: On1 r+ p: A+ ]1 {
  463. ; Development Value: On
    - `6 o& G  {! d. t
  464. ; Production Value: Off3 @8 K% |/ s3 i' }' {. n
  465. ; http://php.net/display-errors, f5 Q/ H3 ~! d
  466. display_errors = On" [- L& w7 S1 X6 H$ H6 f) L
  467. 7 P4 Z9 E4 R8 x- y5 {
  468. ; The display of errors which occur during PHP's startup sequence are handled; e1 Z. T2 v* \! p
  469. ; separately from display_errors. PHP's default behavior is to suppress those! {- k5 s6 Y# M( J, h' [+ B; Z/ g
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    , ?4 c: c/ [! [  i, {0 \5 |  L
  471. ; debugging configuration problems. We strongly recommend you1 t  m. N$ y/ O: e- Q
  472. ; set this to 'off' for production servers.
    5 X8 _, q; L# ]) L9 r& k+ u
  473. ; Default Value: Off
    * B6 |! _# P* Z2 _
  474. ; Development Value: On
    0 u" L- T. X0 |$ X3 d
  475. ; Production Value: Off
    ; Z' X' Q; C* i' n  A; Q- |- f
  476. ; http://php.net/display-startup-errors
    , T4 r+ }9 r0 t9 L; g& ~5 d
  477. display_startup_errors = Off
    8 z2 i! {- Z7 G6 t; Z2 l# F

  478. $ {, A7 k, G% P8 p$ ^% R
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    # K. @9 [$ d, _4 r9 G- a  O& Z: y
  480. ; server-specific log, STDERR, or a location specified by the error_log
    7 |3 s5 S5 o6 C$ R* N# p3 [* b8 C
  481. ; directive found below. While errors should not be displayed on productions
    2 J9 e' ]& g" [& Z( m
  482. ; servers they should still be monitored and logging is a great way to do that.9 K, x2 o7 u! w& w
  483. ; Default Value: Off8 j2 l. w- y5 ]" u* i6 w7 k
  484. ; Development Value: On  G. C3 q: j# ~! Y: @6 {3 y
  485. ; Production Value: On' m% e5 G0 i$ p; v/ I7 ]& Y1 H* G
  486. ; http://php.net/log-errors6 R, X$ w" m( w
  487. log_errors = On
    ) t. _, J- N! ]

  488. ) ~& I: e. L" i( g
  489. ; Set maximum length of log_errors. In error_log information about the source is
    8 r  z5 K3 T- d& S& C$ ?+ z, b5 S
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    " }! O# m( W5 a) @# ^4 P  X. H; |
  491. ; http://php.net/log-errors-max-len9 T( |+ K. A7 G9 A1 G, t( K
  492. log_errors_max_len = 1024
    4 ]6 _' K( {9 u( K* `

  493. & K/ d+ y$ M; F- j, J% y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same0 a0 \5 N" }5 ?& \( L. y
  495. ; line unless ignore_repeated_source is set true.
    ( m$ U$ p. d  b
  496. ; http://php.net/ignore-repeated-errors
    $ W/ p' \" q( W7 n1 I, U  J2 w
  497. ignore_repeated_errors = Off
    & {2 x- W1 D5 i3 k$ W: M

  498. * ]) v$ d3 n0 Z+ |' w4 J
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    2 q& t( J3 t- O1 Z' Z% G, J2 U
  500. ; is On you will not log errors with repeated messages from different files or9 p2 P$ v6 y& c' ~" F" [" F  G  S
  501. ; source lines.
    . _  M! E. T# E
  502. ; http://php.net/ignore-repeated-source
    9 E3 F$ C, D! Y
  503. ignore_repeated_source = Off- M6 _: u/ i' \; P
  504. / s2 p9 r& K* E
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ' b5 d/ i7 Z/ e2 a: Z! g  N7 |8 E
  506. ; stdout or in the log). This has only effect in a debug compile, and if" X! A0 U2 a$ t, x# |$ J+ I
  507. ; error reporting includes E_WARNING in the allowed list
    * `6 z% _3 X0 c; J+ B
  508. ; http://php.net/report-memleaks3 K* L3 a4 ~5 ]! G" G; z; ~8 X+ S
  509. report_memleaks = On
    + J/ H7 n$ f, V( z4 g! t. r0 l5 Q

  510.   Q) ?5 E+ U" A9 G7 C! L
  511. ; This setting is on by default.2 V# X- G3 v2 U# i- s- W
  512. ;report_zend_debug = 0/ I8 M" R' k, G; X/ ~. x) _
  513. * v- i9 i! C! ?% Q+ F
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 b! l3 x3 G$ E
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ' {; F& z7 J7 l/ c1 p7 L- }
  516. ; however be disabled on production servers.
    ( }- p% D% D7 [8 W) P. A5 F9 y" t
  517. ; Default Value: Off& g# P* v8 j5 a5 h
  518. ; Development Value: On- W5 \" x9 j) ^5 r
  519. ; Production Value: Off2 F4 L* [1 r, {; U! m
  520. ; http://php.net/track-errors3 x6 k/ M& Z( E4 c/ D; U& d$ C! u
  521. track_errors = Off
    7 [& L7 O7 }: K4 i1 T
  522. ( m  q4 m6 e4 k1 T
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    & T& b/ C$ ]0 t  U6 A; A* J
  524. ; http://php.net/xmlrpc-errors
    8 G$ O4 k- R: y% M+ U! P) P5 B" r
  525. ;xmlrpc_errors = 0
    $ P; k8 t' t  R4 T6 s' E: y& F
  526. ( u  Z! z- _  W9 T+ |. d! ?
  527. ; An XML-RPC faultCode
    - z9 O9 ?$ f8 D' d# o' Y
  528. ;xmlrpc_error_number = 0# O/ @: e( k6 N6 [1 P- g9 }5 K: ^

  529. & ]% a$ p/ j; T
  530. ; When PHP displays or logs an error, it has the capability of formatting the6 {$ T, @% ?# _; |+ l1 v, q
  531. ; error message as HTML for easier reading. This directive controls whether
    - Y! R' h  \8 U+ z' {' f
  532. ; the error message is formatted as HTML or not.
    2 L3 _# f5 u3 r
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI. F5 v% W2 Y  `0 w
  534. ; Default Value: On
    + W, d# M! z" r2 f
  535. ; Development Value: On4 h7 e1 P" t# J* @+ K# D# k
  536. ; Production value: On
    4 `+ x8 P: Y: M6 m" X5 z* S2 [
  537. ; http://php.net/html-errors
    % F  N* o2 ]* z* E" N  K8 p! {
  538. html_errors = On
    ; n! @1 Q& w) Y# Y7 ^2 _7 Z6 }5 ?

  539. 0 q/ t+ \; R5 U; F) V
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP* m/ B( ^  U0 ?/ S; `2 a( A% P9 {
  541. ; produces clickable error messages that direct to a page describing the error
    8 e2 y, G9 o  J
  542. ; or function causing the error in detail.
    / @: O% [! N: l5 V1 v  t/ b
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    7 Q3 H# S/ ?8 ~3 ~, a: q$ m! z
  544. ; and change docref_root to the base URL of your local copy including the
    9 e% F3 h! s6 T+ M+ ~
  545. ; leading '/'. You must also specify the file extension being used including" ]" B3 m6 B, }: N
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
      e' E% C1 j: f/ W6 M
  547. ; case no links to documentation are generated.9 }/ _9 Y3 k1 Y# J, `$ L6 g
  548. ; Note: Never use this feature for production boxes.
    9 e/ R0 b  E! ?  U$ M+ |% a3 V
  549. ; http://php.net/docref-root1 L, Z: h5 G" A) o: m0 R- ^* F1 Z
  550. ; Examples
      O& ]+ c& C: p* y! _- [& y! R0 S  ^
  551. ;docref_root = "/phpmanual/"4 n9 O% I9 G( G
  552. 4 @4 u5 w# R* i: i( D! f1 M: e
  553. ; http://php.net/docref-ext* @, Y- M7 F( h+ ^0 M* B" S
  554. ;docref_ext = .html. @" {  t9 A; l' }5 O: Z& p
  555. ' S2 g1 S7 j. c* \6 |+ O
  556. ; String to output before an error message. PHP's default behavior is to leave) y6 `; g! P, b: t; r/ Z+ d
  557. ; this setting blank.
    " j! k; M( w  p& s3 N! O$ h
  558. ; http://php.net/error-prepend-string
    8 _+ h5 x4 X$ D4 U& \! ]  k
  559. ; Example:
    6 C( E* f( O3 V0 H% m1 Y
  560. ;error_prepend_string = "<span style='color: #ff0000'>"0 j8 V# _9 ^8 v- m3 h; _/ c7 K) X

  561. 6 A, n( S" K( y/ {
  562. ; String to output after an error message. PHP's default behavior is to leave* e& m2 |8 ]  V* h
  563. ; this setting blank.9 @) J! C' Q, f% r/ v: s
  564. ; http://php.net/error-append-string
      T+ |/ j" b2 k) V! K( |& t7 Q! g
  565. ; Example:# D% Y( H" F+ k7 r7 \7 b- s: p) P* h
  566. ;error_append_string = "</span>"9 k4 Y& ~0 P, ~% w

  567. 4 Z- }: f7 ~% \
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    # J" O. a5 ^- X$ i6 u8 b4 P! O
  569. ; empty.  v" |! d3 t; i# V$ p& C
  570. ; http://php.net/error-log4 [9 k$ R4 K1 l
  571. ; Example:% u& D( e& B, c; Z; s
  572. ;error_log = php_errors.log4 _8 b# s. h  T, _8 T
  573. ; Log errors to syslog (Event Log on Windows).
    2 Q+ i+ @/ s( J/ k: Y2 [8 {3 Y
  574. ;error_log = syslog6 @2 C5 V8 y( L( B: h

  575. . Z6 a: x  H7 S0 I/ Q9 P8 Q
  576. ;windows.show_crt_warning2 @5 s7 W$ i- h$ C( Y+ M6 q( B* [
  577. ; Default value: 0
    ' \- W& F: |* x
  578. ; Development value: 0
    - L: p9 K" v2 S6 u: j/ [8 O
  579. ; Production value: 0
    - G9 ~( n+ G/ b2 a2 i
  580. & e* h4 v7 M& u
  581. ;;;;;;;;;;;;;;;;;) R3 G8 P2 b* P2 [, G
  582. ; Data Handling ;% A) Z: V, }! o+ R# |
  583. ;;;;;;;;;;;;;;;;;
    % s) w, f3 V( w# ]# K9 H/ @# g

  584. # g; S. L6 `! ~) H! ?  u; S' R
  585. ; The separator used in PHP generated URLs to separate arguments.. W7 h, K' G# F; p% l1 M
  586. ; PHP's default setting is "&"./ @7 z, N& x9 M8 p* r
  587. ; http://php.net/arg-separator.output
    7 i6 ~* a* s  r0 l' K0 I' E
  588. ; Example:2 Y7 f' q% a1 q! Y, A2 r5 W
  589. ;arg_separator.output = "&amp;"
    $ \: D( {. M' B8 J5 J0 b$ i

  590. : @0 h/ z  h* T. m- V4 J
  591. ; List of separator(s) used by PHP to parse input URLs into variables.  C! L; c3 [& Y/ a7 i6 x: ]
  592. ; PHP's default setting is "&".
      q$ d8 A% M. o) `
  593. ; NOTE: Every character in this directive is considered as separator!
    ) p% O3 U2 t1 J6 t4 I
  594. ; http://php.net/arg-separator.input
    8 M2 Z1 F! k# x6 C
  595. ; Example:
    . k* y" B+ [8 `5 ~1 O! f/ M' m
  596. ;arg_separator.input = ";&"9 y( J* B2 p# T

  597. $ _$ R/ f2 j+ r+ b6 y' ~
  598. ; This directive determines which super global arrays are registered when PHP6 s% ~+ i7 k9 Y' C2 a4 ?" P$ I
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super) O) X) ]) s+ B7 y3 t( I
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    8 X& i: W2 R" B( m( J
  601. ; paid for the registration of these arrays and because ENV is not as commonly4 J' m4 j2 F0 j0 F! ]
  602. ; used as the others, ENV is not recommended on productions servers. You: R4 C) b6 u% R# J( P
  603. ; can still get access to the environment variables through getenv() should you- m# a6 Z" F# Q& z+ I3 w
  604. ; need to.1 F3 `' y% E8 f5 O$ `! \
  605. ; Default Value: "EGPCS"
    2 I8 E7 T$ D3 e* |+ V
  606. ; Development Value: "GPCS"
    - N, K/ B- I( _* l! }5 |* G
  607. ; Production Value: "GPCS";% Z6 B2 t  k- z- T7 V# n
  608. ; http://php.net/variables-order
    " o) M0 Q) ^3 N4 R. e4 ^+ i
  609. variables_order = "GPCS"3 s4 o. }- N% ~* `) C7 g

  610. . \! [" |% t, `) q9 {
  611. ; This directive determines which super global data (G,P & C) should be4 x" {) P7 w: @+ X$ i$ ]# `" L
  612. ; registered into the super global array REQUEST. If so, it also determines7 g7 R2 M, Z( U8 u2 I- I
  613. ; the order in which that data is registered. The values for this directive; T& E( J, `1 w4 u# y" }2 C7 @; d
  614. ; are specified in the same manner as the variables_order directive,
    ; E+ D; W. s. g4 p/ E
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set! a$ v: A. B& Z
  616. ; in the variables_order directive. It does not mean it will leave the super
    # c0 f3 F" `, a
  617. ; globals array REQUEST empty.. X6 x( `6 k; n  \1 ?2 i
  618. ; Default Value: None. r5 j2 w5 ^4 |
  619. ; Development Value: "GP"* l. ~9 ^* X4 W0 b' z
  620. ; Production Value: "GP"  |. A5 r, Y+ ?- L& O( O  z* y
  621. ; http://php.net/request-order
    / A0 ~& N% J2 A" L( Q
  622. request_order = "GP"% y& H- m) C, J) V+ o  {4 b  t* o/ K8 C
  623. ' z: R' T* j. Z; F
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    " |# O. f9 K+ [( K0 [7 F& n: N
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script/ f" O/ r2 |: f' ]
  626. ; is invoked. $argc contains an integer representing the number of arguments
    2 s6 `8 H! F# `7 X" a" p# c
  627. ; that were passed when the script was invoked. These arrays are extremely
    9 X+ c2 s- E/ Q; i" ]" [
  628. ; useful when running scripts from the command line. When this directive is
    7 K" L) E1 y) b4 R
  629. ; enabled, registering these variables consumes CPU cycles and memory each time4 y3 c& o5 Z  ]4 O
  630. ; a script is executed. For performance reasons, this feature should be disabled- e: M# ~- J* b' A' x7 E6 r
  631. ; on production servers.6 }& i& E9 u1 h: J, t  `. J& p( i/ t# b
  632. ; Note: This directive is hardcoded to On for the CLI SAPI5 r6 a' Z3 F+ Y& w9 I5 B
  633. ; Default Value: On
    , T( Z; b+ i6 }2 a9 S' v7 b
  634. ; Development Value: Off; F8 d0 B! `0 R: Q
  635. ; Production Value: Off
    3 G% v( q/ W# @! h& s
  636. ; http://php.net/register-argc-argv) z( v0 J2 M% s2 b
  637. register_argc_argv = Off+ a8 j+ K- C5 F+ d+ Z0 v7 f

  638. , t$ O, |' Z* U% V
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're( t- v+ D4 z. A7 {
  640. ; first used (Just In Time) instead of when the script starts. If these
    + K+ Z9 E+ X0 I! D# s% T! E
  641. ; variables are not used within a script, having this directive on will result3 C) N" t# _0 N( I/ ]6 P! n
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    , ~/ ]  ~. ]# o: o+ o. }
  643. ; for this directive to have any affect.- c: X+ ^/ P* I/ x
  644. ; http://php.net/auto-globals-jit
    ( @! s, V( a  ?5 K5 h9 A1 l5 o8 E
  645. auto_globals_jit = On
    : ?5 h; K' m4 N4 D. E- S. y% F

  646. ( H+ L# o+ _; j  L2 k
  647. ; Whether PHP will read the POST data.
    $ B! D7 D' x5 K  b
  648. ; This option is enabled by default.
    # w; l$ a0 ^9 n% H) {) Q: m
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & D$ L) J' y3 O  A/ ?$ p- O5 q! q
  650. ; and $_FILES to always be empty; the only way you will be able to read the; D+ x' w( t2 u/ h& l0 F1 U( t
  651. ; POST data will be through the php://input stream wrapper. This can be useful1 M5 f# e8 O; @  \
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.! Q! U7 V4 @" O  i; Z
  653. ; http://php.net/enable-post-data-reading7 \+ Y4 `/ d) @5 b; a
  654. ;enable_post_data_reading = Off# W( x% X+ c) M

  655. - U! e* r- q( B* T: s3 Z, P, v
  656. ; Maximum size of POST data that PHP will accept.: q" G( T- a9 {& z! S
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading5 F! E' q; g7 w4 x9 J, F
  658. ; is disabled through enable_post_data_reading.$ m9 `6 S7 a7 D1 U4 n
  659. ; http://php.net/post-max-size$ o# p+ ^/ O4 {4 h1 a
  660. post_max_size = 50M# H! L) N! y- W3 w- X- `! ~* A

  661. 5 E/ j6 K; z% U% \+ z
  662. ; Automatically add files before PHP document.2 B- a: _; W5 D4 ?& \
  663. ; http://php.net/auto-prepend-file' g% w$ |- W: z6 A9 g* q$ E
  664. auto_prepend_file =
    - L$ ]& B/ d2 @4 A1 _" F7 f* Q

  665. $ I* C0 G3 w0 B( b' H/ f
  666. ; Automatically add files after PHP document.
    2 D3 V1 n8 i7 ~5 h8 o) G% W8 i
  667. ; http://php.net/auto-append-file
    9 O+ ]% U  B' H! D- n* U
  668. auto_append_file =
    1 a# m; A( _0 i6 W. Q* R
  669. 5 g+ \) K5 D& [7 x- f. m) ?/ s& p
  670. ; By default, PHP will output a media type using the Content-Type header. To
    5 g5 q7 D! X( U" o
  671. ; disable this, simply set it to be empty.
    & p! Z8 {) c/ p7 g
  672. ;0 p" _, S0 V0 _/ o$ p4 f
  673. ; PHP's built-in default media type is set to text/html.
    ) @: j& @4 e) ^- x. e4 i
  674. ; http://php.net/default-mimetype
    * j: U$ Z8 n6 N4 _$ B8 v
  675. default_mimetype = "text/html"
    0 }5 w3 }: ?# B; ^4 m) k
  676. , B% k! k. i, v& N
  677. ; PHP's default character set is set to UTF-8.
    ) Y: c3 B& S& h# S7 E% A0 y4 C- }
  678. ; http://php.net/default-charset+ q3 a0 m* l. y# M, B# e
  679. default_charset = "UTF-8"
    7 @1 {* f$ m7 `/ K

  680. 5 e5 Z8 C0 d$ K; }7 D" n: g4 i
  681. ; PHP internal character encoding is set to empty.
    7 T* Y+ e5 D3 ]& D! H
  682. ; If empty, default_charset is used.( Z" P$ T7 p5 W2 U
  683. ; http://php.net/internal-encoding/ W* C$ d% r, ]/ N9 Q- e  B
  684. ;internal_encoding =
    $ L2 l  j" i$ ~

  685. # n1 V  J4 w3 A0 S! y) q
  686. ; PHP input character encoding is set to empty.& O  `! R1 x' V" ]7 @
  687. ; If empty, default_charset is used.; k& P8 T9 p  d% T
  688. ; http://php.net/input-encoding
    + M; Y1 |  I: m1 G0 @$ w2 H1 _
  689. ;input_encoding =
    : K( p+ }8 I9 `3 e
  690. ) s* }& b  x# {" d# H  a% ]
  691. ; PHP output character encoding is set to empty.8 ?/ N) h3 {3 C' O4 Z2 w0 _* @
  692. ; If empty, default_charset is used.( g; w, p" [, j8 z
  693. ; See also output_buffer.
    7 v$ d- m& O2 }; C" u) M/ m! T  l! r: d
  694. ; http://php.net/output-encoding" V% }, [+ L2 n  D4 q& }# Z6 U
  695. ;output_encoding =' G" Z9 d: h, I2 U9 K+ P

  696. # k4 d7 A! t; t; p1 E) Z5 U' |
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is6 B" [) ?% A) K+ ^
  698. ; to disable this feature and it will be removed in a future version.
    % V; l: S5 p- f' C
  699. ; If post reading is disabled through enable_post_data_reading,
    + n+ n. [0 G: p; c5 h7 g
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    1 j$ u6 [7 t* J
  701. ; http://php.net/always-populate-raw-post-data
    : S+ F8 a0 _( V. c* m1 o
  702. ;always_populate_raw_post_data = -1
    : d* o6 k# E6 m+ ]
  703. ' ?7 ]! e, z0 Y5 i  E, j
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;+ ~: q5 [* a. s/ U! Y+ ?
  705. ; Paths and Directories ;' h# Z" H& p2 c1 U
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " V$ m) D) P; P3 t3 F
  707. , n# v9 [% ~& ^5 F: y
  708. ; UNIX: "/path1:/path2"8 f: S# X6 n, c& ]$ H. O8 @( `
  709. ;include_path = ".:/php/includes"5 r3 }( T7 S2 ?8 d; }0 V  `
  710. ;
    1 b) ]2 p( R3 J5 p) ^
  711. ; Windows: "\path1;\path2"6 ^. O9 f! I! h! u- a
  712. ;include_path = ".;c:\php\includes"
    % p; T+ x% g5 ]' q) ]+ }
  713. ;6 y# Q. A2 }' A( P" g; w
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    & b+ n. y0 H) B6 u
  715. ; http://php.net/include-path
    1 H3 ?+ D5 l$ a; O5 N- h- v
  716. # o% k" U6 z$ I5 V* i* p' ~4 D7 N
  717. ; The root of the PHP pages, used only if nonempty.6 {  T! D$ y+ J
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    - h- @" s# Y: {9 H
  719. ; if you are running php as a CGI under any web server (other than IIS)" H$ D+ B. P! g  a; d2 u- o
  720. ; see documentation for security issues.  The alternate is to use the5 S4 h. e2 C' |* u/ g
  721. ; cgi.force_redirect configuration below2 T0 Z+ b+ X$ a" _3 z
  722. ; http://php.net/doc-root- u: r, `4 W# m& y3 h) L5 @
  723. doc_root =
    9 |  `3 F& C7 m3 h2 p  k5 h

  724. ; r1 B$ K2 Q! [$ C$ J' W
  725. ; The directory under which PHP opens the script using /~username used only
    $ P, U& M2 v. d2 R& r. S# }
  726. ; if nonempty.
    - a4 d, C5 y3 ]9 d: Z; {
  727. ; http://php.net/user-dir
    / R$ p0 [) ^5 b: B) M7 N
  728. user_dir =+ T: D6 b  |1 n  _5 G* x8 M

  729. , `. R# w: E" |
  730. ; Directory in which the loadable extensions (modules) reside.! U/ m! _) ^) }8 Y* R% b( w
  731. ; http://php.net/extension-dir5 |+ R9 q  X3 o) x# y3 }- a
  732. ; extension_dir = "./"
    / S' S! ]+ z  l. F7 Y4 J/ {
  733. ; On windows:
    ( r6 b( M/ P0 `7 ]4 I  ~1 i( D* B
  734. ; extension_dir = "ext"& B# d6 k: r  ^2 `% f; o, X: O3 i

  735. * o4 ]. ]. T' f% C$ B' z
  736. ; Directory where the temporary files should be placed.( N" ?7 x7 L8 k9 d
  737. ; Defaults to the system default (see sys_get_temp_dir)& d- O0 {  l) u, e
  738. ; sys_temp_dir = "/tmp"2 @3 l! u8 O+ R8 N2 t
  739. 2 V! w8 f& ?3 q6 K  X
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    2 g% m- ^' t; m) ~( y( U( ^9 q8 q$ n5 D
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 h: S. z  A+ a* \" l
  742. ; disabled on them.4 ?0 \4 l' W( v. T1 l- C
  743. ; http://php.net/enable-dl
    * P$ W  N. d% k8 ^5 Z9 ]
  744. enable_dl = Off' h% U' ]) Y# b
  745. 4 h& Q. g8 X2 q0 }
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' \/ {3 j& A# }7 `
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & Z  L6 S& F: P, t" D9 M, C+ D
  748. ; turn it off here AT YOUR OWN RISK
    * U. _  w2 ^( A3 V7 s5 g7 ^
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : j6 n9 i! X. M5 W7 z1 G
  750. ; http://php.net/cgi.force-redirect, h0 {5 a$ P! i
  751. ;cgi.force_redirect = 12 K+ F3 l+ P! D& |- u, V, v

  752. 9 v; G6 `2 g- D7 K. ?
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    - x8 d8 q, N2 D" y! u' K
  754. ; every request. PHP's default behavior is to disable this feature.
    6 ]5 O* O* ?% ]; l" R$ O1 \0 f
  755. ;cgi.nph = 1
    : p- ^8 s# r, W# ^4 d3 V

  756. & @! I. z4 Z/ S, n" T* D
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape$ q/ _/ S3 e$ h( r  W! r
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 k4 d( j' L7 ~3 G
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY/ k- I5 \5 v- K' Y' }
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ) ^8 T) h6 N* ~1 ?
  761. ; http://php.net/cgi.redirect-status-env! h. {0 o6 H8 F8 w2 Z5 }
  762. ;cgi.redirect_status_env =
    $ _" _# T6 Y2 l; T  Z
  763. ; j( o& J0 r# H4 D; T& I
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - Y, w) O. L, a. {& \! t
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok7 d1 ?* b( V4 H# p
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" i" a4 e7 C) B: E
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
      {! i$ I# i" @- {8 @. Y7 _
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts* k7 W# H+ X: _) l3 n
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 m  W' l- o: t! `
  770. ; http://php.net/cgi.fix-pathinfo- V' ], }9 ~+ L  F- S
  771. cgi.fix_pathinfo=1
    ' h8 V2 v; m4 M

  772. 0 n9 F1 y/ c) T. S( ^- N
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside: k9 S5 Z0 d* X- A- t
  774. ; of the web tree and people will not be able to circumvent .htaccess security.' n# [) p! C8 Q" l2 y( B
  775. ; http://php.net/cgi.dicard-path1 w$ [2 U  R1 @7 N/ ]% P- s% ]4 D& D
  776. ;cgi.discard_path=1
    & C0 t/ Y) n  m7 n8 }
  777. : r  e, W$ _6 f
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% v/ d$ D) G* B7 T% r, h0 g6 U
  779. ; security tokens of the calling client.  This allows IIS to define the5 {6 I; G+ p( m: {) p1 ~" K) t  ]
  780. ; security context that the request runs under.  mod_fastcgi under Apache5 J! S/ J3 i. y' S) C
  781. ; does not currently support this feature (03/17/2002)
      o2 _% b5 ^' {9 i2 D* ^9 Z
  782. ; Set to 1 if running under IIS.  Default is zero.
    ; d: _2 M. P  \5 V/ ]+ D
  783. ; http://php.net/fastcgi.impersonate
    $ n( q: y  g; V' }3 [* r
  784. ;fastcgi.impersonate = 1
    * F! h# n- W: G( R, V, V
  785. * K5 y/ p; s. Q: o/ J+ s! }
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    # @# Z. g& f4 H3 {2 M3 n
  787. ; this feature.% N' ?' T3 j. q: x' L1 S0 v, U: S
  788. ;fastcgi.logging = 0% M7 V  Z1 R) d8 U$ R
  789. ' S9 Q2 T# v" e" z3 f
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to+ ]& Y) T% b- t, D( ]; P
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    - d- x1 Z% S; u1 @; ?, J! e
  792. ; is supported by Apache. When this option is set to 1, PHP will send+ v! Z. C) U" \: [# v3 u
  793. ; RFC2616 compliant header., m$ V! @+ T3 g- h& [
  794. ; Default is zero.
    7 a+ ]6 B: l4 \. L( W8 ?9 i, K7 v
  795. ; http://php.net/cgi.rfc2616-headers' ?- ~& d# f6 I$ [7 P# v5 Q
  796. ;cgi.rfc2616_headers = 0
    & Z- Z1 c& J5 I/ _) D; ^
  797. / F% f9 i4 f* e9 L
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!# G! K' ~" @; [- i
  799. ; (shebang) at the top of the running script. This line might be needed if the/ _: t$ w( x0 L% C7 \) {3 l% Z
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    * }- K: B, U* f% `6 M
  801. ; mode skips this line and ignores its content if this directive is turned on.4 `  O9 l+ |8 S, r: r' i
  802. ; http://php.net/cgi.check-shebang-line
    6 T/ x. m; b5 S- b2 Q, Y. T  p% `
  803. ;cgi.check_shebang_line=1) ]' _4 A, l# O5 x2 d" q
  804. 3 E$ v5 q8 U: J7 ]( C
  805. ;;;;;;;;;;;;;;;;
    8 |6 Q+ }1 l6 X
  806. ; File Uploads ;& q1 D- J# P' y$ C& s
  807. ;;;;;;;;;;;;;;;;7 B4 Y4 m6 J2 @  N: m0 H$ ?
  808. : S( ]. d8 H$ _0 m5 \5 Z% H
  809. ; Whether to allow HTTP file uploads.: r3 j+ m% O6 K' p" L
  810. ; http://php.net/file-uploads+ H/ F0 V6 C  c0 M
  811. file_uploads = On
    8 D7 ~' \' ^# T' l- M
  812. 8 y5 l4 b1 }9 |* A" B* _
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    + P% u- I' T; B. K; C4 Z
  814. ; specified).
    + Q+ {5 w8 w1 F
  815. ; http://php.net/upload-tmp-dir# x* e8 ]' ?3 d. a
  816. ;upload_tmp_dir =5 j, L) Y4 _- J$ x
  817. ; T4 `5 C5 }; t5 ~
  818. ; Maximum allowed size for uploaded files.
    : y! a5 `  l6 B6 t. }
  819. ; http://php.net/upload-max-filesize
    4 x  y1 J5 v: `7 V" I% v7 Z6 |
  820. upload_max_filesize = 50M
    4 s0 A+ J& ^: w% D- A8 C: Q9 o# D' H

  821. ' {, N8 x' `. D; _% t" v' P( r, f
  822. ; Maximum number of files that can be uploaded via a single request2 [) o8 I# U( A: C0 @8 g8 n
  823. max_file_uploads = 208 O( E( N1 s& U) s

  824. 4 O4 ?0 C5 i2 d( h3 K) m3 x! A
  825. ;;;;;;;;;;;;;;;;;;- A* q  Q  C% {, ]* T. t
  826. ; Fopen wrappers ;
    " \* T6 t4 ~% T: t" h) v; O, F
  827. ;;;;;;;;;;;;;;;;;;6 W2 S( m  W) c2 a$ A/ H
  828. % i: F1 b- K) \' `( ?# C
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ; S4 E+ ?; `" e4 b% \4 I1 e6 q
  830. ; http://php.net/allow-url-fopen- k  b( A9 U9 T( o: d1 {6 s
  831. allow_url_fopen = On# h* T% F0 \. o4 [3 F% X1 u! O' u& C
  832. ' l( A) ]  t6 I% }9 q- y
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 a5 [9 o5 i' l
  834. ; http://php.net/allow-url-include# i& ?( X1 s# a3 ~
  835. allow_url_include = Off6 @* |, Y0 Q  L5 y. r6 Y: Z
  836. ; D9 b- g7 u8 O' i
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    , x: w* U! u- [5 `) r
  838. ; for this is empty.7 ^" L7 d/ t: _5 H
  839. ; http://php.net/from
    8 m$ r* L$ O1 e1 u2 l/ ?
  840. ;from="john@doe.com"! N+ J- u$ j4 U& ]4 w( Y

  841. 3 {3 O) @* q4 w) q. E' V6 N
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    # G1 N" c  B) B
  843. ; http://php.net/user-agent- {( q* O2 A5 K& v$ @; V2 v: D7 Z0 D
  844. ;user_agent="PHP"
    2 p0 }; Y) `* L' U& a

  845. & r. F* ?0 o( k$ H; t% F% [
  846. ; Default timeout for socket based streams (seconds)
    * w' R& i5 y. g5 O0 j' G& e9 Y
  847. ; http://php.net/default-socket-timeout
    - N: q4 I7 T4 G$ K
  848. default_socket_timeout = 60
    . J4 U! _+ r# D" _; V
  849. 2 m; R8 C; R- e6 J& `2 F
  850. ; If your scripts have to deal with files from Macintosh systems,  b  h. _9 @& z0 r' I' q
  851. ; or you are running on a Mac and need to deal with files from6 Z) C( E9 V( E4 P! N
  852. ; unix or win32 systems, setting this flag will cause PHP to
    . J# A# ?- N/ ?% m7 O
  853. ; automatically detect the EOL character in those files so that
    6 E& K& F' E  S/ `0 q
  854. ; fgets() and file() will work regardless of the source of the file.4 j% o4 F/ O5 q& f$ {
  855. ; http://php.net/auto-detect-line-endings  Z4 Y  ~5 U  g& l% M% a
  856. ;auto_detect_line_endings = Off7 w! k3 ?) K( U: k+ u

  857. , E. ~- \1 c5 G" W+ t
  858. ;;;;;;;;;;;;;;;;;;;;;;$ ]% Z% q( Y' g; p7 n5 p3 }
  859. ; Dynamic Extensions ;
    ; a9 N6 e0 k2 \
  860. ;;;;;;;;;;;;;;;;;;;;;;9 {$ ~0 N  N0 k8 u4 c

  861. - O  A+ G# b) \0 P/ I: z/ X, M# H) F
  862. ; If you wish to have an extension loaded automatically, use the following
    6 {# U" A1 Y5 u/ J6 V; `, ]
  863. ; syntax:
    4 U' D0 g0 t% g; U0 T4 ~! b
  864. ;
    8 l0 P; |2 `/ }
  865. ;   extension=modulename.extension
    * v* b6 x9 h: Z1 [+ s) o0 u6 W
  866. ;% Q0 w/ f! U1 |) W: B% R5 T
  867. ; For example, on Windows:# y- b; S" c% z6 O6 P( |$ W. P
  868. ;/ R2 Y. O. L: D  g+ h$ E
  869. ;   extension=msql.dll# M3 b5 u* f; U' z9 e( P5 |
  870. ;5 Z4 x) ~/ Q& t( {8 o9 b1 v1 C1 r
  871. ; ... or under UNIX:' D8 t' H/ n/ Y: O3 h1 K( Y* A  f
  872. ;2 B. [% H! R) o- `  o
  873. ;   extension=msql.so
    2 d( `8 p1 o, h3 K9 B, j* P
  874. ;  Q6 ^& f1 T& b& M9 m
  875. ; ... or with a path:
    - x# Q# F- W1 [. I3 T! ^: x- e
  876. ;. r) H+ i1 u. {+ ~' Y0 M
  877. ;   extension=/path/to/extension/msql.so/ k, p) Y6 v% Z
  878. ;5 b- Y, g/ c& l4 h4 c
  879. ; If you only provide the name of the extension, PHP will look for it in its2 c& ^8 L( ]* [0 C% q
  880. ; default extension directory.- r3 [! H4 A6 V) L* C. z' Y$ S
  881. ;
    3 Y0 A; ^! K( Q
  882. ; Windows Extensions! v# j& R% m, ]! ~9 Z
  883. ; Note that ODBC support is built in, so no dll is needed for it.3 z8 ?. R% o% y% O* ]7 e: a* d" Q
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)- B6 @& R- z& J' V* Y! {
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    4 H, P" T, A4 E( a
  886. ; Be sure to appropriately set the extension_dir directive.4 H, I- W3 x- I/ u! G: v
  887. ;
    $ W/ K! d- r! k* b3 `1 p5 c
  888. ;extension=php_bz2.dll
    + e# p; a7 H" u
  889. ;extension=php_curl.dll! U5 r& O' {% w
  890. ;extension=php_fileinfo.dll
    9 @' F, V+ f, B! S. |- e
  891. ;extension=php_gd2.dll# b  Q9 z' [) d; D
  892. ;extension=php_gettext.dll
    # P+ i( M" I/ C% u! J- f& W
  893. ;extension=php_gmp.dll
    ! I$ o1 L2 C! r5 X: |2 @
  894. ;extension=php_intl.dll
    2 ^: R8 H7 R+ F6 ?
  895. ;extension=php_imap.dll
    7 f- S8 y: `: V  N. ^+ r
  896. ;extension=php_interbase.dll
    " P" l" J- b; \0 k9 g( k! p0 x
  897. ;extension=php_ldap.dll
      L' N( v  V( H
  898. ;extension=php_mbstring.dll: C# }: |0 y" o0 r0 I  n
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it! B' n: o6 P  W2 B8 r9 f  B
  900. ;extension=php_mysql.dll
    6 P  |. ^/ v, i* O9 H8 ^
  901. ;extension=php_mysqli.dll* r9 b. D' }3 u- K* E; s: B
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( @2 A8 H# k2 o. C' b) v6 F
  903. ;extension=php_openssl.dll
    ) ^* e* D7 T4 u. ?1 H
  904. ;extension=php_pdo_firebird.dll
    5 g6 Q# J; U% v/ c
  905. ;extension=php_pdo_mysql.dll# [; m" z5 p* v$ A& B9 [; ~7 Z. B
  906. ;extension=php_pdo_oci.dll6 z4 k3 m, y; S8 l  k5 e( @
  907. ;extension=php_pdo_odbc.dll
    6 V8 T8 q1 f2 {* o  d( i: e* a
  908. ;extension=php_pdo_pgsql.dll0 B% u6 E% n6 }% g' H
  909. ;extension=php_pdo_sqlite.dll
    ! |) R) F7 c( z/ J  q
  910. ;extension=php_pgsql.dll! z; |: v: c9 m
  911. ;extension=php_shmop.dll3 T7 T" u7 g7 h

  912. 4 G* |- V. Q( L, G4 D4 N$ J
  913. ; The MIBS data available in the PHP distribution must be installed.
    # y4 ?, ~- p0 B
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    9 n6 }7 P, h2 p1 T2 h: J- r
  915. ;extension=php_snmp.dll9 z+ m' O9 M/ M9 }
  916. " [' q! O* L6 r* f) P) {, V7 u5 {
  917. ;extension=php_soap.dll
    5 z0 V3 J+ t/ ]7 {
  918. ;extension=php_sockets.dll- B, V" P- `  y$ `
  919. ;extension=php_sqlite3.dll
    / E+ A) K) U' ~# K  X+ g: J" ]
  920. ;extension=php_sybase_ct.dll
    5 J# ^" H. u. ^+ A
  921. ;extension=php_tidy.dll
    9 L+ N( b" H) I9 s6 S9 e' w
  922. ;extension=php_xmlrpc.dll
    + r$ F9 g5 v/ S5 c+ A4 P3 Y
  923. ;extension=php_xsl.dll8 b: d8 E7 }5 s
  924. + R! {: O. {; _/ x$ [* Q
  925. ;;;;;;;;;;;;;;;;;;;
    2 }/ y) _' G! K: R
  926. ; Module Settings ;* h; Q% W" A4 b( S1 X
  927. ;;;;;;;;;;;;;;;;;;;" s4 b# z8 w, X' N
  928. $ e8 T# R6 I) d1 r
  929. [CLI Server]
    - y9 z, `: k6 {' d  g
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 S- ~; g0 M6 m* J! f
  931. cli_server.color = On
    0 q$ P* j' l( a; M
  932. / l& {, ]5 _; r: I3 k( f
  933. [Date]
    2 W1 Q3 R% x1 Q6 @# W" }* r" I+ f5 V
  934. ; Defines the default timezone used by the date functions! I+ N$ ^( e; D
  935. ; http://php.net/date.timezone
    * m4 B. @! |- e* p- k4 d7 ?: w, H
  936. date.timezone = PRC# p: q' {" u9 k9 ~% U
  937. ' s! [* q: m; y2 ^; G* ~" \
  938. ; http://php.net/date.default-latitude9 x) O: {& ~3 j  f
  939. ;date.default_latitude = 31.7667$ W3 ?( w" l, O3 F. O" H) B) X
  940. / F* z6 d4 n+ c1 d. r% i. l
  941. ; http://php.net/date.default-longitude* a  |( E: J6 M" a- r3 f4 W
  942. ;date.default_longitude = 35.2333) N; [8 |: X/ u+ O
  943. 6 a! t% O- M3 D* u& ?! h& W. ~
  944. ; http://php.net/date.sunrise-zenith
    - l* \+ o$ e" q$ @  p
  945. ;date.sunrise_zenith = 90.583333
    ; f' Q' `" a  o0 Q, {# l

  946. ( a" [* t# |; c7 g: w4 S; M' f' W
  947. ; http://php.net/date.sunset-zenith% [1 v# c- Q) V" Y% |
  948. ;date.sunset_zenith = 90.583333
    $ Y! ]7 x4 m" u9 Q" I0 ~' U

  949. ( B8 I) T/ h$ w+ i! s( g7 ?
  950. [filter], v2 ^/ K0 f9 q( r
  951. ; http://php.net/filter.default
    " F4 K8 i1 r* N  p
  952. ;filter.default = unsafe_raw
    : X9 a0 @! l% t) Q
  953. ( ^7 Z# ^4 A2 O% p+ _  d+ N) u/ y1 `8 u
  954. ; http://php.net/filter.default-flags) e) h2 M& ~6 d
  955. ;filter.default_flags =
    ) {6 H) c2 c1 B0 C- v0 [; D
  956. 1 I. Q$ j% M& }2 E- H* I
  957. [iconv]
      V3 R8 p: L: d1 P! B& P$ |
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.( m# _2 X, k5 e" ^7 ]; x
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.# b% D8 {! g. |1 _0 f
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    0 P  n" L1 Y3 j+ d) S
  961. ;iconv.input_encoding =
    4 p9 T) ]" O& ?$ r4 Q

  962. 1 Z$ |- n$ X8 [; ~
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead." R' k) _$ r& O$ [3 `: d* }/ A/ D* C
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 @% _& L* v& f+ D5 F0 _9 _
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: l2 L; J. [* j* h
  966. ;iconv.internal_encoding =# Q, v" I5 k6 K* O5 @% k
  967. 9 g# _  l" {) p( h
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.+ S5 H& }5 h1 }) m; N0 \& q" d
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 g% t. d9 ^3 X" b( v2 u, m
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ; ]- A: [0 t- q1 _- y' a, I
  971. ; To use an output encoding conversion, iconv's output handler must be set$ Y6 M( B/ H; v9 R  \0 G
  972. ; otherwise output encoding conversion cannot be performed.
    & @' t) B# t& v: x, @
  973. ;iconv.output_encoding =; x+ e3 h# V& @4 J6 ?! h9 q- `6 Q

  974. 4 g5 [+ ]+ T* Y; i! P0 d( M( U
  975. [intl]- A0 r! d2 \9 i* a7 d* d& Z+ q
  976. ;intl.default_locale =
    - v3 ^3 u6 R* _3 i
  977. ; This directive allows you to produce PHP errors when some error% g7 a) [; _# m& a# q6 e2 T0 {- J1 c9 G
  978. ; happens within intl functions. The value is the level of the error produced.
    $ d6 Z; T9 L1 `" O! Z! I
  979. ; Default is 0, which does not produce any errors.3 w) X- E5 V9 k! i4 W6 ]5 I/ D* V
  980. ;intl.error_level = E_WARNING' M- \" k8 g9 H
  981. ;intl.use_exceptions = 0; A  x+ E: \% u7 C7 E) q
  982. ; ~. Z* H/ B9 E) h
  983. [sqlite3]
    ' p. G+ w! O  c' y7 @( _% X+ L
  984. ;sqlite3.extension_dir =- I/ V; j8 I# P

  985. 6 \8 d/ B- e2 t! m" M9 x
  986. [Pcre]# g. K3 {. U: K: ]' Z3 {
  987. ;PCRE library backtracking limit.. W0 d8 _5 k1 R
  988. ; http://php.net/pcre.backtrack-limit) r, o$ Z9 g+ r
  989. ;pcre.backtrack_limit=100000
    : c9 q  s8 a# Q4 y$ o' w
  990. 4 G- b% s1 O& ^& L
  991. ;PCRE library recursion limit.
    # E+ z7 f$ k. a" W$ I
  992. ;Please note that if you set this value to a high number you may consume all
    ) k. S& u% ?& W! u5 T9 [. r7 n4 N* h
  993. ;the available process stack and eventually crash PHP (due to reaching the( r3 J$ V' i; n, `- ~# w
  994. ;stack size limit imposed by the Operating System).2 D- v& e, Q6 t+ `
  995. ; http://php.net/pcre.recursion-limit
    3 `0 ^) Y/ y  O
  996. ;pcre.recursion_limit=100000  n' [' u  O9 u% ]6 @, C

  997. - ?5 F2 ]2 u8 Q$ \
  998. [Pdo]+ n* D. r' f$ [+ w1 t1 I; K
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    % v$ v, q) G: P  o
  1000. ; http://php.net/pdo-odbc.connection-pooling
    - a. I/ c; c3 }, d+ d3 }
  1001. ;pdo_odbc.connection_pooling=strict
    3 f! Q: z6 A0 p

  1002. 8 @. S. u% }1 \5 Z9 P+ f
  1003. ;pdo_odbc.db2_instance_name
    4 ^' Q" @! R' z: Z

  1004. # _! K* c5 r4 Z
  1005. [Pdo_mysql]
    # \7 I& t0 k2 T# e: J- Z9 r
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache, L5 T: \+ |5 {8 ?. t0 s
  1007. ; http://php.net/pdo_mysql.cache_size
    ! p  P7 G3 s0 o( `3 w" D. ]
  1008. pdo_mysql.cache_size = 20005 B% r5 p8 c# D- |4 l* L8 e

  1009. 2 |/ y  D& ]" r7 I8 }
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ \5 X9 o+ g) [) b
  1011. ; MySQL defaults.. p4 K* F& \4 O3 r- `0 i
  1012. ; http://php.net/pdo_mysql.default-socket7 F! D5 n3 u* x3 C2 Q7 t5 B
  1013. pdo_mysql.default_socket=; y! \$ n& T$ t' {3 k' A7 Y
  1014. * j' C) ?# ?1 D! R
  1015. [Phar]; S4 }" ]! U2 H% s. N2 W& Z3 \
  1016. ; http://php.net/phar.readonly
    : ]9 Y% v! Y& N6 w3 }! U0 v: p
  1017. ;phar.readonly = On8 b' m( }5 c1 S) V
  1018. 2 d' N. q: |; u% s$ U
  1019. ; http://php.net/phar.require-hash
    , Z+ b9 R) N2 l% A5 u
  1020. ;phar.require_hash = On
    ' J5 U8 W1 ?/ u4 j
  1021. " ], t3 a& J* X0 k) U
  1022. ;phar.cache_list =
    7 B+ D+ t, {. a

  1023. ; ^$ H# U( }: C
  1024. [mail function]
    / k6 o, S7 T0 z- S  ^
  1025. ; For Win32 only.
    4 c& v& l5 D' F5 n
  1026. ; http://php.net/smtp
    0 w/ a' E$ P! S$ M8 K- n
  1027. SMTP = localhost
    5 [; ^9 R. \$ ^% L8 W# @6 X( i; h
  1028. ; http://php.net/smtp-port0 A" z( N5 Z/ G9 Z- E
  1029. smtp_port = 25& J4 R7 {7 ]: Q7 Z1 V8 J7 v

  1030. 3 z) X: O9 X0 T  {
  1031. ; For Win32 only.
    * c8 R6 y" y- E1 U/ T8 h' x
  1032. ; http://php.net/sendmail-from
    % _$ K) K, q" ~6 j
  1033. ;sendmail_from = me@example.com; y# h7 k( G4 Z% @! D" m
  1034. : g% u) z! C- n9 t& c
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").* ?8 k3 Z. \; ^4 b! O
  1036. ; http://php.net/sendmail-path$ V2 i& n; a& g
  1037. sendmail_path = /usr/sbin/sendmail -t -i% s. U1 }  d" |& D' h; @" o. L
  1038. % `; O& s* c1 q# s
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    * Q9 p6 _. V  v- F9 T1 V: I4 \5 }/ K8 d
  1040. ; to the sendmail binary. These parameters will always replace the value of, u, n" z% p8 s' g
  1041. ; the 5th parameter to mail().8 h$ o* Z! F$ G  \5 }8 P) d
  1042. ;mail.force_extra_parameters =6 s) F% Z- O' f7 _$ a5 Z/ V

  1043. 7 f# b' f7 L- @1 K1 P6 r% `2 I7 ^
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename$ J9 c' Y6 V* f/ a4 t
  1045. mail.add_x_header = On
    3 a, s8 F) r; V0 K, B8 t" u

  1046. 9 ]8 ~" ~" v5 O
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    1 |" p( F- ?5 @3 V
  1048. ; the full path of the script, line number, To address and headers.5 O+ |( ?6 [. z5 s: Y* j0 `
  1049. ;mail.log =
      O# `  S  z6 l& v' Y& z3 |
  1050. ; Log mail to syslog (Event Log on Windows).
    " s1 i  S  G2 a" J8 W, v! ?: D
  1051. ;mail.log = syslog
    + j5 J$ G( e4 q+ l
  1052. ' ?8 x  G4 x/ a! B" d0 I
  1053. [SQL]$ T4 f! c3 }8 i! g% T# ]
  1054. ; http://php.net/sql.safe-mode& W7 J8 f" ~" e! h# Z
  1055. sql.safe_mode = Off+ |' K( n. i1 z. ^
  1056. ) G' C# S, W; ~- Z. L
  1057. [ODBC]
    4 h6 w% _% ^' v6 R
  1058. ; http://php.net/odbc.default-db/ ^) M4 w9 T. o2 P) r: _9 N' ^2 f
  1059. ;odbc.default_db    =  Not yet implemented' V+ y* M  B! s5 W: Y
  1060. + W1 s% P9 U# W( Y  n! p) i
  1061. ; http://php.net/odbc.default-user
    8 t) |* H: f" e2 |  l. X# B2 J- \
  1062. ;odbc.default_user  =  Not yet implemented
    1 n9 ]& K: F: O: [- J$ \4 Y' F5 q

  1063. 0 x+ v8 _! b( ~
  1064. ; http://php.net/odbc.default-pw$ \2 \# i7 I, _& L; P2 Z
  1065. ;odbc.default_pw    =  Not yet implemented+ W/ H  V) n% j2 L  ?/ P

  1066. 0 ~- m. l: V* {( ^0 b
  1067. ; Controls the ODBC cursor model.1 Z7 {7 J$ W. O# [& G* a2 i# d
  1068. ; Default: SQL_CURSOR_STATIC (default).
    1 o2 t( {, ]7 _, Z" l( y6 ]
  1069. ;odbc.default_cursortype& S5 G9 k. U  N% h1 l

  1070. ! S* \, j- _0 P5 N* n
  1071. ; Allow or prevent persistent links.  e9 P- P1 q- j& ?
  1072. ; http://php.net/odbc.allow-persistent
    4 k: l7 i, m* v" [
  1073. odbc.allow_persistent = On
    2 _) }2 O, N7 u/ I

  1074. 6 x7 s! }8 }9 f8 \6 d
  1075. ; Check that a connection is still valid before reuse.
    $ z0 l* N3 K' y# O3 y% }  S8 [( j
  1076. ; http://php.net/odbc.check-persistent
    , R" x" O" `. E0 r& L0 m
  1077. odbc.check_persistent = On7 Z3 g) k# }1 }" W: W

  1078. 5 P1 Y4 \, _: v  n( s- W8 m% D- S8 ?
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ; y9 w2 s" J7 G( }. z5 ^) X
  1080. ; http://php.net/odbc.max-persistent! i* ^4 T, I( p& b4 ~$ H
  1081. odbc.max_persistent = -10 M) D3 I3 |$ a* V9 i  m

  1082. 2 A5 i, I) q3 g
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( |$ Z# i$ {- d: |
  1084. ; http://php.net/odbc.max-links
    ; t4 q! n) H/ q4 v1 S' h+ o- S
  1085. odbc.max_links = -1
    $ ]- E* }* N: f& C3 @8 l

  1086. 8 }+ `0 q: G/ U' [5 C' T
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 i6 R) y& @( G1 c2 t
  1088. ; passthru./ r/ R9 A% C* p7 n) a
  1089. ; http://php.net/odbc.defaultlrl
    0 s# V, a- X/ ^4 H
  1090. odbc.defaultlrl = 4096) t% |: g2 g: p
  1091. 3 F. q6 N# o5 G
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . I5 C* W+ e* q* x
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' `- ^( R- P" `& V$ u
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode9 d) [6 I# c1 D9 \
  1095. ; http://php.net/odbc.defaultbinmode2 R; B2 D3 {4 u" v
  1096. odbc.defaultbinmode = 1
    + |9 k3 M% }, F% J& d
  1097. 8 F; n* }; |% C3 g+ o
  1098. ;birdstep.max_links = -1( v$ T4 a- t$ }( K

  1099. 7 C. U% b3 y0 ?2 S
  1100. [Interbase]
    ) a1 X# F7 m! u  u
  1101. ; Allow or prevent persistent links.
    4 X& X# I! f5 @  W, M' f) h
  1102. ibase.allow_persistent = 1
    + A3 i( w3 }$ e( S

  1103. 3 F6 r& U# L# K& c) u6 W
  1104. ; Maximum number of persistent links.  -1 means no limit.. ]6 W: p' O0 Y, T: x. M
  1105. ibase.max_persistent = -1
      G2 W1 ^/ F( o% @9 M

  1106. 8 `" A* Q; o/ o" o/ Y" s
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 Q' l, d! y' D
  1108. ibase.max_links = -1
    ; e- M7 a) p6 w9 S! O
  1109. 1 q5 e; f( x3 s, V4 c9 p/ _' O
  1110. ; Default database name for ibase_connect().& Y- S1 e7 K. U1 A7 N/ z) A
  1111. ;ibase.default_db =
    % j  s" ^' Q7 J9 o5 V: x+ K# v( f

  1112. . l7 i! r% z  i2 O" }2 S* d
  1113. ; Default username for ibase_connect().1 K' \' i9 c$ n7 Y6 B
  1114. ;ibase.default_user =
    # O/ E% _  @/ G* d
  1115. 6 A& v5 N- p. t- S8 F  s  {
  1116. ; Default password for ibase_connect().
    " W2 ~7 w1 N: }1 Q- y# ~
  1117. ;ibase.default_password =
    " b3 R* E7 {  W- e4 f7 A2 _

  1118. , B+ ~$ |1 ^) m, l
  1119. ; Default charset for ibase_connect().
    ; {! [) ~7 E1 n# E7 Z& H
  1120. ;ibase.default_charset =+ a$ F! [+ ~! N- y' R
  1121. 4 |6 X" O! v* S
  1122. ; Default timestamp format.
    6 a2 _2 _3 G) v/ A4 I
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ; U5 V8 z; n+ S. g* T

  1124. 7 j6 ~" |0 a* V
  1125. ; Default date format.
    6 B: d* F# z* F$ G/ r. C
  1126. ibase.dateformat = "%Y-%m-%d"+ Z& G# a5 d+ V# W( H3 H

  1127. / F, W% X0 [; P. j' a$ M, L+ y
  1128. ; Default time format.$ C1 I' `) ^1 \# I" R
  1129. ibase.timeformat = "%H:%M:%S"+ i( u% N8 m7 T. W2 @( W
  1130. : a& b! O5 G* I/ c3 L( q
  1131. [MySQL]
    * }3 y! _7 ]8 T7 `
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 d2 i3 K9 U$ n' z0 t9 A
  1133. ; http://php.net/mysql.allow_local_infile/ z% y- ?+ r: g) K5 N* n
  1134. mysql.allow_local_infile = On" Q- i  a0 E( E0 f
  1135. / A4 W& ?3 N) |( ~
  1136. ; Allow or prevent persistent links.
    - f; y0 h7 s6 V, Y# D- e! w
  1137. ; http://php.net/mysql.allow-persistent& ~1 }, P/ C/ k8 i/ P' X/ e  [
  1138. mysql.allow_persistent = On
      a4 [6 f: {* g' E" X! P

  1139. * f! H8 b2 e% D3 ]1 S0 y! `  T% M# t
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache# r8 Z! m5 s: V3 i: ^# ?
  1141. ; http://php.net/mysql.cache_size- m+ R, |% ~6 c, V6 @+ p" [: q
  1142. mysql.cache_size = 2000
    " _! {7 c6 F7 y: V: D' {& A- f% G- Q, u

  1143. ' U2 W# m. d( S% o  Q( B
  1144. ; Maximum number of persistent links.  -1 means no limit.
    3 \: G& [) e: U  I! H
  1145. ; http://php.net/mysql.max-persistent
    6 j% W& i; M, v8 k+ P% f
  1146. mysql.max_persistent = -19 D- M- @5 G5 }9 n* ?) |  z$ ]

  1147. 3 h. s. G/ A2 c/ x; s; {0 S
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 D, z4 P1 x& S0 r; I4 W, L2 G
  1149. ; http://php.net/mysql.max-links
    5 C9 G# m% Y; B
  1150. mysql.max_links = -1: d7 i: L5 D4 l' H% x  \' a9 W' a
  1151. 8 C% p# h: V# {0 M* Z# i5 m% U
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use6 \- P6 z; K8 ~& J& ^
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' f! `, k4 z6 g+ e! u
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ; U# ^7 e3 m) x5 N
  1155. ; at MYSQL_PORT.6 T7 S. y' t5 Q
  1156. ; http://php.net/mysql.default-port
    ( m4 H- o! G+ P' [/ I
  1157. mysql.default_port =6 A5 U) |% v4 x7 d

  1158. ( i  D$ p, ]' x- t  O# u; t
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( Q0 o4 z. ]' c0 p+ R0 Z% p+ `
  1160. ; MySQL defaults.
    8 z5 k2 h  u! p/ k7 @' x! k* i5 A/ X$ t
  1161. ; http://php.net/mysql.default-socket
    7 Q- M! W) \$ y; N" }! w, M
  1162. mysql.default_socket =. G* G( R; C1 y2 J: \; \

  1163. * F* A# Z8 `8 ?" T
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 D1 G0 M+ O/ S/ P
  1165. ; http://php.net/mysql.default-host& x3 W8 @3 c1 A3 y; g) B
  1166. mysql.default_host =
    8 O6 Z- q. c4 k1 N) _

  1167. ; Z. x- i% F* E
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).3 b0 n  a* H8 k/ i7 m- b
  1169. ; http://php.net/mysql.default-user8 u1 G7 ?0 ?# `- s8 b/ ?% Q2 @+ J) W
  1170. mysql.default_user =
    9 C8 J! i- l  I; q9 h
  1171. - X# C9 k6 b  h3 ?# ], `
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    . ^) G* K1 q- h# Y) ~
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; K" f. u; N0 |
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    4 n9 L5 O8 v/ l$ b6 p
  1175. ; and reveal this password!  And of course, any users with read access to this$ |6 c7 a, c% ]+ @7 q  D/ }
  1176. ; file will be able to reveal the password as well./ I% ^( I& C9 Y, Q( w( ?
  1177. ; http://php.net/mysql.default-password
    % X+ d* r5 f* I, u3 z
  1178. mysql.default_password =1 S1 r. ~. @0 \- @* q
  1179. . x3 O( c+ p1 ^/ ^
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    3 e- {3 Z* D. v8 Q$ h, ]
  1181. ; http://php.net/mysql.connect-timeout
    ) a' c( z9 |" K: F5 L5 M* K: s% g
  1182. mysql.connect_timeout = 60. {1 P# r% Y( y: e# W: @- c

  1183. ' }0 A* C1 x) l7 l
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ) p0 |* K" S3 ^/ z( `6 O
  1185. ; SQL-Errors will be displayed.; W( _- z) _/ |& V8 S
  1186. ; http://php.net/mysql.trace-mode
    4 ~$ ^+ c0 J; G
  1187. mysql.trace_mode = Off
    0 @4 {/ M- N  ^
  1188.   I/ H; ~: b9 n6 ?' w
  1189. [MySQLi]
    6 q- T' j0 z+ i& o3 X1 ~/ S# C
  1190. # G5 g/ K  B8 _: ]3 l0 i6 B  r8 i5 t
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ; d  k+ n$ z, N' V" n7 L
  1192. ; http://php.net/mysqli.max-persistent
    ( c; h. J% [& @4 q' g) t2 Z( F
  1193. mysqli.max_persistent = -1
    + Q* w3 e5 @7 c! O+ d' ~! ]
  1194. 6 S8 F6 ^* Z& i* c6 n( a
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  {. h. V0 D( b, _# j( }
  1196. ; http://php.net/mysqli.allow_local_infile
    7 I& o3 X! {8 `+ ]+ Q
  1197. ;mysqli.allow_local_infile = On
    1 `0 L$ I  N2 F

  1198. 0 |: X5 s0 _& R/ |4 K% k4 k
  1199. ; Allow or prevent persistent links.
    3 ^7 R9 ^7 N, @% b) x
  1200. ; http://php.net/mysqli.allow-persistent# Q' V6 }( ^* Q4 s& e- ?
  1201. mysqli.allow_persistent = On
    + T* w, [% R4 a0 N! X, J# o
  1202. * Y4 Z2 s% c+ f  h+ o' K, n" W3 i
  1203. ; Maximum number of links.  -1 means no limit.
    + }; K: `9 D! n( W5 m4 r! l# B1 P
  1204. ; http://php.net/mysqli.max-links6 S/ n1 N: A; C3 y
  1205. mysqli.max_links = -1
    6 p5 d' F/ d6 ]' x! r( o

  1206. ' k% k" |) c) ]$ g* X
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 R" w" L$ G  l, ^" U* B
  1208. ; http://php.net/mysqli.cache_size
    ( g7 G( @9 B: P' R6 ?( _
  1209. mysqli.cache_size = 2000
    + w/ c+ W. m- {. H
  1210. " p/ G. f$ i6 H  o" ~$ \" `
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 O; `" E! [& B3 E- i
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* O# C( k0 U" e
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ w* Z  T' N0 L# F1 b* _! B8 O
  1214. ; at MYSQL_PORT.
      [/ O+ o' ], _7 L
  1215. ; http://php.net/mysqli.default-port
    ( F) I4 U" Q# v& I
  1216. mysqli.default_port = 3306- Z6 C# l( l, `- B4 S8 F/ {0 U; n$ R
  1217. # u$ p9 Z9 p& Y! {
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 I* e2 _* o4 _3 C% H# `0 A- T
  1219. ; MySQL defaults.
    8 A- \0 k1 C/ v- M) h6 a$ m
  1220. ; http://php.net/mysqli.default-socket
    5 x. I4 u3 M) y! B  n
  1221. mysqli.default_socket =
    9 z1 Z# J/ b3 [& y# ]
  1222. ; u3 W8 i4 V. ]$ P6 u
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).: U. v( U$ V3 i& [8 [
  1224. ; http://php.net/mysqli.default-host
    / D9 a. A2 a( B2 H
  1225. mysqli.default_host =
    & c: g. ?3 u: K- q* Q2 P

  1226. : l; c+ w0 ^& ~" M* }6 z+ F! |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    : X/ K2 O7 @% V
  1228. ; http://php.net/mysqli.default-user# q0 a5 `) W( o3 K, Q6 F' ]+ i5 q& V
  1229. mysqli.default_user =) e; z) Z. p( X  @! ]: l

  1230. * p4 s$ s9 p. J* u
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).# C7 w9 B4 {8 h+ @
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.* W* J7 l+ _8 ~7 @0 Z
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    5 |- a+ t3 B, z) R9 c6 o
  1234. ; and reveal this password!  And of course, any users with read access to this0 c" a0 B8 ]* @1 f) G+ u6 `
  1235. ; file will be able to reveal the password as well.0 `" c( h( n4 v# j2 L) E, ^7 j
  1236. ; http://php.net/mysqli.default-pw" ]: ^# r# s3 _4 r% b% z
  1237. mysqli.default_pw =
    / H! B  W" o0 K9 ?9 l
  1238. " v& E0 o. z3 x/ I3 P5 O
  1239. ; Allow or prevent reconnect
    ( t7 X8 I; T; g  V
  1240. mysqli.reconnect = Off/ D2 [4 Z: o; K8 D8 l
  1241. ) L* p- n7 D8 U
  1242. [mysqlnd]
    0 B' x+ c" c: J& y
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    , b+ X" K. H$ o# Q+ l8 ^
  1244. ; used to tune and monitor MySQL operations.- k7 w( t! N0 @, R. b5 ]" S# \
  1245. ; http://php.net/mysqlnd.collect_statistics8 C5 C- P3 g" |8 j( i# k
  1246. mysqlnd.collect_statistics = On
    $ E: h' |  |& X0 X; y3 x% r2 Y* x
  1247. $ D; Y5 `% f1 s& w  K
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, ^3 Q3 b. J5 U4 w  ]
  1249. ; used to tune and monitor MySQL operations.6 [2 m8 k. C# ]4 J( B- I
  1250. ; http://php.net/mysqlnd.collect_memory_statistics. C6 w+ L( I( d
  1251. mysqlnd.collect_memory_statistics = Off, y* z* Z. d/ e) U# i
  1252. $ O: C$ i4 u: h, c/ m
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    1 U# |& L5 N3 S0 y( G
  1254. ; file.
    ! U. ^6 I8 z- c  I
  1255. ; http://php.net/mysqlnd.debug# b/ V( u4 K! q2 x/ l3 y) m) A7 x
  1256. ;mysqlnd.debug =
    6 Y2 L" h- m7 c8 n6 a& V# t$ S
  1257. - c* y2 s- f9 O# H2 X
  1258. ; Defines which queries will be logged.  \+ R$ b7 Z7 S- k3 B+ E
  1259. ; http://php.net/mysqlnd.log_mask
    . l, {6 L/ D% C, [" i2 y3 A
  1260. ;mysqlnd.log_mask = 0
    . x' x, `% ~% o- G

  1261. $ N! V) P/ X  `) V
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    + v( X8 i( d# @
  1263. ; http://php.net/mysqlnd.mempool_default_size
    " }" x" t% O7 _0 j1 Y. U% ~4 }$ B! Z
  1264. ;mysqlnd.mempool_default_size = 16000
    7 u. K8 k; n! |) l9 E* \+ D; @
  1265. ! M( W+ e- _/ u. ~( Y/ y5 i
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ) r. r  ^# i0 Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    # q9 ?# Y" `1 O- V; F+ S
  1268. ;mysqlnd.net_cmd_buffer_size = 2048/ \$ i- `$ l+ I9 x/ l

  1269. & ?' h6 T! k' e3 s" ?, d
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & {7 y9 N6 Q# K2 b
  1271. ; bytes.6 {; F8 P2 {" e1 C3 Q4 M
  1272. ; http://php.net/mysqlnd.net_read_buffer_size& \) G# B( B' X/ k1 j
  1273. ;mysqlnd.net_read_buffer_size = 32768( A; a* S2 u& A8 }# K
  1274. % D0 Z" O4 l+ n) W: K
  1275. ; Timeout for network requests in seconds.
    % i( d* S' x$ w! K! B" \8 a) a
  1276. ; http://php.net/mysqlnd.net_read_timeout
    7 Z" X  b  _- ~. k8 o- Q
  1277. ;mysqlnd.net_read_timeout = 31536000
    : C& W( z& i& w  b

  1278. 7 r% E7 k( y( w) ~6 }& Y
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    2 {5 f% X. E1 U2 z2 Y) K
  1280. ; key.
    ! O  B8 w% a9 x- F
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    4 w" M/ f2 B% z) j/ b  \0 U& n
  1282. ;mysqlnd.sha256_server_public_key =- ~2 Y7 ~" p8 w9 e
  1283. , n* n9 m& l" R/ {" G4 I
  1284. [OCI8]$ ?# `/ l9 o- ^; E
  1285. $ q$ M, E2 p+ B9 A4 @) p4 h  P
  1286. ; Connection: Enables privileged connections using external
    - i# u2 s: v6 r
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    $ Z/ y4 N! d' A- H9 B1 h
  1288. ; http://php.net/oci8.privileged-connect% n4 j  R- L5 y" X* Y
  1289. ;oci8.privileged_connect = Off% C; f! a- U( \4 V( A+ N& J

  1290. + k# S9 B8 F3 k: d' V$ L$ ?% }
  1291. ; Connection: The maximum number of persistent OCI8 connections per8 d# g: A2 C. n, @
  1292. ; process. Using -1 means no limit.3 W+ V& v) x/ n, d
  1293. ; http://php.net/oci8.max-persistent# j1 z* t5 C5 V/ r, I
  1294. ;oci8.max_persistent = -1' ?! P  a. J! }3 I- y' D
  1295. 6 w! j  z/ e' n7 o% I& p
  1296. ; Connection: The maximum number of seconds a process is allowed to# D/ S, i5 Y# n7 {. R2 H( a3 K' D' [
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ! t3 b- ]: p* j2 T8 T! G# {- t) Z
  1298. ; persistent connections will be maintained forever.
    : v4 P; s7 O: G
  1299. ; http://php.net/oci8.persistent-timeout
    # {* h4 v$ R. Z8 v* Y" `6 W
  1300. ;oci8.persistent_timeout = -1: }; U/ S- ]2 r6 h
  1301. 6 l- l1 M% D4 |* }/ S  W; x
  1302. ; Connection: The number of seconds that must pass before issuing a; t' g. O) G# U  x% r
  1303. ; ping during oci_pconnect() to check the connection validity. When% y/ g/ P3 {( P( {. W) x
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * ~& o6 [; q$ V+ P, S( ?1 m2 m4 M
  1305. ; pings completely./ S  f! M0 P: I# U& u
  1306. ; http://php.net/oci8.ping-interval+ G" `3 ~. i4 K! l- Y7 H) A
  1307. ;oci8.ping_interval = 60
    / D" ]1 I$ s3 [
  1308. ! h. h5 i' i+ m5 n  V) g7 e( m
  1309. ; Connection: Set this to a user chosen connection class to be used
    & c( q7 g* H$ R& E
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    + ~% C% z* L0 x8 J0 d
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # @. I  ^, D* d( s% s* [* e8 Y- k
  1312. ; the same string for all web servers running the same application,2 N: P, ~' o  `7 C0 v( N
  1313. ; the database pool must be configured, and the connection string must# P1 d  d/ i% Q6 D
  1314. ; specify to use a pooled server.
    & v% t$ i2 i7 l) d
  1315. ;oci8.connection_class =5 P9 J! S1 h% s# y9 L! [8 |

  1316. , }% ~5 ?6 w# \" _; N
  1317. ; High Availability: Using On lets PHP receive Fast Application8 b& O  S7 f* S: ?. l
  1318. ; Notification (FAN) events generated when a database node fails. The
    & I' e7 c8 t+ @: Y. N1 {
  1319. ; database must also be configured to post FAN events.
    ( d: d) g7 [% D" H
  1320. ;oci8.events = Off
    0 a7 K/ v- @; P8 {" K. V

  1321. ! `& \2 ]8 L) z1 {2 J
  1322. ; Tuning: This option enables statement caching, and specifies how
    6 ^% |3 w0 ]/ G4 e! D" E3 H
  1323. ; many statements to cache. Using 0 disables statement caching.! [  G" x3 X' g7 R# J5 [" S. ?
  1324. ; http://php.net/oci8.statement-cache-size8 e9 [6 J  X8 L2 K3 D0 H# F
  1325. ;oci8.statement_cache_size = 203 h" {, ~/ `1 C; I! f: W* y

  1326. - N% c7 D9 |: z# v* ?) h6 E; h
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    $ E) M' A% |/ @9 V! I# V& Z& V5 k
  1328. ; rows that will be fetched automatically after statement execution.! G' M5 F4 Z0 |
  1329. ; http://php.net/oci8.default-prefetch
    1 D0 \3 G0 q6 [  k. o/ K) ]2 c
  1330. ;oci8.default_prefetch = 100
    6 M7 B8 ]5 E4 |: g! s

  1331. 5 y0 t' _1 ], S5 N9 S
  1332. ; Compatibility. Using On means oci_close() will not close4 Y8 K; @+ d  H- l  T
  1333. ; oci_connect() and oci_new_connect() connections.* X# S! V* P9 C* y9 I- J9 M
  1334. ; http://php.net/oci8.old-oci-close-semantics
    8 R, m' {1 V- x* ]; q
  1335. ;oci8.old_oci_close_semantics = Off
      Q, n' J6 F. l# {( y3 D, R

  1336. $ B; e5 g" y2 Q9 d( x1 a
  1337. [PostgreSQL]
      b$ ]6 R. Z! K6 E  {
  1338. ; Allow or prevent persistent links.
    8 y  m+ N  l+ ]0 Z1 h: O
  1339. ; http://php.net/pgsql.allow-persistent4 G! L! C$ O1 I
  1340. pgsql.allow_persistent = On6 X4 K) c) ]; o

  1341.   D* M* A  n, D8 |
  1342. ; Detect broken persistent links always with pg_pconnect().
    ; ~# i: h. d$ g% Z9 y
  1343. ; Auto reset feature requires a little overheads.* |+ O7 Z3 @; N4 _
  1344. ; http://php.net/pgsql.auto-reset-persistent
    + H7 ~0 m, e3 `# _6 \
  1345. pgsql.auto_reset_persistent = Off: w* h/ b; B5 B# n7 l3 |0 M( z
  1346. $ |  r9 T, ~7 [0 X0 t1 Q7 i
  1347. ; Maximum number of persistent links.  -1 means no limit.; Q  f; x' K2 K, O: l. K4 {
  1348. ; http://php.net/pgsql.max-persistent
    4 l9 K7 |( T4 ~# T& O5 y
  1349. pgsql.max_persistent = -1; x  o; v; T: U1 X5 [3 F' R- K# G

  1350. ( z* d% I( K3 D
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : N/ Z6 ~/ k  j1 M
  1352. ; http://php.net/pgsql.max-links
    + f% Z, H  n1 X; I0 }7 ~
  1353. pgsql.max_links = -1+ X% O9 i' K0 T  b
  1354. 5 m  B9 r' a. ~7 y
  1355. ; Ignore PostgreSQL backends Notice message or not.. f" n7 n% x) b" `
  1356. ; Notice message logging require a little overheads.7 D, O! i. P) b* a: }
  1357. ; http://php.net/pgsql.ignore-notice
    ) J# a/ {7 h- F6 B3 r: j
  1358. pgsql.ignore_notice = 0
    ( h' d1 T' Z% ~) {$ _' v; c, j5 b3 I
  1359. , t$ ~4 [% ~" |& L+ N4 B3 ^# r
  1360. ; Log PostgreSQL backends Notice message or not.
    4 X) b/ P, [- s, ~0 q1 R$ b8 ^
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.: y$ r/ C/ P% K6 u& K* `
  1362. ; http://php.net/pgsql.log-notice
    * a- A1 i. R( ]/ M: Q1 a
  1363. pgsql.log_notice = 0' E' i" G" |1 T$ _+ N) }$ U

  1364. ! {2 C% ~! ]! ^1 c6 [& I
  1365. [Sybase-CT]
    . \+ U" e$ |1 q; p8 n* V+ r% Q
  1366. ; Allow or prevent persistent links.
    , c2 P8 n3 g6 d3 N, l, V! D
  1367. ; http://php.net/sybct.allow-persistent$ t+ t4 ]& q0 b% c2 Q" L$ i
  1368. sybct.allow_persistent = On
    " Z+ j, Y/ n) p. x
  1369. + }2 B0 G9 B; I
  1370. ; Maximum number of persistent links.  -1 means no limit.4 V: d( n8 h# k8 k$ B
  1371. ; http://php.net/sybct.max-persistent
    + c% W6 l# J1 p8 x! N
  1372. sybct.max_persistent = -1% d5 P7 @* a' N4 Z" P; Y6 c7 F

  1373. # f1 k/ ?* I; C+ M
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 Z, I) x* ~1 B
  1375. ; http://php.net/sybct.max-links$ A" U. n& p% I# e
  1376. sybct.max_links = -1
    - J3 B6 u% V& v* E# m6 n! M$ Y- D
  1377. 8 q8 v: s+ p8 R: L
  1378. ; Minimum server message severity to display.
    + M! q. H8 b4 ^/ J& h# `
  1379. ; http://php.net/sybct.min-server-severity
      j7 H# ]  s  u) @" a1 w$ O
  1380. sybct.min_server_severity = 10
    - a5 h8 r9 @# m" g: N" H6 C

  1381. 4 r' K+ }9 Z$ q* b& `/ Q
  1382. ; Minimum client message severity to display.
      O; m* Q; l. c' p1 V3 A/ k
  1383. ; http://php.net/sybct.min-client-severity. ^2 ^. s) A1 O) w' |
  1384. sybct.min_client_severity = 10
    ' g" W- v! o$ c2 B3 w" y
  1385. 3 x+ f* l- a9 y% ]+ ?
  1386. ; Set per-context timeout5 M+ V' e3 y, Y2 p- P, y
  1387. ; http://php.net/sybct.timeout8 H" m8 ~# u% ]: ?, s
  1388. ;sybct.timeout=& W( q, y3 q7 i; w: V8 O
  1389. * ^; h8 R( u9 J3 a
  1390. ;sybct.packet_size- c) J  j1 J. W( o. f2 V

  1391. * X) J) P: ~, p5 I% c0 \
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.# C, }4 f, D/ K0 a8 Y4 D
  1393. ; Default: one minute8 Y5 }. g9 b% z- ]4 P7 {, J7 O' U
  1394. ;sybct.login_timeout=
    ) N7 j) s5 \$ r+ X; t( t  u
  1395. * S+ o8 X. G4 t8 f8 X
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.* e% V! A) |1 _  Q4 Z: N; b
  1397. ; Default: none! s% h/ ]7 Z% |5 `1 I; t
  1398. ;sybct.hostname=2 Z$ l  u0 }% h0 U
  1399. # |/ `* _* L5 ?$ O
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    1 f" H- Y$ e1 C' E! j
  1401. ; Default: 0
    0 V$ [& G: l9 V6 p% K3 _
  1402. ;sybct.deadlock_retry_count=
    ( K3 f+ c9 o0 s0 ]
  1403. % i# H$ B& @* T! {% }: F+ ]$ O
  1404. [bcmath]: F" K* p$ ?: j' n8 O
  1405. ; Number of decimal digits for all bcmath functions.8 F% b6 g9 H$ Z1 u5 ~; M
  1406. ; http://php.net/bcmath.scale
    7 }- _. @9 L$ r8 r
  1407. bcmath.scale = 0
    & y  c; b5 w/ w% V% e( c; k0 j

  1408. % K  Q* C: I/ Z0 v4 j4 r
  1409. [browscap]3 Q$ ]+ \" r# |# V# Q; ~4 v
  1410. ; http://php.net/browscap
    ) ~4 d+ v4 p& `) H1 b, n
  1411. ;browscap = extra/browscap.ini
    * M5 C: y8 _6 X! k( i+ }$ t, ?
  1412. : s+ B: _$ \" s- |
  1413. [Session]! z  j1 l3 s0 y- B* `
  1414. ; Handler used to store/retrieve data.
    # p/ C4 c8 p: ?  o1 }: \: d
  1415. ; http://php.net/session.save-handler
    - Q2 H' a% S( Q9 t$ F
  1416. session.save_handler = files  O6 b: D6 w) q. {% W" x

  1417. 4 Q6 D, m) T6 c, D$ i
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    . x* M" _" d! K; ]3 s
  1419. ; where data files are stored. Note: Windows users have to change this8 d! S$ A4 p# Q' R) e/ r0 a' l
  1420. ; variable in order to use PHP's session functions.
    + ^3 [1 p" a; `( J; M: S' q
  1421. ;0 p- A' o) r( T  C- z8 d
  1422. ; The path can be defined as:
    / a% E$ n' b$ ^7 m5 b, `% y4 ~& T) |
  1423. ;
    4 w! }* A' ?1 d: q' {1 F
  1424. ;     session.save_path = "N;/path"
    5 a8 @! U. R+ A/ |9 i6 P5 q
  1425. ;" C7 ^5 p3 G4 N
  1426. ; where N is an integer.  Instead of storing all the session files in4 z5 b1 C) j% l$ ~
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    % |( F$ {9 }% Z0 w( `
  1428. ; store the session data in those directories.  This is useful if/ c! |$ E* f) Z% i
  1429. ; your OS has problems with many files in one directory, and is
    8 y) D3 P8 }9 Q. T$ a
  1430. ; a more efficient layout for servers that handle many sessions.
    & p% v5 e& C) U: Z
  1431. ;
    , k# _) E2 B1 D
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    1 x3 k) D8 X9 \& K9 E5 M5 o
  1433. ;         You can use the script in the ext/session dir for that purpose.; Z1 N9 i' a5 q& x3 `! x" T& Z5 r: Y
  1434. ; NOTE 2: See the section on garbage collection below if you choose to& S. i2 q# t  b0 H) w6 f' e/ _
  1435. ;         use subdirectories for session storage
    * v" _% [! I, S/ G1 s
  1436. ;
    3 f5 x7 l, Q, ^" \' G. j
  1437. ; The file storage module creates files using mode 600 by default.
    3 \; l5 g- C: ~; w0 \
  1438. ; You can change that by using
    * D, F' t# k, k
  1439. ;8 Q1 Q) m' Q& {: F% M  K
  1440. ;     session.save_path = "N;MODE;/path"
    ) J; E- q/ n9 v' x0 S. S% r
  1441. ;
    ' _  @7 L* R% J
  1442. ; where MODE is the octal representation of the mode. Note that this  V* I8 X; [  j* y
  1443. ; does not overwrite the process's umask.
    1 o9 Q$ \9 t6 q' }
  1444. ; http://php.net/session.save-path
    5 ?$ m$ O+ |1 C+ R2 C( p5 ~
  1445. ;session.save_path = "/tmp"
    , j% |" x$ j" \1 C5 |

  1446. 6 Q. m3 D) D% N! B& c# V$ I
  1447. ; Whether to use strict session mode.
    ! _5 C) l2 G$ B2 f& v6 k3 m* A- [
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate4 o3 ], f" a; G
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    : k! H- W; J8 I: b5 {$ m. }# h
  1450. ; applications from session fixation via session adoption vulnerability. It is8 A3 g6 d8 d, F  Y, }
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    # s% ^- n5 S9 g7 U7 V/ F
  1452. ; https://wiki.php.net/rfc/strict_sessions1 p# s6 o; n* H9 L" X$ g) u
  1453. session.use_strict_mode = 0. `0 c1 ^/ x" L/ _" q7 ~% a# ]; h

  1454. ! r+ {. C; B0 D+ t$ p  ?  K7 B
  1455. ; Whether to use cookies.; r0 M+ B/ f# A" L2 l  B# [
  1456. ; http://php.net/session.use-cookies
    4 O8 E$ [+ }) x0 n0 Y
  1457. session.use_cookies = 1
    / |% V: U8 @/ ]/ \
  1458. 1 f! f( y# u' p
  1459. ; http://php.net/session.cookie-secure2 D# q. }& _! y: T  A2 R# n
  1460. ;session.cookie_secure =
    # d) m4 N' J+ |$ c

  1461. ' M4 `+ `; H* P" U
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 {! f" [) H+ o+ m. ]
  1463. ; the session id. We encourage this operation as it's very helpful in combating
      k; i+ f, z8 b# X- g
  1464. ; session hijacking when not specifying and managing your own session id. It is
      @: I( d% K7 G& q- ~" N
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ ?6 ]5 e- J4 r1 H3 O2 L8 i- {
  1466. ; http://php.net/session.use-only-cookies# G! D1 h2 g' C9 G
  1467. session.use_only_cookies = 1
    3 d2 R5 `8 ?  I& S0 m* {$ W
  1468.   U8 s0 I/ W+ @2 M  X1 E) R
  1469. ; Name of the session (used as cookie name).1 _% g1 d' V* m. [( U1 R$ m
  1470. ; http://php.net/session.name
    # O3 `, Q4 ]! Y1 {( Q
  1471. session.name = PHPSESSID6 T" P3 G" h9 f% L
  1472. 8 e/ F8 g$ d. k. O
  1473. ; Initialize session on request startup.: y9 s/ r, U. u% X. o! `, n
  1474. ; http://php.net/session.auto-start
    # d+ `. j  r# |! I
  1475. session.auto_start = 0
    * V  Y# Y1 _8 c: F! f+ ?1 q% \' y

  1476. ; Z: v5 z  o3 e9 w) P* Q. {$ o+ O; n
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( o1 e% c; r+ X5 o+ l4 ]
  1478. ; http://php.net/session.cookie-lifetime! u* ^0 P9 ]( I9 r" f) t3 e
  1479. session.cookie_lifetime = 0
    : I/ t' o. y% j2 }' T0 L6 F# B
  1480. % K* T4 P, ?- p  f' U' D- u' P% Z
  1481. ; The path for which the cookie is valid., U6 G& D6 F2 W) R( H3 ]% n# _  c9 T
  1482. ; http://php.net/session.cookie-path
    0 H3 V* r% G1 z- \( D
  1483. session.cookie_path = /
    2 X- i2 i  i) F( x- K) y5 b
  1484. & @9 [/ M' C+ V, Z
  1485. ; The domain for which the cookie is valid.
    . X" R, c' J1 h
  1486. ; http://php.net/session.cookie-domain) y9 w8 S" F& n. |8 k% k2 |3 \4 V  b) e
  1487. session.cookie_domain =
    7 E" h2 S8 l( ]+ N7 V$ m+ l5 |: S# {5 U$ K

  1488. * i8 ?" s! D2 e8 _
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.. N; {' n. ^7 f4 j
  1490. ; http://php.net/session.cookie-httponly
    7 p3 `4 w- Y% ^6 j* x
  1491. session.cookie_httponly =
    5 v' c( j2 ~( h: x
  1492. & V& z- j& f5 T; n8 C% G
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    " K1 ~* g  [5 M4 c4 [
  1494. ; http://php.net/session.serialize-handler
    ; R- [# E1 B$ F. j, g
  1495. session.serialize_handler = php3 s+ D1 l% Q# Q' R! ]- ]; X
  1496. 7 ?2 Z/ c. Z# z( R9 s/ h9 n# S3 Q
  1497. ; Defines the probability that the 'garbage collection' process is started' H( i5 u; o) r+ G* l0 z
  1498. ; on every session initialization. The probability is calculated by using& |7 S1 q" f& j  ^6 {
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ a- c0 F2 M! r+ I" p, O
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    9 |, K, c7 r. H1 e, |) O. I
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 M$ ]/ {2 c0 t( j) R
  1502. ; the gc will run on any give request.
    6 H5 k8 I% h. @! _. h* B
  1503. ; Default Value: 1
    + f& U: V3 h% B5 n  L
  1504. ; Development Value: 1. {) @* r' \0 y+ @6 `( `
  1505. ; Production Value: 17 {, C, J' V/ e
  1506. ; http://php.net/session.gc-probability, u$ s& P* J/ Q
  1507. session.gc_probability = 1
    ( B: K8 s1 n" h  u

  1508. / N3 ?" l) b$ [4 H, K# m5 v9 v; V- ^
  1509. ; Defines the probability that the 'garbage collection' process is started on every% }8 C' u7 Z: ~" C, P
  1510. ; session initialization. The probability is calculated by using the following equation:- R+ N* U% `- Y1 ^' |  @6 l$ t$ M: R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    / M$ O, S. I# W: }5 P* Z
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    2 ?1 ~2 N' D4 i, S' p* ~
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 O6 s/ f% v2 E3 b
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 J0 w; B  u2 k
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - X) t2 k1 ~, F( f
  1516. ; this is a more efficient approach.6 m3 A4 b. f! b
  1517. ; Default Value: 100
    , }5 ~7 L5 z% M  x
  1518. ; Development Value: 1000
    $ w: I  q  k5 v) V6 S
  1519. ; Production Value: 10007 U+ k/ U* g; p6 |
  1520. ; http://php.net/session.gc-divisor, k. P1 q( z( F3 u+ R
  1521. session.gc_divisor = 10009 e1 Y# [* j4 a9 B
  1522. ' O- C, Q7 }- e. N; Q
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    1 q/ C4 Y9 v% s
  1524. ; cleaned up by the garbage collection process.- P4 K! u0 F' O/ b
  1525. ; http://php.net/session.gc-maxlifetime
    3 b* S3 ?  ~8 Q$ r/ D, N9 m
  1526. session.gc_maxlifetime = 1440
    * t2 M, P& U: l% a1 a9 F7 j
  1527. * n  q+ g2 `7 \4 P! u1 c; n
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    4 P; v$ N& R) B3 B) S, @
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ' u5 B! G* V% x" U2 s4 t% B7 p
  1530. ;       happen automatically.  You will need to do your own garbage
    ' e' ~$ o( S" U; ]1 M9 ]; n
  1531. ;       collection through a shell script, cron entry, or some other method., T# s5 m- x4 {& V8 x4 x
  1532. ;       For example, the following script would is the equivalent of
    ( |: h; T3 K2 c
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    5 {8 P/ c, }9 d
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# q" J% Q( L0 X! a) a/ [  k

  1535. - E8 L+ U: S/ q- k4 D+ N, I
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.+ J: ~( [; n8 [+ z  |! P
  1537. ; HTTP_REFERER has to contain this substring for the session to be3 j6 ~# k  r" {" U
  1538. ; considered as valid.
    " \) ~7 Q* N6 a4 d
  1539. ; http://php.net/session.referer-check
    8 i! |1 F" L# T2 _. F  N
  1540. session.referer_check =- d4 ?6 G7 Z/ E: ^3 ]: P9 M

  1541. % k$ Z9 Y7 E$ Y, T
  1542. ; How many bytes to read from the file./ W, \" [( p# M2 e! L6 B
  1543. ; http://php.net/session.entropy-length, Z; `+ w) v' l* j2 u7 e
  1544. ;session.entropy_length = 323 Q5 n; _" r% A' I5 U9 U' ~; {, Z
  1545. 8 f" s/ F. E' b( u- j: ]# ?# M
  1546. ; Specified here to create the session id.
    ) x2 l& r  }; n. J( E
  1547. ; http://php.net/session.entropy-file
      Y/ N7 Q; e) ^$ F3 n! I+ |
  1548. ; Defaults to /dev/urandom1 J5 C6 X/ M/ @+ x: g7 W0 Y  A
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom# r+ v( c8 N/ J8 Y9 \$ w. ^4 Y6 c. s$ h
  1550. ; If neither are found at compile time, the default is no entropy file.+ M( \8 Q& s0 S" d1 @4 a
  1551. ; On windows, setting the entropy_length setting will activate the5 d4 y" a/ o9 ]9 U( @
  1552. ; Windows random source (using the CryptoAPI)' ]8 g5 a" d8 c( m) K/ e
  1553. ;session.entropy_file = /dev/urandom
    ( N+ I' H1 c  D1 n) [9 r

  1554. . N% Q" f; ]& A1 Z
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects" ]2 e1 M* T, b) H3 j1 `# [
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ! F8 d9 K+ z# @1 E, |5 N
  1557. ; http://php.net/session.cache-limiter
    , g2 ^: \: O. s" d! x4 ]% f6 f
  1558. session.cache_limiter = nocache
    * c6 v% d# X4 [1 B" D' F* E0 b
  1559. % U6 W3 P$ t* O3 j& ~
  1560. ; Document expires after n minutes.
    - e& U/ I, G$ z. K
  1561. ; http://php.net/session.cache-expire
    # j  Y+ K- p4 p2 }' l8 W8 e
  1562. session.cache_expire = 180. S8 _: D+ K; |% ~" `

  1563. % b+ x. t2 }) B8 [
  1564. ; trans sid support is disabled by default.. O2 Z$ M8 u$ A! X
  1565. ; Use of trans sid may risk your users' security.* [9 ?9 i( h6 K; t. b2 F/ N3 n
  1566. ; Use this option with caution.! c5 Z6 k! h% {; w( M7 `
  1567. ; - User may send URL contains active session ID
    5 B9 P/ u0 A+ w' f
  1568. ;   to other person via. email/irc/etc.2 M6 a8 W& s8 u
  1569. ; - URL that contains active session ID may be stored
    ! u3 f. f% h) N, W# ]6 @- l
  1570. ;   in publicly accessible computer.2 H' E# w. H" `+ m& B) D0 ^& s4 Y
  1571. ; - User may access your site with the same session ID4 P- `" K4 y8 a7 m7 f- [8 S) ?
  1572. ;   always using URL stored in browser's history or bookmarks.
    0 w9 Z" d" F0 g' ?
  1573. ; http://php.net/session.use-trans-sid
    # m* g$ a% a/ I
  1574. session.use_trans_sid = 0
    5 G: u# R+ @1 A8 F/ w3 Q! Q- I7 d5 s

  1575. 3 R: C* M1 U, P; I( f
  1576. ; Select a hash function for use in generating session ids.
    5 s! ~+ q: o) U( |
  1577. ; Possible Values
    , v: M& R/ a1 Y8 \' a
  1578. ;   0  (MD5 128 bits)+ K* S$ C% ]0 d5 D9 j0 E
  1579. ;   1  (SHA-1 160 bits)
    0 g7 D; X! B+ g2 u  O
  1580. ; This option may also be set to the name of any hash function supported by- G' _2 ~8 G3 h# r8 m5 |/ X" m3 a- [
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()1 v3 ]% `$ {) `3 U: l- H; W
  1582. ; function.- A; ~0 N6 Y2 \$ a2 V, ^( v
  1583. ; http://php.net/session.hash-function
    3 x; T5 ?4 F8 x  Y
  1584. session.hash_function = 0
    ) U, x- l/ r2 U" S8 G
  1585. 7 {  R% ]/ [1 J
  1586. ; Define how many bits are stored in each character when converting4 l+ B, {" S/ l; i! A& Q/ U
  1587. ; the binary hash data to something readable.% e6 z$ P0 r& C( `5 ^9 r
  1588. ; Possible values:3 ]8 i2 H7 S" C2 n7 r4 i2 ^; E
  1589. ;   4  (4 bits: 0-9, a-f)
    ( P) d1 P: F! J( ^9 H
  1590. ;   5  (5 bits: 0-9, a-v)
    3 _7 L) K) \; A
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 K0 W0 v3 P! f& M7 v3 e
  1592. ; Default Value: 4
    1 k: a0 `0 V( U0 T
  1593. ; Development Value: 51 t# r5 ?# l: ~6 x# g
  1594. ; Production Value: 54 t, C1 I; t; u/ o. B8 K
  1595. ; http://php.net/session.hash-bits-per-character
    , c. t) S; ?, P: D% D
  1596. session.hash_bits_per_character = 5% C0 S) a* X$ d$ e; l
  1597. " i% J8 R6 D+ g2 L; _
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ M% x: F% R% M/ k( i
  1599. ; form/fieldset are special; if you include them here, the rewriter will, J4 ]( o( n; h$ |5 z! ~* n
  1600. ; add a hidden <input> field with the info which is otherwise appended
    2 [2 H) _. T+ K7 Z' _+ M
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    6 f+ u' |; ?' j  _8 E
  1602. ; Note that all valid entries require a "=", even if no value follows.( u: x5 T1 \5 \
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    8 S! x* I7 C0 i+ |) A9 @- |9 d+ ^
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 `) n2 m: h7 A& |7 B2 e" c
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; U0 E& Q  w: ?5 p( l; t
  1606. ; http://php.net/url-rewriter.tags
    ( [4 @% _+ d1 ~. [; W: }1 b
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 m- x1 P% i8 P# K( K$ ^/ x. Q
  1608. - D8 e2 s! C/ D9 `
  1609. ; Enable upload progress tracking in $_SESSION
    3 B' B, V1 _7 t& _0 T
  1610. ; Default Value: On/ [3 r1 a1 {( ^' S
  1611. ; Development Value: On
    ( e7 z/ C' F/ g% e% L
  1612. ; Production Value: On1 K  f! s3 N) \( O1 h. K
  1613. ; http://php.net/session.upload-progress.enabled
    , S5 \" k1 B2 r) M
  1614. ;session.upload_progress.enabled = On
    5 G) f6 a& J: P" r

  1615. * X% S" q5 k* A; D* o2 }9 }/ u
  1616. ; Cleanup the progress information as soon as all POST data has been read' p. z- O9 ^7 C  z6 @
  1617. ; (i.e. upload completed).% M% l( F6 _2 l" X5 w
  1618. ; Default Value: On
    # E% y+ S: s; D5 i' a
  1619. ; Development Value: On
    5 t7 x8 p7 c. D6 c6 f
  1620. ; Production Value: On- Q. F- R& A" E/ {+ s+ U' h; k; W
  1621. ; http://php.net/session.upload-progress.cleanup9 Z7 I* _. _) D6 r. w
  1622. ;session.upload_progress.cleanup = On' {( z1 m1 \' n9 A+ G( G

  1623. ) n! A' H% U# {* R; o
  1624. ; A prefix used for the upload progress key in $_SESSION( g) b8 x% i8 C2 M7 G4 w
  1625. ; Default Value: "upload_progress_"" w* K! M" I0 L4 _/ s! ]
  1626. ; Development Value: "upload_progress_"% J) {3 G- e! k7 J- ]/ x
  1627. ; Production Value: "upload_progress_"8 i! _% G' I4 t/ `" _  f: B2 `
  1628. ; http://php.net/session.upload-progress.prefix
    " D% t# c; c* ]  n
  1629. ;session.upload_progress.prefix = "upload_progress_"4 n; j6 u( ]6 D# g) y
  1630. 3 J* B. V! N1 a& [$ G" _2 e& r6 L
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    1 i9 _% u! Q8 K3 ^
  1632. ; containing the upload progress information; u3 }& v9 U9 p4 F% [: L
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / D9 `- u8 _. B
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 N0 _0 i5 R, Q) M- @& {6 h# v
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"8 i1 _4 @) N% v8 G6 Y
  1636. ; http://php.net/session.upload-progress.name* B& F0 B  ~& o7 J0 i
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- P& o7 P- r- U! z
  1638. " O/ s: d( [- J% K2 X1 n
  1639. ; How frequently the upload progress should be updated.- r. v& ~3 E2 M: w4 a+ \
  1640. ; Given either in percentages (per-file), or in bytes% O7 ?8 s* N' W1 ^* w
  1641. ; Default Value: "1%"
    * o& U4 V8 G9 B
  1642. ; Development Value: "1%"9 m9 b8 G0 Y/ y6 Z; o
  1643. ; Production Value: "1%"
    5 `2 Q% Q0 O( K3 z% |5 i8 [
  1644. ; http://php.net/session.upload-progress.freq
    / u) `6 _* N4 m% }$ T
  1645. ;session.upload_progress.freq =  "1%"
    , i" |9 A& E+ Q! m) p/ N
  1646. 2 z$ W; a- h' V2 w7 c) M( d
  1647. ; The minimum delay between updates, in seconds1 c9 T. a! u2 P# N4 ~! t$ Y% H4 Y: }
  1648. ; Default Value: 1
    ! o4 G7 F3 A' p6 J& H( y
  1649. ; Development Value: 1
    4 M% Q; o& U9 ^- O" P
  1650. ; Production Value: 1- G! c2 O( J7 ~$ d& A
  1651. ; http://php.net/session.upload-progress.min-freq4 I( ?* [+ I  ~8 y) V8 t
  1652. ;session.upload_progress.min_freq = "1"( l0 d/ i5 ~  k' D9 g9 Y$ C. N

  1653. % E. o& b- y$ y% A5 f" r& G
  1654. [MSSQL]
    ( F1 h9 e2 }) q. y' O' |* j5 \
  1655. ; Allow or prevent persistent links.$ l5 O, T0 B) L
  1656. mssql.allow_persistent = On, K+ U# i) U, g+ h0 e; c8 G8 |& \8 u7 g
  1657. ) {6 K) W# E( P6 K3 {) y
  1658. ; Maximum number of persistent links.  -1 means no limit.& w$ P8 `: K& @  L& [
  1659. mssql.max_persistent = -1
    . f4 n, M8 H4 V

  1660. : T3 h5 ~* s* v% {/ r% D$ e
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.$ W4 X: B# V- D! d' f9 T
  1662. mssql.max_links = -1
    ! n* ~5 n1 a/ T: H0 b7 p

  1663. $ a* O) k6 g3 N9 o. J# q5 @
  1664. ; Minimum error severity to display.: `8 u& y# y. @
  1665. mssql.min_error_severity = 10
    ) w. U  h3 r; f' D
  1666. 0 ~8 P# i% d( }9 i: g
  1667. ; Minimum message severity to display." D( B. L/ I) F8 W' n( B
  1668. mssql.min_message_severity = 108 T7 O6 u4 @. y# b4 C, F
  1669. 4 u  {) O; ^# y# D
  1670. ; Compatibility mode with old versions of PHP 3.0.8 x; v" @- C. O# G+ I; S$ v
  1671. mssql.compatibility_mode = Off
    3 g+ O- d0 X2 c' x
  1672. 7 H: T3 B) ~8 f5 l# }
  1673. ; Connect timeout
    8 ?- H: l* a$ E
  1674. ;mssql.connect_timeout = 5. o0 z2 B2 d4 K- b( `& N9 c
  1675. 0 C; D& q/ [  A5 A* a6 I$ @
  1676. ; Query timeout3 E- H7 Q) l' {  c% I* d
  1677. ;mssql.timeout = 60, k- I& j4 q8 `4 S+ W  o6 N

  1678. # U, a  B6 p: }, x5 K
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    0 n. ~, T' l7 D8 L0 s& h
  1680. ;mssql.textlimit = 4096+ K$ F) Z6 v4 S9 ~% |3 o5 e% F
  1681. " d  R5 L: g+ B4 i% k
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    5 `& ?5 r+ d  F! W, r: ^; u- U
  1683. ;mssql.textsize = 4096# ~$ V' ^3 d3 o3 M4 [& |

  1684. , V0 J7 j0 b9 S5 t
  1685. ; Limits the number of records in each batch.  0 = all records in one batch./ R. a8 R3 o/ W; l; V1 ]$ q
  1686. ;mssql.batchsize = 0
    * J7 q$ K% y5 ^+ N
  1687. ) J. |# Z; E' `! o# [$ D
  1688. ; Specify how datetime and datetim4 columns are returned, z+ {  z. s- b- h
  1689. ; On => Returns data converted to SQL server settings
    & s, m' K5 |. |" k1 h+ L
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss  |# s/ _; a, K+ m% b8 [" E3 ?1 I
  1691. ;mssql.datetimeconvert = On8 y" |' w0 t2 S/ [$ W% @/ t+ T$ O
  1692. ! h9 H- `4 ^# y1 M
  1693. ; Use NT authentication when connecting to the server% }* ], K4 m# x" J2 n9 O
  1694. mssql.secure_connection = Off( g' J% \+ S8 ?* x% i
  1695. " z8 B$ X% d) m8 A2 _( U: H# J
  1696. ; Specify max number of processes. -1 = library default( N. t+ a& k, v" w& o
  1697. ; msdlib defaults to 257 q7 @- f/ M( n( l: R* |
  1698. ; FreeTDS defaults to 40961 r  ?. k. g0 c/ X6 r: V
  1699. ;mssql.max_procs = -1
      {. {1 |2 ?& B2 _. a  n8 j
  1700. % M' _% g6 t" q! ?7 C/ l
  1701. ; Specify client character set.& K, [9 }- c6 I& i! x$ C; x) v
  1702. ; If empty or not set the client charset from freetds.conf is used
    + u9 i$ M5 x% P% N3 S
  1703. ; This is only used when compiled with FreeTDS
    ; e# ]2 Q, ~- j7 Z5 q/ F. O6 Y
  1704. ;mssql.charset = "ISO-8859-1"9 f* D# B7 ]( n

  1705. - \% l5 z' b# u' B: X' [
  1706. [Assertion]6 a+ b5 }1 f0 q1 x& C/ z4 T/ i
  1707. ; Assert(expr); active by default.2 A; d8 k# `( f4 I" H
  1708. ; http://php.net/assert.active
    ; t8 m9 l6 {; O( p9 R
  1709. ;assert.active = On
    , ]: j7 Q: n% N, ^. X  ]

  1710. ' i% k$ t# R; K4 O2 j8 h6 Q
  1711. ; Issue a PHP warning for each failed assertion.
    4 c% W8 j) d1 E4 d- m1 s
  1712. ; http://php.net/assert.warning5 _" B. v; K4 z+ T
  1713. ;assert.warning = On
    / Y- \0 n( L9 ~: ^, f! ~
  1714. 8 A# ~2 Z" D+ V" c+ z# K" s
  1715. ; Don't bail out by default.+ X. i; u3 B2 b. t' |
  1716. ; http://php.net/assert.bail
    2 Z3 o* }0 G. i3 X) d( |
  1717. ;assert.bail = Off
    ' E( V7 h4 e) b7 ?% r" [: z
  1718. " h5 w, q; P; Q* w
  1719. ; User-function to be called if an assertion fails.
    8 m* n' }' u) ~, D( D! [# `2 T
  1720. ; http://php.net/assert.callback
    ; Q3 |# G( C' }# U6 E" o
  1721. ;assert.callback = 00 K# \: [, Y- T9 }0 S, ^
  1722. 2 S+ i9 Q5 k- K& U7 d/ X/ L
  1723. ; Eval the expression with current error_reporting().  Set to true if you want; }4 N0 S, ~  e: D( C
  1724. ; error_reporting(0) around the eval().: ^$ K4 z' p) U9 }- U* e
  1725. ; http://php.net/assert.quiet-eval& R- [  m9 E: v. o4 r( _
  1726. ;assert.quiet_eval = 0
    ) Z1 N1 s# \; \6 g. m1 d

  1727. % L) g) `/ V( j! i5 c$ t
  1728. [COM]3 ^6 A, A* Q( G. _0 {8 Y( q+ J! ^
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    7 |8 u& z, y- E( F" p+ y
  1730. ; http://php.net/com.typelib-file8 U* H  P5 {- e( ^0 p3 h! x
  1731. ;com.typelib_file =! d1 D' X) S+ Y0 `: D7 o
  1732. ! d4 w' ]0 _; y  }
  1733. ; allow Distributed-COM calls( L- M8 j# P3 E6 O
  1734. ; http://php.net/com.allow-dcom
    6 d4 D" I  Q' L- R7 F. k  Q
  1735. ;com.allow_dcom = true
    ! |. q% |  z% S! t: f) A  c8 w  s1 @) M
  1736. 6 Z" z0 i. C. ~% L
  1737. ; autoregister constants of a components typlib on com_load()
    & X) E* a2 B  z9 H" M% [3 u( {" E
  1738. ; http://php.net/com.autoregister-typelib; v* D) \9 e8 ^. `* }# `
  1739. ;com.autoregister_typelib = true( e$ b2 U! U/ n1 e

  1740. - e1 w6 E3 Q% I* V6 M+ l
  1741. ; register constants casesensitive* g! F, K  }# a
  1742. ; http://php.net/com.autoregister-casesensitive( s2 V4 C  f1 b. G4 N
  1743. ;com.autoregister_casesensitive = false
    & T5 |7 f1 X8 r0 w8 W* C
  1744.   ^/ ?  d2 A5 r8 z
  1745. ; show warnings on duplicate constant registrations) y+ L) w8 y( n6 ]: a
  1746. ; http://php.net/com.autoregister-verbose+ ?) I& s+ C! ~% H+ G+ t
  1747. ;com.autoregister_verbose = true" J5 \" ?% d, o" s

  1748. 0 L# K2 ?3 e) X2 k$ p# k
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    $ K) {# k. t0 |( f, U9 t
  1750. ; Default: system ANSI code page2 r  Z7 h' m# K( m/ D
  1751. ;com.code_page=) f* ?- E. W9 S) b5 m
  1752. % G# Y9 i) i& ?& G1 I8 J
  1753. [mbstring]
    6 b7 s9 O% {6 b0 X9 j8 o
  1754. ; language for internal character representation.
    / |" {, u' M5 `" A1 I
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    + `/ g0 d6 f! m7 K; v- u7 Z
  1756. ; http://php.net/mbstring.language
    " G) {8 m. J" F2 P; T
  1757. ;mbstring.language = Japanese
    3 v) H" b/ O- G4 _
  1758. " N- |" @: T) i( S( o
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 \( y  }, y7 c% n8 d# _' \0 D4 `: d6 \
  1760. ; internal/script encoding.% _" A3 _& X" c3 Q+ N, W$ u
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)6 ]! ^0 `! V7 R1 ~! N7 j
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 w$ o7 z" [" V, e1 ^9 L6 s
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 O! u8 n& @0 Y$ ^; {) U
  1764. ;mbstring.internal_encoding =: M$ Z( T9 J7 E5 Y& E* Q! s0 O4 ~
  1765. ; Y% V# H4 h5 H
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / L8 F3 r5 }7 n3 A/ G" ?  W
  1767. ; http input encoding., d2 D7 @4 O0 d8 w4 Z4 X/ l
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.2 B! O2 e7 i# @9 f6 g
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / L+ ], E) X* f# c* o. o
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input3 z  E! W1 E4 v4 X  y; S
  1771. ; http://php.net/mbstring.http-input
    . Y2 e( |" {" _$ o$ _1 Z
  1772. ;mbstring.http_input =
    4 y  z" f4 _  T9 r# V
  1773. 3 C. e1 P8 w: L% C( H! f' e- w' M
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; S. R8 S7 z/ S  X# N) X
  1775. ; http output encoding.
    . T$ i/ y" M: o
  1776. ; mb_output_handler must be registered as output buffer to function." E5 T- h! k! C
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.7 Q( w' q, W( n5 W
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output/ H/ N! W" H% b( I6 A
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : \/ z+ [8 [* ~6 C/ d
  1780. ; otherwise output encoding conversion cannot be performed.
    % b1 u, u+ Y. T: Y5 K4 U1 {
  1781. ; http://php.net/mbstring.http-output
    / e5 C5 O$ q& A  V4 N( k6 `2 Q
  1782. ;mbstring.http_output =% i6 G" a6 ?$ f1 `: d9 _# @/ w
  1783. ; N: q% S: q( H- H, J: y2 S
  1784. ; enable automatic encoding translation according to/ ]) l6 {5 ~9 e8 u" c& |/ U4 d; c
  1785. ; mbstring.internal_encoding setting. Input chars are0 W5 e$ b: X) Q9 O7 e8 R7 ~8 g* n$ H
  1786. ; converted to internal encoding by setting this to On.* H* a0 m, P( u" m: N$ ^+ b0 N
  1787. ; Note: Do _not_ use automatic encoding translation for
      {! i, d6 U3 }6 L1 i
  1788. ;       portable libs/applications.& F+ N8 X7 q1 M) i6 B
  1789. ; http://php.net/mbstring.encoding-translation
    ! e5 ]5 z) I2 R' A+ M+ u$ c; k# _" [* [
  1790. ;mbstring.encoding_translation = Off) B* i& E) r. n6 E0 B' t5 \4 f) L) V

  1791. ( m7 n, g' i0 D
  1792. ; automatic encoding detection order.
      B2 }1 K1 R1 S( e  q  A7 `( J
  1793. ; "auto" detect order is changed according to mbstring.language
    7 f3 \' ~& o  K8 S7 n, f0 a- h% Z
  1794. ; http://php.net/mbstring.detect-order' T) v* J; x; f
  1795. ;mbstring.detect_order = auto
    ' |9 K- p* d& M

  1796. + x- e6 C# O$ K
  1797. ; substitute_character used when character cannot be converted6 P; ~: N4 }8 y6 E# Q) V
  1798. ; one from another
    & a3 _$ |" o5 V) u
  1799. ; http://php.net/mbstring.substitute-character
    ) s' Z! ]( c( ~
  1800. ;mbstring.substitute_character = none( Y3 c1 H. i  Y: `
  1801. - g6 G4 z2 C9 ]  F- o. r4 B
  1802. ; overload(replace) single byte functions by mbstring functions.
    6 @+ [9 h, o( ]! s( |9 y
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- Z/ p/ d2 ]9 m. C7 x
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ( z1 x2 R& c- B# x  Z- B
  1805. ; For example, 7 for overload everything.
    2 [3 ^0 j. y" ]! Z' S% q5 I- n
  1806. ; 0: No overload
    , F0 t. ^+ J# {$ [3 @6 K6 e: H
  1807. ; 1: Overload mail() function  s! J4 p2 }$ d9 ]& t
  1808. ; 2: Overload str*() functions( M! V, `* V7 V7 \5 @  e2 C0 u: j
  1809. ; 4: Overload ereg*() functions8 D$ o. X) ^4 f
  1810. ; http://php.net/mbstring.func-overload+ t9 `1 Y% i0 Z/ j" @7 L# s
  1811. ;mbstring.func_overload = 0
    ' ?1 ~4 h, ~/ t: k! V2 k, w) s

  1812. 4 c3 }! G; ^4 A* M9 I
  1813. ; enable strict encoding detection.
    ; w* {# f! ?& l
  1814. ; Default: Off
    : w. X: H+ Z1 s, v0 g5 H
  1815. ;mbstring.strict_detection = On
    7 B2 M! q0 L/ I  K" W" R" ^
  1816. 7 q, I  R! o6 `
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(), n5 P# ^8 H7 G  W3 }7 [8 f0 T8 v
  1818. ; is activated.
    5 d# J6 z. A6 A. v1 [+ v* E/ I* ]
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    / K0 F, ]2 U1 S; B+ w; o# H9 k* `
  1820. ;mbstring.http_output_conv_mimetype=
    / K8 w% a9 O1 n

  1821. , v+ {, w& g5 Z5 S# L1 i
  1822. [gd]0 ^5 i5 I7 b- _7 t! H- D) |2 @& M
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ! u8 z" Y0 P: }: _
  1824. ; a gd image. The warning will then be displayed as notices& y% x3 l! ]6 y2 I* B/ k. u5 p& R
  1825. ; disabled by default
    , E/ v$ `/ \, z2 K( L0 D' r
  1826. ; http://php.net/gd.jpeg-ignore-warning7 \1 A: ?# m1 V2 m8 F& u
  1827. ;gd.jpeg_ignore_warning = 0
    % X8 H5 C! p* V3 S7 q

  1828. 1 x% X8 U/ c2 M& B  t% P
  1829. [exif]
    ' Q4 p9 Y$ t( K2 `& W% S$ r( c
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; p5 ^( p7 r/ b9 U! e8 e, n
  1831. ; With mbstring support this will automatically be converted into the encoding) I+ T" d$ n) u! N& G
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding! f8 V) @6 a6 p2 ?' u0 r
  1833. ; is used. For the decode settings you can distinguish between motorola and' [  Q# B& B6 e! m+ ?5 q
  1834. ; intel byte order. A decode setting cannot be empty." H+ B# D! {# e& e; y. h
  1835. ; http://php.net/exif.encode-unicode* {' t5 v& n- }- y1 c
  1836. ;exif.encode_unicode = ISO-8859-159 l' q. g+ E2 S/ G8 w
  1837.   d7 X! l4 P: m/ C
  1838. ; http://php.net/exif.decode-unicode-motorola
    6 x5 [# O: z, Z8 T2 t4 s; k. v
  1839. ;exif.decode_unicode_motorola = UCS-2BE& R) ^1 e' H+ {9 {8 X3 s
  1840. - h! s9 j! \7 J4 x
  1841. ; http://php.net/exif.decode-unicode-intel. L2 G! S% _7 u/ M( U7 M/ R' j
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ; L% b9 h4 G; s4 J! j. x1 a" i
  1843. 3 D# C" d" @1 w0 Y
  1844. ; http://php.net/exif.encode-jis
    2 C7 y# x; s6 \. s, A% o5 i
  1845. ;exif.encode_jis =
    ( s8 ?! M5 k! m3 Q# F
  1846. 6 @5 |. `, L* D9 A
  1847. ; http://php.net/exif.decode-jis-motorola
    4 C' V$ h8 q0 K+ L+ t
  1848. ;exif.decode_jis_motorola = JIS& T; G. {9 m4 f: [' y5 j# A

  1849. * P* V5 p1 [8 G/ h+ H: R( N: h
  1850. ; http://php.net/exif.decode-jis-intel% W. `) E3 u" _
  1851. ;exif.decode_jis_intel    = JIS
    , P8 k8 c+ d/ Y" H

  1852. 2 c1 [4 g2 ?9 w& G. p# E% g4 J% }
  1853. [Tidy]
    + ?$ ~; E2 l. F+ z( C, [% o6 y
  1854. ; The path to a default tidy configuration file to use when using tidy% {  [$ ?4 J; P; M- i/ i7 i- {/ n: \
  1855. ; http://php.net/tidy.default-config
    % E& P2 f1 l& n0 H( K  B: C7 W8 g
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1 e1 N9 K, `) y- m! }$ N

  1857. ( _" c& L5 O& |+ _9 S8 \/ V
  1858. ; Should tidy clean and repair output automatically?
    ; N7 ~4 L4 r% ?( ~8 t& N1 y% L
  1859. ; WARNING: Do not use this option if you are generating non-html content
    8 r/ F2 v1 Z7 r4 y; ^# E% [8 [
  1860. ; such as dynamic images
    : V- J- W, N2 J; d3 c$ x% P
  1861. ; http://php.net/tidy.clean-output
    1 I. v  t" ]1 E' p$ W. C. }
  1862. tidy.clean_output = Off
    ( j3 v% d4 h& l0 Y, f

  1863. 2 l% u1 E0 U6 ^( f! Z# N8 F4 V- N
  1864. [soap]
    0 b- {$ E& g1 J' d) L, f2 P$ }
  1865. ; Enables or disables WSDL caching feature.7 |7 H4 e, {- C' k1 G$ r
  1866. ; http://php.net/soap.wsdl-cache-enabled
      x- T  c5 k) Q: n
  1867. soap.wsdl_cache_enabled=17 O3 q  h* z& j8 \" h+ r3 U
  1868. # Q( i2 [  Z; m& s7 N  `% V
  1869. ; Sets the directory name where SOAP extension will put cache files.5 T+ F& t. g2 i  {9 L8 N
  1870. ; http://php.net/soap.wsdl-cache-dir
    9 R. t) n- b$ F/ h* Z
  1871. soap.wsdl_cache_dir="/tmp"* ?4 O) H& H+ M, y

  1872. & w" w* z7 J$ l# [# f
  1873. ; (time to live) Sets the number of second while cached file will be used
    7 m! e/ a( Q& w+ k& g- ~
  1874. ; instead of original one.
    - q5 Y; x; c& g* {: S, c
  1875. ; http://php.net/soap.wsdl-cache-ttl
    # }9 `' I  z5 {# o* a0 Z
  1876. soap.wsdl_cache_ttl=86400' s! E" N3 E5 l
  1877. . Q$ Z1 M7 }- k0 ^6 g% z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    & K4 [# P) X( a$ t' \' Z
  1879. soap.wsdl_cache_limit = 5
    + ^6 E% C4 [7 {$ d/ I
  1880. # }3 W! B$ O2 _
  1881. [sysvshm]
    & x, v& G& `. g' c/ z& `9 ]
  1882. ; A default size of the shared memory segment
    . x, W0 r; }1 T: b6 P9 ^& ?
  1883. ;sysvshm.init_mem = 10000
    9 O5 C: |% [+ d' Z1 a0 o

  1884. . u# z7 s* {7 ]# R& l/ n1 w/ s+ g
  1885. [ldap]
    + x+ Y' W9 M8 Y7 \! G
  1886. ; Sets the maximum number of open links or -1 for unlimited.* M3 \, w; M- J+ E2 U0 l0 ^
  1887. ldap.max_links = -1
    " O2 \6 O1 g3 u3 q* ]) s

  1888. 4 d4 G+ ~( r) L7 H6 L( D
  1889. [mcrypt]
    . S6 k  Y$ z* Y& a# r% O
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( x! D- W; x" t9 o5 R1 I

  1891. 3 Y" y8 m; O  [( ~0 F
  1892. ; Directory where to load mcrypt algorithms/ i" X1 G5 w# Q6 \( R8 B
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 E' S/ C4 b4 |, E, ]* U
  1894. ;mcrypt.algorithms_dir=  j1 D5 }# q% B, i. k& N& a
  1895.   d) b5 t4 b3 |
  1896. ; Directory where to load mcrypt modes: @% |3 }* X5 M; m9 X
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 L8 P  @! [1 B4 I
  1898. ;mcrypt.modes_dir=
    + ]: p' ?0 l" ~- `6 x

  1899. 4 E, S. U0 G6 \
  1900. [dba]
    " W  E- n  R+ ~5 C  U- O4 ?
  1901. ;dba.default_handler=/ I5 T; E9 W1 K
  1902. 3 ?3 T2 z6 k9 E: F8 Y( G, N
  1903. [opcache]
    * F& }0 z9 D# f" `) B
  1904. ; Determines if Zend OPCache is enabled0 a0 M) R" T8 S
  1905. ;opcache.enable=0
    * q0 _. b, l* k$ p4 A: d' m( v9 u
  1906. ; P' N: o, ]8 M& ^# a( ^7 c+ f0 r
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP# X3 @5 d* ^0 X1 c' A
  1908. ;opcache.enable_cli=0
    8 H* T0 ]& p: W* \7 T9 V
  1909. " @. f- ?; m) y$ A% j6 F" g# b
  1910. ; The OPcache shared memory storage size.0 {4 R- [% j, B. p; S6 ]( R; m
  1911. ;opcache.memory_consumption=64/ A3 V& W4 R6 P4 G2 o
  1912. # ?4 q8 j9 a% o. L6 B
  1913. ; The amount of memory for interned strings in Mbytes.
    8 v2 ~; R5 F1 ]( T: \( v2 ^
  1914. ;opcache.interned_strings_buffer=4
    # z6 f4 U9 @+ R" l/ k

  1915. 9 ^% j6 v, k/ F# J' g9 H. u8 t- E
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.8 P: }, c9 C1 C1 [, U
  1917. ; Only numbers between 200 and 100000 are allowed.
    + y. M, U  Y' c, P/ G/ I
  1918. ;opcache.max_accelerated_files=2000, J1 N7 T9 z3 p# C

  1919. + U: O& G7 r% D( f+ r
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / A7 A$ S. O/ I' e" W- L4 m3 d. S
  1921. ;opcache.max_wasted_percentage=55 M! V6 X, t2 R4 H; D8 {; ?
  1922. % Z& j  H0 G3 O- X
  1923. ; When this directive is enabled, the OPcache appends the current working
    * z% U/ ~; P. u" e- r1 q4 o
  1924. ; directory to the script key, thus eliminating possible collisions between
    7 a/ ^1 w$ w0 P/ s
  1925. ; files with the same name (basename). Disabling the directive improves
    & O! y, j5 g" g; E
  1926. ; performance, but may break existing applications.! K( t, N. P6 n9 J3 y1 m5 k! B
  1927. ;opcache.use_cwd=1* g- S; {- r8 \0 s" y

  1928. , v2 M) Y: P) n* Z- q
  1929. ; When disabled, you must reset the OPcache manually or restart the# R$ s' w: P: G& U1 i
  1930. ; webserver for changes to the filesystem to take effect.
      u, l/ B, @3 @! D2 u- j$ ?
  1931. ;opcache.validate_timestamps=1- y; A8 K" d) S" m. b1 v
  1932. ; ]& z# E# s: M& @. R: e
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    $ i6 C0 |5 l4 }6 ]4 X$ R) a
  1934. ; memory storage allocation. ("1" means validate once per second, but only8 n6 `! y) j4 i% J/ e  ]
  1935. ; once per request. "0" means always validate)+ z# X# y! ?* G0 p
  1936. ;opcache.revalidate_freq=2/ j2 t/ F9 k: y- @  B

  1937. * d# K: F7 N* b
  1938. ; Enables or disables file search in include_path optimization/ V5 Z' \) A& A; \' t# Z' f
  1939. ;opcache.revalidate_path=0, X: c) t3 n6 ~, r  }9 o) \

  1940. , ]* S0 w4 n  I3 a
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 X9 U+ m; `9 g' L2 e/ V
  1942. ; size of the optimized code.7 R) Z! U% |8 T  E( y0 w
  1943. ;opcache.save_comments=1
    2 I& y" D7 R. g/ |- O3 g. e
  1944. 4 j% e9 K' O, P$ q
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ; c0 r4 W# f: r$ y
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    - {. N: S9 u* P7 o2 D) n# m6 ~
  1947. ; that don't need them anyway.9 ]5 w$ D& m( Y( m9 y8 A+ @
  1948. ;opcache.load_comments=18 I, w  X. m$ `3 n
  1949. 2 E' S% Z- Y* }1 q8 a9 {
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code8 G2 g8 N: G5 Z/ d* X, S8 j7 l2 Q
  1951. ;opcache.fast_shutdown=0
    . X* u* y. B$ ]( \; b& ]: H+ O

  1952. , K- B: u/ y' @( r2 b
  1953. ; Allow file existence override (file_exists, etc.) performance feature.2 w/ h) T: t  d7 q7 S/ r) s2 S
  1954. ;opcache.enable_file_override=0
    ' d  {0 F; V) b2 n

  1955. $ m5 P0 N# p1 d: S' ^$ v; A
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache& y) n* F' k. T8 \  f9 C' Y4 R# ^
  1957. ; passes9 }2 H/ r1 \7 g; J/ M* I% N
  1958. ;opcache.optimization_level=0xffffffff8 p/ G3 M6 V, l. |4 R- f( z& d
  1959. % [& G7 y" Q+ {. y% @7 G* [
  1960. ;opcache.inherited_hack=1
    : d. E) L' `) W# _
  1961. ;opcache.dups_fix=0
    . r: Y* f) ^7 }7 M9 n
  1962. ! a+ p) N, `  D; K8 i) H
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ) K+ o( @7 y" x; K
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% r/ @* G) N) P; Y$ i3 P
  1965. ; that should not be accelerated. The file format is to add each filename
      h# m8 c* @( x7 F
  1966. ; to a new line. The filename may be a full path or just a file prefix. E0 F; |1 Z  a; Q, E. e  v
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 s5 c5 P' G. U0 B
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).1 `- i) x3 D/ D$ j3 U
  1969. ;opcache.blacklist_filename=
    ' m' \/ W% N! P5 ~
  1970. 6 n& {1 I( l# c% i6 I
  1971. ; Allows exclusion of large files from being cached. By default all files5 `( s% ~9 `" s! Y6 S3 ?& L5 B: S
  1972. ; are cached.* X4 F% w+ u0 I5 b" z/ c& q& E
  1973. ;opcache.max_file_size=01 N! `/ x) j3 V+ M0 O$ a8 [
  1974. : @, [4 @. n0 m8 u
  1975. ; Check the cache checksum each N requests.4 S8 A$ P+ J  y, @
  1976. ; The default value of "0" means that the checks are disabled.
    % s" k8 _' S; `' S7 R* \
  1977. ;opcache.consistency_checks=0* ~8 A* o+ a4 y. w" {/ }

  1978. 1 b- i- ?* K9 P$ J
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; K+ U7 Y" d, e' y$ Y7 H3 ~& m
  1980. ; is not being accessed.' T8 r5 C6 M' Y% }" p1 Y
  1981. ;opcache.force_restart_timeout=180/ M; N! v7 P/ J7 W
  1982. : J) U- h# S( r" E9 i
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    3 v/ t' D9 W* R. ~4 |
  1984. ;opcache.error_log=
      {* I6 v/ m7 [( j, y& F* W
  1985. + U" @% A; S) |, L8 V5 b+ B8 c( ^
  1986. ; All OPcache errors go to the Web server log.( w. N3 D9 S- W; L5 `$ u: V
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.9 ~- m( m6 e1 `
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ! d$ G! P& N7 f! Q/ }9 R
  1989. ; debug messages (level 4).3 q$ u7 Q* u  U7 ^& m. G
  1990. ;opcache.log_verbosity_level=1' z' W. @; u4 e7 N( X( z
  1991. 5 f2 t9 z9 u3 z3 \. L  H4 M1 _
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.; \9 z2 K) M! H4 D! G, f7 P6 f- `
  1993. ;opcache.preferred_memory_model=. {# I' z2 \. J4 r% {

  1994. 1 ~/ @: n2 c5 y6 @( t
  1995. ; Protect the shared memory from unexpected writing during script execution.
    2 p# s' T4 X; _. V, P  l
  1996. ; Useful for internal debugging only.
    6 g% r0 W: J4 J
  1997. ;opcache.protect_memory=00 i% }. P) {( s; W) v0 h8 K2 l1 z9 V
  1998. * U5 K, t1 a% I0 k& r8 e& Q8 c
  1999. ; Validate cached file permissions.% `$ V) W/ b- R. A0 W
  2000. ; opcache.validate_permission=0. ^" |% T: f0 l/ A( u! o: H

  2001. ) t' V- B# \) s
  2002. ; Prevent name collisions in chroot'ed environment.
    * G" v8 o: t% p
  2003. ; opcache.validate_root=0
    ( z9 e: \2 y& ]4 v" W0 e

  2004. % Q/ w' N+ B! q* s6 U+ w% Z
  2005. [curl]
    # Z' ?: j. C/ ?3 s+ c) u4 Q4 b
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an# Q; T+ G1 D0 h% G+ B
  2007. ; absolute path.
    ) x+ M5 p0 X) W+ \
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt, J5 {: {  q5 A8 W( M% c

  2009. & i8 T/ X8 h7 A$ i" g! J
  2010. [openssl]7 M8 r7 \. ^; N8 e8 d
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem5 g' ]" T' Q3 B( |# C
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    6 g1 R% `$ a! ~# v+ N% C
  2013. ; not specify a value for this directive as PHP will attempt to use the' B% q, z5 A8 N+ l' m9 Y1 [
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ) d) ^, w) J0 W0 F+ }  R$ g
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context0 ^3 ~5 }9 P- ^" C( U
  2016. ; option.
    % t/ f1 j/ Q! i' u3 n) o) I
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    # F+ y8 B0 k2 T) P% K$ @9 y

  2018. 2 _3 |$ S- z1 V+ i) ^' b9 N. i
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    & ~1 z4 f, }6 X+ P1 }/ Q6 z
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ; |: E( O0 `5 e5 L
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    2 h1 p; A: w: X; U  ^: b
  2022. ; Most users should not specify a value for this directive as PHP will! ^+ l* Z7 X- O& Y$ r
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % L' H8 c) ]! M( z1 T
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    8 M; x2 S* y6 S* G) H& y
  2025. ; SSL stream context option.
    1 Y' f! V/ _% |# b
  2026. ;openssl.capath=3 O) b& ?& ~( }; u/ k

  2027. . u, K8 E% n5 y! y0 ?: A1 d3 F/ n
  2028. ; Local Variables:1 {' i% P- U: \& c9 X1 C
  2029. ; tab-width: 4
    . X* b: T6 t" d# E
  2030. ; End:
    ( Q+ v8 s# ?+ l8 F( V

  2031. 8 [' t, u; J' _, F0 {: m) ~  \
  2032. ;eaccelerator. G, D/ P; u5 Y0 P! ?+ |7 v

  2033. * ~% ~+ {( @! y( q
  2034. ;ionCube
    9 z9 R; b  S, y5 v6 Q
  2035. - ~, b- f0 K+ Y; Q
  2036. ;opcache
    6 a% e; g8 {9 k; k# ]. H

  2037. 1 w1 D; s5 n$ Y$ }2 U1 G
  2038. [Zend ZendGuard Loader]" d' d3 J  ?/ k( O3 Z3 Y; I
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
      `. V  m8 L% s3 G
  2040. zend_loader.enable=1# t3 s( u4 `4 ]* K' M
  2041. zend_loader.disable_licensing=0' i3 L( C& r6 ?
  2042. zend_loader.obfuscation_level_support=3
    0 R2 Q9 G( j$ M: }- y8 j
  2043. zend_loader.license_path=( ]( n+ j- j) K3 i% `  T
  2044. & ~- e5 t/ u2 l. g9 p& z
  2045. ;xcache' q( i: ~; P6 s$ R8 P
  2046. 8 L2 {8 s0 J* V+ r' U% G
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
1 L& C) Y$ I/ u$ z7 j6 N! |% k6 s" Q. n

. U* M' [: M, N! z# ADiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,! e# ?* D6 f8 O3 L3 A7 P
! \% y" R; v: r% i6 X6 f$ C
Discuz!程序版本选择:
2 g1 J, l6 V- z  k  i( L8 Z: |- N站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( ]8 j- ?5 q8 ?+ a) [不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
7 l  h% H, x( z2 h7 bDiscuz!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。& T- d8 f& i  U: L! |4 y% ^

( B! Z. a$ p9 r, G& k5 X/ {Discuz!插件模板版本选择:
( c6 l' z! ?* v$ k很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,( {5 X. G! `& \5 l
针对这个问题做个统一的普及:! u$ O& `, r& E0 W$ V
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。2 h% m5 Q, u/ D. z& ]* k: M
2 ?/ k: w& D6 z2 r3 ^$ G- x( ^  B* g
所以
. r4 @; |5 N0 y1 m' X& x适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
2 g& K  X) R0 \2 B; I) K  d8 U  Y打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
5 a$ T  z, E  b2 c  R- }2 C注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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